Re: Adoption call for draft-schwartz-httpbis-optimistic-upgrade

Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com> Sat, 27 January 2024 06:42 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@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 D1B43C18DB9B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Jan 2024 22:42:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.656
X-Spam-Level:
X-Spam-Status: No, score=-2.656 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DccYQhTt_eWO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Jan 2024 22:42:25 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4745DC18DB91 for <httpbisa-archive-bis2Juki@ietf.org>; Fri, 26 Jan 2024 22:42:25 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rTcLk-00DimE-Or for ietf-http-wg-dist@listhub.w3.org; Sat, 27 Jan 2024 06:39:32 +0000
Resent-Date: Sat, 27 Jan 2024 06:39:32 +0000
Resent-Message-Id: <E1rTcLk-00DimE-Or@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1rTcLi-00Dijc-9g for ietf-http-wg@listhub.w3.org; Sat, 27 Jan 2024 06:39:30 +0000
Received: from smtp1.atof.net ([52.86.233.228]) by titan.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1rTcLf-009Z1g-UD for ietf-http-wg@w3.org; Sat, 27 Jan 2024 06:39:29 +0000
X-Spam-Language: en
X-Spam-Relay-Country:
X-Spam-DCC: B=www.nova53.net; R=smtp1.atof.net 1206; Body=1 Fuz1=1 Fuz2=1
X-Spam-RBL:
X-Spam-PYZOR: Reported 0 times.
Date: Sat, 27 Jan 2024 01:39:11 -0500
From: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
To: Ben Schwartz <bemasc@meta.com>
Cc: Tommy Pauly <tpauly@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <ZbSk9snRZDHpDgjv@xps13>
References: <DC01619C-3B1C-4AE8-B331-56B1CE3E7120@apple.com> <ZbH560LrS5lfB9IL@xps13> <SA1PR15MB437027C9D17BC5E27708ED4AB37A2@SA1PR15MB4370.namprd15.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <SA1PR15MB437027C9D17BC5E27708ED4AB37A2@SA1PR15MB4370.namprd15.prod.outlook.com>
Received-SPF: pass client-ip=52.86.233.228; envelope-from=gs-lists-ietf-http-wg@gluelogic.com; helo=smtp1.atof.net
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1rTcLf-009Z1g-UD c515bfbfedc25c6fffaf2044c4f41ece
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Adoption call for draft-schwartz-httpbis-optimistic-upgrade
Archived-At: <https://www.w3.org/mid/ZbSk9snRZDHpDgjv@xps13>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51742
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/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Thu, Jan 25, 2024 at 03:59:46PM +0000, Ben Schwartz wrote:
> Hi Glenn,
> 
> I agree, the standardization status of "Upgrade: HTTP/2.0" seems to be ambiguous.  In this draft version, I attempted to address it for completeness without implying that it actually exists.  I'm happy to delete or rework that section as needed.
> 
> --Ben

https://datatracker.ietf.org/doc/draft-schwartz-httpbis-optimistic-upgrade/
Section 5.1.  "HTTP"
...
> A version number of "2.0" corresponds to HTTP/2.  Every HTTP/2
> connection begins with a Client Connection Preface (Section 3.4 of
> [RFC9113]) that was selected to ensure that a compliant HTTP/1.1
> server will not process further data on this connection.  This avoids
> security issues if an "HTTP/2.0" Upgrade Token is used
> optimistically.

I propose that this paragraph be removed or replaced, since an RFC for
Upgrade: HTTP/2.0 is an Expired Internet-Draft [1]

Instead of the Upgrade: HTTP/2.0 token, the paragraph could instead
reference HTTP/2 prior knowledge, e.g.:

"Every HTTP/2 connection begins with a Client Connection Preface
(Section 3.4 of [RFC9113]) that was selected to ensure that a compliant
HTTP/1.1 server will not process further data on this connection as
HTTP/1.1 request(s).  This avoids security issues if a client sends the
HTTP/2 Connection Preface over a clear-text connection to an HTTP/2
server supporting HTTP/2 prior knowledge (Section 3.3 of [RFC9113])."

Cheers, Glenn

[1] HTTP 2.0 Negotiation draft-montenegro-httpbis-http2-negotiation-01
https://datatracker.ietf.org/doc/html/draft-montenegro-httpbis-http2-negotiation

> ________________________________
> From: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
> Sent: Thursday, January 25, 2024 1:04 AM
> To: Tommy Pauly <tpauly@apple.com>
> Cc: HTTP Working Group <ietf-http-wg@w3.org>
> Subject: Re: Adoption call for draft-schwartz-httpbis-optimistic-upgrade
> 
> !-------------------------------------------------------------------|
>   This Message Is From an External Sender
> 
> |-------------------------------------------------------------------!
> 
> On Tue, Jan 23, 2024 at 09:41:39AM -0800, Tommy Pauly wrote:
> > Hello HTTP,
> >
> > This email starts a working group adoption call for "Security Considerations for Optimistic Use of HTTP Upgrade”, draft-schwartz-httpbis-optimistic-upgrade. Notably, this updates RFC 9298 (connect-udp, which was produced by the MASQUE WG) on how to handle HTTP Upgrade, including to disallow optimistic data sending for HTTP/1.1.
> >
> > The document can be found here:
> >
> > https://datatracker.ietf.org/doc/draft-schwartz-httpbis-optimistic-upgrade/
> > https://www.ietf.org/archive/id/draft-schwartz-httpbis-optimistic-upgrade-00.html
> >
> > This adoption call will last for 3 weeks, until Tuesday, February 13. Please reply to this email with your reviews and comments, and whether or not you think HTTPBIS should adopt this draft.
> 
> The draft section 5.1 "HTTP" mentions token "HTTP/2.0".
> 
> Is there a published RFC -- not an expired draft -- which describes
> handling of Upgrade: HTTP/2.0?  Are there any known implementations
> (client or server) which support HTTP/1.1 Upgrade: HTTP/2.0?
> 
> There is a now-obsoleted h2c token for HTTP/1.1 upgrade of clear-text
> (non-encrypted) HTTP/1.1 via HTTP/1.1 Upgrade: h2c, but h2c is
> different from Upgrade: HTTP/2.0
> 
> Thank you for pointers to Upgrade: HTTP/2.0 specifications, besides a
> brief mention of 'e.g., "2.0"' in RFC 9110 Section 18.10
> Upgrade Token Registration.
> 
> Cheers, Glenn
>