Incorrect Acct-Session-Id format in Freradius 2.0.2
Hi all. I have found that format of Acct-Session-Id has been changed from v.1.x to 2.0.2 At debug I can see Acct-Session-Id = "1234567\000" 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. -- View this message in context: http://www.nabble.com/Incorrect-Acct-Session-Id-format-in-Freradius-2.0.2-tp... Sent from the FreeRadius - User mailing list archive at Nabble.com.
I'm using EAP-TTLS with PAP as inner authentication. I'm wondering if it is possible to use a different module than standard PAP (maybe a script) to do the final step of authentication process and, if it is possible, how this script should be done. Bye Dario Maccari
d_maccari wrote:
I'm using EAP-TTLS with PAP as inner authentication. I'm wondering if it is possible to use a different module than standard PAP (maybe a script) to do the final step of authentication process and,
Yes.
if it is possible, how this script should be done.
See scripts/exec-program-wait Alan DeKok.
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.
Alan DeKok-4 wrote:
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sorry ,but I can not find place where i can "delete the trailing zero". Could you please show me a place(way) from that I can start ? -- View this message in context: http://www.nabble.com/Incorrect-Acct-Session-Id-format-in-Freradius-2.0.2-tp... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
banga -
d_maccari