[EXTERNAL] NSAPI changes Acct-Session-Id from upstream provider
Alan DeKok
aland at deployingradius.com
Mon Feb 24 12:53:08 UTC 2025
On Feb 24, 2025, at 7:01 AM, Winfield, Alister (Senior Solutions Architect) via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> Just in case, I have seen at least one instance where there is an Acct-Multi-Session-Id that is stable, and Acct-Session-Id is not.
That's actually required by RFC 2866 Section 5.11, which defines Acct-Multi-Session-Id :
This attribute is a unique Accounting ID to make it easy to link
together multiple related sessions in a log file. Each session
linked together would have a unique Acct-Session-Id but the same
Acct-Multi-Session-Id.
This behavior makes no sense to me. What would be sane is having Acct-Session-ID as stable, so you have a common session identifier, even if Acct-Multi-Session-ID doesn't exist.
Instead, you have to check for Acct-Multi-Session-ID. If it exists, it's the stable session identifier. Otherwise, Acct-Session-ID is the stable session identifier.
And then I'm
> Worth a check, you never know given how many manufacturers coders seem to have limited ability to read a standard and implement what it says.
I could forgive incompetence and inexperience. What I find baffling is when there are clear intentions to ship idiotic code.
Alan DeKok.
More information about the Freeradius-Users
mailing list