data format of Acct-Input-Octets

Arran Cudbard-Bell a.cudbardb at
Thu Apr 11 22:46:36 CEST 2019

> On Apr 11, 2019, at 2:49 PM, Alan DeKok <aland at> wrote:
> On Apr 11, 2019, at 1:17 PM, Somanath Mishra <somanath.mishra at> wrote:
>> So we are getting acct-input-octets(76884551761) and acct-output-octets(115722566987) in radacct.
>> if we are considering in BITS to MB ,then-9610.5690(acct-input-octets), 14465.3209(acct-output-octets),
>> if we are considering in BYTES to MB ,then-76884.5518(acct-input-octets), 115722.5670(acct-output-octets),
>> and we are using controller showing data usage calculation value matching with BITS to MB. So we are confused that data is in bits or bytes in table.
>  The specifications say that it is in bytes.
>  If your NAS is sending the count of bits, then your NAS is wrong.  File bug with the NAS vendor and ask for software that isn't broken.  Or, buy a NAS that isn't broken.

Or use the expr expansion to divide by eight :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <>

More information about the Freeradius-Users mailing list