Re: [Last-Call] Secdir last call review of draft-ietf-httpbis-http2bis-06

Sean Turner <sean@sn3rd.com> Wed, 08 December 2021 20:46 UTC

Return-Path: <sean@sn3rd.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7023E3A0B66 for <last-call@ietfa.amsl.com>; Wed, 8 Dec 2021 12:46:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, 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 (1024-bit key) header.d=sn3rd.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 i0mHwTLImCZI for <last-call@ietfa.amsl.com>; Wed, 8 Dec 2021 12:46:41 -0800 (PST)
Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 49C473A0B62 for <last-call@ietf.org>; Wed, 8 Dec 2021 12:46:41 -0800 (PST)
Received: by mail-qt1-x82b.google.com with SMTP id n15so3471668qta.0 for <last-call@ietf.org>; Wed, 08 Dec 2021 12:46:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ggac4QKpiGsZDxmCn+GzgHyQ1OcS1d8A9LapO/QUD5s=; b=agW+OY2PUdj0d4YuM4Q0VEmiij+jiIR3Ln9mJrm+HYx4QS67ZJG0AlXlW0qzstfsZ5 Xv0jvFYfoBq3uoAm2Xggo1eKu4H4cLzxMZV5vdX9F/0FXYiLCyLNkGcREYnkntl6q0C+ 9oUp9sRfNEhLJZaff2pJR6+G/lSuKWG62G7qU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ggac4QKpiGsZDxmCn+GzgHyQ1OcS1d8A9LapO/QUD5s=; b=4j4TMK4o593zqEWT+/2OFac+QQ9fkB9rWurtBGcQ0NKGvmgiy2uC5tq7dGZnyRetR0 fodlY9w6LH+G9zC4RJAtih9a72hVeldDWLtuW6TuzT9mDWfcD8z8c+JJVJ6FKFwDkpKT egG/5b3zdN6XhiPzY3ZqFEZLTTQe8K8OE4dsnVKG1/6011aXDTXJNNpaH3xfUzg4xsjh 2PXtM5xtXkCIt+mUnk/mhUWw0O3J16WTLVCILRkQxugs1lySxoM0wwP1a80PWlxzAtgS 8kiqsRzg5BPa+2yLmk2t/9ZYlpYThwUNuUpWi/WCPLGzp/cdG5Ghoo1f2NSCY6FNc+q8 U9Bw==
X-Gm-Message-State: AOAM530tQI58YW+jeNEYP2w8wR4iqJk3qUE3EkyrsK0yx6oasg8VVNtx 9sKUYy2Djp9uC6jg3zlp/F0Sog==
X-Google-Smtp-Source: ABdhPJwcJHOaGzcCN/FYFyZsVXFhdq7jvm6THaFY7sCIkfI83ErJMhKwGhAuxEZBhduBlTeYaTMZew==
X-Received: by 2002:ac8:5982:: with SMTP id e2mr11136854qte.530.1638996399400; Wed, 08 Dec 2021 12:46:39 -0800 (PST)
Received: from smtpclient.apple (pool-71-178-177-131.washdc.fios.verizon.net. [71.178.177.131]) by smtp.gmail.com with ESMTPSA id j22sm2074479qko.68.2021.12.08.12.46.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Dec 2021 12:46:38 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Sean Turner <sean@sn3rd.com>
In-Reply-To: <2ba1e1fd-ce3b-4411-a155-6ee05537b935@www.fastmail.com>
Date: Wed, 08 Dec 2021 15:46:38 -0500
Cc: secdir@ietf.org, draft-ietf-httpbis-http2bis.all@ietf.org, ietf-http-wg@w3.org, last-call@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F45021AC-036D-48CB-85F2-5FC2D1EE8D36@sn3rd.com>
References: <163885075235.5076.15549152460730053106@ietfa.amsl.com> <2ba1e1fd-ce3b-4411-a155-6ee05537b935@www.fastmail.com>
To: Martin Thomson <mt@lowentropy.net>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/C1xjVGAwk3nwFDB8M9KaHOLKxXM>
Subject: Re: [Last-Call] Secdir last call review of draft-ietf-httpbis-http2bis-06
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Dec 2021 20:46:47 -0000

Martin,

Perfectly fine with how you resolved all of these.

Cheers,
spt

> On Dec 7, 2021, at 01:12, Martin Thomson <mt@lowentropy.net> wrote:
> 
> Hey Sean,
> 
> Most of your changes are pretty straightforward and easy to address.   Thanks for the review.
> 
> You can review the changes I'm proposing here: https://github.com/httpwg/http2-spec/pull/1001
> 
> On Tue, Dec 7, 2021, at 15:19, Sean Turner via Datatracker wrote:
>> s3.3 (editorial): Even though s3 is clear that this section is about starting
>> with http, I would have thought that the last sentence in para 2 would have
>> been the very 1st sentence in the section to make that point very clear in case
>> it missed in s3.
> 
> Yeah, this is a little buried.  At the same time, I do somewhat like the natural flow that this text has.  The pull request above tries to pull out the important piece, but I'm not sure that I made it better in the process.  We'll kick it around some.
> 
>> 5.2.1/s5.2.2 (question): s5.2.1 indicates flow control cannot be disabled, but
>> in s5.2.2 you explain how to do exactly that. In s5.2.1, are you really saying
>> you can’t skip implementing the flow control mechanism and frames related to
>> connection control, i.e., WINDOW_UPDATE?
> 
> Good question.  I've clarified by saying that endpoints have to respect flow control set by their peer, even though they can opt out of setting limits of their own.  The original was incorrect-ish, but I was never motivated to fix it before.
> 
>> s7 (question): Since we already have h3, is it worth adding an h3 required
>> error?
> 
> I don't think we need it for various reasons, mostly because HTTP/1.1 is very much lowest common denominator, from which we can kick off Alt-Svc and other stuff.  We've discussed various options in this space and we continue to have those discussions, but I don't get the impression that the HTTP11_REQUIRED thing is anything more than safety valve.
> 
>> s8.3.1 (question): s8.3.1 includes this:
>> 
>>     The recipient of a HTTP/2 request MUST ignore
>>      the Host header field if :authority is present.
>> 
>> And, it also includes this:
>> 
>>     A server SHOULD treat a request as malformed if
>>     it contains a Host header field that identifies a
>>     different entity to the :authority pseudo-header field.
>> 
>> If I follow the MUST, then is the SHOULD ever followed?
> 
> The MUST was not intended to be so broad; it's OK to validate as well.  What we don't want to see is the Host header field being used to determine the target URI.  I've narrowed it some (hopefully not too much).
> 
>> s11 (confirmation, and I guess this is somewhat related to the last GENART
>> comment): Because you obsolete RFC 7540 with this I-D, I am going with the
>> assumption that the obsoleting is about the protocol and not about the
>> registries. As a result, there’s no need to copy the IANA instructions for
>> what’s in 7540 to this I-D.
> 
> Yeah, I don't know that we're ever going to get this right, but I think that we can rely on what is in the registries already and save making another copy.  FWIW, IANA got the changes absolutely right first time, so I don't think this is going to produce a bad result.  It's just a bit odd, that's all.
> 
>> s12.1 (question): Is it worth referring to 8446bis instead of RFC 8446?
> 
> I am not sure that I want to wait behind that.  As that particular change is easy, it's something we can do if the stars align at any time before AUTH48, so I've been putting off that decision in the hopes that we can go out together.  Of course, I was hoping that this could go out with HTTP/3 and all the other HTTP docs, but that opportunity seems to have passed.
> 
> Thanks,
> Martin