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

Properties

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