1 /* doc/reference.conf - charybdis Example configuration file
3 * Copyright (C) 2000-2002 Hybrid Development Team
4 * Copyright (C) 2002-2005 ircd-ratbox development team
5 * Copyright (C) 2005-2006 charybdis development team
7 * Written by ejb, wcampbel, db, leeh and others
9 * $Id: reference.conf 3582 2007-11-17 21:55:48Z jilles $
14 * class {} blocks MUST be specified before anything that uses them. That
15 * means they must be defined before auth {} and before connect {}.
17 * auth {} blocks MUST be specified in order of precedence. The first one
18 * that matches a user will be used. So place spoofs first, then specials,
19 * then general access, then restricted.
21 * Both shell style (#) and C style comments are supported.
23 * Files may be included by either:
27 * Times/durations are written as:
28 * 12 hours 30 minutes 1 second
30 * Valid units of time:
31 * month, week, day, hour, minute, second
33 * Valid units of size:
34 * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
36 * Sizes and times may be singular or plural.
41 * Charybdis contains several extensions that are not enabled by default.
42 * To use them, uncomment the lines below.
44 * Channel mode +-A (admin only) -- chm_adminonly.so
45 * Channel mode +-O (oper only) -- chm_operonly.so
46 * Channel mode +-S (ssl only) -- chm_sslonly.so
47 * Emulates channel mode +-O (oper only) (+-iI $o) -- chm_operonly_compat.so
48 * Emulates channel mode +-R (quiet unreg) (+-q $~a) -- chm_quietunreg_compat.so
49 * Emulates channel mode +-S (ssl only) (+-b $~z) -- chm_sslonly_compat.so
50 * Restrict channel creation to logged in users -- createauthonly.so
51 * Account bans (+b $a[:mask]) -- extb_account.so
52 * Banned from another channel (+b $j:mask) -- extb_canjoin.so
53 * Other-channel bans (+b $c:mask) -- extb_channel.so
54 * Extended ban (+b $x:mask) -- extb_extgecos.so
55 * Oper bans (+b $o) -- extb_oper.so
56 * Realname (gecos) bans (+b $r:mask) -- extb_realname.so
57 * Server bans (+b $s:mask) -- extb_server.so
58 * SSL bans (+b $z) -- extb_ssl.so
59 * HURT system -- hurt.so
60 * Host mangling (umode +h) -- ip_cloaking.so
61 * Find channel forwards -- m_findforwards.so
62 * /identify support -- m_identify.so
63 * Opers cannot be invisible (umode +i) -- no_oper_invis.so
64 * Far connection notices (snomask +F) -- sno_farconnect.so
65 * Remote k/d/x line active notices -- sno_globalkline.so
66 * Remote oper up notices -- sno_globaloper.so
67 * /whois notifications (snomask +W) -- sno_whois.so
69 #loadmodule "extensions/chm_adminonly.so";
70 #loadmodule "extensions/chm_operonly.so";
71 #loadmodule "extensions/chm_sslonly.so";
72 #loadmodule "extensions/chm_operonly_compat.so";
73 #loadmodule "extensions/chm_quietunreg_compat.so";
74 #loadmodule "extensions/chm_sslonly_compat.so";
75 #loadmodule "extensions/createauthonly.so";
76 #loadmodule "extensions/extb_account.so";
77 #loadmodule "extensions/extb_canjoin.so";
78 #loadmodule "extensions/extb_channel.so";
79 #loadmodule "extensions/extb_extgecos.so";
80 #loadmodule "extensions/extb_oper.so";
81 #loadmodule "extensions/extb_realname.so";
82 #loadmodule "extensions/extb_server.so";
83 #loadmodule "extensions/extb_ssl.so";
84 #loadmodule "extensions/hurt.so";
85 #loadmodule "extensions/ip_cloaking.so";
86 #loadmodule "extensions/m_findforwards.so";
87 #loadmodule "extensions/m_identify.so";
88 #loadmodule "extensions/no_oper_invis.so";
89 #loadmodule "extensions/sno_farconnect.so";
90 #loadmodule "extensions/sno_globalkline.so";
91 #loadmodule "extensions/sno_globaloper.so";
92 #loadmodule "extensions/sno_whois.so";
94 /* serverinfo {}: Contains information about the server. (OLD M:) */
96 /* name: the name of our server */
99 /* sid: the unique server id of our server. This must be three
100 * characters long. The first character must be a digit [0-9], the
101 * remaining two chars may be letters [A-Z] or digits [0-9].
103 * This parameter must be specified for the server to start.
107 /* description: the description of our server. '[' and ']' may not
108 * be used here for compatibility with older servers.
110 description = "charybdis test server";
112 /* network info: the name and description of the network this server
113 * is on. Shown in the 005 reply and used with serverhiding.
115 network_name = "MyNet";
116 network_desc = "This is My Network";
118 /* hub: allow this server to act as a hub and have multiple servers
123 /* vhost: the IP to bind to when we connect outward to ipv4 servers.
124 * This should be an ipv4 IP only.
126 #vhost = "192.169.0.1";
128 /* vhost6: the IP to bind to when we connect outward to ipv6 servers.
129 * This should be an ipv6 IP only.
131 #vhost6 = "3ffe:80e8:546::2";
133 /* ssl_private_key: our ssl private key */
134 ssl_private_key = "etc/test.key";
136 /* ssl_cert: certificate for our ssl server */
137 ssl_cert = "etc/test.cert";
139 /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
140 ssl_dh_params = "etc/dh.pem";
142 /* ssld_count: number of ssld processes you want to start, if you have a really busy
143 * server, using N-1 where N is the number of cpu/cpu cores you have might be useful
147 /* default max clients: the default maximum number of clients
148 * allowed to connect. This can be changed once ircd has started by
150 * /quote set maxclients <limit>
152 default_max_clients = 1024;
155 /* admin {}: contains admin information about the server. (OLD A:) */
157 name = "Smurf target";
158 description = "Main Server Administrator";
159 email = "<syn@packets.r.us>";
162 /* log {}: contains information about logfiles. */
164 /* logfiles: the logfiles to use for specific activity. if these
165 * paths are defined, then ircd will log to them, otherwise it wont.
167 * The confs are, in order:
168 * - userlog: user exits
169 * - fuserlog: failed user connections
170 * - operlog: /oper usage
171 * - foperlog: failed /oper usage
172 * - serverlog: server connects/disconnects
173 * - klinelog: klines, etc
175 * - operspylog: operspy usage
176 * - ioerrorlog: IO errors
178 fname_userlog = "logs/userlog";
179 #fname_fuserlog = "logs/fuserlog";
180 fname_operlog = "logs/operlog";
181 #fname_foperlog = "logs/foperlog";
182 fname_serverlog = "logs/serverlog";
183 #fname_klinelog = "logs/klinelog";
184 fname_killlog = "logs/killlog";
185 fname_operspylog = "logs/operspylog";
186 #fname_ioerrorlog = "logs/ioerror";
189 /* class {}: contain information about classes for users (OLD Y:) */
191 /* class name must go above */
193 /* ping time: how often a client must reply to a PING from the
194 * server before they are dropped.
196 ping_time = 2 minutes;
198 /* number per ident: the number of users per user@host networkwide
199 * allowed to connect. Unidented connections are classified as
202 number_per_ident = 2;
204 /* number per ip: the number of local users per host allowed */
207 /* number per ip global: the number of network wide connections
208 * per host allowed for a user, including connections to the
211 number_per_ip_global = 5;
213 /* cidr_bitlen: Limits numbers of connections from a subnet size
214 * the following example makes the subnet /64 this is useful
215 * for IPv6 connections in particular
216 * Also note that the way charybdis is written if you have
217 * compiled support for IPv6, IPv4 cidr bitlens need to be modified
218 * Basically to get the approriate length add 96 to the IPv4 length
219 * For example for a /24 do 96+24 = 120
224 /* number_per_cidr: Number of connections to allow from a subnet of the
225 * size given in cidr_bitlen. 4 seems to be a good default to me.
229 /* max number: the maximum number of users allowed in this class */
232 /* sendq: the amount of data allowed in a clients queue before
239 ping_time = 1 minute 30 seconds;
246 ping_time = 5 minutes;
253 ping_time = 5 minutes;
255 /* connectfreq: only used in server classes. specifies the delay
256 * between autoconnecting to servers.
258 connectfreq = 5 minutes;
260 /* max number: the amount of servers to autoconnect to */
263 /* sendq: servers need a higher sendq as they are sent more data */
267 /* listen {}: contain information about the ports ircd listens on (OLD P:) */
269 /* port: the specific port to listen on. if no host is specified
270 * before, it will listen on all available IPs.
272 * sslport: the specific port to listen ssl connections on. if no
273 * host is specified before, it will listen on all available IPs.
275 * ports are seperated via a comma, a range may be specified using ".."
278 /* port: listen on all available IPs, ports 5000 and 6665 to 6669 */
279 port = 5000, 6665 .. 6669;
281 /* sslport: listen for ssl connections on all available IPs, port 9999 */
284 /* host: set a specific IP/host the ports after the line will listen
285 * on. This may be ipv4 or ipv6.
289 sslport = 9000, 9001;
291 host = "3ffe:1234:a:b:c::d";
296 /* auth {}: allow users to connect to the ircd (OLD I:) */
298 /* user: the user@host allowed to connect. Multiple IPv4/IPv6 user
299 * lines are permitted per auth block. This is matched against the
300 * hostname and IP address (using :: shortening for IPv6 and
301 * prepending a 0 if it starts with a colon) and can also use CIDR
304 user = "*@172.16.0.0/12";
305 user = "*test@123D:B567:*";
307 /* password: an optional password that is required to use this block.
308 * By default this is not encrypted, specify the flag "encrypted" in
309 * flags = ...; below if it is.
311 password = "letmein";
313 /* spoof: fake the users user@host to be be this. You may either
314 * specify a host or a user@host to spoof to. This is free-form,
315 * just do everyone a favour and dont abuse it. (OLD I: = flag)
317 spoof = "I.still.hate.packets";
319 /* Possible flags in auth:
321 * encrypted | password is encrypted with mkpasswd
322 * spoof_notice | give a notice when spoofing hosts
323 * exceed_limit (old > flag) | allow user to exceed class user limits
324 * kline_exempt (old ^ flag) | exempt this user from k/g/xlines&dnsbls
325 * dnsbl_exempt | exempt this user from dnsbls
326 * spambot_exempt | exempt this user from spambot checks
327 * shide_exempt | exempt this user from serverhiding
328 * jupe_exempt | exempt this user from generating
329 * warnings joining juped channels
330 * resv_exempt | exempt this user from resvs
331 * flood_exempt | exempt this user from flood limits
333 * no_tilde (old - flag) | don't prefix ~ to username if no ident
334 * need_ident (old + flag) | require ident for user in this class
335 * need_ssl | require SSL/TLS for user in this class
336 * need_sasl | require SASL id for user in this class
338 flags = kline_exempt, exceed_limit;
340 /* class: the class the user is placed in */
345 /* redirect: the server and port to redirect a user to. A user does
346 * not have to obey the redirection, the ircd just suggests to them
347 * an alternative server.
349 redirserv = "irc.some.domain";
352 user = "*.some.domain";
354 /* class: a class is required even though it is not used */
365 /* operator {}: defines ircd operators. (OLD O:)
366 * charybdis no longer supports local operators, privileges are
367 * controlled via flags.
370 /* name: the name of the oper must go above */
372 /* user: the user@host required for this operator. CIDR *is*
373 * supported now. auth{} spoofs work here, other spoofs do not.
374 * multiple user="" lines are supported.
377 user = "*@127.0.0.1";
379 /* password: the password required to oper. Unless ~encrypted is
380 * contained in flags = ...; this will need to be encrypted using
381 * mkpasswd, MD5 is supported
383 password = "etcnjl8juSU1E";
385 /* rsa key: the public key for this oper when using Challenge.
386 * A password should not be defined when this is used, see
387 * doc/challenge.txt for more information.
389 #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
391 /* umodes: the specific umodes this oper gets when they oper.
392 * If this is specified an oper will not be given oper_umodes
393 * These are described above oper_only_umodes in general {};
395 #umodes = locops, servnotice, operwall, wallop;
397 /* snomask: specific server notice mask on oper up.
398 * If this is specified an oper will not be given oper_snomask.
400 snomask = "+Zbfkrsuy";
402 /* privileges: controls the activities and commands an oper is
403 * allowed to do on the server. You may prefix an option with ~ to
404 * disable it, ie ~operwall
406 * Default flags are operwall, remoteban and encrypted.
410 * encrypted: the password above is encrypted [DEFAULT]
411 * need_ssl: must be using SSL/TLS to oper up
413 flags = global_kill, remote, kline, unkline,
414 die, rehash, admin, xline, operwall;
417 /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
418 connect "irc.uplink.com" {
419 /* the name must go above */
421 /* host: the host or IP to connect to. If a hostname is used it
422 * must match the reverse dns of the server.
424 host = "192.168.0.1";
426 /* vhost: the host or IP to bind to for this connection. If this
427 * is not specified, the default vhost (in serverinfo {}) is used.
429 #vhost = "192.168.0.50";
431 /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
432 * The remote server will have these passwords reversed.
434 send_password = "password";
435 accept_password = "anotherpassword";
437 /* port: the port to connect to this server on */
440 /* hub mask: the mask of servers that this server may hub. Multiple
441 * entries are permitted
445 /* leaf mask: the mask of servers this server may not hub. Multiple
446 * entries are permitted. Useful for forbidding EU -> US -> EU routes.
450 /* class: the class this server is in */
453 /* flags: controls special options for this server
454 * encrypted - marks the accept_password as being crypt()'d
455 * autoconn - automatically connect to this server
456 * compressed - compress traffic via ziplinks
457 * topicburst - burst topics between servers
458 * ssl - ssl/tls encrypted server connections
460 flags = compressed, topicburst;
463 connect "ipv6.some.server" {
464 /* Hosts that are IPv6 addresses must be in :: shortened form
465 * if applicable. Addresses starting with a colon get an extra
466 * zero prepended, for example: 0::1
468 host = "3ffd:dead:beef::1";
469 send_password = "password";
470 accept_password = "password";
473 /* aftype: controls whether the connection uses "ipv4" or "ipv6".
480 connect "ssl.uplink.com" {
481 /* Example of ssl server-to-server connection, ssl flag doesn't need
482 * compressed flag, 'cause it uses own compression
484 host = "192.168.0.1";
485 send_password = "password";
486 accept_password = "anotherpassword";
490 flags = ssl, topicburst;
493 /* cluster {}; servers that we propagate things to automatically.
494 * NOTE: This does NOT grant them privileges to apply anything locally,
495 * you must add a seperate shared block for that. Clustering will
496 * only be done for actions by LOCAL opers, that arent directed
500 /* name: the server to share with, this can be a wildcard and may be
503 /* flags: list of what to share, all the name lines above this (up
504 * until another flags entry) will receive these flags.
506 * kline - share perm klines
507 * tkline - share temp klines
508 * unkline - share unklines
509 * locops - share locops
510 * xline - share perm xlines
511 * txline - share temp xlines
512 * unxline - share unxlines
513 * resv - share perm resvs
514 * tresv - share temp resvs
515 * unresv - share unresvs
516 * all - share all of the above
519 /* share klines/unklines/xlines with *.lan */
521 flags = kline, unkline, xline;
523 /* share locops with irc.ircd-ratbox.org and ircd.ircd-ratbox.org */
524 name = "irc.ircd-ratbox.org";
525 name = "ircd.ircd-ratbox.org";
529 /* service{}: privileged servers (services). These servers have extra
530 * privileges such as setting login names on users and introducing clients
531 * with umode +S (unkickable, hide channels, etc). This does not allow them
532 * to set bans, you need a separate shared{} for that.
533 * Do not place normal servers here.
534 * There may be only one service{} block.
537 /* name: the server name. These may be stacked. */
538 name = "services.int";
541 /* shared {}: users that are allowed to place remote bans on our server.
542 * NOTE: These are ordered top down. The first one the user@host and server
543 * matches will be used. Their access will then be decided on that
544 * block and will not fall back to another block that matches.
547 /* oper: the user@host and server the user must be on to set klines.
548 * The first field must be a user@host, the second field is an
549 * optional server. These may be stacked.
551 /* flags: list of what to allow them to place, all the oper lines
552 * above this (up until another flags entry) will receive these
553 * flags. This *must* be present.
555 * kline - allow setting perm/temp klines
556 * tkline - allow setting temp klines
557 * unkline - allow removing klines
558 * xline - allow setting perm/temp xlines
559 * txline - allow setting temp xlines
560 * unxline - allow removing xlines
561 * resv - allow setting perm/temp resvs
562 * tresv - allow setting temp resvs
563 * unresv - allow removing xlines
564 * all - allow oper/server to do all of above.
565 * locops - allow locops - only used for servers who cluster
566 * rehash - allow rehashing
567 * dline - allow setting perm/temp dlines
568 * tdline - allow setting temp dlines
569 * undline - allow removing dlines
570 * none - disallow everything
573 /* allow flame@*.leeh.co.uk on server irc.ircd-ratbox.org and
574 * allow leeh@*.leeh.co.uk on server ircd.ircd-ratbox.org to kline
576 oper = "flame@*.leeh.co.uk", "irc.ircd-ratbox.org";
577 oper = "leeh@*.leeh.co.uk", "ircd.ircd-ratbox.org";
580 /* you may forbid certain opers/servers from doing anything */
581 oper = "irc@vanity.oper", "*";
582 oper = "*@*", "irc.vanity.server";
583 oper = "irc@another.vanity.oper", "bigger.vanity.server";
586 /* or allow everyone to place temp klines */
591 /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
593 ip = "192.168.0.0/16";
595 /* these may be stacked */
600 /* The channel block contains options pertaining to channels */
602 /* invex: Enable/disable channel mode +I, a n!u@h list of masks
603 * that can join a +i channel without an invite.
607 /* except: Enable/disable channel mode +e, a n!u@h list of masks
608 * that can join a channel through a ban (+b).
612 /* forward: Enable/disable channel mode +f, a channel to forward
613 * users to if they can't join because of +i etc.
617 /* knock: Allows users to request an invite to a channel that
618 * is locked somehow (+ikl). If the channel is +p or you are banned
619 * the knock will not be sent.
623 /* knock delay: The amount of time a user must wait between issuing
626 knock_delay = 5 minutes;
628 /* knock channel delay: How often a knock to any specific channel
629 * is permitted, regardless of the user sending the knock.
631 knock_delay_channel = 1 minute;
633 /* max chans: The maximum number of channels a user can join/be on. */
634 max_chans_per_user = 15;
636 /* max bans: maximum number of +b/e/I/q modes in a channel */
639 /* max bans: maximum number of +b/e/I/q modes in a +L channel */
640 max_bans_large = 500;
642 /* splitcode: split users, split servers and either no join on split
643 * or no create on split must be enabled for split checking.
644 * splitmode will be entered on either split users or split servers
645 * dropping below the limit.
647 * you may force splitmode to be permanent by /quote set splitmode on
650 /* split users: when the usercount is lower than this level, consider
651 * ourselves split. this must be set for automatic splitmode
653 default_split_user_count = 0;
655 /* split servers: when the amount of servers that have acknowledged
656 * theyve finished bursting is lower than this, consider ourselves
657 * split. this must be set for automatic splitmode
659 default_split_server_count = 0;
661 /* split: no create: disallow users creating channels on split */
662 no_create_on_split = no;
664 /* split: no join: disallow users joining channels at all on a split */
665 no_join_on_split = no;
667 /* burst topicwho: when bursting topics, also burst the topic setter */
668 burst_topicwho = yes;
670 /* kick on split riding: kick users riding splits to join +i or +k
671 * channels. more precisely, if a bursting server sends an SJOIN
672 * for a channel with a lower TS with either a +i mode or a +k
673 * mode with a different key, kick all local users.
675 * note: this does not take +r, +b, +e and +I into account.
677 * warning: if there are any TS5 servers on the network, this
678 * will cause ban desyncs if they send such an SJOIN and the
679 * splitriders added any bans (our side will lose them, the TS5
680 * side will accept them). we will send a notice to the channel
681 * if this happens. most services do not send such SJOINs but
682 * ratbox-services does.
684 kick_on_split_riding = no;
688 /* The serverhide block contains the options regarding serverhiding */
690 /* flatten links: this option will hide various routing information
691 * and make all servers in /links appear that they are linked to
696 /* links delay: how long to wait before showing splits or new
697 * servers in a flattened /links output.
699 links_delay = 5 minutes;
701 /* hidden: hide this server from a /links output on servers with
702 * flatten_links enabled. this allows hub servers to be hidden etc.
706 /* disable hidden: prevent servers hiding themselves from a
712 /* These are the blacklist settings.
713 * You can have multiple combinations of host and rejection reasons.
714 * They are used in pairs of one host/rejection reason, or multiple hosts/rejection reason.
716 * These settings should be adequate for most networks, and are (presently)
717 * required for use on AthemeNet.
719 * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
722 * As of charybdis 2.2, you can do some keyword substitution on the rejection
723 * reason. The available keyword substitutions are:
725 * ${ip} - the user's IP
726 * ${host} - the user's canonical hostname
727 * ${dnsbl-host} - the dnsbl hostname the lookup was done against
728 * ${nick} - the user's nickname
729 * ${network-name} - the name of the network
731 * Note: AHBL (the providers of the below *.ahbl.org BLs) request that they be
732 * contacted, via email, at admins@2mbit.com before using these BLs.
733 * See <http://www.ahbl.org/services.php> for more information.
736 host = "dnsbl.dronebl.org";
737 reject_reason = "${nick}, your IP (${ip}) is listed in DroneBL. For assistance, see http://dronebl.org/lookup_branded.do?ip=${ip}&network=${network-name}";
739 # host = "ircbl.ahbl.org";
740 # reject_reason = "${nick}, your IP (${ip}) is listed in ${dnsbl-host} for having an open proxy. In order to protect ${network-name} from abuse, we are not allowing connections with open proxies to connect.";
742 # host = "tor.ahbl.org";
743 # reject_reason = "${nick}, your IP (${ip}) is listed as a TOR exit node. In order to protect ${network-name} from tor-based abuse, we are not allowing TOR exit nodes to connect to our network.";
747 * Alias blocks allow you to define custom commands. (Old m_sshortcut.c)
748 * They send PRIVMSG to the given target. A real command takes
749 * precedence above an alias.
752 /* the name must go above */
754 /* target: the target nick (must be a network service) or
755 * user@server (cannot be this server, only opers can use
756 * user starting with "opers" reliably, interpreted on the target
757 * server only so you may need to use nick@server instead)
790 /* The general block contains many of the options that were once compiled
791 * in options in config.h. The general block is read at start time.
794 /* hide error messages: defines whether error messages from
795 * servers that are not deemed fully safe are hidden or not.
796 * These can sometimes contain IPs and can have an adverse
797 * effect on server ip hiding. Set to:
798 * yes: hide from opers and admin
799 * opers: hide from opers only
800 * no: do not hide error messages
801 * Admins on other servers count as opers.
803 hide_error_messages = opers;
805 /* hide spoof ips: hide the real ips of auth{} spoofed users
806 * If disabled, local opers can see them.
807 * Dynamic spoofs (e.g. set by services) are unaffected by this;
808 * any oper (local and remote) can see the real ip.
809 * Warning: for whowas, this is checked when the client exits,
810 * not when the IP is shown.
812 hide_spoof_ips = yes;
814 /* default umodes: umodes to set upon connection
815 * If you have enabled the ip_cloaking extension, and you wish for
816 * incoming clients to be set +h upon connection, add +h to the umode
819 default_umodes = "+i";
821 /* default operstring: defines the default oper response
822 * in /whois queries, eg "is an IRC Operator".
823 * After startup use /quote set operstring to change.
825 default_operstring = "is an IRC Operator";
827 /* default adminstring: defines the default admin response
828 * in /whois queries, eg "is a Server Administrator".
829 * After startup use /quote set adminstring to change.
831 default_adminstring = "is a Server Administrator";
833 /* servicestring: defines the response for opered services (+S)
834 * in /whois queries, eg "is a Network Service".
835 * This is updated on rehash.
837 servicestring = "is a Network Service";
839 /* disable fake channels: disable local users joining fake versions
840 * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse,
841 * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively).
843 disable_fake_channels = no;
845 /* tkline_expire_notices: give a notice to opers when a tkline
848 tkline_expire_notices = no;
850 /* floodcount: the default value of floodcount that is configurable
851 * via /quote set floodcount. This is the amount of lines a user
852 * may send to any other user/channel in one second.
854 default_floodcount = 10;
856 /* failed oper notice: send a notice to all opers on the server when
857 * someone tries to OPER and uses the wrong password, host or ident.
859 failed_oper_notice = yes;
861 /* dots in ident: the amount of '.' characters permitted in an ident
862 * reply before the user is rejected.
866 /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
867 * placed via the server. klines hand placed are exempt from limits.
868 * wildcard chars: '.' '*' '?' '@'
872 /* min nonwildcard simple: the minimum non wildcard characters in
873 * xlines/resvs placed via the server.
874 * wildcard chars: '*' '?'
876 min_nonwildcard_simple = 3;
878 /* max accept: maximum allowed /accept's for +g usermode */
881 /* max monitor: the maximum amount of nicknames a client may have in
882 * their monitor (server-side notify) list.
886 /* nick flood: enable the nickflood control code */
887 anti_nick_flood = yes;
889 /* nick flood: the nick changes allowed in the specified period */
890 max_nick_time = 20 seconds;
891 max_nick_changes = 5;
893 /* anti spam time: the minimum time a user must be connected before
894 * custom quit messages are allowed.
896 anti_spam_exit_message_time = 5 minutes;
898 /* ts delta: the time delta allowed between server clocks before
899 * a warning is given, or before the link is dropped. all servers
900 * should run ntpdate/rdate to keep clocks in sync
902 ts_warn_delta = 30 seconds;
903 ts_max_delta = 5 minutes;
905 /* client exit: prepend a users quit message with "Client exit: " */
908 /* collision fnc: change user's nick to their UID instead of
909 * killing them, if possible. This setting only applies to nick
910 * collisions detected on this server. Only enable this if
911 * all servers on the network allow remote nicks to start with
916 /* global snotices: send out certain snotices (most +b, +f, +y,
917 * some +s) to other servers via ENCAP SNOTE. Received SNOTEs are
918 * displayed unconditionally.
920 global_snotices = yes;
922 /* dline reason: show the user the dline reason when they connect
925 dline_with_reason = yes;
927 /* kline delay: delay the checking of klines until a specified time.
928 * Useful if large kline lists are applied often to prevent the
931 kline_delay = 0 seconds;
933 /* kline reason: show the user the reason why they are k/dlined
934 * on exit. may give away who set k/dline when set via tcm.
936 kline_with_reason = yes;
938 /* kline reason: make the users quit message on channels this
939 * reason instead of the oper's reason.
941 kline_reason = "Connection closed";
943 /* identify to services via server password
944 * if auth{} block had no password but the user specified a
945 * server password anyway, send a PRIVMSG to <identify_service>
946 * with as text <identify_command> <password>.
948 identify_service = "NickServ@services.int";
949 identify_command = "IDENTIFY";
951 /* non redundant klines: flag and ignore redundant klines */
952 non_redundant_klines = yes;
954 /* warn no nline: warn opers about servers that try to connect but
955 * we dont have a connect {} block for. Twits with misconfigured
956 * servers can get really annoying with this enabled.
960 /* stats e disabled: disable stats e. useful if server ips are
961 * exempted and you dont want them listing on irc.
963 stats_e_disabled = no;
965 /* stats c oper only: make stats c (connect {}) oper only */
966 stats_c_oper_only=no;
968 /* stats h oper only: make stats h (hub_mask/leaf_mask) oper only */
969 stats_h_oper_only=no;
971 /* stats y oper only: make stats y (class {}) oper only */
972 stats_y_oper_only=no;
974 /* stats o oper only: make stats o (opers) oper only */
975 stats_o_oper_only=yes;
977 /* stats P oper only: make stats P (ports) oper only
978 * NOTE: users doing stats P will never be given the ips that the
979 * server listens on, simply the ports.
981 stats_P_oper_only=no;
983 /* stats i oper only: make stats i (auth {}) oper only. set to:
984 * yes: show users no auth blocks, made oper only.
985 * masked: show users first matching auth block
986 * no: show users all auth blocks.
988 stats_i_oper_only=masked;
990 /* stats k/K oper only: make stats k/K (klines) oper only. set to:
991 * yes: show users no auth blocks, made oper only
992 * masked: show users first matching auth block
993 * no: show users all auth blocks.
995 stats_k_oper_only=masked;
997 /* map oper only: make /map oper only */
1000 /* operspy admin only: make operspy notices to +Z admin only */
1001 operspy_admin_only = no;
1003 /* operspy dont care user info: treat /who mask as if there was
1004 * an '!' always; do not log or server notice about operspy
1005 * /who mask, /masktrace and /scan. channel information is still
1007 operspy_dont_care_user_info = no;
1009 /* caller id wait: time between notifying a +g user that somebody
1010 * is messaging them.
1012 caller_id_wait = 1 minute;
1014 /* pace wait simple: time between use of less intensive commands
1015 * (HELP, remote WHOIS, WHOWAS)
1017 pace_wait_simple = 1 second;
1019 /* pace wait: time between more intensive commands
1020 * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
1022 pace_wait = 10 seconds;
1024 /* short motd: send clients a notice telling them to read the motd
1025 * instead of forcing a motd to clients who may simply ignore it.
1029 /* ping cookies: require clients to respond exactly to a ping command,
1030 * can help block certain types of drones and FTP PASV mode spoofing.
1034 /* connect timeout: sets how long we should wait for a connection
1035 * request to succeed
1037 connect_timeout = 30 seconds;
1039 /* disable auth: disables identd checking */
1042 /* no oper flood: increase flood limits for opers. */
1043 no_oper_flood = yes;
1045 /* REMOVE ME. The following line checks you've been reading. */
1046 havent_read_conf = yes;
1048 /* max targets: the maximum amount of targets in a single
1049 * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
1053 /* client flood: maximum number of lines in a clients queue before
1054 * they are dropped for flooding.
1058 /* use_whois_actually: send clients requesting a whois a numeric
1059 * giving the real IP of non-spoofed clients to prevent DNS abuse.
1061 use_whois_actually = yes;
1063 /* usermodes configurable: a list of usermodes for the options below
1065 * +g - callerid - Server Side Ignore
1066 * +D - deaf - Don't see channel messages
1067 * +i - invisible - Not shown in NAMES or WHO unless you share a
1069 * +l - locops - See LOCOPS messages
1070 * +Q - noforward - Unaffected by channel forwarding
1071 * +R - regonlymsg - No messages from unindentified
1072 * +s - servnotice - See server notices
1073 * +w - wallop - See oper and server generated WALLOPS
1074 * +z - operwall - See operwalls
1077 /* oper only umodes: usermodes only opers may set */
1078 oper_only_umodes = operwall, locops, servnotice;
1080 /* oper umodes: default usermodes opers get when they /oper */
1081 oper_umodes = locops, servnotice, operwall, wallop;
1083 /* oper snomask: default snomask opers get when they /oper,
1084 * provided they have umode +s set */
1085 oper_snomask = "+s";
1087 /* use egd: if your system does not have *random devices yet you
1088 * want to use OpenSSL and encrypted links, enable this. Beware -
1089 * EGD is *very* CPU intensive when gathering data for its pool
1093 /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1094 * which automatically finds the path.
1096 #egdpool_path = "/var/run/egd-pool";
1099 /* compression level: level of compression for compressed links between
1102 * values are between: 1 (least compression, fastest)
1103 * and: 9 (most compression, slowest).
1105 #compression_level = 6;
1107 /* burst_away: This enables bursting away messages to servers.
1108 * With this disabled, we will only propogate AWAY messages
1109 * as users send them, but never burst them. Be warned though
1110 * enabling this could increase the size of a burst significantly
1111 * for a large network, like EFnet.
1115 /* nick delay: This locks nicks of split clients for the given time
1116 * or until a remote client uses the nick. This significantly
1117 * reduces nick collisions on short splits but it can be annoying.
1118 * To make things as fair as possible, this should be the same on
1119 * all servers. If you enable this, the suggested value is 15 minutes.
1121 nick_delay = 0 seconds;
1123 /* reject time: the amount of rejections through klines/dlines etc
1124 * allowed in the given time before the rejection is cached and
1125 * a pseudo temp dline is placed
1127 reject_ban_time = 1 minute;
1128 reject_after_count = 3;
1130 /* reject duration: the amount of time to cache the rejection */
1131 reject_duration = 5 minutes;
1133 /* throttle_duration: Amount of time that throttling will be applied to an IP
1136 throttle_duration = 60;
1138 /* throttle_count: Number of connections within throttle_duration that it takes
1139 * for throttling to take effect */
1144 /* module path: paths to search for modules specified below and
1147 path = "/usr/local/ircd/modules";
1148 path = "/usr/local/ircd/modules/autoload";
1150 /* module: the name of a module to load on startup/rehash */
1151 #module = "some_module.so";