How to Install mod_evasive


Mod_Evasive will help to stop basic attacks on a server (HTTP, DDoS attack and brute force attack). 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:

- Requesting the same page more than a few times per second
- Making more than 50 concurrent requests on the same child per second
- Making any requests while temporarily blacklisted (on a blocking list)

______________________________________________________________



Login to your server, on command line:

# /usr/local/srcwget http://www.nuclearelephant.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz

# tar -zxvf mod_evasive_1.10.1.tar.gz
# cd mod_evasive

If you are using apache 1.3.x :
# /usr/local/apache/bin/apxs -cia mod_evasive.c

And add this to httpd.conf:
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600


If you are using apache 2.0.x :
# /usr/sbin/apxs -cia mod_evasive20.c

Add this to httpd.conf:
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600


Restart apache and the installation should be complete.
/etc/init.d/httpd restart

25 comments:

  • Jerrell Fluck

    Hey guys i want to share with you a way i make $500 daily and i only spend 5 minuites doing it a day! I strongly suggest you check their site out as there is really a brilliant video that explains every thing you need to know. Check them out at DOMINATE MOBILE MARKETING

  • Thank you for posting such a useful website. Your weblog happens to be not just informative but also very stimulating too. There are a limited number of people who are capable of write technical articles that creatively. we are on the lookout for information regarding this topic. We ourselves went through several websites to find knowledge with regard to this.I will keep coming back !!

  • Dreamin. I love blogging. You all express your feelings the right way, because they are your feeling, focus on your blog it is great.

  • Harlan Sotiriou

    I really enjoyed the post, I'll be back!

  • jessica biel

    You're awesome thanks for the post friend.

  • natalie portman

    I really enjoyed the post, I'll be back!

  • Marlin Dailey

    Very well articulated thank you.

  • Rosana Valadao

    Excellently written my friend!

  • You're awesome thanks for the post friend.

  • I really enjoyed the post, I'll be back!

  • Andre Gaetz

    I enjoyed the post, keep up the good work and I look forward to the next one...

  • Belinda Helena

    Have a grateful day today on this fine sunday.

  • sale ugg

    Thank God! thanks for the replay mate…It really is good to temper expectations early, Just wait until he tweets about dinner with Digger Phelps.

  • xea s dog

    Top drawer posting my friend! I look forward to the next one so don't take too long in putting it up please!

  • Real Estate Bloomsburg PA

    You're obviously an expert in your field...if you ever hapen to need a real estate expert in the Jacksonville, Florida are let me know.

  • boots ugg

    This one is really great. Just found your blog through another blog. What a great project! I love toys, I love photographs -- you have just made my day! Thank you! ~Lisa~I'm not very good at English but I hope you understand me ;)

  • Tuan Costen

    I'm the best SEO expert in all of Florida so if you ever need any help in promoting your website just let me know...thanks.

  • Motorcycle Fairing

    You completed a number of good points there. I did a search on the matter and found the majority of folks will go along with with your blog.

  • hyip monitor

    A successful blog needs unique, useful content that interests the readers

  • weightloss

    Maintain up the great work mate. This weblog publish shows how well you comprehend and know this subject.

  • Riki Suherman

    Vigrx Plus VigRX Plus expands the blood vessels leading to the

  • Post a Comment