Server Features
m |
m |
||
| Line 818: | Line 818: | ||
This HIDES the shun reason from the target when a shun is set on them (when TRUE). | This HIDES the shun reason from the target when a shun is set on them (when TRUE). | ||
| - | + | ==HIS_STATS_l== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS l</code> from users. | |
| - | + | ==HIS_STATS_c== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS c</code> from users. | |
| - | + | ==HIS_STATS_g== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS g</code> from users. | |
| - | + | ==HIS_STATS_h== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS h</code> from users. | |
| - | + | ==HIS_STATS_k== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS k</code> from users. | |
| - | + | ==HIS_STATS_f== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS f</code> from users. | |
| - | + | ==HIS_STATS_i== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS i</code> from users. | |
| - | + | ==HIS_STATS_j== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS j</code> from users. | |
| - | + | ==HIS_STATS_M== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS M</code> from users. | |
| - | + | ==HIS_STATS_m== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS m</code> from users. | |
| - | + | ==HIS_STATS_o== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS o</code> from users. | |
| - | + | ==HIS_STATS_p== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS p</code> from users. | |
| - | + | ==HIS_STATS_q== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS q</code> from users. | |
| - | + | ==HIS_STATS_r== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS r</code> from users. | |
| - | + | ==HIS_STATS_d== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS d</code> from users. | |
| - | + | ==HIS_STATS_E== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS E</code> from users. | |
| - | + | ==HIS_STATS_e== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | This removes <code>/STATS e</code> from users. | |
| - | + | ==HIS_STATS_t== | |
| - | + | * '''Type:''' boolean | |
| - | + | * '''Default:''' TRUE | |
| - | + | ||
| - | + | ||
| - | + | This removes <code>/STATS t</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_T== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS T</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_u== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS u</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_U== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS U</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_v== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS v</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_w== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS w</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_W== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS W</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_x== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS x</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_y== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS y</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_STATS_z== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes <code>/STATS z</code> from users. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_WHOIS_SERVERNAME== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes server names in replies to <code>/WHOIS</code>. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_WHOIS_IDLETIME== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes idle time in replies to <code>/WHOIS</code>. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_WHOIS_LOCALCHAN== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes local channels in replies to <code>/WHOIS</code>. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_WHO_SERVERNAME== | |
| + | * '''Type: boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This removes server names in replies to <code>/WHO</code>. | |
| - | + | ||
| - | + | ||
| - | + | ==HIS_WHO_HOPCOUNT== | |
| + | * '''Type:''' boolean | ||
| + | * '''Default:''' TRUE | ||
| - | + | This replaces hopcount to a static 3 in replies to <code>/WHO</code>. | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
HIS_BANWHO | HIS_BANWHO | ||
Revision as of 09:52, 8 January 2009
This document is intended to document features which may be defined in the server configuration file, ircd.conf. PLEASE NOTE THAT THE NAMES OF THESE FEATURES ARE CASE SENSITIVE! Values are not case sensitive unless otherwise noted in the documetation for that specific feature. And, although logging is also configuried through F-lines, it is documented in doc/readme.log.
DOMAINNAME
- Type: string
- Default: ircd.darenet
This option allows you to specify what you consider to be "local." It is only used for statisyical purposes. When the IRC command /STATS w is issued, the server will respond with statistics of how many clients have been connecting to the server in the last minute, hour and day. It will give these statistics for all connections (including the servers), all clients (from anywhere) and also for clients whose hostname ends on the domain you specify here.
So if you are an ISP and you want to know what the client load from your own domain is, specify that domain here. If you are unsure what to do, then it isn't really important what you give here, just don't give an empty string. A good guess is the last two parts of your own hostname (i.e., if your hostname is foo.bar.nowhere.org, specify "nowhere.org"). Note that the string you give should NOT start with a "." and you should not use quotes.
RELIABLE_CLOCK
- Type: boolean
- Default: FALSE
You should really ONLY specify "TRUE" here when your system clock is stable and accurate at all times (within a few seconds). If you are running ntpdate on a regular basis, or an equivalent like xntpd, to keep your system clock synchronized over the network, then you might have an accurate clock. However, this is not guaranteed; for example, it is known that xntpd gives unstable results on Linux in some cases.
Note that an unstable clock is worse then an clock that has a constant offset, because the servers attempt to correct for a constant offset, but do not correct jumps of your system clock! In general you SHOULD be running ntpdate or equivalent AND make sure it works when you run a production server on DareNET. Otherwise leave your clock alone and specify "FALSE" here. If unsure specify "FALSE"!
BUFFERPOOL
- Type: integer
- Default: 27000000
This specifies the maximum amount of RAM that your server will allocate for buffering sendQs. Small leafs can use a value as little as 1000000, while large HUBs need to specify a value as high as 20000000. If you run out of memory, clients and/or servers are dropped with the error "Buffer allocation error"; then you will have to increase this number (and install more RAM if appropriate).
If you want a more educated guess for this value then realize that any valueis good if you _really_ would rather drop servers and clients than allocate more memory; this will be the case when there is the danger you may run out of memory for other allocations. Even if you run the daemon on a dedicated machine, specifying all of the RAM you have is a bad thing, because running out of memory is a lot worse than dropping clients in a controlled way; if possible you should have memory left for all the internal structures (channels, clients, ban lists, receive buffers) at all times.
On average, clients seem to use 150 bytes of sendQ, but at peak moments this can easily increase to 2032 bytes per client (sendQs are allocated in chunks of 2032 bytes). The maximum possible amount that can be allocated for sendQs is the number of connected clients times whatever you specified as the maximum sendQ in your Y: lines in the ircd.conf file. That value will likely be larger then the amount of RAM you have. The educated guess I talked about earlier would be "number of clients" times * 2048 bytes + "size of net.burst" * n, where "n" is 1 for leafs and up to 5 for HUBs. The "size of net.burst" is about 125 bytes per online client (on the whole network). For large HUBs with 4000 clients on a network with 30,000 users, this results in 27 Mb. Leafs could use 12 Mb. Of course you can use less when you have less than 4000 local clients. This value is in bytes.
HAS_FERGUSON_FLUSHER
- Type: boolean
- Default: FALSE
If you have a server with a lot of resources available, this option will cause the server to attempt to flush its internal buffers before dropping clients during a net break. Don't define this if you don't know for certain; if you're not careful this can end up rebooting FreeBSD boxes. For more information, refer to freebsd.txt, also in this directory.
CLIENT_FLOOD
- Type: integer
- Default: 1024
Currently, everything that a client sends to a server is read by the server and stored in a buffer (the clients receive queue). The server will process messages from this queue one by one (running over all clients each time). When a client sends new messages faster they get processed, and the size of its receive buffer reaches this value, the client is dropped with the error "Excess flood." A reasonable value is 1024 bytes. The maximum size is 8000 bytes.
SERVER_PORT
- Type: integer
- Default: 7325
When an IRC operator attempts a connect to another server, he or she may not know which port the connect should go to. In this server version, that operator may use the special port 0, in which case the server will take the port from the C-line. If no port is specified in the C-line, however, the port specified by this option will be used instead.
NODEFAULTMOTD
- Type: boolean
- Default: TRUE
Every time a client connects to your server, the full Message of the Day (as specified by the T-lines or by the file specified by the MPATH option) is sent to the client. The server sends the Message of the Day even though many clients permit the user to ignore it. Many users never read the message of the day anyway, making it a huge waste of bandwidth. If you specify "TRUE" here, then the server won't send the MOTD to the client by default; instead, it will only tell the client when the MOTD was last changed, and give instructions on how to obtain it by typing /MOTD.
MOTD_BANNER
- Type: string
- Default: NULL
If you enable NODEFAULTMOTD, this specifies a one-line banner to be sent to the client in addition to the instructions mentioned above.
REMOTE_MOTD
- Type: boolean
- Default: FALSE
Controls the use of remote message of the day's.
PROVIDER
- Type: string
- Default: NULL
This string is added to the 001 numeric prefixed with "via" before the nick. It's used for providing promotional space to providers.
GEO_LOCATION
- Type: string
- Default: NULL
This string as added to the 003 numeric. It's used for providing the location of the server, eg "Staunton, MI, United States."
KILL_IPMISMATCH
- Type: boolean
- Default: FALSE
When a client connects to your server, the IP address of the client is reverse-resolved to obtain a hostname. Then that hostname is resolved to an IP address and compared with the IP address of the client. If they don't match, the client will appear with the IP address instead of the hostname, unless KILL_IPMISMATCH is "TRUE," in which case the cli