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 * none - disallow everything
586 /* allow flame@*.leeh.co.uk on server irc.ircd-ratbox.org and
587 * allow leeh@*.leeh.co.uk on server ircd.ircd-ratbox.org to kline
589 oper = "flame@*.leeh.co.uk", "irc.ircd-ratbox.org";
590 oper = "leeh@*.leeh.co.uk", "ircd.ircd-ratbox.org";
593 /* you may forbid certain opers/servers from doing anything */
594 oper = "irc@vanity.oper", "*";
595 oper = "*@*", "irc.vanity.server";
596 oper = "irc@another.vanity.oper", "bigger.vanity.server";
599 /* or allow everyone to place temp klines */
604 /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
606 ip = "192.168.0.0/16";
608 /* these may be stacked */
613 /* The channel block contains options pertaining to channels */
615 /* invex: Enable/disable channel mode +I, a n!u@h list of masks
616 * that can join a +i channel without an invite.
620 /* except: Enable/disable channel mode +e, a n!u@h list of masks
621 * that can join a channel through a ban (+b).
625 /* forward: Enable/disable channel mode +f, a channel to forward
626 * users to if they can't join because of +i etc.
630 /* knock: Allows users to request an invite to a channel that
631 * is locked somehow (+ikl). If the channel is +p or you are banned
632 * the knock will not be sent.
636 /* knock delay: The amount of time a user must wait between issuing
639 knock_delay = 5 minutes;
641 /* knock channel delay: How often a knock to any specific channel
642 * is permitted, regardless of the user sending the knock.
644 knock_delay_channel = 1 minute;
646 /* max chans: The maximum number of channels a user can join/be on. */
647 max_chans_per_user = 15;
649 /* max bans: maximum number of +b/e/I/q modes in a channel */
652 /* max bans: maximum number of +b/e/I/q modes in a +L channel */
653 max_bans_large = 500;
655 /* splitcode: split users, split servers and either no join on split
656 * or no create on split must be enabled for split checking.
657 * splitmode will be entered on either split users or split servers
658 * dropping below the limit.
660 * you may force splitmode to be permanent by /quote set splitmode on
663 /* split users: when the usercount is lower than this level, consider
664 * ourselves split. this must be set for automatic splitmode
666 default_split_user_count = 0;
668 /* split servers: when the amount of servers that have acknowledged
669 * theyve finished bursting is lower than this, consider ourselves
670 * split. this must be set for automatic splitmode
672 default_split_server_count = 0;
674 /* split: no create: disallow users creating channels on split */
675 no_create_on_split = no;
677 /* split: no join: disallow users joining channels at all on a split */
678 no_join_on_split = no;
680 /* burst topicwho: when bursting topics, also burst the topic setter */
681 burst_topicwho = yes;
683 /* kick on split riding: kick users riding splits to join +i or +k
684 * channels. more precisely, if a bursting server sends an SJOIN
685 * for a channel with a lower TS with either a +i mode or a +k
686 * mode with a different key, kick all local users.
688 * note: this does not take +r, +b, +e and +I into account.
690 * warning: if there are any TS5 servers on the network, this
691 * will cause ban desyncs if they send such an SJOIN and the
692 * splitriders added any bans (our side will lose them, the TS5
693 * side will accept them). we will send a notice to the channel
694 * if this happens. most services do not send such SJOINs but
695 * ratbox-services does.
697 kick_on_split_riding = no;
701 /* The serverhide block contains the options regarding serverhiding */
703 /* flatten links: this option will hide various routing information
704 * and make all servers in /links appear that they are linked to
709 /* links delay: how long to wait before showing splits or new
710 * servers in a flattened /links output.
712 links_delay = 5 minutes;
714 /* hidden: hide this server from a /links output on servers with
715 * flatten_links enabled. this allows hub servers to be hidden etc.
719 /* disable hidden: prevent servers hiding themselves from a
725 /* These are the blacklist settings.
726 * You can have multiple combinations of host and rejection reasons.
727 * They are used in pairs of one host/rejection reason, or multiple hosts/rejection reason.
729 * These settings should be adequate for most networks, and are (presently)
730 * required for use on AthemeNet.
732 * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
735 * As of charybdis 2.2, you can do some keyword substitution on the rejection
736 * reason. The available keyword substitutions are:
738 * ${ip} - the user's IP
739 * ${host} - the user's canonical hostname
740 * ${dnsbl-host} - the dnsbl hostname the lookup was done against
741 * ${nick} - the user's nickname
742 * ${network-name} - the name of the network
744 * Note: AHBL (the providers of the below *.ahbl.org BLs) request that they be
745 * contacted, via email, at admins@2mbit.com before using these BLs.
746 * See <http://www.ahbl.org/services.php> for more information.
749 host = "dnsbl.dronebl.org";
750 reject_reason = "${nick}, your IP (${ip}) is listed in DroneBL. For assistance, see http://dronebl.org/lookup_branded.do?ip=${ip}&network=${network-name}";
752 # host = "ircbl.ahbl.org";
753 # 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.";
755 # host = "tor.ahbl.org";
756 # 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.";
760 * Alias blocks allow you to define custom commands. (Old m_sshortcut.c)
761 * They send PRIVMSG to the given target. A real command takes
762 * precedence above an alias.
765 /* the name must go above */
767 /* target: the target nick (must be a network service) or
768 * user@server (cannot be this server, only opers can use
769 * user starting with "opers" reliably, interpreted on the target
770 * server only so you may need to use nick@server instead)
803 /* The general block contains many of the options that were once compiled
804 * in options in config.h. The general block is read at start time.
807 /* hide error messages: defines whether error messages from
808 * servers that are not deemed fully safe are hidden or not.
809 * These can sometimes contain IPs and can have an adverse
810 * effect on server ip hiding. Set to:
811 * yes: hide from opers and admin
812 * opers: hide from opers only
813 * no: do not hide error messages
814 * Admins on other servers count as opers.
816 hide_error_messages = opers;
818 /* hide spoof ips: hide the real ips of auth{} spoofed users
819 * If disabled, local opers can see them.
820 * Dynamic spoofs (e.g. set by services) are unaffected by this;
821 * any oper (local and remote) can see the real ip.
822 * Warning: for whowas, this is checked when the client exits,
823 * not when the IP is shown.
825 hide_spoof_ips = yes;
827 /* default umodes: umodes to set upon connection
828 * If you have enabled the ip_cloaking extension, and you wish for
829 * incoming clients to be set +h upon connection, add +h to the umode
832 default_umodes = "+i";
834 /* default operstring: defines the default oper response
835 * in /whois queries, eg "is an IRC Operator".
836 * After startup use /quote set operstring to change.
838 default_operstring = "is an IRC Operator";
840 /* default adminstring: defines the default admin response
841 * in /whois queries, eg "is a Server Administrator".
842 * After startup use /quote set adminstring to change.
844 default_adminstring = "is a Server Administrator";
846 /* servicestring: defines the response for opered services (+S)
847 * in /whois queries, eg "is a Network Service".
848 * This is updated on rehash.
850 servicestring = "is a Network Service";
852 /* disable fake channels: disable local users joining fake versions
853 * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse,
854 * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively).
856 disable_fake_channels = no;
858 /* tkline_expire_notices: give a notice to opers when a tkline
861 tkline_expire_notices = no;
863 /* floodcount: the default value of floodcount that is configurable
864 * via /quote set floodcount. This is the amount of lines a user
865 * may send to any other user/channel in one second.
867 default_floodcount = 10;
869 /* failed oper notice: send a notice to all opers on the server when
870 * someone tries to OPER and uses the wrong password, host or ident.
872 failed_oper_notice = yes;
874 /* dots in ident: the amount of '.' characters permitted in an ident
875 * reply before the user is rejected.
879 /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
880 * placed via the server. klines hand placed are exempt from limits.
881 * wildcard chars: '.' '*' '?' '@'
885 /* min nonwildcard simple: the minimum non wildcard characters in
886 * xlines/resvs placed via the server.
887 * wildcard chars: '*' '?'
889 min_nonwildcard_simple = 3;
891 /* max accept: maximum allowed /accept's for +g usermode */
894 /* max monitor: the maximum amount of nicknames a client may have in
895 * their monitor (server-side notify) list.
899 /* nick flood: enable the nickflood control code */
900 anti_nick_flood = yes;
902 /* nick flood: the nick changes allowed in the specified period */
903 max_nick_time = 20 seconds;
904 max_nick_changes = 5;
906 /* anti spam time: the minimum time a user must be connected before
907 * custom quit messages are allowed.
909 anti_spam_exit_message_time = 5 minutes;
911 /* ts delta: the time delta allowed between server clocks before
912 * a warning is given, or before the link is dropped. all servers
913 * should run ntpdate/rdate to keep clocks in sync
915 ts_warn_delta = 30 seconds;
916 ts_max_delta = 5 minutes;
918 /* client exit: prepend a users quit message with "Client exit: " */
921 /* collision fnc: change user's nick to their UID instead of
922 * killing them, if possible. This setting only applies to nick
923 * collisions detected on this server. Only enable this if
924 * all servers on the network allow remote nicks to start with
929 /* global snotices: send out certain snotices (most +b, +f, +y,
930 * some +s) to other servers via ENCAP SNOTE. Received SNOTEs are
931 * displayed unconditionally.
933 global_snotices = yes;
935 /* dline reason: show the user the dline reason when they connect
938 dline_with_reason = yes;
940 /* kline delay: delay the checking of klines until a specified time.
941 * Useful if large kline lists are applied often to prevent the
944 kline_delay = 0 seconds;
946 /* kline reason: show the user the reason why they are k/dlined
947 * on exit. may give away who set k/dline when set via tcm.
949 kline_with_reason = yes;
951 /* kline reason: make the users quit message on channels this
952 * reason instead of the oper's reason.
954 kline_reason = "Connection closed";
956 /* identify to services via server password
957 * if auth{} block had no password but the user specified a
958 * server password anyway, send a PRIVMSG to <identify_service>
959 * with as text <identify_command> <password>.
961 identify_service = "NickServ@services.int";
962 identify_command = "IDENTIFY";
964 /* non redundant klines: flag and ignore redundant klines */
965 non_redundant_klines = yes;
967 /* warn no nline: warn opers about servers that try to connect but
968 * we dont have a connect {} block for. Twits with misconfigured
969 * servers can get really annoying with this enabled.
973 /* stats e disabled: disable stats e. useful if server ips are
974 * exempted and you dont want them listing on irc.
976 stats_e_disabled = no;
978 /* stats c oper only: make stats c (connect {}) oper only */
979 stats_c_oper_only=no;
981 /* stats h oper only: make stats h (hub_mask/leaf_mask) oper only */
982 stats_h_oper_only=no;
984 /* stats y oper only: make stats y (class {}) oper only */
985 stats_y_oper_only=no;
987 /* stats o oper only: make stats o (opers) oper only */
988 stats_o_oper_only=yes;
990 /* stats P oper only: make stats P (ports) oper only
991 * NOTE: users doing stats P will never be given the ips that the
992 * server listens on, simply the ports.
994 stats_P_oper_only=no;
996 /* stats i oper only: make stats i (auth {}) oper only. set to:
997 * yes: show users no auth blocks, made oper only.
998 * masked: show users first matching auth block
999 * no: show users all auth blocks.
1001 stats_i_oper_only=masked;
1003 /* stats k/K oper only: make stats k/K (klines) oper only. set to:
1004 * yes: show users no auth blocks, made oper only
1005 * masked: show users first matching auth block
1006 * no: show users all auth blocks.
1008 stats_k_oper_only=masked;
1010 /* map oper only: make /map oper only */
1013 /* operspy admin only: make operspy notices to +Z admin only */
1014 operspy_admin_only = no;
1016 /* operspy dont care user info: treat /who mask as if there was
1017 * an '!' always; do not log or server notice about operspy
1018 * /who mask, /masktrace and /scan. channel information is still
1020 operspy_dont_care_user_info = no;
1022 /* caller id wait: time between notifying a +g user that somebody
1023 * is messaging them.
1025 caller_id_wait = 1 minute;
1027 /* pace wait simple: time between use of less intensive commands
1028 * (HELP, remote WHOIS, WHOWAS)
1030 pace_wait_simple = 1 second;
1032 /* pace wait: time between more intensive commands
1033 * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
1035 pace_wait = 10 seconds;
1037 /* short motd: send clients a notice telling them to read the motd
1038 * instead of forcing a motd to clients who may simply ignore it.
1042 /* ping cookies: require clients to respond exactly to a ping command,
1043 * can help block certain types of drones and FTP PASV mode spoofing.
1047 /* connect timeout: sets how long we should wait for a connection
1048 * request to succeed
1050 connect_timeout = 30 seconds;
1052 /* disable auth: disables identd checking */
1055 /* no oper flood: increase flood limits for opers. */
1056 no_oper_flood = yes;
1058 /* REMOVE ME. The following line checks you've been reading. */
1059 havent_read_conf = yes;
1061 /* max targets: the maximum amount of targets in a single
1062 * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
1066 /* client flood: maximum number of lines in a clients queue before
1067 * they are dropped for flooding.
1071 /* use_whois_actually: send clients requesting a whois a numeric
1072 * giving the real IP of non-spoofed clients to prevent DNS abuse.
1074 use_whois_actually = yes;
1076 /* usermodes configurable: a list of usermodes for the options below
1078 * +g - callerid - Server Side Ignore
1079 * +D - deaf - Don't see channel messages
1080 * +i - invisible - Not shown in NAMES or WHO unless you share a
1082 * +l - locops - See LOCOPS messages
1083 * +Q - noforward - Unaffected by channel forwarding
1084 * +R - regonlymsg - No messages from unindentified
1085 * +s - servnotice - See server notices
1086 * +w - wallop - See oper and server generated WALLOPS
1087 * +z - operwall - See operwalls
1090 /* oper only umodes: usermodes only opers may set */
1091 oper_only_umodes = operwall, locops, servnotice;
1093 /* oper umodes: default usermodes opers get when they /oper */
1094 oper_umodes = locops, servnotice, operwall, wallop;
1096 /* oper snomask: default snomask opers get when they /oper,
1097 * provided they have umode +s set */
1098 oper_snomask = "+s";
1100 /* servlink path: path to 'servlink' program used by ircd to handle
1101 * encrypted/compressed server <-> server links.
1103 * only define if servlink is not in same directory as ircd itself.
1105 #servlink_path = "/usr/local/ircd/bin/servlink";
1107 /* use egd: if your system does not have *random devices yet you
1108 * want to use OpenSSL and encrypted links, enable this. Beware -
1109 * EGD is *very* CPU intensive when gathering data for its pool
1113 /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1114 * which automatically finds the path.
1116 #egdpool_path = "/var/run/egd-pool";
1119 /* compression level: level of compression for compressed links between
1122 * values are between: 1 (least compression, fastest)
1123 * and: 9 (most compression, slowest).
1125 #compression_level = 6;
1127 /* burst_away: This enables bursting away messages to servers.
1128 * With this disabled, we will only propogate AWAY messages
1129 * as users send them, but never burst them. Be warned though
1130 * enabling this could increase the size of a burst significantly
1131 * for a large network, like EFnet.
1135 /* nick delay: This locks nicks of split clients for the given time
1136 * or until a remote client uses the nick. This significantly
1137 * reduces nick collisions on short splits but it can be annoying.
1138 * To make things as fair as possible, this should be the same on
1139 * all servers. If you enable this, the suggested value is 15 minutes.
1141 nick_delay = 0 seconds;
1143 /* reject time: the amount of rejections through klines/dlines etc
1144 * allowed in the given time before the rejection is cached and
1145 * a pseudo temp dline is placed
1147 reject_ban_time = 1 minute;
1148 reject_after_count = 3;
1150 /* reject duration: the amount of time to cache the rejection */
1151 reject_duration = 5 minutes;
1153 /* max_unknown_ip: maximum number of pending connections to the server
1154 * that are allowed per IP address
1160 /* module path: paths to search for modules specified below and
1163 path = "/usr/local/ircd/modules";
1164 path = "/usr/local/ircd/modules/autoload";
1166 /* module: the name of a module to load on startup/rehash */
1167 #module = "some_module.so";