Re: HTTPS 2.0 without TLS extension?

Zhong Yu <zhong.j.yu@gmail.com> Tue, 23 July 2013 18:48 UTC

Return-Path: <ietf-http-wg-request@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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2219111E830D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2013 11:48:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.149
X-Spam-Level:
X-Spam-Status: No, score=-9.149 tagged_above=-999 required=5 tests=[AWL=1.149, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IG-gNCJ7uCOF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2013 11:48:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 556B711E836D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Jul 2013 11:48:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V1hcI-0007SH-9t for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Jul 2013 18:47:22 +0000
Resent-Date: Tue, 23 Jul 2013 18:47:22 +0000
Resent-Message-Id: <E1V1hcI-0007SH-9t@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1V1hc9-0007N4-9e for ietf-http-wg@listhub.w3.org; Tue, 23 Jul 2013 18:47:13 +0000
Received: from mail-oa0-f49.google.com ([209.85.219.49]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1V1hc8-0002rW-AH for ietf-http-wg@w3.org; Tue, 23 Jul 2013 18:47:13 +0000
Received: by mail-oa0-f49.google.com with SMTP id n12so7354796oag.22 for <ietf-http-wg@w3.org>; Tue, 23 Jul 2013 11:46:44 -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=VXCsb3BRL/EskIqp9ifCi+G2+YKEOn/LhkLICVH2DHI=; b=XzCDa/D4oqTreRTLGVsyPfZBMTKmFyY/KObnyCI3Q5VrSEorZryXZ71TeIZ1DetsJx vA41eWr79KmtJvG7PuqOr5eHwyGDDPN8hFJtYa7Vmqg9Fsxl/OZcBctMuHTEnVfbFtdd 3Dd53oqfTBtKnJUVoiyCc+NBq3EIB49tnXT2hK2IrDSX/TUVSzC3OaKmt+F2fl5Rt5EH WSWvIiDuEHcxZt7SzYFWYypRaXaGG9S+RPh9NBq1Vu0NG4xNl10yh9ur2MzoKSLk8nBR xU6Tkh2u1bu4Jiq7g8hVO8mN7IcfpNaDYXqjkhib06fXf3JBdsGKKWY7IxlTqFo5KITI O1FA==
MIME-Version: 1.0
X-Received: by 10.60.124.228 with SMTP id ml4mr32124907oeb.47.1374605204351; Tue, 23 Jul 2013 11:46:44 -0700 (PDT)
Received: by 10.76.180.106 with HTTP; Tue, 23 Jul 2013 11:46:44 -0700 (PDT)
In-Reply-To: <CAA4WUYjS=JXYAYKe0ueqUFbdEUC3pM8xuj--b=F=WPgnSc9xYg@mail.gmail.com>
References: <CACuKZqEBAqXs-cQF1U-g3npaXGR0LEoXZYxDv-3a+ftn-YG=_g@mail.gmail.com> <CAA4WUYjS=JXYAYKe0ueqUFbdEUC3pM8xuj--b=F=WPgnSc9xYg@mail.gmail.com>
Date: Tue, 23 Jul 2013 13:46:44 -0500
Message-ID: <CACuKZqGjYtmkFBEEDX+s=n=_15frt+qoQws4TWgiDEijBE+Mow@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "William Chan (陈智昌)" <willchan@chromium.org>
Cc: 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.219.49; envelope-from=zhong.j.yu@gmail.com; helo=mail-oa0-f49.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.666, 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
X-W3C-Scan-Sig: lisa.w3.org 1V1hc8-0002rW-AH aa9ed2bbc29f10fd90713866ebbf1c09
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTPS 2.0 without TLS extension?
Archived-At: <http://www.w3.org/mid/CACuKZqGjYtmkFBEEDX+s=n=_15frt+qoQws4TWgiDEijBE+Mow@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18883
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>

I agree TLS-ALPN is much better than TLS-Upgrade, but it'll take the
rest of the world some time to get there. Allowing TLS-Upgrade
meanwhile probably will not lessen the motivation to deploy ALPN,
since it's in the best interest of all clients and servers to reduce a
round trip.

*If* the spec allows TLS-Upgrade, some servers will use it before they
can do ALPN, and some clients will support it. Chrome will face the
heat - a competitor browser can talk to a server in HTTPS/2.0 with
Upgrade, yet Chrome can only talk to it in HTTPS/1.1.  Will Chrome
stick to its principle and refuse to speak with the vulgar Upgrade? I
bet a lunch that it will budge.

Therefore if the spec allows TLS-Upgrade, it might as well mandate it.

The other option is to absolutely forbid TLS-Upgrade and disown any
implementation that does it, deliberately or accidentally (the latter
being more likely).

Zhong Yu


On Tue, Jul 23, 2013 at 12:34 PM, William Chan (陈智昌)
<willchan@chromium.org> wrote:
> FWIW, it seems reasonable to me to have the spec allow HTTPS 2.0 without TLS
> extension. If you want to Upgrade, be my guest. I have no plans for my
> browser to support that, and I don't think Google servers will support it
> either, because we care strongly about the advantages of TLS-ALPN vs
> Upgrade.
>
> IIRC, Twitter doesn't use NPN for the same reasons (lack of TLS extension
> support on certain mobile clients). I believe they don't care about public
> interop though, they just use dedicated VIPs with clients they control.
>
>
> On Mon, Jul 22, 2013 at 5:06 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:
>>
>> The draft mandates TLS extension ALPN for any https 2.0 connections,
>> but why is that necessary? Why can't we also establish an https 2.0
>> connection through the Upgrade mechanism, without ALPN? TLS extension
>> may not be available/convenient on some platforms for some time;
>> requiring it may discourage some potential implementers.
>>
>> Zhong Yu
>>
>