1 |
< |
/* doc/example.conf - ircd-hybrid-7 Example configuration file |
2 |
< |
* Copyright (C) 2000-2011 Hybrid Development Team |
1 |
> |
/* doc/example.conf - ircd-hybrid-8 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/. |
6 |
> |
* doc/. |
7 |
|
* |
8 |
|
* $Id$ |
9 |
|
*/ |
39 |
|
*/ |
40 |
|
|
41 |
|
/* |
42 |
< |
* serverinfo {}: contains information about the server. (OLD M:) |
42 |
> |
* serverinfo {}: contains information about the server |
43 |
|
*/ |
44 |
|
serverinfo { |
45 |
|
/* |
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. |
59 |
> |
* description: the description of the server. |
60 |
|
*/ |
61 |
< |
description = "hybrid-7 test server"; |
61 |
> |
description = "ircd-hybrid test server"; |
62 |
|
|
63 |
|
/* |
64 |
|
* network info: the name and description of the network this server |
95 |
|
* Example command to store a 2048 bit RSA keypair in |
96 |
|
* rsa.key, and the public key in rsa.pub: |
97 |
|
* |
98 |
< |
* openssl genrsa -out rsa.key 2048 |
98 |
> |
* openssl genrsa -out rsa.key 2048 |
99 |
|
* openssl rsa -in rsa.key -pubout -out rsa.pub |
100 |
|
* chown <ircd-user>.<ircd.group> rsa.key rsa.pub |
101 |
|
* chmod 0600 rsa.key |
124 |
|
#ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
125 |
|
|
126 |
|
/* |
127 |
< |
* ssl_server_protocol: |
128 |
< |
* SSL/TLS protocols we provide for incoming secure connections. |
127 |
> |
* ssl_dh_param_file: |
128 |
> |
* |
129 |
> |
* Path to the PEM encoded Diffie-Hellman parameter file. |
130 |
> |
* DH parameters are strictly required when using ciphers |
131 |
> |
* with EDH (ephemeral Diffie-Hellman) key exchange. |
132 |
> |
* |
133 |
> |
* A DH parameter file can be created by running: |
134 |
> |
* |
135 |
> |
* openssl dhparam -out dhparam.pem 1024 |
136 |
> |
* |
137 |
> |
* Prime size must be at least 1024 bits. Further information |
138 |
> |
* regarding specific OpenSSL dhparam command-line options |
139 |
> |
* can be found in the OpenSSL manual. |
140 |
> |
*/ |
141 |
> |
#ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem"; |
142 |
> |
|
143 |
> |
/* |
144 |
> |
* ssl_cipher_list: |
145 |
> |
* |
146 |
> |
* List of ciphers that are supported by _this_ server. Can be used to |
147 |
> |
* enforce specific ciphers for incoming SSL/TLS connections. |
148 |
> |
* If a client (which also includes incoming server connections) isn't |
149 |
> |
* capable of any cipher listed below, the connection will simply be |
150 |
> |
* rejected. |
151 |
> |
* |
152 |
> |
* A list of supported ciphers can be obtained by running: |
153 |
> |
* |
154 |
> |
* openssl ciphers -ssl3 -tls1 -v |
155 |
> |
* |
156 |
> |
* Multiple ciphers are separated by colons. The order of preference is |
157 |
> |
* from left to right. |
158 |
> |
*/ |
159 |
> |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
160 |
> |
|
161 |
> |
/* |
162 |
> |
* ssl_server_method: |
163 |
> |
* ssl_client_method: |
164 |
> |
* |
165 |
> |
* SSL/TLS methods we provide for incoming (server method) and |
166 |
> |
* outgoing (client method) SSL/TLS connections. |
167 |
|
* This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1. |
131 |
– |
* SSLv2 is not suppported. This cannot be changed at runtime. |
168 |
|
*/ |
169 |
< |
#ssl_server_protocol = sslv3, tlsv1; |
169 |
> |
#ssl_server_method = tlsv1, sslv3; |
170 |
> |
#ssl_client_method = tlsv1; |
171 |
|
}; |
172 |
|
|
173 |
|
/* |
174 |
< |
* admin {}: contains admin information about the server. (OLD A:) |
174 |
> |
* admin {}: contains admin information about the server |
175 |
|
*/ |
176 |
|
admin { |
177 |
|
name = "Smurf target"; |
180 |
|
}; |
181 |
|
|
182 |
|
/* |
183 |
< |
* log {}: contains information about logfiles. |
147 |
< |
*/ |
148 |
< |
log { |
149 |
< |
/* Do you want to enable logging to ircd.log? */ |
150 |
< |
use_logging = yes; |
151 |
< |
|
152 |
< |
/* |
153 |
< |
* logfiles: the logfiles to use for user connects, /oper uses, |
154 |
< |
* and failed /oper. These files must exist for logging to be used. |
155 |
< |
*/ |
156 |
< |
fname_userlog = "logs/userlog"; |
157 |
< |
fname_operlog = "logs/operlog"; |
158 |
< |
fname_killlog = "logs/kill"; |
159 |
< |
fname_klinelog = "logs/kline"; |
160 |
< |
fname_glinelog = "logs/gline"; |
161 |
< |
|
162 |
< |
/* |
163 |
< |
* log_level: the amount of detail to log in ircd.log. The |
164 |
< |
* higher, the more information is logged. May be changed |
165 |
< |
* once the server is running via /quote SET LOG. Either: |
166 |
< |
* L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG |
167 |
< |
*/ |
168 |
< |
log_level = L_INFO; |
169 |
< |
}; |
170 |
< |
|
171 |
< |
/* |
172 |
< |
* class {}: contains information about classes for users (OLD Y:) |
183 |
> |
* class {}: contains information about classes for users |
184 |
|
*/ |
185 |
|
class { |
186 |
< |
/* name: the name of the class. classes are text now */ |
186 |
> |
/* name: the name of the class */ |
187 |
|
name = "users"; |
188 |
|
|
189 |
|
/* |
223 |
|
number_per_cidr = 16; |
224 |
|
|
225 |
|
/* |
226 |
< |
* sendq: the amount of data allowed in a clients queue before |
226 |
> |
* sendq: the amount of data allowed in a clients send queue before |
227 |
|
* they are dropped. |
228 |
|
*/ |
229 |
|
sendq = 100 kbytes; |
230 |
+ |
|
231 |
+ |
/* |
232 |
+ |
* recvq: maximum amount of data in a clients receive queue before |
233 |
+ |
* they are dropped for flooding. Defaults to 2560 if the chosen |
234 |
+ |
* value isn't within the range of 512 to 8000. |
235 |
+ |
*/ |
236 |
+ |
recvq = 2560 bytes; |
237 |
|
}; |
238 |
|
|
239 |
|
class { |
241 |
|
ping_time = 90 seconds; |
242 |
|
number_per_ip = 10; |
243 |
|
max_number = 100; |
244 |
< |
sendq = 100kbytes; |
244 |
> |
sendq = 100 kbytes; |
245 |
|
}; |
246 |
|
|
247 |
|
class { |
249 |
|
ping_time = 90 seconds; |
250 |
|
|
251 |
|
/* |
234 |
– |
* ping_warning: how fast a server must reply to a PING before |
235 |
– |
* a warning to opers is generated. |
236 |
– |
*/ |
237 |
– |
ping_warning = 15 seconds; |
238 |
– |
|
239 |
– |
/* |
252 |
|
* connectfreq: only used in server classes. Specifies the delay |
253 |
|
* between autoconnecting to servers. |
254 |
|
*/ |
262 |
|
}; |
263 |
|
|
264 |
|
/* |
265 |
< |
* listen {}: contains information about the ports ircd listens on (OLD P:) |
265 |
> |
* listen {}: contains information about the ports ircd listens on |
266 |
|
*/ |
267 |
|
listen { |
268 |
|
/* |
285 |
|
* |
286 |
|
* ssl - Port is for SSL client connections only |
287 |
|
* server - Only server connections are permitted |
288 |
< |
* hidden - Port is hidden from /stats P |
288 |
> |
* hidden - Port is hidden from /stats P, unless you're an admin |
289 |
|
*/ |
290 |
|
flags = hidden, ssl; |
291 |
|
host = "192.168.0.1"; |
303 |
|
}; |
304 |
|
|
305 |
|
/* |
306 |
< |
* auth {}: allow users to connect to the ircd (OLD I:) |
306 |
> |
* auth {}: allow users to connect to the ircd |
307 |
|
*/ |
308 |
|
auth { |
309 |
|
/* |
310 |
< |
* user: the user@host allowed to connect. Multiple IPv4/IPv6 user |
310 |
> |
* user: the user@host allowed to connect. Multiple user |
311 |
|
* lines are permitted per auth block. |
312 |
|
*/ |
313 |
|
user = "*@172.16.0.0/12"; |
332 |
|
class = "opers"; |
333 |
|
|
334 |
|
/* |
335 |
< |
* need_password: don't allow users who haven't supplied the correct |
336 |
< |
* password to connect using another auth{} block |
337 |
< |
* ('&' prefix on /stats I if disabled) |
338 |
< |
* need_ident: require the user to have identd to connect ('+' prefix on /stats I) |
339 |
< |
* spoof_notice: enable spoofing notification to admins |
340 |
< |
* exceed_limit: allow a user to exceed class limits ('>' prefix on /stats I) |
341 |
< |
* kline_exempt: exempt this user from k/glines ('^' prefix on /stats I) |
342 |
< |
* gline_exempt: exempt this user from glines ('_' prefix on /stats I) |
343 |
< |
* resv_exempt: exempt this user from resvs ('$' prefix on /stats I) |
344 |
< |
* no_tilde: remove ~ from a user with no ident ('-' prefix on /stats I) |
345 |
< |
* can_flood: allow this user to exceed flood limits ('|' prefix on /stats I) |
335 |
> |
* need_password - don't allow users who haven't supplied the correct |
336 |
> |
* password to connect using another auth{} block |
337 |
> |
* ('&' prefix on /stats I if disabled) |
338 |
> |
* need_ident - require the user to have identd to connect ('+' prefix on /stats I) |
339 |
> |
* spoof_notice - enable spoofing notification to admins |
340 |
> |
* exceed_limit - allow a user to exceed class limits ('>' prefix on /stats I) |
341 |
> |
* kline_exempt - exempt this user from k/glines ('^' prefix on /stats I) |
342 |
> |
* gline_exempt - exempt this user from glines ('_' prefix on /stats I) |
343 |
> |
* resv_exempt - exempt this user from resvs ('$' prefix on /stats I) |
344 |
> |
* no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I) |
345 |
> |
* can_flood - allow this user to exceed flood limits ('|' prefix on /stats I) |
346 |
|
*/ |
347 |
|
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
348 |
|
gline_exempt, resv_exempt, no_tilde, can_flood; |
370 |
|
}; |
371 |
|
|
372 |
|
/* |
373 |
< |
* operator {}: defines ircd operators. (OLD O:) |
373 |
> |
* operator {}: defines ircd operators |
374 |
|
* |
375 |
|
* ircd-hybrid no longer supports local operators, privileges are |
376 |
|
* controlled via flags. |
377 |
|
*/ |
378 |
|
operator { |
379 |
|
/* name: the name of the oper */ |
380 |
< |
/* NOTE: operator "opername"{} is also supported */ |
369 |
< |
name = "god"; |
380 |
> |
name = "sheep"; |
381 |
|
|
382 |
|
/* |
383 |
< |
* user: the user@host required for this operator. CIDR is not |
384 |
< |
* supported. Multiple user="" lines are supported. |
383 |
> |
* user: the user@host required for this operator. Multiple |
384 |
> |
* user="" lines are supported. |
385 |
|
*/ |
386 |
< |
user = "*god@*"; |
387 |
< |
user = "*@127.0.0.1"; |
386 |
> |
user = "*sheep@192.168.0.0/16"; |
387 |
> |
user = "*@127.0.0.0/8"; |
388 |
|
|
389 |
|
/* |
390 |
|
* password: the password required to oper. By default this will |
422 |
|
* +C - cconn_full - Client connection/quit notices full |
423 |
|
* +D - deaf - Don't receive channel messages |
424 |
|
* +d - debug - See debugging notices |
425 |
< |
* +f - full - See I: line full notices |
425 |
> |
* +f - full - See auth{} block full notices |
426 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
427 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
428 |
+ |
* +H - hidden - Hides operator status to other users |
429 |
|
* +i - invisible - Not shown in NAMES or WHO unless you share a |
430 |
|
* a channel |
431 |
+ |
* +j - rej - See rejected client notices |
432 |
|
* +k - skill - See server generated KILL messages |
433 |
|
* +l - locops - See LOCOPS messages |
434 |
|
* +n - nchange - See client nick changes |
422 |
– |
* +r - rej - See rejected client notices |
435 |
|
* +s - servnotice - See general server notices |
436 |
|
* +u - unauth - See unauthorized client notices |
437 |
|
* +w - wallop - See server generated WALLOPS |
443 |
|
|
444 |
|
/* |
445 |
|
* privileges: controls the activities and commands an oper is |
446 |
< |
* allowed to do on the server. All options default to no. |
446 |
> |
* allowed to do on the server. All options default to no. |
447 |
|
* Available options: |
448 |
|
* |
449 |
< |
* global_kill: allows remote users to be /KILL'd (OLD 'O' flag) |
450 |
< |
* remote: allows remote SQUIT and CONNECT (OLD 'R' flag) |
451 |
< |
* remoteban: allows remote KLINE/UNKLINE |
452 |
< |
* kline: allows KILL, KLINE and DLINE (OLD 'K' flag) |
453 |
< |
* unkline: allows UNKLINE and UNDLINE (OLD 'U' flag) |
454 |
< |
* gline: allows GLINE (OLD 'G' flag) |
455 |
< |
* xline: allows XLINE (OLD 'X' flag) |
456 |
< |
* operwall: allows OPERWALL |
457 |
< |
* globops: allows GLOBOPS |
458 |
< |
* nick_changes: allows oper to see nickchanges (OLD 'N' flag) |
459 |
< |
* via usermode +n |
460 |
< |
* rehash: allows oper to REHASH config (OLD 'H' flag) |
461 |
< |
* die: allows DIE and RESTART (OLD 'D' flag) |
462 |
< |
* admin: gives admin privileges. admins |
463 |
< |
* may (un)load modules and see the |
464 |
< |
* real IPs of servers. |
465 |
< |
* hidden_admin: same as 'admin', but noone can recognize you as |
466 |
< |
* being an admin |
467 |
< |
* hidden_oper: not shown in /stats p (except for other operators) |
456 |
< |
* |
457 |
< |
* A flag can be negated with ~ i.e. |
458 |
< |
* flags = ~remote; |
449 |
> |
* module - allows MODULE |
450 |
> |
* global_kill - allows remote users to be /KILL'd |
451 |
> |
* remote - allows remote SQUIT and CONNECT |
452 |
> |
* remoteban - allows remote KLINE/UNKLINE |
453 |
> |
* dline - allows DLINE |
454 |
> |
* undline - allows UNDLINE |
455 |
> |
* kline - allows KILL and KLINE |
456 |
> |
* unkline - allows UNKLINE |
457 |
> |
* gline - allows GLINE |
458 |
> |
* xline - allows XLINE |
459 |
> |
* globops - allows GLOBOPS |
460 |
> |
* operwall - allows OPERWALL |
461 |
> |
* nick_changes - allows oper to see nickchanges via usermode +n |
462 |
> |
* rehash - allows oper to REHASH config |
463 |
> |
* die - allows DIE |
464 |
> |
* restart - allows RESTART |
465 |
> |
* set - allows SET |
466 |
> |
* admin - gives admin privileges. admins for example, |
467 |
> |
* may see the real IP addresses of servers. |
468 |
|
*/ |
469 |
< |
flags = global_kill, remote, kline, unkline, xline, globops, |
470 |
< |
die, rehash, nick_changes, admin, operwall; |
469 |
> |
flags = global_kill, remote, kline, unkline, xline, globops, restart, |
470 |
> |
die, rehash, nick_changes, admin, operwall, module; |
471 |
|
}; |
472 |
|
|
473 |
+ |
/* |
474 |
+ |
* service {}: specifies what server may act as a network service |
475 |
+ |
* |
476 |
+ |
* NOTE: it is absolutely important that every single server on the network |
477 |
+ |
* has the same service{} block. |
478 |
+ |
*/ |
479 |
|
service { |
480 |
|
name = "service.someserver"; |
481 |
< |
name = "stats.someserver; |
481 |
> |
name = "stats.someserver"; |
482 |
|
}; |
483 |
|
|
484 |
|
/* |
485 |
< |
* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) |
485 |
> |
* connect {}: controls servers we connect to |
486 |
|
*/ |
487 |
|
connect { |
488 |
|
/* name: the name of the server */ |
533 |
|
class = "server"; |
534 |
|
|
535 |
|
/* |
536 |
< |
* autoconn: controls whether we autoconnect to this server or not, |
537 |
< |
* dependent on class limits. By default, this is disabled. |
538 |
< |
* compressed: controls whether traffic is compressed via ziplinks. |
539 |
< |
* By default, this is disabled |
540 |
< |
* cryptlink: enable full encryption for all data passing between our |
541 |
< |
* server and this link and rsa authentication. |
542 |
< |
* burst_away: This will send the /away string that users have set |
543 |
< |
* on the server burst. Note this can be a lot of data |
544 |
< |
* and slow down your server burst. |
545 |
< |
* topicburst: Send topics to this server during channel burst. Works |
531 |
< |
* only if the server we are connecting to is capable |
532 |
< |
* of TBURST/TB. |
533 |
< |
*/ |
534 |
< |
# flags = autoconn, compressed, cryptlink, burst_away, topicburst; |
535 |
< |
}; |
536 |
< |
|
537 |
< |
connect { |
538 |
< |
name = "encrypted.auth.example"; |
539 |
< |
host = "some.host.somewhere"; |
540 |
< |
port = 6667; |
541 |
< |
|
542 |
< |
flags = cryptlink; |
543 |
< |
|
544 |
< |
/* |
545 |
< |
* rsa_public_key_file: the path to the public keyfile of the server. |
546 |
< |
* Used instead of passwords. |
536 |
> |
* ssl_cipher_list: |
537 |
> |
* |
538 |
> |
* List of ciphers that the server we are connecting to must support. |
539 |
> |
* If the server isn't capable of any cipher listed below, the |
540 |
> |
* connection will simply be rejected. |
541 |
> |
* Can be used to enforce stronger ciphers, even though this option |
542 |
> |
* is not necessarily required to establish a SSL/TLS connection. |
543 |
> |
* |
544 |
> |
* Multiple ciphers are separated by colons. The order of preference |
545 |
> |
* is from left to right. |
546 |
|
*/ |
547 |
< |
rsa_public_key_file = "etc/remote.server.keyfile"; |
547 |
> |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
548 |
|
|
549 |
|
/* |
550 |
< |
* cipher preference: set the preferred cipher for this link |
551 |
< |
* |
552 |
< |
* Available ciphers are: |
554 |
< |
* BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128 |
555 |
< |
* RC5.12/128 RC5.8/128 3DES/168 DES/56 |
556 |
< |
* |
557 |
< |
* NOTE: Some ciphers may not be supported by your OpenSSL. |
558 |
< |
* Check the output from 'configure' for available ciphers. |
559 |
< |
* |
560 |
< |
* NOTE2: To help you decide what cipher to use, tools/encspeed |
561 |
< |
* will show you approximately how fast each cipher is. |
562 |
< |
* However, blowfish is fast and secure, and is probably |
563 |
< |
* a good default for most situations. |
564 |
< |
* |
565 |
< |
* NOTE3: Default if none is set is BF/128 |
566 |
< |
* |
567 |
< |
* The cipher *MUST* be the same in both directions. If you |
568 |
< |
* set a cipher preference, your uplink must set the same cipher, |
569 |
< |
* else it will not link. |
550 |
> |
* autoconn - controls whether we autoconnect to this server or not, |
551 |
> |
* dependent on class limits. By default, this is disabled. |
552 |
> |
* ssl - Initiates a TLS/SSL connection. |
553 |
|
*/ |
554 |
< |
# cipher_preference = "BF/168"; |
554 |
> |
# flags = autoconn, ssl; |
555 |
|
}; |
556 |
|
|
557 |
< |
/* |
558 |
< |
* NOTE: Don't add an extra 'name=' entry if you use |
576 |
< |
* the connect "name"{} feature |
577 |
< |
*/ |
578 |
< |
connect "ipv6.some.server" { |
557 |
> |
connect { |
558 |
> |
name = "ipv6.some.server"; |
559 |
|
host = "3ffd:dead:beef::1"; |
560 |
|
send_password = "password"; |
561 |
|
accept_password = "password"; |
571 |
|
|
572 |
|
/* |
573 |
|
* cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops |
574 |
< |
* automatically (OLD hyb6 SLAVE_SERVERS) |
574 |
> |
* automatically |
575 |
|
*/ |
576 |
|
cluster { |
577 |
|
/* |
589 |
|
|
590 |
|
/* |
591 |
|
* type: list of what to share, options are as follows: |
592 |
< |
* kline - share klines |
593 |
< |
* tkline - share temporary klines |
594 |
< |
* unkline - share unklines |
595 |
< |
* xline - share xlines |
596 |
< |
* txline - share temporary xlines |
597 |
< |
* unxline - share unxlines |
598 |
< |
* resv - share resvs |
599 |
< |
* tresv - share temporary resvs |
600 |
< |
* unresv - share unresvs |
601 |
< |
* locops - share locops |
622 |
< |
* all - share all of the above (default) |
592 |
> |
* dline - share dlines |
593 |
> |
* undline - share undlines |
594 |
> |
* kline - share klines |
595 |
> |
* unkline - share unklines |
596 |
> |
* xline - share xlines |
597 |
> |
* unxline - share unxlines |
598 |
> |
* resv - share resvs |
599 |
> |
* unresv - share unresvs |
600 |
> |
* locops - share locops |
601 |
> |
* all - share all of the above (default) |
602 |
|
*/ |
603 |
|
type = kline, unkline, locops, xline, resv; |
604 |
|
}; |
605 |
|
|
606 |
|
/* |
607 |
< |
* shared {}: users that are allowed to remote kline (OLD U:) |
607 |
> |
* shared {}: users that are allowed to remote kline |
608 |
|
* |
609 |
|
* NOTE: This can be effectively used for remote klines. |
610 |
|
* Please note that there is no password authentication |
627 |
|
|
628 |
|
/* |
629 |
|
* type: list of what to share, options are as follows: |
630 |
< |
* kline - allow oper/server to kline |
631 |
< |
* tkline - allow temporary klines |
632 |
< |
* unkline - allow oper/server to unkline |
633 |
< |
* xline - allow oper/server to xline |
634 |
< |
* txline - allow temporary xlines |
635 |
< |
* unxline - allow oper/server to unxline |
636 |
< |
* resv - allow oper/server to resv |
637 |
< |
* tresv - allow temporary resvs |
659 |
< |
* unresv - allow oper/server to unresv |
630 |
> |
* dline - allow oper/server to dline |
631 |
> |
* undline - allow oper/server to undline |
632 |
> |
* kline - allow oper/server to kline |
633 |
> |
* unkline - allow oper/server to unkline |
634 |
> |
* xline - allow oper/server to xline |
635 |
> |
* unxline - allow oper/server to unxline |
636 |
> |
* resv - allow oper/server to resv |
637 |
> |
* unresv - allow oper/server to unresv |
638 |
|
* locops - allow oper/server to locops - only used for servers that cluster |
639 |
< |
* all - allow oper/server to do all of the above (default) |
639 |
> |
* all - allow oper/server to do all of the above (default) |
640 |
|
*/ |
641 |
|
type = kline, unkline, resv; |
642 |
|
}; |
643 |
|
|
644 |
|
/* |
645 |
< |
* kill {}: users that are not allowed to connect (OLD K:) |
645 |
> |
* kill {}: users that are not allowed to connect |
646 |
|
* Oper issued klines will be added to the specified kline config |
647 |
|
*/ |
648 |
|
kill { |
670 |
|
}; |
671 |
|
|
672 |
|
/* |
673 |
< |
* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) |
673 |
> |
* exempt {}: IPs that are exempt from deny {} and Dlines |
674 |
|
*/ |
675 |
|
exempt { |
676 |
|
ip = "192.168.0.0/16"; |
677 |
|
}; |
678 |
|
|
679 |
|
/* |
680 |
< |
* resv {}: nicks and channels users may not use/join (OLD Q:) |
680 |
> |
* resv {}: nicks and channels users may not use/join |
681 |
|
*/ |
682 |
|
resv { |
683 |
|
/* reason: the reason for the proceeding resv's */ |
686 |
|
/* resv: the nicks and channels users may not join/use */ |
687 |
|
nick = "Global"; |
688 |
|
nick = "DevNull"; |
689 |
+ |
nick = "BotServ"; |
690 |
|
nick = "Services"; |
691 |
|
nick = "StatServ"; |
692 |
+ |
nick = "HelpServ"; |
693 |
|
nick = "HostServ"; |
694 |
|
nick = "NickServ"; |
695 |
|
nick = "ChanServ"; |
744 |
|
* 3 | mirc color |
745 |
|
* 15 | plain text |
746 |
|
* 22 | reverse |
747 |
+ |
* 29 | italic |
748 |
|
* 31 | underline |
749 |
|
* 160 | non-breaking space |
750 |
|
*/ |
757 |
|
restrict_channels = no; |
758 |
|
|
759 |
|
/* |
779 |
– |
* disable_local_channels: prevent users from joining &channels. |
780 |
– |
*/ |
781 |
– |
disable_local_channels = no; |
782 |
– |
|
783 |
– |
/* |
784 |
– |
* use_invex: Enable/disable channel mode +I, a n!u@h list of masks |
785 |
– |
* that can join a +i channel without an invite. |
786 |
– |
*/ |
787 |
– |
use_invex = yes; |
788 |
– |
|
789 |
– |
/* |
790 |
– |
* use_except: Enable/disable channel mode +e, a n!u@h list of masks |
791 |
– |
* that can join a channel through a ban (+b). |
792 |
– |
*/ |
793 |
– |
use_except = yes; |
794 |
– |
|
795 |
– |
/* |
796 |
– |
* use_knock: Allows users to request an invite to a channel that |
797 |
– |
* is locked somehow (+ikl). If the channel is +p or you are banned |
798 |
– |
* the knock will not be sent. |
799 |
– |
*/ |
800 |
– |
use_knock = yes; |
801 |
– |
|
802 |
– |
/* |
760 |
|
* knock_delay: The amount of time a user must wait between issuing |
761 |
|
* the knock command. |
762 |
|
*/ |
769 |
|
knock_delay_channel = 1 minute; |
770 |
|
|
771 |
|
/* |
772 |
< |
* burst_topicwho: enable sending of who set topic on topicburst |
773 |
< |
* default is yes |
772 |
> |
* max_chans_per_user: The maximum number of channels a user can |
773 |
> |
* join/be on. |
774 |
|
*/ |
775 |
< |
burst_topicwho = yes; |
775 |
> |
max_chans_per_user = 25; |
776 |
|
|
777 |
|
/* |
778 |
< |
* max_chans_per_user: The maximum number of channels a user can |
778 |
> |
* max_chans_per_oper: The maximum number of channels an oper can |
779 |
|
* join/be on. |
780 |
|
*/ |
781 |
< |
max_chans_per_user = 25; |
781 |
> |
max_chans_per_oper = 50; |
782 |
|
|
783 |
|
/* quiet_on_ban: stop banned people talking in channels. */ |
784 |
|
quiet_on_ban = yes; |
785 |
|
|
786 |
|
/* max_bans: maximum number of +b/e/I modes in a channel */ |
787 |
< |
max_bans = 25; |
787 |
> |
max_bans = 100; |
788 |
|
|
789 |
|
/* |
790 |
|
* how many joins in how many seconds constitute a flood, use 0 to |
845 |
|
hidden = no; |
846 |
|
|
847 |
|
/* |
891 |
– |
* disable_hidden: prevent servers hiding themselves from a |
892 |
– |
* /links output. |
893 |
– |
*/ |
894 |
– |
disable_hidden = no; |
895 |
– |
|
896 |
– |
/* |
848 |
|
* hide_servers: hide remote servernames everywhere and instead use |
849 |
|
* hidden_name and network_desc. |
850 |
|
*/ |
881 |
|
/* max_watch: maximum WATCH entries a client can have. */ |
882 |
|
max_watch = 60; |
883 |
|
|
884 |
+ |
/* gline_enable: enable glines, network wide temp klines */ |
885 |
+ |
gline_enable = yes; |
886 |
+ |
|
887 |
+ |
/* |
888 |
+ |
* gline_duration: the amount of time a gline will remain on your |
889 |
+ |
* server before expiring |
890 |
+ |
*/ |
891 |
+ |
gline_duration = 1 day; |
892 |
+ |
|
893 |
+ |
/* |
894 |
+ |
* gline_request_duration: how long a pending G-line can be around. |
895 |
+ |
* 10 minutes should be plenty |
896 |
+ |
*/ |
897 |
+ |
gline_request_duration = 10 minutes; |
898 |
+ |
|
899 |
|
/* |
900 |
|
* gline_min_cidr: the minimum required length of a CIDR bitmask |
901 |
|
* for IPv4 based glines |
914 |
|
invisible_on_connect = yes; |
915 |
|
|
916 |
|
/* |
951 |
– |
* If you don't explicitly specify burst_away in your connect blocks, then |
952 |
– |
* they will default to the burst_away value below. |
953 |
– |
*/ |
954 |
– |
burst_away = no; |
955 |
– |
|
956 |
– |
/* |
957 |
– |
* Show "actually using host <ip>" on /whois when possible. |
958 |
– |
*/ |
959 |
– |
use_whois_actually = yes; |
960 |
– |
|
961 |
– |
/* |
917 |
|
* Max time from the nickname change that still causes KILL |
918 |
|
* automatically to switch for the current nick of that user. |
919 |
|
*/ |
920 |
|
kill_chase_time_limit = 90 seconds; |
921 |
|
|
922 |
|
/* |
923 |
< |
* If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed |
924 |
< |
* users in /trace etc. If this is defined they will be shown a masked IP. |
923 |
> |
* If hide_spoof_ips is disabled, opers will be allowed to see the real |
924 |
> |
* IP of spoofed users in /trace etc. If this is defined they will be |
925 |
> |
* shown a masked IP. |
926 |
|
*/ |
927 |
|
hide_spoof_ips = yes; |
928 |
|
|
1006 |
|
ts_max_delta = 5 minutes; |
1007 |
|
|
1008 |
|
/* |
1053 |
– |
* kline_with_reason: show the user the reason why they are k/d/glined |
1054 |
– |
* on exit. May give away who set k/dline when set via tcm. |
1055 |
– |
*/ |
1056 |
– |
kline_with_reason = yes; |
1057 |
– |
|
1058 |
– |
/* |
1059 |
– |
* kline_reason: show this message to users on channel |
1060 |
– |
* instead of the oper reason. |
1061 |
– |
*/ |
1062 |
– |
kline_reason = "Connection closed"; |
1063 |
– |
|
1064 |
– |
/* |
1065 |
– |
* reject_hold_time: wait this amount of time before disconnecting |
1066 |
– |
* a rejected client. Use 0 to disable. |
1067 |
– |
*/ |
1068 |
– |
reject_hold_time = 0; |
1069 |
– |
|
1070 |
– |
/* |
1009 |
|
* warn_no_nline: warn opers about servers that try to connect but |
1010 |
|
* we don't have a connect {} block for. Twits with misconfigured |
1011 |
|
* servers can get really annoying with this enabled. |
1062 |
|
|
1063 |
|
/* |
1064 |
|
* pace_wait: time between more intensive commands |
1065 |
< |
* (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
1065 |
> |
* (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
1066 |
|
*/ |
1067 |
|
pace_wait = 10 seconds; |
1068 |
|
|
1100 |
|
max_targets = 4; |
1101 |
|
|
1102 |
|
/* |
1165 |
– |
* client_flood: maximum amount of data in a clients queue before |
1166 |
– |
* they are dropped for flooding. |
1167 |
– |
*/ |
1168 |
– |
client_flood = 2560 bytes; |
1169 |
– |
|
1170 |
– |
/* |
1103 |
|
* message_locale: the default message locale |
1104 |
|
* Use "standard" for the compiled in defaults. |
1105 |
|
* To install the translated messages, go into messages/ in the |
1115 |
|
* +C - cconn_full - Client connection/quit notices full |
1116 |
|
* +D - deaf - Don't receive channel messages |
1117 |
|
* +d - debug - See debugging notices |
1118 |
< |
* +f - full - See I: line full notices |
1118 |
> |
* +f - full - See auth{} block full notices |
1119 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
1120 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
1121 |
+ |
* +H - hidden - Hides operator status to other users |
1122 |
|
* +i - invisible - Not shown in NAMES or WHO unless you share a |
1123 |
|
* a channel |
1124 |
+ |
* +j - rej - See rejected client notices |
1125 |
|
* +k - skill - See server generated KILL messages |
1126 |
|
* +l - locops - See LOCOPS messages |
1127 |
|
* +n - nchange - See client nick changes |
1194 |
– |
* +r - rej - See rejected client notices |
1128 |
|
* +s - servnotice - See general server notices |
1129 |
|
* +u - unauth - See unauthorized client notices |
1130 |
|
* +w - wallop - See server generated WALLOPS |
1134 |
|
*/ |
1135 |
|
|
1136 |
|
/* oper_only_umodes: usermodes only opers may set */ |
1137 |
< |
oper_only_umodes = bots, cconn, cconn_full, debug, full, skill, |
1137 |
> |
oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill, |
1138 |
|
nchange, rej, spy, external, operwall, |
1139 |
|
locops, unauth; |
1140 |
|
|
1142 |
|
oper_umodes = bots, locops, servnotice, operwall, wallop; |
1143 |
|
|
1144 |
|
/* |
1212 |
– |
* servlink_path: path to 'servlink' program used by ircd to handle |
1213 |
– |
* encrypted/compressed server <-> server links. |
1214 |
– |
* |
1215 |
– |
* only define if servlink is not in same directory as ircd itself. |
1216 |
– |
*/ |
1217 |
– |
#servlink_path = "/usr/local/ircd/bin/servlink"; |
1218 |
– |
|
1219 |
– |
/* |
1220 |
– |
* default_cipher_preference: default cipher to use for cryptlink when none is |
1221 |
– |
* specified in connect block. |
1222 |
– |
*/ |
1223 |
– |
#default_cipher_preference = "BF/168"; |
1224 |
– |
|
1225 |
– |
/* |
1145 |
|
* use_egd: if your system does not have *random devices yet you |
1146 |
|
* want to use OpenSSL and encrypted links, enable this. Beware - |
1147 |
|
* EGD is *very* CPU intensive when gathering data for its pool |
1154 |
|
*/ |
1155 |
|
# egdpool_path = "/var/run/egd-pool"; |
1156 |
|
|
1238 |
– |
|
1239 |
– |
/* |
1240 |
– |
* compression_level: level of compression for compressed links between |
1241 |
– |
* servers. |
1242 |
– |
* |
1243 |
– |
* values are between: 1 (least compression, fastest) |
1244 |
– |
* and: 9 (most compression, slowest). |
1245 |
– |
*/ |
1246 |
– |
# compression_level = 6; |
1247 |
– |
|
1157 |
|
/* |
1158 |
|
* throttle_time: the minimum amount of time between connections from |
1159 |
|
* the same ip. exempt {} blocks are excluded from this throttling. |
1163 |
|
throttle_time = 10; |
1164 |
|
}; |
1165 |
|
|
1257 |
– |
glines { |
1258 |
– |
/* enable: enable glines, network wide temp klines */ |
1259 |
– |
enable = yes; |
1260 |
– |
|
1261 |
– |
/* |
1262 |
– |
* duration: the amount of time a gline will remain on your |
1263 |
– |
* server before expiring |
1264 |
– |
*/ |
1265 |
– |
duration = 1 day; |
1266 |
– |
|
1267 |
– |
/* |
1268 |
– |
* logging: which types of rules you want to log when triggered |
1269 |
– |
* (choose reject or block) |
1270 |
– |
*/ |
1271 |
– |
logging = reject, block; |
1272 |
– |
|
1273 |
– |
/* |
1274 |
– |
* NOTE: gline ACLs can cause a desync of glines throughout the |
1275 |
– |
* network, meaning some servers may have a gline triggered, and |
1276 |
– |
* others may not. Also, you only need insert rules for glines |
1277 |
– |
* that you want to block and/or reject. If you want to accept and |
1278 |
– |
* propagate the gline, do NOT put a rule for it. |
1279 |
– |
*/ |
1280 |
– |
|
1281 |
– |
/* user@host for rule to apply to */ |
1282 |
– |
user = "god@I.still.hate.packets"; |
1283 |
– |
/* server for rule to apply to */ |
1284 |
– |
name = "hades.arpa"; |
1285 |
– |
|
1286 |
– |
/* |
1287 |
– |
* action: action to take when a matching gline is found. options are: |
1288 |
– |
* reject - do not apply the gline locally |
1289 |
– |
* block - do not propagate the gline |
1290 |
– |
*/ |
1291 |
– |
action = reject, block; |
1292 |
– |
|
1293 |
– |
user = "god@*"; |
1294 |
– |
name = "*"; |
1295 |
– |
action = block; |
1296 |
– |
}; |
1297 |
– |
|
1166 |
|
modules { |
1167 |
|
/* |
1168 |
|
* path: other paths to search for modules specified below |
1169 |
< |
* and in /modload. |
1169 |
> |
* and in "/module load". |
1170 |
|
*/ |
1171 |
|
path = "/usr/local/ircd/lib/ircd-hybrid/modules"; |
1172 |
|
path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload"; |
1174 |
|
/* module: the name of a module to load on startup/rehash */ |
1175 |
|
#module = "some_module.la"; |
1176 |
|
}; |
1177 |
+ |
|
1178 |
+ |
/* |
1179 |
+ |
* log {}: contains information about logfiles. |
1180 |
+ |
*/ |
1181 |
+ |
log { |
1182 |
+ |
/* Do you want to enable logging to ircd.log? */ |
1183 |
+ |
use_logging = yes; |
1184 |
+ |
|
1185 |
+ |
file { |
1186 |
+ |
type = oper; |
1187 |
+ |
name = "/home/ircd/var/log/oper.log"; |
1188 |
+ |
size = unlimited; |
1189 |
+ |
}; |
1190 |
+ |
|
1191 |
+ |
file { |
1192 |
+ |
type = user; |
1193 |
+ |
name = "/home/ircd/var/log/user.log"; |
1194 |
+ |
size = 50 megabytes; |
1195 |
+ |
}; |
1196 |
+ |
|
1197 |
+ |
file { |
1198 |
+ |
type = kill; |
1199 |
+ |
name = "/home/ircd/var/log/kill.log"; |
1200 |
+ |
size = 50 megabytes; |
1201 |
+ |
}; |
1202 |
+ |
|
1203 |
+ |
file { |
1204 |
+ |
type = kline; |
1205 |
+ |
name = "/home/ircd/var/log/kline.log"; |
1206 |
+ |
size = 50 megabytes; |
1207 |
+ |
}; |
1208 |
+ |
|
1209 |
+ |
file { |
1210 |
+ |
type = dline; |
1211 |
+ |
name = "/home/ircd/var/log/dline.log"; |
1212 |
+ |
size = 50 megabytes; |
1213 |
+ |
}; |
1214 |
+ |
|
1215 |
+ |
file { |
1216 |
+ |
type = gline; |
1217 |
+ |
name = "/home/ircd/var/log/gline.log"; |
1218 |
+ |
size = 50 megabytes; |
1219 |
+ |
}; |
1220 |
+ |
|
1221 |
+ |
file { |
1222 |
+ |
type = debug; |
1223 |
+ |
name = "/home/ircd/var/log/debug.log"; |
1224 |
+ |
size = 50 megabytes; |
1225 |
+ |
}; |
1226 |
+ |
}; |