$Revision: 1.2 $
$Date: 2005/08/24 13:24:33 $

# Parameters

## `sampling_time_unit` (integer)

Time period used for sampling (or the sampling accuracy ;-) ). The smaller the better, but slower. If you want to detect peeks, use a small one. To limit the access (like total number of requests on a long period of time) to a proxy resource (a gateway for ex), use a bigger value of this parameter.

Default value is 2.

### Set `sampling_time_unit` parameter

    ...
    modparam("pike", "sampling_time_unit", 10)
    ...

## `reqs_density_per_unit` (integer)

How many requests should be allowed per sampling_time_unit before blocking all the incoming request from that IP. Practically, the blocking limit is between ( let's have x=reqs_density_per_unit) x and 3*x for IPv4 addresses and between x and 8*x for ipv6 addresses.

Default value is 30.

### Set `reqs_density_per_unit` parameter

    ...
    modparam("pike", "reqs_density_per_unit", 30)
    ...

## `remove_latency` (integer)

For how long the IP address will be kept in memory after the last request from that IP address. It's a sort of timeout value.

Default value is 120.

### Set `remove_latency` parameter

    ...
    modparam("pike", "remove_latency", 130)
    ...