freeradius 3, log start/stop users to a syslog

Fabrizio Fiore Donati fabrizio.fioredonati at 2bite.net
Mon Feb 1 19:07:22 CET 2016


Hi all,
we're migrating freeradius 2 to freeradius3. I need to log to an external
syslog when a user go online and offline. In version 2 we use the acclog
module, but i can't find in 3.

Is it possible to do ?


Thanks
   acctlog {
                acctlog_update = ""
                acctlog_start = "Connect: [%{User-Name}] (did
%{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} ip
%{Framed-IP-Address})"
                acctlog_stop = "Disconnect: [%{User-Name}] (did
%{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} ip
%{Framed-IP-Address})"
                acctlog_on = "NAS %C (%{NAS-IP-Address}) just came online"
                acctlog_off = "NAS %C (%{NAS-IP-Address}) just went offline"
        }

*--Fabrizio Fiore Donati*


More information about the Freeradius-Users mailing list