Document listen "type = status" better.
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 Nov 2008 09:39:35 +0000 (10:39 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 25 Nov 2008 09:41:29 +0000 (10:41 +0100)
Closes #580

raddb/radiusd.conf.in
raddb/sites-available/status

index 6011e43..fc9fc63 100644 (file)
@@ -245,6 +245,8 @@ listen {
        #       proxy   IP to use for sending proxied packets
        #       detail  Read from the detail file.  For examples, see
        #               raddb/sites-available/copy-acct-to-home-server
+       #       status  listen for Status-Server packets.  For examples,
+       #               see raddb/sites-available/status
        #
        type = auth
 
@@ -499,6 +501,8 @@ security {
        #  packet.  If the server responds, it must be alive, and the
        #  NAS can start using it for real requests.
        #
+       #  See also raddb/sites-available/status
+       #
        status_server = yes
 }
 
index 92ef9cf..e7e0af8 100644 (file)
@@ -59,8 +59,12 @@ server status {
        #  Simple authorize section.  The "Autz-Type Status-Server"
        #  section will work here, too.  See "raddb/sites-available/default".
        authorize {
-               # respond to the Status-Server request.
                ok
+
+               # respond to the Status-Server request.
+               Autz-Type Status-Server {
+                       ok
+               }
        }
 }
 
@@ -120,4 +124,4 @@ server status {
 #  The Status-Server packets are also counted in the total requests &&
 #  responses.  The responses are counted only AFTER the response has
 #  been sent.
-#
\ No newline at end of file
+#