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-8/doc/example.conf (file contents), Revision 1534 by michael, Sun Sep 23 13:17:14 2012 UTC vs.
ircd-hybrid/trunk/doc/reference.conf (file contents), Revision 7267 by michael, Sat Feb 6 19:02:47 2016 UTC

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

Diff Legend

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