/[svn]/ircd-hybrid-8/doc/example.efnet.conf
ViewVC logotype

Contents of /ircd-hybrid-8/doc/example.efnet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1310 - (show annotations)
Mon Mar 26 15:45:02 2012 UTC (10 years, 3 months ago) by michael
File size: 36985 byte(s)
- move example configuration files to doc/ folder

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

Properties

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

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