Re: [Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-10 Thread Paul Menage
On 9/10/07, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > > Perhaps the biggest upside of this approach is that it's providing > network functionality in a way that should be much more familiar to > network folks. As opposed to using an lsm with a new vfs interface. Right - one of the things that

Re: [Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-10 Thread Serge E. Hallyn
Quoting Paul Menage ([EMAIL PROTECTED]): > On 9/10/07, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > > > > The only downside I see right now is what to do about a sendto() on a > > udp socket that hasn't been bound. > > Maybe have additional chains in the new iptable called "sendto" and > "recvfrom

Re: [Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-10 Thread Paul Menage
On 9/10/07, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > > The only downside I see right now is what to do about a sendto() on a > udp socket that hasn't been bound. Maybe have additional chains in the new iptable called "sendto" and "recvfrom" that are invoked for those operations on unbound data

[Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-10 Thread Serge E. Hallyn
Quoting Daniel Lezcano ([EMAIL PROTECTED]): > Serge E. Hallyn wrote: >> Quoting Daniel Lezcano ([EMAIL PROTECTED]): >>> Serge E. Hallyn wrote: Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > From: Daniel Lezcano <[EMAIL PROTECTED]> > > For the moment, I only made this patch for th

[Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-10 Thread Daniel Lezcano
Serge E. Hallyn wrote: Quoting Daniel Lezcano ([EMAIL PROTECTED]): Serge E. Hallyn wrote: Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): From: Daniel Lezcano <[EMAIL PROTECTED]> For the moment, I only made this patch for the RFC. It shows how simple it is to hook different socket syscalls. T

[Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-10 Thread Serge E. Hallyn
Quoting Daniel Lezcano ([EMAIL PROTECTED]): > Serge E. Hallyn wrote: >> Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): >>> From: Daniel Lezcano <[EMAIL PROTECTED]> >>> >>> For the moment, I only made this patch for the RFC. It shows how simple >>> it is >>> to hook different socket syscalls. This

[Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-05 Thread Daniel Lezcano
Serge E. Hallyn wrote: Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): From: Daniel Lezcano <[EMAIL PROTECTED]> For the moment, I only made this patch for the RFC. It shows how simple it is to hook different socket syscalls. This patch denies bind to any addresses which are not in the container

[Devel] Re: [RFC][patch 3/3] activate filtering for the bind

2007-09-05 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > From: Daniel Lezcano <[EMAIL PROTECTED]> > > For the moment, I only made this patch for the RFC. It shows how simple it is > to hook different socket syscalls. This patch denies bind to any addresses > which are not in the container IPV4 address lis