[tsvwg] how to ecn again on osx and ios!!!

Dave Taht <dave.taht@gmail.com> Tue, 09 March 2021 20:39 UTC

Return-Path: <dave.taht@gmail.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 807513A0BFC for <tsvwg@ietfa.amsl.com>; Tue, 9 Mar 2021 12:39:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H1lR6wjrPMnT for <tsvwg@ietfa.amsl.com>; Tue, 9 Mar 2021 12:39:05 -0800 (PST)
Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D779B3A0C31 for <tsvwg@ietf.org>; Tue, 9 Mar 2021 12:39:04 -0800 (PST)
Received: by mail-io1-xd32.google.com with SMTP id n14so15454584iog.3 for <tsvwg@ietf.org>; Tue, 09 Mar 2021 12:39:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=GVAGeWg6XsRjUaRJD61DYxUa7s824hSAmjpfgaj/9dg=; b=E5NCOTzH75dBEP5FnH7HLaSJ69WoPAKgC7eFljQTd6qce0UmLMQtwccYFDXaPjhL6J NZz2zXNm8VpfFmXq6csSYYRVxACr5Voz+vmm9S3k9qimpbLz+ecr2JMm/jR/TrZtGk9O 3UT2bRdZHc/Eeww9QZpBs71NcQyzyxoGGZPHpFdMVVt1T8b582IzQZB7W41AdWJFW0eD FjlINeEKaV9n9/vGqZrg6p5lkdnXjpOEmLWqSDQyJsNhRlAYdNdKpHGTu9qnenQWfXwv 7uoQHGHvDQP4IGUPZrWBKIM7dVQiZbyb0yN/7+gDM3nZIsXO9TUYcKpIH2eww5Ykx0TX 91eQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=GVAGeWg6XsRjUaRJD61DYxUa7s824hSAmjpfgaj/9dg=; b=UTxVAviAQXCxKieaNBuJA2SUrXcdTKsrXA/uuyW1QUDZyWKVTVzz3IwrOk4mSHIiO4 GRmWrkdBnwM8MHyp8DXtzWsykV46NDL5vksjioyqtYX5dmGV+TTd0LHK8LozJGJ4hXlD ZyNOly5tv1HbCCR1qmOe9md0lrWyx0ubx78QoXNVY7M+HVEHnsH2Ts5qrpUV4oXfbAWJ 73j5EPyLCGgtj0PHsxfmS7HtQwq189NjNSyt+4AWwJrvf1+QhrXas3NH53eHKEKa8hiP mZoGX+T/0kyEZVPJJklsDrui6mNRRiI4MerecRuu2v1DWnbbXJaHl9kF7CEmvRJaBtRI PNbA==
X-Gm-Message-State: AOAM533oMi4JLQbXn4zy5GXrhWqdMxTaBfzohzPQcTlQ+4CnLgzjTx+9 xBULZ1E/vGQitfoXI/1HlKAj4hDegaIZHTtUWCI=
X-Google-Smtp-Source: ABdhPJyGlYh5zRl4PHBiTyM9sxULbZ8rABs8KkyGkXLeGM86EdqFp/f8fg3UVfn6EUTRK1bHQM7rx/PCxPbr6NOnCAs=
X-Received: by 2002:a5d:9641:: with SMTP id d1mr23884878ios.123.1615322343562; Tue, 09 Mar 2021 12:39:03 -0800 (PST)
MIME-Version: 1.0
From: Dave Taht <dave.taht@gmail.com>
Date: Tue, 9 Mar 2021 12:38:52 -0800
Message-ID: <CAA93jw7wDiE4R+y2JV85wAZqcDpFtSetx47bmFQcr-8XAtCSpg@mail.gmail.com>
To: ECN-Sane <ecn-sane@lists.bufferbloat.net>, bloat <bloat@lists.bufferbloat.net>, Make-Wifi-fast <make-wifi-fast@lists.bufferbloat.net>, cerowrt-devel <cerowrt-devel@lists.bufferbloat.net>, Cake List <cake@lists.bufferbloat.net>, tsvwg IETF list <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/EyOtNjHfjs3hTTwq_R9j8K5vh-4>
Subject: [tsvwg] how to ecn again on osx and ios!!!
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Mar 2021 20:39:18 -0000

The additional sysctl required to re-enable ecn negotiation always is

sudo sysctl -w net.inet.tcp.disable_tcp_heuristics=1

See also:
https://github.com/apple-opensource/xnu/blob/master/bsd/netinet/tcp_cache.c#L164

It disables mptcp and tfo, which for purposes of even basic worldwide
testing of the survival of the ect(0) and ect(1) codepoints, don't
really matter. I am delirious with joy to be able to test this stuff
again from devices more people have, and I hope y'all turn it on for a
while, on ethernet/wifi and lte, get a bunch of captures and see what
happens in day to day use. I would so love packet captures from many
many vantage points against the worldwide flent testing network.

Those of you that have root access on your iphones can also test ecn
in this way.

A huge thanks to Christoph Paasch over at apple for pointing this out.

-- 
"For a successful technology, reality must take precedence over public
relations, for Mother Nature cannot be fooled" - Richard Feynman

dave@taht.net <Dave Täht> CTO, TekLibre, LLC Tel: 1-831-435-0729