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