ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/etc/example.efnet.conf
Revision: 331
Committed: Sun Dec 25 11:03:27 2005 UTC (20 years, 7 months ago) by michael
File size: 37293 byte(s)
Log Message:
- Updated example confs to reflect topicburst config option

File Contents

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

Properties

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