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 the
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's a 32-bit integer. That's
why
: 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
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
Is it 2^32 or (2^32 - 1)
I'm programming a radius client and i'm at the gigawords stuff...
J.
--
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]
-
Always read the manual for the correct way to do things because the
number of
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
]
[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 [EMAIL PROTECTED] wrote:
Is it 2^32 or (2^32 - 1)
2^32 can't be represented in a 32-bit number
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 idea
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.
9 matches
Mail list logo