I've got a Perl script that watches my auth log and adds an iptables entry for
anyone trying more than 20 bad passwords.
Problem is, this doesn't drop existing connections. So if they're trying
100,020 bad passwords I let 100,000 through.
Can anyone suggest a way to drop an existing connection? The obvious:
route add <ip address> reject
is marked as a Bad Thing in the man page:
"This is for example used to mask out networks before using the default
route. This is NOT for firewalling."
Thanks much...
--
tim boyer
(E-Mail Removed)