X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=srvx.conf.example;h=4c1b9c62bae426c4b5f8e1ac3b680264fee033cd;hb=93e4294cd139ae41eefba84129372b7f1aadf730;hp=e4f3420e8e5ba2fbfa0f6445d243a415982d56a0;hpb=2e71baed62ba17eebfd63b464a135a46dd50661a;p=srvx.git diff --git a/srvx.conf.example b/srvx.conf.example index e4f3420..4c1b9c6 100644 --- a/srvx.conf.example +++ b/srvx.conf.example @@ -113,6 +113,10 @@ "account_expire_delay" "35d"; // how long until an account with no access to any channels expires? "nochan_account_expire_delay" "14d"; + // how long must an account be inactive so it can be ounregistered without force? + "ounregister_inactive" "1M"; + // which flags on an account require the ounregister to be used with force? + "ounregister_flags" "ShgsfnHbu"; /* "require_qualified" has been removed. It is now * integrated into the modcmd command authorization * and dispatch mechanism. "/msg OpServ help modcmd" @@ -299,6 +303,44 @@ "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"; + // If you want to use DNS blacklists, add them here: + "dnsbl" { + // This DNSBL zone does not exist - you'll have to pick your own. + "dnsbl.example.org" { + "description" "Example DNSBL entry"; + "reason" "busted by a dns blacklist"; + "duration" "1h"; + // You can stick the client's IP in the G-line message. + "reason_2" "Example DNSBL reported %ip%'s address as 127.0.0.2"; + // .. or the contents of a DNS TXT. + "reason_3" "%txt%"; + }; + }; + }; + "sar" { + // You generally will not want to override these defaults. + // "resolv_conf" "/etc/resolv.conf"; + // "services" "/etc/services"; + // "bind_address" "0.0.0.0"; + // "bind_port" "0"; + // The defaults for these are derived from the system config files (above). + // "domain" "example.org"; + // "timeout" "3"; // base timeout for a DNS reply + // "retries" "3"; // number of times to retry on different servers or longer timeouts + // "ndots" "1"; // number of dots needed in a hostname to bypass search path + // "edns0" "0"; // if set, enable EDNS0 extended message sizes + // "search" ("example.org", "example.net"); + // "nameservers" ("127.0.0.1"); + }; }; "policers" {