Server Features
| Line 1: | Line 1: | ||
{{NeedUpdate}} | {{NeedUpdate}} | ||
| - | This | + | This page is an attempt to document the various features (f-lines) supported by ircd-darenet. While we'll try to update it after every release, we can't gurauntee it is 100% accurate / complete, since starting with version 1.2.2 a serious effort has been made to remove unneeded f-lines and merge them where it makes sense. Nonetheless, it's still a useful reference. |
| + | |||
==DOMAINNAME== | ==DOMAINNAME== | ||
| - | + | {| class="wikitable" | |
| - | + | | '''Type''' | |
| + | | string | ||
| + | |- | ||
| + | | '''Default:''' | ||
| + | | ircd.darenet | ||
| + | |} | ||
| - | This option allows | + | This option allows the server administrator to specify what should be consider "local." It is used for statistical purposes only. When the IRC command <code>/STATS w</code> is issued, the server will respond with statistics of how many clients have connected to the server in the last minute, hour and day. It lists these statistics for all connections (including 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 | + | So, if you are an ISP and would like to know what the client load on your own domain is, you could specify that domain here. If you are unsure what to do, then you don't need to specify this f-line at all. Whatever you do, don't give an empty string. Also, please note that the string you give should NOT start with a "." or use quotes. |
==RELIABLE_CLOCK== | ==RELIABLE_CLOCK== | ||
| - | + | {| class="wikitable" | |
| - | + | | '''Type''' | |
| + | | boolean | ||
| + | |- | ||
| + | | '''Default:''' | ||
| + | | FALSE | ||
| + | |} | ||
| - | You should | + | You should ONLY specify "TRUE" here when your system is 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 unreliable results on Linux in some cases. |
| - | Note that an | + | Note that an unreliable clock is worse than a 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== | ==BUFFERPOOL== | ||
| - | + | {| class="wikitable" | |
| - | + | | 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). | 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). | ||
| Line 30: | Line 45: | ||
==HAS_FERGUSON_FLUSHER== | ==HAS_FERGUSON_FLUSHER== | ||
| - | + | {| class="wikitable" | |
| - | + | | '''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 | + | 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. |
==CLIENT_FLOOD== | ==CLIENT_FLOOD== | ||
| - | + | {| class="wikitable" | |
| - | + | | '''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. | 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== | ==SERVER_PORT== | ||
| - | + | {| class="wikitable" | |
| - | + | | '''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. | 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== | ==NODEFAULTMOTD== | ||
| - | + | {| class="wikitable" | |
| - | + | | '''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. | 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. | ||
| Line 283: | Line 318: | ||
This is the maximum number of masks a user can silence at a time. The silence command allows users to filter messages directed at them from certain users or domains, at the source server. Increasing this number allows users to use up more memory with inefficient use of the command. If you're not sure, don't change this. | This is the maximum number of masks a user can silence at a time. The silence command allows users to filter messages directed at them from certain users or domains, at the source server. Increasing this number allows users to use up more memory with inefficient use of the command. If you're not sure, don't change this. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==HANGONGOODLINK== | ==HANGONGOODLINK== | ||
| Line 357: | Line 386: | ||
OMPATH is the filename (relative to DPATH) or the full path of the "Message of the Day" file. The contents of this file will be sent to every operator upon opering. | OMPATH is the filename (relative to DPATH) or the full path of the "Message of the Day" file. The contents of this file will be sent to every operator upon opering. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==RPATH== | ==RPATH== | ||
| Line 489: | Line 502: | ||
Extended oper levels can be enabled. Currently this adds support for a Server Administrator oper level, and a few additional privileges granted through oper flags. See example.conf for enabling these on your O:Line if using this feature. | Extended oper levels can be enabled. Currently this adds support for a Server Administrator oper level, and a few additional privileges granted through oper flags. See example.conf for enabling these on your O:Line if using this feature. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==POLICY_NOTICE== | ==POLICY_NOTICE== | ||
| Line 571: | Line 576: | ||
This configuration option provides a single switch to prevent the use of these features until the entire network has been upgraded. It is not required that all servers set this to "TRUE" in order for the features to be used. | This configuration option provides a single switch to prevent the use of these features until the entire network has been upgraded. It is not required that all servers set this to "TRUE" in order for the features to be used. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==HOST_IN_TOPIC== | ==HOST_IN_TOPIC== | ||
| Line 652: | Line 651: | ||
NOTE: On DareNET, users in this class will also be exempted from <code>/LIST</code> restrictions. Intended for IRC search crawlers (e.g. SearchIRC, netsplit.de, etc). | NOTE: On DareNET, users in this class will also be exempted from <code>/LIST</code> restrictions. Intended for IRC search crawlers (e.g. SearchIRC, netsplit.de, etc). | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==OPERMOTD== | ==OPERMOTD== | ||
| Line 663: | Line 657: | ||
Controls the use of the OPERMOTD command. | Controls the use of the OPERMOTD command. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==FLEXABLEKEYS== | ==FLEXABLEKEYS== | ||
| Line 723: | Line 705: | ||
Anyone in this class is immune to DNSBL checks if they are enabled. | Anyone in this class is immune to DNSBL checks if they are enabled. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==HIS_IRCOPS== | ==HIS_IRCOPS== | ||
| Line 1,133: | Line 1,107: | ||
The maximum results in a <code>/CHECK</code> response. | The maximum results in a <code>/CHECK</code> response. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==SWHOIS== | ==SWHOIS== | ||
| Line 1,243: | Line 1,131: | ||
One of the 3 unique host hiding keys used to encrypt style 2 hidden hosts. These must all be different. | One of the 3 unique host hiding keys used to encrypt style 2 hidden hosts. These must all be different. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==CTCP_VERSIONING== | ==CTCP_VERSIONING== | ||
| Line 1,389: | Line 1,197: | ||
If enabled then strict ident/username rules will be applied. | If enabled then strict ident/username rules will be applied. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==ZLINEMAXUSERCOUNT== | ==ZLINEMAXUSERCOUNT== | ||
| Line 1,413: | Line 1,215: | ||
How often a user can request /HELP (in seconds). | How often a user can request /HELP (in seconds). | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
==IPCHECK== | ==IPCHECK== | ||
Revision as of 08:22, 25 February 2009
This page is an attempt to document the various features (f-lines) supported by ircd-darenet. While we'll try to update it after every release, we can't gurauntee it is 100% accurate / complete, since starting with version 1.2.2 a serious effort has been made to remove unneeded f-lines and merge them where it makes sense. Nonetheless, it's still a useful reference.