ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.2/etc/example.efnet.conf
Revision: 33
Committed: Sun Oct 2 20:50:00 2005 UTC (18 years, 5 months ago) by knight
Original Path: ircd-hybrid/etc/example.efnet.conf
File size: 35605 byte(s)
Log Message:
- svn:keywords

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

Properties

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