Jump to content

Recommended Posts

Hi

 

I dont know how to do it with apache, but if you are on a linux server (which i assume??) then have a look at a package called fail2ban. I haven't used it for this purpose but i know it can be done.

http://www.fail2ban.org

 

cheers,

tdw

fail2ban is your man.

 

It will parse apache, mail, ssh, ftp, etc. log files, and when X attempts to connect fail, it will add a iptables rule for 5 minutes automatically.

 

On debian and Ubuntu:

apt-get install fail2ban

 

On Centos/Fedora:

vi /etc/yum.repos.d/dries.repo

[dries]

name=Extra Fedora rpms dries - $releasever - $basearch

baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/

includepkgs=phpmyadmin,fail2ban

 

yum update

up2date yum

yum install fail2ban

 

-steve

 

(I tried Ubuntu but there are no drivers for my GFX card) - I bet there are drivers somewhere for that, and if not, Im sure there'd be a generic driver.

 

I dont know of any similar app to fail2ban for windows :(

 

-steve

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.