Re: [Gen-art] Genart last call review of draft-ietf-httpbis-origin-frame-04

Alissa Cooper <alissa@cooperw.in> Tue, 09 January 2018 17:25 UTC

Return-Path: <alissa@cooperw.in>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB304129966 for <gen-art@ietfa.amsl.com>; Tue, 9 Jan 2018 09:25:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=cooperw.in header.b=muQrNjOs; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=RquFBIZC
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 l7-eCtgwC6eF for <gen-art@ietfa.amsl.com>; Tue, 9 Jan 2018 09:25:37 -0800 (PST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 673D4127522 for <gen-art@ietf.org>; Tue, 9 Jan 2018 09:25:37 -0800 (PST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8AB9420DA8; Tue, 9 Jan 2018 12:25:36 -0500 (EST)
Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Tue, 09 Jan 2018 12:25:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cooperw.in; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=bm2ALnGIClaEl5ukyk5a7tZA70k7P VEnGu+QNSA5HGY=; b=muQrNjOsr4hDoNi8FnUxeCwiyhMAbxbRmYlu1C4gO4d9r oWj+fJSUsZ2zCnb8LBaik8grD6xNmROV1y0WbCyyg0AeSfE338QwcyQ51vEUzO/H lmPr+ot9Zy5ZJuQRTB1eb9Y7ea9BQjiANLjikJKWM4TpLaMVtsRQjCr2FEnr1QEb MaQzpoPNaERuqrHS7PNplAoLoZj8RjubZRWkojTcqeUkER4soj+r9x49YsDUS4YB tej+sYbTukkRLgG4EpCSkY7pLTijKK3rsOJenDL+fT5ZS8Ys1zw/Z/lNBNLZuEVh WTbmvtrIR0W7tF2w0SYBWMAp3SMyBfPMqoVrEALyA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=bm2ALn GIClaEl5ukyk5a7tZA70k7PVEnGu+QNSA5HGY=; b=RquFBIZC5VhW+rs4uyxi+D F9Y2taLTF9A41K4tqScv5vGmFKxu5saA75nQyRRsuEJXCHpUzL9zqJsmnfIkv2o1 91LYzNgN0xOR2zn3pccUAwABMfptPuLhpqGFGl6LODXWjnkeKJ3pAVb4E0rU1yWh k2CBXrh+fC59BDNtV940d5Yd8i7t9POXel8hoz15+6Yu4ecDSoVB4Y3cG7yBclhO Zadc5hbGLPUcyGauEnx8Spq8ju0dSZ4ib/nku2T2K91NcQAgBNPK7KQ4XpdERsu8 lnAFp9ZQZJp4l6TrFW8/EPY8NwB79qdj/OMglEqMwpKpFic2BMHjECqgNDOl3OLA ==
X-ME-Sender: <xms:EPtUWh9BCuXSMZRzfZMSZUMaAxXXut0sz5bjIGSNKjw7Z0ZODRMAdA>
Received: from sjc-alcoop-8813.cisco.com (unknown [128.107.241.167]) by mail.messagingengine.com (Postfix) with ESMTPA id 7BED87E16A; Tue, 9 Jan 2018 12:25:35 -0500 (EST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Alissa Cooper <alissa@cooperw.in>
In-Reply-To: <c93ac04c-f2c9-aea5-5224-9656eeb63571@gmail.com>
Date: Tue, 09 Jan 2018 12:25:32 -0500
Cc: Mark Nottingham <mnot@mnot.net>, gen-art <gen-art@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3EEA70F2-0346-4EFE-BE2D-8C4667EAE3F3@cooperw.in>
References: <151166787103.16046.10259096251205147245@ietfa.amsl.com> <E3172984-2411-4AB0-B53D-8DC4800B51AA@mnot.net> <7c23613c-8c8e-6218-ba9f-f0bd1aea6e9c@gmail.com> <E6E0B76A-D70C-4E6A-80B3-F8ED613C274E@mnot.net> <c93ac04c-f2c9-aea5-5224-9656eeb63571@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/5i3_TnpS3OD6dN4n7raR1j2Vbv8>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-httpbis-origin-frame-04
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jan 2018 17:25:40 -0000

Brian, thanks for your review. Mark, thanks for your responses. I’ve entered a No Objection ballot.

Alissa

> On Nov 27, 2017, at 10:59 PM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> 
> Works for me.
> 
>    Brian
> 
> On 28/11/2017 13:33, Mark Nottingham wrote:
>> Thanks again. Please see:
>>  https://github.com/httpwg/http-extensions/commit/871a80d12aa
>> 
>> 
>>> On 27 Nov 2017, at 1:05 pm, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>> 
>>> Hi Mark,
>>> 
>>> On 27/11/2017 12:38, Mark Nottingham wrote:
>>>> Hi Brian,
>>>> 
>>>> Thanks for the review. Responses below.
>>>> 
>>>>> On 26 Nov 2017, at 2:44 pm, Brian Carpenter <brian.e.carpenter@gmail.com> wrote:
>>>> [...]
>>>>> Minor Issues:
>>>>> -------------
>>>>> 
>>>>>> 2.1.  Syntax
>>>>> ...
>>>>>> Origin: An OPTIONAL sequence of characters ... that the
>>>>>> sender believes this connection is or could be authoritative for.
>>>>> 
>>>>> So, that implies that all data in the ORIGIN frame might be false.
>>>>> Doesn't that deserve a bit of a health warning at the beginning of the
>>>>> Security Considerations?
>>>> 
>>>> The first paragraph of SC is already:
>>>> 
>>>> """
>>>>  Clients that blindly trust the ORIGIN frame's contents will be
>>>>  vulnerable to a large number of attacks.  See Section 2.4 for mitigations.
>>>> """
>>>> 
>>>> What would you suggest?
>>>> 
>>>>> Also, using the word "believes" of a server
>>>>> is strange. How would the server acquire uncertain knowledge in the
>>>>> first place, and what algorithm would decide what it "believes"?
>>>> 
>>>> This is to emphasise that ORIGIN is advisory only -- it does not constitute proof (crypto does that).
>>> 
>>> Right. But I think it's the anthropomorphic choice of word that triggered me. If you said "that the sender asserts this connection is or could be authoritative for" I think I'd have nothing further to say, since it's clearly an assertion that needs to be checked.
>>> 
>>>> 
>>>>> Appendix A doesn't show any sign of a client checking whether an
>>>>> Origin-Entry is real.
>>>> 
>>>> As per Section 2.4, it isn't checked when the origin set is created or updated; it's checked when the value is used.
>>> 
>>> OK
>>> 
>>>> 
>>>> 
>>>>>> 2.3.  The Origin Set
>>>>> ...
>>>>>> o  Host: the value sent in Server Name Indication (SNI, [RFC6066]
>>>>>>   Section 3), converted to lower case
>>>>> 
>>>>> In that reference:
>>>>> 
>>>>>>> Literal IPv4 and IPv6 addresses are not permitted in "HostName".
>>>>> 
>>>>> Is that an intended or unintended restriction for the ORIGIN frame?
>>>>> In any case it should probably be mentioned explicitly to avoid confusion.
>>>>> (If IPv6 literals were allowed, they might be very convenient for server
>>>>> load balancing. But RFC6066 excludes that.)
>>>> 
>>>> Good catch. I don't think there's cause for confusion here (the text there isn't about what can go on the wire), but there is a corner case we haven't covered (when a client that supports SNI omits it because it's an IP literal). 
>>>> 
>>>> My inclination there is to say that the host is the SNI value or the server IP if SNI is missing; what do people think?
>>> 
>>>> From this reviewer's peanut gallery seat, that makes sense.
>>> 
>>>  Brian
>>> 
>>>> 
>>>> Cheers,
>>>> 
>>>> --
>>>> Mark Nottingham   https://www.mnot.net/
>>>> 
>>>> 
>> 
>> --
>> Mark Nottingham   https://www.mnot.net/
>> 
>> 
> 
> _______________________________________________
> Gen-art mailing list
> Gen-art@ietf.org
> https://www.ietf.org/mailman/listinfo/gen-art