Closing connection from an accept_filter(9)

Alfred Perlstein alfred at
Sat Oct 18 01:22:21 UTC 2008

* Eugene M. Kim <gene at> [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".


> Cheers,
> Eugene
> _______________________________________________
> freebsd-net at mailing list
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at"

- Alfred Perlstein

More information about the freebsd-net mailing list