From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl-Daniel Hailfinger Subject: ip_conntrack_tuple and marks Date: Fri, 22 Sep 2006 22:33:45 +0200 Message-ID: <451448A9.6000407@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: To: Netfilter Development Mailinglist 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 Hi, is it possible to add a nfmark field to ip_conntrack_tuple so that only packets with a certain mark set are matched to a connection? I'm trying to filter/nat multiple independent connections with same ip/proto/port tuples on both sides and the only distinguishing property of the different connections is their nfmark. Using NOTRACK doesn't help because it can only exclude packets from tracking, not match packets to different expectations. At first sight, it seems possible to only change a few lines of code (expectation comparison and setup), but I fear there might be a lot more to consider. Any pointers to docs/patches/etc. are appreciated. Regards, Carl-Daniel -- http://www.hailfinger.org/