From: Alan T. DeKok Date: Wed, 11 May 2011 15:41:29 +0000 (+0200) Subject: Updated documentation and samples X-Git-Tag: release_2_1_11~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb49d53e8657b72751d2d171dd236dba24be128;p=thirdparty%2Ffreeradius-server.git Updated documentation and samples Handle IPv6 in detail filename. Document "log_packet_header" --- diff --git a/raddb/modules/detail b/raddb/modules/detail index 3fdad617138..f2ebc7893a5 100644 --- a/raddb/modules/detail +++ b/raddb/modules/detail @@ -8,8 +8,6 @@ detail { # Note that we do NOT use NAS-IP-Address here, as # that attribute MAY BE from the originating NAS, and # NOT from the proxy which actually sent us the - # request. The Client-IP-Address attribute is ALWAYS - # the address of the client which sent us the # request. # # The following line creates a new detail file for @@ -33,7 +31,7 @@ detail { # be ONE "listen" section reading detail files from a # particular directory. # - detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d + detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d # # The Unix-style permissions on the 'detail' file. @@ -55,6 +53,12 @@ detail { # header = "%t" + # + # Log the Packet src/dst IP/port. This is disabled by + # default, as that information isn't used by many people. + # +# log_packet_header = yes + # # Certain attributes such as User-Password may be # "sensitive", so they should not be printed in the