Re: L2 network namespaces + macvlan performances

2007-07-09 Thread Herbert Poetzl
On Fri, Jul 06, 2007 at 06:48:15PM +0200, Benjamin Thery wrote: > Following a discussion we had at OLS concerning L2 network namespace > performances and how the new macvlan driver could potentially improve > them, I've ported the macvlan patchset on top of Eric's net namespace > patchset on 2.6.22

Re: L2 network namespace benchmarking

2007-03-27 Thread Herbert Poetzl
On Wed, Mar 28, 2007 at 12:16:34AM +0200, Daniel Lezcano wrote: > > Hi, > > I did some benchmarking on the existing L2 network namespaces. > > These patches are included in the lxc patchset at: > http://lxc.sourceforge.net/patches/2.6.20 > The lxc7 patchset series contains Dmitry's patchset

Re: [PATCH 50/59] sysctl: Move utsname sysctls to their own file

2007-01-22 Thread Herbert Poetzl
On Wed, Jan 17, 2007 at 12:31:22PM -0700, Eric W. Biederman wrote: > Kirill Korotaev <[EMAIL PROTECTED]> writes: > > > Eric, though I personally don't care much: > > 1. I ask for not setting your authorship/copyright on the code which you > > just > > copied > > from other places. Just doesn't

Re: [PATCH 25/59] sysctl: C99 convert arch/frv/kernel/pm.c

2007-01-22 Thread Herbert Poetzl
On Wed, Jan 17, 2007 at 08:14:17PM +0300, Kirill Korotaev wrote: > another small minor note. > > > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > > > Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> > > --- > > arch/frv/kernel/pm.c | 50 > >

Re: [patch 05/12] net namespace : ioctl to push ifa to net namespace l3

2007-01-19 Thread Herbert Poetzl
On Fri, Jan 19, 2007 at 04:47:19PM +0100, [EMAIL PROTECTED] wrote: > From: Daniel Lezcano <[EMAIL PROTECTED]> > > New ioctl to "push" ifaddr to a container. Actually, the push is done > from the current namespace, so the right word is "pull". That will be > changed to move ifaddr from l2 network n

Re: [patch 00/12] net namespace : L3 namespace - introduction

2007-01-19 Thread Herbert Poetzl
On Fri, Jan 19, 2007 at 04:47:14PM +0100, [EMAIL PROTECTED] wrote: > This patchset provide a network isolation similar at what > Linux-Vserver provides. It is based on the L2 namespaces and relies on > the mechanisms provided by the namespace. This L3 namespaces does not > aim to bring full virtual

Re: [patch 12/12] net namespace : Add broadcasting

2007-01-19 Thread Herbert Poetzl
On Fri, Jan 19, 2007 at 04:47:26PM +0100, [EMAIL PROTECTED] wrote: > From: Daniel Lezcano <[EMAIL PROTECTED]> > > Broadcast packets should be delivered to l2 and all l3 childs hmm, really? shouldn't it only reach those which actually have related addresses assigned? best, Herbert > Signed-off-b

Re: [patch 08/12] net namespace : find namespace by addr

2007-01-19 Thread Herbert Poetzl
On Fri, Jan 19, 2007 at 04:47:22PM +0100, [EMAIL PROTECTED] wrote: > From: Daniel Lezcano <[EMAIL PROTECTED]> > > Switch to the the l3 namespace using the destination address. > > Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]> > > --- > include/linux/net_namespace.h |7 +++ > net/cor

Re: [Devel] Re: Network virtualization/isolation

2006-12-09 Thread Herbert Poetzl
On Sun, Dec 10, 2006 at 01:34:14AM +0300, Kir Kolyshkin wrote: > Herbert Poetzl wrote: > >On Fri, Dec 08, 2006 at 10:13:48PM -0800, Andrew Morton wrote: > > > >> > >>It's actually happening quite gradually and carefully. > >> > > >

Re: [Devel] Re: Network virtualization/isolation

2006-12-09 Thread Herbert Poetzl
On Sat, Dec 09, 2006 at 12:27:34PM +0100, Tomasz Torcz wrote: > On Sat, Dec 09, 2006 at 04:50:02AM +0100, Herbert Poetzl wrote: > > On Fri, Dec 08, 2006 at 12:57:49PM -0700, Eric W. Biederman wrote: > > > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > > >

Re: [Devel] Re: Network virtualization/isolation

2006-12-08 Thread Herbert Poetzl
On Fri, Dec 08, 2006 at 10:13:48PM -0800, Andrew Morton wrote: > On Sat, 9 Dec 2006 04:50:02 +0100 > Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > > On Fri, Dec 08, 2006 at 12:57:49PM -0700, Eric W. Biederman wrote: > > > Herbert Poetzl <[EMAIL PROTECTED]> wr

Re: [Devel] Re: Network virtualization/isolation

2006-12-08 Thread Herbert Poetzl
On Fri, Dec 08, 2006 at 12:57:49PM -0700, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > >> But, ok, it is not the real point to argue so much imho > >> and waste our time instead of doing things. > > well, IMHO better ta

Re: [Devel] Re: Network virtualization/isolation

2006-12-06 Thread Herbert Poetzl
On Wed, Dec 06, 2006 at 02:54:16PM +0300, Kirill Korotaev wrote: > >>>If there is a better and less intrusive while still being obvious > >>>method I am all for it. I do not like the OpenVZ thing of doing the > >>>lookup once and then stashing the value in current and the special > >>>casing the e

Re: Network virtualization/isolation

2006-12-04 Thread Herbert Poetzl
On Mon, Dec 04, 2006 at 08:02:48PM +0300, Dmitry Mishin wrote: > On Monday 04 December 2006 19:43, Herbert Poetzl wrote: > > On Mon, Dec 04, 2006 at 06:19:00PM +0300, Dmitry Mishin wrote: > > > On Sunday 03 December 2006 19:00, Eric W. Biederman wrote: > > > > Ok. J

Re: Network virtualization/isolation

2006-12-04 Thread Herbert Poetzl
On Mon, Dec 04, 2006 at 06:19:00PM +0300, Dmitry Mishin wrote: > On Sunday 03 December 2006 19:00, Eric W. Biederman wrote: > > Ok. Just a quick summary of where I see the discussion. > > > > We all agree that L2 isolation is needed at some point. > As we all agreed on this, may be it is time to

Re: Network virtualization/isolation

2006-12-03 Thread Herbert Poetzl
On Sun, Dec 03, 2006 at 07:26:02AM -0500, jamal wrote: > On Wed, 2006-14-11 at 16:17 +0100, Daniel Lezcano wrote: > > The attached document describes the network isolation at the layer 2 > > and at the layer 3 .. > > Daniel, > > I apologize for taking this long to get back to you. The document (I

Re: [Devel] Re: Network virtualization/isolation

2006-11-30 Thread Herbert Poetzl
On Thu, Nov 30, 2006 at 05:38:16PM +0100, Daniel Lezcano wrote: > Vlad Yasevich wrote: > > Daniel Lezcano wrote: > >> Brian Haley wrote: > >>> Eric W. Biederman wrote: > I think for cases across network socket namespaces it should > be a matter for the rules, to decide if the connection s

Re: Network virtualization/isolation

2006-11-28 Thread Herbert Poetzl
On Tue, Nov 28, 2006 at 09:26:52PM +0100, Daniel Lezcano wrote: > Eric W. Biederman wrote: > > I do not want to get into a big debate on the merits of various > > techniques at this time. We seem to be in basic agreement > > about what we are talking about. > > > > There is one thing I think

Re: Network virtualization/isolation

2006-11-28 Thread Herbert Poetzl
king stack. > > Agree. > >> > >> - There has been a demonstrated use for the full power of the linux > >> networking stack in containers.. > > Agree. > >> > >> - There are a set of techniques which look as though they will give > >>

Re: Network virtualization/isolation

2006-11-28 Thread Herbert Poetzl
On Tue, Nov 28, 2006 at 09:51:57AM -0700, Eric W. Biederman wrote: > > I do not want to get into a big debate on the merits of various > techniques at this time. We seem to be in basic agreement > about what we are talking about. > > There is one thing I think we can all agree upon. > - Everythi

Re: Network virtualization/isolation

2006-11-26 Thread Herbert Poetzl
On Sat, Nov 25, 2006 at 01:21:39AM -0700, Eric W. Biederman wrote: > > jamal <[EMAIL PROTECTED]> writes: > > > On Fri, 2006-27-10 at 11:10 +0200, Daniel Lezcano wrote: > > > >> No, it uses virtualization at layer 2 and I had already mention it > >> before (see the first email of the thread), but

Re: [Devel] Re: [RFC] network namespaces

2006-09-11 Thread Herbert Poetzl
On Mon, Sep 11, 2006 at 04:40:59PM +0200, Daniel Lezcano wrote: > Dmitry Mishin wrote: > >On Friday 08 September 2006 22:11, Herbert Poetzl wrote: > > > >>actually the light-weight ip isolation runs perfectly > >>fine _without_ CAP_NET_ADMIN, as you do not want

Re: [Devel] Re: [RFC] network namespaces

2006-09-10 Thread Herbert Poetzl
On Sun, Sep 10, 2006 at 11:45:35AM +0400, Dmitry Mishin wrote: > On Sunday 10 September 2006 06:47, Herbert Poetzl wrote: > > well, I think it would be best to have both, as > > they are complementary to some degree, and IMHO > > both, the full virtualization _and_ the isolati

Re: [Devel] Re: [RFC] network namespaces

2006-09-10 Thread Herbert Poetzl
On Sat, Sep 09, 2006 at 09:41:35PM -0600, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > On Sat, Sep 09, 2006 at 11:57:24AM +0400, Dmitry Mishin wrote: > >> On Friday 08 September 2006 22:11, Herbert Poetzl wrote: > >> > actu

Re: [Devel] Re: [RFC] network namespaces

2006-09-09 Thread Herbert Poetzl
On Sat, Sep 09, 2006 at 11:57:24AM +0400, Dmitry Mishin wrote: > On Friday 08 September 2006 22:11, Herbert Poetzl wrote: > > actually the light-weight ip isolation runs perfectly > > fine _without_ CAP_NET_ADMIN, as you do not want the > > guest to be able to mess with th

Re: [Devel] Re: [RFC] network namespaces

2006-09-08 Thread Herbert Poetzl
On Fri, Sep 08, 2006 at 05:10:08PM +0400, Dmitry Mishin wrote: > On Thursday 07 September 2006 21:27, Herbert Poetzl wrote: > > well, who said that you need to have things like RAW sockets > > or other protocols except IP, not to speak of iptable and > > routing entries

Re: [RFC] network namespaces

2006-09-07 Thread Herbert Poetzl
On Thu, Sep 07, 2006 at 12:29:21PM -0600, Eric W. Biederman wrote: > Daniel Lezcano <[EMAIL PROTECTED]> writes: > > > > IHMO, I think there is one reason. The unsharing mechanism is > > not only for containers, its aim other kind of isolation like a > > "bsdjail" for example. The unshare syscall is

Re: [Devel] Re: [RFC] network namespaces

2006-09-07 Thread Herbert Poetzl
On Thu, Sep 07, 2006 at 08:23:53PM +0400, Kirill Korotaev wrote: > >>Herbert Poetzl wrote: > >> > >>>my point (until we have an implementation which clearly > >>>shows that performance is equal/better to isolation) > >>>is simply this: > &

Re: [RFC] network namespaces

2006-09-06 Thread Herbert Poetzl
On Wed, Sep 06, 2006 at 11:10:23AM +0200, Daniel Lezcano wrote: > Hi Herbert, > > >well, the 'ip subset' approach Linux-VServer and > >other Jail solutions use is very clean, it just does > >not match your expectations of a virtual interface > >(as there is none) and it does not cope well with > >

Re: [RFC] network namespaces

2006-09-05 Thread Herbert Poetzl
On Tue, Sep 05, 2006 at 08:45:39AM -0600, Eric W. Biederman wrote: > Daniel Lezcano <[EMAIL PROTECTED]> writes: > > >>>2. People expressed concerns that complete separation of namespaces > >>> may introduce an undesired overhead in certain usage scenarios. > >>> The overhead comes from packets

Re: strict isolation of net interfaces

2006-07-03 Thread Herbert Poetzl
On Fri, Jun 30, 2006 at 10:56:13AM +0200, Cedric Le Goater wrote: > Serge E. Hallyn wrote: > > > > The last one in your diagram confuses me - why foo0:1? I would > > have thought it'd be > > just thinking aloud. I thought that any kind/type of interface could be > mapped from host to guest. > >

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-29 Thread Herbert Poetzl
On Thu, Jun 29, 2006 at 08:15:52PM -0400, jamal wrote: > On Fri, 2006-30-06 at 09:07 +1200, Sam Vilain wrote: > > jamal wrote: > > > > Makes sense for the host side to have naming convention tied > > > to the guest. Example as a prefix: guest0-eth0. Would it not > > > be interesting to have the ho

Re: Network namespaces a path to mergable code.

2006-06-28 Thread Herbert Poetzl
On Wed, Jun 28, 2006 at 09:22:40PM +0400, Andrey Savochkin wrote: > Hi Eric, > > On Wed, Jun 28, 2006 at 10:51:26AM -0600, Eric W. Biederman wrote: > > Andrey Savochkin <[EMAIL PROTECTED]> writes: > > > > > One possible option to resolve this question is to show 2 > > > relatively short patches j

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-28 Thread Herbert Poetzl
On Wed, Jun 28, 2006 at 06:19:00PM +0400, Andrey Savochkin wrote: > Hi Jamal, > > On Wed, Jun 28, 2006 at 09:53:23AM -0400, jamal wrote: > > > > On Wed, 2006-28-06 at 15:36 +0200, Herbert Poetzl wrote: > > > > > note: personally I'm absolutely not again

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-28 Thread Herbert Poetzl
On Wed, Jun 28, 2006 at 09:36:40AM -0600, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > On Wed, Jun 28, 2006 at 06:31:05PM +1200, Sam Vilain wrote: > >> Eric W. Biederman wrote: > >> > Have a few more network interfaces for a

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-28 Thread Herbert Poetzl
On Wed, Jun 28, 2006 at 06:31:05PM +1200, Sam Vilain wrote: > Eric W. Biederman wrote: > > Have a few more network interfaces for a layer 2 solution > > is fundamental. Believing without proof and after arguments > > to the contrary that you have not contradicted that a layer 2 > > solution is inh

Re: [patch 3/4] Network namespaces: IPv4 FIB/routing in namespaces

2006-06-28 Thread Herbert Poetzl
On Wed, Jun 28, 2006 at 03:51:32PM +0200, Daniel Lezcano wrote: > Daniel Lezcano wrote: > >Andrey Savochkin wrote: > > > >>Structures related to IPv4 rounting (FIB and routing cache) > >>are made per-namespace. > > Hi Andrey, > > if the ressources are private to the namespace, how do you will >

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-28 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 10:07:29PM -0600, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > On Tue, Jun 27, 2006 at 10:29:39AM -0600, Eric W. Biederman wrote: > >> Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > >> I watch

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-28 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 09:38:14PM -0600, Eric W. Biederman wrote: > Alexey Kuznetsov <[EMAIL PROTECTED]> writes: > > > Hello! > > > >> It may look weird, but do application really *need* to see eth0 rather > >> than eth858354? > > > > Applications do not care, humans do. :-) > > > > What's about

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-27 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 10:29:39AM -0600, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > On Tue, Jun 27, 2006 at 01:54:51PM +0400, Kirill Korotaev wrote: > >> >>My point is that if you make namespace tagging at routing time, and >

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-27 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 09:07:38AM -0700, Ben Greear wrote: > Ben Greear wrote: > >Herbert Poetzl wrote: > > > >>On Mon, Jun 26, 2006 at 03:13:17PM -0700, Ben Greear wrote: > > > >>yes, that sounds good to me, any numbers how that > >>affects networ

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-27 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 10:19:23AM -0700, Ben Greear wrote: > Eric W. Biederman wrote: > >Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > > > >>On Tue, Jun 27, 2006 at 05:52:52AM -0600, Eric W. Biederman wrote: > >> > >>>Inside the conta

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-27 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 01:54:51PM +0400, Kirill Korotaev wrote: > >>My point is that if you make namespace tagging at routing time, and > >>your packets are being routed only once, you lose the ability > >>to have separate routing tables in each namespace. > > > > > >Right. What is the advantage o

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-27 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 05:52:52AM -0600, Eric W. Biederman wrote: > Daniel Lezcano <[EMAIL PROTECTED]> writes: > > My point is that if you make namespace tagging at routing time, > and your packets are being routed only once, you lose the ability > to have separate routing tables in e

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-27 Thread Herbert Poetzl
On Tue, Jun 27, 2006 at 01:09:11PM +0400, Andrey Savochkin wrote: > Herbert, > > On Mon, Jun 26, 2006 at 10:02:25PM +0200, Herbert Poetzl wrote: > > > > keep in mind that you actually have three kinds > > of network traffic on a typical host/guest system: > >

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 03:13:17PM -0700, Ben Greear wrote: > Eric W. Biederman wrote: > > >Basically it is just a matter of: > >if (dest_mac == my_mac1) it is for device 1. > >If (dest_mac == my_mac2) it is for device 2. > >etc. > > > >At a small count of macs it is trivial to understand it will

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 02:37:15PM -0600, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > On Mon, Jun 26, 2006 at 01:35:15PM -0600, Eric W. Biederman wrote: > >> Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > > yes, but yo

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 01:35:15PM -0600, Eric W. Biederman wrote: > Herbert Poetzl <[EMAIL PROTECTED]> writes: > > > On Mon, Jun 26, 2006 at 10:40:59AM -0600, Eric W. Biederman wrote: > >> Daniel Lezcano <[EMAIL PROTECTED]> writes: > >> > >>

Re: [patch 3/4] Network namespaces: IPv4 FIB/routing in namespaces

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 04:56:46PM +0200, Daniel Lezcano wrote: > Andrey Savochkin wrote: > >Structures related to IPv4 rounting (FIB and routing cache) > >are made per-namespace. > > How do you handle ICMP_REDIRECT ? and btw. how do you handle the beloved 'ping' (i.e. ICMP_ECHO_REQUEST/REPLY for

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 10:40:59AM -0600, Eric W. Biederman wrote: > Daniel Lezcano <[EMAIL PROTECTED]> writes: > > >> Then you lose the ability for each namespace to have its own > >> routing entries. Which implies that you'll have difficulties with > >> devices that should exist and be visible i

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 06:08:03PM +0400, Andrey Savochkin wrote: > Hi Herbert, > > On Mon, Jun 26, 2006 at 03:02:03PM +0200, Herbert Poetzl wrote: > > On Mon, Jun 26, 2006 at 01:47:11PM +0400, Andrey Savochkin wrote: > > > > > I see a fundamental problem wit

Re: [patch 2/6] [Network namespace] Network device sharing by view

2006-06-26 Thread Herbert Poetzl
On Mon, Jun 26, 2006 at 01:47:11PM +0400, Andrey Savochkin wrote: > Hi Daniel, > > It's good that you kicked off network namespace discussion Although I. > wish you'd Cc'ed someone at OpenVZ so I could notice it earlier :) . > Indeed, the first point to agree in this discussion is device list.