From owner-freebsd-stable Mon Dec 2 17:40: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB11437B401 for ; Mon, 2 Dec 2002 17:39:59 -0800 (PST) Received: from p233.pu.net (12-237-141-148.client.attbi.com [12.237.141.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B6F443E88 for ; Mon, 2 Dec 2002 17:39:59 -0800 (PST) (envelope-from bugs@p233.pu.net) Received: (from bugs@localhost) by p233.pu.net (8.12.6/8.11.6) id gB31e5Q4069179 for freebsd-stable@freebsd.org; Mon, 2 Dec 2002 19:40:05 -0600 (CST) (envelope-from bugs) From: Mark Hittinger Message-Id: <200212030140.gB31e5Q4069179@p233.pu.net> Subject: nagle, netcat, and stable To: freebsd-stable@freebsd.org Date: Mon, 2 Dec 2002 19:39:58 -0600 (CST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've got a script-lication that uses netcat to obtain data from various other operating systems. There are certain systems that will cause netcat to appear to "hang" about 30% of the time. Disabling nagle by setting TCP_NODELAY on the socket seems to clear this up nearly all the time. I know *H* doesn't like to add options to netcat but I think an option to disable nagle is probably worthwhile to add to netcat. Anyhow there may be a problem with the 4.[5,6,7] tcp stack in interactions with more recent Solaris tcp stacks. I'm trying to get an idea of the exact Solaris and its patch level. Has anyone noticed a similar behavior with FTP on 4.[5,6,7] where a connect to certain ftp sites will hang when attempting to use the data channel? This may be a variant of the same problem. I note that the ftp client doesn't disable nagle, although it does have an apparently unused "ifdef IP_TOS". Later Mark Hittinger bugs@pu.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message