1 /* doc/example.conf - brief 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 * $Id: example.conf 3195 2007-02-01 01:44:31Z jilles $
9 * See reference.conf for more information.
13 #loadmodule "extensions/createauthonly.so";
14 #loadmodule "extensions/extb_account.so";
15 #loadmodule "extensions/extb_canjoin.so";
16 #loadmodule "extensions/extb_channel.so";
17 #loadmodule "extensions/extb_extgecos.so";
18 #loadmodule "extensions/extb_oper.so";
19 #loadmodule "extensions/extb_realname.so";
20 #loadmodule "extensions/extb_server.so";
21 #loadmodule "extensions/hurt.so";
22 #loadmodule "extensions/ip_cloaking.so";
23 #loadmodule "extensions/m_findforwards.so";
24 #loadmodule "extensions/m_identify.so";
25 #loadmodule "extensions/no_oper_invis.so";
26 #loadmodule "extensions/sno_farconnect.so";
27 #loadmodule "extensions/sno_globalkline.so";
28 #loadmodule "extensions/sno_globaloper.so";
34 description = "charybdis test server";
35 network_name = "AthemeNET";
36 network_desc = "Your IRC network.";
39 /* On multi-homed hosts you may need the following. These define
40 * the addresses we connect from to other servers. */
42 #vhost = "192.169.0.1";
44 #vhost6 = "3ffe:80e8:546::2";
48 name = "Lazy admin (lazya)";
49 description = "AthemeNET client server";
50 email = "nobody@127.0.0.1";
54 fname_userlog = "logs/userlog";
55 #fname_fuserlog = "logs/fuserlog";
56 fname_operlog = "logs/operlog";
57 #fname_foperlog = "logs/foperlog";
58 fname_serverlog = "logs/serverlog";
59 fname_glinelog = "logs/glinelog";
60 #fname_klinelog = "logs/klinelog";
61 fname_killlog = "logs/killlog";
62 fname_operspylog = "logs/operspylog";
63 #fname_ioerrorlog = "logs/ioerror";
66 /* class {} blocks MUST be specified before anything that uses them. That
67 * means they must be defined before auth {} and before connect {}.
70 ping_time = 2 minutes;
71 number_per_ident = 10;
73 number_per_ip_global = 50;
81 ping_time = 5 minutes;
88 ping_time = 5 minutes;
89 connectfreq = 5 minutes;
95 /* If you want to listen on a specific IP only, specify host.
96 * host definitions apply only to the following port line.
98 #host = "192.169.0.1";
99 port = 5000, 6665 .. 6669;
101 /* Listen on IPv6 (if you used host= above). */
102 #host = "3ffe:1234:a:b:c::d";
103 #port = 5000, 6665 .. 6669;
106 /* auth {}: allow users to connect to the ircd (OLD I:)
107 * auth {} blocks MUST be specified in order of precedence. The first one
108 * that matches a user will be used. So place spoofs first, then specials,
109 * then general access, then restricted.
112 /* user: the user@host allowed to connect. multiple IPv4/IPv6 user
113 * lines are permitted per auth block.
115 user = "*@172.16.0.0/12";
116 user = "*test@123D:B567:*";
118 /* password: an optional password that is required to use this block.
119 * By default this is not encrypted, specify the flag "encrypted" in
120 * flags = ...; below if it is.
122 password = "letmein";
124 /* spoof: fake the users user@host to be be this. You may either
125 * specify a host or a user@host to spoof to. This is free-form,
126 * just do everyone a favour and dont abuse it. (OLD I: = flag)
128 spoof = "I.still.hate.packets";
130 /* Possible flags in auth:
132 * encrypted | password is encrypted with mkpasswd
133 * spoof_notice | give a notice when spoofing hosts
134 * exceed_limit (old > flag) | allow user to exceed class user limits
135 * kline_exempt (old ^ flag) | exempt this user from k/g/xlines&dnsbls
136 * dnsbl_exempt | exempt this user from dnsbls
137 * gline_exempt (old _ flag) | exempt this user from glines
138 * spambot_exempt | exempt this user from spambot checks
139 * shide_exempt | exempt this user from serverhiding
140 * jupe_exempt | exempt this user from generating
141 * warnings joining juped channels
142 * resv_exempt | exempt this user from resvs
143 * flood_exempt | exempt this user from flood limits
145 * no_tilde (old - flag) | don't prefix ~ to username if no ident
146 * need_ident (old + flag) | require ident for user in this class
147 * need_sasl | require SASL id for user in this class
149 flags = kline_exempt, exceed_limit;
151 /* class: the class the user is placed in */
161 /* name: the name of the oper must go above */
163 /* user: the user@host required for this operator. CIDR *is*
164 * supported now. auth{} spoofs work here, other spoofs do not.
165 * multiple user="" lines are supported.
167 user = "*god@127.0.0.1";
169 /* password: the password required to oper. Unless ~encrypted is
170 * contained in flags = ...; this will need to be encrypted using
171 * mkpasswd, MD5 is supported
173 password = "etcnjl8juSU1E";
175 /* rsa key: the public key for this oper when using Challenge.
176 * A password should not be defined when this is used, see
177 * doc/challenge.txt for more information.
179 #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
181 /* umodes: the specific umodes this oper gets when they oper.
182 * If this is specified an oper will not be given oper_umodes
183 * These are described above oper_only_umodes in general {};
185 #umodes = locops, servnotice, operwall, wallop;
187 /* snomask: specific server notice mask on oper up.
188 * If this is specified an oper will not be given oper_snomask.
190 snomask = "+Zbfkrsuy";
192 /* privileges: controls the activities and commands an oper is
193 * allowed to do on the server. You may prefix an option with ~ to
194 * disable it, ie ~operwall
196 * Default flags are operwall, remoteban and encrypted.
200 * encrypted: the password above is encrypted [DEFAULT]
201 * local_kill: allows local users to be /KILL'd
202 * global_kill: allows local and remote users to be
203 * /KILL'd (OLD 'O' flag)
204 * remote: allows remote SQUIT and CONNECT (OLD 'R' flag)
205 * kline: allows KILL, KLINE and DLINE (OLD 'K' flag)
206 * unkline: allows UNKLINE and UNDLINE (OLD 'U' flag)
207 * gline: allows GLINE (OLD 'G' flag)
208 * nick_changes: allows oper to see nickchanges (OLD 'N' flag)
210 * rehash: allows oper to REHASH config (OLD 'H' flag)
211 * die: allows DIE and RESTART (OLD 'D' flag)
212 * admin: gives admin privileges. admins
213 * may (un)load modules and see the
214 * real IPs of servers.
215 * hidden_admin: gives admin privileges except
216 * will not have the admin lines in
218 * xline: allows use of /quote xline/unxline
219 * operwall: allows the oper to send operwalls [DEFAULT]
220 * oper_spy: allows 'operspy' features to see through +s
221 * channels etc. see /quote help operspy
222 * hidden_oper: hides the oper from /stats p (OLD UMODE +p)
223 * remoteban: allows remote kline etc [DEFAULT]
225 flags = global_kill, remote, kline, unkline, gline,
226 die, rehash, admin, xline, operwall;
229 connect "irc.uplink.com" {
230 host = "192.168.0.1";
231 send_password = "password";
232 accept_password = "anotherpassword";
236 flags = compressed, topicburst;
238 /* If the connection is IPv6, uncomment below */
243 name = "services.int";
248 flags = kline, tkline, unkline, xline, txline, unxline, resv, tresv, unresv;
256 /* exempt {}: IPs that are exempt from Dlines. (OLD d:) */
266 invite_ops_only = yes;
267 knock_delay = 5 minutes;
268 knock_delay_channel = 1 minute;
269 max_chans_per_user = 15;
271 max_bans_large = 500;
272 default_split_user_count = 0;
273 default_split_server_count = 0;
274 no_create_on_split = no;
275 no_join_on_split = no;
276 burst_topicwho = yes;
277 kick_on_split_riding = no;
282 links_delay = 5 minutes;
287 /* These are the blacklist settings.
288 * You can have multiple combinations of host and rejection reasons.
289 * They are used in pairs of one host/rejection reason, or multiple hosts/rejection reason.
291 * These settings should be adequate for most networks, and are (presently)
292 * required for use on AthemeNet.
294 * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
297 * As of charybdis 2.1.3, you can do some keyword substitution on the rejection
298 * reason. The available keyword substitutions are:
300 * ${ip} - the user's IP
301 * ${host} - the user's canonical hostname
302 * ${dnsbl-host} - the dnsbl hostname the lookup was done against
303 * ${nick} - the user's nickname
304 * ${network-name} - the name of the network
306 * Note: AHBL (the providers of the below BLs) request that they be
307 * contacted, via email, at admins@2mbit.com before using these BLs.
308 * See <http://www.ahbl.org/services.php> for more information.
311 # host = "ircbl.ahbl.org";
312 # 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.";
314 # host = "tor.ahbl.org";
315 # 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.";
351 hide_error_messages = opers;
352 hide_spoof_ips = yes;
355 * default_umodes: umodes to enable on connect.
356 * If you have enabled the ip_cloaking module, and you want
357 * to make use of it, add +h to this option, i.e.:
358 * default_umodes = "+ih";
360 default_umodes = "+i";
362 default_operstring = "is an IRC Operator";
363 default_adminstring = "is a Server Administrator";
364 servicestring = "is a Network Service";
365 disable_fake_channels = no;
366 tkline_expire_notices = no;
367 default_floodcount = 10;
368 failed_oper_notice = yes;
370 dot_in_ip6_addr = no;
372 min_nonwildcard_simple = 3;
375 anti_nick_flood = yes;
376 max_nick_time = 20 seconds;
377 max_nick_changes = 5;
378 anti_spam_exit_message_time = 5 minutes;
379 ts_warn_delta = 30 seconds;
380 ts_max_delta = 5 minutes;
383 global_snotices = yes;
384 dline_with_reason = yes;
385 kline_delay = 0 seconds;
386 kline_with_reason = yes;
387 kline_reason = "K-Lined";
388 identify_service = "NickServ@services.int";
389 identify_command = "IDENTIFY";
390 non_redundant_klines = yes;
392 stats_e_disabled = no;
393 stats_c_oper_only=no;
394 stats_h_oper_only=no;
395 stats_y_oper_only=no;
396 stats_o_oper_only=yes;
397 stats_P_oper_only=no;
398 stats_i_oper_only=masked;
399 stats_k_oper_only=masked;
401 operspy_admin_only = no;
402 operspy_dont_care_user_info = no;
403 caller_id_wait = 1 minute;
404 pace_wait_simple = 1 second;
405 pace_wait = 10 seconds;
408 connect_timeout = 30 seconds;
417 use_whois_actually = no;
418 oper_only_umodes = operwall, locops, servnotice;
419 oper_umodes = locops, servnotice, operwall, wallop;
422 nick_delay = 0 seconds; # 15 minutes if you want to enable this
423 reject_ban_time = 1 minute;
424 reject_after_count = 3;
425 reject_duration = 5 minutes;
430 path = "modules/autoload";