--- thttpd/thttpd.8 2001/06/18 21:11:57 1.1 +++ thttpd/thttpd.8 2001/06/18 22:10:09 1.1.4.2 @@ -19,6 +19,10 @@ .IR cgipat ] .RB [ -t .IR throttles ] +.RB [ -n +.lR connections ] +.RB [ -o +.lR timeout ] .RB [ -h .IR host ] .RB [ -l @@ -116,6 +120,17 @@ See below for details. The config-file option name for this flag is "throttles". .TP +.B -n +Specifies the number of connections one IP address may have at one time. +A 403 is returned, and the host with the IP address will be blocked for the timeout specified with -o. +The config-file option name for this flag is "connections", it defaults to 0, which means no limit. +A request which is blocked will receive "err403blocked.html" if it exists. +.TP +.B -o +Specifies the time in seconds that a host who was blocked because of too many connections is totally blocked from the server. +The config-file option name for this flag is "blocktime", +and the config.h option is DEFAULT_BLOCKTIME. +.TP .B -h Specifies a hostname to bind to, for multihoming. The default is to bind to all hostnames supported on the local machine.