ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/doc/reference.conf
Revision: 6611
Committed: Thu Oct 22 19:13:56 2015 UTC (10 years, 9 months ago) by michael
File size: 38754 byte(s)
Log Message:
- Update reference.conf

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 michael 6524 name = "server.example.net";
45 db 897
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 michael 6524 * A sid is automatically generated at runtime, if you want to configure
54     * a specific sid, uncomment the following line.
55 db 897 */
56 michael 6157 # sid = "0HY";
57 db 897
58     /*
59 michael 1533 * description: the description of the server.
60 db 897 */
61 michael 1534 description = "ircd-hybrid test server";
62 db 897
63     /*
64 michael 5521 * network_name, network_desc: the name and description of the network this
65     * server is on. Shown in the 005 reply and used with serverhiding.
66 db 897 */
67     network_name = "MyNet";
68     network_desc = "This is My Network";
69    
70     /*
71     * hub: allow this server to act as a hub and have multiple servers
72     * connected to it.
73     */
74     hub = no;
75    
76     /*
77 michael 5718 * vhost: the IP address to bind to when we connect outward to IPv4 servers.
78     * This should be an IPv4 address, or "*" for INADDR_ANY.
79 db 897 */
80 michael 6524 # vhost = "192.0.2.1";
81 db 897
82     /*
83 michael 5718 * vhost6: the IP address to bind to when we connect outward to IPv6 servers.
84     * This should be an IPv6 address, or "*" for in6addr_any.
85 db 897 */
86 michael 6524 # vhost6 = "2001:DB8::1";
87 db 897
88 michael 5488 /*
89     * default_max_clients: the default maximum number of clients allowed
90     * to connect. This can be changed from within IRC via /QUOTE SET MAX.
91     */
92     default_max_clients = 512;
93 db 897
94     /*
95 michael 1751 * max_nick_length: only applies to local clients. Must be in the
96     * range of 9 to 30. Default is 9 if nothing else is specified.
97     */
98     max_nick_length = 9;
99    
100     /*
101     * max_topic_length: only applies to topics set by local clients.
102     * Must be in the range of 80 to 300. Default is 80 if nothing
103     * else is specified.
104     */
105     max_topic_length = 160;
106    
107     /*
108 michael 2322 * rsa_private_key_file: the path to the file containing the
109 michael 2844 * RSA key.
110 db 897 *
111 michael 2468 * Example commands to store a 2048 bit RSA key in rsa.key:
112 michael 2308 *
113 michael 1229 * openssl genrsa -out rsa.key 2048
114 michael 2464 * chown <ircd-user>.<ircd.group> rsa.key
115 db 897 * chmod 0600 rsa.key
116     */
117 michael 4172 # rsa_private_key_file = "etc/rsa.key";
118 db 897
119     /*
120 michael 951 * ssl_certificate_file: the path to the file containing our
121 michael 2322 * SSL certificate for encrypted client connection.
122 db 897 *
123     * This assumes your private RSA key is stored in rsa.key. You
124 michael 1863 * MUST have an RSA key in order to generate the certificate.
125 db 897 *
126 michael 1863 * Example command:
127     *
128 db 897 * openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
129     *
130     * Please use the following values when generating the cert
131     *
132     * Organization Name: Network Name
133 michael 6524 * Organization Unit Name: unit.example.net
134     * Common Name: irc.example.net
135     * E-mail: email@example.net
136 db 897 */
137 michael 4172 # ssl_certificate_file = "etc/cert.pem";
138 michael 967
139 michael 1351 /*
140 michael 4172 * ssl_dh_param_file: path to the PEM encoded Diffie-Hellman
141     * parameter file. DH parameters are required when using
142     * ciphers with EDH (ephemeral Diffie-Hellman) key exchange.
143 michael 1351 *
144     * A DH parameter file can be created by running:
145     *
146 michael 3013 * openssl dhparam -out dhparam.pem 2048
147 michael 1351 *
148 michael 1523 * Prime size must be at least 1024 bits. Further information
149     * regarding specific OpenSSL dhparam command-line options
150     * can be found in the OpenSSL manual.
151 michael 1351 */
152 michael 4172 # ssl_dh_param_file = "etc/dhparam.pem";
153 michael 1306
154 michael 967 /*
155 michael 4172 * ssl_dh_elliptic_curve: defines the curve to use for the
156     * Elliptic Curve Diffie-Hellman (ECDH) algorithm.
157 michael 4493 * Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified.
158 michael 4071 *
159 michael 4184 * A list of supported curves by OpenSSL can be obtained by running:
160     *
161     * openssl ecparam -list_curves
162 michael 4071 */
163     # ssl_dh_elliptic_curve = "secp521r1";
164    
165     /*
166 michael 4172 * ssl_cipher_list: list of ciphers to support on _this_ server.
167     * Can be used to enforce specific ciphers for incoming SSL/TLS
168     * connections. If a client (which also includes incoming server connections)
169     * is not capable of using any of the ciphers listed here, the connection will
170 michael 2322 * simply be rejected.
171 michael 1550 *
172 michael 2322 * A list of supported ciphers by OpenSSL can be obtained by running:
173 michael 1306 *
174 michael 6094 * openssl ciphers -tls1 -v
175 michael 1306 *
176 michael 1524 * Multiple ciphers are separated by colons. The order of preference is
177     * from left to right.
178 michael 1306 */
179 michael 3015 # ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
180 michael 1306
181     /*
182 michael 4172 * ssl_message_digest_algorithm: defines what cryptographic hash function
183     * to use for generating fingerprint hashes of X.509 certificates.
184 michael 4123 * Default is SHA-256 if nothing else is specified.
185 michael 4115 *
186 michael 4123 * A list of supported message digest algorithms by OpenSSL can be obtained by running:
187 michael 4115 *
188     * openssl list-message-digest-algorithms
189     */
190     # ssl_message_digest_algorithm = "sha256";
191 db 897 };
192    
193     /*
194 michael 4559 * admin {}: contains administrative information about the server
195 db 897 */
196     admin {
197     name = "Smurf target";
198     description = "Main Server Administrator";
199 michael 6524 email = "<admin@server.example.net>";
200 db 897 };
201    
202     /*
203 michael 1229 * class {}: contains information about classes for users
204 db 897 */
205     class {
206 michael 1863 /* name: the name of the class. */
207 db 897 name = "users";
208    
209     /*
210     * ping_time: how often a client must reply to a PING from the
211     * server before they are dropped.
212     */
213     ping_time = 90 seconds;
214    
215     /*
216     * number_per_ip: how many local users are allowed to connect
217 michael 4172 * from a single IP address (optional)
218 db 897 */
219     number_per_ip = 2;
220    
221     /*
222     * max_local: how many local users are allowed to connect
223 michael 4172 * from a single ident@host (optional)
224 db 897 */
225     max_local = 2;
226    
227     /*
228 michael 4172 * max_global: network-wide limit of users per ident@host (optional)
229 db 897 */
230     max_global = 10;
231    
232     /*
233     * max_number: the maximum number of users allowed in this class (optional)
234     */
235     max_number = 100;
236    
237     /*
238 michael 4172 * The following lines are optional and allow you to define
239 michael 1863 * how many users can connect from one /NN subnet.
240 db 897 */
241     cidr_bitlen_ipv4 = 24;
242     cidr_bitlen_ipv6 = 120;
243     number_per_cidr = 16;
244    
245     /*
246 michael 2322 * sendq: the amount of data allowed in a client's send queue before
247 db 897 * they are dropped.
248     */
249     sendq = 100 kbytes;
250 michael 1516
251     /*
252 michael 2322 * recvq: the amount of data allowed in a client's receive queue before
253 michael 4300 * they are dropped for flooding. Defaults to 2560 if the chosen value
254     * isn't within the range of 512 to 8000.
255 michael 1516 */
256     recvq = 2560 bytes;
257 db 897 };
258    
259     class {
260     name = "opers";
261     ping_time = 90 seconds;
262     number_per_ip = 10;
263     max_number = 100;
264 michael 1428 sendq = 100 kbytes;
265 michael 1783
266     /*
267 michael 3934 * max_channels: maximum number of channels users in this class can join.
268     */
269     max_channels = 60;
270    
271     /*
272 michael 1863 * min_idle: minimum idle time that is shown in /whois.
273 michael 1783 */
274     min_idle = 3 hours;
275    
276     /*
277 michael 1863 * max_idle: maximum idle time that is shown in /whois.
278 michael 1783 */
279     max_idle = 8 hours;
280    
281     /*
282     * flags:
283     *
284 michael 2322 * random_idle - a fake idle time is set randomly between
285     * min_idle and max_idle
286     * hide_idle_from_opers - the fake idle time will also be shown to operators
287 michael 1783 */
288     flags = random_idle, hide_idle_from_opers;
289 db 897 };
290    
291     class {
292     name = "server";
293     ping_time = 90 seconds;
294    
295     /*
296 michael 1863 * connectfreq: only used in server classes. Specifies the delay
297 db 897 * between autoconnecting to servers.
298     */
299     connectfreq = 5 minutes;
300    
301 michael 2322 /* max number: the number of servers to autoconnect to. */
302 db 897 max_number = 1;
303    
304 michael 1863 /* sendq: servers need a higher sendq as they send more data. */
305 db 897 sendq = 2 megabytes;
306     };
307    
308     /*
309 michael 2322 * motd {}: Allows the display of a different MOTD to a client
310 michael 2210 * depending on its origin. Applies to local users only.
311 michael 2150 */
312     motd {
313     /*
314     * mask: multiple mask entries are permitted. Mask can either be
315 michael 2993 * a class name or a hostname. CIDR is supported.
316 michael 2150 */
317     mask = "*.at";
318     mask = "*.de";
319     mask = "*.ch";
320    
321     /*
322 michael 2152 * file: path to the actual motd file.
323 michael 2150 */
324 michael 4172 file = "etc/german.motd";
325 michael 2150 };
326    
327     /*
328 michael 1229 * listen {}: contains information about the ports ircd listens on
329 db 897 */
330     listen {
331     /*
332 michael 6485 * port: the port to listen on. If no host is specified earlier in the
333     * listen {} block, it will listen on all available IP addresses.
334 db 897 *
335 michael 2328 * Ports are separated by commas; a range may be specified using ".."
336 db 897 */
337 michael 2345
338 michael 4300 /* port: listen on all available IP addresses, ports 6665 to 6669. */
339 db 897 port = 6665 .. 6669;
340    
341     /*
342 michael 6524 * Listen on 192.0.2.1/6697 with SSL enabled and hidden from STATS P
343 db 897 * unless you are an administrator.
344     *
345 michael 2322 * NOTE: The "flags" directive always has to come before "port".
346 michael 951 *
347     * Currently available flags are:
348     *
349 michael 1679 * ssl - Port may only accept TLS/SSL connections
350 michael 951 * server - Only server connections are permitted
351 michael 1229 * hidden - Port is hidden from /stats P, unless you're an admin
352 db 897 */
353     flags = hidden, ssl;
354 michael 6524 host = "192.0.2.2";
355 db 897 port = 6697;
356    
357     /*
358 michael 5521 * host: set a specific IP address to listen on using the
359 michael 2322 * subsequent port definitions. This may be IPv4 or IPv6.
360 db 897 */
361 michael 6524 host = "192.0.2.3";
362 db 897 port = 7000, 7001;
363    
364 michael 6524 host = "2001:DB8::2";
365 db 897 port = 7002;
366     };
367    
368     /*
369 michael 1229 * auth {}: allow users to connect to the ircd
370 db 897 */
371     auth {
372     /*
373 michael 1541 * user: the user@host allowed to connect. Multiple user
374 michael 4267 * lines are permitted within each auth {} block.
375 db 897 */
376 michael 6524 user = "*@192.0.2.0/24";
377     user = "*test@2001:DB8:*";
378 db 897
379 michael 4172 /* password: an optional password that is required to use this block. */
380 db 897 password = "letmein";
381    
382     /*
383     * encrypted: controls whether the auth password above has been
384 michael 5503 * encrypted. Default is 'no' if nothing else is specified.
385 db 897 */
386     encrypted = yes;
387    
388     /*
389 michael 2322 * spoof: fake the user's host to this. This is free-form, just do
390 michael 1863 * everyone a favor and don't abuse it. ('=' prefix on /stats I)
391 db 897 */
392     spoof = "I.still.hate.packets";
393    
394 michael 4172 /* class: the class the user is placed in. */
395 db 897 class = "opers";
396    
397     /*
398 michael 4393 * need_password - don't allow users who haven't supplied the correct | ('&' prefix on /stats I if disabled)
399 michael 4267 * password to connect using another auth {} block
400 michael 4393 * need_ident - require the user to have identd to connect | ('+' prefix on /stats I)
401 michael 1229 * spoof_notice - enable spoofing notification to admins
402 michael 4393 * exceed_limit - allow a user to exceed class limits | ('>' prefix on /stats I)
403 michael 5810 * kline_exempt - exempt this user from k-lines | ('^' prefix on /stats I)
404 michael 5986 * xline_exempt - exempt this user from x-lines | ('!' prefix on /stats I)
405 michael 4393 * resv_exempt - exempt this user from resvs | ('$' prefix on /stats I)
406     * no_tilde - remove ~ from a user with no ident | ('-' prefix on /stats I)
407     * can_flood - allow this user to exceed flood limits | ('|' prefix on /stats I)
408     * webirc - enables WEBIRC authentication for web-based | ('<' prefix on /stats I)
409     * clients such as Mibbit
410 db 897 */
411     flags = need_password, spoof_notice, exceed_limit, kline_exempt,
412 michael 5986 xline_exempt, resv_exempt, no_tilde, can_flood;
413 db 897 };
414    
415     auth {
416     /*
417 michael 4300 * redirserv, redirport: the server and port to redirect a user to.
418     * A user does not have to obey the redirection; the ircd just
419     * suggests an alternative server for them.
420 db 897 */
421 michael 6524 redirserv = "server2.example.net";
422 db 897 redirport = 6667;
423 michael 2345
424 michael 6524 user = "*@*.ch";
425 db 897
426 michael 4172 /* class: a class is required even though it is not used. */
427 db 897 class = "users";
428     };
429    
430     auth {
431     user = "*@*";
432     class = "users";
433     flags = need_ident;
434     };
435    
436     /*
437 michael 1229 * operator {}: defines ircd operators
438 db 897 */
439     operator {
440 michael 4300 /* name: the name of the operator */
441 michael 1537 name = "sheep";
442 db 897
443     /*
444 michael 3448 * user: the user@host required for this operator. Multiple user
445 michael 4267 * lines are permitted within each operator {} block.
446 db 897 */
447 michael 6524 user = "*sheep@192.0.2.0/26";
448     user = "*@192.0.2.240/28";
449 db 897
450     /*
451 michael 6611 * password: the password required to oper. By default this will need
452     * to be encrypted by using the provided mkpasswd tool.
453     * The availability of various password hashing algorithms may vary
454     * depending on the system's crypt(3) implementation.
455 db 897 */
456 michael 1070 password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
457 db 897
458     /*
459     * encrypted: controls whether the oper password above has been
460 michael 4437 * encrypted. Default is 'yes' if nothing else is specified.
461 db 897 */
462     encrypted = yes;
463    
464     /*
465 michael 5559 * whois: allows to override the default RPL_WHOISOPERATOR numeric
466     * string shown in /whois.
467     * This string is propagated to all servers on the network.
468     */
469     # whois = "is a Smurf Target (IRC Operator)";
470    
471     /*
472 michael 2244 * ssl_certificate_fingerprint: enhances security by additionally checking
473     * the oper's client certificate fingerprint against the specified
474     * fingerprint below.
475 michael 2236 *
476     * Hint: your users can use the following command to obtain a SHA-256 hash
477     * of their ssl certificate:
478     *
479     * openssl x509 -sha256 -noout -fingerprint -in cert.pem | sed -e 's/^.*=//;s/://g'
480 michael 2228 */
481 michael 2244 # ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
482 michael 2228
483 michael 2248 /*
484     * ssl_connection_required: client must be connected over SSL/TLS
485 michael 4267 * in order to be able to use this operator {} block.
486 michael 2279 * Default is 'no' if nothing else is specified.
487 michael 2248 */
488     ssl_connection_required = no;
489    
490 michael 6591 /* class: the class the oper joins when they successfully /oper. */
491 db 897 class = "opers";
492    
493     /*
494 michael 6591 * umodes: the default user modes opers get when they /oper.
495 michael 4172 * If defined, it will override oper_umodes settings in general {}.
496 michael 6153 * Available user modes:
497 db 897 *
498     * +b - bots - See bot and drone flooding notices
499     * +c - cconn - Client connection/quit notices
500     * +D - deaf - Don't receive channel messages
501     * +d - debug - See debugging notices
502 michael 1818 * +e - external - See remote server connection and split notices
503 michael 1976 * +F - farconnect - Remote client connection/quit notices
504 michael 4267 * +f - full - See auth {} block full notices
505 db 897 * +G - softcallerid - Server Side Ignore for users not on your channels
506     * +g - callerid - Server Side Ignore (for privmsgs etc)
507 michael 1294 * +H - hidden - Hides operator status to other users
508 michael 2267 * +i - invisible - Not shown in NAMES or WHO unless you share a channel
509 michael 1290 * +j - rej - See rejected client notices
510 db 897 * +k - skill - See server generated KILL messages
511     * +l - locops - See LOCOPS messages
512     * +n - nchange - See client nick changes
513 michael 3515 * +p - hidechans - Hides channel list in WHOIS
514 michael 3507 * +q - hideidle - Hides idle and signon time in WHOIS
515 michael 1855 * +R - nononreg - Only receive private messages from registered clients
516 db 897 * +s - servnotice - See general server notices
517     * +u - unauth - See unauthorized client notices
518     * +w - wallop - See server generated WALLOPS
519     * +y - spy - See LINKS, STATS, TRACE notices etc.
520     */
521 michael 3867 umodes = locops, servnotice, wallop;
522 db 897
523     /*
524 michael 5521 * flags: controls the activities and commands an oper is
525 michael 4300 * allowed to do on the server. All flags default to 'no'.
526     * Available flags:
527 db 897 *
528 michael 4307 * admin - gives administrator privileges | ('A' flag)
529 michael 6487 * close - allows CLOSE
530 michael 2018 * connect - allows local CONNECT | ('P' flag)
531     * connect:remote - allows remote CONNECT | ('Q' flag)
532 michael 4307 * die - allows DIE | ('D' flag)
533     * dline - allows DLINE |
534     * globops - allows GLOBOPS |
535 michael 6448 * join:resv - allows to JOIN resv {} channels
536 michael 2018 * kill - allows to KILL local clients | ('N' flag)
537     * kill:remote - allows remote users to be /KILL'd | ('O' flag)
538 michael 4307 * kline - allows KLINE | ('K' flag)
539     * locops - allows LOCOPS |
540     * module - allows MODULE |
541 michael 6448 * nick:resv - allows to use NICK on resv {} nicks
542 michael 5005 * opme - allows OPME |
543 michael 4307 * rehash - allows oper to REHASH config | ('H' flag)
544 michael 2018 * remoteban - allows remote KLINE/UNKLINE | ('B' flag)
545 michael 4307 * restart - allows RESTART |
546 michael 6453 * resv - allows RESV
547 michael 4307 * set - allows SET |
548     * squit - allows local SQUIT | ('R' flag)
549     * squit:remote - allows remote SQUIT | ('S' flag)
550 michael 2018 * undline - allows UNDLINE |
551     * unkline - allows UNKLINE | ('U' flag)
552 michael 6453 * unresv - allows UNRESV
553 michael 2852 * unxline - allows UNXLINE |
554 michael 2038 * wallops - allows WALLOPS |
555 michael 4307 * xline - allows XLINE | ('X' flag)
556 db 897 */
557 michael 4307 flags = admin, connect, connect:remote, die, globops, kill, kill:remote,
558     kline, module, rehash, restart, set, unkline, unxline, xline;
559 db 897 };
560    
561 michael 1552 /*
562 michael 2322 * connect {}: define a server to connect to
563 db 897 */
564     connect {
565 michael 4172 /* name: the name of the server. */
566 michael 6524 name = "uplink.example.net";
567 db 897
568     /*
569 michael 2322 * host: the host or IP address to connect to. If a hostname is used it
570     * must match the reverse DNS of the server.
571 db 897 */
572 michael 6524 host = "192.0.2.4";
573 db 897
574     /*
575 michael 2322 * vhost: the IP address to bind to when making outgoing connections to
576     * servers.
577 db 897 * serverinfo::vhost and serverinfo::vhost6 will be overridden
578     * by this directive.
579     */
580 michael 6524 vhost = "192.0.2.5";
581 db 897
582     /*
583 michael 4300 * send_password, accept_password: the passwords to send and accept.
584 michael 2322 * The remote server will have these passwords swapped.
585 db 897 */
586     send_password = "password";
587     accept_password = "anotherpassword";
588    
589     /*
590     * encrypted: controls whether the accept_password above has been
591 michael 1070 * encrypted.
592 db 897 */
593     encrypted = no;
594    
595 michael 4172 /* port: the port to connect to this server on. */
596 db 897 port = 6666;
597    
598     /*
599 michael 1863 * hub_mask: the mask of servers that this server may hub. Multiple
600     * entries are permitted.
601 db 897 */
602     hub_mask = "*";
603    
604     /*
605 michael 1863 * leaf_mask: the mask of servers this server may not hub. Multiple
606     * entries are permitted. Useful for forbidding EU -> US -> EU routes.
607 db 897 */
608     # leaf_mask = "*.uk";
609    
610 michael 4172 /* class: the class this server is in. */
611 db 897 class = "server";
612    
613 michael 1524 /*
614 michael 4172 * ssl_cipher_list: list of ciphers that the server we are connecting to
615     * must support. If the server is not capable of using any of the ciphers
616     * listed below, the connection will simply be rejected.
617 michael 1524 * Can be used to enforce stronger ciphers, even though this option
618     * is not necessarily required to establish a SSL/TLS connection.
619     *
620     * Multiple ciphers are separated by colons. The order of preference
621     * is from left to right.
622     */
623 michael 3059 # ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
624 michael 1306
625 db 897 /*
626 michael 2244 * ssl_certificate_fingerprint: enhances security by additionally checking
627     * the server's client certificate fingerprint against the specified
628     * fingerprint below.
629 michael 2228 */
630 michael 2244 # ssl_certificate_fingerprint = "4C62287BA6776A89CD4F8FF10A62FFB35E79319F51AF6C62C674984974FCCB1D";
631 michael 2228
632     /*
633 michael 1229 * autoconn - controls whether we autoconnect to this server or not,
634     * dependent on class limits. By default, this is disabled.
635 michael 1303 * ssl - Initiates a TLS/SSL connection.
636 db 897 */
637 michael 1519 # flags = autoconn, ssl;
638 db 897 };
639    
640     connect {
641 michael 6524 name = "ipv6.example.net";
642     host = "2001:DB8::3";
643 db 897 send_password = "password";
644     accept_password = "password";
645     port = 6666;
646    
647     /*
648     * aftype: controls whether the connection uses "ipv4" or "ipv6".
649     * Default is ipv4.
650     */
651     aftype = ipv6;
652     class = "server";
653     };
654    
655     /*
656     * cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
657 michael 1229 * automatically
658 db 897 */
659     cluster {
660     /*
661 michael 2322 * name: the server to share with; this can take wildcards
662 db 897 *
663 michael 2322 * NOTE: only local actions will be clustered, meaning that if
664 db 897 * the server receives a shared kline/unkline/etc, it
665     * will not be propagated to clustered servers.
666     *
667     * Remote servers are not necessarily required to accept
668 michael 4287 * clustered lines, they need a shared {} block for *THIS*
669     * server in order to accept them.
670 db 897 */
671 michael 6524 name = "*.example.net";
672 db 897
673     /*
674 michael 2322 * type: list of what to share; options are as follows:
675 michael 1301 * dline - share dlines
676     * undline - share undlines
677 michael 1336 * kline - share klines
678     * unkline - share unklines
679     * xline - share xlines
680     * unxline - share unxlines
681     * resv - share resvs
682     * unresv - share unresvs
683     * locops - share locops
684     * all - share all of the above (default)
685 db 897 */
686     type = kline, unkline, locops, xline, resv;
687     };
688    
689     /*
690 michael 1229 * shared {}: users that are allowed to remote kline
691 db 897 *
692 michael 2322 * NOTE: This can effectively be used for remote klines.
693 db 897 * Please note that there is no password authentication
694 michael 1863 * for users setting remote klines. You must also be
695 db 897 * /oper'd in order to issue a remote kline.
696     */
697     shared {
698     /*
699 michael 2322 * name: the server the user must be connected to in order to set klines.
700     * If this is not specified, the user will be allowed to kline from all
701     * servers.
702 db 897 */
703 michael 6524 name = "irc2.example.net";
704 db 897
705     /*
706 michael 1863 * user: the user@host mask that is allowed to set klines. If this is
707 db 897 * not specified, all users on the server above will be allowed to set
708     * a remote kline.
709     */
710     user = "oper@my.host.is.spoofed";
711    
712     /*
713     * type: list of what to share, options are as follows:
714 michael 1301 * dline - allow oper/server to dline
715     * undline - allow oper/server to undline
716 michael 1336 * kline - allow oper/server to kline
717     * unkline - allow oper/server to unkline
718     * xline - allow oper/server to xline
719     * unxline - allow oper/server to unxline
720     * resv - allow oper/server to resv
721     * unresv - allow oper/server to unresv
722 db 897 * locops - allow oper/server to locops - only used for servers that cluster
723 michael 1336 * all - allow oper/server to do all of the above (default)
724 db 897 */
725     type = kline, unkline, resv;
726     };
727    
728     /*
729 michael 1229 * kill {}: users that are not allowed to connect
730 michael 4307 * Oper issued klines will be added to the specified kline database
731 db 897 */
732     kill {
733 michael 6524 user = "bad@*.example.net";
734 db 897 reason = "Obviously hacked account";
735     };
736    
737     /*
738 michael 2322 * deny {}: IP addresses that are not allowed to connect
739     * (before DNS/ident lookup)
740 michael 4307 * Oper issued dlines will be added to the specified dline database
741 db 897 */
742     deny {
743 michael 6524 ip = "192.0.2.0/28";
744 db 897 reason = "Reconnecting vhosted bots";
745     };
746    
747     /*
748 michael 2322 * exempt {}: IP addresses that are exempt from deny {} and Dlines
749 db 897 */
750     exempt {
751 michael 6524 ip = "192.0.2.240/28";
752 db 897 };
753    
754     /*
755 michael 1229 * resv {}: nicks and channels users may not use/join
756 db 897 */
757 michael 1858 resv { mask = "clone*"; reason = "Clone bots"; };
758 michael 3658 resv { mask = "Global"; reason = "Reserved for services"; };
759 michael 1866 resv { mask = "ChanServ"; reason = "Reserved for services"; };
760 michael 1858 resv { mask = "NickServ"; reason = "Reserved for services"; };
761     resv { mask = "OperServ"; reason = "Reserved for services"; };
762     resv { mask = "MemoServ"; reason = "Reserved for services"; };
763     resv { mask = "BotServ"; reason = "Reserved for services"; };
764     resv { mask = "HelpServ"; reason = "Reserved for services"; };
765     resv { mask = "HostServ"; reason = "Reserved for services"; };
766     resv { mask = "StatServ"; reason = "Reserved for services"; };
767     resv { mask = "#*services*"; reason = "Reserved for services"; };
768 michael 1823
769 michael 1858 resv {
770     /*
771     * mask: masks starting with a '#' are automatically considered
772 michael 2322 * as channel name masks.
773 michael 1858 */
774     mask = "#helsinki";
775 michael 3551 reason = "Channel is reserved for Finnish inhabitants";
776 michael 1858
777     /*
778     * exempt: can be either a ISO 3166 alpha-2 two letter country
779     * code, or a nick!user@host mask. CIDR is supported. Exempt
780     * entries can be stacked.
781     */
782     exempt = "FI";
783     };
784    
785 db 897 /*
786 michael 4307 * gecos {}: used for banning users based on their "realname".
787 db 897 */
788     gecos {
789     name = "*sex*";
790     reason = "Possible spambot";
791     };
792    
793     gecos {
794     name = "sub7server";
795     reason = "Trojan drone";
796     };
797    
798     /*
799 michael 4918 * service {}: specifies a server which may act as a network service
800     *
801     * NOTE: it is very important that every server on the network
802     * has the same service {} block.
803     */
804     service {
805 michael 6524 name = "service.example.net";
806     name = "stats.example.net";
807 michael 4918 };
808    
809     /*
810 michael 4537 * pseudo {}: adds pseudo/custom commands also known as service aliases
811 michael 4533 */
812     pseudo {
813 michael 5718 /* command: the actual command/alias. */
814 michael 4533 command = "IDENTIFY";
815 michael 4537
816 michael 5718 /* prepend: optional text that can be prepended before the user's message. */
817 michael 4533 prepend = "IDENTIFY ";
818 michael 4537
819 michael 5718 /* name: the service name, used for error messages. */
820 michael 4533 name = "NickServ";
821 michael 4537
822 michael 5718 /* target: the actual target where this message should be sent to. */
823 michael 6524 target = "NickServ@service.example.net";
824 michael 4533 };
825    
826     pseudo {
827 michael 4590 command = "CHANSERV";
828     name = "ChanServ";
829 michael 6524 target = "ChanServ@service.example.net";
830 michael 4533 };
831    
832     pseudo {
833 michael 4590 command = "CS";
834     name = "ChanServ";
835 michael 6524 target = "ChanServ@service.example.net";
836 michael 4533 };
837    
838     pseudo {
839 michael 4590 command = "NICKSERV";
840     name = "NickServ";
841 michael 6524 target = "NickServ@service.example.net";
842 michael 4533 };
843    
844     pseudo {
845 michael 4590 command = "NS";
846     name = "NickServ";
847 michael 6524 target = "NickServ@service.example.net";
848 michael 4533 };
849    
850     pseudo {
851 michael 4590 command = "MEMOSERV";
852     name = "MemoServ";
853 michael 6524 target = "MemoServ@service.example.net";
854 michael 4533 };
855    
856     pseudo {
857 michael 4590 command = "MS";
858     name = "MemoServ";
859 michael 6524 target = "MemoServ@service.example.net";
860 michael 4533 };
861    
862     pseudo {
863 michael 4590 command = "OPERSERV";
864     name = "OperServ";
865 michael 6524 target = "OperServ@service.example.net";
866 michael 4533 };
867    
868     pseudo {
869 michael 4590 command = "OS";
870     name = "OperServ";
871 michael 6524 target = "OperServ@service.example.net";
872 michael 4533 };
873    
874     pseudo {
875 michael 4590 command = "HOSTSERV";
876     name = "HostServ";
877 michael 6524 target = "HostServ@service.example.net";
878 michael 4533 };
879    
880     pseudo {
881 michael 4590 command = "HS";
882     name = "HostServ";
883 michael 6524 target = "HostServ@service.example.net";
884 michael 4533 };
885    
886     pseudo {
887 michael 4590 command = "BOTSERV";
888     name = "BotServ";
889 michael 6524 target = "BotServ@service.example.net";
890 michael 4533 };
891    
892     pseudo {
893 michael 4590 command = "BS";
894     name = "BotServ";
895 michael 6524 target = "BotServ@service.example.net";
896 michael 4533 };
897    
898     /*
899 michael 4307 * channel {}: the channel block contains options pertaining to channels
900 db 897 */
901     channel {
902     /*
903     * disable_fake_channels: this option, if set to 'yes', will
904 michael 2322 * disallow clients from creating or joining channels that have one
905 db 897 * of the following ASCII characters in their name:
906     *
907     * 2 | bold
908     * 3 | mirc color
909 michael 951 * 15 | plain text
910 db 897 * 22 | reverse
911 michael 1424 * 29 | italic
912 db 897 * 31 | underline
913     * 160 | non-breaking space
914     */
915     disable_fake_channels = yes;
916    
917     /*
918 michael 3863 * invite_client_count, invite_client_time: how many INVITE commands
919     * are permitted per client per invite_client_time.
920 michael 3763 */
921 michael 3863 invite_client_count = 10;
922     invite_client_time = 5 minutes;
923 michael 3763
924     /*
925 michael 3863 * knock_client_count, knock_client_time: how many KNOCK commands
926     * are permitted per client per knock_client_time.
927 michael 3763 */
928 michael 3863 knock_client_count = 1;
929     knock_client_time = 5 minutes;
930 michael 3763
931     /*
932 michael 3934 * knock_delay_channel: how often a KNOCK to any specific channel
933 michael 3763 * is permitted, regardless of the user sending the KNOCK.
934 db 897 */
935     knock_delay_channel = 1 minute;
936    
937     /*
938 michael 3934 * max_channels: the maximum number of channels a user can join/be on.
939 michael 4267 * This is a default value which can be overriden with class {} blocks.
940 db 897 */
941 michael 3934 max_channels = 25;
942 db 897
943 michael 5718 /* max_bans: maximum number of +b/e/I modes in a channel. */
944 michael 1522 max_bans = 100;
945 db 897
946     /*
947 michael 5488 * default_join_flood_count, default_join_flood_time:
948     * how many joins in how many seconds constitute a flood. Use 0 to disable.
949     * +b opers will be notified. These are only default values which can be
950     * changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME".
951 db 897 */
952 michael 5488 default_join_flood_count = 18;
953     default_join_flood_time = 6 seconds;
954 db 897 };
955    
956     /*
957 michael 4307 * serverhide {}: the serverhide block contains the options regarding
958 michael 4204 * to server hiding. For more information regarding server hiding,
959     * please see doc/serverhide.txt
960 db 897 */
961     serverhide {
962     /*
963 michael 2322 * disable_remote_commands: disable users issuing commands
964 michael 2196 * on remote servers.
965     */
966     disable_remote_commands = no;
967    
968     /*
969 db 897 * flatten_links: this option will show all servers in /links appear
970 michael 2322 * as though they are linked to this current server.
971 db 897 */
972     flatten_links = no;
973    
974     /*
975 michael 6598 * flatten_links_delay: how often to update the links file when it is
976 db 897 * flattened.
977     */
978 michael 6598 flatten_links_delay = 5 minutes;
979 db 897
980     /*
981 michael 6610 * flatten_links_file: path to the flatten links cache file.
982 michael 6600 */
983     flatten_links_file = "var/lib/links.txt";
984    
985     /*
986 db 897 * 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 michael 6524 hidden_name = "*.example.net";
1007 db 897
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     /*
1247 michael 2322 * max_targets: the maximum number of targets in a single
1248 michael 1863 * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
1249 db 897 */
1250     max_targets = 4;
1251    
1252     /*
1253 michael 6153 * user modes configurable: a list of user modes for the options below
1254 db 897 *
1255     * +b - bots - See bot and drone flooding notices
1256     * +c - cconn - Client connection/quit notices
1257     * +D - deaf - Don't receive channel messages
1258     * +d - debug - See debugging notices
1259 michael 1818 * +e - external - See remote server connection and split notices
1260 michael 1976 * +F - farconnect - Remote client connection/quit notices
1261 michael 4267 * +f - full - See auth {} block full notices
1262 db 897 * +G - softcallerid - Server Side Ignore for users not on your channels
1263     * +g - callerid - Server Side Ignore (for privmsgs etc)
1264 michael 1294 * +H - hidden - Hides operator status to other users
1265 michael 2345 * +i - invisible - Not shown in NAMES or WHO unless you share a channel
1266 michael 1290 * +j - rej - See rejected client notices
1267 db 897 * +k - skill - See server generated KILL messages
1268     * +l - locops - See LOCOPS messages
1269     * +n - nchange - See client nick changes
1270 michael 3515 * +p - hidechans - Hides channel list in WHOIS
1271 michael 3507 * +q - hideidle - Hides idle and signon time in WHOIS
1272 michael 1855 * +R - nononreg - Only receive private messages from registered clients
1273 db 897 * +s - servnotice - See general server notices
1274     * +u - unauth - See unauthorized client notices
1275     * +w - wallop - See server generated WALLOPS
1276     * +y - spy - See LINKS, STATS, TRACE notices etc.
1277     */
1278    
1279 michael 6153 /* oper_only_umodes: user modes only operators may set. */
1280 michael 4307 oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops,
1281     nchange, rej, skill, spy, unauth;
1282 db 897
1283 michael 6591 /* oper_umodes: default user modes operators get when they /oper. */
1284 michael 3867 oper_umodes = bots, locops, servnotice, wallop;
1285 db 897
1286     /*
1287 michael 3876 * throttle_count: the maximum number of connections from the same
1288     * IP address allowed in throttle_time duration.
1289     */
1290     throttle_count = 1;
1291    
1292     /*
1293 michael 2322 * throttle_time: the minimum amount of time required between
1294 michael 3876 * connections from the same IP address. exempt {} blocks are
1295     * excluded from this throttling.
1296 michael 1863 * Offers protection against flooders who reconnect quickly.
1297 db 897 * Set to 0 to disable.
1298     */
1299 michael 3876 throttle_time = 2 seconds;
1300 db 897 };
1301    
1302     modules {
1303     /*
1304 michael 951 * path: other paths to search for modules specified below
1305 michael 1441 * and in "/module load".
1306 db 897 */
1307 michael 4172 path = "lib/ircd-hybrid/modules";
1308 michael 5006 # path = "lib/ircd-hybrid/modules/extra";
1309 michael 4172 path = "lib/ircd-hybrid/modules/autoload";
1310 db 897
1311 michael 1863 /* module: the name of a module to load on startup/rehash. */
1312 michael 2171 # module = "some_module.la";
1313 db 897 };
1314 michael 1247
1315     /*
1316     * log {}: contains information about logfiles.
1317     */
1318     log {
1319     /* Do you want to enable logging to ircd.log? */
1320     use_logging = yes;
1321    
1322     file {
1323     type = oper;
1324 michael 4172 name = "var/log/oper.log";
1325 michael 1250 size = unlimited;
1326 michael 1247 };
1327    
1328     file {
1329     type = user;
1330 michael 4172 name = "var/log/user.log";
1331 michael 1247 size = 50 megabytes;
1332     };
1333    
1334     file {
1335     type = kill;
1336 michael 4172 name = "var/log/kill.log";
1337 michael 1247 size = 50 megabytes;
1338     };
1339    
1340     file {
1341     type = kline;
1342 michael 4172 name = "var/log/kline.log";
1343 michael 1247 size = 50 megabytes;
1344     };
1345    
1346     file {
1347     type = dline;
1348 michael 4172 name = "var/log/dline.log";
1349 michael 1247 size = 50 megabytes;
1350     };
1351    
1352     file {
1353 michael 2336 type = xline;
1354 michael 4172 name = "var/log/xline.log";
1355 michael 2336 size = 50 megabytes;
1356     };
1357    
1358     file {
1359     type = resv;
1360 michael 4172 name = "var/log/resv.log";
1361 michael 2336 size = 50 megabytes;
1362     };
1363    
1364     file {
1365 michael 1247 type = debug;
1366 michael 4172 name = "var/log/debug.log";
1367 michael 1247 size = 50 megabytes;
1368 michael 1824 };
1369 michael 1247 };

Properties

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