Have a look at the "recent" section of the iptables man page; maybee you will find it usefull.
On Mon, 2005-10-03 at 10:10 +1300, Jeremy Brake wrote: > Hey all, > > I'm looking for an app/script which can monitor for failed ssh logins, > and block using IPTables for $time after $number of failed logins (an > exclusion list would be handy as well) so that I can put a quick stop to > these niggly brute-force ssh "attacks" I seem to be getting more and > more often. > > Anyone have any ideas? > > Thanks, Jeremy B -- [email protected] mailing list
