Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: OpenSSH -- a way to block recurrent login failures? |
|---|---|
| Date: | Thu, 23 Sep 2004 08:55:24 -0400 |
On Wed, Sep 22, 2004 at 01:38:14AM +0200, Javier Sanchez wrote:
Instead of running ssh from xinetd and modify the hosts.deny file using a script, why not let the script watch excessive failures in auth.log and pushing and iptables rule ?? I think that this is an easiest way to solve the issue.
If OpenSSH is built with tcp_wrappers support it's not necessary to run under inetd/xinetd, the daemon runs normally but checks the API for access rules. (A really mutant idea would be to replace the tcp_wrappers library with something else offering the same API, or search for the API calls in the OpenSSH code and replace them with your own hooks. This could be a way to avoid going through the filesystem.)
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Replacing User Authentication Method (with version), Muhammad Naseer Bhatti |
|---|---|
| Next by Date: | PubkeyAuthentication for Specific User Only, Richard R |
| Previous by Thread: | Re: OpenSSH -- a way to block recurrent login failures?, Javier Sanchez |
| Next by Thread: | Re: OpenSSH -- a way to block recurrent login failures?, Victor Danilchenko |
| Indexes: | [Date] [Thread] [Top] [All Lists] |