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

Mark Nottingham <mnot@mnot.net> Fri, 26 February 2016 00:51 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 AB3471A0093 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Feb 2016 16:51:09 -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 jItlVb1b9ARW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Feb 2016 16:51:08 -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 283F51A0095 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Feb 2016 16:51:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aZ6Xu-0007lx-19 for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Feb 2016 00:46:14 +0000
Resent-Date: Fri, 26 Feb 2016 00:46:14 +0000
Resent-Message-Id: <E1aZ6Xu-0007lx-19@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 1aZ6Xp-0007lG-HW for ietf-http-wg@listhub.w3.org; Fri, 26 Feb 2016 00:46:09 +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 1aZ6Xm-0004pE-QD for ietf-http-wg@w3.org; Fri, 26 Feb 2016 00:46:08 +0000
Received: from [192.168.1.101] (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 5C00D22E1F4; Thu, 25 Feb 2016 19:45:41 -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: <56CF7470.8080306@gmx.de>
Date: Fri, 26 Feb 2016 11:45:39 +1100
Cc: HTTP WG <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C1CC7C72-28EA-4D40-8694-0549D95DBDCB@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> <A555243D-8A68-487C-B7D0-447AD382835A@mnot.net> <56CF7470.8080306@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=0.991, 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 1aZ6Xm-0004pE-QD 8b86000293a74912698db885be79f1fd
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/C1CC7C72-28EA-4D40-8694-0549D95DBDCB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31100
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>

https://github.com/httpwg/http-extensions/commit/5f22e10b0c82

Note that I changed "are free to" to "can" in the first one (as that phrase was the original source of the issue).

Cheers,



> On 26 Feb 2016, at 8:38 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
> On 2016-02-25 22:30, Mark Nottingham wrote:
>>>> 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.
> 
> 200.
> 
>>>> 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?
> 
> "Endpoints that do not support this frame *will* ignore it (as per thee extensibility rules defined in Section 4.1 of [RFC7540])."
> 
> ?
> 
>>>> 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/
> 
> Best regards, Julian
> 

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