Logging data packet count to accounting table?

Ivan Kalik tnt at kalik.net
Mon Jun 15 10:42:58 CEST 2009


> I'm using FreeRadius for authenticating DSL users. Additional to the
> Input- and Output octets I would like to log the transferred packet
> count for the actual DSL session.
> I need this information to generate statistics - and in past i got this
> information from another (not local) Radius server, so I think, it
> should be not impossible.
>
> I didn't found any variables where this info is avaliable - is there any
> possibility to get this information?

http://freeradius.org/rfc/rfc2866.html#Acct-Input-Packets
(and output packets below it)

If your NAS can send those you can extend radacct table to have those
columns and alter accounting queries in dialup.conf to store them.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list