Lines 1-30
Link Here
|
1 |
mod_dosevasive is an evasive maneuvers module for Apache to provide evasive |
1 |
mod_dosevasive is an evasive maneuvers module for Apache to provide evasive |
2 |
action in the event of an HTTP DoS or DDoS attack or brute force attack. |
2 |
action in the event of an HTTP DoS or DDoS attack or brute force attack. It is |
3 |
It is also designed to be a detection and network management tool, and can be |
3 |
also designed to be a detection and network management tool, and can be easily |
4 |
easily configured to talk to ipchains, firewalls, routers, and etcetera. |
4 |
configured to talk to ipchains, firewalls, routers, and etcetera. |
5 |
mod_dosevasive presently reports abuses via email and syslog facilities. |
5 |
mod_dosevasive presently reports abuses via email and syslog facilities. |
6 |
|
6 |
|
7 |
Detection is performed by creating an internal dynamic hash table of IP |
|
|
8 |
Addresses and URIs, and denying any single IP address from any of the |
9 |
following: |
10 |
|
11 |
* Requesting the same page more than a few times per second |
12 |
* Making more than 50 concurrent requests on the same child per second |
13 |
* Making any requests while temporarily blacklisted (on a blocking list) |
14 |
|
15 |
This method has worked well in both single-server script attacks as well as |
16 |
distributed attacks, but just like other evasive tools, is only as useful to |
17 |
the point of bandwidth and processor consumption (e.g. the amount of bandwidth |
18 |
and processor required to receive/process/respond to invalid requests), which |
19 |
is why it's a good idea to integrate this with your firewalls and routers for |
20 |
maximum protection. |
21 |
|
22 |
This module instantiates for each listener individually, and therefore has a |
23 |
built-in cleanup mechanism and scaling capabilities. Because of this per-child |
24 |
design, legitimate requests are never compromised (even from proxies and NAT |
25 |
addresses) but only scripted attacks. Even a user repeatedly clicking on |
26 |
'reload' should not be affected unless they do it maliciously. mod_dosevasive |
27 |
is fully tweakable through the Apache configuration file, easy to incorporate |
28 |
into your web server, and easy to use. |
29 |
|
30 |
WWW: https://github.com/jzdziarski/mod_evasive |
7 |
WWW: https://github.com/jzdziarski/mod_evasive |