From owner-freebsd-net Mon Mar 26 7:57:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id CBE4637B718 for ; Mon, 26 Mar 2001 07:57:39 -0800 (PST) (envelope-from fenner@research.att.com) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id 325484CECE for ; Mon, 26 Mar 2001 10:57:34 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id KAA11797 for ; Mon, 26 Mar 2001 10:57:33 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id JAA08568; Mon, 26 Mar 2001 09:57:33 -0600 (CST) Message-Id: <200103261557.JAA08568@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: net@freebsd.org Subject: 4.3 issue: new ICMP handling broke date(1) Date: Mon, 26 Mar 2001 09:57:32 -0600 Versions: dmail (solaris) 2.2g/makemail 2.9a Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Now that an ICMP port unreachable returns ENETRESET and not ECONNREFUSED, setting the date on the command line results in a bogusly-reported error. Before you fix the bug in date/netdate.c, it tends to report EADDRINUSE; afterwards it tends to report ENETRESET. Why did the handling of "udp port unreachable" have to change? ECONNREFUSED was a perfectly fine return value for that. I'm reasonably sure that there are other programs out there that think that ECONNREFUSED is what you get when you get an ICMP port unreachable back after a UDP send, so I doubt that the answer is to simply fix date(1). Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message