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 1475 by michael, Sun Jul 22 14:45:34 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 <         *
475 <         * 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 >         * set          - allows SET
466 >         * admin        - gives admin privileges. admins for example,
467 >         *                may see the real IP addresses of servers.
468 >         */
469 >        flags = global_kill, remote, kline, unkline, xline, globops, restart,
470 >                die, rehash, nick_changes, admin, operwall, module;
471 > };
472 >
473 > service {
474 >        name = "service.someserver";
475 >        name = "stats.someserver";
476   };
477  
478   /*
479 < * connect {}:  controls servers we connect to (OLD C:, N:, H:, L:)
479 > * connect {}:  controls servers we connect to
480   */
481   connect {
482          /* name: the name of the server */
# Line 487 | Line 504 | connect {
504  
505          /*
506           * encrypted: controls whether the accept_password above has been
507 <         * encrypted.  (OLD CRYPT_LINK_PASSWORD now optional per connect)
507 >         * encrypted.
508           */
509          encrypted = no;
510  
# Line 506 | Line 523 | connect {
523           */
524   #       leaf_mask = "*.uk";
525  
509        /* fakename: the servername we pretend to be when we connect */
510 #       fakename = "*.arpa";
511
526          /* class: the class this server is in */
527          class = "server";
528  
529 +        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
530 +
531          /*
532 <         * autoconn:    controls whether we autoconnect to this server or not,
533 <         *              dependent on class limits.  By default, this is disabled.
534 <         * compressed:  controls whether traffic is compressed via ziplinks.
535 <         *              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
532 >         * autoconn   - controls whether we autoconnect to this server or not,
533 >         *              dependent on class limits. By default, this is disabled.
534 >         * burst_away - This will send the /away string that users have set
535 >         *              on the server burst. Note this can be a lot of data
536           *              and slow down your server burst.
537 <         * topicburst:  Send topics to this server during channel burst.  Works
537 >         * topicburst - Send topics to this server during channel burst. Works
538           *              only if the server we are connecting to is capable
539           *              of TBURST/TB.
540 +         * ssl        - Initiates a TLS/SSL connection.
541           */
542 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
542 > #       flags = autoconn, burst_away, topicburst;
543   };
544  
545   connect {
546 <        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" {
546 >        name = "ipv6.some.server";
547          host = "3ffd:dead:beef::1";
548          send_password = "password";
549          accept_password = "password";
# Line 586 | Line 559 | connect "ipv6.some.server" {
559  
560   /*
561   * cluster {}:  servers that share klines/unkline/xline/unxline/resv/unresv/locops
562 < * automatically (OLD hyb6 SLAVE_SERVERS)
562 > * automatically
563   */
564   cluster {
565          /*
# Line 604 | Line 577 | cluster {
577  
578          /*
579           * type: list of what to share, options are as follows:
580 <         *      kline   - share klines
581 <         *      tkline  - share temporary klines
582 <         *      unkline - share unklines
583 <         *      xline   - share xlines
584 <         *      txline  - share temporary xlines
585 <         *      unxline - share unxlines
586 <         *      resv    - share resvs
587 <         *      tresv   - share temporary resvs
588 <         *      unresv  - share unresvs
589 <         *      locops  - share locops
617 <         *      all     - share all of the above (default)
580 >         *      dline   - share dlines
581 >         *      undline - share undlines
582 >         *      kline   - share klines
583 >         *      unkline - share unklines
584 >         *      xline   - share xlines
585 >         *      unxline - share unxlines
586 >         *      resv    - share resvs
587 >         *      unresv  - share unresvs
588 >         *      locops  - share locops
589 >         *      all     - share all of the above (default)
590           */
591          type = kline, unkline, locops, xline, resv;
592   };
593  
594   /*
595 < * shared {}: users that are allowed to remote kline (OLD U:)
595 > * shared {}: users that are allowed to remote kline
596   *
597   * NOTE: This can be effectively used for remote klines.
598   *       Please note that there is no password authentication
# Line 643 | Line 615 | shared {
615  
616          /*
617           * type: list of what to share, options are as follows:
618 <         *      kline   - allow oper/server to kline
619 <         *      tkline  - allow temporary klines
620 <         *      unkline - allow oper/server to unkline
621 <         *      xline   - allow oper/server to xline
622 <         *      txline  - allow temporary xlines
623 <         *      unxline - allow oper/server to unxline
624 <         *      resv    - allow oper/server to resv
625 <         *      tresv   - allow temporary resvs
654 <         *      unresv  - allow oper/server to unresv
618 >         *      dline   - allow oper/server to dline
619 >         *      undline - allow oper/server to undline
620 >         *      kline   - allow oper/server to kline
621 >         *      unkline - allow oper/server to unkline
622 >         *      xline   - allow oper/server to xline
623 >         *      unxline - allow oper/server to unxline
624 >         *      resv    - allow oper/server to resv
625 >         *      unresv  - allow oper/server to unresv
626           *      locops  - allow oper/server to locops - only used for servers that cluster
627 <         *      all     - allow oper/server to do all of the above (default)
627 >         *      all     - allow oper/server to do all of the above (default)
628           */
629          type = kline, unkline, resv;
630   };
631  
632   /*
633 < * kill {}:  users that are not allowed to connect (OLD K:)
633 > * kill {}:  users that are not allowed to connect
634   * Oper issued klines will be added to the specified kline config
635   */
636   kill {
# Line 687 | Line 658 | deny {
658   };
659  
660   /*
661 < * exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:)
661 > * exempt {}: IPs that are exempt from deny {} and Dlines
662   */
663   exempt {
664          ip = "192.168.0.0/16";
665   };
666  
667   /*
668 < * resv {}:  nicks and channels users may not use/join (OLD Q:)
668 > * resv {}:  nicks and channels users may not use/join
669   */
670   resv {
671          /* reason: the reason for the proceeding resv's */
672 <        reason = "There are no services on this network";
672 >        reason = "Reserved for services";
673  
674          /* resv: the nicks and channels users may not join/use */
675 <        nick = "nickserv";
676 <        nick = "chanserv";
675 >        nick = "Global";
676 >        nick = "DevNull";
677 >        nick = "BotServ";
678 >        nick = "Services";
679 >        nick = "StatServ";
680 >        nick = "HelpServ";
681 >        nick = "HostServ";
682 >        nick = "NickServ";
683 >        nick = "ChanServ";
684 >        nick = "MemoServ";
685 >        nick = "OperServ";
686          channel = "#services";
687  
688          /* resv: wildcard masks are also supported in nicks only */
# Line 752 | Line 732 | channel {
732           *   3 | mirc color
733           *  15 | plain text
734           *  22 | reverse
735 +         *  29 | italic
736           *  31 | underline
737           * 160 | non-breaking space
738           */
# Line 764 | Line 745 | channel {
745          restrict_channels = no;
746  
747          /*
767         * disable_local_channels: prevent users from joining &channels.
768         */
769        disable_local_channels = no;
770
771        /*
748           * use_invex: Enable/disable channel mode +I, a n!u@h list of masks
749           * that can join a +i channel without an invite.
750           */
# Line 800 | Line 776 | channel {
776          knock_delay_channel = 1 minute;
777  
778          /*
779 <         * burst_topicwho: enable sending of who set topic on topicburst
780 <         * default is yes
779 >         * max_chans_per_user: The maximum number of channels a user can
780 >         * join/be on.
781           */
782 <        burst_topicwho = yes;
782 >        max_chans_per_user = 25;
783  
784          /*
785 <         * max_chans_per_user: The maximum number of channels a user can
785 >         * max_chans_per_oper: The maximum number of channels an oper can
786           * join/be on.
787           */
788 <        max_chans_per_user = 25;
788 >        max_chans_per_oper = 50;
789  
790          /* quiet_on_ban: stop banned people talking in channels. */
791          quiet_on_ban = yes;
# Line 845 | Line 821 | channel {
821           */
822          default_split_server_count = 0;
823  
824 <        /* split no create: disallow users creating channels on split. */
824 >        /* no_create_on_split: disallow users creating channels on split. */
825          no_create_on_split = yes;
826  
827 <        /* split: no join: disallow users joining channels at all on a split */
827 >        /* no_join_on_split: disallow users joining channels at all on a split. */
828          no_join_on_split = no;
829   };
830  
# Line 912 | Line 888 | serverhide {
888   * compiled in options in config.h.  The general block is read at start time.
889   */
890   general {
891 +        /* services_name: servername of nick/channel services */
892 +        services_name = "service.someserver";
893 +
894          /* max_watch: maximum WATCH entries a client can have. */
895 <        max_watch = 64;
895 >        max_watch = 60;
896 >
897 >        /* gline_enable: enable glines, network wide temp klines */
898 >        gline_enable = yes;
899 >
900 >        /*
901 >         * gline_duration: the amount of time a gline will remain on your
902 >         * server before expiring
903 >         */
904 >        gline_duration = 1 day;
905 >
906 >        /*
907 >         * gline_request_duration:  how long a pending G-line can be around.
908 >         * 10 minutes should be plenty
909 >         */
910 >        gline_request_duration = 10 minutes;
911  
912          /*
913           * gline_min_cidr: the minimum required length of a CIDR bitmask
# Line 933 | Line 927 | general {
927          invisible_on_connect = yes;
928  
929          /*
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        /*
930           * Show "actually using host <ip>" on /whois when possible.
931           */
932          use_whois_actually = yes;
933  
934          /*
935           * Max time from the nickname change that still causes KILL
936 <         * automatically to switch for the current nick of that user. (seconds)
936 >         * automatically to switch for the current nick of that user.
937           */
938 <        kill_chase_time_limit = 90;
938 >        kill_chase_time_limit = 90 seconds;
939  
940          /*
941 <         * If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed
942 <         * users in /trace etc.  If this is defined they will be shown a masked IP.
941 >         * If hide_spoof_ips is disabled, opers will be allowed to see the real
942 >         * IP of spoofed users in /trace etc. If this is defined they will be
943 >         * shown a masked IP.
944           */
945          hide_spoof_ips = yes;
946  
# Line 998 | Line 987 | general {
987          dots_in_ident = 2;
988  
989          /*
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        /*
990           * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
991           * placed via the server.  klines hand placed are exempt from limits.
992           * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
# Line 1144 | Line 1126 | general {
1126          /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1127          oper_pass_resv = yes;
1128  
1147        /*
1148         * idletime: the maximum amount of time a user may idle before
1149         * they are disconnected
1150         */
1151        idletime = 0;
1152
1129          /* REMOVE ME.  The following line checks you've been reading. */
1130          havent_read_conf = 1;
1131  
# Line 1178 | Line 1154 | general {
1154           *
1155           * +b - bots         - See bot and drone flooding notices
1156           * +c - cconn        - Client connection/quit notices
1157 <         * +C - cconn        - Client connection/quit notices full
1157 >         * +C - cconn_full   - Client connection/quit notices full
1158           * +D - deaf         - Don't receive channel messages
1159           * +d - debug        - See debugging notices
1160 <         * +f - full         - See I: line full notices
1160 >         * +f - full         - See auth{} block full notices
1161           * +G - softcallerid - Server Side Ignore for users not on your channels
1162           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1163 +         * +H - hidden       - Hides operator status to other users
1164           * +i - invisible    - Not shown in NAMES or WHO unless you share a
1165           *                     a channel
1166 +         * +j - rej          - See rejected client notices
1167           * +k - skill        - See server generated KILL messages
1168           * +l - locops       - See LOCOPS messages
1169           * +n - nchange      - See client nick changes
1192         * +r - rej          - See rejected client notices
1170           * +s - servnotice   - See general server notices
1171           * +u - unauth       - See unauthorized client notices
1172           * +w - wallop       - See server generated WALLOPS
# Line 1199 | Line 1176 | general {
1176           */
1177  
1178          /* oper_only_umodes: usermodes only opers may set */
1179 <        oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
1179 >        oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill,
1180                             nchange, rej, spy, external, operwall,
1181                             locops, unauth;
1182  
# Line 1207 | Line 1184 | general {
1184          oper_umodes = bots, locops, servnotice, operwall, wallop;
1185  
1186          /*
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        /*
1187           * use_egd: if your system does not have *random devices yet you
1188           * want to use OpenSSL and encrypted links, enable this.  Beware -
1189           * EGD is *very* CPU intensive when gathering data for its pool
# Line 1233 | Line 1196 | general {
1196           */
1197   #       egdpool_path = "/var/run/egd-pool";
1198  
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
1199          /*
1200           * throttle_time: the minimum amount of time between connections from
1201           * the same ip.  exempt {} blocks are excluded from this throttling.
# Line 1252 | Line 1205 | general {
1205          throttle_time = 10;
1206   };
1207  
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
1208   modules {
1209          /*
1210           * path: other paths to search for modules specified below
1211 <         * and in /modload.
1211 >         * and in "/module load".
1212           */
1213 <        path = "@LIBDIR@/modules";
1214 <        path = "@LIBDIR@/modules/autoload";
1213 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1214 >        path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1215  
1216          /* module: the name of a module to load on startup/rehash */
1217 <        #module = "some_module.so";
1217 >        #module = "some_module.la";
1218 > };
1219 >
1220 > /*
1221 > * log {}:  contains information about logfiles.
1222 > */
1223 > log {
1224 >        /* Do you want to enable logging to ircd.log? */
1225 >        use_logging = yes;
1226 >
1227 >        file {
1228 >                type = oper;
1229 >                name = "/home/ircd/var/log/oper.log";
1230 >                size = unlimited;
1231 >        };
1232 >
1233 >        file {
1234 >                type = user;
1235 >                name = "/home/ircd/var/log/user.log";
1236 >                size = 50 megabytes;
1237 >        };
1238 >
1239 >        file {
1240 >                type = kill;
1241 >                name = "/home/ircd/var/log/kill.log";
1242 >                size = 50 megabytes;
1243 >        };
1244 >
1245 >        file {
1246 >                type = kline;
1247 >                name = "/home/ircd/var/log/kline.log";
1248 >                size = 50 megabytes;
1249 >        };
1250 >
1251 >        file {
1252 >                type = dline;
1253 >                name = "/home/ircd/var/log/dline.log";
1254 >                size = 50 megabytes;
1255 >        };
1256 >
1257 >        file {
1258 >                type = gline;
1259 >                name = "/home/ircd/var/log/gline.log";
1260 >                size = 50 megabytes;
1261 >        };
1262 >
1263 >        file {
1264 >                type = debug;
1265 >                name = "/home/ircd/var/log/debug.log";
1266 >                size = 50 megabytes;
1267 >        };
1268   };

Diff Legend

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