5 Feb
2010
5 Feb
'10
1:09 a.m.
On Fri, Feb 5, 2010 at 12:45 PM, Josh Willmarth <josh@joshwillmarth.com> wrote:
Hello,
I have a radius server setup with version 2.1.8. Is there a way that I can have custom scripts run each time a user successfully connects to and disconnects from my radius server? If so, what environment variables can be passed to these scripts? Sorry if I missed this in the documentation, but I was unable to find the exact answer I am looking for.
Try looking at perl, exec, and echo module (/etc/raddb/modules/) For perl, you should be able to use func_start_accounting and func_stop_accounting for connect/disconnect events. -- Fajar