From 6c9cd4ca50a229ce7d260ad3c4a7a106fc277ab0 Mon Sep 17 00:00:00 2001
From: Jan Vidar Krey
Date: Thu, 15 Apr 2010 19:49:48 +0200
Subject: [PATCH] Fix some errors in the XML config spec.
---
src/core/config.xml | 286 ++++++++++++++++++++++----------------------
1 file changed, 143 insertions(+), 143 deletions(-)
diff --git a/src/core/config.xml b/src/core/config.xml
index 5789b49..eee5e80 100644
--- a/src/core/config.xml
+++ b/src/core/config.xml
@@ -3,9 +3,9 @@
Is server enabled
-
+
+ ]]>
0.1.3
@@ -13,21 +13,21 @@
0.1.0
Server port to bind to
- This is specifies the port number the hub should listen on.
+
Server bind address
-
+
When "any" or "loopback" is used, the hub will automatically detect if IPv6 is supported and prefer that.
-
+ ]]>
IPv4 address, IPv6 address, "any" or "loopback"
0.1.2
-
+
To listen to a specific IP:
server_bind_addr = "192.168.12.69"
@@ -40,183 +40,183 @@
Or to listen to any address including IPv6 (if supported):
server_bind_addr = "any"
-
+ ]]>
Server listen backlog
-
+
This specifies the number of connections the hub will be able to accept in the backlog before they must be processed by the hub.
A too low number here will mean the hub will not accept connections fast enough when users are reconnecting really fast. The hub should under normal circumstances be able to empty the listen backlog several times per second.
-
+ ]]>
0.3.0
Comma separated list of alternative ports to listen to
-
+
-
+ ]]>
+
+ ]]>
0.3.0
Show banner on connect
-
+
+ ]]>
0.1.0
Show banner on connect
-
+
This option has no effect if show_banner is disabled.
-
+ ]]>
0.3.0
Maximum number of users allowed on the hub
-
+
+ ]]>
0.1.0
-
+
max_users = 25
-
+ ]]>
Allow registered users only
-
+
+ ]]>
0.1.1
Support obsolete clients using a ADC protocol prior to 1.0
-
+
+ ]]>
0.3.1
Allow chat only operation on hub
-
+
+ ]]>
0.1.1
Allow chat for operators and above only
-
+
+ ]]>
0.2.4
Name of hub
-
+
+ ]]>
0.1.0
-
+
+ ]]>
Short hub description, topic or subject.
-
+
+ ]]>
0.1.0
-
+
+ ]]>
Max read buffer before parse, per user
-
+
+ ]]>
0.1.3
Max send buffer before disconnect, per user
-
+
+ ]]>
0.1.3
Max send buffer before message drops, per user
-
+
+ ]]>
0.1.3
Enable bandwidth saving measures
-
+
+ ]]>
0.2.2
Number of chat messages kept in history
-
+
+ ]]>
0.3.0
Number of log entries for people leaving the hub
-
+
+ ]]>
0.3.0
Max concurrent hubs as a guest user
-
+
+ ]]>
0 = off
0.2.0
@@ -224,9 +224,9 @@
Max concurrent hubs as a registered user
-
+
+ ]]>
0 = off
0.2.0
@@ -234,9 +234,9 @@
Max concurrent hubs as a operator (or admin)
-
+
+ ]]>
0 = off
0.2.0
@@ -244,10 +244,10 @@
Max total hub connections allowed, user/reg/op combined.
-
+
+ ]]>
0 = off
0.2.0
@@ -255,9 +255,9 @@
Minimum concurrent hubs as a guest user
-
+
+ ]]>
0 = off
0.2.0
@@ -265,9 +265,9 @@
Minimum concurrent hubs as a registered user
-
+
+ ]]>
0 = off
0.2.0
@@ -275,9 +275,9 @@
Minimum concurrent hubs as a operator (or admin)
-
+
+ ]]>
0 = off
0.2.0
@@ -285,23 +285,23 @@
Limit minimum share size in megabytes
-
+
+ ]]>
0 = off
0.2.0
-
+
limit_min_share = 1024
-
+ ]]>
Limit maximum share size in megabytes
-
+
+ ]]>
0 = off
0.2.0
@@ -310,9 +310,9 @@
Limit minimum number of upload slots open per user
-
+
+ ]]>
0 = off
0.2.0
@@ -320,9 +320,9 @@
Limit minimum number of upload slots open per user
-
+
+ ]]>
0 = off
0.2.0
@@ -330,42 +330,42 @@
Time interval in seconds for flood control check.
-
+
-
+ ]]>
+
flood_ctl_interval = 10
flood_ctl_chat = 5
-
+ ]]>
0 = off
0.3.1
Max chat messages allowed in time interval
-
+
+ ]]>
0 = off
0.3.1
Max connections requests allowed in time interval
-
+
+ ]]>
0 = off
0.3.1
Max search requests allowed in time interval
-
+
+ ]]>
0 = off
0.3.1
@@ -373,63 +373,63 @@
Max updates allowed in time interval
-
+
+ ]]>
0 = off
0.3.1
Max extra messages allowed in time interval
-
+
+ ]]>
0 = off
0.3.1
Enable SSL/TLS support
-
+
+ ]]>
0.3.0
If SSL/TLS enabled, should it be required (default: 0)
-
+
+ ]]>
0.3.0
Certificate file
-
+
+ ]]>
0.3.0
Private key file
-
+
+ ]]>
0.3.0
File containing the 'message of the day
-
+
+ ]]>
0.1.3
-
+
Unix users:
file_acl = "/etc/uhub/motd.txt"
@@ -438,18 +438,18 @@
Windows users:
file_acl = "c:\uhub\motd.txt"
-
+ ]]>
File containing access control lists
-
+
+ ]]>
0.1.3
-
+
Unix users:
file_acl = "/etc/uhub/users.conf"
@@ -458,17 +458,17 @@
Windows users:
file_acl = "c:\uhub\users.conf"
-
+ ]]>
File containing hub rules
-
+
+ ]]>
0.3.0
-
+
Unix users:
file_acl = "/etc/uhub/rules.txt"
@@ -477,187 +477,187 @@
Windows users:
file_acl = "c:\uhub\rules.txt"
-
+ ]]>
- This will be sent if the hub is full
+
0.2.0
- This will be sent if the hub is disabled (hub_enable = off)
+
0.2.0
- This will be sent if the hub is configured to only accept registered users (registered_users_only = yes)
+
0.2.0
- This is an error message that will be sent to clients that do not provide a nickname.
+
0.2.0
- This is an error message that will be sent to clients that provide multiple nicknames.
+
0.2.0
- This is an error message that will be sent to clients that provides an invalid nickname.
+
0.2.0
- This is an error message that will be sent to clients that provides a too long nickname.
+
0.2.0
- This is an error message that will be sent to clients that provides a too short nickname.
+
0.2.0
- This is an error message that will be sent to clients that provides a nickname that starts with a space.
+
0.2.0
- This is an error message that will be sent to clients that provides invalid characters in the nickname.
+
0.2.0
- This is an error message that will be sent to clients that provides a nick name that is not valid UTF-8 encoded.
+
0.2.0
- This message will be sent to clients if their provided nickname is alredy in use on the hub.
+
0.2.0
- This message will be sent to clients if they provide a restricted nickname. Restricted names can be configured in the acl.
+
0.2.0
- This is an error message that will be sent to clients that provides an invalid client ID (CID)
+
0.2.0
- This is an error message that will be sent to clients that does not provide a client ID (CID)
+
0.2.0
- This is an error message that will be sent to clients that provides a client ID (CID) already in use on the hub.
+
0.2.0
- This is an error message that will be sent to clients that does not provide a private ID (PID)
+
0.2.0
- This is an error message that will be sent to clients that provides an invalid private ID (PID)
+
0.2.0
- This message is sent to users if they are banned (see acl)
+
0.2.0
- This message is sent to users if they are banned temporarily
+
0.2.0
- This message is sent to users if they provide a wrong password.
+
0.2.0
- This message is used if a user cannot be found in the password database.
+
0.2.0
-
+
0.2.0
- This message is sent to users if they are not sharing enough.
+
0.2.0
- This message is sent to users if they are sharing too much.
+
0.2.0
- This message is sent to users if they do not have enough upload slots.
+
0.2.0
- This message is sent to users if they have too many upload slots.
+
0.2.0
- This message is sent to users if they are on too few other hubs.
+
0.2.0
- This message is sent to users if they are on too many other hubs.
+
0.2.0
- This message is sent once to users who are flooding the chat.
+
0.3.1
- This message is sent once to users who are sending too many connect requests too fast.
+
0.3.1
- This message is sent once to users who are sending too many search requests too fast.
+
0.3.1
- This message is sent once to users who are sending too many updates too fast.
+
0.3.1
- This message is sent once to users who are sending too many messages to the hub that neither are chat, searhes, updates nor connection requests..
+
0.3.1
- This message is sent if a client connects that does support ADC/1.0 but not a hash algorithm that the hub supports.
+
0.3.1
- This message is sent if a client connects that does not support ADC/1.0, but rather the obsolete ADC/0.1 version.
+
0.3.1