(E-Mail Removed) wrote:
>
> So now I must back up my httpd.conf files, reload the OS, and do my
> homework to toughen it up this time. Lessons learned. Thanks.
>
the #1 way to thwart script kiddies and brute force attacks (adjust
ports, # of connections and timeout to suit)
/sbin/iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW
-m recent --set
/sbin/iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW
-m recent --update --seconds 60 --hitcount 4 -j DROP
Although this won't stop a distributed attack, it will at least slow it
down.... at least in my fortunately limited experience even distributed
attacks use a single host to launch more than 4 probes quickly....