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 3474 2007-05-24 04:16:02Z nenolod $
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 * Restrict channel creation to logged in users -- createauthonly.so
45 * Account bans (+b $a[:mask]) -- extb_account.so
46 * Banned from another channel (+b $j:mask) -- extb_canjoin.so
47 * Other-channel bans (+b $c:mask) -- extb_channel.so
48 * Extended ban (+b $x:mask) -- extb_extgecos.so
49 * Oper bans (+b $o) -- extb_oper.so
50 * Realname (gecos) bans (+b $r:mask) -- extb_realname.so
51 * Server bans (+b $s:mask) -- extb_server.so
52 * HURT system -- hurt.so
53 * Host mangling (umode +h) -- ip_cloaking.so
54 * Find channel forwards -- m_findforwards.so
55 * /identify support -- m_identify.so
56 * Opers cannot be invisible (umode +i) -- no_oper_invis.so
57 * Channel join notices (snomask +j) -- sno_channeljoin.so
58 * Far connection notices (snomask +F) -- sno_farconnect.so
59 * Remote k/d/g/x line active notices -- sno_globalkline.so
60 * Remote oper up notices -- sno_globaloper.so
61 * /whois notifications (snomask +W) -- sno_whois.so
63 #loadmodule "extensions/createauthonly.so";
64 #loadmodule "extensions/extb_account.so";
65 #loadmodule "extensions/extb_canjoin.so";
66 #loadmodule "extensions/extb_channel.so";
67 #loadmodule "extensions/extb_extgecos.so";
68 #loadmodule "extensions/extb_oper.so";
69 #loadmodule "extensions/extb_realname.so";
70 #loadmodule "extensions/extb_server.so";
71 #loadmodule "extensions/hurt.so";
72 #loadmodule "extensions/ip_cloaking.so";
73 #loadmodule "extensions/m_findforwards.so";
74 #loadmodule "extensions/m_identify.so";
75 #loadmodule "extensions/no_oper_invis.so";
76 #loadmodule "extensions/sno_channeljoin.so";
77 #loadmodule "extensions/sno_farconnect.so";
78 #loadmodule "extensions/sno_globalkline.so";
79 #loadmodule "extensions/sno_globaloper.so";
80 #loadmodule "extensions/sno_whois.so";
82 /* serverinfo {}: Contains information about the server. (OLD M:) */
84 /* name: the name of our server */
87 /* use ts6: whether we want to use the TS6 protocol to other servers
92 /* sid: the unique server id of our server. This must be three
93 * characters long. The first character must be a digit [0-9], the
94 * remaining two chars may be letters [A-Z] or digits [0-9].
96 * This must be specified even if use_ts6 is set to no.
100 /* description: the description of our server. '[' and ']' may not
101 * be used here for compatibility with older servers.
103 description = "charybdis test server";
105 /* network info: the name and description of the network this server
106 * is on. Shown in the 005 reply and used with serverhiding.
108 network_name = "MyNet";
109 network_desc = "This is My Network";
111 /* hub: allow this server to act as a hub and have multiple servers
116 /* vhost: the IP to bind to when we connect outward to ipv4 servers.
117 * This should be an ipv4 IP only.
119 #vhost = "192.169.0.1";
121 /* vhost6: the IP to bind to when we connect outward to ipv6 servers.
122 * This should be an ipv6 IP only.
124 #vhost6 = "3ffe:80e8:546::2";
126 /* max_clients: this should be set to the maximum amount of clients
127 * that the server should support. Note that you should leave some
128 * file descriptors free for log files, server connections, ident
129 * lookups (if enabled), exceed_limit clients, etc.
134 /* admin {}: contains admin information about the server. (OLD A:) */
136 name = "Smurf target";
137 description = "Main Server Administrator";
138 email = "<syn@packets.r.us>";
141 /* log {}: contains information about logfiles. */
143 /* logfiles: the logfiles to use for specific activity. if these
144 * paths are defined, then ircd will log to them, otherwise it wont.
146 * The confs are, in order:
147 * - userlog: user exits
148 * - fuserlog: failed user connections
149 * - operlog: /oper usage
150 * - foperlog: failed /oper usage
151 * - serverlog: server connects/disconnects
153 * - klinelog: klines, etc
155 * - operspylog: operspy usage
156 * - ioerrorlog: IO errors
158 fname_userlog = "logs/userlog";
159 #fname_fuserlog = "logs/fuserlog";
160 fname_operlog = "logs/operlog";
161 #fname_foperlog = "logs/foperlog";
162 fname_serverlog = "logs/serverlog";
163 fname_glinelog = "logs/glinelog";
164 #fname_klinelog = "logs/klinelog";
165 fname_killlog = "logs/killlog";
166 fname_operspylog = "logs/operspylog";
167 #fname_ioerrorlog = "logs/ioerror";
170 /* class {}: contain information about classes for users (OLD Y:) */
172 /* class name must go above */
174 /* ping time: how often a client must reply to a PING from the
175 * server before they are dropped.
177 ping_time = 2 minutes;
179 /* number per ident: the number of users per user@host networkwide
180 * allowed to connect. Unidented connections are classified as
183 number_per_ident = 2;
185 /* number per ip: the number of local users per host allowed */
188 /* number per ip global: the number of network wide connections
189 * per host allowed for a user, including connections to the
192 number_per_ip_global = 5;
194 /* cidr_bitlen: Limits numbers of connections from a subnet size
195 * the following example makes the subnet /64 this is useful
196 * for IPv6 connections in particular
197 * Also note that the way charybdis is written if you have
198 * compiled support for IPv6, IPv4 cidr bitlens need to be modified
199 * Basically to get the approriate length add 96 to the IPv4 length
200 * For example for a /24 do 96+24 = 120
205 /* number_per_cidr: Number of connections to allow from a subnet of the
206 * size given in cidr_bitlen. 4 seems to be a good default to me.
210 /* max number: the maximum number of users allowed in this class */
213 /* sendq: the amount of data allowed in a clients queue before
220 ping_time = 1 minute 30 seconds;
227 ping_time = 5 minutes;
234 ping_time = 5 minutes;
236 /* connectfreq: only used in server classes. specifies the delay
237 * between autoconnecting to servers.
239 connectfreq = 5 minutes;
241 /* max number: the amount of servers to autoconnect to */
244 /* sendq: servers need a higher sendq as they are sent more data */
248 /* listen {}: contain information about the ports ircd listens on (OLD P:) */
250 /* port: the specific port to listen on. if no host is specified
251 * before, it will listen on all available IPs.
253 * ports are seperated via a comma, a range may be specified using ".."
256 /* port: listen on all available IPs, ports 5000 and 6665 to 6669 */
257 port = 5000, 6665 .. 6669;
259 /* host: set a specific IP/host the ports after the line will listen
260 * on. This may be ipv4 or ipv6.
265 host = "3ffe:1234:a:b:c::d";
269 /* auth {}: allow users to connect to the ircd (OLD I:) */
271 /* user: the user@host allowed to connect. multiple IPv4/IPv6 user
272 * lines are permitted per auth block.
274 user = "*@172.16.0.0/12";
275 user = "*test@123D:B567:*";
277 /* password: an optional password that is required to use this block.
278 * By default this is not encrypted, specify the flag "encrypted" in
279 * flags = ...; below if it is.
281 password = "letmein";
283 /* spoof: fake the users user@host to be be this. You may either
284 * specify a host or a user@host to spoof to. This is free-form,
285 * just do everyone a favour and dont abuse it. (OLD I: = flag)
287 spoof = "I.still.hate.packets";
289 /* Possible flags in auth:
291 * encrypted | password is encrypted with mkpasswd
292 * spoof_notice | give a notice when spoofing hosts
293 * exceed_limit (old > flag) | allow user to exceed class user limits
294 * kline_exempt (old ^ flag) | exempt this user from k/g/xlines&dnsbls
295 * dnsbl_exempt | exempt this user from dnsbls
296 * gline_exempt (old _ flag) | exempt this user from glines
297 * spambot_exempt | exempt this user from spambot checks
298 * shide_exempt | exempt this user from serverhiding
299 * jupe_exempt | exempt this user from generating
300 * warnings joining juped channels
301 * resv_exempt | exempt this user from resvs
302 * flood_exempt | exempt this user from flood limits
304 * no_tilde (old - flag) | don't prefix ~ to username if no ident
305 * need_ident (old + flag) | require ident for user in this class
306 * need_sasl | require SASL id for user in this class
308 flags = kline_exempt, exceed_limit;
310 /* class: the class the user is placed in */
315 /* redirect: the server and port to redirect a user to. A user does
316 * not have to obey the redirection, the ircd just suggests to them
317 * an alternative server.
319 redirserv = "irc.some.domain";
322 user = "*.some.domain";
324 /* class: a class is required even though it is not used */
335 /* operator {}: defines ircd operators. (OLD O:)
336 * charybdis no longer supports local operators, privileges are
337 * controlled via flags.
340 /* name: the name of the oper must go above */
342 /* user: the user@host required for this operator. CIDR *is*
343 * supported now. auth{} spoofs work here, other spoofs do not.
344 * multiple user="" lines are supported.
347 user = "*@127.0.0.1";
349 /* password: the password required to oper. Unless ~encrypted is
350 * contained in flags = ...; this will need to be encrypted using
351 * mkpasswd, MD5 is supported
353 password = "etcnjl8juSU1E";
355 /* rsa key: the public key for this oper when using Challenge.
356 * A password should not be defined when this is used, see
357 * doc/challenge.txt for more information.
359 #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
361 /* umodes: the specific umodes this oper gets when they oper.
362 * If this is specified an oper will not be given oper_umodes
363 * These are described above oper_only_umodes in general {};
365 #umodes = locops, servnotice, operwall, wallop;
367 /* snomask: specific server notice mask on oper up.
368 * If this is specified an oper will not be given oper_snomask.
370 snomask = "+Zbfkrsuy";
372 /* privileges: controls the activities and commands an oper is
373 * allowed to do on the server. You may prefix an option with ~ to
374 * disable it, ie ~operwall
376 * Default flags are operwall, remoteban and encrypted.
380 * encrypted: the password above is encrypted [DEFAULT]
381 * local_kill: allows local users to be /KILL'd
382 * global_kill: allows local and remote users to be
383 * /KILL'd (OLD 'O' flag)
384 * remote: allows remote SQUIT and CONNECT (OLD 'R' flag)
385 * kline: allows KILL, KLINE and DLINE (OLD 'K' flag)
386 * unkline: allows UNKLINE and UNDLINE (OLD 'U' flag)
387 * gline: allows GLINE (OLD 'G' flag)
388 * nick_changes: allows oper to see nickchanges (OLD 'N' flag)
390 * rehash: allows oper to REHASH config (OLD 'H' flag)
391 * die: allows DIE and RESTART (OLD 'D' flag)
392 * admin: gives admin privileges. admins
393 * may (un)load modules and see the
394 * real IPs of servers.
395 * hidden_admin: gives admin privileges except
396 * will not have the admin lines in
398 * xline: allows use of /quote xline/unxline
399 * operwall: allows the oper to send operwalls [DEFAULT]
400 * oper_spy: allows 'operspy' features to see through +s
401 * channels etc. see /quote help operspy
402 * hidden_oper: hides the oper from /stats p (OLD UMODE +p)
403 * remoteban: allows remote kline etc [DEFAULT]
405 flags = global_kill, remote, kline, unkline, gline,
406 die, rehash, admin, xline, operwall;
409 /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
410 connect "irc.uplink.com" {
411 /* the name must go above */
413 /* host: the host or IP to connect to. If a hostname is used it
414 * must match the reverse dns of the server.
416 host = "192.168.0.1";
418 /* vhost: the host or IP to bind to for this connection. If this
419 * is not specified, the default vhost (in serverinfo {}) is used.
421 #vhost = "192.168.0.50";
423 /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
424 * The remote server will have these passwords reversed.
426 send_password = "password";
427 accept_password = "anotherpassword";
429 /* port: the port to connect to this server on */
432 /* hub mask: the mask of servers that this server may hub. Multiple
433 * entries are permitted
437 /* leaf mask: the mask of servers this server may not hub. Multiple
438 * entries are permitted. Useful for forbidding EU -> US -> EU routes.
442 /* class: the class this server is in */
445 /* flags: controls special options for this server
446 * encrypted - marks the accept_password as being crypt()'d
447 * autoconn - automatically connect to this server
448 * compressed - compress traffic via ziplinks
449 * topicburst - burst topics between servers
451 flags = compressed, topicburst;
454 connect "ipv6.some.server" {
455 host = "3ffd:dead:beef::1";
456 send_password = "password";
457 accept_password = "password";
460 /* aftype: controls whether the connection uses "ipv4" or "ipv6".
467 /* cluster {}; servers that we propagate things to automatically.
468 * NOTE: This does NOT grant them privileges to apply anything locally,
469 * you must add a seperate shared block for that. Clustering will
470 * only be done for actions by LOCAL opers, that arent directed
474 /* name: the server to share with, this can be a wildcard and may be
477 /* flags: list of what to share, all the name lines above this (up
478 * until another flags entry) will receive these flags.
480 * kline - share perm klines
481 * tkline - share temp klines
482 * unkline - share unklines
483 * locops - share locops
484 * xline - share perm xlines
485 * txline - share temp xlines
486 * unxline - share unxlines
487 * resv - share perm resvs
488 * tresv - share temp resvs
489 * unresv - share unresvs
490 * all - share all of the above
493 /* share klines/unklines/xlines with *.lan */
495 flags = kline, unkline, xline;
497 /* share locops with irc.ircd-ratbox.org and ircd.ircd-ratbox.org */
498 name = "irc.ircd-ratbox.org";
499 name = "ircd.ircd-ratbox.org";
503 /* service{}: privileged servers (services). These servers have extra
504 * privileges such as setting login names on users and introducing clients
505 * with umode +S (unkickable, hide channels, etc). This does not allow them
506 * to set bans, you need a separate shared{} for that.
507 * Do not place normal servers here.
508 * There may be only one service{} block.
511 /* name: the server name. These may be stacked. */
512 name = "services.int";
515 /* shared {}: users that are allowed to place remote bans on our server.
516 * NOTE: These are ordered top down. The first one the user@host and server
517 * matches will be used. Their access will then be decided on that
518 * block and will not fall back to another block that matches.
521 /* oper: the user@host and server the user must be on to set klines.
522 * The first field must be a user@host, the second field is an
523 * optional server. These may be stacked.
525 /* flags: list of what to allow them to place, all the oper lines
526 * above this (up until another flags entry) will receive these
527 * flags. This *must* be present.
529 * kline - allow setting perm/temp klines
530 * tkline - allow setting temp klines
531 * unkline - allow removing klines
532 * xline - allow setting perm/temp xlines
533 * txline - allow setting temp xlines
534 * unxline - allow removing xlines
535 * resv - allow setting perm/temp resvs
536 * tresv - allow setting temp resvs
537 * unresv - allow removing xlines
538 * all - allow oper/server to do all of above.
539 * locops - allow locops - only used for servers who cluster
540 * rehash - allow rehashing
541 * none - disallow everything
544 /* allow flame@*.leeh.co.uk on server irc.ircd-ratbox.org and
545 * allow leeh@*.leeh.co.uk on server ircd.ircd-ratbox.org to kline
547 oper = "flame@*.leeh.co.uk", "irc.ircd-ratbox.org";
548 oper = "leeh@*.leeh.co.uk", "ircd.ircd-ratbox.org";
551 /* you may forbid certain opers/servers from doing anything */
552 oper = "irc@vanity.oper", "*";
553 oper = "*@*", "irc.vanity.server";
554 oper = "irc@another.vanity.oper", "bigger.vanity.server";
557 /* or allow everyone to place temp klines */
562 /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
564 ip = "192.168.0.0/16";
566 /* these may be stacked */
571 /* The channel block contains options pertaining to channels */
573 /* invex: Enable/disable channel mode +I, a n!u@h list of masks
574 * that can join a +i channel without an invite.
578 /* except: Enable/disable channel mode +e, a n!u@h list of masks
579 * that can join a channel through a ban (+b).
583 /* forward: Enable/disable channel mode +f, a channel to forward
584 * users to if they can't join because of +i etc.
588 /* knock: Allows users to request an invite to a channel that
589 * is locked somehow (+ikl). If the channel is +p or you are banned
590 * the knock will not be sent.
594 /* knock delay: The amount of time a user must wait between issuing
597 knock_delay = 5 minutes;
599 /* knock channel delay: How often a knock to any specific channel
600 * is permitted, regardless of the user sending the knock.
602 knock_delay_channel = 1 minute;
604 /* max chans: The maximum number of channels a user can join/be on. */
605 max_chans_per_user = 15;
607 /* max bans: maximum number of +b/e/I/q modes in a channel */
610 /* max bans: maximum number of +b/e/I/q modes in a +L channel */
611 max_bans_large = 500;
613 /* splitcode: split users, split servers and either no join on split
614 * or no create on split must be enabled for split checking.
615 * splitmode will be entered on either split users or split servers
616 * dropping below the limit.
618 * you may force splitmode to be permanent by /quote set splitmode on
621 /* split users: when the usercount is lower than this level, consider
622 * ourselves split. this must be set for automatic splitmode
624 default_split_user_count = 0;
626 /* split servers: when the amount of servers that have acknowledged
627 * theyve finished bursting is lower than this, consider ourselves
628 * split. this must be set for automatic splitmode
630 default_split_server_count = 0;
632 /* split: no create: disallow users creating channels on split */
633 no_create_on_split = no;
635 /* split: no join: disallow users joining channels at all on a split */
636 no_join_on_split = no;
638 /* burst topicwho: when bursting topics, also burst the topic setter */
639 burst_topicwho = yes;
641 /* kick on split riding: kick users riding splits to join +i or +k
642 * channels. more precisely, if a bursting server sends an SJOIN
643 * for a channel with a lower TS with either a +i mode or a +k
644 * mode with a different key, kick all local users.
646 * note: this does not take +r, +b, +e and +I into account.
648 * warning: if there are any TS5 servers on the network, this
649 * will cause ban desyncs if they send such an SJOIN and the
650 * splitriders added any bans (our side will lose them, the TS5
651 * side will accept them). we will send a notice to the channel
652 * if this happens. most services do not send such SJOINs but
653 * ratbox-services does.
655 kick_on_split_riding = no;
659 /* The serverhide block contains the options regarding serverhiding */
661 /* flatten links: this option will show all servers in /links appear
662 * that they are linked to this current server
666 /* links delay: how often to update the links file when it is
669 links_delay = 5 minutes;
671 /* hidden: hide this server from a /links output on servers that
672 * support it. this allows hub servers to be hidden etc.
676 /* disable hidden: prevent servers hiding themselves from a
682 /* These are the blacklist settings.
683 * You can have multiple combinations of host and rejection reasons.
684 * They are used in pairs of one host/rejection reason, or multiple hosts/rejection reason.
686 * These settings should be adequate for most networks, and are (presently)
687 * required for use on AthemeNet.
689 * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
692 * As of charybdis 2.2, you can do some keyword substitution on the rejection
693 * reason. The available keyword substitutions are:
695 * ${ip} - the user's IP
696 * ${host} - the user's canonical hostname
697 * ${dnsbl-host} - the dnsbl hostname the lookup was done against
698 * ${nick} - the user's nickname
699 * ${network-name} - the name of the network
701 * Note: AHBL (the providers of the below BLs) request that they be
702 * contacted, via email, at admins@2mbit.com before using these BLs.
703 * See <http://www.ahbl.org/services.php> for more information.
706 # host = "ircbl.ahbl.org";
707 # 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.";
709 # host = "tor.ahbl.org";
710 # 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.";
714 * Alias blocks allow you to define custom commands. (Old m_sshortcut.c)
715 * They send PRIVMSG to the given target. A real command takes
716 * precedence above an alias.
719 /* the name must go above */
721 /* target: the target nick (must be a network service) or
722 * user@server (cannot be this server, only opers can use
723 * user starting with "opers" reliably, interpreted on the target
724 * server only so you may need to use nick@server instead)
757 /* The general block contains many of the options that were once compiled
758 * in options in config.h. The general block is read at start time.
761 /* hide error messages: defines whether error messages from
762 * servers are hidden or not. These can sometimes contain IPs and
763 * can have an adverse effect on server ip hiding. Set to:
764 * yes: hide from opers and admin
765 * opers: hide from opers only
766 * no: do not hide error messages
768 hide_error_messages = opers;
770 /* hide spoof ips: hide the real ips of auth{} spoofed users
771 * If disabled, local opers can see them.
772 * Dynamic spoofs (e.g. set by services) are unaffected by this;
773 * any oper (local and remote) can see the real ip.
774 * Warning: for whowas, this is checked when the client exits,
775 * not when the IP is shown.
777 hide_spoof_ips = yes;
779 /* default umodes: umodes to set upon connection
780 * If you have enabled the ip_cloaking extension, and you wish for
781 * incoming clients to be set +h upon connection, add +h to the umode
784 default_umodes = "+i";
786 /* default operstring: defines the default oper response
787 * in /whois queries, eg "is an IRC Operator".
788 * After startup use /quote set operstring to change.
790 default_operstring = "is an IRC Operator";
792 /* default adminstring: defines the default admin response
793 * in /whois queries, eg "is a Server Administrator".
794 * After startup use /quote set adminstring to change.
796 default_adminstring = "is a Server Administrator";
798 /* servicestring: defines the response for opered services (+S)
799 * in /whois queries, eg "is a Network Service".
800 * This is updated on rehash.
802 servicestring = "is a Network Service";
804 /* disable fake channels: disable local users joining fake versions
805 * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse,
806 * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively).
808 disable_fake_channels = no;
810 /* tkline_expire_notices: give a notice to opers when a tkline
813 tkline_expire_notices = no;
815 /* floodcount: the default value of floodcount that is configurable
816 * via /quote set floodcount. This is the amount of lines a user
817 * may send to any other user/channel in one second.
819 default_floodcount = 10;
821 /* failed oper notice: send a notice to all opers on the server when
822 * someone tries to OPER and uses the wrong password, host or ident.
824 failed_oper_notice = yes;
826 /* dots in ident: the amount of '.' characters permitted in an ident
827 * reply before the user is rejected.
831 /* dot in ipv6: ircd-hybrid-6.0 and earlier will disallow hosts
832 * without a '.' in them. this will add one to the end. only needed
835 dot_in_ip6_addr = no;
837 /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
838 * placed via the server. klines hand placed are exempt from limits.
839 * wildcard chars: '.' '*' '?' '@'
843 /* min nonwildcard simple: the minimum non wildcard characters in
844 * xlines/resvs placed via the server.
845 * wildcard chars: '*' '?'
847 min_nonwildcard_simple = 3;
849 /* max accept: maximum allowed /accept's for +g usermode */
852 /* max monitor: the maximum amount of nicknames a client may have in
853 * their monitor (server-side notify) list.
857 /* nick flood: enable the nickflood control code */
858 anti_nick_flood = yes;
860 /* nick flood: the nick changes allowed in the specified period */
861 max_nick_time = 20 seconds;
862 max_nick_changes = 5;
864 /* anti spam time: the minimum time a user must be connected before
865 * custom quit messages are allowed.
867 anti_spam_exit_message_time = 5 minutes;
869 /* ts delta: the time delta allowed between server clocks before
870 * a warning is given, or before the link is dropped. all servers
871 * should run ntpdate/rdate to keep clocks in sync
873 ts_warn_delta = 30 seconds;
874 ts_max_delta = 5 minutes;
876 /* client exit: prepend a users quit message with "Client exit: " */
879 /* collision fnc: change user's nick to their UID instead of
880 * killing them, if possible. This setting only applies to nick
881 * collisions detected on this server. Only enable this if
882 * all servers on the network allow remote nicks to start with
887 /* global snotices: send out certain snotices (most +b, +f, +y,
888 * some +s) to other servers via ENCAP SNOTE. Received SNOTEs are
889 * displayed unconditionally.
891 global_snotices = yes;
893 /* dline reason: show the user the dline reason when they connect
896 dline_with_reason = yes;
898 /* kline delay: delay the checking of klines until a specified time.
899 * Useful if large kline lists are applied often to prevent the
902 kline_delay = 0 seconds;
904 /* kline reason: show the user the reason why they are k/d/glined
905 * on exit. may give away who set k/dline when set via tcm.
907 kline_with_reason = yes;
909 /* kline reason: make the users quit message on channels this
910 * reason instead of the oper's reason.
912 kline_reason = "Connection closed";
914 /* identify to services via server password
915 * if auth{} block had no password but the user specified a
916 * server password anyway, send a PRIVMSG to <identify_service>
917 * with as text <identify_command> <password>.
919 identify_service = "NickServ@services.int";
920 identify_command = "IDENTIFY";
922 /* non redundant klines: flag and ignore redundant klines */
923 non_redundant_klines = yes;
925 /* warn no nline: warn opers about servers that try to connect but
926 * we dont have a connect {} block for. Twits with misconfigured
927 * servers can get really annoying with this enabled.
931 /* stats e disabled: disable stats e. useful if server ips are
932 * exempted and you dont want them listing on irc.
934 stats_e_disabled = no;
936 /* stats c oper only: make stats c (connect {}) oper only */
937 stats_c_oper_only=no;
939 /* stats h oper only: make stats h (hub_mask/leaf_mask) oper only */
940 stats_h_oper_only=no;
942 /* stats y oper only: make stats y (class {}) oper only */
943 stats_y_oper_only=no;
945 /* stats o oper only: make stats o (opers) oper only */
946 stats_o_oper_only=yes;
948 /* stats P oper only: make stats P (ports) oper only
949 * NOTE: users doing stats P will never be given the ips that the
950 * server listens on, simply the ports.
952 stats_P_oper_only=no;
954 /* stats i oper only: make stats i (auth {}) oper only. set to:
955 * yes: show users no auth blocks, made oper only.
956 * masked: show users first matching auth block
957 * no: show users all auth blocks.
959 stats_i_oper_only=masked;
961 /* stats k/K oper only: make stats k/K (klines) oper only. set to:
962 * yes: show users no auth blocks, made oper only
963 * masked: show users first matching auth block
964 * no: show users all auth blocks.
966 stats_k_oper_only=masked;
968 /* map oper only: make /map oper only */
971 /* operspy admin only: make operspy notices to +Z admin only */
972 operspy_admin_only = no;
974 /* operspy dont care user info: treat /who mask as if there was
975 * an '!' always; do not log or server notice about operspy
976 * /who mask, /masktrace and /scan. channel information is still
978 operspy_dont_care_user_info = no;
980 /* caller id wait: time between notifying a +g user that somebody
983 caller_id_wait = 1 minute;
985 /* pace wait simple: time between use of less intensive commands
986 * (HELP, remote WHOIS, WHOWAS)
988 pace_wait_simple = 1 second;
990 /* pace wait: time between more intensive commands
991 * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
993 pace_wait = 10 seconds;
995 /* short motd: send clients a notice telling them to read the motd
996 * instead of forcing a motd to clients who may simply ignore it.
1000 /* ping cookies: require clients to respond exactly to a ping command,
1001 * can help block certain types of drones and FTP PASV mode spoofing.
1005 /* connect timeout: sets how long we should wait for a connection
1006 * request to succeed
1008 connect_timeout = 30 seconds;
1010 /* disable auth: disables identd checking */
1013 /* no oper flood: increase flood limits for opers. */
1014 no_oper_flood = yes;
1016 /* glines: enable glines, network wide temp klines */
1019 /* gline time: the amount of time a gline will remain before expiring */
1022 /* gline_min_cidr: If using a CIDR gline, the minimum length the
1025 gline_min_cidr = 16;
1027 /* idletime: the maximum amount of time a user may idle before
1028 * they are disconnected
1032 /* REMOVE ME. The following line checks you've been reading. */
1033 havent_read_conf = yes;
1035 /* max targets: the maximum amount of targets in a single
1036 * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
1040 /* client flood: maximum number of lines in a clients queue before
1041 * they are dropped for flooding.
1045 /* use_whois_actually: send clients requesting a whois a numeric
1046 * giving the real IP of non-spoofed clients to prevent DNS abuse.
1048 use_whois_actually = yes;
1050 /* usermodes configurable: a list of usermodes for the options below
1052 * +g - callerid - Server Side Ignore
1053 * +D - deaf - Don't see channel messages
1054 * +i - invisible - Not shown in NAMES or WHO unless you share a
1056 * +l - locops - See LOCOPS messages
1057 * +Q - noforward - Unaffected by channel forwarding
1058 * +R - regonlymsg - No messages from unindentified
1059 * +s - servnotice - See server notices
1060 * +w - wallop - See oper and server generated WALLOPS
1061 * +z - operwall - See operwalls
1064 /* oper only umodes: usermodes only opers may set */
1065 oper_only_umodes = operwall, locops, servnotice;
1067 /* oper umodes: default usermodes opers get when they /oper */
1068 oper_umodes = locops, servnotice, operwall, wallop;
1070 /* oper snomask: default snomask opers get when they /oper,
1071 * provided they have umode +s set */
1072 oper_snomask = "+s";
1074 /* servlink path: path to 'servlink' program used by ircd to handle
1075 * encrypted/compressed server <-> server links.
1077 * only define if servlink is not in same directory as ircd itself.
1079 #servlink_path = "/usr/local/ircd/bin/servlink";
1081 /* use egd: if your system does not have *random devices yet you
1082 * want to use OpenSSL and encrypted links, enable this. Beware -
1083 * EGD is *very* CPU intensive when gathering data for its pool
1087 /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
1088 * which automatically finds the path.
1090 #egdpool_path = "/var/run/egd-pool";
1093 /* compression level: level of compression for compressed links between
1096 * values are between: 1 (least compression, fastest)
1097 * and: 9 (most compression, slowest).
1099 #compression_level = 6;
1101 /* burst_away: This enables bursting away messages to servers.
1102 * With this disabled, we will only propogate AWAY messages
1103 * as users send them, but never burst them. Be warned though
1104 * enabling this could increase the size of a burst significantly
1105 * for a large network, like EFnet.
1109 /* nick delay: This locks nicks of split clients for the given time
1110 * or until a remote client uses the nick. This significantly
1111 * reduces nick collisions on short splits but it can be annoying.
1112 * To make things as fair as possible, this should be the same on
1113 * all servers. If you enable this, the suggested value is 15 minutes.
1115 nick_delay = 0 seconds;
1117 /* reject time: the amount of rejections through klines/dlines etc
1118 * allowed in the given time before the rejection is cached and
1119 * a pseudo temp dline is placed
1121 reject_ban_time = 1 minute;
1122 reject_after_count = 3;
1124 /* reject duration: the amount of time to cache the rejection */
1125 reject_duration = 5 minutes;
1127 /* max_unknown_ip: maximum number of pending connections to the server
1128 * that are allowed per IP address
1134 /* module path: paths to search for modules specified below and
1137 path = "/usr/local/ircd/modules";
1138 path = "/usr/local/ircd/modules/autoload";
1140 /* module: the name of a module to load on startup/rehash */
1141 #module = "some_module.so";