All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][patch 0/3] Network container subsystem - bind filtering
@ 2007-09-04 17:00 dlezcano-NmTC/0ZBporQT0dZR+AlfA
  2007-09-04 17:00 ` [RFC][patch 1/3] network container subsystem dlezcano-NmTC/0ZBporQT0dZR+AlfA
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: dlezcano-NmTC/0ZBporQT0dZR+AlfA @ 2007-09-04 17:00 UTC (permalink / raw)
  To: containers-qjLDD68F18O7TbgM5vRIOg

Paul Menage mentionned, a few weeks ago, he wanted a bind filtering 
for containers. Here it is  :) 

The following patches are a proposition to bring IP isolation to a container.

After looking more closely at the code I found that security hooks are
at the right place to catch socket calls. The IP isolation relies on the
security hooks and that has the advantage of not having the kernel code modified,
(expect container.h and makefile/kconfig), the patchset provide just a new 
file container_network.c

Roughly, a container has a subsystem for the network (only ipv4). 
This subsystem contains the list of the addresses allowed to be used by the 
container. If a container tries to bind to an address not contained into
this list, the bind will fail with EPERM. Of course the bind is allowed to
INADDR_ANY.

If this approach is ok for everyone, I can extend the bind filtering to
consolidate the IP isolation.

Regards.

-- 

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-09-10 18:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 17:00 [RFC][patch 0/3] Network container subsystem - bind filtering dlezcano-NmTC/0ZBporQT0dZR+AlfA
2007-09-04 17:00 ` [RFC][patch 1/3] network container subsystem dlezcano-NmTC/0ZBporQT0dZR+AlfA
     [not found]   ` <20070904171525.771956554-lUQnSZrVijcklpeYT4thRqpRWpusSO0yQ3R/GR7Q8HurIzol8Bc5pA@public.gmane.org>
2007-09-05 11:50     ` Benjamin Thery
     [not found]       ` <46DE97F5.3090609-6ktuUTfB/bM@public.gmane.org>
2007-09-05 12:43         ` Daniel Lezcano
2007-09-05 15:49     ` Serge E. Hallyn
2007-09-04 17:00 ` [RFC][patch 2/3] network security hooks dlezcano-NmTC/0ZBporQT0dZR+AlfA
     [not found]   ` <20070904171527.201921132-lUQnSZrVijcklpeYT4thRqpRWpusSO0yQ3R/GR7Q8HurIzol8Bc5pA@public.gmane.org>
2007-09-05 16:04     ` Serge E. Hallyn
2007-09-04 17:00 ` [RFC][patch 3/3] activate filtering for the bind dlezcano-NmTC/0ZBporQT0dZR+AlfA
     [not found]   ` <20070904171528.704108193-lUQnSZrVijcklpeYT4thRqpRWpusSO0yQ3R/GR7Q8HurIzol8Bc5pA@public.gmane.org>
2007-09-05 16:18     ` Serge E. Hallyn
     [not found]       ` <20070905161848.GN1403-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2007-09-05 16:38         ` Daniel Lezcano
     [not found]           ` <46DEDBA1.9010706-juSfH4iHXoxBDgjK7y7TUQ@public.gmane.org>
2007-09-10 13:23             ` Serge E. Hallyn
     [not found]               ` <20070910132330.GB9565-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2007-09-10 13:52                 ` Daniel Lezcano
     [not found]                   ` <46E54C11.1050403-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2007-09-10 15:46                     ` Serge E. Hallyn
     [not found]                       ` <20070910154630.GA3905-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2007-09-10 17:49                         ` [Devel] " Paul Menage
     [not found]                           ` <6599ad830709101049g5ea45749k66e362326264b4b0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-10 18:11                             ` Serge E. Hallyn
     [not found]                               ` <20070910181131.GB31638-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2007-09-10 18:15                                 ` Paul Menage
     [not found] ` <20070904170022.964253374-lUQnSZrVijcklpeYT4thRqpRWpusSO0yQ3R/GR7Q8HurIzol8Bc5pA@public.gmane.org>
2007-09-05 14:05   ` [RFC][patch 0/3] Network container subsystem - bind filtering Benjamin Thery
2007-09-05 15:37   ` Serge E. Hallyn
     [not found]     ` <20070905153741.GK1403-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org>
2007-09-05 15:41       ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.