| 1 |
/* doc/example.efnet.conf - ircd-hybrid-8 EFnet Example 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 |
* doc/. |
| 7 |
* |
| 8 |
* $Id$ |
| 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 |
* Shell style (#), C++ style (//) and C style comments are supported. |
| 18 |
* |
| 19 |
* Files may be included by either: |
| 20 |
* .include "filename" |
| 21 |
* .include <filename> |
| 22 |
* |
| 23 |
* Times/durations are written as: |
| 24 |
* 12 hours 30 minutes 1 second |
| 25 |
* |
| 26 |
* Valid units of time: |
| 27 |
* year, month, week, day, hour, minute, second |
| 28 |
* |
| 29 |
* Valid units of size: |
| 30 |
* megabyte/mbyte/mb, kilobyte/kbyte/kb, byte |
| 31 |
* |
| 32 |
* Sizes and times may be singular or plural. |
| 33 |
*/ |
| 34 |
|
| 35 |
/* EFNET NOTE: |
| 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. |
| 40 |
* |
| 41 |
* DISCLAIMER: This file was submitted by Disciple@EFnet and has |
| 42 |
* since been modified by the Hybrid team. |
| 43 |
*/ |
| 44 |
|
| 45 |
/* |
| 46 |
* serverinfo {}: contains information about the server |
| 47 |
*/ |
| 48 |
serverinfo { |
| 49 |
/* |
| 50 |
* name: the name of this server. This cannot be changed at runtime. |
| 51 |
*/ |
| 52 |
name = "efnet.irc"; |
| 53 |
|
| 54 |
/* |
| 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 = "0HY"; |
| 61 |
|
| 62 |
/* |
| 63 |
* description: the description of the server. |
| 64 |
*/ |
| 65 |
description = "ircd-hybrid test server"; |
| 66 |
|
| 67 |
/* |
| 68 |
* network info: the name and description of the network this server |
| 69 |
* is on. Shown in the 005 reply and used with serverhiding. |
| 70 |
*/ |
| 71 |
network_name = "EFnet"; |
| 72 |
network_desc = "Eris Free Network"; |
| 73 |
|
| 74 |
/* |
| 75 |
* hub: allow this server to act as a hub and have multiple servers |
| 76 |
* connected to it. |
| 77 |
*/ |
| 78 |
hub = no; |
| 79 |
|
| 80 |
/* |
| 81 |
* vhost: the IP to bind to when we connect outward to ipv4 servers. |
| 82 |
* This should be an ipv4 IP only, or "*" for INADDR_ANY. |
| 83 |
*/ |
| 84 |
#vhost = "192.169.0.1"; |
| 85 |
|
| 86 |
/* |
| 87 |
* vhost6: the IP to bind to when we connect outward to ipv6 servers. |
| 88 |
* This should be an ipv6 IP only, or "*" for INADDR_ANY. |
| 89 |
*/ |
| 90 |
#vhost6 = "3ffe:80e8:546::2"; |
| 91 |
|
| 92 |
/* max_clients: the maximum number of clients allowed to connect */ |
| 93 |
max_clients = 512; |
| 94 |
|
| 95 |
/* |
| 96 |
* max_nick_length: only applies to local clients. Must be in the |
| 97 |
* range of 9 to 30. Default is 9 if nothing else is specified. |
| 98 |
*/ |
| 99 |
max_nick_length = 9; |
| 100 |
|
| 101 |
/* |
| 102 |
* max_topic_length: only applies to topics set by local clients. |
| 103 |
* Must be in the range of 80 to 300. Default is 80 if nothing |
| 104 |
* else is specified. |
| 105 |
*/ |
| 106 |
max_topic_length = 160; |
| 107 |
|
| 108 |
/* |
| 109 |
* rsa_private_key_file: the path to the file containing our |
| 110 |
* rsa key for cryptlink. |
| 111 |
* |
| 112 |
* Example command to store a 2048 bit RSA keypair in |
| 113 |
* rsa.key, and the public key in rsa.pub: |
| 114 |
* |
| 115 |
* openssl genrsa -out rsa.key 2048 |
| 116 |
* openssl rsa -in rsa.key -pubout -out rsa.pub |
| 117 |
* chown <ircd-user>.<ircd.group> rsa.key rsa.pub |
| 118 |
* chmod 0600 rsa.key |
| 119 |
* chmod 0644 rsa.pub |
| 120 |
*/ |
| 121 |
#rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
| 122 |
|
| 123 |
/* |
| 124 |
* ssl_certificate_file: the path to the file containing our |
| 125 |
* ssl certificate for encrypted client connection. |
| 126 |
* |
| 127 |
* This assumes your private RSA key is stored in rsa.key. You |
| 128 |
* MUST have an RSA key in order to generate the certificate |
| 129 |
* |
| 130 |
* openssl req -new -days 365 -x509 -key rsa.key -out cert.pem |
| 131 |
* |
| 132 |
* See http://www.openssl.org/docs/HOWTO/certificates.txt |
| 133 |
* |
| 134 |
* Please use the following values when generating the cert |
| 135 |
* |
| 136 |
* Organization Name: Network Name |
| 137 |
* Organization Unit Name: changme.someirc.net |
| 138 |
* Common Name: irc.someirc.net |
| 139 |
* E-mail: you@domain.com |
| 140 |
*/ |
| 141 |
#ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
| 142 |
|
| 143 |
/* |
| 144 |
* ssl_dh_param_file: |
| 145 |
* |
| 146 |
* Path to the PEM encoded Diffie-Hellman parameter file. |
| 147 |
* DH parameters are strictly required when using ciphers |
| 148 |
* with EDH (ephemeral Diffie-Hellman) key exchange. |
| 149 |
* |
| 150 |
* A DH parameter file can be created by running: |
| 151 |
* |
| 152 |
* openssl dhparam -out dhparam.pem 1024 |
| 153 |
* |
| 154 |
* Prime size must be at least 1024 bits. Further information |
| 155 |
* regarding specific OpenSSL dhparam command-line options |
| 156 |
* can be found in the OpenSSL manual. |
| 157 |
*/ |
| 158 |
#ssl_dh_param_file = "/usr/local/ircd/etc/dhparam.pem"; |
| 159 |
|
| 160 |
/* |
| 161 |
* ssl_cipher_list: |
| 162 |
* |
| 163 |
* List of ciphers that are supported by _this_ server. Can be used to |
| 164 |
* enforce specific ciphers for incoming SSL/TLS connections. |
| 165 |
* If a client (which also includes incoming server connections) isn't |
| 166 |
* capable of any cipher listed below, the connection will simply be |
| 167 |
* rejected. |
| 168 |
* |
| 169 |
* A list of supported ciphers can be obtained by running: |
| 170 |
* |
| 171 |
* openssl ciphers -ssl3 -tls1 -v |
| 172 |
* |
| 173 |
* Multiple ciphers are separated by colons. The order of preference is |
| 174 |
* from left to right. |
| 175 |
*/ |
| 176 |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
| 177 |
|
| 178 |
/* |
| 179 |
* ssl_server_method: |
| 180 |
* ssl_client_method: |
| 181 |
* |
| 182 |
* SSL/TLS methods we provide for incoming (server method) and |
| 183 |
* outgoing (client method) SSL/TLS connections. |
| 184 |
* This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1. |
| 185 |
*/ |
| 186 |
#ssl_server_method = tlsv1, sslv3; |
| 187 |
#ssl_client_method = tlsv1; |
| 188 |
}; |
| 189 |
|
| 190 |
/* |
| 191 |
* admin {}: contains admin information about the server |
| 192 |
*/ |
| 193 |
admin { |
| 194 |
name = "EFnet Admin"; |
| 195 |
description = "Main Server Administrator"; |
| 196 |
email = "<irc-admin@efnet.irc>"; |
| 197 |
}; |
| 198 |
|
| 199 |
/* |
| 200 |
* class {}: contains information about classes for users |
| 201 |
*/ |
| 202 |
class { |
| 203 |
/* name: the name of the class */ |
| 204 |
name = "users"; |
| 205 |
|
| 206 |
/* |
| 207 |
* ping_time: how often a client must reply to a PING from the |
| 208 |
* server before they are dropped. |
| 209 |
*/ |
| 210 |
ping_time = 90 seconds; |
| 211 |
|
| 212 |
/* |
| 213 |
* number_per_ip: how many local users are allowed to connect |
| 214 |
* from one IP (optional) |
| 215 |
*/ |
| 216 |
number_per_ip = 2; |
| 217 |
|
| 218 |
/* |
| 219 |
* max_local: how many local users are allowed to connect |
| 220 |
* from one ident@host (optional) |
| 221 |
*/ |
| 222 |
max_local = 2; |
| 223 |
|
| 224 |
/* |
| 225 |
* max_global: network-wide limit of users per ident@host (optional) |
| 226 |
*/ |
| 227 |
max_global = 10; |
| 228 |
|
| 229 |
/* |
| 230 |
* max_number: the maximum number of users allowed in this class (optional) |
| 231 |
*/ |
| 232 |
max_number = 100; |
| 233 |
|
| 234 |
/* |
| 235 |
* the following lines are optional and allow you to define |
| 236 |
* how many users can connect from one /NN subnet |
| 237 |
*/ |
| 238 |
cidr_bitlen_ipv4 = 24; |
| 239 |
cidr_bitlen_ipv6 = 120; |
| 240 |
number_per_cidr = 16; |
| 241 |
|
| 242 |
/* |
| 243 |
* sendq: the amount of data allowed in a clients send queue before |
| 244 |
* they are dropped. |
| 245 |
*/ |
| 246 |
sendq = 100 kbytes; |
| 247 |
|
| 248 |
/* |
| 249 |
* recvq: maximum amount of data in a clients receive queue before |
| 250 |
* they are dropped for flooding. Defaults to 2560 if the chosen |
| 251 |
* value isn't within the range of 512 to 8000. |
| 252 |
*/ |
| 253 |
recvq = 2560 bytes; |
| 254 |
}; |
| 255 |
|
| 256 |
class { |
| 257 |
name = "opers"; |
| 258 |
|
| 259 |
/* |
| 260 |
* contrary to seeming popular belief, setting ping time |
| 261 |
* higher for an oper is NOT doing them a favor. |
| 262 |
* Since if a link is dead its dead and it means |
| 263 |
* you have to use another nick long enough to kill the old one :-) |
| 264 |
* Its much better to use a fairly standard 90 second ping time |
| 265 |
*/ |
| 266 |
ping_time = 90 seconds; |
| 267 |
number_per_ip = 10; |
| 268 |
max_number = 100; |
| 269 |
sendq = 1 mbyte; |
| 270 |
|
| 271 |
/* |
| 272 |
* min_idle: minimum idle time that is shown in /whois |
| 273 |
*/ |
| 274 |
min_idle = 3 hours; |
| 275 |
|
| 276 |
/* |
| 277 |
* max_idle: maximum idle time that is shown in /whois |
| 278 |
*/ |
| 279 |
max_idle = 8 hours; |
| 280 |
|
| 281 |
/* |
| 282 |
* flags: |
| 283 |
* |
| 284 |
* random_idle - idle time is randomly selected within the |
| 285 |
* range of min_idle to max_idle |
| 286 |
* hide_idle_from_opers - fake idle time will be shown to operators, too |
| 287 |
*/ |
| 288 |
flags = random_idle, hide_idle_from_opers; |
| 289 |
}; |
| 290 |
|
| 291 |
class { |
| 292 |
name = "server"; |
| 293 |
|
| 294 |
/* |
| 295 |
* Same thing here. It's a fallacy to think increasing |
| 296 |
* ping time for servers is a "good idea." All it leads to |
| 297 |
* is "ghosting" on one end. Not a good idea. |
| 298 |
*/ |
| 299 |
ping_time = 90 seconds; |
| 300 |
|
| 301 |
/* |
| 302 |
* connectfreq: only used in server classes. Specifies the delay |
| 303 |
* between autoconnecting to servers. |
| 304 |
* |
| 305 |
* Both comstud and I recommend 10 minutes a few years ago. |
| 306 |
* 15 minutes might be right now. The reason you don't want it too |
| 307 |
* low is, you make the servers reconnect too quickly with |
| 308 |
* a large sendq, and they _will_ nick collide. badly. 5 minutes |
| 309 |
* IS way too short. |
| 310 |
*/ |
| 311 |
connectfreq = 15 minutes; |
| 312 |
|
| 313 |
/* max number: the amount of servers to autoconnect to */ |
| 314 |
max_number = 1; |
| 315 |
|
| 316 |
/* sendq: servers need a higher sendq as they send more data */ |
| 317 |
sendq = 15 megabytes; |
| 318 |
}; |
| 319 |
|
| 320 |
/* |
| 321 |
* listen {}: contains information about the ports ircd listens on |
| 322 |
*/ |
| 323 |
listen { |
| 324 |
/* |
| 325 |
* port: the specific port to listen on. If no host is specified |
| 326 |
* before, it will listen on all available IPs. |
| 327 |
* |
| 328 |
* Ports are separated via a comma, a range may be specified using ".." |
| 329 |
*/ |
| 330 |
|
| 331 |
/* port: listen on all available IPs, ports 6665 to 6669 */ |
| 332 |
port = 6665 .. 6669; |
| 333 |
|
| 334 |
/* |
| 335 |
* Listen on 192.168.0.1/6697 with ssl enabled and hidden from STATS P |
| 336 |
* unless you are an administrator. |
| 337 |
* |
| 338 |
* NOTE: The "flags" directive has to come before "port". Always! |
| 339 |
* |
| 340 |
* Currently available flags are: |
| 341 |
* |
| 342 |
* ssl - Port may only accept TLS/SSL connections |
| 343 |
* server - Only server connections are permitted |
| 344 |
* hidden - Port is hidden from /stats P, unless you're an admin |
| 345 |
*/ |
| 346 |
flags = hidden, ssl; |
| 347 |
host = "192.168.0.1"; |
| 348 |
port = 6697; |
| 349 |
|
| 350 |
/* |
| 351 |
* host: set a specific IP/host the ports after the line will listen |
| 352 |
* on. This may be ipv4 or ipv6. |
| 353 |
*/ |
| 354 |
host = "1.2.3.4"; |
| 355 |
port = 7000, 7001; |
| 356 |
|
| 357 |
host = "3ffe:1234:a:b:c::d"; |
| 358 |
port = 7002; |
| 359 |
}; |
| 360 |
|
| 361 |
/* |
| 362 |
* auth {}: allow users to connect to the ircd |
| 363 |
*/ |
| 364 |
auth { |
| 365 |
/* |
| 366 |
* user: the user@host allowed to connect. Multiple user |
| 367 |
* lines are permitted per auth block. |
| 368 |
*/ |
| 369 |
user = "*@172.16.0.0/12"; |
| 370 |
user = "*test@123D:B567:*"; |
| 371 |
|
| 372 |
/* password: an optional password that is required to use this block */ |
| 373 |
password = "letmein"; |
| 374 |
|
| 375 |
/* |
| 376 |
* encrypted: controls whether the auth password above has been |
| 377 |
* encrypted. |
| 378 |
*/ |
| 379 |
encrypted = yes; |
| 380 |
|
| 381 |
/* |
| 382 |
* spoof: fake the users host to this. This is free-form, |
| 383 |
* just do everyone a favor and don't abuse it. ('=' prefix on /stats I) |
| 384 |
*/ |
| 385 |
spoof = "I.still.hate.packets"; |
| 386 |
|
| 387 |
/* class: the class the user is placed in */ |
| 388 |
class = "opers"; |
| 389 |
|
| 390 |
/* |
| 391 |
* need_password - don't allow users who haven't supplied the correct |
| 392 |
* password to connect using another auth{} block |
| 393 |
* ('&' prefix on /stats I if disabled) |
| 394 |
* need_ident - require the user to have identd to connect ('+' prefix on /stats I) |
| 395 |
* spoof_notice - enable spoofing notification to admins |
| 396 |
* exceed_limit - allow a user to exceed class limits ('>' prefix on /stats I) |
| 397 |
* kline_exempt - exempt this user from k/glines ('^' prefix on /stats I) |
| 398 |
* gline_exempt - exempt this user from glines ('_' prefix on /stats I) |
| 399 |
* resv_exempt - exempt this user from resvs ('$' prefix on /stats I) |
| 400 |
* no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I) |
| 401 |
* can_flood - allow this user to exceed flood limits ('|' prefix on /stats I) |
| 402 |
* webirc - enables WEBIRC authentication for web-based clients such as Mibbit |
| 403 |
* ('<' prefix on /stats I) |
| 404 |
*/ |
| 405 |
flags = need_password, spoof_notice, exceed_limit, kline_exempt, |
| 406 |
gline_exempt, resv_exempt, no_tilde, can_flood; |
| 407 |
}; |
| 408 |
|
| 409 |
auth { |
| 410 |
/* |
| 411 |
* redirect: the server and port to redirect a user to. A user does |
| 412 |
* not have to obey the redirection, the ircd just suggests an alternative |
| 413 |
* server for them. |
| 414 |
*/ |
| 415 |
redirserv = "this.is.not.a.real.server"; |
| 416 |
redirport = 6667; |
| 417 |
|
| 418 |
user = "*.server"; |
| 419 |
|
| 420 |
/* class: a class is required even though it is not used */ |
| 421 |
class = "users"; |
| 422 |
}; |
| 423 |
|
| 424 |
auth { |
| 425 |
user = "*@*"; |
| 426 |
class = "users"; |
| 427 |
flags = need_ident; |
| 428 |
}; |
| 429 |
|
| 430 |
/* |
| 431 |
* operator {}: defines ircd operators |
| 432 |
* |
| 433 |
* ircd-hybrid no longer supports local operators, privileges are |
| 434 |
* controlled via flags. |
| 435 |
*/ |
| 436 |
operator { |
| 437 |
/* name: the name of the oper */ |
| 438 |
name = "sheep"; |
| 439 |
|
| 440 |
/* |
| 441 |
* user: the user@host required for this operator. Multiple |
| 442 |
* user="" lines are supported. |
| 443 |
*/ |
| 444 |
user = "*sheep@192.168.0.0/16"; |
| 445 |
user = "*@127.0.0.0/8"; |
| 446 |
|
| 447 |
/* |
| 448 |
* password: the password required to oper. By default this will |
| 449 |
* need to be encrypted by using the provided mkpasswd tool. |
| 450 |
* Several password hash algorithms are available depending |
| 451 |
* on your system's crypt() implementation. For example, a modern |
| 452 |
* glibc already has support for SHA-256/512, and MD5 encryption |
| 453 |
* algorithms. |
| 454 |
*/ |
| 455 |
password = "$5$x5zof8qe.Yc7/bPp$5zIg1Le2Lsgd4CvOjaD20pr5PmcfD7ha/9b2.TaUyG4"; |
| 456 |
|
| 457 |
/* |
| 458 |
* encrypted: controls whether the oper password above has been |
| 459 |
* encrypted. |
| 460 |
*/ |
| 461 |
encrypted = yes; |
| 462 |
|
| 463 |
/* |
| 464 |
* rsa_public_key_file: the public key for this oper when using Challenge. |
| 465 |
* A password should not be defined when this is used, see |
| 466 |
* doc/challenge.txt for more information. |
| 467 |
*/ |
| 468 |
# rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; |
| 469 |
|
| 470 |
/* class: the class the oper joins when they successfully /oper */ |
| 471 |
class = "opers"; |
| 472 |
|
| 473 |
/* |
| 474 |
* umodes: default usermodes opers get when they /oper. If defined, |
| 475 |
* it will override oper_umodes settings in general {}. |
| 476 |
* Available usermodes: |
| 477 |
* |
| 478 |
* +b - bots - See bot and drone flooding notices |
| 479 |
* +c - cconn - Client connection/quit notices |
| 480 |
* +C - cconn_full - Client connection/quit notices full |
| 481 |
* +D - deaf - Don't receive channel messages |
| 482 |
* +d - debug - See debugging notices |
| 483 |
* +e - external - See remote server connection and split notices |
| 484 |
* +f - full - See auth{} block full notices |
| 485 |
* +G - softcallerid - Server Side Ignore for users not on your channels |
| 486 |
* +g - callerid - Server Side Ignore (for privmsgs etc) |
| 487 |
* +H - hidden - Hides operator status to other users |
| 488 |
* +i - invisible - Not shown in NAMES or WHO unless you share a |
| 489 |
* a channel |
| 490 |
* +j - rej - See rejected client notices |
| 491 |
* +k - skill - See server generated KILL messages |
| 492 |
* +l - locops - See LOCOPS messages |
| 493 |
* +n - nchange - See client nick changes |
| 494 |
* +s - servnotice - See general server notices |
| 495 |
* +u - unauth - See unauthorized client notices |
| 496 |
* +w - wallop - See server generated WALLOPS |
| 497 |
* +y - spy - See LINKS, STATS, TRACE notices etc. |
| 498 |
* +z - operwall - See oper generated WALLOPS |
| 499 |
*/ |
| 500 |
# umodes = locops, servnotice, operwall, wallop; |
| 501 |
|
| 502 |
/* |
| 503 |
* privileges: controls the activities and commands an oper is |
| 504 |
* allowed to do on the server. All options default to no. |
| 505 |
* Available options: |
| 506 |
* |
| 507 |
* module - allows MODULE |
| 508 |
* global_kill - allows remote users to be /KILL'd |
| 509 |
* remote - allows remote SQUIT and CONNECT |
| 510 |
* remoteban - allows remote KLINE/UNKLINE |
| 511 |
* dline - allows DLINE |
| 512 |
* undline - allows UNDLINE |
| 513 |
* kline - allows KILL and KLINE |
| 514 |
* unkline - allows UNKLINE |
| 515 |
* gline - allows GLINE |
| 516 |
* xline - allows XLINE |
| 517 |
* globops - allows GLOBOPS |
| 518 |
* operwall - allows OPERWALL |
| 519 |
* nick_changes - allows oper to see nickchanges via usermode +n |
| 520 |
* rehash - allows oper to REHASH config |
| 521 |
* die - allows DIE |
| 522 |
* restart - allows RESTART |
| 523 |
* set - allows SET |
| 524 |
* admin - gives admin privileges. admins for example, |
| 525 |
* may see the real IP addresses of servers. |
| 526 |
*/ |
| 527 |
flags = global_kill, remote, kline, unkline, xline, globops, restart, |
| 528 |
die, rehash, nick_changes, admin, operwall, module; |
| 529 |
}; |
| 530 |
|
| 531 |
/* |
| 532 |
* connect {}: controls servers we connect to |
| 533 |
*/ |
| 534 |
connect { |
| 535 |
/* name: the name of the server */ |
| 536 |
name = "irc.uplink.com"; |
| 537 |
|
| 538 |
/* |
| 539 |
* host: the host or IP to connect to. If a hostname is used it |
| 540 |
* must match the reverse dns of the server. |
| 541 |
*/ |
| 542 |
host = "192.168.0.1"; |
| 543 |
|
| 544 |
/* |
| 545 |
* vhost: the IP to bind to when we connect outward to servers. |
| 546 |
* serverinfo::vhost and serverinfo::vhost6 will be overridden |
| 547 |
* by this directive. |
| 548 |
*/ |
| 549 |
vhost = "192.168.0.2"; |
| 550 |
|
| 551 |
/* |
| 552 |
* passwords: the passwords we send (OLD C:) and accept (OLD N:). |
| 553 |
* The remote server will have these passwords reversed. |
| 554 |
*/ |
| 555 |
send_password = "password"; |
| 556 |
accept_password = "anotherpassword"; |
| 557 |
|
| 558 |
/* |
| 559 |
* encrypted: controls whether the accept_password above has been |
| 560 |
* encrypted. |
| 561 |
*/ |
| 562 |
encrypted = no; |
| 563 |
|
| 564 |
/* port: the port to connect to this server on */ |
| 565 |
port = 6666; |
| 566 |
|
| 567 |
/* |
| 568 |
* hub_mask: the mask of servers that this server may hub. Multiple |
| 569 |
* entries are permitted |
| 570 |
*/ |
| 571 |
hub_mask = "*"; |
| 572 |
|
| 573 |
/* |
| 574 |
* leaf_mask: the mask of servers this server may not hub. Multiple |
| 575 |
* entries are permitted. Useful for forbidding EU -> US -> EU routes. |
| 576 |
*/ |
| 577 |
# leaf_mask = "*.uk"; |
| 578 |
|
| 579 |
/* class: the class this server is in */ |
| 580 |
class = "server"; |
| 581 |
|
| 582 |
/* |
| 583 |
* ssl_cipher_list: |
| 584 |
* |
| 585 |
* List of ciphers that the server we are connecting to must support. |
| 586 |
* If the server isn't capable of any cipher listed below, the |
| 587 |
* connection will simply be rejected. |
| 588 |
* Can be used to enforce stronger ciphers, even though this option |
| 589 |
* is not necessarily required to establish a SSL/TLS connection. |
| 590 |
* |
| 591 |
* Multiple ciphers are separated by colons. The order of preference |
| 592 |
* is from left to right. |
| 593 |
*/ |
| 594 |
#ssl_cipher_list = "DHE-RSA-AES256-SHA:AES256-SHA"; |
| 595 |
|
| 596 |
/* |
| 597 |
* autoconn - controls whether we autoconnect to this server or not, |
| 598 |
* dependent on class limits. By default, this is disabled. |
| 599 |
* ssl - Initiates a TLS/SSL connection. |
| 600 |
*/ |
| 601 |
# flags = autoconn, ssl; |
| 602 |
}; |
| 603 |
|
| 604 |
connect { |
| 605 |
name = "ipv6.some.server"; |
| 606 |
host = "3ffd:dead:beef::1"; |
| 607 |
send_password = "password"; |
| 608 |
accept_password = "password"; |
| 609 |
port = 6666; |
| 610 |
|
| 611 |
/* |
| 612 |
* aftype: controls whether the connection uses "ipv4" or "ipv6". |
| 613 |
* Default is ipv4. |
| 614 |
*/ |
| 615 |
aftype = ipv6; |
| 616 |
class = "server"; |
| 617 |
}; |
| 618 |
|
| 619 |
/* |
| 620 |
* cluster {}: servers that share klines/unkline/xline/unxline/resv/unresv/locops |
| 621 |
* automatically |
| 622 |
*/ |
| 623 |
cluster { |
| 624 |
/* |
| 625 |
* name: the server to share with, this can take wildcards |
| 626 |
* |
| 627 |
* NOTE: only local actions will be clustered, meaning if |
| 628 |
* the server receives a shared kline/unkline/etc, it |
| 629 |
* will not be propagated to clustered servers. |
| 630 |
* |
| 631 |
* Remote servers are not necessarily required to accept |
| 632 |
* clustered lines, they need a shared{} for *THIS* server |
| 633 |
* in order to accept them. |
| 634 |
*/ |
| 635 |
name = "*.arpa"; |
| 636 |
|
| 637 |
/* |
| 638 |
* type: list of what to share, options are as follows: |
| 639 |
* dline - share dlines |
| 640 |
* undline - share undlines |
| 641 |
* kline - share klines |
| 642 |
* unkline - share unklines |
| 643 |
* xline - share xlines |
| 644 |
* unxline - share unxlines |
| 645 |
* resv - share resvs |
| 646 |
* unresv - share unresvs |
| 647 |
* locops - share locops |
| 648 |
* all - share all of the above (default) |
| 649 |
*/ |
| 650 |
type = kline, unkline, locops, xline, resv; |
| 651 |
}; |
| 652 |
|
| 653 |
/* |
| 654 |
* shared {}: users that are allowed to remote kline |
| 655 |
* |
| 656 |
* NOTE: This can be effectively used for remote klines. |
| 657 |
* Please note that there is no password authentication |
| 658 |
* for users setting remote klines. You must also be |
| 659 |
* /oper'd in order to issue a remote kline. |
| 660 |
*/ |
| 661 |
shared { |
| 662 |
/* |
| 663 |
* name: the server the user must be on to set klines. If this is not |
| 664 |
* specified, the user will be allowed to kline from all servers. |
| 665 |
*/ |
| 666 |
name = "irc2.some.server"; |
| 667 |
|
| 668 |
/* |
| 669 |
* user: the user@host mask that is allowed to set klines. If this is |
| 670 |
* not specified, all users on the server above will be allowed to set |
| 671 |
* a remote kline. |
| 672 |
*/ |
| 673 |
user = "oper@my.host.is.spoofed"; |
| 674 |
|
| 675 |
/* |
| 676 |
* type: list of what to share, options are as follows: |
| 677 |
* dline - allow oper/server to dline |
| 678 |
* undline - allow oper/server to undline |
| 679 |
* kline - allow oper/server to kline |
| 680 |
* unkline - allow oper/server to unkline |
| 681 |
* xline - allow oper/server to xline |
| 682 |
* unxline - allow oper/server to unxline |
| 683 |
* resv - allow oper/server to resv |
| 684 |
* unresv - allow oper/server to unresv |
| 685 |
* locops - allow oper/server to locops - only used for servers that cluster |
| 686 |
* all - allow oper/server to do all of the above (default) |
| 687 |
*/ |
| 688 |
type = kline, unkline, resv; |
| 689 |
}; |
| 690 |
|
| 691 |
/* |
| 692 |
* kill {}: users that are not allowed to connect |
| 693 |
* Oper issued klines will be added to the specified kline config |
| 694 |
*/ |
| 695 |
kill { |
| 696 |
user = "bad@*.hacked.edu"; |
| 697 |
reason = "Obviously hacked account"; |
| 698 |
}; |
| 699 |
|
| 700 |
kill { |
| 701 |
user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.tld$"; |
| 702 |
|
| 703 |
/* |
| 704 |
* NOTE: You have to set type=regex; when using a regular expression |
| 705 |
* based user entry |
| 706 |
*/ |
| 707 |
type = regex; |
| 708 |
}; |
| 709 |
|
| 710 |
/* |
| 711 |
* deny {}: IPs that are not allowed to connect (before DNS/ident lookup) |
| 712 |
* Oper issued dlines will be added to the specified dline config |
| 713 |
*/ |
| 714 |
deny { |
| 715 |
ip = "10.0.1.0/24"; |
| 716 |
reason = "Reconnecting vhosted bots"; |
| 717 |
}; |
| 718 |
|
| 719 |
/* |
| 720 |
* exempt {}: IPs that are exempt from deny {} and Dlines |
| 721 |
* |
| 722 |
* EFnet Note: We really suggest to enable general::stats_e_disabled |
| 723 |
* if you plan to exempt EFnet server IPs you don't want to show to |
| 724 |
* other operators and/or administrators through "STATS e". |
| 725 |
*/ |
| 726 |
exempt { |
| 727 |
ip = "192.168.0.0/16"; |
| 728 |
}; |
| 729 |
|
| 730 |
/* |
| 731 |
* resv {}: nicks and channels users may not use/join |
| 732 |
*/ |
| 733 |
resv { |
| 734 |
/* reason: the reason for the proceeding resv's */ |
| 735 |
reason = "There are no services on this network"; |
| 736 |
|
| 737 |
/* resv: the nicks and channels users may not join/use */ |
| 738 |
nick = "nickserv"; |
| 739 |
nick = "chanserv"; |
| 740 |
nick = "operserv"; |
| 741 |
nick = "JUPES"; |
| 742 |
nick = "JUPE"; |
| 743 |
nick = "CH?NF?X"; # CHANFIX (services.int) |
| 744 |
|
| 745 |
/* These are totally optional, but may be a good idea */ |
| 746 |
nick = "oper"; |
| 747 |
nick = "ircop"; |
| 748 |
nick = "op"; |
| 749 |
nick = "ident"; |
| 750 |
nick = "pass"; |
| 751 |
channel = "#jupedchan"; |
| 752 |
|
| 753 |
/* resv: wildcard masks are also supported in nicks only */ |
| 754 |
reason = "Clone bots"; |
| 755 |
nick = "clone*"; |
| 756 |
}; |
| 757 |
|
| 758 |
/* |
| 759 |
* gecos {}: The X: replacement, used for banning users based on |
| 760 |
* their "realname". |
| 761 |
*/ |
| 762 |
gecos { |
| 763 |
name = "*sex*"; |
| 764 |
reason = "Possible spambot"; |
| 765 |
}; |
| 766 |
|
| 767 |
gecos { |
| 768 |
name = "sub7server"; |
| 769 |
reason = "Trojan drone"; |
| 770 |
}; |
| 771 |
|
| 772 |
gecos { |
| 773 |
name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$"; |
| 774 |
|
| 775 |
/* |
| 776 |
* NOTE: You have to set type=regex; when using a regular expression |
| 777 |
* based name entry |
| 778 |
*/ |
| 779 |
type = regex; |
| 780 |
}; |
| 781 |
|
| 782 |
/* |
| 783 |
* channel {}: The channel block contains options pertaining to channels |
| 784 |
*/ |
| 785 |
channel { |
| 786 |
/* |
| 787 |
* disable_fake_channels: this option, if set to 'yes', will |
| 788 |
* disallow clients to create or join channels that have one |
| 789 |
* of the following ASCII characters in their name: |
| 790 |
* |
| 791 |
* 2 | bold |
| 792 |
* 3 | mirc color |
| 793 |
* 15 | plain text |
| 794 |
* 22 | reverse |
| 795 |
* 29 | italic |
| 796 |
* 31 | underline |
| 797 |
* 160 | non-breaking space |
| 798 |
*/ |
| 799 |
disable_fake_channels = yes; |
| 800 |
|
| 801 |
/* |
| 802 |
* restrict_channels: reverse channel RESVs logic, only reserved |
| 803 |
* channels are allowed |
| 804 |
*/ |
| 805 |
restrict_channels = no; |
| 806 |
|
| 807 |
/* |
| 808 |
* knock_delay: The amount of time a user must wait between issuing |
| 809 |
* the knock command. |
| 810 |
*/ |
| 811 |
knock_delay = 5 minutes; |
| 812 |
|
| 813 |
/* |
| 814 |
* knock_delay_channel: How often a knock to any specific channel |
| 815 |
* is permitted, regardless of the user sending the knock. |
| 816 |
*/ |
| 817 |
knock_delay_channel = 1 minute; |
| 818 |
|
| 819 |
/* |
| 820 |
* max_chans_per_user: The maximum number of channels a user can |
| 821 |
* join/be on. |
| 822 |
*/ |
| 823 |
max_chans_per_user = 25; |
| 824 |
|
| 825 |
/* |
| 826 |
* max_chans_per_oper: The maximum number of channels an oper can |
| 827 |
* join/be on. |
| 828 |
*/ |
| 829 |
max_chans_per_oper = 50; |
| 830 |
|
| 831 |
/* quiet_on_ban: stop banned people talking in channels. */ |
| 832 |
quiet_on_ban = yes; |
| 833 |
|
| 834 |
/* max_bans: maximum number of +b/e/I modes in a channel */ |
| 835 |
max_bans = 100; |
| 836 |
|
| 837 |
/* |
| 838 |
* how many joins in how many seconds constitute a flood, use 0 to |
| 839 |
* disable. +b opers will be notified (changeable via /set) |
| 840 |
*/ |
| 841 |
join_flood_count = 16; |
| 842 |
join_flood_time = 8 seconds; |
| 843 |
|
| 844 |
/* |
| 845 |
* splitcode: The ircd will now check splitmode every few seconds. |
| 846 |
* |
| 847 |
* Either split users or split servers can activate splitmode, but |
| 848 |
* both conditions must be met for the ircd to deactivate splitmode. |
| 849 |
* |
| 850 |
* You may force splitmode to be permanent by /quote set splitmode on |
| 851 |
*/ |
| 852 |
|
| 853 |
/* |
| 854 |
* default_split_user_count: when the usercount is lower than this level, |
| 855 |
* consider ourselves split. This must be set for automatic splitmode. |
| 856 |
*/ |
| 857 |
default_split_user_count = 20000; |
| 858 |
|
| 859 |
/* |
| 860 |
* default_split_server_count: when the servercount is lower than this, |
| 861 |
* consider ourselves split. This must be set for automatic splitmode. |
| 862 |
*/ |
| 863 |
default_split_server_count = 10; |
| 864 |
|
| 865 |
/* no_create_on_split: disallow users creating channels on split. */ |
| 866 |
no_create_on_split = yes; |
| 867 |
|
| 868 |
/* no_join_on_split: disallow users joining channels at all on a split. */ |
| 869 |
no_join_on_split = no; |
| 870 |
}; |
| 871 |
|
| 872 |
/* |
| 873 |
* serverhide {}: The serverhide block contains the options regarding |
| 874 |
* serverhiding |
| 875 |
*/ |
| 876 |
serverhide { |
| 877 |
/* |
| 878 |
* flatten_links: this option will show all servers in /links appear |
| 879 |
* that they are linked to this current server |
| 880 |
* |
| 881 |
* EFnet Note: While this is not a requirement on EFnet, it |
| 882 |
* may be a good idea. Except, it's useless |
| 883 |
* unless the entire net runs it. |
| 884 |
*/ |
| 885 |
flatten_links = no; |
| 886 |
|
| 887 |
/* |
| 888 |
* links_delay: how often to update the links file when it is |
| 889 |
* flattened. |
| 890 |
*/ |
| 891 |
links_delay = 5 minutes; |
| 892 |
|
| 893 |
/* |
| 894 |
* hidden: hide this server from a /links output on servers that |
| 895 |
* support it. This allows hub servers to be hidden etc. |
| 896 |
*/ |
| 897 |
hidden = no; |
| 898 |
|
| 899 |
/* |
| 900 |
* hide_servers: hide remote servernames everywhere and instead use |
| 901 |
* hidden_name and network_desc. |
| 902 |
*/ |
| 903 |
hide_servers = no; |
| 904 |
|
| 905 |
/* |
| 906 |
* Use this as the servername users see if hide_servers = yes. |
| 907 |
*/ |
| 908 |
hidden_name = "*.hidden.com"; |
| 909 |
|
| 910 |
/* |
| 911 |
* hide_server_ips: If this is disabled, opers will be unable to see |
| 912 |
* servers ips and will be shown a masked ip, admins will be shown the |
| 913 |
* real ip. |
| 914 |
* |
| 915 |
* If this is enabled, nobody can see a servers ip. *This is a kludge*, |
| 916 |
* it has the side effect of hiding the ips everywhere, including |
| 917 |
* logfiles. |
| 918 |
* |
| 919 |
* We recommend you leave this disabled, and just take care with who you |
| 920 |
* give administrator privileges to. |
| 921 |
*/ |
| 922 |
hide_server_ips = yes; |
| 923 |
}; |
| 924 |
|
| 925 |
/* |
| 926 |
* general {}: The general block contains many of the options that were once |
| 927 |
* compiled in options in config.h |
| 928 |
*/ |
| 929 |
general { |
| 930 |
/* max_watch: maximum WATCH entries a client can have. */ |
| 931 |
max_watch = 60; |
| 932 |
|
| 933 |
/* |
| 934 |
* EFnet Note: This feature is required for European EFnet servers |
| 935 |
* and is used by several North American servers. As |
| 936 |
* such, it has been left on by default. If you |
| 937 |
* do not want your server to participate in G:Lines |
| 938 |
* you should disable this. |
| 939 |
*/ |
| 940 |
|
| 941 |
/* gline_enable: enable glines, network wide temp klines */ |
| 942 |
gline_enable = yes; |
| 943 |
|
| 944 |
/* |
| 945 |
* gline_duration: the amount of time a gline will remain on your |
| 946 |
* server before expiring |
| 947 |
*/ |
| 948 |
gline_duration = 1 day; |
| 949 |
|
| 950 |
/* |
| 951 |
* gline_request_duration: how long a pending G-line can be around. |
| 952 |
* 10 minutes should be plenty |
| 953 |
*/ |
| 954 |
gline_request_duration = 10 minutes; |
| 955 |
|
| 956 |
/* |
| 957 |
* gline_min_cidr: the minimum required length of a CIDR bitmask |
| 958 |
* for IPv4 based glines |
| 959 |
*/ |
| 960 |
gline_min_cidr = 16; |
| 961 |
|
| 962 |
/* |
| 963 |
* gline_min_cidr6: the minimum required length of a CIDR bitmask |
| 964 |
* for IPv6 based glines |
| 965 |
*/ |
| 966 |
gline_min_cidr6 = 48; |
| 967 |
|
| 968 |
/* |
| 969 |
* Whether to automatically set mode +i on connecting users. |
| 970 |
*/ |
| 971 |
invisible_on_connect = yes; |
| 972 |
|
| 973 |
/* |
| 974 |
* Max time from the nickname change that still causes KILL |
| 975 |
* automatically to switch for the current nick of that user. |
| 976 |
*/ |
| 977 |
kill_chase_time_limit = 90 seconds; |
| 978 |
|
| 979 |
/* |
| 980 |
* If hide_spoof_ips is disabled, opers will be allowed to see the real |
| 981 |
* IP of spoofed users in /trace etc. If this is defined they will be |
| 982 |
* shown a masked IP. |
| 983 |
*/ |
| 984 |
hide_spoof_ips = yes; |
| 985 |
|
| 986 |
/* |
| 987 |
* Ignore bogus timestamps from other servers. Yes, this will desync |
| 988 |
* the network, but it will allow chanops to resync with a valid non TS 0 |
| 989 |
* |
| 990 |
* This should be enabled network wide, or not at all. |
| 991 |
*/ |
| 992 |
ignore_bogus_ts = no; |
| 993 |
|
| 994 |
/* |
| 995 |
* disable_auth: completely disable ident lookups; if you enable this, |
| 996 |
* be careful of what you set need_ident to in your auth {} blocks |
| 997 |
*/ |
| 998 |
disable_auth = no; |
| 999 |
|
| 1000 |
/* disable_remote_commands: disable users doing commands on remote servers */ |
| 1001 |
disable_remote_commands = no; |
| 1002 |
|
| 1003 |
/* |
| 1004 |
* tkline_expire_notices: enables or disables temporary kline/xline |
| 1005 |
* expire notices. |
| 1006 |
*/ |
| 1007 |
tkline_expire_notices = no; |
| 1008 |
|
| 1009 |
/* |
| 1010 |
* default_floodcount: the default value of floodcount that is configurable |
| 1011 |
* via /quote set floodcount. This is the amount of lines a user |
| 1012 |
* may send to any other user/channel in one second. |
| 1013 |
*/ |
| 1014 |
default_floodcount = 10; |
| 1015 |
|
| 1016 |
/* |
| 1017 |
* failed_oper_notice: send a notice to all opers on the server when |
| 1018 |
* someone tries to OPER and uses the wrong password, host or ident. |
| 1019 |
*/ |
| 1020 |
failed_oper_notice = yes; |
| 1021 |
|
| 1022 |
/* |
| 1023 |
* dots_in_ident: the amount of '.' characters permitted in an ident |
| 1024 |
* reply before the user is rejected. |
| 1025 |
*/ |
| 1026 |
dots_in_ident = 2; |
| 1027 |
|
| 1028 |
/* |
| 1029 |
* min_nonwildcard: the minimum non wildcard characters in k/d/g lines |
| 1030 |
* placed via the server. klines hand placed are exempt from limits. |
| 1031 |
* wildcard chars: '.' ':' '*' '?' '@' '!' '#' |
| 1032 |
*/ |
| 1033 |
min_nonwildcard = 3; |
| 1034 |
|
| 1035 |
/* |
| 1036 |
* min_nonwildcard_simple: the minimum non wildcard characters in |
| 1037 |
* gecos bans. wildcard chars: '*' '?' '#' |
| 1038 |
*/ |
| 1039 |
min_nonwildcard_simple = 3; |
| 1040 |
|
| 1041 |
/* max_accept: maximum allowed /accept's for +g usermode */ |
| 1042 |
max_accept = 20; |
| 1043 |
|
| 1044 |
/* anti_nick_flood: enable the nickflood control code */ |
| 1045 |
anti_nick_flood = yes; |
| 1046 |
|
| 1047 |
/* nick flood: the nick changes allowed in the specified period */ |
| 1048 |
max_nick_time = 20 seconds; |
| 1049 |
max_nick_changes = 5; |
| 1050 |
|
| 1051 |
/* |
| 1052 |
* anti_spam_exit_message_time: the minimum time a user must be connected |
| 1053 |
* before custom quit messages are allowed. |
| 1054 |
*/ |
| 1055 |
anti_spam_exit_message_time = 5 minutes; |
| 1056 |
|
| 1057 |
/* |
| 1058 |
* ts delta: the time delta allowed between server clocks before |
| 1059 |
* a warning is given, or before the link is dropped. all servers |
| 1060 |
* should run ntpdate/rdate to keep clocks in sync |
| 1061 |
*/ |
| 1062 |
ts_warn_delta = 30 seconds; |
| 1063 |
ts_max_delta = 5 minutes; |
| 1064 |
|
| 1065 |
/* |
| 1066 |
* warn_no_nline: warn opers about servers that try to connect but |
| 1067 |
* we don't have a connect {} block for. Twits with misconfigured |
| 1068 |
* servers can get really annoying with this enabled. |
| 1069 |
*/ |
| 1070 |
warn_no_nline = yes; |
| 1071 |
|
| 1072 |
/* |
| 1073 |
* stats_e_disabled: set this to 'yes' to disable "STATS e" for both |
| 1074 |
* operators and administrators. Doing so is a good idea in case |
| 1075 |
* there are any exempted (exempt{}) server IPs you don't want to |
| 1076 |
* see leaked. |
| 1077 |
*/ |
| 1078 |
stats_e_disabled = no; |
| 1079 |
|
| 1080 |
/* stats_o_oper only: make stats o (opers) oper only */ |
| 1081 |
stats_o_oper_only = yes; |
| 1082 |
|
| 1083 |
/* stats_P_oper_only: make stats P (ports) oper only */ |
| 1084 |
stats_P_oper_only = yes; |
| 1085 |
|
| 1086 |
/* |
| 1087 |
* stats i oper only: make stats i (auth {}) oper only. set to: |
| 1088 |
* yes: show users no auth blocks, made oper only. |
| 1089 |
* masked: show users first matching auth block |
| 1090 |
* no: show users all auth blocks. |
| 1091 |
*/ |
| 1092 |
stats_i_oper_only = yes; |
| 1093 |
|
| 1094 |
/* |
| 1095 |
* stats_k_oper_only: make stats k/K (klines) oper only. set to: |
| 1096 |
* yes: show users no auth blocks, made oper only |
| 1097 |
* masked: show users first matching auth block |
| 1098 |
* no: show users all auth blocks. |
| 1099 |
*/ |
| 1100 |
stats_k_oper_only = yes; |
| 1101 |
|
| 1102 |
/* |
| 1103 |
* caller_id_wait: time between notifying a +g user that somebody |
| 1104 |
* is messaging them. |
| 1105 |
*/ |
| 1106 |
caller_id_wait = 1 minute; |
| 1107 |
|
| 1108 |
/* |
| 1109 |
* opers_bypass_callerid: allows operators to bypass +g and message |
| 1110 |
* anyone who has it set (useful if you use services). |
| 1111 |
*/ |
| 1112 |
opers_bypass_callerid = no; |
| 1113 |
|
| 1114 |
/* |
| 1115 |
* pace_wait_simple: time between use of less intensive commands |
| 1116 |
* (ADMIN, HELP, (L)USERS, VERSION, remote WHOIS) |
| 1117 |
*/ |
| 1118 |
pace_wait_simple = 1 second; |
| 1119 |
|
| 1120 |
/* |
| 1121 |
* pace_wait: time between more intensive commands |
| 1122 |
* (AWAY, INFO, LINKS, MAP, MOTD, STATS, WHO, wildcard WHOIS, WHOWAS) |
| 1123 |
*/ |
| 1124 |
pace_wait = 10 seconds; |
| 1125 |
|
| 1126 |
/* |
| 1127 |
* short_motd: send clients a notice telling them to read the motd |
| 1128 |
* instead of forcing a motd to clients who may simply ignore it. |
| 1129 |
*/ |
| 1130 |
short_motd = no; |
| 1131 |
|
| 1132 |
/* |
| 1133 |
* ping_cookie: require clients to respond exactly to a ping command, |
| 1134 |
* can help block certain types of drones and FTP PASV mode spoofing. |
| 1135 |
*/ |
| 1136 |
ping_cookie = no; |
| 1137 |
|
| 1138 |
/* no_oper_flood: increase flood limits for opers. */ |
| 1139 |
no_oper_flood = yes; |
| 1140 |
|
| 1141 |
/* |
| 1142 |
* true_no_oper_flood: completely eliminate flood limits for opers |
| 1143 |
* and for clients with can_flood = yes in their auth {} blocks |
| 1144 |
*/ |
| 1145 |
true_no_oper_flood = yes; |
| 1146 |
|
| 1147 |
/* oper_pass_resv: allow opers to over-ride RESVs on nicks/channels */ |
| 1148 |
oper_pass_resv = yes; |
| 1149 |
|
| 1150 |
/* REMOVE ME. The following line checks you've been reading. */ |
| 1151 |
havent_read_conf = 1; |
| 1152 |
|
| 1153 |
/* |
| 1154 |
* max_targets: the maximum amount of targets in a single |
| 1155 |
* PRIVMSG/NOTICE. Set to 999 NOT 0 for unlimited. |
| 1156 |
*/ |
| 1157 |
max_targets = 4; |
| 1158 |
|
| 1159 |
/* |
| 1160 |
* message_locale: the default message locale |
| 1161 |
* Use "standard" for the compiled in defaults. |
| 1162 |
* To install the translated messages, go into messages/ in the |
| 1163 |
* source directory and run `make install'. |
| 1164 |
*/ |
| 1165 |
message_locale = "standard"; |
| 1166 |
|
| 1167 |
/* |
| 1168 |
* usermodes configurable: a list of usermodes for the options below |
| 1169 |
* |
| 1170 |
* +b - bots - See bot and drone flooding notices |
| 1171 |
* +c - cconn - Client connection/quit notices |
| 1172 |
* +C - cconn_full - Client connection/quit notices full |
| 1173 |
* +D - deaf - Don't receive channel messages |
| 1174 |
* +d - debug - See debugging notices |
| 1175 |
* +e - external - See remote server connection and split notices |
| 1176 |
* +f - full - See auth{} block full notices |
| 1177 |
* +G - softcallerid - Server Side Ignore for users not on your channels |
| 1178 |
* +g - callerid - Server Side Ignore (for privmsgs etc) |
| 1179 |
* +H - hidden - Hides operator status to other users |
| 1180 |
* +i - invisible - Not shown in NAMES or WHO unless you share a |
| 1181 |
* a channel |
| 1182 |
* +j - rej - See rejected client notices |
| 1183 |
* +k - skill - See server generated KILL messages |
| 1184 |
* +l - locops - See LOCOPS messages |
| 1185 |
* +n - nchange - See client nick changes |
| 1186 |
* +s - servnotice - See general server notices |
| 1187 |
* +u - unauth - See unauthorized client notices |
| 1188 |
* +w - wallop - See server generated WALLOPS |
| 1189 |
* +y - spy - See LINKS, STATS, TRACE notices etc. |
| 1190 |
* +z - operwall - See oper generated WALLOPS |
| 1191 |
*/ |
| 1192 |
|
| 1193 |
/* oper_only_umodes: usermodes only opers may set */ |
| 1194 |
oper_only_umodes = bots, cconn, cconn_full, debug, full, hidden, skill, |
| 1195 |
nchange, rej, spy, external, operwall, |
| 1196 |
locops, unauth; |
| 1197 |
|
| 1198 |
/* oper_umodes: default usermodes opers get when they /oper */ |
| 1199 |
oper_umodes = bots, locops, servnotice, operwall, wallop; |
| 1200 |
|
| 1201 |
/* |
| 1202 |
* use_egd: if your system does not have *random devices yet you |
| 1203 |
* want to use OpenSSL and encrypted links, enable this. Beware - |
| 1204 |
* EGD is *very* CPU intensive when gathering data for its pool |
| 1205 |
*/ |
| 1206 |
# use_egd = yes; |
| 1207 |
|
| 1208 |
/* |
| 1209 |
* egdpool_path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7 |
| 1210 |
* which automatically finds the path. |
| 1211 |
*/ |
| 1212 |
# egdpool_path = "/var/run/egd-pool"; |
| 1213 |
|
| 1214 |
/* |
| 1215 |
* throttle_time: the minimum amount of time between connections from |
| 1216 |
* the same ip. exempt {} blocks are excluded from this throttling. |
| 1217 |
* Offers protection against flooders who reconnect quickly. |
| 1218 |
* Set to 0 to disable. |
| 1219 |
*/ |
| 1220 |
throttle_time = 0; |
| 1221 |
}; |
| 1222 |
|
| 1223 |
modules { |
| 1224 |
/* |
| 1225 |
* path: other paths to search for modules specified below |
| 1226 |
* and in "/module load". |
| 1227 |
*/ |
| 1228 |
path = "/usr/local/ircd/lib/ircd-hybrid/modules"; |
| 1229 |
path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload"; |
| 1230 |
|
| 1231 |
/* module: the name of a module to load on startup/rehash */ |
| 1232 |
#module = "some_module.la"; |
| 1233 |
}; |
| 1234 |
|
| 1235 |
/* |
| 1236 |
* log {}: contains information about logfiles. |
| 1237 |
*/ |
| 1238 |
log { |
| 1239 |
/* Do you want to enable logging to ircd.log? */ |
| 1240 |
use_logging = yes; |
| 1241 |
|
| 1242 |
file { |
| 1243 |
type = oper; |
| 1244 |
name = "/home/ircd/var/log/oper.log"; |
| 1245 |
size = unlimited; |
| 1246 |
}; |
| 1247 |
|
| 1248 |
file { |
| 1249 |
type = user; |
| 1250 |
name = "/home/ircd/var/log/user.log"; |
| 1251 |
size = 50 megabytes; |
| 1252 |
}; |
| 1253 |
|
| 1254 |
file { |
| 1255 |
type = kill; |
| 1256 |
name = "/home/ircd/var/log/kill.log"; |
| 1257 |
size = 50 megabytes; |
| 1258 |
}; |
| 1259 |
|
| 1260 |
file { |
| 1261 |
type = kline; |
| 1262 |
name = "/home/ircd/var/log/kline.log"; |
| 1263 |
size = 50 megabytes; |
| 1264 |
}; |
| 1265 |
|
| 1266 |
file { |
| 1267 |
type = dline; |
| 1268 |
name = "/home/ircd/var/log/dline.log"; |
| 1269 |
size = 50 megabytes; |
| 1270 |
}; |
| 1271 |
|
| 1272 |
file { |
| 1273 |
type = gline; |
| 1274 |
name = "/home/ircd/var/log/gline.log"; |
| 1275 |
size = 50 megabytes; |
| 1276 |
}; |
| 1277 |
|
| 1278 |
file { |
| 1279 |
type = debug; |
| 1280 |
name = "/home/ircd/var/log/debug.log"; |
| 1281 |
size = 50 megabytes; |
| 1282 |
}; |
| 1283 |
}; |