Re: Anything in Linux similar to FreeBSD accept filter (fwd)

From: Tony Finch (dot@dotat.at)
Date: Mon Oct 23 2000 - 05:26:55 EST


Andi Kleen <ak@suse.de> wrote:
>
>Linux 2.4 has the "dataready" filter in form of the (currently undocumented)
>TCP_DEFER_ACCEPT option.
>
>Another option would be to use one of the in kernel http accelerators, e.g.
>khttpd or tux.

One thing that made it easy for me to add FreeBSD's accept filters to
Apache was because it is a very low-impact change. The code only comes
into action if the appropriate kernel module is installed, so I didn't
have to add configuration directives to Apache just for accept filtering.

If Linux always has the TCP_DEFER_ACCEPT code in the kernel then it
cannot be a run-time configuration option; it would have to be
compile-time only.

Tony.

-- 
en oeccget g mtcaa    f.a.n.finch
v spdlkishrhtewe y    dot@dotat.at
eatp o v eiti i d.    fanf@covalent.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:20 EST