Quoting Fabio Patriarca (fab.patria...@gmail.com): > Hello, > i'm no expert about LXC. > I would like to use core emulator based on LXC (and namespaces) to emulate > different machines in a emulated wireless environement. > Each machine should use a kernel module, that we have developed, called > UPMT (http://netgroup.uniroma2.it/twiki/bin/view.cgi/Netgroup/UpMT). > The UPMT module provides tunneling and handover over different > wireless interfaces. > > The UPMT module creates a netfilter hook (PREROUTING) in order to process > incoming packets. > The hook sees only the packets of the basic network namespace (not the > packet of the core virtual machines namespace). > My question: is there a way to set the network namespace of a netfilter > hook?
use setns() to set your netns before inserting the hook. -serge ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel