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 1441 by michael, Wed Jun 20 19:05:27 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 +        /*
129 +         * ssl_dh_param_file:
130 +         *
131 +         * Path to the PEM encoded Diffie-Hellman parameter file.
132 +         * DH parameters are strictly required when using ciphers
133 +         * with EDH (ephemeral Diffie-Hellman) key exchange.
134 +         *
135 +         * A DH parameter file can be created by running:
136 +         *
137 +         *      openssl dhparam -out dhparam.pem 1024
138 +         *
139 +         * Further information regarding specific OpenSSL dhparam
140 +         * command-line options can be found in the OpenSSL manual.
141 +         */
142 +        #ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
143 +
144 +        /*
145 +         * ssl_cipher_list:
146 +         *
147 +         * List of ciphers that are supported by _this_ server. Can be used to enforce
148 +         * specific ciphers for incoming SSL/TLS connections.
149 +         * If a client (which also includes incoming server connections) isn't capable
150 +         * of any cipher listed below, the connection will simply be rejected.
151 +         *
152 +         * A list of supported ciphers can be obtained by running:
153 +         *
154 +         *      openssl ciphers -ssl3 -tls1 -v
155 +         *
156 +         * Multiple ciphers are separated by colons. The order of preference is from
157 +         * left to right.
158 +         */
159 +        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
160 +
161 +        /*
162 +         * ssl_server_method:
163 +         * ssl_client_method:
164 +         *
165 +         * SSL/TLS methods we provide for incoming (server method) and
166 +         * outgoing (client method) SSL/TLS connections.
167 +         * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
168 +         * SSLv2 is not suppported.
169 +         */
170 +        #ssl_server_method = tlsv1, sslv3;
171 +        #ssl_client_method = tlsv1;
172   };
173  
174   /*
175 < * admin {}:  contains admin information about the server. (OLD A:)
175 > * admin {}:  contains admin information about the server
176   */
177   admin {
178          name = "Smurf target";
# Line 136 | Line 181 | admin {
181   };
182  
183   /*
184 < * 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:)
184 > * class {}:  contains information about classes for users
185   */
186   class {
187          /* name: the name of the class.  classes are text now */
# Line 216 | Line 235 | class {
235          ping_time = 90 seconds;
236          number_per_ip = 10;
237          max_number = 100;
238 <        sendq = 100kbytes;
238 >        sendq = 100 kbytes;
239   };
240  
241   class {
# Line 243 | Line 262 | class {
262   };
263  
264   /*
265 < * listen {}:  contains information about the ports ircd listens on (OLD P:)
265 > * listen {}:  contains information about the ports ircd listens on
266   */
267   listen {
268          /*
# Line 266 | Line 285 | listen {
285           *
286           *  ssl    - Port is for SSL client connections only
287           *  server - Only server connections are permitted
288 <         *  hidden - Port is hidden from /stats P
288 >         *  hidden - Port is hidden from /stats P, unless you're an admin
289           */
290          flags = hidden, ssl;
291          host = "192.168.0.1";
# Line 284 | Line 303 | listen {
303   };
304  
305   /*
306 < * auth {}:  allow users to connect to the ircd (OLD I:)
306 > * auth {}:  allow users to connect to the ircd
307   */
308   auth {
309          /*
# Line 313 | Line 332 | auth {
332          class = "opers";
333  
334          /*
335 <         * need_password: don't allow users who haven't supplied the correct
336 <         *                password to connect using another auth{} block
337 <         *                ('&' prefix on /stats I if disabled)
338 <         * need_ident:    require the user to have identd to connect ('+' prefix on /stats I)
339 <         * spoof_notice:  enable spoofing notification to admins
340 <         * exceed_limit:  allow a user to exceed class limits ('>' prefix on /stats I)
341 <         * kline_exempt:  exempt this user from k/glines ('^' prefix on /stats I)
342 <         * gline_exempt:  exempt this user from glines ('_' prefix on /stats I)
343 <         * resv_exempt:   exempt this user from resvs ('$' prefix on /stats I)
344 <         * no_tilde:      remove ~ from a user with no ident ('-' prefix on /stats I)
345 <         * 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)
335 >         * need_password - don't allow users who haven't supplied the correct
336 >         *                 password to connect using another auth{} block
337 >         *                 ('&' prefix on /stats I if disabled)
338 >         * need_ident    - require the user to have identd to connect ('+' prefix on /stats I)
339 >         * spoof_notice  - enable spoofing notification to admins
340 >         * exceed_limit  - allow a user to exceed class limits ('>' prefix on /stats I)
341 >         * kline_exempt  - exempt this user from k/glines ('^' prefix on /stats I)
342 >         * gline_exempt  - exempt this user from glines ('_' prefix on /stats I)
343 >         * resv_exempt   - exempt this user from resvs ('$' prefix on /stats I)
344 >         * no_tilde      - remove ~ from a user with no ident ('-' prefix on /stats I)
345 >         * can_flood     - allow this user to exceed flood limits ('|' prefix on /stats I)
346           */
347          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
348 <                gline_exempt, resv_exempt, no_tilde, can_flood, can_idle;
348 >                gline_exempt, resv_exempt, no_tilde, can_flood;
349   };
350  
351   auth {
# Line 352 | Line 370 | auth {
370   };
371  
372   /*
373 < * operator {}:  defines ircd operators. (OLD O:)
373 > * operator {}:  defines ircd operators
374   *
375   * ircd-hybrid no longer supports local operators, privileges are
376   * controlled via flags.
377   */
378   operator {
379          /* name: the name of the oper */
362        /* NOTE: operator "opername"{} is also supported */
380          name = "god";
381  
382          /*
383 <         * user: the user@host required for this operator.  CIDR is not
384 <         * supported.  Multiple user="" lines are supported.
383 >         * user: the user@host required for this operator. Multiple
384 >         * user="" lines are supported.
385           */
386 <        user = "*god@*";
387 <        user = "*@127.0.0.1";
386 >        user = "*god@192.168.0.0/16";
387 >        user = "*@127.0.0.0/8";
388  
389          /*
390           * password: the password required to oper.  By default this will
391 <         * need to be encrypted using 'mkpasswd'.  MD5 is supported.
391 >         * need to be encrypted by using the provided mkpasswd tool.
392 >         * Several password hash algorithms are available depending
393 >         * on your system's crypt() implementation. For example, a modern
394 >         * glibc already has support for SHA-256/512, and MD5 encryption
395 >         * algorithms.
396           */
397 <        password = "etcnjl8juSU1E";
397 >        password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
398  
399          /*
400           * encrypted: controls whether the oper password above has been
401 <         * encrypted.  (OLD CRYPT_OPER_PASSWORD now optional per operator)
401 >         * encrypted.
402           */
403          encrypted = yes;
404  
# Line 401 | Line 422 | operator {
422           * +C - cconn_full   - Client connection/quit notices full
423           * +D - deaf         - Don't receive channel messages
424           * +d - debug        - See debugging notices
425 <         * +f - full         - See I: line full notices
425 >         * +f - full         - See auth{} block full notices
426           * +G - softcallerid - Server Side Ignore for users not on your channels
427           * +g - callerid     - Server Side Ignore (for privmsgs etc)
428 +         * +H - hidden       - Hides operator status to other users
429           * +i - invisible    - Not shown in NAMES or WHO unless you share a
430           *                     a channel
431 +         * +j - rej          - See rejected client notices
432           * +k - skill        - See server generated KILL messages
433           * +l - locops       - See LOCOPS messages
434           * +n - nchange      - See client nick changes
412         * +r - rej          - See rejected client notices
435           * +s - servnotice   - See general server notices
436           * +u - unauth       - See unauthorized client notices
437           * +w - wallop       - See server generated WALLOPS
# Line 421 | Line 443 | operator {
443  
444          /*
445           * privileges: controls the activities and commands an oper is
446 <         * allowed to do on the server.  All options default to no.
446 >         * allowed to do on the server. All options default to no.
447           * Available options:
448           *
449 <         * global_kill:  allows remote users to be /KILL'd (OLD 'O' flag)
450 <         * remote:       allows remote SQUIT and CONNECT   (OLD 'R' flag)
451 <         * remoteban:    allows remote KLINE/UNKLINE
452 <         * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
453 <         * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
454 <         * gline:        allows GLINE                      (OLD 'G' flag)
455 <         * xline:        allows XLINE                      (OLD 'X' flag)
456 <         * operwall:     allows OPERWALL
457 <         * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
458 <         *               via usermode +n
459 <         * rehash:       allows oper to REHASH config      (OLD 'H' flag)
460 <         * die:          allows DIE and RESTART            (OLD 'D' flag)
461 <         * admin:        gives admin privileges.  admins
462 <         *               may (un)load modules and see the
463 <         *               real IPs of servers.
464 <         * hidden_admin: same as 'admin', but noone can recognize you as
465 <         *               being an admin
466 <         * hidden_oper:  not shown in /stats p (except for other operators)
467 <         */
468 <        /* You can either use
469 <         * die = yes;
470 <         * rehash = yes;
471 <         *
472 <         * or in a flags statement i.e.
473 <         * flags = die, rehash;
474 <         *
453 <         * 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;
449 >         * module       - allows MODULE
450 >         * global_kill  - allows remote users to be /KILL'd
451 >         * remote       - allows remote SQUIT and CONNECT
452 >         * remoteban    - allows remote KLINE/UNKLINE
453 >         * dline        - allows DLINE
454 >         * undline      - allows UNDLINE
455 >         * kline        - allows KILL and KLINE
456 >         * unkline      - allows UNKLINE
457 >         * gline        - allows GLINE
458 >         * xline        - allows XLINE
459 >         * globops      - allows GLOBOPS
460 >         * operwall     - allows OPERWALL
461 >         * nick_changes - allows oper to see nickchanges via usermode +n
462 >         * rehash       - allows oper to REHASH config
463 >         * die          - allows DIE
464 >         * restart      - allows RESTART
465 >         * admin        - gives admin privileges. admins for example,
466 >         *                may see the real IP addresses of servers.
467 >         */
468 >        flags = global_kill, remote, kline, unkline, xline, globops, restart,
469 >                die, rehash, nick_changes, admin, operwall, module;
470 > };
471 >
472 > service {
473 >        name = "service.someserver";
474 >        name = "stats.someserver";
475   };
476  
477   /*
478 < * connect {}:  controls servers we connect to (OLD C:, N:, H:, L:)
478 > * connect {}:  controls servers we connect to
479   */
480   connect {
481          /* name: the name of the server */
# Line 487 | Line 503 | connect {
503  
504          /*
505           * encrypted: controls whether the accept_password above has been
506 <         * encrypted.  (OLD CRYPT_LINK_PASSWORD now optional per connect)
506 >         * encrypted.
507           */
508          encrypted = no;
509  
# Line 506 | Line 522 | connect {
522           */
523   #       leaf_mask = "*.uk";
524  
509        /* fakename: the servername we pretend to be when we connect */
510 #       fakename = "*.arpa";
511
525          /* class: the class this server is in */
526          class = "server";
527  
528 +        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
529 +
530          /*
531 <         * autoconn:    controls whether we autoconnect to this server or not,
532 <         *              dependent on class limits.  By default, this is disabled.
533 <         * compressed:  controls whether traffic is compressed via ziplinks.
534 <         *              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
531 >         * autoconn   - controls whether we autoconnect to this server or not,
532 >         *              dependent on class limits. By default, this is disabled.
533 >         * burst_away - This will send the /away string that users have set
534 >         *              on the server burst. Note this can be a lot of data
535           *              and slow down your server burst.
536 <         * topicburst:  Send topics to this server during channel burst.  Works
536 >         * 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.
539 +         * ssl        - Initiates a TLS/SSL connection.
540           */
541 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
541 > #       flags = autoconn, burst_away, topicburst;
542   };
543  
544   connect {
545 <        name = "encrypted.auth.example";
534 <        host = "some.host.somewhere";
535 <        port = 6667;
536 <
537 <        flags = cryptlink;
538 <
539 <        /*
540 <         * rsa_public_key_file: the path to the public keyfile of the server.
541 <         * Used instead of passwords.
542 <         */
543 <        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";
567 < };
568 <
569 < /*
570 < * NOTE: Don't add an extra 'name=' entry if you use
571 < * the connect "name"{} feature
572 < */
573 < connect "ipv6.some.server" {
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 = "Services";
677 >        nick = "StatServ";
678 >        nick = "HostServ";
679 >        nick = "NickServ";
680 >        nick = "ChanServ";
681 >        nick = "MemoServ";
682 >        nick = "OperServ";
683          channel = "#services";
684  
685          /* resv: wildcard masks are also supported in nicks only */
# Line 752 | Line 729 | channel {
729           *   3 | mirc color
730           *  15 | plain text
731           *  22 | reverse
732 +         *  29 | italic
733           *  31 | underline
734           * 160 | non-breaking space
735           */
# Line 800 | Line 778 | channel {
778          knock_delay_channel = 1 minute;
779  
780          /*
781 <         * burst_topicwho: enable sending of who set topic on topicburst
782 <         * default is yes
781 >         * max_chans_per_user: The maximum number of channels a user can
782 >         * join/be on.
783           */
784 <        burst_topicwho = yes;
784 >        max_chans_per_user = 25;
785  
786          /*
787 <         * max_chans_per_user: The maximum number of channels a user can
787 >         * max_chans_per_oper: The maximum number of channels an oper can
788           * join/be on.
789           */
790 <        max_chans_per_user = 25;
790 >        max_chans_per_oper = 50;
791  
792          /* quiet_on_ban: stop banned people talking in channels. */
793          quiet_on_ban = yes;
# Line 845 | Line 823 | channel {
823           */
824          default_split_server_count = 0;
825  
826 <        /* split no create: disallow users creating channels on split. */
826 >        /* no_create_on_split: disallow users creating channels on split. */
827          no_create_on_split = yes;
828  
829 <        /* split: no join: disallow users joining channels at all on a split */
829 >        /* no_join_on_split: disallow users joining channels at all on a split. */
830          no_join_on_split = no;
831   };
832  
# Line 912 | Line 890 | serverhide {
890   * compiled in options in config.h.  The general block is read at start time.
891   */
892   general {
893 +        /* services_name: servername of nick/channel services */
894 +        services_name = "service.someserver";
895 +
896          /* max_watch: maximum WATCH entries a client can have. */
897 <        max_watch = 64;
897 >        max_watch = 60;
898  
899          /*
900           * gline_min_cidr: the minimum required length of a CIDR bitmask
# Line 933 | Line 914 | general {
914          invisible_on_connect = yes;
915  
916          /*
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        /*
917           * Show "actually using host <ip>" on /whois when possible.
918           */
919          use_whois_actually = yes;
920  
921          /*
922           * Max time from the nickname change that still causes KILL
923 <         * automatically to switch for the current nick of that user. (seconds)
923 >         * automatically to switch for the current nick of that user.
924           */
925 <        kill_chase_time_limit = 90;
925 >        kill_chase_time_limit = 90 seconds;
926  
927          /*
928 <         * If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed
929 <         * users in /trace etc.  If this is defined they will be shown a masked IP.
928 >         * If hide_spoof_ips is disabled, opers will be allowed to see the real
929 >         * IP of spoofed users in /trace etc. If this is defined they will be
930 >         * shown a masked IP.
931           */
932          hide_spoof_ips = yes;
933  
# Line 998 | Line 974 | general {
974          dots_in_ident = 2;
975  
976          /*
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        /*
977           * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
978           * placed via the server.  klines hand placed are exempt from limits.
979           * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
# Line 1144 | Line 1113 | general {
1113          /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1114          oper_pass_resv = yes;
1115  
1147        /*
1148         * idletime: the maximum amount of time a user may idle before
1149         * they are disconnected
1150         */
1151        idletime = 0;
1152
1116          /* REMOVE ME.  The following line checks you've been reading. */
1117          havent_read_conf = 1;
1118  
# Line 1178 | Line 1141 | general {
1141           *
1142           * +b - bots         - See bot and drone flooding notices
1143           * +c - cconn        - Client connection/quit notices
1144 <         * +C - cconn        - Client connection/quit notices full
1144 >         * +C - cconn_full   - Client connection/quit notices full
1145           * +D - deaf         - Don't receive channel messages
1146           * +d - debug        - See debugging notices
1147 <         * +f - full         - See I: line full notices
1147 >         * +f - full         - See auth{} block full notices
1148           * +G - softcallerid - Server Side Ignore for users not on your channels
1149           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1150 +         * +H - hidden       - Hides operator status to other users
1151           * +i - invisible    - Not shown in NAMES or WHO unless you share a
1152           *                     a channel
1153 +         * +j - rej          - See rejected client notices
1154           * +k - skill        - See server generated KILL messages
1155           * +l - locops       - See LOCOPS messages
1156           * +n - nchange      - See client nick changes
1192         * +r - rej          - See rejected client notices
1157           * +s - servnotice   - See general server notices
1158           * +u - unauth       - See unauthorized client notices
1159           * +w - wallop       - See server generated WALLOPS
# Line 1199 | Line 1163 | general {
1163           */
1164  
1165          /* oper_only_umodes: usermodes only opers may set */
1166 <        oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
1166 >        oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill,
1167                             nchange, rej, spy, external, operwall,
1168                             locops, unauth;
1169  
# Line 1207 | Line 1171 | general {
1171          oper_umodes = bots, locops, servnotice, operwall, wallop;
1172  
1173          /*
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        /*
1174           * use_egd: if your system does not have *random devices yet you
1175           * want to use OpenSSL and encrypted links, enable this.  Beware -
1176           * EGD is *very* CPU intensive when gathering data for its pool
# Line 1233 | Line 1183 | general {
1183           */
1184   #       egdpool_path = "/var/run/egd-pool";
1185  
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
1186          /*
1187           * throttle_time: the minimum amount of time between connections from
1188           * the same ip.  exempt {} blocks are excluded from this throttling.
# Line 1263 | Line 1203 | glines {
1203          duration = 1 day;
1204  
1205          /*
1206 <         * logging: which types of rules you want to log when triggered
1206 >         * log: which types of rules you want to log when triggered
1207           * (choose reject or block)
1208           */
1209 <        logging = reject, block;
1209 >        log = reject, block;
1210  
1211          /*
1212           * NOTE: gline ACLs can cause a desync of glines throughout the
# Line 1283 | Line 1223 | glines {
1223  
1224          /*
1225           * action: action to take when a matching gline is found. options are:
1226 <         *  reject      - do not apply the gline locally
1227 <         *  block       - do not propagate the gline
1226 >         *  reject - do not apply the gline locally
1227 >         *  block  - do not propagate the gline
1228           */
1229          action = reject, block;
1230  
# Line 1296 | Line 1236 | glines {
1236   modules {
1237          /*
1238           * path: other paths to search for modules specified below
1239 <         * and in /modload.
1239 >         * and in "/module load".
1240           */
1241 <        path = "@LIBDIR@/modules";
1242 <        path = "@LIBDIR@/modules/autoload";
1241 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1242 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1243  
1244          /* module: the name of a module to load on startup/rehash */
1245 <        #module = "some_module.so";
1245 >        #module = "some_module.la";
1246 > };
1247 >
1248 > /*
1249 > * log {}:  contains information about logfiles.
1250 > */
1251 > log {
1252 >        /* Do you want to enable logging to ircd.log? */
1253 >        use_logging = yes;
1254 >
1255 >        file {
1256 >                type = oper;
1257 >                name = "/home/ircd/var/log/oper.log";
1258 >                size = unlimited;
1259 >        };
1260 >
1261 >        file {
1262 >                type = user;
1263 >                name = "/home/ircd/var/log/user.log";
1264 >                size = 50 megabytes;
1265 >        };
1266 >
1267 >        file {
1268 >                type = kill;
1269 >                name = "/home/ircd/var/log/kill.log";
1270 >                size = 50 megabytes;
1271 >        };
1272 >
1273 >        file {
1274 >                type = kline;
1275 >                name = "/home/ircd/var/log/kline.log";
1276 >                size = 50 megabytes;
1277 >        };
1278 >
1279 >        file {
1280 >                type = dline;
1281 >                name = "/home/ircd/var/log/dline.log";
1282 >                size = 50 megabytes;
1283 >        };
1284 >
1285 >        file {
1286 >                type = gline;
1287 >                name = "/home/ircd/var/log/gline.log";
1288 >                size = 50 megabytes;
1289 >        };
1290 >
1291 >        file {
1292 >                type = debug;
1293 >                name = "/home/ircd/var/log/debug.log";
1294 >                size = 50 megabytes;
1295 >        };
1296   };

Diff Legend

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