Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 10:06:02 -0800 (PST)
From:      fenner@parc.xerox.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/2482: 2.2-BETA install doesn't time out in FTP
Message-ID:  <199701131806.KAA26247@freefall.freebsd.org>
Resent-Message-ID: <199701131810.KAA26458@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2482
>Category:       bin
>Synopsis:       2.2-BETA install doesn't time out in FTP
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 13 10:10:00 PST 1997
>Last-Modified:
>Originator:     Bill Fenner
>Organization:
Xerox
>Release:        2.2-BETA
>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:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701131806.KAA26247>