Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 10:37:40 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        freebsd-net@freebsd.org
Subject:   Re: Closing connection from an accept_filter(9)
Message-ID:  <20081020173740.GK22503@elvis.mu.org>
In-Reply-To: <20081018090351.GA29876@verio.net>
References:  <48F93051.6040808@nttmcl.com> <20081018090351.GA29876@verio.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* David DeSimone <fox@verio.net> [081018 02:25] wrote:
> Eugene M. Kim <gene@nttmcl.com> wrote:
> >
> > 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?
> 
> How would you propose to find out what is in the request body without
> first accepting the connection?

By writing a custom accept filter! :)

-Alfred



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081020173740.GK22503>