]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Added a "do not respond" policy
authorAlan T. DeKok <aland@freeradius.org>
Sun, 15 Mar 2009 09:26:18 +0000 (10:26 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 15 Mar 2009 09:26:18 +0000 (10:26 +0100)
raddb/policy.conf

index 21a381abe61bad78b5453697a6bd57bbe04d2503..d7c89d922c7bb42f6edd127562777a18b5f45dd3 100644 (file)
@@ -51,4 +51,16 @@ policy {
                        reject
                }
        }
+
+       #
+       #       If you want the server to pretend that it is dead,
+       #       then use the "do_not_respond" policy.
+       #
+       do_not_respond {
+               update control {
+                       Response-Packet-Type := Do-Not-Respond
+               }
+
+               handled
+       }
 }