Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 16:01:50 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Urgent: Under attack - need tcpdrop help
Message-ID:  <4DDD0BCE.9080607@my.gd>
In-Reply-To: <BANLkTikz-MgrygUh1d6czE85ufQDxC%2B6jw@mail.gmail.com>
References:  <BANLkTikGjnh-cfO_dtk=jf6ZVNiY=x8nqw@mail.gmail.com> <BANLkTikz-MgrygUh1d6czE85ufQDxC%2B6jw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 5/24/11 10:53 PM, Alejandro Imass wrote:
> On Tue, May 24, 2011 at 4:29 PM, Andy Wodfer <wodfer@gmail.com> wrote:
>> Hi,
>> One of my FreeBSD servers is currently being attacked (DDOS) and I'm
>> blocking IP addresses in my firewall. However, there are a large number of
>> hung tcp connections and I want them gone.
>>
> 
> I know it's not what you're asking but for the future try fail2ban. I
> can gladly post a simple how to here for FreeBSD.
> 
> It's a very simple solution but I have been keeping off pests quite
> well with fail2ban. I think it's an awesome and simple framework to
> automatically ban IPs and they just move on to the th next server. In
> fact you can see the bannings diminish in time as they are the one
> that get tired ;-)
> 
> Good luck,
> 
> --
> Alejandro Imass
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


There is no need for fail2ban on freebsd, one may install sshguard from
the ports, which interacts with the firewalls (IPFW, PF...) or the
allow/deny files.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DDD0BCE.9080607>