SQL session start
aland at deployingradius.com
Fri Sep 13 20:04:50 CEST 2019
On Sep 13, 2019, at 1:40 PM, Marcin <m.marszal at wp.pl> wrote:
>> Alan DeKok <aland at deployingradius.com> w dniu 13.09.2019, o godz. 18:36:
>> Think about it. Is the database really magically causing data to disappear? Or is FreeRADIUS randomly deciding to *not* insert certain fields?
> I don’t know what to think about it. Why accounting works when sql_session_start is disabled? NAS has no idea about that - keeps sending same accounting data...
And sql_session_start creates a record in the SQL database from the *Access-Request* packet. Which, as I already said, contains *different* information than what's in the Accounting-Request packet.
Since the AcctUniqueId is different, the next packet doesn't match the session.
Again, this is all in the debug output. It's not magic. It tells you exactly what it's doing and why.
More information about the Freeradius-Users