Azitech

Azimout's Linux weblog

Fail2ban

leave a comment »

I got sick and tired of seeing hackers trying to break into my server (mainly from /var/log/auth.log and /var/log/apache2/error.log) and decided to do something about it.

I considered denyhosts (rejected, sshd only), snort (too complex) and settled for fail2ban, which is just right. It’s included in the repositories. Then just edit /etc/fail2ban/jail.conf, enable the services you’re interested in, and relax!

References:

Advertisements

Written by azimout

16/08/2010 at 10:52

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: