Wrapping @2GB why?

Alan DeKok aland at ox.org
Sat Mar 4 23:56:42 CET 2006


"Jonathan De Graeve" <Jonathan.De.Graeve at imelda.be> wrote:
> I am programming my own nas and I keep having the problem that my
> input-octets and output-octets wrap @2GB instead of 4GB
> 
> I use rad_put_int(struct rad_handle *h, int type, u_int32_t value) so
> that's unsigned and in fact should work.
> 
> I keep getting this in the detail file and in my database:

  FreeRADIUS logs what it receives.  My suggestion is to use tcpdump,
and check that the packets contain the 2G value.  If so, the problem
is in the NAS.

  Alan DeKok.




More information about the Freeradius-Users mailing list