From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Subject: Re: [PATCH] pkt_sched: act_xt support new Xtables interface Date: Fri, 21 Dec 2012 08:50:32 -0500 Message-ID: <50D46928.9070809@mojatatu.com> References: <50C4821D.5090206@gmail.com> <50C9B4BB.9060609@mojatatu.com> <50CCE961.5050204@mojatatu.com> <50CDFB6A.3090806@mojatatu.com> <50CE1A04.1000405@mojatatu.com> <50CE3203.9080007@mojatatu.com> <50CF1071.1050405@mojatatu.com> <50D06177.2090905@mojatatu.com> <50D1A8A7.1090002@mojatatu.com> <50D1AB7E.5060000@mojatatu.com> <50D2D229.6040802@gmail.com> <50D305FD.7000901@mojatatu.com> <50D327CD.3050904@gmail.com> <50D45E25.7050703@mojatatu.com> <50D46060.2070308@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Hasan Chowdhury , Stephen Hemminger , Jan Engelhardt , "netdev@vger.kernel.org" , pablo@netfilter.org, netfilter-devel@vger.kernel.org To: Yury Stankevich Return-path: Received: from mail-ia0-f174.google.com ([209.85.210.174]:51141 "EHLO mail-ia0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327Ab2LUNuf (ORCPT ); Fri, 21 Dec 2012 08:50:35 -0500 Received: by mail-ia0-f174.google.com with SMTP id y25so3846215iay.5 for ; Fri, 21 Dec 2012 05:50:34 -0800 (PST) In-Reply-To: <50D46060.2070308@gmail.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On 12-12-21 08:13 AM, Yury Stankevich wrote: > sure, > i use it ingress, > so, i need to use tc xt action > to get mark on the packet, before filter on ifb will run. Ok. So does ifb see it? > prerouting rule, in turn, used to test if mark was actually restored. No experience with connmark, but - in order to restore something has to store it, correct? > in practice: > 1. prerouting rule - is not fired. so, no packets with mark was seen. > 2. filter on ifb - do not pass traffic to flow configured. > looks like `CONNMARK --restore` is not really called. > My suspicion is that it is not set to begin with... cheers, jamal