detail logging not right with IPv6 clients

Alan DeKok aland at deployingradius.com
Wed Sep 15 10:46:48 CEST 2010


Alan Buxey wrote:
> [auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct//auth-detail-20100914
> 
> [reply_log] /var/log/radius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d expands to /var/log/radius/radacct//reply-detail-20100914
> 
> and thus all of the detail logs for ANY IPv6 client get munged into the
> top level directory.

  Use:

  %{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}

  That should work.

  Or:

  %{%{client:ipaddr}:-%{client:ipv6addr}}

  Alan DeKok.



More information about the Freeradius-Users mailing list