banga wrote:
Hi all. I have found that format of Acct-Session-Id has been changed from v.1.x to 2.0.2
Not really. Your NAS is broken. 1.1.x hides that fact. 2.x doesn't.
At debug I can see
Acct-Session-Id = "1234567\000"
That's what your NAS sends. It's not supposed to send a terminal zero. Let me guess... this is very old Ascend hardware?
not Acct-Session-Id = "1234567" (like in v.1.x)
Is there any Idea why we get this \000
Acct-Session-Id is using for radacct_acctuniqueid_key (hash) and there are can be a problem between master and slave radius in case then Start record will be in v.1.x and STOP will be in v.2.0.2 where HASH for STOP will be completely different.
You can update the code in v2.0.2 to delete the trailing zero, or to not print it. Alan DeKok.