ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/doc/reference.conf
Revision: 6376
Committed: Fri Aug 21 10:36:52 2015 UTC (10 years, 11 months ago) by michael
File size: 38837 byte(s)
Log Message:
- Remove splitmode checking

File Contents

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

Properties

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