Results 1 to 1 of 1
-
15th Jun 2014, 02:23 PM #1
Apache 1.3 and 2.0 Flood/DoS/DDoS Protection with mod_dosevasive (Avoiding Denial of Service Attacks)
With the widespread infection of many computers with viruses, and the ever increasing number of Botnets, DoS and DDoS attacks can be quite frequent and can very easily bring a website to halt for days. This article provides a module solution for apache to help mitigate small http DoS and DDoS attacks.
Download the latest version of mod_dosevasive from: Encountered a 404 error
Code:The lastest version is 1.10 (http://www.nuclearelephant.com/projects/dosevasive/mod_dosevasive_1.10.tar.gz)
Code:tar zxvf mod_dosevasive_1.10.tar.gz
Code:cd mod_dosevasive
Code:/usr/local/apache/bin/apxs -i -a -c mod_dosevasive20.c
/usr/local/apache/bin/apxs -i -a -c mod_dosevasive.c
Replace /usr/local/apache with your path to apache.
Add:
<IfModule mod_dosevasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
DOSEmailNotify someuser@somedomain.com
DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
</IfModule>- DOSHashTableSize: is the size of the table of URL and IP combined
- DOSPageCount: is the number of same page requests from the same IP during an interval that will cause that IP to be added to the block list.
- DOSSiteCount: is the number of pages requested of a site by the same IP during an interval which will cause the IP to be added to the block list.
- DOSPageInterval: is the interval that the hash table for IPs and URLs is erased (in seconds)
- DOSSiteInterval: is the intervale that the hash table of IPs is erased (in seconds)
- DOSBlockingPeriod: is the time the IP is blacked (in seconds)
- DOSEmailNotify: can be used to notify by sending an email everytime an IP is blocked
- DOSSystemCommand: is the command used to execute a command when an IP is blocked. It can be used to add a block the user from a firewall or router.
- DOSWhiteList: can be used to whitelist IPs such as 127.0.0.1Areon Reviewed by Areon on . Apache 1.3 and 2.0 Flood/DoS/DDoS Protection with mod_dosevasive (Avoiding Denial of Service Attacks) With the widespread infection of many computers with viruses, and the ever increasing number of Botnets, DoS and DDoS attacks can be quite frequent and can very easily bring a website to halt for days. This article provides a module solution for apache to help mitigate small http DoS and DDoS attacks. Download the latest version of mod_dosevasive from: Encountered a 404 error The lastest version is 1.10 (http://www.nuclearelephant.com/projects/dosevasive/mod_dosevasive_1.10.tar.gz) Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need help regarding Apache Linux PHP and Perl?
By Mind Trainer in forum Web Application/Script SupportReplies: 0Last Post: 11th Apr 2012, 02:28 AM -
Remove comments, ads and everything else you do not need to see a video clip
By Daniel in forum Tutorials and GuidesReplies: 0Last Post: 2nd Nov 2011, 08:30 AM -
Please I Need Clear Info bout What VPS is and what i can do with it??
By myincome2020 in forum Hosting DiscussionReplies: 12Last Post: 7th Jul 2011, 11:36 AM -
How and What should i do to start a warez blog
By MASK ^_^ MAN in forum Technical Help Desk SupportReplies: 1Last Post: 15th Apr 2011, 01:51 PM -
List of bad IPs engaging in Denial Of Service attacks and Hacking attempts
By NewEraCracker in forum Webmaster DiscussionReplies: 22Last Post: 8th Apr 2011, 04:58 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...