Incorrect Acct-Session-Id format in Freradius 2.0.2

banga man_gust at yahoo.com
Fri Mar 14 21:22:59 CET 2008



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-tp16046767p16054225.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list