Closing connection from an accept_filter(9)
Alfred Perlstein
alfred at freebsd.org
Mon Oct 20 17:37:40 UTC 2008
* David DeSimone <fox at verio.net> [081018 02:25] wrote:
> Eugene M. Kim <gene at 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
More information about the freebsd-net
mailing list