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