How to use RADACCT in freeradius?

Tue May 29 13:32:17 CEST 2012

As Alan said: A radacct row is inserted automatically by FreeRADIUS for
each user session.
The session information is sent by the NAS when the user logs out.

The following are the most important field:
UserName - self explanatory
AcctStartTime - session start time
AcctStopTime - session stop time
AcctSessionTime - session time in seconds
AcctInputOctects - the amount of data sent by the user
AcctOutputOctects - the amount of data received by the user
CalledStationId - the ID of the NAS which handled the session
AcctTerminationCause - what caused the user to be logged out
CalledStationID - the MAC address of the device from which the user logged
FramedIPAddress - the IP address of the device from which the user logged in

On Tue, May 29, 2012 at 1:02 PM, Alan DeKok <aland at>wrote:

> faizal ghazali wrote:
> > The problem is i dont know what data to fill in the attribute in radacct
> > phpmyadmin table
>   You don't.  The server does this automatically when it receives
> accounting packets.
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list