Re: draft-ietf-httpbis-alt-svc-12.txt
Mark Nottingham <mnot@mnot.net> Wed, 10 February 2016 03: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 812D91B3640 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Feb 2016 19:36:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.903
X-Spam-Level:
X-Spam-Status: No, score=-6.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, 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 BRc-hRSsLqgQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Feb 2016 19:36:10 -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 914F61B3644 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 9 Feb 2016 19:36:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aTLVR-0006fH-Iu for ietf-http-wg-dist@listhub.w3.org; Wed, 10 Feb 2016 03:31:53 +0000
Resent-Date: Wed, 10 Feb 2016 03:31:53 +0000
Resent-Message-Id: <E1aTLVR-0006fH-Iu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1aTLVK-0006eW-0N for ietf-http-wg@listhub.w3.org; Wed, 10 Feb 2016 03:31:46 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1aTLVH-0002Zz-Ha for ietf-http-wg@w3.org; Wed, 10 Feb 2016 03:31:45 +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 0244A22E261; Tue, 9 Feb 2016 22:31:14 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20160209182822.C37A959F@welho-filter2.welho.com>
Date: Wed, 10 Feb 2016 14:31:11 +1100
Cc: HTTP WG <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>, "Julian F. Reschke" <julian.reschke@greenbytes.de>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B7164F24-DDA1-4753-8A8B-04809B1965FF@mnot.net>
References: <20160209074851.32332.24065.idtracker@ietfa.amsl.com> <20160209182822.C37A959F@welho-filter2.welho.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
X-Mailer: Apple Mail (2.2104)
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=-8.3
X-W3C-Hub-Spam-Report: AWL=1.334, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: maggie.w3.org 1aTLVH-0002Zz-Ha f29a679b0b9590d1bf9a52a429f664b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-alt-svc-12.txt
Archived-At: <http://www.w3.org/mid/B7164F24-DDA1-4753-8A8B-04809B1965FF@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31063
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>
Hi Kari, I think Barry is about to start IETF LC on this, so if that happens, we'll just consider this LC feedback. It's a fair point. This is difficult to specify; one way we could do it is to specify the way we know here (using HTTPS with a strong cert), and require other ways to update this specification (with an Updates: field on the Standards Track). What do others think? > On 10 Feb 2016, at 5:28 am, Kari Hurtta <hurtta-ietf@elmme-mailer.org> wrote: > > > Tricky > > https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-12#section-2.1 > > | 2.1. Host Authentication > | > | > | Clients MUST have reasonable assurances that the alternative service > | is under control of and valid for the whole origin. > > I have impression that on absence of other protocol, this is mean to > forbid use plain HTTP/2 (ie "h2c"), because there is no "reasonable > assurance". > > But is reader understanding that? There is examples which use "h2c". > > This does not give that > > | However, if "other.example.com" is > | offered with the "h2c" protocol, the client cannot use it, because > | there is no mechanism in that protocol to establish the relationship > | between the origin and the alternative. > > Reader may think that there is "reasonable assurance" when hostname > is same. > > There is > > https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-12#section-9.1 > > | 9.1. Changing Ports > | > | > | Using an alternative service implies accessing an origin's resources > | on an alternative port, at a minimum. An attacker that can inject > | alternative services and listen at the advertised port is therefore > | able to hijack an origin. On certain servers, it is normal for users > | to be able to control some personal pages available on a shared port, > | and also to accept to requests on less-privileged ports. > > But that part is confusing: > > | This risk is mitigated by the requirements in Section 2.1. > > When requirement is "reasonable assurance" I think that reader > is confused. > > "h2c" examples are > > https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-12#section-3 > > | The Alt-Svc field value can have multiple values: > | > | Alt-Svc: h2c=":8000", h2=":443" > > > https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-12#section-3.1 > > > | HTTP/1.1 200 OK > | Content-Type: text/html > | Cache-Control: max-age=600 > | Age: 30 > | Alt-Svc: h2c=":8000"; ma=60 > > > So my question is: Can reader understand this without > reading https://lists.w3.org/Archives/Public/ietf-http-wg/ ? > > ( Or without reading that other protocol RFC which > gives reasonable assurance. ) > > / Kari Hurtta > -- Mark Nottingham https://www.mnot.net/
- I-D Action: draft-ietf-httpbis-alt-svc-12.txt internet-drafts
- Re: draft-ietf-httpbis-alt-svc-12.txt Mark Nottingham
- Re: draft-ietf-httpbis-alt-svc-12.txt Martin Thomson
- draft-ietf-httpbis-alt-svc-12.txt Kari Hurtta
- Re: draft-ietf-httpbis-alt-svc-12.txt Kari Hurtta
- RE: draft-ietf-httpbis-alt-svc-12.txt Mike Bishop
- Re: draft-ietf-httpbis-alt-svc-12.txt Barry Leiba
- Re: draft-ietf-httpbis-alt-svc-12.txt Amos Jeffries
- RE: draft-ietf-httpbis-alt-svc-12.txt Mike Bishop
- #148: Reasonable Assurances and H2C Mark Nottingham
- Re: #148: Reasonable Assurances and H2C Martin Thomson
- Re: #148: Reasonable Assurances and H2C Mark Nottingham
- Re: #148: Reasonable Assurances and H2C Martin Thomson
- Re: draft-ietf-httpbis-alt-svc-12.txt Julian Reschke
- Re: #148: Reasonable Assurances and H2C Mark Nottingham
- Re: #148: Reasonable Assurances and H2C Julian Reschke
- Re: #148: Reasonable Assurances and H2C Mark Nottingham
- Alt-Svc and HTTP/2 with Prior Knowledge | Re: dra… Kari Hurtta
- Re: #148: Reasonable Assurances and H2C Barry Leiba
- Re: draft-ietf-httpbis-alt-svc-12.txt Martin Thomson
- Re: #148: Reasonable Assurances and H2C Roy T. Fielding
- Re: #148: Reasonable Assurances and H2C Mark Nottingham
- Re: #148: Reasonable Assurances and H2C Mark Nottingham
- Re: #148: Reasonable Assurances and H2C Roy T. Fielding
- Re: #148: Reasonable Assurances and H2C Barry Leiba
- Re: #148: Reasonable Assurances and H2C Mark Nottingham
- Re: #148: Reasonable Assurances and H2C Julian Reschke
- Re: #148: Reasonable Assurances and H2C Martin Thomson
- Re: #148: Reasonable Assurances and H2C Julian Reschke
- Re: #148: Reasonable Assurances and H2C Kari Hurtta