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

Martin Thomson <martin.thomson@gmail.com> Tue, 09 June 2015 21:13 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 935631A001D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jun 2015 14:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level:
X-Spam-Status: No, score=-7.012 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_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 RzgdLa6naiCY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jun 2015 14:13:29 -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 79C081A0039 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 9 Jun 2015 14:13:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Z2QmW-0007KE-PG for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Jun 2015 21:10:00 +0000
Resent-Date: Tue, 09 Jun 2015 21:10:00 +0000
Resent-Message-Id: <E1Z2QmW-0007KE-PG@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 <martin.thomson@gmail.com>) id 1Z2QmP-0007JF-OF for ietf-http-wg@listhub.w3.org; Tue, 09 Jun 2015 21:09:53 +0000
Received: from mail-yh0-f42.google.com ([209.85.213.42]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1Z2QmN-000502-Da for ietf-http-wg@w3.org; Tue, 09 Jun 2015 21:09:52 +0000
Received: by yhid80 with SMTP id d80so12350753yhi.1 for <ietf-http-wg@w3.org>; Tue, 09 Jun 2015 14:09:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=27G+lQCOEub7t5PhQxqqTMIoZ03BruT5rZ3N+HGbEEc=; b=LUO1l1xapMEx9lC5VbOqT+51Wrv7CahLf4c0kJi/49B2K7/v16zHv/8fT2hYHP1II8 EdDRz/fG1WM7gqkOSBX20EV6ekp2aGInc3bjDcMqXO0m8kfJp4IyXAaUmuAmSQR45Ufo H33I/+cla0aFi5w0EqwqCc7KkFWBGgYU4QNx45gIsJPkFlntJVIAph6MFi0G/tU4QYKg 4cw1xOu6R901J3SWNvbKdd1z+Z4M4HPQMgOYW0MlSgSWUOu239jX4CUek9P8CesUnKUy 3xqM2ykJ4JPiemqIrwsw2zqeqgy6sz4Pns6abyVoncIN3ieNgovbkCfUiHSF0VIC1cFy GusQ==
MIME-Version: 1.0
X-Received: by 10.170.90.5 with SMTP id h5mr27812012yka.26.1433884165464; Tue, 09 Jun 2015 14:09:25 -0700 (PDT)
Received: by 10.129.110.138 with HTTP; Tue, 9 Jun 2015 14:09:25 -0700 (PDT)
In-Reply-To: <0D9D95B0-54F0-47BF-9CC8-11BF4E8D763A@mnot.net>
References: <20150608130135.22475.59784.idtracker@ietfa.amsl.com> <0D9D95B0-54F0-47BF-9CC8-11BF4E8D763A@mnot.net>
Date: Tue, 09 Jun 2015 14:09:25 -0700
Message-ID: <CABkgnnXbVyVS5-suX9xFO4jmEQqSnO5C+Qu8FMac+hLwZef3uQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, 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, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.213.42; envelope-from=martin.thomson@gmail.com; helo=mail-yh0-f42.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.845, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 1Z2QmN-000502-Da 65473057ce360abd3f9ea5bdb11d27cc
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/CABkgnnXbVyVS5-suX9xFO4jmEQqSnO5C+Qu8FMac+hLwZef3uQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29726
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>

Finally getting^Wmaking some time for this.

On 8 June 2015 at 18:15, Mark Nottingham <mnot@mnot.net> wrote:
>> 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.

Likewise.  https://github.com/httpwg/http-extensions/commit/6c7b987

>> - 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 those are better options.  Do you think we need to say that
with the other agreed changes already in place?

>> - 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.

I'll roll that into the point below.

>> - 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.

I think that we're going to need some review on this change.

https://github.com/httpwg/http-extensions/commit/a62c60a