From owner-freebsd-net@FreeBSD.ORG Sat Oct 18 01:22:21 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA8C1065687 for ; Sat, 18 Oct 2008 01:22:21 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id F31EC8FC14 for ; Sat, 18 Oct 2008 01:22:20 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id BF9C01A3C37; Fri, 17 Oct 2008 18:04:52 -0700 (PDT) Date: Fri, 17 Oct 2008 18:04:52 -0700 From: Alfred Perlstein To: "Eugene M. Kim" Message-ID: <20081018010452.GC5651@elvis.mu.org> References: <48F93051.6040808@nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F93051.6040808@nttmcl.com> User-Agent: Mutt/1.4.2.3i Cc: net@freebsd.org Subject: Re: Closing connection from an accept_filter(9) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 01:22:21 -0000 * Eugene M. Kim [081017 17:58] wrote: > Hello, > > Is it possible to close a connection from an accept filter, for example, > in order to prevent an incoming connection with a malformed request body > from ever reaching the userland? Probably, look at what happens inside of syncache or syncookies to sockets that are on accept queue but not yet "accepted". -Alfred > > Cheers, > Eugene > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- - Alfred Perlstein