From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ozgur Akan Subject: Re: prohibiting iptables to insert a rule twice Date: Thu, 06 May 2004 15:56:03 +0300 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <409A35E3.2080706@aiqa.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "netfilter-devel@lists.netfilter.org" Return-path: To: Henrik Nordstrom In-Reply-To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org >iptables -m mark --mark 0x01 -d 10.0.0.1 -j ACCEPT >[number of other rules] >iptables -j MARK --set-mark 0x01 >[possibly a number of other rules] >iptables -m mark --mark 0x01 -d 10.0.0.1 -j ACCEPT > > > this example clears the situation! I will work on the rules which are positioned one after another. thanks for brainstorming... -- Ozgur Akan