X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: References: <47b8d665 DOT 02fd220a DOT 6f30 DOT 11eb AT mx DOT google DOT com> <47b8f1ea DOT 2de2220a DOT 2c5d DOT 2181 AT mx DOT google DOT com> In-Reply-To: Subject: RE: Stop Brute Force Attack on SSH Date: Sun, 17 Feb 2008 21:35:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us From: "Kyle A. Dawson" Message-ID: <47b8fd22.50e3220a.09d0.ffffdcf0@mx.google.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m1I3aXRP013807 Yes I have this now: DENYHOSTS_BIN = "/usr/bin/denyhosts.py" DENYHOSTS_LOCK = "/var/run/denyhosts" DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg" I changed the lock dir, same issue. -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of René Berber Sent: Sunday, February 17, 2008 9:10 PM To: cygwin AT cygwin DOT com Subject: Re: Stop Brute Force Attack on SSH Kyle A. Dawson wrote: > The install worked great. But when I try to create the service: > > cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d > DenyHosts -f "DenyHosts 2.6" -y sshd -x /var/run/denyhosts.pid -o > > I get this: > > cygrunsrv: unknown option -- > > Also, this does not exist: > > /usr/share/denyhosts/daemon-control Sorry, replied directly before noticing this message. The second problem is caused by a step I forgot, which is documented in the installation instructions /usr/share/denyhosts/README.txt: you have to copy daemon-control-dist to the script used and edit (if necessary) the 3 lines about location of things. The first problem is probably caused by the second one. Let me know if it's still a problem and I'll check further. -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/