| 1 |
|
/* doc/example.efnet.conf - ircd-hybrid-7 EFnet Example configuration file |
| 2 |
< |
* Copyright (C) 2000-2005 Hybrid Development Team |
| 2 |
> |
* Copyright (C) 2000-2006 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 |
| 33 |
|
*/ |
| 34 |
|
|
| 35 |
|
/* EFNET NOTE: |
| 36 |
< |
* |
| 36 |
> |
* |
| 37 |
|
* This configuration file is a BASIC configuration file for use |
| 38 |
|
* on EFnet. You MUST still take the time to set this file up |
| 39 |
|
* properly. |
| 42 |
|
* since been modified by the Hybrid team. |
| 43 |
|
*/ |
| 44 |
|
|
| 45 |
< |
/* serverinfo {}: Contains information about the server. (OLD M:) */ |
| 45 |
> |
/* |
| 46 |
> |
* serverinfo {}: contains information about the server. (OLD M:) |
| 47 |
> |
*/ |
| 48 |
|
serverinfo { |
| 49 |
< |
/* name: the name of our server */ |
| 49 |
> |
/* |
| 50 |
> |
* name: the name of our server. This cannot be changed at runtime. |
| 51 |
> |
*/ |
| 52 |
|
name = "efnet.irc"; |
| 53 |
|
|
| 54 |
|
/* |
| 55 |
< |
* A server's unique ID. This is three characters long and must be in |
| 56 |
< |
* the form [0-9][A-Z0-9][A-Z0-9]. The first character must be a |
| 57 |
< |
* digit, followed by 2 alpha-numerical letters. |
| 58 |
< |
* Note: The letters must be capitalized. |
| 55 |
> |
* sid: a server's unique ID. This is three characters long and must |
| 56 |
> |
* be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be |
| 57 |
> |
* a digit, followed by 2 alpha-numerical letters. |
| 58 |
> |
* NOTE: The letters must be capitalized. This cannot be changed at runtime. |
| 59 |
|
*/ |
| 60 |
|
sid = "_CHANGE_ME_"; |
| 61 |
|
|
| 74 |
|
|
| 75 |
|
/* |
| 76 |
|
* hub: allow this server to act as a hub and have multiple servers |
| 77 |
< |
* connected to it. This may not be changed if there are active |
| 74 |
< |
* LazyLink servers. |
| 77 |
> |
* connected to it. |
| 78 |
|
*/ |
| 79 |
|
hub = no; |
| 80 |
|
|
| 108 |
|
#rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
| 109 |
|
}; |
| 110 |
|
|
| 111 |
< |
/* admin {}: contains admin information about the server. (OLD A:) */ |
| 111 |
> |
/* |
| 112 |
> |
* admin {}: contains admin information about the server. (OLD A:) |
| 113 |
> |
*/ |
| 114 |
|
admin { |
| 115 |
|
name = "EFnet Admin"; |
| 116 |
|
description = "Main Server Administrator"; |
| 117 |
|
email = "<irc-admin@efnet.irc>"; |
| 118 |
|
}; |
| 119 |
|
|
| 120 |
< |
/* logging {}: contains information about logfiles. */ |
| 121 |
< |
logging { |
| 120 |
> |
/* |
| 121 |
> |
* log {}: contains information about logfiles. |
| 122 |
> |
*/ |
| 123 |
> |
log { |
| 124 |
|
/* Do you want to enable logging to ircd.log? */ |
| 125 |
|
use_logging = yes; |
| 126 |
|
|
| 128 |
|
* logfiles: the logfiles to use for user connects, /oper uses, |
| 129 |
|
* and failed /oper. These files must exist for logging to be used. |
| 130 |
|
*/ |
| 131 |
< |
fuserlog = "logs/userlog"; |
| 132 |
< |
foperlog = "logs/operlog"; |
| 133 |
< |
ffailed_operlog = "logs/foperlog"; |
| 131 |
> |
fname_userlog = "logs/userlog"; |
| 132 |
> |
fname_operlog = "logs/operlog"; |
| 133 |
> |
fname_killlog = "logs/kill"; |
| 134 |
> |
fname_klinelog = "logs/kline"; |
| 135 |
> |
fname_glinelog = "logs/gline"; |
| 136 |
|
|
| 137 |
|
/* |
| 138 |
< |
* log level: the amount of detail to log in ircd.log. The |
| 138 |
> |
* log_level: the amount of detail to log in ircd.log. The |
| 139 |
|
* higher, the more information is logged. May be changed |
| 140 |
|
* once the server is running via /quote SET LOG. Either: |
| 141 |
|
* L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG |
| 143 |
|
log_level = L_INFO; |
| 144 |
|
}; |
| 145 |
|
|
| 146 |
< |
/* class {}: contain information about classes for users (OLD Y:) */ |
| 146 |
> |
/* |
| 147 |
> |
* class {}: contains information about classes for users (OLD Y:) |
| 148 |
> |
*/ |
| 149 |
|
class { |
| 150 |
|
/* name: the name of the class. classes are text now */ |
| 151 |
|
name = "users"; |
| 156 |
|
*/ |
| 157 |
|
ping_time = 90 seconds; |
| 158 |
|
|
| 159 |
< |
/* how many local users are allowed to connect from one IP */ |
| 159 |
> |
/* |
| 160 |
> |
* number_per_ip: how many local users are allowed to connect |
| 161 |
> |
* from one IP (optional) |
| 162 |
> |
*/ |
| 163 |
|
number_per_ip = 2; |
| 164 |
|
|
| 165 |
< |
/* how many local users are allowed to connect from one ident@host */ |
| 165 |
> |
/* |
| 166 |
> |
* max_local: how many local users are allowed to connect |
| 167 |
> |
* from one ident@host (optional) |
| 168 |
> |
*/ |
| 169 |
|
max_local = 2; |
| 170 |
|
|
| 171 |
< |
/* network-wide limit of users per ident@host */ |
| 171 |
> |
/* |
| 172 |
> |
* max_global: network-wide limit of users per ident@host (optional) |
| 173 |
> |
*/ |
| 174 |
|
max_global = 10; |
| 175 |
|
|
| 176 |
< |
/* max_number: the maximum number of users allowed in this class */ |
| 176 |
> |
/* |
| 177 |
> |
* max_number: the maximum number of users allowed in this class (optional) |
| 178 |
> |
*/ |
| 179 |
|
max_number = 100; |
| 180 |
|
|
| 181 |
< |
/* |
| 182 |
< |
* the following lines are optional and allow you to define |
| 183 |
< |
* how many users can connect from one /NN subnet |
| 184 |
< |
*/ |
| 185 |
< |
cidr_bitlen_ipv4 = 24; |
| 186 |
< |
cidr_bitlen_ipv6 = 120; |
| 187 |
< |
number_per_cidr = 16; |
| 181 |
> |
/* |
| 182 |
> |
* the following lines are optional and allow you to define |
| 183 |
> |
* how many users can connect from one /NN subnet |
| 184 |
> |
*/ |
| 185 |
> |
cidr_bitlen_ipv4 = 24; |
| 186 |
> |
cidr_bitlen_ipv6 = 120; |
| 187 |
> |
number_per_cidr = 16; |
| 188 |
|
|
| 189 |
|
/* |
| 190 |
|
* sendq: the amount of data allowed in a clients queue before |
| 213 |
|
name = "server"; |
| 214 |
|
|
| 215 |
|
/* |
| 216 |
< |
* Same thing here. Its a fallacy to think increasing |
| 216 |
> |
* Same thing here. It's a fallacy to think increasing |
| 217 |
|
* ping time for servers is a "good idea." All it leads to |
| 218 |
|
* is "ghosting" on one end. Not a good idea. |
| 219 |
|
*/ |
| 220 |
|
ping_time = 90 seconds; |
| 221 |
|
|
| 222 |
< |
/* |
| 223 |
< |
* ping_warning: how fast a server must reply to a PING before |
| 224 |
< |
* a warning to opers is generated. |
| 225 |
< |
*/ |
| 226 |
< |
ping_warning = 5 seconds; |
| 222 |
> |
/* |
| 223 |
> |
* ping_warning: how fast a server must reply to a PING before |
| 224 |
> |
* a warning to opers is generated. |
| 225 |
> |
*/ |
| 226 |
> |
ping_warning = 15 seconds; |
| 227 |
|
|
| 228 |
|
/* |
| 229 |
|
* connectfreq: only used in server classes. Specifies the delay |
| 240 |
|
/* max number: the amount of servers to autoconnect to */ |
| 241 |
|
max_number = 1; |
| 242 |
|
|
| 243 |
< |
/* sendq: On big nets this needs to be a reasonably large value */ |
| 243 |
> |
/* sendq: servers need a higher sendq as they send more data */ |
| 244 |
|
sendq = 15 megabytes; |
| 245 |
|
}; |
| 246 |
|
|
| 247 |
< |
/* listen {}: contain information about the ports ircd listens on (OLD P:) */ |
| 247 |
> |
/* |
| 248 |
> |
* listen {}: contains information about the ports ircd listens on (OLD P:) |
| 249 |
> |
*/ |
| 250 |
|
listen { |
| 251 |
|
/* |
| 252 |
|
* port: the specific port to listen on. If no host is specified |
| 263 |
|
* unless you are an administrator. |
| 264 |
|
* |
| 265 |
|
* NOTE: The "flags" directive has to come before "port". Always! |
| 266 |
+ |
* |
| 267 |
+ |
* Currently available flags are: |
| 268 |
+ |
* |
| 269 |
+ |
* ssl - Port is for SSL client connections only |
| 270 |
+ |
* server - Only server connections are permitted |
| 271 |
+ |
* hidden - Port is hidden from /stats P |
| 272 |
|
*/ |
| 273 |
|
flags = hidden; |
| 274 |
|
host = "192.168.0.1"; |
| 285 |
|
port = 7002; |
| 286 |
|
}; |
| 287 |
|
|
| 288 |
< |
/* auth {}: allow users to connect to the ircd (OLD I:) */ |
| 288 |
> |
/* |
| 289 |
> |
* auth {}: allow users to connect to the ircd (OLD I:) |
| 290 |
> |
*/ |
| 291 |
|
auth { |
| 292 |
|
/* |
| 293 |
|
* user: the user@host allowed to connect. Multiple IPv4/IPv6 user |
| 326 |
|
* resv_exempt: exempt this user from resvs ('$' prefix on /stats I) |
| 327 |
|
* no_tilde: remove ~ from a user with no ident ('-' prefix on /stats I) |
| 328 |
|
* can_flood: allow this user to exceed flood limits ('|' prefix on /stats I) |
| 329 |
< |
* can_idle: exempt this use from idle restrictions ('<' prefix on /stats I) |
| 329 |
> |
* can_idle: exempt this user from idle restrictions ('<' prefix on /stats I) |
| 330 |
|
*/ |
| 331 |
|
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
| 332 |
|
gline_exempt, resv_exempt, no_tilde, can_flood, can_idle; |
| 338 |
|
* not have to obey the redirection, the ircd just suggests an alternative |
| 339 |
|
* server for them. |
| 340 |
|
*/ |
| 341 |
< |
redirserv = "irc.fi"; |
| 341 |
> |
redirserv = "this.is.not.a.real.server"; |
| 342 |
|
redirport = 6667; |
| 343 |
|
|
| 344 |
< |
user = "*.fi"; |
| 344 |
> |
user = "*.server"; |
| 345 |
|
|
| 346 |
|
/* class: a class is required even though it is not used */ |
| 347 |
|
class = "users"; |
| 353 |
|
flags = need_ident; |
| 354 |
|
}; |
| 355 |
|
|
| 356 |
< |
/* operator {}: defines ircd operators. (OLD O:) |
| 356 |
> |
/* |
| 357 |
> |
* operator {}: defines ircd operators. (OLD O:) |
| 358 |
> |
* |
| 359 |
|
* ircd-hybrid no longer supports local operators, privileges are |
| 360 |
|
* controlled via flags. |
| 361 |
|
*/ |
| 362 |
|
operator { |
| 363 |
|
/* name: the name of the oper */ |
| 364 |
< |
/* Note: operator "opername"{} is also supported */ |
| 364 |
> |
/* NOTE: operator "opername"{} is also supported */ |
| 365 |
|
name = "god"; |
| 366 |
|
|
| 367 |
|
/* |
| 400 |
|
* |
| 401 |
|
* +b - bots - See bot and drone flooding notices |
| 402 |
|
* +c - cconn - Client connection/quit notices |
| 403 |
+ |
* +C - cconn_full - Client connection/quit notices full |
| 404 |
|
* +D - deaf - Don't receive channel messages |
| 405 |
|
* +d - debug - See debugging notices |
| 406 |
|
* +f - full - See I: line full notices |
| 432 |
|
* kline: allows KILL, KLINE and DLINE (OLD 'K' flag) |
| 433 |
|
* unkline: allows UNKLINE and UNDLINE (OLD 'U' flag) |
| 434 |
|
* gline: allows GLINE (OLD 'G' flag) |
| 435 |
< |
* xline: allows XLINE (OLD 'X' flag) |
| 435 |
> |
* xline: allows XLINE (OLD 'X' flag) |
| 436 |
|
* operwall: allows OPERWALL |
| 437 |
|
* nick_changes: allows oper to see nickchanges (OLD 'N' flag) |
| 438 |
|
* via usermode +n |
| 442 |
|
* may (un)load modules and see the |
| 443 |
|
* real IPs of servers. |
| 444 |
|
* hidden_admin: same as 'admin', but noone can recognize you as |
| 445 |
< |
* being an admin |
| 445 |
> |
* being an admin |
| 446 |
|
* hidden_oper: not shown in /stats p (except for other operators) |
| 447 |
|
*/ |
| 448 |
|
/* You can either use |
| 460 |
|
die, rehash, nick_changes, admin, operwall; |
| 461 |
|
}; |
| 462 |
|
|
| 463 |
< |
/* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */ |
| 463 |
> |
/* |
| 464 |
> |
* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) |
| 465 |
> |
*/ |
| 466 |
|
connect { |
| 467 |
|
/* name: the name of the server */ |
| 468 |
|
name = "irc.uplink.com"; |
| 474 |
|
host = "192.168.0.1"; |
| 475 |
|
|
| 476 |
|
/* |
| 477 |
+ |
* vhost: the IP to bind to when we connect outward to servers. |
| 478 |
+ |
* serverinfo::vhost and serverinfo::vhost6 will be overridden |
| 479 |
+ |
* by this directive. |
| 480 |
+ |
*/ |
| 481 |
+ |
vhost = "192.168.0.2"; |
| 482 |
+ |
|
| 483 |
+ |
/* |
| 484 |
|
* passwords: the passwords we send (OLD C:) and accept (OLD N:). |
| 485 |
|
* The remote server will have these passwords reversed. |
| 486 |
|
*/ |
| 497 |
|
port = 6666; |
| 498 |
|
|
| 499 |
|
/* |
| 500 |
< |
* hub_mask: the mask of servers that this server may hub. Multiple |
| 500 |
> |
* hub_mask: the mask of servers that this server may hub. Multiple |
| 501 |
|
* entries are permitted |
| 502 |
|
*/ |
| 503 |
|
hub_mask = "*"; |
| 508 |
|
*/ |
| 509 |
|
# leaf_mask = "*.uk"; |
| 510 |
|
|
| 511 |
< |
/* masking: the servername we pretend to be when we connect */ |
| 511 |
> |
/* fakename: the servername we pretend to be when we connect */ |
| 512 |
|
# fakename = "*.arpa"; |
| 513 |
|
|
| 514 |
|
/* class: the class this server is in */ |
| 516 |
|
|
| 517 |
|
/* |
| 518 |
|
* autoconn: controls whether we autoconnect to this server or not, |
| 519 |
< |
* dependent on class limits. By default, this is disabled. |
| 519 |
> |
* dependent on class limits. By default, this is disabled. |
| 520 |
|
* compressed: controls whether traffic is compressed via ziplinks. |
| 521 |
|
* By default, this is disabled |
| 479 |
– |
* lazylink: controls whether this server is a LazyLink. LazyLink |
| 480 |
– |
* servers may NOT hub. See doc/LazyLinks.txt |
| 481 |
– |
* |
| 482 |
– |
* EFnet Note: With this enabled, you download a connect burst |
| 483 |
– |
* as it is needed, instead of all at once. This |
| 484 |
– |
* could allow servers on much smaller lines (T1s) |
| 485 |
– |
* to link a server. It also could allow a server |
| 486 |
– |
* on a DoS'ed link to stay connected. |
| 487 |
– |
* This makes client servers |
| 488 |
– |
* cheaper to run. EFnet needs more client servers. |
| 489 |
– |
* |
| 522 |
|
* cryptlink: enable full encryption for all data passing between our |
| 523 |
|
* server and this link and rsa authentication. |
| 524 |
|
* burst_away: This will send the /away string that users have set |
| 525 |
< |
* on the server burst. Note this can be a lot of data |
| 525 |
> |
* on the server burst. Note this can be a lot of data |
| 526 |
|
* and slow down your server burst. |
| 527 |
+ |
* topicburst: Send topics to this server during channel burst. Works |
| 528 |
+ |
* only if the server we are connecting to is capable |
| 529 |
+ |
* of TBURST/TB. |
| 530 |
|
*/ |
| 531 |
< |
# flags = autoconn, lazylink, compressed, cryptlink, burst_away; |
| 531 |
> |
# flags = autoconn, compressed, cryptlink, burst_away, topicburst; |
| 532 |
|
}; |
| 533 |
|
|
| 534 |
|
connect { |
| 569 |
|
}; |
| 570 |
|
|
| 571 |
|
/* |
| 572 |
< |
* Note: Don't add an extra 'name=' entry if you use |
| 572 |
> |
* NOTE: Don't add an extra 'name=' entry if you use |
| 573 |
|
* the connect "name"{} feature |
| 574 |
|
*/ |
| 575 |
|
connect "ipv6.some.server" { |
| 586 |
|
class = "server"; |
| 587 |
|
}; |
| 588 |
|
|
| 589 |
< |
/* cluster{}: servers that share klines/unkline/xline/unxline/resv/unresv/locops |
| 589 |
> |
/* |
| 590 |
> |
* cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops |
| 591 |
|
* automatically (OLD hyb6 SLAVE_SERVERS) |
| 592 |
|
*/ |
| 593 |
|
cluster { |
| 594 |
< |
/* name: the server to share with, this can take wildcards */ |
| 595 |
< |
/* NOTE: only local actions will be clustered, meaning if |
| 594 |
> |
/* |
| 595 |
> |
* name: the server to share with, this can take wildcards |
| 596 |
> |
* |
| 597 |
> |
* NOTE: only local actions will be clustered, meaning if |
| 598 |
|
* the server receives a shared kline/unkline/etc, it |
| 599 |
|
* will not be propagated to clustered servers. |
| 600 |
|
* |
| 621 |
|
type = kline, unkline, locops, xline, resv; |
| 622 |
|
}; |
| 623 |
|
|
| 624 |
< |
/* shared {}: users that are allowed to remote kline (OLD U:) |
| 624 |
> |
/* |
| 625 |
> |
* shared {}: users that are allowed to remote kline (OLD U:) |
| 626 |
|
* |
| 627 |
< |
* EFnet Note: This can be effectively used for remote klines. |
| 628 |
< |
* Please note that there is no password authentication |
| 629 |
< |
* for users setting remote klines. You must also be |
| 630 |
< |
* /oper'd in order to issue a remote kline. |
| 627 |
> |
* NOTE: This can be effectively used for remote klines. |
| 628 |
> |
* Please note that there is no password authentication |
| 629 |
> |
* for users setting remote klines. You must also be |
| 630 |
> |
* /oper'd in order to issue a remote kline. |
| 631 |
|
*/ |
| 632 |
|
shared { |
| 633 |
|
/* |
| 660 |
|
type = kline, unkline, resv; |
| 661 |
|
}; |
| 662 |
|
|
| 663 |
< |
/* kill {}: users that are not allowed to connect (OLD K:) |
| 663 |
> |
/* |
| 664 |
> |
* kill {}: users that are not allowed to connect (OLD K:) |
| 665 |
|
* Oper issued klines will be added to the specified kline config |
| 666 |
|
*/ |
| 667 |
|
kill { |
| 674 |
|
type = regex; |
| 675 |
|
}; |
| 676 |
|
|
| 677 |
< |
/* deny {}: IPs that are not allowed to connect (before DNS/ident lookup) |
| 677 |
> |
/* |
| 678 |
> |
* deny {}: IPs that are not allowed to connect (before DNS/ident lookup) |
| 679 |
|
* Oper issued dlines will be added to the specified dline config |
| 680 |
|
*/ |
| 681 |
|
deny { |
| 683 |
|
reason = "Reconnecting vhosted bots"; |
| 684 |
|
}; |
| 685 |
|
|
| 686 |
< |
/* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) |
| 686 |
> |
/* |
| 687 |
> |
* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) |
| 688 |
|
* |
| 689 |
< |
* EFnet Note: exempt {} blocks are NOT hidden, so do NOT exempt |
| 690 |
< |
* EFnet server IP's. |
| 689 |
> |
* EFnet Note: We really suggest to enable general::stats_e_disabled |
| 690 |
> |
* if you plan to exempt EFnet server IPs you don't want to show to |
| 691 |
> |
* other operators and/or administrators through "STATS e". |
| 692 |
|
*/ |
| 693 |
|
exempt { |
| 694 |
|
ip = "192.168.0.0/16"; |
| 695 |
|
}; |
| 696 |
|
|
| 697 |
< |
/* resv {}: nicks and channels users may not use/join (OLD Q:) */ |
| 697 |
> |
/* |
| 698 |
> |
* resv {}: nicks and channels users may not use/join (OLD Q:) |
| 699 |
> |
*/ |
| 700 |
|
resv { |
| 701 |
|
/* reason: the reason for the proceeding resv's */ |
| 702 |
|
reason = "There are no services on this network"; |
| 705 |
|
nick = "nickserv"; |
| 706 |
|
nick = "chanserv"; |
| 707 |
|
nick = "operserv"; |
| 663 |
– |
|
| 708 |
|
nick = "JUPES"; |
| 709 |
|
nick = "JUPE"; |
| 710 |
|
nick = "CH?NF?X"; # CHANFIX (services.int) |
| 722 |
|
nick = "clone*"; |
| 723 |
|
}; |
| 724 |
|
|
| 725 |
< |
/* gecos {}: The X: replacement, used for banning users based on their |
| 726 |
< |
* "realname". |
| 725 |
> |
/* |
| 726 |
> |
* gecos {}: The X: replacement, used for banning users based on |
| 727 |
> |
* their "realname". |
| 728 |
|
*/ |
| 729 |
|
gecos { |
| 730 |
|
name = "*sex*"; |
| 747 |
|
}; |
| 748 |
|
|
| 749 |
|
/* |
| 750 |
< |
* channel {} |
| 706 |
< |
* |
| 707 |
< |
* The channel block contains options pertaining to channels |
| 750 |
> |
* channel {}: The channel block contains options pertaining to channels |
| 751 |
|
*/ |
| 752 |
|
channel { |
| 753 |
|
/* |
| 754 |
+ |
* disable_fake_channels: this option, if set to 'yes', will |
| 755 |
+ |
* disallow clients to create or join channels that have one |
| 756 |
+ |
* of the following ASCII characters in their name: |
| 757 |
+ |
* |
| 758 |
+ |
* 2 | bold |
| 759 |
+ |
* 3 | mirc color |
| 760 |
+ |
* 15 | plain text |
| 761 |
+ |
* 22 | reverse |
| 762 |
+ |
* 31 | underline |
| 763 |
+ |
* 160 | non-breaking space |
| 764 |
+ |
*/ |
| 765 |
+ |
disable_fake_channels = yes; |
| 766 |
+ |
|
| 767 |
+ |
/* |
| 768 |
|
* restrict_channels: reverse channel RESVs logic, only reserved |
| 769 |
|
* channels are allowed |
| 770 |
|
*/ |
| 794 |
|
* |
| 795 |
|
* EFnet Note: This seems to be used mostly by European servers |
| 796 |
|
* and not North American ones. |
| 797 |
< |
* Please feel free to disable this |
| 798 |
< |
* if you do not want to run channel knock. |
| 797 |
> |
* Please feel free to disable this if you do not |
| 798 |
> |
* want to run channel knock. |
| 799 |
|
* channel knock allows an user to "/quote knock #channel" |
| 800 |
< |
* to ask for an invite. It is typically used in eu-efnet |
| 800 |
> |
* to ask for an invite. It is typically used in eu-efnet |
| 801 |
|
* to ask for an invite to #eu-opers. |
| 802 |
|
* A user who is banned will not have their knock |
| 803 |
< |
* sent to channel. It is paced, so knock will not |
| 803 |
> |
* sent to channel. It is paced, so knock will not |
| 804 |
|
* cause a flood. |
| 805 |
|
*/ |
| 806 |
|
use_knock = yes; |
| 817 |
|
*/ |
| 818 |
|
knock_delay_channel = 1 minute; |
| 819 |
|
|
| 820 |
< |
/* burst topicwho: enable sending of who set topic on topicburst */ |
| 821 |
< |
/* default is yes */ |
| 820 |
> |
/* |
| 821 |
> |
* burst_topicwho: enable sending of who set topic on topicburst |
| 822 |
> |
* default is yes |
| 823 |
> |
*/ |
| 824 |
|
burst_topicwho = yes; |
| 825 |
|
|
| 826 |
< |
/* max chans: The maximum number of channels a user can join/be on. */ |
| 826 |
> |
/* |
| 827 |
> |
* max_chans_per_user: The maximum number of channels a user can |
| 828 |
> |
* join/be on. |
| 829 |
> |
*/ |
| 830 |
|
max_chans_per_user = 25; |
| 831 |
|
|
| 832 |
|
/* quiet_on_ban: stop banned people talking in channels. */ |
| 871 |
|
}; |
| 872 |
|
|
| 873 |
|
/* |
| 874 |
< |
* serverhide {} |
| 875 |
< |
* |
| 814 |
< |
* The serverhide block contains the options regarding serverhiding |
| 874 |
> |
* serverhide {}: The serverhide block contains the options regarding |
| 875 |
> |
* serverhiding |
| 876 |
|
*/ |
| 877 |
|
serverhide { |
| 878 |
|
/* |
| 893 |
|
|
| 894 |
|
/* |
| 895 |
|
* hidden: hide this server from a /links output on servers that |
| 896 |
< |
* support it. this allows hub servers to be hidden etc. |
| 896 |
> |
* support it. This allows hub servers to be hidden etc. |
| 897 |
|
*/ |
| 898 |
|
hidden = no; |
| 899 |
|
|
| 912 |
|
/* |
| 913 |
|
* Use this as the servername users see if hide_servers = yes. |
| 914 |
|
*/ |
| 915 |
< |
hidden_name = "*.hidden.com"; |
| 915 |
> |
hidden_name = "*.hidden.com"; |
| 916 |
|
|
| 917 |
|
/* |
| 918 |
|
* hide_server_ips: If this is disabled, opers will be unable to see servers |
| 928 |
|
}; |
| 929 |
|
|
| 930 |
|
/* |
| 931 |
< |
* general {} |
| 932 |
< |
* |
| 872 |
< |
* The general block contains many of the options that were once compiled |
| 873 |
< |
* in options in config.h. The general block is read at start time. |
| 931 |
> |
* general {}: The general block contains many of the options that were once |
| 932 |
> |
* compiled in options in config.h. The general block is read at start time. |
| 933 |
|
*/ |
| 934 |
|
general { |
| 935 |
+ |
/* max_watch: maximum WATCH entries */ |
| 936 |
+ |
max_watch = 64; |
| 937 |
+ |
|
| 938 |
|
/* |
| 939 |
|
* gline_min_cidr: the minimum required length of a CIDR bitmask |
| 940 |
|
* for IPv4 based glines |
| 971 |
|
|
| 972 |
|
/* |
| 973 |
|
* If hide_spoof_ips is disabled, opers will be allowed to see the real IP of spoofed |
| 974 |
< |
* users in /trace etc. If this is defined they will be shown a masked IP. |
| 974 |
> |
* users in /trace etc. If this is defined they will be shown a masked IP. |
| 975 |
|
*/ |
| 976 |
|
hide_spoof_ips = yes; |
| 977 |
|
|
| 978 |
|
/* |
| 979 |
< |
* Ignore bogus timestamps from other servers. Yes, this will desync |
| 979 |
> |
* Ignore bogus timestamps from other servers. Yes, this will desync |
| 980 |
|
* the network, but it will allow chanops to resync with a valid non TS 0 |
| 981 |
|
* |
| 982 |
|
* This should be enabled network wide, or not at all. |
| 993 |
|
disable_remote_commands = no; |
| 994 |
|
|
| 995 |
|
/* |
| 996 |
< |
* Disable temporary kline/xline expire notices yes/no |
| 996 |
> |
* tkline_expire_notices: enables or disables temporary kline/xline |
| 997 |
> |
* expire notices. |
| 998 |
|
*/ |
| 999 |
|
tkline_expire_notices = no; |
| 1000 |
|
|
| 1019 |
|
|
| 1020 |
|
/* |
| 1021 |
|
* dot_in_ip6_addr: ircd-hybrid-6.0 and earlier will disallow hosts |
| 1022 |
< |
* without a '.' in them. this will add one to the end. only needed |
| 1022 |
> |
* without a '.' in them. This will add one to the end. Only needed |
| 1023 |
|
* for older servers. |
| 1024 |
|
*/ |
| 1025 |
|
dot_in_ip6_addr = no; |
| 1073 |
|
*/ |
| 1074 |
|
kline_reason = "Connection closed"; |
| 1075 |
|
|
| 1076 |
< |
/* |
| 1077 |
< |
* reject_hold_time: wait this amount of time before disconnecting |
| 1078 |
< |
* a rejected client. Use 0 to disable. |
| 1079 |
< |
*/ |
| 1080 |
< |
reject_hold_time = 30 seconds; |
| 1076 |
> |
/* |
| 1077 |
> |
* reject_hold_time: wait this amount of time before disconnecting |
| 1078 |
> |
* a rejected client. Use 0 to disable. |
| 1079 |
> |
*/ |
| 1080 |
> |
reject_hold_time = 30 seconds; |
| 1081 |
|
|
| 1082 |
|
/* |
| 1083 |
|
* warn_no_nline: warn opers about servers that try to connect but |
| 1086 |
|
*/ |
| 1087 |
|
warn_no_nline = yes; |
| 1088 |
|
|
| 1089 |
+ |
/* |
| 1090 |
+ |
* stats_e_disabled: set this to 'yes' to disable "STATS e" for both |
| 1091 |
+ |
* operators and administrators. Doing so is a good idea in case |
| 1092 |
+ |
* there are any exempted (exempt{}) server IPs you don't want to |
| 1093 |
+ |
* see leaked. |
| 1094 |
+ |
*/ |
| 1095 |
+ |
stats_e_disabled = no; |
| 1096 |
+ |
|
| 1097 |
|
/* stats_o_oper only: make stats o (opers) oper only */ |
| 1098 |
|
stats_o_oper_only = yes; |
| 1099 |
|
|
| 1115 |
|
* no: show users all auth blocks. |
| 1116 |
|
*/ |
| 1117 |
|
stats_k_oper_only = yes; |
| 1118 |
< |
|
| 1118 |
> |
|
| 1119 |
|
/* |
| 1120 |
|
* caller_id_wait: time between notifying a +g user that somebody |
| 1121 |
|
* is messaging them. |
| 1130 |
|
|
| 1131 |
|
/* |
| 1132 |
|
* pace_wait_simple: time between use of less intensive commands |
| 1133 |
< |
* (HELP, remote WHOIS, WHOWAS) |
| 1133 |
> |
* (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS) |
| 1134 |
|
*/ |
| 1135 |
|
pace_wait_simple = 1 second; |
| 1136 |
|
|
| 1137 |
|
/* |
| 1138 |
|
* pace_wait: time between more intensive commands |
| 1139 |
< |
* (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION) |
| 1139 |
> |
* (INFO, LINKS, LIST, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
| 1140 |
|
*/ |
| 1141 |
|
pace_wait = 10 seconds; |
| 1142 |
|
|
| 1198 |
|
* |
| 1199 |
|
* +b - bots - See bot and drone flooding notices |
| 1200 |
|
* +c - cconn - Client connection/quit notices |
| 1201 |
+ |
* +C - cconn - Client connection/quit notices full |
| 1202 |
|
* +D - deaf - Don't receive channel messages |
| 1203 |
|
* +d - debug - See debugging notices |
| 1204 |
|
* +f - full - See I: line full notices |
| 1217 |
|
* +y - spy - See LINKS, STATS, TRACE notices etc. |
| 1218 |
|
* +z - operwall - See oper generated WALLOPS |
| 1219 |
|
*/ |
| 1220 |
< |
|
| 1220 |
> |
|
| 1221 |
|
/* oper_only_umodes: usermodes only opers may set */ |
| 1222 |
< |
oper_only_umodes = bots, cconn, debug, full, skill, nchange, |
| 1223 |
< |
rej, spy, external, operwall, locops, unauth; |
| 1222 |
> |
oper_only_umodes = bots, cconn, cconn_full, debug, full, skill, |
| 1223 |
> |
nchange, rej, spy, external, operwall, |
| 1224 |
> |
locops, unauth; |
| 1225 |
|
|
| 1226 |
|
/* oper_umodes: default usermodes opers get when they /oper */ |
| 1227 |
< |
oper_umodes = locops, servnotice, operwall, wallop; |
| 1227 |
> |
oper_umodes = bots, locops, servnotice, operwall, wallop; |
| 1228 |
|
|
| 1229 |
|
/* |
| 1230 |
|
* servlink_path: path to 'servlink' program used by ircd to handle |
| 1268 |
|
* the same ip. exempt {} blocks are excluded from this throttling. |
| 1269 |
|
* Offers protection against flooders who reconnect quickly. |
| 1270 |
|
* Set to 0 to disable. |
| 1198 |
– |
* |
| 1199 |
– |
* EFnet Note: exempt {} blocks are NOT hidden, so do NOT exempt |
| 1200 |
– |
* EFnet server IP's. |
| 1271 |
|
*/ |
| 1272 |
|
throttle_time = 0; |
| 1273 |
|
}; |
| 1284 |
|
/* enable: enable glines, network wide temp klines */ |
| 1285 |
|
enable = yes; |
| 1286 |
|
|
| 1287 |
< |
/* duration: the amount of time a gline will remain on your server before expiring */ |
| 1287 |
> |
/* |
| 1288 |
> |
* duration: the amount of time a gline will remain on your |
| 1289 |
> |
* server before expiring |
| 1290 |
> |
*/ |
| 1291 |
|
duration = 1 day; |
| 1292 |
|
|
| 1293 |
< |
/* logging: which types of rules you want to log when triggered (choose reject or block) */ |
| 1293 |
> |
/* |
| 1294 |
> |
* logging: which types of rules you want to log when triggered |
| 1295 |
> |
* (choose reject or block) |
| 1296 |
> |
*/ |
| 1297 |
|
logging = reject, block; |
| 1298 |
|
|
| 1299 |
|
/* |
| 1300 |
< |
* NOTE: gline ACLs can cause a desync of glines throughout the network, meaning some servers |
| 1301 |
< |
* may have a gline triggered, and others may not. Also, you only need insert rules for glines |
| 1302 |
< |
* that you want to block and/or reject. If you want to accept and propagate the gline, do NOT |
| 1303 |
< |
* put a rule for it. |
| 1300 |
> |
* NOTE: gline ACLs can cause a desync of glines throughout the |
| 1301 |
> |
* network, meaning some servers may have a gline triggered, and |
| 1302 |
> |
* others may not. Also, you only need insert rules for glines |
| 1303 |
> |
* that you want to block and/or reject. If you want to accept and |
| 1304 |
> |
* propagate the gline, do NOT put a rule for it. |
| 1305 |
|
*/ |
| 1306 |
|
|
| 1307 |
|
/* user@host for rule to apply to */ |
| 1326 |
|
* module path: other paths to search for modules specified below |
| 1327 |
|
* and in /modload. |
| 1328 |
|
*/ |
| 1329 |
< |
path = "/usr/local/ircd/modules"; |
| 1330 |
< |
path = "/usr/local/ircd/modules/autoload"; |
| 1329 |
> |
path = "@datadir@/modules"; |
| 1330 |
> |
path = "@datadir@/autoload"; |
| 1331 |
|
|
| 1332 |
|
/* module: the name of a module to load on startup/rehash */ |
| 1333 |
|
#module = "some_module.so"; |