Closing connection from an accept_filter(9)

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


* Eugene M. Kim <gene at nttmcl.com> [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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"

-- 
- Alfred Perlstein


More information about the freebsd-net mailing list