From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Maciej_=C5=BBenczykowski?= Subject: Re: Help: Cycle through iptables rules Date: Thu, 27 May 2010 12:35:11 +0200 Message-ID: References: <1274861468.2672.9.camel@edumazet-laptop> <1274905649.2542.1.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Jan Engelhardt , Felipe W Damasio , netfilter-devel@vger.kernel.org To: Eric Dumazet Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:43760 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934045Ab0E0KfN (ORCPT ); Thu, 27 May 2010 06:35:13 -0400 Received: by pvg3 with SMTP id 3so1575135pvg.19 for ; Thu, 27 May 2010 03:35:11 -0700 (PDT) In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: You could split it into a tree if you really really cared... --- But, if you put the 48 rules in a chain which only deals with incoming new connections then it only triggers on the initial syn and connection tracking deals with the rest (at least if you use the mangle table to mark, and nat table to REDIRECT -- don't know about TPROXY).