Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 14:49:49 +0200 (CEST)
From:      Christian Kratzer <ck-lists@cksoft.de>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        freebsd-net@freebsd.org, Marko Zec <zec@icir.org>, Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: Stack virtualization (was: running out of mbufs?)
Message-ID:  <20050810144407.F97974@vesihiisi.cksoft.de>
In-Reply-To: <42F9E1FB.3ECF023E@freebsd.org>
References:  <1123040973.95445.TMDA@seddon.ca> <200508091104.06572.zec@icir.org> <42F8A487.67183CA6@freebsd.org> <200508091737.32391.zec@icir.org> <42F8D8ED.11A196FC@freebsd.org> <20050809211537.GX45385@obiwan.tataz.chchile.org> <42F9E1FB.3ECF023E@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, 10 Aug 2005, Andre Oppermann wrote:

> Jeremie Le Hen wrote:
>> One of the most powerful criteria it provides is "fwmark" which allows
>> to match against a mark stamped on the skbuff (their mbuf) by the
>> firewall.  This leads to the ability to route packets based on the
>> whole capabilities of the firewall framework (NetFilter in this case) :
>> TCP/UDP ports, ICMP types, and so on...
>
> This is mostly the direction I'll go.  However any packet classification
> other than on IP addresses is to be done by a packet filter (ipfw, pf,
> ipfilter).

please consider that routing is not everything.

Marcos patch as I understand it, also addresses the application of having
clean and separate ip stacks in each jail.  The current jail implementation
has to use ugly hacks to give correct semantics to things like INADDR_ANY.

We also currently do not have a clean way of associating multiple ipv4 
addresses to jail and having correct sematics for INADDR_ANY.

And of course IPv6 for jails is something that could propably be solved
in a very clean way using virtual ip stacks as in Marcos patch.

For above reasons I would prefer a clean implementation of full network
stack virtualisation to something that justs adds names to interfaces.

Greetings
Christian

-- 
Christian Kratzer                       ck@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136



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