Problem with rml_sqlcounter with GigaByte datavolume

Alan DeKok aland at deployingradius.com
Wed Sep 14 17:36:13 CEST 2011


nfourel wrote:
> I have the same result with integer rather than integer64. I tried on a
> 32 bit server, and indeed, if I put a value bigger than 2^32 octets in
> Max-Input-Octets check-item, it wraps to 4294967295 octets and not to
> zero. So the problem seems to be with 64bit architecture and value
> bigger than 2^32 octets (like 100GB). Very strange behavior.

  The sqlcounter module uses 32-bit integers in it's source code.
Changing that to 64-bit integers would help.

  That requires source code patches.

  Alan DeKok.



More information about the Freeradius-Users mailing list