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