HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   fail2ban, Ubuntu 8.04, ISPConfig 2 (http://www.howtoforge.com/forums/showthread.php?t=49661)

Brenton 26th October 2010 15:42

fail2ban, Ubuntu 8.04, ISPConfig 2
 
Hi

I've just noticed that my server is being hammered by the www.puritysearch.net bot.

I've been reading about fail2ban but am unable to find a guide on how to set it up on a Ubuntu 8.04/ISPConfig 2 server. This is a production server so I'm wary of messing things up.

What do I need to do to block www.puritysearch.net?

Will following these this guide answer my needs: http://www.howtoforge.com/fail2ban_debian_etch

Am I even on the right track here?

Any pointers will be appreciated.

Mark_NL 26th October 2010 16:13

The howto will help you ..

alternatively you could use iptables directly (fail2ban uses iptables) to get the job done..

Code:

iptables -A INPUT -s www.puritysearch.net -j DROP
will block everything from that ip address
Code:

iptables -D INPUT -s www.puritysearch.net -j DROP
wil remove the rule again ..


All times are GMT +2. The time now is 15:46.

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