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/trunk/doc/reference.conf (file contents):
Revision 4114 by michael, Tue Jul 1 16:47:15 2014 UTC vs.
Revision 7060 by michael, Mon Jan 18 18:55:40 2016 UTC

# Line 1 | Line 1
1   /*
2   * This is an example configuration file for ircd-hybrid
3   *
4 < * Copyright (c) 2000-2014 ircd-hybrid development team
4 > * Copyright (c) 2000-2016 ircd-hybrid development team
5   *
6   * $Id$
7   */
# Line 41 | Line 41 | serverinfo {
41          /*
42           * name: the name of this server. This cannot be changed at runtime.
43           */
44 <        name = "hades.arpa";
44 >        name = "server.example.net";
45  
46          /*
47           * sid: a server's unique ID. This is three characters long and must
# Line 49 | Line 49 | serverinfo {
49           * a digit, followed by 2 alpha-numerical letters.
50           *
51           * NOTE: The letters must be capitalized. This cannot be changed at runtime.
52 +         *
53 +         * A sid is automatically generated at runtime, if you want to configure
54 +         * a specific sid, uncomment the following line.
55           */
56 <        sid = "0HY";
56 > #       sid = "0HY";
57  
58          /*
59           * description: the description of the server.
# Line 58 | Line 61 | serverinfo {
61          description = "ircd-hybrid test server";
62  
63          /*
64 <         * network info: the name and description of the network this server
65 <         * is on. Shown in the 005 reply and used with serverhiding.
64 >         * network_name, network_desc: the name and description of the network this
65 >         * server is on. Shown in the 005 reply and used with serverhiding.
66           */
67          network_name = "MyNet";
68          network_desc = "This is My Network";
# Line 71 | Line 74 | serverinfo {
74          hub = no;
75  
76          /*
77 <         * vhost: the IP to bind to when we connect outward to ipv4 servers.
78 <         * This should be an ipv4 IP only, or "*" for INADDR_ANY.
77 >         * vhost: the IP address to bind to when we connect outward to IPv4 servers.
78 >         * This should be an IPv4 address, or "*" for INADDR_ANY.
79           */
80 < #       vhost = "192.169.0.1";
80 > #       vhost = "192.0.2.1";
81  
82          /*
83 <         * vhost6: the address to bind to when we make outgoing connections
84 <         * to IPv6 servers. This should be an IPv6 address, or "*" for INADDR_ANY.
83 >         * vhost6: the IP address to bind to when we connect outward to IPv6 servers.
84 >         * This should be an IPv6 address, or "*" for in6addr_any.
85           */
86 < #       vhost6 = "3ffe:80e8:546::2";
86 > #       vhost6 = "2001:DB8::1";
87  
88 <        /* max_clients: the maximum number of clients allowed to connect. */
89 <        max_clients = 512;
88 >        /*
89 >         * default_max_clients: the default maximum number of clients allowed
90 >         * to connect. This can be changed from within IRC via /QUOTE SET MAX.
91 >         */
92 >        default_max_clients = 512;
93  
94          /*
95           * max_nick_length: only applies to local clients. Must be in the
# Line 100 | Line 106 | serverinfo {
106  
107          /*
108           * rsa_private_key_file: the path to the file containing the
109 <         * RSA key.
109 >         * RSA key. RSA keys with less than 2048 bits are no longer
110 >         * supported.
111           *
112           * Example commands to store a 2048 bit RSA key in rsa.key:
113           *
114 <         *      openssl genrsa -out rsa.key 2048
115 <         *      chown <ircd-user>.<ircd.group> rsa.key
116 <         *      chmod 0600 rsa.key
114 >         *    openssl genrsa -out rsa.key 2048
115 >         *    chown <ircd-user>.<ircd.group> rsa.key
116 >         *    chmod 0600 rsa.key
117           */
118 < #       rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
118 > #       rsa_private_key_file = "etc/rsa.key";
119  
120          /*
121           * ssl_certificate_file: the path to the file containing our
# Line 119 | Line 126 | serverinfo {
126           *
127           * Example command:
128           *
129 <         *      openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
123 <         *
124 <         * See http://www.openssl.org/docs/HOWTO/certificates.txt
129 >         *    openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
130           *
131           * Please use the following values when generating the cert
132           *
133 <         *      Organization Name: Network Name
134 <         *      Organization Unit Name: changme.someirc.net
135 <         *      Common Name: irc.someirc.net
136 <         *      E-mail: you@domain.com
133 >         *    Organization Name: Network Name
134 >         *    Organization Unit Name: unit.example.net
135 >         *    Common Name: irc.example.net
136 >         *    E-mail: email@example.net
137           */
138 < #       ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
138 > #       ssl_certificate_file = "etc/cert.pem";
139  
140          /*
141 <         * ssl_dh_param_file:
142 <         *
143 <         * Path to the PEM encoded Diffie-Hellman parameter file.
139 <         * DH parameters are required when using ciphers with EDH
140 <         * (ephemeral Diffie-Hellman) key exchange.
141 >         * ssl_dh_param_file: path to the PEM encoded Diffie-Hellman
142 >         * parameter file. DH parameters are required when using
143 >         * ciphers with EDH (ephemeral Diffie-Hellman) key exchange.
144           *
145           * A DH parameter file can be created by running:
146           *
147 <         *      openssl dhparam -out dhparam.pem 2048
147 >         *    openssl dhparam -out dhparam.pem 2048
148           *
149 <         * Prime size must be at least 1024 bits. Further information
149 >         * Prime size must be at least 2048 bits. Further information
150           * regarding specific OpenSSL dhparam command-line options
151           * can be found in the OpenSSL manual.
152           */
153 < #       ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
153 > #       ssl_dh_param_file = "etc/dhparam.pem";
154  
155          /*
156 <         * ssl_dh_elliptic_curve:
156 >         * ssl_dh_elliptic_curve: defines the curve to use for the
157 >         * Elliptic Curve Diffie-Hellman (ECDH) algorithm.
158 >         * Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified.
159           *
160 <         * Defines the curve to use for the Elliptic Curve Diffie-Hellman (ECDH) algorithm.
160 >         * A list of supported curves by OpenSSL can be obtained by running:
161           *
162 <         * A list of supported curves by OpenSSL can be obtained by running:
158 <         *
159 <         *      openssl ecparam -list_curves
162 >         *    openssl ecparam -list_curves
163           */
164   #       ssl_dh_elliptic_curve = "secp521r1";
165  
166          /*
167 <         * ssl_cipher_list:
168 <         *
169 <         * List of ciphers to support on _this_ server. Can be used to
170 <         * enforce specific ciphers for incoming SSL/TLS connections.
168 <         * If a client (which also includes incoming server connections) is not
169 <         * capable of using any of the ciphers listed here, the connection will
167 >         * ssl_cipher_list: list of ciphers to support on _this_ server.
168 >         * Can be used to enforce specific ciphers for incoming SSL/TLS
169 >         * connections. If a client (which also includes incoming server connections)
170 >         * is not capable of using any of the ciphers listed here, the connection will
171           * simply be rejected.
172           *
173           * A list of supported ciphers by OpenSSL can be obtained by running:
174           *
175 <         *      openssl ciphers -ssl3 -tls1 -v
175 >         *    openssl ciphers -tls1 -v
176           *
177           * Multiple ciphers are separated by colons. The order of preference is
178           * from left to right.
# Line 179 | Line 180 | serverinfo {
180   #       ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
181  
182          /*
183 <         * ssl_message_digest_algorithm:
183 >         * ssl_message_digest_algorithm: defines what cryptographic hash function
184 >         * to use for generating fingerprint hashes of X.509 certificates.
185 >         * Default is SHA-256 if nothing else is specified.
186           *
187 <         * Defines what cryptographic hash function to use for generating fingerprint
185 <         * hashes of X.509 certificates.
186 <         * Default is SHA-256 if nothing else is specified
187 >         * A list of supported message digest algorithms by OpenSSL can be obtained by running:
188           *
189 <         * A list of supported digest algorithms by OpenSSL can be obtained by running:
189 <         *
190 <         *      openssl list-message-digest-algorithms
189 >         *    openssl list-message-digest-algorithms
190           */
191   #       ssl_message_digest_algorithm = "sha256";
193
194        /*
195         * ssl_server_method:
196         * ssl_client_method:
197         *
198         * SSL/TLS methods we provide for incoming (server method) and
199         * outgoing (client method) SSL/TLS connections.
200         * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
201         */
202 #       ssl_server_method = tlsv1, sslv3;
203 #       ssl_client_method = tlsv1;
192   };
193  
194   /*
195 < * admin {}:  contains admin information about the server
195 > * admin {}:  contains administrative information about the server
196   */
197   admin {
198          name = "Smurf target";
199          description = "Main Server Administrator";
200 <        email = "<syn@packets.r.us>";
200 >        email = "<admin@server.example.net>";
201   };
202  
203   /*
# Line 227 | Line 215 | class {
215  
216          /*
217           * number_per_ip: how many local users are allowed to connect
218 <         * from a single IP address  (optional)
218 >         * from a single IP address (optional)
219           */
220          number_per_ip = 2;
221  
222          /*
223           * max_local: how many local users are allowed to connect
224 <         * from a single ident@host  (optional)
224 >         * from a single ident@host (optional)
225           */
226          max_local = 2;
227  
228          /*
229 <         * max_global: network-wide limit of users per ident@host  (optional)
229 >         * max_global: network-wide limit of users per ident@host (optional)
230           */
231          max_global = 10;
232  
# Line 248 | Line 236 | class {
236          max_number = 100;
237  
238          /*
239 <         * the following lines are optional and allow you to define
239 >         * The following lines are optional and allow you to define
240           * how many users can connect from one /NN subnet.
241           */
242          cidr_bitlen_ipv4 = 24;
# Line 263 | Line 251 | class {
251  
252          /*
253           * recvq: the amount of data allowed in a client's receive queue before
254 <         * they are dropped for flooding. Defaults to 2560 if the chosen
255 <         * value isn't within the range of 512 to 8000.
254 >         * they are dropped for flooding. Defaults to 2560 if the chosen value
255 >         * isn't within the range of 512 to 8000.
256           */
257          recvq = 2560 bytes;
258   };
# Line 276 | Line 264 | class {
264          max_number = 100;
265          sendq = 100 kbytes;
266  
279
267          /*
268           * max_channels: maximum number of channels users in this class can join.
269           */
270          max_channels = 60;
271  
272          /*
273 <         * min_idle: minimum idle time that is shown in /whois.
273 >         * min_idle: minimum idle time that is shown in WHOIS.
274           */
275          min_idle = 3 hours;
276  
277          /*
278 <         * max_idle: maximum idle time that is shown in /whois.
278 >         * max_idle: maximum idle time that is shown in WHOIS.
279           */
280          max_idle = 8 hours;
281  
# Line 335 | Line 322 | motd {
322          /*
323           * file: path to the actual motd file.
324           */
325 <        file = "/usr/local/ircd/etc/german.motd";
325 >        file = "etc/german.motd";
326   };
327  
328   /*
# Line 343 | Line 330 | motd {
330   */
331   listen {
332          /*
333 <         * port: the port to listen on. If no host is specified earlier
334 <         * in the listen {} block, it will listen on all available IPs.
333 >         * port: the port to listen on. If no host is specified earlier in the
334 >         * listen {} block, it will listen on all available IP addresses.
335           *
336           * Ports are separated by commas; a range may be specified using ".."
337           */
338  
339 <        /* port: listen on all available IP addresses, ports 6665 to 6669 */
339 >        /* port: listen on all available IP addresses, ports 6665 to 6669. */
340          port = 6665 .. 6669;
341  
342          /*
343 <         * Listen on 192.168.0.1/6697 with SSL enabled and hidden from STATS P
343 >         * Listen on 192.0.2.2/6697 with SSL enabled and hidden from STATS P
344           * unless you are an administrator.
345           *
346           * NOTE: The "flags" directive always has to come before "port".
# Line 365 | Line 352 | listen {
352           *  hidden - Port is hidden from /stats P, unless you're an admin
353           */
354          flags = hidden, ssl;
355 <        host = "192.168.0.1";
355 >        host = "192.0.2.2";
356          port = 6697;
357  
358          /*
359 <         * host: set a specific IP address/host to listen on using the
359 >         * host: set a specific IP address to listen on using the
360           * subsequent port definitions. This may be IPv4 or IPv6.
361           */
362 <        host = "1.2.3.4";
362 >        host = "192.0.2.3";
363          port = 7000, 7001;
364  
365 <        host = "3ffe:1234:a:b:c::d";
365 >        host = "2001:DB8::2";
366          port = 7002;
367   };
368  
# Line 385 | Line 372 | listen {
372   auth {
373          /*
374           * user: the user@host allowed to connect. Multiple user
375 <         * lines are permitted within each auth block.
375 >         * lines are permitted within each auth {} block.
376           */
377 <        user = "*@172.16.0.0/12";
378 <        user = "*test@123D:B567:*";
377 >        user = "*@192.0.2.0/24";
378 >        user = "*test@2001:DB8:*";
379  
380 <        /* password: an optional password that is required to use this block */
380 >        /* password: an optional password that is required to use this block. */
381          password = "letmein";
382  
383          /*
384           * encrypted: controls whether the auth password above has been
385 <         * encrypted.
385 >         * encrypted. Default is 'no' if nothing else is specified.
386           */
387          encrypted = yes;
388  
# Line 405 | Line 392 | auth {
392           */
393          spoof = "I.still.hate.packets";
394  
395 <        /* class: the class the user is placed in */
395 >        /* class: the class the user is placed in. */
396          class = "opers";
397  
398          /*
399 <         * need_password - don't allow users who haven't supplied the correct
400 <         *                 password to connect using another auth{} block
401 <         *                 ('&' prefix on /stats I if disabled)
415 <         * need_ident    - require the user to have identd to connect ('+' prefix on /stats I)
399 >         * need_password - don't allow users who haven't supplied the correct  | ('&' prefix on /stats I if disabled)
400 >         *                 password to connect using another auth {} block
401 >         * need_ident    - require the user to have identd to connect          | ('+' prefix on /stats I)
402           * spoof_notice  - enable spoofing notification to admins
403 <         * exceed_limit  - allow a user to exceed class limits ('>' prefix on /stats I)
404 <         * kline_exempt  - exempt this user from k/glines ('^' prefix on /stats I)
405 <         * gline_exempt  - exempt this user from glines ('_' prefix on /stats I)
406 <         * resv_exempt   - exempt this user from resvs ('$' prefix on /stats I)
407 <         * no_tilde      - remove ~ from a user with no ident ('-' prefix on /stats I)
408 <         * can_flood     - allow this user to exceed flood limits ('|' prefix on /stats I)
409 <         * webirc        - enables WEBIRC authentication for web-based clients such as Mibbit
410 <         *                 ('<' prefix on /stats I)
403 >         * exceed_limit  - allow a user to exceed class limits                 | ('>' prefix on /stats I)
404 >         * kline_exempt  - exempt this user from k-lines                       | ('^' prefix on /stats I)
405 >         * xline_exempt  - exempt this user from x-lines                       | ('!' prefix on /stats I)
406 >         * resv_exempt   - exempt this user from resvs                         | ('$' prefix on /stats I)
407 >         * no_tilde      - remove ~ from a user with no ident                  | ('-' prefix on /stats I)
408 >         * can_flood     - allow this user to exceed flood limits              | ('|' prefix on /stats I)
409 >         * webirc        - enables WEBIRC authentication for web-based         | ('<' prefix on /stats I)
410 >         *                 clients such as Mibbit
411           */
412          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
413 <                gline_exempt, resv_exempt, no_tilde, can_flood;
413 >                xline_exempt, resv_exempt, no_tilde, can_flood;
414   };
415  
416   auth {
417          /*
418 <         * redirect: the server and port to redirect a user to. A user does not
419 <         * have to obey the redirection; the ircd just suggests an alternative
420 <         * server for them.
418 >         * redirserv, redirport: the server and port to redirect a user to.
419 >         * A user does not have to obey the redirection; the ircd just
420 >         * suggests an alternative server for them.
421           */
422 <        redirserv = "this.is.not.a.real.server";
422 >        redirserv = "server2.example.net";
423          redirport = 6667;
424  
425 <        user = "*.server";
425 >        user = "*@*.ch";
426  
427 <        /* class: a class is required even though it is not used */
427 >        /* class: a class is required even though it is not used. */
428          class = "users";
429   };
430  
# Line 452 | Line 438 | auth {
438   * operator {}:  defines ircd operators
439   */
440   operator {
441 <        /* name: the name of the oper */
441 >        /* name: the name of the operator */
442          name = "sheep";
443  
444          /*
445           * user: the user@host required for this operator. Multiple user
446 <         * lines are permitted within each operator block.
446 >         * lines are permitted within each operator {} block.
447           */
448 <        user = "*sheep@192.168.0.0/16";
449 <        user = "*@127.0.0.0/8";
448 >        user = "*sheep@192.0.2.0/26";
449 >        user = "*@192.0.2.240/28";
450  
451          /*
452 <         * password: the password required to oper. By default this will
453 <         * need to be encrypted by using the provided mkpasswd tool.
454 <         * Several password hash algorithms are available depending
455 <         * on your system's crypt() implementation. For example, a modern
470 <         * glibc already has support for the SHA-256/512 and MD5 encryption
471 <         * algorithms.
452 >         * password: the password required to oper. By default this will need
453 >         * to be encrypted by using the provided mkpasswd tool.
454 >         * The availability of various password hashing algorithms may vary
455 >         * depending on the system's crypt(3) implementation.
456           */
457          password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
458  
459          /*
460           * encrypted: controls whether the oper password above has been
461 <         * encrypted.
461 >         * encrypted. Default is 'yes' if nothing else is specified.
462           */
463          encrypted = yes;
464  
465          /*
482         * rsa_public_key_file: the public key for this oper when using Challenge.
483         * A password should not be defined when this is used; see
484         * doc/challenge.txt for more information.
485         */
486 #       rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
487
488        /*
466           * ssl_certificate_fingerprint: enhances security by additionally checking
467           * the oper's client certificate fingerprint against the specified
468           * fingerprint below.
# Line 493 | Line 470 | operator {
470           * Hint: your users can use the following command to obtain a SHA-256 hash
471           * of their ssl certificate:
472           *
473 <         *      openssl x509 -sha256 -noout -fingerprint -in cert.pem | sed -e 's/^.*=//;s/://g'
473 >         *    openssl x509 -sha256 -noout -fingerprint -in cert.pem | sed -e 's/^.*=//;s/://g'
474           */
475   #       ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
476  
477          /*
478           * ssl_connection_required: client must be connected over SSL/TLS
479 <         * in order to be able to use this oper{} block.
479 >         * in order to be able to use this operator {} block.
480           * Default is 'no' if nothing else is specified.
481           */
482          ssl_connection_required = no;
483  
484 <        /* class: the class the oper joins when they successfully /oper */
484 >        /* class: the class the oper joins when they successfully OPER. */
485          class = "opers";
486  
487          /*
488 <         * umodes: the default usermodes opers get when they /oper. If defined,
489 <         * it will override oper_umodes settings in general {}.
490 <         * Available usermodes:
488 >         * whois: allows to override the default RPL_WHOISOPERATOR numeric
489 >         * string shown in /whois.
490 >         * This string is propagated to all servers on the network.
491 >         */
492 > #       whois = "is a Smurf Target (IRC Operator)";
493 >
494 >        /*
495 >         * umodes: the default user modes opers get when they successfully OPER.
496 >         * If defined, it will override oper_umodes settings in general {}.
497 >         * Available user modes:
498           *
499           * +b - bots         - See bot and drone flooding notices
500           * +c - cconn        - Client connection/quit notices
# Line 518 | Line 502 | operator {
502           * +d - debug        - See debugging notices
503           * +e - external     - See remote server connection and split notices
504           * +F - farconnect   - Remote client connection/quit notices
505 <         * +f - full         - See auth{} block full notices
505 >         * +f - full         - See auth {} block full notices
506           * +G - softcallerid - Server Side Ignore for users not on your channels
507           * +g - callerid     - Server Side Ignore (for privmsgs etc)
508 <         * +H - hidden       - Hides operator status to other users
508 >         * +H - hidden       - Hides IRC operator status to other users
509           * +i - invisible    - Not shown in NAMES or WHO unless you share a channel
510           * +j - rej          - See rejected client notices
511           * +k - skill        - See server generated KILL messages
# Line 538 | Line 522 | operator {
522          umodes = locops, servnotice, wallop;
523  
524          /*
525 <         * privileges: controls the activities and commands an oper is
526 <         * allowed to do on the server. All options default to no.
527 <         * Available options:
528 <         *
529 <         * module         - allows MODULE
530 <         * connect        - allows local CONNECT              | ('P' flag)
531 <         * connect:remote - allows remote CONNECT             | ('Q' flag)
532 <         * squit          - allows local SQUIT                | ('R' flag)
533 <         * squit:remote   - allows remote SQUIT               | ('S' flag)
534 <         * kill           - allows to KILL local clients      | ('N' flag)
535 <         * kill:remote    - allows remote users to be /KILL'd | ('O' flag)
536 <         * remoteban      - allows remote KLINE/UNKLINE       | ('B' flag)
537 <         * dline          - allows DLINE                      |
538 <         * undline        - allows UNDLINE                    |
539 <         * kline          - allows KLINE                      | ('K' flag)
540 <         * unkline        - allows UNKLINE                    | ('U' flag)
541 <         * gline          - allows GLINE                      | ('G' flag)
542 <         * xline          - allows XLINE                      | ('X' flag)
543 <         * unxline        - allows UNXLINE                    |
544 <         * locops         - allows LOCOPS                     |
545 <         * globops        - allows GLOBOPS                    |
546 <         * wallops        - allows WALLOPS                    |
547 <         * rehash         - allows oper to REHASH config      | ('H' flag)
548 <         * die            - allows DIE                        | ('D' flag)
549 <         * restart        - allows RESTART                    |
550 <         * set            - allows SET                        |
551 <         * admin          - gives administrator privileges    | ('A' flag)
525 >         * flags: controls the activities and commands an oper is
526 >         * allowed to do on the server. All flags default to 'no'.
527 >         * Available flags:
528 >         *
529 >         * admin          - gives administrator privileges        | ('A' flag)
530 >         * close          - allows CLOSE                          | ('B' flag)
531 >         * connect        - allows local CONNECT                  | ('C' flag)
532 >         * connect:remote - allows remote CONNECT                 | ('D' flag)
533 >         * die            - allows DIE                            | ('E' flag)
534 >         * dline          - allows DLINE                          | ('F' flag)
535 >         * globops        - allows GLOBOPS                        | ('G' flag)
536 >         * join:resv      - allows to JOIN resv {} channels       | ('H' flag)
537 >         * kill           - allows to KILL local clients          | ('I' flag)
538 >         * kill:remote    - allows remote users to be /KILL'd     | ('J' flag)
539 >         * kline          - allows KLINE                          | ('K' flag)
540 >         * locops         - allows LOCOPS                         | ('L' flag)
541 >         * module         - allows MODULE                         | ('M' flag)
542 >         * nick:resv      - allows to use NICK on resv {} nicks   | ('N' flag)
543 >         * opme           - allows OPME                           | ('O' flag)
544 >         * rehash         - allows oper to REHASH config          | ('P' flag)
545 >         * rehash:remote  - allows oper to remotely REHASH config | ('Q' flag)
546 >         * remoteban      - allows remote KLINE/UNKLINE           | ('R' flag)
547 >         * restart        - allows RESTART                        | ('S' flag)
548 >         * resv           - allows RESV                           | ('T' flag)
549 >         * set            - allows SET                            | ('U' flag)
550 >         * squit          - allows local SQUIT                    | ('V' flag)
551 >         * squit:remote   - allows remote SQUIT                   | ('W' flag)
552 >         * undline        - allows UNDLINE                        | ('X' flag)
553 >         * unkline        - allows UNKLINE                        | ('Y' flag)
554 >         * unresv         - allows UNRESV                         | ('Z' flag)
555 >         * unxline        - allows UNXLINE                        | ('a' flag)
556 >         * wallops        - allows WALLOPS                        | ('b' flag)
557 >         * xline          - allows XLINE                          | ('c' flag)
558           */
559 <        flags = kill, kill:remote, connect, connect:remote, kline, unkline,
560 <                xline, globops, restart, die, rehash, admin, module;
571 < };
572 <
573 < /*
574 < * service {}: specifies a server which may act as a network service
575 < *
576 < * NOTE: it is very important that every server on the network
577 < *       has the same service{} block.
578 < */
579 < service {
580 <        name = "service.someserver";
581 <        name = "stats.someserver";
559 >        flags = admin, connect, connect:remote, die, globops, kill, kill:remote,
560 >                kline, module, rehash, restart, set, unkline, unxline, xline;
561   };
562  
563   /*
564   * connect {}: define a server to connect to
565   */
566   connect {
567 <        /* name: the name of the server */
568 <        name = "irc.uplink.com";
567 >        /* name: the name of the server. */
568 >        name = "uplink.example.net";
569  
570          /*
571           * host: the host or IP address to connect to. If a hostname is used it
572           * must match the reverse DNS of the server.
573           */
574 <        host = "192.168.0.1";
574 >        host = "192.0.2.4";
575  
576          /*
577           * vhost: the IP address to bind to when making outgoing connections to
# Line 600 | Line 579 | connect {
579           * serverinfo::vhost and serverinfo::vhost6 will be overridden
580           * by this directive.
581           */
582 <        vhost = "192.168.0.2";
582 >        vhost = "192.0.2.5";
583  
584          /*
585 <         * passwords: the passwords to send (OLD C:) and accept (OLD N:).
585 >         * send_password, accept_password: the passwords to send and accept.
586           * The remote server will have these passwords swapped.
587           */
588          send_password = "password";
# Line 615 | Line 594 | connect {
594           */
595          encrypted = no;
596  
597 <        /* port: the port to connect to this server on */
597 >        /* port: the port to connect to this server on. */
598          port = 6666;
599  
600          /*
# Line 630 | Line 609 | connect {
609           */
610   #       leaf_mask = "*.uk";
611  
612 <        /* class: the class this server is in */
612 >        /* class: the class this server is in. */
613          class = "server";
614  
615          /*
616 <         * ssl_cipher_list:
617 <         *
618 <         * List of ciphers that the server we are connecting to must support.
640 <         * If the server is not capable of using any of the ciphers listed below,
641 <         * the connection will simply be rejected.
616 >         * ssl_cipher_list: list of ciphers that the server we are connecting to
617 >         * must support. If the server is not capable of using any of the ciphers
618 >         * listed below, the connection will simply be rejected.
619           * Can be used to enforce stronger ciphers, even though this option
620           * is not necessarily required to establish a SSL/TLS connection.
621           *
# Line 663 | Line 640 | connect {
640   };
641  
642   connect {
643 <        name = "ipv6.some.server";
644 <        host = "3ffd:dead:beef::1";
643 >        name = "ipv6.example.net";
644 >        host = "2001:DB8::3";
645          send_password = "password";
646          accept_password = "password";
647          port = 6666;
# Line 690 | Line 667 | cluster {
667           *       will not be propagated to clustered servers.
668           *
669           *       Remote servers are not necessarily required to accept
670 <         *       clustered lines, they need a shared{} for *THIS* server
671 <         *       in order to accept them.
670 >         *       clustered lines, they need a shared {} block for *THIS*
671 >         *       server in order to accept them.
672           */
673 <        name = "*.arpa";
673 >        name = "*.example.net";
674  
675          /*
676           * type: list of what to share; options are as follows:
# Line 725 | Line 702 | shared {
702           * If this is not specified, the user will be allowed to kline from all
703           * servers.
704           */
705 <        name = "irc2.some.server";
705 >        name = "irc2.example.net";
706  
707          /*
708           * user: the user@host mask that is allowed to set klines. If this is
# Line 752 | Line 729 | shared {
729  
730   /*
731   * kill {}:  users that are not allowed to connect
732 < * Oper issued klines will be added to the specified kline config
732 > * Oper issued klines will be added to the specified kline database
733   */
734   kill {
735 <        user = "bad@*.hacked.edu";
735 >        user = "bad@*.example.net";
736          reason = "Obviously hacked account";
737   };
738  
739   /*
740   * deny {}:  IP addresses that are not allowed to connect
741   * (before DNS/ident lookup)
742 < * Oper issued dlines will be added to the specified dline config
742 > * Oper issued dlines will be added to the specified dline database
743   */
744   deny {
745 <        ip = "10.0.1.0/24";
745 >        ip = "192.0.2.0/28";
746          reason = "Reconnecting vhosted bots";
747   };
748  
# Line 773 | Line 750 | deny {
750   * exempt {}:  IP addresses that are exempt from deny {} and Dlines
751   */
752   exempt {
753 <        ip = "192.168.0.0/16";
753 >        ip = "192.0.2.240/28";
754   };
755  
756   /*
# Line 808 | Line 785 | resv {
785   };
786  
787   /*
788 < * gecos {}:  Used for banning users based on their "realname".
788 > * gecos {}:  used for banning users based on their "realname".
789   */
790   gecos {
791          name = "*sex*";
# Line 821 | Line 798 | gecos {
798   };
799  
800   /*
801 < * channel {}:  The channel block contains options pertaining to channels
801 > * service {}: specifies a server which may act as a network service
802 > *
803 > * NOTE: it is very important that every server on the network
804 > *       has the same service {} block.
805 > */
806 > service {
807 >        name = "service.example.net";
808 >        name = "stats.example.net";
809 > };
810 >
811 > /*
812 > * pseudo {}: adds pseudo/custom commands also known as service aliases
813 > */
814 > pseudo {
815 >        /* command: the actual command/alias. */
816 >        command = "IDENTIFY";
817 >
818 >        /* prepend: optional text that can be prepended before the user's message. */
819 >        prepend = "IDENTIFY ";
820 >
821 >        /* name: the service name, used for error messages. */
822 >        name = "NickServ";
823 >
824 >        /* target: the actual target where this message should be sent to. */
825 >        target = "NickServ@service.example.net";
826 > };
827 >
828 > pseudo {
829 >        command = "CHANSERV";
830 >        name = "ChanServ";
831 >        target = "ChanServ@service.example.net";
832 > };
833 >
834 > pseudo {
835 >        command = "CS";
836 >        name = "ChanServ";
837 >        target = "ChanServ@service.example.net";
838 > };
839 >
840 > pseudo {
841 >        command = "NICKSERV";
842 >        name = "NickServ";
843 >        target = "NickServ@service.example.net";
844 > };
845 >
846 > pseudo {
847 >        command = "NS";
848 >        name = "NickServ";
849 >        target = "NickServ@service.example.net";
850 > };
851 >
852 > pseudo {
853 >        command = "MEMOSERV";
854 >        name = "MemoServ";
855 >        target = "MemoServ@service.example.net";
856 > };
857 >
858 > pseudo {
859 >        command = "MS";
860 >        name = "MemoServ";
861 >        target = "MemoServ@service.example.net";
862 > };
863 >
864 > pseudo {
865 >        command = "OPERSERV";
866 >        name = "OperServ";
867 >        target = "OperServ@service.example.net";
868 > };
869 >
870 > pseudo {
871 >        command = "OS";
872 >        name = "OperServ";
873 >        target = "OperServ@service.example.net";
874 > };
875 >
876 > pseudo {
877 >        command = "HOSTSERV";
878 >        name = "HostServ";
879 >        target = "HostServ@service.example.net";
880 > };
881 >
882 > pseudo {
883 >        command = "HS";
884 >        name = "HostServ";
885 >        target = "HostServ@service.example.net";
886 > };
887 >
888 > pseudo {
889 >        command = "BOTSERV";
890 >        name = "BotServ";
891 >        target = "BotServ@service.example.net";
892 > };
893 >
894 > pseudo {
895 >        command = "BS";
896 >        name = "BotServ";
897 >        target = "BotServ@service.example.net";
898 > };
899 >
900 > /*
901 > * channel {}:  the channel block contains options pertaining to channels
902   */
903   channel {
904          /*
# Line 847 | Line 924 | channel {
924          invite_client_time = 5 minutes;
925  
926          /*
927 +         * invite_delay_channel: how often an INVITE to any specific channel
928 +         * is permitted, regardless of the user sending the INVITE.
929 +         */
930 +        invite_delay_channel = 5 seconds;
931 +
932 +        /*
933           * knock_client_count, knock_client_time: how many KNOCK commands
934           * are permitted per client per knock_client_time.
935           */
# Line 861 | Line 944 | channel {
944  
945          /*
946           * max_channels: the maximum number of channels a user can join/be on.
947 <         * This is a default value which can be overriden with class{} blocks.
947 >         * This is a default value which can be overriden with class {} blocks.
948           */
949          max_channels = 25;
950  
951 <        /* max_bans: maximum number of +b/e/I modes in a channel */
951 >        /* max_bans: maximum number of +b/e/I modes in a channel. */
952          max_bans = 100;
953  
954          /*
955 <         * how many joins in how many seconds constitute a flood. Use 0 to
956 <         * disable. +b opers will be notified (changeable via /set)
955 >         * default_join_flood_count, default_join_flood_time:
956 >         * how many joins in how many seconds constitute a flood. Use 0 to disable.
957 >         * +b opers will be notified. These are only default values which can be
958 >         * changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME".
959           */
960 <        join_flood_count = 16;
961 <        join_flood_time = 8 seconds;
877 <
878 <        /*
879 <         * The ircd will now check splitmode (whether a server is split from
880 <         * the network) every few seconds; this functionality is known as
881 <         * splitcode and is influenced by the options below.
882 <         *
883 <         * Either split users or split servers can activate splitmode, but
884 <         * both conditions must be met for the ircd to deactivate splitmode.
885 <         *
886 <         * You may force splitmode to be permanent by /quote set splitmode on
887 <         */
888 <
889 <        /*
890 <         * default_split_user_count: when the usercount is lower than this level,
891 <         * consider ourselves split. This must be set for automatic splitmode.
892 <         */
893 <        default_split_user_count = 0;
894 <
895 <        /*
896 <         * default_split_server_count: when the servercount is lower than this,
897 <         * consider ourselves split. This must be set for automatic splitmode.
898 <         */
899 <        default_split_server_count = 0;
900 <
901 <        /* no_create_on_split: do not allow users to create channels on split. */
902 <        no_create_on_split = yes;
903 <
904 <        /* no_join_on_split: do not allow users to join channels on a split. */
905 <        no_join_on_split = no;
960 >        default_join_flood_count = 18;
961 >        default_join_flood_time = 6 seconds;
962   };
963  
964   /*
965 < * serverhide {}:  The serverhide block contains the options regarding
966 < * to server hiding
965 > * serverhide {}:  the serverhide block contains the options regarding
966 > * to server hiding. For more information regarding server hiding,
967 > * please see doc/serverhide.txt
968   */
969   serverhide {
970          /*
# Line 923 | Line 980 | serverhide {
980          flatten_links = no;
981  
982          /*
983 <         * links_delay: how often to update the links file when it is
983 >         * flatten_links_delay: how often to update the links file when it is
984           * flattened.
985           */
986 <        links_delay = 5 minutes;
986 >        flatten_links_delay = 5 minutes;
987 >
988 >        /*
989 >         * flatten_links_file: path to the flatten links cache file.
990 >         */
991 >        flatten_links_file = "var/lib/links.txt";
992  
993          /*
994           * hidden: hide this server from a /links output on servers that
# Line 942 | Line 1004 | serverhide {
1004  
1005          /*
1006           * hide_services: define this if you want to hide the location of
1007 <         * services servers that are specified in the service{} block.
1007 >         * services servers that are specified in the service {} block.
1008           */
1009          hide_services = no;
1010  
1011          /*
1012 <         * Use this as the servername users see if hide_servers = yes.
1012 >         * hidden_name: use this as the servername users see if hide_servers = yes.
1013           */
1014 <        hidden_name = "*.hidden.com";
1014 >        hidden_name = "*.example.net";
1015  
1016          /*
1017 <         * hide_server_ips: If this is disabled, opers will be unable to see
1017 >         * hide_server_ips: if this is disabled, opers will be unable to see
1018           * servers' IP addresses and will be shown a masked IP address; admins
1019           * will be shown the real IP address.
1020           *
# Line 967 | Line 1029 | serverhide {
1029   };
1030  
1031   /*
1032 < * general {}:  The general block contains many of the options that were once
1032 > * general {}:  the general block contains many of the options that were once
1033   * compiled in options in config.h
1034   */
1035   general {
# Line 977 | Line 1039 | general {
1039           */
1040          cycle_on_host_change = yes;
1041  
980        /* services_name: servername of nick/channel services */
981        services_name = "service.someserver";
982
1042          /* max_watch: maximum WATCH entries a client can have. */
1043 <        max_watch = 30;
985 <
986 <        /* max_accept: maximum allowed /accept's for +g usermode. */
987 <        max_accept = 30;
1043 >        max_watch = 50;
1044  
1045 <        /* gline_enable: enable glines (network-wide temporary klines). */
1046 <        gline_enable = yes;
1045 >        /* max_accept: maximum allowed /accept's for +g user mode. */
1046 >        max_accept = 50;
1047  
1048          /*
1049 <         * gline_duration: the amount of time a gline will remain on your
1050 <         * server before expiring.
1049 >         * dline_min_cidr: the minimum required length of a CIDR bitmask
1050 >         * for IPv4 based D-lines.
1051           */
1052 <        gline_duration = 1 day;
1052 >        dline_min_cidr = 16;
1053  
1054          /*
1055 <         * gline_request_duration: how long a pending G-line can be around.
1056 <         * 10 minutes should be plenty.
1055 >         * dline_min_cidr6: the minimum required length of a CIDR bitmask
1056 >         * for IPv6 based D-lines.
1057           */
1058 <        gline_request_duration = 10 minutes;
1058 >        dline_min_cidr6 = 48;
1059  
1060          /*
1061 <         * gline_min_cidr: the minimum required length of a CIDR bitmask
1062 <         * for IPv4 based glines.
1061 >         * kline_min_cidr: the minimum required length of a CIDR bitmask
1062 >         * for IPv4 based K-lines.
1063           */
1064 <        gline_min_cidr = 16;
1064 >        kline_min_cidr = 16;
1065  
1066          /*
1067 <         * gline_min_cidr6: the minimum required length of a CIDR bitmask
1068 <         * for IPv6 based glines.
1067 >         * kline_min_cidr6: the minimum required length of a CIDR bitmask
1068 >         * for IPv6 based K-lines.
1069           */
1070 <        gline_min_cidr6 = 48;
1070 >        kline_min_cidr6 = 48;
1071  
1072          /*
1073 <         * invisible_on_connect: whether to automatically set mode +i on
1074 <         * connecting users.
1073 >         * invisible_on_connect: whether to automatically set user mode +i
1074 >         * on connecting users.
1075           */
1076          invisible_on_connect = yes;
1077  
# Line 1028 | Line 1084 | general {
1084          kill_chase_time_limit = 30 seconds;
1085  
1086          /*
1087 <         * hide_spoof_ips: if disabled, opers will be allowed to see the real
1088 <         * IP address of spoofed users in /trace etc. If this is defined they
1089 <         * will be shown a masked IP.
1034 <         */
1035 <        hide_spoof_ips = yes;
1036 <
1037 <        /*
1038 <         * Ignore bogus timestamps from other servers. Yes, this will desync the
1039 <         * network, but it will allow chanops to resync with a valid non TS 0
1087 >         * ignore_bogus_ts: ignore bogus timestamps from other servers.
1088 >         * Yes, this will desync the network, but it will allow chanops
1089 >         * to resync with a valid non TS 0.
1090           *
1091           * This should be enabled network wide, or not at all.
1092           */
# Line 1044 | Line 1094 | general {
1094  
1095          /*
1096           * disable_auth: completely disable ident lookups; if you enable this,
1097 <         * be careful of what you set need_ident to in your auth {} blocks
1097 >         * be careful of what you set need_ident to in your auth {} blocks.
1098           */
1099          disable_auth = no;
1100  
# Line 1056 | Line 1106 | general {
1106  
1107          /*
1108           * default_floodcount: the default value of floodcount that is configurable
1109 <         * via /quote set floodcount. This is the number of lines a user
1110 <         * may send to any other user/channel in one second.
1109 >         * via /quote set floodcount. This is the number of lines a user may send
1110 >         * to any other user/channel in one second. Set to 0 to disable.
1111           */
1112          default_floodcount = 10;
1113  
# Line 1075 | Line 1125 | general {
1125  
1126          /*
1127           * min_nonwildcard: the minimum number of non-wildcard characters in
1128 <         * k/d/g lines placed via the server. K-lines hand-placed are exempt from
1128 >         * k/d lines placed via the server. K-lines hand-placed are exempt from
1129           * this limit.
1130 <         * Wildcard chars: '.', ':', '*', '?', '@', '!'
1130 >         * Wildcard characters: '.', ':', '*', '?'
1131           */
1132          min_nonwildcard = 4;
1133  
1134          /*
1135           * min_nonwildcard_simple: the minimum number of non-wildcard characters
1136 <         * in gecos bans. Wildcard chars: '*', '?'
1136 >         * in gecos bans. Wildcard characters: '*', '?'
1137           */
1138          min_nonwildcard_simple = 3;
1139  
1140          /* anti_nick_flood: enable the nickflood control code. */
1141          anti_nick_flood = yes;
1142  
1143 <        /* nick flood: the number of nick changes allowed in the specified period */
1144 <        max_nick_time = 20 seconds;
1143 >        /*
1144 >         * max_nick_changes, max_nick_time: the number of nick changes allowed in
1145 >         * the specified period.
1146 >         */
1147          max_nick_changes = 5;
1148 +        max_nick_time = 20 seconds;
1149 +
1150 +        /*
1151 +         * away_count, away_time: how many AWAY command are permitted per
1152 +         * client per away_time.
1153 +         */
1154 +        away_count = 2;
1155 +        away_time = 10 seconds;
1156  
1157          /*
1158           * anti_spam_exit_message_time: the minimum time a user must be connected
# Line 1103 | Line 1163 | general {
1163          /*
1164           * ts_warn_delta, ts_max_delta: the time delta allowed between server
1165           * clocks before a warning is given, or before the link is dropped.
1166 <         * All servers should run ntpdate/rdate to keep clocks in sync
1166 >         * All servers should run ntpdate/rdate to keep clocks in sync.
1167           */
1168 <        ts_warn_delta = 10 seconds;
1169 <        ts_max_delta = 2 minutes;
1168 >        ts_warn_delta = 3 seconds;
1169 >        ts_max_delta = 15 seconds;
1170  
1171          /*
1172           * warn_no_connect_block: warn opers about servers that try to connect
# Line 1118 | Line 1178 | general {
1178          /*
1179           * stats_e_disabled: set this to 'yes' to disable "STATS e" for both
1180           * operators and administrators. Doing so is a good idea in case
1181 <         * there are any exempted (exempt{}) server IPs you don't want to
1182 <         * see leaked.
1181 >         * there are any exempted (exempt {}) server IP addresses you don't
1182 >         * want to see leaked.
1183           */
1184          stats_e_disabled = no;
1185  
1186 <        /* stats_o_oper_only: make stats o (opers) oper only */
1186 >        /* stats_m_oper_only: make /stats m/M (messages) oper only. */
1187 >        stats_m_oper_only = yes;
1188 >
1189 >        /* stats_o_oper_only: make stats o (opers) oper only. */
1190          stats_o_oper_only = yes;
1191  
1192 <        /* stats_P_oper_only: make stats P (ports) oper only */
1192 >        /* stats_P_oper_only: make stats P (ports) oper only. */
1193          stats_P_oper_only = yes;
1194  
1195 <        /* stats_u_oper_only: make stats u (uptime) oper only */
1195 >        /* stats_u_oper_only: make stats u (uptime) oper only. */
1196          stats_u_oper_only = no;
1197  
1198          /*
1199           * stats_i_oper_only: make stats i (auth {}) oper only. Set to:
1200 <         *     yes    - show users no auth blocks, made oper only.
1201 <         *     masked - show users the first matching auth block
1202 <         *     no     - show users all auth blocks.
1200 >         *     yes    - show users no auth {} blocks, made oper only
1201 >         *     masked - show users the first matching auth {} block
1202 >         *     no     - show users all auth {} blocks
1203           */
1204          stats_i_oper_only = yes;
1205  
1206          /*
1207           * stats_k_oper_only: make stats k/K (klines) oper only. Set to:
1208 <         *     yes    - show users no auth blocks, made oper only
1209 <         *     masked - show users the first matching auth block
1210 <         *     no     - show users all auth blocks.
1208 >         *     yes    - show users no klines, made oper only
1209 >         *     masked - show users the first matching kline
1210 >         *     no     - show users all klines
1211           */
1212          stats_k_oper_only = yes;
1213  
# Line 1156 | Line 1219 | general {
1219  
1220          /*
1221           * opers_bypass_callerid: allows operators to bypass +g and message
1222 <         * anyone who has it set (useful if you use services).
1222 >         * anyone who has it set.
1223           */
1224          opers_bypass_callerid = no;
1225  
# Line 1169 | Line 1232 | general {
1232  
1233          /*
1234           * pace_wait: minimum time required between use of more intensive commands
1235 <         * (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS)
1235 >         * (INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS)
1236           */
1237          pace_wait = 10 seconds;
1238  
# Line 1180 | Line 1243 | general {
1243          short_motd = no;
1244  
1245          /*
1246 <         * ping_cookie: require clients to respond exactly to a ping command,
1246 >         * ping_cookie: require clients to respond exactly to a PING command,
1247           * can help block certain types of drones and FTP PASV mode spoofing.
1248           */
1249          ping_cookie = no;
# Line 1189 | Line 1252 | general {
1252          no_oper_flood = yes;
1253  
1254          /*
1192         * true_no_oper_flood: completely eliminate flood limits for opers
1193         * and for clients with can_flood = yes in their auth {} blocks.
1194         */
1195        true_no_oper_flood = yes;
1196
1197        /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */
1198        oper_pass_resv = yes;
1199
1200        /* REMOVE ME. The following line checks that you have been reading. */
1201        havent_read_conf = 1;
1202
1203        /*
1255           * max_targets: the maximum number of targets in a single
1256           * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
1257           */
1258          max_targets = 4;
1259  
1260          /*
1261 <         * usermodes configurable: a list of usermodes for the options below
1261 >         * user modes configurable: a list of user modes for the options below
1262           *
1263           * +b - bots         - See bot and drone flooding notices
1264           * +c - cconn        - Client connection/quit notices
# Line 1215 | Line 1266 | general {
1266           * +d - debug        - See debugging notices
1267           * +e - external     - See remote server connection and split notices
1268           * +F - farconnect   - Remote client connection/quit notices
1269 <         * +f - full         - See auth{} block full notices
1269 >         * +f - full         - See auth {} block full notices
1270           * +G - softcallerid - Server Side Ignore for users not on your channels
1271           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1272 <         * +H - hidden       - Hides operator status to other users
1272 >         * +H - hidden       - Hides IRC operator status to other users
1273           * +i - invisible    - Not shown in NAMES or WHO unless you share a channel
1274           * +j - rej          - See rejected client notices
1275           * +k - skill        - See server generated KILL messages
# Line 1233 | Line 1284 | general {
1284           * +y - spy          - See LINKS, STATS, TRACE notices etc.
1285           */
1286  
1287 <        /* oper_only_umodes: usermodes only opers may set */
1288 <        oper_only_umodes = bots, cconn, debug, full, hidden, skill,
1289 <                        nchange, rej, spy, external,
1239 <                        locops, unauth, farconnect;
1287 >        /* oper_only_umodes: user modes only operators may set. */
1288 >        oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden,
1289 >                        locops, nchange, rej, skill, spy, unauth;
1290  
1291 <        /* oper_umodes: default usermodes opers get when they /oper */
1291 >        /* oper_umodes: default user modes operators get when they successfully OPER. */
1292          oper_umodes = bots, locops, servnotice, wallop;
1293  
1294          /*
1245         * use_egd: if your system does not have *random devices yet you
1246         * want to use OpenSSL and encrypted links, enable this. Beware -
1247         * EGD is *very* CPU intensive when gathering data for its pool.
1248         */
1249 #       use_egd = yes;
1250
1251        /*
1252         * egdpool_path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1253         * which automatically finds the path.
1254         */
1255 #       egdpool_path = "/var/run/egd-pool";
1256
1257
1258        /*
1295           * throttle_count: the maximum number of connections from the same
1296           * IP address allowed in throttle_time duration.
1297           */
# Line 1276 | Line 1312 | modules {
1312           * path: other paths to search for modules specified below
1313           * and in "/module load".
1314           */
1315 <        path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1316 <        path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1315 >        path = "lib/ircd-hybrid/modules";
1316 > #       path = "lib/ircd-hybrid/modules/extra";
1317 >        path = "lib/ircd-hybrid/modules/autoload";
1318  
1319          /* module: the name of a module to load on startup/rehash. */
1320   #       module = "some_module.la";
# Line 1292 | Line 1329 | log {
1329  
1330          file {
1331                  type = oper;
1332 <                name = "/usr/local/ircd/var/log/oper.log";
1332 >                name = "var/log/oper.log";
1333                  size = unlimited;
1334          };
1335  
1336          file {
1337                  type = user;
1338 <                name = "/usr/local/ircd/var/log/user.log";
1338 >                name = "var/log/user.log";
1339                  size = 50 megabytes;
1340          };
1341  
1342          file {
1343                  type = kill;
1344 <                name = "/usr/local/ircd/var/log/kill.log";
1344 >                name = "var/log/kill.log";
1345                  size = 50 megabytes;
1346          };
1347  
1348          file {
1349                  type = kline;
1350 <                name = "/usr/local/ircd/var/log/kline.log";
1350 >                name = "var/log/kline.log";
1351                  size = 50 megabytes;
1352          };
1353  
1354          file {
1355                  type = dline;
1356 <                name = "/usr/local/ircd/var/log/dline.log";
1320 <                size = 50 megabytes;
1321 <        };
1322 <
1323 <        file {
1324 <                type = gline;
1325 <                name = "/usr/local/ircd/var/log/gline.log";
1356 >                name = "var/log/dline.log";
1357                  size = 50 megabytes;
1358          };
1359  
1360          file {
1361                  type = xline;
1362 <                name = "/usr/local/ircd/var/log/xline.log";
1362 >                name = "var/log/xline.log";
1363                  size = 50 megabytes;
1364          };
1365  
1366          file {
1367                  type = resv;
1368 <                name = "/usr/local/ircd/var/log/resv.log";
1368 >                name = "var/log/resv.log";
1369                  size = 50 megabytes;
1370          };
1371  
1372          file {
1373                  type = debug;
1374 <                name = "/usr/local/ircd/var/log/debug.log";
1374 >                name = "var/log/debug.log";
1375                  size = 50 megabytes;
1376          };
1377   };

Diff Legend

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