Re: Stephen Farrell's Discuss on draft-ietf-httpbis-tunnel-protocol-04: (with DISCUSS and COMMENT)

Mark Nottingham <mnot@mnot.net> Tue, 09 June 2015 01:20 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 84C291A032D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Jun 2015 18:20:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable
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 4scgS6zlgK83 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Jun 2015 18:20:06 -0700 (PDT)
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 599D01A0302 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 8 Jun 2015 18:20:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Z289g-0005xH-3A for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Jun 2015 01:16:40 +0000
Resent-Date: Tue, 09 Jun 2015 01:16:40 +0000
Resent-Message-Id: <E1Z289g-0005xH-3A@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 1Z289Z-0005wE-53 for ietf-http-wg@listhub.w3.org; Tue, 09 Jun 2015 01:16:33 +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 1Z289W-0001YC-5q for ietf-http-wg@w3.org; Tue, 09 Jun 2015 01:16:32 +0000
Received: from [192.168.0.3] (unknown [120.149.147.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4BEBE22E25F; Mon, 8 Jun 2015 21:15:56 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20150608130135.22475.59784.idtracker@ietfa.amsl.com>
Date: Tue, 09 Jun 2015 11:15:53 +1000
Cc: The IESG <iesg@ietf.org>, httpbis-chairs@ietf.org, draft-ietf-httpbis-tunnel-protocol.shepherd@ietf.org, draft-ietf-httpbis-tunnel-protocol.ad@ietf.org, draft-ietf-httpbis-tunnel-protocol@ietf.org, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <0D9D95B0-54F0-47BF-9CC8-11BF4E8D763A@mnot.net>
References: <20150608130135.22475.59784.idtracker@ietfa.amsl.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.2098)
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.2
X-W3C-Hub-Spam-Report: AWL=1.371, 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 1Z289W-0001YC-5q 7de6e73592d3902a1570484a259597eb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Stephen Farrell's Discuss on draft-ietf-httpbis-tunnel-protocol-04: (with DISCUSS and COMMENT)
Archived-At: <http://www.w3.org/mid/0D9D95B0-54F0-47BF-9CC8-11BF4E8D763A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29708
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 Stephen,

> On 8 Jun 2015, at 11:01 pm, Stephen Farrell <stephen.farrell@cs.tcd.ie> wrote:
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> 
> I think this should be an easy discuss but is needed.  RFC 7301
> says:
> 
> Care must be taken when such identifiers may leak personally
> identifiable information, or when such leakage may lead to
> profiling or to leaking of sensitive information.  If any of
> these apply to this new protocol identifier, the identifier
> SHOULD NOT be used in TLS configurations where it would be
> visible in the clear, and documents specifying such protocol
> identifiers SHOULD recommend against such unsafe use.
> 
> That last sentence seems to imply that you ought replicate such
> guidance here.

Seems reasonable to me.

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> 
> - I can see situations where I might want to not tell the proxy
> what protocol I'll be using inside TLS and when TLS1.3 hides
> ALPM from the proxy (I hope:-) then could there be value
> registering a "I'm not telling" ALPN value so that a UA
> wouldn't have to lie to the proxy?

Or the UA could omit the header, or the UA could send the header with no value. 


> - I think you ought say what you expect a proxy to do if the
> ALPN header field and the ALPN TLS extension value do not match
> and I think that ought say that a CONNECT recipient in such
> cases SHOULD NOT drop the connection solely on that basis.  If
> they have some policy about it fine, but they shouldn't barf
> just because there's a different order or spelling or just a
> different value.

Seems reasonable to me. 


> - Replicating values at multiple protocol layers produces a
> common failure mode where code only uses one copy to do access
> control or authorization or where two nodes in sequence use
> different copies, with unexpected behaviour resulting. I think
> you should call that out in the security considerations section
> as it keeps happening.

Again, seems reasonable.

I wonder if it would be helpful to explicitly motivate it — i.e., say this header is there to make the information available at the HTTP layer during CONNECT, so that the server can refuse the connection gracefully if they like (e.g., with a 403); without it, the server would have to sniff ALPN in the tunnel and then close the connection rudely.

Cheers,


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