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: Sat, 22 Dec 2012 08:19:34 -0500 Message-ID: <50D5B366.30005@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> <50D4692 8.9070809@mojatatu.com> <50D46EC1.2040608@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-f178.google.com ([209.85.210.178]:53241 "EHLO mail-ia0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091Ab2LVNTp (ORCPT ); Sat, 22 Dec 2012 08:19:45 -0500 Received: by mail-ia0-f178.google.com with SMTP id k25so4681882iah.23 for ; Sat, 22 Dec 2012 05:19:45 -0800 (PST) In-Reply-To: <50D46EC1.2040608@gmail.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On 12-12-21 09:14 AM, Yury Stankevich wrote: > > well. > let me describe whole picture i want to achieve > I think i got what you are trying to do Yury. Clever. From the description Jan provided in his response, I dont think this used to work at all. Are you saying it worked before? Having said that, what you are doing sounds so useful that we need to make it work ;-> But it appears like we need a brand new action for it, something like GetMarkFromConntrack. Jan, I am assuming (on ingress only) we need to call "something" to give us the nfct then grab the skb->mark from nfct. On egress, I am assuming the skb->mark is already set if connmark is to be used... Am i correct? If yes, then this action will only be useful at ingress. cheers, jamal