]>
Commit | Line | Data |
---|---|---|
212380e3 AC |
1 | /* doc/reference.conf - charybdis Example configuration file |
2 | * | |
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 | |
6 | * | |
7 | * Written by ejb, wcampbel, db, leeh and others | |
8 | * | |
407b1826 | 9 | * $Id: reference.conf 3582 2007-11-17 21:55:48Z jilles $ |
212380e3 AC |
10 | */ |
11 | ||
12 | /* IMPORTANT NOTES: | |
13 | * | |
14 | * class {} blocks MUST be specified before anything that uses them. That | |
15 | * means they must be defined before auth {} and before connect {}. | |
16 | * | |
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. | |
20 | * | |
21 | * Both shell style (#) and C style comments are supported. | |
22 | * | |
23 | * Files may be included by either: | |
24 | * .include "filename" | |
25 | * .include <filename> | |
26 | * | |
27 | * Times/durations are written as: | |
28 | * 12 hours 30 minutes 1 second | |
29 | * | |
30 | * Valid units of time: | |
31 | * month, week, day, hour, minute, second | |
32 | * | |
33 | * Valid units of size: | |
34 | * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte | |
35 | * | |
36 | * Sizes and times may be singular or plural. | |
37 | */ | |
38 | ||
39 | /* Extensions: | |
40 | * | |
41 | * Charybdis contains several extensions that are not enabled by default. | |
42 | * To use them, uncomment the lines below. | |
43 | * | |
dbbe26fa VY |
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/g/x line active notices -- sno_globalkline.so | |
63 | * Remote oper up notices -- sno_globaloper.so | |
64 | * /whois notifications (snomask +W) -- sno_whois.so | |
212380e3 | 65 | */ |
dbbe26fa VY |
66 | #loadmodule "extensions/chm_operonly_compat.so"; |
67 | #loadmodule "extensions/chm_quietunreg_compat.so"; | |
68 | #loadmodule "extensions/chm_sslonly_compat.so"; | |
212380e3 AC |
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"; | |
dbbe26fa | 77 | #loadmodule "extensions/extb_ssl.so"; |
212380e3 AC |
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"; | |
446d88dd | 86 | #loadmodule "extensions/sno_whois.so"; |
212380e3 AC |
87 | |
88 | /* serverinfo {}: Contains information about the server. (OLD M:) */ | |
89 | serverinfo { | |
90 | /* name: the name of our server */ | |
91 | name = "hades.arpa"; | |
92 | ||
212380e3 AC |
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]. | |
96 | * | |
cda8e9b8 | 97 | * This parameter must be specified for the server to start. |
212380e3 AC |
98 | */ |
99 | sid = "42X"; | |
100 | ||
101 | /* description: the description of our server. '[' and ']' may not | |
102 | * be used here for compatibility with older servers. | |
103 | */ | |
104 | description = "charybdis test server"; | |
105 | ||
106 | /* network info: the name and description of the network this server | |
107 | * is on. Shown in the 005 reply and used with serverhiding. | |
108 | */ | |
109 | network_name = "MyNet"; | |
110 | network_desc = "This is My Network"; | |
111 | ||
112 | /* hub: allow this server to act as a hub and have multiple servers | |
113 | * connected to it. | |
114 | */ | |
115 | hub = no; | |
116 | ||
117 | /* vhost: the IP to bind to when we connect outward to ipv4 servers. | |
118 | * This should be an ipv4 IP only. | |
119 | */ | |
120 | #vhost = "192.169.0.1"; | |
121 | ||
122 | /* vhost6: the IP to bind to when we connect outward to ipv6 servers. | |
123 | * This should be an ipv6 IP only. | |
124 | */ | |
125 | #vhost6 = "3ffe:80e8:546::2"; | |
c6d72037 | 126 | |
b8730cbf VY |
127 | /* ssl_private_key: our ssl private key */ |
128 | ssl_private_key = "etc/test.key"; | |
129 | ||
130 | /* ssl_cert: certificate for our ssl server */ | |
131 | ssl_cert = "etc/test.cert"; | |
132 | ||
133 | /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ | |
134 | ssl_dh_params = "etc/dh.pem"; | |
135 | ||
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 | |
138 | */ | |
139 | ssld_count = 1; | |
140 | ||
141 | /* default max clients: the default maximum number of clients | |
142 | * allowed to connect. This can be changed once ircd has started by | |
143 | * issuing: | |
144 | * /quote set maxclients <limit> | |
c2d96fcb | 145 | */ |
101db4c4 | 146 | default_max_clients = 1024; |
212380e3 AC |
147 | }; |
148 | ||
149 | /* admin {}: contains admin information about the server. (OLD A:) */ | |
150 | admin { | |
151 | name = "Smurf target"; | |
152 | description = "Main Server Administrator"; | |
153 | email = "<syn@packets.r.us>"; | |
154 | }; | |
155 | ||
156 | /* log {}: contains information about logfiles. */ | |
157 | log { | |
158 | /* logfiles: the logfiles to use for specific activity. if these | |
159 | * paths are defined, then ircd will log to them, otherwise it wont. | |
160 | * | |
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 | * - glinelog: glines | |
168 | * - klinelog: klines, etc | |
169 | * - killlog: kills | |
170 | * - operspylog: operspy usage | |
171 | * - ioerrorlog: IO errors | |
172 | */ | |
173 | fname_userlog = "logs/userlog"; | |
174 | #fname_fuserlog = "logs/fuserlog"; | |
175 | fname_operlog = "logs/operlog"; | |
176 | #fname_foperlog = "logs/foperlog"; | |
177 | fname_serverlog = "logs/serverlog"; | |
178 | fname_glinelog = "logs/glinelog"; | |
179 | #fname_klinelog = "logs/klinelog"; | |
180 | fname_killlog = "logs/killlog"; | |
181 | fname_operspylog = "logs/operspylog"; | |
182 | #fname_ioerrorlog = "logs/ioerror"; | |
183 | }; | |
184 | ||
185 | /* class {}: contain information about classes for users (OLD Y:) */ | |
186 | class "users" { | |
187 | /* class name must go above */ | |
188 | ||
189 | /* ping time: how often a client must reply to a PING from the | |
190 | * server before they are dropped. | |
191 | */ | |
192 | ping_time = 2 minutes; | |
193 | ||
194 | /* number per ident: the number of users per user@host networkwide | |
195 | * allowed to connect. Unidented connections are classified as | |
196 | * the same ident. | |
197 | */ | |
198 | number_per_ident = 2; | |
199 | ||
200 | /* number per ip: the number of local users per host allowed */ | |
201 | number_per_ip = 3; | |
202 | ||
203 | /* number per ip global: the number of network wide connections | |
204 | * per host allowed for a user, including connections to the | |
205 | * local server. | |
206 | */ | |
207 | number_per_ip_global = 5; | |
208 | ||
209 | /* cidr_bitlen: Limits numbers of connections from a subnet size | |
210 | * the following example makes the subnet /64 this is useful | |
211 | * for IPv6 connections in particular | |
212 | * Also note that the way charybdis is written if you have | |
213 | * compiled support for IPv6, IPv4 cidr bitlens need to be modified | |
214 | * Basically to get the approriate length add 96 to the IPv4 length | |
215 | * For example for a /24 do 96+24 = 120 | |
216 | * | |
217 | */ | |
218 | cidr_bitlen = 64; | |
219 | ||
220 | /* number_per_cidr: Number of connections to allow from a subnet of the | |
221 | * size given in cidr_bitlen. 4 seems to be a good default to me. | |
222 | */ | |
223 | number_per_cidr = 4; | |
224 | ||
225 | /* max number: the maximum number of users allowed in this class */ | |
226 | max_number = 100; | |
227 | ||
228 | /* sendq: the amount of data allowed in a clients queue before | |
229 | * they are dropped. | |
230 | */ | |
231 | sendq = 100 kbytes; | |
232 | }; | |
233 | ||
234 | class "restricted" { | |
235 | ping_time = 1 minute 30 seconds; | |
236 | number_per_ip = 1; | |
237 | max_number = 100; | |
238 | sendq = 60kb; | |
239 | }; | |
240 | ||
241 | class "opers" { | |
242 | ping_time = 5 minutes; | |
243 | number_per_ip = 10; | |
244 | max_number = 100; | |
245 | sendq = 100kbytes; | |
246 | }; | |
247 | ||
248 | class "server" { | |
249 | ping_time = 5 minutes; | |
250 | ||
251 | /* connectfreq: only used in server classes. specifies the delay | |
252 | * between autoconnecting to servers. | |
253 | */ | |
254 | connectfreq = 5 minutes; | |
255 | ||
256 | /* max number: the amount of servers to autoconnect to */ | |
257 | max_number = 1; | |
258 | ||
259 | /* sendq: servers need a higher sendq as they are sent more data */ | |
260 | sendq=2 megabytes; | |
261 | }; | |
262 | ||
263 | /* listen {}: contain information about the ports ircd listens on (OLD P:) */ | |
264 | listen { | |
265 | /* port: the specific port to listen on. if no host is specified | |
266 | * before, it will listen on all available IPs. | |
267 | * | |
b8730cbf VY |
268 | * sslport: the specific port to listen ssl connections on. if no |
269 | * host is specified before, it will listen on all available IPs. | |
270 | * | |
212380e3 AC |
271 | * ports are seperated via a comma, a range may be specified using ".." |
272 | */ | |
273 | ||
274 | /* port: listen on all available IPs, ports 5000 and 6665 to 6669 */ | |
275 | port = 5000, 6665 .. 6669; | |
b8730cbf VY |
276 | |
277 | /* sslport: listen for ssl connections on all available IPs, port 9999 */ | |
278 | sslport = 9999; | |
212380e3 AC |
279 | |
280 | /* host: set a specific IP/host the ports after the line will listen | |
281 | * on. This may be ipv4 or ipv6. | |
282 | */ | |
283 | host = "1.2.3.4"; | |
284 | port = 7000, 7001; | |
b8730cbf | 285 | sslport = 9000, 9001; |
212380e3 AC |
286 | |
287 | host = "3ffe:1234:a:b:c::d"; | |
288 | port = 7002; | |
b8730cbf | 289 | sslport = 9002; |
212380e3 AC |
290 | }; |
291 | ||
292 | /* auth {}: allow users to connect to the ircd (OLD I:) */ | |
293 | auth { | |
b0dc8e03 JT |
294 | /* user: the user@host allowed to connect. Multiple IPv4/IPv6 user |
295 | * lines are permitted per auth block. This is matched against the | |
296 | * hostname and IP address (using :: shortening for IPv6 and | |
297 | * prepending a 0 if it starts with a colon) and can also use CIDR | |
298 | * masks. | |
212380e3 AC |
299 | */ |
300 | user = "*@172.16.0.0/12"; | |
301 | user = "*test@123D:B567:*"; | |
302 | ||
303 | /* password: an optional password that is required to use this block. | |
304 | * By default this is not encrypted, specify the flag "encrypted" in | |
305 | * flags = ...; below if it is. | |
306 | */ | |
307 | password = "letmein"; | |
308 | ||
309 | /* spoof: fake the users user@host to be be this. You may either | |
310 | * specify a host or a user@host to spoof to. This is free-form, | |
311 | * just do everyone a favour and dont abuse it. (OLD I: = flag) | |
312 | */ | |
313 | spoof = "I.still.hate.packets"; | |
314 | ||
315 | /* Possible flags in auth: | |
316 | * | |
317 | * encrypted | password is encrypted with mkpasswd | |
318 | * spoof_notice | give a notice when spoofing hosts | |
319 | * exceed_limit (old > flag) | allow user to exceed class user limits | |
320 | * kline_exempt (old ^ flag) | exempt this user from k/g/xlines&dnsbls | |
321 | * dnsbl_exempt | exempt this user from dnsbls | |
322 | * gline_exempt (old _ flag) | exempt this user from glines | |
323 | * spambot_exempt | exempt this user from spambot checks | |
324 | * shide_exempt | exempt this user from serverhiding | |
325 | * jupe_exempt | exempt this user from generating | |
326 | * warnings joining juped channels | |
327 | * resv_exempt | exempt this user from resvs | |
328 | * flood_exempt | exempt this user from flood limits | |
329 | * USE WITH CAUTION. | |
330 | * no_tilde (old - flag) | don't prefix ~ to username if no ident | |
331 | * need_ident (old + flag) | require ident for user in this class | |
332 | * need_sasl | require SASL id for user in this class | |
333 | */ | |
334 | flags = kline_exempt, exceed_limit; | |
335 | ||
336 | /* class: the class the user is placed in */ | |
337 | class = "opers"; | |
338 | }; | |
339 | ||
340 | auth { | |
341 | /* redirect: the server and port to redirect a user to. A user does | |
342 | * not have to obey the redirection, the ircd just suggests to them | |
343 | * an alternative server. | |
344 | */ | |
345 | redirserv = "irc.some.domain"; | |
346 | redirport = 6667; | |
347 | ||
348 | user = "*.some.domain"; | |
349 | ||
350 | /* class: a class is required even though it is not used */ | |
351 | class = "users"; | |
352 | }; | |
353 | ||
354 | auth { | |
355 | user = "*@*"; | |
356 | class = "users"; | |
357 | ||
358 | flags = need_ident; | |
359 | }; | |
360 | ||
361 | /* operator {}: defines ircd operators. (OLD O:) | |
362 | * charybdis no longer supports local operators, privileges are | |
363 | * controlled via flags. | |
364 | */ | |
365 | operator "god" { | |
366 | /* name: the name of the oper must go above */ | |
367 | ||
368 | /* user: the user@host required for this operator. CIDR *is* | |
369 | * supported now. auth{} spoofs work here, other spoofs do not. | |
370 | * multiple user="" lines are supported. | |
371 | */ | |
372 | user = "*god@*"; | |
373 | user = "*@127.0.0.1"; | |
374 | ||
375 | /* password: the password required to oper. Unless ~encrypted is | |
376 | * contained in flags = ...; this will need to be encrypted using | |
377 | * mkpasswd, MD5 is supported | |
378 | */ | |
379 | password = "etcnjl8juSU1E"; | |
380 | ||
381 | /* rsa key: the public key for this oper when using Challenge. | |
382 | * A password should not be defined when this is used, see | |
383 | * doc/challenge.txt for more information. | |
384 | */ | |
385 | #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; | |
386 | ||
387 | /* umodes: the specific umodes this oper gets when they oper. | |
388 | * If this is specified an oper will not be given oper_umodes | |
389 | * These are described above oper_only_umodes in general {}; | |
390 | */ | |
391 | #umodes = locops, servnotice, operwall, wallop; | |
392 | ||
393 | /* snomask: specific server notice mask on oper up. | |
394 | * If this is specified an oper will not be given oper_snomask. | |
395 | */ | |
396 | snomask = "+Zbfkrsuy"; | |
397 | ||
398 | /* privileges: controls the activities and commands an oper is | |
399 | * allowed to do on the server. You may prefix an option with ~ to | |
400 | * disable it, ie ~operwall | |
401 | * | |
402 | * Default flags are operwall, remoteban and encrypted. | |
403 | * | |
404 | * Available options: | |
405 | * | |
406 | * encrypted: the password above is encrypted [DEFAULT] | |
407 | * local_kill: allows local users to be /KILL'd | |
408 | * global_kill: allows local and remote users to be | |
409 | * /KILL'd (OLD 'O' flag) | |
410 | * remote: allows remote SQUIT and CONNECT (OLD 'R' flag) | |
407b1826 | 411 | * kline: allows KLINE and DLINE (OLD 'K' flag) |
212380e3 AC |
412 | * unkline: allows UNKLINE and UNDLINE (OLD 'U' flag) |
413 | * gline: allows GLINE (OLD 'G' flag) | |
414 | * nick_changes: allows oper to see nickchanges (OLD 'N' flag) | |
407b1826 | 415 | * via snomask +n |
212380e3 AC |
416 | * rehash: allows oper to REHASH config (OLD 'H' flag) |
417 | * die: allows DIE and RESTART (OLD 'D' flag) | |
418 | * admin: gives admin privileges. admins | |
419 | * may (un)load modules and see the | |
420 | * real IPs of servers. | |
421 | * hidden_admin: gives admin privileges except | |
422 | * will not have the admin lines in | |
423 | * stats p and whois. | |
424 | * xline: allows use of /quote xline/unxline | |
1ef5b430 | 425 | * resv: allows /quote resv/unresv and cmode +LP [DEFAULT] |
407b1826 | 426 | * operwall: allows the oper to send/receive operwalls [DEFAULT] |
212380e3 AC |
427 | * oper_spy: allows 'operspy' features to see through +s |
428 | * channels etc. see /quote help operspy | |
429 | * hidden_oper: hides the oper from /stats p (OLD UMODE +p) | |
430 | * remoteban: allows remote kline etc [DEFAULT] | |
a6f4368b | 431 | * mass_notice: allows sending wallops and mass notices [DEFAULT] |
212380e3 AC |
432 | */ |
433 | flags = global_kill, remote, kline, unkline, gline, | |
434 | die, rehash, admin, xline, operwall; | |
435 | }; | |
436 | ||
437 | /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */ | |
438 | connect "irc.uplink.com" { | |
439 | /* the name must go above */ | |
440 | ||
441 | /* host: the host or IP to connect to. If a hostname is used it | |
442 | * must match the reverse dns of the server. | |
443 | */ | |
444 | host = "192.168.0.1"; | |
445 | ||
446 | /* vhost: the host or IP to bind to for this connection. If this | |
447 | * is not specified, the default vhost (in serverinfo {}) is used. | |
448 | */ | |
449 | #vhost = "192.168.0.50"; | |
450 | ||
451 | /* passwords: the passwords we send (OLD C:) and accept (OLD N:). | |
452 | * The remote server will have these passwords reversed. | |
453 | */ | |
454 | send_password = "password"; | |
455 | accept_password = "anotherpassword"; | |
456 | ||
457 | /* port: the port to connect to this server on */ | |
458 | port = 6666; | |
459 | ||
460 | /* hub mask: the mask of servers that this server may hub. Multiple | |
461 | * entries are permitted | |
462 | */ | |
463 | hub_mask = "*"; | |
464 | ||
465 | /* leaf mask: the mask of servers this server may not hub. Multiple | |
466 | * entries are permitted. Useful for forbidding EU -> US -> EU routes. | |
467 | */ | |
468 | #leaf_mask = "*.uk"; | |
469 | ||
470 | /* class: the class this server is in */ | |
471 | class = "server"; | |
472 | ||
473 | /* flags: controls special options for this server | |
474 | * encrypted - marks the accept_password as being crypt()'d | |
475 | * autoconn - automatically connect to this server | |
476 | * compressed - compress traffic via ziplinks | |
477 | * topicburst - burst topics between servers | |
b8730cbf | 478 | * ssl - ssl/tls encrypted server connections |
212380e3 AC |
479 | */ |
480 | flags = compressed, topicburst; | |
481 | }; | |
482 | ||
483 | connect "ipv6.some.server" { | |
b0dc8e03 JT |
484 | /* Hosts that are IPv6 addresses must be in :: shortened form |
485 | * if applicable. Addresses starting with a colon get an extra | |
486 | * zero prepended, for example: 0::1 | |
487 | */ | |
212380e3 AC |
488 | host = "3ffd:dead:beef::1"; |
489 | send_password = "password"; | |
490 | accept_password = "password"; | |
491 | port = 6666; | |
492 | ||
493 | /* aftype: controls whether the connection uses "ipv4" or "ipv6". | |
494 | * Default is ipv4. | |
495 | */ | |
496 | aftype = ipv6; | |
497 | class = "server"; | |
498 | }; | |
499 | ||
b8730cbf VY |
500 | connect "ssl.uplink.com" { |
501 | /* Example of ssl server-to-server connection, ssl flag doesn't need | |
502 | * compressed flag, 'cause it uses own compression | |
503 | */ | |
504 | host = "192.168.0.1"; | |
505 | send_password = "password"; | |
506 | accept_password = "anotherpassword"; | |
507 | port = 9999; | |
508 | hub_mask = "*"; | |
509 | class = "server"; | |
510 | flags = ssl, topicburst; | |
511 | }; | |
512 | ||
212380e3 AC |
513 | /* cluster {}; servers that we propagate things to automatically. |
514 | * NOTE: This does NOT grant them privileges to apply anything locally, | |
515 | * you must add a seperate shared block for that. Clustering will | |
516 | * only be done for actions by LOCAL opers, that arent directed | |
517 | * remotely. | |
518 | */ | |
519 | cluster { | |
520 | /* name: the server to share with, this can be a wildcard and may be | |
521 | * stacked. | |
522 | */ | |
523 | /* flags: list of what to share, all the name lines above this (up | |
524 | * until another flags entry) will receive these flags. | |
525 | * | |
526 | * kline - share perm klines | |
527 | * tkline - share temp klines | |
528 | * unkline - share unklines | |
529 | * locops - share locops | |
530 | * xline - share perm xlines | |
531 | * txline - share temp xlines | |
532 | * unxline - share unxlines | |
533 | * resv - share perm resvs | |
534 | * tresv - share temp resvs | |
535 | * unresv - share unresvs | |
536 | * all - share all of the above | |
537 | */ | |
538 | ||
539 | /* share klines/unklines/xlines with *.lan */ | |
540 | name = "*.lan"; | |
541 | flags = kline, unkline, xline; | |
542 | ||
543 | /* share locops with irc.ircd-ratbox.org and ircd.ircd-ratbox.org */ | |
544 | name = "irc.ircd-ratbox.org"; | |
545 | name = "ircd.ircd-ratbox.org"; | |
546 | flags = locops; | |
547 | }; | |
548 | ||
549 | /* service{}: privileged servers (services). These servers have extra | |
550 | * privileges such as setting login names on users and introducing clients | |
551 | * with umode +S (unkickable, hide channels, etc). This does not allow them | |
552 | * to set bans, you need a separate shared{} for that. | |
553 | * Do not place normal servers here. | |
554 | * There may be only one service{} block. | |
555 | */ | |
556 | service { | |
557 | /* name: the server name. These may be stacked. */ | |
558 | name = "services.int"; | |
559 | }; | |
560 | ||
561 | /* shared {}: users that are allowed to place remote bans on our server. | |
562 | * NOTE: These are ordered top down. The first one the user@host and server | |
563 | * matches will be used. Their access will then be decided on that | |
564 | * block and will not fall back to another block that matches. | |
565 | */ | |
566 | shared { | |
567 | /* oper: the user@host and server the user must be on to set klines. | |
568 | * The first field must be a user@host, the second field is an | |
569 | * optional server. These may be stacked. | |
570 | */ | |
571 | /* flags: list of what to allow them to place, all the oper lines | |
572 | * above this (up until another flags entry) will receive these | |
573 | * flags. This *must* be present. | |
574 | * | |
575 | * kline - allow setting perm/temp klines | |
576 | * tkline - allow setting temp klines | |
577 | * unkline - allow removing klines | |
578 | * xline - allow setting perm/temp xlines | |
579 | * txline - allow setting temp xlines | |
580 | * unxline - allow removing xlines | |
581 | * resv - allow setting perm/temp resvs | |
582 | * tresv - allow setting temp resvs | |
583 | * unresv - allow removing xlines | |
584 | * all - allow oper/server to do all of above. | |
585 | * locops - allow locops - only used for servers who cluster | |
586 | * rehash - allow rehashing | |
587 | * none - disallow everything | |
588 | */ | |
589 | ||
590 | /* allow flame@*.leeh.co.uk on server irc.ircd-ratbox.org and | |
591 | * allow leeh@*.leeh.co.uk on server ircd.ircd-ratbox.org to kline | |
592 | */ | |
593 | oper = "flame@*.leeh.co.uk", "irc.ircd-ratbox.org"; | |
594 | oper = "leeh@*.leeh.co.uk", "ircd.ircd-ratbox.org"; | |
595 | flags = kline; | |
596 | ||
597 | /* you may forbid certain opers/servers from doing anything */ | |
598 | oper = "irc@vanity.oper", "*"; | |
599 | oper = "*@*", "irc.vanity.server"; | |
600 | oper = "irc@another.vanity.oper", "bigger.vanity.server"; | |
601 | flags = none; | |
602 | ||
603 | /* or allow everyone to place temp klines */ | |
604 | oper = "*@*"; | |
605 | flags = tkline; | |
606 | }; | |
607 | ||
b808adf9 | 608 | /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */ |
212380e3 AC |
609 | exempt { |
610 | ip = "192.168.0.0/16"; | |
611 | ||
612 | /* these may be stacked */ | |
613 | ip = "127.0.0.1"; | |
614 | ip = "10.0.0.0/8"; | |
615 | }; | |
616 | ||
617 | /* The channel block contains options pertaining to channels */ | |
618 | channel { | |
619 | /* invex: Enable/disable channel mode +I, a n!u@h list of masks | |
620 | * that can join a +i channel without an invite. | |
621 | */ | |
622 | use_invex = yes; | |
623 | ||
624 | /* except: Enable/disable channel mode +e, a n!u@h list of masks | |
625 | * that can join a channel through a ban (+b). | |
626 | */ | |
627 | use_except = yes; | |
628 | ||
629 | /* forward: Enable/disable channel mode +f, a channel to forward | |
630 | * users to if they can't join because of +i etc. | |
631 | */ | |
632 | use_forward = yes; | |
633 | ||
634 | /* knock: Allows users to request an invite to a channel that | |
635 | * is locked somehow (+ikl). If the channel is +p or you are banned | |
636 | * the knock will not be sent. | |
637 | */ | |
638 | use_knock = yes; | |
639 | ||
212380e3 AC |
640 | /* knock delay: The amount of time a user must wait between issuing |
641 | * the knock command. | |
642 | */ | |
643 | knock_delay = 5 minutes; | |
644 | ||
645 | /* knock channel delay: How often a knock to any specific channel | |
646 | * is permitted, regardless of the user sending the knock. | |
647 | */ | |
648 | knock_delay_channel = 1 minute; | |
649 | ||
650 | /* max chans: The maximum number of channels a user can join/be on. */ | |
651 | max_chans_per_user = 15; | |
652 | ||
653 | /* max bans: maximum number of +b/e/I/q modes in a channel */ | |
654 | max_bans = 25; | |
655 | ||
656 | /* max bans: maximum number of +b/e/I/q modes in a +L channel */ | |
657 | max_bans_large = 500; | |
658 | ||
659 | /* splitcode: split users, split servers and either no join on split | |
660 | * or no create on split must be enabled for split checking. | |
661 | * splitmode will be entered on either split users or split servers | |
662 | * dropping below the limit. | |
663 | * | |
664 | * you may force splitmode to be permanent by /quote set splitmode on | |
665 | */ | |
666 | ||
667 | /* split users: when the usercount is lower than this level, consider | |
668 | * ourselves split. this must be set for automatic splitmode | |
669 | */ | |
670 | default_split_user_count = 0; | |
671 | ||
672 | /* split servers: when the amount of servers that have acknowledged | |
673 | * theyve finished bursting is lower than this, consider ourselves | |
674 | * split. this must be set for automatic splitmode | |
675 | */ | |
676 | default_split_server_count = 0; | |
677 | ||
678 | /* split: no create: disallow users creating channels on split */ | |
679 | no_create_on_split = no; | |
680 | ||
681 | /* split: no join: disallow users joining channels at all on a split */ | |
682 | no_join_on_split = no; | |
683 | ||
684 | /* burst topicwho: when bursting topics, also burst the topic setter */ | |
685 | burst_topicwho = yes; | |
686 | ||
687 | /* kick on split riding: kick users riding splits to join +i or +k | |
688 | * channels. more precisely, if a bursting server sends an SJOIN | |
689 | * for a channel with a lower TS with either a +i mode or a +k | |
690 | * mode with a different key, kick all local users. | |
691 | * | |
692 | * note: this does not take +r, +b, +e and +I into account. | |
693 | * | |
694 | * warning: if there are any TS5 servers on the network, this | |
695 | * will cause ban desyncs if they send such an SJOIN and the | |
696 | * splitriders added any bans (our side will lose them, the TS5 | |
697 | * side will accept them). we will send a notice to the channel | |
698 | * if this happens. most services do not send such SJOINs but | |
699 | * ratbox-services does. | |
700 | */ | |
701 | kick_on_split_riding = no; | |
702 | }; | |
703 | ||
704 | ||
705 | /* The serverhide block contains the options regarding serverhiding */ | |
706 | serverhide { | |
4acf2281 JT |
707 | /* flatten links: this option will hide various routing information |
708 | * and make all servers in /links appear that they are linked to | |
709 | * this server. | |
212380e3 AC |
710 | */ |
711 | flatten_links = no; | |
712 | ||
994544c2 JT |
713 | /* links delay: how long to wait before showing splits or new |
714 | * servers in a flattened /links output. | |
212380e3 AC |
715 | */ |
716 | links_delay = 5 minutes; | |
717 | ||
4acf2281 JT |
718 | /* hidden: hide this server from a /links output on servers with |
719 | * flatten_links enabled. this allows hub servers to be hidden etc. | |
212380e3 AC |
720 | */ |
721 | hidden = no; | |
722 | ||
723 | /* disable hidden: prevent servers hiding themselves from a | |
724 | * /links ouput. | |
725 | */ | |
726 | disable_hidden = no; | |
727 | }; | |
728 | ||
729 | /* These are the blacklist settings. | |
730 | * You can have multiple combinations of host and rejection reasons. | |
92fb5c31 | 731 | * They are used in pairs of one host/rejection reason, or multiple hosts/rejection reason. |
212380e3 AC |
732 | * |
733 | * These settings should be adequate for most networks, and are (presently) | |
734 | * required for use on AthemeNet. | |
735 | * | |
736 | * Word to the wise: Do not use blacklists like SPEWS for blocking IRC | |
737 | * connections. | |
738 | * | |
92fb5c31 AC |
739 | * As of charybdis 2.2, you can do some keyword substitution on the rejection |
740 | * reason. The available keyword substitutions are: | |
741 | * | |
742 | * ${ip} - the user's IP | |
743 | * ${host} - the user's canonical hostname | |
744 | * ${dnsbl-host} - the dnsbl hostname the lookup was done against | |
745 | * ${nick} - the user's nickname | |
746 | * ${network-name} - the name of the network | |
747 | * | |
57b8cb0f | 748 | * Note: AHBL (the providers of the below *.ahbl.org BLs) request that they be |
212380e3 AC |
749 | * contacted, via email, at admins@2mbit.com before using these BLs. |
750 | * See <http://www.ahbl.org/services.php> for more information. | |
751 | */ | |
57b8cb0f AC |
752 | blacklist { |
753 | host = "dnsbl.dronebl.org"; | |
754 | 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 | ||
212380e3 | 756 | # host = "ircbl.ahbl.org"; |
92fb5c31 | 757 | # 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."; |
212380e3 AC |
758 | # |
759 | # host = "tor.ahbl.org"; | |
92fb5c31 | 760 | # 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."; |
57b8cb0f | 761 | }; |
212380e3 AC |
762 | |
763 | /* | |
764 | * Alias blocks allow you to define custom commands. (Old m_sshortcut.c) | |
765 | * They send PRIVMSG to the given target. A real command takes | |
766 | * precedence above an alias. | |
767 | */ | |
768 | alias "NickServ" { | |
769 | /* the name must go above */ | |
770 | ||
771 | /* target: the target nick (must be a network service) or | |
772 | * user@server (cannot be this server, only opers can use | |
773 | * user starting with "opers" reliably, interpreted on the target | |
774 | * server only so you may need to use nick@server instead) | |
775 | */ | |
776 | target = "NickServ"; | |
777 | }; | |
778 | ||
779 | alias "ChanServ" { | |
780 | target = "ChanServ"; | |
781 | }; | |
782 | ||
783 | alias "OperServ" { | |
784 | target = "OperServ"; | |
785 | }; | |
786 | ||
787 | alias "MemoServ" { | |
788 | target = "MemoServ"; | |
789 | }; | |
790 | ||
791 | alias "NS" { | |
792 | target = "NickServ"; | |
793 | }; | |
794 | ||
795 | alias "CS" { | |
796 | target = "ChanServ"; | |
797 | }; | |
798 | ||
799 | alias "OS" { | |
800 | target = "OperServ"; | |
801 | }; | |
802 | ||
803 | alias "MS" { | |
804 | target = "MemoServ"; | |
805 | }; | |
806 | ||
807 | /* The general block contains many of the options that were once compiled | |
808 | * in options in config.h. The general block is read at start time. | |
809 | */ | |
810 | general { | |
811 | /* hide error messages: defines whether error messages from | |
922aa826 JT |
812 | * servers that are not deemed fully safe are hidden or not. |
813 | * These can sometimes contain IPs and can have an adverse | |
814 | * effect on server ip hiding. Set to: | |
212380e3 AC |
815 | * yes: hide from opers and admin |
816 | * opers: hide from opers only | |
817 | * no: do not hide error messages | |
922aa826 | 818 | * Admins on other servers count as opers. |
212380e3 AC |
819 | */ |
820 | hide_error_messages = opers; | |
821 | ||
822 | /* hide spoof ips: hide the real ips of auth{} spoofed users | |
823 | * If disabled, local opers can see them. | |
824 | * Dynamic spoofs (e.g. set by services) are unaffected by this; | |
825 | * any oper (local and remote) can see the real ip. | |
826 | * Warning: for whowas, this is checked when the client exits, | |
827 | * not when the IP is shown. | |
828 | */ | |
829 | hide_spoof_ips = yes; | |
830 | ||
831 | /* default umodes: umodes to set upon connection | |
832 | * If you have enabled the ip_cloaking extension, and you wish for | |
833 | * incoming clients to be set +h upon connection, add +h to the umode | |
834 | * string below. | |
835 | */ | |
836 | default_umodes = "+i"; | |
837 | ||
838 | /* default operstring: defines the default oper response | |
839 | * in /whois queries, eg "is an IRC Operator". | |
840 | * After startup use /quote set operstring to change. | |
841 | */ | |
842 | default_operstring = "is an IRC Operator"; | |
843 | ||
844 | /* default adminstring: defines the default admin response | |
845 | * in /whois queries, eg "is a Server Administrator". | |
846 | * After startup use /quote set adminstring to change. | |
847 | */ | |
848 | default_adminstring = "is a Server Administrator"; | |
849 | ||
850 | /* servicestring: defines the response for opered services (+S) | |
851 | * in /whois queries, eg "is a Network Service". | |
852 | * This is updated on rehash. | |
853 | */ | |
854 | servicestring = "is a Network Service"; | |
855 | ||
856 | /* disable fake channels: disable local users joining fake versions | |
857 | * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse, | |
858 | * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively). | |
859 | */ | |
860 | disable_fake_channels = no; | |
861 | ||
862 | /* tkline_expire_notices: give a notice to opers when a tkline | |
863 | * expires | |
864 | */ | |
865 | tkline_expire_notices = no; | |
866 | ||
867 | /* floodcount: the default value of floodcount that is configurable | |
868 | * via /quote set floodcount. This is the amount of lines a user | |
869 | * may send to any other user/channel in one second. | |
870 | */ | |
871 | default_floodcount = 10; | |
872 | ||
873 | /* failed oper notice: send a notice to all opers on the server when | |
874 | * someone tries to OPER and uses the wrong password, host or ident. | |
875 | */ | |
876 | failed_oper_notice = yes; | |
877 | ||
878 | /* dots in ident: the amount of '.' characters permitted in an ident | |
879 | * reply before the user is rejected. | |
880 | */ | |
881 | dots_in_ident=2; | |
882 | ||
212380e3 AC |
883 | /* min nonwildcard: the minimum non wildcard characters in k/d/g lines |
884 | * placed via the server. klines hand placed are exempt from limits. | |
885 | * wildcard chars: '.' '*' '?' '@' | |
886 | */ | |
887 | min_nonwildcard = 4; | |
888 | ||
889 | /* min nonwildcard simple: the minimum non wildcard characters in | |
890 | * xlines/resvs placed via the server. | |
891 | * wildcard chars: '*' '?' | |
892 | */ | |
893 | min_nonwildcard_simple = 3; | |
894 | ||
895 | /* max accept: maximum allowed /accept's for +g usermode */ | |
896 | max_accept = 20; | |
897 | ||
898 | /* max monitor: the maximum amount of nicknames a client may have in | |
899 | * their monitor (server-side notify) list. | |
900 | */ | |
901 | max_monitor = 100; | |
902 | ||
903 | /* nick flood: enable the nickflood control code */ | |
904 | anti_nick_flood = yes; | |
905 | ||
906 | /* nick flood: the nick changes allowed in the specified period */ | |
907 | max_nick_time = 20 seconds; | |
908 | max_nick_changes = 5; | |
909 | ||
910 | /* anti spam time: the minimum time a user must be connected before | |
911 | * custom quit messages are allowed. | |
912 | */ | |
913 | anti_spam_exit_message_time = 5 minutes; | |
914 | ||
915 | /* ts delta: the time delta allowed between server clocks before | |
916 | * a warning is given, or before the link is dropped. all servers | |
917 | * should run ntpdate/rdate to keep clocks in sync | |
918 | */ | |
919 | ts_warn_delta = 30 seconds; | |
920 | ts_max_delta = 5 minutes; | |
921 | ||
922 | /* client exit: prepend a users quit message with "Client exit: " */ | |
923 | client_exit = yes; | |
924 | ||
925 | /* collision fnc: change user's nick to their UID instead of | |
926 | * killing them, if possible. This setting only applies to nick | |
927 | * collisions detected on this server. Only enable this if | |
928 | * all servers on the network allow remote nicks to start with | |
929 | * a digit. | |
930 | */ | |
931 | collision_fnc = yes; | |
932 | ||
933 | /* global snotices: send out certain snotices (most +b, +f, +y, | |
934 | * some +s) to other servers via ENCAP SNOTE. Received SNOTEs are | |
935 | * displayed unconditionally. | |
936 | */ | |
937 | global_snotices = yes; | |
938 | ||
939 | /* dline reason: show the user the dline reason when they connect | |
940 | * and are dlined. | |
941 | */ | |
942 | dline_with_reason = yes; | |
943 | ||
944 | /* kline delay: delay the checking of klines until a specified time. | |
945 | * Useful if large kline lists are applied often to prevent the | |
946 | * server eating CPU. | |
947 | */ | |
948 | kline_delay = 0 seconds; | |
949 | ||
950 | /* kline reason: show the user the reason why they are k/d/glined | |
951 | * on exit. may give away who set k/dline when set via tcm. | |
952 | */ | |
953 | kline_with_reason = yes; | |
954 | ||
955 | /* kline reason: make the users quit message on channels this | |
956 | * reason instead of the oper's reason. | |
957 | */ | |
958 | kline_reason = "Connection closed"; | |
959 | ||
960 | /* identify to services via server password | |
961 | * if auth{} block had no password but the user specified a | |
962 | * server password anyway, send a PRIVMSG to <identify_service> | |
963 | * with as text <identify_command> <password>. | |
964 | */ | |
965 | identify_service = "NickServ@services.int"; | |
966 | identify_command = "IDENTIFY"; | |
967 | ||
968 | /* non redundant klines: flag and ignore redundant klines */ | |
969 | non_redundant_klines = yes; | |
970 | ||
971 | /* warn no nline: warn opers about servers that try to connect but | |
972 | * we dont have a connect {} block for. Twits with misconfigured | |
973 | * servers can get really annoying with this enabled. | |
974 | */ | |
975 | warn_no_nline = yes; | |
976 | ||
977 | /* stats e disabled: disable stats e. useful if server ips are | |
978 | * exempted and you dont want them listing on irc. | |
979 | */ | |
980 | stats_e_disabled = no; | |
981 | ||
982 | /* stats c oper only: make stats c (connect {}) oper only */ | |
983 | stats_c_oper_only=no; | |
984 | ||
985 | /* stats h oper only: make stats h (hub_mask/leaf_mask) oper only */ | |
986 | stats_h_oper_only=no; | |
987 | ||
988 | /* stats y oper only: make stats y (class {}) oper only */ | |
989 | stats_y_oper_only=no; | |
990 | ||
991 | /* stats o oper only: make stats o (opers) oper only */ | |
992 | stats_o_oper_only=yes; | |
993 | ||
994 | /* stats P oper only: make stats P (ports) oper only | |
995 | * NOTE: users doing stats P will never be given the ips that the | |
996 | * server listens on, simply the ports. | |
997 | */ | |
998 | stats_P_oper_only=no; | |
999 | ||
1000 | /* stats i oper only: make stats i (auth {}) oper only. set to: | |
1001 | * yes: show users no auth blocks, made oper only. | |
1002 | * masked: show users first matching auth block | |
1003 | * no: show users all auth blocks. | |
1004 | */ | |
1005 | stats_i_oper_only=masked; | |
1006 | ||
1007 | /* stats k/K oper only: make stats k/K (klines) oper only. set to: | |
1008 | * yes: show users no auth blocks, made oper only | |
1009 | * masked: show users first matching auth block | |
1010 | * no: show users all auth blocks. | |
1011 | */ | |
1012 | stats_k_oper_only=masked; | |
1013 | ||
1014 | /* map oper only: make /map oper only */ | |
1015 | map_oper_only = no; | |
1016 | ||
1017 | /* operspy admin only: make operspy notices to +Z admin only */ | |
1018 | operspy_admin_only = no; | |
1019 | ||
1020 | /* operspy dont care user info: treat /who mask as if there was | |
1021 | * an '!' always; do not log or server notice about operspy | |
1022 | * /who mask, /masktrace and /scan. channel information is still | |
1023 | * protected. */ | |
1024 | operspy_dont_care_user_info = no; | |
1025 | ||
1026 | /* caller id wait: time between notifying a +g user that somebody | |
1027 | * is messaging them. | |
1028 | */ | |
1029 | caller_id_wait = 1 minute; | |
1030 | ||
1031 | /* pace wait simple: time between use of less intensive commands | |
1032 | * (HELP, remote WHOIS, WHOWAS) | |
1033 | */ | |
1034 | pace_wait_simple = 1 second; | |
1035 | ||
1036 | /* pace wait: time between more intensive commands | |
1037 | * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION) | |
1038 | */ | |
1039 | pace_wait = 10 seconds; | |
1040 | ||
1041 | /* short motd: send clients a notice telling them to read the motd | |
1042 | * instead of forcing a motd to clients who may simply ignore it. | |
1043 | */ | |
1044 | short_motd = no; | |
1045 | ||
1046 | /* ping cookies: require clients to respond exactly to a ping command, | |
1047 | * can help block certain types of drones and FTP PASV mode spoofing. | |
1048 | */ | |
1049 | ping_cookie = no; | |
1050 | ||
1051 | /* connect timeout: sets how long we should wait for a connection | |
1052 | * request to succeed | |
1053 | */ | |
1054 | connect_timeout = 30 seconds; | |
1055 | ||
1056 | /* disable auth: disables identd checking */ | |
1057 | disable_auth = no; | |
1058 | ||
1059 | /* no oper flood: increase flood limits for opers. */ | |
1060 | no_oper_flood = yes; | |
1061 | ||
1062 | /* glines: enable glines, network wide temp klines */ | |
1063 | glines = no; | |
1064 | ||
1065 | /* gline time: the amount of time a gline will remain before expiring */ | |
1066 | gline_time = 1 day; | |
1067 | ||
1068 | /* gline_min_cidr: If using a CIDR gline, the minimum length the | |
1069 | * mask must be | |
1070 | */ | |
1071 | gline_min_cidr = 16; | |
1072 | ||
212380e3 AC |
1073 | /* REMOVE ME. The following line checks you've been reading. */ |
1074 | havent_read_conf = yes; | |
1075 | ||
1076 | /* max targets: the maximum amount of targets in a single | |
1077 | * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited. | |
1078 | */ | |
1079 | max_targets = 4; | |
1080 | ||
1081 | /* client flood: maximum number of lines in a clients queue before | |
1082 | * they are dropped for flooding. | |
1083 | */ | |
1084 | client_flood = 20; | |
1085 | ||
1086 | /* use_whois_actually: send clients requesting a whois a numeric | |
1087 | * giving the real IP of non-spoofed clients to prevent DNS abuse. | |
1088 | */ | |
1089 | use_whois_actually = yes; | |
1090 | ||
1091 | /* usermodes configurable: a list of usermodes for the options below | |
1092 | * | |
1093 | * +g - callerid - Server Side Ignore | |
1094 | * +D - deaf - Don't see channel messages | |
1095 | * +i - invisible - Not shown in NAMES or WHO unless you share a | |
1096 | * a channel | |
1097 | * +l - locops - See LOCOPS messages | |
1098 | * +Q - noforward - Unaffected by channel forwarding | |
1099 | * +R - regonlymsg - No messages from unindentified | |
1100 | * +s - servnotice - See server notices | |
1101 | * +w - wallop - See oper and server generated WALLOPS | |
1102 | * +z - operwall - See operwalls | |
1103 | */ | |
1104 | ||
1105 | /* oper only umodes: usermodes only opers may set */ | |
1106 | oper_only_umodes = operwall, locops, servnotice; | |
1107 | ||
1108 | /* oper umodes: default usermodes opers get when they /oper */ | |
1109 | oper_umodes = locops, servnotice, operwall, wallop; | |
1110 | ||
1111 | /* oper snomask: default snomask opers get when they /oper, | |
1112 | * provided they have umode +s set */ | |
1113 | oper_snomask = "+s"; | |
1114 | ||
1115 | /* servlink path: path to 'servlink' program used by ircd to handle | |
1116 | * encrypted/compressed server <-> server links. | |
1117 | * | |
1118 | * only define if servlink is not in same directory as ircd itself. | |
1119 | */ | |
1120 | #servlink_path = "/usr/local/ircd/bin/servlink"; | |
1121 | ||
1122 | /* use egd: if your system does not have *random devices yet you | |
1123 | * want to use OpenSSL and encrypted links, enable this. Beware - | |
1124 | * EGD is *very* CPU intensive when gathering data for its pool | |
1125 | */ | |
1126 | #use_egd = yes; | |
1127 | ||
1128 | /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7 | |
1129 | * which automatically finds the path. | |
1130 | */ | |
1131 | #egdpool_path = "/var/run/egd-pool"; | |
1132 | ||
1133 | ||
1134 | /* compression level: level of compression for compressed links between | |
1135 | * servers. | |
1136 | * | |
1137 | * values are between: 1 (least compression, fastest) | |
1138 | * and: 9 (most compression, slowest). | |
1139 | */ | |
1140 | #compression_level = 6; | |
1141 | ||
1142 | /* burst_away: This enables bursting away messages to servers. | |
1143 | * With this disabled, we will only propogate AWAY messages | |
1144 | * as users send them, but never burst them. Be warned though | |
1145 | * enabling this could increase the size of a burst significantly | |
1146 | * for a large network, like EFnet. | |
1147 | */ | |
1148 | burst_away = yes; | |
1149 | ||
1150 | /* nick delay: This locks nicks of split clients for the given time | |
1151 | * or until a remote client uses the nick. This significantly | |
1152 | * reduces nick collisions on short splits but it can be annoying. | |
1153 | * To make things as fair as possible, this should be the same on | |
1154 | * all servers. If you enable this, the suggested value is 15 minutes. | |
1155 | */ | |
1156 | nick_delay = 0 seconds; | |
1157 | ||
1158 | /* reject time: the amount of rejections through klines/dlines etc | |
1159 | * allowed in the given time before the rejection is cached and | |
1160 | * a pseudo temp dline is placed | |
1161 | */ | |
1162 | reject_ban_time = 1 minute; | |
1163 | reject_after_count = 3; | |
1164 | ||
1165 | /* reject duration: the amount of time to cache the rejection */ | |
1166 | reject_duration = 5 minutes; | |
54015b5f JT |
1167 | |
1168 | /* max_unknown_ip: maximum number of pending connections to the server | |
1169 | * that are allowed per IP address | |
1170 | */ | |
1171 | max_unknown_ip = 2; | |
212380e3 AC |
1172 | }; |
1173 | ||
1174 | modules { | |
1175 | /* module path: paths to search for modules specified below and | |
1176 | * in /modload. | |
1177 | */ | |
1178 | path = "/usr/local/ircd/modules"; | |
1179 | path = "/usr/local/ircd/modules/autoload"; | |
1180 | ||
1181 | /* module: the name of a module to load on startup/rehash */ | |
1182 | #module = "some_module.so"; | |
1183 | }; |