1 |
< |
/* doc/example.conf - ircd-hybrid-8 Example configuration file |
2 |
< |
* Copyright (C) 2000-2012 Hybrid Development Team |
1 |
> |
/* ircd-hybrid reference configuration file |
2 |
> |
* Copyright (C) 2000-2013 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/. |
5 |
|
* |
6 |
|
* $Id$ |
7 |
|
*/ |
8 |
|
|
9 |
< |
/* IMPORTANT NOTES: |
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 |
|
* |
18 |
|
* Shell style (#), C++ style (//) and C style comments are supported. |
19 |
|
* |
25 |
|
* 12 hours 30 minutes 1 second |
26 |
|
* |
27 |
|
* Valid units of time: |
28 |
< |
* month, week, day, hour, minute, second |
28 |
> |
* year, month, week, day, hour, minute, second |
29 |
|
* |
30 |
|
* Valid units of size: |
31 |
|
* megabyte/mbyte/mb, kilobyte/kbyte/kb, byte |
33 |
|
* Sizes and times may be singular or plural. |
34 |
|
*/ |
35 |
|
|
36 |
< |
/* EFNET NOTE: |
36 |
< |
* |
37 |
< |
* This config file is NOT suitable for EFNet. EFNet admins should use |
38 |
< |
* example.efnet.conf |
39 |
< |
*/ |
40 |
< |
|
36 |
> |
|
37 |
|
/* |
38 |
|
* serverinfo {}: contains information about the server |
39 |
|
*/ |
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 |
< |
* NOTE: The letters must be capitalized. This cannot be changed at runtime. |
50 |
> |
* NOTE: The letters must be capitalized. This cannot be changed at runtime. |
51 |
|
*/ |
52 |
< |
sid = "_CHANGE_ME_"; |
52 |
> |
sid = "0HY"; |
53 |
|
|
54 |
|
/* |
55 |
< |
* description: the description of the server. '[' and ']' may not |
60 |
< |
* be used here for compatibility with older servers. |
55 |
> |
* description: the description of the server. |
56 |
|
*/ |
57 |
< |
description = "hybrid-7 test server"; |
57 |
> |
description = "ircd-hybrid test server"; |
58 |
|
|
59 |
|
/* |
60 |
|
* network info: the name and description of the network this server |
61 |
< |
* is on. Shown in the 005 reply and used with serverhiding. |
61 |
> |
* is on. Shown in the 005 reply and used with serverhiding. |
62 |
|
*/ |
63 |
|
network_name = "MyNet"; |
64 |
|
network_desc = "This is My Network"; |
73 |
|
* vhost: the IP to bind to when we connect outward to ipv4 servers. |
74 |
|
* This should be an ipv4 IP only, or "*" for INADDR_ANY. |
75 |
|
*/ |
76 |
< |
#vhost = "192.169.0.1"; |
76 |
> |
# vhost = "192.169.0.1"; |
77 |
|
|
78 |
|
/* |
79 |
|
* vhost6: the IP to bind to when we connect outward to ipv6 servers. |
80 |
|
* This should be an ipv6 IP only, or "*" for INADDR_ANY. |
81 |
|
*/ |
82 |
< |
#vhost6 = "3ffe:80e8:546::2"; |
82 |
> |
# vhost6 = "3ffe:80e8:546::2"; |
83 |
|
|
84 |
< |
/* max_clients: the maximum number of clients allowed to connect */ |
84 |
> |
/* max_clients: the maximum number of clients allowed to connect. */ |
85 |
|
max_clients = 512; |
86 |
|
|
87 |
|
/* |
88 |
+ |
* max_nick_length: only applies to local clients. Must be in the |
89 |
+ |
* range of 9 to 30. Default is 9 if nothing else is specified. |
90 |
+ |
*/ |
91 |
+ |
max_nick_length = 9; |
92 |
+ |
|
93 |
+ |
/* |
94 |
+ |
* max_topic_length: only applies to topics set by local clients. |
95 |
+ |
* Must be in the range of 80 to 300. Default is 80 if nothing |
96 |
+ |
* else is specified. |
97 |
+ |
*/ |
98 |
+ |
max_topic_length = 160; |
99 |
+ |
|
100 |
+ |
/* |
101 |
|
* rsa_private_key_file: the path to the file containing our |
102 |
|
* rsa key for cryptlink. |
103 |
|
* |
110 |
|
* chmod 0600 rsa.key |
111 |
|
* chmod 0644 rsa.pub |
112 |
|
*/ |
113 |
< |
#rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
113 |
> |
# rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
114 |
|
|
115 |
|
/* |
116 |
|
* ssl_certificate_file: the path to the file containing our |
117 |
|
* ssl certificate for encrypted client connection. |
118 |
|
* |
119 |
|
* This assumes your private RSA key is stored in rsa.key. You |
120 |
< |
* MUST have an RSA key in order to generate the certificate |
120 |
> |
* MUST have an RSA key in order to generate the certificate. |
121 |
> |
* |
122 |
> |
* Example command: |
123 |
|
* |
124 |
|
* openssl req -new -days 365 -x509 -key rsa.key -out cert.pem |
125 |
|
* |
132 |
|
* Common Name: irc.someirc.net |
133 |
|
* E-mail: you@domain.com |
134 |
|
*/ |
135 |
< |
#ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
126 |
< |
|
135 |
> |
# ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
136 |
|
|
137 |
|
/* |
138 |
|
* ssl_dh_param_file: |
145 |
|
* |
146 |
|
* openssl dhparam -out dhparam.pem 1024 |
147 |
|
* |
148 |
< |
* Further information regarding specific OpenSSL dhparam |
149 |
< |
* command-line options can be found in the OpenSSL manual. |
148 |
> |
* Prime size must be at least 1024 bits. Further information |
149 |
> |
* regarding specific OpenSSL dhparam command-line options |
150 |
> |
* can be found in the OpenSSL manual. |
151 |
|
*/ |
152 |
< |
#ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem"; |
152 |
> |
# ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem"; |
153 |
|
|
154 |
|
/* |
155 |
|
* ssl_cipher_list: |
156 |
|
* |
157 |
< |
* List of ciphers that are supported by _this_ server. Can be used to enforce |
158 |
< |
* specific ciphers for incoming SSL/TLS connections. |
159 |
< |
* If a client (which also includes incoming server connections) isn't capable |
160 |
< |
* of any cipher listed below, the connection will simply be rejected. |
157 |
> |
* List of ciphers that are supported by _this_ server. Can be used to |
158 |
> |
* enforce specific ciphers for incoming SSL/TLS connections. |
159 |
> |
* If a client (which also includes incoming server connections) isn't |
160 |
> |
* capable of any cipher listed below, the connection will simply be |
161 |
> |
* rejected. |
162 |
|
* |
163 |
|
* A list of supported ciphers can be obtained by running: |
164 |
|
* |
165 |
|
* openssl ciphers -ssl3 -tls1 -v |
166 |
|
* |
167 |
< |
* Multiple ciphers are separated by colons. The order of preference is from |
168 |
< |
* left to right. |
167 |
> |
* Multiple ciphers are separated by colons. The order of preference is |
168 |
> |
* from left to right. |
169 |
|
*/ |
170 |
< |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
170 |
> |
# ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
171 |
|
|
172 |
|
/* |
173 |
|
* ssl_server_method: |
176 |
|
* SSL/TLS methods we provide for incoming (server method) and |
177 |
|
* outgoing (client method) SSL/TLS connections. |
178 |
|
* This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1. |
168 |
– |
* SSLv2 is not suppported. |
179 |
|
*/ |
180 |
< |
#ssl_server_method = tlsv1, sslv3; |
181 |
< |
#ssl_client_method = tlsv1; |
180 |
> |
# ssl_server_method = tlsv1, sslv3; |
181 |
> |
# ssl_client_method = tlsv1; |
182 |
|
}; |
183 |
|
|
184 |
|
/* |
194 |
|
* class {}: contains information about classes for users |
195 |
|
*/ |
196 |
|
class { |
197 |
< |
/* name: the name of the class. classes are text now */ |
197 |
> |
/* name: the name of the class. */ |
198 |
|
name = "users"; |
199 |
|
|
200 |
|
/* |
227 |
|
|
228 |
|
/* |
229 |
|
* the following lines are optional and allow you to define |
230 |
< |
* how many users can connect from one /NN subnet |
230 |
> |
* how many users can connect from one /NN subnet. |
231 |
|
*/ |
232 |
|
cidr_bitlen_ipv4 = 24; |
233 |
|
cidr_bitlen_ipv6 = 120; |
234 |
|
number_per_cidr = 16; |
235 |
|
|
236 |
|
/* |
237 |
< |
* sendq: the amount of data allowed in a clients queue before |
237 |
> |
* sendq: the amount of data allowed in a clients send queue before |
238 |
|
* they are dropped. |
239 |
|
*/ |
240 |
|
sendq = 100 kbytes; |
241 |
+ |
|
242 |
+ |
/* |
243 |
+ |
* recvq: maximum amount of data in a clients receive queue before |
244 |
+ |
* they are dropped for flooding. Defaults to 2560 if the chosen |
245 |
+ |
* value isn't within the range of 512 to 8000. |
246 |
+ |
*/ |
247 |
+ |
recvq = 2560 bytes; |
248 |
|
}; |
249 |
|
|
250 |
|
class { |
252 |
|
ping_time = 90 seconds; |
253 |
|
number_per_ip = 10; |
254 |
|
max_number = 100; |
255 |
< |
sendq = 100kbytes; |
255 |
> |
sendq = 100 kbytes; |
256 |
> |
|
257 |
> |
/* |
258 |
> |
* min_idle: minimum idle time that is shown in /whois. |
259 |
> |
*/ |
260 |
> |
min_idle = 3 hours; |
261 |
> |
|
262 |
> |
/* |
263 |
> |
* max_idle: maximum idle time that is shown in /whois. |
264 |
> |
*/ |
265 |
> |
max_idle = 8 hours; |
266 |
> |
|
267 |
> |
/* |
268 |
> |
* flags: |
269 |
> |
* |
270 |
> |
* random_idle - idle time is randomly selected within the |
271 |
> |
* range of min_idle to max_idle |
272 |
> |
* hide_idle_from_opers - fake idle time will be shown to operators, too |
273 |
> |
*/ |
274 |
> |
flags = random_idle, hide_idle_from_opers; |
275 |
|
}; |
276 |
|
|
277 |
|
class { |
279 |
|
ping_time = 90 seconds; |
280 |
|
|
281 |
|
/* |
282 |
< |
* ping_warning: how fast a server must reply to a PING before |
247 |
< |
* a warning to opers is generated. |
248 |
< |
*/ |
249 |
< |
ping_warning = 15 seconds; |
250 |
< |
|
251 |
< |
/* |
252 |
< |
* connectfreq: only used in server classes. Specifies the delay |
282 |
> |
* connectfreq: only used in server classes. Specifies the delay |
283 |
|
* between autoconnecting to servers. |
284 |
|
*/ |
285 |
|
connectfreq = 5 minutes; |
286 |
|
|
287 |
< |
/* max number: the amount of servers to autoconnect to */ |
287 |
> |
/* max number: the amount of servers to autoconnect to. */ |
288 |
|
max_number = 1; |
289 |
|
|
290 |
< |
/* sendq: servers need a higher sendq as they send more data */ |
290 |
> |
/* sendq: servers need a higher sendq as they send more data. */ |
291 |
|
sendq = 2 megabytes; |
292 |
|
}; |
293 |
|
|
294 |
|
/* |
295 |
+ |
* motd {}: specifies various MOTD files. Applies to local users only. |
296 |
+ |
*/ |
297 |
+ |
motd { |
298 |
+ |
/* |
299 |
+ |
* mask: multiple mask entries are permitted. Mask can either be |
300 |
+ |
* a class name or a hostname. |
301 |
+ |
*/ |
302 |
+ |
mask = "*.at"; |
303 |
+ |
mask = "*.de"; |
304 |
+ |
mask = "*.ch"; |
305 |
+ |
|
306 |
+ |
/* |
307 |
+ |
* file: path to the actual motd file. |
308 |
+ |
*/ |
309 |
+ |
file = "/usr/local/ircd/etc/german.motd"; |
310 |
+ |
}; |
311 |
+ |
|
312 |
+ |
/* |
313 |
|
* listen {}: contains information about the ports ircd listens on |
314 |
|
*/ |
315 |
|
listen { |
316 |
|
/* |
317 |
< |
* port: the specific port to listen on. If no host is specified |
317 |
> |
* port: the specific port to listen on. If no host is specified |
318 |
|
* before, it will listen on all available IPs. |
319 |
|
* |
320 |
|
* Ports are separated via a comma, a range may be specified using ".." |
327 |
|
* Listen on 192.168.0.1/6697 with ssl enabled and hidden from STATS P |
328 |
|
* unless you are an administrator. |
329 |
|
* |
330 |
< |
* NOTE: The "flags" directive has to come before "port". Always! |
330 |
> |
* NOTE: The "flags" directive has to come before "port". Always! |
331 |
|
* |
332 |
|
* Currently available flags are: |
333 |
|
* |
334 |
< |
* ssl - Port is for SSL client connections only |
334 |
> |
* ssl - Port may only accept TLS/SSL connections |
335 |
|
* server - Only server connections are permitted |
336 |
|
* hidden - Port is hidden from /stats P, unless you're an admin |
337 |
|
*/ |
341 |
|
|
342 |
|
/* |
343 |
|
* host: set a specific IP/host the ports after the line will listen |
344 |
< |
* on. This may be ipv4 or ipv6. |
344 |
> |
* on. This may be ipv4 or ipv6. |
345 |
|
*/ |
346 |
|
host = "1.2.3.4"; |
347 |
|
port = 7000, 7001; |
355 |
|
*/ |
356 |
|
auth { |
357 |
|
/* |
358 |
< |
* user: the user@host allowed to connect. Multiple IPv4/IPv6 user |
358 |
> |
* user: the user@host allowed to connect. Multiple user |
359 |
|
* lines are permitted per auth block. |
360 |
|
*/ |
361 |
|
user = "*@172.16.0.0/12"; |
371 |
|
encrypted = yes; |
372 |
|
|
373 |
|
/* |
374 |
< |
* spoof: fake the users host to this. This is free-form, |
375 |
< |
* just do everyone a favor and don't abuse it. ('=' prefix on /stats I) |
374 |
> |
* spoof: fake the users host to this. This is free-form, just do |
375 |
> |
* everyone a favor and don't abuse it. ('=' prefix on /stats I) |
376 |
|
*/ |
377 |
|
spoof = "I.still.hate.packets"; |
378 |
|
|
391 |
|
* resv_exempt - exempt this user from resvs ('$' prefix on /stats I) |
392 |
|
* no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I) |
393 |
|
* can_flood - allow this user to exceed flood limits ('|' prefix on /stats I) |
394 |
+ |
* webirc - enables WEBIRC authentication for web-based clients such as Mibbit |
395 |
+ |
* ('<' prefix on /stats I) |
396 |
|
*/ |
397 |
|
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
398 |
|
gline_exempt, resv_exempt, no_tilde, can_flood; |
400 |
|
|
401 |
|
auth { |
402 |
|
/* |
403 |
< |
* redirect: the server and port to redirect a user to. A user does |
404 |
< |
* not have to obey the redirection, the ircd just suggests an alternative |
403 |
> |
* redirect: the server and port to redirect a user to. A user does not |
404 |
> |
* have to obey the redirection, the ircd just suggests an alternative |
405 |
|
* server for them. |
406 |
|
*/ |
407 |
|
redirserv = "this.is.not.a.real.server"; |
421 |
|
|
422 |
|
/* |
423 |
|
* operator {}: defines ircd operators |
374 |
– |
* |
375 |
– |
* ircd-hybrid no longer supports local operators, privileges are |
376 |
– |
* controlled via flags. |
424 |
|
*/ |
425 |
|
operator { |
426 |
|
/* name: the name of the oper */ |
427 |
< |
name = "god"; |
427 |
> |
name = "sheep"; |
428 |
|
|
429 |
|
/* |
430 |
|
* user: the user@host required for this operator. Multiple |
431 |
|
* user="" lines are supported. |
432 |
|
*/ |
433 |
< |
user = "*god@192.168.0.0/16"; |
433 |
> |
user = "*sheep@192.168.0.0/16"; |
434 |
|
user = "*@127.0.0.0/8"; |
435 |
|
|
436 |
|
/* |
437 |
< |
* password: the password required to oper. By default this will |
437 |
> |
* password: the password required to oper. By default this will |
438 |
|
* need to be encrypted by using the provided mkpasswd tool. |
439 |
|
* Several password hash algorithms are available depending |
440 |
|
* on your system's crypt() implementation. For example, a modern |
460 |
|
class = "opers"; |
461 |
|
|
462 |
|
/* |
463 |
< |
* umodes: default usermodes opers get when they /oper. If defined, |
463 |
> |
* umodes: default usermodes opers get when they /oper. If defined, |
464 |
|
* it will override oper_umodes settings in general {}. |
465 |
|
* Available usermodes: |
466 |
|
* |
467 |
|
* +b - bots - See bot and drone flooding notices |
468 |
|
* +c - cconn - Client connection/quit notices |
422 |
– |
* +C - cconn_full - Client connection/quit notices full |
469 |
|
* +D - deaf - Don't receive channel messages |
470 |
|
* +d - debug - See debugging notices |
471 |
< |
* +f - full - See I: line full notices |
471 |
> |
* +e - external - See remote server connection and split notices |
472 |
> |
* +F - farconnect - Remote client connection/quit notices |
473 |
> |
* +f - full - See auth{} block full notices |
474 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
475 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
476 |
|
* +H - hidden - Hides operator status to other users |
480 |
|
* +k - skill - See server generated KILL messages |
481 |
|
* +l - locops - See LOCOPS messages |
482 |
|
* +n - nchange - See client nick changes |
483 |
+ |
* +R - nononreg - Only receive private messages from registered clients |
484 |
|
* +s - servnotice - See general server notices |
485 |
|
* +u - unauth - See unauthorized client notices |
486 |
|
* +w - wallop - See server generated WALLOPS |
438 |
– |
* +x - external - See remote server connection and split notices |
487 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
488 |
|
* +z - operwall - See oper generated WALLOPS |
489 |
|
*/ |
490 |
< |
# umodes = locops, servnotice, operwall, wallop; |
490 |
> |
umodes = locops, servnotice, operwall, wallop; |
491 |
|
|
492 |
|
/* |
493 |
|
* privileges: controls the activities and commands an oper is |
494 |
|
* allowed to do on the server. All options default to no. |
495 |
|
* Available options: |
496 |
|
* |
497 |
< |
* module - allows MODLIST, MODRESTART, MODLOAD, MODUNLOAD |
498 |
< |
* global_kill - allows remote users to be /KILL'd |
499 |
< |
* remote - allows remote SQUIT and CONNECT |
500 |
< |
* remoteban - allows remote KLINE/UNKLINE |
501 |
< |
* dline - allows DLINE |
502 |
< |
* undline - allows UNDLINE |
503 |
< |
* kline - allows KILL and KLINE |
504 |
< |
* unkline - allows UNKLINE |
505 |
< |
* gline - allows GLINE |
506 |
< |
* xline - allows XLINE |
507 |
< |
* globops - allows GLOBOPS |
508 |
< |
* operwall - allows OPERWALL |
509 |
< |
* nick_changes - allows oper to see nickchanges via usermode +n |
510 |
< |
* rehash - allows oper to REHASH config |
511 |
< |
* die - allows DIE |
512 |
< |
* restart - allows RESTART |
513 |
< |
* admin - gives admin privileges. admins for example, |
514 |
< |
* may see the real IP addresses of servers. |
497 |
> |
* module - allows MODULE |
498 |
> |
* connect - allows local CONNECT | ('P' flag) |
499 |
> |
* connect:remote - allows remote CONNECT | ('Q' flag) |
500 |
> |
* squit - allows local SQUIT | ('R' flag) |
501 |
> |
* squit:remote - allows remote SQUIT | ('S' flag) |
502 |
> |
* kill - allows to KILL local clients | ('N' flag) |
503 |
> |
* kill:remote - allows remote users to be /KILL'd | ('O' flag) |
504 |
> |
* remoteban - allows remote KLINE/UNKLINE | ('B' flag) |
505 |
> |
* dline - allows DLINE | |
506 |
> |
* undline - allows UNDLINE | |
507 |
> |
* kline - allows KLINE | ('K' flag) |
508 |
> |
* unkline - allows UNKLINE | ('U' flag) |
509 |
> |
* gline - allows GLINE | ('G' flag) |
510 |
> |
* xline - allows XLINE | ('X' flag) |
511 |
> |
* locops - allows LOCOPS | |
512 |
> |
* globops - allows GLOBOPS | |
513 |
> |
* wallops - allows WALLOPS | |
514 |
> |
* operwall - allows OPERWALL | ('L' flag) |
515 |
> |
* rehash - allows oper to REHASH config | ('H' flag) |
516 |
> |
* die - allows DIE | ('D' flag) |
517 |
> |
* restart - allows RESTART | |
518 |
> |
* set - allows SET | |
519 |
> |
* admin - gives administrator privileges | ('A' flag) |
520 |
|
*/ |
521 |
< |
flags = global_kill, remote, kline, unkline, xline, globops, restart, |
522 |
< |
die, rehash, nick_changes, admin, operwall, module; |
521 |
> |
flags = kill, kill:remote, connect, connect:remote, kline, unkline, |
522 |
> |
xline, globops, restart, die, rehash, admin, operwall, module; |
523 |
|
}; |
524 |
|
|
525 |
+ |
/* |
526 |
+ |
* service {}: specifies what server may act as a network service |
527 |
+ |
* |
528 |
+ |
* NOTE: it is absolutely important that every single server on the network |
529 |
+ |
* has the same service{} block. |
530 |
+ |
*/ |
531 |
|
service { |
532 |
|
name = "service.someserver"; |
533 |
|
name = "stats.someserver"; |
541 |
|
name = "irc.uplink.com"; |
542 |
|
|
543 |
|
/* |
544 |
< |
* host: the host or IP to connect to. If a hostname is used it |
544 |
> |
* host: the host or IP to connect to. If a hostname is used it |
545 |
|
* must match the reverse dns of the server. |
546 |
|
*/ |
547 |
|
host = "192.168.0.1"; |
570 |
|
port = 6666; |
571 |
|
|
572 |
|
/* |
573 |
< |
* hub_mask: the mask of servers that this server may hub. Multiple |
574 |
< |
* entries are permitted |
573 |
> |
* hub_mask: the mask of servers that this server may hub. Multiple |
574 |
> |
* entries are permitted. |
575 |
|
*/ |
576 |
|
hub_mask = "*"; |
577 |
|
|
578 |
|
/* |
579 |
< |
* leaf_mask: the mask of servers this server may not hub. Multiple |
580 |
< |
* entries are permitted. Useful for forbidding EU -> US -> EU routes. |
579 |
> |
* leaf_mask: the mask of servers this server may not hub. Multiple |
580 |
> |
* entries are permitted. Useful for forbidding EU -> US -> EU routes. |
581 |
|
*/ |
582 |
|
# leaf_mask = "*.uk"; |
583 |
|
|
584 |
|
/* class: the class this server is in */ |
585 |
|
class = "server"; |
586 |
|
|
587 |
< |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
587 |
> |
/* |
588 |
> |
* ssl_cipher_list: |
589 |
> |
* |
590 |
> |
* List of ciphers that the server we are connecting to must support. |
591 |
> |
* If the server isn't capable of any cipher listed below, the |
592 |
> |
* connection will simply be rejected. |
593 |
> |
* Can be used to enforce stronger ciphers, even though this option |
594 |
> |
* is not necessarily required to establish a SSL/TLS connection. |
595 |
> |
* |
596 |
> |
* Multiple ciphers are separated by colons. The order of preference |
597 |
> |
* is from left to right. |
598 |
> |
*/ |
599 |
> |
# ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
600 |
|
|
601 |
|
/* |
602 |
|
* autoconn - controls whether we autoconnect to this server or not, |
603 |
|
* dependent on class limits. By default, this is disabled. |
533 |
– |
* burst_away - This will send the /away string that users have set |
534 |
– |
* on the server burst. Note this can be a lot of data |
535 |
– |
* and slow down your server burst. |
536 |
– |
* topicburst - Send topics to this server during channel burst. Works |
537 |
– |
* only if the server we are connecting to is capable |
538 |
– |
* of TBURST/TB. |
604 |
|
* ssl - Initiates a TLS/SSL connection. |
605 |
|
*/ |
606 |
< |
# flags = autoconn, burst_away, topicburst; |
606 |
> |
# flags = autoconn, ssl; |
607 |
|
}; |
608 |
|
|
609 |
|
connect { |
660 |
|
* |
661 |
|
* NOTE: This can be effectively used for remote klines. |
662 |
|
* Please note that there is no password authentication |
663 |
< |
* for users setting remote klines. You must also be |
663 |
> |
* for users setting remote klines. You must also be |
664 |
|
* /oper'd in order to issue a remote kline. |
665 |
|
*/ |
666 |
|
shared { |
667 |
|
/* |
668 |
< |
* name: the server the user must be on to set klines. If this is not |
668 |
> |
* name: the server the user must be on to set klines. If this is not |
669 |
|
* specified, the user will be allowed to kline from all servers. |
670 |
|
*/ |
671 |
|
name = "irc2.some.server"; |
672 |
|
|
673 |
|
/* |
674 |
< |
* user: the user@host mask that is allowed to set klines. If this is |
674 |
> |
* user: the user@host mask that is allowed to set klines. If this is |
675 |
|
* not specified, all users on the server above will be allowed to set |
676 |
|
* a remote kline. |
677 |
|
*/ |
702 |
|
reason = "Obviously hacked account"; |
703 |
|
}; |
704 |
|
|
640 |
– |
kill { |
641 |
– |
user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.tld$"; |
642 |
– |
|
643 |
– |
/* |
644 |
– |
* NOTE: You have to set type=regex; when using a regular expression |
645 |
– |
* based user entry |
646 |
– |
*/ |
647 |
– |
type = regex; |
648 |
– |
}; |
649 |
– |
|
705 |
|
/* |
706 |
|
* deny {}: IPs that are not allowed to connect (before DNS/ident lookup) |
707 |
|
* Oper issued dlines will be added to the specified dline config |
712 |
|
}; |
713 |
|
|
714 |
|
/* |
715 |
< |
* exempt {}: IPs that are exempt from deny {} and Dlines |
715 |
> |
* exempt {}: IPs that are exempt from deny {} and Dlines |
716 |
|
*/ |
717 |
|
exempt { |
718 |
|
ip = "192.168.0.0/16"; |
721 |
|
/* |
722 |
|
* resv {}: nicks and channels users may not use/join |
723 |
|
*/ |
724 |
+ |
resv { mask = "clone*"; reason = "Clone bots"; }; |
725 |
+ |
resv { mask = "ChanServ"; reason = "Reserved for services"; }; |
726 |
+ |
resv { mask = "NickServ"; reason = "Reserved for services"; }; |
727 |
+ |
resv { mask = "OperServ"; reason = "Reserved for services"; }; |
728 |
+ |
resv { mask = "MemoServ"; reason = "Reserved for services"; }; |
729 |
+ |
resv { mask = "BotServ"; reason = "Reserved for services"; }; |
730 |
+ |
resv { mask = "HelpServ"; reason = "Reserved for services"; }; |
731 |
+ |
resv { mask = "HostServ"; reason = "Reserved for services"; }; |
732 |
+ |
resv { mask = "StatServ"; reason = "Reserved for services"; }; |
733 |
+ |
resv { mask = "#*services*"; reason = "Reserved for services"; }; |
734 |
+ |
|
735 |
|
resv { |
736 |
< |
/* reason: the reason for the proceeding resv's */ |
737 |
< |
reason = "Reserved for services"; |
736 |
> |
/* |
737 |
> |
* mask: masks starting with a '#' are automatically considered |
738 |
> |
* as channel name mask. |
739 |
> |
*/ |
740 |
> |
mask = "#helsinki"; |
741 |
> |
reason = "Channel is reserved for finnish inhabitants"; |
742 |
|
|
743 |
< |
/* resv: the nicks and channels users may not join/use */ |
744 |
< |
nick = "Global"; |
745 |
< |
nick = "DevNull"; |
746 |
< |
nick = "Services"; |
747 |
< |
nick = "StatServ"; |
748 |
< |
nick = "HostServ"; |
679 |
< |
nick = "NickServ"; |
680 |
< |
nick = "ChanServ"; |
681 |
< |
nick = "MemoServ"; |
682 |
< |
nick = "OperServ"; |
683 |
< |
channel = "#services"; |
684 |
< |
|
685 |
< |
/* resv: wildcard masks are also supported in nicks only */ |
686 |
< |
reason = "Clone bots"; |
687 |
< |
nick = "clone*"; |
743 |
> |
/* |
744 |
> |
* exempt: can be either a ISO 3166 alpha-2 two letter country |
745 |
> |
* code, or a nick!user@host mask. CIDR is supported. Exempt |
746 |
> |
* entries can be stacked. |
747 |
> |
*/ |
748 |
> |
exempt = "FI"; |
749 |
|
}; |
750 |
|
|
751 |
|
/* |
752 |
< |
* gecos {}: The X: replacement, used for banning users based on |
692 |
< |
* their "realname". |
752 |
> |
* gecos {}: Used for banning users based on their "realname". |
753 |
|
*/ |
754 |
|
gecos { |
755 |
|
name = "*sex*"; |
761 |
|
reason = "Trojan drone"; |
762 |
|
}; |
763 |
|
|
704 |
– |
gecos { |
705 |
– |
name = "*http*"; |
706 |
– |
reason = "Spambot"; |
707 |
– |
}; |
708 |
– |
|
709 |
– |
gecos { |
710 |
– |
name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$"; |
711 |
– |
|
712 |
– |
/* |
713 |
– |
* NOTE: You have to set type=regex; when using a regular expression |
714 |
– |
* based name entry |
715 |
– |
*/ |
716 |
– |
type = regex; |
717 |
– |
}; |
718 |
– |
|
764 |
|
/* |
765 |
|
* channel {}: The channel block contains options pertaining to channels |
766 |
|
*/ |
774 |
|
* 3 | mirc color |
775 |
|
* 15 | plain text |
776 |
|
* 22 | reverse |
777 |
+ |
* 29 | italic |
778 |
|
* 31 | underline |
779 |
|
* 160 | non-breaking space |
780 |
|
*/ |
781 |
|
disable_fake_channels = yes; |
782 |
|
|
783 |
|
/* |
738 |
– |
* restrict_channels: reverse channel RESVs logic, only reserved |
739 |
– |
* channels are allowed |
740 |
– |
*/ |
741 |
– |
restrict_channels = no; |
742 |
– |
|
743 |
– |
/* |
744 |
– |
* disable_local_channels: prevent users from joining &channels. |
745 |
– |
*/ |
746 |
– |
disable_local_channels = no; |
747 |
– |
|
748 |
– |
/* |
749 |
– |
* use_invex: Enable/disable channel mode +I, a n!u@h list of masks |
750 |
– |
* that can join a +i channel without an invite. |
751 |
– |
*/ |
752 |
– |
use_invex = yes; |
753 |
– |
|
754 |
– |
/* |
755 |
– |
* use_except: Enable/disable channel mode +e, a n!u@h list of masks |
756 |
– |
* that can join a channel through a ban (+b). |
757 |
– |
*/ |
758 |
– |
use_except = yes; |
759 |
– |
|
760 |
– |
/* |
761 |
– |
* use_knock: Allows users to request an invite to a channel that |
762 |
– |
* is locked somehow (+ikl). If the channel is +p or you are banned |
763 |
– |
* the knock will not be sent. |
764 |
– |
*/ |
765 |
– |
use_knock = yes; |
766 |
– |
|
767 |
– |
/* |
784 |
|
* knock_delay: The amount of time a user must wait between issuing |
785 |
|
* the knock command. |
786 |
|
*/ |
798 |
|
*/ |
799 |
|
max_chans_per_user = 25; |
800 |
|
|
801 |
< |
/* quiet_on_ban: stop banned people talking in channels. */ |
802 |
< |
quiet_on_ban = yes; |
801 |
> |
/* |
802 |
> |
* max_chans_per_oper: The maximum number of channels an oper can |
803 |
> |
* join/be on. |
804 |
> |
*/ |
805 |
> |
max_chans_per_oper = 50; |
806 |
|
|
807 |
|
/* max_bans: maximum number of +b/e/I modes in a channel */ |
808 |
< |
max_bans = 25; |
808 |
> |
max_bans = 100; |
809 |
|
|
810 |
|
/* |
811 |
|
* how many joins in how many seconds constitute a flood, use 0 to |
825 |
|
|
826 |
|
/* |
827 |
|
* default_split_user_count: when the usercount is lower than this level, |
828 |
< |
* consider ourselves split. This must be set for automatic splitmode. |
828 |
> |
* consider ourselves split. This must be set for automatic splitmode. |
829 |
|
*/ |
830 |
|
default_split_user_count = 0; |
831 |
|
|
832 |
|
/* |
833 |
|
* default_split_server_count: when the servercount is lower than this, |
834 |
< |
* consider ourselves split. This must be set for automatic splitmode. |
834 |
> |
* consider ourselves split. This must be set for automatic splitmode. |
835 |
|
*/ |
836 |
|
default_split_server_count = 0; |
837 |
|
|
848 |
|
*/ |
849 |
|
serverhide { |
850 |
|
/* |
851 |
+ |
* disable_remote_commands: disable users doing commands |
852 |
+ |
* on remote servers. |
853 |
+ |
*/ |
854 |
+ |
disable_remote_commands = no; |
855 |
+ |
|
856 |
+ |
/* |
857 |
|
* flatten_links: this option will show all servers in /links appear |
858 |
< |
* that they are linked to this current server |
858 |
> |
* that they are linked to this current server. |
859 |
|
*/ |
860 |
|
flatten_links = no; |
861 |
|
|
867 |
|
|
868 |
|
/* |
869 |
|
* hidden: hide this server from a /links output on servers that |
870 |
< |
* support it. This allows hub servers to be hidden etc. |
870 |
> |
* support it. This allows hub servers to be hidden etc. |
871 |
|
*/ |
872 |
|
hidden = no; |
873 |
|
|
874 |
|
/* |
850 |
– |
* disable_hidden: prevent servers hiding themselves from a |
851 |
– |
* /links output. |
852 |
– |
*/ |
853 |
– |
disable_hidden = no; |
854 |
– |
|
855 |
– |
/* |
875 |
|
* hide_servers: hide remote servernames everywhere and instead use |
876 |
|
* hidden_name and network_desc. |
877 |
|
*/ |
878 |
|
hide_servers = no; |
879 |
|
|
880 |
|
/* |
881 |
+ |
* hide_services: define this if you want to hide the location of |
882 |
+ |
* services servers that are specified in the service{} block. |
883 |
+ |
*/ |
884 |
+ |
hide_services = no; |
885 |
+ |
|
886 |
+ |
/* |
887 |
|
* Use this as the servername users see if hide_servers = yes. |
888 |
|
*/ |
889 |
|
hidden_name = "*.hidden.com"; |
898 |
|
* logfiles. |
899 |
|
* |
900 |
|
* We recommend you leave this disabled, and just take care with who you |
901 |
< |
* give admin=yes; to. |
901 |
> |
* give administrator privileges to. |
902 |
|
*/ |
903 |
|
hide_server_ips = no; |
904 |
|
}; |
905 |
|
|
906 |
|
/* |
907 |
|
* general {}: The general block contains many of the options that were once |
908 |
< |
* compiled in options in config.h. The general block is read at start time. |
908 |
> |
* compiled in options in config.h |
909 |
|
*/ |
910 |
|
general { |
911 |
|
/* services_name: servername of nick/channel services */ |
914 |
|
/* max_watch: maximum WATCH entries a client can have. */ |
915 |
|
max_watch = 60; |
916 |
|
|
917 |
+ |
/* gline_enable: enable glines, network wide temp klines. */ |
918 |
+ |
gline_enable = yes; |
919 |
+ |
|
920 |
+ |
/* |
921 |
+ |
* gline_duration: the amount of time a gline will remain on your |
922 |
+ |
* server before expiring. |
923 |
+ |
*/ |
924 |
+ |
gline_duration = 1 day; |
925 |
+ |
|
926 |
+ |
/* |
927 |
+ |
* gline_request_duration: how long a pending G-line can be around. |
928 |
+ |
* 10 minutes should be plenty. |
929 |
+ |
*/ |
930 |
+ |
gline_request_duration = 10 minutes; |
931 |
+ |
|
932 |
|
/* |
933 |
|
* gline_min_cidr: the minimum required length of a CIDR bitmask |
934 |
< |
* for IPv4 based glines |
934 |
> |
* for IPv4 based glines. |
935 |
|
*/ |
936 |
|
gline_min_cidr = 16; |
937 |
|
|
938 |
|
/* |
939 |
|
* gline_min_cidr6: the minimum required length of a CIDR bitmask |
940 |
< |
* for IPv6 based glines |
940 |
> |
* for IPv6 based glines. |
941 |
|
*/ |
942 |
|
gline_min_cidr6 = 48; |
943 |
|
|
947 |
|
invisible_on_connect = yes; |
948 |
|
|
949 |
|
/* |
950 |
< |
* Show "actually using host <ip>" on /whois when possible. |
951 |
< |
*/ |
952 |
< |
use_whois_actually = yes; |
913 |
< |
|
914 |
< |
/* |
915 |
< |
* Max time from the nickname change that still causes KILL |
916 |
< |
* automatically to switch for the current nick of that user. |
950 |
> |
* kill_chase_time_limit: maximum time from the nickname change that |
951 |
> |
* still causes KILL automatically to switch for the current nick of |
952 |
> |
* that user. |
953 |
|
*/ |
954 |
|
kill_chase_time_limit = 90 seconds; |
955 |
|
|
956 |
|
/* |
957 |
< |
* If hide_spoof_ips is disabled, opers will be allowed to see the real |
957 |
> |
* hide_spoof_ips: if disabled, opers will be allowed to see the real |
958 |
|
* IP of spoofed users in /trace etc. If this is defined they will be |
959 |
|
* shown a masked IP. |
960 |
|
*/ |
961 |
|
hide_spoof_ips = yes; |
962 |
|
|
963 |
|
/* |
964 |
< |
* Ignore bogus timestamps from other servers. Yes, this will desync |
965 |
< |
* the network, but it will allow chanops to resync with a valid non TS 0 |
964 |
> |
* Ignore bogus timestamps from other servers. Yes, this will desync the |
965 |
> |
* network, but it will allow chanops to resync with a valid non TS 0 |
966 |
|
* |
967 |
|
* This should be enabled network wide, or not at all. |
968 |
|
*/ |
974 |
|
*/ |
975 |
|
disable_auth = no; |
976 |
|
|
941 |
– |
/* disable_remote_commands: disable users doing commands on remote servers */ |
942 |
– |
disable_remote_commands = no; |
943 |
– |
|
977 |
|
/* |
978 |
|
* tkline_expire_notices: enables or disables temporary kline/xline |
979 |
|
* expire notices. |
982 |
|
|
983 |
|
/* |
984 |
|
* default_floodcount: the default value of floodcount that is configurable |
985 |
< |
* via /quote set floodcount. This is the amount of lines a user |
985 |
> |
* via /quote set floodcount. This is the amount of lines a user |
986 |
|
* may send to any other user/channel in one second. |
987 |
|
*/ |
988 |
|
default_floodcount = 10; |
1001 |
|
|
1002 |
|
/* |
1003 |
|
* min_nonwildcard: the minimum non wildcard characters in k/d/g lines |
1004 |
< |
* placed via the server. klines hand placed are exempt from limits. |
1005 |
< |
* wildcard chars: '.' ':' '*' '?' '@' '!' '#' |
1004 |
> |
* placed via the server. K-lines hand placed are exempt from limits. |
1005 |
> |
* Wildcard chars: '.', ':', '*', '?', '@', '!' |
1006 |
|
*/ |
1007 |
|
min_nonwildcard = 4; |
1008 |
|
|
1009 |
|
/* |
1010 |
|
* min_nonwildcard_simple: the minimum non wildcard characters in |
1011 |
< |
* gecos bans. wildcard chars: '*' '?' '#' |
1011 |
> |
* gecos bans. Wildcard chars: '*', '?' |
1012 |
|
*/ |
1013 |
|
min_nonwildcard_simple = 3; |
1014 |
|
|
1015 |
< |
/* max_accept: maximum allowed /accept's for +g usermode */ |
1015 |
> |
/* max_accept: maximum allowed /accept's for +g usermode. */ |
1016 |
|
max_accept = 20; |
1017 |
|
|
1018 |
< |
/* anti_nick_flood: enable the nickflood control code */ |
1018 |
> |
/* anti_nick_flood: enable the nickflood control code. */ |
1019 |
|
anti_nick_flood = yes; |
1020 |
|
|
1021 |
|
/* nick flood: the nick changes allowed in the specified period */ |
1030 |
|
|
1031 |
|
/* |
1032 |
|
* ts delta: the time delta allowed between server clocks before |
1033 |
< |
* a warning is given, or before the link is dropped. all servers |
1033 |
> |
* a warning is given, or before the link is dropped. All servers |
1034 |
|
* should run ntpdate/rdate to keep clocks in sync |
1035 |
|
*/ |
1036 |
|
ts_warn_delta = 30 seconds; |
1037 |
|
ts_max_delta = 5 minutes; |
1038 |
|
|
1039 |
|
/* |
1007 |
– |
* kline_with_reason: show the user the reason why they are k/d/glined |
1008 |
– |
* on exit. May give away who set k/dline when set via tcm. |
1009 |
– |
*/ |
1010 |
– |
kline_with_reason = yes; |
1011 |
– |
|
1012 |
– |
/* |
1013 |
– |
* kline_reason: show this message to users on channel |
1014 |
– |
* instead of the oper reason. |
1015 |
– |
*/ |
1016 |
– |
kline_reason = "Connection closed"; |
1017 |
– |
|
1018 |
– |
/* |
1019 |
– |
* reject_hold_time: wait this amount of time before disconnecting |
1020 |
– |
* a rejected client. Use 0 to disable. |
1021 |
– |
*/ |
1022 |
– |
reject_hold_time = 0; |
1023 |
– |
|
1024 |
– |
/* |
1040 |
|
* warn_no_nline: warn opers about servers that try to connect but |
1041 |
< |
* we don't have a connect {} block for. Twits with misconfigured |
1041 |
> |
* we don't have a connect {} block for. Twits with misconfigured |
1042 |
|
* servers can get really annoying with this enabled. |
1043 |
|
*/ |
1044 |
|
warn_no_nline = yes; |
1045 |
|
|
1046 |
|
/* |
1047 |
|
* stats_e_disabled: set this to 'yes' to disable "STATS e" for both |
1048 |
< |
* operators and administrators. Doing so is a good idea in case |
1048 |
> |
* operators and administrators. Doing so is a good idea in case |
1049 |
|
* there are any exempted (exempt{}) server IPs you don't want to |
1050 |
|
* see leaked. |
1051 |
|
*/ |
1058 |
|
stats_P_oper_only = yes; |
1059 |
|
|
1060 |
|
/* |
1061 |
< |
* stats i oper only: make stats i (auth {}) oper only. set to: |
1062 |
< |
* yes: show users no auth blocks, made oper only. |
1063 |
< |
* masked: show users first matching auth block |
1064 |
< |
* no: show users all auth blocks. |
1061 |
> |
* stats i oper only: make stats i (auth {}) oper only. Set to: |
1062 |
> |
* yes - show users no auth blocks, made oper only. |
1063 |
> |
* masked - show users first matching auth block |
1064 |
> |
* no - show users all auth blocks. |
1065 |
|
*/ |
1066 |
|
stats_i_oper_only = yes; |
1067 |
|
|
1068 |
|
/* |
1069 |
< |
* stats_k_oper_only: make stats k/K (klines) oper only. set to: |
1070 |
< |
* yes: show users no auth blocks, made oper only |
1071 |
< |
* masked: show users first matching auth block |
1072 |
< |
* no: show users all auth blocks. |
1069 |
> |
* stats_k_oper_only: make stats k/K (klines) oper only. Set to: |
1070 |
> |
* yes - show users no auth blocks, made oper only |
1071 |
> |
* masked - show users first matching auth block |
1072 |
> |
* no - show users all auth blocks. |
1073 |
|
*/ |
1074 |
|
stats_k_oper_only = yes; |
1075 |
|
|
1093 |
|
|
1094 |
|
/* |
1095 |
|
* pace_wait: time between more intensive commands |
1096 |
< |
* (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
1096 |
> |
* (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
1097 |
|
*/ |
1098 |
|
pace_wait = 10 seconds; |
1099 |
|
|
1114 |
|
|
1115 |
|
/* |
1116 |
|
* true_no_oper_flood: completely eliminate flood limits for opers |
1117 |
< |
* and for clients with can_flood = yes in their auth {} blocks |
1117 |
> |
* and for clients with can_flood = yes in their auth {} blocks. |
1118 |
|
*/ |
1119 |
|
true_no_oper_flood = yes; |
1120 |
|
|
1121 |
< |
/* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */ |
1121 |
> |
/* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels. */ |
1122 |
|
oper_pass_resv = yes; |
1123 |
|
|
1124 |
|
/* REMOVE ME. The following line checks you've been reading. */ |
1126 |
|
|
1127 |
|
/* |
1128 |
|
* max_targets: the maximum amount of targets in a single |
1129 |
< |
* PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited. |
1129 |
> |
* PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited. |
1130 |
|
*/ |
1131 |
|
max_targets = 4; |
1132 |
|
|
1133 |
|
/* |
1119 |
– |
* client_flood: maximum amount of data in a clients queue before |
1120 |
– |
* they are dropped for flooding. |
1121 |
– |
*/ |
1122 |
– |
client_flood = 2560 bytes; |
1123 |
– |
|
1124 |
– |
/* |
1125 |
– |
* message_locale: the default message locale |
1126 |
– |
* Use "standard" for the compiled in defaults. |
1127 |
– |
* To install the translated messages, go into messages/ in the |
1128 |
– |
* source directory and run `make install'. |
1129 |
– |
*/ |
1130 |
– |
message_locale = "standard"; |
1131 |
– |
|
1132 |
– |
/* |
1134 |
|
* usermodes configurable: a list of usermodes for the options below |
1135 |
|
* |
1136 |
|
* +b - bots - See bot and drone flooding notices |
1137 |
|
* +c - cconn - Client connection/quit notices |
1137 |
– |
* +C - cconn_full - Client connection/quit notices full |
1138 |
|
* +D - deaf - Don't receive channel messages |
1139 |
|
* +d - debug - See debugging notices |
1140 |
< |
* +f - full - See I: line full notices |
1140 |
> |
* +e - external - See remote server connection and split notices |
1141 |
> |
* +F - farconnect - Remote client connection/quit notices |
1142 |
> |
* +f - full - See auth{} block full notices |
1143 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
1144 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
1145 |
|
* +H - hidden - Hides operator status to other users |
1149 |
|
* +k - skill - See server generated KILL messages |
1150 |
|
* +l - locops - See LOCOPS messages |
1151 |
|
* +n - nchange - See client nick changes |
1152 |
+ |
* +R - nononreg - Only receive private messages from registered clients |
1153 |
|
* +s - servnotice - See general server notices |
1154 |
|
* +u - unauth - See unauthorized client notices |
1155 |
|
* +w - wallop - See server generated WALLOPS |
1153 |
– |
* +x - external - See remote server connection and split notices |
1156 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
1157 |
|
* +z - operwall - See oper generated WALLOPS |
1158 |
|
*/ |
1159 |
|
|
1160 |
|
/* oper_only_umodes: usermodes only opers may set */ |
1161 |
< |
oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill, |
1161 |
> |
oper_only_umodes = bots, cconn, debug, full, hidden, skill, |
1162 |
|
nchange, rej, spy, external, operwall, |
1163 |
< |
locops, unauth; |
1163 |
> |
locops, unauth, farconnect; |
1164 |
|
|
1165 |
|
/* oper_umodes: default usermodes opers get when they /oper */ |
1166 |
|
oper_umodes = bots, locops, servnotice, operwall, wallop; |
1167 |
|
|
1168 |
|
/* |
1169 |
|
* use_egd: if your system does not have *random devices yet you |
1170 |
< |
* want to use OpenSSL and encrypted links, enable this. Beware - |
1171 |
< |
* EGD is *very* CPU intensive when gathering data for its pool |
1170 |
> |
* want to use OpenSSL and encrypted links, enable this. Beware - |
1171 |
> |
* EGD is *very* CPU intensive when gathering data for its pool. |
1172 |
|
*/ |
1173 |
|
# use_egd = yes; |
1174 |
|
|
1180 |
|
|
1181 |
|
/* |
1182 |
|
* throttle_time: the minimum amount of time between connections from |
1183 |
< |
* the same ip. exempt {} blocks are excluded from this throttling. |
1184 |
< |
* Offers protection against flooders who reconnect quickly. |
1183 |
> |
* the same ip. exempt {} blocks are excluded from this throttling. |
1184 |
> |
* Offers protection against flooders who reconnect quickly. |
1185 |
|
* Set to 0 to disable. |
1186 |
|
*/ |
1187 |
|
throttle_time = 10; |
1188 |
|
}; |
1189 |
|
|
1188 |
– |
glines { |
1189 |
– |
/* enable: enable glines, network wide temp klines */ |
1190 |
– |
enable = yes; |
1191 |
– |
|
1192 |
– |
/* |
1193 |
– |
* duration: the amount of time a gline will remain on your |
1194 |
– |
* server before expiring |
1195 |
– |
*/ |
1196 |
– |
duration = 1 day; |
1197 |
– |
|
1198 |
– |
/* |
1199 |
– |
* log: which types of rules you want to log when triggered |
1200 |
– |
* (choose reject or block) |
1201 |
– |
*/ |
1202 |
– |
log = reject, block; |
1203 |
– |
|
1204 |
– |
/* |
1205 |
– |
* NOTE: gline ACLs can cause a desync of glines throughout the |
1206 |
– |
* network, meaning some servers may have a gline triggered, and |
1207 |
– |
* others may not. Also, you only need insert rules for glines |
1208 |
– |
* that you want to block and/or reject. If you want to accept and |
1209 |
– |
* propagate the gline, do NOT put a rule for it. |
1210 |
– |
*/ |
1211 |
– |
|
1212 |
– |
/* user@host for rule to apply to */ |
1213 |
– |
user = "god@I.still.hate.packets"; |
1214 |
– |
/* server for rule to apply to */ |
1215 |
– |
name = "hades.arpa"; |
1216 |
– |
|
1217 |
– |
/* |
1218 |
– |
* action: action to take when a matching gline is found. options are: |
1219 |
– |
* reject - do not apply the gline locally |
1220 |
– |
* block - do not propagate the gline |
1221 |
– |
*/ |
1222 |
– |
action = reject, block; |
1223 |
– |
|
1224 |
– |
user = "god@*"; |
1225 |
– |
name = "*"; |
1226 |
– |
action = block; |
1227 |
– |
}; |
1228 |
– |
|
1190 |
|
modules { |
1191 |
|
/* |
1192 |
|
* path: other paths to search for modules specified below |
1193 |
< |
* and in /modload. |
1193 |
> |
* and in "/module load". |
1194 |
|
*/ |
1195 |
|
path = "/usr/local/ircd/lib/ircd-hybrid/modules"; |
1196 |
|
path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload"; |
1197 |
|
|
1198 |
< |
/* module: the name of a module to load on startup/rehash */ |
1199 |
< |
#module = "some_module.la"; |
1198 |
> |
/* module: the name of a module to load on startup/rehash. */ |
1199 |
> |
# module = "some_module.la"; |
1200 |
|
}; |
1201 |
|
|
1202 |
|
/* |
1208 |
|
|
1209 |
|
file { |
1210 |
|
type = oper; |
1211 |
< |
name = "/home/ircd/var/log/oper.log"; |
1211 |
> |
name = "/usr/local/ircd/var/log/oper.log"; |
1212 |
|
size = unlimited; |
1213 |
|
}; |
1214 |
|
|
1215 |
|
file { |
1216 |
|
type = user; |
1217 |
< |
name = "/home/ircd/var/log/user.log"; |
1217 |
> |
name = "/usr/local/ircd/var/log/user.log"; |
1218 |
|
size = 50 megabytes; |
1219 |
|
}; |
1220 |
|
|
1221 |
|
file { |
1222 |
|
type = kill; |
1223 |
< |
name = "/home/ircd/var/log/kill.log"; |
1223 |
> |
name = "/usr/local/ircd/var/log/kill.log"; |
1224 |
|
size = 50 megabytes; |
1225 |
|
}; |
1226 |
|
|
1227 |
|
file { |
1228 |
|
type = kline; |
1229 |
< |
name = "/home/ircd/var/log/kline.log"; |
1229 |
> |
name = "/usr/local/ircd/var/log/kline.log"; |
1230 |
|
size = 50 megabytes; |
1231 |
|
}; |
1232 |
|
|
1233 |
|
file { |
1234 |
|
type = dline; |
1235 |
< |
name = "/home/ircd/var/log/dline.log"; |
1235 |
> |
name = "/usr/local/ircd/var/log/dline.log"; |
1236 |
|
size = 50 megabytes; |
1237 |
|
}; |
1238 |
|
|
1239 |
|
file { |
1240 |
|
type = gline; |
1241 |
< |
name = "/home/ircd/var/log/gline.log"; |
1241 |
> |
name = "/usr/local/ircd/var/log/gline.log"; |
1242 |
|
size = 50 megabytes; |
1243 |
|
}; |
1244 |
|
|
1245 |
|
file { |
1246 |
|
type = debug; |
1247 |
< |
name = "/home/ircd/var/log/debug.log"; |
1247 |
> |
name = "/usr/local/ircd/var/log/debug.log"; |
1248 |
|
size = 50 megabytes; |
1249 |
< |
}; |
1249 |
> |
}; |
1250 |
|
}; |