1 |
< |
/* ircd-hybrid reference configuration file |
2 |
< |
* Copyright (C) 2000-2013 Hybrid Development Team |
1 |
> |
/* |
2 |
> |
* This is an example configuration file for ircd-hybrid |
3 |
|
* |
4 |
< |
* Written by ejb, wcampbel, db, leeh and others |
4 |
> |
* Copyright (c) 2000-2015 ircd-hybrid development team |
5 |
|
* |
6 |
|
* $Id$ |
7 |
|
*/ |
10 |
|
* ######################################################################## |
11 |
|
* IMPORTANT NOTE: |
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, |
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 |
|
* |
23 |
|
* |
24 |
|
* Times/durations are written as: |
25 |
|
* 12 hours 30 minutes 1 second |
26 |
< |
* |
26 |
> |
* |
27 |
|
* Valid units of time: |
28 |
|
* year, month, week, day, hour, minute, second |
29 |
|
* |
39 |
|
*/ |
40 |
|
serverinfo { |
41 |
|
/* |
42 |
< |
* name: the name of this server. This cannot be changed at runtime. |
42 |
> |
* name: the name of this server. This cannot be changed at runtime. |
43 |
|
*/ |
44 |
|
name = "hades.arpa"; |
45 |
|
|
46 |
|
/* |
47 |
< |
* sid: a server's unique ID. This is three characters long and must |
48 |
< |
* be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be |
47 |
> |
* sid: a server's unique ID. This is three characters long and must |
48 |
> |
* be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be |
49 |
|
* a digit, followed by 2 alpha-numerical letters. |
50 |
+ |
* |
51 |
|
* NOTE: The letters must be capitalized. This cannot be changed at runtime. |
52 |
|
*/ |
53 |
|
sid = "0HY"; |
58 |
|
description = "ircd-hybrid test server"; |
59 |
|
|
60 |
|
/* |
61 |
< |
* network info: the name and description of the network this server |
62 |
< |
* is on. Shown in the 005 reply and used with serverhiding. |
61 |
> |
* network_name, network_desc: the name and description of the network this |
62 |
> |
* server is on. Shown in the 005 reply and used with serverhiding. |
63 |
|
*/ |
64 |
|
network_name = "MyNet"; |
65 |
|
network_desc = "This is My Network"; |
71 |
|
hub = no; |
72 |
|
|
73 |
|
/* |
74 |
< |
* vhost: the IP to bind to when we connect outward to ipv4 servers. |
75 |
< |
* This should be an ipv4 IP only, or "*" for INADDR_ANY. |
74 |
> |
* vhost: the IP address to bind to when we connect outward to IPv4 servers. |
75 |
> |
* This should be an IPv4 address, or "*" for INADDR_ANY. |
76 |
|
*/ |
77 |
|
# vhost = "192.169.0.1"; |
78 |
|
|
79 |
|
/* |
80 |
< |
* vhost6: the address to bind to when we make outgoing connections |
81 |
< |
* to IPv6 servers. This should be an IPv6 address, or "*" for INADDR_ANY. |
80 |
> |
* vhost6: the IP address to bind to when we connect outward to IPv6 servers. |
81 |
> |
* This should be an IPv6 address, or "*" for in6addr_any. |
82 |
|
*/ |
83 |
|
# vhost6 = "3ffe:80e8:546::2"; |
84 |
|
|
85 |
< |
/* max_clients: the maximum number of clients allowed to connect. */ |
86 |
< |
max_clients = 512; |
85 |
> |
/* |
86 |
> |
* default_max_clients: the default maximum number of clients allowed |
87 |
> |
* to connect. This can be changed from within IRC via /QUOTE SET MAX. |
88 |
> |
*/ |
89 |
> |
default_max_clients = 512; |
90 |
|
|
91 |
|
/* |
92 |
|
* max_nick_length: only applies to local clients. Must be in the |
103 |
|
|
104 |
|
/* |
105 |
|
* rsa_private_key_file: the path to the file containing the |
106 |
< |
* RSA key for cryptlink. |
106 |
> |
* RSA key. |
107 |
|
* |
108 |
< |
* Example commands to store a 2048 bit RSA keypair in |
105 |
< |
* rsa.key, and the public key in rsa.pub: |
108 |
> |
* Example commands to store a 2048 bit RSA key in rsa.key: |
109 |
|
* |
110 |
|
* openssl genrsa -out rsa.key 2048 |
111 |
< |
* openssl rsa -in rsa.key -pubout -out rsa.pub |
109 |
< |
* chown <ircd-user>.<ircd.group> rsa.key rsa.pub |
111 |
> |
* chown <ircd-user>.<ircd.group> rsa.key |
112 |
|
* chmod 0600 rsa.key |
111 |
– |
* chmod 0644 rsa.pub |
113 |
|
*/ |
114 |
< |
# rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
114 |
> |
# rsa_private_key_file = "etc/rsa.key"; |
115 |
|
|
116 |
|
/* |
117 |
|
* ssl_certificate_file: the path to the file containing our |
133 |
|
* Common Name: irc.someirc.net |
134 |
|
* E-mail: you@domain.com |
135 |
|
*/ |
136 |
< |
# ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
136 |
> |
# ssl_certificate_file = "etc/cert.pem"; |
137 |
|
|
138 |
|
/* |
139 |
< |
* ssl_dh_param_file: |
140 |
< |
* |
141 |
< |
* Path to the PEM encoded Diffie-Hellman parameter file. |
141 |
< |
* DH parameters are required when using ciphers with EDH |
142 |
< |
* (ephemeral Diffie-Hellman) key exchange. |
139 |
> |
* ssl_dh_param_file: path to the PEM encoded Diffie-Hellman |
140 |
> |
* parameter file. DH parameters are required when using |
141 |
> |
* ciphers with EDH (ephemeral Diffie-Hellman) key exchange. |
142 |
|
* |
143 |
|
* A DH parameter file can be created by running: |
144 |
|
* |
145 |
< |
* openssl dhparam -out dhparam.pem 1024 |
145 |
> |
* openssl dhparam -out dhparam.pem 2048 |
146 |
|
* |
147 |
|
* Prime size must be at least 1024 bits. Further information |
148 |
|
* regarding specific OpenSSL dhparam command-line options |
149 |
|
* can be found in the OpenSSL manual. |
150 |
|
*/ |
151 |
< |
# ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem"; |
151 |
> |
# ssl_dh_param_file = "etc/dhparam.pem"; |
152 |
|
|
153 |
|
/* |
154 |
< |
* ssl_cipher_list: |
154 |
> |
* ssl_dh_elliptic_curve: defines the curve to use for the |
155 |
> |
* Elliptic Curve Diffie-Hellman (ECDH) algorithm. |
156 |
> |
* Default is ANSI X9.62 prime256v1/secp256r1 if nothing else is specified. |
157 |
|
* |
158 |
< |
* List of ciphers to support on _this_ server. Can be used to |
159 |
< |
* enforce specific ciphers for incoming SSL/TLS connections. |
160 |
< |
* If a client (which also includes incoming server connections) is not |
161 |
< |
* capable of using any of the ciphers listed here, the connection will |
158 |
> |
* A list of supported curves by OpenSSL can be obtained by running: |
159 |
> |
* |
160 |
> |
* openssl ecparam -list_curves |
161 |
> |
*/ |
162 |
> |
# ssl_dh_elliptic_curve = "secp521r1"; |
163 |
> |
|
164 |
> |
/* |
165 |
> |
* ssl_cipher_list: list of ciphers to support on _this_ server. |
166 |
> |
* Can be used to enforce specific ciphers for incoming SSL/TLS |
167 |
> |
* connections. If a client (which also includes incoming server connections) |
168 |
> |
* is not capable of using any of the ciphers listed here, the connection will |
169 |
|
* simply be rejected. |
170 |
|
* |
171 |
|
* A list of supported ciphers by OpenSSL can be obtained by running: |
175 |
|
* Multiple ciphers are separated by colons. The order of preference is |
176 |
|
* from left to right. |
177 |
|
*/ |
178 |
< |
# ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
178 |
> |
# ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA"; |
179 |
|
|
180 |
|
/* |
181 |
< |
* ssl_server_method: |
182 |
< |
* ssl_client_method: |
181 |
> |
* ssl_message_digest_algorithm: defines what cryptographic hash function |
182 |
> |
* to use for generating fingerprint hashes of X.509 certificates. |
183 |
> |
* Default is SHA-256 if nothing else is specified. |
184 |
|
* |
185 |
< |
* SSL/TLS methods we provide for incoming (server method) and |
186 |
< |
* outgoing (client method) SSL/TLS connections. |
187 |
< |
* This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1. |
185 |
> |
* A list of supported message digest algorithms by OpenSSL can be obtained by running: |
186 |
> |
* |
187 |
> |
* openssl list-message-digest-algorithms |
188 |
|
*/ |
189 |
< |
# ssl_server_method = tlsv1, sslv3; |
181 |
< |
# ssl_client_method = tlsv1; |
189 |
> |
# ssl_message_digest_algorithm = "sha256"; |
190 |
|
}; |
191 |
|
|
192 |
|
/* |
193 |
< |
* admin {}: contains admin information about the server |
193 |
> |
* admin {}: contains administrative information about the server |
194 |
|
*/ |
195 |
|
admin { |
196 |
|
name = "Smurf target"; |
213 |
|
|
214 |
|
/* |
215 |
|
* number_per_ip: how many local users are allowed to connect |
216 |
< |
* from a single IP address (optional) |
216 |
> |
* from a single IP address (optional) |
217 |
|
*/ |
218 |
|
number_per_ip = 2; |
219 |
|
|
220 |
|
/* |
221 |
|
* max_local: how many local users are allowed to connect |
222 |
< |
* from a single ident@host (optional) |
222 |
> |
* from a single ident@host (optional) |
223 |
|
*/ |
224 |
|
max_local = 2; |
225 |
|
|
226 |
|
/* |
227 |
< |
* max_global: network-wide limit of users per ident@host (optional) |
227 |
> |
* max_global: network-wide limit of users per ident@host (optional) |
228 |
|
*/ |
229 |
|
max_global = 10; |
230 |
|
|
234 |
|
max_number = 100; |
235 |
|
|
236 |
|
/* |
237 |
< |
* the following lines are optional and allow you to define |
237 |
> |
* The following lines are optional and allow you to define |
238 |
|
* how many users can connect from one /NN subnet. |
239 |
|
*/ |
240 |
|
cidr_bitlen_ipv4 = 24; |
249 |
|
|
250 |
|
/* |
251 |
|
* recvq: the amount of data allowed in a client's receive queue before |
252 |
< |
* they are dropped for flooding. Defaults to 2560 if the chosen |
253 |
< |
* value isn't within the range of 512 to 8000. |
252 |
> |
* they are dropped for flooding. Defaults to 2560 if the chosen value |
253 |
> |
* isn't within the range of 512 to 8000. |
254 |
|
*/ |
255 |
|
recvq = 2560 bytes; |
256 |
|
}; |
263 |
|
sendq = 100 kbytes; |
264 |
|
|
265 |
|
/* |
266 |
+ |
* max_channels: maximum number of channels users in this class can join. |
267 |
+ |
*/ |
268 |
+ |
max_channels = 60; |
269 |
+ |
|
270 |
+ |
/* |
271 |
|
* min_idle: minimum idle time that is shown in /whois. |
272 |
|
*/ |
273 |
|
min_idle = 3 hours; |
311 |
|
motd { |
312 |
|
/* |
313 |
|
* mask: multiple mask entries are permitted. Mask can either be |
314 |
< |
* a class name or a hostname. |
314 |
> |
* a class name or a hostname. CIDR is supported. |
315 |
|
*/ |
316 |
|
mask = "*.at"; |
317 |
|
mask = "*.de"; |
320 |
|
/* |
321 |
|
* file: path to the actual motd file. |
322 |
|
*/ |
323 |
< |
file = "/usr/local/ircd/etc/german.motd"; |
323 |
> |
file = "etc/german.motd"; |
324 |
|
}; |
325 |
|
|
326 |
|
/* |
328 |
|
*/ |
329 |
|
listen { |
330 |
|
/* |
331 |
< |
* port: the port to listen on. If no host is specified |
332 |
< |
* earlier in the listen {} block, it will listen on all available IPs. |
331 |
> |
* port: the port to listen on. If no host is specified earlier |
332 |
> |
* in the listen {} block, it will listen on all available IPs. |
333 |
|
* |
334 |
|
* Ports are separated by commas; a range may be specified using ".." |
335 |
|
*/ |
336 |
< |
|
337 |
< |
/* port: listen on all available IP addresses, ports 6665 to 6669 */ |
336 |
> |
|
337 |
> |
/* port: listen on all available IP addresses, ports 6665 to 6669. */ |
338 |
|
port = 6665 .. 6669; |
339 |
|
|
340 |
|
/* |
354 |
|
port = 6697; |
355 |
|
|
356 |
|
/* |
357 |
< |
* host: set a specific IP address/host to listen on using the |
357 |
> |
* host: set a specific IP address to listen on using the |
358 |
|
* subsequent port definitions. This may be IPv4 or IPv6. |
359 |
|
*/ |
360 |
|
host = "1.2.3.4"; |
370 |
|
auth { |
371 |
|
/* |
372 |
|
* user: the user@host allowed to connect. Multiple user |
373 |
< |
* lines are permitted within each auth block. |
373 |
> |
* lines are permitted within each auth {} block. |
374 |
|
*/ |
375 |
|
user = "*@172.16.0.0/12"; |
376 |
|
user = "*test@123D:B567:*"; |
377 |
|
|
378 |
< |
/* password: an optional password that is required to use this block */ |
378 |
> |
/* password: an optional password that is required to use this block. */ |
379 |
|
password = "letmein"; |
380 |
|
|
381 |
|
/* |
382 |
|
* encrypted: controls whether the auth password above has been |
383 |
< |
* encrypted. |
383 |
> |
* encrypted. Default is 'no' if nothing else is specified. |
384 |
|
*/ |
385 |
|
encrypted = yes; |
386 |
|
|
390 |
|
*/ |
391 |
|
spoof = "I.still.hate.packets"; |
392 |
|
|
393 |
< |
/* class: the class the user is placed in */ |
393 |
> |
/* class: the class the user is placed in. */ |
394 |
|
class = "opers"; |
395 |
|
|
396 |
|
/* |
397 |
< |
* need_password - don't allow users who haven't supplied the correct |
398 |
< |
* password to connect using another auth{} block |
399 |
< |
* ('&' prefix on /stats I if disabled) |
387 |
< |
* need_ident - require the user to have identd to connect ('+' prefix on /stats I) |
397 |
> |
* need_password - don't allow users who haven't supplied the correct | ('&' prefix on /stats I if disabled) |
398 |
> |
* password to connect using another auth {} block |
399 |
> |
* need_ident - require the user to have identd to connect | ('+' prefix on /stats I) |
400 |
|
* spoof_notice - enable spoofing notification to admins |
401 |
< |
* exceed_limit - allow a user to exceed class limits ('>' prefix on /stats I) |
402 |
< |
* kline_exempt - exempt this user from k/glines ('^' prefix on /stats I) |
403 |
< |
* gline_exempt - exempt this user from glines ('_' prefix on /stats I) |
404 |
< |
* resv_exempt - exempt this user from resvs ('$' prefix on /stats I) |
405 |
< |
* no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I) |
406 |
< |
* can_flood - allow this user to exceed flood limits ('|' prefix on /stats I) |
407 |
< |
* webirc - enables WEBIRC authentication for web-based clients such as Mibbit |
396 |
< |
* ('<' prefix on /stats I) |
401 |
> |
* exceed_limit - allow a user to exceed class limits | ('>' prefix on /stats I) |
402 |
> |
* kline_exempt - exempt this user from k-lines | ('^' prefix on /stats I) |
403 |
> |
* resv_exempt - exempt this user from resvs | ('$' prefix on /stats I) |
404 |
> |
* no_tilde - remove ~ from a user with no ident | ('-' prefix on /stats I) |
405 |
> |
* can_flood - allow this user to exceed flood limits | ('|' prefix on /stats I) |
406 |
> |
* webirc - enables WEBIRC authentication for web-based | ('<' prefix on /stats I) |
407 |
> |
* clients such as Mibbit |
408 |
|
*/ |
409 |
|
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
410 |
< |
gline_exempt, resv_exempt, no_tilde, can_flood; |
410 |
> |
resv_exempt, no_tilde, can_flood; |
411 |
|
}; |
412 |
|
|
413 |
|
auth { |
414 |
|
/* |
415 |
< |
* redirect: the server and port to redirect a user to. A user does not |
416 |
< |
* have to obey the redirection; the ircd just suggests an alternative |
417 |
< |
* server for them. |
415 |
> |
* redirserv, redirport: the server and port to redirect a user to. |
416 |
> |
* A user does not have to obey the redirection; the ircd just |
417 |
> |
* suggests an alternative server for them. |
418 |
|
*/ |
419 |
< |
redirserv = "this.is.not.a.real.server"; |
419 |
> |
redirserv = "server.tld"; |
420 |
|
redirport = 6667; |
410 |
– |
|
411 |
– |
user = "*.server"; |
421 |
|
|
422 |
< |
/* class: a class is required even though it is not used */ |
422 |
> |
user = "*@*.tld"; |
423 |
> |
|
424 |
> |
/* class: a class is required even though it is not used. */ |
425 |
|
class = "users"; |
426 |
|
}; |
427 |
|
|
435 |
|
* operator {}: defines ircd operators |
436 |
|
*/ |
437 |
|
operator { |
438 |
< |
/* name: the name of the oper */ |
438 |
> |
/* name: the name of the operator */ |
439 |
|
name = "sheep"; |
440 |
|
|
441 |
|
/* |
442 |
< |
* user: the user@host required for this operator. Multiple |
443 |
< |
* user="" lines are supported. |
442 |
> |
* user: the user@host required for this operator. Multiple user |
443 |
> |
* lines are permitted within each operator {} block. |
444 |
|
*/ |
445 |
|
user = "*sheep@192.168.0.0/16"; |
446 |
|
user = "*@127.0.0.0/8"; |
457 |
|
|
458 |
|
/* |
459 |
|
* encrypted: controls whether the oper password above has been |
460 |
< |
* encrypted. |
460 |
> |
* encrypted. Default is 'yes' if nothing else is specified. |
461 |
|
*/ |
462 |
|
encrypted = yes; |
463 |
|
|
464 |
|
/* |
465 |
< |
* rsa_public_key_file: the public key for this oper when using Challenge. |
466 |
< |
* A password should not be defined when this is used; see |
465 |
> |
* whois: allows to override the default RPL_WHOISOPERATOR numeric |
466 |
> |
* string shown in /whois. |
467 |
> |
* This string is propagated to all servers on the network. |
468 |
> |
*/ |
469 |
> |
# whois = "is a Smurf Target (IRC Operator)"; |
470 |
> |
|
471 |
> |
/* |
472 |
> |
* rsa_public_key_file: the public key for this oper when using /challenge. |
473 |
> |
* A password should not be defined when this is used; see |
474 |
|
* doc/challenge.txt for more information. |
475 |
|
*/ |
476 |
< |
# rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; |
476 |
> |
# rsa_public_key_file = "etc/oper.pub"; |
477 |
|
|
478 |
|
/* |
479 |
|
* ssl_certificate_fingerprint: enhances security by additionally checking |
489 |
|
|
490 |
|
/* |
491 |
|
* ssl_connection_required: client must be connected over SSL/TLS |
492 |
< |
* in order to be able to use this oper{} block. |
492 |
> |
* in order to be able to use this operator {} block. |
493 |
|
* Default is 'no' if nothing else is specified. |
494 |
|
*/ |
495 |
|
ssl_connection_required = no; |
496 |
|
|
497 |
< |
/* class: the class the oper joins when they successfully /oper */ |
497 |
> |
/* class: the class the oper joins when they successfully /oper or /challenge. */ |
498 |
|
class = "opers"; |
499 |
|
|
500 |
|
/* |
501 |
< |
* umodes: the default usermodes opers get when they /oper. If defined, |
502 |
< |
* it will override oper_umodes settings in general {}. |
501 |
> |
* umodes: the default usermodes opers get when they /oper or /challenge. |
502 |
> |
* If defined, it will override oper_umodes settings in general {}. |
503 |
|
* Available usermodes: |
504 |
|
* |
505 |
|
* +b - bots - See bot and drone flooding notices |
508 |
|
* +d - debug - See debugging notices |
509 |
|
* +e - external - See remote server connection and split notices |
510 |
|
* +F - farconnect - Remote client connection/quit notices |
511 |
< |
* +f - full - See auth{} block full notices |
511 |
> |
* +f - full - See auth {} block full notices |
512 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
513 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
514 |
|
* +H - hidden - Hides operator status to other users |
517 |
|
* +k - skill - See server generated KILL messages |
518 |
|
* +l - locops - See LOCOPS messages |
519 |
|
* +n - nchange - See client nick changes |
520 |
+ |
* +p - hidechans - Hides channel list in WHOIS |
521 |
+ |
* +q - hideidle - Hides idle and signon time in WHOIS |
522 |
|
* +R - nononreg - Only receive private messages from registered clients |
523 |
|
* +s - servnotice - See general server notices |
524 |
|
* +u - unauth - See unauthorized client notices |
525 |
|
* +w - wallop - See server generated WALLOPS |
526 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
507 |
– |
* +z - operwall - See oper generated WALLOPS |
527 |
|
*/ |
528 |
< |
umodes = locops, servnotice, operwall, wallop; |
528 |
> |
umodes = locops, servnotice, wallop; |
529 |
|
|
530 |
|
/* |
531 |
< |
* privileges: controls the activities and commands an oper is |
532 |
< |
* allowed to do on the server. All options default to no. |
533 |
< |
* Available options: |
531 |
> |
* flags: controls the activities and commands an oper is |
532 |
> |
* allowed to do on the server. All flags default to 'no'. |
533 |
> |
* Available flags: |
534 |
|
* |
535 |
< |
* module - allows MODULE |
535 |
> |
* admin - gives administrator privileges | ('A' flag) |
536 |
|
* connect - allows local CONNECT | ('P' flag) |
537 |
|
* connect:remote - allows remote CONNECT | ('Q' flag) |
538 |
< |
* squit - allows local SQUIT | ('R' flag) |
539 |
< |
* squit:remote - allows remote SQUIT | ('S' flag) |
538 |
> |
* die - allows DIE | ('D' flag) |
539 |
> |
* dline - allows DLINE | |
540 |
> |
* globops - allows GLOBOPS | |
541 |
|
* kill - allows to KILL local clients | ('N' flag) |
542 |
|
* kill:remote - allows remote users to be /KILL'd | ('O' flag) |
523 |
– |
* remoteban - allows remote KLINE/UNKLINE | ('B' flag) |
524 |
– |
* dline - allows DLINE | |
525 |
– |
* undline - allows UNDLINE | |
543 |
|
* kline - allows KLINE | ('K' flag) |
527 |
– |
* unkline - allows UNKLINE | ('U' flag) |
528 |
– |
* gline - allows GLINE | ('G' flag) |
529 |
– |
* xline - allows XLINE | ('X' flag) |
544 |
|
* locops - allows LOCOPS | |
545 |
< |
* globops - allows GLOBOPS | |
546 |
< |
* wallops - allows WALLOPS | |
533 |
< |
* operwall - allows OPERWALL | ('L' flag) |
545 |
> |
* module - allows MODULE | |
546 |
> |
* opme - allows OPME | |
547 |
|
* rehash - allows oper to REHASH config | ('H' flag) |
548 |
< |
* die - allows DIE | ('D' flag) |
548 |
> |
* remoteban - allows remote KLINE/UNKLINE | ('B' flag) |
549 |
|
* restart - allows RESTART | |
550 |
|
* set - allows SET | |
551 |
< |
* admin - gives administrator privileges | ('A' flag) |
551 |
> |
* squit - allows local SQUIT | ('R' flag) |
552 |
> |
* squit:remote - allows remote SQUIT | ('S' flag) |
553 |
> |
* undline - allows UNDLINE | |
554 |
> |
* unkline - allows UNKLINE | ('U' flag) |
555 |
> |
* unxline - allows UNXLINE | |
556 |
> |
* wallops - allows WALLOPS | |
557 |
> |
* xline - allows XLINE | ('X' flag) |
558 |
|
*/ |
559 |
< |
flags = kill, kill:remote, connect, connect:remote, kline, unkline, |
560 |
< |
xline, globops, restart, die, rehash, admin, operwall, module; |
542 |
< |
}; |
543 |
< |
|
544 |
< |
/* |
545 |
< |
* service {}: specifies a server which may act as a network service |
546 |
< |
* |
547 |
< |
* NOTE: it is very important that every server on the network |
548 |
< |
* has the same service{} block. |
549 |
< |
*/ |
550 |
< |
service { |
551 |
< |
name = "service.someserver"; |
552 |
< |
name = "stats.someserver"; |
559 |
> |
flags = admin, connect, connect:remote, die, globops, kill, kill:remote, |
560 |
> |
kline, module, rehash, restart, set, unkline, unxline, xline; |
561 |
|
}; |
562 |
|
|
563 |
|
/* |
564 |
|
* connect {}: define a server to connect to |
565 |
|
*/ |
566 |
|
connect { |
567 |
< |
/* name: the name of the server */ |
567 |
> |
/* name: the name of the server. */ |
568 |
|
name = "irc.uplink.com"; |
569 |
|
|
570 |
|
/* |
582 |
|
vhost = "192.168.0.2"; |
583 |
|
|
584 |
|
/* |
585 |
< |
* passwords: the passwords to send (OLD C:) and accept (OLD N:). |
585 |
> |
* send_password, accept_password: the passwords to send and accept. |
586 |
|
* The remote server will have these passwords swapped. |
587 |
|
*/ |
588 |
|
send_password = "password"; |
594 |
|
*/ |
595 |
|
encrypted = no; |
596 |
|
|
597 |
< |
/* port: the port to connect to this server on */ |
597 |
> |
/* port: the port to connect to this server on. */ |
598 |
|
port = 6666; |
599 |
|
|
600 |
|
/* |
609 |
|
*/ |
610 |
|
# leaf_mask = "*.uk"; |
611 |
|
|
612 |
< |
/* class: the class this server is in */ |
612 |
> |
/* class: the class this server is in. */ |
613 |
|
class = "server"; |
614 |
|
|
615 |
|
/* |
616 |
< |
* ssl_cipher_list: |
617 |
< |
* |
618 |
< |
* List of ciphers that the server we are connecting to must support. |
611 |
< |
* If the server is not capable of using any of the ciphers listed below, |
612 |
< |
* the connection will simply be rejected. |
616 |
> |
* ssl_cipher_list: list of ciphers that the server we are connecting to |
617 |
> |
* must support. If the server is not capable of using any of the ciphers |
618 |
> |
* listed below, the connection will simply be rejected. |
619 |
|
* Can be used to enforce stronger ciphers, even though this option |
620 |
|
* is not necessarily required to establish a SSL/TLS connection. |
621 |
|
* |
622 |
|
* Multiple ciphers are separated by colons. The order of preference |
623 |
|
* is from left to right. |
624 |
|
*/ |
625 |
< |
# ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
625 |
> |
# ssl_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA"; |
626 |
|
|
627 |
|
/* |
628 |
|
* ssl_certificate_fingerprint: enhances security by additionally checking |
667 |
|
* will not be propagated to clustered servers. |
668 |
|
* |
669 |
|
* Remote servers are not necessarily required to accept |
670 |
< |
* clustered lines, they need a shared{} for *THIS* server |
671 |
< |
* in order to accept them. |
670 |
> |
* clustered lines, they need a shared {} block for *THIS* |
671 |
> |
* server in order to accept them. |
672 |
|
*/ |
673 |
|
name = "*.arpa"; |
674 |
|
|
729 |
|
|
730 |
|
/* |
731 |
|
* kill {}: users that are not allowed to connect |
732 |
< |
* Oper issued klines will be added to the specified kline config |
732 |
> |
* Oper issued klines will be added to the specified kline database |
733 |
|
*/ |
734 |
|
kill { |
735 |
|
user = "bad@*.hacked.edu"; |
739 |
|
/* |
740 |
|
* deny {}: IP addresses that are not allowed to connect |
741 |
|
* (before DNS/ident lookup) |
742 |
< |
* Oper issued dlines will be added to the specified dline config |
742 |
> |
* Oper issued dlines will be added to the specified dline database |
743 |
|
*/ |
744 |
|
deny { |
745 |
|
ip = "10.0.1.0/24"; |
757 |
|
* resv {}: nicks and channels users may not use/join |
758 |
|
*/ |
759 |
|
resv { mask = "clone*"; reason = "Clone bots"; }; |
760 |
+ |
resv { mask = "Global"; reason = "Reserved for services"; }; |
761 |
|
resv { mask = "ChanServ"; reason = "Reserved for services"; }; |
762 |
|
resv { mask = "NickServ"; reason = "Reserved for services"; }; |
763 |
|
resv { mask = "OperServ"; reason = "Reserved for services"; }; |
774 |
|
* as channel name masks. |
775 |
|
*/ |
776 |
|
mask = "#helsinki"; |
777 |
< |
reason = "Channel is reserved for finnish inhabitants"; |
777 |
> |
reason = "Channel is reserved for Finnish inhabitants"; |
778 |
|
|
779 |
|
/* |
780 |
|
* exempt: can be either a ISO 3166 alpha-2 two letter country |
785 |
|
}; |
786 |
|
|
787 |
|
/* |
788 |
< |
* gecos {}: Used for banning users based on their "realname". |
788 |
> |
* gecos {}: used for banning users based on their "realname". |
789 |
|
*/ |
790 |
|
gecos { |
791 |
|
name = "*sex*"; |
798 |
|
}; |
799 |
|
|
800 |
|
/* |
801 |
< |
* channel {}: The channel block contains options pertaining to channels |
801 |
> |
* service {}: specifies a server which may act as a network service |
802 |
> |
* |
803 |
> |
* NOTE: it is very important that every server on the network |
804 |
> |
* has the same service {} block. |
805 |
> |
*/ |
806 |
> |
service { |
807 |
> |
name = "service.someserver"; |
808 |
> |
name = "stats.someserver"; |
809 |
> |
}; |
810 |
> |
|
811 |
> |
/* |
812 |
> |
* pseudo {}: adds pseudo/custom commands also known as service aliases |
813 |
> |
*/ |
814 |
> |
pseudo { |
815 |
> |
/* command: the actual command/alias. */ |
816 |
> |
command = "IDENTIFY"; |
817 |
> |
|
818 |
> |
/* prepend: optional text that can be prepended before the user's message. */ |
819 |
> |
prepend = "IDENTIFY "; |
820 |
> |
|
821 |
> |
/* name: the service name, used for error messages. */ |
822 |
> |
name = "NickServ"; |
823 |
> |
|
824 |
> |
/* target: the actual target where this message should be sent to. */ |
825 |
> |
target = "NickServ@service.someserver"; |
826 |
> |
}; |
827 |
> |
|
828 |
> |
pseudo { |
829 |
> |
command = "CHANSERV"; |
830 |
> |
name = "ChanServ"; |
831 |
> |
target = "ChanServ@service.someserver"; |
832 |
> |
}; |
833 |
> |
|
834 |
> |
pseudo { |
835 |
> |
command = "CS"; |
836 |
> |
name = "ChanServ"; |
837 |
> |
target = "ChanServ@service.someserver"; |
838 |
> |
}; |
839 |
> |
|
840 |
> |
pseudo { |
841 |
> |
command = "NICKSERV"; |
842 |
> |
name = "NickServ"; |
843 |
> |
target = "NickServ@service.someserver"; |
844 |
> |
}; |
845 |
> |
|
846 |
> |
pseudo { |
847 |
> |
command = "NS"; |
848 |
> |
name = "NickServ"; |
849 |
> |
target = "NickServ@service.someserver"; |
850 |
> |
}; |
851 |
> |
|
852 |
> |
pseudo { |
853 |
> |
command = "MEMOSERV"; |
854 |
> |
name = "MemoServ"; |
855 |
> |
target = "MemoServ@service.someserver"; |
856 |
> |
}; |
857 |
> |
|
858 |
> |
pseudo { |
859 |
> |
command = "MS"; |
860 |
> |
name = "MemoServ"; |
861 |
> |
target = "MemoServ@service.someserver"; |
862 |
> |
}; |
863 |
> |
|
864 |
> |
pseudo { |
865 |
> |
command = "OPERSERV"; |
866 |
> |
name = "OperServ"; |
867 |
> |
target = "OperServ@service.someserver"; |
868 |
> |
}; |
869 |
> |
|
870 |
> |
pseudo { |
871 |
> |
command = "OS"; |
872 |
> |
name = "OperServ"; |
873 |
> |
target = "OperServ@service.someserver"; |
874 |
> |
}; |
875 |
> |
|
876 |
> |
pseudo { |
877 |
> |
command = "HOSTSERV"; |
878 |
> |
name = "HostServ"; |
879 |
> |
target = "HostServ@service.someserver"; |
880 |
> |
}; |
881 |
> |
|
882 |
> |
pseudo { |
883 |
> |
command = "HS"; |
884 |
> |
name = "HostServ"; |
885 |
> |
target = "HostServ@service.someserver"; |
886 |
> |
}; |
887 |
> |
|
888 |
> |
pseudo { |
889 |
> |
command = "BOTSERV"; |
890 |
> |
name = "BotServ"; |
891 |
> |
target = "BotServ@service.someserver"; |
892 |
> |
}; |
893 |
> |
|
894 |
> |
pseudo { |
895 |
> |
command = "BS"; |
896 |
> |
name = "BotServ"; |
897 |
> |
target = "BotServ@service.someserver"; |
898 |
> |
}; |
899 |
> |
|
900 |
> |
/* |
901 |
> |
* channel {}: the channel block contains options pertaining to channels |
902 |
|
*/ |
903 |
|
channel { |
904 |
|
/* |
917 |
|
disable_fake_channels = yes; |
918 |
|
|
919 |
|
/* |
920 |
< |
* knock_delay: The amount of time a user must wait between issuing |
921 |
< |
* the knock command. |
920 |
> |
* invite_client_count, invite_client_time: how many INVITE commands |
921 |
> |
* are permitted per client per invite_client_time. |
922 |
|
*/ |
923 |
< |
knock_delay = 5 minutes; |
923 |
> |
invite_client_count = 10; |
924 |
> |
invite_client_time = 5 minutes; |
925 |
|
|
926 |
|
/* |
927 |
< |
* knock_delay_channel: How often a knock to any specific channel |
928 |
< |
* is permitted, regardless of the user sending the knock. |
927 |
> |
* knock_client_count, knock_client_time: how many KNOCK commands |
928 |
> |
* are permitted per client per knock_client_time. |
929 |
|
*/ |
930 |
< |
knock_delay_channel = 1 minute; |
930 |
> |
knock_client_count = 1; |
931 |
> |
knock_client_time = 5 minutes; |
932 |
|
|
933 |
|
/* |
934 |
< |
* max_chans_per_user: The maximum number of channels a user can |
935 |
< |
* join/be on. |
934 |
> |
* knock_delay_channel: how often a KNOCK to any specific channel |
935 |
> |
* is permitted, regardless of the user sending the KNOCK. |
936 |
|
*/ |
937 |
< |
max_chans_per_user = 25; |
937 |
> |
knock_delay_channel = 1 minute; |
938 |
|
|
939 |
|
/* |
940 |
< |
* max_chans_per_oper: The maximum number of channels an oper can |
941 |
< |
* join/be on. |
940 |
> |
* max_channels: the maximum number of channels a user can join/be on. |
941 |
> |
* This is a default value which can be overriden with class {} blocks. |
942 |
|
*/ |
943 |
< |
max_chans_per_oper = 50; |
943 |
> |
max_channels = 25; |
944 |
|
|
945 |
< |
/* max_bans: maximum number of +b/e/I modes in a channel */ |
945 |
> |
/* max_bans: maximum number of +b/e/I modes in a channel. */ |
946 |
|
max_bans = 100; |
947 |
|
|
948 |
|
/* |
949 |
< |
* how many joins in how many seconds constitute a flood. Use 0 to |
950 |
< |
* disable. +b opers will be notified (changeable via /set) |
949 |
> |
* default_join_flood_count, default_join_flood_time: |
950 |
> |
* how many joins in how many seconds constitute a flood. Use 0 to disable. |
951 |
> |
* +b opers will be notified. These are only default values which can be |
952 |
> |
* changed via "/QUOTE SET JFLOODCOUNT" and "/QUOTE SET JFLOODTIME". |
953 |
|
*/ |
954 |
< |
join_flood_count = 16; |
955 |
< |
join_flood_time = 8 seconds; |
954 |
> |
default_join_flood_count = 18; |
955 |
> |
default_join_flood_time = 6 seconds; |
956 |
|
|
957 |
|
/* |
958 |
|
* The ircd will now check splitmode (whether a server is split from |
961 |
|
* |
962 |
|
* Either split users or split servers can activate splitmode, but |
963 |
|
* both conditions must be met for the ircd to deactivate splitmode. |
964 |
< |
* |
965 |
< |
* You may force splitmode to be permanent by /quote set splitmode on |
964 |
> |
* |
965 |
> |
* You may force splitmode to be permanent by /quote set splitmode on. |
966 |
|
*/ |
967 |
|
|
968 |
|
/* |
985 |
|
}; |
986 |
|
|
987 |
|
/* |
988 |
< |
* serverhide {}: The serverhide block contains the options regarding |
989 |
< |
* to server hiding |
988 |
> |
* serverhide {}: the serverhide block contains the options regarding |
989 |
> |
* to server hiding. For more information regarding server hiding, |
990 |
> |
* please see doc/serverhide.txt |
991 |
|
*/ |
992 |
|
serverhide { |
993 |
|
/* |
1022 |
|
|
1023 |
|
/* |
1024 |
|
* hide_services: define this if you want to hide the location of |
1025 |
< |
* services servers that are specified in the service{} block. |
1025 |
> |
* services servers that are specified in the service {} block. |
1026 |
|
*/ |
1027 |
|
hide_services = no; |
1028 |
|
|
1029 |
|
/* |
1030 |
< |
* Use this as the servername users see if hide_servers = yes. |
1030 |
> |
* hidden_name: use this as the servername users see if hide_servers = yes. |
1031 |
|
*/ |
1032 |
|
hidden_name = "*.hidden.com"; |
1033 |
|
|
1034 |
|
/* |
1035 |
< |
* hide_server_ips: If this is disabled, opers will be unable to see |
1035 |
> |
* hide_server_ips: if this is disabled, opers will be unable to see |
1036 |
|
* servers' IP addresses and will be shown a masked IP address; admins |
1037 |
|
* will be shown the real IP address. |
1038 |
|
* |
1047 |
|
}; |
1048 |
|
|
1049 |
|
/* |
1050 |
< |
* general {}: The general block contains many of the options that were once |
1050 |
> |
* general {}: the general block contains many of the options that were once |
1051 |
|
* compiled in options in config.h |
1052 |
|
*/ |
1053 |
|
general { |
1057 |
|
*/ |
1058 |
|
cycle_on_host_change = yes; |
1059 |
|
|
948 |
– |
/* services_name: servername of nick/channel services */ |
949 |
– |
services_name = "service.someserver"; |
950 |
– |
|
1060 |
|
/* max_watch: maximum WATCH entries a client can have. */ |
1061 |
< |
max_watch = 60; |
1061 |
> |
max_watch = 30; |
1062 |
|
|
1063 |
< |
/* gline_enable: enable glines (network-wide temporary klines). */ |
1064 |
< |
gline_enable = yes; |
1063 |
> |
/* max_accept: maximum allowed /accept's for +g usermode. */ |
1064 |
> |
max_accept = 30; |
1065 |
|
|
1066 |
|
/* |
1067 |
< |
* gline_duration: the amount of time a gline will remain on your |
1068 |
< |
* server before expiring. |
1067 |
> |
* dline_min_cidr: the minimum required length of a CIDR bitmask |
1068 |
> |
* for IPv4 based D-lines. |
1069 |
|
*/ |
1070 |
< |
gline_duration = 1 day; |
1070 |
> |
dline_min_cidr = 16; |
1071 |
|
|
1072 |
|
/* |
1073 |
< |
* gline_request_duration: how long a pending G-line can be around. |
1074 |
< |
* 10 minutes should be plenty. |
1073 |
> |
* dline_min_cidr6: the minimum required length of a CIDR bitmask |
1074 |
> |
* for IPv6 based D-lines. |
1075 |
|
*/ |
1076 |
< |
gline_request_duration = 10 minutes; |
1076 |
> |
dline_min_cidr6 = 48; |
1077 |
|
|
1078 |
|
/* |
1079 |
< |
* gline_min_cidr: the minimum required length of a CIDR bitmask |
1080 |
< |
* for IPv4 based glines. |
1079 |
> |
* kline_min_cidr: the minimum required length of a CIDR bitmask |
1080 |
> |
* for IPv4 based K-lines. |
1081 |
|
*/ |
1082 |
< |
gline_min_cidr = 16; |
1082 |
> |
kline_min_cidr = 16; |
1083 |
|
|
1084 |
|
/* |
1085 |
< |
* gline_min_cidr6: the minimum required length of a CIDR bitmask |
1086 |
< |
* for IPv6 based glines. |
1085 |
> |
* kline_min_cidr6: the minimum required length of a CIDR bitmask |
1086 |
> |
* for IPv6 based K-lines. |
1087 |
|
*/ |
1088 |
< |
gline_min_cidr6 = 48; |
1088 |
> |
kline_min_cidr6 = 48; |
1089 |
|
|
1090 |
|
/* |
1091 |
< |
* Whether to automatically set mode +i on connecting users. |
1091 |
> |
* invisible_on_connect: whether to automatically set mode +i on |
1092 |
> |
* connecting users. |
1093 |
|
*/ |
1094 |
|
invisible_on_connect = yes; |
1095 |
|
|
1099 |
|
* automatically to the new nick. kill_chase_time_limit is the maximum |
1100 |
|
* time following a nickname change that this chasing will apply. |
1101 |
|
*/ |
1102 |
< |
kill_chase_time_limit = 90 seconds; |
993 |
< |
|
994 |
< |
/* |
995 |
< |
* hide_spoof_ips: if disabled, opers will be allowed to see the real |
996 |
< |
* IP address of spoofed users in /trace etc. If this is defined they |
997 |
< |
* will be shown a masked IP. |
998 |
< |
*/ |
999 |
< |
hide_spoof_ips = yes; |
1102 |
> |
kill_chase_time_limit = 30 seconds; |
1103 |
|
|
1104 |
|
/* |
1105 |
< |
* Ignore bogus timestamps from other servers. Yes, this will desync the |
1106 |
< |
* network, but it will allow chanops to resync with a valid non TS 0 |
1105 |
> |
* ignore_bogus_ts: ignore bogus timestamps from other servers. |
1106 |
> |
* Yes, this will desync the network, but it will allow chanops |
1107 |
> |
* to resync with a valid non TS 0. |
1108 |
|
* |
1109 |
|
* This should be enabled network wide, or not at all. |
1110 |
|
*/ |
1112 |
|
|
1113 |
|
/* |
1114 |
|
* disable_auth: completely disable ident lookups; if you enable this, |
1115 |
< |
* be careful of what you set need_ident to in your auth {} blocks |
1115 |
> |
* be careful of what you set need_ident to in your auth {} blocks. |
1116 |
|
*/ |
1117 |
|
disable_auth = no; |
1118 |
|
|
1124 |
|
|
1125 |
|
/* |
1126 |
|
* default_floodcount: the default value of floodcount that is configurable |
1127 |
< |
* via /quote set floodcount. This is the number of lines a user |
1128 |
< |
* may send to any other user/channel in one second. |
1127 |
> |
* via /quote set floodcount. This is the number of lines a user may send |
1128 |
> |
* to any other user/channel in one second. Set to 0 to disable. |
1129 |
|
*/ |
1130 |
|
default_floodcount = 10; |
1131 |
|
|
1145 |
|
* min_nonwildcard: the minimum number of non-wildcard characters in |
1146 |
|
* k/d/g lines placed via the server. K-lines hand-placed are exempt from |
1147 |
|
* this limit. |
1148 |
< |
* Wildcard chars: '.', ':', '*', '?', '@', '!' |
1148 |
> |
* Wildcard characters: '.', ':', '*', '?', '@', '!' |
1149 |
|
*/ |
1150 |
|
min_nonwildcard = 4; |
1151 |
|
|
1152 |
|
/* |
1153 |
|
* min_nonwildcard_simple: the minimum number of non-wildcard characters |
1154 |
< |
* in gecos bans. Wildcard chars: '*', '?' |
1154 |
> |
* in gecos bans. Wildcard characters: '*', '?' |
1155 |
|
*/ |
1156 |
|
min_nonwildcard_simple = 3; |
1157 |
|
|
1054 |
– |
/* max_accept: maximum allowed /accept's for +g usermode. */ |
1055 |
– |
max_accept = 20; |
1056 |
– |
|
1158 |
|
/* anti_nick_flood: enable the nickflood control code. */ |
1159 |
|
anti_nick_flood = yes; |
1160 |
|
|
1161 |
< |
/* nick flood: the number of nick changes allowed in the specified period */ |
1162 |
< |
max_nick_time = 20 seconds; |
1161 |
> |
/* |
1162 |
> |
* max_nick_changes, max_nick_time: the number of nick changes allowed in |
1163 |
> |
* the specified period. |
1164 |
> |
*/ |
1165 |
|
max_nick_changes = 5; |
1166 |
+ |
max_nick_time = 20 seconds; |
1167 |
+ |
|
1168 |
+ |
/* |
1169 |
+ |
* away_count, away_time: how many AWAY command are permitted per |
1170 |
+ |
* client per away_time. |
1171 |
+ |
*/ |
1172 |
+ |
away_count = 2; |
1173 |
+ |
away_time = 10 seconds; |
1174 |
|
|
1175 |
|
/* |
1176 |
|
* anti_spam_exit_message_time: the minimum time a user must be connected |
1179 |
|
anti_spam_exit_message_time = 5 minutes; |
1180 |
|
|
1181 |
|
/* |
1182 |
< |
* ts delta: the time delta allowed between server clocks before |
1183 |
< |
* a warning is given, or before the link is dropped. All servers |
1184 |
< |
* should run ntpdate/rdate to keep clocks in sync |
1182 |
> |
* ts_warn_delta, ts_max_delta: the time delta allowed between server |
1183 |
> |
* clocks before a warning is given, or before the link is dropped. |
1184 |
> |
* All servers should run ntpdate/rdate to keep clocks in sync. |
1185 |
|
*/ |
1186 |
< |
ts_warn_delta = 30 seconds; |
1187 |
< |
ts_max_delta = 5 minutes; |
1186 |
> |
ts_warn_delta = 3 seconds; |
1187 |
> |
ts_max_delta = 15 seconds; |
1188 |
|
|
1189 |
|
/* |
1190 |
< |
* warn_no_nline: warn opers about servers that try to connect but |
1191 |
< |
* for which we don't have a connect {} block. Twits with misconfigured |
1192 |
< |
* servers can become really annoying with this enabled. |
1190 |
> |
* warn_no_connect_block: warn opers about servers that try to connect |
1191 |
> |
* but for which we don't have a connect {} block. Twits with |
1192 |
> |
* misconfigured servers can become really annoying with this enabled. |
1193 |
|
*/ |
1194 |
< |
warn_no_nline = yes; |
1194 |
> |
warn_no_connect_block = yes; |
1195 |
|
|
1196 |
|
/* |
1197 |
|
* stats_e_disabled: set this to 'yes' to disable "STATS e" for both |
1198 |
|
* operators and administrators. Doing so is a good idea in case |
1199 |
< |
* there are any exempted (exempt{}) server IPs you don't want to |
1199 |
> |
* there are any exempted (exempt {}) server IPs you don't want to |
1200 |
|
* see leaked. |
1201 |
|
*/ |
1202 |
|
stats_e_disabled = no; |
1203 |
|
|
1204 |
< |
/* stats_o_oper only: make stats o (opers) oper only */ |
1204 |
> |
/* stats_m_oper_only: make /stats m/M (messages) oper only. */ |
1205 |
> |
stats_m_oper_only = yes; |
1206 |
> |
|
1207 |
> |
/* stats_o_oper_only: make stats o (opers) oper only. */ |
1208 |
|
stats_o_oper_only = yes; |
1209 |
|
|
1210 |
< |
/* stats_P_oper_only: make stats P (ports) oper only */ |
1210 |
> |
/* stats_P_oper_only: make stats P (ports) oper only. */ |
1211 |
|
stats_P_oper_only = yes; |
1212 |
|
|
1213 |
< |
/* stats_u_oper_only: make stats u (uptime) oper only */ |
1213 |
> |
/* stats_u_oper_only: make stats u (uptime) oper only. */ |
1214 |
|
stats_u_oper_only = no; |
1215 |
|
|
1216 |
|
/* |
1217 |
< |
* stats i oper only: make stats i (auth {}) oper only. Set to: |
1218 |
< |
* yes - show users no auth blocks, made oper only. |
1219 |
< |
* masked - show users the first matching auth block |
1220 |
< |
* no - show users all auth blocks. |
1217 |
> |
* stats_i_oper_only: make stats i (auth {}) oper only. Set to: |
1218 |
> |
* yes - show users no auth {} blocks, made oper only |
1219 |
> |
* masked - show users the first matching auth {} block |
1220 |
> |
* no - show users all auth {} blocks |
1221 |
|
*/ |
1222 |
|
stats_i_oper_only = yes; |
1223 |
|
|
1224 |
|
/* |
1225 |
|
* stats_k_oper_only: make stats k/K (klines) oper only. Set to: |
1226 |
< |
* yes - show users no auth blocks, made oper only |
1227 |
< |
* masked - show users the first matching auth block |
1228 |
< |
* no - show users all auth blocks. |
1226 |
> |
* yes - show users no klines, made oper only |
1227 |
> |
* masked - show users the first matching kline |
1228 |
> |
* no - show users all klines |
1229 |
|
*/ |
1230 |
|
stats_k_oper_only = yes; |
1231 |
|
|
1237 |
|
|
1238 |
|
/* |
1239 |
|
* opers_bypass_callerid: allows operators to bypass +g and message |
1240 |
< |
* anyone who has it set (useful if you use services). |
1240 |
> |
* anyone who has it set. |
1241 |
|
*/ |
1242 |
|
opers_bypass_callerid = no; |
1243 |
|
|
1244 |
|
/* |
1245 |
|
* pace_wait_simple: minimum time required between use of less |
1246 |
|
* intensive commands |
1247 |
< |
* (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS) |
1247 |
> |
* (ADMIN, HELP, LUSERS, VERSION, remote WHOIS) |
1248 |
|
*/ |
1249 |
|
pace_wait_simple = 1 second; |
1250 |
|
|
1251 |
|
/* |
1252 |
|
* pace_wait: minimum time required between use of more intensive commands |
1253 |
< |
* (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
1253 |
> |
* (INFO, LINKS, MAP, MOTD, STATS, WHO, WHOWAS) |
1254 |
|
*/ |
1255 |
|
pace_wait = 10 seconds; |
1256 |
|
|
1261 |
|
short_motd = no; |
1262 |
|
|
1263 |
|
/* |
1264 |
< |
* ping_cookie: require clients to respond exactly to a ping command, |
1264 |
> |
* ping_cookie: require clients to respond exactly to a PING command, |
1265 |
|
* can help block certain types of drones and FTP PASV mode spoofing. |
1266 |
|
*/ |
1267 |
|
ping_cookie = no; |
1269 |
|
/* no_oper_flood: increase flood limits for opers. */ |
1270 |
|
no_oper_flood = yes; |
1271 |
|
|
1158 |
– |
/* |
1159 |
– |
* true_no_oper_flood: completely eliminate flood limits for opers |
1160 |
– |
* and for clients with can_flood = yes in their auth {} blocks. |
1161 |
– |
*/ |
1162 |
– |
true_no_oper_flood = yes; |
1163 |
– |
|
1272 |
|
/* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */ |
1273 |
|
oper_pass_resv = yes; |
1274 |
|
|
1275 |
< |
/* REMOVE ME. The following line checks that you have been reading. */ |
1275 |
> |
/* REMOVE ME. The following line checks that you have been reading. */ |
1276 |
|
havent_read_conf = 1; |
1277 |
|
|
1278 |
|
/* |
1290 |
|
* +d - debug - See debugging notices |
1291 |
|
* +e - external - See remote server connection and split notices |
1292 |
|
* +F - farconnect - Remote client connection/quit notices |
1293 |
< |
* +f - full - See auth{} block full notices |
1293 |
> |
* +f - full - See auth {} block full notices |
1294 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
1295 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
1296 |
|
* +H - hidden - Hides operator status to other users |
1297 |
< |
* +i - invisible - Not shown in NAMES or WHO unless you share a |
1190 |
< |
* a channel |
1297 |
> |
* +i - invisible - Not shown in NAMES or WHO unless you share a channel |
1298 |
|
* +j - rej - See rejected client notices |
1299 |
|
* +k - skill - See server generated KILL messages |
1300 |
|
* +l - locops - See LOCOPS messages |
1301 |
|
* +n - nchange - See client nick changes |
1302 |
+ |
* +p - hidechans - Hides channel list in WHOIS |
1303 |
+ |
* +q - hideidle - Hides idle and signon time in WHOIS |
1304 |
|
* +R - nononreg - Only receive private messages from registered clients |
1305 |
|
* +s - servnotice - See general server notices |
1306 |
|
* +u - unauth - See unauthorized client notices |
1307 |
|
* +w - wallop - See server generated WALLOPS |
1308 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
1200 |
– |
* +z - operwall - See oper generated WALLOPS |
1309 |
|
*/ |
1310 |
|
|
1311 |
< |
/* oper_only_umodes: usermodes only opers may set */ |
1312 |
< |
oper_only_umodes = bots, cconn, debug, full, hidden, skill, |
1313 |
< |
nchange, rej, spy, external, operwall, |
1206 |
< |
locops, unauth, farconnect; |
1311 |
> |
/* oper_only_umodes: usermodes only operators may set. */ |
1312 |
> |
oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops, |
1313 |
> |
nchange, rej, skill, spy, unauth; |
1314 |
|
|
1315 |
< |
/* oper_umodes: default usermodes opers get when they /oper */ |
1316 |
< |
oper_umodes = bots, locops, servnotice, operwall, wallop; |
1315 |
> |
/* oper_umodes: default usermodes operators get when they /oper or /challenge. */ |
1316 |
> |
oper_umodes = bots, locops, servnotice, wallop; |
1317 |
|
|
1318 |
|
/* |
1319 |
< |
* use_egd: if your system does not have *random devices yet you |
1320 |
< |
* want to use OpenSSL and encrypted links, enable this. Beware - |
1214 |
< |
* EGD is *very* CPU intensive when gathering data for its pool. |
1319 |
> |
* throttle_count: the maximum number of connections from the same |
1320 |
> |
* IP address allowed in throttle_time duration. |
1321 |
|
*/ |
1322 |
< |
# 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"; |
1322 |
> |
throttle_count = 1; |
1323 |
|
|
1324 |
|
/* |
1325 |
|
* throttle_time: the minimum amount of time required between |
1326 |
< |
* connections from the same IP address. exempt {} blocks are excluded |
1327 |
< |
* from this throttling. |
1326 |
> |
* connections from the same IP address. exempt {} blocks are |
1327 |
> |
* excluded from this throttling. |
1328 |
|
* Offers protection against flooders who reconnect quickly. |
1329 |
|
* Set to 0 to disable. |
1330 |
|
*/ |
1331 |
< |
throttle_time = 10; |
1331 |
> |
throttle_time = 2 seconds; |
1332 |
|
}; |
1333 |
|
|
1334 |
|
modules { |
1336 |
|
* path: other paths to search for modules specified below |
1337 |
|
* and in "/module load". |
1338 |
|
*/ |
1339 |
< |
path = "/usr/local/ircd/lib/ircd-hybrid/modules"; |
1340 |
< |
path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload"; |
1339 |
> |
path = "lib/ircd-hybrid/modules"; |
1340 |
> |
# path = "lib/ircd-hybrid/modules/extra"; |
1341 |
> |
path = "lib/ircd-hybrid/modules/autoload"; |
1342 |
|
|
1343 |
|
/* module: the name of a module to load on startup/rehash. */ |
1344 |
|
# module = "some_module.la"; |
1353 |
|
|
1354 |
|
file { |
1355 |
|
type = oper; |
1356 |
< |
name = "/usr/local/ircd/var/log/oper.log"; |
1356 |
> |
name = "var/log/oper.log"; |
1357 |
|
size = unlimited; |
1358 |
|
}; |
1359 |
|
|
1360 |
|
file { |
1361 |
|
type = user; |
1362 |
< |
name = "/usr/local/ircd/var/log/user.log"; |
1362 |
> |
name = "var/log/user.log"; |
1363 |
|
size = 50 megabytes; |
1364 |
|
}; |
1365 |
|
|
1366 |
|
file { |
1367 |
|
type = kill; |
1368 |
< |
name = "/usr/local/ircd/var/log/kill.log"; |
1368 |
> |
name = "var/log/kill.log"; |
1369 |
|
size = 50 megabytes; |
1370 |
|
}; |
1371 |
|
|
1372 |
|
file { |
1373 |
|
type = kline; |
1374 |
< |
name = "/usr/local/ircd/var/log/kline.log"; |
1374 |
> |
name = "var/log/kline.log"; |
1375 |
|
size = 50 megabytes; |
1376 |
|
}; |
1377 |
|
|
1378 |
|
file { |
1379 |
|
type = dline; |
1380 |
< |
name = "/usr/local/ircd/var/log/dline.log"; |
1280 |
< |
size = 50 megabytes; |
1281 |
< |
}; |
1282 |
< |
|
1283 |
< |
file { |
1284 |
< |
type = gline; |
1285 |
< |
name = "/usr/local/ircd/var/log/gline.log"; |
1380 |
> |
name = "var/log/dline.log"; |
1381 |
|
size = 50 megabytes; |
1382 |
|
}; |
1383 |
|
|
1384 |
|
file { |
1385 |
|
type = xline; |
1386 |
< |
name = "/usr/local/ircd/var/log/xline.log"; |
1386 |
> |
name = "var/log/xline.log"; |
1387 |
|
size = 50 megabytes; |
1388 |
|
}; |
1389 |
|
|
1390 |
|
file { |
1391 |
|
type = resv; |
1392 |
< |
name = "/usr/local/ircd/var/log/resv.log"; |
1392 |
> |
name = "var/log/resv.log"; |
1393 |
|
size = 50 megabytes; |
1394 |
|
}; |
1395 |
|
|
1396 |
|
file { |
1397 |
|
type = debug; |
1398 |
< |
name = "/usr/local/ircd/var/log/debug.log"; |
1398 |
> |
name = "var/log/debug.log"; |
1399 |
|
size = 50 megabytes; |
1400 |
|
}; |
1401 |
|
}; |