From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [Proposal] ip_conntrack_tuple extension for advanced matching Date: Tue, 26 Sep 2006 15:59:44 +0200 Message-ID: <45193250.4080000@trash.net> References: <451448A9.6000407@gmx.net> <4515F7F8.9030000@netfilter.org> <4516C70A.3050502@gmx.net> <451700B1.7070103@rtij.nl> <4517E205.8090807@gmx.net> <45182332.8090303@rtij.nl> <45184198.1060906@gmx.net> <45186AC3.6080505@netfilter.org> <4518FA21.8070607@trash.net> <60318.2001:888:19e1::53.1159278334.squirrel@dexter> <45193133.2090901@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Netfilter Development Mailinglist , Martijn Lievaart , Pablo Neira Ayuso Return-path: To: Carl-Daniel Hailfinger In-Reply-To: <45193133.2090901@gmx.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Carl-Daniel Hailfinger wrote: > Martijn Lievaart wrote: > >> >> >>>Pablo Neira Ayuso wrote: >>> >>>>Carl-Daniel Hailfinger wrote: >>>> >>>> >>>>>Would a patch for adding such a feature be accepted into mainline? >>>> >>>>IHMO, your numering schema is not convenient. I would not accept such >>>>patch since I can't see any other utility apart from supporting your >>>>setting. >>> >>>Me neither, the network setup is obviously broken. Its also a bit harder >>>than just extending the conntrack keys, you need also need to take care >>>of NAT unique tuple generation, expectations and ICMP error tracking. >>>That still leaves a few corner cases, but nothing terribly important. >> >>This would be possible with multiple network stacks (aka virtual routers), >>something I've been thinking about but is way beyond my capabilities. > > > IIRC that has already been implemented by Extreme Networks in their > Linux-based routers. The only problem is that I can't find any source > code from them. Will inquire further. OpenVZ might help. I think it virtualizes the conntrack table etc., so you could use one virtual instance for each interface and NETMAP them to seperate networks.