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-8/doc/example.conf (file contents), Revision 1552 by michael, Sun Oct 7 10:08:16 2012 UTC vs.
ircd-hybrid/trunk/doc/reference.conf (file contents), Revision 1825 by michael, Sun Apr 14 19:54:48 2013 UTC

# Line 1 | Line 1
1 < /* doc/example.conf - ircd-hybrid-8 Example configuration file
2 < * Copyright (C) 2000-2012 Hybrid Development Team
1 > /* ircd-hybrid reference configuration file
2 > * Copyright (C) 2000-2013 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 * doc/.
5   *
6   * $Id$
7   */
8  
9 < /* IMPORTANT NOTES:
9 > /*
10 > * ########################################################################
11 > * IMPORTANT NOTES:
12   *
13   * auth {} blocks MUST be specified in order of precedence.  The first one
14   * that matches a user will be used.  So place spoofs first, then specials,
15   * then general access.
16 + * ########################################################################
17   *
18   * Shell style (#), C++ style (//) and C style comments are supported.
19   *
# Line 24 | Line 25
25   *        12 hours 30 minutes 1 second
26   *        
27   * Valid units of time:
28 < *        month, week, day, hour, minute, second
28 > *        year, month, week, day, hour, minute, second
29   *
30   * Valid units of size:
31   *        megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
# Line 32 | Line 33
33   * Sizes and times may be singular or plural.  
34   */
35  
36 < /* EFNET NOTE:
36 < *
37 < * This config file is NOT suitable for EFNet.  EFNet admins should use
38 < * example.efnet.conf
39 < */
40 <
36 >
37   /*
38   * serverinfo {}:  contains information about the server
39   */
# Line 53 | Line 49 | serverinfo {
49           * a digit, followed by 2 alpha-numerical letters.
50           * NOTE: The letters must be capitalized.  This cannot be changed at runtime.
51           */
52 <        sid = "_CHANGE_ME_";
52 >        sid = "0HY";
53  
54          /*
55           * description: the description of the server.
# Line 89 | Line 85 | serverinfo {
85          max_clients = 512;
86  
87          /*
88 +         * max_nick_length: only applies to local clients. Must be in the
89 +         * range of 9 to 30. Default is 9 if nothing else is specified.
90 +         */
91 +        max_nick_length = 9;
92 +
93 +        /*
94 +         * max_topic_length: only applies to topics set by local clients.
95 +         * Must be in the range of 80 to 300. Default is 80 if nothing
96 +         * else is specified.
97 +         */
98 +        max_topic_length = 160;
99 +
100 +        /*
101           * rsa_private_key_file: the path to the file containing our
102           * rsa key for cryptlink.
103           *
# Line 242 | Line 251 | class {
251          number_per_ip = 10;
252          max_number = 100;
253          sendq = 100 kbytes;
254 +
255 +        /*
256 +         * min_idle: minimum idle time that is shown in /whois
257 +         */
258 +        min_idle = 3 hours;
259 +
260 +        /*
261 +         * max_idle: maximum idle time that is shown in /whois
262 +         */
263 +        max_idle = 8 hours;
264 +
265 +        /*
266 +         * flags:
267 +         *
268 +         * random_idle          - idle time is randomly selected within the
269 +         *                        range of min_idle to max_idle
270 +         * hide_idle_from_opers - fake idle time will be shown to operators, too
271 +         */
272 +        flags = random_idle, hide_idle_from_opers;
273   };
274  
275   class {
# Line 249 | Line 277 | class {
277          ping_time = 90 seconds;
278  
279          /*
252         * ping_warning: how fast a server must reply to a PING before
253         * a warning to opers is generated.
254         */
255        ping_warning = 15 seconds;
256
257        /*
280           * connectfreq: only used in server classes.  Specifies the delay
281           * between autoconnecting to servers.
282           */
# Line 289 | Line 311 | listen {
311           *
312           * Currently available flags are:
313           *
314 <         *  ssl    - Port is for SSL client connections only
314 >         *  ssl    - Port may only accept TLS/SSL connections
315           *  server - Only server connections are permitted
316           *  hidden - Port is hidden from /stats P, unless you're an admin
317           */
# Line 349 | Line 371 | auth {
371           * resv_exempt   - exempt this user from resvs ('$' prefix on /stats I)
372           * no_tilde      - remove ~ from a user with no ident ('-' prefix on /stats I)
373           * can_flood     - allow this user to exceed flood limits ('|' prefix on /stats I)
374 +         * webirc        - enables WEBIRC authentication for web-based clients such as Mibbit
375 +         *                 ('<' prefix on /stats I)
376           */
377          flags = need_password, spoof_notice, exceed_limit, kline_exempt,
378                  gline_exempt, resv_exempt, no_tilde, can_flood;
# Line 428 | Line 452 | operator {
452           * +C - cconn_full   - Client connection/quit notices full
453           * +D - deaf         - Don't receive channel messages
454           * +d - debug        - See debugging notices
455 +         * +e - external     - See remote server connection and split notices
456           * +f - full         - See auth{} block full notices
457           * +G - softcallerid - Server Side Ignore for users not on your channels
458           * +g - callerid     - Server Side Ignore (for privmsgs etc)
# Line 441 | Line 466 | operator {
466           * +s - servnotice   - See general server notices
467           * +u - unauth       - See unauthorized client notices
468           * +w - wallop       - See server generated WALLOPS
444         * +x - external     - See remote server connection and split notices
469           * +y - spy          - See LINKS, STATS, TRACE notices etc.
470           * +z - operwall     - See oper generated WALLOPS
471           */
# Line 685 | Line 709 | exempt {
709   /*
710   * resv {}:  nicks and channels users may not use/join
711   */
712 < resv {
713 <        /* reason: the reason for the proceeding resv's */
714 <        reason = "Reserved for services";
715 <
716 <        /* resv: the nicks and channels users may not join/use */
717 <        nick = "Global";
718 <        nick = "DevNull";
719 <        nick = "BotServ";
720 <        nick = "Services";
697 <        nick = "StatServ";
698 <        nick = "HelpServ";
699 <        nick = "HostServ";
700 <        nick = "NickServ";
701 <        nick = "ChanServ";
702 <        nick = "MemoServ";
703 <        nick = "OperServ";
704 <        channel = "#services";
705 <
706 <        /* resv: wildcard masks are also supported in nicks only */
707 <        reason = "Clone bots";
708 <        nick = "clone*";
709 < };
712 > resv { nick = "clone*"; reason = "Clone bots"; };
713 > resv { nick = "NickServ"; reason = "Reserved for services"; };
714 > resv { nick = "OperServ"; reason = "Reserved for services"; };
715 > resv { nick = "MemoServ"; reason = "Reserved for services"; };
716 > resv { nick = "BotServ"; reason = "Reserved for services"; };
717 > resv { nick = "HelpServ"; reason = "Reserved for services"; };
718 > resv { nick = "HostServ"; reason = "Reserved for services"; };
719 > resv { nick = "StatServ"; reason = "Reserved for services"; };
720 > resv { channel = "#*services*"; reason = "Reserved for services"; };
721  
722   /*
723   * gecos {}:  The X: replacement, used for banning users based on
# Line 723 | Line 734 | gecos {
734   };
735  
736   gecos {
726        name = "*http*";
727        reason = "Spambot";
728 };
729
730 gecos {
737          name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$";
738  
739          /*
# Line 871 | Line 877 | serverhide {
877           * logfiles.
878           *
879           * We recommend you leave this disabled, and just take care with who you
880 <         * give admin=yes; to.
880 >         * give administrator privileges to.
881           */
882          hide_server_ips = no;
883   };
884  
885   /*
886   * general {}:  The general block contains many of the options that were once
887 < * compiled in options in config.h.  The general block is read at start time.
887 > * compiled in options in config.h
888   */
889   general {
890          /* services_name: servername of nick/channel services */
# Line 1121 | Line 1127 | general {
1127           * +C - cconn_full   - Client connection/quit notices full
1128           * +D - deaf         - Don't receive channel messages
1129           * +d - debug        - See debugging notices
1130 +         * +e - external     - See remote server connection and split notices
1131           * +f - full         - See auth{} block full notices
1132           * +G - softcallerid - Server Side Ignore for users not on your channels
1133           * +g - callerid     - Server Side Ignore (for privmsgs etc)
# Line 1134 | Line 1141 | general {
1141           * +s - servnotice   - See general server notices
1142           * +u - unauth       - See unauthorized client notices
1143           * +w - wallop       - See server generated WALLOPS
1137         * +x - external     - See remote server connection and split notices
1144           * +y - spy          - See LINKS, STATS, TRACE notices etc.
1145           * +z - operwall     - See oper generated WALLOPS
1146           */
# Line 1228 | Line 1234 | log {
1234                  type = debug;
1235                  name = "/home/ircd/var/log/debug.log";
1236                  size = 50 megabytes;
1237 <        };
1237 >        };
1238   };

Diff Legend

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