Is there a 'step by step' or canned-package to block incoming ssh attempts from anywhere not in the USA?
No one but me or a handful of coworkers should be trying to ssh into my desktop at home; of course life is not so nice and my /var/log/auth.log is full of attempted root log-ins from all over the world...
A complicated solution would be to somehow grab the IP, look it up on the web via scripted http lookup, then decide on action... is there a canned script or package that blocks by country?
(note: I have installed denyhosts, works well to block after an attempt, but there are just so many attempts from a wide range of IPs!)
related question: http://superuser.com/questions/171406/game-server-how-can-i-block-connections-from-other-countries
