From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from caracal.ash.relay.mailchannels.net (caracal.ash.relay.mailchannels.net [23.83.222.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 96A603B2A4 for ; Fri, 3 Feb 2017 16:25:55 -0500 (EST) X-Sender-Id: netnames|x-authuser|sagermail@sager.me.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A5570141B4B for ; Fri, 3 Feb 2017 21:25:53 +0000 (UTC) Received: from smtp3.easily.co.uk (unknown [100.96.15.28]) by relay.mailchannels.net (Postfix) with ESMTPA id DE5461417FB for ; Fri, 3 Feb 2017 21:25:52 +0000 (UTC) X-Sender-Id: netnames|x-authuser|sagermail@sager.me.uk Received: from smtp3.easily.co.uk (smtp3.easily.co.uk [172.20.66.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.7.14); Fri, 03 Feb 2017 21:25:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: netnames|x-authuser|sagermail@sager.me.uk X-MailChannels-Auth-Id: netnames X-MC-Loop-Signature: 1486157153287:2852076574 X-MC-Ingress-Time: 1486157153287 Received: from [81.2.83.97] (port=36590 helo=mainserver.wc) by smtp3.easily.co.uk with esmtpa (Exim 4.43) id 1cZlMc-0002I7-RU for cake@lists.bufferbloat.net; Fri, 03 Feb 2017 21:25:50 +0000 Received: from localhost ([127.0.0.1]) by mainserver.wc with esmtp (Exim 4.86_2) (envelope-from ) id 1cZlMc-0005lo-DB for cake@lists.bufferbloat.net; Fri, 03 Feb 2017 21:25:50 +0000 References: <1010949359.501064.1485874182374@webmail.strato.de> <6BA19F35-E3BB-48C4-9010-2153908E1DFA@gmail.com> To: Cake List From: John Sager Message-ID: Date: Fri, 3 Feb 2017 21:25:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 X-AuthUser: sagermail@sager.me.uk Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] conntrack lookup continuation X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 21:25:57 -0000 No problem. The distro I use for my firewall (LEAF-bering) doesn't suppor= t cake yet, though I could build the module & cake-aware tc with its toolchain, so I'll continue with HTB+fq_codel & keep an eye on this list. John On 03/02/17 19:30, Jonathan Morton wrote: >=20 >> On 3 Feb, 2017, at 21:01, John Sager wrote: >> >> As cake uses diffserv to classify, it would be good to carry dscp in t= he >> conntrack & transfer it to incoming packets with an 'action' on the in= gress >> filter, but carrying dscp specifically in the conntrack record would b= e >> quite a significant change to other parts of linux. Hence the use of f= wmark >> and the conntrack mark field, which already exist. >=20 > Yes, this is what I thought you meant. >=20 > As fwmark just sets =E2=80=9Ca number=E2=80=9D on the conntrack record,= there=E2=80=99s no reason in principle not to have that number be a DSCP= (or some reasonably transformed representation of one). The trick is th= en for cake to extract that number from the conntrack record (having look= ed it up), and if it looks valid, to use it as the packet=E2=80=99s DSCP = instead of the one on the packet itself. >=20 > In principle, that should not be difficult. For the moment however, I=E2= =80=99ve got my hands full with writing a report on performance tests I=E2= =80=99ve been running, and then getting reacquainted with some code chang= es that happened while I was looking elsewhere. >=20 > - Jonathan Morton >=20