RE: Maximum size Input-Octets/Output-Octets

2005-09-26 Thread Guy Fraser
On Mon, 2005-26-09 at 17:49 +0200, Jonathan De Graeve wrote: > So is it 2147483648 or 2147483647? > 2147483648 / 2147483648 = 1 2147483648 mod 2147483648 = 0 The range is 0 through 2147483647. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Maximum size Input-Octets/Output-Octets

2005-09-26 Thread Jonathan De Graeve
: FreeRadius users mailing list Onderwerp: RE: Maximum size Input-Octets/Output-Octets So is it 2147483648 or 2147483647? J. -- Jonathan De Graeve Network/System Administrator Imelda vzw Informatica Dienst 015/50.52.98 [EMAIL PROTECTED] -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto

RE: Maximum size Input-Octets/Output-Octets

2005-09-26 Thread Jonathan De Graeve
Aan: freeradius-users@lists.freeradius.org Onderwerp: RE: Maximum size Input-Octets/Output-Octets On Fri, 2005-23-09 at 19:42 +0200, Jonathan De Graeve wrote: > > What "radacct" are you talking about? The Acct-Input-Octets stops > >at 2G because the RFC dictates that it'

RE: Maximum size Input-Octets/Output-Octets

2005-09-26 Thread Guy Fraser
On Fri, 2005-23-09 at 19:42 +0200, Jonathan De Graeve wrote: > > What "radacct" are you talking about? The Acct-Input-Octets stops > >at 2G because the RFC dictates that it's a 32-bit integer. That's why > >the Acct-Input-Gigawords attribute was defined. It goes past 2G. > > I'm talking about

RE: Maximum size Input-Octets/Output-Octets

2005-09-23 Thread Jonathan De Graeve
> What "radacct" are you talking about? The Acct-Input-Octets stops >at 2G because the RFC dictates that it's a 32-bit integer. That's why >the Acct-Input-Gigawords attribute was defined. It goes past 2G. I'm talking about the detail file from freeradius. This is what I found in RFC2869 5.1.

Re: Maximum size Input-Octets/Output-Octets

2005-09-23 Thread Alan DeKok
"Jonathan De Graeve" <[EMAIL PROTECTED]> wrote: > I also have another question: > > Freeradius seems to use signed integers for the Acc-Input/Output-Octets Nope. The debug log you posted doesn't show that, and the server source uses unsigned ints. > The source really sends unsigned 32bit. Any

RE: Maximum size Input-Octets/Output-Octets

2005-09-23 Thread Jonathan De Graeve
lmost infinite - -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Alan DeKok Verzonden: vrijdag 23 september 2005 16:39 Aan: FreeRadius users mailing list Onderwerp: Re: Maximum size Input-Octets/Output-Octets "Jonathan De Graeve" <[EM

Re: Maximum size Input-Octets/Output-Octets

2005-09-23 Thread Alan DeKok
"Jonathan De Graeve" <[EMAIL PROTECTED]> wrote: > Is it 2^32 or (2^32 - 1) 2^32 can't be represented in a 32-bit number. It has 33 bits of data... Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html