freeradius 3, log start/stop users to a syslog
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*
On Feb 1, 2016, at 1:07 PM, Fabrizio Fiore Donati <fabrizio.fioredonati@2bite.net> wrote:
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.
Use the linelog module in v3. Alan DeKok.
All ok ! thanks *--* 2016-02-01 19:26 GMT+01:00 Alan DeKok <aland@deployingradius.com>:
On Feb 1, 2016, at 1:07 PM, Fabrizio Fiore Donati < fabrizio.fioredonati@2bite.net> wrote:
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.
Use the linelog module in v3.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Fabrizio Fiore Donati