From owner-cvs-all Tue Apr 30 21:22:39 2002 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 3D54D37B400; Tue, 30 Apr 2002 21:22:34 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 152ACAE027; Tue, 30 Apr 2002 21:22:34 -0700 (PDT) Date: Tue, 30 Apr 2002 21:22:34 -0700 From: Alfred Perlstein To: Mike Silbersack Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c Message-ID: <20020501042233.GD98487@elvis.mu.org> References: <200205010327.g413RZ154233@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205010327.g413RZ154233@freefall.freebsd.org> User-Agent: Mutt/1.3.27i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Mike Silbersack [020430 20:27] wrote: > silby 2002/04/30 20:27:35 PDT > > Modified files: (Branch: RELENG_4) > sys/kern uipc_socket.c uipc_socket2.c > Log: > MFC: > > Make sure that sockets undergoing accept filtering are aborted in a > LRU fashion when the listen queue fills up. Previously, there was > no mechanism to kick out old sockets, leading to an easy DoS of > daemons using accept filtering. > > Revision Changes Path > 1.116 +1 -2 src/sys/kern/uipc_socket.c > 1.87 +7 -1 src/sys/kern/uipc_socket2.c > > Revision Changes Path > 1.68.2.21 +1 -2 src/sys/kern/uipc_socket.c > 1.55.2.14 +7 -1 src/sys/kern/uipc_socket2.c Thanks a ton for taking care of this! Thanks also to Paul Saab, Peter Wemm and Alan Hannan for being so helpful in diagnosing this. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message