netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

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).