From: Cedric Le Goater <clg@fr.ibm.com>
To: Daniel Lezcano <dlezcano@fr.ibm.com>
Cc: netdev@vger.kernel.org, containers@lists.linux-foundation.org,
ebiederm@xmission.com, Denis Lunev <den@openvz.org>,
Pavel Emelyanov <xemul@openvz.org>,
benjamin.thery@bull.net
Subject: Re: [PATCH net-next] [RFC] netns: enable cross-ve Unix sockets
Date: Wed, 01 Oct 2008 17:07:40 +0200 [thread overview]
Message-ID: <48E3923C.5070603@fr.ibm.com> (raw)
In-Reply-To: <48E3800F.1020806@fr.ibm.com>
Daniel Lezcano wrote:
> Cedric Le Goater wrote:
>> Pavel Emelyanov wrote:
>>> Daniel Lezcano wrote:
>>>> Pavel Emelyanov wrote:
>>>>>> So there are 2 cases:
>>>>>> * full isolation : restriction on VPS
>>>>>> * partial isolation : no restriction but *perhaps* problem when migrating
>>>>>>
>>>>>> Looks like we need an option per namespace to reduce the isolation for
>>>>>> af_unix sockets :)
>>>>>> - on (default): current behaviour => full isolation
>>>>>> - off : partial isolation
>>>>> You mean some sysctl, that enables/disables this check in unix_find_socket_byinode?
>>>> Yes.
>>> OK. Den, please, do :)
>> hmm, would that allow sibling namespaces to connect to each other ? If so,
>> I'm not in favor of such a solution.
>>
>> I understand the need. we had a similar issue with the command line tool
>> pgsl. Could we work something out with the capabilities ? or make an
>> exception if your ->nsproxy->net_ns == init_net ?
>
> Why capabilities is better than a simple sysctl ?
because it depends on the current process privilege and not just some
random process.
> Making an exception for init_net will break the nested containers no ?
may be. I don't know how this is implemented. if we break isolation, my
feeling is that we should only do it for a parent namespace. It just feel
wrong to allow sibling namespaces to connect to each other.
C.
next prev parent reply other threads:[~2008-10-01 15:07 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-01 10:54 [PATCH net-next] [RFC] netns: enable cross-ve Unix sockets Denis V. Lunev
2008-10-01 11:13 ` Daniel Lezcano
[not found] ` <48E35B4C.1040303-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 11:32 ` Denis V. Lunev
2008-10-01 11:32 ` Denis V. Lunev
2008-10-01 11:55 ` Daniel Lezcano
[not found] ` <48E3653C.1070701-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 12:03 ` Denis V. Lunev
[not found] ` <1222862583.23573.54.camel-aPCOdVxUTlgvJsYlp49lxw@public.gmane.org>
2008-10-01 12:19 ` Daniel Lezcano
2008-10-01 12:19 ` Daniel Lezcano
[not found] ` <48E36ABF.8030908-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 12:24 ` Pavel Emelyanov
2008-10-01 12:24 ` Pavel Emelyanov
2008-10-01 12:31 ` Daniel Lezcano
2008-10-01 12:40 ` Pavel Emelyanov
[not found] ` <48E36FDA.5090808-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-01 13:08 ` Cedric Le Goater
2008-10-01 13:08 ` Cedric Le Goater
2008-10-01 13:50 ` Daniel Lezcano
[not found] ` <48E3800F.1020806-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 15:07 ` Cedric Le Goater
2008-10-01 15:07 ` Cedric Le Goater [this message]
[not found] ` <48E37637.8080408-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 13:50 ` Daniel Lezcano
[not found] ` <48E36DA0.9080400-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 12:40 ` Pavel Emelyanov
2008-10-01 13:11 ` Denis V. Lunev
2008-10-01 13:11 ` Denis V. Lunev
[not found] ` <1222866717.23573.58.camel-aPCOdVxUTlgvJsYlp49lxw@public.gmane.org>
2008-10-01 13:46 ` Daniel Lezcano
2008-10-01 13:46 ` Daniel Lezcano
[not found] ` <48E37F1B.20601-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 14:54 ` Denis V. Lunev
2008-10-01 14:54 ` Denis V. Lunev
2008-10-01 15:18 ` Daniel Lezcano
2008-10-01 15:31 ` Pavel Emelyanov
[not found] ` <48E397C1.6050407-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-01 15:38 ` Daniel Lezcano
2008-10-01 15:38 ` Daniel Lezcano
2008-10-01 15:42 ` Pavel Emelyanov
[not found] ` <48E39A7A.8090800-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-01 16:15 ` Daniel Lezcano
2008-10-01 16:15 ` Daniel Lezcano
[not found] ` <48E3A21E.3060504-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-02 10:21 ` Denis V. Lunev
2008-10-02 10:21 ` Denis V. Lunev
2008-10-02 20:03 ` Eric W. Biederman
[not found] ` <1222942883.6327.13.camel-aPCOdVxUTlgvJsYlp49lxw@public.gmane.org>
2008-10-02 20:03 ` Eric W. Biederman
[not found] ` <48E3998D.4040709-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 15:42 ` Pavel Emelyanov
[not found] ` <48E394D2.5090709-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-01 15:31 ` Pavel Emelyanov
[not found] ` <1222872885.23573.64.camel-aPCOdVxUTlgvJsYlp49lxw@public.gmane.org>
2008-10-01 15:18 ` Daniel Lezcano
[not found] ` <48E36BFA.3040904-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-01 12:31 ` Daniel Lezcano
[not found] ` <1222860776.23573.49.camel-aPCOdVxUTlgvJsYlp49lxw@public.gmane.org>
2008-10-01 11:55 ` Daniel Lezcano
[not found] ` <1222858454-7843-1-git-send-email-den-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-01 11:13 ` Daniel Lezcano
-- strict thread matches above, loose matches on Subject: below --
2008-10-01 10:54 Denis V. Lunev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48E3923C.5070603@fr.ibm.com \
--to=clg@fr.ibm.com \
--cc=benjamin.thery@bull.net \
--cc=containers@lists.linux-foundation.org \
--cc=den@openvz.org \
--cc=dlezcano@fr.ibm.com \
--cc=ebiederm@xmission.com \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.