Subject: Re: Obtaining client IP address before accept(2)
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 07/13/2005 23:46:04
On Wed, Jul 13, 2005 at 05:16:29PM -0400, Matthew Mondor wrote:
> On Wed, 13 Jul 2005 14:14:19 +0200
> Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:
>
> > Now I'm sure I must have misunderstood something.
> > What are we talking about here? TCP, UDP, something completely different?
>
> Yes sorry I forgot to mention it, it's for a few TCP daemons. It's not
> something that my applications absolutely need, but I was wondering if
> special features were already present on NetBSD to allow this, so that I
> could experiment with it
>
> Basically, like der Mouse described, it would allow a userspace TCP
> daemon to in certain cases decide to not even establish the TCP
> connection with a client, based on decisions such as client IP address
> rate/concurrency limits or bans.
Search for FreeBSD's accept_filter.
Joerg