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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 632 - (show annotations)
Thu Jun 1 10:53:00 2006 UTC (13 years, 4 months ago) by michael
File size: 35986 byte(s)
- Added channel::disable_fake_channels which disallows creation of channels
  that have ascii 2, 3, 31 and 160 in their names.
- Minor improvements and cleanups to channel name validation routines
  backported from 7.3

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

Properties

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

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