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

Comparing:
ircd-hybrid-7.3/etc/example.conf (file contents), Revision 1070 by michael, Tue Feb 16 23:40:20 2010 UTC vs.
ircd-hybrid-8/doc/example.conf (file contents), Revision 1533 by michael, Sun Sep 23 13:04:45 2012 UTC

# Line 1 | Line 1
1 < /* doc/example.conf - ircd-hybrid-7 Example configuration file
2 < * Copyright (C) 2000-2010 Hybrid Development Team
1 > /* doc/example.conf - ircd-hybrid-8 Example configuration file
2 > * Copyright (C) 2000-2012 Hybrid Development Team
3   *
4   * Written by ejb, wcampbel, db, leeh and others
5   * Other example configurations can be found in the source dir under
6 < * etc/.
6 > * doc/.
7   *
8   * $Id$
9   */
# Line 39 | Line 39
39   */
40  
41   /*
42 < * serverinfo {}:  contains information about the server. (OLD M:)
42 > * serverinfo {}:  contains information about the server
43   */
44   serverinfo {
45          /*
# Line 56 | Line 56 | serverinfo {
56          sid = "_CHANGE_ME_";
57  
58          /*
59 <         * description: the description of the server.  '[' and ']' may not
60 <         * be used here for compatibility with older servers.
59 >         * description: the description of the server.
60           */
61          description = "hybrid-7 test server";
62  
# Line 96 | Line 95 | serverinfo {
95           * Example command to store a 2048 bit RSA keypair in
96           * rsa.key, and the public key in rsa.pub:
97           *
98 <         *      openssl genrsa -out rsa.key 2048
98 >         *      openssl genrsa -out rsa.key 2048
99           *      openssl rsa -in rsa.key -pubout -out rsa.pub
100           *      chown <ircd-user>.<ircd.group> rsa.key rsa.pub
101           *      chmod 0600 rsa.key
# Line 125 | Line 124 | serverinfo {
124          #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
125  
126          /*
127 <         * ssl_server_protocol:
128 <         * SSL/TLS protocols we provide for incoming secure connections.
127 >         * ssl_dh_param_file:
128 >         *
129 >         * Path to the PEM encoded Diffie-Hellman parameter file.
130 >         * DH parameters are strictly required when using ciphers
131 >         * with EDH (ephemeral Diffie-Hellman) key exchange.
132 >         *
133 >         * A DH parameter file can be created by running:
134 >         *
135 >         *      openssl dhparam -out dhparam.pem 1024
136 >         *
137 >         * Prime size must be at least 1024 bits. Further information
138 >         * regarding specific OpenSSL dhparam command-line options
139 >         * 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
147 >         * enforce specific ciphers for incoming SSL/TLS connections.
148 >         * If a client (which also includes incoming server connections) isn't
149 >         * capable of any cipher listed below, the connection will simply be
150 >         * rejected.
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
156 >         * from 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.
131         * SSLv2 is not suppported. This cannot be changed at runtime.
167           */
168 <        #ssl_server_protocol = sslv3, tlsv1;
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 143 | Line 179 | admin {
179   };
180  
181   /*
182 < * log {}:  contains information about logfiles.
147 < */
148 < log {
149 <        /* Do you want to enable logging to ircd.log? */
150 <        use_logging = yes;
151 <
152 <        /*
153 <         * logfiles: the logfiles to use for user connects, /oper uses,
154 <         * and failed /oper.  These files must exist for logging to be used.
155 <         */
156 <        fname_userlog = "logs/userlog";
157 <        fname_operlog = "logs/operlog";
158 <        fname_killlog = "logs/kill";
159 <        fname_klinelog = "logs/kline";
160 <        fname_glinelog = "logs/gline";
161 <
162 <        /*
163 <         * log_level: the amount of detail to log in ircd.log.  The
164 <         * higher, the more information is logged.  May be changed
165 <         * once the server is running via /quote SET LOG.  Either:
166 <         * L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG
167 <         */
168 <        log_level = L_INFO;
169 < };
170 <
171 < /*
172 < * class {}:  contains information about classes for users (OLD Y:)
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 216 | 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 223 | 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 250 | 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 273 | 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 291 | 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 320 | 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)
334 <         * 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 359 | 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 */
369        /* 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
# Line 412 | 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
423         * +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 432 | 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.
465 <         * flags = ~remote;
466 <         *
467 <         */
468 <        flags = global_kill, remote, kline, unkline, xline,
469 <                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 517 | Line 528 | connect {
528           */
529   #       leaf_mask = "*.uk";
530  
520        /* fakename: the servername we pretend to be when we connect */
521 #       fakename = "*.arpa";
522
531          /* class: the class this server is in */
532          class = "server";
533  
534          /*
535 <         * autoconn:    controls whether we autoconnect to this server or not,
536 <         *              dependent on class limits.  By default, this is disabled.
537 <         * compressed:  controls whether traffic is compressed via ziplinks.
538 <         *              By default, this is disabled
539 <         * cryptlink:   enable full encryption for all data passing between our
540 <         *              server and this link and rsa authentication.
541 <         * burst_away:  This will send the /away string that users have set
542 <         *              on the server burst.  Note this can be a lot of data
543 <         *              and slow down your server burst.
544 <         * 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 <         */
540 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
541 < };
542 <
543 < connect {
544 <        name = "encrypted.auth.example";
545 <        host = "some.host.somewhere";
546 <        port = 6667;
547 <
548 <        flags = cryptlink;
549 <
550 <        /*
551 <         * rsa_public_key_file: the path to the public keyfile of the server.
552 <         * Used instead of passwords.
535 >         * ssl_cipher_list:
536 >         *
537 >         * List of ciphers that the server we are connecting to must support.
538 >         * If the server isn't capable of any cipher listed below, the
539 >         * connection will simply be rejected.
540 >         * Can be used to enforce stronger ciphers, even though this option
541 >         * is not necessarily required to establish a SSL/TLS connection.
542 >         *
543 >         * Multiple ciphers are separated by colons. The order of preference
544 >         * is from left to right.
545           */
546 <        rsa_public_key_file = "etc/remote.server.keyfile";
546 >        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
547  
548          /*
549 <         * cipher preference: set the preferred cipher for this link
550 <         *
551 <         * Available ciphers are:
560 <         *      BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128
561 <         *      RC5.12/128 RC5.8/128 3DES/168 DES/56
562 <         *
563 <         * NOTE:  Some ciphers may not be supported by your OpenSSL.
564 <         *        Check the output from 'configure' for available ciphers.
565 <         *
566 <         * NOTE2: To help you decide what cipher to use, tools/encspeed
567 <         *        will show you approximately how fast each cipher is.
568 <         *        However, blowfish is fast and secure, and is probably
569 <         *        a good default for most situations.
570 <         *
571 <         * NOTE3: Default if none is set is BF/128
572 <         *
573 <         * The cipher *MUST* be the same in both directions.  If you
574 <         * set a cipher preference, your uplink must set the same cipher,
575 <         * else it will not link.
549 >         * autoconn   - controls whether we autoconnect to this server or not,
550 >         *              dependent on class limits. By default, this is disabled.
551 >         * ssl        - Initiates a TLS/SSL connection.
552           */
553 < #       cipher_preference = "BF/168";
553 > #       flags = autoconn, ssl;
554   };
555  
556 < /*
557 < * NOTE: Don't add an extra 'name=' entry if you use
582 < * the connect "name"{} feature
583 < */
584 < connect "ipv6.some.server" {
556 > connect {
557 >        name = "ipv6.some.server";
558          host = "3ffd:dead:beef::1";
559          send_password = "password";
560          accept_password = "password";
# Line 597 | Line 570 | connect "ipv6.some.server" {
570  
571   /*
572   * cluster {}:  servers that share klines/unkline/xline/unxline/resv/unresv/locops
573 < * automatically (OLD hyb6 SLAVE_SERVERS)
573 > * automatically
574   */
575   cluster {
576          /*
# Line 615 | Line 588 | cluster {
588  
589          /*
590           * type: list of what to share, options are as follows:
591 <         *      kline   - share klines
592 <         *      tkline  - share temporary klines
593 <         *      unkline - share unklines
594 <         *      xline   - share xlines
595 <         *      txline  - share temporary xlines
596 <         *      unxline - share unxlines
597 <         *      resv    - share resvs
598 <         *      tresv   - share temporary resvs
599 <         *      unresv  - share unresvs
600 <         *      locops  - share locops
628 <         *      all     - share all of the above (default)
591 >         *      dline   - share dlines
592 >         *      undline - share undlines
593 >         *      kline   - share klines
594 >         *      unkline - share unklines
595 >         *      xline   - share xlines
596 >         *      unxline - share unxlines
597 >         *      resv    - share resvs
598 >         *      unresv  - share unresvs
599 >         *      locops  - share locops
600 >         *      all     - share all of the above (default)
601           */
602          type = kline, unkline, locops, xline, resv;
603   };
604  
605   /*
606 < * shared {}: users that are allowed to remote kline (OLD U:)
606 > * shared {}: users that are allowed to remote kline
607   *
608   * NOTE: This can be effectively used for remote klines.
609   *       Please note that there is no password authentication
# Line 654 | Line 626 | shared {
626  
627          /*
628           * type: list of what to share, options are as follows:
629 <         *      kline   - allow oper/server to kline
630 <         *      tkline  - allow temporary klines
631 <         *      unkline - allow oper/server to unkline
632 <         *      xline   - allow oper/server to xline
633 <         *      txline  - allow temporary xlines
634 <         *      unxline - allow oper/server to unxline
635 <         *      resv    - allow oper/server to resv
636 <         *      tresv   - allow temporary resvs
665 <         *      unresv  - allow oper/server to unresv
629 >         *      dline   - allow oper/server to dline
630 >         *      undline - allow oper/server to undline
631 >         *      kline   - allow oper/server to kline
632 >         *      unkline - allow oper/server to unkline
633 >         *      xline   - allow oper/server to xline
634 >         *      unxline - allow oper/server to unxline
635 >         *      resv    - allow oper/server to resv
636 >         *      unresv  - allow oper/server to unresv
637           *      locops  - allow oper/server to locops - only used for servers that cluster
638 <         *      all     - allow oper/server to do all of the above (default)
638 >         *      all     - allow oper/server to do all of the above (default)
639           */
640          type = kline, unkline, resv;
641   };
642  
643   /*
644 < * kill {}:  users that are not allowed to connect (OLD K:)
644 > * kill {}:  users that are not allowed to connect
645   * Oper issued klines will be added to the specified kline config
646   */
647   kill {
# Line 698 | Line 669 | deny {
669   };
670  
671   /*
672 < * exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:)
672 > * exempt {}: IPs that are exempt from deny {} and Dlines
673   */
674   exempt {
675          ip = "192.168.0.0/16";
676   };
677  
678   /*
679 < * resv {}:  nicks and channels users may not use/join (OLD Q:)
679 > * resv {}:  nicks and channels users may not use/join
680   */
681   resv {
682          /* reason: the reason for the proceeding resv's */
683 <        reason = "There are no services on this network";
683 >        reason = "Reserved for services";
684  
685          /* resv: the nicks and channels users may not join/use */
686 <        nick = "nickserv";
687 <        nick = "chanserv";
686 >        nick = "Global";
687 >        nick = "DevNull";
688 >        nick = "BotServ";
689 >        nick = "Services";
690 >        nick = "StatServ";
691 >        nick = "HelpServ";
692 >        nick = "HostServ";
693 >        nick = "NickServ";
694 >        nick = "ChanServ";
695 >        nick = "MemoServ";
696 >        nick = "OperServ";
697          channel = "#services";
698  
699          /* resv: wildcard masks are also supported in nicks only */
# Line 763 | Line 743 | channel {
743           *   3 | mirc color
744           *  15 | plain text
745           *  22 | reverse
746 +         *  29 | italic
747           *  31 | underline
748           * 160 | non-breaking space
749           */
# Line 775 | Line 756 | channel {
756          restrict_channels = no;
757  
758          /*
778         * disable_local_channels: prevent users from joining &channels.
779         */
780        disable_local_channels = no;
781
782        /*
783         * use_invex: Enable/disable channel mode +I, a n!u@h list of masks
784         * that can join a +i channel without an invite.
785         */
786        use_invex = yes;
787
788        /*
789         * use_except: Enable/disable channel mode +e, a n!u@h list of masks
790         * that can join a channel through a ban (+b).
791         */
792        use_except = yes;
793
794        /*
795         * use_knock: Allows users to request an invite to a channel that
796         * is locked somehow (+ikl).  If the channel is +p or you are banned
797         * the knock will not be sent.
798         */
799        use_knock = yes;
800
801        /*
759           * knock_delay: The amount of time a user must wait between issuing
760           * the knock command.
761           */
# Line 811 | Line 768 | channel {
768          knock_delay_channel = 1 minute;
769  
770          /*
771 <         * burst_topicwho: enable sending of who set topic on topicburst
772 <         * default is yes
771 >         * max_chans_per_user: The maximum number of channels a user can
772 >         * join/be on.
773           */
774 <        burst_topicwho = yes;
774 >        max_chans_per_user = 25;
775  
776          /*
777 <         * max_chans_per_user: The maximum number of channels a user can
777 >         * max_chans_per_oper: The maximum number of channels an oper can
778           * join/be on.
779           */
780 <        max_chans_per_user = 25;
780 >        max_chans_per_oper = 50;
781  
782          /* quiet_on_ban: stop banned people talking in channels. */
783          quiet_on_ban = yes;
784  
785          /* max_bans: maximum number of +b/e/I modes in a channel */
786 <        max_bans = 25;
786 >        max_bans = 100;
787  
788          /*
789           * how many joins in how many seconds constitute a flood, use 0 to
# Line 887 | Line 844 | serverhide {
844          hidden = no;
845  
846          /*
890         * disable_hidden: prevent servers hiding themselves from a
891         * /links output.
892         */
893        disable_hidden = no;
894
895        /*
847           * hide_servers: hide remote servernames everywhere and instead use
848           * hidden_name and network_desc.
849           */
# Line 923 | Line 874 | serverhide {
874   * compiled in options in config.h.  The general block is read at start time.
875   */
876   general {
877 +        /* services_name: servername of nick/channel services */
878 +        services_name = "service.someserver";
879 +
880          /* max_watch: maximum WATCH entries a client can have. */
881          max_watch = 60;
882  
883 +        /* gline_enable: enable glines, network wide temp klines */
884 +        gline_enable = yes;
885 +
886 +        /*
887 +         * gline_duration: the amount of time a gline will remain on your
888 +         * server before expiring
889 +         */
890 +        gline_duration = 1 day;
891 +
892 +        /*
893 +         * gline_request_duration:  how long a pending G-line can be around.
894 +         * 10 minutes should be plenty
895 +         */
896 +        gline_request_duration = 10 minutes;
897 +
898          /*
899           * gline_min_cidr: the minimum required length of a CIDR bitmask
900           * for IPv4 based glines
# Line 944 | Line 913 | general {
913          invisible_on_connect = yes;
914  
915          /*
947         * If you don't explicitly specify burst_away in your connect blocks, then
948         * they will default to the burst_away value below.
949         */
950        burst_away = no;
951
952        /*
916           * Show "actually using host <ip>" on /whois when possible.
917           */
918          use_whois_actually = yes;
919  
920          /*
921           * Max time from the nickname change that still causes KILL
922 <         * automatically to switch for the current nick of that user. (seconds)
922 >         * automatically to switch for the current nick of that user.
923           */
924 <        kill_chase_time_limit = 90;
924 >        kill_chase_time_limit = 90 seconds;
925  
926          /*
927 <         * If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed
928 <         * users in /trace etc.  If this is defined they will be shown a masked IP.
927 >         * If hide_spoof_ips is disabled, opers will be allowed to see the real
928 >         * IP of spoofed users in /trace etc. If this is defined they will be
929 >         * shown a masked IP.
930           */
931          hide_spoof_ips = yes;
932  
# Line 1009 | Line 973 | general {
973          dots_in_ident = 2;
974  
975          /*
1012         * dot_in_ip6_addr: ircd-hybrid-6.0 and earlier will disallow hosts
1013         * without a '.' in them.  This will add one to the end.  Only needed
1014         * for older servers.
1015         */
1016        dot_in_ip6_addr = no;
1017
1018        /*
976           * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
977           * placed via the server.  klines hand placed are exempt from limits.
978           * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
# Line 1127 | Line 1084 | general {
1084  
1085          /*
1086           * pace_wait: time between more intensive commands
1087 <         * (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1087 >         * (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1088           */
1089          pace_wait = 10 seconds;
1090  
# Line 1155 | Line 1112 | general {
1112          /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1113          oper_pass_resv = yes;
1114  
1158        /*
1159         * idletime: the maximum amount of time a user may idle before
1160         * they are disconnected
1161         */
1162        idletime = 0;
1163
1115          /* REMOVE ME.  The following line checks you've been reading. */
1116          havent_read_conf = 1;
1117  
# Line 1171 | Line 1122 | general {
1122          max_targets = 4;
1123  
1124          /*
1174         * client_flood: maximum amount of data in a clients queue before
1175         * they are dropped for flooding.
1176         */
1177        client_flood = 2560 bytes;
1178
1179        /*
1125           * message_locale: the default message locale
1126           * Use "standard" for the compiled in defaults.
1127           * To install the translated messages, go into messages/ in the
# Line 1192 | Line 1137 | general {
1137           * +C - cconn_full   - Client connection/quit notices full
1138           * +D - deaf         - Don't receive channel messages
1139           * +d - debug        - See debugging notices
1140 <         * +f - full         - See I: line full notices
1140 >         * +f - full         - See auth{} block full notices
1141           * +G - softcallerid - Server Side Ignore for users not on your channels
1142           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1143 +         * +H - hidden       - Hides operator status to other users
1144           * +i - invisible    - Not shown in NAMES or WHO unless you share a
1145           *                     a channel
1146 +         * +j - rej          - See rejected client notices
1147           * +k - skill        - See server generated KILL messages
1148           * +l - locops       - See LOCOPS messages
1149           * +n - nchange      - See client nick changes
1203         * +r - rej          - See rejected client notices
1150           * +s - servnotice   - See general server notices
1151           * +u - unauth       - See unauthorized client notices
1152           * +w - wallop       - See server generated WALLOPS
# Line 1210 | Line 1156 | general {
1156           */
1157  
1158          /* oper_only_umodes: usermodes only opers may set */
1159 <        oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
1159 >        oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill,
1160                             nchange, rej, spy, external, operwall,
1161                             locops, unauth;
1162  
# Line 1218 | Line 1164 | general {
1164          oper_umodes = bots, locops, servnotice, operwall, wallop;
1165  
1166          /*
1221         * servlink_path: path to 'servlink' program used by ircd to handle
1222         * encrypted/compressed server <-> server links.
1223         *
1224         * only define if servlink is not in same directory as ircd itself.
1225         */
1226        #servlink_path = "/usr/local/ircd/bin/servlink";
1227
1228        /*
1229         * default_cipher_preference: default cipher to use for cryptlink when none is
1230         * specified in connect block.
1231         */
1232        #default_cipher_preference = "BF/168";
1233
1234        /*
1167           * use_egd: if your system does not have *random devices yet you
1168           * want to use OpenSSL and encrypted links, enable this.  Beware -
1169           * EGD is *very* CPU intensive when gathering data for its pool
# Line 1244 | Line 1176 | general {
1176           */
1177   #       egdpool_path = "/var/run/egd-pool";
1178  
1247
1248        /*
1249         * compression_level: level of compression for compressed links between
1250         * servers.  
1251         *
1252         * values are between: 1 (least compression, fastest)
1253         *                and: 9 (most compression, slowest).
1254         */
1255 #       compression_level = 6;
1256
1179          /*
1180           * throttle_time: the minimum amount of time between connections from
1181           * the same ip.  exempt {} blocks are excluded from this throttling.
# Line 1263 | Line 1185 | general {
1185          throttle_time = 10;
1186   };
1187  
1266 glines {
1267        /* enable: enable glines, network wide temp klines */
1268        enable = yes;
1269
1270        /*
1271         * duration: the amount of time a gline will remain on your
1272         * server before expiring
1273         */
1274        duration = 1 day;
1275
1276        /*
1277         * logging: which types of rules you want to log when triggered
1278         * (choose reject or block)
1279         */
1280        logging = reject, block;
1281
1282        /*
1283         * NOTE: gline ACLs can cause a desync of glines throughout the
1284         * network, meaning some servers may have a gline triggered, and
1285         * others may not. Also, you only need insert rules for glines
1286         * that you want to block and/or reject. If you want to accept and
1287         * propagate the gline, do NOT put a rule for it.
1288         */
1289
1290        /* user@host for rule to apply to */
1291        user = "god@I.still.hate.packets";
1292        /* server for rule to apply to */
1293        name = "hades.arpa";
1294
1295        /*
1296         * action: action to take when a matching gline is found. options are:
1297         *  reject      - do not apply the gline locally
1298         *  block       - do not propagate the gline
1299         */
1300        action = reject, block;
1301
1302        user = "god@*";
1303        name = "*";
1304        action = block;
1305 };
1306
1188   modules {
1189          /*
1190           * path: other paths to search for modules specified below
1191 <         * and in /modload.
1191 >         * and in "/module load".
1192           */
1193          path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1194          path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
# Line 1315 | Line 1196 | modules {
1196          /* module: the name of a module to load on startup/rehash */
1197          #module = "some_module.la";
1198   };
1199 +
1200 + /*
1201 + * log {}:  contains information about logfiles.
1202 + */
1203 + log {
1204 +        /* Do you want to enable logging to ircd.log? */
1205 +        use_logging = yes;
1206 +
1207 +        file {
1208 +                type = oper;
1209 +                name = "/home/ircd/var/log/oper.log";
1210 +                size = unlimited;
1211 +        };
1212 +
1213 +        file {
1214 +                type = user;
1215 +                name = "/home/ircd/var/log/user.log";
1216 +                size = 50 megabytes;
1217 +        };
1218 +
1219 +        file {
1220 +                type = kill;
1221 +                name = "/home/ircd/var/log/kill.log";
1222 +                size = 50 megabytes;
1223 +        };
1224 +
1225 +        file {
1226 +                type = kline;
1227 +                name = "/home/ircd/var/log/kline.log";
1228 +                size = 50 megabytes;
1229 +        };
1230 +
1231 +        file {
1232 +                type = dline;
1233 +                name = "/home/ircd/var/log/dline.log";
1234 +                size = 50 megabytes;
1235 +        };
1236 +
1237 +        file {
1238 +                type = gline;
1239 +                name = "/home/ircd/var/log/gline.log";
1240 +                size = 50 megabytes;
1241 +        };
1242 +
1243 +        file {
1244 +                type = debug;
1245 +                name = "/home/ircd/var/log/debug.log";
1246 +                size = 50 megabytes;
1247 +        };
1248 + };

Diff Legend

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