Execute some action when user terminate session

Alan DeKok aland at deployingradius.com
Thu Mar 29 11:05:16 CEST 2012


Lorenzo Milesi wrote:
> I need to perform several queries on radacct to make statistics about user connection, duration and so on.
> Since executing some queries can be time consuming it's not advisable that I run them on the radius database, so I'm considering copying all or some informations from radacct somewhere else.
> So, the question is: is it possible to perform some action when an user session is terminated? 

  Yes.  You can run an external Perl script when you receive an
Accounting Stop.

  Alan DeKok.


More information about the Freeradius-Users mailing list