View Full Version : "banning" specific IP addresses


MrHnau
11-02-2005, 01:58 PM
I've noticed my work computer has been attacked recently from a consistent IP. Is there a way to ban access for a specific IP in RH9.0? How about having a fixed number of access attempts before removing access? Say 5 attempts from an IP (not a user name, know how to do that).

MrH

Andrew Green
11-02-2005, 04:53 PM
iptables should do the trick:

iptables -A INPUT -s xxx.xxx.xxx.xxx -j REJECT

And "snort" for detection, have to be careful with auto-setting up blocks as you can get false positives.

MrHnau
11-02-2005, 05:06 PM
sweet :)

now to go and play...

Thanks!

MrH