ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/doc/reference.conf
(Generate patch)

Comparing:
ircd-hybrid-7.2/etc/example.conf.in (file contents), Revision 897 by db, Sat Nov 3 17:13:32 2007 UTC vs.
ircd-hybrid-7.3/etc/example.conf (file contents), Revision 1070 by michael, Tue Feb 16 23:40:20 2010 UTC

# Line 1 | Line 1
1   /* doc/example.conf - ircd-hybrid-7 Example configuration file
2 < * Copyright (C) 2000-2006 Hybrid Development Team
2 > * Copyright (C) 2000-2010 Hybrid Development Team
3   *
4   * Written by ejb, wcampbel, db, leeh and others
5   * Other example configurations can be found in the source dir under
# Line 43 | Line 43
43   */
44   serverinfo {
45          /*
46 <         * name: the name of our server.  This cannot be changed at runtime.
46 >         * name: the name of this server.  This cannot be changed at runtime.
47           */
48          name = "hades.arpa";
49  
# Line 76 | Line 76 | serverinfo {
76  
77          /*
78           * vhost: the IP to bind to when we connect outward to ipv4 servers.
79 <         * This should be an ipv4 IP only, or "* for INADDR_ANY.
79 >         * This should be an ipv4 IP only, or "*" for INADDR_ANY.
80           */
81          #vhost = "192.169.0.1";
82  
83          /*
84           * vhost6: the IP to bind to when we connect outward to ipv6 servers.
85 <         * This should be an ipv6 IP only, or "* for INADDR_ANY.
85 >         * This should be an ipv6 IP only, or "*" for INADDR_ANY.
86           */
87          #vhost6 = "3ffe:80e8:546::2";
88  
# Line 90 | Line 90 | serverinfo {
90          max_clients = 512;
91  
92          /*
93 <         * rsa key: the path to the file containing our rsa key for cryptlink.
93 >         * rsa_private_key_file: the path to the file containing our
94 >         * rsa key for cryptlink.
95           *
96           * Example command to store a 2048 bit RSA keypair in
97           * rsa.key, and the public key in rsa.pub:
# Line 104 | Line 105 | serverinfo {
105          #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
106  
107          /*
108 <         * ssl certificate: the path to the file containing our ssl certificate
109 <         * for encrypted client connection.
108 >         * ssl_certificate_file: the path to the file containing our
109 >         * ssl certificate for encrypted client connection.
110           *
111           * This assumes your private RSA key is stored in rsa.key. You
112           * MUST have an RSA key in order to generate the certificate
# Line 122 | Line 123 | serverinfo {
123           *      E-mail: you@domain.com
124           */
125          #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
126 +
127 +        /*
128 +         * ssl_server_protocol:
129 +         * SSL/TLS protocols we provide for incoming secure connections.
130 +         * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
131 +         * SSLv2 is not suppported. This cannot be changed at runtime.
132 +         */
133 +        #ssl_server_protocol = sslv3, tlsv1;
134   };
135  
136   /*
# Line 259 | Line 268 | listen {
268           * unless you are an administrator.
269           *
270           * NOTE: The "flags" directive has to come before "port".  Always!
271 +         *
272 +         * Currently available flags are:
273 +         *
274 +         *  ssl    - Port is for SSL client connections only
275 +         *  server - Only server connections are permitted
276 +         *  hidden - Port is hidden from /stats P
277           */
278          flags = hidden, ssl;
279          host = "192.168.0.1";
# Line 363 | Line 378 | operator {
378  
379          /*
380           * password: the password required to oper.  By default this will
381 <         * need to be encrypted using 'mkpasswd'.  MD5 is supported.
381 >         * need to be encrypted by using the provided mkpasswd tool.
382 >         * Several password hash algorithms are available depending
383 >         * on your system's crypt() implementation. For example, a modern
384 >         * glibc already has support for SHA-256/512, and MD5 encryption
385 >         * algorithms.
386           */
387 <        password = "etcnjl8juSU1E";
387 >        password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
388  
389          /*
390           * encrypted: controls whether the oper password above has been
391 <         * encrypted.  (OLD CRYPT_OPER_PASSWORD now optional per operator)
391 >         * encrypted.
392           */
393          encrypted = yes;
394  
# Line 390 | Line 409 | operator {
409           *
410           * +b - bots         - See bot and drone flooding notices
411           * +c - cconn        - Client connection/quit notices
412 +         * +C - cconn_full   - Client connection/quit notices full
413           * +D - deaf         - Don't receive channel messages
414           * +d - debug        - See debugging notices
415           * +f - full         - See I: line full notices
# Line 421 | Line 441 | operator {
441           * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
442           * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
443           * gline:        allows GLINE                      (OLD 'G' flag)
444 <         * xline:         allows XLINE                     (OLD 'X' flag)
444 >         * xline:        allows XLINE                      (OLD 'X' flag)
445           * operwall:     allows OPERWALL
446           * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
447           *               via usermode +n
# Line 478 | Line 498 | connect {
498  
499          /*
500           * encrypted: controls whether the accept_password above has been
501 <         * encrypted.  (OLD CRYPT_LINK_PASSWORD now optional per connect)
501 >         * encrypted.
502           */
503          encrypted = no;
504  
# Line 659 | Line 679 | kill {
679   };
680  
681   kill {
682 <        user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.org$";
682 >        user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.tld$";
683 >
684 >        /*
685 >         * NOTE: You have to set type=regex; when using a regular expression
686 >         * based user entry
687 >         */
688          type = regex;
689   };
690  
# Line 717 | Line 742 | gecos {
742  
743   gecos {
744          name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$";
745 +
746 +        /*
747 +         * NOTE: You have to set type=regex; when using a regular expression
748 +         * based name entry
749 +         */
750          type = regex;
751   };
752  
# Line 731 | Line 761 | channel {
761           *
762           *   2 | bold
763           *   3 | mirc color
764 <         *  15 | plain text
764 >         *  15 | plain text
765           *  22 | reverse
766           *  31 | underline
767           * 160 | non-breaking space
# Line 772 | Line 802 | channel {
802           * knock_delay: The amount of time a user must wait between issuing
803           * the knock command.
804           */
805 <        knock_delay = 1 minutes;
805 >        knock_delay = 5 minutes;
806  
807          /*
808           * knock_delay_channel: How often a knock to any specific channel
# Line 826 | Line 856 | channel {
856           */
857          default_split_server_count = 0;
858  
859 <        /* split no create: disallow users creating channels on split. */
859 >        /* no_create_on_split: disallow users creating channels on split. */
860          no_create_on_split = yes;
861  
862 <        /* split: no join: disallow users joining channels at all on a split */
862 >        /* no_join_on_split: disallow users joining channels at all on a split. */
863          no_join_on_split = no;
864   };
865  
# Line 874 | Line 904 | serverhide {
904          hidden_name = "*.hidden.com";
905  
906          /*
907 <         * hide_server_ips: If this is disabled, opers will be unable to see servers
908 <         * ips and will be shown a masked ip, admins will be shown the real ip.
909 <         *
910 <         * If this is enabled, nobody can see a servers ip.  *This is a kludge*, it
911 <         * has the side effect of hiding the ips everywhere, including logfiles.
907 >         * hide_server_ips: If this is disabled, opers will be unable to see
908 >         * servers ips and will be shown a masked ip, admins will be shown the
909 >         * real ip.
910 >         *
911 >         * If this is enabled, nobody can see a servers ip. *This is a kludge*,
912 >         * it has the side effect of hiding the ips everywhere, including
913 >         * logfiles.
914           *
915           * We recommend you leave this disabled, and just take care with who you
916           * give admin=yes; to.
# Line 891 | Line 923 | serverhide {
923   * compiled in options in config.h.  The general block is read at start time.
924   */
925   general {
926 <        /* max_watch: maximum WATCH entries */
927 <        max_watch = 64;
926 >        /* max_watch: maximum WATCH entries a client can have. */
927 >        max_watch = 60;
928  
929          /*
930           * gline_min_cidr: the minimum required length of a CIDR bitmask
# Line 1157 | Line 1189 | general {
1189           *
1190           * +b - bots         - See bot and drone flooding notices
1191           * +c - cconn        - Client connection/quit notices
1192 +         * +C - cconn_full   - Client connection/quit notices full
1193           * +D - deaf         - Don't receive channel messages
1194           * +d - debug        - See debugging notices
1195           * +f - full         - See I: line full notices
# Line 1273 | Line 1306 | glines {
1306  
1307   modules {
1308          /*
1309 <         * module path: other paths to search for modules specified below
1309 >         * path: other paths to search for modules specified below
1310           * and in /modload.
1311           */
1312 <        path = "@datadir@/modules";
1313 <        path = "@datadir@/autoload";
1312 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1313 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1314  
1315          /* module: the name of a module to load on startup/rehash */
1316 <        #module = "some_module.so";
1316 >        #module = "some_module.la";
1317   };

Comparing:
ircd-hybrid-7.2/etc/example.conf.in (property svn:keywords), Revision 897 by db, Sat Nov 3 17:13:32 2007 UTC vs.
ircd-hybrid-7.3/etc/example.conf (property svn:keywords), Revision 1070 by michael, Tue Feb 16 23:40:20 2010 UTC

# Line 1 | Line 1
1 < "Author Date Id Revision"
1 > Id Revision

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)