From owner-freebsd-net Wed Feb 7 12: 1:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 04CE237B503; Wed, 7 Feb 2001 12:01:07 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id PAA45955; Wed, 7 Feb 2001 15:00:52 -0500 (EST) (envelope-from wollman) Date: Wed, 7 Feb 2001 15:00:52 -0500 (EST) From: Garrett Wollman Message-Id: <200102072000.PAA45955@khavrinen.lcs.mit.edu> To: Kris Kennaway Cc: net@FreeBSD.ORG, security-officer@FreeBSD.ORG Subject: [itojun@iijlab.net: accept(2) behavior with tcp RST right after handshake] In-Reply-To: <20010207101417.A28791@mollari.cthul.hu> References: <20010207101417.A28791@mollari.cthul.hu> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 < said: > Can anyone comment on this patch? > http://www.kame.net/dev/cvsweb.cgi/kame/freebsd4/sys/kern/uipc_socket.c I don't necessarily agree that the previous behavior was wrong, but I'm willing to bet that a lot of programs don't bother to check for that condition, and [ECONNABORTED] is a Standard-sanctioned error return for this case. (I'd prefer an interface which allowed the caller to find out the address of the peer who allegedly aborted, but that's not possible.) - -GAWollman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6galwI+eG6b7tlG4RAq6FAJ9l+TNMAh3zDaBv3bf/ClhAR9uyFQCfVMuc vFqdTRrdWeTdVpURBi4ufhA= =opkE -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message