* [PATCH 00/25] Conntracking and NAT in netns
@ 2008-06-22 0:59 Alexey Dobriyan
2008-06-22 21:41 ` Daniel Lezcano
2008-06-23 9:57 ` Patrick McHardy
0 siblings, 2 replies; 4+ messages in thread
From: Alexey Dobriyan @ 2008-06-22 0:59 UTC (permalink / raw)
To: kaber
Cc: netdev, netfilter-devel, den, xemul, ebiederm, benjamin.thery,
dlezcano
Hi, patchbomb below makes significant parts of connection tracking and
NAT code usable in netns and independent from other netns.
Status is that it is lightly tested but more or less works, I used it on
a box which provides NAT for another with all netdevices moved to netns,
routing and iptables rules set up and rules flushed in init_net.
So far so good.
Weak points:
a) races during netns destruction or conntrack modules unload
(see more in patches)
b) grabbing netns from skb->dev or skb->dst->dev
these places should be checked with extreme scrunity :-\
c) some stuff not converted (pptp, h323) -- it's like 10 minutes to make
a patch and full day to setup and test it :^)
d) IPv6 conntracking wasn't tested.
e) ordering probably should be redone (or it shouldn't since netfilter
is banned in netns as is, so nobody will care)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 00/25] Conntracking and NAT in netns
2008-06-22 0:59 [PATCH 00/25] Conntracking and NAT in netns Alexey Dobriyan
@ 2008-06-22 21:41 ` Daniel Lezcano
2008-06-22 21:54 ` Alexey Dobriyan
2008-06-23 9:57 ` Patrick McHardy
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Lezcano @ 2008-06-22 21:41 UTC (permalink / raw)
To: Alexey Dobriyan
Cc: kaber, netdev, netfilter-devel, den, xemul, ebiederm,
benjamin.thery
Alexey Dobriyan wrote:
> Hi, patchbomb below makes significant parts of connection tracking and
> NAT code usable in netns and independent from other netns.
>
> Status is that it is lightly tested but more or less works, I used it on
> a box which provides NAT for another with all netdevices moved to netns,
> routing and iptables rules set up and rules flushed in init_net.
>
> So far so good.
>
> Weak points:
> a) races during netns destruction or conntrack modules unload
> (see more in patches)
> b) grabbing netns from skb->dev or skb->dst->dev
> these places should be checked with extreme scrunity :-\
> c) some stuff not converted (pptp, h323) -- it's like 10 minutes to make
> a patch and full day to setup and test it :^)
> d) IPv6 conntracking wasn't tested.
> e) ordering probably should be redone (or it shouldn't since netfilter
> is banned in netns as is, so nobody will care)
You describe this patchset as no finished and there is a patch to not be
applied, shall I assume it is a RFC ?
In any case, thanks Alexey for this patchset, I will it review tomorrow.
-- Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 00/25] Conntracking and NAT in netns
2008-06-22 21:41 ` Daniel Lezcano
@ 2008-06-22 21:54 ` Alexey Dobriyan
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Dobriyan @ 2008-06-22 21:54 UTC (permalink / raw)
To: Daniel Lezcano
Cc: kaber, netdev, netfilter-devel, den, xemul, ebiederm,
benjamin.thery
On Sun, Jun 22, 2008 at 11:41:56PM +0200, Daniel Lezcano wrote:
> Alexey Dobriyan wrote:
>> Hi, patchbomb below makes significant parts of connection tracking and
>> NAT code usable in netns and independent from other netns.
>> Status is that it is lightly tested but more or less works, I used it on
>> a box which provides NAT for another with all netdevices moved to netns,
>> routing and iptables rules set up and rules flushed in init_net.
>> So far so good.
>> Weak points:
>> a) races during netns destruction or conntrack modules unload
>> (see more in patches)
>> b) grabbing netns from skb->dev or skb->dst->dev
>> these places should be checked with extreme scrunity :-\
>> c) some stuff not converted (pptp, h323) -- it's like 10 minutes to make
>> a patch and full day to setup and test it :^)
>> d) IPv6 conntracking wasn't tested.
>> e) ordering probably should be redone (or it shouldn't since netfilter
>> is banned in netns as is, so nobody will care)
>
> You describe this patchset as no finished and there is a patch to not be
> applied, shall I assume it is a RFC ?
Well, more or less. It's something like 90% similar to final thing
unless somebody will find some serious issue.
Patch to not be applied (yet) is for people wanting to try these patches
and not waste time fixing "iptables doesn't work" problem.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 00/25] Conntracking and NAT in netns
2008-06-22 0:59 [PATCH 00/25] Conntracking and NAT in netns Alexey Dobriyan
2008-06-22 21:41 ` Daniel Lezcano
@ 2008-06-23 9:57 ` Patrick McHardy
1 sibling, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2008-06-23 9:57 UTC (permalink / raw)
To: Alexey Dobriyan
Cc: netdev, netfilter-devel, den, xemul, ebiederm, benjamin.thery,
dlezcano
Alexey Dobriyan wrote:
> Hi, patchbomb below makes significant parts of connection tracking and
> NAT code usable in netns and independent from other netns.
>
> Status is that it is lightly tested but more or less works, I used it on
> a box which provides NAT for another with all netdevices moved to netns,
> routing and iptables rules set up and rules flushed in init_net.
OK, I assume "Do not apply" applies to all patches then.
> So far so good.
>
> Weak points:
> a) races during netns destruction or conntrack modules unload
> (see more in patches)
> b) grabbing netns from skb->dev or skb->dst->dev
> these places should be checked with extreme scrunity :-\
Will do.
> c) some stuff not converted (pptp, h323) -- it's like 10 minutes to make
> a patch and full day to setup and test it :^)
> d) IPv6 conntracking wasn't tested.
>
> e) ordering probably should be redone (or it shouldn't since netfilter
> is banned in netns as is, so nobody will care)
I think its most important that its bisectable for the non-ns
case. So thats OK.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-23 9:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-22 0:59 [PATCH 00/25] Conntracking and NAT in netns Alexey Dobriyan
2008-06-22 21:41 ` Daniel Lezcano
2008-06-22 21:54 ` Alexey Dobriyan
2008-06-23 9:57 ` Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).