www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/15/16:52:14

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <052f01c16e1f$ffb61890$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jonathan Kamens" <jik AT curl DOT com>, <cygwin-apps AT cygwin DOT com>
References: <20011115213959 DOT 6226 DOT qmail AT lizard DOT curl DOT com>
Subject: Re: Fixing openssh to avoid occasional spurious connection failures
Date: Fri, 16 Nov 2001 08:51:47 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 15 Nov 2001 21:51:54.0314 (UTC) FILETIME=[BD5D62A0:01C16E1F]

===
----- Original Message -----
From: "Jonathan Kamens" <jik AT curl DOT com>
To: <cygwin-apps AT cygwin DOT com>
Sent: Friday, November 16, 2001 8:39 AM
Subject: Fixing openssh to avoid occasional spurious connection failures


> As I just noted in
>
<URL:http://www.cygwin.com/ml/cygwin-developers/2001-11/msg00080.html>,
> ssh connections from Cygwin can occasionally fail because a winsock
> bug causes the connection to be assigned a local port number which is
> already in use.
>
> The simplest workaround for this problem would be to put a default
> "ConnectionAttempts 4" setting in the ssh_config that gets generated
> by ssh-host-config.
>
> The next simplest workaround would be to get the OpenSSH maintainers
> to apply this patch:

And what about patching cygwin! to automatically retry on EADDRINUSE -
if we can detect that the winsock bug is the culprit? That would fix
ssh, squid, telnet, ftp....

Rob

- Raw text -


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