From owner-freebsd-net Fri Jun 16 13:20:12 2000 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 3AAB937B696 for ; Fri, 16 Jun 2000 13:20:10 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id QAA19013; Fri, 16 Jun 2000 16:20:08 -0400 (EDT) (envelope-from wollman) Date: Fri, 16 Jun 2000 16:20:08 -0400 (EDT) From: Garrett Wollman Message-Id: <200006162020.QAA19013@khavrinen.lcs.mit.edu> To: "Daniel C. Sobral" Cc: net@freebsd.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sys/syssocket.h In-Reply-To: <394A87E5.2DC2CF05@newsguy.com> References: <394A838A.F3417365@newsguy.com> <200006161951.PAA18933@khavrinen.lcs.mit.edu> <394A87E5.2DC2CF05@newsguy.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Alas, I'm thinking... What happens if you never get a valid match? Have > we just introduced a new way to DoS ourselves? No, you just start a timeout when the connection is completed that will force the accept to completion after a few seconds of waiting, or the state of the connection changes, or there's more than a certain amount (SB_LOWAT) of data in the buffer. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message