weird problem

Kris christian at wanxp.com
Thu Oct 11 13:32:51 CEST 2007


how much are 32-bit number ?

any possible way to configure it larger than 32-bit number ?

Alan DeKok wrote:
> Kris wrote:
>   
>> i`m using Mikrotik (Hotspot) + Freeradius + Mysql + perl postscript to
>> check auth , on perl script i do check quota based on radacct table. if
>> quota more than xxx Gb then you cant login.
>>
>> the problem are like this what the result of accounting different with
>> value that send to NAS. like this
>>     
> ...
>   
>>        Mikrotik-Xmit-Limit = _*3502655261*_ <= Above value is 7622654321
>> but it send 3502655261
>>        Mikrotik-Recv-Limit = _*2755359744*_ <= Above value is 5000000000
>> but it send 2755359744
>>     
>
>   The limits are 32-bit numbers.  Don't try to put a number LARGER than
> 32 bits into a 32-bit number.  It doesn't work.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>   




More information about the Freeradius-Users mailing list