Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 18:04:52 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        "Eugene M. Kim" <gene@nttmcl.com>
Cc:        net@freebsd.org
Subject:   Re: Closing connection from an accept_filter(9)
Message-ID:  <20081018010452.GC5651@elvis.mu.org>
In-Reply-To: <48F93051.6040808@nttmcl.com>
References:  <48F93051.6040808@nttmcl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Eugene M. Kim <gene@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@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



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