RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
I got this working. The issue was that the service install command listed the pid file, but so does the config. Also, the /etc/host.deny did not exist. Again, thanks so much for your help Kyle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http:/

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
Yes, reading the readme file, I found that the pid file name. I changed it to the normal path /var/run/denyhost.pid But when it starts it stall says the same error: DenyHosts could not obtain lock (pid: ) [Errno 2] No such file or directory: '/var/lock/subsys/denyhosts' I change the -x option

Re: Issue with GDB under Cygwin and XP

2008-02-17 Thread Ray Hurst
Pedro Alves wrote: A Friday 15 February 2008 23:21:45, Ray Hurst wrote: Here is a run of a HellowWorld program (listed below in gdb). Can someone tell me why the variables a, b, c are not the correct values. I dumped the local stack and the variables are correct on the stack. I'm running Win

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread René Berber
Kyle A. Dawson wrote: Sorry, my mistake. I created a script, and the file had windows new lines... I always forget that with TextPad. But I did read the readme and now I have these files: denyhosts.cfg daemon-control So the install/config seem to work. When I start this I get error (/var

Re: sshd.log /var/empty must be owned by root and not group or world-writable.

2008-02-17 Thread Brian Dessent
Brian Dessent wrote: > I don't know why running ssh-host-config didn't work, you'd probably > have to debug that a little more to find out. It just occured that perhaps /var/empty did not exist the first time ssh-host-config was run and thus the chown failed, and it was only created when the sshd

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of René Berber S

Re: sshd.log /var/empty must be owned by root and not group or world-writable.

2008-02-17 Thread Brian Dessent
David Christensen wrote: > /var/empty must be owned by root and not group or world-writable. > > 11. Change owner of /var/empty: > > 20080217-144416 [EMAIL PROTECTED] /var > $ chown root empty/ > chown: invalid user: `root' > > 12. STFW. root is not a valid us

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
Sorry, my mistake. I created a script, and the file had windows new lines... I always forget that with TextPad. But I did read the readme and now I have these files: denyhosts.cfg daemon-control So the install/config seem to work. When I start this I get error (/var/log/denyhost.log): Deny

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread René Berber
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 exis

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
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/

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
That is what I was looking for. I will try this tonight, thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of René Berber Sent: Sunday, February 17, 2008 7:53 PM To: cygwin@cygwin.com Subject: Re: Stop Brute Force Attack on SSH Kyle Dawson wrote: > H

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread René Berber
Kyle Dawson wrote: How can I stop attacks on my ssh demon? I see thousands of attempts every day. I have, I believe good password policy but since I have clients, not 100% sure. Is there some config that I can set? One ip address comes in and tries for a day or so. Can it see that it is

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
Yes, currently I disable root, disable password, (only allow keys). The one idea I had as a last resort was to change the port from 22. Doing this would require all users to update their client side. I was hoping to make a change on the server, some software that could help protect ssh. -

cpan DBD::SQLite failing tests

2008-02-17 Thread David Christensen
cygwin: I am attempting to install Perl DBD::SQL via CPAN on a fresh installation of Cygwin, but it fails the tests (see attached cpan.out). Per http://www.cygwin.com/problems.html, cygcheck.out is attached. Any suggestions? TIA, David cygcheck.out Description: Binary data cpan.out Desc

sshd.log /var/empty must be owned by root and not group or world-writable.

2008-02-17 Thread David Christensen
uld not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. 8. Look at /var/log/sshd.log: /var/empty must be owned by root and not group or world-writable. 9. Adjust mode of /var/empty and attempt to start sshd: 20080217-144322 [EMAIL PROTE

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread Howard Chu
Kyle Dawson wrote: How can I stop attacks on my ssh demon? I see thousands of attempts every day. I have, I believe good password policy but since I have clients, not 100% sure. Is there some config that I can set? One ip address comes in and tries for a day or so. Can it see that it is t

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread Adam Thompson
On 18/02/2008, Kyle Dawson <[EMAIL PROTECTED]> wrote: > How can I stop attacks on my ssh demon? I see thousands of attempts every > day. I have, I believe good password policy but since I have clients, not > 100% sure. Is there some config that I can set? One ip address comes in > and tries

Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle Dawson
How can I stop attacks on my ssh demon?   I see thousands of attempts every day.  I have, I believe good password policy but since I have clients,  not 100% sure.  Is there some config that  I can set?  One ip address comes in and tries for a day or so.  Can it see that it is the same ip and just d

Re: how to build gsl dll

2008-02-17 Thread Mirko Vukovic
On Sun, Feb 17, 2008 at 2:19 PM, Brian Dessent <[EMAIL PROTECTED]> wrote: > Mirko Vukovic wrote: > > > I am trying to build a dll for gsl. I want to link it to clisp. > > Why? The Cygwin gsl packages already contains everything you need, > including both shared and static versions. Install th

zdiff 1.3.12 still not correct

2008-02-17 Thread Lester Ingber
On Cygwin /bin/zdiff 1.3.12 still is not correct. Line 107 reads eval "$cmp" /dev/fd/5 -) 5<&0 whereas it probably should read something like eval "$cmp" /dev/fd/5 - >&3) 5<&0 I looked at source zdiff.in in gzip-1.312 and on line 107

Re: Success in accessing network shares on windows through sshd

2008-02-17 Thread Larry Hall (Cygwin)
Jani Saksa wrote: Christopher Faylor wrote: On Fri, Feb 15, 2008 at 12:41:26PM +0200, Jani Saksa wrote: Larry Hall (Cygwin) wrote: Jani Saksa wrote: If I understand correctly you can't normally see or access mapped network drives on windows when remotely logged through cygwin sshd, but I fou

Re: Re: Success in accessing network shares on windows through sshd

2008-02-17 Thread Jani Saksa
Christopher Faylor wrote: On Fri, Feb 15, 2008 at 12:41:26PM +0200, Jani Saksa wrote: Larry Hall (Cygwin) wrote: Jani Saksa wrote: If I understand correctly you can't normally see or access mapped network drives on windows when remotely logged through cygwin sshd, but I found a way and I have

Re: [ANNOUNCEMENT] New package: irssi-0.8.12-1

2008-02-17 Thread burning shadow
Ok, less doesn't work when TERM set to "putty". On Feb 16, 2008 3:30 AM, burning shadow <[EMAIL PROTECTED]> wrote: > Looks like it works. ;) But I still wonder why my irssi build worked > fine with cygwin as TERM.. > > On 2/16/08, Kostya Altukhov <[EMAIL PROTECTED]> wrote: > > > Try TERM=putty > >

perl Tk for cygwin almost fixed

2008-02-17 Thread Reini Urban
I finally got some time to look at Win32-native Tk, and fixed it for Tk-804.027 and Tk-804.028. Almost. See the patch attached at http://rt.cpan.org/Ticket/Display.html?id=31792 I'm not sure if that's worth a seperate package and how it should be named, because we already have the x version wi

Re: how to build gsl dll

2008-02-17 Thread Brian Dessent
Mirko Vukovic wrote: > I am trying to build a dll for gsl. I want to link it to clisp. Why? The Cygwin gsl packages already contains everything you need, including both shared and static versions. Install the 'gsl' package for the runtime files (the DLL) and install 'gsl-devel' for the develop

Re: [1.5.25-7] bash: fork Permission denied

2008-02-17 Thread Larry Hall (Cygwin)
Jamil Ben Alluch wrote: It's worth checking your whole system for cygwin1.dll. If there's more than the one you just installed, that's the problem. Get rid of others. My guess is that if this is the problem, you have software installed that's running its stuff.

how to build gsl dll

2008-02-17 Thread Mirko Vukovic
Hi, I am trying to build a dll for gsl. I want to link it to clisp. However, when after downloading the gsl source (and I saw it being downloaded), I cannot find it (/usr/src is completely empty, and find did not return much other than many *.h files, dll's etc). On the other hand the gsl execu

Grace distribution is not standard

2008-02-17 Thread Rodrigo Medina
Hi, Unlike the distributions of all other packages the distribution of grace does not put the executable program in one of the standard directories /bin or /usr/X11R6/bin. Instead it puts xmgrace.exe inside /usr/share/grace/bin. In /bin there are only links pointing to the actual .exe. The prob

RE: Grace does not work

2008-02-17 Thread Rodrigo Medina
Hi, For me grace only works after running rebaseall. RM -- 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/

pinfo hangup with Core2Duo/XP

2008-02-17 Thread Rodrigo Medina
Hi, In my new machine Core2Duo with XP: $ pinfo Przemek's Info Viewer v0.6.9 Hangup $ cat pinfo.exe.stackdump Stack trace: Frame Function Args 0022C698 7C802532 (070C, EA60, 00A4, 0022C6E0) 0022C7B8 61097D1E (, 7C8025F0, 7C802532, 00A4) 0022C8A8 610958BB (

Re: [ANNOUNCEMENT] Updated: perl-Win32-GUI-1.06-1

2008-02-17 Thread Reini Urban
Dr. Volker Zell schrieb: Reini Urban writes: > I've updated perl-Win32-GUI to the new upstream release, > for the current stable perl-5.8.8. win32-gui-demos.pl doesn't core dump anymore but the demos don't run from the launcher script. Running them directly from the commandline works.

Re: [ANNOUNCEMENT] Updated: perl-Win32-GUI-1.06-1

2008-02-17 Thread Dr. Volker Zell
> Reini Urban writes: > I've updated perl-Win32-GUI to the new upstream release, > for the current stable perl-5.8.8. win32-gui-demos.pl doesn't core dump anymore but the demos don't run from the launcher script. Running them directly from the commandline works. By the way, is there