ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/doc/reference.conf
Revision: 6094
Committed: Wed Jun 10 17:55:30 2015 UTC (11 years, 1 month ago) by michael
File size: 39758 byte(s)
Log Message:
- Update reference.conf. SSLv3 is no longer supported

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 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 5521 * 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 5718 * 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 5718 * 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 5488 /*
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 4172 # 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 4172 # ssl_certificate_file = "etc/cert.pem";
137 michael 967
138 michael 1351 /*
139 michael 4172 * 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 4172 # ssl_dh_param_file = "etc/dhparam.pem";
152 michael 1306
153 michael 967 /*
154 michael 4172 * ssl_dh_elliptic_curve: defines the curve to use for the
155     * Elliptic Curve Diffie-Hellman (ECDH) algorithm.
156 michael 4493 * Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified.
157 michael 4071 *
158 michael 4184 * A list of supported curves by OpenSSL can be obtained by running:
159     *
160     * openssl ecparam -list_curves
161 michael 4071 */
162     # ssl_dh_elliptic_curve = "secp521r1";
163    
164     /*
165 michael 4172 * 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 michael 6094 * openssl ciphers -tls1 -v
174 michael 1306 *
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 4172 * ssl_message_digest_algorithm: defines what cryptographic hash function
182     * to use for generating fingerprint hashes of X.509 certificates.
183 michael 4123 * Default is SHA-256 if nothing else is specified.
184 michael 4115 *
185 michael 4123 * A list of supported message digest algorithms by OpenSSL can be obtained by running:
186 michael 4115 *
187     * openssl list-message-digest-algorithms
188     */
189     # ssl_message_digest_algorithm = "sha256";
190 db 897 };
191    
192     /*
193 michael 4559 * 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 4172 * 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 4172 * from a single ident@host (optional)
223 db 897 */
224     max_local = 2;
225    
226     /*
227 michael 4172 * 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 4172 * 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 4300 * 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 3934 * 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 4172 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 3448 * 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 4300 /* 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 5521 * 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 4267 * 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 4172 /* 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 5503 * 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 4172 /* class: the class the user is placed in. */
394 db 897 class = "opers";
395    
396     /*
397 michael 4393 * need_password - don't allow users who haven't supplied the correct | ('&' prefix on /stats I if disabled)
398 michael 4267 * password to connect using another auth {} block
399 michael 4393 * 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 4393 * exceed_limit - allow a user to exceed class limits | ('>' prefix on /stats I)
402 michael 5810 * kline_exempt - exempt this user from k-lines | ('^' prefix on /stats I)
403 michael 5986 * xline_exempt - exempt this user from x-lines | ('!' prefix on /stats I)
404 michael 4393 * resv_exempt - exempt this user from resvs | ('$' prefix on /stats I)
405     * no_tilde - remove ~ from a user with no ident | ('-' prefix on /stats I)
406     * can_flood - allow this user to exceed flood limits | ('|' prefix on /stats I)
407     * webirc - enables WEBIRC authentication for web-based | ('<' prefix on /stats I)
408     * clients such as Mibbit
409 db 897 */
410     flags = need_password, spoof_notice, exceed_limit, kline_exempt,
411 michael 5986 xline_exempt, resv_exempt, no_tilde, can_flood;
412 db 897 };
413    
414     auth {
415     /*
416 michael 4300 * redirserv, redirport: the server and port to redirect a user to.
417     * A user does not have to obey the redirection; the ircd just
418     * suggests an alternative server for them.
419 db 897 */
420 michael 4304 redirserv = "server.tld";
421 db 897 redirport = 6667;
422 michael 2345
423 michael 4304 user = "*@*.tld";
424 db 897
425 michael 4172 /* class: a class is required even though it is not used. */
426 db 897 class = "users";
427     };
428    
429     auth {
430     user = "*@*";
431     class = "users";
432     flags = need_ident;
433     };
434    
435     /*
436 michael 1229 * operator {}: defines ircd operators
437 db 897 */
438     operator {
439 michael 4300 /* name: the name of the operator */
440 michael 1537 name = "sheep";
441 db 897
442     /*
443 michael 3448 * user: the user@host required for this operator. Multiple user
444 michael 4267 * lines are permitted within each operator {} block.
445 db 897 */
446 michael 1537 user = "*sheep@192.168.0.0/16";
447 michael 1285 user = "*@127.0.0.0/8";
448 db 897
449     /*
450 michael 1863 * password: the password required to oper. By default this will
451 michael 1070 * need to be encrypted by using the provided mkpasswd tool.
452     * Several password hash algorithms are available depending
453     * on your system's crypt() implementation. For example, a modern
454 michael 2322 * glibc already has support for the SHA-256/512 and MD5 encryption
455 michael 1070 * algorithms.
456 db 897 */
457 michael 1070 password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
458 db 897
459     /*
460     * encrypted: controls whether the oper password above has been
461 michael 4437 * encrypted. Default is 'yes' if nothing else is specified.
462 db 897 */
463     encrypted = yes;
464    
465     /*
466 michael 5559 * whois: allows to override the default RPL_WHOISOPERATOR numeric
467     * string shown in /whois.
468     * This string is propagated to all servers on the network.
469     */
470     # whois = "is a Smurf Target (IRC Operator)";
471    
472     /*
473 michael 4300 * rsa_public_key_file: the public key for this oper when using /challenge.
474 michael 2841 * A password should not be defined when this is used; see
475 db 897 * doc/challenge.txt for more information.
476     */
477 michael 4172 # rsa_public_key_file = "etc/oper.pub";
478 db 897
479 michael 2228 /*
480 michael 2244 * ssl_certificate_fingerprint: enhances security by additionally checking
481     * the oper's client certificate fingerprint against the specified
482     * fingerprint below.
483 michael 2236 *
484     * Hint: your users can use the following command to obtain a SHA-256 hash
485     * of their ssl certificate:
486     *
487     * openssl x509 -sha256 -noout -fingerprint -in cert.pem | sed -e 's/^.*=//;s/://g'
488 michael 2228 */
489 michael 2244 # ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
490 michael 2228
491 michael 2248 /*
492     * ssl_connection_required: client must be connected over SSL/TLS
493 michael 4267 * in order to be able to use this operator {} block.
494 michael 2279 * Default is 'no' if nothing else is specified.
495 michael 2248 */
496     ssl_connection_required = no;
497    
498 michael 4172 /* class: the class the oper joins when they successfully /oper or /challenge. */
499 db 897 class = "opers";
500    
501     /*
502 michael 4172 * umodes: the default usermodes opers get when they /oper or /challenge.
503     * If defined, it will override oper_umodes settings in general {}.
504 db 897 * Available usermodes:
505     *
506     * +b - bots - See bot and drone flooding notices
507     * +c - cconn - Client connection/quit notices
508     * +D - deaf - Don't receive channel messages
509     * +d - debug - See debugging notices
510 michael 1818 * +e - external - See remote server connection and split notices
511 michael 1976 * +F - farconnect - Remote client connection/quit notices
512 michael 4267 * +f - full - See auth {} block full notices
513 db 897 * +G - softcallerid - Server Side Ignore for users not on your channels
514     * +g - callerid - Server Side Ignore (for privmsgs etc)
515 michael 1294 * +H - hidden - Hides operator status to other users
516 michael 2267 * +i - invisible - Not shown in NAMES or WHO unless you share a channel
517 michael 1290 * +j - rej - See rejected client notices
518 db 897 * +k - skill - See server generated KILL messages
519     * +l - locops - See LOCOPS messages
520     * +n - nchange - See client nick changes
521 michael 3515 * +p - hidechans - Hides channel list in WHOIS
522 michael 3507 * +q - hideidle - Hides idle and signon time in WHOIS
523 michael 1855 * +R - nononreg - Only receive private messages from registered clients
524 db 897 * +s - servnotice - See general server notices
525     * +u - unauth - See unauthorized client notices
526     * +w - wallop - See server generated WALLOPS
527     * +y - spy - See LINKS, STATS, TRACE notices etc.
528     */
529 michael 3867 umodes = locops, servnotice, wallop;
530 db 897
531     /*
532 michael 5521 * flags: controls the activities and commands an oper is
533 michael 4300 * allowed to do on the server. All flags default to 'no'.
534     * Available flags:
535 db 897 *
536 michael 4307 * admin - gives administrator privileges | ('A' flag)
537 michael 2018 * connect - allows local CONNECT | ('P' flag)
538     * connect:remote - allows remote CONNECT | ('Q' flag)
539 michael 4307 * die - allows DIE | ('D' flag)
540     * dline - allows DLINE |
541     * globops - allows GLOBOPS |
542 michael 2018 * kill - allows to KILL local clients | ('N' flag)
543     * kill:remote - allows remote users to be /KILL'd | ('O' flag)
544 michael 4307 * kline - allows KLINE | ('K' flag)
545     * locops - allows LOCOPS |
546     * module - allows MODULE |
547 michael 5005 * opme - allows OPME |
548 michael 4307 * rehash - allows oper to REHASH config | ('H' flag)
549 michael 2018 * remoteban - allows remote KLINE/UNKLINE | ('B' flag)
550 michael 4307 * restart - allows RESTART |
551     * set - allows SET |
552     * squit - allows local SQUIT | ('R' flag)
553     * squit:remote - allows remote SQUIT | ('S' flag)
554 michael 2018 * undline - allows UNDLINE |
555     * unkline - allows UNKLINE | ('U' flag)
556 michael 2852 * unxline - allows UNXLINE |
557 michael 2038 * wallops - allows WALLOPS |
558 michael 4307 * xline - allows XLINE | ('X' flag)
559 db 897 */
560 michael 4307 flags = admin, connect, connect:remote, die, globops, kill, kill:remote,
561     kline, module, rehash, restart, set, unkline, unxline, xline;
562 db 897 };
563    
564 michael 1552 /*
565 michael 2322 * connect {}: define a server to connect to
566 db 897 */
567     connect {
568 michael 4172 /* name: the name of the server. */
569 db 897 name = "irc.uplink.com";
570    
571     /*
572 michael 2322 * host: the host or IP address to connect to. If a hostname is used it
573     * must match the reverse DNS of the server.
574 db 897 */
575     host = "192.168.0.1";
576    
577     /*
578 michael 2322 * vhost: the IP address to bind to when making outgoing connections to
579     * servers.
580 db 897 * serverinfo::vhost and serverinfo::vhost6 will be overridden
581     * by this directive.
582     */
583     vhost = "192.168.0.2";
584    
585     /*
586 michael 4300 * send_password, accept_password: the passwords to send and accept.
587 michael 2322 * The remote server will have these passwords swapped.
588 db 897 */
589     send_password = "password";
590     accept_password = "anotherpassword";
591    
592     /*
593     * encrypted: controls whether the accept_password above has been
594 michael 1070 * encrypted.
595 db 897 */
596     encrypted = no;
597    
598 michael 4172 /* port: the port to connect to this server on. */
599 db 897 port = 6666;
600    
601     /*
602 michael 1863 * hub_mask: the mask of servers that this server may hub. Multiple
603     * entries are permitted.
604 db 897 */
605     hub_mask = "*";
606    
607     /*
608 michael 1863 * leaf_mask: the mask of servers this server may not hub. Multiple
609     * entries are permitted. Useful for forbidding EU -> US -> EU routes.
610 db 897 */
611     # leaf_mask = "*.uk";
612    
613 michael 4172 /* class: the class this server is in. */
614 db 897 class = "server";
615    
616 michael 1524 /*
617 michael 4172 * ssl_cipher_list: list of ciphers that the server we are connecting to
618     * must support. If the server is not capable of using any of the ciphers
619     * listed below, the connection will simply be rejected.
620 michael 1524 * Can be used to enforce stronger ciphers, even though this option
621     * is not necessarily required to establish a SSL/TLS connection.
622     *
623     * Multiple ciphers are separated by colons. The order of preference
624     * is from left to right.
625     */
626 michael 3059 # ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
627 michael 1306
628 db 897 /*
629 michael 2244 * ssl_certificate_fingerprint: enhances security by additionally checking
630     * the server's client certificate fingerprint against the specified
631     * fingerprint below.
632 michael 2228 */
633 michael 2244 # ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
634 michael 2228
635     /*
636 michael 1229 * autoconn - controls whether we autoconnect to this server or not,
637     * dependent on class limits. By default, this is disabled.
638 michael 1303 * ssl - Initiates a TLS/SSL connection.
639 db 897 */
640 michael 1519 # flags = autoconn, ssl;
641 db 897 };
642    
643     connect {
644 michael 1285 name = "ipv6.some.server";
645 db 897 host = "3ffd:dead:beef::1";
646     send_password = "password";
647     accept_password = "password";
648     port = 6666;
649    
650     /*
651     * aftype: controls whether the connection uses "ipv4" or "ipv6".
652     * Default is ipv4.
653     */
654     aftype = ipv6;
655     class = "server";
656     };
657    
658     /*
659     * cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
660 michael 1229 * automatically
661 db 897 */
662     cluster {
663     /*
664 michael 2322 * name: the server to share with; this can take wildcards
665 db 897 *
666 michael 2322 * NOTE: only local actions will be clustered, meaning that if
667 db 897 * the server receives a shared kline/unkline/etc, it
668     * will not be propagated to clustered servers.
669     *
670     * Remote servers are not necessarily required to accept
671 michael 4287 * clustered lines, they need a shared {} block for *THIS*
672     * server in order to accept them.
673 db 897 */
674     name = "*.arpa";
675    
676     /*
677 michael 2322 * type: list of what to share; options are as follows:
678 michael 1301 * dline - share dlines
679     * undline - share undlines
680 michael 1336 * kline - share klines
681     * unkline - share unklines
682     * xline - share xlines
683     * unxline - share unxlines
684     * resv - share resvs
685     * unresv - share unresvs
686     * locops - share locops
687     * all - share all of the above (default)
688 db 897 */
689     type = kline, unkline, locops, xline, resv;
690     };
691    
692     /*
693 michael 1229 * shared {}: users that are allowed to remote kline
694 db 897 *
695 michael 2322 * NOTE: This can effectively be used for remote klines.
696 db 897 * Please note that there is no password authentication
697 michael 1863 * for users setting remote klines. You must also be
698 db 897 * /oper'd in order to issue a remote kline.
699     */
700     shared {
701     /*
702 michael 2322 * name: the server the user must be connected to in order to set klines.
703     * If this is not specified, the user will be allowed to kline from all
704     * servers.
705 db 897 */
706     name = "irc2.some.server";
707    
708     /*
709 michael 1863 * user: the user@host mask that is allowed to set klines. If this is
710 db 897 * not specified, all users on the server above will be allowed to set
711     * a remote kline.
712     */
713     user = "oper@my.host.is.spoofed";
714    
715     /*
716     * type: list of what to share, options are as follows:
717 michael 1301 * dline - allow oper/server to dline
718     * undline - allow oper/server to undline
719 michael 1336 * kline - allow oper/server to kline
720     * unkline - allow oper/server to unkline
721     * xline - allow oper/server to xline
722     * unxline - allow oper/server to unxline
723     * resv - allow oper/server to resv
724     * unresv - allow oper/server to unresv
725 db 897 * locops - allow oper/server to locops - only used for servers that cluster
726 michael 1336 * all - allow oper/server to do all of the above (default)
727 db 897 */
728     type = kline, unkline, resv;
729     };
730    
731     /*
732 michael 1229 * kill {}: users that are not allowed to connect
733 michael 4307 * Oper issued klines will be added to the specified kline database
734 db 897 */
735     kill {
736     user = "bad@*.hacked.edu";
737     reason = "Obviously hacked account";
738     };
739    
740     /*
741 michael 2322 * deny {}: IP addresses that are not allowed to connect
742     * (before DNS/ident lookup)
743 michael 4307 * Oper issued dlines will be added to the specified dline database
744 db 897 */
745     deny {
746     ip = "10.0.1.0/24";
747     reason = "Reconnecting vhosted bots";
748     };
749    
750     /*
751 michael 2322 * exempt {}: IP addresses that are exempt from deny {} and Dlines
752 db 897 */
753     exempt {
754     ip = "192.168.0.0/16";
755     };
756    
757     /*
758 michael 1229 * resv {}: nicks and channels users may not use/join
759 db 897 */
760 michael 1858 resv { mask = "clone*"; reason = "Clone bots"; };
761 michael 3658 resv { mask = "Global"; reason = "Reserved for services"; };
762 michael 1866 resv { mask = "ChanServ"; reason = "Reserved for services"; };
763 michael 1858 resv { mask = "NickServ"; reason = "Reserved for services"; };
764     resv { mask = "OperServ"; reason = "Reserved for services"; };
765     resv { mask = "MemoServ"; reason = "Reserved for services"; };
766     resv { mask = "BotServ"; reason = "Reserved for services"; };
767     resv { mask = "HelpServ"; reason = "Reserved for services"; };
768     resv { mask = "HostServ"; reason = "Reserved for services"; };
769     resv { mask = "StatServ"; reason = "Reserved for services"; };
770     resv { mask = "#*services*"; reason = "Reserved for services"; };
771 michael 1823
772 michael 1858 resv {
773     /*
774     * mask: masks starting with a '#' are automatically considered
775 michael 2322 * as channel name masks.
776 michael 1858 */
777     mask = "#helsinki";
778 michael 3551 reason = "Channel is reserved for Finnish inhabitants";
779 michael 1858
780     /*
781     * exempt: can be either a ISO 3166 alpha-2 two letter country
782     * code, or a nick!user@host mask. CIDR is supported. Exempt
783     * entries can be stacked.
784     */
785     exempt = "FI";
786     };
787    
788 db 897 /*
789 michael 4307 * gecos {}: used for banning users based on their "realname".
790 db 897 */
791     gecos {
792     name = "*sex*";
793     reason = "Possible spambot";
794     };
795    
796     gecos {
797     name = "sub7server";
798     reason = "Trojan drone";
799     };
800    
801     /*
802 michael 4918 * service {}: specifies a server which may act as a network service
803     *
804     * NOTE: it is very important that every server on the network
805     * has the same service {} block.
806     */
807     service {
808     name = "service.someserver";
809     name = "stats.someserver";
810     };
811    
812     /*
813 michael 4537 * pseudo {}: adds pseudo/custom commands also known as service aliases
814 michael 4533 */
815     pseudo {
816 michael 5718 /* command: the actual command/alias. */
817 michael 4533 command = "IDENTIFY";
818 michael 4537
819 michael 5718 /* prepend: optional text that can be prepended before the user's message. */
820 michael 4533 prepend = "IDENTIFY ";
821 michael 4537
822 michael 5718 /* name: the service name, used for error messages. */
823 michael 4533 name = "NickServ";
824 michael 4537
825 michael 5718 /* target: the actual target where this message should be sent to. */
826 michael 4533 target = "NickServ@service.someserver";
827     };
828    
829     pseudo {
830 michael 4590 command = "CHANSERV";
831     name = "ChanServ";
832     target = "ChanServ@service.someserver";
833 michael 4533 };
834    
835     pseudo {
836 michael 4590 command = "CS";
837     name = "ChanServ";
838     target = "ChanServ@service.someserver";
839 michael 4533 };
840    
841     pseudo {
842 michael 4590 command = "NICKSERV";
843     name = "NickServ";
844     target = "NickServ@service.someserver";
845 michael 4533 };
846    
847     pseudo {
848 michael 4590 command = "NS";
849     name = "NickServ";
850     target = "NickServ@service.someserver";
851 michael 4533 };
852    
853     pseudo {
854 michael 4590 command = "MEMOSERV";
855     name = "MemoServ";
856     target = "MemoServ@service.someserver";
857 michael 4533 };
858    
859     pseudo {
860 michael 4590 command = "MS";
861     name = "MemoServ";
862     target = "MemoServ@service.someserver";
863 michael 4533 };
864    
865     pseudo {
866 michael 4590 command = "OPERSERV";
867     name = "OperServ";
868     target = "OperServ@service.someserver";
869 michael 4533 };
870    
871     pseudo {
872 michael 4590 command = "OS";
873     name = "OperServ";
874     target = "OperServ@service.someserver";
875 michael 4533 };
876    
877     pseudo {
878 michael 4590 command = "HOSTSERV";
879     name = "HostServ";
880     target = "HostServ@service.someserver";
881 michael 4533 };
882    
883     pseudo {
884 michael 4590 command = "HS";
885     name = "HostServ";
886     target = "HostServ@service.someserver";
887 michael 4533 };
888    
889     pseudo {
890 michael 4590 command = "BOTSERV";
891     name = "BotServ";
892     target = "BotServ@service.someserver";
893 michael 4533 };
894    
895     pseudo {
896 michael 4590 command = "BS";
897     name = "BotServ";
898     target = "BotServ@service.someserver";
899 michael 4533 };
900    
901     /*
902 michael 4307 * channel {}: the channel block contains options pertaining to channels
903 db 897 */
904     channel {
905     /*
906     * disable_fake_channels: this option, if set to 'yes', will
907 michael 2322 * disallow clients from creating or joining channels that have one
908 db 897 * of the following ASCII characters in their name:
909     *
910     * 2 | bold
911     * 3 | mirc color
912 michael 951 * 15 | plain text
913 db 897 * 22 | reverse
914 michael 1424 * 29 | italic
915 db 897 * 31 | underline
916     * 160 | non-breaking space
917     */
918     disable_fake_channels = yes;
919    
920     /*
921 michael 3863 * invite_client_count, invite_client_time: how many INVITE commands
922     * are permitted per client per invite_client_time.
923 michael 3763 */
924 michael 3863 invite_client_count = 10;
925     invite_client_time = 5 minutes;
926 michael 3763
927     /*
928 michael 3863 * knock_client_count, knock_client_time: how many KNOCK commands
929     * are permitted per client per knock_client_time.
930 michael 3763 */
931 michael 3863 knock_client_count = 1;
932     knock_client_time = 5 minutes;
933 michael 3763
934     /*
935 michael 3934 * knock_delay_channel: how often a KNOCK to any specific channel
936 michael 3763 * is permitted, regardless of the user sending the KNOCK.
937 db 897 */
938     knock_delay_channel = 1 minute;
939    
940     /*
941 michael 3934 * max_channels: the maximum number of channels a user can join/be on.
942 michael 4267 * This is a default value which can be overriden with class {} blocks.
943 db 897 */
944 michael 3934 max_channels = 25;
945 db 897
946 michael 5718 /* max_bans: maximum number of +b/e/I modes in a channel. */
947 michael 1522 max_bans = 100;
948 db 897
949     /*
950 michael 5488 * default_join_flood_count, default_join_flood_time:
951     * how many joins in how many seconds constitute a flood. Use 0 to disable.
952     * +b opers will be notified. These are only default values which can be
953     * changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME".
954 db 897 */
955 michael 5488 default_join_flood_count = 18;
956     default_join_flood_time = 6 seconds;
957 db 897
958     /*
959 michael 2322 * The ircd will now check splitmode (whether a server is split from
960     * the network) every few seconds; this functionality is known as
961     * splitcode and is influenced by the options below.
962 db 897 *
963     * Either split users or split servers can activate splitmode, but
964     * both conditions must be met for the ircd to deactivate splitmode.
965 michael 2345 *
966 michael 5718 * You may force splitmode to be permanent by /quote set splitmode on.
967 db 897 */
968    
969     /*
970     * default_split_user_count: when the usercount is lower than this level,
971 michael 1863 * consider ourselves split. This must be set for automatic splitmode.
972 db 897 */
973     default_split_user_count = 0;
974    
975     /*
976     * default_split_server_count: when the servercount is lower than this,
977 michael 1863 * consider ourselves split. This must be set for automatic splitmode.
978 db 897 */
979     default_split_server_count = 0;
980    
981 michael 2322 /* no_create_on_split: do not allow users to create channels on split. */
982 db 897 no_create_on_split = yes;
983    
984 michael 2322 /* no_join_on_split: do not allow users to join channels on a split. */
985 db 897 no_join_on_split = no;
986     };
987    
988     /*
989 michael 4307 * serverhide {}: the serverhide block contains the options regarding
990 michael 4204 * to server hiding. For more information regarding server hiding,
991     * please see doc/serverhide.txt
992 db 897 */
993     serverhide {
994     /*
995 michael 2322 * disable_remote_commands: disable users issuing commands
996 michael 2196 * on remote servers.
997     */
998     disable_remote_commands = no;
999    
1000     /*
1001 db 897 * flatten_links: this option will show all servers in /links appear
1002 michael 2322 * as though they are linked to this current server.
1003 db 897 */
1004     flatten_links = no;
1005    
1006     /*
1007     * links_delay: how often to update the links file when it is
1008     * flattened.
1009     */
1010     links_delay = 5 minutes;
1011    
1012     /*
1013     * hidden: hide this server from a /links output on servers that
1014 michael 1863 * support it. This allows hub servers to be hidden etc.
1015 db 897 */
1016     hidden = no;
1017    
1018     /*
1019     * hide_servers: hide remote servernames everywhere and instead use
1020     * hidden_name and network_desc.
1021     */
1022     hide_servers = no;
1023    
1024     /*
1025 michael 1851 * hide_services: define this if you want to hide the location of
1026 michael 4267 * services servers that are specified in the service {} block.
1027 michael 1851 */
1028     hide_services = no;
1029    
1030     /*
1031 michael 4307 * hidden_name: use this as the servername users see if hide_servers = yes.
1032 db 897 */
1033     hidden_name = "*.hidden.com";
1034    
1035     /*
1036 michael 4300 * hide_server_ips: if this is disabled, opers will be unable to see
1037 michael 2322 * servers' IP addresses and will be shown a masked IP address; admins
1038     * will be shown the real IP address.
1039 db 897 *
1040 michael 2322 * If this is enabled, nobody can see a server's IP address.
1041     * *This is a kludge*: it has the side effect of hiding the IP addresses
1042     * everywhere, including logfiles.
1043 db 897 *
1044     * We recommend you leave this disabled, and just take care with who you
1045 michael 1729 * give administrator privileges to.
1046 db 897 */
1047     hide_server_ips = no;
1048     };
1049    
1050     /*
1051 michael 4307 * general {}: the general block contains many of the options that were once
1052 michael 1783 * compiled in options in config.h
1053 db 897 */
1054     general {
1055 michael 2286 /*
1056     * cycle_on_host_change: sends a fake QUIT/JOIN combination
1057     * when services change the hostname of a specific client.
1058     */
1059     cycle_on_host_change = yes;
1060    
1061 michael 951 /* max_watch: maximum WATCH entries a client can have. */
1062 michael 3883 max_watch = 30;
1063 db 897
1064 michael 3883 /* max_accept: maximum allowed /accept's for +g usermode. */
1065     max_accept = 30;
1066    
1067 db 897 /*
1068 michael 5810 * dline_min_cidr: the minimum required length of a CIDR bitmask
1069     * for IPv4 based D-lines.
1070 michael 1459 */
1071 michael 5810 dline_min_cidr = 16;
1072 michael 1459
1073     /*
1074 michael 5810 * dline_min_cidr6: the minimum required length of a CIDR bitmask
1075     * for IPv6 based D-lines.
1076 michael 1459 */
1077 michael 5810 dline_min_cidr6 = 48;
1078 michael 1459
1079     /*
1080 michael 5810 * kline_min_cidr: the minimum required length of a CIDR bitmask
1081     * for IPv4 based K-lines.
1082 db 897 */
1083 michael 5810 kline_min_cidr = 16;
1084 db 897
1085     /*
1086 michael 5810 * kline_min_cidr6: the minimum required length of a CIDR bitmask
1087     * for IPv6 based K-lines.
1088 db 897 */
1089 michael 5810 kline_min_cidr6 = 48;
1090 db 897
1091     /*
1092 michael 3446 * invisible_on_connect: whether to automatically set mode +i on
1093     * connecting users.
1094 db 897 */
1095     invisible_on_connect = yes;
1096    
1097     /*
1098 michael 2322 * kill_chase_time_limit: KILL chasing is a feature whereby a KILL
1099     * issued for a user who has recently changed nickname will be applied
1100     * automatically to the new nick. kill_chase_time_limit is the maximum
1101     * time following a nickname change that this chasing will apply.
1102 db 897 */
1103 michael 3341 kill_chase_time_limit = 30 seconds;
1104 db 897
1105     /*
1106 michael 4172 * ignore_bogus_ts: ignore bogus timestamps from other servers.
1107     * Yes, this will desync the network, but it will allow chanops
1108     * to resync with a valid non TS 0.
1109 db 897 *
1110     * This should be enabled network wide, or not at all.
1111     */
1112     ignore_bogus_ts = no;
1113    
1114     /*
1115     * disable_auth: completely disable ident lookups; if you enable this,
1116 michael 5718 * be careful of what you set need_ident to in your auth {} blocks.
1117 db 897 */
1118     disable_auth = no;
1119    
1120     /*
1121     * tkline_expire_notices: enables or disables temporary kline/xline
1122     * expire notices.
1123     */
1124     tkline_expire_notices = no;
1125    
1126     /*
1127     * default_floodcount: the default value of floodcount that is configurable
1128 michael 4172 * via /quote set floodcount. This is the number of lines a user may send
1129 michael 5498 * to any other user/channel in one second. Set to 0 to disable.
1130 db 897 */
1131     default_floodcount = 10;
1132    
1133     /*
1134 michael 2305 * failed_oper_notice: send a notice to all opers on the server when
1135 db 897 * someone tries to OPER and uses the wrong password, host or ident.
1136     */
1137     failed_oper_notice = yes;
1138    
1139     /*
1140 michael 2322 * dots_in_ident: the number of '.' characters permitted in an ident
1141 db 897 * reply before the user is rejected.
1142     */
1143     dots_in_ident = 2;
1144    
1145     /*
1146 michael 2322 * min_nonwildcard: the minimum number of non-wildcard characters in
1147 michael 5895 * k/d lines placed via the server. K-lines hand-placed are exempt from
1148 michael 2322 * this limit.
1149 michael 5897 * Wildcard characters: '.', ':', '*', '?'
1150 db 897 */
1151     min_nonwildcard = 4;
1152    
1153     /*
1154 michael 2322 * min_nonwildcard_simple: the minimum number of non-wildcard characters
1155 michael 4172 * in gecos bans. Wildcard characters: '*', '?'
1156 db 897 */
1157     min_nonwildcard_simple = 3;
1158    
1159 michael 1863 /* anti_nick_flood: enable the nickflood control code. */
1160 db 897 anti_nick_flood = yes;
1161    
1162 michael 5622 /*
1163     * max_nick_changes, max_nick_time: the number of nick changes allowed in
1164     * the specified period.
1165     */
1166     max_nick_changes = 5;
1167 db 897 max_nick_time = 20 seconds;
1168    
1169     /*
1170 michael 4314 * away_count, away_time: how many AWAY command are permitted per
1171     * client per away_time.
1172     */
1173     away_count = 2;
1174     away_time = 10 seconds;
1175    
1176     /*
1177 db 897 * anti_spam_exit_message_time: the minimum time a user must be connected
1178     * before custom quit messages are allowed.
1179     */
1180     anti_spam_exit_message_time = 5 minutes;
1181    
1182     /*
1183 michael 3883 * ts_warn_delta, ts_max_delta: the time delta allowed between server
1184     * clocks before a warning is given, or before the link is dropped.
1185 michael 4172 * All servers should run ntpdate/rdate to keep clocks in sync.
1186 db 897 */
1187 michael 4402 ts_warn_delta = 3 seconds;
1188     ts_max_delta = 15 seconds;
1189 db 897
1190     /*
1191 michael 3474 * warn_no_connect_block: warn opers about servers that try to connect
1192     * but for which we don't have a connect {} block. Twits with
1193     * misconfigured servers can become really annoying with this enabled.
1194 db 897 */
1195 michael 3474 warn_no_connect_block = yes;
1196 db 897
1197     /*
1198     * stats_e_disabled: set this to 'yes' to disable "STATS e" for both
1199 michael 1863 * operators and administrators. Doing so is a good idea in case
1200 michael 4172 * there are any exempted (exempt {}) server IPs you don't want to
1201 db 897 * see leaked.
1202     */
1203     stats_e_disabled = no;
1204    
1205 michael 5024 /* stats_m_oper_only: make /stats m/M (messages) oper only. */
1206     stats_m_oper_only = yes;
1207    
1208 michael 4172 /* stats_o_oper_only: make stats o (opers) oper only. */
1209 db 897 stats_o_oper_only = yes;
1210    
1211 michael 4172 /* stats_P_oper_only: make stats P (ports) oper only. */
1212 db 897 stats_P_oper_only = yes;
1213    
1214 michael 4172 /* stats_u_oper_only: make stats u (uptime) oper only. */
1215 michael 2269 stats_u_oper_only = no;
1216    
1217 db 897 /*
1218 michael 3521 * stats_i_oper_only: make stats i (auth {}) oper only. Set to:
1219 michael 4267 * yes - show users no auth {} blocks, made oper only
1220     * masked - show users the first matching auth {} block
1221     * no - show users all auth {} blocks
1222 db 897 */
1223     stats_i_oper_only = yes;
1224    
1225     /*
1226 michael 1863 * stats_k_oper_only: make stats k/K (klines) oper only. Set to:
1227 michael 5028 * yes - show users no klines, made oper only
1228     * masked - show users the first matching kline
1229     * no - show users all klines
1230 db 897 */
1231     stats_k_oper_only = yes;
1232    
1233     /*
1234     * caller_id_wait: time between notifying a +g user that somebody
1235     * is messaging them.
1236     */
1237     caller_id_wait = 1 minute;
1238    
1239     /*
1240     * opers_bypass_callerid: allows operators to bypass +g and message
1241 michael 4787 * anyone who has it set.
1242 db 897 */
1243     opers_bypass_callerid = no;
1244    
1245     /*
1246 michael 2322 * pace_wait_simple: minimum time required between use of less
1247     * intensive commands
1248 michael 3521 * (ADMIN, HELP, LUSERS, VERSION, remote WHOIS)
1249 db 897 */
1250     pace_wait_simple = 1 second;
1251    
1252     /*
1253 michael 2322 * pace_wait: minimum time required between use of more intensive commands
1254 michael 4314 * (INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS)
1255 db 897 */
1256     pace_wait = 10 seconds;
1257    
1258     /*
1259 michael 2322 * short_motd: send clients a notice telling them to read the MOTD
1260     * instead of forcing an MOTD to clients who may simply ignore it.
1261 db 897 */
1262     short_motd = no;
1263    
1264     /*
1265 michael 4172 * ping_cookie: require clients to respond exactly to a PING command,
1266 db 897 * can help block certain types of drones and FTP PASV mode spoofing.
1267     */
1268     ping_cookie = no;
1269    
1270     /* no_oper_flood: increase flood limits for opers. */
1271     no_oper_flood = yes;
1272    
1273 michael 1863 /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */
1274 db 897 oper_pass_resv = yes;
1275    
1276     /*
1277 michael 2322 * max_targets: the maximum number of targets in a single
1278 michael 1863 * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
1279 db 897 */
1280     max_targets = 4;
1281    
1282     /*
1283     * usermodes configurable: a list of usermodes for the options below
1284     *
1285     * +b - bots - See bot and drone flooding notices
1286     * +c - cconn - Client connection/quit notices
1287     * +D - deaf - Don't receive channel messages
1288     * +d - debug - See debugging notices
1289 michael 1818 * +e - external - See remote server connection and split notices
1290 michael 1976 * +F - farconnect - Remote client connection/quit notices
1291 michael 4267 * +f - full - See auth {} block full notices
1292 db 897 * +G - softcallerid - Server Side Ignore for users not on your channels
1293     * +g - callerid - Server Side Ignore (for privmsgs etc)
1294 michael 1294 * +H - hidden - Hides operator status to other users
1295 michael 2345 * +i - invisible - Not shown in NAMES or WHO unless you share a channel
1296 michael 1290 * +j - rej - See rejected client notices
1297 db 897 * +k - skill - See server generated KILL messages
1298     * +l - locops - See LOCOPS messages
1299     * +n - nchange - See client nick changes
1300 michael 3515 * +p - hidechans - Hides channel list in WHOIS
1301 michael 3507 * +q - hideidle - Hides idle and signon time in WHOIS
1302 michael 1855 * +R - nononreg - Only receive private messages from registered clients
1303 db 897 * +s - servnotice - See general server notices
1304     * +u - unauth - See unauthorized client notices
1305     * +w - wallop - See server generated WALLOPS
1306     * +y - spy - See LINKS, STATS, TRACE notices etc.
1307     */
1308    
1309 michael 4300 /* oper_only_umodes: usermodes only operators may set. */
1310 michael 4307 oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops,
1311     nchange, rej, skill, spy, unauth;
1312 db 897
1313 michael 4300 /* oper_umodes: default usermodes operators get when they /oper or /challenge. */
1314 michael 3867 oper_umodes = bots, locops, servnotice, wallop;
1315 db 897
1316     /*
1317 michael 3876 * throttle_count: the maximum number of connections from the same
1318     * IP address allowed in throttle_time duration.
1319     */
1320     throttle_count = 1;
1321    
1322     /*
1323 michael 2322 * throttle_time: the minimum amount of time required between
1324 michael 3876 * connections from the same IP address. exempt {} blocks are
1325     * excluded from this throttling.
1326 michael 1863 * Offers protection against flooders who reconnect quickly.
1327 db 897 * Set to 0 to disable.
1328     */
1329 michael 3876 throttle_time = 2 seconds;
1330 db 897 };
1331    
1332     modules {
1333     /*
1334 michael 951 * path: other paths to search for modules specified below
1335 michael 1441 * and in "/module load".
1336 db 897 */
1337 michael 4172 path = "lib/ircd-hybrid/modules";
1338 michael 5006 # path = "lib/ircd-hybrid/modules/extra";
1339 michael 4172 path = "lib/ircd-hybrid/modules/autoload";
1340 db 897
1341 michael 1863 /* module: the name of a module to load on startup/rehash. */
1342 michael 2171 # module = "some_module.la";
1343 db 897 };
1344 michael 1247
1345     /*
1346     * log {}: contains information about logfiles.
1347     */
1348     log {
1349     /* Do you want to enable logging to ircd.log? */
1350     use_logging = yes;
1351    
1352     file {
1353     type = oper;
1354 michael 4172 name = "var/log/oper.log";
1355 michael 1250 size = unlimited;
1356 michael 1247 };
1357    
1358     file {
1359     type = user;
1360 michael 4172 name = "var/log/user.log";
1361 michael 1247 size = 50 megabytes;
1362     };
1363    
1364     file {
1365     type = kill;
1366 michael 4172 name = "var/log/kill.log";
1367 michael 1247 size = 50 megabytes;
1368     };
1369    
1370     file {
1371     type = kline;
1372 michael 4172 name = "var/log/kline.log";
1373 michael 1247 size = 50 megabytes;
1374     };
1375    
1376     file {
1377     type = dline;
1378 michael 4172 name = "var/log/dline.log";
1379 michael 1247 size = 50 megabytes;
1380     };
1381    
1382     file {
1383 michael 2336 type = xline;
1384 michael 4172 name = "var/log/xline.log";
1385 michael 2336 size = 50 megabytes;
1386     };
1387    
1388     file {
1389     type = resv;
1390 michael 4172 name = "var/log/resv.log";
1391 michael 2336 size = 50 megabytes;
1392     };
1393    
1394     file {
1395 michael 1247 type = debug;
1396 michael 4172 name = "var/log/debug.log";
1397 michael 1247 size = 50 megabytes;
1398 michael 1824 };
1399 michael 1247 };

Properties

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