]> jfr.im git - solanum.git/blobdiff - doc/ircd.conf.example
authd/providers/ident: remove pointless memcpy
[solanum.git] / doc / ircd.conf.example
old mode 100755 (executable)
new mode 100644 (file)
index dc97bbd..a4ce101
@@ -4,51 +4,54 @@
  * Copyright (C) 2002-2005 ircd-ratbox development team
  * Copyright (C) 2005-2006 charybdis development team
  *
- * $Id: example.conf 3582 2007-11-17 21:55:48Z jilles $
- *
  * See reference.conf for more information.
  */
 
 /* Extensions */
-#loadmodule "extensions/chm_operonly_compat.so";
-#loadmodule "extensions/chm_quietunreg_compat.so";
-#loadmodule "extensions/chm_sslonly_compat.so";
-#loadmodule "extensions/createauthonly.so";
-#loadmodule "extensions/extb_account.so";
-#loadmodule "extensions/extb_canjoin.so";
-#loadmodule "extensions/extb_channel.so";
-#loadmodule "extensions/extb_extgecos.so";
-#loadmodule "extensions/extb_oper.so";
-#loadmodule "extensions/extb_realname.so";
-#loadmodule "extensions/extb_server.so";
-#loadmodule "extensions/extb_ssl.so";
-#loadmodule "extensions/hurt.so";
-#loadmodule "extensions/m_findforwards.so";
-#loadmodule "extensions/m_identify.so";
-#loadmodule "extensions/no_oper_invis.so";
-#loadmodule "extensions/sno_farconnect.so";
-#loadmodule "extensions/sno_globalkline.so";
-#loadmodule "extensions/sno_globaloper.so";
-#loadmodule "extensions/sno_whois.so";
-#loadmodule "extensions/override.so";
-#loadmodule "extensions/no_kill_services.so";
+#loadmodule "extensions/chm_operonly_compat";
+#loadmodule "extensions/chm_quietunreg_compat";
+#loadmodule "extensions/chm_sslonly_compat";
+#loadmodule "extensions/chm_operpeace";
+#loadmodule "extensions/createauthonly";
+#loadmodule "extensions/extb_account";
+#loadmodule "extensions/extb_canjoin";
+#loadmodule "extensions/extb_channel";
+#loadmodule "extensions/extb_combi";
+#loadmodule "extensions/extb_extgecos";
+#loadmodule "extensions/extb_hostmask";
+#loadmodule "extensions/extb_oper";
+#loadmodule "extensions/extb_realname";
+#loadmodule "extensions/extb_server";
+#loadmodule "extensions/extb_ssl";
+#loadmodule "extensions/extb_usermode";
+#loadmodule "extensions/hurt";
+#loadmodule "extensions/m_extendchans";
+#loadmodule "extensions/m_findforwards";
+#loadmodule "extensions/m_identify";
+#loadmodule "extensions/no_oper_invis";
+#loadmodule "extensions/sno_farconnect";
+#loadmodule "extensions/sno_globalkline";
+#loadmodule "extensions/sno_globalnickchange";
+#loadmodule "extensions/sno_globaloper";
+#loadmodule "extensions/sno_whois";
+#loadmodule "extensions/override";
+#loadmodule "extensions/no_kill_services";
 
 /*
  * IP cloaking extensions: use ip_cloaking_4.0
  * if you're linking 3.2 and later, otherwise use
- * ip_cloaking.so, for compatibility with older 3.x
+ * ip_cloaking, for compatibility with older 3.x
  * releases.
  */
 
-#loadmodule "extensions/ip_cloaking_4.0.so";
-#loadmodule "extensions/ip_cloaking.so";
+#loadmodule "extensions/ip_cloaking_4.0";
+#loadmodule "extensions/ip_cloaking";
 
 serverinfo {
        name = "hades.arpa";
        sid = "42X";
        description = "charybdis test server";
        network_name = "StaticBox";
-       hub = yes;
 
        /* On multi-homed hosts you may need the following. These define
         * the addresses we connect from to other servers. */
@@ -56,7 +59,7 @@ serverinfo {
        #vhost = "192.0.2.6";
        /* for IPv6 */
        #vhost6 = "2001:db8:2::6";
-       
+
        /* ssl_private_key: our ssl private key */
        ssl_private_key = "etc/ssl.key";
 
@@ -180,7 +183,7 @@ auth {
         * flags = ...; below if it is.
         */
        password = "letmein";
-       
+
        /* spoof: fake the users user@host to be be this.  You may either
         * specify a host or a user@host to spoof to.  This is free-form,
         * just do everyone a favour and dont abuse it. (OLD I: = flag)
@@ -188,7 +191,7 @@ auth {
        spoof = "I.still.hate.packets";
 
        /* Possible flags in auth:
-        * 
+        *
         * encrypted                  | password is encrypted with mkpasswd
         * spoof_notice               | give a notice when spoofing hosts
         * exceed_limit (old > flag)  | allow user to exceed class user limits
@@ -207,7 +210,7 @@ auth {
         * need_sasl                  | require SASL id for user in this class
         */
        flags = kline_exempt, exceed_limit;
-       
+
        /* class: the class the user is placed in */
        class = "opers";
 };
@@ -237,7 +240,7 @@ privset "global_op" {
 
 privset "admin" {
        extends = "global_op";
-       privs = oper:admin, oper:die, oper:rehash, oper:spy;
+       privs = oper:admin, oper:die, oper:rehash, oper:spy, oper:grant;
 };
 
 operator "god" {
@@ -250,13 +253,13 @@ operator "god" {
        user = "*god@127.0.0.1";
 
        /* password: the password required to oper.  Unless ~encrypted is
-        * contained in flags = ...; this will need to be encrypted using 
+        * contained in flags = ...; this will need to be encrypted using
         * mkpasswd, MD5 is supported
         */
        password = "etcnjl8juSU1E";
 
        /* rsa key: the public key for this oper when using Challenge.
-        * A password should not be defined when this is used, see 
+        * A password should not be defined when this is used, see
         * doc/challenge.txt for more information.
         */
        #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
@@ -347,6 +350,7 @@ channel {
        knock_delay = 5 minutes;
        knock_delay_channel = 1 minute;
        max_chans_per_user = 15;
+       max_chans_per_user_large = 60;
        max_bans = 100;
        max_bans_large = 500;
        default_split_user_count = 0;
@@ -359,6 +363,9 @@ channel {
        resv_forcepart = yes;
        channel_target_change = yes;
        disable_local_channels = no;
+       autochanmodes = "+nt";
+       displayed_usercount = 3;
+       strip_topic_colors = no;
 };
 
 serverhide {
@@ -393,10 +400,10 @@ serverhide {
  * as of this writing.
  *
  * As of charybdis 3.5, a matches parameter is allowed; if omitted, any result
- * is considered a match. If included, a comma-separated list of *quoted* 
+ * is considered a match. If included, a comma-separated list of *quoted*
  * strings is allowed to match queries. They may be of the format "0" to "255"
  * to match the final octet (e.g. 127.0.0.1) or "127.x.y.z" to explicitly match
- * an A record. The blacklist is only applied if it matches anything in the 
+ * an A record. The blacklist is only applied if it matches anything in the
  * list. You may freely mix full IP's and final octets.
  *
  * Consult your blacklist provider for the meaning of these parameters; they
@@ -481,6 +488,7 @@ general {
        min_nonwildcard = 4;
        min_nonwildcard_simple = 3;
        max_accept = 100;
+       max_monitor = 100;
        anti_nick_flood = yes;
        max_nick_time = 20 seconds;
        max_nick_changes = 5;
@@ -535,6 +543,8 @@ general {
        throttle_count = 4;
        max_ratelimit_tokens = 30;
        away_interval = 30;
+       certfp_method = sha1;
+       hide_opers_in_whois = no;
 };
 
 modules {