| 1 |
|
/* doc/example.conf - ircd-hybrid-7 Example configuration file |
| 2 |
< |
* Copyright (C) 2000-2006 Hybrid Development Team |
| 2 |
> |
* Copyright (C) 2000-2009 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 |
| 76 |
|
|
| 77 |
|
/* |
| 78 |
|
* vhost: the IP to bind to when we connect outward to ipv4 servers. |
| 79 |
< |
* This should be an ipv4 IP only, or "* for INADDR_ANY. |
| 79 |
> |
* This should be an ipv4 IP only, or "*" for INADDR_ANY. |
| 80 |
|
*/ |
| 81 |
|
#vhost = "192.169.0.1"; |
| 82 |
|
|
| 83 |
|
/* |
| 84 |
|
* vhost6: the IP to bind to when we connect outward to ipv6 servers. |
| 85 |
< |
* This should be an ipv6 IP only, or "* for INADDR_ANY. |
| 85 |
> |
* This should be an ipv6 IP only, or "*" for INADDR_ANY. |
| 86 |
|
*/ |
| 87 |
|
#vhost6 = "3ffe:80e8:546::2"; |
| 88 |
|
|
| 90 |
|
max_clients = 512; |
| 91 |
|
|
| 92 |
|
/* |
| 93 |
< |
* rsa key: the path to the file containing our rsa key for cryptlink. |
| 93 |
> |
* rsa_private_key_file: the path to the file containing our |
| 94 |
> |
* rsa key for cryptlink. |
| 95 |
|
* |
| 96 |
|
* Example command to store a 2048 bit RSA keypair in |
| 97 |
|
* rsa.key, and the public key in rsa.pub: |
| 105 |
|
#rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; |
| 106 |
|
|
| 107 |
|
/* |
| 108 |
< |
* ssl certificate: the path to the file containing our ssl certificate |
| 108 |
> |
* ssl_certificate_file: the path to the file containing our |
| 109 |
> |
* ssl certificate |
| 110 |
|
* for encrypted client connection. |
| 111 |
|
* |
| 112 |
|
* This assumes your private RSA key is stored in rsa.key. You |
| 124 |
|
* E-mail: you@domain.com |
| 125 |
|
*/ |
| 126 |
|
#ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; |
| 127 |
+ |
|
| 128 |
+ |
/* |
| 129 |
+ |
* ssl_server_protocol: |
| 130 |
+ |
* SSL/TLS protocols we provide for incoming secure connections. |
| 131 |
+ |
* This can be either sslv3 for SSLv3, and/or tlsv1 for TLSv1. |
| 132 |
+ |
* SSLv2 is not suppported. This cannot be changed at runtime. |
| 133 |
+ |
*/ |
| 134 |
+ |
#ssl_server_protocol = sslv3, tlsv1; |
| 135 |
|
}; |
| 136 |
|
|
| 137 |
|
/* |
| 269 |
|
* unless you are an administrator. |
| 270 |
|
* |
| 271 |
|
* NOTE: The "flags" directive has to come before "port". Always! |
| 272 |
+ |
* |
| 273 |
+ |
* Currently available flags are: |
| 274 |
+ |
* |
| 275 |
+ |
* ssl - Port is for SSL client connections only |
| 276 |
+ |
* server - Only server connections are permitted |
| 277 |
+ |
* hidden - Port is hidden from /stats P |
| 278 |
|
*/ |
| 279 |
|
flags = hidden, ssl; |
| 280 |
|
host = "192.168.0.1"; |
| 406 |
|
* |
| 407 |
|
* +b - bots - See bot and drone flooding notices |
| 408 |
|
* +c - cconn - Client connection/quit notices |
| 409 |
+ |
* +C - cconn_full - Client connection/quit notices full |
| 410 |
|
* +D - deaf - Don't receive channel messages |
| 411 |
|
* +d - debug - See debugging notices |
| 412 |
|
* +f - full - See I: line full notices |
| 438 |
|
* kline: allows KILL, KLINE and DLINE (OLD 'K' flag) |
| 439 |
|
* unkline: allows UNKLINE and UNDLINE (OLD 'U' flag) |
| 440 |
|
* gline: allows GLINE (OLD 'G' flag) |
| 441 |
< |
* xline: allows XLINE (OLD 'X' flag) |
| 441 |
> |
* xline: allows XLINE (OLD 'X' flag) |
| 442 |
|
* operwall: allows OPERWALL |
| 443 |
|
* nick_changes: allows oper to see nickchanges (OLD 'N' flag) |
| 444 |
|
* via usermode +n |
| 676 |
|
}; |
| 677 |
|
|
| 678 |
|
kill { |
| 679 |
< |
user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.org$"; |
| 679 |
> |
user = "^O[[:alpha:]]?[[:digit:]]+(x\.o|\.xo)$@^[[:alnum:]]{4}\.evilnet.tld$"; |
| 680 |
> |
|
| 681 |
> |
/* |
| 682 |
> |
* NOTE: You have to set type=regex; when using a regular expression |
| 683 |
> |
* based user entry |
| 684 |
> |
*/ |
| 685 |
|
type = regex; |
| 686 |
|
}; |
| 687 |
|
|
| 739 |
|
|
| 740 |
|
gecos { |
| 741 |
|
name = "^\[J[0o]hn Do[3e]\]-[0-9]{2,5}$"; |
| 742 |
+ |
|
| 743 |
+ |
/* |
| 744 |
+ |
* NOTE: You have to set type=regex; when using a regular expression |
| 745 |
+ |
* based name entry |
| 746 |
+ |
*/ |
| 747 |
|
type = regex; |
| 748 |
|
}; |
| 749 |
|
|
| 758 |
|
* |
| 759 |
|
* 2 | bold |
| 760 |
|
* 3 | mirc color |
| 761 |
< |
* 15 | plain text |
| 761 |
> |
* 15 | plain text |
| 762 |
|
* 22 | reverse |
| 763 |
|
* 31 | underline |
| 764 |
|
* 160 | non-breaking space |
| 799 |
|
* knock_delay: The amount of time a user must wait between issuing |
| 800 |
|
* the knock command. |
| 801 |
|
*/ |
| 802 |
< |
knock_delay = 1 minutes; |
| 802 |
> |
knock_delay = 5 minutes; |
| 803 |
|
|
| 804 |
|
/* |
| 805 |
|
* knock_delay_channel: How often a knock to any specific channel |
| 853 |
|
*/ |
| 854 |
|
default_split_server_count = 0; |
| 855 |
|
|
| 856 |
< |
/* split no create: disallow users creating channels on split. */ |
| 856 |
> |
/* no_create_on_split: disallow users creating channels on split. */ |
| 857 |
|
no_create_on_split = yes; |
| 858 |
|
|
| 859 |
< |
/* split: no join: disallow users joining channels at all on a split */ |
| 859 |
> |
/* no_join_on_split: disallow users joining channels at all on a split. */ |
| 860 |
|
no_join_on_split = no; |
| 861 |
|
}; |
| 862 |
|
|
| 901 |
|
hidden_name = "*.hidden.com"; |
| 902 |
|
|
| 903 |
|
/* |
| 904 |
< |
* hide_server_ips: If this is disabled, opers will be unable to see servers |
| 905 |
< |
* ips and will be shown a masked ip, admins will be shown the real ip. |
| 906 |
< |
* |
| 907 |
< |
* If this is enabled, nobody can see a servers ip. *This is a kludge*, it |
| 908 |
< |
* has the side effect of hiding the ips everywhere, including logfiles. |
| 904 |
> |
* hide_server_ips: If this is disabled, opers will be unable to see |
| 905 |
> |
* servers ips and will be shown a masked ip, admins will be shown the |
| 906 |
> |
* real ip. |
| 907 |
> |
* |
| 908 |
> |
* If this is enabled, nobody can see a servers ip. *This is a kludge*, |
| 909 |
> |
* it has the side effect of hiding the ips everywhere, including |
| 910 |
> |
* logfiles. |
| 911 |
|
* |
| 912 |
|
* We recommend you leave this disabled, and just take care with who you |
| 913 |
|
* give admin=yes; to. |
| 920 |
|
* compiled in options in config.h. The general block is read at start time. |
| 921 |
|
*/ |
| 922 |
|
general { |
| 923 |
< |
/* max_watch: maximum WATCH entries */ |
| 923 |
> |
/* max_watch: maximum WATCH entries a client can have. */ |
| 924 |
|
max_watch = 64; |
| 925 |
|
|
| 926 |
|
/* |
| 1186 |
|
* |
| 1187 |
|
* +b - bots - See bot and drone flooding notices |
| 1188 |
|
* +c - cconn - Client connection/quit notices |
| 1189 |
+ |
* +C - cconn_full - Client connection/quit notices full |
| 1190 |
|
* +D - deaf - Don't receive channel messages |
| 1191 |
|
* +d - debug - See debugging notices |
| 1192 |
|
* +f - full - See I: line full notices |
| 1303 |
|
|
| 1304 |
|
modules { |
| 1305 |
|
/* |
| 1306 |
< |
* module path: other paths to search for modules specified below |
| 1306 |
> |
* path: other paths to search for modules specified below |
| 1307 |
|
* and in /modload. |
| 1308 |
|
*/ |
| 1309 |
< |
path = "@datadir@/modules"; |
| 1310 |
< |
path = "@datadir@/autoload"; |
| 1309 |
> |
path = "@LIBDIR@/modules"; |
| 1310 |
> |
path = "@LIBDIR@/modules/autoload"; |
| 1311 |
|
|
| 1312 |
|
/* module: the name of a module to load on startup/rehash */ |
| 1313 |
< |
#module = "some_module.so"; |
| 1313 |
> |
#module = "some_module.la"; |
| 1314 |
|
}; |