weird problem

Alan DeKok aland at deployingradius.com
Thu Oct 11 13:20:28 CEST 2007


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.



More information about the Freeradius-Users mailing list