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

Comparing:
ircd-hybrid-8/etc/example.efnet.conf (file contents), Revision 1249 by michael, Sat Oct 1 10:07:53 2011 UTC vs.
ircd-hybrid-8/doc/example.efnet.conf (file contents), Revision 1426 by michael, Wed Jun 6 09:17:12 2012 UTC

# Line 1 | Line 1
1 < /* doc/example.efnet.conf - ircd-hybrid-7 EFnet Example configuration file
2 < * Copyright (C) 2000-2011 Hybrid Development Team
1 > /* doc/example.efnet.conf - ircd-hybrid-8 EFnet 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 129 | Line 129 | serverinfo {
129          #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
130  
131          /*
132 <         * ssl_server_protocol:
133 <         * SSL/TLS protocols we provide for incoming secure connections.
132 >         * ssl_dh_param_file:
133 >         *
134 >         * Path to the PEM encoded Diffie-Hellman parameter file.
135 >         * DH parameters are strictly required when using ciphers
136 >         * with EDH (ephemeral Diffie-Hellman) key exchange.
137 >         *
138 >         * A DH parameter file can be created by running:
139 >         *
140 >         *      openssl dhparam -out dhparam.pem 1024
141 >         *
142 >         * Further information regarding specific OpenSSL dhparam
143 >         * command-line options can be found in the OpenSSL manual.
144 >         */
145 >        #ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
146 >
147 >        /*
148 >         * ssl_cipher_list:
149 >         *
150 >         * List of ciphers that are supported by _this_ server. Can be used to enforce
151 >         * specific ciphers for incoming SSL/TLS connections.
152 >         * If a client (which also includes incoming server connections) isn't capable
153 >         * of any cipher listed below, the connection will simply be rejected.
154 >         *
155 >         * A list of supported ciphers can be obtained by running:
156 >         *
157 >         *      openssl ciphers -ssl3 -tls1 -v
158 >         *
159 >         * Multiple ciphers are separated by colons. The order of preference is from
160 >         * left to right.
161 >         */
162 >        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
163 >
164 >        /*
165 >         * ssl_server_method:
166 >         * ssl_client_method:
167 >         *
168 >         * SSL/TLS methods we provide for incoming (server method) and
169 >         * outgoing (client method) SSL/TLS connections.
170           * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
171 <         * SSLv2 is not suppported. This cannot be changed at runtime.
171 >         * SSLv2 is not suppported.
172           */
173 <        #ssl_server_protocol = sslv3, tlsv1;
173 >        #ssl_server_method = tlsv1, sslv3;
174 >        #ssl_client_method = tlsv1;
175   };
176  
177   /*
# Line 363 | Line 400 | auth {
400   */
401   operator {
402          /* name: the name of the oper */
366        /* NOTE: operator "opername"{} is also supported */
403          name = "god";
404  
405          /*
406 <         * user: the user@host required for this operator.  CIDR is not
407 <         * supported.  Multiple user="" lines are supported.
406 >         * user: the user@host required for this operator. Multiple
407 >         * user="" lines are supported.
408           */
409 <        user = "*god@*";
410 <        user = "*@127.0.0.1";
409 >        user = "*god@192.168.0.0/16";
410 >        user = "*@127.0.0.0/8";
411  
412          /*
413           * password: the password required to oper.  By default this will
# Line 409 | Line 445 | operator {
445           * +C - cconn_full   - Client connection/quit notices full
446           * +D - deaf         - Don't receive channel messages
447           * +d - debug        - See debugging notices
448 <         * +f - full         - See I: line full notices
448 >         * +f - full         - See auth{} block full notices
449           * +G - softcallerid - Server Side Ignore for users not on your channels
450           * +g - callerid     - Server Side Ignore (for privmsgs etc)
451 +         * +H - hidden       - Hides operator status to other users
452           * +i - invisible    - Not shown in NAMES or WHO unless you share a
453           *                     a channel
454 +         * +j - rej          - See rejected client notices
455           * +k - skill        - See server generated KILL messages
456           * +l - locops       - See LOCOPS messages
457           * +n - nchange      - See client nick changes
420         * +r - rej          - See rejected client notices
458           * +s - servnotice   - See general server notices
459           * +u - unauth       - See unauthorized client notices
460           * +w - wallop       - See server generated WALLOPS
# Line 436 | Line 473 | operator {
473           * global_kill  - allows remote users to be /KILL'd
474           * remote       - allows remote SQUIT and CONNECT
475           * remoteban    - allows remote KLINE/UNKLINE
476 <         * kline        - allows KILL, KLINE and DLINE
477 <         * unkline      - allows UNKLINE and UNDLINE
476 >         * dline        - allows DLINE
477 >         * undline      - allows UNDLINE
478 >         * kline        - allows KILL and KLINE
479 >         * unkline      - allows UNKLINE
480           * gline        - allows GLINE
481           * xline        - allows XLINE
482           * globops      - allows GLOBOPS
# Line 448 | Line 487 | operator {
487           * restart      - allows RESTART
488           * admin        - gives admin privileges. admins for example,
489           *                may see the real IP addresses of servers.
451         * hidden_admin - same as 'admin', but noone can recognize you as
452         *                being an admin
453         * hidden_oper  - not shown in /stats p (except for other operators)
490           */
491          flags = global_kill, remote, kline, unkline, xline, globops, restart,
492                  die, rehash, nick_changes, admin, operwall, module;
# Line 507 | Line 543 | connect {
543          /* class: the class this server is in */
544          class = "server";
545  
546 +        #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
547 +
548          /*
549           * autoconn   - controls whether we autoconnect to this server or not,
550 <         *              dependent on class limits.  By default, this is disabled.
513 <         * compressed - controls whether traffic is compressed via ziplinks.
514 <         *              By default, this is disabled
515 <         * cryptlink  - enable full encryption for all data passing between our
516 <         *              server and this link and rsa authentication.
550 >         *              dependent on class limits. By default, this is disabled.
551           * burst_away - This will send the /away string that users have set
552 <         *              on the server burst.  Note this can be a lot of data
552 >         *              on the server burst. Note this can be a lot of data
553           *              and slow down your server burst.
554 <         * topicburst - Send topics to this server during channel burst.  Works
554 >         * topicburst - Send topics to this server during channel burst. Works
555           *              only if the server we are connecting to is capable
556           *              of TBURST/TB.
557 +         * ssl        - Initiates a TLS/SSL connection.
558           */
559 < #       flags = autoconn, compressed, cryptlink, burst_away, topicburst;
559 > #       flags = autoconn, burst_away, topicburst;
560   };
561  
562   connect {
563 <        name = "encrypted.auth.example";
529 <        host = "some.host.somewhere";
530 <        port = 6667;
531 <
532 <        flags = cryptlink;
533 <
534 <        /*
535 <         * rsa_public_key_file: the path to the public keyfile of the server.
536 <         * Used instead of passwords.
537 <         */
538 <        rsa_public_key_file = "etc/remote.server.keyfile";
539 <
540 <        /*
541 <         * cipher preference: set the preferred cipher for this link
542 <         *
543 <         * Available ciphers are:
544 <         *      BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128
545 <         *      RC5.12/128 RC5.8/128 3DES/168 DES/56
546 <         *
547 <         * NOTE:  Some ciphers may not be supported by your OpenSSL.
548 <         *        Check the output from 'configure' for available ciphers.
549 <         *
550 <         * NOTE2: To help you decide what cipher to use, tools/encspeed
551 <         *        will show you approximately how fast each cipher is.
552 <         *        However, blowfish is fast and secure, and is probably
553 <         *        a good default for most situations.
554 <         *
555 <         * NOTE3: Default if none is set is BF/128
556 <         *
557 <         * The cipher *MUST* be the same in both directions.  If you
558 <         * set a cipher preference, your uplink must set the same cipher,
559 <         * else it will not link.
560 <         */
561 < #       cipher_preference = "BF/168";
562 < };
563 <
564 < /*
565 < * NOTE: Don't add an extra 'name=' entry if you use
566 < * the connect "name"{} feature
567 < */
568 < connect "ipv6.some.server" {
563 >        name = "ipv6.some.server";
564          host = "3ffd:dead:beef::1";
565          send_password = "password";
566          accept_password = "password";
# Line 599 | Line 594 | cluster {
594  
595          /*
596           * type: list of what to share, options are as follows:
597 <         *      kline   - share klines
598 <         *      tkline  - share temporary klines
599 <         *      unkline - share unklines
600 <         *      xline   - share xlines
601 <         *      txline  - share temporary xlines
602 <         *      unxline - share unxlines
603 <         *      resv    - share resvs
604 <         *      tresv   - share temporary resvs
605 <         *      unresv  - share unresvs
606 <         *      locops  - share locops
612 <         *      all     - share all of the above (default)
597 >         *      dline   - share dlines
598 >         *      undline - share undlines
599 >         *      kline   - share klines
600 >         *      unkline - share unklines
601 >         *      xline   - share xlines
602 >         *      unxline - share unxlines
603 >         *      resv    - share resvs
604 >         *      unresv  - share unresvs
605 >         *      locops  - share locops
606 >         *      all     - share all of the above (default)
607           */
608          type = kline, unkline, locops, xline, resv;
609   };
# Line 638 | Line 632 | shared {
632  
633          /*
634           * type: list of what to share, options are as follows:
635 <         *      kline   - allow oper/server to kline
636 <         *      tkline  - allow temporary klines
637 <         *      unkline - allow oper/server to unkline
638 <         *      xline   - allow oper/server to xline
639 <         *      txline  - allow temporary xlines
640 <         *      unxline - allow oper/server to unxline
641 <         *      resv    - allow oper/server to resv
642 <         *      tresv   - allow temporary resvs
643 <         *      unresv  - allow oper/server to unresv
644 <         *      locops  - allow oper/server to locops - only used for servers that cluster
651 <         *      all     - allow oper/server to do all of the above (default)
635 >         *      dline   - allow oper/server to dline
636 >         *      undline - allow oper/server to undline
637 >         *      kline   - allow oper/server to kline
638 >         *      unkline - allow oper/server to unkline
639 >         *      xline   - allow oper/server to xline
640 >         *      unxline - allow oper/server to unxline
641 >         *      resv    - allow oper/server to resv
642 >         *      unresv  - allow oper/server to unresv
643 >         *      locops  - allow oper/server to locops - only used for servers that cluster
644 >         *      all     - allow oper/server to do all of the above (default)
645           */
646          type = kline, unkline, resv;
647   };
# Line 762 | Line 755 | channel {
755           *   3 | mirc color
756           *  15 | plain text
757           *  22 | reverse
758 +         *  29 | italic
759           *  31 | underline
760           * 160 | non-breaking space
761           */
# Line 821 | Line 815 | channel {
815          knock_delay_channel = 1 minute;
816  
817          /*
824         * burst_topicwho: enable sending of who set topic on topicburst
825         * default is yes
826         */
827        burst_topicwho = yes;
828
829        /*
818           * max_chans_per_user: The maximum number of channels a user can
819           * join/be on.
820           */
# Line 958 | Line 946 | general {
946          invisible_on_connect = yes;
947  
948          /*
961         * If you don't explicitly specify burst_away in your connect blocks, then
962         * they will default to the burst_away value below.
963         */
964        burst_away = no;
965
966        /*
949           * Show "actually using host <ip>" on /whois when possible.
950           */
951          use_whois_actually = yes;
# Line 973 | Line 955 | general {
955           * automatically to switch for the current nick of that user.
956           */
957          kill_chase_time_limit = 90 seconds;
958 <  
958 >
959          /*
960           * If hide_spoof_ips is disabled, opers will be allowed to see the real
961           * IP of spoofed users in /trace etc. If this is defined they will be
# Line 1194 | Line 1176 | general {
1176           * +C - cconn_full   - Client connection/quit notices full
1177           * +D - deaf         - Don't receive channel messages
1178           * +d - debug        - See debugging notices
1179 <         * +f - full         - See I: line full notices
1179 >         * +f - full         - See auth{} block full notices
1180           * +G - softcallerid - Server Side Ignore for users not on your channels
1181           * +g - callerid     - Server Side Ignore (for privmsgs etc)
1182 +         * +H - hidden       - Hides operator status to other users
1183           * +i - invisible    - Not shown in NAMES or WHO unless you share a
1184           *                     a channel
1185 +         * +j - rej          - See rejected client notices
1186           * +k - skill        - See server generated KILL messages
1187           * +l - locops       - See LOCOPS messages
1188           * +n - nchange      - See client nick changes
1205         * +r - rej          - See rejected client notices
1189           * +s - servnotice   - See general server notices
1190           * +u - unauth       - See unauthorized client notices
1191           * +w - wallop       - See server generated WALLOPS
# Line 1212 | Line 1195 | general {
1195           */
1196  
1197          /* oper_only_umodes: usermodes only opers may set */
1198 <        oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
1198 >        oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill,
1199                             nchange, rej, spy, external, operwall,
1200                             locops, unauth;
1201  
# Line 1220 | Line 1203 | general {
1203          oper_umodes = bots, locops, servnotice, operwall, wallop;
1204  
1205          /*
1223         * servlink_path: path to 'servlink' program used by ircd to handle
1224         * encrypted/compressed server <-> server links.
1225         *
1226         * only define if servlink is not in same directory as ircd itself.
1227         */
1228        #servlink_path = "/usr/local/ircd/bin/servlink";
1229
1230        /*
1231         * default_cipher_preference: default cipher to use for cryptlink when none is
1232         * specified in connect block.
1233         */
1234        #default_cipher_preference = "BF/168";
1235
1236        /*
1206           * use_egd: if your system does not have *random devices yet you
1207           * want to use OpenSSL and encrypted links, enable this.  Beware -
1208           * EGD is *very* CPU intensive when gathering data for its pool
# Line 1246 | Line 1215 | general {
1215           */
1216   #       egdpool_path = "/var/run/egd-pool";
1217  
1249
1250        /*
1251         * compression_level: level of compression for compressed links between
1252         * servers.  
1253         *
1254         * values are between: 1 (least compression, fastest)
1255         *                and: 9 (most compression, slowest).
1256         */
1257 #       compression_level = 6;
1258
1218          /*
1219           * throttle_time: the minimum amount of time between connections from
1220           * the same ip.  exempt {} blocks are excluded from this throttling.
# Line 1304 | Line 1263 | glines {
1263  
1264          /*
1265           * action: action to take when a matching gline is found. options are:
1266 <         *  reject      - do not apply the gline locally
1267 <         *  block       - do not propagate the gline
1266 >         *  reject - do not apply the gline locally
1267 >         *  block  - do not propagate the gline
1268           */
1269          action = reject, block;
1270  
# Line 1332 | Line 1291 | modules {
1291   log {
1292          /* Do you want to enable logging to ircd.log? */
1293          use_logging = yes;
1335        timestamp = yes;
1294  
1295          file {
1296                  type = oper;
1297                  name = "/home/ircd/var/log/oper.log";
1298 <                size = 50 megabytes;
1298 >                size = unlimited;
1299          };
1300  
1301          file {

Diff Legend

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