Re: OpenVPN isolation using NetworkNamespaces

2016-04-03 Thread Stjepan Groš
On 02.04.2016 23:16, Thomas Haller wrote: > On Sat, 2016-04-02 at 21:49 +0200, Stjepan Groš wrote: >> I have one problem now. Namely, function _is_root in NMNetns doesn't >> work, or am I doing something wrong? When constructing >> NMNetnsController object the first NMNetns is created and that one

Re: OpenVPN isolation using NetworkNamespaces

2016-04-02 Thread Thomas Haller
On Sat, 2016-04-02 at 21:49 +0200, Stjepan Groš wrote: > On 30.03.2016 17:26, Thomas Haller wrote: > > Hi, > > > > > > > > > 6. Certain aspects of NMManager are global for every network > > > > > namespace, others are not. For example, sleeping state (or > > > > > should > > > > > it > > > > > be

Re: OpenVPN isolation using NetworkNamespaces

2016-04-02 Thread Stjepan Groš
On 30.03.2016 17:26, Thomas Haller wrote: > Hi, > > 6. Certain aspects of NMManager are global for every network namespace, others are not. For example, sleeping state (or should it be separate for every network namespace so that some network namespaces can be suspended?).

Re: OpenVPN isolation using NetworkNamespaces

2016-03-30 Thread Thomas Haller
Hi, On Wed, 2016-03-30 at 16:22 +0200, Stjepan Groš wrote: > On 29.03.2016 14:10, Thomas Haller wrote: > > On Tue, 2016-03-29 at 13:13 +0200, Stjepan Groš wrote: > > > On 29.03.2016 12:52, Thomas Haller wrote: > > > > On Sat, 2016-02-27 at 09:34 +0100, Stjepan Groš wrote: > > > > > Hi! > > > > H

Re: OpenVPN isolation using NetworkNamespaces

2016-03-30 Thread Stjepan Groš
On 29.03.2016 14:10, Thomas Haller wrote: > On Tue, 2016-03-29 at 13:13 +0200, Stjepan Groš wrote: >> On 29.03.2016 12:52, Thomas Haller wrote: >>> On Sat, 2016-02-27 at 09:34 +0100, Stjepan Groš wrote: Hi! >>> Hi Stjepan, >>> >>> after the changes done to master, I took your MIF branch, and r

Re: OpenVPN isolation using NetworkNamespaces

2016-03-29 Thread Thomas Haller
On Tue, 2016-03-29 at 13:13 +0200, Stjepan Groš wrote: > On 29.03.2016 12:52, Thomas Haller wrote: > > On Sat, 2016-02-27 at 09:34 +0100, Stjepan Groš wrote: > > > Hi! > > Hi Stjepan, > > > > after the changes done to master, I took your MIF branch, and re- > > merged  > > master into it. The resu

Re: OpenVPN isolation using NetworkNamespaces

2016-03-29 Thread Stjepan Groš
On 29.03.2016 12:52, Thomas Haller wrote: > On Sat, 2016-02-27 at 09:34 +0100, Stjepan Groš wrote: >> Hi! > Hi Stjepan, > > after the changes done to master, I took your MIF branch, and re-merged > master into it. The result is here: > > https://cgit.freedesktop.org/NetworkManager/NetworkManager/l

Re: OpenVPN isolation using NetworkNamespaces

2016-03-29 Thread Thomas Haller
On Sat, 2016-02-27 at 09:34 +0100, Stjepan Groš wrote: > Hi! Hi Stjepan, after the changes done to master, I took your MIF branch, and re-merged master into it. The result is here: https://cgit.freedesktop.org/NetworkManager/NetworkManager/log/?h=th/mif I didn't actually test it, so don't expe

OpenVPN isolation using NetworkNamespaces

2016-02-27 Thread Stjepan Groš
Hi! I just commited to my repository (https://github.com/sgros/MIF_NetworkManager) functionality that allows VPN's with virtual devices to be isolated within a separate network namespace. For that purpose there are the following parameters within connection section of VPN configuration file: netn