Add file-based IP blacklist module.
[srvx.git] / srvx.conf.example
index e4f3420e8e5ba2fbfa0f6445d243a415982d56a0..0e112fc53b1ad715b286325dd53c93c7840946ab 100644 (file)
         "port" "7702";
         "password" "hello";
     };
+    "blacklist" {
+        // File containing blacklisted client addresses.
+        // "file" "blacklist.txt";
+        // Each line in the file should start with an IP or hostname.
+        // If there is whitespace and a message after that, the
+        // message will override this one:
+        "file_reason" "client is blacklisted";
+        // How long should a blacklist G-line last?
+        "gline_duration" "1h";
+    };
 };
 
 "policers" {