Re: SECDIR review of draft-ietf-httpbis-alt-svc-12

Mark Nottingham <mnot@mnot.net> Thu, 25 February 2016 21:36 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD6361B35AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Feb 2016 13:36:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 DIL64Vqp03nH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Feb 2016 13:36:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8FC81B35A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Feb 2016 13:36:01 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aZ3Ux-000392-GA for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Feb 2016 21:30:59 +0000
Resent-Date: Thu, 25 Feb 2016 21:30:59 +0000
Resent-Message-Id: <E1aZ3Ux-000392-GA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1aZ3Ur-000346-00 for ietf-http-wg@listhub.w3.org; Thu, 25 Feb 2016 21:30:53 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1aZ3Uo-0006if-N6 for ietf-http-wg@w3.org; Thu, 25 Feb 2016 21:30:52 +0000
Received: from [192.168.1.109] (unknown [120.149.194.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 696C622E271; Thu, 25 Feb 2016 16:30:25 -0500 (EST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <56CEF729.4010800@gmx.de>
Date: Fri, 26 Feb 2016 08:30:22 +1100
Cc: HTTP WG <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A555243D-8A68-487C-B7D0-447AD382835A@mnot.net>
References: <687A1C0F-067F-4487-A217-7399560FA675@mnot.net> <5E0627D1-45E2-48D5-9A0A-B50B6BA0B644@mnot.net> <56CB4940.8030102@greenbytes.de> <56CEF729.4010800@gmx.de>
To: "Julian F. Reschke" <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3112)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.009, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1aZ3Uo-0006if-N6 8bfac96589d568a11962d5916973f2fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SECDIR review of draft-ietf-httpbis-alt-svc-12
Archived-At: <http://www.w3.org/mid/A555243D-8A68-487C-B7D0-447AD382835A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31095
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> On 25 Feb 2016, at 11:44 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
> On 2016-02-22 18:45, Julian Reschke wrote:
>> On 2016-02-22 00:43, Mark Nottingham wrote:
>>> FYI; we got a secdir review of alt-svc, with some editorial issues.
>>> 
>>> 
>>>> Begin forwarded message:
>>>> 
>>>> From: Mark Nottingham <mnot@mnot.net>
>>>> Subject: Re: SECDIR review of draft-ietf-httpbis-alt-svc-12
>>>> Date: 22 February 2016 at 10:42:02 AM AEDT
>>>> To: Chris Lonvick <lonvick.ietf@gmail.com>
>>>> Cc: "iesg@ietf.org" <iesg@ietf.org>, "secdir@ietf.org"
>>>> <secdir@ietf.org>, draft-ietf-httpbis-alt-svc.all@tools.ietf.org
>>>> 
>>>> Hi Chris,
>>>> 
>>>> Thanks for the review. See:
>>>>  https://github.com/httpwg/http-extensions/commit/23d3b09374c077
>>>> ...
>> 
>> 
>> I'm not totally OK with all the edits, for instance we now have
>> normative language in notes, and a lowercase "required" has sneaked in.
>> 
>> Will review tomorrow.
> 
> OK, here we go. Below are the changes that IMHO need to be reviewed as they affect normative language:
> 
> 
>> Section 2., paragraph 11:
>> OLD:
>> 
>>    Alt-Svc MAY occur in any HTTP response message, regardless of the
>>    status code.  Note that recipients of Alt-Svc are free to ignore the
>>    header field (and indeed need to in some situations; see Sections 2.1
>>    and 6).
>> 
>> NEW:
>> 
>>    Alt-Svc MAY occur in any HTTP response message, regardless of the
>>    status code.  Note that recipients of Alt-Svc MAY ignore the header
>>    field (and are required to in some situations; see Sections 2.1 and
>>    6).
> 
> This should be reverted; the actual requirements are in Sections 2.1 and 6, and we should not have them in multiple places.

Agreed.

> 
>> Section 4., paragraph 2:
>> OLD:
>> 
>>    The ALTSVC frame is a non-critical extension to HTTP/2.  Endpoints
>>    that do not support this frame can safely ignore it.
>> 
>> NEW:
>> 
>>    The ALTSVC frame is a non-critical extension to HTTP/2.  Endpoints
>>    that do not support this frame MAY ignore it.
> 
> This is IMHO misleading as it is true for any unknown frame. It just follows from <http://greenbytes.de/tech/webdav/rfc7540.html#rfc.section.4.1>:
> 
> "Implementations MUST ignore and discard any frame that has a type that is unknown."

Would adding "as per [RFC7540], Section 4.1" help?


> 
>> Section 4., paragraph 13:
>> OLD:
>> 
>>    The ALTSVC frame is intended for receipt by clients; a server that
>>    receives an ALTSVC frame can safely ignore it.
>> 
>> NEW:
>> 
>>    The ALTSVC frame is intended for receipt by clients.  A device acting
>>    as a server MUST ignore it.
> 
> I'm ok with this one (but wanted to highlight the new normative requirement).
> 
> Best regards, Julian
> 
> 

--
Mark Nottingham   https://www.mnot.net/