adding user-name to post-proxy logs
Tariq Rashid
tariq.rashid at uk.easynet.net
Fri Jul 29 11:39:13 CEST 2005
Tariq Rashid <tariq.rashid at uk.easynet.net> wrote:
> since the state must be maintained in the freeradius proxy - is it
possible
> to add it to the logs so that troubleshooting is easier? currently i have
to
> match the timestamps.
Which log are you talking about?
Alan DeKok.
---
those that are at
$PREFIX/var/log/radius/radacct/1.2.3.4/post-proxy-detail-20050729 and
$PREFIX/var/log/radius/radacct/1.2.3.4/pre-proxy-detail-20050729 for example
- written by the following directgives in radiusd.conf :
# This module logs packets proxied to a home server.
#
# You will also need to un-comment the 'pre_proxy_log' line
# in the 'pre-proxy' section, below.
#
detail pre_proxy_log {
detailfile =
${radacctdir}/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
#
# This MUST be 0600, otherwise anyone can read
# the users passwords!
detailperm = 0600
}
#
# This module logs response packets from a home server.
#
# You will also need to un-comment the 'post_proxy_log' line
# in the 'post-proxy' section, below.
#
detail post_proxy_log {
detailfile =
${radacctdir}/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
#
# This MUST be 0600, otherwise anyone can read
# the users passwords!
detailperm = 0600
}
More information about the Freeradius-Users
mailing list