From nobody@FreeBSD.ORG  Fri Jun 23 03:45:06 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 63A6C37C19B; Fri, 23 Jun 2000 03:45:06 -0700 (PDT)
Message-Id: <20000623104506.63A6C37C19B@hub.freebsd.org>
Date: Fri, 23 Jun 2000 03:45:06 -0700 (PDT)
From: dh@digitalbrain.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: OpenSSH (as an rsync tunnel) blocks forever
X-Send-Pr-Version: www-1.0

>Number:         19467
>Category:       misc
>Synopsis:       OpenSSH (as an rsync tunnel) blocks forever
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 23 03:50:01 PDT 2000
>Closed-Date:    Tue Aug 19 03:50:49 PDT 2003
>Last-Modified:  Tue Aug 19 03:50:49 PDT 2003
>Originator:     David Hanney
>Release:        4.0-STABLE FreeBSD (last cvsupped on 2000.05.01.00.00.00)
>Organization:
Digital Brain
>Environment:
FreeBSD server.workgroup 4.0-STABLE FreeBSD 4.0-STABLE #0: Thu May  4 14:56:46 GMT 2000     dave@server.workgroup:/usr/src/sys/compile/IDA  i386
SSH Version OpenSSH-1.2.2, protocol version 1.5.
rsync version 2.3.1 Copyright Andrew Tridgell and Paul Mackerras

>Description:

a large rsync operation (over OpenSSH)
transfers a few files and then
gets stuck (i.e. block forever in a select())


>How-To-Repeat:
do a big rsync like this
rsync -ave ssh digitalbrain.com:/web/ /web/

you may have to re-run it 15 or more times before it'll complete
coz it'll keep getting stuck :(

>Fix:
install the old ssh

  cd /usr/ports/security/ssh
  make install
  chmod a-x /usr/sbin/sshd
  chmod a-x /usr/bin/ssh
  rehash



>Release-Note:
>Audit-Trail:

From: Gregory Bond <gnb@itga.com.au>
To: dh@digitalbrain.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/19467: OpenSSH (as an rsync tunnel) blocks forever 
Date: Mon, 26 Jun 2000 10:20:00 +1000

 I have just used rsync-over-openSSH on 4.0-Stable to suck 700Mb from a 3.4 box 
 (using rsync-over-SSH-from-ports) and it worked perfectly.
 
 
 

From: Gregory Bond <gnb@itga.com.au>
To: David Hanney <dh@digitalbrain.com>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/19467: OpenSSH (as an rsync tunnel) blocks forever 
Date: Thu, 29 Jun 2000 16:31:36 +1000

 > This mightnt have been clear from the PR but I was using OpenSSH 4.0 at 
 > Both ends.
 > If you do the same I hope you'll be able to duplicate the problem?
 
 I can confirm that using rsync in 4.0-Stable with openSSH (from the crupto
 repository on internat.freebsd.org) at both ends freezes doing moderate 
 transfews - even less than 10Mb.  It seems to need lots of files, tho.
 
 
 
 
Responsible-Changed-From-To: freebsd-bugs->kris 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Aug 3 13:21:30 PDT 2000 
Responsible-Changed-Why:  
Kris, although the how-to-repeat is confused, it looks like 
this is a problem with OpenSSH.  Could you take a look? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19467 

From: Alan Larson <larson@w6yx.stanford.edu>
To: freebsd-gnats-submit@FreeBSD.org, dh@digitalbrain.com
Cc:  
Subject: Re: misc/19467: OpenSSH (as an rsync tunnel) blocks forever
Date: Mon, 9 Oct 2000 23:09:58 -0700 (PDT)

   I have started seeing more and more hangs with SSH blocking in a select
 as well.  Mostly it is seen with scp, but sometimes it will occur in a
 terminal session.  It appears to be a race condition, but not sure.
 
   In my case, most (but not all) failures occur with the version installed
 with the 4.0-release system, using 4.0-release running on a Compaq M300
 (333 MHz celeron).  The remote end is a Solaris 2.5.1 running ssh 1.2.27,
 via a DSL line, with a sonicwall translating IP addresses in front of the
 solaris system.
 
   Other failures have occured with other systems, and have happened with
 transfers in both directions.
 
 	Alan
 
Responsible-Changed-From-To: kris->green 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sun Nov 12 18:27:03 PST 2000 
Responsible-Changed-Why:  
Green is taking over OpenSSH 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19467 
Responsible-Changed-From-To: green->des 
Responsible-Changed-By: green 
Responsible-Changed-When: Sat Jul 12 21:11:17 PDT 2003 
Responsible-Changed-Why:  
ssh over to DES 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19467 

From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: misc/19467
Date: Mon, 14 Jul 2003 12:37:54 +0200

 Does this still occur with newer versions of FreeBSD / OpenSSH?
 
 DES
 --=20
 Dag-Erling Sm=F8rgrav - des@des.no
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Tue Aug 19 03:50:47 PDT 2003 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19467 
>Unformatted:
