ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/doc/reference.conf
Revision: 5805
Committed: Tue Apr 21 21:49:58 2015 UTC (11 years, 3 months ago) by michael
File size: 39759 byte(s)
Log Message:
- Removed glines
- Added kline_min_cidr, kline_min_cidr6, dline_min_cidr and
  dline_min_cidr6 configuration options

File Contents

# User Rev Content
1 michael 2962 /*
2     * This is an example configuration file for ircd-hybrid
3 db 897 *
4 michael 5347 * Copyright (c) 2000-2015 ircd-hybrid development team
5 db 897 *
6     * $Id$
7     */
8    
9 michael 1824 /*
10     * ########################################################################
11 michael 2322 * IMPORTANT NOTE:
12 db 897 *
13 michael 3882 * 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 db 897 * then general access.
16 michael 1824 * ########################################################################
17 db 897 *
18     * Shell style (#), C++ style (//) and C style comments are supported.
19     *
20     * Files may be included by either:
21     * .include "filename"
22     * .include <filename>
23     *
24     * Times/durations are written as:
25     * 12 hours 30 minutes 1 second
26 michael 2841 *
27 db 897 * Valid units of time:
28 michael 1783 * year, month, week, day, hour, minute, second
29 db 897 *
30     * Valid units of size:
31     * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
32     *
33 michael 2305 * Sizes and times may be singular or plural.
34     */
35 db 897
36 michael 1824
37 db 897 /*
38 michael 1336 * serverinfo {}: contains information about the server
39 db 897 */
40     serverinfo {
41     /*
42 michael 2345 * name: the name of this server. This cannot be changed at runtime.
43 db 897 */
44     name = "hades.arpa";
45    
46     /*
47 michael 2345 * sid: a server's unique ID. This is three characters long and must
48     * be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be
49 db 897 * a digit, followed by 2 alpha-numerical letters.
50 michael 2345 *
51 michael 1863 * NOTE: The letters must be capitalized. This cannot be changed at runtime.
52 db 897 */
53 michael 1817 sid = "0HY";
54 db 897
55     /*
56 michael 1533 * description: the description of the server.
57 db 897 */
58 michael 1534 description = "ircd-hybrid test server";
59 db 897
60     /*
61 michael 5522 * network_name, network_desc: the name and description of the network this
62     * server is on. Shown in the 005 reply and used with serverhiding.
63 db 897 */
64     network_name = "MyNet";
65     network_desc = "This is My Network";
66    
67     /*
68     * hub: allow this server to act as a hub and have multiple servers
69     * connected to it.
70     */
71     hub = no;
72    
73     /*
74 michael 5719 * vhost: the IP address to bind to when we connect outward to IPv4 servers.
75     * This should be an IPv4 address, or "*" for INADDR_ANY.
76 db 897 */
77 michael 2171 # vhost = "192.169.0.1";
78 db 897
79     /*
80 michael 5719 * vhost6: the IP address to bind to when we connect outward to IPv6 servers.
81     * This should be an IPv6 address, or "*" for in6addr_any.
82 db 897 */
83 michael 2171 # vhost6 = "3ffe:80e8:546::2";
84 db 897
85 michael 5489 /*
86     * default_max_clients: the default maximum number of clients allowed
87     * to connect. This can be changed from within IRC via /QUOTE SET MAX.
88     */
89     default_max_clients = 512;
90 db 897
91     /*
92 michael 1751 * max_nick_length: only applies to local clients. Must be in the
93     * range of 9 to 30. Default is 9 if nothing else is specified.
94     */
95     max_nick_length = 9;
96    
97     /*
98     * max_topic_length: only applies to topics set by local clients.
99     * Must be in the range of 80 to 300. Default is 80 if nothing
100     * else is specified.
101     */
102     max_topic_length = 160;
103    
104     /*
105 michael 2322 * rsa_private_key_file: the path to the file containing the
106 michael 2844 * RSA key.
107 db 897 *
108 michael 2468 * Example commands to store a 2048 bit RSA key in rsa.key:
109 michael 2308 *
110 michael 1229 * openssl genrsa -out rsa.key 2048
111 michael 2464 * chown <ircd-user>.<ircd.group> rsa.key
112 db 897 * chmod 0600 rsa.key
113     */
114 michael 4173 # rsa_private_key_file = "etc/rsa.key";
115 db 897
116     /*
117 michael 951 * ssl_certificate_file: the path to the file containing our
118 michael 2322 * SSL certificate for encrypted client connection.
119 db 897 *
120     * This assumes your private RSA key is stored in rsa.key. You
121 michael 1863 * MUST have an RSA key in order to generate the certificate.
122 db 897 *
123 michael 1863 * Example command:
124     *
125 db 897 * openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
126     *
127     * See http://www.openssl.org/docs/HOWTO/certificates.txt
128     *
129     * Please use the following values when generating the cert
130     *
131     * Organization Name: Network Name
132     * Organization Unit Name: changme.someirc.net
133     * Common Name: irc.someirc.net
134     * E-mail: you@domain.com
135     */
136 michael 4173 # ssl_certificate_file = "etc/cert.pem";
137 michael 967
138 michael 1351 /*
139 michael 4173 * ssl_dh_param_file: path to the PEM encoded Diffie-Hellman
140     * parameter file. DH parameters are required when using
141     * ciphers with EDH (ephemeral Diffie-Hellman) key exchange.
142 michael 1351 *
143     * A DH parameter file can be created by running:
144     *
145 michael 3013 * openssl dhparam -out dhparam.pem 2048
146 michael 1351 *
147 michael 1523 * Prime size must be at least 1024 bits. Further information
148     * regarding specific OpenSSL dhparam command-line options
149     * can be found in the OpenSSL manual.
150 michael 1351 */
151 michael 4173 # ssl_dh_param_file = "etc/dhparam.pem";
152 michael 1306
153 michael 967 /*
154 michael 4173 * ssl_dh_elliptic_curve: defines the curve to use for the
155     * Elliptic Curve Diffie-Hellman (ECDH) algorithm.
156 michael 4494 * Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified.
157 michael 4070 *
158 michael 4185 * A list of supported curves by OpenSSL can be obtained by running:
159     *
160     * openssl ecparam -list_curves
161 michael 4070 */
162     # ssl_dh_elliptic_curve = "secp521r1";
163    
164     /*
165 michael 4173 * ssl_cipher_list: list of ciphers to support on _this_ server.
166     * Can be used to enforce specific ciphers for incoming SSL/TLS
167     * connections. If a client (which also includes incoming server connections)
168     * is not capable of using any of the ciphers listed here, the connection will
169 michael 2322 * simply be rejected.
170 michael 1550 *
171 michael 2322 * A list of supported ciphers by OpenSSL can be obtained by running:
172 michael 1306 *
173     * openssl ciphers -ssl3 -tls1 -v
174     *
175 michael 1524 * Multiple ciphers are separated by colons. The order of preference is
176     * from left to right.
177 michael 1306 */
178 michael 3015 # ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
179 michael 1306
180     /*
181 michael 4173 * ssl_message_digest_algorithm: defines what cryptographic hash function
182     * to use for generating fingerprint hashes of X.509 certificates.
183 michael 4122 * Default is SHA-256 if nothing else is specified.
184 michael 4114 *
185 michael 4122 * A list of supported message digest algorithms by OpenSSL can be obtained by running:
186 michael 4114 *
187     * openssl list-message-digest-algorithms
188     */
189     # ssl_message_digest_algorithm = "sha256";
190 db 897 };
191    
192     /*
193 michael 4560 * admin {}: contains administrative information about the server
194 db 897 */
195     admin {
196     name = "Smurf target";
197     description = "Main Server Administrator";
198     email = "<syn@packets.r.us>";
199     };
200    
201     /*
202 michael 1229 * class {}: contains information about classes for users
203 db 897 */
204     class {
205 michael 1863 /* name: the name of the class. */
206 db 897 name = "users";
207    
208     /*
209     * ping_time: how often a client must reply to a PING from the
210     * server before they are dropped.
211     */
212     ping_time = 90 seconds;
213    
214     /*
215     * number_per_ip: how many local users are allowed to connect
216 michael 4173 * from a single IP address (optional)
217 db 897 */
218     number_per_ip = 2;
219    
220     /*
221     * max_local: how many local users are allowed to connect
222 michael 4173 * from a single ident@host (optional)
223 db 897 */
224     max_local = 2;
225    
226     /*
227 michael 4173 * max_global: network-wide limit of users per ident@host (optional)
228 db 897 */
229     max_global = 10;
230    
231     /*
232     * max_number: the maximum number of users allowed in this class (optional)
233     */
234     max_number = 100;
235    
236     /*
237 michael 4173 * The following lines are optional and allow you to define
238 michael 1863 * how many users can connect from one /NN subnet.
239 db 897 */
240     cidr_bitlen_ipv4 = 24;
241     cidr_bitlen_ipv6 = 120;
242     number_per_cidr = 16;
243    
244     /*
245 michael 2322 * sendq: the amount of data allowed in a client's send queue before
246 db 897 * they are dropped.
247     */
248     sendq = 100 kbytes;
249 michael 1516
250     /*
251 michael 2322 * recvq: the amount of data allowed in a client's receive queue before
252 michael 4301 * they are dropped for flooding. Defaults to 2560 if the chosen value
253     * isn't within the range of 512 to 8000.
254 michael 1516 */
255     recvq = 2560 bytes;
256 db 897 };
257    
258     class {
259     name = "opers";
260     ping_time = 90 seconds;
261     number_per_ip = 10;
262     max_number = 100;
263 michael 1428 sendq = 100 kbytes;
264 michael 1783
265     /*
266 michael 3933 * max_channels: maximum number of channels users in this class can join.
267     */
268     max_channels = 60;
269    
270     /*
271 michael 1863 * min_idle: minimum idle time that is shown in /whois.
272 michael 1783 */
273     min_idle = 3 hours;
274    
275     /*
276 michael 1863 * max_idle: maximum idle time that is shown in /whois.
277 michael 1783 */
278     max_idle = 8 hours;
279    
280     /*
281     * flags:
282     *
283 michael 2322 * random_idle - a fake idle time is set randomly between
284     * min_idle and max_idle
285     * hide_idle_from_opers - the fake idle time will also be shown to operators
286 michael 1783 */
287     flags = random_idle, hide_idle_from_opers;
288 db 897 };
289    
290     class {
291     name = "server";
292     ping_time = 90 seconds;
293    
294     /*
295 michael 1863 * connectfreq: only used in server classes. Specifies the delay
296 db 897 * between autoconnecting to servers.
297     */
298     connectfreq = 5 minutes;
299    
300 michael 2322 /* max number: the number of servers to autoconnect to. */
301 db 897 max_number = 1;
302    
303 michael 1863 /* sendq: servers need a higher sendq as they send more data. */
304 db 897 sendq = 2 megabytes;
305     };
306    
307     /*
308 michael 2322 * motd {}: Allows the display of a different MOTD to a client
309 michael 2210 * depending on its origin. Applies to local users only.
310 michael 2150 */
311     motd {
312     /*
313     * mask: multiple mask entries are permitted. Mask can either be
314 michael 2993 * a class name or a hostname. CIDR is supported.
315 michael 2150 */
316     mask = "*.at";
317     mask = "*.de";
318     mask = "*.ch";
319    
320     /*
321 michael 2152 * file: path to the actual motd file.
322 michael 2150 */
323 michael 4173 file = "etc/german.motd";
324 michael 2150 };
325    
326     /*
327 michael 1229 * listen {}: contains information about the ports ircd listens on
328 db 897 */
329     listen {
330     /*
331 michael 3447 * port: the port to listen on. If no host is specified earlier
332     * in the listen {} block, it will listen on all available IPs.
333 db 897 *
334 michael 2328 * Ports are separated by commas; a range may be specified using ".."
335 db 897 */
336 michael 2345
337 michael 4301 /* port: listen on all available IP addresses, ports 6665 to 6669. */
338 db 897 port = 6665 .. 6669;
339    
340     /*
341 michael 2322 * Listen on 192.168.0.1/6697 with SSL enabled and hidden from STATS P
342 db 897 * unless you are an administrator.
343     *
344 michael 2322 * NOTE: The "flags" directive always has to come before "port".
345 michael 951 *
346     * Currently available flags are:
347     *
348 michael 1679 * ssl - Port may only accept TLS/SSL connections
349 michael 951 * server - Only server connections are permitted
350 michael 1229 * hidden - Port is hidden from /stats P, unless you're an admin
351 db 897 */
352     flags = hidden, ssl;
353     host = "192.168.0.1";
354     port = 6697;
355    
356     /*
357 michael 5522 * host: set a specific IP address to listen on using the
358 michael 2322 * subsequent port definitions. This may be IPv4 or IPv6.
359 db 897 */
360     host = "1.2.3.4";
361     port = 7000, 7001;
362    
363     host = "3ffe:1234:a:b:c::d";
364     port = 7002;
365     };
366    
367     /*
368 michael 1229 * auth {}: allow users to connect to the ircd
369 db 897 */
370     auth {
371     /*
372 michael 1541 * user: the user@host allowed to connect. Multiple user
373 michael 4266 * lines are permitted within each auth {} block.
374 db 897 */
375     user = "*@172.16.0.0/12";
376     user = "*test@123D:B567:*";
377    
378 michael 4173 /* password: an optional password that is required to use this block. */
379 db 897 password = "letmein";
380    
381     /*
382     * encrypted: controls whether the auth password above has been
383 michael 5504 * encrypted. Default is 'no' if nothing else is specified.
384 db 897 */
385     encrypted = yes;
386    
387     /*
388 michael 2322 * spoof: fake the user's host to this. This is free-form, just do
389 michael 1863 * everyone a favor and don't abuse it. ('=' prefix on /stats I)
390 db 897 */
391     spoof = "I.still.hate.packets";
392    
393 michael 4173 /* class: the class the user is placed in. */
394 db 897 class = "opers";
395    
396     /*
397 michael 4392 * need_password - don't allow users who haven't supplied the correct | ('&' prefix on /stats I if disabled)
398 michael 4266 * password to connect using another auth {} block
399 michael 4392 * need_ident - require the user to have identd to connect | ('+' prefix on /stats I)
400 michael 1229 * spoof_notice - enable spoofing notification to admins
401 michael 4392 * exceed_limit - allow a user to exceed class limits | ('>' prefix on /stats I)
402 michael 5805 * kline_exempt - exempt this user from k-lines | ('^' prefix on /stats I)
403 michael 4392 * resv_exempt - exempt this user from resvs | ('$' prefix on /stats I)
404     * no_tilde - remove ~ from a user with no ident | ('-' prefix on /stats I)
405     * can_flood - allow this user to exceed flood limits | ('|' prefix on /stats I)
406     * webirc - enables WEBIRC authentication for web-based | ('<' prefix on /stats I)
407     * clients such as Mibbit
408 db 897 */
409     flags = need_password, spoof_notice, exceed_limit, kline_exempt,
410 michael 5805 resv_exempt, no_tilde, can_flood;
411 db 897 };
412    
413     auth {
414     /*
415 michael 4301 * redirserv, redirport: the server and port to redirect a user to.
416     * A user does not have to obey the redirection; the ircd just
417     * suggests an alternative server for them.
418 db 897 */
419 michael 4305 redirserv = "server.tld";
420 db 897 redirport = 6667;
421 michael 2345
422 michael 4305 user = "*@*.tld";
423 db 897
424 michael 4173 /* class: a class is required even though it is not used. */
425 db 897 class = "users";
426     };
427    
428     auth {
429     user = "*@*";
430     class = "users";
431     flags = need_ident;
432     };
433    
434     /*
435 michael 1229 * operator {}: defines ircd operators
436 db 897 */
437     operator {
438 michael 4301 /* name: the name of the operator */
439 michael 1537 name = "sheep";
440 db 897
441     /*
442 michael 3447 * user: the user@host required for this operator. Multiple user
443 michael 4266 * lines are permitted within each operator {} block.
444 db 897 */
445 michael 1537 user = "*sheep@192.168.0.0/16";
446 michael 1285 user = "*@127.0.0.0/8";
447 db 897
448     /*
449 michael 1863 * password: the password required to oper. By default this will
450 michael 1070 * need to be encrypted by using the provided mkpasswd tool.
451     * Several password hash algorithms are available depending
452     * on your system's crypt() implementation. For example, a modern
453 michael 2322 * glibc already has support for the SHA-256/512 and MD5 encryption
454 michael 1070 * algorithms.
455 db 897 */
456 michael 1070 password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
457 db 897
458     /*
459     * encrypted: controls whether the oper password above has been
460 michael 4436 * encrypted. Default is 'yes' if nothing else is specified.
461 db 897 */
462     encrypted = yes;
463    
464     /*
465 michael 5556 * whois: allows to override the default RPL_WHOISOPERATOR numeric
466     * string shown in /whois.
467     * This string is propagated to all servers on the network.
468     */
469     # whois = "is a Smurf Target (IRC Operator)";
470    
471     /*
472 michael 4301 * rsa_public_key_file: the public key for this oper when using /challenge.
473 michael 2841 * A password should not be defined when this is used; see
474 db 897 * doc/challenge.txt for more information.
475     */
476 michael 4173 # rsa_public_key_file = "etc/oper.pub";
477 db 897
478 michael 2228 /*
479 michael 2244 * ssl_certificate_fingerprint: enhances security by additionally checking
480     * the oper's client certificate fingerprint against the specified
481     * fingerprint below.
482 michael 2236 *
483     * Hint: your users can use the following command to obtain a SHA-256 hash
484     * of their ssl certificate:
485     *
486     * openssl x509 -sha256 -noout -fingerprint -in cert.pem | sed -e 's/^.*=//;s/://g'
487 michael 2228 */
488 michael 2244 # ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
489 michael 2228
490 michael 2248 /*
491     * ssl_connection_required: client must be connected over SSL/TLS
492 michael 4266 * in order to be able to use this operator {} block.
493 michael 2279 * Default is 'no' if nothing else is specified.
494 michael 2248 */
495     ssl_connection_required = no;
496    
497 michael 4173 /* class: the class the oper joins when they successfully /oper or /challenge. */
498 db 897 class = "opers";
499    
500     /*
501 michael 4173 * umodes: the default usermodes opers get when they /oper or /challenge.
502     * If defined, it will override oper_umodes settings in general {}.
503 db 897 * Available usermodes:
504     *
505     * +b - bots - See bot and drone flooding notices
506     * +c - cconn - Client connection/quit notices
507     * +D - deaf - Don't receive channel messages
508     * +d - debug - See debugging notices
509 michael 1818 * +e - external - See remote server connection and split notices
510 michael 1976 * +F - farconnect - Remote client connection/quit notices
511 michael 4266 * +f - full - See auth {} block full notices
512 db 897 * +G - softcallerid - Server Side Ignore for users not on your channels
513     * +g - callerid - Server Side Ignore (for privmsgs etc)
514 michael 1294 * +H - hidden - Hides operator status to other users
515 michael 2267 * +i - invisible - Not shown in NAMES or WHO unless you share a channel
516 michael 1290 * +j - rej - See rejected client notices
517 db 897 * +k - skill - See server generated KILL messages
518     * +l - locops - See LOCOPS messages
519     * +n - nchange - See client nick changes
520 michael 3513 * +p - hidechans - Hides channel list in WHOIS
521 michael 3506 * +q - hideidle - Hides idle and signon time in WHOIS
522 michael 1855 * +R - nononreg - Only receive private messages from registered clients
523 db 897 * +s - servnotice - See general server notices
524     * +u - unauth - See unauthorized client notices
525     * +w - wallop - See server generated WALLOPS
526     * +y - spy - See LINKS, STATS, TRACE notices etc.
527     */
528 michael 3869 umodes = locops, servnotice, wallop;
529 db 897
530     /*
531 michael 5522 * flags: controls the activities and commands an oper is
532 michael 4301 * allowed to do on the server. All flags default to 'no'.
533     * Available flags:
534 db 897 *
535 michael 4308 * admin - gives administrator privileges | ('A' flag)
536 michael 2018 * connect - allows local CONNECT | ('P' flag)
537     * connect:remote - allows remote CONNECT | ('Q' flag)
538 michael 4308 * die - allows DIE | ('D' flag)
539     * dline - allows DLINE |
540     * globops - allows GLOBOPS |
541 michael 2018 * kill - allows to KILL local clients | ('N' flag)
542     * kill:remote - allows remote users to be /KILL'd | ('O' flag)
543 michael 4308 * kline - allows KLINE | ('K' flag)
544     * locops - allows LOCOPS |
545     * module - allows MODULE |
546 michael 5004 * opme - allows OPME |
547 michael 4308 * rehash - allows oper to REHASH config | ('H' flag)
548 michael 2018 * remoteban - allows remote KLINE/UNKLINE | ('B' flag)
549 michael 4308 * restart - allows RESTART |
550     * set - allows SET |
551     * squit - allows local SQUIT | ('R' flag)
552     * squit:remote - allows remote SQUIT | ('S' flag)
553 michael 2018 * undline - allows UNDLINE |
554     * unkline - allows UNKLINE | ('U' flag)
555 michael 2852 * unxline - allows UNXLINE |
556 michael 2038 * wallops - allows WALLOPS |
557 michael 4308 * xline - allows XLINE | ('X' flag)
558 db 897 */
559 michael 4308 flags = admin, connect, connect:remote, die, globops, kill, kill:remote,
560     kline, module, rehash, restart, set, unkline, unxline, xline;
561 db 897 };
562    
563 michael 1552 /*
564 michael 2322 * connect {}: define a server to connect to
565 db 897 */
566     connect {
567 michael 4173 /* name: the name of the server. */
568 db 897 name = "irc.uplink.com";
569    
570     /*
571 michael 2322 * host: the host or IP address to connect to. If a hostname is used it
572     * must match the reverse DNS of the server.
573 db 897 */
574     host = "192.168.0.1";
575    
576     /*
577 michael 2322 * vhost: the IP address to bind to when making outgoing connections to
578     * servers.
579 db 897 * serverinfo::vhost and serverinfo::vhost6 will be overridden
580     * by this directive.
581     */
582     vhost = "192.168.0.2";
583    
584     /*
585 michael 4301 * send_password, accept_password: the passwords to send and accept.
586 michael 2322 * The remote server will have these passwords swapped.
587 db 897 */
588     send_password = "password";
589     accept_password = "anotherpassword";
590    
591     /*
592     * encrypted: controls whether the accept_password above has been
593 michael 1070 * encrypted.
594 db 897 */
595     encrypted = no;
596    
597 michael 4173 /* port: the port to connect to this server on. */
598 db 897 port = 6666;
599    
600     /*
601 michael 1863 * hub_mask: the mask of servers that this server may hub. Multiple
602     * entries are permitted.
603 db 897 */
604     hub_mask = "*";
605    
606     /*
607 michael 1863 * leaf_mask: the mask of servers this server may not hub. Multiple
608     * entries are permitted. Useful for forbidding EU -> US -> EU routes.
609 db 897 */
610     # leaf_mask = "*.uk";
611    
612 michael 4173 /* class: the class this server is in. */
613 db 897 class = "server";
614    
615 michael 1524 /*
616 michael 4173 * ssl_cipher_list: list of ciphers that the server we are connecting to
617     * must support. If the server is not capable of using any of the ciphers
618     * listed below, the connection will simply be rejected.
619 michael 1524 * Can be used to enforce stronger ciphers, even though this option
620     * is not necessarily required to establish a SSL/TLS connection.
621     *
622     * Multiple ciphers are separated by colons. The order of preference
623     * is from left to right.
624     */
625 michael 3059 # ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
626 michael 1306
627 db 897 /*
628 michael 2244 * ssl_certificate_fingerprint: enhances security by additionally checking
629     * the server's client certificate fingerprint against the specified
630     * fingerprint below.
631 michael 2228 */
632 michael 2244 # ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
633 michael 2228
634     /*
635 michael 1229 * autoconn - controls whether we autoconnect to this server or not,
636     * dependent on class limits. By default, this is disabled.
637 michael 1303 * ssl - Initiates a TLS/SSL connection.
638 db 897 */
639 michael 1519 # flags = autoconn, ssl;
640 db 897 };
641    
642     connect {
643 michael 1285 name = "ipv6.some.server";
644 db 897 host = "3ffd:dead:beef::1";
645     send_password = "password";
646     accept_password = "password";
647     port = 6666;
648    
649     /*
650     * aftype: controls whether the connection uses "ipv4" or "ipv6".
651     * Default is ipv4.
652     */
653     aftype = ipv6;
654     class = "server";
655     };
656    
657     /*
658     * cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
659 michael 1229 * automatically
660 db 897 */
661     cluster {
662     /*
663 michael 2322 * name: the server to share with; this can take wildcards
664 db 897 *
665 michael 2322 * NOTE: only local actions will be clustered, meaning that if
666 db 897 * the server receives a shared kline/unkline/etc, it
667     * will not be propagated to clustered servers.
668     *
669     * Remote servers are not necessarily required to accept
670 michael 4288 * clustered lines, they need a shared {} block for *THIS*
671     * server in order to accept them.
672 db 897 */
673     name = "*.arpa";
674    
675     /*
676 michael 2322 * type: list of what to share; options are as follows:
677 michael 1301 * dline - share dlines
678     * undline - share undlines
679 michael 1336 * kline - share klines
680     * unkline - share unklines
681     * xline - share xlines
682     * unxline - share unxlines
683     * resv - share resvs
684     * unresv - share unresvs
685     * locops - share locops
686     * all - share all of the above (default)
687 db 897 */
688     type = kline, unkline, locops, xline, resv;
689     };
690    
691     /*
692 michael 1229 * shared {}: users that are allowed to remote kline
693 db 897 *
694 michael 2322 * NOTE: This can effectively be used for remote klines.
695 db 897 * Please note that there is no password authentication
696 michael 1863 * for users setting remote klines. You must also be
697 db 897 * /oper'd in order to issue a remote kline.
698     */
699     shared {
700     /*
701 michael 2322 * name: the server the user must be connected to in order to set klines.
702     * If this is not specified, the user will be allowed to kline from all
703     * servers.
704 db 897 */
705     name = "irc2.some.server";
706    
707     /*
708 michael 1863 * user: the user@host mask that is allowed to set klines. If this is
709 db 897 * not specified, all users on the server above will be allowed to set
710     * a remote kline.
711     */
712     user = "oper@my.host.is.spoofed";
713    
714     /*
715     * type: list of what to share, options are as follows:
716 michael 1301 * dline - allow oper/server to dline
717     * undline - allow oper/server to undline
718 michael 1336 * kline - allow oper/server to kline
719     * unkline - allow oper/server to unkline
720     * xline - allow oper/server to xline
721     * unxline - allow oper/server to unxline
722     * resv - allow oper/server to resv
723     * unresv - allow oper/server to unresv
724 db 897 * locops - allow oper/server to locops - only used for servers that cluster
725 michael 1336 * all - allow oper/server to do all of the above (default)
726 db 897 */
727     type = kline, unkline, resv;
728     };
729    
730     /*
731 michael 1229 * kill {}: users that are not allowed to connect
732 michael 4308 * Oper issued klines will be added to the specified kline database
733 db 897 */
734     kill {
735     user = "bad@*.hacked.edu";
736     reason = "Obviously hacked account";
737     };
738    
739     /*
740 michael 2322 * deny {}: IP addresses that are not allowed to connect
741     * (before DNS/ident lookup)
742 michael 4308 * Oper issued dlines will be added to the specified dline database
743 db 897 */
744     deny {
745     ip = "10.0.1.0/24";
746     reason = "Reconnecting vhosted bots";
747     };
748    
749     /*
750 michael 2322 * exempt {}: IP addresses that are exempt from deny {} and Dlines
751 db 897 */
752     exempt {
753     ip = "192.168.0.0/16";
754     };
755    
756     /*
757 michael 1229 * resv {}: nicks and channels users may not use/join
758 db 897 */
759 michael 1858 resv { mask = "clone*"; reason = "Clone bots"; };
760 michael 3659 resv { mask = "Global"; reason = "Reserved for services"; };
761 michael 1866 resv { mask = "ChanServ"; reason = "Reserved for services"; };
762 michael 1858 resv { mask = "NickServ"; reason = "Reserved for services"; };
763     resv { mask = "OperServ"; reason = "Reserved for services"; };
764     resv { mask = "MemoServ"; reason = "Reserved for services"; };
765     resv { mask = "BotServ"; reason = "Reserved for services"; };
766     resv { mask = "HelpServ"; reason = "Reserved for services"; };
767     resv { mask = "HostServ"; reason = "Reserved for services"; };
768     resv { mask = "StatServ"; reason = "Reserved for services"; };
769     resv { mask = "#*services*"; reason = "Reserved for services"; };
770 michael 1823
771 michael 1858 resv {
772     /*
773     * mask: masks starting with a '#' are automatically considered
774 michael 2322 * as channel name masks.
775 michael 1858 */
776     mask = "#helsinki";
777 michael 3550 reason = "Channel is reserved for Finnish inhabitants";
778 michael 1858
779     /*
780     * exempt: can be either a ISO 3166 alpha-2 two letter country
781     * code, or a nick!user@host mask. CIDR is supported. Exempt
782     * entries can be stacked.
783     */
784     exempt = "FI";
785     };
786    
787 db 897 /*
788 michael 4308 * gecos {}: used for banning users based on their "realname".
789 db 897 */
790     gecos {
791     name = "*sex*";
792     reason = "Possible spambot";
793     };
794    
795     gecos {
796     name = "sub7server";
797     reason = "Trojan drone";
798     };
799    
800     /*
801 michael 4919 * service {}: specifies a server which may act as a network service
802     *
803     * NOTE: it is very important that every server on the network
804     * has the same service {} block.
805     */
806     service {
807     name = "service.someserver";
808     name = "stats.someserver";
809     };
810    
811     /*
812 michael 4545 * pseudo {}: adds pseudo/custom commands also known as service aliases
813     */
814     pseudo {
815 michael 5719 /* command: the actual command/alias. */
816 michael 4545 command = "IDENTIFY";
817    
818 michael 5719 /* prepend: optional text that can be prepended before the user's message. */
819 michael 4545 prepend = "IDENTIFY ";
820    
821 michael 5719 /* name: the service name, used for error messages. */
822 michael 4545 name = "NickServ";
823    
824 michael 5719 /* target: the actual target where this message should be sent to. */
825 michael 4545 target = "NickServ@service.someserver";
826     };
827    
828     pseudo {
829 michael 4591 command = "CHANSERV";
830     name = "ChanServ";
831     target = "ChanServ@service.someserver";
832 michael 4545 };
833    
834     pseudo {
835 michael 4591 command = "CS";
836     name = "ChanServ";
837     target = "ChanServ@service.someserver";
838 michael 4545 };
839    
840     pseudo {
841 michael 4591 command = "NICKSERV";
842     name = "NickServ";
843     target = "NickServ@service.someserver";
844 michael 4545 };
845    
846     pseudo {
847 michael 4591 command = "NS";
848     name = "NickServ";
849     target = "NickServ@service.someserver";
850 michael 4545 };
851    
852     pseudo {
853 michael 4591 command = "MEMOSERV";
854     name = "MemoServ";
855     target = "MemoServ@service.someserver";
856 michael 4545 };
857    
858     pseudo {
859 michael 4591 command = "MS";
860     name = "MemoServ";
861     target = "MemoServ@service.someserver";
862 michael 4545 };
863    
864     pseudo {
865 michael 4591 command = "OPERSERV";
866     name = "OperServ";
867     target = "OperServ@service.someserver";
868 michael 4545 };
869    
870     pseudo {
871 michael 4591 command = "OS";
872     name = "OperServ";
873     target = "OperServ@service.someserver";
874 michael 4545 };
875    
876     pseudo {
877 michael 4591 command = "HOSTSERV";
878     name = "HostServ";
879     target = "HostServ@service.someserver";
880 michael 4545 };
881    
882     pseudo {
883 michael 4591 command = "HS";
884     name = "HostServ";
885     target = "HostServ@service.someserver";
886 michael 4545 };
887    
888     pseudo {
889 michael 4591 command = "BOTSERV";
890     name = "BotServ";
891     target = "BotServ@service.someserver";
892 michael 4545 };
893    
894     pseudo {
895 michael 4591 command = "BS";
896     name = "BotServ";
897     target = "BotServ@service.someserver";
898 michael 4545 };
899    
900     /*
901 michael 4308 * channel {}: the channel block contains options pertaining to channels
902 db 897 */
903     channel {
904     /*
905     * disable_fake_channels: this option, if set to 'yes', will
906 michael 2322 * disallow clients from creating or joining channels that have one
907 db 897 * of the following ASCII characters in their name:
908     *
909     * 2 | bold
910     * 3 | mirc color
911 michael 951 * 15 | plain text
912 db 897 * 22 | reverse
913 michael 1424 * 29 | italic
914 db 897 * 31 | underline
915     * 160 | non-breaking space
916     */
917     disable_fake_channels = yes;
918    
919     /*
920 michael 3860 * invite_client_count, invite_client_time: how many INVITE commands
921     * are permitted per client per invite_client_time.
922 michael 3762 */
923 michael 3860 invite_client_count = 10;
924     invite_client_time = 5 minutes;
925 michael 3762
926     /*
927 michael 3860 * knock_client_count, knock_client_time: how many KNOCK commands
928     * are permitted per client per knock_client_time.
929 michael 3762 */
930 michael 3860 knock_client_count = 1;
931     knock_client_time = 5 minutes;
932 michael 3762
933     /*
934 michael 3933 * knock_delay_channel: how often a KNOCK to any specific channel
935 michael 3762 * is permitted, regardless of the user sending the KNOCK.
936 db 897 */
937     knock_delay_channel = 1 minute;
938    
939     /*
940 michael 3933 * max_channels: the maximum number of channels a user can join/be on.
941 michael 4266 * This is a default value which can be overriden with class {} blocks.
942 db 897 */
943 michael 3933 max_channels = 25;
944 db 897
945 michael 5719 /* max_bans: maximum number of +b/e/I modes in a channel. */
946 michael 1522 max_bans = 100;
947 db 897
948     /*
949 michael 5489 * default_join_flood_count, default_join_flood_time:
950     * how many joins in how many seconds constitute a flood. Use 0 to disable.
951     * +b opers will be notified. These are only default values which can be
952     * changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME".
953 db 897 */
954 michael 5489 default_join_flood_count = 18;
955     default_join_flood_time = 6 seconds;
956 db 897
957     /*
958 michael 2322 * The ircd will now check splitmode (whether a server is split from
959     * the network) every few seconds; this functionality is known as
960     * splitcode and is influenced by the options below.
961 db 897 *
962     * Either split users or split servers can activate splitmode, but
963     * both conditions must be met for the ircd to deactivate splitmode.
964 michael 2345 *
965 michael 5719 * You may force splitmode to be permanent by /quote set splitmode on.
966 db 897 */
967    
968     /*
969     * default_split_user_count: when the usercount is lower than this level,
970 michael 1863 * consider ourselves split. This must be set for automatic splitmode.
971 db 897 */
972     default_split_user_count = 0;
973    
974     /*
975     * default_split_server_count: when the servercount is lower than this,
976 michael 1863 * consider ourselves split. This must be set for automatic splitmode.
977 db 897 */
978     default_split_server_count = 0;
979    
980 michael 2322 /* no_create_on_split: do not allow users to create channels on split. */
981 db 897 no_create_on_split = yes;
982    
983 michael 2322 /* no_join_on_split: do not allow users to join channels on a split. */
984 db 897 no_join_on_split = no;
985     };
986    
987     /*
988 michael 4308 * serverhide {}: the serverhide block contains the options regarding
989 michael 4205 * to server hiding. For more information regarding server hiding,
990     * please see doc/serverhide.txt
991 db 897 */
992     serverhide {
993     /*
994 michael 2322 * disable_remote_commands: disable users issuing commands
995 michael 2196 * on remote servers.
996     */
997     disable_remote_commands = no;
998    
999     /*
1000 db 897 * flatten_links: this option will show all servers in /links appear
1001 michael 2322 * as though they are linked to this current server.
1002 db 897 */
1003     flatten_links = no;
1004    
1005     /*
1006     * links_delay: how often to update the links file when it is
1007     * flattened.
1008     */
1009     links_delay = 5 minutes;
1010    
1011     /*
1012     * hidden: hide this server from a /links output on servers that
1013 michael 1863 * support it. This allows hub servers to be hidden etc.
1014 db 897 */
1015     hidden = no;
1016    
1017     /*
1018     * hide_servers: hide remote servernames everywhere and instead use
1019     * hidden_name and network_desc.
1020     */
1021     hide_servers = no;
1022    
1023     /*
1024 michael 1851 * hide_services: define this if you want to hide the location of
1025 michael 4266 * services servers that are specified in the service {} block.
1026 michael 1851 */
1027     hide_services = no;
1028    
1029     /*
1030 michael 4308 * hidden_name: use this as the servername users see if hide_servers = yes.
1031 db 897 */
1032     hidden_name = "*.hidden.com";
1033    
1034     /*
1035 michael 4301 * hide_server_ips: if this is disabled, opers will be unable to see
1036 michael 2322 * servers' IP addresses and will be shown a masked IP address; admins
1037     * will be shown the real IP address.
1038 db 897 *
1039 michael 2322 * If this is enabled, nobody can see a server's IP address.
1040     * *This is a kludge*: it has the side effect of hiding the IP addresses
1041     * everywhere, including logfiles.
1042 db 897 *
1043     * We recommend you leave this disabled, and just take care with who you
1044 michael 1729 * give administrator privileges to.
1045 db 897 */
1046     hide_server_ips = no;
1047     };
1048    
1049     /*
1050 michael 4308 * general {}: the general block contains many of the options that were once
1051 michael 1783 * compiled in options in config.h
1052 db 897 */
1053     general {
1054 michael 2286 /*
1055     * cycle_on_host_change: sends a fake QUIT/JOIN combination
1056     * when services change the hostname of a specific client.
1057     */
1058     cycle_on_host_change = yes;
1059    
1060 michael 951 /* max_watch: maximum WATCH entries a client can have. */
1061 michael 3882 max_watch = 30;
1062 db 897
1063 michael 3882 /* max_accept: maximum allowed /accept's for +g usermode. */
1064     max_accept = 30;
1065    
1066 db 897 /*
1067 michael 5805 * dline_min_cidr: the minimum required length of a CIDR bitmask
1068     * for IPv4 based D-lines.
1069 michael 1459 */
1070 michael 5805 dline_min_cidr = 16;
1071 michael 1459
1072     /*
1073 michael 5805 * dline_min_cidr6: the minimum required length of a CIDR bitmask
1074     * for IPv6 based D-lines.
1075 michael 1459 */
1076 michael 5805 dline_min_cidr6 = 48;
1077 michael 1459
1078     /*
1079 michael 5805 * kline_min_cidr: the minimum required length of a CIDR bitmask
1080     * for IPv4 based K-lines.
1081 db 897 */
1082 michael 5805 kline_min_cidr = 16;
1083 db 897
1084     /*
1085 michael 5805 * kline_min_cidr6: the minimum required length of a CIDR bitmask
1086     * for IPv6 based K-lines.
1087 db 897 */
1088 michael 5805 kline_min_cidr6 = 48;
1089 db 897
1090     /*
1091 michael 3445 * invisible_on_connect: whether to automatically set mode +i on
1092     * connecting users.
1093 db 897 */
1094     invisible_on_connect = yes;
1095    
1096     /*
1097 michael 2322 * kill_chase_time_limit: KILL chasing is a feature whereby a KILL
1098     * issued for a user who has recently changed nickname will be applied
1099     * automatically to the new nick. kill_chase_time_limit is the maximum
1100     * time following a nickname change that this chasing will apply.
1101 db 897 */
1102 michael 3341 kill_chase_time_limit = 30 seconds;
1103 db 897
1104     /*
1105 michael 4173 * ignore_bogus_ts: ignore bogus timestamps from other servers.
1106     * Yes, this will desync the network, but it will allow chanops
1107     * to resync with a valid non TS 0.
1108 db 897 *
1109     * This should be enabled network wide, or not at all.
1110     */
1111     ignore_bogus_ts = no;
1112    
1113     /*
1114     * disable_auth: completely disable ident lookups; if you enable this,
1115 michael 5719 * be careful of what you set need_ident to in your auth {} blocks.
1116 db 897 */
1117     disable_auth = no;
1118    
1119     /*
1120     * tkline_expire_notices: enables or disables temporary kline/xline
1121     * expire notices.
1122     */
1123     tkline_expire_notices = no;
1124    
1125     /*
1126     * default_floodcount: the default value of floodcount that is configurable
1127 michael 4173 * via /quote set floodcount. This is the number of lines a user may send
1128 michael 5499 * to any other user/channel in one second. Set to 0 to disable.
1129 db 897 */
1130     default_floodcount = 10;
1131    
1132     /*
1133 michael 2305 * failed_oper_notice: send a notice to all opers on the server when
1134 db 897 * someone tries to OPER and uses the wrong password, host or ident.
1135     */
1136     failed_oper_notice = yes;
1137    
1138     /*
1139 michael 2322 * dots_in_ident: the number of '.' characters permitted in an ident
1140 db 897 * reply before the user is rejected.
1141     */
1142     dots_in_ident = 2;
1143    
1144     /*
1145 michael 2322 * min_nonwildcard: the minimum number of non-wildcard characters in
1146     * k/d/g lines placed via the server. K-lines hand-placed are exempt from
1147     * this limit.
1148 michael 4173 * Wildcard characters: '.', ':', '*', '?', '@', '!'
1149 db 897 */
1150     min_nonwildcard = 4;
1151    
1152     /*
1153 michael 2322 * min_nonwildcard_simple: the minimum number of non-wildcard characters
1154 michael 4173 * in gecos bans. Wildcard characters: '*', '?'
1155 db 897 */
1156     min_nonwildcard_simple = 3;
1157    
1158 michael 1863 /* anti_nick_flood: enable the nickflood control code. */
1159 db 897 anti_nick_flood = yes;
1160    
1161 michael 5621 /*
1162     * max_nick_changes, max_nick_time: the number of nick changes allowed in
1163     * the specified period.
1164     */
1165     max_nick_changes = 5;
1166 db 897 max_nick_time = 20 seconds;
1167    
1168     /*
1169 michael 4313 * away_count, away_time: how many AWAY command are permitted per
1170     * client per away_time.
1171     */
1172     away_count = 2;
1173     away_time = 10 seconds;
1174    
1175     /*
1176 db 897 * anti_spam_exit_message_time: the minimum time a user must be connected
1177     * before custom quit messages are allowed.
1178     */
1179     anti_spam_exit_message_time = 5 minutes;
1180    
1181     /*
1182 michael 3882 * ts_warn_delta, ts_max_delta: the time delta allowed between server
1183     * clocks before a warning is given, or before the link is dropped.
1184 michael 4173 * All servers should run ntpdate/rdate to keep clocks in sync.
1185 db 897 */
1186 michael 4403 ts_warn_delta = 3 seconds;
1187     ts_max_delta = 15 seconds;
1188 db 897
1189     /*
1190 michael 3473 * warn_no_connect_block: warn opers about servers that try to connect
1191     * but for which we don't have a connect {} block. Twits with
1192     * misconfigured servers can become really annoying with this enabled.
1193 db 897 */
1194 michael 3473 warn_no_connect_block = yes;
1195 db 897
1196     /*
1197     * stats_e_disabled: set this to 'yes' to disable "STATS e" for both
1198 michael 1863 * operators and administrators. Doing so is a good idea in case
1199 michael 4173 * there are any exempted (exempt {}) server IPs you don't want to
1200 db 897 * see leaked.
1201     */
1202     stats_e_disabled = no;
1203    
1204 michael 5025 /* stats_m_oper_only: make /stats m/M (messages) oper only. */
1205     stats_m_oper_only = yes;
1206    
1207 michael 4173 /* stats_o_oper_only: make stats o (opers) oper only. */
1208 db 897 stats_o_oper_only = yes;
1209    
1210 michael 4173 /* stats_P_oper_only: make stats P (ports) oper only. */
1211 db 897 stats_P_oper_only = yes;
1212    
1213 michael 4173 /* stats_u_oper_only: make stats u (uptime) oper only. */
1214 michael 2269 stats_u_oper_only = no;
1215    
1216 db 897 /*
1217 michael 3520 * stats_i_oper_only: make stats i (auth {}) oper only. Set to:
1218 michael 4266 * yes - show users no auth {} blocks, made oper only
1219     * masked - show users the first matching auth {} block
1220     * no - show users all auth {} blocks
1221 db 897 */
1222     stats_i_oper_only = yes;
1223    
1224     /*
1225 michael 1863 * stats_k_oper_only: make stats k/K (klines) oper only. Set to:
1226 michael 5029 * yes - show users no klines, made oper only
1227     * masked - show users the first matching kline
1228     * no - show users all klines
1229 db 897 */
1230     stats_k_oper_only = yes;
1231    
1232     /*
1233     * caller_id_wait: time between notifying a +g user that somebody
1234     * is messaging them.
1235     */
1236     caller_id_wait = 1 minute;
1237    
1238     /*
1239     * opers_bypass_callerid: allows operators to bypass +g and message
1240 michael 4786 * anyone who has it set.
1241 db 897 */
1242     opers_bypass_callerid = no;
1243    
1244     /*
1245 michael 2322 * pace_wait_simple: minimum time required between use of less
1246     * intensive commands
1247 michael 3520 * (ADMIN, HELP, LUSERS, VERSION, remote WHOIS)
1248 db 897 */
1249     pace_wait_simple = 1 second;
1250    
1251     /*
1252 michael 2322 * pace_wait: minimum time required between use of more intensive commands
1253 michael 4313 * (INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS)
1254 db 897 */
1255     pace_wait = 10 seconds;
1256    
1257     /*
1258 michael 2322 * short_motd: send clients a notice telling them to read the MOTD
1259     * instead of forcing an MOTD to clients who may simply ignore it.
1260 db 897 */
1261     short_motd = no;
1262    
1263     /*
1264 michael 4173 * ping_cookie: require clients to respond exactly to a PING command,
1265 db 897 * can help block certain types of drones and FTP PASV mode spoofing.
1266     */
1267     ping_cookie = no;
1268    
1269     /* no_oper_flood: increase flood limits for opers. */
1270     no_oper_flood = yes;
1271    
1272 michael 1863 /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */
1273 db 897 oper_pass_resv = yes;
1274    
1275 michael 2345 /* REMOVE ME. The following line checks that you have been reading. */
1276 db 897 havent_read_conf = 1;
1277    
1278     /*
1279 michael 2322 * max_targets: the maximum number of targets in a single
1280 michael 1863 * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
1281 db 897 */
1282     max_targets = 4;
1283    
1284     /*
1285     * usermodes configurable: a list of usermodes for the options below
1286     *
1287     * +b - bots - See bot and drone flooding notices
1288     * +c - cconn - Client connection/quit notices
1289     * +D - deaf - Don't receive channel messages
1290     * +d - debug - See debugging notices
1291 michael 1818 * +e - external - See remote server connection and split notices
1292 michael 1976 * +F - farconnect - Remote client connection/quit notices
1293 michael 4266 * +f - full - See auth {} block full notices
1294 db 897 * +G - softcallerid - Server Side Ignore for users not on your channels
1295     * +g - callerid - Server Side Ignore (for privmsgs etc)
1296 michael 1294 * +H - hidden - Hides operator status to other users
1297 michael 2345 * +i - invisible - Not shown in NAMES or WHO unless you share a channel
1298 michael 1290 * +j - rej - See rejected client notices
1299 db 897 * +k - skill - See server generated KILL messages
1300     * +l - locops - See LOCOPS messages
1301     * +n - nchange - See client nick changes
1302 michael 3513 * +p - hidechans - Hides channel list in WHOIS
1303 michael 3506 * +q - hideidle - Hides idle and signon time in WHOIS
1304 michael 1855 * +R - nononreg - Only receive private messages from registered clients
1305 db 897 * +s - servnotice - See general server notices
1306     * +u - unauth - See unauthorized client notices
1307     * +w - wallop - See server generated WALLOPS
1308     * +y - spy - See LINKS, STATS, TRACE notices etc.
1309     */
1310    
1311 michael 4301 /* oper_only_umodes: usermodes only operators may set. */
1312 michael 4308 oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops,
1313     nchange, rej, skill, spy, unauth;
1314 db 897
1315 michael 4301 /* oper_umodes: default usermodes operators get when they /oper or /challenge. */
1316 michael 3869 oper_umodes = bots, locops, servnotice, wallop;
1317 db 897
1318     /*
1319 michael 3877 * throttle_count: the maximum number of connections from the same
1320     * IP address allowed in throttle_time duration.
1321     */
1322     throttle_count = 1;
1323    
1324     /*
1325 michael 2322 * throttle_time: the minimum amount of time required between
1326 michael 3877 * connections from the same IP address. exempt {} blocks are
1327     * excluded from this throttling.
1328 michael 1863 * Offers protection against flooders who reconnect quickly.
1329 db 897 * Set to 0 to disable.
1330     */
1331 michael 3877 throttle_time = 2 seconds;
1332 db 897 };
1333    
1334     modules {
1335     /*
1336 michael 951 * path: other paths to search for modules specified below
1337 michael 1441 * and in "/module load".
1338 db 897 */
1339 michael 4173 path = "lib/ircd-hybrid/modules";
1340 michael 5007 # path = "lib/ircd-hybrid/modules/extra";
1341 michael 4173 path = "lib/ircd-hybrid/modules/autoload";
1342 db 897
1343 michael 1863 /* module: the name of a module to load on startup/rehash. */
1344 michael 2171 # module = "some_module.la";
1345 db 897 };
1346 michael 1247
1347     /*
1348     * log {}: contains information about logfiles.
1349     */
1350     log {
1351     /* Do you want to enable logging to ircd.log? */
1352     use_logging = yes;
1353    
1354     file {
1355     type = oper;
1356 michael 4173 name = "var/log/oper.log";
1357 michael 1250 size = unlimited;
1358 michael 1247 };
1359    
1360     file {
1361     type = user;
1362 michael 4173 name = "var/log/user.log";
1363 michael 1247 size = 50 megabytes;
1364     };
1365    
1366     file {
1367     type = kill;
1368 michael 4173 name = "var/log/kill.log";
1369 michael 1247 size = 50 megabytes;
1370     };
1371    
1372     file {
1373     type = kline;
1374 michael 4173 name = "var/log/kline.log";
1375 michael 1247 size = 50 megabytes;
1376     };
1377    
1378     file {
1379     type = dline;
1380 michael 4173 name = "var/log/dline.log";
1381 michael 1247 size = 50 megabytes;
1382     };
1383    
1384     file {
1385 michael 2336 type = xline;
1386 michael 4173 name = "var/log/xline.log";
1387 michael 2336 size = 50 megabytes;
1388     };
1389    
1390     file {
1391     type = resv;
1392 michael 4173 name = "var/log/resv.log";
1393 michael 2336 size = 50 megabytes;
1394     };
1395    
1396     file {
1397 michael 1247 type = debug;
1398 michael 4173 name = "var/log/debug.log";
1399 michael 1247 size = 50 megabytes;
1400 michael 1824 };
1401 michael 1247 };

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision