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/trunk/doc/reference.conf (file contents), Revision 5985 by michael, Tue May 26 18:52:42 2015 UTC

# Line 1 | Line 1
1 < /* doc/example.conf - ircd-hybrid-7 Example configuration file
2 < * Copyright (C) 2000-2006 Hybrid Development Team
1 > /*
2 > * This is an example configuration file for ircd-hybrid
3   *
4 < * Written by ejb, wcampbel, db, leeh and others
5 < * Other example configurations can be found in the source dir under
6 < * etc/.
4 > * Copyright (c) 2000-2015 ircd-hybrid development team
5   *
6   * $Id$
7   */
8  
9 < /* IMPORTANT NOTES:
9 > /*
10 > * ########################################################################
11 > * IMPORTANT NOTE:
12   *
13 < * auth {} blocks MUST be specified in order of precedence.  The first one
14 < * that matches a user will be used.  So place spoofs first, then specials,
13 > * auth {} blocks MUST be specified in order of precedence. The first one
14 > * that matches a user will be used. So place spoofs first, then specials,
15   * then general access.
16 + * ########################################################################
17   *
18   * Shell style (#), C++ style (//) and C style comments are supported.
19   *
# Line 22 | Line 23
23   *
24   * Times/durations are written as:
25   *        12 hours 30 minutes 1 second
26 < *        
26 > *
27   * Valid units of time:
28 < *        month, week, day, hour, minute, second
28 > *        year, month, week, day, hour, minute, second
29   *
30   * Valid units of size:
31   *        megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
32   *
33 < * Sizes and times may be singular or plural.  
33 < */
34 <
35 < /* EFNET NOTE:
36 < *
37 < * This config file is NOT suitable for EFNet.  EFNet admins should use
38 < * example.efnet.conf
33 > * Sizes and times may be singular or plural.
34   */
35 <
35 >
36 >
37   /*
38 < * serverinfo {}:  contains information about the server. (OLD M:)
38 > * serverinfo {}:  contains information about the server
39   */
40   serverinfo {
41          /*
42 <         * name: the name of our server.  This cannot be changed at runtime.
42 >         * name: the name of this server. This cannot be changed at runtime.
43           */
44          name = "hades.arpa";
45  
46          /*
47 <         * sid: a server's unique ID.  This is three characters long and must
48 <         * be in the form [0-9][A-Z0-9][A-Z0-9].  The first character must be
47 >         * sid: a server's unique ID. This is three characters long and must
48 >         * be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be
49           * a digit, followed by 2 alpha-numerical letters.
50 <         * NOTE: The letters must be capitalized.  This cannot be changed at runtime.
50 >         *
51 >         * NOTE: The letters must be capitalized. This cannot be changed at runtime.
52           */
53 <        sid = "_CHANGE_ME_";
53 >        sid = "0HY";
54  
55          /*
56 <         * description: the description of the server.  '[' and ']' may not
60 <         * be used here for compatibility with older servers.
56 >         * description: the description of the server.
57           */
58 <        description = "hybrid-7 test server";
58 >        description = "ircd-hybrid test server";
59  
60          /*
61 <         * network info: the name and description of the network this server
62 <         * is on.  Shown in the 005 reply and used with serverhiding.
61 >         * network_name, network_desc: the name and description of the network this
62 >         * server is on. Shown in the 005 reply and used with serverhiding.
63           */
64          network_name = "MyNet";
65          network_desc = "This is My Network";
# Line 75 | Line 71 | serverinfo {
71          hub = no;
72  
73          /*
74 <         * vhost: the IP to bind to when we connect outward to ipv4 servers.
75 <         * This should be an ipv4 IP only, or "* for INADDR_ANY.
74 >         * vhost: the IP address to bind to when we connect outward to IPv4 servers.
75 >         * This should be an IPv4 address, or "*" for INADDR_ANY.
76           */
77 <        #vhost = "192.169.0.1";
77 > #       vhost = "192.169.0.1";
78  
79          /*
80 <         * vhost6: the IP to bind to when we connect outward to ipv6 servers.
81 <         * This should be an ipv6 IP only, or "* for INADDR_ANY.
80 >         * vhost6: the IP address to bind to when we connect outward to IPv6 servers.
81 >         * This should be an IPv6 address, or "*" for in6addr_any.
82           */
83 <        #vhost6 = "3ffe:80e8:546::2";
83 > #       vhost6 = "3ffe:80e8:546::2";
84  
85 <        /* max_clients: the maximum number of clients allowed to connect */
86 <        max_clients = 512;
85 >        /*
86 >         * default_max_clients: the default maximum number of clients allowed
87 >         * to connect. This can be changed from within IRC via /QUOTE SET MAX.
88 >         */
89 >        default_max_clients = 512;
90 >
91 >        /*
92 >         * max_nick_length: only applies to local clients. Must be in the
93 >         * range of 9 to 30. Default is 9 if nothing else is specified.
94 >         */
95 >        max_nick_length = 9;
96  
97          /*
98 <         * rsa key: the path to the file containing our rsa key for cryptlink.
98 >         * max_topic_length: only applies to topics set by local clients.
99 >         * Must be in the range of 80 to 300. Default is 80 if nothing
100 >         * else is specified.
101 >         */
102 >        max_topic_length = 160;
103 >
104 >        /*
105 >         * rsa_private_key_file: the path to the file containing the
106 >         * RSA key.
107 >         *
108 >         * Example commands to store a 2048 bit RSA key in rsa.key:
109           *
110 <         * Example command to store a 2048 bit RSA keypair in
111 <         * rsa.key, and the public key in rsa.pub:
97 <         *
98 <         *      openssl genrsa -out rsa.key 2048
99 <         *      openssl rsa -in rsa.key -pubout -out rsa.pub
100 <         *      chown <ircd-user>.<ircd.group> rsa.key rsa.pub
110 >         *      openssl genrsa -out rsa.key 2048
111 >         *      chown <ircd-user>.<ircd.group> rsa.key
112           *      chmod 0600 rsa.key
102         *      chmod 0644 rsa.pub
113           */
114 <        #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
114 > #       rsa_private_key_file = "etc/rsa.key";
115  
116          /*
117 <         * ssl certificate: the path to the file containing our ssl certificate
118 <         * for encrypted client connection.
117 >         * ssl_certificate_file: the path to the file containing our
118 >         * SSL certificate for encrypted client connection.
119           *
120           * This assumes your private RSA key is stored in rsa.key. You
121 <         * MUST have an RSA key in order to generate the certificate
121 >         * MUST have an RSA key in order to generate the certificate.
122 >         *
123 >         * Example command:
124           *
125           *      openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
126           *
# Line 121 | Line 133 | serverinfo {
133           *      Common Name: irc.someirc.net
134           *      E-mail: you@domain.com
135           */
136 <        #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
125 < };
136 > #       ssl_certificate_file = "etc/cert.pem";
137  
138 < /*
139 < * admin {}:  contains admin information about the server. (OLD A:)
140 < */
141 < admin {
142 <        name = "Smurf target";
143 <        description = "Main Server Administrator";
144 <        email = "<syn@packets.r.us>";
145 < };
138 >        /*
139 >         * ssl_dh_param_file: path to the PEM encoded Diffie-Hellman
140 >         * parameter file. DH parameters are required when using
141 >         * ciphers with EDH (ephemeral Diffie-Hellman) key exchange.
142 >         *
143 >         * A DH parameter file can be created by running:
144 >         *
145 >         *      openssl dhparam -out dhparam.pem 2048
146 >         *
147 >         * Prime size must be at least 1024 bits. Further information
148 >         * regarding specific OpenSSL dhparam command-line options
149 >         * can be found in the OpenSSL manual.
150 >         */
151 > #       ssl_dh_param_file = "etc/dhparam.pem";
152  
153 < /*
154 < * log {}:  contains information about logfiles.
155 < */
156 < log {
157 <        /* Do you want to enable logging to ircd.log? */
158 <        use_logging = yes;
153 >        /*
154 >         * ssl_dh_elliptic_curve: defines the curve to use for the
155 >         * Elliptic Curve Diffie-Hellman (ECDH) algorithm.
156 >         * Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified.
157 >         *
158 >         * A list of supported curves by OpenSSL can be obtained by running:
159 >         *
160 >         *      openssl ecparam -list_curves
161 >         */
162 > #       ssl_dh_elliptic_curve = "secp521r1";
163  
164          /*
165 <         * logfiles: the logfiles to use for user connects, /oper uses,
166 <         * and failed /oper.  These files must exist for logging to be used.
165 >         * ssl_cipher_list: list of ciphers to support on _this_ server.
166 >         * Can be used to enforce specific ciphers for incoming SSL/TLS
167 >         * connections. If a client (which also includes incoming server connections)
168 >         * is not capable of using any of the ciphers listed here, the connection will
169 >         * simply be rejected.
170 >         *
171 >         * A list of supported ciphers by OpenSSL can be obtained by running:
172 >         *
173 >         *      openssl ciphers -ssl3 -tls1 -v
174 >         *
175 >         * Multiple ciphers are separated by colons. The order of preference is
176 >         * from left to right.
177           */
178 <        fname_userlog = "logs/userlog";
148 <        fname_operlog = "logs/operlog";
149 <        fname_killlog = "logs/kill";
150 <        fname_klinelog = "logs/kline";
151 <        fname_glinelog = "logs/gline";
178 > #       ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
179  
180          /*
181 <         * log_level: the amount of detail to log in ircd.log.  The
182 <         * higher, the more information is logged.  May be changed
183 <         * once the server is running via /quote SET LOG.  Either:
184 <         * L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG
181 >         * ssl_message_digest_algorithm: defines what cryptographic hash function
182 >         * to use for generating fingerprint hashes of X.509 certificates.
183 >         * Default is SHA-256 if nothing else is specified.
184 >         *
185 >         * A list of supported message digest algorithms by OpenSSL can be obtained by running:
186 >         *
187 >         *      openssl list-message-digest-algorithms
188           */
189 <        log_level = L_INFO;
189 > #       ssl_message_digest_algorithm = "sha256";
190   };
191  
192   /*
193 < * class {}:  contains information about classes for users (OLD Y:)
193 > * admin {}:  contains administrative information about the server
194 > */
195 > admin {
196 >        name = "Smurf target";
197 >        description = "Main Server Administrator";
198 >        email = "<syn@packets.r.us>";
199 > };
200 >
201 > /*
202 > * class {}:  contains information about classes for users
203   */
204   class {
205 <        /* name: the name of the class.  classes are text now */
205 >        /* name: the name of the class. */
206          name = "users";
207  
208          /*
# Line 174 | Line 213 | class {
213  
214          /*
215           * number_per_ip: how many local users are allowed to connect
216 <         * from one IP  (optional)
216 >         * from a single IP address (optional)
217           */
218          number_per_ip = 2;
219  
220          /*
221           * max_local: how many local users are allowed to connect
222 <         * from one ident@host  (optional)
222 >         * from a single ident@host (optional)
223           */
224          max_local = 2;
225  
226          /*
227 <         * max_global: network-wide limit of users per ident@host  (optional)
227 >         * max_global: network-wide limit of users per ident@host (optional)
228           */
229          max_global = 10;
230  
# Line 195 | Line 234 | class {
234          max_number = 100;
235  
236          /*
237 <         * the following lines are optional and allow you to define
238 <         * how many users can connect from one /NN subnet
237 >         * The following lines are optional and allow you to define
238 >         * how many users can connect from one /NN subnet.
239           */
240          cidr_bitlen_ipv4 = 24;
241          cidr_bitlen_ipv6 = 120;
242          number_per_cidr = 16;
243  
244          /*
245 <         * sendq: the amount of data allowed in a clients queue before
245 >         * sendq: the amount of data allowed in a client's send queue before
246           * they are dropped.
247           */
248          sendq = 100 kbytes;
249 +
250 +        /*
251 +         * recvq: the amount of data allowed in a client's receive queue before
252 +         * they are dropped for flooding. Defaults to 2560 if the chosen value
253 +         * isn't within the range of 512 to 8000.
254 +         */
255 +        recvq = 2560 bytes;
256   };
257  
258   class {
# Line 214 | Line 260 | class {
260          ping_time = 90 seconds;
261          number_per_ip = 10;
262          max_number = 100;
263 <        sendq = 100kbytes;
263 >        sendq = 100 kbytes;
264 >
265 >        /*
266 >         * max_channels: maximum number of channels users in this class can join.
267 >         */
268 >        max_channels = 60;
269 >
270 >        /*
271 >         * min_idle: minimum idle time that is shown in /whois.
272 >         */
273 >        min_idle = 3 hours;
274 >
275 >        /*
276 >         * max_idle: maximum idle time that is shown in /whois.
277 >         */
278 >        max_idle = 8 hours;
279 >
280 >        /*
281 >         * flags:
282 >         *
283 >         * random_idle          - a fake idle time is set randomly between
284 >         *                        min_idle and max_idle
285 >         * hide_idle_from_opers - the fake idle time will also be shown to operators
286 >         */
287 >        flags = random_idle, hide_idle_from_opers;
288   };
289  
290   class {
# Line 222 | Line 292 | class {
292          ping_time = 90 seconds;
293  
294          /*
295 <         * ping_warning: how fast a server must reply to a PING before
226 <         * a warning to opers is generated.
227 <         */
228 <        ping_warning = 15 seconds;
229 <
230 <        /*
231 <         * connectfreq: only used in server classes.  Specifies the delay
295 >         * connectfreq: only used in server classes. Specifies the delay
296           * between autoconnecting to servers.
297           */
298          connectfreq = 5 minutes;
299  
300 <        /* max number: the amount of servers to autoconnect to */
300 >        /* max number: the number of servers to autoconnect to. */
301          max_number = 1;
302  
303 <        /* sendq: servers need a higher sendq as they send more data */
303 >        /* sendq: servers need a higher sendq as they send more data. */
304          sendq = 2 megabytes;
305   };
306  
307   /*
308 < * listen {}:  contains information about the ports ircd listens on (OLD P:)
308 > * motd {}: Allows the display of a different MOTD to a client
309 > * depending on its origin. Applies to local users only.
310 > */
311 > motd {
312 >        /*
313 >         * mask: multiple mask entries are permitted. Mask can either be
314 >         * a class name or a hostname. CIDR is supported.
315 >         */
316 >        mask = "*.at";
317 >        mask = "*.de";
318 >        mask = "*.ch";
319 >
320 >        /*
321 >         * file: path to the actual motd file.
322 >         */
323 >        file = "etc/german.motd";
324 > };
325 >
326 > /*
327 > * listen {}:  contains information about the ports ircd listens on
328   */
329   listen {
330          /*
331 <         * port: the specific port to listen on.  If no host is specified
332 <         * before, it will listen on all available IPs.
331 >         * port: the port to listen on. If no host is specified earlier
332 >         * in the listen {} block, it will listen on all available IPs.
333           *
334 <         * Ports are separated via a comma, a range may be specified using ".."
334 >         * Ports are separated by commas; a range may be specified using ".."
335           */
336 <        
337 <        /* port: listen on all available IPs, ports 6665 to 6669 */
336 >
337 >        /* port: listen on all available IP addresses, ports 6665 to 6669. */
338          port = 6665 .. 6669;
339  
340          /*
341 <         * Listen on 192.168.0.1/6697 with ssl enabled and hidden from STATS P
341 >         * Listen on 192.168.0.1/6697 with SSL enabled and hidden from STATS P
342           * unless you are an administrator.
343           *
344 <         * NOTE: The "flags" directive has to come before "port".  Always!
344 >         * NOTE: The "flags" directive always has to come before "port".
345 >         *
346 >         * Currently available flags are:
347 >         *
348 >         *  ssl    - Port may only accept TLS/SSL connections
349 >         *  server - Only server connections are permitted
350 >         *  hidden - Port is hidden from /stats P, unless you're an admin
351           */
352          flags = hidden, ssl;
353          host = "192.168.0.1";
354          port = 6697;
355  
356          /*
357 <         * host: set a specific IP/host the ports after the line will listen
358 <         * on.  This may be ipv4 or ipv6.
357 >         * host: set a specific IP address to listen on using the
358 >         * subsequent port definitions. This may be IPv4 or IPv6.
359           */
360          host = "1.2.3.4";
361          port = 7000, 7001;
# Line 276 | Line 365 | listen {
365   };
366  
367   /*
368 < * auth {}:  allow users to connect to the ircd (OLD I:)
368 > * auth {}:  allow users to connect to the ircd
369   */
370   auth {
371          /*
372 <         * user: the user@host allowed to connect.  Multiple IPv4/IPv6 user
373 <         * lines are permitted per auth block.
372 >         * user: the user@host allowed to connect. Multiple user
373 >         * lines are permitted within each auth {} block.
374           */
375          user = "*@172.16.0.0/12";
376          user = "*test@123D:B567:*";
377  
378 <        /* password: an optional password that is required to use this block */
378 >        /* password: an optional password that is required to use this block. */
379          password = "letmein";
380  
381          /*
382           * encrypted: controls whether the auth password above has been
383 <         * encrypted.
383 >         * encrypted. Default is 'no' if nothing else is specified.
384           */
385          encrypted = yes;
386  
387          /*
388 <         * spoof: fake the users host to this.  This is free-form,
389 <         * just do everyone a favor and don't abuse it. ('=' prefix on /stats I)
388 >         * spoof: fake the user's host to this. This is free-form, just do
389 >         * everyone a favor and don't abuse it. ('=' prefix on /stats I)
390           */
391          spoof = "I.still.hate.packets";
392  
393 <        /* class: the class the user is placed in */
393 >        /* class: the class the user is placed in. */
394          class = "opers";
395  
396          /*
397 <         * need_password: don't allow users who haven't supplied the correct
398 <         *                password to connect using another auth{} block
399 <         *                ('&' prefix on /stats I if disabled)
400 <         * need_ident:    require the user to have identd to connect ('+' prefix on /stats I)
401 <         * spoof_notice:  enable spoofing notification to admins
402 <         * exceed_limit:  allow a user to exceed class limits ('>' prefix on /stats I)
403 <         * kline_exempt:  exempt this user from k/glines ('^' prefix on /stats I)
404 <         * gline_exempt:  exempt this user from glines ('_' prefix on /stats I)
405 <         * resv_exempt:   exempt this user from resvs ('$' prefix on /stats I)
406 <         * no_tilde:      remove ~ from a user with no ident ('-' prefix on /stats I)
407 <         * can_flood:     allow this user to exceed flood limits ('|' prefix on /stats I)
408 <         * can_idle:      exempt this user from idle restrictions ('<' prefix on /stats I)
397 >         * need_password - don't allow users who haven't supplied the correct  | ('&' prefix on /stats I if disabled)
398 >         *                 password to connect using another auth {} block
399 >         * need_ident    - require the user to have identd to connect          | ('+' prefix on /stats I)
400 >         * spoof_notice  - enable spoofing notification to admins
401 >         * exceed_limit  - allow a user to exceed class limits                 | ('>' prefix on /stats I)
402 >         * kline_exempt  - exempt this user from k-lines                       | ('^' prefix on /stats I)
403 >         * xline_exempt  - exempt this user from x-lines                       | ('!' prefix on /stats I)
404 >         * resv_exempt   - exempt this user from resvs                         | ('$' prefix on /stats I)
405 >         * no_tilde      - remove ~ from a user with no ident                  | ('-' prefix on /stats I)
406 >         * can_flood     - allow this user to exceed flood limits              | ('|' prefix on /stats I)
407 >         * webirc        - enables WEBIRC authentication for web-based         | ('<' prefix on /stats I)
408 >         *                 clients such as Mibbit
409           */
410          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
411 <                gline_exempt, resv_exempt, no_tilde, can_flood, can_idle;
411 >                xline_exempt, resv_exempt, no_tilde, can_flood;
412   };
413  
414   auth {
415          /*
416 <         * redirect: the server and port to redirect a user to.  A user does
417 <         * not have to obey the redirection, the ircd just suggests an alternative
418 <         * server for them.
416 >         * redirserv, redirport: the server and port to redirect a user to.
417 >         * A user does not have to obey the redirection; the ircd just
418 >         * suggests an alternative server for them.
419           */
420 <        redirserv = "this.is.not.a.real.server";
420 >        redirserv = "server.tld";
421          redirport = 6667;
333        
334        user = "*.server";
422  
423 <        /* class: a class is required even though it is not used */
423 >        user = "*@*.tld";
424 >
425 >        /* class: a class is required even though it is not used. */
426          class = "users";
427   };
428  
# Line 344 | Line 433 | auth {
433   };
434  
435   /*
436 < * operator {}:  defines ircd operators. (OLD O:)
348 < *
349 < * ircd-hybrid no longer supports local operators, privileges are
350 < * controlled via flags.
436 > * operator {}:  defines ircd operators
437   */
438   operator {
439 <        /* name: the name of the oper */
440 <        /* NOTE: operator "opername"{} is also supported */
355 <        name = "god";
439 >        /* name: the name of the operator */
440 >        name = "sheep";
441  
442          /*
443 <         * user: the user@host required for this operator.  CIDR is not
444 <         * supported.  Multiple user="" lines are supported.
443 >         * user: the user@host required for this operator. Multiple user
444 >         * lines are permitted within each operator {} block.
445           */
446 <        user = "*god@*";
447 <        user = "*@127.0.0.1";
446 >        user = "*sheep@192.168.0.0/16";
447 >        user = "*@127.0.0.0/8";
448  
449          /*
450 <         * password: the password required to oper.  By default this will
451 <         * need to be encrypted using 'mkpasswd'.  MD5 is supported.
450 >         * password: the password required to oper. By default this will
451 >         * need to be encrypted by using the provided mkpasswd tool.
452 >         * Several password hash algorithms are available depending
453 >         * on your system's crypt() implementation. For example, a modern
454 >         * glibc already has support for the SHA-256/512 and MD5 encryption
455 >         * algorithms.
456           */
457 <        password = "etcnjl8juSU1E";
457 >        password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
458  
459          /*
460           * encrypted: controls whether the oper password above has been
461 <         * encrypted.  (OLD CRYPT_OPER_PASSWORD now optional per operator)
461 >         * encrypted. Default is 'yes' if nothing else is specified.
462           */
463          encrypted = yes;
464  
465          /*
466 <         * rsa_public_key_file: the public key for this oper when using Challenge.
467 <         * A password should not be defined when this is used, see
466 >         * whois: allows to override the default RPL_WHOISOPERATOR numeric
467 >         * string shown in /whois.
468 >         * This string is propagated to all servers on the network.
469 >         */
470 > #       whois = "is a Smurf Target (IRC Operator)";
471 >
472 >        /*
473 >         * rsa_public_key_file: the public key for this oper when using /challenge.
474 >         * A password should not be defined when this is used; see
475           * doc/challenge.txt for more information.
476           */
477 < #       rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
477 > #       rsa_public_key_file = "etc/oper.pub";
478 >
479 >        /*
480 >         * ssl_certificate_fingerprint: enhances security by additionally checking
481 >         * the oper's client certificate fingerprint against the specified
482 >         * fingerprint below.
483 >         *
484 >         * Hint: your users can use the following command to obtain a SHA-256 hash
485 >         * of their ssl certificate:
486 >         *
487 >         *      openssl x509 -sha256 -noout -fingerprint -in cert.pem | sed -e 's/^.*=//;s/://g'
488 >         */
489 > #       ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
490 >
491 >        /*
492 >         * ssl_connection_required: client must be connected over SSL/TLS
493 >         * in order to be able to use this operator {} block.
494 >         * Default is 'no' if nothing else is specified.
495 >         */
496 >        ssl_connection_required = no;
497  
498 <        /* class: the class the oper joins when they successfully /oper */
498 >        /* class: the class the oper joins when they successfully /oper or /challenge. */
499          class = "opers";
500  
501          /*
502 <         * umodes: default usermodes opers get when they /oper.  If defined,
503 <         * it will override oper_umodes settings in general {}.
502 >         * umodes: the default usermodes opers get when they /oper or /challenge.
503 >         * If defined, it will override oper_umodes settings in general {}.
504           * Available usermodes:
505           *
506           * +b - bots         - See bot and drone flooding notices
507           * +c - cconn        - Client connection/quit notices
508           * +D - deaf         - Don't receive channel messages
509           * +d - debug        - See debugging notices
510 <         * +f - full         - See I: line full notices
510 >         * +e - external     - See remote server connection and split notices
511 >         * +F - farconnect   - Remote client connection/quit notices
512 >         * +f - full         - See auth {} block full notices
513           * +G - softcallerid - Server Side Ignore for users not on your channels
514           * +g - callerid     - Server Side Ignore (for privmsgs etc)
515 <         * +i - invisible    - Not shown in NAMES or WHO unless you share a
516 <         *                     a channel
515 >         * +H - hidden       - Hides operator status to other users
516 >         * +i - invisible    - Not shown in NAMES or WHO unless you share a channel
517 >         * +j - rej          - See rejected client notices
518           * +k - skill        - See server generated KILL messages
519           * +l - locops       - See LOCOPS messages
520           * +n - nchange      - See client nick changes
521 <         * +r - rej          - See rejected client notices
521 >         * +p - hidechans    - Hides channel list in WHOIS
522 >         * +q - hideidle     - Hides idle and signon time in WHOIS
523 >         * +R - nononreg     - Only receive private messages from registered clients
524           * +s - servnotice   - See general server notices
525           * +u - unauth       - See unauthorized client notices
526           * +w - wallop       - See server generated WALLOPS
407         * +x - external     - See remote server connection and split notices
527           * +y - spy          - See LINKS, STATS, TRACE notices etc.
409         * +z - operwall     - See oper generated WALLOPS
528           */
529 < #       umodes = locops, servnotice, operwall, wallop;
529 >        umodes = locops, servnotice, wallop;
530  
531          /*
532 <         * privileges: controls the activities and commands an oper is
533 <         * allowed to do on the server.  All options default to no.
534 <         * Available options:
535 <         *
536 <         * global_kill:  allows remote users to be /KILL'd (OLD 'O' flag)
537 <         * remote:       allows remote SQUIT and CONNECT   (OLD 'R' flag)
538 <         * remoteban:    allows remote KLINE/UNKLINE
539 <         * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
540 <         * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
541 <         * gline:        allows GLINE                      (OLD 'G' flag)
542 <         * xline:         allows XLINE                     (OLD 'X' flag)
543 <         * operwall:     allows OPERWALL
544 <         * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
545 <         *               via usermode +n
546 <         * rehash:       allows oper to REHASH config      (OLD 'H' flag)
547 <         * die:          allows DIE and RESTART            (OLD 'D' flag)
548 <         * admin:        gives admin privileges.  admins
549 <         *               may (un)load modules and see the
550 <         *               real IPs of servers.
551 <         * hidden_admin: same as 'admin', but noone can recognize you as
552 <         *               being an admin
553 <         * hidden_oper:  not shown in /stats p (except for other operators)
554 <         */
555 <        /* You can either use
556 <         * die = yes;
557 <         * rehash = yes;
558 <         *
441 <         * or in a flags statement i.e.
442 <         * flags = die, rehash;
443 <         *
444 <         * You can also negate a flag with ~ i.e.
445 <         * flags = ~remote;
446 <         *
532 >         * flags: controls the activities and commands an oper is
533 >         * allowed to do on the server. All flags default to 'no'.
534 >         * Available flags:
535 >         *
536 >         * admin          - gives administrator privileges    | ('A' flag)
537 >         * connect        - allows local CONNECT              | ('P' flag)
538 >         * connect:remote - allows remote CONNECT             | ('Q' flag)
539 >         * die            - allows DIE                        | ('D' flag)
540 >         * dline          - allows DLINE                      |
541 >         * globops        - allows GLOBOPS                    |
542 >         * kill           - allows to KILL local clients      | ('N' flag)
543 >         * kill:remote    - allows remote users to be /KILL'd | ('O' flag)
544 >         * kline          - allows KLINE                      | ('K' flag)
545 >         * locops         - allows LOCOPS                     |
546 >         * module         - allows MODULE                     |
547 >         * opme           - allows OPME                       |
548 >         * rehash         - allows oper to REHASH config      | ('H' flag)
549 >         * remoteban      - allows remote KLINE/UNKLINE       | ('B' flag)
550 >         * restart        - allows RESTART                    |
551 >         * set            - allows SET                        |
552 >         * squit          - allows local SQUIT                | ('R' flag)
553 >         * squit:remote   - allows remote SQUIT               | ('S' flag)
554 >         * undline        - allows UNDLINE                    |
555 >         * unkline        - allows UNKLINE                    | ('U' flag)
556 >         * unxline        - allows UNXLINE                    |
557 >         * wallops        - allows WALLOPS                    |
558 >         * xline          - allows XLINE                      | ('X' flag)
559           */
560 <        flags = global_kill, remote, kline, unkline, xline,
561 <                die, rehash, nick_changes, admin, operwall;
560 >        flags = admin, connect, connect:remote, die, globops, kill, kill:remote,
561 >                kline, module, rehash, restart, set, unkline, unxline, xline;
562   };
563  
564   /*
565 < * connect {}:  controls servers we connect to (OLD C:, N:, H:, L:)
565 > * connect {}: define a server to connect to
566   */
567   connect {
568 <        /* name: the name of the server */
568 >        /* name: the name of the server. */
569          name = "irc.uplink.com";
570  
571          /*
572 <         * host: the host or IP to connect to.  If a hostname is used it
573 <         * must match the reverse dns of the server.
572 >         * host: the host or IP address to connect to. If a hostname is used it
573 >         * must match the reverse DNS of the server.
574           */
575          host = "192.168.0.1";
576  
577          /*
578 <         * vhost: the IP to bind to when we connect outward to servers.
578 >         * vhost: the IP address to bind to when making outgoing connections to
579 >         * servers.
580           * serverinfo::vhost and serverinfo::vhost6 will be overridden
581           * by this directive.
582           */
583          vhost = "192.168.0.2";
584  
585          /*
586 <         * passwords: the passwords we send (OLD C:) and accept (OLD N:).
587 <         * The remote server will have these passwords reversed.
586 >         * send_password, accept_password: the passwords to send and accept.
587 >         * The remote server will have these passwords swapped.
588           */
589          send_password = "password";
590          accept_password = "anotherpassword";
591  
592          /*
593           * encrypted: controls whether the accept_password above has been
594 <         * encrypted.  (OLD CRYPT_LINK_PASSWORD now optional per connect)
594 >         * encrypted.
595           */
596          encrypted = no;
597  
598 <        /* port: the port to connect to this server on */
598 >        /* port: the port to connect to this server on. */
599          port = 6666;
600  
601          /*
602 <         * hub_mask: the mask of servers that this server may hub.  Multiple
603 <         * entries are permitted
602 >         * hub_mask: the mask of servers that this server may hub. Multiple
603 >         * entries are permitted.
604           */
605          hub_mask = "*";
606  
607          /*
608 <         * leaf_mask: the mask of servers this server may not hub.  Multiple
609 <         * entries are permitted.  Useful for forbidding EU -> US -> EU routes.
608 >         * leaf_mask: the mask of servers this server may not hub. Multiple
609 >         * entries are permitted. Useful for forbidding EU -> US -> EU routes.
610           */
611   #       leaf_mask = "*.uk";
612  
613 <        /* fakename: the servername we pretend to be when we connect */
501 < #       fakename = "*.arpa";
502 <
503 <        /* class: the class this server is in */
613 >        /* class: the class this server is in. */
614          class = "server";
615  
616          /*
617 <         * autoconn:    controls whether we autoconnect to this server or not,
618 <         *              dependent on class limits.  By default, this is disabled.
619 <         * compressed:  controls whether traffic is compressed via ziplinks.
620 <         *              By default, this is disabled
621 <         * cryptlink:   enable full encryption for all data passing between our
622 <         *              server and this link and rsa authentication.
623 <         * burst_away:  This will send the /away string that users have set
624 <         *              on the server burst.  Note this can be a lot of data
515 <         *              and slow down your server burst.
516 <         * topicburst:  Send topics to this server during channel burst.  Works
517 <         *              only if the server we are connecting to is capable
518 <         *              of TBURST/TB.
617 >         * ssl_cipher_list: list of ciphers that the server we are connecting to
618 >         * must support. If the server is not capable of using any of the ciphers
619 >         * listed below, the connection will simply be rejected.
620 >         * Can be used to enforce stronger ciphers, even though this option
621 >         * is not necessarily required to establish a SSL/TLS connection.
622 >         *
623 >         * Multiple ciphers are separated by colons. The order of preference
624 >         * is from left to right.
625           */
626 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
521 < };
522 <
523 < connect {
524 <        name = "encrypted.auth.example";
525 <        host = "some.host.somewhere";
526 <        port = 6667;
527 <
528 <        flags = cryptlink;
626 > #       ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
627  
628          /*
629 <         * rsa_public_key_file: the path to the public keyfile of the server.
630 <         * Used instead of passwords.
629 >         * ssl_certificate_fingerprint: enhances security by additionally checking
630 >         * the server's client certificate fingerprint against the specified
631 >         * fingerprint below.
632           */
633 <        rsa_public_key_file = "etc/remote.server.keyfile";
633 > #       ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
634  
635          /*
636 <         * cipher preference: set the preferred cipher for this link
637 <         *
638 <         * Available ciphers are:
540 <         *      BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128
541 <         *      RC5.12/128 RC5.8/128 3DES/168 DES/56
542 <         *
543 <         * NOTE:  Some ciphers may not be supported by your OpenSSL.
544 <         *        Check the output from 'configure' for available ciphers.
545 <         *
546 <         * NOTE2: To help you decide what cipher to use, tools/encspeed
547 <         *        will show you approximately how fast each cipher is.
548 <         *        However, blowfish is fast and secure, and is probably
549 <         *        a good default for most situations.
550 <         *
551 <         * NOTE3: Default if none is set is BF/128
552 <         *
553 <         * The cipher *MUST* be the same in both directions.  If you
554 <         * set a cipher preference, your uplink must set the same cipher,
555 <         * else it will not link.
636 >         * autoconn   - controls whether we autoconnect to this server or not,
637 >         *              dependent on class limits. By default, this is disabled.
638 >         * ssl        - Initiates a TLS/SSL connection.
639           */
640 < #       cipher_preference = "BF/168";
640 > #       flags = autoconn, ssl;
641   };
642  
643 < /*
644 < * NOTE: Don't add an extra 'name=' entry if you use
562 < * the connect "name"{} feature
563 < */
564 < connect "ipv6.some.server" {
643 > connect {
644 >        name = "ipv6.some.server";
645          host = "3ffd:dead:beef::1";
646          send_password = "password";
647          accept_password = "password";
# Line 577 | Line 657 | connect "ipv6.some.server" {
657  
658   /*
659   * cluster {}:  servers that share klines/unkline/xline/unxline/resv/unresv/locops
660 < * automatically (OLD hyb6 SLAVE_SERVERS)
660 > * automatically
661   */
662   cluster {
663          /*
664 <         * name: the server to share with, this can take wildcards
664 >         * name: the server to share with; this can take wildcards
665           *
666 <         * NOTE: only local actions will be clustered, meaning if
666 >         * NOTE: only local actions will be clustered, meaning that if
667           *       the server receives a shared kline/unkline/etc, it
668           *       will not be propagated to clustered servers.
669           *
670           *       Remote servers are not necessarily required to accept
671 <         *       clustered lines, they need a shared{} for *THIS* server
672 <         *       in order to accept them.
671 >         *       clustered lines, they need a shared {} block for *THIS*
672 >         *       server in order to accept them.
673           */
674          name = "*.arpa";
675  
676          /*
677 <         * type: list of what to share, options are as follows:
678 <         *      kline   - share klines
679 <         *      tkline  - share temporary klines
680 <         *      unkline - share unklines
681 <         *      xline   - share xlines
682 <         *      txline  - share temporary xlines
683 <         *      unxline - share unxlines
684 <         *      resv    - share resvs
685 <         *      tresv   - share temporary resvs
686 <         *      unresv  - share unresvs
687 <         *      locops  - share locops
608 <         *      all     - share all of the above (default)
677 >         * type: list of what to share; options are as follows:
678 >         *      dline   - share dlines
679 >         *      undline - share undlines
680 >         *      kline   - share klines
681 >         *      unkline - share unklines
682 >         *      xline   - share xlines
683 >         *      unxline - share unxlines
684 >         *      resv    - share resvs
685 >         *      unresv  - share unresvs
686 >         *      locops  - share locops
687 >         *      all     - share all of the above (default)
688           */
689          type = kline, unkline, locops, xline, resv;
690   };
691  
692   /*
693 < * shared {}: users that are allowed to remote kline (OLD U:)
693 > * shared {}: users that are allowed to remote kline
694   *
695 < * NOTE: This can be effectively used for remote klines.
695 > * NOTE: This can effectively be used for remote klines.
696   *       Please note that there is no password authentication
697 < *       for users setting remote klines.  You must also be
697 > *       for users setting remote klines. You must also be
698   *       /oper'd in order to issue a remote kline.
699   */
700   shared {
701          /*
702 <         * name: the server the user must be on to set klines.  If this is not
703 <         * specified, the user will be allowed to kline from all servers.
702 >         * name: the server the user must be connected to in order to set klines.
703 >         * If this is not specified, the user will be allowed to kline from all
704 >         * servers.
705           */
706          name = "irc2.some.server";
707  
708          /*
709 <         * user: the user@host mask that is allowed to set klines.  If this is
709 >         * user: the user@host mask that is allowed to set klines. If this is
710           * not specified, all users on the server above will be allowed to set
711           * a remote kline.
712           */
# Line 634 | Line 714 | shared {
714  
715          /*
716           * type: list of what to share, options are as follows:
717 <         *      kline   - allow oper/server to kline
718 <         *      tkline  - allow temporary klines
719 <         *      unkline - allow oper/server to unkline
720 <         *      xline   - allow oper/server to xline
721 <         *      txline  - allow temporary xlines
722 <         *      unxline - allow oper/server to unxline
723 <         *      resv    - allow oper/server to resv
724 <         *      tresv   - allow temporary resvs
645 <         *      unresv  - allow oper/server to unresv
717 >         *      dline   - allow oper/server to dline
718 >         *      undline - allow oper/server to undline
719 >         *      kline   - allow oper/server to kline
720 >         *      unkline - allow oper/server to unkline
721 >         *      xline   - allow oper/server to xline
722 >         *      unxline - allow oper/server to unxline
723 >         *      resv    - allow oper/server to resv
724 >         *      unresv  - allow oper/server to unresv
725           *      locops  - allow oper/server to locops - only used for servers that cluster
726 <         *      all     - allow oper/server to do all of the above (default)
726 >         *      all     - allow oper/server to do all of the above (default)
727           */
728          type = kline, unkline, resv;
729   };
730  
731   /*
732 < * kill {}:  users that are not allowed to connect (OLD K:)
733 < * Oper issued klines will be added to the specified kline config
732 > * kill {}:  users that are not allowed to connect
733 > * Oper issued klines will be added to the specified kline database
734   */
735   kill {
736          user = "bad@*.hacked.edu";
737          reason = "Obviously hacked account";
738   };
739  
661 kill {
662        user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.org$";
663        type = regex;
664 };
665
740   /*
741 < * deny {}:  IPs that are not allowed to connect (before DNS/ident lookup)
742 < * Oper issued dlines will be added to the specified dline config
741 > * deny {}:  IP addresses that are not allowed to connect
742 > * (before DNS/ident lookup)
743 > * Oper issued dlines will be added to the specified dline database
744   */
745   deny {
746          ip = "10.0.1.0/24";
# Line 673 | Line 748 | deny {
748   };
749  
750   /*
751 < * exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:)
751 > * exempt {}:  IP addresses that are exempt from deny {} and Dlines
752   */
753   exempt {
754          ip = "192.168.0.0/16";
755   };
756  
757   /*
758 < * resv {}:  nicks and channels users may not use/join (OLD Q:)
758 > * resv {}:  nicks and channels users may not use/join
759   */
760 < resv {
761 <        /* reason: the reason for the proceeding resv's */
762 <        reason = "There are no services on this network";
760 > resv { mask = "clone*"; reason = "Clone bots"; };
761 > resv { mask = "Global"; reason = "Reserved for services"; };
762 > resv { mask = "ChanServ"; reason = "Reserved for services"; };
763 > resv { mask = "NickServ"; reason = "Reserved for services"; };
764 > resv { mask = "OperServ"; reason = "Reserved for services"; };
765 > resv { mask = "MemoServ"; reason = "Reserved for services"; };
766 > resv { mask = "BotServ"; reason = "Reserved for services"; };
767 > resv { mask = "HelpServ"; reason = "Reserved for services"; };
768 > resv { mask = "HostServ"; reason = "Reserved for services"; };
769 > resv { mask = "StatServ"; reason = "Reserved for services"; };
770 > resv { mask = "#*services*"; reason = "Reserved for services"; };
771  
772 <        /* resv: the nicks and channels users may not join/use */
773 <        nick = "nickserv";
774 <        nick = "chanserv";
775 <        channel = "#services";
772 > resv {
773 >        /*
774 >         * mask: masks starting with a '#' are automatically considered
775 >         * as channel name masks.
776 >         */
777 >        mask = "#helsinki";
778 >        reason = "Channel is reserved for Finnish inhabitants";
779  
780 <        /* resv: wildcard masks are also supported in nicks only */
781 <        reason = "Clone bots";
782 <        nick = "clone*";
780 >        /*
781 >         * exempt: can be either a ISO 3166 alpha-2 two letter country
782 >         * code, or a nick!user@host mask. CIDR is supported. Exempt
783 >         * entries can be stacked.
784 >         */
785 >        exempt = "FI";
786   };
787  
788   /*
789 < * gecos {}:  The X: replacement, used for banning users based on
701 < * their "realname".
789 > * gecos {}:  used for banning users based on their "realname".
790   */
791   gecos {
792          name = "*sex*";
# Line 710 | Line 798 | gecos {
798          reason = "Trojan drone";
799   };
800  
801 < gecos {
802 <        name = "*http*";
803 <        reason = "Spambot";
801 > /*
802 > * service {}: specifies a server which may act as a network service
803 > *
804 > * NOTE: it is very important that every server on the network
805 > *       has the same service {} block.
806 > */
807 > service {
808 >        name = "service.someserver";
809 >        name = "stats.someserver";
810   };
811  
812 < gecos {
813 <        name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$";
814 <        type = regex;
812 > /*
813 > * pseudo {}: adds pseudo/custom commands also known as service aliases
814 > */
815 > pseudo {
816 >        /* command: the actual command/alias. */
817 >        command = "IDENTIFY";
818 >
819 >        /* prepend: optional text that can be prepended before the user's message. */
820 >        prepend = "IDENTIFY ";
821 >
822 >        /* name: the service name, used for error messages. */
823 >        name = "NickServ";
824 >
825 >        /* target: the actual target where this message should be sent to. */
826 >        target = "NickServ@service.someserver";
827 > };
828 >
829 > pseudo {
830 >        command = "CHANSERV";
831 >        name = "ChanServ";
832 >        target = "ChanServ@service.someserver";
833 > };
834 >
835 > pseudo {
836 >        command = "CS";
837 >        name = "ChanServ";
838 >        target = "ChanServ@service.someserver";
839 > };
840 >
841 > pseudo {
842 >        command = "NICKSERV";
843 >        name = "NickServ";
844 >        target = "NickServ@service.someserver";
845 > };
846 >
847 > pseudo {
848 >        command = "NS";
849 >        name = "NickServ";
850 >        target = "NickServ@service.someserver";
851 > };
852 >
853 > pseudo {
854 >        command = "MEMOSERV";
855 >        name = "MemoServ";
856 >        target = "MemoServ@service.someserver";
857 > };
858 >
859 > pseudo {
860 >        command = "MS";
861 >        name = "MemoServ";
862 >        target = "MemoServ@service.someserver";
863 > };
864 >
865 > pseudo {
866 >        command = "OPERSERV";
867 >        name = "OperServ";
868 >        target = "OperServ@service.someserver";
869 > };
870 >
871 > pseudo {
872 >        command = "OS";
873 >        name = "OperServ";
874 >        target = "OperServ@service.someserver";
875 > };
876 >
877 > pseudo {
878 >        command = "HOSTSERV";
879 >        name = "HostServ";
880 >        target = "HostServ@service.someserver";
881 > };
882 >
883 > pseudo {
884 >        command = "HS";
885 >        name = "HostServ";
886 >        target = "HostServ@service.someserver";
887 > };
888 >
889 > pseudo {
890 >        command = "BOTSERV";
891 >        name = "BotServ";
892 >        target = "BotServ@service.someserver";
893 > };
894 >
895 > pseudo {
896 >        command = "BS";
897 >        name = "BotServ";
898 >        target = "BotServ@service.someserver";
899   };
900  
901   /*
902 < * channel {}:  The channel block contains options pertaining to channels
902 > * channel {}:  the channel block contains options pertaining to channels
903   */
904   channel {
905          /*
906           * disable_fake_channels: this option, if set to 'yes', will
907 <         * disallow clients to create or join channels that have one
907 >         * disallow clients from creating or joining channels that have one
908           * of the following ASCII characters in their name:
909           *
910           *   2 | bold
911           *   3 | mirc color
912 <         *  15 | plain text
912 >         *  15 | plain text
913           *  22 | reverse
914 +         *  29 | italic
915           *  31 | underline
916           * 160 | non-breaking space
917           */
918          disable_fake_channels = yes;
919  
920          /*
921 <         * restrict_channels: reverse channel RESVs logic, only reserved
922 <         * channels are allowed
921 >         * invite_client_count, invite_client_time: how many INVITE commands
922 >         * are permitted per client per invite_client_time.
923           */
924 <        restrict_channels = no;
924 >        invite_client_count = 10;
925 >        invite_client_time = 5 minutes;
926  
927          /*
928 <         * disable_local_channels: prevent users from joining &channels.
928 >         * knock_client_count, knock_client_time: how many KNOCK commands
929 >         * are permitted per client per knock_client_time.
930           */
931 <        disable_local_channels = no;
931 >        knock_client_count = 1;
932 >        knock_client_time = 5 minutes;
933  
934          /*
935 <         * use_invex: Enable/disable channel mode +I, a n!u@h list of masks
936 <         * that can join a +i channel without an invite.
755 <         */
756 <        use_invex = yes;
757 <
758 <        /*
759 <         * use_except: Enable/disable channel mode +e, a n!u@h list of masks
760 <         * that can join a channel through a ban (+b).
761 <         */
762 <        use_except = yes;
763 <
764 <        /*
765 <         * use_knock: Allows users to request an invite to a channel that
766 <         * is locked somehow (+ikl).  If the channel is +p or you are banned
767 <         * the knock will not be sent.
768 <         */
769 <        use_knock = yes;
770 <
771 <        /*
772 <         * knock_delay: The amount of time a user must wait between issuing
773 <         * the knock command.
774 <         */
775 <        knock_delay = 1 minutes;
776 <
777 <        /*
778 <         * knock_delay_channel: How often a knock to any specific channel
779 <         * is permitted, regardless of the user sending the knock.
935 >         * knock_delay_channel: how often a KNOCK to any specific channel
936 >         * is permitted, regardless of the user sending the KNOCK.
937           */
938          knock_delay_channel = 1 minute;
939  
940          /*
941 <         * burst_topicwho: enable sending of who set topic on topicburst
942 <         * default is yes
941 >         * max_channels: the maximum number of channels a user can join/be on.
942 >         * This is a default value which can be overriden with class {} blocks.
943           */
944 <        burst_topicwho = yes;
944 >        max_channels = 25;
945  
946 <        /*
947 <         * max_chans_per_user: The maximum number of channels a user can
791 <         * join/be on.
792 <         */
793 <        max_chans_per_user = 25;
794 <
795 <        /* quiet_on_ban: stop banned people talking in channels. */
796 <        quiet_on_ban = yes;
797 <
798 <        /* max_bans: maximum number of +b/e/I modes in a channel */
799 <        max_bans = 25;
946 >        /* max_bans: maximum number of +b/e/I modes in a channel. */
947 >        max_bans = 100;
948  
949          /*
950 <         * how many joins in how many seconds constitute a flood, use 0 to
951 <         * disable. +b opers will be notified (changeable via /set)
950 >         * default_join_flood_count, default_join_flood_time:
951 >         * how many joins in how many seconds constitute a flood. Use 0 to disable.
952 >         * +b opers will be notified. These are only default values which can be
953 >         * changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME".
954           */
955 <        join_flood_count = 16;
956 <        join_flood_time = 8 seconds;
955 >        default_join_flood_count = 18;
956 >        default_join_flood_time = 6 seconds;
957  
958          /*
959 <         * splitcode: The ircd will now check splitmode every few seconds.
959 >         * The ircd will now check splitmode (whether a server is split from
960 >         * the network) every few seconds; this functionality is known as
961 >         * splitcode and is influenced by the options below.
962           *
963           * Either split users or split servers can activate splitmode, but
964           * both conditions must be met for the ircd to deactivate splitmode.
965 <         *
966 <         * You may force splitmode to be permanent by /quote set splitmode on
965 >         *
966 >         * You may force splitmode to be permanent by /quote set splitmode on.
967           */
968  
969          /*
970           * default_split_user_count: when the usercount is lower than this level,
971 <         * consider ourselves split.  This must be set for automatic splitmode.
971 >         * consider ourselves split. This must be set for automatic splitmode.
972           */
973          default_split_user_count = 0;
974  
975          /*
976           * default_split_server_count: when the servercount is lower than this,
977 <         * consider ourselves split.  This must be set for automatic splitmode.
977 >         * consider ourselves split. This must be set for automatic splitmode.
978           */
979          default_split_server_count = 0;
980  
981 <        /* split no create: disallow users creating channels on split. */
981 >        /* no_create_on_split: do not allow users to create channels on split. */
982          no_create_on_split = yes;
983  
984 <        /* split: no join: disallow users joining channels at all on a split */
984 >        /* no_join_on_split: do not allow users to join channels on a split. */
985          no_join_on_split = no;
986   };
987  
988   /*
989 < * serverhide {}:  The serverhide block contains the options regarding
990 < * serverhiding
989 > * serverhide {}:  the serverhide block contains the options regarding
990 > * to server hiding. For more information regarding server hiding,
991 > * please see doc/serverhide.txt
992   */
993   serverhide {
994          /*
995 +         * disable_remote_commands: disable users issuing commands
996 +         * on remote servers.
997 +         */
998 +        disable_remote_commands = no;
999 +
1000 +        /*
1001           * flatten_links: this option will show all servers in /links appear
1002 <         * that they are linked to this current server
1002 >         * as though they are linked to this current server.
1003           */
1004          flatten_links = no;
1005  
# Line 852 | Line 1011 | serverhide {
1011  
1012          /*
1013           * hidden: hide this server from a /links output on servers that
1014 <         * support it.  This allows hub servers to be hidden etc.
1014 >         * support it. This allows hub servers to be hidden etc.
1015           */
1016          hidden = no;
1017  
1018          /*
860         * disable_hidden: prevent servers hiding themselves from a
861         * /links output.
862         */
863        disable_hidden = no;
864
865        /*
1019           * hide_servers: hide remote servernames everywhere and instead use
1020           * hidden_name and network_desc.
1021           */
1022          hide_servers = no;
1023  
1024          /*
1025 <         * Use this as the servername users see if hide_servers = yes.
1025 >         * hide_services: define this if you want to hide the location of
1026 >         * services servers that are specified in the service {} block.
1027 >         */
1028 >        hide_services = no;
1029 >
1030 >        /*
1031 >         * hidden_name: use this as the servername users see if hide_servers = yes.
1032           */
1033          hidden_name = "*.hidden.com";
1034  
1035          /*
1036 <         * hide_server_ips: If this is disabled, opers will be unable to see servers
1037 <         * ips and will be shown a masked ip, admins will be shown the real ip.
1038 <         *
1039 <         * If this is enabled, nobody can see a servers ip.  *This is a kludge*, it
1040 <         * has the side effect of hiding the ips everywhere, including logfiles.
1036 >         * hide_server_ips: if this is disabled, opers will be unable to see
1037 >         * servers' IP addresses and will be shown a masked IP address; admins
1038 >         * will be shown the real IP address.
1039 >         *
1040 >         * If this is enabled, nobody can see a server's IP address.
1041 >         * *This is a kludge*: it has the side effect of hiding the IP addresses
1042 >         * everywhere, including logfiles.
1043           *
1044           * We recommend you leave this disabled, and just take care with who you
1045 <         * give admin=yes; to.
1045 >         * give administrator privileges to.
1046           */
1047          hide_server_ips = no;
1048   };
1049  
1050   /*
1051 < * general {}:  The general block contains many of the options that were once
1052 < * compiled in options in config.h.  The general block is read at start time.
1051 > * general {}:  the general block contains many of the options that were once
1052 > * compiled in options in config.h
1053   */
1054   general {
894        /* max_watch: maximum WATCH entries */
895        max_watch = 64;
896
1055          /*
1056 <         * gline_min_cidr: the minimum required length of a CIDR bitmask
1057 <         * for IPv4 based glines
1056 >         * cycle_on_host_change: sends a fake QUIT/JOIN combination
1057 >         * when services change the hostname of a specific client.
1058           */
1059 <        gline_min_cidr = 16;
1059 >        cycle_on_host_change = yes;
1060 >
1061 >        /* max_watch: maximum WATCH entries a client can have. */
1062 >        max_watch = 30;
1063 >
1064 >        /* max_accept: maximum allowed /accept's for +g usermode. */
1065 >        max_accept = 30;
1066  
1067          /*
1068 <         * gline_min_cidr6: the minimum required length of a CIDR bitmask
1069 <         * for IPv6 based glines
1068 >         * dline_min_cidr: the minimum required length of a CIDR bitmask
1069 >         * for IPv4 based D-lines.
1070           */
1071 <        gline_min_cidr6 = 48;
1071 >        dline_min_cidr = 16;
1072  
1073          /*
1074 <         * Whether to automatically set mode +i on connecting users.
1074 >         * dline_min_cidr6: the minimum required length of a CIDR bitmask
1075 >         * for IPv6 based D-lines.
1076           */
1077 <        invisible_on_connect = yes;
1077 >        dline_min_cidr6 = 48;
1078  
1079          /*
1080 <         * If you don't explicitly specify burst_away in your connect blocks, then
1081 <         * they will default to the burst_away value below.
1080 >         * kline_min_cidr: the minimum required length of a CIDR bitmask
1081 >         * for IPv4 based K-lines.
1082           */
1083 <        burst_away = no;
1083 >        kline_min_cidr = 16;
1084  
1085          /*
1086 <         * Show "actually using host <ip>" on /whois when possible.
1086 >         * kline_min_cidr6: the minimum required length of a CIDR bitmask
1087 >         * for IPv6 based K-lines.
1088           */
1089 <        use_whois_actually = yes;
1089 >        kline_min_cidr6 = 48;
1090  
1091          /*
1092 <         * Max time from the nickname change that still causes KILL
1093 <         * automatically to switch for the current nick of that user. (seconds)
1092 >         * invisible_on_connect: whether to automatically set mode +i on
1093 >         * connecting users.
1094           */
1095 <        kill_chase_time_limit = 90;
1095 >        invisible_on_connect = yes;
1096  
1097          /*
1098 <         * If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed
1099 <         * users in /trace etc.  If this is defined they will be shown a masked IP.
1098 >         * kill_chase_time_limit: KILL chasing is a feature whereby a KILL
1099 >         * issued for a user who has recently changed nickname will be applied
1100 >         * automatically to the new nick. kill_chase_time_limit is the maximum
1101 >         * time following a nickname change that this chasing will apply.
1102           */
1103 <        hide_spoof_ips = yes;
1103 >        kill_chase_time_limit = 30 seconds;
1104  
1105          /*
1106 <         * Ignore bogus timestamps from other servers.  Yes, this will desync
1107 <         * the network, but it will allow chanops to resync with a valid non TS 0
1106 >         * ignore_bogus_ts: ignore bogus timestamps from other servers.
1107 >         * Yes, this will desync the network, but it will allow chanops
1108 >         * to resync with a valid non TS 0.
1109           *
1110           * This should be enabled network wide, or not at all.
1111           */
# Line 944 | Line 1113 | general {
1113  
1114          /*
1115           * disable_auth: completely disable ident lookups; if you enable this,
1116 <         * be careful of what you set need_ident to in your auth {} blocks
1116 >         * be careful of what you set need_ident to in your auth {} blocks.
1117           */
1118          disable_auth = no;
1119  
951        /* disable_remote_commands: disable users doing commands on remote servers */
952        disable_remote_commands = no;
953
1120          /*
1121           * tkline_expire_notices: enables or disables temporary kline/xline
1122           * expire notices.
# Line 959 | Line 1125 | general {
1125  
1126          /*
1127           * default_floodcount: the default value of floodcount that is configurable
1128 <         * via /quote set floodcount.  This is the amount of lines a user
1129 <         * may send to any other user/channel in one second.
1128 >         * via /quote set floodcount. This is the number of lines a user may send
1129 >         * to any other user/channel in one second. Set to 0 to disable.
1130           */
1131          default_floodcount = 10;
1132  
1133          /*
1134 <         * failed_oper_notice: send a notice to all opers on the server when
1134 >         * failed_oper_notice: send a notice to all opers on the server when
1135           * someone tries to OPER and uses the wrong password, host or ident.
1136           */
1137          failed_oper_notice = yes;
1138  
1139          /*
1140 <         * dots_in_ident: the amount of '.' characters permitted in an ident
1140 >         * dots_in_ident: the number of '.' characters permitted in an ident
1141           * reply before the user is rejected.
1142           */
1143          dots_in_ident = 2;
1144  
1145          /*
1146 <         * dot_in_ip6_addr: ircd-hybrid-6.0 and earlier will disallow hosts
1147 <         * without a '.' in them.  This will add one to the end.  Only needed
1148 <         * for older servers.
1149 <         */
984 <        dot_in_ip6_addr = no;
985 <
986 <        /*
987 <         * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
988 <         * placed via the server.  klines hand placed are exempt from limits.
989 <         * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
1146 >         * min_nonwildcard: the minimum number of non-wildcard characters in
1147 >         * k/d lines placed via the server. K-lines hand-placed are exempt from
1148 >         * this limit.
1149 >         * Wildcard characters: '.', ':', '*', '?'
1150           */
1151          min_nonwildcard = 4;
1152  
1153          /*
1154 <         * min_nonwildcard_simple: the minimum non wildcard characters in
1155 <         * gecos bans.  wildcard chars: '*' '?' '#'
1154 >         * min_nonwildcard_simple: the minimum number of non-wildcard characters
1155 >         * in gecos bans. Wildcard characters: '*', '?'
1156           */
1157          min_nonwildcard_simple = 3;
1158  
1159 <        /* max_accept: maximum allowed /accept's for +g usermode */
1000 <        max_accept = 20;
1001 <
1002 <        /* anti_nick_flood: enable the nickflood control code */
1159 >        /* anti_nick_flood: enable the nickflood control code. */
1160          anti_nick_flood = yes;
1161  
1005        /* nick flood: the nick changes allowed in the specified period */
1006        max_nick_time = 20 seconds;
1007        max_nick_changes = 5;
1008
1162          /*
1163 <         * anti_spam_exit_message_time: the minimum time a user must be connected
1164 <         * before custom quit messages are allowed.
1163 >         * max_nick_changes, max_nick_time: the number of nick changes allowed in
1164 >         * the specified period.
1165           */
1166 <        anti_spam_exit_message_time = 5 minutes;
1167 <
1015 <        /*
1016 <         * ts delta: the time delta allowed between server clocks before
1017 <         * a warning is given, or before the link is dropped.  all servers
1018 <         * should run ntpdate/rdate to keep clocks in sync
1019 <         */
1020 <        ts_warn_delta = 30 seconds;
1021 <        ts_max_delta = 5 minutes;
1166 >        max_nick_changes = 5;
1167 >        max_nick_time = 20 seconds;
1168  
1169          /*
1170 <         * kline_with_reason: show the user the reason why they are k/d/glined
1171 <         * on exit.  May give away who set k/dline when set via tcm.
1170 >         * away_count, away_time: how many AWAY command are permitted per
1171 >         * client per away_time.
1172           */
1173 <        kline_with_reason = yes;
1173 >        away_count = 2;
1174 >        away_time = 10 seconds;
1175  
1176          /*
1177 <         * kline_reason: show this message to users on channel
1178 <         * instead of the oper reason.
1177 >         * anti_spam_exit_message_time: the minimum time a user must be connected
1178 >         * before custom quit messages are allowed.
1179           */
1180 <        kline_reason = "Connection closed";
1180 >        anti_spam_exit_message_time = 5 minutes;
1181  
1182          /*
1183 <         * reject_hold_time: wait this amount of time before disconnecting
1184 <         * a rejected client. Use 0 to disable.
1183 >         * ts_warn_delta, ts_max_delta: the time delta allowed between server
1184 >         * clocks before a warning is given, or before the link is dropped.
1185 >         * All servers should run ntpdate/rdate to keep clocks in sync.
1186           */
1187 <        reject_hold_time = 0;
1187 >        ts_warn_delta = 3 seconds;
1188 >        ts_max_delta = 15 seconds;
1189  
1190          /*
1191 <         * warn_no_nline: warn opers about servers that try to connect but
1192 <         * we don't have a connect {} block for.  Twits with misconfigured
1193 <         * servers can get really annoying with this enabled.
1191 >         * warn_no_connect_block: warn opers about servers that try to connect
1192 >         * but for which we don't have a connect {} block. Twits with
1193 >         * misconfigured servers can become really annoying with this enabled.
1194           */
1195 <        warn_no_nline = yes;
1195 >        warn_no_connect_block = yes;
1196  
1197          /*
1198           * stats_e_disabled: set this to 'yes' to disable "STATS e" for both
1199 <         * operators and administrators.  Doing so is a good idea in case
1200 <         * there are any exempted (exempt{}) server IPs you don't want to
1199 >         * operators and administrators. Doing so is a good idea in case
1200 >         * there are any exempted (exempt {}) server IPs you don't want to
1201           * see leaked.
1202           */
1203          stats_e_disabled = no;
1204  
1205 <        /* stats_o_oper only: make stats o (opers) oper only */
1205 >        /* stats_m_oper_only: make /stats m/M (messages) oper only. */
1206 >        stats_m_oper_only = yes;
1207 >
1208 >        /* stats_o_oper_only: make stats o (opers) oper only. */
1209          stats_o_oper_only = yes;
1210  
1211 <        /* stats_P_oper_only: make stats P (ports) oper only */
1211 >        /* stats_P_oper_only: make stats P (ports) oper only. */
1212          stats_P_oper_only = yes;
1213  
1214 +        /* stats_u_oper_only: make stats u (uptime) oper only. */
1215 +        stats_u_oper_only = no;
1216 +
1217          /*
1218 <         * stats i oper only: make stats i (auth {}) oper only. set to:
1219 <         *     yes:    show users no auth blocks, made oper only.
1220 <         *     masked: show users first matching auth block
1221 <         *     no:     show users all auth blocks.
1218 >         * stats_i_oper_only: make stats i (auth {}) oper only. Set to:
1219 >         *     yes    - show users no auth {} blocks, made oper only
1220 >         *     masked - show users the first matching auth {} block
1221 >         *     no     - show users all auth {} blocks
1222           */
1223          stats_i_oper_only = yes;
1224  
1225          /*
1226 <         * stats_k_oper_only: make stats k/K (klines) oper only.  set to:
1227 <         *     yes:    show users no auth blocks, made oper only
1228 <         *     masked: show users first matching auth block
1229 <         *     no:     show users all auth blocks.
1226 >         * stats_k_oper_only: make stats k/K (klines) oper only. Set to:
1227 >         *     yes    - show users no klines, made oper only
1228 >         *     masked - show users the first matching kline
1229 >         *     no     - show users all klines
1230           */
1231          stats_k_oper_only = yes;
1232  
# Line 1083 | Line 1238 | general {
1238  
1239          /*
1240           * opers_bypass_callerid: allows operators to bypass +g and message
1241 <         * anyone who has it set (useful if you use services).
1241 >         * anyone who has it set.
1242           */
1243          opers_bypass_callerid = no;
1244  
1245          /*
1246 <         * pace_wait_simple: time between use of less intensive commands
1247 <         * (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS)
1246 >         * pace_wait_simple: minimum time required between use of less
1247 >         * intensive commands
1248 >         * (ADMIN, HELP, LUSERS, VERSION, remote WHOIS)
1249           */
1250          pace_wait_simple = 1 second;
1251  
1252          /*
1253 <         * pace_wait: time between more intensive commands
1254 <         * (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1253 >         * pace_wait: minimum time required between use of more intensive commands
1254 >         * (INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS)
1255           */
1256          pace_wait = 10 seconds;
1257  
1258          /*
1259 <         * short_motd: send clients a notice telling them to read the motd
1260 <         * instead of forcing a motd to clients who may simply ignore it.
1259 >         * short_motd: send clients a notice telling them to read the MOTD
1260 >         * instead of forcing an MOTD to clients who may simply ignore it.
1261           */
1262          short_motd = no;
1263  
1264          /*
1265 <         * ping_cookie: require clients to respond exactly to a ping command,
1265 >         * ping_cookie: require clients to respond exactly to a PING command,
1266           * can help block certain types of drones and FTP PASV mode spoofing.
1267           */
1268          ping_cookie = no;
# Line 1114 | Line 1270 | general {
1270          /* no_oper_flood: increase flood limits for opers. */
1271          no_oper_flood = yes;
1272  
1273 <        /*
1118 <         * true_no_oper_flood: completely eliminate flood limits for opers
1119 <         * and for clients with can_flood = yes in their auth {} blocks
1120 <         */
1121 <        true_no_oper_flood = yes;
1122 <
1123 <        /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1273 >        /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */
1274          oper_pass_resv = yes;
1275  
1276          /*
1277 <         * idletime: the maximum amount of time a user may idle before
1278 <         * they are disconnected
1129 <         */
1130 <        idletime = 0;
1131 <
1132 <        /* REMOVE ME.  The following line checks you've been reading. */
1133 <        havent_read_conf = 1;
1134 <
1135 <        /*
1136 <         * max_targets: the maximum amount of targets in a single
1137 <         * PRIVMSG/NOTICE.  Set to 999 NOT 0 for unlimited.
1277 >         * max_targets: the maximum number of targets in a single
1278 >         * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
1279           */
1280          max_targets = 4;
1281  
1282          /*
1142         * client_flood: maximum amount of data in a clients queue before
1143         * they are dropped for flooding.
1144         */
1145        client_flood = 2560 bytes;
1146
1147        /*
1148         * message_locale: the default message locale
1149         * Use "standard" for the compiled in defaults.
1150         * To install the translated messages, go into messages/ in the
1151         * source directory and run `make install'.
1152         */
1153        message_locale = "standard";
1154
1155        /*
1283           * usermodes configurable: a list of usermodes for the options below
1284           *
1285           * +b - bots         - See bot and drone flooding notices
1286           * +c - cconn        - Client connection/quit notices
1287           * +D - deaf         - Don't receive channel messages
1288           * +d - debug        - See debugging notices
1289 <         * +f - full         - See I: line full notices
1289 >         * +e - external     - See remote server connection and split notices
1290 >         * +F - farconnect   - Remote client connection/quit notices
1291 >         * +f - full         - See auth {} block full notices
1292           * +G - softcallerid - Server Side Ignore for users not on your channels
1293           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1294 <         * +i - invisible    - Not shown in NAMES or WHO unless you share a
1295 <         *                     a channel
1294 >         * +H - hidden       - Hides operator status to other users
1295 >         * +i - invisible    - Not shown in NAMES or WHO unless you share a channel
1296 >         * +j - rej          - See rejected client notices
1297           * +k - skill        - See server generated KILL messages
1298           * +l - locops       - See LOCOPS messages
1299           * +n - nchange      - See client nick changes
1300 <         * +r - rej          - See rejected client notices
1300 >         * +p - hidechans    - Hides channel list in WHOIS
1301 >         * +q - hideidle     - Hides idle and signon time in WHOIS
1302 >         * +R - nononreg     - Only receive private messages from registered clients
1303           * +s - servnotice   - See general server notices
1304           * +u - unauth       - See unauthorized client notices
1305           * +w - wallop       - See server generated WALLOPS
1174         * +x - external     - See remote server connection and split notices
1306           * +y - spy          - See LINKS, STATS, TRACE notices etc.
1176         * +z - operwall     - See oper generated WALLOPS
1177         */
1178
1179        /* oper_only_umodes: usermodes only opers may set */
1180        oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
1181                           nchange, rej, spy, external, operwall,
1182                           locops, unauth;
1183
1184        /* oper_umodes: default usermodes opers get when they /oper */
1185        oper_umodes = bots, locops, servnotice, operwall, wallop;
1186
1187        /*
1188         * servlink_path: path to 'servlink' program used by ircd to handle
1189         * encrypted/compressed server <-> server links.
1190         *
1191         * only define if servlink is not in same directory as ircd itself.
1307           */
1193        #servlink_path = "/usr/local/ircd/bin/servlink";
1308  
1309 <        /*
1310 <         * default_cipher_preference: default cipher to use for cryptlink when none is
1311 <         * specified in connect block.
1198 <         */
1199 <        #default_cipher_preference = "BF/168";
1309 >        /* oper_only_umodes: usermodes only operators may set. */
1310 >        oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops,
1311 >                        nchange, rej, skill, spy, unauth;
1312  
1313 <        /*
1314 <         * use_egd: if your system does not have *random devices yet you
1203 <         * want to use OpenSSL and encrypted links, enable this.  Beware -
1204 <         * EGD is *very* CPU intensive when gathering data for its pool
1205 <         */
1206 < #       use_egd = yes;
1313 >        /* oper_umodes: default usermodes operators get when they /oper or /challenge. */
1314 >        oper_umodes = bots, locops, servnotice, wallop;
1315  
1316          /*
1317 <         * egdpool_path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1318 <         * which automatically finds the path.
1317 >         * throttle_count: the maximum number of connections from the same
1318 >         * IP address allowed in throttle_time duration.
1319           */
1320 < #       egdpool_path = "/var/run/egd-pool";
1213 <
1320 >        throttle_count = 1;
1321  
1322          /*
1323 <         * compression_level: level of compression for compressed links between
1324 <         * servers.  
1325 <         *
1326 <         * values are between: 1 (least compression, fastest)
1220 <         *                and: 9 (most compression, slowest).
1221 <         */
1222 < #       compression_level = 6;
1223 <
1224 <        /*
1225 <         * throttle_time: the minimum amount of time between connections from
1226 <         * the same ip.  exempt {} blocks are excluded from this throttling.
1227 <         * Offers protection against flooders who reconnect quickly.  
1323 >         * throttle_time: the minimum amount of time required between
1324 >         * connections from the same IP address. exempt {} blocks are
1325 >         * excluded from this throttling.
1326 >         * Offers protection against flooders who reconnect quickly.
1327           * Set to 0 to disable.
1328           */
1329 <        throttle_time = 10;
1329 >        throttle_time = 2 seconds;
1330   };
1331  
1332 < glines {
1234 <        /* enable: enable glines, network wide temp klines */
1235 <        enable = yes;
1236 <
1237 <        /*
1238 <         * duration: the amount of time a gline will remain on your
1239 <         * server before expiring
1240 <         */
1241 <        duration = 1 day;
1242 <
1243 <        /*
1244 <         * logging: which types of rules you want to log when triggered
1245 <         * (choose reject or block)
1246 <         */
1247 <        logging = reject, block;
1248 <
1332 > modules {
1333          /*
1334 <         * NOTE: gline ACLs can cause a desync of glines throughout the
1335 <         * network, meaning some servers may have a gline triggered, and
1252 <         * others may not. Also, you only need insert rules for glines
1253 <         * that you want to block and/or reject. If you want to accept and
1254 <         * propagate the gline, do NOT put a rule for it.
1334 >         * path: other paths to search for modules specified below
1335 >         * and in "/module load".
1336           */
1337 +        path = "lib/ircd-hybrid/modules";
1338 + #       path = "lib/ircd-hybrid/modules/extra";
1339 +        path = "lib/ircd-hybrid/modules/autoload";
1340  
1341 <        /* user@host for rule to apply to */
1342 <        user = "god@I.still.hate.packets";
1259 <        /* server for rule to apply to */
1260 <        name = "hades.arpa";
1261 <
1262 <        /*
1263 <         * action: action to take when a matching gline is found. options are:
1264 <         *  reject      - do not apply the gline locally
1265 <         *  block       - do not propagate the gline
1266 <         */
1267 <        action = reject, block;
1268 <
1269 <        user = "god@*";
1270 <        name = "*";
1271 <        action = block;
1341 >        /* module: the name of a module to load on startup/rehash. */
1342 > #       module = "some_module.la";
1343   };
1344  
1345 < modules {
1346 <        /*
1347 <         * module path: other paths to search for modules specified below
1348 <         * and in /modload.
1349 <         */
1350 <        path = "@datadir@/modules";
1280 <        path = "@datadir@/autoload";
1345 > /*
1346 > * log {}:  contains information about logfiles.
1347 > */
1348 > log {
1349 >        /* Do you want to enable logging to ircd.log? */
1350 >        use_logging = yes;
1351  
1352 <        /* module: the name of a module to load on startup/rehash */
1353 <        #module = "some_module.so";
1352 >        file {
1353 >                type = oper;
1354 >                name = "var/log/oper.log";
1355 >                size = unlimited;
1356 >        };
1357 >
1358 >        file {
1359 >                type = user;
1360 >                name = "var/log/user.log";
1361 >                size = 50 megabytes;
1362 >        };
1363 >
1364 >        file {
1365 >                type = kill;
1366 >                name = "var/log/kill.log";
1367 >                size = 50 megabytes;
1368 >        };
1369 >
1370 >        file {
1371 >                type = kline;
1372 >                name = "var/log/kline.log";
1373 >                size = 50 megabytes;
1374 >        };
1375 >
1376 >        file {
1377 >                type = dline;
1378 >                name = "var/log/dline.log";
1379 >                size = 50 megabytes;
1380 >        };
1381 >
1382 >        file {
1383 >                type = xline;
1384 >                name = "var/log/xline.log";
1385 >                size = 50 megabytes;
1386 >        };
1387 >
1388 >        file {
1389 >                type = resv;
1390 >                name = "var/log/resv.log";
1391 >                size = 50 megabytes;
1392 >        };
1393 >
1394 >        file {
1395 >                type = debug;
1396 >                name = "var/log/debug.log";
1397 >                size = 50 megabytes;
1398 >        };
1399   };

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/trunk/doc/reference.conf (property svn:keywords), Revision 5985 by michael, Tue May 26 18:52:42 2015 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)