Re: [tcpm] History of ECN's use of TCP header bits vs. TCP option

Jonathan Morton <chromatix99@gmail.com> Mon, 25 November 2019 14:57 UTC

Return-Path: <chromatix99@gmail.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 930AB120977 for <tcpm@ietfa.amsl.com>; Mon, 25 Nov 2019 06:57:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 cubmKw7bruPG for <tcpm@ietfa.amsl.com>; Mon, 25 Nov 2019 06:57:09 -0800 (PST)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 22798120976 for <tcpm@ietf.org>; Mon, 25 Nov 2019 06:57:09 -0800 (PST)
Received: by mail-lj1-x22b.google.com with SMTP id q2so16247878ljg.7 for <tcpm@ietf.org>; Mon, 25 Nov 2019 06:57:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YN6bKzu3vCoH7aTVbZzxAiR1OqfCtd2vXS43WhzcSOU=; b=gI13qmmrHhNzzso1Wn84gWirPULC7+xBugmGQI+gHkS+A2Trbe5LMU1tNHm7S/yfmL 0pVqktxoj/kAZ8hia8xhj5ftWoUATCmVE9+OxsJEugonazWrpA5Ax8HA1Ewp95CgVXIy zOqZiObWGUO1b9n8ccCVliC00+hbqi/bNG6xhz+rwZioNz9mbaxPxpGn32U2Zkobcm8G 5hEzsXKcAtAs721gsCD17zM4e4/d8x9YHemygdAdQzV6/KKVoD8tkTnYYWpJqJ6FG9e2 /gb833Ry/V3tGiwA4zaW5efoDnwJPdyyWXtzwhyvdaCi2GhT0i5N5sxs+K5cb/7LqGq0 3wWw==
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=YN6bKzu3vCoH7aTVbZzxAiR1OqfCtd2vXS43WhzcSOU=; b=P6UrGEIIjQSG79D9ij5gi9xgPoTZY7o/J8z/7vxU4wkRvTyPTLGSO0QyNfLGbk7era hRFXeQAb1REkj3pvHXA/pgb8b+KLQc72NiZmMFC/zZJ/K4BuLBALiReJnUpn5QvxUUdi 0/ksv8rIn0LFZ39JAcbIekI1ZgJVCfF1wboAsrB+E6laMGEQAInE7JAoVQlLQJOj4w3I 07B/pjEWwrGtYMTUFQadHtXoD+fHBujI17n59ozasFr3+pbimKkbllUyi55WnmhMGc2O 1HWAvkNMsoOPO48DUb1/LkVDmMubv/sbuG5F2ujYBub37qc3U3YU6DGNF0YmxI8174Nc cZkg==
X-Gm-Message-State: APjAAAUgS9Gl8KPLt20JII9dj6GtvUFkOCK4Pi/58ejhnfMf+g3zoNHh RaQxnxF/cGJU+YfllLq6l5JWvQds
X-Google-Smtp-Source: APXvYqzdwm9y6/Mn4bnKV6fq79B/Yl5WPhUxUlY2M/MkrvseJXxE1DSLROzAXGq7177RDCNs28dFKQ==
X-Received: by 2002:a2e:574d:: with SMTP id r13mr22495605ljd.10.1574693827134; Mon, 25 Nov 2019 06:57:07 -0800 (PST)
Received: from jonathartonsmbp.lan (83-245-229-102-nat-p.elisa-mobile.fi. [83.245.229.102]) by smtp.gmail.com with ESMTPSA id s20sm3762824lfb.6.2019.11.25.06.57.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Nov 2019 06:57:06 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <28cdf725-546f-6d0f-516e-1c8f19a00749@bobbriscoe.net>
Date: Mon, 25 Nov 2019 16:57:04 +0200
Cc: tcpm IETF list <tcpm@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4F389E20-C5A7-441D-89CE-5F32A3629151@gmail.com>
References: <28cdf725-546f-6d0f-516e-1c8f19a00749@bobbriscoe.net>
To: Bob Briscoe <ietf@bobbriscoe.net>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/Hzh3d68esSMR2ompInkDXkxuRRY>
Subject: Re: [tcpm] History of ECN's use of TCP header bits vs. TCP option
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Nov 2019 14:57:10 -0000

> On 25 Nov, 2019, at 2:55 pm, Bob Briscoe <ietf@bobbriscoe.net> wrote:
> 
> In Appendix B.1 of the AccECN draft it says:
>    It is not recorded why ECN originally used this [header flags]
>    approach instead of the more orthodox use of a TCP option.
> 
> Having dug into the history, I propose we change this to:
> 
> ECN originally used header flags rather than a TCP option because it was considered more efficient to use a header flag for 1 bit of feedback per ACK, and this bit could be overloaded to indicate support for ECN during the handshake. During the development of ECN, 1 bit crept up to 2, in order to deliver the feedback reliably and to work round some broken hosts that reflected the reserved flags during the handshake.

This seems like a reasonable improvement to me.

 - Jonathan Morton