Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Mod Evasive install help
PostPosted: Tue Jul 10, 2012 2:44 pm 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
http://library.linode.com/web-servers/a ... od-evasive

http://www.linuxlog.org/?p=135

hi! im trying to install mod_evasive on a ubuntu 10.04 LTS via both guides above but cannot seem to get apxs to run. So i manually added it into my apache2.conf file:


Code:
LoadModule evasive20_module /usr/lib/apache2/modules/mod_evasive20.so
<IfModule mod_evasive20.c>
  DOSHashTableSize    3097
  DOSPageCount        2
  DOSSiteCount        50
  DOSPageInterval     1
  DOSSiteInterval     1
  DOSBlockingPeriod   10
</IfModule>


But doesn't appear to work when i run the test, everything goes through which means it's not working.

root@neomalle:~# perl test.pl


HTTP/1.1 200 OK
HTTP/1.1 200 OK
x 100

Am i missing something? thanks

P.S. When i run sudo a2enmod mod-evasive, i get:

Module mod-evasive already enabled


Top
   
PostPosted: Wed Jul 11, 2012 4:26 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
I remember having trouble with apxs installation. On 10.04 it was in the package apache-dev, and was named apxs2.

James


Top
   
PostPosted: Wed Jul 11, 2012 7:57 am 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
Well i definitely managed to get it installed that way! But unfortunately, it doesnt seem to be working. restarted apache2 and the test.pl file keeps saying "HTTP 200 ok" Coming from shared hosting, i know im a bit of a linux noob so im trying to figure things out so far! No idea what to do next lol. Someone keeps hitting my site's login form with hexadecimals and encoded text, etc etc (which increases CPU usage to 110%) so figured mod_evasive might come in handy


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mattltm and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group