Re: Fwd: New Version Notification for draft-duke-httpbis-quic-version-alt-svc-00.txt

Martin Thomson <mt@lowentropy.net> Wed, 09 March 2022 23:32 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12AEB3A0C36 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 9 Mar 2022 15:32:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.76
X-Spam-Level:
X-Spam-Status: No, score=-7.76 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=zTns3X/d; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Y322XEp4
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 7uAAwjFYyI-C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 9 Mar 2022 15:32:16 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5809C3A1205 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 9 Mar 2022 15:32:15 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1nS5kg-0004UO-8y for ietf-http-wg-dist@listhub.w3.org; Wed, 09 Mar 2022 23:29:54 +0000
Resent-Date: Wed, 09 Mar 2022 23:29:54 +0000
Resent-Message-Id: <E1nS5kg-0004UO-8y@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1nS5ke-0004TP-Aj for ietf-http-wg@listhub.w3.org; Wed, 09 Mar 2022 23:29:52 +0000
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1nS5kc-0007ec-5W for ietf-http-wg@w3.org; Wed, 09 Mar 2022 23:29:52 +0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 825263201DB0 for <ietf-http-wg@w3.org>; Wed, 9 Mar 2022 18:29:36 -0500 (EST)
Received: from imap41 ([10.202.2.91]) by compute2.internal (MEProxy); Wed, 09 Mar 2022 18:29:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=B0DO9Jzn/EPw19pVQNp5P2XiO0Cg/BvGCYJVff cynvM=; b=zTns3X/dBKBX/TAYfm2NZkgVHGQkP1FnhxmvTNK8jM3eo0F1hK7Lf5 kMTyzkKkIaXHpVgal27B8E59nxq9Es0EIRL0bSgAm7jXIhqsmpcDQmmSc8xUs5QM u/axEKBQliyfXSqBpAxO5IxaEJC+44QjB7nmyOD17W3reSkfkOKvuaHqY6dk48Z6 4xVIUoSjyISosFNkssN4i3DA7Inj9UYTo4EW6GHIUc7/UP1dXdrFvDJqjM0YdRBl bdGtuS1B5sT9S56vxT6QGGUZ2ZB+RkuDAYdaxaXtPgE2XN75gCDmF0i4j8s0tKPf dqTkQ+uJEvEFp7FUd58A4zyN/ZEn0J4A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=B0DO9Jzn/EPw19pVQ Np5P2XiO0Cg/BvGCYJVffcynvM=; b=Y322XEp4BfrlGZyO1AaICzUhKZSu/lEBE tECV900F6bZMPcCt9IiYnOcS956nv3XK+UCyg6ib67GMwOWBWq+yOBIueHXEXIM2 VtXWFmq3+GXuZFEeDsZhAHNNm5yKrDhEI/1sn04cMHOOe1NoZxii6N0JatLBRwlD Qd2LjPcZm+yQmnFpXY/tZBU2AwImLIu7tOqCn39SvFPEln5ksohVtLnbrIhq5j5T A/Zy51YGNfnTIu0hvCansi6K5qWX7TMQiZeewNb7VAAt40S9zyu85lpKiBIJ1gzw yYM41kHjGpUdJCqaFrKGKDaHHSQXx/9d9QcM66CGgQ0ed1rs1ue9w==
X-ME-Sender: <xms:XzgpYnQnBskNh2bY42n4NaLFhH49ofzwHNXNzRwGzjL72I7WN0I4QA> <xme:XzgpYowg911WkYyeWZsh11AA09gqHq6Tz27KK-ZS8GNm_Z9eqnXoT5ae1muPRRCBj Mh76kL0LNoTfZTQqNY>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudduledgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpefhiedttdeviefhjeejgf evfeeuudfggfekveekheeugeegleevkeevkedthfeuieenucffohhmrghinhepihgvthhf rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:XzgpYs375mkGjX7uYxHqATMGe70pReZc3Hp98JKXvyOOxWG9JMbs-g> <xmx:XzgpYnDQcsnUgSY25WTzM5fHLLdiSvhmNIEdhGtTqKHbgQ8UWSV6Dw> <xmx:XzgpYggkq3DR2exD4MPPILH9exyuQoUm0EtFRuawBLLay-ozbAMnJg> <xmx:YDgpYruMYAhojj5fqtoDBixnGR2r_Jd5qK4x8_S7NrgNCXclURh1fw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id CC5AB3C00CF; Wed, 9 Mar 2022 18:29:35 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997
Mime-Version: 1.0
Message-Id: <571555f7-bfb4-4da1-8e3a-2242ed0fcc8d@beta.fastmail.com>
In-Reply-To: <CALGR9oauYKBC4P4u_g+j_tYmaO6e8zTk4CAAyPaTxdWxsa+WfQ@mail.gmail.com>
References: <164642784186.28316.13591675645652624288@ietfa.amsl.com> <CALGR9oauYKBC4P4u_g+j_tYmaO6e8zTk4CAAyPaTxdWxsa+WfQ@mail.gmail.com>
Date: Thu, 10 Mar 2022 10:29:17 +1100
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.19; envelope-from=mt@lowentropy.net; helo=wout3-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=lowentropy.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1nS5kc-0007ec-5W a649926d6567323ccca98247614f8844
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-duke-httpbis-quic-version-alt-svc-00.txt
Archived-At: <https://www.w3.org/mid/571555f7-bfb4-4da1-8e3a-2242ed0fcc8d@beta.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39883
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Sacrilegious thought: maybe we shouldn't care about solving for latency with Alt-Svc.

Alt-Svc connections are made asynchronously, while there is an active (and usable) connection open to the origin.  We can afford the extra round trips here.

Spending extra round trips while doing Alt-Svc (that is while we can afford it) might ensure that the system is capable of supporting all of the mechanisms we have built for the purpose of robustness: QUIC Version Negotiation packets, QUIC retry, TLS HelloRetryRequest, TLS ECH fallback, version negotiation greasing, address validation, massive PQ-capable handshake messages, etc...  While I wouldn't want to pile all of those things on at the same time (10 RTT handshake anyone?) it seems like exercising those mechanisms in a no-pressure situation might be a good thing.

Now, as to whether we might optionally have a smoother path, rather than essentially forcing additional round trips in some situations, that's where this work might come in.  But I'm far less clear on the virtues of a save-every-round-trip policy in light of the above.

Cheers,
Martin

On Tue, Mar 8, 2022, at 09:21, Lucas Pardue wrote:
> Hello HTTP WG,
>
>
> We published draft-duke-httpbis-quic-version-alt-svc [0], please see 
> the forwarded email for more details. 
>
>
> To jog your memories, HTTP/3 [1] chose the "h3" ALPN name and linked it 
> to QUICv1. This value is used for Alt-Svc adverts and the real ALPN 
> extension in a QUIC handshake. HTTP/3 punted on defining how endpoints 
> might agree on the use of other QUIC versions.
>
>
> Over in the QUIC WG we have continued to think about transport-level 
> version negotiation, and something that has come up a few times is the 
> effect on HTTP/3. While different solutions have been thrown around, 
> the common set of goals appears to be 1) avoid having to support QUIC 
> v1 forever 2) avoid a version-negotiation-triggered-roundtrip.
>
>
> To address these goals, draft-duke-httpbis-quic-version-alt-svc opts to 
> define a new "quicv" Alt-Svc parameter that contains a preference 
> ordered list of QUIC versions supported by the alternative. Clients 
> that understand the parameter stand a better chance of selecting a more 
> desirable QUIC version without triggering a negotiation. 
>
>
> Using an Alt-Svc parameter for QUIC version hinting isn't particularly 
> novel; older revisions of HTTP/3 [2] [3] tried different styles until 
> the matter was punted. However, given how QUIC version matters are 
> evolving, and that the HTTP WG has RFC 7838bis open currently, now 
> seems like a good time to consider formalizing a parameter and lock 
> down the format. 
>
>
> Cheers,
>
> Lucas
>
> On behalf of the draft authors
>
>
> [0] - 
> https://datatracker.ietf.org/doc/html/draft-duke-httpbis-quic-version-alt-svc
>
> [1] - https://tools.ietf.org/html/draft-ietf-quic-http-34
> [2] - https://datatracker.ietf.org/doc/html/draft-ietf-quic-http-00#section-2
>
> [3] - https://datatracker.ietf.org/doc/html/draft-ietf-quic-http-02#section-2.1
>
>
>
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: Fri, Mar 4, 2022 at 9:04 PM
> Subject: New Version Notification for 
> draft-duke-httpbis-quic-version-alt-svc-00.txt
> To: Lucas Pardue <lucaspardue.24.7@gmail.com>, Martin Duke 
> <martin.h.duke@gmail.com>
>
>
>
> A new version of I-D, draft-duke-httpbis-quic-version-alt-svc-00.txt
> has been successfully submitted by Martin Duke and posted to the
> IETF repository.
>
> Name:           draft-duke-httpbis-quic-version-alt-svc
> Revision:       00
> Title:          An Alt-Svc Parameter for QUIC Versions
> Document date:  2022-03-04
> Group:          Individual Submission
> Pages:          6
> URL:            
> https://www.ietf.org/archive/id/draft-duke-httpbis-quic-version-alt-svc-00.txt
> Status:         
> https://datatracker.ietf.org/doc/draft-duke-httpbis-quic-version-alt-svc/
> Html:           
> https://www.ietf.org/archive/id/draft-duke-httpbis-quic-version-alt-svc-00.html
> Htmlized:       
> https://datatracker.ietf.org/doc/html/draft-duke-httpbis-quic-version-alt-svc
>
>
> Abstract:
>    HTTP Alternative Services (Alt-Svc) describes how one origin's
>    resource can be accessed via a different protocol/host/port
>    combination.  Alternatives are advertised by servers using the Alt-
>    Svc header field or the ALTSVC frame.  This includes a protocol name,
>    which reuses Application Layer Protocol Negotiation (ALPN)
>    codepoints.  The "h3" codepoint indicates the availability of HTTP/3.
>    A client that uses such an alternative first makes a QUIC connection.
>    However, without a priori knowledge of which QUIC version to use,
>    clients might incur a round-trip latency penalty to complete QUIC
>    version negotiation, or forfeit desirable properties of a QUIC
>    version.  This document specifies a new Alt-Svc parameter that
>    specifies alternative supported QUIC versions, which substantially
>    reduces the chance of this penalty.
>
>
>
>
> The IETF Secretariat