| 1 |
< |
/* doc/example.conf - ircd-hybrid-7 Example configuration file |
| 2 |
< |
* Copyright (C) 2000-2011 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. (OLD M:) |
| 38 |
> |
* serverinfo {}: contains information about the server |
| 39 |
|
*/ |
| 40 |
|
serverinfo { |
| 41 |
|
/* |
| 49 |
|
* a digit, followed by 2 alpha-numerical letters. |
| 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 |
| 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 |
|
* |
| 133 |
|
#ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
| 134 |
|
|
| 135 |
|
/* |
| 136 |
< |
* ssl_server_protocol: |
| 137 |
< |
* SSL/TLS protocols we provide for incoming secure connections. |
| 136 |
> |
* ssl_dh_param_file: |
| 137 |
> |
* |
| 138 |
> |
* Path to the PEM encoded Diffie-Hellman parameter file. |
| 139 |
> |
* DH parameters are strictly required when using ciphers |
| 140 |
> |
* with EDH (ephemeral Diffie-Hellman) key exchange. |
| 141 |
> |
* |
| 142 |
> |
* A DH parameter file can be created by running: |
| 143 |
> |
* |
| 144 |
> |
* openssl dhparam -out dhparam.pem 1024 |
| 145 |
> |
* |
| 146 |
> |
* Prime size must be at least 1024 bits. Further information |
| 147 |
> |
* regarding specific OpenSSL dhparam command-line options |
| 148 |
> |
* can be found in the OpenSSL manual. |
| 149 |
> |
*/ |
| 150 |
> |
#ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem"; |
| 151 |
> |
|
| 152 |
> |
/* |
| 153 |
> |
* ssl_cipher_list: |
| 154 |
> |
* |
| 155 |
> |
* List of ciphers that are supported by _this_ server. Can be used to |
| 156 |
> |
* enforce specific ciphers for incoming SSL/TLS connections. |
| 157 |
> |
* If a client (which also includes incoming server connections) isn't |
| 158 |
> |
* capable of any cipher listed below, the connection will simply be |
| 159 |
> |
* rejected. |
| 160 |
> |
* |
| 161 |
> |
* A list of supported ciphers can be obtained by running: |
| 162 |
> |
* |
| 163 |
> |
* openssl ciphers -ssl3 -tls1 -v |
| 164 |
> |
* |
| 165 |
> |
* Multiple ciphers are separated by colons. The order of preference is |
| 166 |
> |
* from left to right. |
| 167 |
> |
*/ |
| 168 |
> |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
| 169 |
> |
|
| 170 |
> |
/* |
| 171 |
> |
* ssl_server_method: |
| 172 |
> |
* ssl_client_method: |
| 173 |
> |
* |
| 174 |
> |
* SSL/TLS methods we provide for incoming (server method) and |
| 175 |
> |
* outgoing (client method) SSL/TLS connections. |
| 176 |
|
* This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1. |
| 131 |
– |
* SSLv2 is not suppported. This cannot be changed at runtime. |
| 177 |
|
*/ |
| 178 |
< |
#ssl_server_protocol = sslv3, tlsv1; |
| 178 |
> |
#ssl_server_method = tlsv1, sslv3; |
| 179 |
> |
#ssl_client_method = tlsv1; |
| 180 |
|
}; |
| 181 |
|
|
| 182 |
|
/* |
| 192 |
|
* class {}: contains information about classes for users |
| 193 |
|
*/ |
| 194 |
|
class { |
| 195 |
< |
/* name: the name of the class. classes are text now */ |
| 195 |
> |
/* name: the name of the class */ |
| 196 |
|
name = "users"; |
| 197 |
|
|
| 198 |
|
/* |
| 232 |
|
number_per_cidr = 16; |
| 233 |
|
|
| 234 |
|
/* |
| 235 |
< |
* sendq: the amount of data allowed in a clients queue before |
| 235 |
> |
* sendq: the amount of data allowed in a clients send queue before |
| 236 |
|
* they are dropped. |
| 237 |
|
*/ |
| 238 |
|
sendq = 100 kbytes; |
| 239 |
+ |
|
| 240 |
+ |
/* |
| 241 |
+ |
* recvq: maximum amount of data in a clients receive queue before |
| 242 |
+ |
* they are dropped for flooding. Defaults to 2560 if the chosen |
| 243 |
+ |
* value isn't within the range of 512 to 8000. |
| 244 |
+ |
*/ |
| 245 |
+ |
recvq = 2560 bytes; |
| 246 |
|
}; |
| 247 |
|
|
| 248 |
|
class { |
| 250 |
|
ping_time = 90 seconds; |
| 251 |
|
number_per_ip = 10; |
| 252 |
|
max_number = 100; |
| 253 |
< |
sendq = 100kbytes; |
| 253 |
> |
sendq = 100 kbytes; |
| 254 |
> |
|
| 255 |
> |
/* |
| 256 |
> |
* min_idle: minimum idle time that is shown in /whois |
| 257 |
> |
*/ |
| 258 |
> |
min_idle = 3 hours; |
| 259 |
> |
|
| 260 |
> |
/* |
| 261 |
> |
* max_idle: maximum idle time that is shown in /whois |
| 262 |
> |
*/ |
| 263 |
> |
max_idle = 8 hours; |
| 264 |
> |
|
| 265 |
> |
/* |
| 266 |
> |
* flags: |
| 267 |
> |
* |
| 268 |
> |
* random_idle - idle time is randomly selected within the |
| 269 |
> |
* range of min_idle to max_idle |
| 270 |
> |
* hide_idle_from_opers - fake idle time will be shown to operators, too |
| 271 |
> |
*/ |
| 272 |
> |
flags = random_idle, hide_idle_from_opers; |
| 273 |
|
}; |
| 274 |
|
|
| 275 |
|
class { |
| 277 |
|
ping_time = 90 seconds; |
| 278 |
|
|
| 279 |
|
/* |
| 208 |
– |
* ping_warning: how fast a server must reply to a PING before |
| 209 |
– |
* a warning to opers is generated. |
| 210 |
– |
*/ |
| 211 |
– |
ping_warning = 15 seconds; |
| 212 |
– |
|
| 213 |
– |
/* |
| 280 |
|
* connectfreq: only used in server classes. Specifies the delay |
| 281 |
|
* between autoconnecting to servers. |
| 282 |
|
*/ |
| 311 |
|
* |
| 312 |
|
* Currently available flags are: |
| 313 |
|
* |
| 314 |
< |
* ssl - Port is for SSL client connections only |
| 314 |
> |
* ssl - Port may only accept TLS/SSL connections |
| 315 |
|
* server - Only server connections are permitted |
| 316 |
|
* hidden - Port is hidden from /stats P, unless you're an admin |
| 317 |
|
*/ |
| 335 |
|
*/ |
| 336 |
|
auth { |
| 337 |
|
/* |
| 338 |
< |
* user: the user@host allowed to connect. Multiple IPv4/IPv6 user |
| 338 |
> |
* user: the user@host allowed to connect. Multiple user |
| 339 |
|
* lines are permitted per auth block. |
| 340 |
|
*/ |
| 341 |
|
user = "*@172.16.0.0/12"; |
| 371 |
|
* resv_exempt - exempt this user from resvs ('$' prefix on /stats I) |
| 372 |
|
* no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I) |
| 373 |
|
* can_flood - allow this user to exceed flood limits ('|' prefix on /stats I) |
| 374 |
+ |
* webirc - enables WEBIRC authentication for web-based clients such as Mibbit |
| 375 |
+ |
* ('<' prefix on /stats I) |
| 376 |
|
*/ |
| 377 |
|
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
| 378 |
|
gline_exempt, resv_exempt, no_tilde, can_flood; |
| 407 |
|
*/ |
| 408 |
|
operator { |
| 409 |
|
/* name: the name of the oper */ |
| 410 |
< |
/* NOTE: operator "opername"{} is also supported */ |
| 343 |
< |
name = "god"; |
| 410 |
> |
name = "sheep"; |
| 411 |
|
|
| 412 |
|
/* |
| 413 |
< |
* user: the user@host required for this operator. CIDR is not |
| 414 |
< |
* supported. Multiple user="" lines are supported. |
| 413 |
> |
* user: the user@host required for this operator. Multiple |
| 414 |
> |
* user="" lines are supported. |
| 415 |
|
*/ |
| 416 |
< |
user = "*god@*"; |
| 417 |
< |
user = "*@127.0.0.1"; |
| 416 |
> |
user = "*sheep@192.168.0.0/16"; |
| 417 |
> |
user = "*@127.0.0.0/8"; |
| 418 |
|
|
| 419 |
|
/* |
| 420 |
|
* password: the password required to oper. By default this will |
| 452 |
|
* +C - cconn_full - Client connection/quit notices full |
| 453 |
|
* +D - deaf - Don't receive channel messages |
| 454 |
|
* +d - debug - See debugging notices |
| 455 |
< |
* +f - full - See I: line full notices |
| 455 |
> |
* +e - external - See remote server connection and split notices |
| 456 |
> |
* +f - full - See auth{} block full notices |
| 457 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
| 458 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
| 459 |
+ |
* +H - hidden - Hides operator status to other users |
| 460 |
|
* +i - invisible - Not shown in NAMES or WHO unless you share a |
| 461 |
|
* a channel |
| 462 |
+ |
* +j - rej - See rejected client notices |
| 463 |
|
* +k - skill - See server generated KILL messages |
| 464 |
|
* +l - locops - See LOCOPS messages |
| 465 |
|
* +n - nchange - See client nick changes |
| 396 |
– |
* +r - rej - See rejected client notices |
| 466 |
|
* +s - servnotice - See general server notices |
| 467 |
|
* +u - unauth - See unauthorized client notices |
| 468 |
|
* +w - wallop - See server generated WALLOPS |
| 400 |
– |
* +x - external - See remote server connection and split notices |
| 469 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
| 470 |
|
* +z - operwall - See oper generated WALLOPS |
| 471 |
|
*/ |
| 476 |
|
* allowed to do on the server. All options default to no. |
| 477 |
|
* Available options: |
| 478 |
|
* |
| 479 |
< |
* module - allows MODLIST, MODRESTART, MODLOAD, MODUNLOAD |
| 479 |
> |
* module - allows MODULE |
| 480 |
|
* global_kill - allows remote users to be /KILL'd |
| 481 |
|
* remote - allows remote SQUIT and CONNECT |
| 482 |
|
* remoteban - allows remote KLINE/UNKLINE |
| 483 |
< |
* kline - allows KILL, KLINE and DLINE |
| 484 |
< |
* unkline - allows UNKLINE and UNDLINE |
| 483 |
> |
* dline - allows DLINE |
| 484 |
> |
* undline - allows UNDLINE |
| 485 |
> |
* kline - allows KILL and KLINE |
| 486 |
> |
* unkline - allows UNKLINE |
| 487 |
|
* gline - allows GLINE |
| 488 |
|
* xline - allows XLINE |
| 489 |
|
* globops - allows GLOBOPS |
| 492 |
|
* rehash - allows oper to REHASH config |
| 493 |
|
* die - allows DIE |
| 494 |
|
* restart - allows RESTART |
| 495 |
+ |
* set - allows SET |
| 496 |
|
* admin - gives admin privileges. admins for example, |
| 497 |
|
* may see the real IP addresses of servers. |
| 427 |
– |
* hidden_admin - same as 'admin', but noone can recognize you as |
| 428 |
– |
* being an admin |
| 429 |
– |
* hidden_oper - not shown in /stats p (except for other operators) |
| 498 |
|
*/ |
| 499 |
|
flags = global_kill, remote, kline, unkline, xline, globops, restart, |
| 500 |
|
die, rehash, nick_changes, admin, operwall, module; |
| 501 |
|
}; |
| 502 |
|
|
| 503 |
+ |
/* |
| 504 |
+ |
* service {}: specifies what server may act as a network service |
| 505 |
+ |
* |
| 506 |
+ |
* NOTE: it is absolutely important that every single server on the network |
| 507 |
+ |
* has the same service{} block. |
| 508 |
+ |
*/ |
| 509 |
|
service { |
| 510 |
|
name = "service.someserver"; |
| 511 |
< |
name = "stats.someserver; |
| 511 |
> |
name = "stats.someserver"; |
| 512 |
|
}; |
| 513 |
|
|
| 514 |
|
/* |
| 563 |
|
class = "server"; |
| 564 |
|
|
| 565 |
|
/* |
| 566 |
< |
* autoconn - controls whether we autoconnect to this server or not, |
| 567 |
< |
* dependent on class limits. By default, this is disabled. |
| 568 |
< |
* compressed - controls whether traffic is compressed via ziplinks. |
| 569 |
< |
* By default, this is disabled |
| 570 |
< |
* cryptlink - enable full encryption for all data passing between our |
| 571 |
< |
* server and this link and rsa authentication. |
| 572 |
< |
* burst_away - This will send the /away string that users have set |
| 573 |
< |
* on the server burst. Note this can be a lot of data |
| 574 |
< |
* and slow down your server burst. |
| 575 |
< |
* topicburst - Send topics to this server during channel burst. Works |
| 502 |
< |
* only if the server we are connecting to is capable |
| 503 |
< |
* of TBURST/TB. |
| 504 |
< |
*/ |
| 505 |
< |
# flags = autoconn, compressed, cryptlink, burst_away, topicburst; |
| 506 |
< |
}; |
| 507 |
< |
|
| 508 |
< |
connect { |
| 509 |
< |
name = "encrypted.auth.example"; |
| 510 |
< |
host = "some.host.somewhere"; |
| 511 |
< |
port = 6667; |
| 512 |
< |
|
| 513 |
< |
flags = cryptlink; |
| 514 |
< |
|
| 515 |
< |
/* |
| 516 |
< |
* rsa_public_key_file: the path to the public keyfile of the server. |
| 517 |
< |
* Used instead of passwords. |
| 566 |
> |
* ssl_cipher_list: |
| 567 |
> |
* |
| 568 |
> |
* List of ciphers that the server we are connecting to must support. |
| 569 |
> |
* If the server isn't capable of any cipher listed below, the |
| 570 |
> |
* connection will simply be rejected. |
| 571 |
> |
* Can be used to enforce stronger ciphers, even though this option |
| 572 |
> |
* is not necessarily required to establish a SSL/TLS connection. |
| 573 |
> |
* |
| 574 |
> |
* Multiple ciphers are separated by colons. The order of preference |
| 575 |
> |
* is from left to right. |
| 576 |
|
*/ |
| 577 |
< |
rsa_public_key_file = "etc/remote.server.keyfile"; |
| 577 |
> |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
| 578 |
|
|
| 579 |
|
/* |
| 580 |
< |
* cipher preference: set the preferred cipher for this link |
| 581 |
< |
* |
| 582 |
< |
* Available ciphers are: |
| 525 |
< |
* BF/168 BF/128 CAST/128 IDEA/128 RC5.16/128 |
| 526 |
< |
* RC5.12/128 RC5.8/128 3DES/168 DES/56 |
| 527 |
< |
* |
| 528 |
< |
* NOTE: Some ciphers may not be supported by your OpenSSL. |
| 529 |
< |
* Check the output from 'configure' for available ciphers. |
| 530 |
< |
* |
| 531 |
< |
* NOTE2: To help you decide what cipher to use, tools/encspeed |
| 532 |
< |
* will show you approximately how fast each cipher is. |
| 533 |
< |
* However, blowfish is fast and secure, and is probably |
| 534 |
< |
* a good default for most situations. |
| 535 |
< |
* |
| 536 |
< |
* NOTE3: Default if none is set is BF/128 |
| 537 |
< |
* |
| 538 |
< |
* The cipher *MUST* be the same in both directions. If you |
| 539 |
< |
* set a cipher preference, your uplink must set the same cipher, |
| 540 |
< |
* else it will not link. |
| 580 |
> |
* autoconn - controls whether we autoconnect to this server or not, |
| 581 |
> |
* dependent on class limits. By default, this is disabled. |
| 582 |
> |
* ssl - Initiates a TLS/SSL connection. |
| 583 |
|
*/ |
| 584 |
< |
# cipher_preference = "BF/168"; |
| 584 |
> |
# flags = autoconn, ssl; |
| 585 |
|
}; |
| 586 |
|
|
| 587 |
< |
/* |
| 588 |
< |
* NOTE: Don't add an extra 'name=' entry if you use |
| 547 |
< |
* the connect "name"{} feature |
| 548 |
< |
*/ |
| 549 |
< |
connect "ipv6.some.server" { |
| 587 |
> |
connect { |
| 588 |
> |
name = "ipv6.some.server"; |
| 589 |
|
host = "3ffd:dead:beef::1"; |
| 590 |
|
send_password = "password"; |
| 591 |
|
accept_password = "password"; |
| 619 |
|
|
| 620 |
|
/* |
| 621 |
|
* type: list of what to share, options are as follows: |
| 622 |
< |
* kline - share klines |
| 623 |
< |
* tkline - share temporary klines |
| 624 |
< |
* unkline - share unklines |
| 625 |
< |
* xline - share xlines |
| 626 |
< |
* txline - share temporary xlines |
| 627 |
< |
* unxline - share unxlines |
| 628 |
< |
* resv - share resvs |
| 629 |
< |
* tresv - share temporary resvs |
| 630 |
< |
* unresv - share unresvs |
| 631 |
< |
* locops - share locops |
| 593 |
< |
* all - share all of the above (default) |
| 622 |
> |
* dline - share dlines |
| 623 |
> |
* undline - share undlines |
| 624 |
> |
* kline - share klines |
| 625 |
> |
* unkline - share unklines |
| 626 |
> |
* xline - share xlines |
| 627 |
> |
* unxline - share unxlines |
| 628 |
> |
* resv - share resvs |
| 629 |
> |
* unresv - share unresvs |
| 630 |
> |
* locops - share locops |
| 631 |
> |
* all - share all of the above (default) |
| 632 |
|
*/ |
| 633 |
|
type = kline, unkline, locops, xline, resv; |
| 634 |
|
}; |
| 657 |
|
|
| 658 |
|
/* |
| 659 |
|
* type: list of what to share, options are as follows: |
| 660 |
< |
* kline - allow oper/server to kline |
| 661 |
< |
* tkline - allow temporary klines |
| 662 |
< |
* unkline - allow oper/server to unkline |
| 663 |
< |
* xline - allow oper/server to xline |
| 664 |
< |
* txline - allow temporary xlines |
| 665 |
< |
* unxline - allow oper/server to unxline |
| 666 |
< |
* resv - allow oper/server to resv |
| 667 |
< |
* tresv - allow temporary resvs |
| 630 |
< |
* unresv - allow oper/server to unresv |
| 660 |
> |
* dline - allow oper/server to dline |
| 661 |
> |
* undline - allow oper/server to undline |
| 662 |
> |
* kline - allow oper/server to kline |
| 663 |
> |
* unkline - allow oper/server to unkline |
| 664 |
> |
* xline - allow oper/server to xline |
| 665 |
> |
* unxline - allow oper/server to unxline |
| 666 |
> |
* resv - allow oper/server to resv |
| 667 |
> |
* unresv - allow oper/server to unresv |
| 668 |
|
* locops - allow oper/server to locops - only used for servers that cluster |
| 669 |
< |
* all - allow oper/server to do all of the above (default) |
| 669 |
> |
* all - allow oper/server to do all of the above (default) |
| 670 |
|
*/ |
| 671 |
|
type = kline, unkline, resv; |
| 672 |
|
}; |
| 709 |
|
/* |
| 710 |
|
* resv {}: nicks and channels users may not use/join |
| 711 |
|
*/ |
| 712 |
< |
resv { |
| 713 |
< |
/* reason: the reason for the proceeding resv's */ |
| 714 |
< |
reason = "Reserved for services"; |
| 715 |
< |
|
| 716 |
< |
/* resv: the nicks and channels users may not join/use */ |
| 717 |
< |
nick = "Global"; |
| 718 |
< |
nick = "DevNull"; |
| 719 |
< |
nick = "Services"; |
| 720 |
< |
nick = "StatServ"; |
| 684 |
< |
nick = "HostServ"; |
| 685 |
< |
nick = "NickServ"; |
| 686 |
< |
nick = "ChanServ"; |
| 687 |
< |
nick = "MemoServ"; |
| 688 |
< |
nick = "OperServ"; |
| 689 |
< |
channel = "#services"; |
| 690 |
< |
|
| 691 |
< |
/* resv: wildcard masks are also supported in nicks only */ |
| 692 |
< |
reason = "Clone bots"; |
| 693 |
< |
nick = "clone*"; |
| 694 |
< |
}; |
| 712 |
> |
resv { nick = "clone*"; reason = "Clone bots"; }; |
| 713 |
> |
resv { nick = "NickServ"; reason = "Reserved for services"; }; |
| 714 |
> |
resv { nick = "OperServ"; reason = "Reserved for services"; }; |
| 715 |
> |
resv { nick = "MemoServ"; reason = "Reserved for services"; }; |
| 716 |
> |
resv { nick = "BotServ"; reason = "Reserved for services"; }; |
| 717 |
> |
resv { nick = "HelpServ"; reason = "Reserved for services"; }; |
| 718 |
> |
resv { nick = "HostServ"; reason = "Reserved for services"; }; |
| 719 |
> |
resv { nick = "StatServ"; reason = "Reserved for services"; }; |
| 720 |
> |
resv { channel = "#*services*"; reason = "Reserved for services"; }; |
| 721 |
|
|
| 722 |
|
/* |
| 723 |
|
* gecos {}: The X: replacement, used for banning users based on |
| 734 |
|
}; |
| 735 |
|
|
| 736 |
|
gecos { |
| 711 |
– |
name = "*http*"; |
| 712 |
– |
reason = "Spambot"; |
| 713 |
– |
}; |
| 714 |
– |
|
| 715 |
– |
gecos { |
| 737 |
|
name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$"; |
| 738 |
|
|
| 739 |
|
/* |
| 756 |
|
* 3 | mirc color |
| 757 |
|
* 15 | plain text |
| 758 |
|
* 22 | reverse |
| 759 |
+ |
* 29 | italic |
| 760 |
|
* 31 | underline |
| 761 |
|
* 160 | non-breaking space |
| 762 |
|
*/ |
| 769 |
|
restrict_channels = no; |
| 770 |
|
|
| 771 |
|
/* |
| 750 |
– |
* disable_local_channels: prevent users from joining &channels. |
| 751 |
– |
*/ |
| 752 |
– |
disable_local_channels = no; |
| 753 |
– |
|
| 754 |
– |
/* |
| 755 |
– |
* use_invex: Enable/disable channel mode +I, a n!u@h list of masks |
| 756 |
– |
* that can join a +i channel without an invite. |
| 757 |
– |
*/ |
| 758 |
– |
use_invex = yes; |
| 759 |
– |
|
| 760 |
– |
/* |
| 761 |
– |
* use_except: Enable/disable channel mode +e, a n!u@h list of masks |
| 762 |
– |
* that can join a channel through a ban (+b). |
| 763 |
– |
*/ |
| 764 |
– |
use_except = yes; |
| 765 |
– |
|
| 766 |
– |
/* |
| 767 |
– |
* use_knock: Allows users to request an invite to a channel that |
| 768 |
– |
* is locked somehow (+ikl). If the channel is +p or you are banned |
| 769 |
– |
* the knock will not be sent. |
| 770 |
– |
*/ |
| 771 |
– |
use_knock = yes; |
| 772 |
– |
|
| 773 |
– |
/* |
| 772 |
|
* knock_delay: The amount of time a user must wait between issuing |
| 773 |
|
* the knock command. |
| 774 |
|
*/ |
| 781 |
|
knock_delay_channel = 1 minute; |
| 782 |
|
|
| 783 |
|
/* |
| 784 |
< |
* burst_topicwho: enable sending of who set topic on topicburst |
| 785 |
< |
* default is yes |
| 784 |
> |
* max_chans_per_user: The maximum number of channels a user can |
| 785 |
> |
* join/be on. |
| 786 |
|
*/ |
| 787 |
< |
burst_topicwho = yes; |
| 787 |
> |
max_chans_per_user = 25; |
| 788 |
|
|
| 789 |
|
/* |
| 790 |
< |
* max_chans_per_user: The maximum number of channels a user can |
| 790 |
> |
* max_chans_per_oper: The maximum number of channels an oper can |
| 791 |
|
* join/be on. |
| 792 |
|
*/ |
| 793 |
< |
max_chans_per_user = 25; |
| 793 |
> |
max_chans_per_oper = 50; |
| 794 |
|
|
| 795 |
|
/* quiet_on_ban: stop banned people talking in channels. */ |
| 796 |
|
quiet_on_ban = yes; |
| 797 |
|
|
| 798 |
|
/* max_bans: maximum number of +b/e/I modes in a channel */ |
| 799 |
< |
max_bans = 25; |
| 799 |
> |
max_bans = 100; |
| 800 |
|
|
| 801 |
|
/* |
| 802 |
|
* how many joins in how many seconds constitute a flood, use 0 to |
| 857 |
|
hidden = no; |
| 858 |
|
|
| 859 |
|
/* |
| 862 |
– |
* disable_hidden: prevent servers hiding themselves from a |
| 863 |
– |
* /links output. |
| 864 |
– |
*/ |
| 865 |
– |
disable_hidden = no; |
| 866 |
– |
|
| 867 |
– |
/* |
| 860 |
|
* hide_servers: hide remote servernames everywhere and instead use |
| 861 |
|
* hidden_name and network_desc. |
| 862 |
|
*/ |
| 863 |
|
hide_servers = no; |
| 864 |
|
|
| 865 |
+ |
|
| 866 |
+ |
/* |
| 867 |
+ |
* hide_services: define this if you want to hide the location of |
| 868 |
+ |
* services servers thar are specified service{} block. |
| 869 |
+ |
*/ |
| 870 |
+ |
hide_services = no; |
| 871 |
+ |
|
| 872 |
|
/* |
| 873 |
|
* Use this as the servername users see if hide_servers = yes. |
| 874 |
|
*/ |
| 884 |
|
* logfiles. |
| 885 |
|
* |
| 886 |
|
* We recommend you leave this disabled, and just take care with who you |
| 887 |
< |
* give admin=yes; to. |
| 887 |
> |
* give administrator privileges to. |
| 888 |
|
*/ |
| 889 |
|
hide_server_ips = no; |
| 890 |
|
}; |
| 891 |
|
|
| 892 |
|
/* |
| 893 |
|
* general {}: The general block contains many of the options that were once |
| 894 |
< |
* compiled in options in config.h. The general block is read at start time. |
| 894 |
> |
* compiled in options in config.h |
| 895 |
|
*/ |
| 896 |
|
general { |
| 897 |
|
/* services_name: servername of nick/channel services */ |
| 900 |
|
/* max_watch: maximum WATCH entries a client can have. */ |
| 901 |
|
max_watch = 60; |
| 902 |
|
|
| 903 |
+ |
/* gline_enable: enable glines, network wide temp klines */ |
| 904 |
+ |
gline_enable = yes; |
| 905 |
+ |
|
| 906 |
+ |
/* |
| 907 |
+ |
* gline_duration: the amount of time a gline will remain on your |
| 908 |
+ |
* server before expiring |
| 909 |
+ |
*/ |
| 910 |
+ |
gline_duration = 1 day; |
| 911 |
+ |
|
| 912 |
+ |
/* |
| 913 |
+ |
* gline_request_duration: how long a pending G-line can be around. |
| 914 |
+ |
* 10 minutes should be plenty |
| 915 |
+ |
*/ |
| 916 |
+ |
gline_request_duration = 10 minutes; |
| 917 |
+ |
|
| 918 |
|
/* |
| 919 |
|
* gline_min_cidr: the minimum required length of a CIDR bitmask |
| 920 |
|
* for IPv4 based glines |
| 933 |
|
invisible_on_connect = yes; |
| 934 |
|
|
| 935 |
|
/* |
| 922 |
– |
* If you don't explicitly specify burst_away in your connect blocks, then |
| 923 |
– |
* they will default to the burst_away value below. |
| 924 |
– |
*/ |
| 925 |
– |
burst_away = no; |
| 926 |
– |
|
| 927 |
– |
/* |
| 928 |
– |
* Show "actually using host <ip>" on /whois when possible. |
| 929 |
– |
*/ |
| 930 |
– |
use_whois_actually = yes; |
| 931 |
– |
|
| 932 |
– |
/* |
| 936 |
|
* Max time from the nickname change that still causes KILL |
| 937 |
|
* automatically to switch for the current nick of that user. |
| 938 |
|
*/ |
| 1025 |
|
ts_max_delta = 5 minutes; |
| 1026 |
|
|
| 1027 |
|
/* |
| 1025 |
– |
* kline_with_reason: show the user the reason why they are k/d/glined |
| 1026 |
– |
* on exit. May give away who set k/dline when set via tcm. |
| 1027 |
– |
*/ |
| 1028 |
– |
kline_with_reason = yes; |
| 1029 |
– |
|
| 1030 |
– |
/* |
| 1031 |
– |
* kline_reason: show this message to users on channel |
| 1032 |
– |
* instead of the oper reason. |
| 1033 |
– |
*/ |
| 1034 |
– |
kline_reason = "Connection closed"; |
| 1035 |
– |
|
| 1036 |
– |
/* |
| 1037 |
– |
* reject_hold_time: wait this amount of time before disconnecting |
| 1038 |
– |
* a rejected client. Use 0 to disable. |
| 1039 |
– |
*/ |
| 1040 |
– |
reject_hold_time = 0; |
| 1041 |
– |
|
| 1042 |
– |
/* |
| 1028 |
|
* warn_no_nline: warn opers about servers that try to connect but |
| 1029 |
|
* we don't have a connect {} block for. Twits with misconfigured |
| 1030 |
|
* servers can get really annoying with this enabled. |
| 1081 |
|
|
| 1082 |
|
/* |
| 1083 |
|
* pace_wait: time between more intensive commands |
| 1084 |
< |
* (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
| 1084 |
> |
* (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
| 1085 |
|
*/ |
| 1086 |
|
pace_wait = 10 seconds; |
| 1087 |
|
|
| 1119 |
|
max_targets = 4; |
| 1120 |
|
|
| 1121 |
|
/* |
| 1137 |
– |
* client_flood: maximum amount of data in a clients queue before |
| 1138 |
– |
* they are dropped for flooding. |
| 1139 |
– |
*/ |
| 1140 |
– |
client_flood = 2560 bytes; |
| 1141 |
– |
|
| 1142 |
– |
/* |
| 1143 |
– |
* message_locale: the default message locale |
| 1144 |
– |
* Use "standard" for the compiled in defaults. |
| 1145 |
– |
* To install the translated messages, go into messages/ in the |
| 1146 |
– |
* source directory and run `make install'. |
| 1147 |
– |
*/ |
| 1148 |
– |
message_locale = "standard"; |
| 1149 |
– |
|
| 1150 |
– |
/* |
| 1122 |
|
* usermodes configurable: a list of usermodes for the options below |
| 1123 |
|
* |
| 1124 |
|
* +b - bots - See bot and drone flooding notices |
| 1126 |
|
* +C - cconn_full - Client connection/quit notices full |
| 1127 |
|
* +D - deaf - Don't receive channel messages |
| 1128 |
|
* +d - debug - See debugging notices |
| 1129 |
< |
* +f - full - See I: line full notices |
| 1129 |
> |
* +e - external - See remote server connection and split notices |
| 1130 |
> |
* +f - full - See auth{} block full notices |
| 1131 |
|
* +G - softcallerid - Server Side Ignore for users not on your channels |
| 1132 |
|
* +g - callerid - Server Side Ignore (for privmsgs etc) |
| 1133 |
+ |
* +H - hidden - Hides operator status to other users |
| 1134 |
|
* +i - invisible - Not shown in NAMES or WHO unless you share a |
| 1135 |
|
* a channel |
| 1136 |
+ |
* +j - rej - See rejected client notices |
| 1137 |
|
* +k - skill - See server generated KILL messages |
| 1138 |
|
* +l - locops - See LOCOPS messages |
| 1139 |
|
* +n - nchange - See client nick changes |
| 1166 |
– |
* +r - rej - See rejected client notices |
| 1140 |
|
* +s - servnotice - See general server notices |
| 1141 |
|
* +u - unauth - See unauthorized client notices |
| 1142 |
|
* +w - wallop - See server generated WALLOPS |
| 1170 |
– |
* +x - external - See remote server connection and split notices |
| 1143 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
| 1144 |
|
* +z - operwall - See oper generated WALLOPS |
| 1145 |
|
*/ |
| 1146 |
|
|
| 1147 |
|
/* oper_only_umodes: usermodes only opers may set */ |
| 1148 |
< |
oper_only_umodes = bots, cconn, cconn_full, debug, full, skill, |
| 1148 |
> |
oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill, |
| 1149 |
|
nchange, rej, spy, external, operwall, |
| 1150 |
|
locops, unauth; |
| 1151 |
|
|
| 1153 |
|
oper_umodes = bots, locops, servnotice, operwall, wallop; |
| 1154 |
|
|
| 1155 |
|
/* |
| 1184 |
– |
* servlink_path: path to 'servlink' program used by ircd to handle |
| 1185 |
– |
* encrypted/compressed server <-> server links. |
| 1186 |
– |
* |
| 1187 |
– |
* only define if servlink is not in same directory as ircd itself. |
| 1188 |
– |
*/ |
| 1189 |
– |
#servlink_path = "/usr/local/ircd/bin/servlink"; |
| 1190 |
– |
|
| 1191 |
– |
/* |
| 1192 |
– |
* default_cipher_preference: default cipher to use for cryptlink when none is |
| 1193 |
– |
* specified in connect block. |
| 1194 |
– |
*/ |
| 1195 |
– |
#default_cipher_preference = "BF/168"; |
| 1196 |
– |
|
| 1197 |
– |
/* |
| 1156 |
|
* use_egd: if your system does not have *random devices yet you |
| 1157 |
|
* want to use OpenSSL and encrypted links, enable this. Beware - |
| 1158 |
|
* EGD is *very* CPU intensive when gathering data for its pool |
| 1165 |
|
*/ |
| 1166 |
|
# egdpool_path = "/var/run/egd-pool"; |
| 1167 |
|
|
| 1210 |
– |
|
| 1211 |
– |
/* |
| 1212 |
– |
* compression_level: level of compression for compressed links between |
| 1213 |
– |
* servers. |
| 1214 |
– |
* |
| 1215 |
– |
* values are between: 1 (least compression, fastest) |
| 1216 |
– |
* and: 9 (most compression, slowest). |
| 1217 |
– |
*/ |
| 1218 |
– |
# compression_level = 6; |
| 1219 |
– |
|
| 1168 |
|
/* |
| 1169 |
|
* throttle_time: the minimum amount of time between connections from |
| 1170 |
|
* the same ip. exempt {} blocks are excluded from this throttling. |
| 1174 |
|
throttle_time = 10; |
| 1175 |
|
}; |
| 1176 |
|
|
| 1229 |
– |
glines { |
| 1230 |
– |
/* enable: enable glines, network wide temp klines */ |
| 1231 |
– |
enable = yes; |
| 1232 |
– |
|
| 1233 |
– |
/* |
| 1234 |
– |
* duration: the amount of time a gline will remain on your |
| 1235 |
– |
* server before expiring |
| 1236 |
– |
*/ |
| 1237 |
– |
duration = 1 day; |
| 1238 |
– |
|
| 1239 |
– |
/* |
| 1240 |
– |
* log: which types of rules you want to log when triggered |
| 1241 |
– |
* (choose reject or block) |
| 1242 |
– |
*/ |
| 1243 |
– |
log = reject, block; |
| 1244 |
– |
|
| 1245 |
– |
/* |
| 1246 |
– |
* NOTE: gline ACLs can cause a desync of glines throughout the |
| 1247 |
– |
* network, meaning some servers may have a gline triggered, and |
| 1248 |
– |
* others may not. Also, you only need insert rules for glines |
| 1249 |
– |
* that you want to block and/or reject. If you want to accept and |
| 1250 |
– |
* propagate the gline, do NOT put a rule for it. |
| 1251 |
– |
*/ |
| 1252 |
– |
|
| 1253 |
– |
/* user@host for rule to apply to */ |
| 1254 |
– |
user = "god@I.still.hate.packets"; |
| 1255 |
– |
/* server for rule to apply to */ |
| 1256 |
– |
name = "hades.arpa"; |
| 1257 |
– |
|
| 1258 |
– |
/* |
| 1259 |
– |
* action: action to take when a matching gline is found. options are: |
| 1260 |
– |
* reject - do not apply the gline locally |
| 1261 |
– |
* block - do not propagate the gline |
| 1262 |
– |
*/ |
| 1263 |
– |
action = reject, block; |
| 1264 |
– |
|
| 1265 |
– |
user = "god@*"; |
| 1266 |
– |
name = "*"; |
| 1267 |
– |
action = block; |
| 1268 |
– |
}; |
| 1269 |
– |
|
| 1177 |
|
modules { |
| 1178 |
|
/* |
| 1179 |
|
* path: other paths to search for modules specified below |
| 1180 |
< |
* and in /modload. |
| 1180 |
> |
* and in "/module load". |
| 1181 |
|
*/ |
| 1182 |
|
path = "/usr/local/ircd/lib/ircd-hybrid/modules"; |
| 1183 |
|
path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload"; |
| 1192 |
|
log { |
| 1193 |
|
/* Do you want to enable logging to ircd.log? */ |
| 1194 |
|
use_logging = yes; |
| 1288 |
– |
timestamp = yes; |
| 1195 |
|
|
| 1196 |
|
file { |
| 1197 |
|
type = oper; |
| 1198 |
|
name = "/home/ircd/var/log/oper.log"; |
| 1199 |
< |
size = 50 megabytes; |
| 1199 |
> |
size = unlimited; |
| 1200 |
|
}; |
| 1201 |
|
|
| 1202 |
|
file { |
| 1203 |
|
type = user; |
| 1204 |
< |
name = "/home/ircd/var/log/oper.log"; |
| 1204 |
> |
name = "/home/ircd/var/log/user.log"; |
| 1205 |
|
size = 50 megabytes; |
| 1206 |
|
}; |
| 1207 |
|
|
| 1233 |
|
type = debug; |
| 1234 |
|
name = "/home/ircd/var/log/debug.log"; |
| 1235 |
|
size = 50 megabytes; |
| 1236 |
< |
}; |
| 1236 |
> |
}; |
| 1237 |
|
}; |