ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/doc/reference.conf
Revision: 7059
Committed: Mon Jan 18 18:53:32 2016 UTC (10 years, 6 months ago) by michael
File size: 39497 byte(s)
Log Message:
- Operators can now REHASH on remote servers; requested by astrutt
- REHASH now requires at least one parameter which currently might be one of CONF, MOTD, or DNS

File Contents

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

Properties

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