X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=srvx.conf.example;h=8abac6f4d8f87fb7bc82f3cad2c67e1605e07bdf;hb=8acabe2fc9601fbbf0357ef5626ed8907d6ef42b;hp=28b97903b92a65b6ef4881127d3c5c416d7d401a;hpb=8b769be4f80f2a852a22b17b679fa3fe372c5990;p=srvx.git diff --git a/srvx.conf.example b/srvx.conf.example index 28b9790..8abac6f 100644 --- a/srvx.conf.example +++ b/srvx.conf.example @@ -191,16 +191,19 @@ // mind which ircd software you are using here, and that all of the // services need to be at least +o. // "modes" "+iok"; - // Does your ircd have off-channel services support? - // Bahamut does; ircu2.10.11 does not. - "off_channel" "no"; - // Does your ircd have a mode for registered channels? - // Bahamut does; ircu2.10.11 does not. - "use_registered_mode" "no"; + // Does your ircd have off-channel services support? Does it have + // a registered channel mode? Does it support services opping themselves? + // Bahamut has these things; ircu2.10.11 does not. + // This setting takes three numerical values: + // 0 = off + // 1 = use a registered channel mode, have services op themselves + // 2 = all of the above, and a channel setting to have ChanServ not + // idle in the channel + "off_channel" "0"; // how long should a person be unseen before resending infoline? "info_delay" "120"; // maximum greeting length - "max_greetlen" "120"; + "max_greetlen" "200"; // maximum users in a channel userlist "max_chan_users" "512"; // maximum bans on a channel banlist @@ -216,8 +219,10 @@ "chan_expire_freq" "3d"; // How long is a channel unvisited (by masters or above) before it can be expired? "chan_expire_delay" "30d"; + // How often to look for dnrs that have expired? + "dnr_expire_freq" "1h"; // what !set options should we show when user calls "!set" with no arguments? - "set_shows" ("DefaultTopic", "TopicMask", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "UserInfo", "GiveVoice", "GiveOps", "EnfOps", "EnfModes", "EnfTopic", "TopicSnarf", "Setters", "CtcpUser", "CtcpReaction", "Protect", "Toys", "DynLimit", "NoDelete"); + "set_shows" ("DefaultTopic", "TopicMask", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "StrictOp", "AutoOp", "EnfModes", "EnfTopic", "TopicSnarf", "UserInfo", "GiveVoice", "GiveOps", "EnfOps", "Setters", "CtcpUser", "CtcpReaction", "Protect", "Toys", "DynLimit", "NoDelete"); // A list of !8ball responses "8ball" ("Not a chance.", @@ -239,6 +244,8 @@ "default_modes" "+nt"; // minimum opserv access to set, clear or override nodelete setting? "nodelete_level" "1"; + // how long before a new channel owner can give ownership away? + "giveownership_timeout" "1w"; }; "global" { @@ -287,6 +294,49 @@ "message_expiry" "30d"; // age when messages are deleted; set // to 0 to disable message expiration }; + "qserver" { + "address" "127.0.0.1"; + "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" {