#1  
Old 19th March 2007, 13:39
hans2512 hans2512 is offline
Junior Member
 
Join Date: Jun 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mod_evasive

Does someone have a howto to install Mod_evasive with ipsconfig
I tried this the normal way but this is not possible

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2007, 08:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,754
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

ISPConfig should not conflict with mod_evasive. Whats the exact problem you had?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th April 2011, 01:13
defconjuan defconjuan is offline
Junior Member
 
Join Date: Apr 2011
Posts: 17
Thanks: 1
Thanked 2 Times in 1 Post
 
Default Configs

I kept getting 403/denied errors after installing mod_evasive on my ubuntu 10.10/ISPConfig 3 setup. Basically, I was getting blocked for 10 seconds (the default blocking period) whenever I clicked too many links too quickly in ISPConfig. After some tweaking, I have a config that still protects it, but doesn't blockout real/normal users.

Here's the full mod_evasive install and working config (it's google bot safe):

Code:
> apt-get install libapache2-mod-evasive
> mkdir -p /var/log/apache2/evasive chown -R www-data:root /var/log/apache2/evasive
> nano /etc/apache2/mods-available/mod-evasive.load
And add make it look like so:

Code:
           LoadModule evasive20_module /usr/lib/apache2/modules/mod_evasive20.so
            <IfModule  mod_evasive20.c>
               DOSHashTableSize 2048
               DOSPageCount 10
               DOSSiteCount 200
               DOSPageInterval 2
               DOSSiteInterval 2
               DOSBlockingPeriod 10
               DOSCloseSocket On
               DOSLogDir "/var/log/apache2/evasive"
               DOSEmailNotify you@email.com
             </IfModule>
Then restart apache
Code:
/etc/init.d/apache2 restart

Last edited by defconjuan; 28th April 2011 at 01:20. Reason: Left something out.
Reply With Quote
The Following 2 Users Say Thank You to defconjuan For This Useful Post:
falko (28th April 2011), Skyflash (4th May 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.