X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=srvx.conf.example;h=6b9ed1816559e58985867ce0aae830b250cf9cc7;hb=113ef8305f6ba5f3c7df66294a7eb15dcb02e026;hp=32e53612391f5c2837eb1d2a41a870bcdec04646;hpb=5aae79cbf0a8939dd23697c2da5819c0ab923770;p=srvx.git diff --git a/srvx.conf.example b/srvx.conf.example index 32e5361..6b9ed18 100644 --- a/srvx.conf.example +++ b/srvx.conf.example @@ -43,8 +43,13 @@ "services" { "nickserv" { "nick" "NickServ"; - // If you want to by have *@* as the default hostmask, set - // default_hostmask. This is discouraged for security reasons. + // What user modes do you want this service to have? Please keep in + // mind which ircd software you are using here, and that all of the + // services need to be at least +o. + // "modes" "+iok"; + // If you want to by have *@* as the default hostmask for all + // new accounts, set default_hostmask. This is discouraged + // for security reasons. // "default_hostmask" "1"; // do we warn users when someone new auths to their account? "warn_clone_auth" "1"; @@ -108,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" @@ -131,7 +140,16 @@ "opserv" { "nick" "OpServ"; + // What user modes do you want this service to have? Please keep in + // mind which ircd software you are using here, and that all of the + // services need to be at least +o. + // "modes" "+iok"; + // should use of this service be limited to global opers? "privileged" "1"; + // fullname for service + "description" "Oper Service Bot"; + // hostname for service; only used if "description" is also set + "hostname" "dances-all-night-with.srvx.net"; // what channel should opserv send debug output to? "debug_channel" "#opserv"; "debug_channel_modes" "+tinms"; @@ -165,8 +183,6 @@ "size" "200"; "drain-rate" "3"; }; - // character to make OpServ pay attention to you - "trigger" "?"; }; "chanserv" { @@ -175,14 +191,29 @@ // (This is changed relative srvx-1.0.x, which would use default // unless you specified ".disabled".) "nick" "ChanServ"; + // What user modes do you want this service to have? Please keep in + // 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? 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 "max_chan_bans" "512"; + // maximum length of a user's infoline + "max_userinfo_length" "400"; // If DynLimit is on and there are N users in the channel, ChanServ will // try to keep the limit at N+. "adjust_threshold" "15"; @@ -192,10 +223,10 @@ "chan_expire_freq" "3d"; // How long is a channel unvisited (by masters or above) before it can be expired? "chan_expire_delay" "30d"; - // character to make ChanServ pay attention to you - "trigger" "!"; + // 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.", @@ -217,10 +248,16 @@ "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" { "nick" "Global"; + // What user modes do you want this service to have? Please keep in + // mind which ircd software you are using here, and that all of the + // services need to be at least +o. + // "modes" "+iok"; // should users get community announcements by default or not? "announcements_default" "on"; }; @@ -261,6 +298,56 @@ "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"; + // Bot used to send debug notices + "debug_bot" "OpServ"; + // To which channel should debug output be sent? + "debug_channel" "#opserv"; + "debug_channel_modes" "+tinms"; + // 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" { + // Send a notice instead of glining blacklisted ips + "debug" "1"; + "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" { @@ -292,6 +379,10 @@ "max_cycles" "30"; // max uplink cycles before giving up // Admin information is traditionally: location, location, email "admin" ("IRC Network", "Gotham City, GO", "Mr Commissioner "); + /* the following two settings are for ircu's HEAD_IN_SAND features, and are equivelent to + * the F: lines in ircu's ircd.conf. both can be disabled by commenting them out. */ + "his_servername" "*.Generic.NET"; // hidden server name, shown in remote /whois requests + "his_servercomment" "The Generic, Boring IRC Network"; }; // controlling how services (mostly NickServ) send mail