From nobody  Mon Jan 13 10:06:02 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.4/8.8.4) id KAA26247;
          Mon, 13 Jan 1997 10:06:02 -0800 (PST)
Message-Id: <199701131806.KAA26247@freefall.freebsd.org>
Date: Mon, 13 Jan 1997 10:06:02 -0800 (PST)
From: fenner@parc.xerox.com
To: freebsd-gnats-submit@freebsd.org
Subject: 2.2-BETA install doesn't time out in FTP
X-Send-Pr-Version: www-1.0

>Number:         2482
>Category:       bin
>Synopsis:       2.2-BETA install doesn't time out in FTP
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jkh
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 13 10:10:00 PST 1997
>Closed-Date:    Mon Feb 24 23:49:06 PST 1997
>Last-Modified:  Mon Feb 24 23:49:34 PST 1997
>Originator:     Bill Fenner
>Release:        2.2-BETA
>Organization:
Xerox
>Environment:
2.2-BETA install floppy
>Description:
Some change somewhere brought to light a race condition in PARC's
FTP proxy, where it can deadlock on a full TCP buffer.  The symptom
is that data flows on the data connection but not on the control
connection, and since the FreeBSD install is waiting for the
"150 Opening connection" response on the control connection before
reading from the data connection, we get deadlock.

The install should have a timeout on the control connection so that
situations like this (and others, like the net going away) can be
detected and handled properly, instead of having to abort the
installation.

>How-To-Repeat:
Use the 2.2-BETA install floppy, select an FTP install, and have the
network go away right after it sends a RETR command.  Watch it never
time out.

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: mpp 
Responsible-Changed-When: Sat Feb 22 21:38:04 PST 1997 
Responsible-Changed-Why:  
sysinstal problem. 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Mon Feb 24 23:49:06 PST 1997 
State-Changed-Why:  
You can now hit ^C and just abort the connection in progress. 
>Unformatted:
