Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Tue 14 Jul '15 12:11 Post subject: mod_evasive :: Updated |
|
|
Apache mod_evasive (also formally known as Mod_dosevasive) helps to prevent HTTP DoS (DDoS) attacks or server brute force attacks. The module works it's magic by blocking access to your server from connections by the perpetrating single IP address that exceeded more than 50 concurrent connections to Apache or loading the same page more then a few times per second.
Detection is performed by creating an internal dynamic hash table of IP Addresses and URIs, and denying any single IP address from any of the following:
1. Requesting the same page more than a few times per second
2. Making more than 50 concurrent requests on the same child per second
3. Making any requests while temporarily blacklisted (on a blocking list)
The module will help protect against people sending too many requests to the webserver in an attempt to flood it. If it detects too many connections the offending ip will be blocked from the accessing apache for This is especially useful when the server is continuously getting attacked. With this default configuration it will block the offending ip for 10 minutes. If it continues to try and flood mod_evasive will automatically add more time to this.
Authors home at https://github.com/jvdmr/mod_evasive
Steffen
Last edited by Steffen on Mon 17 Jun '19 16:01; edited 1 time in total |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Mon 26 Aug '19 12:54 Post subject: |
|
|
Documentation: https://github.com/jvdmr/mod_evasive/blob/master/README.md
Updated to version 2.0, VS16 only.
Changes:
* Support for per-vhost configuration instead of only global
* Added DOSHTTPStatus directive
* evasive20_module is now simply called evasive_module
* Greg Smith's windows port added
When you update you have to change LoadModule evasive2_module modules/mod_evasive2.so to:
LoadModule evasive_module modules/mod_evasive.so
Last edited by admin on Mon 21 Oct '24 9:51; edited 1 time in total |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Sun 09 Feb '20 12:24 Post subject: |
|
|
Updated VS16 to version 2.2.0
In this release, added a new configuration option DOSWhitelistUri which takes a Perl-style regex and matches it against the request's URI. If it matches, the request is allowed and not counted towards the DOS limit. |
|
Back to top |
|
first_family
Joined: 26 Mar 2020 Posts: 1 Location: Krasnodar, Russia
|
Posted: Thu 26 Mar '20 8:52 Post subject: |
|
|
DOSWhitelistUri is not working for me.
The error occurs:
Code: | Invalid command 'DOSWhitelistUri', perhaps misspelled or defined by a module not included in the server configuration. |
mod_evasive 2.2.0 win64, Apache 2.4.41 win64
-------
I read mod_evasive Windows code on Github. This future not implemented. Author released it only in mod_evasive24.c not in mod_evasive24win.c |
|
Back to top |
|
mrdj1024
Joined: 03 Apr 2023 Posts: 55 Location: Bridgeton,NJ,USA
|
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Mon 21 Oct '24 9:49 Post subject: |
|
|
Update to new 2.3.0
DOSWhitelistUri is now working. |
|
Back to top |
|