[CentOS] Iptables questions

Benjamin Donnachie benjamin at py-soft.co.uk
Tue Aug 10 22:07:10 UTC 2010


On 10 Aug 2010, at 22:33, John R Pierce <pierce at hogranch.com> wrote:
> If nothing is listening on that port, then whats to 'ban' ?

I experimented with something similar - wrote a small C program that
listened on port 22, dumped the source IP to a log which was then
picked up by fail2ban.

Worked quite well if remember correctly!

Ben



More information about the CentOS mailing list