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

Comparing:
ircd-hybrid-7.2/etc/example.conf.in (file contents), Revision 954 by michael, Sun Jul 26 22:14:38 2009 UTC vs.
ircd-hybrid-8/doc/example.conf (file contents), Revision 1522 by michael, Sun Sep 9 10:51:44 2012 UTC

# Line 1 | Line 1
1 < /* doc/example.conf - ircd-hybrid-7 Example configuration file
2 < * Copyright (C) 2000-2006 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
# 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          /*
46 <         * name: the name of our server.  This cannot be changed at runtime.
46 >         * name: the name of this server.  This cannot be changed at runtime.
47           */
48          name = "hades.arpa";
49  
# Line 76 | Line 76 | serverinfo {
76  
77          /*
78           * vhost: the IP to bind to when we connect outward to ipv4 servers.
79 <         * This should be an ipv4 IP only, or "* for INADDR_ANY.
79 >         * This should be an ipv4 IP only, or "*" for INADDR_ANY.
80           */
81          #vhost = "192.169.0.1";
82  
83          /*
84           * vhost6: the IP to bind to when we connect outward to ipv6 servers.
85 <         * This should be an ipv6 IP only, or "* for INADDR_ANY.
85 >         * This should be an ipv6 IP only, or "*" for INADDR_ANY.
86           */
87          #vhost6 = "3ffe:80e8:546::2";
88  
# Line 96 | Line 96 | serverinfo {
96           * Example command to store a 2048 bit RSA keypair in
97           * rsa.key, and the public key in rsa.pub:
98           *
99 <         *      openssl genrsa -out rsa.key 2048
99 >         *      openssl genrsa -out rsa.key 2048
100           *      openssl rsa -in rsa.key -pubout -out rsa.pub
101           *      chown <ircd-user>.<ircd.group> rsa.key rsa.pub
102           *      chmod 0600 rsa.key
# Line 106 | Line 106 | serverinfo {
106  
107          /*
108           * ssl_certificate_file: the path to the file containing our
109 <         * ssl certificate
110 <         * for encrypted client connection.
109 >         * ssl certificate for encrypted client connection.
110           *
111           * This assumes your private RSA key is stored in rsa.key. You
112           * MUST have an RSA key in order to generate the certificate
# Line 124 | Line 123 | serverinfo {
123           *      E-mail: you@domain.com
124           */
125          #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
126 +
127 +        /*
128 +         * ssl_dh_param_file:
129 +         *
130 +         * Path to the PEM encoded Diffie-Hellman parameter file.
131 +         * DH parameters are strictly required when using ciphers
132 +         * with EDH (ephemeral Diffie-Hellman) key exchange.
133 +         *
134 +         * A DH parameter file can be created by running:
135 +         *
136 +         *      openssl dhparam -out dhparam.pem 1024
137 +         *
138 +         * Further information regarding specific OpenSSL dhparam
139 +         * command-line options can be found in the OpenSSL manual.
140 +         */
141 +        #ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
142 +
143 +        /*
144 +         * ssl_cipher_list:
145 +         *
146 +         * List of ciphers that are supported by _this_ server. Can be used to enforce
147 +         * specific ciphers for incoming SSL/TLS connections.
148 +         * If a client (which also includes incoming server connections) isn't capable
149 +         * of any cipher listed below, the connection will simply be rejected.
150 +         *
151 +         * A list of supported ciphers can be obtained by running:
152 +         *
153 +         *      openssl ciphers -ssl3 -tls1 -v
154 +         *
155 +         * Multiple ciphers are separated by colons. The order of preference is from
156 +         * left to right.
157 +         */
158 +        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
159 +
160 +        /*
161 +         * ssl_server_method:
162 +         * ssl_client_method:
163 +         *
164 +         * SSL/TLS methods we provide for incoming (server method) and
165 +         * outgoing (client method) SSL/TLS connections.
166 +         * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
167 +         */
168 +        #ssl_server_method = tlsv1, sslv3;
169 +        #ssl_client_method = tlsv1;
170   };
171  
172   /*
173 < * admin {}:  contains admin information about the server. (OLD A:)
173 > * admin {}:  contains admin information about the server
174   */
175   admin {
176          name = "Smurf target";
# Line 136 | Line 179 | admin {
179   };
180  
181   /*
182 < * log {}:  contains information about logfiles.
140 < */
141 < log {
142 <        /* Do you want to enable logging to ircd.log? */
143 <        use_logging = yes;
144 <
145 <        /*
146 <         * logfiles: the logfiles to use for user connects, /oper uses,
147 <         * and failed /oper.  These files must exist for logging to be used.
148 <         */
149 <        fname_userlog = "logs/userlog";
150 <        fname_operlog = "logs/operlog";
151 <        fname_killlog = "logs/kill";
152 <        fname_klinelog = "logs/kline";
153 <        fname_glinelog = "logs/gline";
154 <
155 <        /*
156 <         * log_level: the amount of detail to log in ircd.log.  The
157 <         * higher, the more information is logged.  May be changed
158 <         * once the server is running via /quote SET LOG.  Either:
159 <         * L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG
160 <         */
161 <        log_level = L_INFO;
162 < };
163 <
164 < /*
165 < * class {}:  contains information about classes for users (OLD Y:)
182 > * class {}:  contains information about classes for users
183   */
184   class {
185 <        /* name: the name of the class.  classes are text now */
185 >        /* name: the name of the class */
186          name = "users";
187  
188          /*
# Line 209 | Line 226 | class {
226           * they are dropped.
227           */
228          sendq = 100 kbytes;
229 +
230 +        /*
231 +         * recvq: maximum amount of data in a clients queue before they
232 +         * are dropped for flooding. Defaults to 2560 if the chosen
233 +         * value isn't within the range of 512 to 8000.
234 +         */
235 +        recvq = 2560 bytes;
236   };
237  
238   class {
# Line 216 | Line 240 | class {
240          ping_time = 90 seconds;
241          number_per_ip = 10;
242          max_number = 100;
243 <        sendq = 100kbytes;
243 >        sendq = 100 kbytes;
244   };
245  
246   class {
# Line 243 | Line 267 | class {
267   };
268  
269   /*
270 < * listen {}:  contains information about the ports ircd listens on (OLD P:)
270 > * listen {}:  contains information about the ports ircd listens on
271   */
272   listen {
273          /*
# Line 266 | Line 290 | listen {
290           *
291           *  ssl    - Port is for SSL client connections only
292           *  server - Only server connections are permitted
293 <         *  hidden - Port is hidden from /stats P
293 >         *  hidden - Port is hidden from /stats P, unless you're an admin
294           */
295          flags = hidden, ssl;
296          host = "192.168.0.1";
# Line 284 | Line 308 | listen {
308   };
309  
310   /*
311 < * auth {}:  allow users to connect to the ircd (OLD I:)
311 > * auth {}:  allow users to connect to the ircd
312   */
313   auth {
314          /*
# Line 313 | Line 337 | auth {
337          class = "opers";
338  
339          /*
340 <         * need_password: don't allow users who haven't supplied the correct
341 <         *                password to connect using another auth{} block
342 <         *                ('&' prefix on /stats I if disabled)
343 <         * need_ident:    require the user to have identd to connect ('+' prefix on /stats I)
344 <         * spoof_notice:  enable spoofing notification to admins
345 <         * exceed_limit:  allow a user to exceed class limits ('>' prefix on /stats I)
346 <         * kline_exempt:  exempt this user from k/glines ('^' prefix on /stats I)
347 <         * gline_exempt:  exempt this user from glines ('_' prefix on /stats I)
348 <         * resv_exempt:   exempt this user from resvs ('$' prefix on /stats I)
349 <         * no_tilde:      remove ~ from a user with no ident ('-' prefix on /stats I)
350 <         * can_flood:     allow this user to exceed flood limits ('|' prefix on /stats I)
327 <         * can_idle:      exempt this user from idle restrictions ('<' prefix on /stats I)
340 >         * need_password - don't allow users who haven't supplied the correct
341 >         *                 password to connect using another auth{} block
342 >         *                 ('&' prefix on /stats I if disabled)
343 >         * need_ident    - require the user to have identd to connect ('+' prefix on /stats I)
344 >         * spoof_notice  - enable spoofing notification to admins
345 >         * exceed_limit  - allow a user to exceed class limits ('>' prefix on /stats I)
346 >         * kline_exempt  - exempt this user from k/glines ('^' prefix on /stats I)
347 >         * gline_exempt  - exempt this user from glines ('_' prefix on /stats I)
348 >         * resv_exempt   - exempt this user from resvs ('$' prefix on /stats I)
349 >         * no_tilde      - remove ~ from a user with no ident ('-' prefix on /stats I)
350 >         * can_flood     - allow this user to exceed flood limits ('|' prefix on /stats I)
351           */
352          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
353 <                gline_exempt, resv_exempt, no_tilde, can_flood, can_idle;
353 >                gline_exempt, resv_exempt, no_tilde, can_flood;
354   };
355  
356   auth {
# Line 352 | Line 375 | auth {
375   };
376  
377   /*
378 < * operator {}:  defines ircd operators. (OLD O:)
378 > * operator {}:  defines ircd operators
379   *
380   * ircd-hybrid no longer supports local operators, privileges are
381   * controlled via flags.
382   */
383   operator {
384          /* name: the name of the oper */
362        /* NOTE: operator "opername"{} is also supported */
385          name = "god";
386  
387          /*
388 <         * user: the user@host required for this operator.  CIDR is not
389 <         * supported.  Multiple user="" lines are supported.
388 >         * user: the user@host required for this operator. Multiple
389 >         * user="" lines are supported.
390           */
391 <        user = "*god@*";
392 <        user = "*@127.0.0.1";
391 >        user = "*god@192.168.0.0/16";
392 >        user = "*@127.0.0.0/8";
393  
394          /*
395           * password: the password required to oper.  By default this will
396 <         * need to be encrypted using 'mkpasswd'.  MD5 is supported.
396 >         * need to be encrypted by using the provided mkpasswd tool.
397 >         * Several password hash algorithms are available depending
398 >         * on your system's crypt() implementation. For example, a modern
399 >         * glibc already has support for SHA-256/512, and MD5 encryption
400 >         * algorithms.
401           */
402 <        password = "etcnjl8juSU1E";
402 >        password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
403  
404          /*
405           * encrypted: controls whether the oper password above has been
406 <         * encrypted.  (OLD CRYPT_OPER_PASSWORD now optional per operator)
406 >         * encrypted.
407           */
408          encrypted = yes;
409  
# Line 401 | Line 427 | operator {
427           * +C - cconn_full   - Client connection/quit notices full
428           * +D - deaf         - Don't receive channel messages
429           * +d - debug        - See debugging notices
430 <         * +f - full         - See I: line full notices
430 >         * +f - full         - See auth{} block full notices
431           * +G - softcallerid - Server Side Ignore for users not on your channels
432           * +g - callerid     - Server Side Ignore (for privmsgs etc)
433 +         * +H - hidden       - Hides operator status to other users
434           * +i - invisible    - Not shown in NAMES or WHO unless you share a
435           *                     a channel
436 +         * +j - rej          - See rejected client notices
437           * +k - skill        - See server generated KILL messages
438           * +l - locops       - See LOCOPS messages
439           * +n - nchange      - See client nick changes
412         * +r - rej          - See rejected client notices
440           * +s - servnotice   - See general server notices
441           * +u - unauth       - See unauthorized client notices
442           * +w - wallop       - See server generated WALLOPS
# Line 421 | Line 448 | operator {
448  
449          /*
450           * privileges: controls the activities and commands an oper is
451 <         * allowed to do on the server.  All options default to no.
451 >         * allowed to do on the server. All options default to no.
452           * Available options:
453           *
454 <         * global_kill:  allows remote users to be /KILL'd (OLD 'O' flag)
455 <         * remote:       allows remote SQUIT and CONNECT   (OLD 'R' flag)
456 <         * remoteban:    allows remote KLINE/UNKLINE
457 <         * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
458 <         * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
459 <         * gline:        allows GLINE                      (OLD 'G' flag)
460 <         * xline:        allows XLINE                      (OLD 'X' flag)
461 <         * operwall:     allows OPERWALL
462 <         * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
463 <         *               via usermode +n
464 <         * rehash:       allows oper to REHASH config      (OLD 'H' flag)
465 <         * die:          allows DIE and RESTART            (OLD 'D' flag)
466 <         * admin:        gives admin privileges.  admins
467 <         *               may (un)load modules and see the
468 <         *               real IPs of servers.
469 <         * hidden_admin: same as 'admin', but noone can recognize you as
470 <         *               being an admin
471 <         * hidden_oper:  not shown in /stats p (except for other operators)
472 <         */
473 <        /* You can either use
474 <         * die = yes;
475 <         * rehash = yes;
476 <         *
477 <         * or in a flags statement i.e.
478 <         * flags = die, rehash;
479 <         *
480 <         * You can also negate a flag with ~ i.e.
454 <         * flags = ~remote;
455 <         *
456 <         */
457 <        flags = global_kill, remote, kline, unkline, xline,
458 <                die, rehash, nick_changes, admin, operwall;
454 >         * module       - allows MODULE
455 >         * global_kill  - allows remote users to be /KILL'd
456 >         * remote       - allows remote SQUIT and CONNECT
457 >         * remoteban    - allows remote KLINE/UNKLINE
458 >         * dline        - allows DLINE
459 >         * undline      - allows UNDLINE
460 >         * kline        - allows KILL and KLINE
461 >         * unkline      - allows UNKLINE
462 >         * gline        - allows GLINE
463 >         * xline        - allows XLINE
464 >         * globops      - allows GLOBOPS
465 >         * operwall     - allows OPERWALL
466 >         * nick_changes - allows oper to see nickchanges via usermode +n
467 >         * rehash       - allows oper to REHASH config
468 >         * die          - allows DIE
469 >         * restart      - allows RESTART
470 >         * set          - allows SET
471 >         * admin        - gives admin privileges. admins for example,
472 >         *                may see the real IP addresses of servers.
473 >         */
474 >        flags = global_kill, remote, kline, unkline, xline, globops, restart,
475 >                die, rehash, nick_changes, admin, operwall, module;
476 > };
477 >
478 > service {
479 >        name = "service.someserver";
480 >        name = "stats.someserver";
481   };
482  
483   /*
484 < * connect {}:  controls servers we connect to (OLD C:, N:, H:, L:)
484 > * connect {}:  controls servers we connect to
485   */
486   connect {
487          /* name: the name of the server */
# Line 487 | Line 509 | connect {
509  
510          /*
511           * encrypted: controls whether the accept_password above has been
512 <         * encrypted.  (OLD CRYPT_LINK_PASSWORD now optional per connect)
512 >         * encrypted.
513           */
514          encrypted = no;
515  
# Line 506 | Line 528 | connect {
528           */
529   #       leaf_mask = "*.uk";
530  
509        /* fakename: the servername we pretend to be when we connect */
510 #       fakename = "*.arpa";
511
531          /* class: the class this server is in */
532          class = "server";
533  
534 <        /*
516 <         * autoconn:    controls whether we autoconnect to this server or not,
517 <         *              dependent on class limits.  By default, this is disabled.
518 <         * compressed:  controls whether traffic is compressed via ziplinks.
519 <         *              By default, this is disabled
520 <         * cryptlink:   enable full encryption for all data passing between our
521 <         *              server and this link and rsa authentication.
522 <         * burst_away:  This will send the /away string that users have set
523 <         *              on the server burst.  Note this can be a lot of data
524 <         *              and slow down your server burst.
525 <         * topicburst:  Send topics to this server during channel burst.  Works
526 <         *              only if the server we are connecting to is capable
527 <         *              of TBURST/TB.
528 <         */
529 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
530 < };
531 <
532 < connect {
533 <        name = "encrypted.auth.example";
534 <        host = "some.host.somewhere";
535 <        port = 6667;
536 <
537 <        flags = cryptlink;
534 >        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
535  
536          /*
537 <         * rsa_public_key_file: the path to the public keyfile of the server.
538 <         * Used instead of passwords.
537 >         * autoconn   - controls whether we autoconnect to this server or not,
538 >         *              dependent on class limits. By default, this is disabled.
539 >         * ssl        - Initiates a TLS/SSL connection.
540           */
541 <        rsa_public_key_file = "etc/remote.server.keyfile";
544 <
545 <        /*
546 <         * cipher preference: set the preferred cipher for this link
547 <         *
548 <         * Available ciphers are:
549 <         *      BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128
550 <         *      RC5.12/128 RC5.8/128 3DES/168 DES/56
551 <         *
552 <         * NOTE:  Some ciphers may not be supported by your OpenSSL.
553 <         *        Check the output from 'configure' for available ciphers.
554 <         *
555 <         * NOTE2: To help you decide what cipher to use, tools/encspeed
556 <         *        will show you approximately how fast each cipher is.
557 <         *        However, blowfish is fast and secure, and is probably
558 <         *        a good default for most situations.
559 <         *
560 <         * NOTE3: Default if none is set is BF/128
561 <         *
562 <         * The cipher *MUST* be the same in both directions.  If you
563 <         * set a cipher preference, your uplink must set the same cipher,
564 <         * else it will not link.
565 <         */
566 < #       cipher_preference = "BF/168";
541 > #       flags = autoconn, ssl;
542   };
543  
544 < /*
545 < * NOTE: Don't add an extra 'name=' entry if you use
571 < * the connect "name"{} feature
572 < */
573 < connect "ipv6.some.server" {
544 > connect {
545 >        name = "ipv6.some.server";
546          host = "3ffd:dead:beef::1";
547          send_password = "password";
548          accept_password = "password";
# Line 586 | Line 558 | connect "ipv6.some.server" {
558  
559   /*
560   * cluster {}:  servers that share klines/unkline/xline/unxline/resv/unresv/locops
561 < * automatically (OLD hyb6 SLAVE_SERVERS)
561 > * automatically
562   */
563   cluster {
564          /*
# Line 604 | Line 576 | cluster {
576  
577          /*
578           * type: list of what to share, options are as follows:
579 <         *      kline   - share klines
580 <         *      tkline  - share temporary klines
581 <         *      unkline - share unklines
582 <         *      xline   - share xlines
583 <         *      txline  - share temporary xlines
584 <         *      unxline - share unxlines
585 <         *      resv    - share resvs
586 <         *      tresv   - share temporary resvs
587 <         *      unresv  - share unresvs
588 <         *      locops  - share locops
617 <         *      all     - share all of the above (default)
579 >         *      dline   - share dlines
580 >         *      undline - share undlines
581 >         *      kline   - share klines
582 >         *      unkline - share unklines
583 >         *      xline   - share xlines
584 >         *      unxline - share unxlines
585 >         *      resv    - share resvs
586 >         *      unresv  - share unresvs
587 >         *      locops  - share locops
588 >         *      all     - share all of the above (default)
589           */
590          type = kline, unkline, locops, xline, resv;
591   };
592  
593   /*
594 < * shared {}: users that are allowed to remote kline (OLD U:)
594 > * shared {}: users that are allowed to remote kline
595   *
596   * NOTE: This can be effectively used for remote klines.
597   *       Please note that there is no password authentication
# Line 643 | Line 614 | shared {
614  
615          /*
616           * type: list of what to share, options are as follows:
617 <         *      kline   - allow oper/server to kline
618 <         *      tkline  - allow temporary klines
619 <         *      unkline - allow oper/server to unkline
620 <         *      xline   - allow oper/server to xline
621 <         *      txline  - allow temporary xlines
622 <         *      unxline - allow oper/server to unxline
623 <         *      resv    - allow oper/server to resv
624 <         *      tresv   - allow temporary resvs
654 <         *      unresv  - allow oper/server to unresv
617 >         *      dline   - allow oper/server to dline
618 >         *      undline - allow oper/server to undline
619 >         *      kline   - allow oper/server to kline
620 >         *      unkline - allow oper/server to unkline
621 >         *      xline   - allow oper/server to xline
622 >         *      unxline - allow oper/server to unxline
623 >         *      resv    - allow oper/server to resv
624 >         *      unresv  - allow oper/server to unresv
625           *      locops  - allow oper/server to locops - only used for servers that cluster
626 <         *      all     - allow oper/server to do all of the above (default)
626 >         *      all     - allow oper/server to do all of the above (default)
627           */
628          type = kline, unkline, resv;
629   };
630  
631   /*
632 < * kill {}:  users that are not allowed to connect (OLD K:)
632 > * kill {}:  users that are not allowed to connect
633   * Oper issued klines will be added to the specified kline config
634   */
635   kill {
# Line 687 | Line 657 | deny {
657   };
658  
659   /*
660 < * exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:)
660 > * exempt {}: IPs that are exempt from deny {} and Dlines
661   */
662   exempt {
663          ip = "192.168.0.0/16";
664   };
665  
666   /*
667 < * resv {}:  nicks and channels users may not use/join (OLD Q:)
667 > * resv {}:  nicks and channels users may not use/join
668   */
669   resv {
670          /* reason: the reason for the proceeding resv's */
671 <        reason = "There are no services on this network";
671 >        reason = "Reserved for services";
672  
673          /* resv: the nicks and channels users may not join/use */
674 <        nick = "nickserv";
675 <        nick = "chanserv";
674 >        nick = "Global";
675 >        nick = "DevNull";
676 >        nick = "BotServ";
677 >        nick = "Services";
678 >        nick = "StatServ";
679 >        nick = "HelpServ";
680 >        nick = "HostServ";
681 >        nick = "NickServ";
682 >        nick = "ChanServ";
683 >        nick = "MemoServ";
684 >        nick = "OperServ";
685          channel = "#services";
686  
687          /* resv: wildcard masks are also supported in nicks only */
# Line 752 | Line 731 | channel {
731           *   3 | mirc color
732           *  15 | plain text
733           *  22 | reverse
734 +         *  29 | italic
735           *  31 | underline
736           * 160 | non-breaking space
737           */
# Line 764 | Line 744 | channel {
744          restrict_channels = no;
745  
746          /*
767         * disable_local_channels: prevent users from joining &channels.
768         */
769        disable_local_channels = no;
770
771        /*
772         * use_invex: Enable/disable channel mode +I, a n!u@h list of masks
773         * that can join a +i channel without an invite.
774         */
775        use_invex = yes;
776
777        /*
778         * use_except: Enable/disable channel mode +e, a n!u@h list of masks
779         * that can join a channel through a ban (+b).
780         */
781        use_except = yes;
782
783        /*
784         * use_knock: Allows users to request an invite to a channel that
785         * is locked somehow (+ikl).  If the channel is +p or you are banned
786         * the knock will not be sent.
787         */
788        use_knock = yes;
789
790        /*
747           * knock_delay: The amount of time a user must wait between issuing
748           * the knock command.
749           */
# Line 800 | Line 756 | channel {
756          knock_delay_channel = 1 minute;
757  
758          /*
759 <         * burst_topicwho: enable sending of who set topic on topicburst
760 <         * default is yes
759 >         * max_chans_per_user: The maximum number of channels a user can
760 >         * join/be on.
761           */
762 <        burst_topicwho = yes;
762 >        max_chans_per_user = 25;
763  
764          /*
765 <         * max_chans_per_user: The maximum number of channels a user can
765 >         * max_chans_per_oper: The maximum number of channels an oper can
766           * join/be on.
767           */
768 <        max_chans_per_user = 25;
768 >        max_chans_per_oper = 50;
769  
770          /* quiet_on_ban: stop banned people talking in channels. */
771          quiet_on_ban = yes;
772  
773          /* max_bans: maximum number of +b/e/I modes in a channel */
774 <        max_bans = 25;
774 >        max_bans = 100;
775  
776          /*
777           * how many joins in how many seconds constitute a flood, use 0 to
# Line 845 | Line 801 | channel {
801           */
802          default_split_server_count = 0;
803  
804 <        /* split no create: disallow users creating channels on split. */
804 >        /* no_create_on_split: disallow users creating channels on split. */
805          no_create_on_split = yes;
806  
807 <        /* split: no join: disallow users joining channels at all on a split */
807 >        /* no_join_on_split: disallow users joining channels at all on a split. */
808          no_join_on_split = no;
809   };
810  
# Line 876 | Line 832 | serverhide {
832          hidden = no;
833  
834          /*
879         * disable_hidden: prevent servers hiding themselves from a
880         * /links output.
881         */
882        disable_hidden = no;
883
884        /*
835           * hide_servers: hide remote servernames everywhere and instead use
836           * hidden_name and network_desc.
837           */
# Line 912 | Line 862 | serverhide {
862   * compiled in options in config.h.  The general block is read at start time.
863   */
864   general {
865 +        /* services_name: servername of nick/channel services */
866 +        services_name = "service.someserver";
867 +
868          /* max_watch: maximum WATCH entries a client can have. */
869 <        max_watch = 64;
869 >        max_watch = 60;
870 >
871 >        /* gline_enable: enable glines, network wide temp klines */
872 >        gline_enable = yes;
873 >
874 >        /*
875 >         * gline_duration: the amount of time a gline will remain on your
876 >         * server before expiring
877 >         */
878 >        gline_duration = 1 day;
879 >
880 >        /*
881 >         * gline_request_duration:  how long a pending G-line can be around.
882 >         * 10 minutes should be plenty
883 >         */
884 >        gline_request_duration = 10 minutes;
885  
886          /*
887           * gline_min_cidr: the minimum required length of a CIDR bitmask
# Line 933 | Line 901 | general {
901          invisible_on_connect = yes;
902  
903          /*
936         * If you don't explicitly specify burst_away in your connect blocks, then
937         * they will default to the burst_away value below.
938         */
939        burst_away = no;
940
941        /*
904           * Show "actually using host <ip>" on /whois when possible.
905           */
906          use_whois_actually = yes;
907  
908          /*
909           * Max time from the nickname change that still causes KILL
910 <         * automatically to switch for the current nick of that user. (seconds)
910 >         * automatically to switch for the current nick of that user.
911           */
912 <        kill_chase_time_limit = 90;
912 >        kill_chase_time_limit = 90 seconds;
913  
914          /*
915 <         * If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed
916 <         * users in /trace etc.  If this is defined they will be shown a masked IP.
915 >         * If hide_spoof_ips is disabled, opers will be allowed to see the real
916 >         * IP of spoofed users in /trace etc. If this is defined they will be
917 >         * shown a masked IP.
918           */
919          hide_spoof_ips = yes;
920  
# Line 998 | Line 961 | general {
961          dots_in_ident = 2;
962  
963          /*
1001         * dot_in_ip6_addr: ircd-hybrid-6.0 and earlier will disallow hosts
1002         * without a '.' in them.  This will add one to the end.  Only needed
1003         * for older servers.
1004         */
1005        dot_in_ip6_addr = no;
1006
1007        /*
964           * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
965           * placed via the server.  klines hand placed are exempt from limits.
966           * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
# Line 1116 | 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 1144 | Line 1100 | general {
1100          /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1101          oper_pass_resv = yes;
1102  
1147        /*
1148         * idletime: the maximum amount of time a user may idle before
1149         * they are disconnected
1150         */
1151        idletime = 0;
1152
1103          /* REMOVE ME.  The following line checks you've been reading. */
1104          havent_read_conf = 1;
1105  
# Line 1160 | Line 1110 | general {
1110          max_targets = 4;
1111  
1112          /*
1163         * client_flood: maximum amount of data in a clients queue before
1164         * they are dropped for flooding.
1165         */
1166        client_flood = 2560 bytes;
1167
1168        /*
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 1178 | Line 1122 | general {
1122           *
1123           * +b - bots         - See bot and drone flooding notices
1124           * +c - cconn        - Client connection/quit notices
1125 <         * +C - cconn        - Client connection/quit notices full
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
1192         * +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 1199 | 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 1207 | Line 1152 | general {
1152          oper_umodes = bots, locops, servnotice, operwall, wallop;
1153  
1154          /*
1210         * servlink_path: path to 'servlink' program used by ircd to handle
1211         * encrypted/compressed server <-> server links.
1212         *
1213         * only define if servlink is not in same directory as ircd itself.
1214         */
1215        #servlink_path = "/usr/local/ircd/bin/servlink";
1216
1217        /*
1218         * default_cipher_preference: default cipher to use for cryptlink when none is
1219         * specified in connect block.
1220         */
1221        #default_cipher_preference = "BF/168";
1222
1223        /*
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 1233 | Line 1164 | general {
1164           */
1165   #       egdpool_path = "/var/run/egd-pool";
1166  
1236
1237        /*
1238         * compression_level: level of compression for compressed links between
1239         * servers.  
1240         *
1241         * values are between: 1 (least compression, fastest)
1242         *                and: 9 (most compression, slowest).
1243         */
1244 #       compression_level = 6;
1245
1167          /*
1168           * throttle_time: the minimum amount of time between connections from
1169           * the same ip.  exempt {} blocks are excluded from this throttling.
# Line 1252 | Line 1173 | general {
1173          throttle_time = 10;
1174   };
1175  
1255 glines {
1256        /* enable: enable glines, network wide temp klines */
1257        enable = yes;
1258
1259        /*
1260         * duration: the amount of time a gline will remain on your
1261         * server before expiring
1262         */
1263        duration = 1 day;
1264
1265        /*
1266         * logging: which types of rules you want to log when triggered
1267         * (choose reject or block)
1268         */
1269        logging = reject, block;
1270
1271        /*
1272         * NOTE: gline ACLs can cause a desync of glines throughout the
1273         * network, meaning some servers may have a gline triggered, and
1274         * others may not. Also, you only need insert rules for glines
1275         * that you want to block and/or reject. If you want to accept and
1276         * propagate the gline, do NOT put a rule for it.
1277         */
1278
1279        /* user@host for rule to apply to */
1280        user = "god@I.still.hate.packets";
1281        /* server for rule to apply to */
1282        name = "hades.arpa";
1283
1284        /*
1285         * action: action to take when a matching gline is found. options are:
1286         *  reject      - do not apply the gline locally
1287         *  block       - do not propagate the gline
1288         */
1289        action = reject, block;
1290
1291        user = "god@*";
1292        name = "*";
1293        action = block;
1294 };
1295
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 = "@LIBDIR@/modules";
1182 <        path = "@LIBDIR@/modules/autoload";
1181 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1182 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1183  
1184          /* module: the name of a module to load on startup/rehash */
1185 <        #module = "some_module.so";
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)