Updated documentation and samples
authorAlan T. DeKok <aland@freeradius.org>
Wed, 11 May 2011 15:41:29 +0000 (17:41 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 11 May 2011 15:41:29 +0000 (17:41 +0200)
Handle IPv6 in detail filename.

Document "log_packet_header"

raddb/modules/detail

index 3fdad61..f2ebc78 100644 (file)
@@ -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.
@@ -56,6 +54,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
        # detail file.  This section lists the attributes