From 3185d7edde8ffc7672aa7d771966b0f1e0158aea Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 24 Apr 2003 22:30:38 +0000 Subject: 2003-04-24 Havoc Pennington * test/data/valid-config-files/basic.conf: add tags to this test * bus/config-parser.h, bus/config-parser.c, bus/bus.c: Implement tag in configuration file. --- doc/config-file.txt | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/config-file.txt b/doc/config-file.txt index 62bb4137..ed3cdfab 100644 --- a/doc/config-file.txt +++ b/doc/config-file.txt @@ -131,7 +131,35 @@ Elements: Appears below a element and establishes a resource limit. For example: 64 - 512 + 512 + + Available limits are: + "max_incoming_bytes" : total size in bytes of messages + incoming from a connection + "max_outgoing_bytes" : total size in bytes of messages + queued up for a connection + "max_message_size" : max size of a single message in + bytes + "activation_timeout" : milliseconds (thousandths) until + an activated service has to connect + "auth_timeout" : milliseconds (thousandths) a + connection is given to + authenticate + "max_completed_connections" : max number of authenticated connections + "max_incomplete_connections" : max number of unauthenticated + connections + "max_connections_per_user" : max number of completed connections from + the same user + + Some notes: + + - the max incoming/outgoing queue sizes allow a new message + to be queued if one byte remains below the max. So you can + in fact exceed the max by max_message_size + + - max_completed_connections / max_connections_per_user is + the number of users that can work together to DOS all + other users by using up all connections send="messagename" -- cgit