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

Comparing:
ircd-hybrid-7.3/etc/example.conf (file contents), Revision 1070 by michael, Tue Feb 16 23:40:20 2010 UTC vs.
ircd-hybrid/trunk/doc/example.conf (file contents), Revision 1751 by michael, Wed Jan 16 18:30:52 2013 UTC

# Line 1 | Line 1
1 < /* doc/example.conf - ircd-hybrid-7 Example configuration file
2 < * Copyright (C) 2000-2010 Hybrid Development Team
1 > /* doc/example.conf - ircd-hybrid-8 Example configuration file
2 > * Copyright (C) 2000-2012 Hybrid Development Team
3   *
4   * Written by ejb, wcampbel, db, leeh and others
5   * Other example configurations can be found in the source dir under
6 < * etc/.
6 > * doc/.
7   *
8   * $Id$
9   */
# Line 39 | Line 39
39   */
40  
41   /*
42 < * serverinfo {}:  contains information about the server. (OLD M:)
42 > * serverinfo {}:  contains information about the server
43   */
44   serverinfo {
45          /*
# Line 56 | Line 56 | serverinfo {
56          sid = "_CHANGE_ME_";
57  
58          /*
59 <         * description: the description of the server.  '[' and ']' may not
60 <         * be used here for compatibility with older servers.
59 >         * description: the description of the server.
60           */
61 <        description = "hybrid-7 test server";
61 >        description = "ircd-hybrid test server";
62  
63          /*
64           * network info: the name and description of the network this server
# Line 90 | Line 89 | serverinfo {
89          max_clients = 512;
90  
91          /*
92 +         * max_nick_length: only applies to local clients. Must be in the
93 +         * range of 9 to 30. Default is 9 if nothing else is specified.
94 +         */
95 +        max_nick_length = 9;
96 +
97 +        /*
98 +         * max_topic_length: only applies to topics set by local clients.
99 +         * Must be in the range of 80 to 300. Default is 80 if nothing
100 +         * else is specified.
101 +         */
102 +        max_topic_length = 160;
103 +
104 +        /*
105           * rsa_private_key_file: the path to the file containing our
106           * rsa key for cryptlink.
107           *
108           * Example command to store a 2048 bit RSA keypair in
109           * rsa.key, and the public key in rsa.pub:
110           *
111 <         *      openssl genrsa -out rsa.key 2048
111 >         *      openssl genrsa -out rsa.key 2048
112           *      openssl rsa -in rsa.key -pubout -out rsa.pub
113           *      chown <ircd-user>.<ircd.group> rsa.key rsa.pub
114           *      chmod 0600 rsa.key
# Line 125 | Line 137 | serverinfo {
137          #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
138  
139          /*
140 <         * ssl_server_protocol:
141 <         * SSL/TLS protocols we provide for incoming secure connections.
140 >         * ssl_dh_param_file:
141 >         *
142 >         * Path to the PEM encoded Diffie-Hellman parameter file.
143 >         * DH parameters are strictly required when using ciphers
144 >         * with EDH (ephemeral Diffie-Hellman) key exchange.
145 >         *
146 >         * A DH parameter file can be created by running:
147 >         *
148 >         *      openssl dhparam -out dhparam.pem 1024
149 >         *
150 >         * Prime size must be at least 1024 bits. Further information
151 >         * regarding specific OpenSSL dhparam command-line options
152 >         * can be found in the OpenSSL manual.
153 >         */
154 >        #ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
155 >
156 >        /*
157 >         * ssl_cipher_list:
158 >         *
159 >         * List of ciphers that are supported by _this_ server. Can be used to
160 >         * enforce specific ciphers for incoming SSL/TLS connections.
161 >         * If a client (which also includes incoming server connections) isn't
162 >         * capable of any cipher listed below, the connection will simply be
163 >         * rejected.
164 >         *
165 >         * A list of supported ciphers can be obtained by running:
166 >         *
167 >         *      openssl ciphers -ssl3 -tls1 -v
168 >         *
169 >         * Multiple ciphers are separated by colons. The order of preference is
170 >         * from left to right.
171 >         */
172 >        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
173 >
174 >        /*
175 >         * ssl_server_method:
176 >         * ssl_client_method:
177 >         *
178 >         * SSL/TLS methods we provide for incoming (server method) and
179 >         * outgoing (client method) SSL/TLS connections.
180           * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
131         * SSLv2 is not suppported. This cannot be changed at runtime.
181           */
182 <        #ssl_server_protocol = sslv3, tlsv1;
182 >        #ssl_server_method = tlsv1, sslv3;
183 >        #ssl_client_method = tlsv1;
184   };
185  
186   /*
187 < * admin {}:  contains admin information about the server. (OLD A:)
187 > * admin {}:  contains admin information about the server
188   */
189   admin {
190          name = "Smurf target";
# Line 143 | Line 193 | admin {
193   };
194  
195   /*
196 < * log {}:  contains information about logfiles.
147 < */
148 < log {
149 <        /* Do you want to enable logging to ircd.log? */
150 <        use_logging = yes;
151 <
152 <        /*
153 <         * logfiles: the logfiles to use for user connects, /oper uses,
154 <         * and failed /oper.  These files must exist for logging to be used.
155 <         */
156 <        fname_userlog = "logs/userlog";
157 <        fname_operlog = "logs/operlog";
158 <        fname_killlog = "logs/kill";
159 <        fname_klinelog = "logs/kline";
160 <        fname_glinelog = "logs/gline";
161 <
162 <        /*
163 <         * log_level: the amount of detail to log in ircd.log.  The
164 <         * higher, the more information is logged.  May be changed
165 <         * once the server is running via /quote SET LOG.  Either:
166 <         * L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG
167 <         */
168 <        log_level = L_INFO;
169 < };
170 <
171 < /*
172 < * class {}:  contains information about classes for users (OLD Y:)
196 > * class {}:  contains information about classes for users
197   */
198   class {
199 <        /* name: the name of the class.  classes are text now */
199 >        /* name: the name of the class */
200          name = "users";
201  
202          /*
# Line 212 | Line 236 | class {
236          number_per_cidr = 16;
237  
238          /*
239 <         * sendq: the amount of data allowed in a clients queue before
239 >         * sendq: the amount of data allowed in a clients send queue before
240           * they are dropped.
241           */
242          sendq = 100 kbytes;
243 +
244 +        /*
245 +         * recvq: maximum amount of data in a clients receive queue before
246 +         * they are dropped for flooding. Defaults to 2560 if the chosen
247 +         * value isn't within the range of 512 to 8000.
248 +         */
249 +        recvq = 2560 bytes;
250   };
251  
252   class {
# Line 223 | Line 254 | class {
254          ping_time = 90 seconds;
255          number_per_ip = 10;
256          max_number = 100;
257 <        sendq = 100kbytes;
257 >        sendq = 100 kbytes;
258   };
259  
260   class {
# Line 231 | Line 262 | class {
262          ping_time = 90 seconds;
263  
264          /*
234         * ping_warning: how fast a server must reply to a PING before
235         * a warning to opers is generated.
236         */
237        ping_warning = 15 seconds;
238
239        /*
265           * connectfreq: only used in server classes.  Specifies the delay
266           * between autoconnecting to servers.
267           */
# Line 250 | Line 275 | class {
275   };
276  
277   /*
278 < * listen {}:  contains information about the ports ircd listens on (OLD P:)
278 > * listen {}:  contains information about the ports ircd listens on
279   */
280   listen {
281          /*
# Line 271 | Line 296 | listen {
296           *
297           * Currently available flags are:
298           *
299 <         *  ssl    - Port is for SSL client connections only
299 >         *  ssl    - Port may only accept TLS/SSL connections
300           *  server - Only server connections are permitted
301 <         *  hidden - Port is hidden from /stats P
301 >         *  hidden - Port is hidden from /stats P, unless you're an admin
302           */
303          flags = hidden, ssl;
304          host = "192.168.0.1";
# Line 291 | Line 316 | listen {
316   };
317  
318   /*
319 < * auth {}:  allow users to connect to the ircd (OLD I:)
319 > * auth {}:  allow users to connect to the ircd
320   */
321   auth {
322          /*
323 <         * user: the user@host allowed to connect.  Multiple IPv4/IPv6 user
323 >         * user: the user@host allowed to connect. Multiple user
324           * lines are permitted per auth block.
325           */
326          user = "*@172.16.0.0/12";
# Line 320 | Line 345 | auth {
345          class = "opers";
346  
347          /*
348 <         * need_password: don't allow users who haven't supplied the correct
349 <         *                password to connect using another auth{} block
350 <         *                ('&' prefix on /stats I if disabled)
351 <         * need_ident:    require the user to have identd to connect ('+' prefix on /stats I)
352 <         * spoof_notice:  enable spoofing notification to admins
353 <         * exceed_limit:  allow a user to exceed class limits ('>' prefix on /stats I)
354 <         * kline_exempt:  exempt this user from k/glines ('^' prefix on /stats I)
355 <         * gline_exempt:  exempt this user from glines ('_' prefix on /stats I)
356 <         * resv_exempt:   exempt this user from resvs ('$' prefix on /stats I)
357 <         * no_tilde:      remove ~ from a user with no ident ('-' prefix on /stats I)
358 <         * can_flood:     allow this user to exceed flood limits ('|' prefix on /stats I)
359 <         * can_idle:      exempt this user from idle restrictions ('<' prefix on /stats I)
348 >         * need_password - don't allow users who haven't supplied the correct
349 >         *                 password to connect using another auth{} block
350 >         *                 ('&' prefix on /stats I if disabled)
351 >         * need_ident    - require the user to have identd to connect ('+' prefix on /stats I)
352 >         * spoof_notice  - enable spoofing notification to admins
353 >         * exceed_limit  - allow a user to exceed class limits ('>' prefix on /stats I)
354 >         * kline_exempt  - exempt this user from k/glines ('^' prefix on /stats I)
355 >         * gline_exempt  - exempt this user from glines ('_' prefix on /stats I)
356 >         * resv_exempt   - exempt this user from resvs ('$' prefix on /stats I)
357 >         * no_tilde      - remove ~ from a user with no ident ('-' prefix on /stats I)
358 >         * can_flood     - allow this user to exceed flood limits ('|' prefix on /stats I)
359 >         * webirc        - enables WEBIRC authentication for web-based clients such as Mibbit
360 >         *                 ('<' prefix on /stats I)
361           */
362          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
363 <                gline_exempt, resv_exempt, no_tilde, can_flood, can_idle;
363 >                gline_exempt, resv_exempt, no_tilde, can_flood;
364   };
365  
366   auth {
# Line 359 | Line 385 | auth {
385   };
386  
387   /*
388 < * operator {}:  defines ircd operators. (OLD O:)
388 > * operator {}:  defines ircd operators
389   *
390   * ircd-hybrid no longer supports local operators, privileges are
391   * controlled via flags.
392   */
393   operator {
394          /* name: the name of the oper */
395 <        /* NOTE: operator "opername"{} is also supported */
370 <        name = "god";
395 >        name = "sheep";
396  
397          /*
398 <         * user: the user@host required for this operator.  CIDR is not
399 <         * supported.  Multiple user="" lines are supported.
398 >         * user: the user@host required for this operator. Multiple
399 >         * user="" lines are supported.
400           */
401 <        user = "*god@*";
402 <        user = "*@127.0.0.1";
401 >        user = "*sheep@192.168.0.0/16";
402 >        user = "*@127.0.0.0/8";
403  
404          /*
405           * password: the password required to oper.  By default this will
# Line 412 | Line 437 | operator {
437           * +C - cconn_full   - Client connection/quit notices full
438           * +D - deaf         - Don't receive channel messages
439           * +d - debug        - See debugging notices
440 <         * +f - full         - See I: line full notices
440 >         * +f - full         - See auth{} block full notices
441           * +G - softcallerid - Server Side Ignore for users not on your channels
442           * +g - callerid     - Server Side Ignore (for privmsgs etc)
443 +         * +H - hidden       - Hides operator status to other users
444           * +i - invisible    - Not shown in NAMES or WHO unless you share a
445           *                     a channel
446 +         * +j - rej          - See rejected client notices
447           * +k - skill        - See server generated KILL messages
448           * +l - locops       - See LOCOPS messages
449           * +n - nchange      - See client nick changes
423         * +r - rej          - See rejected client notices
450           * +s - servnotice   - See general server notices
451           * +u - unauth       - See unauthorized client notices
452           * +w - wallop       - See server generated WALLOPS
# Line 432 | Line 458 | operator {
458  
459          /*
460           * privileges: controls the activities and commands an oper is
461 <         * allowed to do on the server.  All options default to no.
461 >         * allowed to do on the server. All options default to no.
462           * Available options:
463           *
464 <         * global_kill:  allows remote users to be /KILL'd (OLD 'O' flag)
465 <         * remote:       allows remote SQUIT and CONNECT   (OLD 'R' flag)
466 <         * remoteban:    allows remote KLINE/UNKLINE
467 <         * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
468 <         * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
469 <         * gline:        allows GLINE                      (OLD 'G' flag)
470 <         * xline:        allows XLINE                      (OLD 'X' flag)
471 <         * operwall:     allows OPERWALL
472 <         * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
473 <         *               via usermode +n
474 <         * rehash:       allows oper to REHASH config      (OLD 'H' flag)
475 <         * die:          allows DIE and RESTART            (OLD 'D' flag)
476 <         * admin:        gives admin privileges.  admins
477 <         *               may (un)load modules and see the
478 <         *               real IPs of servers.
479 <         * hidden_admin: same as 'admin', but noone can recognize you as
480 <         *               being an admin
481 <         * hidden_oper:  not shown in /stats p (except for other operators)
482 <         */
457 <        /* You can either use
458 <         * die = yes;
459 <         * rehash = yes;
460 <         *
461 <         * or in a flags statement i.e.
462 <         * flags = die, rehash;
463 <         *
464 <         * You can also negate a flag with ~ i.e.
465 <         * flags = ~remote;
466 <         *
464 >         * module       - allows MODULE
465 >         * global_kill  - allows remote users to be /KILL'd
466 >         * remote       - allows remote SQUIT and CONNECT
467 >         * remoteban    - allows remote KLINE/UNKLINE
468 >         * dline        - allows DLINE
469 >         * undline      - allows UNDLINE
470 >         * kline        - allows KILL and KLINE
471 >         * unkline      - allows UNKLINE
472 >         * gline        - allows GLINE
473 >         * xline        - allows XLINE
474 >         * globops      - allows GLOBOPS
475 >         * operwall     - allows OPERWALL
476 >         * nick_changes - allows oper to see nickchanges via usermode +n
477 >         * rehash       - allows oper to REHASH config
478 >         * die          - allows DIE
479 >         * restart      - allows RESTART
480 >         * set          - allows SET
481 >         * admin        - gives admin privileges. admins for example,
482 >         *                may see the real IP addresses of servers.
483           */
484 <        flags = global_kill, remote, kline, unkline, xline,
485 <                die, rehash, nick_changes, admin, operwall;
484 >        flags = global_kill, remote, kline, unkline, xline, globops, restart,
485 >                die, rehash, nick_changes, admin, operwall, module;
486 > };
487 >
488 > /*
489 > * service {}: specifies what server may act as a network service
490 > *
491 > * NOTE: it is absolutely important that every single server on the network
492 > *       has the same service{} block.
493 > */
494 > service {
495 >        name = "service.someserver";
496 >        name = "stats.someserver";
497   };
498  
499   /*
500 < * connect {}:  controls servers we connect to (OLD C:, N:, H:, L:)
500 > * connect {}:  controls servers we connect to
501   */
502   connect {
503          /* name: the name of the server */
# Line 517 | Line 544 | connect {
544           */
545   #       leaf_mask = "*.uk";
546  
520        /* fakename: the servername we pretend to be when we connect */
521 #       fakename = "*.arpa";
522
547          /* class: the class this server is in */
548          class = "server";
549  
550          /*
551 <         * autoconn:    controls whether we autoconnect to this server or not,
552 <         *              dependent on class limits.  By default, this is disabled.
553 <         * compressed:  controls whether traffic is compressed via ziplinks.
554 <         *              By default, this is disabled
555 <         * cryptlink:   enable full encryption for all data passing between our
556 <         *              server and this link and rsa authentication.
557 <         * burst_away:  This will send the /away string that users have set
558 <         *              on the server burst.  Note this can be a lot of data
559 <         *              and slow down your server burst.
560 <         * topicburst:  Send topics to this server during channel burst.  Works
537 <         *              only if the server we are connecting to is capable
538 <         *              of TBURST/TB.
551 >         * ssl_cipher_list:
552 >         *
553 >         * List of ciphers that the server we are connecting to must support.
554 >         * If the server isn't capable of any cipher listed below, the
555 >         * connection will simply be rejected.
556 >         * Can be used to enforce stronger ciphers, even though this option
557 >         * is not necessarily required to establish a SSL/TLS connection.
558 >         *
559 >         * Multiple ciphers are separated by colons. The order of preference
560 >         * is from left to right.
561           */
562 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
541 < };
542 <
543 < connect {
544 <        name = "encrypted.auth.example";
545 <        host = "some.host.somewhere";
546 <        port = 6667;
547 <
548 <        flags = cryptlink;
562 >        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
563  
564          /*
565 <         * rsa_public_key_file: the path to the public keyfile of the server.
566 <         * Used instead of passwords.
565 >         * autoconn   - controls whether we autoconnect to this server or not,
566 >         *              dependent on class limits. By default, this is disabled.
567 >         * ssl        - Initiates a TLS/SSL connection.
568           */
569 <        rsa_public_key_file = "etc/remote.server.keyfile";
555 <
556 <        /*
557 <         * cipher preference: set the preferred cipher for this link
558 <         *
559 <         * Available ciphers are:
560 <         *      BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128
561 <         *      RC5.12/128 RC5.8/128 3DES/168 DES/56
562 <         *
563 <         * NOTE:  Some ciphers may not be supported by your OpenSSL.
564 <         *        Check the output from 'configure' for available ciphers.
565 <         *
566 <         * NOTE2: To help you decide what cipher to use, tools/encspeed
567 <         *        will show you approximately how fast each cipher is.
568 <         *        However, blowfish is fast and secure, and is probably
569 <         *        a good default for most situations.
570 <         *
571 <         * NOTE3: Default if none is set is BF/128
572 <         *
573 <         * The cipher *MUST* be the same in both directions.  If you
574 <         * set a cipher preference, your uplink must set the same cipher,
575 <         * else it will not link.
576 <         */
577 < #       cipher_preference = "BF/168";
569 > #       flags = autoconn, ssl;
570   };
571  
572 < /*
573 < * NOTE: Don't add an extra 'name=' entry if you use
582 < * the connect "name"{} feature
583 < */
584 < connect "ipv6.some.server" {
572 > connect {
573 >        name = "ipv6.some.server";
574          host = "3ffd:dead:beef::1";
575          send_password = "password";
576          accept_password = "password";
# Line 597 | Line 586 | connect "ipv6.some.server" {
586  
587   /*
588   * cluster {}:  servers that share klines/unkline/xline/unxline/resv/unresv/locops
589 < * automatically (OLD hyb6 SLAVE_SERVERS)
589 > * automatically
590   */
591   cluster {
592          /*
# Line 615 | Line 604 | cluster {
604  
605          /*
606           * type: list of what to share, options are as follows:
607 <         *      kline   - share klines
608 <         *      tkline  - share temporary klines
609 <         *      unkline - share unklines
610 <         *      xline   - share xlines
611 <         *      txline  - share temporary xlines
612 <         *      unxline - share unxlines
613 <         *      resv    - share resvs
614 <         *      tresv   - share temporary resvs
615 <         *      unresv  - share unresvs
616 <         *      locops  - share locops
628 <         *      all     - share all of the above (default)
607 >         *      dline   - share dlines
608 >         *      undline - share undlines
609 >         *      kline   - share klines
610 >         *      unkline - share unklines
611 >         *      xline   - share xlines
612 >         *      unxline - share unxlines
613 >         *      resv    - share resvs
614 >         *      unresv  - share unresvs
615 >         *      locops  - share locops
616 >         *      all     - share all of the above (default)
617           */
618          type = kline, unkline, locops, xline, resv;
619   };
620  
621   /*
622 < * shared {}: users that are allowed to remote kline (OLD U:)
622 > * shared {}: users that are allowed to remote kline
623   *
624   * NOTE: This can be effectively used for remote klines.
625   *       Please note that there is no password authentication
# Line 654 | Line 642 | shared {
642  
643          /*
644           * type: list of what to share, options are as follows:
645 <         *      kline   - allow oper/server to kline
646 <         *      tkline  - allow temporary klines
647 <         *      unkline - allow oper/server to unkline
648 <         *      xline   - allow oper/server to xline
649 <         *      txline  - allow temporary xlines
650 <         *      unxline - allow oper/server to unxline
651 <         *      resv    - allow oper/server to resv
652 <         *      tresv   - allow temporary resvs
665 <         *      unresv  - allow oper/server to unresv
645 >         *      dline   - allow oper/server to dline
646 >         *      undline - allow oper/server to undline
647 >         *      kline   - allow oper/server to kline
648 >         *      unkline - allow oper/server to unkline
649 >         *      xline   - allow oper/server to xline
650 >         *      unxline - allow oper/server to unxline
651 >         *      resv    - allow oper/server to resv
652 >         *      unresv  - allow oper/server to unresv
653           *      locops  - allow oper/server to locops - only used for servers that cluster
654 <         *      all     - allow oper/server to do all of the above (default)
654 >         *      all     - allow oper/server to do all of the above (default)
655           */
656          type = kline, unkline, resv;
657   };
658  
659   /*
660 < * kill {}:  users that are not allowed to connect (OLD K:)
660 > * kill {}:  users that are not allowed to connect
661   * Oper issued klines will be added to the specified kline config
662   */
663   kill {
# Line 698 | Line 685 | deny {
685   };
686  
687   /*
688 < * exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:)
688 > * exempt {}: IPs that are exempt from deny {} and Dlines
689   */
690   exempt {
691          ip = "192.168.0.0/16";
692   };
693  
694   /*
695 < * resv {}:  nicks and channels users may not use/join (OLD Q:)
695 > * resv {}:  nicks and channels users may not use/join
696   */
697   resv {
698          /* reason: the reason for the proceeding resv's */
699 <        reason = "There are no services on this network";
699 >        reason = "Reserved for services";
700  
701          /* resv: the nicks and channels users may not join/use */
702 <        nick = "nickserv";
703 <        nick = "chanserv";
702 >        nick = "Global";
703 >        nick = "DevNull";
704 >        nick = "BotServ";
705 >        nick = "Services";
706 >        nick = "StatServ";
707 >        nick = "HelpServ";
708 >        nick = "HostServ";
709 >        nick = "NickServ";
710 >        nick = "ChanServ";
711 >        nick = "MemoServ";
712 >        nick = "OperServ";
713          channel = "#services";
714  
715          /* resv: wildcard masks are also supported in nicks only */
# Line 736 | Line 732 | gecos {
732   };
733  
734   gecos {
739        name = "*http*";
740        reason = "Spambot";
741 };
742
743 gecos {
735          name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$";
736  
737          /*
# Line 763 | Line 754 | channel {
754           *   3 | mirc color
755           *  15 | plain text
756           *  22 | reverse
757 +         *  29 | italic
758           *  31 | underline
759           * 160 | non-breaking space
760           */
# Line 775 | Line 767 | channel {
767          restrict_channels = no;
768  
769          /*
778         * disable_local_channels: prevent users from joining &channels.
779         */
780        disable_local_channels = no;
781
782        /*
783         * use_invex: Enable/disable channel mode +I, a n!u@h list of masks
784         * that can join a +i channel without an invite.
785         */
786        use_invex = yes;
787
788        /*
789         * use_except: Enable/disable channel mode +e, a n!u@h list of masks
790         * that can join a channel through a ban (+b).
791         */
792        use_except = yes;
793
794        /*
795         * use_knock: Allows users to request an invite to a channel that
796         * is locked somehow (+ikl).  If the channel is +p or you are banned
797         * the knock will not be sent.
798         */
799        use_knock = yes;
800
801        /*
770           * knock_delay: The amount of time a user must wait between issuing
771           * the knock command.
772           */
# Line 811 | Line 779 | channel {
779          knock_delay_channel = 1 minute;
780  
781          /*
782 <         * burst_topicwho: enable sending of who set topic on topicburst
783 <         * default is yes
782 >         * max_chans_per_user: The maximum number of channels a user can
783 >         * join/be on.
784           */
785 <        burst_topicwho = yes;
785 >        max_chans_per_user = 25;
786  
787          /*
788 <         * max_chans_per_user: The maximum number of channels a user can
788 >         * max_chans_per_oper: The maximum number of channels an oper can
789           * join/be on.
790           */
791 <        max_chans_per_user = 25;
791 >        max_chans_per_oper = 50;
792  
793          /* quiet_on_ban: stop banned people talking in channels. */
794          quiet_on_ban = yes;
795  
796          /* max_bans: maximum number of +b/e/I modes in a channel */
797 <        max_bans = 25;
797 >        max_bans = 100;
798  
799          /*
800           * how many joins in how many seconds constitute a flood, use 0 to
# Line 887 | Line 855 | serverhide {
855          hidden = no;
856  
857          /*
890         * disable_hidden: prevent servers hiding themselves from a
891         * /links output.
892         */
893        disable_hidden = no;
894
895        /*
858           * hide_servers: hide remote servernames everywhere and instead use
859           * hidden_name and network_desc.
860           */
# Line 913 | Line 875 | serverhide {
875           * logfiles.
876           *
877           * We recommend you leave this disabled, and just take care with who you
878 <         * give admin=yes; to.
878 >         * give administrator privileges to.
879           */
880          hide_server_ips = no;
881   };
# Line 923 | Line 885 | serverhide {
885   * compiled in options in config.h.  The general block is read at start time.
886   */
887   general {
888 +        /* services_name: servername of nick/channel services */
889 +        services_name = "service.someserver";
890 +
891          /* max_watch: maximum WATCH entries a client can have. */
892          max_watch = 60;
893  
894 +        /* gline_enable: enable glines, network wide temp klines */
895 +        gline_enable = yes;
896 +
897 +        /*
898 +         * gline_duration: the amount of time a gline will remain on your
899 +         * server before expiring
900 +         */
901 +        gline_duration = 1 day;
902 +
903 +        /*
904 +         * gline_request_duration:  how long a pending G-line can be around.
905 +         * 10 minutes should be plenty
906 +         */
907 +        gline_request_duration = 10 minutes;
908 +
909          /*
910           * gline_min_cidr: the minimum required length of a CIDR bitmask
911           * for IPv4 based glines
# Line 944 | Line 924 | general {
924          invisible_on_connect = yes;
925  
926          /*
947         * If you don't explicitly specify burst_away in your connect blocks, then
948         * they will default to the burst_away value below.
949         */
950        burst_away = no;
951
952        /*
953         * Show "actually using host <ip>" on /whois when possible.
954         */
955        use_whois_actually = yes;
956
957        /*
927           * Max time from the nickname change that still causes KILL
928 <         * automatically to switch for the current nick of that user. (seconds)
928 >         * automatically to switch for the current nick of that user.
929           */
930 <        kill_chase_time_limit = 90;
930 >        kill_chase_time_limit = 90 seconds;
931  
932          /*
933 <         * If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed
934 <         * users in /trace etc.  If this is defined they will be shown a masked IP.
933 >         * If hide_spoof_ips is disabled, opers will be allowed to see the real
934 >         * IP of spoofed users in /trace etc. If this is defined they will be
935 >         * shown a masked IP.
936           */
937          hide_spoof_ips = yes;
938  
# Line 1009 | Line 979 | general {
979          dots_in_ident = 2;
980  
981          /*
1012         * dot_in_ip6_addr: ircd-hybrid-6.0 and earlier will disallow hosts
1013         * without a '.' in them.  This will add one to the end.  Only needed
1014         * for older servers.
1015         */
1016        dot_in_ip6_addr = no;
1017
1018        /*
982           * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
983           * placed via the server.  klines hand placed are exempt from limits.
984           * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
# Line 1053 | Line 1016 | general {
1016          ts_max_delta = 5 minutes;
1017  
1018          /*
1056         * kline_with_reason: show the user the reason why they are k/d/glined
1057         * on exit.  May give away who set k/dline when set via tcm.
1058         */
1059        kline_with_reason = yes;
1060
1061        /*
1062         * kline_reason: show this message to users on channel
1063         * instead of the oper reason.
1064         */
1065        kline_reason = "Connection closed";
1066
1067        /*
1068         * reject_hold_time: wait this amount of time before disconnecting
1069         * a rejected client. Use 0 to disable.
1070         */
1071        reject_hold_time = 0;
1072
1073        /*
1019           * warn_no_nline: warn opers about servers that try to connect but
1020           * we don't have a connect {} block for.  Twits with misconfigured
1021           * servers can get really annoying with this enabled.
# Line 1127 | Line 1072 | general {
1072  
1073          /*
1074           * pace_wait: time between more intensive commands
1075 <         * (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1075 >         * (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1076           */
1077          pace_wait = 10 seconds;
1078  
# Line 1155 | Line 1100 | general {
1100          /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1101          oper_pass_resv = yes;
1102  
1158        /*
1159         * idletime: the maximum amount of time a user may idle before
1160         * they are disconnected
1161         */
1162        idletime = 0;
1163
1103          /* REMOVE ME.  The following line checks you've been reading. */
1104          havent_read_conf = 1;
1105  
# Line 1171 | Line 1110 | general {
1110          max_targets = 4;
1111  
1112          /*
1174         * client_flood: maximum amount of data in a clients queue before
1175         * they are dropped for flooding.
1176         */
1177        client_flood = 2560 bytes;
1178
1179        /*
1113           * message_locale: the default message locale
1114           * Use "standard" for the compiled in defaults.
1115           * To install the translated messages, go into messages/ in the
# Line 1192 | Line 1125 | general {
1125           * +C - cconn_full   - Client connection/quit notices full
1126           * +D - deaf         - Don't receive channel messages
1127           * +d - debug        - See debugging notices
1128 <         * +f - full         - See I: line full notices
1128 >         * +f - full         - See auth{} block full notices
1129           * +G - softcallerid - Server Side Ignore for users not on your channels
1130           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1131 +         * +H - hidden       - Hides operator status to other users
1132           * +i - invisible    - Not shown in NAMES or WHO unless you share a
1133           *                     a channel
1134 +         * +j - rej          - See rejected client notices
1135           * +k - skill        - See server generated KILL messages
1136           * +l - locops       - See LOCOPS messages
1137           * +n - nchange      - See client nick changes
1203         * +r - rej          - See rejected client notices
1138           * +s - servnotice   - See general server notices
1139           * +u - unauth       - See unauthorized client notices
1140           * +w - wallop       - See server generated WALLOPS
# Line 1210 | Line 1144 | general {
1144           */
1145  
1146          /* oper_only_umodes: usermodes only opers may set */
1147 <        oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
1147 >        oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill,
1148                             nchange, rej, spy, external, operwall,
1149                             locops, unauth;
1150  
# Line 1218 | Line 1152 | general {
1152          oper_umodes = bots, locops, servnotice, operwall, wallop;
1153  
1154          /*
1221         * servlink_path: path to 'servlink' program used by ircd to handle
1222         * encrypted/compressed server <-> server links.
1223         *
1224         * only define if servlink is not in same directory as ircd itself.
1225         */
1226        #servlink_path = "/usr/local/ircd/bin/servlink";
1227
1228        /*
1229         * default_cipher_preference: default cipher to use for cryptlink when none is
1230         * specified in connect block.
1231         */
1232        #default_cipher_preference = "BF/168";
1233
1234        /*
1155           * use_egd: if your system does not have *random devices yet you
1156           * want to use OpenSSL and encrypted links, enable this.  Beware -
1157           * EGD is *very* CPU intensive when gathering data for its pool
# Line 1244 | Line 1164 | general {
1164           */
1165   #       egdpool_path = "/var/run/egd-pool";
1166  
1247
1248        /*
1249         * compression_level: level of compression for compressed links between
1250         * servers.  
1251         *
1252         * values are between: 1 (least compression, fastest)
1253         *                and: 9 (most compression, slowest).
1254         */
1255 #       compression_level = 6;
1256
1167          /*
1168           * throttle_time: the minimum amount of time between connections from
1169           * the same ip.  exempt {} blocks are excluded from this throttling.
# Line 1263 | Line 1173 | general {
1173          throttle_time = 10;
1174   };
1175  
1266 glines {
1267        /* enable: enable glines, network wide temp klines */
1268        enable = yes;
1269
1270        /*
1271         * duration: the amount of time a gline will remain on your
1272         * server before expiring
1273         */
1274        duration = 1 day;
1275
1276        /*
1277         * logging: which types of rules you want to log when triggered
1278         * (choose reject or block)
1279         */
1280        logging = reject, block;
1281
1282        /*
1283         * NOTE: gline ACLs can cause a desync of glines throughout the
1284         * network, meaning some servers may have a gline triggered, and
1285         * others may not. Also, you only need insert rules for glines
1286         * that you want to block and/or reject. If you want to accept and
1287         * propagate the gline, do NOT put a rule for it.
1288         */
1289
1290        /* user@host for rule to apply to */
1291        user = "god@I.still.hate.packets";
1292        /* server for rule to apply to */
1293        name = "hades.arpa";
1294
1295        /*
1296         * action: action to take when a matching gline is found. options are:
1297         *  reject      - do not apply the gline locally
1298         *  block       - do not propagate the gline
1299         */
1300        action = reject, block;
1301
1302        user = "god@*";
1303        name = "*";
1304        action = block;
1305 };
1306
1176   modules {
1177          /*
1178           * path: other paths to search for modules specified below
1179 <         * and in /modload.
1179 >         * and in "/module load".
1180           */
1181          path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1182          path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
# Line 1315 | Line 1184 | modules {
1184          /* module: the name of a module to load on startup/rehash */
1185          #module = "some_module.la";
1186   };
1187 +
1188 + /*
1189 + * log {}:  contains information about logfiles.
1190 + */
1191 + log {
1192 +        /* Do you want to enable logging to ircd.log? */
1193 +        use_logging = yes;
1194 +
1195 +        file {
1196 +                type = oper;
1197 +                name = "/home/ircd/var/log/oper.log";
1198 +                size = unlimited;
1199 +        };
1200 +
1201 +        file {
1202 +                type = user;
1203 +                name = "/home/ircd/var/log/user.log";
1204 +                size = 50 megabytes;
1205 +        };
1206 +
1207 +        file {
1208 +                type = kill;
1209 +                name = "/home/ircd/var/log/kill.log";
1210 +                size = 50 megabytes;
1211 +        };
1212 +
1213 +        file {
1214 +                type = kline;
1215 +                name = "/home/ircd/var/log/kline.log";
1216 +                size = 50 megabytes;
1217 +        };
1218 +
1219 +        file {
1220 +                type = dline;
1221 +                name = "/home/ircd/var/log/dline.log";
1222 +                size = 50 megabytes;
1223 +        };
1224 +
1225 +        file {
1226 +                type = gline;
1227 +                name = "/home/ircd/var/log/gline.log";
1228 +                size = 50 megabytes;
1229 +        };
1230 +
1231 +        file {
1232 +                type = debug;
1233 +                name = "/home/ircd/var/log/debug.log";
1234 +                size = 50 megabytes;
1235 +        };
1236 + };

Diff Legend

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