ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/doc/example.efnet.conf
Revision: 1460
Committed: Fri Jul 6 14:32:53 2012 UTC (14 years ago) by michael
File size: 36936 byte(s)
Log Message:
- Added 'set' to operator privilege flags. Gives access to the "SET" command

File Contents

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

Properties

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