/[svn]/ircd-hybrid-7.2/etc/example.efnet.conf
ViewVC logotype

Contents of /ircd-hybrid-7.2/etc/example.efnet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 853 - (show annotations)
Thu Feb 22 06:01:30 2007 UTC (14 years ago) by db
File size: 38535 byte(s)
- fix typo in ircd_parser.y regenerate y.tab.c and lex.yy.c
- fix order shown in CLIEXIT
- remove mode parsing in ms_join
- reflect addiction cconn_full flag


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

Properties

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

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28