Project

General

Profile

Actions

Docs ModEvasive » History » Revision 5

« Previous | Revision 5/15 (diff) | Next »
tsj5j, 2007-05-30 11:47


{{{
#!rst =================
Limit Connections =================

-------------------
Module: mod_evasive
-------------------

.. meta::
:keywords: limit, connections, evasive, mod_evasive

.. contents:: Table of Contents

Description ===========

mod_evasive is a very simplistic module to limit connections per IP.

Options =======

evasive.max-conns-per-ip

limits the number of connections per IP.
e.g.: ::
evasive.max-conns-per-ip = 3
IMPORTANT : Please read the limitations section.

Limitations ===========

One must note that the mod_evasive does not obey conditionals.
Also, in only respects the first time it is set.

eg.: ::

evasive.max-conns-per-ip = 1
$HTTP["host"] == "example.com" {
evasive.max-conns-per-ip = 999
}
$HTTP["host"] == "example2.com" {
evasive.max-conns-per-ip = 100
}

In this case, regardless of example.com or example2.com, mod_evasive will be set to 1.

Additional Resources ==================== * [wiki:Docs:ConfigurationOptions#Optionsformod_evasive-evasivemoduleversion1.5.0]Options for mod_evasive - evasive module (version 1.5.0)] * And [source:/trunk/src/mod_evasive.c the module source code]

Updated by tsj5j about 13 years ago · 5 revisions