From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 361F03CB35 for ; Mon, 4 Mar 2019 03:39:08 -0500 (EST) Received: by mail-wr1-x42b.google.com with SMTP id q1so4506616wrp.7 for ; Mon, 04 Mar 2019 00:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heistp.net; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rEHRbH0M2cM/LsEmUo8KzMQVs95RjKGTzUAnlGtpVk4=; b=LpG/1mygSBOZt3VF71ud22DwxkGgOazOBwFzIa8Y7TC9JsL2ENM/KHfBrZYDmy7wBa YGeqrpe4FKIPRJK1pMQDI96NpPaDKsQBJf4GDu3BR037XRJBsJYIio3aZV2NL+6SvJ3W xMqj9EiKdh9W7o4hWQmRvLmseLniRYgZVYqlyzUKDatFmbUU/7+8nHinWrSxOGiHXp0a 804itg/1Uu9kwFlENNeXB0JfSngLwKYCuTdF/fbW19AvsRoNsA3fbIk7SQw1j6QKVs58 vioTX1dEBDiktaJ3AfmHRaWsJOp1elY1YLwOOVeHNsIRjWY6CNmpUXQx1MH5DTkhKvqK CnWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rEHRbH0M2cM/LsEmUo8KzMQVs95RjKGTzUAnlGtpVk4=; b=RqS9/S/fJtdsOU8GFB76bdSQgElJ91CunfaPXVhOkmFBOMaJ+q+zLAFOLrWeV04kZr 8kdOoNo4TvnjLIMPT+NWBgwxMQLhG/H7kzcRFl2/OJRmtKgCkRRzrytne66qonVeTLJn yF17+R8fMojMUPdYjT0Q6RNmKaxcHX9jkIMe7AoKwMMb9ZjM59c4uP+gCEZERI5SKXwx JuvmTqPrP7kArmxz5Ig7HIwH1bia1ajdMkLzBm0/bwaZ9XlAvNTxf1i4fFCMzg01BZfE gMeRNsGzB9gZmJTs7e2XudZxSYNlpm9Eo6qZDuCfK9foulwsHWGx1SLCIqtBKc45FFzW bbbA== X-Gm-Message-State: APjAAAWCfBB7iaU7VXsTTqLmd+V+vraEeiHrFnC4IozoGtimf/UkGpOE GE9FfHkOuEC8n9butn7oOQyVvf+9nOU= X-Google-Smtp-Source: APXvYqxF0vA2pleCKkFLYv7K5P+jrxKSSJhmBwZfUX605bTJFU++eUkV/wZQ2uwZpp0U5srJJvrDsg== X-Received: by 2002:adf:f792:: with SMTP id q18mr4447498wrp.324.1551688747335; Mon, 04 Mar 2019 00:39:07 -0800 (PST) Received: from tron.luk.heistp.net (h-1169.lbcfree.net. [185.193.85.130]) by smtp.gmail.com with ESMTPSA id i4sm4340450wrw.19.2019.03.04.00.39.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 00:39:06 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Pete Heist In-Reply-To: <67E78212-F68E-4BD1-946D-F1830EEA2968@darbyshire-bryant.me.uk> Date: Mon, 4 Mar 2019 09:39:05 +0100 Cc: "cake@lists.bufferbloat.net" Content-Transfer-Encoding: quoted-printable Message-Id: <4D01FA8A-E732-49C8-A4E6-8EA453CFA80C@heistp.net> References: <1443315187.406067.1551301968084@webmail.strato.de> <000901d4cf15$27748ec0$765dac40$@gmail.com> <67E78212-F68E-4BD1-946D-F1830EEA2968@darbyshire-bryant.me.uk> To: Kevin Darbyshire-Bryant X-Mailer: Apple Mail (2.3445.9.1) Subject: Re: [Cake] Using firewall connmarks as tin selectors 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: Mon, 04 Mar 2019 08:39:08 -0000 > On Mar 3, 2019, at 12:52 PM, Kevin Darbyshire-Bryant = wrote: >=20 > The very bad idea: >=20 > And it=E2=80=99s bad =E2=80=98cos it=E2=80=99s sort of incompatible = with the existing fwmark implementation as described above. So an awful = lot of our shenanigans above is due to DSCP not traversing the internet = particularly well. The solution above abstracts DSCP into =E2=80=99tins=E2= =80=99 which we put into fwmarks. Another approach would be to put the = DSCP *into* the fwmark. CAKE could (optionally) copy the FWMARK = contained DSCP into the diffserv field onto the actual packets. Voila = DSCP traversal across =E2=80=99tinternet with tin/bandwidth allocation = in our local domain preserved. If I understand it right, another use case for this =E2=80=9Cvery bad = idea=E2=80=9D is preserving DSCP locally while traversing upstream WiFi = links as besteffort, which avoids airtime efficiency problems that can = occur with 802.11e (WMM). In cases where the router config can=E2=80=99t = be changed (802.11e is mandatory after all) I=E2=80=99ve used IPIP = tunnels for this, as it hides DSCP from the WiFi stack while preserving = the values through the tunnel, but this would be easier. Neat=E2=80=A6 = :)=