From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Chandran Subject: Usage of CONNMARK Date: Fri, 04 Feb 2005 13:43:57 +0530 Message-ID: <42032EC5.4090303@multitech.co.in> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter-devel , netfilter@lists.netfilter.org Hi, I am using the CONNMARK patch. Inside conntrack_core, in case of special conditions, I have modified the mark value in the conntrack. I then added the following rules in FORWARD chain. iptables -t mangle -A FORWARD -m connmark --m mark 1 -j DROP where the CONNMARK is set in case of the illegal packet. However this CONNMARK value is getting effective only for the next packet and not for the same packet. Is there some way by which, I can make the settings applicable to the same packet itself? Thanks and Regards, Vinod C