ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/doc/example.efnet.conf
Revision: 1519
Committed: Wed Sep 5 12:02:04 2012 UTC (11 years, 7 months ago) by michael
File size: 35338 byte(s)
Log Message:
- Topics as well as user-aways are now sent in a burst by default

File Contents

# Content
1 /* doc/example.efnet.conf - ircd-hybrid-8 EFnet Example configuration file
2 * Copyright (C) 2000-2012 Hybrid Development Team
3 *
4 * Written by ejb, wcampbel, db, leeh and others
5 * Other example configurations can be found in the source dir under
6 * etc/.
7 *
8 * $Id$
9 */
10
11 /* IMPORTANT NOTES:
12 *
13 * 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 * then general access.
16 *
17 * Shell style (#), C++ style (//) and C style comments are supported.
18 *
19 * Files may be included by either:
20 * .include "filename"
21 * .include <filename>
22 *
23 * Times/durations are written as:
24 * 12 hours 30 minutes 1 second
25 *
26 * Valid units of time:
27 * month, week, day, hour, minute, second
28 *
29 * Valid units of size:
30 * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
31 *
32 * Sizes and times may be singular or plural.
33 */
34
35 /* EFNET NOTE:
36 *
37 * This configuration file is a BASIC configuration file for use
38 * on EFnet. You MUST still take the time to set this file up
39 * properly.
40 *
41 * DISCLAIMER: This file was submitted by Disciple@EFnet and has
42 * since been modified by the Hybrid team.
43 */
44
45 /*
46 * serverinfo {}: contains information about the server
47 */
48 serverinfo {
49 /*
50 * name: the name of this server. This cannot be changed at runtime.
51 */
52 name = "efnet.irc";
53
54 /*
55 * sid: a server's unique ID. This is three characters long and must
56 * be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be
57 * a digit, followed by 2 alpha-numerical letters.
58 * NOTE: The letters must be capitalized. This cannot be changed at runtime.
59 */
60 sid = "_CHANGE_ME_";
61
62 /*
63 * description: the description of the server. '[' and ']' may not
64 * be used here for compatibility with older servers.
65 */
66 description = "hybrid-7 test server";
67
68 /*
69 * network info: the name and description of the network this server
70 * is on. Shown in the 005 reply and used with serverhiding.
71 */
72 network_name = "EFnet";
73 network_desc = "Eris Free Network";
74
75 /*
76 * hub: allow this server to act as a hub and have multiple servers
77 * connected to it.
78 */
79 hub = no;
80
81 /*
82 * vhost: the IP to bind to when we connect outward to ipv4 servers.
83 * This should be an ipv4 IP only, or "*" for INADDR_ANY.
84 */
85 #vhost = "192.169.0.1";
86
87 /*
88 * vhost6: the IP to bind to when we connect outward to ipv6 servers.
89 * This should be an ipv6 IP only, or "*" for INADDR_ANY.
90 */
91 #vhost6 = "3ffe:80e8:546::2";
92
93 /* max_clients: the maximum number of clients allowed to connect */
94 max_clients = 512;
95
96 /*
97 * rsa_private_key_file: the path to the file containing our
98 * rsa key for cryptlink.
99 *
100 * Example command to store a 2048 bit RSA keypair in
101 * rsa.key, and the public key in rsa.pub:
102 *
103 * openssl genrsa -out rsa.key 2048
104 * openssl rsa -in rsa.key -pubout -out rsa.pub
105 * chown <ircd-user>.<ircd.group> rsa.key rsa.pub
106 * chmod 0600 rsa.key
107 * chmod 0644 rsa.pub
108 */
109 #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
110
111 /*
112 * ssl_certificate_file: the path to the file containing our
113 * ssl certificate for encrypted client connection.
114 *
115 * This assumes your private RSA key is stored in rsa.key. You
116 * MUST have an RSA key in order to generate the certificate
117 *
118 * openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
119 *
120 * See http://www.openssl.org/docs/HOWTO/certificates.txt
121 *
122 * Please use the following values when generating the cert
123 *
124 * Organization Name: Network Name
125 * Organization Unit Name: changme.someirc.net
126 * Common Name: irc.someirc.net
127 * E-mail: you@domain.com
128 */
129 #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
130
131 /*
132 * ssl_dh_param_file:
133 *
134 * Path to the PEM encoded Diffie-Hellman parameter file.
135 * DH parameters are strictly required when using ciphers
136 * with EDH (ephemeral Diffie-Hellman) key exchange.
137 *
138 * A DH parameter file can be created by running:
139 *
140 * openssl dhparam -out dhparam.pem 1024
141 *
142 * Further information regarding specific OpenSSL dhparam
143 * command-line options can be found in the OpenSSL manual.
144 */
145 #ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem";
146
147 /*
148 * ssl_cipher_list:
149 *
150 * List of ciphers that are supported by _this_ server. Can be used to enforce
151 * specific ciphers for incoming SSL/TLS connections.
152 * If a client (which also includes incoming server connections) isn't capable
153 * of any cipher listed below, the connection will simply be rejected.
154 *
155 * A list of supported ciphers can be obtained by running:
156 *
157 * openssl ciphers -ssl3 -tls1 -v
158 *
159 * Multiple ciphers are separated by colons. The order of preference is from
160 * left to right.
161 */
162 #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
163
164 /*
165 * ssl_server_method:
166 * ssl_client_method:
167 *
168 * SSL/TLS methods we provide for incoming (server method) and
169 * outgoing (client method) SSL/TLS connections.
170 * This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1.
171 * SSLv2 is not suppported.
172 */
173 #ssl_server_method = tlsv1, sslv3;
174 #ssl_client_method = tlsv1;
175 };
176
177 /*
178 * admin {}: contains admin information about the server
179 */
180 admin {
181 name = "EFnet Admin";
182 description = "Main Server Administrator";
183 email = "<irc-admin@efnet.irc>";
184 };
185
186 /*
187 * class {}: contains information about classes for users
188 */
189 class {
190 /* name: the name of the class. classes are text now */
191 name = "users";
192
193 /*
194 * ping_time: how often a client must reply to a PING from the
195 * server before they are dropped.
196 */
197 ping_time = 90 seconds;
198
199 /*
200 * number_per_ip: how many local users are allowed to connect
201 * from one IP (optional)
202 */
203 number_per_ip = 2;
204
205 /*
206 * max_local: how many local users are allowed to connect
207 * from one ident@host (optional)
208 */
209 max_local = 2;
210
211 /*
212 * max_global: network-wide limit of users per ident@host (optional)
213 */
214 max_global = 10;
215
216 /*
217 * max_number: the maximum number of users allowed in this class (optional)
218 */
219 max_number = 100;
220
221 /*
222 * the following lines are optional and allow you to define
223 * how many users can connect from one /NN subnet
224 */
225 cidr_bitlen_ipv4 = 24;
226 cidr_bitlen_ipv6 = 120;
227 number_per_cidr = 16;
228
229 /*
230 * sendq: the amount of data allowed in a clients queue before
231 * they are dropped.
232 */
233 sendq = 100 kbytes;
234
235 /*
236 * recvq: maximum amount of data in a clients queue before they
237 * are dropped for flooding. Defaults to 2560 if the chosen
238 * value isn't within the range of 512 to 8000.
239 */
240 recvq = 2560 bytes;
241 };
242
243 class {
244 name = "opers";
245
246 /*
247 * contrary to seeming popular belief, setting ping time
248 * higher for an oper is NOT doing them a favor.
249 * Since if a link is dead its dead and it means
250 * you have to use another nick long enough to kill the old one :-)
251 * Its much better to use a fairly standard 90 second ping time
252 */
253 ping_time = 90 seconds;
254 number_per_ip = 10;
255 max_number = 100;
256 sendq = 1 mbyte;
257 };
258
259 class {
260 name = "server";
261
262 /*
263 * Same thing here. It's a fallacy to think increasing
264 * ping time for servers is a "good idea." All it leads to
265 * is "ghosting" on one end. Not a good idea.
266 */
267 ping_time = 90 seconds;
268
269 /*
270 * ping_warning: how fast a server must reply to a PING before
271 * a warning to opers is generated.
272 */
273 ping_warning = 15 seconds;
274
275 /*
276 * connectfreq: only used in server classes. Specifies the delay
277 * between autoconnecting to servers.
278 *
279 * Both comstud and I recommend 10 minutes a few years ago.
280 * 15 minutes might be right now. The reason you don't want it too
281 * low is, you make the servers reconnect too quickly with
282 * a large sendq, and they _will_ nick collide. badly. 5 minutes
283 * IS way too short.
284 */
285 connectfreq = 15 minutes;
286
287 /* max number: the amount of servers to autoconnect to */
288 max_number = 1;
289
290 /* sendq: servers need a higher sendq as they send more data */
291 sendq = 15 megabytes;
292 };
293
294 /*
295 * listen {}: contains information about the ports ircd listens on
296 */
297 listen {
298 /*
299 * port: the specific port to listen on. If no host is specified
300 * before, it will listen on all available IPs.
301 *
302 * Ports are separated via a comma, a range may be specified using ".."
303 */
304
305 /* port: listen on all available IPs, ports 6665 to 6669 */
306 port = 6665 .. 6669;
307
308 /*
309 * Listen on 192.168.0.1/6697 with ssl enabled and hidden from STATS P
310 * unless you are an administrator.
311 *
312 * NOTE: The "flags" directive has to come before "port". Always!
313 *
314 * Currently available flags are:
315 *
316 * ssl - Port is for SSL client connections only
317 * server - Only server connections are permitted
318 * hidden - Port is hidden from /stats P, unless you're an admin
319 */
320 flags = hidden, ssl;
321 host = "192.168.0.1";
322 port = 6697;
323
324 /*
325 * host: set a specific IP/host the ports after the line will listen
326 * on. This may be ipv4 or ipv6.
327 */
328 host = "1.2.3.4";
329 port = 7000, 7001;
330
331 host = "3ffe:1234:a:b:c::d";
332 port = 7002;
333 };
334
335 /*
336 * auth {}: allow users to connect to the ircd
337 */
338 auth {
339 /*
340 * user: the user@host allowed to connect. Multiple IPv4/IPv6 user
341 * lines are permitted per auth block.
342 */
343 user = "*@172.16.0.0/12";
344 user = "*test@123D:B567:*";
345
346 /* password: an optional password that is required to use this block */
347 password = "letmein";
348
349 /*
350 * encrypted: controls whether the auth password above has been
351 * encrypted.
352 */
353 encrypted = yes;
354
355 /*
356 * spoof: fake the users host to this. This is free-form,
357 * just do everyone a favor and don't abuse it. ('=' prefix on /stats I)
358 */
359 spoof = "I.still.hate.packets";
360
361 /* class: the class the user is placed in */
362 class = "opers";
363
364 /*
365 * need_password - don't allow users who haven't supplied the correct
366 * password to connect using another auth{} block
367 * ('&' prefix on /stats I if disabled)
368 * need_ident - require the user to have identd to connect ('+' prefix on /stats I)
369 * spoof_notice - enable spoofing notification to admins
370 * exceed_limit - allow a user to exceed class limits ('>' prefix on /stats I)
371 * kline_exempt - exempt this user from k/glines ('^' prefix on /stats I)
372 * gline_exempt - exempt this user from glines ('_' prefix on /stats I)
373 * resv_exempt - exempt this user from resvs ('$' prefix on /stats I)
374 * no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I)
375 * can_flood - allow this user to exceed flood limits ('|' prefix on /stats I)
376 */
377 flags = need_password, spoof_notice, exceed_limit, kline_exempt,
378 gline_exempt, resv_exempt, no_tilde, can_flood;
379 };
380
381 auth {
382 /*
383 * redirect: the server and port to redirect a user to. A user does
384 * not have to obey the redirection, the ircd just suggests an alternative
385 * server for them.
386 */
387 redirserv = "this.is.not.a.real.server";
388 redirport = 6667;
389
390 user = "*.server";
391
392 /* class: a class is required even though it is not used */
393 class = "users";
394 };
395
396 auth {
397 user = "*@*";
398 class = "users";
399 flags = need_ident;
400 };
401
402 /*
403 * operator {}: defines ircd operators
404 *
405 * ircd-hybrid no longer supports local operators, privileges are
406 * controlled via flags.
407 */
408 operator {
409 /* name: the name of the oper */
410 name = "god";
411
412 /*
413 * user: the user@host required for this operator. Multiple
414 * user="" lines are supported.
415 */
416 user = "*god@192.168.0.0/16";
417 user = "*@127.0.0.0/8";
418
419 /*
420 * password: the password required to oper. By default this will
421 * need to be encrypted by using the provided mkpasswd tool.
422 * Several password hash algorithms are available depending
423 * on your system's crypt() implementation. For example, a modern
424 * glibc already has support for SHA-256/512, and MD5 encryption
425 * algorithms.
426 */
427 password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4";
428
429 /*
430 * encrypted: controls whether the oper password above has been
431 * encrypted.
432 */
433 encrypted = yes;
434
435 /*
436 * rsa_public_key_file: the public key for this oper when using Challenge.
437 * A password should not be defined when this is used, see
438 * doc/challenge.txt for more information.
439 */
440 # rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
441
442 /* class: the class the oper joins when they successfully /oper */
443 class = "opers";
444
445 /*
446 * umodes: default usermodes opers get when they /oper. If defined,
447 * it will override oper_umodes settings in general {}.
448 * Available usermodes:
449 *
450 * +b - bots - See bot and drone flooding notices
451 * +c - cconn - Client connection/quit notices
452 * +C - cconn_full - Client connection/quit notices full
453 * +D - deaf - Don't receive channel messages
454 * +d - debug - See debugging notices
455 * +f - full - See auth{} block full notices
456 * +G - softcallerid - Server Side Ignore for users not on your channels
457 * +g - callerid - Server Side Ignore (for privmsgs etc)
458 * +H - hidden - Hides operator status to other users
459 * +i - invisible - Not shown in NAMES or WHO unless you share a
460 * a channel
461 * +j - rej - See rejected client notices
462 * +k - skill - See server generated KILL messages
463 * +l - locops - See LOCOPS messages
464 * +n - nchange - See client nick changes
465 * +s - servnotice - See general server notices
466 * +u - unauth - See unauthorized client notices
467 * +w - wallop - See server generated WALLOPS
468 * +x - external - See remote server connection and split notices
469 * +y - spy - See LINKS, STATS, TRACE notices etc.
470 * +z - operwall - See oper generated WALLOPS
471 */
472 # umodes = locops, servnotice, operwall, wallop;
473
474 /*
475 * privileges: controls the activities and commands an oper is
476 * allowed to do on the server. All options default to no.
477 * Available options:
478 *
479 * module - allows MODULE
480 * global_kill - allows remote users to be /KILL'd
481 * remote - allows remote SQUIT and CONNECT
482 * remoteban - allows remote KLINE/UNKLINE
483 * dline - allows DLINE
484 * undline - allows UNDLINE
485 * kline - allows KILL and KLINE
486 * unkline - allows UNKLINE
487 * gline - allows GLINE
488 * xline - allows XLINE
489 * globops - allows GLOBOPS
490 * operwall - allows OPERWALL
491 * nick_changes - allows oper to see nickchanges via usermode +n
492 * rehash - allows oper to REHASH config
493 * die - allows DIE
494 * restart - allows RESTART
495 * set - allows SET
496 * admin - gives admin privileges. admins for example,
497 * may see the real IP addresses of servers.
498 */
499 flags = global_kill, remote, kline, unkline, xline, globops, restart,
500 die, rehash, nick_changes, admin, operwall, module;
501 };
502
503 /*
504 * connect {}: controls servers we connect to
505 */
506 connect {
507 /* name: the name of the server */
508 name = "irc.uplink.com";
509
510 /*
511 * host: the host or IP to connect to. If a hostname is used it
512 * must match the reverse dns of the server.
513 */
514 host = "192.168.0.1";
515
516 /*
517 * vhost: the IP to bind to when we connect outward to servers.
518 * serverinfo::vhost and serverinfo::vhost6 will be overridden
519 * by this directive.
520 */
521 vhost = "192.168.0.2";
522
523 /*
524 * passwords: the passwords we send (OLD C:) and accept (OLD N:).
525 * The remote server will have these passwords reversed.
526 */
527 send_password = "password";
528 accept_password = "anotherpassword";
529
530 /*
531 * encrypted: controls whether the accept_password above has been
532 * encrypted.
533 */
534 encrypted = no;
535
536 /* port: the port to connect to this server on */
537 port = 6666;
538
539 /*
540 * hub_mask: the mask of servers that this server may hub. Multiple
541 * entries are permitted
542 */
543 hub_mask = "*";
544
545 /*
546 * leaf_mask: the mask of servers this server may not hub. Multiple
547 * entries are permitted. Useful for forbidding EU -> US -> EU routes.
548 */
549 # leaf_mask = "*.uk";
550
551 /* class: the class this server is in */
552 class = "server";
553
554 #ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA";
555
556 /*
557 * autoconn - controls whether we autoconnect to this server or not,
558 * dependent on class limits. By default, this is disabled.
559 * ssl - Initiates a TLS/SSL connection.
560 */
561 # flags = autoconn, ssl;
562 };
563
564 connect {
565 name = "ipv6.some.server";
566 host = "3ffd:dead:beef::1";
567 send_password = "password";
568 accept_password = "password";
569 port = 6666;
570
571 /*
572 * aftype: controls whether the connection uses "ipv4" or "ipv6".
573 * Default is ipv4.
574 */
575 aftype = ipv6;
576 class = "server";
577 };
578
579 /*
580 * cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
581 * automatically
582 */
583 cluster {
584 /*
585 * name: the server to share with, this can take wildcards
586 *
587 * NOTE: only local actions will be clustered, meaning if
588 * the server receives a shared kline/unkline/etc, it
589 * will not be propagated to clustered servers.
590 *
591 * Remote servers are not necessarily required to accept
592 * clustered lines, they need a shared{} for *THIS* server
593 * in order to accept them.
594 */
595 name = "*.arpa";
596
597 /*
598 * type: list of what to share, options are as follows:
599 * dline - share dlines
600 * undline - share undlines
601 * kline - share klines
602 * unkline - share unklines
603 * xline - share xlines
604 * unxline - share unxlines
605 * resv - share resvs
606 * unresv - share unresvs
607 * locops - share locops
608 * all - share all of the above (default)
609 */
610 type = kline, unkline, locops, xline, resv;
611 };
612
613 /*
614 * shared {}: users that are allowed to remote kline
615 *
616 * NOTE: This can be effectively used for remote klines.
617 * Please note that there is no password authentication
618 * for users setting remote klines. You must also be
619 * /oper'd in order to issue a remote kline.
620 */
621 shared {
622 /*
623 * name: the server the user must be on to set klines. If this is not
624 * specified, the user will be allowed to kline from all servers.
625 */
626 name = "irc2.some.server";
627
628 /*
629 * user: the user@host mask that is allowed to set klines. If this is
630 * not specified, all users on the server above will be allowed to set
631 * a remote kline.
632 */
633 user = "oper@my.host.is.spoofed";
634
635 /*
636 * type: list of what to share, options are as follows:
637 * dline - allow oper/server to dline
638 * undline - allow oper/server to undline
639 * kline - allow oper/server to kline
640 * unkline - allow oper/server to unkline
641 * xline - allow oper/server to xline
642 * unxline - allow oper/server to unxline
643 * resv - allow oper/server to resv
644 * unresv - allow oper/server to unresv
645 * locops - allow oper/server to locops - only used for servers that cluster
646 * all - allow oper/server to do all of the above (default)
647 */
648 type = kline, unkline, resv;
649 };
650
651 /*
652 * kill {}: users that are not allowed to connect
653 * Oper issued klines will be added to the specified kline config
654 */
655 kill {
656 user = "bad@*.hacked.edu";
657 reason = "Obviously hacked account";
658 };
659
660 kill {
661 user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.tld$";
662
663 /*
664 * NOTE: You have to set type=regex; when using a regular expression
665 * based user entry
666 */
667 type = regex;
668 };
669
670 /*
671 * deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
672 * Oper issued dlines will be added to the specified dline config
673 */
674 deny {
675 ip = "10.0.1.0/24";
676 reason = "Reconnecting vhosted bots";
677 };
678
679 /*
680 * exempt {}: IPs that are exempt from deny {} and Dlines.
681 *
682 * EFnet Note: We really suggest to enable general::stats_e_disabled
683 * if you plan to exempt EFnet server IPs you don't want to show to
684 * other operators and/or administrators through "STATS e".
685 */
686 exempt {
687 ip = "192.168.0.0/16";
688 };
689
690 /*
691 * resv {}: nicks and channels users may not use/join
692 */
693 resv {
694 /* reason: the reason for the proceeding resv's */
695 reason = "There are no services on this network";
696
697 /* resv: the nicks and channels users may not join/use */
698 nick = "nickserv";
699 nick = "chanserv";
700 nick = "operserv";
701 nick = "JUPES";
702 nick = "JUPE";
703 nick = "CH?NF?X"; # CHANFIX (services.int)
704
705 /* These are totally optional, but may be a good idea */
706 nick = "oper";
707 nick = "ircop";
708 nick = "op";
709 nick = "ident";
710 nick = "pass";
711 channel = "#jupedchan";
712
713 /* resv: wildcard masks are also supported in nicks only */
714 reason = "Clone bots";
715 nick = "clone*";
716 };
717
718 /*
719 * gecos {}: The X: replacement, used for banning users based on
720 * their "realname".
721 */
722 gecos {
723 name = "*sex*";
724 reason = "Possible spambot";
725 };
726
727 gecos {
728 name = "sub7server";
729 reason = "Trojan drone";
730 };
731
732 gecos {
733 name = "*http*";
734 reason = "Spambot";
735 };
736
737 gecos {
738 name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$";
739
740 /*
741 * NOTE: You have to set type=regex; when using a regular expression
742 * based name entry
743 */
744 type = regex;
745 };
746
747 /*
748 * channel {}: The channel block contains options pertaining to channels
749 */
750 channel {
751 /*
752 * disable_fake_channels: this option, if set to 'yes', will
753 * disallow clients to create or join channels that have one
754 * of the following ASCII characters in their name:
755 *
756 * 2 | bold
757 * 3 | mirc color
758 * 15 | plain text
759 * 22 | reverse
760 * 29 | italic
761 * 31 | underline
762 * 160 | non-breaking space
763 */
764 disable_fake_channels = yes;
765
766 /*
767 * restrict_channels: reverse channel RESVs logic, only reserved
768 * channels are allowed
769 */
770 restrict_channels = no;
771
772 /*
773 * knock_delay: The amount of time a user must wait between issuing
774 * the knock command.
775 */
776 knock_delay = 5 minutes;
777
778 /*
779 * knock_delay_channel: How often a knock to any specific channel
780 * is permitted, regardless of the user sending the knock.
781 */
782 knock_delay_channel = 1 minute;
783
784 /*
785 * max_chans_per_user: The maximum number of channels a user can
786 * join/be on.
787 */
788 max_chans_per_user = 25;
789
790 /*
791 * max_chans_per_oper: The maximum number of channels an oper can
792 * join/be on.
793 */
794 max_chans_per_oper = 50;
795
796 /* quiet_on_ban: stop banned people talking in channels. */
797 quiet_on_ban = yes;
798
799 /* max_bans: maximum number of +b/e/I modes in a channel */
800 max_bans = 100;
801
802 /*
803 * how many joins in how many seconds constitute a flood, use 0 to
804 * disable. +b opers will be notified (changeable via /set)
805 */
806 join_flood_count = 16;
807 join_flood_time = 8 seconds;
808
809 /*
810 * splitcode: The ircd will now check splitmode every few seconds.
811 *
812 * Either split users or split servers can activate splitmode, but
813 * both conditions must be met for the ircd to deactivate splitmode.
814 *
815 * You may force splitmode to be permanent by /quote set splitmode on
816 */
817
818 /*
819 * default_split_user_count: when the usercount is lower than this level,
820 * consider ourselves split. This must be set for automatic splitmode.
821 */
822 default_split_user_count = 20000;
823
824 /*
825 * default_split_server_count: when the servercount is lower than this,
826 * consider ourselves split. This must be set for automatic splitmode.
827 */
828 default_split_server_count = 10;
829
830 /* no_create_on_split: disallow users creating channels on split. */
831 no_create_on_split = yes;
832
833 /* no_join_on_split: disallow users joining channels at all on a split. */
834 no_join_on_split = no;
835 };
836
837 /*
838 * serverhide {}: The serverhide block contains the options regarding
839 * serverhiding
840 */
841 serverhide {
842 /*
843 * flatten_links: this option will show all servers in /links appear
844 * that they are linked to this current server
845 *
846 * EFnet Note: While this is not a requirement on EFnet, it
847 * may be a good idea. Except, it's useless
848 * unless the entire net runs it.
849 */
850 flatten_links = no;
851
852 /*
853 * links_delay: how often to update the links file when it is
854 * flattened.
855 */
856 links_delay = 5 minutes;
857
858 /*
859 * hidden: hide this server from a /links output on servers that
860 * support it. This allows hub servers to be hidden etc.
861 */
862 hidden = no;
863
864 /*
865 * hide_servers: hide remote servernames everywhere and instead use
866 * hidden_name and network_desc.
867 */
868 hide_servers = no;
869
870 /*
871 * Use this as the servername users see if hide_servers = yes.
872 */
873 hidden_name = "*.hidden.com";
874
875 /*
876 * hide_server_ips: If this is disabled, opers will be unable to see
877 * servers ips and will be shown a masked ip, admins will be shown the
878 * real ip.
879 *
880 * If this is enabled, nobody can see a servers ip. *This is a kludge*,
881 * it has the side effect of hiding the ips everywhere, including
882 * logfiles.
883 *
884 * We recommend you leave this disabled, and just take care with who you
885 * give admin=yes; to.
886 */
887 hide_server_ips = yes;
888 };
889
890 /*
891 * general {}: The general block contains many of the options that were once
892 * compiled in options in config.h. The general block is read at start time.
893 */
894 general {
895 /* max_watch: maximum WATCH entries a client can have. */
896 max_watch = 60;
897
898 /*
899 * EFnet Note: This feature is required for European EFnet servers
900 * and is used by several North American servers. As
901 * such, it has been left on by default. If you
902 * do not want your server to participate in G:Lines
903 * you should disable this.
904 */
905
906 /* gline_enable: enable glines, network wide temp klines */
907 gline_enable = yes;
908
909 /*
910 * gline_duration: the amount of time a gline will remain on your
911 * server before expiring
912 */
913 gline_duration = 1 day;
914
915 /*
916 * gline_request_duration: how long a pending G-line can be around.
917 * 10 minutes should be plenty
918 */
919 gline_request_duration = 10 minutes;
920
921 /*
922 * gline_min_cidr: the minimum required length of a CIDR bitmask
923 * for IPv4 based glines
924 */
925 gline_min_cidr = 16;
926
927 /*
928 * gline_min_cidr6: the minimum required length of a CIDR bitmask
929 * for IPv6 based glines
930 */
931 gline_min_cidr6 = 48;
932
933 /*
934 * Whether to automatically set mode +i on connecting users.
935 */
936 invisible_on_connect = yes;
937
938 /*
939 * Show "actually using host <ip>" on /whois when possible.
940 */
941 use_whois_actually = yes;
942
943 /*
944 * Max time from the nickname change that still causes KILL
945 * automatically to switch for the current nick of that user.
946 */
947 kill_chase_time_limit = 90 seconds;
948
949 /*
950 * If hide_spoof_ips is disabled, opers will be allowed to see the real
951 * IP of spoofed users in /trace etc. If this is defined they will be
952 * shown a masked IP.
953 */
954 hide_spoof_ips = yes;
955
956 /*
957 * Ignore bogus timestamps from other servers. Yes, this will desync
958 * the network, but it will allow chanops to resync with a valid non TS 0
959 *
960 * This should be enabled network wide, or not at all.
961 */
962 ignore_bogus_ts = no;
963
964 /*
965 * disable_auth: completely disable ident lookups; if you enable this,
966 * be careful of what you set need_ident to in your auth {} blocks
967 */
968 disable_auth = no;
969
970 /* disable_remote_commands: disable users doing commands on remote servers */
971 disable_remote_commands = no;
972
973 /*
974 * tkline_expire_notices: enables or disables temporary kline/xline
975 * expire notices.
976 */
977 tkline_expire_notices = no;
978
979 /*
980 * default_floodcount: the default value of floodcount that is configurable
981 * via /quote set floodcount. This is the amount of lines a user
982 * may send to any other user/channel in one second.
983 */
984 default_floodcount = 10;
985
986 /*
987 * failed_oper_notice: send a notice to all opers on the server when
988 * someone tries to OPER and uses the wrong password, host or ident.
989 */
990 failed_oper_notice = yes;
991
992 /*
993 * dots_in_ident: the amount of '.' characters permitted in an ident
994 * reply before the user is rejected.
995 */
996 dots_in_ident = 2;
997
998 /*
999 * min_nonwildcard: the minimum non wildcard characters in k/d/g lines
1000 * placed via the server. klines hand placed are exempt from limits.
1001 * wildcard chars: '.' ':' '*' '?' '@' '!' '#'
1002 */
1003 min_nonwildcard = 3;
1004
1005 /*
1006 * min_nonwildcard_simple: the minimum non wildcard characters in
1007 * gecos bans. wildcard chars: '*' '?' '#'
1008 */
1009 min_nonwildcard_simple = 3;
1010
1011 /* max_accept: maximum allowed /accept's for +g usermode */
1012 max_accept = 20;
1013
1014 /* anti_nick_flood: enable the nickflood control code */
1015 anti_nick_flood = yes;
1016
1017 /* nick flood: the nick changes allowed in the specified period */
1018 max_nick_time = 20 seconds;
1019 max_nick_changes = 5;
1020
1021 /*
1022 * anti_spam_exit_message_time: the minimum time a user must be connected
1023 * before custom quit messages are allowed.
1024 */
1025 anti_spam_exit_message_time = 5 minutes;
1026
1027 /*
1028 * ts delta: the time delta allowed between server clocks before
1029 * a warning is given, or before the link is dropped. all servers
1030 * should run ntpdate/rdate to keep clocks in sync
1031 */
1032 ts_warn_delta = 30 seconds;
1033 ts_max_delta = 5 minutes;
1034
1035 /*
1036 * kline_with_reason: show the user the reason why they are k/d/glined
1037 * on exit. May give away who set k/dline when set via tcm.
1038 */
1039 kline_with_reason = yes;
1040
1041 /*
1042 * kline_reason: show this message to users on channel
1043 * instead of the oper reason.
1044 */
1045 kline_reason = "Connection closed";
1046
1047 /*
1048 * reject_hold_time: wait this amount of time before disconnecting
1049 * a rejected client. Use 0 to disable.
1050 */
1051 reject_hold_time = 30 seconds;
1052
1053 /*
1054 * warn_no_nline: warn opers about servers that try to connect but
1055 * we don't have a connect {} block for. Twits with misconfigured
1056 * servers can get really annoying with this enabled.
1057 */
1058 warn_no_nline = yes;
1059
1060 /*
1061 * stats_e_disabled: set this to 'yes' to disable "STATS e" for both
1062 * operators and administrators. Doing so is a good idea in case
1063 * there are any exempted (exempt{}) server IPs you don't want to
1064 * see leaked.
1065 */
1066 stats_e_disabled = no;
1067
1068 /* stats_o_oper only: make stats o (opers) oper only */
1069 stats_o_oper_only = yes;
1070
1071 /* stats_P_oper_only: make stats P (ports) oper only */
1072 stats_P_oper_only = yes;
1073
1074 /*
1075 * stats i oper only: make stats i (auth {}) oper only. set to:
1076 * yes: show users no auth blocks, made oper only.
1077 * masked: show users first matching auth block
1078 * no: show users all auth blocks.
1079 */
1080 stats_i_oper_only = yes;
1081
1082 /*
1083 * stats_k_oper_only: make stats k/K (klines) oper only. set to:
1084 * yes: show users no auth blocks, made oper only
1085 * masked: show users first matching auth block
1086 * no: show users all auth blocks.
1087 */
1088 stats_k_oper_only = yes;
1089
1090 /*
1091 * caller_id_wait: time between notifying a +g user that somebody
1092 * is messaging them.
1093 */
1094 caller_id_wait = 1 minute;
1095
1096 /*
1097 * opers_bypass_callerid: allows operators to bypass +g and message
1098 * anyone who has it set (useful if you use services).
1099 */
1100 opers_bypass_callerid = no;
1101
1102 /*
1103 * pace_wait_simple: time between use of less intensive commands
1104 * (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS)
1105 */
1106 pace_wait_simple = 1 second;
1107
1108 /*
1109 * pace_wait: time between more intensive commands
1110 * (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS)
1111 */
1112 pace_wait = 10 seconds;
1113
1114 /*
1115 * short_motd: send clients a notice telling them to read the motd
1116 * instead of forcing a motd to clients who may simply ignore it.
1117 */
1118 short_motd = no;
1119
1120 /*
1121 * ping_cookie: require clients to respond exactly to a ping command,
1122 * can help block certain types of drones and FTP PASV mode spoofing.
1123 */
1124 ping_cookie = no;
1125
1126 /* no_oper_flood: increase flood limits for opers. */
1127 no_oper_flood = yes;
1128
1129 /*
1130 * true_no_oper_flood: completely eliminate flood limits for opers
1131 * and for clients with can_flood = yes in their auth {} blocks
1132 */
1133 true_no_oper_flood = yes;
1134
1135 /* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */
1136 oper_pass_resv = yes;
1137
1138 /* REMOVE ME. The following line checks you've been reading. */
1139 havent_read_conf = 1;
1140
1141 /*
1142 * max_targets: the maximum amount of targets in a single
1143 * PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited.
1144 */
1145 max_targets = 4;
1146
1147 /*
1148 * message_locale: the default message locale
1149 * Use "standard" for the compiled in defaults.
1150 * To install the translated messages, go into messages/ in the
1151 * source directory and run `make install'.
1152 */
1153 message_locale = "standard";
1154
1155 /*
1156 * usermodes configurable: a list of usermodes for the options below
1157 *
1158 * +b - bots - See bot and drone flooding notices
1159 * +c - cconn - Client connection/quit notices
1160 * +C - cconn_full - Client connection/quit notices full
1161 * +D - deaf - Don't receive channel messages
1162 * +d - debug - See debugging notices
1163 * +f - full - See auth{} block full notices
1164 * +G - softcallerid - Server Side Ignore for users not on your channels
1165 * +g - callerid - Server Side Ignore (for privmsgs etc)
1166 * +H - hidden - Hides operator status to other users
1167 * +i - invisible - Not shown in NAMES or WHO unless you share a
1168 * a channel
1169 * +j - rej - See rejected client notices
1170 * +k - skill - See server generated KILL messages
1171 * +l - locops - See LOCOPS messages
1172 * +n - nchange - See client nick changes
1173 * +s - servnotice - See general server notices
1174 * +u - unauth - See unauthorized client notices
1175 * +w - wallop - See server generated WALLOPS
1176 * +x - external - See remote server connection and split notices
1177 * +y - spy - See LINKS, STATS, TRACE notices etc.
1178 * +z - operwall - See oper generated WALLOPS
1179 */
1180
1181 /* oper_only_umodes: usermodes only opers may set */
1182 oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill,
1183 nchange, rej, spy, external, operwall,
1184 locops, unauth;
1185
1186 /* oper_umodes: default usermodes opers get when they /oper */
1187 oper_umodes = bots, locops, servnotice, operwall, wallop;
1188
1189 /*
1190 * use_egd: if your system does not have *random devices yet you
1191 * want to use OpenSSL and encrypted links, enable this. Beware -
1192 * EGD is *very* CPU intensive when gathering data for its pool
1193 */
1194 # use_egd = yes;
1195
1196 /*
1197 * egdpool_path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1198 * which automatically finds the path.
1199 */
1200 # egdpool_path = "/var/run/egd-pool";
1201
1202 /*
1203 * throttle_time: the minimum amount of time between connections from
1204 * the same ip. exempt {} blocks are excluded from this throttling.
1205 * Offers protection against flooders who reconnect quickly.
1206 * Set to 0 to disable.
1207 */
1208 throttle_time = 0;
1209 };
1210
1211 modules {
1212 /*
1213 * path: other paths to search for modules specified below
1214 * and in "/module load".
1215 */
1216 path = "/usr/local/ircd/lib/ircd-hybrid/modules";
1217 path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
1218
1219 /* module: the name of a module to load on startup/rehash */
1220 #module = "some_module.la";
1221 };
1222
1223 /*
1224 * log {}: contains information about logfiles.
1225 */
1226 log {
1227 /* Do you want to enable logging to ircd.log? */
1228 use_logging = yes;
1229
1230 file {
1231 type = oper;
1232 name = "/home/ircd/var/log/oper.log";
1233 size = unlimited;
1234 };
1235
1236 file {
1237 type = user;
1238 name = "/home/ircd/var/log/user.log";
1239 size = 50 megabytes;
1240 };
1241
1242 file {
1243 type = kill;
1244 name = "/home/ircd/var/log/kill.log";
1245 size = 50 megabytes;
1246 };
1247
1248 file {
1249 type = kline;
1250 name = "/home/ircd/var/log/kline.log";
1251 size = 50 megabytes;
1252 };
1253
1254 file {
1255 type = dline;
1256 name = "/home/ircd/var/log/dline.log";
1257 size = 50 megabytes;
1258 };
1259
1260 file {
1261 type = gline;
1262 name = "/home/ircd/var/log/gline.log";
1263 size = 50 megabytes;
1264 };
1265
1266 file {
1267 type = debug;
1268 name = "/home/ircd/var/log/debug.log";
1269 size = 50 megabytes;
1270 };
1271 };

Properties

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