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 * Emulates channel mode +-O (oper only) (+-iI $o) -- chm_operonly_compat.so
45 * Emulates channel mode +-R (quiet unreg) (+-q $~a) -- chm_quietunreg_compat.so
46 * Emulates channel mode +-S (ssl only) (+-b $~z) -- chm_sslonly_compat.so
47 * Restrict channel creation to logged in users -- createauthonly.so
48 * Account bans (+b $a[:mask]) -- extb_account.so
49 * Banned from another channel (+b $j:mask) -- extb_canjoin.so
50 * Other-channel bans (+b $c:mask) -- extb_channel.so
51 * Extended ban (+b $x:mask) -- extb_extgecos.so
52 * Oper bans (+b $o) -- extb_oper.so
53 * Realname (gecos) bans (+b $r:mask) -- extb_realname.so
54 * Server bans (+b $s:mask) -- extb_server.so
55 * SSL bans (+b $z) -- extb_ssl.so
56 * HURT system -- hurt.so
57 * Host mangling (umode +h) -- ip_cloaking.so
58 * Find channel forwards -- m_findforwards.so
59 * /identify support -- m_identify.so
60 * Opers cannot be invisible (umode +i) -- no_oper_invis.so
61 * Far connection notices (snomask +F) -- sno_farconnect.so
62 * Remote k/d/x line active notices -- sno_globalkline.so
63 * Remote oper up notices -- sno_globaloper.so
64 * /whois notifications (snomask +W) -- sno_whois.so
66 #loadmodule "extensions/chm_operonly_compat.so";
67 #loadmodule "extensions/chm_quietunreg_compat.so";
68 #loadmodule "extensions/chm_sslonly_compat.so";
69 #loadmodule "extensions/createauthonly.so";
70 #loadmodule "extensions/extb_account.so";
71 #loadmodule "extensions/extb_canjoin.so";
72 #loadmodule "extensions/extb_channel.so";
73 #loadmodule "extensions/extb_extgecos.so";
74 #loadmodule "extensions/extb_oper.so";
75 #loadmodule "extensions/extb_realname.so";
76 #loadmodule "extensions/extb_server.so";
77 #loadmodule "extensions/extb_ssl.so";
78 #loadmodule "extensions/hurt.so";
79 #loadmodule "extensions/ip_cloaking.so";
80 #loadmodule "extensions/m_findforwards.so";
81 #loadmodule "extensions/m_identify.so";
82 #loadmodule "extensions/no_oper_invis.so";
83 #loadmodule "extensions/sno_farconnect.so";
84 #loadmodule "extensions/sno_globalkline.so";
85 #loadmodule "extensions/sno_globaloper.so";
86 #loadmodule "extensions/sno_whois.so";
88 /* serverinfo {}: Contains information about the server. (OLD M:) */
90 /* name: the name of our server */
93 /* sid: the unique server id of our server. This must be three
94 * characters long. The first character must be a digit [0-9], the
95 * remaining two chars may be letters [A-Z] or digits [0-9].
97 * This parameter must be specified for the server to start.
101 /* description: the description of our server. '[' and ']' may not
102 * be used here for compatibility with older servers.
104 description = "charybdis test server";
106 /* network info: the name and description of the network this server
107 * is on. Shown in the 005 reply and used with serverhiding.
109 network_name = "MyNet";
110 network_desc = "This is My Network";
112 /* hub: allow this server to act as a hub and have multiple servers
117 /* vhost: the IP to bind to when we connect outward to ipv4 servers.
118 * This should be an ipv4 IP only.
120 #vhost = "192.169.0.1";
122 /* vhost6: the IP to bind to when we connect outward to ipv6 servers.
123 * This should be an ipv6 IP only.
125 #vhost6 = "3ffe:80e8:546::2";
127 /* ssl_private_key: our ssl private key */
128 ssl_private_key = "etc/test.key";
130 /* ssl_cert: certificate for our ssl server */
131 ssl_cert = "etc/test.cert";
133 /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
134 ssl_dh_params = "etc/dh.pem";
136 /* ssld_count: number of ssld processes you want to start, if you have a really busy
137 * server, using N-1 where N is the number of cpu/cpu cores you have might be useful
141 /* default max clients: the default maximum number of clients
142 * allowed to connect. This can be changed once ircd has started by
144 * /quote set maxclients <limit>
146 default_max_clients = 1024;
149 /* admin {}: contains admin information about the server. (OLD A:) */
151 name = "Smurf target";
152 description = "Main Server Administrator";
153 email = "<syn@packets.r.us>";
156 /* log {}: contains information about logfiles. */
158 /* logfiles: the logfiles to use for specific activity. if these
159 * paths are defined, then ircd will log to them, otherwise it wont.
161 * The confs are, in order:
162 * - userlog: user exits
163 * - fuserlog: failed user connections
164 * - operlog: /oper usage
165 * - foperlog: failed /oper usage
166 * - serverlog: server connects/disconnects
167 * - klinelog: klines, etc
169 * - operspylog: operspy usage
170 * - ioerrorlog: IO errors
172 fname_userlog = "logs/userlog";
173 #fname_fuserlog = "logs/fuserlog";
174 fname_operlog = "logs/operlog";
175 #fname_foperlog = "logs/foperlog";
176 fname_serverlog = "logs/serverlog";
177 #fname_klinelog = "logs/klinelog";
178 fname_killlog = "logs/killlog";
179 fname_operspylog = "logs/operspylog";
180 #fname_ioerrorlog = "logs/ioerror";
183 /* class {}: contain information about classes for users (OLD Y:) */
185 /* class name must go above */
187 /* ping time: how often a client must reply to a PING from the
188 * server before they are dropped.
190 ping_time = 2 minutes;
192 /* number per ident: the number of users per user@host networkwide
193 * allowed to connect. Unidented connections are classified as
196 number_per_ident = 2;
198 /* number per ip: the number of local users per host allowed */
201 /* number per ip global: the number of network wide connections
202 * per host allowed for a user, including connections to the
205 number_per_ip_global = 5;
207 /* cidr_bitlen: Limits numbers of connections from a subnet size
208 * the following example makes the subnet /64 this is useful
209 * for IPv6 connections in particular
210 * Also note that the way charybdis is written if you have
211 * compiled support for IPv6, IPv4 cidr bitlens need to be modified
212 * Basically to get the approriate length add 96 to the IPv4 length
213 * For example for a /24 do 96+24 = 120
218 /* number_per_cidr: Number of connections to allow from a subnet of the
219 * size given in cidr_bitlen. 4 seems to be a good default to me.
223 /* max number: the maximum number of users allowed in this class */
226 /* sendq: the amount of data allowed in a clients queue before
233 ping_time = 1 minute 30 seconds;
240 ping_time = 5 minutes;
247 ping_time = 5 minutes;
249 /* connectfreq: only used in server classes. specifies the delay
250 * between autoconnecting to servers.
252 connectfreq = 5 minutes;
254 /* max number: the amount of servers to autoconnect to */
257 /* sendq: servers need a higher sendq as they are sent more data */
261 /* listen {}: contain information about the ports ircd listens on (OLD P:) */
263 /* port: the specific port to listen on. if no host is specified
264 * before, it will listen on all available IPs.
266 * sslport: the specific port to listen ssl connections on. if no
267 * host is specified before, it will listen on all available IPs.
269 * ports are seperated via a comma, a range may be specified using ".."
272 /* port: listen on all available IPs, ports 5000 and 6665 to 6669 */
273 port = 5000, 6665 .. 6669;
275 /* sslport: listen for ssl connections on all available IPs, port 9999 */
278 /* host: set a specific IP/host the ports after the line will listen
279 * on. This may be ipv4 or ipv6.
283 sslport = 9000, 9001;
285 host = "3ffe:1234:a:b:c::d";
290 /* auth {}: allow users to connect to the ircd (OLD I:) */
292 /* user: the user@host allowed to connect. Multiple IPv4/IPv6 user
293 * lines are permitted per auth block. This is matched against the
294 * hostname and IP address (using :: shortening for IPv6 and
295 * prepending a 0 if it starts with a colon) and can also use CIDR
298 user = "*@172.16.0.0/12";
299 user = "*test@123D:B567:*";
301 /* password: an optional password that is required to use this block.
302 * By default this is not encrypted, specify the flag "encrypted" in
303 * flags = ...; below if it is.
305 password = "letmein";
307 /* spoof: fake the users user@host to be be this. You may either
308 * specify a host or a user@host to spoof to. This is free-form,
309 * just do everyone a favour and dont abuse it. (OLD I: = flag)
311 spoof = "I.still.hate.packets";
313 /* Possible flags in auth:
315 * encrypted | password is encrypted with mkpasswd
316 * spoof_notice | give a notice when spoofing hosts
317 * exceed_limit (old > flag) | allow user to exceed class user limits
318 * kline_exempt (old ^ flag) | exempt this user from k/g/xlines&dnsbls
319 * dnsbl_exempt | exempt this user from dnsbls
320 * spambot_exempt | exempt this user from spambot checks
321 * shide_exempt | exempt this user from serverhiding
322 * jupe_exempt | exempt this user from generating
323 * warnings joining juped channels
324 * resv_exempt | exempt this user from resvs
325 * flood_exempt | exempt this user from flood limits
327 * no_tilde (old - flag) | don't prefix ~ to username if no ident
328 * need_ident (old + flag) | require ident for user in this class
329 * need_sasl | require SASL id for user in this class
331 flags = kline_exempt, exceed_limit;
333 /* class: the class the user is placed in */
338 /* redirect: the server and port to redirect a user to. A user does
339 * not have to obey the redirection, the ircd just suggests to them
340 * an alternative server.
342 redirserv = "irc.some.domain";
345 user = "*.some.domain";
347 /* class: a class is required even though it is not used */
358 /* operator {}: defines ircd operators. (OLD O:)
359 * charybdis no longer supports local operators, privileges are
360 * controlled via flags.
363 /* name: the name of the oper must go above */
365 /* user: the user@host required for this operator. CIDR *is*
366 * supported now. auth{} spoofs work here, other spoofs do not.
367 * multiple user="" lines are supported.
370 user = "*@127.0.0.1";
372 /* password: the password required to oper. Unless ~encrypted is
373 * contained in flags = ...; this will need to be encrypted using
374 * mkpasswd, MD5 is supported
376 password = "etcnjl8juSU1E";
378 /* rsa key: the public key for this oper when using Challenge.
379 * A password should not be defined when this is used, see
380 * doc/challenge.txt for more information.
382 #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
384 /* umodes: the specific umodes this oper gets when they oper.
385 * If this is specified an oper will not be given oper_umodes
386 * These are described above oper_only_umodes in general {};
388 #umodes = locops, servnotice, operwall, wallop;
390 /* snomask: specific server notice mask on oper up.
391 * If this is specified an oper will not be given oper_snomask.
393 snomask = "+Zbfkrsuy";
395 /* privileges: controls the activities and commands an oper is
396 * allowed to do on the server. You may prefix an option with ~ to
397 * disable it, ie ~operwall
399 * Default flags are operwall, remoteban and encrypted.
403 * encrypted: the password above is encrypted [DEFAULT]
404 * local_kill: allows local users to be /KILL'd
405 * global_kill: allows local and remote users to be
406 * /KILL'd (OLD 'O' flag)
407 * remote: allows remote SQUIT and CONNECT (OLD 'R' flag)
408 * kline: allows KLINE and DLINE (OLD 'K' flag)
409 * unkline: allows UNKLINE and UNDLINE (OLD 'U' flag)
410 * nick_changes: allows oper to see nickchanges (OLD 'N' flag)
412 * rehash: allows oper to REHASH config (OLD 'H' flag)
413 * die: allows DIE and RESTART (OLD 'D' flag)
414 * admin: gives admin privileges. admins
415 * may (un)load modules and see the
416 * real IPs of servers.
417 * hidden_admin: gives admin privileges except
418 * will not have the admin lines in
420 * xline: allows use of /quote xline/unxline
421 * resv: allows /quote resv/unresv and cmode +LP [DEFAULT]
422 * operwall: allows the oper to send/receive operwalls [DEFAULT]
423 * oper_spy: allows 'operspy' features to see through +s
424 * channels etc. see /quote help operspy
425 * hidden_oper: hides the oper from /stats p (OLD UMODE +p)
426 * remoteban: allows remote kline etc [DEFAULT]
427 * mass_notice: allows sending wallops and mass notices [DEFAULT]
429 flags = global_kill, remote, kline, unkline,
430 die, rehash, admin, xline, operwall;
433 /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
434 connect "irc.uplink.com" {
435 /* the name must go above */
437 /* host: the host or IP to connect to. If a hostname is used it
438 * must match the reverse dns of the server.
440 host = "192.168.0.1";
442 /* vhost: the host or IP to bind to for this connection. If this
443 * is not specified, the default vhost (in serverinfo {}) is used.
445 #vhost = "192.168.0.50";
447 /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
448 * The remote server will have these passwords reversed.
450 send_password = "password";
451 accept_password = "anotherpassword";
453 /* port: the port to connect to this server on */
456 /* hub mask: the mask of servers that this server may hub. Multiple
457 * entries are permitted
461 /* leaf mask: the mask of servers this server may not hub. Multiple
462 * entries are permitted. Useful for forbidding EU -> US -> EU routes.
466 /* class: the class this server is in */
469 /* flags: controls special options for this server
470 * encrypted - marks the accept_password as being crypt()'d
471 * autoconn - automatically connect to this server
472 * compressed - compress traffic via ziplinks
473 * topicburst - burst topics between servers
474 * ssl - ssl/tls encrypted server connections
476 flags = compressed, topicburst;
479 connect "ipv6.some.server" {
480 /* Hosts that are IPv6 addresses must be in :: shortened form
481 * if applicable. Addresses starting with a colon get an extra
482 * zero prepended, for example: 0::1
484 host = "3ffd:dead:beef::1";
485 send_password = "password";
486 accept_password = "password";
489 /* aftype: controls whether the connection uses "ipv4" or "ipv6".
496 connect "ssl.uplink.com" {
497 /* Example of ssl server-to-server connection, ssl flag doesn't need
498 * compressed flag, 'cause it uses own compression
500 host = "192.168.0.1";
501 send_password = "password";
502 accept_password = "anotherpassword";
506 flags = ssl, topicburst;
509 /* cluster {}; servers that we propagate things to automatically.
510 * NOTE: This does NOT grant them privileges to apply anything locally,
511 * you must add a seperate shared block for that. Clustering will
512 * only be done for actions by LOCAL opers, that arent directed
516 /* name: the server to share with, this can be a wildcard and may be
519 /* flags: list of what to share, all the name lines above this (up
520 * until another flags entry) will receive these flags.
522 * kline - share perm klines
523 * tkline - share temp klines
524 * unkline - share unklines
525 * locops - share locops
526 * xline - share perm xlines
527 * txline - share temp xlines
528 * unxline - share unxlines
529 * resv - share perm resvs
530 * tresv - share temp resvs
531 * unresv - share unresvs
532 * all - share all of the above
535 /* share klines/unklines/xlines with *.lan */
537 flags = kline, unkline, xline;
539 /* share locops with irc.ircd-ratbox.org and ircd.ircd-ratbox.org */
540 name = "irc.ircd-ratbox.org";
541 name = "ircd.ircd-ratbox.org";
545 /* service{}: privileged servers (services). These servers have extra
546 * privileges such as setting login names on users and introducing clients
547 * with umode +S (unkickable, hide channels, etc). This does not allow them
548 * to set bans, you need a separate shared{} for that.
549 * Do not place normal servers here.
550 * There may be only one service{} block.
553 /* name: the server name. These may be stacked. */
554 name = "services.int";
557 /* shared {}: users that are allowed to place remote bans on our server.
558 * NOTE: These are ordered top down. The first one the user@host and server
559 * matches will be used. Their access will then be decided on that
560 * block and will not fall back to another block that matches.
563 /* oper: the user@host and server the user must be on to set klines.
564 * The first field must be a user@host, the second field is an
565 * optional server. These may be stacked.
567 /* flags: list of what to allow them to place, all the oper lines
568 * above this (up until another flags entry) will receive these
569 * flags. This *must* be present.
571 * kline - allow setting perm/temp klines
572 * tkline - allow setting temp klines
573 * unkline - allow removing klines
574 * xline - allow setting perm/temp xlines
575 * txline - allow setting temp xlines
576 * unxline - allow removing xlines
577 * resv - allow setting perm/temp resvs
578 * tresv - allow setting temp resvs
579 * unresv - allow removing xlines
580 * all - allow oper/server to do all of above.
581 * locops - allow locops - only used for servers who cluster
582 * rehash - allow rehashing
583 * dline - allow setting perm/temp dlines
584 * tdline - allow setting temp dlines
585 * undline - allow removing dlines
586 * none - disallow everything
589 /* allow flame@*.leeh.co.uk on server irc.ircd-ratbox.org and
590 * allow leeh@*.leeh.co.uk on server ircd.ircd-ratbox.org to kline
592 oper = "flame@*.leeh.co.uk", "irc.ircd-ratbox.org";
593 oper = "leeh@*.leeh.co.uk", "ircd.ircd-ratbox.org";
596 /* you may forbid certain opers/servers from doing anything */
597 oper = "irc@vanity.oper", "*";
598 oper = "*@*", "irc.vanity.server";
599 oper = "irc@another.vanity.oper", "bigger.vanity.server";
602 /* or allow everyone to place temp klines */
607 /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
609 ip = "192.168.0.0/16";
611 /* these may be stacked */
616 /* The channel block contains options pertaining to channels */
618 /* invex: Enable/disable channel mode +I, a n!u@h list of masks
619 * that can join a +i channel without an invite.
623 /* except: Enable/disable channel mode +e, a n!u@h list of masks
624 * that can join a channel through a ban (+b).
628 /* forward: Enable/disable channel mode +f, a channel to forward
629 * users to if they can't join because of +i etc.
633 /* knock: Allows users to request an invite to a channel that
634 * is locked somehow (+ikl). If the channel is +p or you are banned
635 * the knock will not be sent.
639 /* knock delay: The amount of time a user must wait between issuing
642 knock_delay = 5 minutes;
644 /* knock channel delay: How often a knock to any specific channel
645 * is permitted, regardless of the user sending the knock.
647 knock_delay_channel = 1 minute;
649 /* max chans: The maximum number of channels a user can join/be on. */
650 max_chans_per_user = 15;
652 /* max bans: maximum number of +b/e/I/q modes in a channel */
655 /* max bans: maximum number of +b/e/I/q modes in a +L channel */
656 max_bans_large = 500;
658 /* splitcode: split users, split servers and either no join on split
659 * or no create on split must be enabled for split checking.
660 * splitmode will be entered on either split users or split servers
661 * dropping below the limit.
663 * you may force splitmode to be permanent by /quote set splitmode on
666 /* split users: when the usercount is lower than this level, consider
667 * ourselves split. this must be set for automatic splitmode
669 default_split_user_count = 0;
671 /* split servers: when the amount of servers that have acknowledged
672 * theyve finished bursting is lower than this, consider ourselves
673 * split. this must be set for automatic splitmode
675 default_split_server_count = 0;
677 /* split: no create: disallow users creating channels on split */
678 no_create_on_split = no;
680 /* split: no join: disallow users joining channels at all on a split */
681 no_join_on_split = no;
683 /* burst topicwho: when bursting topics, also burst the topic setter */
684 burst_topicwho = yes;
686 /* kick on split riding: kick users riding splits to join +i or +k
687 * channels. more precisely, if a bursting server sends an SJOIN
688 * for a channel with a lower TS with either a +i mode or a +k
689 * mode with a different key, kick all local users.
691 * note: this does not take +r, +b, +e and +I into account.
693 * warning: if there are any TS5 servers on the network, this
694 * will cause ban desyncs if they send such an SJOIN and the
695 * splitriders added any bans (our side will lose them, the TS5
696 * side will accept them). we will send a notice to the channel
697 * if this happens. most services do not send such SJOINs but
698 * ratbox-services does.
700 kick_on_split_riding = no;
704 /* The serverhide block contains the options regarding serverhiding */
706 /* flatten links: this option will hide various routing information
707 * and make all servers in /links appear that they are linked to
712 /* links delay: how long to wait before showing splits or new
713 * servers in a flattened /links output.
715 links_delay = 5 minutes;
717 /* hidden: hide this server from a /links output on servers with
718 * flatten_links enabled. this allows hub servers to be hidden etc.
722 /* disable hidden: prevent servers hiding themselves from a
728 /* These are the blacklist settings.
729 * You can have multiple combinations of host and rejection reasons.
730 * They are used in pairs of one host/rejection reason, or multiple hosts/rejection reason.
732 * These settings should be adequate for most networks, and are (presently)
733 * required for use on AthemeNet.
735 * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
738 * As of charybdis 2.2, you can do some keyword substitution on the rejection
739 * reason. The available keyword substitutions are:
741 * ${ip} - the user's IP
742 * ${host} - the user's canonical hostname
743 * ${dnsbl-host} - the dnsbl hostname the lookup was done against
744 * ${nick} - the user's nickname
745 * ${network-name} - the name of the network
747 * Note: AHBL (the providers of the below *.ahbl.org BLs) request that they be
748 * contacted, via email, at admins@2mbit.com before using these BLs.
749 * See <http://www.ahbl.org/services.php> for more information.
752 host = "dnsbl.dronebl.org";
753 reject_reason = "${nick}, your IP (${ip}) is listed in DroneBL. For assistance, see http://dronebl.org/lookup_branded.do?ip=${ip}&network=${network-name}";
755 # host = "ircbl.ahbl.org";
756 # 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.";
758 # host = "tor.ahbl.org";
759 # 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.";
763 * Alias blocks allow you to define custom commands. (Old m_sshortcut.c)
764 * They send PRIVMSG to the given target. A real command takes
765 * precedence above an alias.
768 /* the name must go above */
770 /* target: the target nick (must be a network service) or
771 * user@server (cannot be this server, only opers can use
772 * user starting with "opers" reliably, interpreted on the target
773 * server only so you may need to use nick@server instead)
806 /* The general block contains many of the options that were once compiled
807 * in options in config.h. The general block is read at start time.
810 /* hide error messages: defines whether error messages from
811 * servers that are not deemed fully safe are hidden or not.
812 * These can sometimes contain IPs and can have an adverse
813 * effect on server ip hiding. Set to:
814 * yes: hide from opers and admin
815 * opers: hide from opers only
816 * no: do not hide error messages
817 * Admins on other servers count as opers.
819 hide_error_messages = opers;
821 /* hide spoof ips: hide the real ips of auth{} spoofed users
822 * If disabled, local opers can see them.
823 * Dynamic spoofs (e.g. set by services) are unaffected by this;
824 * any oper (local and remote) can see the real ip.
825 * Warning: for whowas, this is checked when the client exits,
826 * not when the IP is shown.
828 hide_spoof_ips = yes;
830 /* default umodes: umodes to set upon connection
831 * If you have enabled the ip_cloaking extension, and you wish for
832 * incoming clients to be set +h upon connection, add +h to the umode
835 default_umodes = "+i";
837 /* default operstring: defines the default oper response
838 * in /whois queries, eg "is an IRC Operator".
839 * After startup use /quote set operstring to change.
841 default_operstring = "is an IRC Operator";
843 /* default adminstring: defines the default admin response
844 * in /whois queries, eg "is a Server Administrator".
845 * After startup use /quote set adminstring to change.
847 default_adminstring = "is a Server Administrator";
849 /* servicestring: defines the response for opered services (+S)
850 * in /whois queries, eg "is a Network Service".
851 * This is updated on rehash.
853 servicestring = "is a Network Service";
855 /* disable fake channels: disable local users joining fake versions
856 * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse,
857 * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively).
859 disable_fake_channels = no;
861 /* tkline_expire_notices: give a notice to opers when a tkline
864 tkline_expire_notices = no;
866 /* floodcount: the default value of floodcount that is configurable
867 * via /quote set floodcount. This is the amount of lines a user
868 * may send to any other user/channel in one second.
870 default_floodcount = 10;
872 /* failed oper notice: send a notice to all opers on the server when
873 * someone tries to OPER and uses the wrong password, host or ident.
875 failed_oper_notice = yes;
877 /* dots in ident: the amount of '.' characters permitted in an ident
878 * reply before the user is rejected.
882 /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
883 * placed via the server. klines hand placed are exempt from limits.
884 * wildcard chars: '.' '*' '?' '@'
888 /* min nonwildcard simple: the minimum non wildcard characters in
889 * xlines/resvs placed via the server.
890 * wildcard chars: '*' '?'
892 min_nonwildcard_simple = 3;
894 /* max accept: maximum allowed /accept's for +g usermode */
897 /* max monitor: the maximum amount of nicknames a client may have in
898 * their monitor (server-side notify) list.
902 /* nick flood: enable the nickflood control code */
903 anti_nick_flood = yes;
905 /* nick flood: the nick changes allowed in the specified period */
906 max_nick_time = 20 seconds;
907 max_nick_changes = 5;
909 /* anti spam time: the minimum time a user must be connected before
910 * custom quit messages are allowed.
912 anti_spam_exit_message_time = 5 minutes;
914 /* ts delta: the time delta allowed between server clocks before
915 * a warning is given, or before the link is dropped. all servers
916 * should run ntpdate/rdate to keep clocks in sync
918 ts_warn_delta = 30 seconds;
919 ts_max_delta = 5 minutes;
921 /* client exit: prepend a users quit message with "Client exit: " */
924 /* collision fnc: change user's nick to their UID instead of
925 * killing them, if possible. This setting only applies to nick
926 * collisions detected on this server. Only enable this if
927 * all servers on the network allow remote nicks to start with
932 /* global snotices: send out certain snotices (most +b, +f, +y,
933 * some +s) to other servers via ENCAP SNOTE. Received SNOTEs are
934 * displayed unconditionally.
936 global_snotices = yes;
938 /* dline reason: show the user the dline reason when they connect
941 dline_with_reason = yes;
943 /* kline delay: delay the checking of klines until a specified time.
944 * Useful if large kline lists are applied often to prevent the
947 kline_delay = 0 seconds;
949 /* kline reason: show the user the reason why they are k/dlined
950 * on exit. may give away who set k/dline when set via tcm.
952 kline_with_reason = yes;
954 /* kline reason: make the users quit message on channels this
955 * reason instead of the oper's reason.
957 kline_reason = "Connection closed";
959 /* identify to services via server password
960 * if auth{} block had no password but the user specified a
961 * server password anyway, send a PRIVMSG to <identify_service>
962 * with as text <identify_command> <password>.
964 identify_service = "NickServ@services.int";
965 identify_command = "IDENTIFY";
967 /* non redundant klines: flag and ignore redundant klines */
968 non_redundant_klines = yes;
970 /* warn no nline: warn opers about servers that try to connect but
971 * we dont have a connect {} block for. Twits with misconfigured
972 * servers can get really annoying with this enabled.
976 /* stats e disabled: disable stats e. useful if server ips are
977 * exempted and you dont want them listing on irc.
979 stats_e_disabled = no;
981 /* stats c oper only: make stats c (connect {}) oper only */
982 stats_c_oper_only=no;
984 /* stats h oper only: make stats h (hub_mask/leaf_mask) oper only */
985 stats_h_oper_only=no;
987 /* stats y oper only: make stats y (class {}) oper only */
988 stats_y_oper_only=no;
990 /* stats o oper only: make stats o (opers) oper only */
991 stats_o_oper_only=yes;
993 /* stats P oper only: make stats P (ports) oper only
994 * NOTE: users doing stats P will never be given the ips that the
995 * server listens on, simply the ports.
997 stats_P_oper_only=no;
999 /* stats i oper only: make stats i (auth {}) oper only. set to:
1000 * yes: show users no auth blocks, made oper only.
1001 * masked: show users first matching auth block
1002 * no: show users all auth blocks.
1004 stats_i_oper_only=masked;
1006 /* stats k/K oper only: make stats k/K (klines) oper only. set to:
1007 * yes: show users no auth blocks, made oper only
1008 * masked: show users first matching auth block
1009 * no: show users all auth blocks.
1011 stats_k_oper_only=masked;
1013 /* map oper only: make /map oper only */
1016 /* operspy admin only: make operspy notices to +Z admin only */
1017 operspy_admin_only = no;
1019 /* operspy dont care user info: treat /who mask as if there was
1020 * an '!' always; do not log or server notice about operspy
1021 * /who mask, /masktrace and /scan. channel information is still
1023 operspy_dont_care_user_info = no;
1025 /* caller id wait: time between notifying a +g user that somebody
1026 * is messaging them.
1028 caller_id_wait = 1 minute;
1030 /* pace wait simple: time between use of less intensive commands
1031 * (HELP, remote WHOIS, WHOWAS)
1033 pace_wait_simple = 1 second;
1035 /* pace wait: time between more intensive commands
1036 * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
1038 pace_wait = 10 seconds;
1040 /* short motd: send clients a notice telling them to read the motd
1041 * instead of forcing a motd to clients who may simply ignore it.
1045 /* ping cookies: require clients to respond exactly to a ping command,
1046 * can help block certain types of drones and FTP PASV mode spoofing.
1050 /* connect timeout: sets how long we should wait for a connection
1051 * request to succeed
1053 connect_timeout = 30 seconds;
1055 /* disable auth: disables identd checking */
1058 /* no oper flood: increase flood limits for opers. */
1059 no_oper_flood = yes;
1061 /* REMOVE ME. The following line checks you've been reading. */
1062 havent_read_conf = yes;
1064 /* max targets: the maximum amount of targets in a single
1065 * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
1069 /* client flood: maximum number of lines in a clients queue before
1070 * they are dropped for flooding.
1074 /* use_whois_actually: send clients requesting a whois a numeric
1075 * giving the real IP of non-spoofed clients to prevent DNS abuse.
1077 use_whois_actually = yes;
1079 /* usermodes configurable: a list of usermodes for the options below
1081 * +g - callerid - Server Side Ignore
1082 * +D - deaf - Don't see channel messages
1083 * +i - invisible - Not shown in NAMES or WHO unless you share a
1085 * +l - locops - See LOCOPS messages
1086 * +Q - noforward - Unaffected by channel forwarding
1087 * +R - regonlymsg - No messages from unindentified
1088 * +s - servnotice - See server notices
1089 * +w - wallop - See oper and server generated WALLOPS
1090 * +z - operwall - See operwalls
1093 /* oper only umodes: usermodes only opers may set */
1094 oper_only_umodes = operwall, locops, servnotice;
1096 /* oper umodes: default usermodes opers get when they /oper */
1097 oper_umodes = locops, servnotice, operwall, wallop;
1099 /* oper snomask: default snomask opers get when they /oper,
1100 * provided they have umode +s set */
1101 oper_snomask = "+s";
1103 /* servlink path: path to 'servlink' program used by ircd to handle
1104 * encrypted/compressed server <-> server links.
1106 * only define if servlink is not in same directory as ircd itself.
1108 #servlink_path = "/usr/local/ircd/bin/servlink";
1110 /* use egd: if your system does not have *random devices yet you
1111 * want to use OpenSSL and encrypted links, enable this. Beware -
1112 * EGD is *very* CPU intensive when gathering data for its pool
1116 /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1117 * which automatically finds the path.
1119 #egdpool_path = "/var/run/egd-pool";
1122 /* compression level: level of compression for compressed links between
1125 * values are between: 1 (least compression, fastest)
1126 * and: 9 (most compression, slowest).
1128 #compression_level = 6;
1130 /* burst_away: This enables bursting away messages to servers.
1131 * With this disabled, we will only propogate AWAY messages
1132 * as users send them, but never burst them. Be warned though
1133 * enabling this could increase the size of a burst significantly
1134 * for a large network, like EFnet.
1138 /* nick delay: This locks nicks of split clients for the given time
1139 * or until a remote client uses the nick. This significantly
1140 * reduces nick collisions on short splits but it can be annoying.
1141 * To make things as fair as possible, this should be the same on
1142 * all servers. If you enable this, the suggested value is 15 minutes.
1144 nick_delay = 0 seconds;
1146 /* reject time: the amount of rejections through klines/dlines etc
1147 * allowed in the given time before the rejection is cached and
1148 * a pseudo temp dline is placed
1150 reject_ban_time = 1 minute;
1151 reject_after_count = 3;
1153 /* reject duration: the amount of time to cache the rejection */
1154 reject_duration = 5 minutes;
1156 /* max_unknown_ip: maximum number of pending connections to the server
1157 * that are allowed per IP address
1163 /* module path: paths to search for modules specified below and
1166 path = "/usr/local/ircd/modules";
1167 path = "/usr/local/ircd/modules/autoload";
1169 /* module: the name of a module to load on startup/rehash */
1170 #module = "some_module.so";