1 |
/* doc/example.efnet.conf - ircd-hybrid-7 EFnet Example configuration file |
2 |
* Copyright (C) 2000-2006 Hybrid Development Team |
3 |
* |
4 |
* Written by ejb, wcampbel, db, leeh and others |
5 |
* Other example configurations can be found in the source dir under |
6 |
* etc/. |
7 |
* |
8 |
* $Id$ |
9 |
*/ |
10 |
|
11 |
/* IMPORTANT NOTES: |
12 |
* |
13 |
* auth {} blocks MUST be specified in order of precedence. The first one |
14 |
* that matches a user will be used. So place spoofs first, then specials, |
15 |
* then general access. |
16 |
* |
17 |
* Shell style (#), C++ style (//) and C style comments are supported. |
18 |
* |
19 |
* Files may be included by either: |
20 |
* .include "filename" |
21 |
* .include <filename> |
22 |
* |
23 |
* Times/durations are written as: |
24 |
* 12 hours 30 minutes 1 second |
25 |
* |
26 |
* Valid units of time: |
27 |
* month, week, day, hour, minute, second |
28 |
* |
29 |
* Valid units of size: |
30 |
* megabyte/mbyte/mb, kilobyte/kbyte/kb, byte |
31 |
* |
32 |
* Sizes and times may be singular or plural. |
33 |
*/ |
34 |
|
35 |
/* EFNET NOTE: |
36 |
* |
37 |
* This configuration file is a BASIC configuration file for use |
38 |
* on EFnet. You MUST still take the time to set this file up |
39 |
* properly. |
40 |
* |
41 |
* DISCLAIMER: This file was submitted by Disciple@EFnet and has |
42 |
* since been modified by the Hybrid team. |
43 |
*/ |
44 |
|
45 |
/* |
46 |
* serverinfo {}: contains information about the server. (OLD M:) |
47 |
*/ |
48 |
serverinfo { |
49 |
/* |
50 |
* name: the name of our server. This cannot be changed at runtime. |
51 |
*/ |
52 |
name = "efnet.irc"; |
53 |
|
54 |
/* |
55 |
* sid: a server's unique ID. This is three characters long and must |
56 |
* be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be |
57 |
* a digit, followed by 2 alpha-numerical letters. |
58 |
* NOTE: The letters must be capitalized. This cannot be changed at runtime. |
59 |
*/ |
60 |
sid = "_CHANGE_ME_"; |
61 |
|
62 |
/* |
63 |
* description: the description of the server. '[' and ']' may not |
64 |
* be used here for compatibility with older servers. |
65 |
*/ |
66 |
description = "hybrid-7 test server"; |
67 |
|
68 |
/* |
69 |
* network info: the name and description of the network this server |
70 |
* is on. Shown in the 005 reply and used with serverhiding. |
71 |
*/ |
72 |
network_name = "EFnet"; |
73 |
network_desc = "Eris Free Network"; |
74 |
|
75 |
/* |
76 |
* hub: allow this server to act as a hub and have multiple servers |
77 |
* connected to it. |
78 |
*/ |
79 |
hub = no; |
80 |
|
81 |
/* |
82 |
* vhost: the IP to bind to when we connect outward to ipv4 servers. |
83 |
* This should be an ipv4 IP only, or "* for INADDR_ANY. |
84 |
*/ |
85 |
#vhost = "192.169.0.1"; |
86 |
|
87 |
/* |
88 |
* vhost6: the IP to bind to when we connect outward to ipv6 servers. |
89 |
* This should be an ipv6 IP only, or "* for INADDR_ANY. |
90 |
*/ |
91 |
#vhost6 = "3ffe:80e8:546::2"; |
92 |
|
93 |
/* max_clients: the maximum number of clients allowed to connect */ |
94 |
max_clients = 512; |
95 |
|
96 |
/* |
97 |
* rsa key: the path to the file containing our rsa key for cryptlink. |
98 |
* |
99 |
* Example command to store a 2048 bit RSA keypair in |
100 |
* rsa.key, and the public key in rsa.pub: |
101 |
* |
102 |
* openssl genrsa -out rsa.key 2048 |
103 |
* openssl rsa -in rsa.key -pubout -out rsa.pub |
104 |
* chown <ircd-user>.<ircd.group> rsa.key rsa.pub |
105 |
* chmod 0600 rsa.key |
106 |
* chmod 0644 rsa.pub |
107 |
*/ |
108 |
#rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
109 |
}; |
110 |
|
111 |
/* |
112 |
* admin {}: contains admin information about the server. (OLD A:) |
113 |
*/ |
114 |
admin { |
115 |
name = "EFnet Admin"; |
116 |
description = "Main Server Administrator"; |
117 |
email = "<irc-admin@efnet.irc>"; |
118 |
}; |
119 |
|
120 |
/* |
121 |
* log {}: contains information about logfiles. |
122 |
*/ |
123 |
log { |
124 |
/* Do you want to enable logging to ircd.log? */ |
125 |
use_logging = yes; |
126 |
|
127 |
/* |
128 |
* logfiles: the logfiles to use for user connects, /oper uses, |
129 |
* and failed /oper. These files must exist for logging to be used. |
130 |
*/ |
131 |
fname_userlog = "logs/userlog"; |
132 |
fname_operlog = "logs/operlog"; |
133 |
fname_killlog = "logs/kill"; |
134 |
fname_klinelog = "logs/kline"; |
135 |
fname_glinelog = "logs/gline"; |
136 |
|
137 |
/* |
138 |
* log_level: the amount of detail to log in ircd.log. The |
139 |
* higher, the more information is logged. May be changed |
140 |
* once the server is running via /quote SET LOG. Either: |
141 |
* L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG |
142 |
*/ |
143 |
log_level = L_INFO; |
144 |
}; |
145 |
|
146 |
/* |
147 |
* class {}: contains information about classes for users (OLD Y:) |
148 |
*/ |
149 |
class { |
150 |
/* name: the name of the class. classes are text now */ |
151 |
name = "users"; |
152 |
|
153 |
/* |
154 |
* ping_time: how often a client must reply to a PING from the |
155 |
* server before they are dropped. |
156 |
*/ |
157 |
ping_time = 90 seconds; |
158 |
|
159 |
/* |
160 |
* number_per_ip: how many local users are allowed to connect |
161 |
* from one IP (optional) |
162 |
*/ |
163 |
number_per_ip = 2; |
164 |
|
165 |
/* |
166 |
* max_local: how many local users are allowed to connect |
167 |
* from one ident@host (optional) |
168 |
*/ |
169 |
max_local = 2; |
170 |
|
171 |
/* |
172 |
* max_global: network-wide limit of users per ident@host (optional) |
173 |
*/ |
174 |
max_global = 10; |
175 |
|
176 |
/* |
177 |
* max_number: the maximum number of users allowed in this class (optional) |
178 |
*/ |
179 |
max_number = 100; |
180 |
|
181 |
/* |
182 |
* the following lines are optional and allow you to define |
183 |
* how many users can connect from one /NN subnet |
184 |
*/ |
185 |
cidr_bitlen_ipv4 = 24; |
186 |
cidr_bitlen_ipv6 = 120; |
187 |
number_per_cidr = 16; |
188 |
|
189 |
/* |
190 |
* sendq: the amount of data allowed in a clients queue before |
191 |
* they are dropped. |
192 |
*/ |
193 |
sendq = 100 kbytes; |
194 |
}; |
195 |
|
196 |
class { |
197 |
name = "opers"; |
198 |
|
199 |
/* |
200 |
* contrary to seeming popular belief, setting ping time |
201 |
* higher for an oper is NOT doing them a favor. |
202 |
* Since if a link is dead its dead and it means |
203 |
* you have to use another nick long enough to kill the old one :-) |
204 |
* Its much better to use a fairly standard 90 second ping time |
205 |
*/ |
206 |
ping_time = 90 seconds; |
207 |
number_per_ip = 10; |
208 |
max_number = 100; |
209 |
sendq = 1 mbyte; |
210 |
}; |
211 |
|
212 |
class { |
213 |
name = "server"; |
214 |
|
215 |
/* |
216 |
* Same thing here. It's a fallacy to think increasing |
217 |
* ping time for servers is a "good idea." All it leads to |
218 |
* is "ghosting" on one end. Not a good idea. |
219 |
*/ |
220 |
ping_time = 90 seconds; |
221 |
|
222 |
/* |
223 |
* ping_warning: how fast a server must reply to a PING before |
224 |
* a warning to opers is generated. |
225 |
*/ |
226 |
ping_warning = 15 seconds; |
227 |
|
228 |
/* |
229 |
* connectfreq: only used in server classes. Specifies the delay |
230 |
* between autoconnecting to servers. |
231 |
* |
232 |
* Both comstud and I recommend 10 minutes a few years ago. |
233 |
* 15 minutes might be right now. The reason you don't want it too |
234 |
* low is, you make the servers reconnect too quickly with |
235 |
* a large sendq, and they _will_ nick collide. badly. 5 minutes |
236 |
* IS way too short. |
237 |
*/ |
238 |
connectfreq = 15 minutes; |
239 |
|
240 |
/* max number: the amount of servers to autoconnect to */ |
241 |
max_number = 1; |
242 |
|
243 |
/* sendq: servers need a higher sendq as they send more data */ |
244 |
sendq = 15 megabytes; |
245 |
}; |
246 |
|
247 |
/* |
248 |
* listen {}: contains information about the ports ircd listens on (OLD P:) |
249 |
*/ |
250 |
listen { |
251 |
/* |
252 |
* port: the specific port to listen on. If no host is specified |
253 |
* before, it will listen on all available IPs. |
254 |
* |
255 |
* Ports are separated via a comma, a range may be specified using ".." |
256 |
*/ |
257 |
|
258 |
/* port: listen on all available IPs, ports 6665 to 6669 */ |
259 |
port = 6665 .. 6669; |
260 |
|
261 |
/* |
262 |
* Listen on 192.168.0.1/7023 and hidden from STATS P |
263 |
* unless you are an administrator. |
264 |
* |
265 |
* NOTE: The "flags" directive has to come before "port". Always! |
266 |
*/ |
267 |
flags = hidden; |
268 |
host = "192.168.0.1"; |
269 |
port = 7023; |
270 |
|
271 |
/* |
272 |
* host: set a specific IP/host the ports after the line will listen |
273 |
* on. This may be ipv4 or ipv6. |
274 |
*/ |
275 |
host = "1.2.3.4"; |
276 |
port = 7000, 7001; |
277 |
|
278 |
host = "3ffe:1234:a:b:c::d"; |
279 |
port = 7002; |
280 |
}; |
281 |
|
282 |
/* |
283 |
* auth {}: allow users to connect to the ircd (OLD I:) |
284 |
*/ |
285 |
auth { |
286 |
/* |
287 |
* user: the user@host allowed to connect. Multiple IPv4/IPv6 user |
288 |
* lines are permitted per auth block. |
289 |
*/ |
290 |
user = "*@172.16.0.0/12"; |
291 |
user = "*test@123D:B567:*"; |
292 |
|
293 |
/* password: an optional password that is required to use this block */ |
294 |
password = "letmein"; |
295 |
|
296 |
/* |
297 |
* encrypted: controls whether the auth password above has been |
298 |
* encrypted. |
299 |
*/ |
300 |
encrypted = yes; |
301 |
|
302 |
/* |
303 |
* spoof: fake the users host to this. This is free-form, |
304 |
* just do everyone a favor and don't abuse it. ('=' prefix on /stats I) |
305 |
*/ |
306 |
spoof = "I.still.hate.packets"; |
307 |
|
308 |
/* class: the class the user is placed in */ |
309 |
class = "opers"; |
310 |
|
311 |
/* |
312 |
* need_password: don't allow users who haven't supplied the correct |
313 |
* password to connect using another auth{} block |
314 |
* ('&' prefix on /stats I if disabled) |
315 |
* need_ident: require the user to have identd to connect ('+' prefix on /stats I) |
316 |
* spoof_notice: enable spoofing notification to admins |
317 |
* exceed_limit: allow a user to exceed class limits ('>' prefix on /stats I) |
318 |
* kline_exempt: exempt this user from k/glines ('^' prefix on /stats I) |
319 |
* gline_exempt: exempt this user from glines ('_' prefix on /stats I) |
320 |
* resv_exempt: exempt this user from resvs ('$' prefix on /stats I) |
321 |
* no_tilde: remove ~ from a user with no ident ('-' prefix on /stats I) |
322 |
* can_flood: allow this user to exceed flood limits ('|' prefix on /stats I) |
323 |
* can_idle: exempt this user from idle restrictions ('<' prefix on /stats I) |
324 |
*/ |
325 |
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
326 |
gline_exempt, resv_exempt, no_tilde, can_flood, can_idle; |
327 |
}; |
328 |
|
329 |
auth { |
330 |
/* |
331 |
* redirect: the server and port to redirect a user to. A user does |
332 |
* not have to obey the redirection, the ircd just suggests an alternative |
333 |
* server for them. |
334 |
*/ |
335 |
redirserv = "this.is.not.a.real.server"; |
336 |
redirport = 6667; |
337 |
|
338 |
user = "*.server"; |
339 |
|
340 |
/* class: a class is required even though it is not used */ |
341 |
class = "users"; |
342 |
}; |
343 |
|
344 |
auth { |
345 |
user = "*@*"; |
346 |
class = "users"; |
347 |
flags = need_ident; |
348 |
}; |
349 |
|
350 |
/* |
351 |
* operator {}: defines ircd operators. (OLD O:) |
352 |
* |
353 |
* ircd-hybrid no longer supports local operators, privileges are |
354 |
* controlled via flags. |
355 |
*/ |
356 |
operator { |
357 |
/* name: the name of the oper */ |
358 |
/* NOTE: operator "opername"{} is also supported */ |
359 |
name = "god"; |
360 |
|
361 |
/* |
362 |
* user: the user@host required for this operator. CIDR is not |
363 |
* supported. Multiple user="" lines are supported. |
364 |
*/ |
365 |
user = "*god@*"; |
366 |
user = "*@127.0.0.1"; |
367 |
|
368 |
/* |
369 |
* password: the password required to oper. By default this will |
370 |
* need to be encrypted using 'mkpasswd'. MD5 is supported. |
371 |
*/ |
372 |
password = "etcnjl8juSU1E"; |
373 |
|
374 |
/* |
375 |
* encrypted: controls whether the oper password above has been |
376 |
* encrypted. (OLD CRYPT_OPER_PASSWORD now optional per operator) |
377 |
*/ |
378 |
encrypted = yes; |
379 |
|
380 |
/* |
381 |
* rsa_public_key_file: 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 |
/* class: the class the oper joins when they successfully /oper */ |
388 |
class = "opers"; |
389 |
|
390 |
/* |
391 |
* umodes: default usermodes opers get when they /oper. If defined, |
392 |
* it will override oper_umodes settings in general {}. |
393 |
* Available usermodes: |
394 |
* |
395 |
* +b - bots - See bot and drone flooding notices |
396 |
* +c - cconn - Client connection/quit notices |
397 |
* +C - cconn_full - Client connection/quit notices full |
398 |
* +D - deaf - Don't receive channel messages |
399 |
* +d - debug - See debugging notices |
400 |
* +f - full - See I: line full notices |
401 |
* +G - softcallerid - Server Side Ignore for users not on your channels |
402 |
* +g - callerid - Server Side Ignore (for privmsgs etc) |
403 |
* +i - invisible - Not shown in NAMES or WHO unless you share a |
404 |
* a channel |
405 |
* +k - skill - See server generated KILL messages |
406 |
* +l - locops - See LOCOPS messages |
407 |
* +n - nchange - See client nick changes |
408 |
* +r - rej - See rejected client notices |
409 |
* +s - servnotice - See general server notices |
410 |
* +u - unauth - See unauthorized client notices |
411 |
* +w - wallop - See server generated WALLOPS |
412 |
* +x - external - See remote server connection and split notices |
413 |
* +y - spy - See LINKS, STATS, TRACE notices etc. |
414 |
* +z - operwall - See oper generated WALLOPS |
415 |
*/ |
416 |
# umodes = locops, servnotice, operwall, wallop; |
417 |
|
418 |
/* |
419 |
* privileges: controls the activities and commands an oper is |
420 |
* allowed to do on the server. All options default to no. |
421 |
* Available options: |
422 |
* |
423 |
* global_kill: allows remote users to be /KILL'd (OLD 'O' flag) |
424 |
* remote: allows remote SQUIT and CONNECT (OLD 'R' flag) |
425 |
* remoteban: allows remote KLINE/UNKLINE |
426 |
* kline: allows KILL, KLINE and DLINE (OLD 'K' flag) |
427 |
* unkline: allows UNKLINE and UNDLINE (OLD 'U' flag) |
428 |
* gline: allows GLINE (OLD 'G' flag) |
429 |
* xline: allows XLINE (OLD 'X' flag) |
430 |
* operwall: allows OPERWALL |
431 |
* nick_changes: allows oper to see nickchanges (OLD 'N' flag) |
432 |
* via usermode +n |
433 |
* rehash: allows oper to REHASH config (OLD 'H' flag) |
434 |
* die: allows DIE and RESTART (OLD 'D' flag) |
435 |
* admin: gives admin privileges. admins |
436 |
* may (un)load modules and see the |
437 |
* real IPs of servers. |
438 |
* hidden_admin: same as 'admin', but noone can recognize you as |
439 |
* being an admin |
440 |
* hidden_oper: not shown in /stats p (except for other operators) |
441 |
*/ |
442 |
/* You can either use |
443 |
* die = yes; |
444 |
* rehash = yes; |
445 |
* |
446 |
* or in a flags statement i.e. |
447 |
* flags = die, rehash; |
448 |
* |
449 |
* You can also negate a flag with ~ i.e. |
450 |
* flags = ~remote; |
451 |
* |
452 |
*/ |
453 |
flags = global_kill, remote, kline, unkline, xline, |
454 |
die, rehash, nick_changes, admin, operwall; |
455 |
}; |
456 |
|
457 |
/* |
458 |
* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) |
459 |
*/ |
460 |
connect { |
461 |
/* name: the name of the server */ |
462 |
name = "irc.uplink.com"; |
463 |
|
464 |
/* |
465 |
* host: the host or IP to connect to. If a hostname is used it |
466 |
* must match the reverse dns of the server. |
467 |
*/ |
468 |
host = "192.168.0.1"; |
469 |
|
470 |
/* |
471 |
* vhost: the IP to bind to when we connect outward to servers. |
472 |
* serverinfo::vhost and serverinfo::vhost6 will be overridden |
473 |
* by this directive. |
474 |
*/ |
475 |
vhost = "192.168.0.2"; |
476 |
|
477 |
/* |
478 |
* passwords: the passwords we send (OLD C:) and accept (OLD N:). |
479 |
* The remote server will have these passwords reversed. |
480 |
*/ |
481 |
send_password = "password"; |
482 |
accept_password = "anotherpassword"; |
483 |
|
484 |
/* |
485 |
* encrypted: controls whether the accept_password above has been |
486 |
* encrypted. (OLD CRYPT_LINK_PASSWORD now optional per connect) |
487 |
*/ |
488 |
encrypted = no; |
489 |
|
490 |
/* port: the port to connect to this server on */ |
491 |
port = 6666; |
492 |
|
493 |
/* |
494 |
* hub_mask: the mask of servers that this server may hub. Multiple |
495 |
* entries are permitted |
496 |
*/ |
497 |
hub_mask = "*"; |
498 |
|
499 |
/* |
500 |
* leaf_mask: the mask of servers this server may not hub. Multiple |
501 |
* entries are permitted. Useful for forbidding EU -> US -> EU routes. |
502 |
*/ |
503 |
# leaf_mask = "*.uk"; |
504 |
|
505 |
/* fakename: the servername we pretend to be when we connect */ |
506 |
# fakename = "*.arpa"; |
507 |
|
508 |
/* class: the class this server is in */ |
509 |
class = "server"; |
510 |
|
511 |
/* |
512 |
* autoconn: controls whether we autoconnect to this server or not, |
513 |
* dependent on class limits. By default, this is disabled. |
514 |
* compressed: controls whether traffic is compressed via ziplinks. |
515 |
* By default, this is disabled |
516 |
* cryptlink: enable full encryption for all data passing between our |
517 |
* server and this link and rsa authentication. |
518 |
* burst_away: This will send the /away string that users have set |
519 |
* on the server burst. Note this can be a lot of data |
520 |
* and slow down your server burst. |
521 |
* topicburst: Send topics to this server during channel burst. Works |
522 |
* only if the server we are connecting to is capable |
523 |
* of TBURST/TB. |
524 |
*/ |
525 |
# flags = autoconn, compressed, cryptlink, burst_away, topicburst; |
526 |
}; |
527 |
|
528 |
connect { |
529 |
name = "encrypted.auth.example"; |
530 |
host = "some.host.somewhere"; |
531 |
port = 6667; |
532 |
|
533 |
flags = cryptlink; |
534 |
|
535 |
/* |
536 |
* rsa_public_key_file: the path to the public keyfile of the server. |
537 |
* Used instead of passwords. |
538 |
*/ |
539 |
rsa_public_key_file = "etc/remote.server.keyfile"; |
540 |
|
541 |
/* |
542 |
* cipher preference: set the preferred cipher for this link |
543 |
* |
544 |
* Available ciphers are: |
545 |
* BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128 |
546 |
* RC5.12/128 RC5.8/128 3DES/168 DES/56 |
547 |
* |
548 |
* NOTE: Some ciphers may not be supported by your OpenSSL. |
549 |
* Check the output from 'configure' for available ciphers. |
550 |
* |
551 |
* NOTE2: To help you decide what cipher to use, tools/encspeed |
552 |
* will show you approximately how fast each cipher is. |
553 |
* However, blowfish is fast and secure, and is probably |
554 |
* a good default for most situations. |
555 |
* |
556 |
* NOTE3: Default if none is set is BF/128 |
557 |
* |
558 |
* The cipher *MUST* be the same in both directions. If you |
559 |
* set a cipher preference, your uplink must set the same cipher, |
560 |
* else it will not link. |
561 |
*/ |
562 |
# cipher_preference = "BF/168"; |
563 |
}; |
564 |
|
565 |
/* |
566 |
* NOTE: Don't add an extra 'name=' entry if you use |
567 |
* the connect "name"{} feature |
568 |
*/ |
569 |
connect "ipv6.some.server" { |
570 |
host = "3ffd:dead:beef::1"; |
571 |
send_password = "password"; |
572 |
accept_password = "password"; |
573 |
port = 6666; |
574 |
|
575 |
/* |
576 |
* aftype: controls whether the connection uses "ipv4" or "ipv6". |
577 |
* Default is ipv4. |
578 |
*/ |
579 |
aftype = ipv6; |
580 |
class = "server"; |
581 |
}; |
582 |
|
583 |
/* |
584 |
* cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops |
585 |
* automatically (OLD hyb6 SLAVE_SERVERS) |
586 |
*/ |
587 |
cluster { |
588 |
/* |
589 |
* name: the server to share with, this can take wildcards |
590 |
* |
591 |
* NOTE: only local actions will be clustered, meaning if |
592 |
* the server receives a shared kline/unkline/etc, it |
593 |
* will not be propagated to clustered servers. |
594 |
* |
595 |
* Remote servers are not necessarily required to accept |
596 |
* clustered lines, they need a shared{} for *THIS* server |
597 |
* in order to accept them. |
598 |
*/ |
599 |
name = "*.arpa"; |
600 |
|
601 |
/* |
602 |
* type: list of what to share, options are as follows: |
603 |
* kline - share klines |
604 |
* tkline - share temporary klines |
605 |
* unkline - share unklines |
606 |
* xline - share xlines |
607 |
* txline - share temporary xlines |
608 |
* unxline - share unxlines |
609 |
* resv - share resvs |
610 |
* tresv - share temporary resvs |
611 |
* unresv - share unresvs |
612 |
* locops - share locops |
613 |
* all - share all of the above (default) |
614 |
*/ |
615 |
type = kline, unkline, locops, xline, resv; |
616 |
}; |
617 |
|
618 |
/* |
619 |
* shared {}: users that are allowed to remote kline (OLD U:) |
620 |
* |
621 |
* NOTE: This can be effectively used for remote klines. |
622 |
* Please note that there is no password authentication |
623 |
* for users setting remote klines. You must also be |
624 |
* /oper'd in order to issue a remote kline. |
625 |
*/ |
626 |
shared { |
627 |
/* |
628 |
* name: the server the user must be on to set klines. If this is not |
629 |
* specified, the user will be allowed to kline from all servers. |
630 |
*/ |
631 |
name = "irc2.some.server"; |
632 |
|
633 |
/* |
634 |
* user: the user@host mask that is allowed to set klines. If this is |
635 |
* not specified, all users on the server above will be allowed to set |
636 |
* a remote kline. |
637 |
*/ |
638 |
user = "oper@my.host.is.spoofed"; |
639 |
|
640 |
/* |
641 |
* type: list of what to share, options are as follows: |
642 |
* kline - allow oper/server to kline |
643 |
* tkline - allow temporary klines |
644 |
* unkline - allow oper/server to unkline |
645 |
* xline - allow oper/server to xline |
646 |
* txline - allow temporary xlines |
647 |
* unxline - allow oper/server to unxline |
648 |
* resv - allow oper/server to resv |
649 |
* tresv - allow temporary resvs |
650 |
* unresv - allow oper/server to unresv |
651 |
* locops - allow oper/server to locops - only used for servers that cluster |
652 |
* all - allow oper/server to do all of the above (default) |
653 |
*/ |
654 |
type = kline, unkline, resv; |
655 |
}; |
656 |
|
657 |
/* |
658 |
* kill {}: users that are not allowed to connect (OLD K:) |
659 |
* Oper issued klines will be added to the specified kline config |
660 |
*/ |
661 |
kill { |
662 |
user = "bad@*.hacked.edu"; |
663 |
reason = "Obviously hacked account"; |
664 |
}; |
665 |
|
666 |
kill { |
667 |
user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.org$"; |
668 |
type = regex; |
669 |
}; |
670 |
|
671 |
/* |
672 |
* deny {}: IPs that are not allowed to connect (before DNS/ident lookup) |
673 |
* Oper issued dlines will be added to the specified dline config |
674 |
*/ |
675 |
deny { |
676 |
ip = "10.0.1.0/24"; |
677 |
reason = "Reconnecting vhosted bots"; |
678 |
}; |
679 |
|
680 |
/* |
681 |
* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) |
682 |
* |
683 |
* EFnet Note: We really suggest to enable general::stats_e_disabled |
684 |
* if you plan to exempt EFnet server IPs you don't want to show to |
685 |
* other operators and/or administrators through "STATS e". |
686 |
*/ |
687 |
exempt { |
688 |
ip = "192.168.0.0/16"; |
689 |
}; |
690 |
|
691 |
/* |
692 |
* resv {}: nicks and channels users may not use/join (OLD Q:) |
693 |
*/ |
694 |
resv { |
695 |
/* reason: the reason for the proceeding resv's */ |
696 |
reason = "There are no services on this network"; |
697 |
|
698 |
/* resv: the nicks and channels users may not join/use */ |
699 |
nick = "nickserv"; |
700 |
nick = "chanserv"; |
701 |
nick = "operserv"; |
702 |
nick = "JUPES"; |
703 |
nick = "JUPE"; |
704 |
nick = "CH?NF?X"; # CHANFIX (services.int) |
705 |
|
706 |
/* These are totally optional, but may be a good idea */ |
707 |
nick = "oper"; |
708 |
nick = "ircop"; |
709 |
nick = "op"; |
710 |
nick = "ident"; |
711 |
nick = "pass"; |
712 |
channel = "#jupedchan"; |
713 |
|
714 |
/* resv: wildcard masks are also supported in nicks only */ |
715 |
reason = "Clone bots"; |
716 |
nick = "clone*"; |
717 |
}; |
718 |
|
719 |
/* |
720 |
* gecos {}: The X: replacement, used for banning users based on |
721 |
* their "realname". |
722 |
*/ |
723 |
gecos { |
724 |
name = "*sex*"; |
725 |
reason = "Possible spambot"; |
726 |
}; |
727 |
|
728 |
gecos { |
729 |
name = "sub7server"; |
730 |
reason = "Trojan drone"; |
731 |
}; |
732 |
|
733 |
gecos { |
734 |
name = "*http*"; |
735 |
reason = "Spambot"; |
736 |
}; |
737 |
|
738 |
gecos { |
739 |
name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$"; |
740 |
type = regex; |
741 |
}; |
742 |
|
743 |
/* |
744 |
* channel {}: The channel block contains options pertaining to channels |
745 |
*/ |
746 |
channel { |
747 |
/* |
748 |
* disable_fake_channels: this option, if set to 'yes', will |
749 |
* disallow clients to create or join channels that have one |
750 |
* of the following ASCII characters in their name: |
751 |
* |
752 |
* 2 | bold |
753 |
* 3 | mirc color |
754 |
* 15 | plain text |
755 |
* 22 | reverse |
756 |
* 31 | underline |
757 |
* 160 | non-breaking space |
758 |
*/ |
759 |
disable_fake_channels = yes; |
760 |
|
761 |
/* |
762 |
* restrict_channels: reverse channel RESVs logic, only reserved |
763 |
* channels are allowed |
764 |
*/ |
765 |
restrict_channels = no; |
766 |
|
767 |
/* |
768 |
* disable_local_channels: prevent users from joining &channels. |
769 |
*/ |
770 |
disable_local_channels = no; |
771 |
|
772 |
/* |
773 |
* use_invex: Enable/disable channel mode +I, a n!u@h list of masks |
774 |
* that can join a +i channel without an invite. |
775 |
*/ |
776 |
use_invex = yes; |
777 |
|
778 |
/* |
779 |
* use_except: Enable/disable channel mode +e, a n!u@h list of masks |
780 |
* that can join a channel through a ban (+b). |
781 |
*/ |
782 |
use_except = yes; |
783 |
|
784 |
/* |
785 |
* use_knock: Allows users to request an invite to a channel that |
786 |
* is locked somehow (+ikl). If the channel is +p or you are banned |
787 |
* the knock will not be sent. |
788 |
* |
789 |
* EFnet Note: This seems to be used mostly by European servers |
790 |
* and not North American ones. |
791 |
* Please feel free to disable this if you do not |
792 |
* want to run channel knock. |
793 |
* channel knock allows an user to "/quote knock #channel" |
794 |
* to ask for an invite. It is typically used in eu-efnet |
795 |
* to ask for an invite to #eu-opers. |
796 |
* A user who is banned will not have their knock |
797 |
* sent to channel. It is paced, so knock will not |
798 |
* cause a flood. |
799 |
*/ |
800 |
use_knock = yes; |
801 |
|
802 |
/* |
803 |
* knock_delay: The amount of time a user must wait between issuing |
804 |
* the knock command. |
805 |
*/ |
806 |
knock_delay = 1 minutes; |
807 |
|
808 |
/* |
809 |
* knock_delay_channel: How often a knock to any specific channel |
810 |
* is permitted, regardless of the user sending the knock. |
811 |
*/ |
812 |
knock_delay_channel = 1 minute; |
813 |
|
814 |
/* |
815 |
* burst_topicwho: enable sending of who set topic on topicburst |
816 |
* default is yes |
817 |
*/ |
818 |
burst_topicwho = yes; |
819 |
|
820 |
/* |
821 |
* max_chans_per_user: The maximum number of channels a user can |
822 |
* join/be on. |
823 |
*/ |
824 |
max_chans_per_user = 25; |
825 |
|
826 |
/* quiet_on_ban: stop banned people talking in channels. */ |
827 |
quiet_on_ban = yes; |
828 |
|
829 |
/* max_bans: maximum number of +b/e/I modes in a channel */ |
830 |
max_bans = 100; |
831 |
|
832 |
/* |
833 |
* how many joins in how many seconds constitute a flood, use 0 to |
834 |
* disable. +b opers will be notified (changeable via /set) |
835 |
*/ |
836 |
join_flood_count = 16; |
837 |
join_flood_time = 8 seconds; |
838 |
|
839 |
/* |
840 |
* splitcode: The ircd will now check splitmode every few seconds. |
841 |
* |
842 |
* Either split users or split servers can activate splitmode, but |
843 |
* both conditions must be met for the ircd to deactivate splitmode. |
844 |
* |
845 |
* You may force splitmode to be permanent by /quote set splitmode on |
846 |
*/ |
847 |
|
848 |
/* |
849 |
* default_split_user_count: when the usercount is lower than this level, |
850 |
* consider ourselves split. This must be set for automatic splitmode. |
851 |
*/ |
852 |
default_split_user_count = 40000; |
853 |
|
854 |
/* |
855 |
* default_split_server_count: when the servercount is lower than this, |
856 |
* consider ourselves split. This must be set for automatic splitmode. |
857 |
*/ |
858 |
default_split_server_count = 10; |
859 |
|
860 |
/* split no create: disallow users creating channels on split. */ |
861 |
no_create_on_split = yes; |
862 |
|
863 |
/* split: no join: disallow users joining channels at all on a split */ |
864 |
no_join_on_split = no; |
865 |
}; |
866 |
|
867 |
/* |
868 |
* serverhide {}: The serverhide block contains the options regarding |
869 |
* serverhiding |
870 |
*/ |
871 |
serverhide { |
872 |
/* |
873 |
* flatten_links: this option will show all servers in /links appear |
874 |
* that they are linked to this current server |
875 |
* |
876 |
* EFnet Note: While this is not a requirement on EFnet, it |
877 |
* may be a good idea. Except, it's useless |
878 |
* unless the entire net runs it. |
879 |
*/ |
880 |
flatten_links = yes; |
881 |
|
882 |
/* |
883 |
* links_delay: how often to update the links file when it is |
884 |
* flattened. |
885 |
*/ |
886 |
links_delay = 5 minutes; |
887 |
|
888 |
/* |
889 |
* hidden: hide this server from a /links output on servers that |
890 |
* support it. This allows hub servers to be hidden etc. |
891 |
*/ |
892 |
hidden = no; |
893 |
|
894 |
/* |
895 |
* disable_hidden: prevent servers hiding themselves from a |
896 |
* /links output. |
897 |
*/ |
898 |
disable_hidden = no; |
899 |
|
900 |
/* |
901 |
* hide_servers: hide remote servernames everywhere and instead use |
902 |
* hidden_name and network_desc. |
903 |
*/ |
904 |
hide_servers = no; |
905 |
|
906 |
/* |
907 |
* Use this as the servername users see if hide_servers = yes. |
908 |
*/ |
909 |
hidden_name = "*.hidden.com"; |
910 |
|
911 |
/* |
912 |
* hide_server_ips: If this is disabled, opers will be unable to see servers |
913 |
* ips and will be shown a masked ip, admins will be shown the real ip. |
914 |
* |
915 |
* If this is enabled, nobody can see a servers ip. *This is a kludge*, it |
916 |
* has the side effect of hiding the ips everywhere, including logfiles. |
917 |
* |
918 |
* We recommend you leave this disabled, and just take care with who you |
919 |
* give admin=yes; to. |
920 |
*/ |
921 |
hide_server_ips = yes; |
922 |
}; |
923 |
|
924 |
/* |
925 |
* general {}: The general block contains many of the options that were once |
926 |
* compiled in options in config.h. The general block is read at start time. |
927 |
*/ |
928 |
general { |
929 |
/* max_watch: maximum WATCH entries */ |
930 |
max_watch = 64; |
931 |
|
932 |
/* |
933 |
* gline_min_cidr: the minimum required length of a CIDR bitmask |
934 |
* for IPv4 based glines |
935 |
*/ |
936 |
gline_min_cidr = 16; |
937 |
|
938 |
/* |
939 |
* gline_min_cidr6: the minimum required length of a CIDR bitmask |
940 |
* for IPv6 based glines |
941 |
*/ |
942 |
gline_min_cidr6 = 48; |
943 |
|
944 |
/* |
945 |
* Whether to automatically set mode +i on connecting users. |
946 |
*/ |
947 |
invisible_on_connect = yes; |
948 |
|
949 |
/* |
950 |
* If you don't explicitly specify burst_away in your connect blocks, then |
951 |
* they will default to the burst_away value below. |
952 |
*/ |
953 |
burst_away = no; |
954 |
|
955 |
/* |
956 |
* Show "actually using host <ip>" on /whois when possible. |
957 |
*/ |
958 |
use_whois_actually = yes; |
959 |
|
960 |
/* |
961 |
* Max time from the nickname change that still causes KILL |
962 |
* automatically to switch for the current nick of that user. (seconds) |
963 |
*/ |
964 |
kill_chase_time_limit = 90; |
965 |
|
966 |
/* |
967 |
* If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed |
968 |
* users in /trace etc. If this is defined they will be shown a masked IP. |
969 |
*/ |
970 |
hide_spoof_ips = yes; |
971 |
|
972 |
/* |
973 |
* Ignore bogus timestamps from other servers. Yes, this will desync |
974 |
* the network, but it will allow chanops to resync with a valid non TS 0 |
975 |
* |
976 |
* This should be enabled network wide, or not at all. |
977 |
*/ |
978 |
ignore_bogus_ts = no; |
979 |
|
980 |
/* |
981 |
* disable_auth: completely disable ident lookups; if you enable this, |
982 |
* be careful of what you set need_ident to in your auth {} blocks |
983 |
*/ |
984 |
disable_auth = no; |
985 |
|
986 |
/* disable_remote_commands: disable users doing commands on remote servers */ |
987 |
disable_remote_commands = no; |
988 |
|
989 |
/* |
990 |
* tkline_expire_notices: enables or disables temporary kline/xline |
991 |
* expire notices. |
992 |
*/ |
993 |
tkline_expire_notices = no; |
994 |
|
995 |
/* |
996 |
* default_floodcount: the default value of floodcount that is configurable |
997 |
* via /quote set floodcount. This is the amount of lines a user |
998 |
* may send to any other user/channel in one second. |
999 |
*/ |
1000 |
default_floodcount = 10; |
1001 |
|
1002 |
/* |
1003 |
* failed_oper_notice: send a notice to all opers on the server when |
1004 |
* someone tries to OPER and uses the wrong password, host or ident. |
1005 |
*/ |
1006 |
failed_oper_notice = yes; |
1007 |
|
1008 |
/* |
1009 |
* dots_in_ident: the amount of '.' characters permitted in an ident |
1010 |
* reply before the user is rejected. |
1011 |
*/ |
1012 |
dots_in_ident = 0; |
1013 |
|
1014 |
/* |
1015 |
* dot_in_ip6_addr: ircd-hybrid-6.0 and earlier will disallow hosts |
1016 |
* without a '.' in them. This will add one to the end. Only needed |
1017 |
* for older servers. |
1018 |
*/ |
1019 |
dot_in_ip6_addr = no; |
1020 |
|
1021 |
/* |
1022 |
* min_nonwildcard: the minimum non wildcard characters in k/d/g lines |
1023 |
* placed via the server. klines hand placed are exempt from limits. |
1024 |
* wildcard chars: '.' ':' '*' '?' '@' '!' '#' |
1025 |
*/ |
1026 |
min_nonwildcard = 3; |
1027 |
|
1028 |
/* |
1029 |
* min_nonwildcard_simple: the minimum non wildcard characters in |
1030 |
* gecos bans. wildcard chars: '*' '?' '#' |
1031 |
*/ |
1032 |
min_nonwildcard_simple = 3; |
1033 |
|
1034 |
/* max_accept: maximum allowed /accept's for +g usermode */ |
1035 |
max_accept = 20; |
1036 |
|
1037 |
/* anti_nick_flood: enable the nickflood control code */ |
1038 |
anti_nick_flood = yes; |
1039 |
|
1040 |
/* nick flood: the nick changes allowed in the specified period */ |
1041 |
max_nick_time = 20 seconds; |
1042 |
max_nick_changes = 5; |
1043 |
|
1044 |
/* |
1045 |
* anti_spam_exit_message_time: the minimum time a user must be connected |
1046 |
* before custom quit messages are allowed. |
1047 |
*/ |
1048 |
anti_spam_exit_message_time = 5 minutes; |
1049 |
|
1050 |
/* |
1051 |
* ts delta: the time delta allowed between server clocks before |
1052 |
* a warning is given, or before the link is dropped. all servers |
1053 |
* should run ntpdate/rdate to keep clocks in sync |
1054 |
*/ |
1055 |
ts_warn_delta = 30 seconds; |
1056 |
ts_max_delta = 5 minutes; |
1057 |
|
1058 |
/* |
1059 |
* kline_with_reason: show the user the reason why they are k/d/glined |
1060 |
* on exit. May give away who set k/dline when set via tcm. |
1061 |
*/ |
1062 |
kline_with_reason = yes; |
1063 |
|
1064 |
/* |
1065 |
* kline_reason: show this message to users on channel |
1066 |
* instead of the oper reason. |
1067 |
*/ |
1068 |
kline_reason = "Connection closed"; |
1069 |
|
1070 |
/* |
1071 |
* reject_hold_time: wait this amount of time before disconnecting |
1072 |
* a rejected client. Use 0 to disable. |
1073 |
*/ |
1074 |
reject_hold_time = 30 seconds; |
1075 |
|
1076 |
/* |
1077 |
* warn_no_nline: warn opers about servers that try to connect but |
1078 |
* we don't have a connect {} block for. Twits with misconfigured |
1079 |
* servers can get really annoying with this enabled. |
1080 |
*/ |
1081 |
warn_no_nline = yes; |
1082 |
|
1083 |
/* |
1084 |
* stats_e_disabled: set this to 'yes' to disable "STATS e" for both |
1085 |
* operators and administrators. Doing so is a good idea in case |
1086 |
* there are any exempted (exempt{}) server IPs you don't want to |
1087 |
* see leaked. |
1088 |
*/ |
1089 |
stats_e_disabled = no; |
1090 |
|
1091 |
/* stats_o_oper only: make stats o (opers) oper only */ |
1092 |
stats_o_oper_only = yes; |
1093 |
|
1094 |
/* stats_P_oper_only: make stats P (ports) oper only */ |
1095 |
stats_P_oper_only = yes; |
1096 |
|
1097 |
/* |
1098 |
* stats i oper only: make stats i (auth {}) oper only. set to: |
1099 |
* yes: show users no auth blocks, made oper only. |
1100 |
* masked: show users first matching auth block |
1101 |
* no: show users all auth blocks. |
1102 |
*/ |
1103 |
stats_i_oper_only = yes; |
1104 |
|
1105 |
/* |
1106 |
* stats_k_oper_only: make stats k/K (klines) oper only. set to: |
1107 |
* yes: show users no auth blocks, made oper only |
1108 |
* masked: show users first matching auth block |
1109 |
* no: show users all auth blocks. |
1110 |
*/ |
1111 |
stats_k_oper_only = yes; |
1112 |
|
1113 |
/* |
1114 |
* caller_id_wait: time between notifying a +g user that somebody |
1115 |
* is messaging them. |
1116 |
*/ |
1117 |
caller_id_wait = 1 minute; |
1118 |
|
1119 |
/* |
1120 |
* opers_bypass_callerid: allows operators to bypass +g and message |
1121 |
* anyone who has it set (useful if you use services). |
1122 |
*/ |
1123 |
opers_bypass_callerid = no; |
1124 |
|
1125 |
/* |
1126 |
* pace_wait_simple: time between use of less intensive commands |
1127 |
* (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS) |
1128 |
*/ |
1129 |
pace_wait_simple = 1 second; |
1130 |
|
1131 |
/* |
1132 |
* pace_wait: time between more intensive commands |
1133 |
* (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
1134 |
*/ |
1135 |
pace_wait = 10 seconds; |
1136 |
|
1137 |
/* |
1138 |
* short_motd: send clients a notice telling them to read the motd |
1139 |
* instead of forcing a motd to clients who may simply ignore it. |
1140 |
*/ |
1141 |
short_motd = no; |
1142 |
|
1143 |
/* |
1144 |
* ping_cookie: require clients to respond exactly to a ping command, |
1145 |
* can help block certain types of drones and FTP PASV mode spoofing. |
1146 |
*/ |
1147 |
ping_cookie = no; |
1148 |
|
1149 |
/* no_oper_flood: increase flood limits for opers. */ |
1150 |
no_oper_flood = yes; |
1151 |
|
1152 |
/* |
1153 |
* true_no_oper_flood: completely eliminate flood limits for opers |
1154 |
* and for clients with can_flood = yes in their auth {} blocks |
1155 |
*/ |
1156 |
true_no_oper_flood = yes; |
1157 |
|
1158 |
/* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */ |
1159 |
oper_pass_resv = yes; |
1160 |
|
1161 |
/* |
1162 |
* idletime: the maximum amount of time a user may idle before |
1163 |
* they are disconnected |
1164 |
*/ |
1165 |
idletime = 0; |
1166 |
|
1167 |
/* REMOVE ME. The following line checks you've been reading. */ |
1168 |
havent_read_conf = 1; |
1169 |
|
1170 |
/* |
1171 |
* max_targets: the maximum amount of targets in a single |
1172 |
* PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited. |
1173 |
*/ |
1174 |
max_targets = 4; |
1175 |
|
1176 |
/* |
1177 |
* client_flood: maximum amount of data in a clients queue before |
1178 |
* they are dropped for flooding. |
1179 |
*/ |
1180 |
client_flood = 2560 bytes; |
1181 |
|
1182 |
/* |
1183 |
* message_locale: the default message locale |
1184 |
* Use "standard" for the compiled in defaults. |
1185 |
* To install the translated messages, go into messages/ in the |
1186 |
* source directory and run `make install'. |
1187 |
*/ |
1188 |
message_locale = "standard"; |
1189 |
|
1190 |
/* |
1191 |
* usermodes configurable: a list of usermodes for the options below |
1192 |
* |
1193 |
* +b - bots - See bot and drone flooding notices |
1194 |
* +c - cconn - Client connection/quit notices |
1195 |
* +C - cconn - Client connection/quit notices full |
1196 |
* +D - deaf - Don't receive channel messages |
1197 |
* +d - debug - See debugging notices |
1198 |
* +f - full - See I: line full notices |
1199 |
* +G - softcallerid - Server Side Ignore for users not on your channels |
1200 |
* +g - callerid - Server Side Ignore (for privmsgs etc) |
1201 |
* +i - invisible - Not shown in NAMES or WHO unless you share a |
1202 |
* a channel |
1203 |
* +k - skill - See server generated KILL messages |
1204 |
* +l - locops - See LOCOPS messages |
1205 |
* +n - nchange - See client nick changes |
1206 |
* +r - rej - See rejected client notices |
1207 |
* +s - servnotice - See general server notices |
1208 |
* +u - unauth - See unauthorized client notices |
1209 |
* +w - wallop - See server generated WALLOPS |
1210 |
* +x - external - See remote server connection and split notices |
1211 |
* +y - spy - See LINKS, STATS, TRACE notices etc. |
1212 |
* +z - operwall - See oper generated WALLOPS |
1213 |
*/ |
1214 |
|
1215 |
/* oper_only_umodes: usermodes only opers may set */ |
1216 |
oper_only_umodes = bots, cconn, cconn_full, debug, full, skill, |
1217 |
nchange, rej, spy, external, operwall, |
1218 |
locops, unauth; |
1219 |
|
1220 |
/* oper_umodes: default usermodes opers get when they /oper */ |
1221 |
oper_umodes = bots, locops, servnotice, operwall, wallop; |
1222 |
|
1223 |
/* |
1224 |
* servlink_path: path to 'servlink' program used by ircd to handle |
1225 |
* encrypted/compressed server <-> server links. |
1226 |
* |
1227 |
* only define if servlink is not in same directory as ircd itself. |
1228 |
*/ |
1229 |
#servlink_path = "/usr/local/ircd/bin/servlink"; |
1230 |
|
1231 |
/* |
1232 |
* default_cipher_preference: default cipher to use for cryptlink when none is |
1233 |
* specified in connect block. |
1234 |
*/ |
1235 |
#default_cipher_preference = "BF/168"; |
1236 |
|
1237 |
/* |
1238 |
* use_egd: if your system does not have *random devices yet you |
1239 |
* want to use OpenSSL and encrypted links, enable this. Beware - |
1240 |
* EGD is *very* CPU intensive when gathering data for its pool |
1241 |
*/ |
1242 |
# use_egd = yes; |
1243 |
|
1244 |
/* |
1245 |
* egdpool_path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7 |
1246 |
* which automatically finds the path. |
1247 |
*/ |
1248 |
# egdpool_path = "/var/run/egd-pool"; |
1249 |
|
1250 |
|
1251 |
/* |
1252 |
* compression_level: level of compression for compressed links between |
1253 |
* servers. |
1254 |
* |
1255 |
* values are between: 1 (least compression, fastest) |
1256 |
* and: 9 (most compression, slowest). |
1257 |
*/ |
1258 |
# compression_level = 6; |
1259 |
|
1260 |
/* |
1261 |
* throttle_time: the minimum amount of time between connections from |
1262 |
* the same ip. exempt {} blocks are excluded from this throttling. |
1263 |
* Offers protection against flooders who reconnect quickly. |
1264 |
* Set to 0 to disable. |
1265 |
*/ |
1266 |
throttle_time = 0; |
1267 |
}; |
1268 |
|
1269 |
glines { |
1270 |
/* |
1271 |
* EFnet Note: This feature is required for European EFnet servers |
1272 |
* and is used by several North American servers. As |
1273 |
* such, it has been left on by default. If you |
1274 |
* do not want your server to participate in G:Lines |
1275 |
* you should disable this. |
1276 |
*/ |
1277 |
|
1278 |
/* enable: enable glines, network wide temp klines */ |
1279 |
enable = yes; |
1280 |
|
1281 |
/* |
1282 |
* duration: the amount of time a gline will remain on your |
1283 |
* server before expiring |
1284 |
*/ |
1285 |
duration = 1 day; |
1286 |
|
1287 |
/* |
1288 |
* logging: which types of rules you want to log when triggered |
1289 |
* (choose reject or block) |
1290 |
*/ |
1291 |
logging = reject, block; |
1292 |
|
1293 |
/* |
1294 |
* NOTE: gline ACLs can cause a desync of glines throughout the |
1295 |
* network, meaning some servers may have a gline triggered, and |
1296 |
* others may not. Also, you only need insert rules for glines |
1297 |
* that you want to block and/or reject. If you want to accept and |
1298 |
* propagate the gline, do NOT put a rule for it. |
1299 |
*/ |
1300 |
|
1301 |
/* user@host for rule to apply to */ |
1302 |
user = "god@I.still.hate.packets"; |
1303 |
/* server for rule to apply to */ |
1304 |
name = "hades.arpa"; |
1305 |
|
1306 |
/* |
1307 |
* action: action to take when a matching gline is found. options are: |
1308 |
* reject - do not apply the gline locally |
1309 |
* block - do not propagate the gline |
1310 |
*/ |
1311 |
action = reject, block; |
1312 |
|
1313 |
user = "god@*"; |
1314 |
name = "*"; |
1315 |
action = block; |
1316 |
}; |
1317 |
|
1318 |
modules { |
1319 |
/* |
1320 |
* module path: other paths to search for modules specified below |
1321 |
* and in /modload. |
1322 |
*/ |
1323 |
path = "/usr/local/ircd/modules"; |
1324 |
path = "/usr/local/ircd/modules/autoload"; |
1325 |
|
1326 |
/* module: the name of a module to load on startup/rehash */ |
1327 |
#module = "some_module.so"; |
1328 |
}; |