delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/10/04:57:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <m16vDxH-000JyXC@mail.interzone.com>
From: schew AT interzone DOT com (Steve Chew)
Subject: Re: SSH -R problem
To: cygwin AT cygwin DOT com
Date: Wed, 10 Apr 2002 04:59:51 -0400 (EDT)
References: <m16v96P-000JyXC AT mail DOT interzone DOT com>
Reply-To: schew AT interzone DOT com (Steve Chew)
X-Motto: Never give up!

Corinna Vinschen wrote:
>On Tue, Apr 09, 2002 at 11:48:56PM -0400, Steve Chew wrote:
>> 	Everything works OK at first but after enough sessions are made
>> across the SSH tunnel, I can no longer open sockets and other network
>> programs on the Cygwin system (such as IE) fail.  If I create enough 
>> sessions the entire system can hang.
>> [...]
>> 	One symptom of the problem is that after each session
>> I end up with an extra socket in the LISTEN state on the Cygwin box
>> (use netstat -an to check the socket states).  I don't know why there
>> would even be any sockets in the LISTEN state on the Cygwin box since
>> the ssh client shouldn't have to do a listen.
>
>I can reproduce it on XP.  An strace output shows nothing strange.
>Especially listen() is never called (otherwise it would show up in
>strace).  I must assume that this is one of several annoying problems
>in Winsock.  I've no idea why a socket is going into LISTEN state
>under these circumstances.
>
>Baffled,
>Corinna
>

	Thank you for the swift response!  Are you saying that the 
problem is the the Windows 98 Winsock code?  Lovely...  How would you
suggest narrowing down the problem?
	While I'm at it do you have any suggestions for a work-around?
I've been considering ways of stopping and starting the SSH tunnel,
but I'd rather not.  I haven't yet looked into whether I can avoid the
problem by using 'ssh -L' and changing the remote side to listen for an
initial connection.  That model doesn't work as well for what I want to
do unfortunately.

			Also baffled,

				Steve


-- 
Steve Chew - schew AT interzone DOT com - http://www.interzone.com
"Bother" said Pooh.  "Eeyore, load two photon torpedoes and
 lock phasers on the Heffalump.  Piglet, meet me in transporter
 room two."

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019