accounting data to syslog
Munroe Sollog
mus3 at lehigh.edu
Mon May 4 19:56:47 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
radiusd: FreeRADIUS Version 2.1.12, for host x86_64-redhat-linux-gnu, built on Oct 15 2014 at 05:01:
25
I have configured the linelog module to use syslog, however accounting data is still being
directed to the files /var/radact/<ipaddress>/detail-<date>. Any help would be appreciated. Thanks.
I have included my linelog file for reference:
linelog {
filename = syslog
permissions = 0644
format = "This is a log message for %{User-Name}"
reference = "%{%{Packet-Type}:-format}"
Access-Request = "Requested access: %{User-Name}"
Access-Reject = "Rejected access: %{User-Name}"
Access-Challenge = "Sent challenge: %{User-Name}"
foo {
bar = "Example log. Please ignore"
}
Accounting-Request {
Start = "Connect: [%{User-Name}] (did %{Called-Station-Id} cli %{Calling-Station-Id} port
%{NAS-Port} ip %{Framed-IP-Address})"
Stop = "Disconnect: [%{User-Name}] (did %{Called-Station-Id} cli %{Calling-Station-Id} port
%{NAS-Port} ip %{Framed-IP-Address}) %{Acct-Session-Time} seconds"
Alive = ""
Accounting-On = "NAS %C (%{NAS-IP-Address}) just came online"
Accounting-Off = "NAS %C (%{NAS-IP-Address}) just went offline"
unknown = ""
}
}
- --
Munroe Sollog
LTS - Network Analyst
x85002
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBAgAGBQJVR7LeAAoJEPbbZiWCKDVCvEIH/jdMWSBN9TCtMNzi6JdgmDb2
H/8eDa+FbQEqcwwqoo92gCGNTqHjRBLWTDjfsjCigeJkXfiwGCdiYHXs7CYpzbpf
ViqHmSviEnn8n/q06DKxznuhqppNmzsZrujwUu3Ih5GSXri7qWFFa4O1qZ3dXZLx
K7k4zP12LRcsjIhtXtlWv+g5VIN+QEsxZ6p/UKydM5DhNuSpgwfysvPtyAuil0pL
UTc4CJtO6hxiytx/YYDdD5AjuNhjs+JDK5o0eARaASR8bcrjWPiQiBPobluEdz+N
LwrML7mfPki3UuMM3di+ZLU19n3u1zrtDako1kBKCdfFLIcsrK9I+w43snSVNao=
=2GjL
-----END PGP SIGNATURE-----
More information about the Freeradius-Users
mailing list