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

Comparing ircd-hybrid/trunk/doc/reference.conf (file contents):
Revision 2322 by michael, Sun Jun 23 12:01:30 2013 UTC vs.
Revision 6375 by michael, Fri Aug 21 10:34:16 2015 UTC

# Line 1 | Line 1
1 < /* ircd-hybrid reference configuration file
2 < * Copyright (C) 2000-2013 Hybrid Development Team
1 > /*
2 > * This is an example configuration file for ircd-hybrid
3   *
4 < * Written by ejb, wcampbel, db, leeh and others
4 > * Copyright (c) 2000-2015 ircd-hybrid development team
5   *
6   * $Id$
7   */
# Line 10 | Line 10
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   *
# Line 23 | Line 23
23   *
24   * Times/durations are written as:
25   *        12 hours 30 minutes 1 second
26 < *        
26 > *
27   * Valid units of time:
28   *        year, month, week, day, hour, minute, second
29   *
# Line 39 | Line 39
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";
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 +         *
51           * NOTE: The letters must be capitalized. This cannot be changed at runtime.
52 +         *
53 +         * If no sid is configured, one will be generated at runtime.
54           */
55 <        sid = "0HY";
55 > #       sid = "0HY";
56  
57          /*
58           * description: the description of the server.
# Line 57 | Line 60 | serverinfo {
60          description = "ircd-hybrid test server";
61  
62          /*
63 <         * network info: the name and description of the network this server
64 <         * is on. Shown in the 005 reply and used with serverhiding.
63 >         * network_name, network_desc: the name and description of the network this
64 >         * server is on. Shown in the 005 reply and used with serverhiding.
65           */
66          network_name = "MyNet";
67          network_desc = "This is My Network";
# Line 70 | Line 73 | serverinfo {
73          hub = no;
74  
75          /*
76 <         * vhost: the IP to bind to when we connect outward to ipv4 servers.
77 <         * This should be an ipv4 IP only, or "*" for INADDR_ANY.
76 >         * vhost: the IP address to bind to when we connect outward to IPv4 servers.
77 >         * This should be an IPv4 address, or "*" for INADDR_ANY.
78           */
79   #       vhost = "192.169.0.1";
80  
81          /*
82 <         * vhost6: the address to bind to when we make outgoing connections
83 <         * to IPv6 servers. This should be an IPv6 address, or "*" for INADDR_ANY.
82 >         * vhost6: the IP address to bind to when we connect outward to IPv6 servers.
83 >         * This should be an IPv6 address, or "*" for in6addr_any.
84           */
85   #       vhost6 = "3ffe:80e8:546::2";
86  
87 <        /* max_clients: the maximum number of clients allowed to connect. */
88 <        max_clients = 512;
87 >        /*
88 >         * default_max_clients: the default maximum number of clients allowed
89 >         * to connect. This can be changed from within IRC via /QUOTE SET MAX.
90 >         */
91 >        default_max_clients = 512;
92  
93          /*
94           * max_nick_length: only applies to local clients. Must be in the
# Line 99 | Line 105 | serverinfo {
105  
106          /*
107           * rsa_private_key_file: the path to the file containing the
108 <         * RSA key for cryptlink.
108 >         * RSA key.
109           *
110 <         * Example commands to store a 2048 bit RSA keypair in
105 <         * rsa.key, and the public key in rsa.pub:
110 >         * Example commands to store a 2048 bit RSA key in rsa.key:
111           *
112           *      openssl genrsa -out rsa.key 2048
113 <         *      openssl rsa -in rsa.key -pubout -out rsa.pub
109 <         *      chown <ircd-user>.<ircd.group> rsa.key rsa.pub
113 >         *      chown <ircd-user>.<ircd.group> rsa.key
114           *      chmod 0600 rsa.key
111         *      chmod 0644 rsa.pub
115           */
116 < #       rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
116 > #       rsa_private_key_file = "etc/rsa.key";
117  
118          /*
119           * ssl_certificate_file: the path to the file containing our
# Line 132 | Line 135 | serverinfo {
135           *      Common Name: irc.someirc.net
136           *      E-mail: you@domain.com
137           */
138 < #       ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
138 > #       ssl_certificate_file = "etc/cert.pem";
139  
140          /*
141 <         * ssl_dh_param_file:
142 <         *
143 <         * Path to the PEM encoded Diffie-Hellman parameter file.
141 <         * DH parameters are required when using ciphers with EDH
142 <         * (ephemeral Diffie-Hellman) key exchange.
141 >         * ssl_dh_param_file: path to the PEM encoded Diffie-Hellman
142 >         * parameter file. DH parameters are required when using
143 >         * ciphers with EDH (ephemeral Diffie-Hellman) key exchange.
144           *
145           * A DH parameter file can be created by running:
146           *
147 <         *      openssl dhparam -out dhparam.pem 1024
147 >         *      openssl dhparam -out dhparam.pem 2048
148           *
149           * Prime size must be at least 1024 bits. Further information
150           * regarding specific OpenSSL dhparam command-line options
151           * can be found in the OpenSSL manual.
152           */
153 < #       ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
153 > #       ssl_dh_param_file = "etc/dhparam.pem";
154  
155          /*
156 <         * ssl_cipher_list:
156 >         * ssl_dh_elliptic_curve: defines the curve to use for the
157 >         * Elliptic Curve Diffie-Hellman (ECDH) algorithm.
158 >         * Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified.
159           *
160 <         * List of ciphers to support on _this_ server. Can be used to
161 <         * enforce specific ciphers for incoming SSL/TLS connections.
162 <         * If a client (which also includes incoming server connections) is not
163 <         * capable of using any of the ciphers listed here, the connection will
160 >         * A list of supported curves by OpenSSL can be obtained by running:
161 >         *
162 >         *      openssl ecparam -list_curves
163 >         */
164 > #       ssl_dh_elliptic_curve = "secp521r1";
165 >
166 >        /*
167 >         * ssl_cipher_list: list of ciphers to support on _this_ server.
168 >         * Can be used to enforce specific ciphers for incoming SSL/TLS
169 >         * connections. If a client (which also includes incoming server connections)
170 >         * is not capable of using any of the ciphers listed here, the connection will
171           * simply be rejected.
172           *
173           * A list of supported ciphers by OpenSSL can be obtained by running:
174           *
175 <         *      openssl ciphers -ssl3 -tls1 -v
175 >         *      openssl ciphers -tls1 -v
176           *
177           * Multiple ciphers are separated by colons. The order of preference is
178           * from left to right.
179           */
180 < #       ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
180 > #       ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
181  
182          /*
183 <         * ssl_server_method:
184 <         * ssl_client_method:
183 >         * ssl_message_digest_algorithm: defines what cryptographic hash function
184 >         * to use for generating fingerprint hashes of X.509 certificates.
185 >         * Default is SHA-256 if nothing else is specified.
186           *
187 <         * SSL/TLS methods we provide for incoming (server method) and
188 <         * outgoing (client method) SSL/TLS connections.
189 <         * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
187 >         * A list of supported message digest algorithms by OpenSSL can be obtained by running:
188 >         *
189 >         *      openssl list-message-digest-algorithms
190           */
191 < #       ssl_server_method = tlsv1, sslv3;
181 < #       ssl_client_method = tlsv1;
191 > #       ssl_message_digest_algorithm = "sha256";
192   };
193  
194   /*
195 < * admin {}:  contains admin information about the server
195 > * admin {}:  contains administrative information about the server
196   */
197   admin {
198          name = "Smurf target";
# Line 205 | Line 215 | class {
215  
216          /*
217           * number_per_ip: how many local users are allowed to connect
218 <         * from a single IP address  (optional)
218 >         * from a single IP address (optional)
219           */
220          number_per_ip = 2;
221  
222          /*
223           * max_local: how many local users are allowed to connect
224 <         * from a single ident@host  (optional)
224 >         * from a single ident@host (optional)
225           */
226          max_local = 2;
227  
228          /*
229 <         * max_global: network-wide limit of users per ident@host  (optional)
229 >         * max_global: network-wide limit of users per ident@host (optional)
230           */
231          max_global = 10;
232  
# Line 226 | Line 236 | class {
236          max_number = 100;
237  
238          /*
239 <         * the following lines are optional and allow you to define
239 >         * The following lines are optional and allow you to define
240           * how many users can connect from one /NN subnet.
241           */
242          cidr_bitlen_ipv4 = 24;
# Line 241 | Line 251 | class {
251  
252          /*
253           * recvq: the amount of data allowed in a client's receive queue before
254 <         * they are dropped for flooding. Defaults to 2560 if the chosen
255 <         * value isn't within the range of 512 to 8000.
254 >         * they are dropped for flooding. Defaults to 2560 if the chosen value
255 >         * isn't within the range of 512 to 8000.
256           */
257          recvq = 2560 bytes;
258   };
# Line 255 | Line 265 | class {
265          sendq = 100 kbytes;
266  
267          /*
268 +         * max_channels: maximum number of channels users in this class can join.
269 +         */
270 +        max_channels = 60;
271 +
272 +        /*
273           * min_idle: minimum idle time that is shown in /whois.
274           */
275          min_idle = 3 hours;
# Line 298 | Line 313 | class {
313   motd {
314          /*
315           * mask: multiple mask entries are permitted. Mask can either be
316 <         * a class name or a hostname.
316 >         * a class name or a hostname. CIDR is supported.
317           */
318          mask = "*.at";
319          mask = "*.de";
# Line 307 | Line 322 | motd {
322          /*
323           * file: path to the actual motd file.
324           */
325 <        file = "/usr/local/ircd/etc/german.motd";
325 >        file = "etc/german.motd";
326   };
327  
328   /*
# Line 315 | Line 330 | motd {
330   */
331   listen {
332          /*
333 <         * port: the port to listen on. If no host is specified
334 <         * earlier in the listen {} block, it will listen on all available IPs.
333 >         * port: the port to listen on. If no host is specified earlier
334 >         * in the listen {} block, it will listen on all available IPs.
335           *
336 <         * Ports are separated by commsa; a range may be specified using ".."
336 >         * Ports are separated by commas; a range may be specified using ".."
337           */
338 <        
339 <        /* port: listen on all available IP addresses, ports 6665 to 6669 */
338 >
339 >        /* port: listen on all available IP addresses, ports 6665 to 6669. */
340          port = 6665 .. 6669;
341  
342          /*
# Line 341 | Line 356 | listen {
356          port = 6697;
357  
358          /*
359 <         * host: set a specific IP address/host to listen on using the
359 >         * host: set a specific IP address to listen on using the
360           * subsequent port definitions. This may be IPv4 or IPv6.
361           */
362          host = "1.2.3.4";
# Line 357 | Line 372 | listen {
372   auth {
373          /*
374           * user: the user@host allowed to connect. Multiple user
375 <         * lines are permitted within each auth block.
375 >         * lines are permitted within each auth {} block.
376           */
377          user = "*@172.16.0.0/12";
378          user = "*test@123D:B567:*";
379  
380 <        /* password: an optional password that is required to use this block */
380 >        /* password: an optional password that is required to use this block. */
381          password = "letmein";
382  
383          /*
384           * encrypted: controls whether the auth password above has been
385 <         * encrypted.
385 >         * encrypted. Default is 'no' if nothing else is specified.
386           */
387          encrypted = yes;
388  
# Line 377 | Line 392 | auth {
392           */
393          spoof = "I.still.hate.packets";
394  
395 <        /* class: the class the user is placed in */
395 >        /* class: the class the user is placed in. */
396          class = "opers";
397  
398          /*
399 <         * need_password - don't allow users who haven't supplied the correct
400 <         *                 password to connect using another auth{} block
401 <         *                 ('&' prefix on /stats I if disabled)
387 <         * need_ident    - require the user to have identd to connect ('+' prefix on /stats I)
399 >         * need_password - don't allow users who haven't supplied the correct  | ('&' prefix on /stats I if disabled)
400 >         *                 password to connect using another auth {} block
401 >         * need_ident    - require the user to have identd to connect          | ('+' prefix on /stats I)
402           * spoof_notice  - enable spoofing notification to admins
403 <         * exceed_limit  - allow a user to exceed class limits ('>' prefix on /stats I)
404 <         * kline_exempt  - exempt this user from k/glines ('^' prefix on /stats I)
405 <         * gline_exempt  - exempt this user from glines ('_' prefix on /stats I)
406 <         * resv_exempt   - exempt this user from resvs ('$' prefix on /stats I)
407 <         * no_tilde      - remove ~ from a user with no ident ('-' prefix on /stats I)
408 <         * can_flood     - allow this user to exceed flood limits ('|' prefix on /stats I)
409 <         * webirc        - enables WEBIRC authentication for web-based clients such as Mibbit
410 <         *                 ('<' prefix on /stats I)
403 >         * exceed_limit  - allow a user to exceed class limits                 | ('>' prefix on /stats I)
404 >         * kline_exempt  - exempt this user from k-lines                       | ('^' prefix on /stats I)
405 >         * xline_exempt  - exempt this user from x-lines                       | ('!' prefix on /stats I)
406 >         * resv_exempt   - exempt this user from resvs                         | ('$' prefix on /stats I)
407 >         * no_tilde      - remove ~ from a user with no ident                  | ('-' prefix on /stats I)
408 >         * can_flood     - allow this user to exceed flood limits              | ('|' prefix on /stats I)
409 >         * webirc        - enables WEBIRC authentication for web-based         | ('<' prefix on /stats I)
410 >         *                 clients such as Mibbit
411           */
412          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
413 <                gline_exempt, resv_exempt, no_tilde, can_flood;
413 >                xline_exempt, resv_exempt, no_tilde, can_flood;
414   };
415  
416   auth {
417          /*
418 <         * redirect: the server and port to redirect a user to. A user does not
419 <         * have to obey the redirection; the ircd just suggests an alternative
420 <         * server for them.
418 >         * redirserv, redirport: the server and port to redirect a user to.
419 >         * A user does not have to obey the redirection; the ircd just
420 >         * suggests an alternative server for them.
421           */
422 <        redirserv = "this.is.not.a.real.server";
422 >        redirserv = "server.tld";
423          redirport = 6667;
410        
411        user = "*.server";
424  
425 <        /* class: a class is required even though it is not used */
425 >        user = "*@*.tld";
426 >
427 >        /* class: a class is required even though it is not used. */
428          class = "users";
429   };
430  
# Line 424 | Line 438 | auth {
438   * operator {}:  defines ircd operators
439   */
440   operator {
441 <        /* name: the name of the oper */
441 >        /* name: the name of the operator */
442          name = "sheep";
443  
444          /*
445 <         * user: the user@host required for this operator. Multiple
446 <         * user="" lines are supported.
445 >         * user: the user@host required for this operator. Multiple user
446 >         * lines are permitted within each operator {} block.
447           */
448          user = "*sheep@192.168.0.0/16";
449          user = "*@127.0.0.0/8";
# Line 446 | Line 460 | operator {
460  
461          /*
462           * encrypted: controls whether the oper password above has been
463 <         * encrypted.
463 >         * encrypted. Default is 'yes' if nothing else is specified.
464           */
465          encrypted = yes;
466  
467          /*
468 <         * rsa_public_key_file: the public key for this oper when using Challenge.
469 <         * A password should not be defined when this is used; see
468 >         * whois: allows to override the default RPL_WHOISOPERATOR numeric
469 >         * string shown in /whois.
470 >         * This string is propagated to all servers on the network.
471 >         */
472 > #       whois = "is a Smurf Target (IRC Operator)";
473 >
474 >        /*
475 >         * rsa_public_key_file: the public key for this oper when using /challenge.
476 >         * A password should not be defined when this is used; see
477           * doc/challenge.txt for more information.
478           */
479 < #       rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
479 > #       rsa_public_key_file = "etc/oper.pub";
480  
481          /*
482           * ssl_certificate_fingerprint: enhances security by additionally checking
# Line 471 | Line 492 | operator {
492  
493          /*
494           * ssl_connection_required: client must be connected over SSL/TLS
495 <         * in order to be able to use this oper{} block.
495 >         * in order to be able to use this operator {} block.
496           * Default is 'no' if nothing else is specified.
497           */
498          ssl_connection_required = no;
499  
500 <        /* class: the class the oper joins when they successfully /oper */
500 >        /* class: the class the oper joins when they successfully /oper or /challenge. */
501          class = "opers";
502  
503          /*
504 <         * umodes: the default usermodes opers get when they /oper. If defined,
505 <         * it will override oper_umodes settings in general {}.
506 <         * Available usermodes:
504 >         * umodes: the default user modes opers get when they /oper or /challenge.
505 >         * If defined, it will override oper_umodes settings in general {}.
506 >         * Available user modes:
507           *
508           * +b - bots         - See bot and drone flooding notices
509           * +c - cconn        - Client connection/quit notices
# Line 490 | Line 511 | operator {
511           * +d - debug        - See debugging notices
512           * +e - external     - See remote server connection and split notices
513           * +F - farconnect   - Remote client connection/quit notices
514 <         * +f - full         - See auth{} block full notices
514 >         * +f - full         - See auth {} block full notices
515           * +G - softcallerid - Server Side Ignore for users not on your channels
516           * +g - callerid     - Server Side Ignore (for privmsgs etc)
517           * +H - hidden       - Hides operator status to other users
# Line 499 | Line 520 | operator {
520           * +k - skill        - See server generated KILL messages
521           * +l - locops       - See LOCOPS messages
522           * +n - nchange      - See client nick changes
523 +         * +p - hidechans    - Hides channel list in WHOIS
524 +         * +q - hideidle     - Hides idle and signon time in WHOIS
525           * +R - nononreg     - Only receive private messages from registered clients
526           * +s - servnotice   - See general server notices
527           * +u - unauth       - See unauthorized client notices
528           * +w - wallop       - See server generated WALLOPS
529           * +y - spy          - See LINKS, STATS, TRACE notices etc.
507         * +z - operwall     - See oper generated WALLOPS
530           */
531 <        umodes = locops, servnotice, operwall, wallop;
531 >        umodes = locops, servnotice, wallop;
532  
533          /*
534 <         * privileges: controls the activities and commands an oper is
535 <         * allowed to do on the server. All options default to no.
536 <         * Available options:
534 >         * flags: controls the activities and commands an oper is
535 >         * allowed to do on the server. All flags default to 'no'.
536 >         * Available flags:
537           *
538 <         * module         - allows MODULE
538 >         * admin          - gives administrator privileges    | ('A' flag)
539           * connect        - allows local CONNECT              | ('P' flag)
540           * connect:remote - allows remote CONNECT             | ('Q' flag)
541 <         * squit          - allows local SQUIT                | ('R' flag)
542 <         * squit:remote   - allows remote SQUIT               | ('S' flag)
541 >         * die            - allows DIE                        | ('D' flag)
542 >         * dline          - allows DLINE                      |
543 >         * globops        - allows GLOBOPS                    |
544           * kill           - allows to KILL local clients      | ('N' flag)
545           * kill:remote    - allows remote users to be /KILL'd | ('O' flag)
523         * remoteban      - allows remote KLINE/UNKLINE       | ('B' flag)
524         * dline          - allows DLINE                      |
525         * undline        - allows UNDLINE                    |
546           * kline          - allows KLINE                      | ('K' flag)
527         * unkline        - allows UNKLINE                    | ('U' flag)
528         * gline          - allows GLINE                      | ('G' flag)
529         * xline          - allows XLINE                      | ('X' flag)
547           * locops         - allows LOCOPS                     |
548 <         * globops        - allows GLOBOPS                    |
549 <         * wallops        - allows WALLOPS                    |
533 <         * operwall       - allows OPERWALL                   | ('L' flag)
548 >         * module         - allows MODULE                     |
549 >         * opme           - allows OPME                       |
550           * rehash         - allows oper to REHASH config      | ('H' flag)
551 <         * die            - allows DIE                        | ('D' flag)
551 >         * remoteban      - allows remote KLINE/UNKLINE       | ('B' flag)
552           * restart        - allows RESTART                    |
553           * set            - allows SET                        |
554 <         * admin          - gives administrator privileges    | ('A' flag)
554 >         * squit          - allows local SQUIT                | ('R' flag)
555 >         * squit:remote   - allows remote SQUIT               | ('S' flag)
556 >         * undline        - allows UNDLINE                    |
557 >         * unkline        - allows UNKLINE                    | ('U' flag)
558 >         * unxline        - allows UNXLINE                    |
559 >         * wallops        - allows WALLOPS                    |
560 >         * xline          - allows XLINE                      | ('X' flag)
561           */
562 <        flags = kill, kill:remote, connect, connect:remote, kline, unkline,
563 <                xline, globops, restart, die, rehash, admin, operwall, module;
542 < };
543 <
544 < /*
545 < * service {}: specifies a server which may act as a network service
546 < *
547 < * NOTE: it is very important that every server on the network
548 < *       has the same service{} block.
549 < */
550 < service {
551 <        name = "service.someserver";
552 <        name = "stats.someserver";
562 >        flags = admin, connect, connect:remote, die, globops, kill, kill:remote,
563 >                kline, module, rehash, restart, set, unkline, unxline, xline;
564   };
565  
566   /*
567   * connect {}: define a server to connect to
568   */
569   connect {
570 <        /* name: the name of the server */
570 >        /* name: the name of the server. */
571          name = "irc.uplink.com";
572  
573          /*
# Line 574 | Line 585 | connect {
585          vhost = "192.168.0.2";
586  
587          /*
588 <         * passwords: the passwords to send (OLD C:) and accept (OLD N:).
588 >         * send_password, accept_password: the passwords to send and accept.
589           * The remote server will have these passwords swapped.
590           */
591          send_password = "password";
# Line 586 | Line 597 | connect {
597           */
598          encrypted = no;
599  
600 <        /* port: the port to connect to this server on */
600 >        /* port: the port to connect to this server on. */
601          port = 6666;
602  
603          /*
# Line 601 | Line 612 | connect {
612           */
613   #       leaf_mask = "*.uk";
614  
615 <        /* class: the class this server is in */
615 >        /* class: the class this server is in. */
616          class = "server";
617  
618          /*
619 <         * ssl_cipher_list:
620 <         *
621 <         * List of ciphers that the server we are connecting to must support.
611 <         * If the server is not capable of using any of the ciphers listed below,
612 <         * the connection will simply be rejected.
619 >         * ssl_cipher_list: list of ciphers that the server we are connecting to
620 >         * must support. If the server is not capable of using any of the ciphers
621 >         * listed below, the connection will simply be rejected.
622           * Can be used to enforce stronger ciphers, even though this option
623           * is not necessarily required to establish a SSL/TLS connection.
624           *
625           * Multiple ciphers are separated by colons. The order of preference
626           * is from left to right.
627           */
628 < #       ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
628 > #       ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
629  
630          /*
631           * ssl_certificate_fingerprint: enhances security by additionally checking
# Line 661 | Line 670 | cluster {
670           *       will not be propagated to clustered servers.
671           *
672           *       Remote servers are not necessarily required to accept
673 <         *       clustered lines, they need a shared{} for *THIS* server
674 <         *       in order to accept them.
673 >         *       clustered lines, they need a shared {} block for *THIS*
674 >         *       server in order to accept them.
675           */
676          name = "*.arpa";
677  
# Line 723 | Line 732 | shared {
732  
733   /*
734   * kill {}:  users that are not allowed to connect
735 < * Oper issued klines will be added to the specified kline config
735 > * Oper issued klines will be added to the specified kline database
736   */
737   kill {
738          user = "bad@*.hacked.edu";
# Line 733 | Line 742 | kill {
742   /*
743   * deny {}:  IP addresses that are not allowed to connect
744   * (before DNS/ident lookup)
745 < * Oper issued dlines will be added to the specified dline config
745 > * Oper issued dlines will be added to the specified dline database
746   */
747   deny {
748          ip = "10.0.1.0/24";
# Line 751 | Line 760 | exempt {
760   * resv {}:  nicks and channels users may not use/join
761   */
762   resv { mask = "clone*"; reason = "Clone bots"; };
763 + resv { mask = "Global"; reason = "Reserved for services"; };
764   resv { mask = "ChanServ"; reason = "Reserved for services"; };
765   resv { mask = "NickServ"; reason = "Reserved for services"; };
766   resv { mask = "OperServ"; reason = "Reserved for services"; };
# Line 767 | Line 777 | resv {
777           * as channel name masks.
778           */
779          mask = "#helsinki";
780 <        reason = "Channel is reserved for finnish inhabitants";
780 >        reason = "Channel is reserved for Finnish inhabitants";
781  
782          /*
783           * exempt: can be either a ISO 3166 alpha-2 two letter country
# Line 778 | Line 788 | resv {
788   };
789  
790   /*
791 < * gecos {}:  Used for banning users based on their "realname".
791 > * gecos {}:  used for banning users based on their "realname".
792   */
793   gecos {
794          name = "*sex*";
# Line 791 | Line 801 | gecos {
801   };
802  
803   /*
804 < * channel {}:  The channel block contains options pertaining to channels
804 > * service {}: specifies a server which may act as a network service
805 > *
806 > * NOTE: it is very important that every server on the network
807 > *       has the same service {} block.
808 > */
809 > service {
810 >        name = "service.someserver";
811 >        name = "stats.someserver";
812 > };
813 >
814 > /*
815 > * pseudo {}: adds pseudo/custom commands also known as service aliases
816 > */
817 > pseudo {
818 >        /* command: the actual command/alias. */
819 >        command = "IDENTIFY";
820 >
821 >        /* prepend: optional text that can be prepended before the user's message. */
822 >        prepend = "IDENTIFY ";
823 >
824 >        /* name: the service name, used for error messages. */
825 >        name = "NickServ";
826 >
827 >        /* target: the actual target where this message should be sent to. */
828 >        target = "NickServ@service.someserver";
829 > };
830 >
831 > pseudo {
832 >        command = "CHANSERV";
833 >        name = "ChanServ";
834 >        target = "ChanServ@service.someserver";
835 > };
836 >
837 > pseudo {
838 >        command = "CS";
839 >        name = "ChanServ";
840 >        target = "ChanServ@service.someserver";
841 > };
842 >
843 > pseudo {
844 >        command = "NICKSERV";
845 >        name = "NickServ";
846 >        target = "NickServ@service.someserver";
847 > };
848 >
849 > pseudo {
850 >        command = "NS";
851 >        name = "NickServ";
852 >        target = "NickServ@service.someserver";
853 > };
854 >
855 > pseudo {
856 >        command = "MEMOSERV";
857 >        name = "MemoServ";
858 >        target = "MemoServ@service.someserver";
859 > };
860 >
861 > pseudo {
862 >        command = "MS";
863 >        name = "MemoServ";
864 >        target = "MemoServ@service.someserver";
865 > };
866 >
867 > pseudo {
868 >        command = "OPERSERV";
869 >        name = "OperServ";
870 >        target = "OperServ@service.someserver";
871 > };
872 >
873 > pseudo {
874 >        command = "OS";
875 >        name = "OperServ";
876 >        target = "OperServ@service.someserver";
877 > };
878 >
879 > pseudo {
880 >        command = "HOSTSERV";
881 >        name = "HostServ";
882 >        target = "HostServ@service.someserver";
883 > };
884 >
885 > pseudo {
886 >        command = "HS";
887 >        name = "HostServ";
888 >        target = "HostServ@service.someserver";
889 > };
890 >
891 > pseudo {
892 >        command = "BOTSERV";
893 >        name = "BotServ";
894 >        target = "BotServ@service.someserver";
895 > };
896 >
897 > pseudo {
898 >        command = "BS";
899 >        name = "BotServ";
900 >        target = "BotServ@service.someserver";
901 > };
902 >
903 > /*
904 > * channel {}:  the channel block contains options pertaining to channels
905   */
906   channel {
907          /*
# Line 810 | Line 920 | channel {
920          disable_fake_channels = yes;
921  
922          /*
923 <         * knock_delay: The amount of time a user must wait between issuing
924 <         * the knock command.
923 >         * invite_client_count, invite_client_time: how many INVITE commands
924 >         * are permitted per client per invite_client_time.
925           */
926 <        knock_delay = 5 minutes;
926 >        invite_client_count = 10;
927 >        invite_client_time = 5 minutes;
928  
929          /*
930 <         * knock_delay_channel: How often a knock to any specific channel
931 <         * is permitted, regardless of the user sending the knock.
930 >         * knock_client_count, knock_client_time: how many KNOCK commands
931 >         * are permitted per client per knock_client_time.
932           */
933 <        knock_delay_channel = 1 minute;
933 >        knock_client_count = 1;
934 >        knock_client_time = 5 minutes;
935  
936          /*
937 <         * max_chans_per_user: The maximum number of channels a user can
938 <         * join/be on.
937 >         * knock_delay_channel: how often a KNOCK to any specific channel
938 >         * is permitted, regardless of the user sending the KNOCK.
939           */
940 <        max_chans_per_user = 25;
940 >        knock_delay_channel = 1 minute;
941  
942          /*
943 <         * max_chans_per_oper: The maximum number of channels an oper can
944 <         * join/be on.
943 >         * max_channels: the maximum number of channels a user can join/be on.
944 >         * This is a default value which can be overriden with class {} blocks.
945           */
946 <        max_chans_per_oper = 50;
946 >        max_channels = 25;
947  
948 <        /* max_bans: maximum number of +b/e/I modes in a channel */
948 >        /* max_bans: maximum number of +b/e/I modes in a channel. */
949          max_bans = 100;
950  
951          /*
952 <         * how many joins in how many seconds constitute a flood. Use 0 to
953 <         * disable. +b opers will be notified (changeable via /set)
954 <         */
955 <        join_flood_count = 16;
844 <        join_flood_time = 8 seconds;
845 <
846 <        /*
847 <         * The ircd will now check splitmode (whether a server is split from
848 <         * the network) every few seconds; this functionality is known as
849 <         * splitcode and is influenced by the options below.
850 <         *
851 <         * Either split users or split servers can activate splitmode, but
852 <         * both conditions must be met for the ircd to deactivate splitmode.
853 <         *
854 <         * You may force splitmode to be permanent by /quote set splitmode on
952 >         * default_join_flood_count, default_join_flood_time:
953 >         * how many joins in how many seconds constitute a flood. Use 0 to disable.
954 >         * +b opers will be notified. These are only default values which can be
955 >         * changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME".
956           */
957 <
958 <        /*
858 <         * default_split_user_count: when the usercount is lower than this level,
859 <         * consider ourselves split. This must be set for automatic splitmode.
860 <         */
861 <        default_split_user_count = 0;
862 <
863 <        /*
864 <         * default_split_server_count: when the servercount is lower than this,
865 <         * consider ourselves split. This must be set for automatic splitmode.
866 <         */
867 <        default_split_server_count = 0;
868 <
869 <        /* no_create_on_split: do not allow users to create channels on split. */
870 <        no_create_on_split = yes;
871 <
872 <        /* no_join_on_split: do not allow users to join channels on a split. */
873 <        no_join_on_split = no;
957 >        default_join_flood_count = 18;
958 >        default_join_flood_time = 6 seconds;
959   };
960  
961   /*
962 < * serverhide {}:  The serverhide block contains the options regarding
963 < * to server hiding
962 > * serverhide {}:  the serverhide block contains the options regarding
963 > * to server hiding. For more information regarding server hiding,
964 > * please see doc/serverhide.txt
965   */
966   serverhide {
967          /*
# Line 910 | Line 996 | serverhide {
996  
997          /*
998           * hide_services: define this if you want to hide the location of
999 <         * services servers that are specified in the service{} block.
999 >         * services servers that are specified in the service {} block.
1000           */
1001          hide_services = no;
1002  
1003          /*
1004 <         * Use this as the servername users see if hide_servers = yes.
1004 >         * hidden_name: use this as the servername users see if hide_servers = yes.
1005           */
1006          hidden_name = "*.hidden.com";
1007  
1008          /*
1009 <         * hide_server_ips: If this is disabled, opers will be unable to see
1009 >         * hide_server_ips: if this is disabled, opers will be unable to see
1010           * servers' IP addresses and will be shown a masked IP address; admins
1011           * will be shown the real IP address.
1012           *
# Line 935 | Line 1021 | serverhide {
1021   };
1022  
1023   /*
1024 < * general {}:  The general block contains many of the options that were once
1024 > * general {}:  the general block contains many of the options that were once
1025   * compiled in options in config.h
1026   */
1027   general {
# Line 945 | Line 1031 | general {
1031           */
1032          cycle_on_host_change = yes;
1033  
948        /* services_name: servername of nick/channel services */
949        services_name = "service.someserver";
950
1034          /* max_watch: maximum WATCH entries a client can have. */
1035 <        max_watch = 60;
1035 >        max_watch = 30;
1036  
1037 <        /* gline_enable: enable glines (network-wide temporary klines). */
1038 <        gline_enable = yes;
1037 >        /* max_accept: maximum allowed /accept's for +g user mode. */
1038 >        max_accept = 30;
1039  
1040          /*
1041 <         * gline_duration: the amount of time a gline will remain on your
1042 <         * server before expiring.
1041 >         * dline_min_cidr: the minimum required length of a CIDR bitmask
1042 >         * for IPv4 based D-lines.
1043           */
1044 <        gline_duration = 1 day;
1044 >        dline_min_cidr = 16;
1045  
1046          /*
1047 <         * gline_request_duration: how long a pending G-line can be around.
1048 <         * 10 minutes should be plenty.
1047 >         * dline_min_cidr6: the minimum required length of a CIDR bitmask
1048 >         * for IPv6 based D-lines.
1049           */
1050 <        gline_request_duration = 10 minutes;
1050 >        dline_min_cidr6 = 48;
1051  
1052          /*
1053 <         * gline_min_cidr: the minimum required length of a CIDR bitmask
1054 <         * for IPv4 based glines.
1053 >         * kline_min_cidr: the minimum required length of a CIDR bitmask
1054 >         * for IPv4 based K-lines.
1055           */
1056 <        gline_min_cidr = 16;
1056 >        kline_min_cidr = 16;
1057  
1058          /*
1059 <         * gline_min_cidr6: the minimum required length of a CIDR bitmask
1060 <         * for IPv6 based glines.
1059 >         * kline_min_cidr6: the minimum required length of a CIDR bitmask
1060 >         * for IPv6 based K-lines.
1061           */
1062 <        gline_min_cidr6 = 48;
1062 >        kline_min_cidr6 = 48;
1063  
1064          /*
1065 <         * Whether to automatically set mode +i on connecting users.
1065 >         * invisible_on_connect: whether to automatically set mode +i on
1066 >         * connecting users.
1067           */
1068          invisible_on_connect = yes;
1069  
# Line 989 | Line 1073 | general {
1073           * automatically to the new nick. kill_chase_time_limit is the maximum
1074           * time following a nickname change that this chasing will apply.
1075           */
1076 <        kill_chase_time_limit = 90 seconds;
1076 >        kill_chase_time_limit = 30 seconds;
1077  
1078          /*
1079 <         * hide_spoof_ips: if disabled, opers will be allowed to see the real
1080 <         * IP address of spoofed users in /trace etc. If this is defined they
1081 <         * will be shown a masked IP.
998 <         */
999 <        hide_spoof_ips = yes;
1000 <
1001 <        /*
1002 <         * Ignore bogus timestamps from other servers. Yes, this will desync the
1003 <         * network, but it will allow chanops to resync with a valid non TS 0
1079 >         * ignore_bogus_ts: ignore bogus timestamps from other servers.
1080 >         * Yes, this will desync the network, but it will allow chanops
1081 >         * to resync with a valid non TS 0.
1082           *
1083           * This should be enabled network wide, or not at all.
1084           */
# Line 1008 | Line 1086 | general {
1086  
1087          /*
1088           * disable_auth: completely disable ident lookups; if you enable this,
1089 <         * be careful of what you set need_ident to in your auth {} blocks
1089 >         * be careful of what you set need_ident to in your auth {} blocks.
1090           */
1091          disable_auth = no;
1092  
# Line 1020 | Line 1098 | general {
1098  
1099          /*
1100           * default_floodcount: the default value of floodcount that is configurable
1101 <         * via /quote set floodcount. This is the number of lines a user
1102 <         * may send to any other user/channel in one second.
1101 >         * via /quote set floodcount. This is the number of lines a user may send
1102 >         * to any other user/channel in one second. Set to 0 to disable.
1103           */
1104          default_floodcount = 10;
1105  
# Line 1039 | Line 1117 | general {
1117  
1118          /*
1119           * min_nonwildcard: the minimum number of non-wildcard characters in
1120 <         * k/d/g lines placed via the server. K-lines hand-placed are exempt from
1120 >         * k/d lines placed via the server. K-lines hand-placed are exempt from
1121           * this limit.
1122 <         * Wildcard chars: '.', ':', '*', '?', '@', '!'
1122 >         * Wildcard characters: '.', ':', '*', '?'
1123           */
1124          min_nonwildcard = 4;
1125  
1126          /*
1127           * min_nonwildcard_simple: the minimum number of non-wildcard characters
1128 <         * in gecos bans. Wildcard chars: '*', '?'
1128 >         * in gecos bans. Wildcard characters: '*', '?'
1129           */
1130          min_nonwildcard_simple = 3;
1131  
1054        /* max_accept: maximum allowed /accept's for +g usermode. */
1055        max_accept = 20;
1056
1132          /* anti_nick_flood: enable the nickflood control code. */
1133          anti_nick_flood = yes;
1134  
1135 <        /* nick flood: the number of nick changes allowed in the specified period */
1136 <        max_nick_time = 20 seconds;
1135 >        /*
1136 >         * max_nick_changes, max_nick_time: the number of nick changes allowed in
1137 >         * the specified period.
1138 >         */
1139          max_nick_changes = 5;
1140 +        max_nick_time = 20 seconds;
1141 +
1142 +        /*
1143 +         * away_count, away_time: how many AWAY command are permitted per
1144 +         * client per away_time.
1145 +         */
1146 +        away_count = 2;
1147 +        away_time = 10 seconds;
1148  
1149          /*
1150           * anti_spam_exit_message_time: the minimum time a user must be connected
# Line 1068 | Line 1153 | general {
1153          anti_spam_exit_message_time = 5 minutes;
1154  
1155          /*
1156 <         * ts delta: the time delta allowed between server clocks before
1157 <         * a warning is given, or before the link is dropped. All servers
1158 <         * should run ntpdate/rdate to keep clocks in sync
1156 >         * ts_warn_delta, ts_max_delta: the time delta allowed between server
1157 >         * clocks before a warning is given, or before the link is dropped.
1158 >         * All servers should run ntpdate/rdate to keep clocks in sync.
1159           */
1160 <        ts_warn_delta = 30 seconds;
1161 <        ts_max_delta = 5 minutes;
1160 >        ts_warn_delta = 3 seconds;
1161 >        ts_max_delta = 15 seconds;
1162  
1163          /*
1164 <         * warn_no_nline: warn opers about servers that try to connect but
1165 <         * for which we don't have a connect {} block. Twits with misconfigured
1166 <         * servers can become really annoying with this enabled.
1164 >         * warn_no_connect_block: warn opers about servers that try to connect
1165 >         * but for which we don't have a connect {} block. Twits with
1166 >         * misconfigured servers can become really annoying with this enabled.
1167           */
1168 <        warn_no_nline = yes;
1168 >        warn_no_connect_block = yes;
1169  
1170          /*
1171           * stats_e_disabled: set this to 'yes' to disable "STATS e" for both
1172           * operators and administrators. Doing so is a good idea in case
1173 <         * there are any exempted (exempt{}) server IPs you don't want to
1173 >         * there are any exempted (exempt {}) server IPs you don't want to
1174           * see leaked.
1175           */
1176          stats_e_disabled = no;
1177  
1178 <        /* stats_o_oper only: make stats o (opers) oper only */
1178 >        /* stats_m_oper_only: make /stats m/M (messages) oper only. */
1179 >        stats_m_oper_only = yes;
1180 >
1181 >        /* stats_o_oper_only: make stats o (opers) oper only. */
1182          stats_o_oper_only = yes;
1183  
1184 <        /* stats_P_oper_only: make stats P (ports) oper only */
1184 >        /* stats_P_oper_only: make stats P (ports) oper only. */
1185          stats_P_oper_only = yes;
1186  
1187 <        /* stats_u_oper_only: make stats u (uptime) oper only */
1187 >        /* stats_u_oper_only: make stats u (uptime) oper only. */
1188          stats_u_oper_only = no;
1189  
1190          /*
1191 <         * stats i oper only: make stats i (auth {}) oper only. Set to:
1192 <         *     yes    - show users no auth blocks, made oper only.
1193 <         *     masked - show users the first matching auth block
1194 <         *     no     - show users all auth blocks.
1191 >         * stats_i_oper_only: make stats i (auth {}) oper only. Set to:
1192 >         *     yes    - show users no auth {} blocks, made oper only
1193 >         *     masked - show users the first matching auth {} block
1194 >         *     no     - show users all auth {} blocks
1195           */
1196          stats_i_oper_only = yes;
1197  
1198          /*
1199           * stats_k_oper_only: make stats k/K (klines) oper only. Set to:
1200 <         *     yes    - show users no auth blocks, made oper only
1201 <         *     masked - show users the first matching auth block
1202 <         *     no     - show users all auth blocks.
1200 >         *     yes    - show users no klines, made oper only
1201 >         *     masked - show users the first matching kline
1202 >         *     no     - show users all klines
1203           */
1204          stats_k_oper_only = yes;
1205  
# Line 1123 | Line 1211 | general {
1211  
1212          /*
1213           * opers_bypass_callerid: allows operators to bypass +g and message
1214 <         * anyone who has it set (useful if you use services).
1214 >         * anyone who has it set.
1215           */
1216          opers_bypass_callerid = no;
1217  
1218          /*
1219           * pace_wait_simple: minimum time required between use of less
1220           * intensive commands
1221 <         * (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS)
1221 >         * (ADMIN, HELP, LUSERS, VERSION, remote WHOIS)
1222           */
1223          pace_wait_simple = 1 second;
1224  
1225          /*
1226           * pace_wait: minimum time required between use of more intensive commands
1227 <         * (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1227 >         * (INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS)
1228           */
1229          pace_wait = 10 seconds;
1230  
# Line 1147 | Line 1235 | general {
1235          short_motd = no;
1236  
1237          /*
1238 <         * ping_cookie: require clients to respond exactly to a ping command,
1238 >         * ping_cookie: require clients to respond exactly to a PING command,
1239           * can help block certain types of drones and FTP PASV mode spoofing.
1240           */
1241          ping_cookie = no;
# Line 1155 | Line 1243 | general {
1243          /* no_oper_flood: increase flood limits for opers. */
1244          no_oper_flood = yes;
1245  
1158        /*
1159         * true_no_oper_flood: completely eliminate flood limits for opers
1160         * and for clients with can_flood = yes in their auth {} blocks.
1161         */
1162        true_no_oper_flood = yes;
1163
1246          /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */
1247          oper_pass_resv = yes;
1248  
1167        /* REMOVE ME.  The following line checks that you have been reading. */
1168        havent_read_conf = 1;
1169
1249          /*
1250           * max_targets: the maximum number of targets in a single
1251           * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
# Line 1174 | Line 1253 | general {
1253          max_targets = 4;
1254  
1255          /*
1256 <         * usermodes configurable: a list of usermodes for the options below
1256 >         * user modes configurable: a list of user modes for the options below
1257           *
1258           * +b - bots         - See bot and drone flooding notices
1259           * +c - cconn        - Client connection/quit notices
# Line 1182 | Line 1261 | general {
1261           * +d - debug        - See debugging notices
1262           * +e - external     - See remote server connection and split notices
1263           * +F - farconnect   - Remote client connection/quit notices
1264 <         * +f - full         - See auth{} block full notices
1264 >         * +f - full         - See auth {} block full notices
1265           * +G - softcallerid - Server Side Ignore for users not on your channels
1266           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1267           * +H - hidden       - Hides operator status to other users
1268 <         * +i - invisible    - Not shown in NAMES or WHO unless you share a
1190 <         *                     a channel
1268 >         * +i - invisible    - Not shown in NAMES or WHO unless you share a channel
1269           * +j - rej          - See rejected client notices
1270           * +k - skill        - See server generated KILL messages
1271           * +l - locops       - See LOCOPS messages
1272           * +n - nchange      - See client nick changes
1273 +         * +p - hidechans    - Hides channel list in WHOIS
1274 +         * +q - hideidle     - Hides idle and signon time in WHOIS
1275           * +R - nononreg     - Only receive private messages from registered clients
1276           * +s - servnotice   - See general server notices
1277           * +u - unauth       - See unauthorized client notices
1278           * +w - wallop       - See server generated WALLOPS
1279           * +y - spy          - See LINKS, STATS, TRACE notices etc.
1200         * +z - operwall     - See oper generated WALLOPS
1280           */
1281  
1282 <        /* oper_only_umodes: usermodes only opers may set */
1283 <        oper_only_umodes = bots, cconn, debug, full, hidden, skill,
1284 <                           nchange, rej, spy, external, operwall,
1206 <                           locops, unauth, farconnect;
1207 <
1208 <        /* oper_umodes: default usermodes opers get when they /oper */
1209 <        oper_umodes = bots, locops, servnotice, operwall, wallop;
1282 >        /* oper_only_umodes: user modes only operators may set. */
1283 >        oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops,
1284 >                        nchange, rej, skill, spy, unauth;
1285  
1286 <        /*
1287 <         * use_egd: if your system does not have *random devices yet you
1213 <         * want to use OpenSSL and encrypted links, enable this. Beware -
1214 <         * EGD is *very* CPU intensive when gathering data for its pool.
1215 <         */
1216 < #       use_egd = yes;
1286 >        /* oper_umodes: default user modes operators get when they /oper or /challenge. */
1287 >        oper_umodes = bots, locops, servnotice, wallop;
1288  
1289          /*
1290 <         * egdpool_path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1291 <         * which automatically finds the path.
1290 >         * throttle_count: the maximum number of connections from the same
1291 >         * IP address allowed in throttle_time duration.
1292           */
1293 < #       egdpool_path = "/var/run/egd-pool";
1293 >        throttle_count = 1;
1294  
1295          /*
1296           * throttle_time: the minimum amount of time required between
1297 <         * connections from the same IP address. exempt {} blocks are excluded
1298 <         * from this throttling.
1297 >         * connections from the same IP address. exempt {} blocks are
1298 >         * excluded from this throttling.
1299           * Offers protection against flooders who reconnect quickly.
1300           * Set to 0 to disable.
1301           */
1302 <        throttle_time = 10;
1302 >        throttle_time = 2 seconds;
1303   };
1304  
1305   modules {
# Line 1236 | Line 1307 | modules {
1307           * path: other paths to search for modules specified below
1308           * and in "/module load".
1309           */
1310 <        path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1311 <        path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1310 >        path = "lib/ircd-hybrid/modules";
1311 > #       path = "lib/ircd-hybrid/modules/extra";
1312 >        path = "lib/ircd-hybrid/modules/autoload";
1313  
1314          /* module: the name of a module to load on startup/rehash. */
1315   #       module = "some_module.la";
# Line 1252 | Line 1324 | log {
1324  
1325          file {
1326                  type = oper;
1327 <                name = "/usr/local/ircd/var/log/oper.log";
1327 >                name = "var/log/oper.log";
1328                  size = unlimited;
1329          };
1330  
1331          file {
1332                  type = user;
1333 <                name = "/usr/local/ircd/var/log/user.log";
1333 >                name = "var/log/user.log";
1334                  size = 50 megabytes;
1335          };
1336  
1337          file {
1338                  type = kill;
1339 <                name = "/usr/local/ircd/var/log/kill.log";
1339 >                name = "var/log/kill.log";
1340                  size = 50 megabytes;
1341          };
1342  
1343          file {
1344                  type = kline;
1345 <                name = "/usr/local/ircd/var/log/kline.log";
1345 >                name = "var/log/kline.log";
1346                  size = 50 megabytes;
1347          };
1348  
1349          file {
1350                  type = dline;
1351 <                name = "/usr/local/ircd/var/log/dline.log";
1351 >                name = "var/log/dline.log";
1352 >                size = 50 megabytes;
1353 >        };
1354 >
1355 >        file {
1356 >                type = xline;
1357 >                name = "var/log/xline.log";
1358                  size = 50 megabytes;
1359          };
1360  
1361          file {
1362 <                type = gline;
1363 <                name = "/usr/local/ircd/var/log/gline.log";
1362 >                type = resv;
1363 >                name = "var/log/resv.log";
1364                  size = 50 megabytes;
1365          };
1366  
1367          file {
1368                  type = debug;
1369 <                name = "/usr/local/ircd/var/log/debug.log";
1369 >                name = "var/log/debug.log";
1370                  size = 50 megabytes;
1371          };
1372   };

Diff Legend

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