From owner-freebsd-bugs Mon Jan 13 10:10:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA26473 for bugs-outgoing; Mon, 13 Jan 1997 10:10:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA26458; Mon, 13 Jan 1997 10:10:02 -0800 (PST) Resent-Date: Mon, 13 Jan 1997 10:10:02 -0800 (PST) Resent-Message-Id: <199701131810.KAA26458@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:(from nobody@localhost) by.freefall.freebsd.org.id.KAA26247;Mon; (8.8.4/8.8.4);, 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 X-Send-Pr-Version: www-1.0 Subject: bin/2482: 2.2-BETA install doesn't time out in FTP Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: