Re: HTTP/2 and Pervasive Monitoring

Martin Thomson <martin.thomson@gmail.com> Fri, 15 August 2014 18:16 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AF311A01B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Aug 2014 11:16:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.67
X-Spam-Level:
X-Spam-Status: No, score=-7.67 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, RP_MATCHES_RCVD=-0.668, 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 a3srS00F8tXc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Aug 2014 11:16:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF58F1A01F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Aug 2014 11:16:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XIM0i-0006sa-Oh for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Aug 2014 18:13:56 +0000
Resent-Date: Fri, 15 Aug 2014 18:13:56 +0000
Resent-Message-Id: <E1XIM0i-0006sa-Oh@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1XIM0Q-0006hr-TU for ietf-http-wg@listhub.w3.org; Fri, 15 Aug 2014 18:13:38 +0000
Received: from mail-wi0-f177.google.com ([209.85.212.177]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1XIM0Q-0001RK-2C for ietf-http-wg@w3.org; Fri, 15 Aug 2014 18:13:38 +0000
Received: by mail-wi0-f177.google.com with SMTP id ho1so1152384wib.10 for <ietf-http-wg@w3.org>; Fri, 15 Aug 2014 11:13:11 -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; bh=0HXConNBzpPtfQTcwC0ivT26GzZhVC+9Z5jaiYtIODQ=; b=Ll+LBFDPm0KDgVacEFU1ifDPlKMncot1paYvgcI12OT8hlml6rStie+R6HvkIzY6m4 Qs3XtwyWziIzxvDB5i5IhzsedgvXSaabpw95SqIlGcWxIHsGh0X8lxao1vNo/92YBDm+ 0lqBMgexVGOhQBol7Fbz+wt4jCJGeLt5DIeuGsdhIbIeleJBpxSo6lzgzBRSt/2+mfVh bhQuwSh5GLFLI4NhLoHjH5bog36OokQTr4+gh9vNecr6Yl9MD+5K/qVEtDyMRbgV1eGQ JABGxeUBYm8qqmAsR/WT6xj7VRxEmY7phJbvq1Q3lKvXTfjCd0rTyqiqFRH3FhJW9oBi MZcQ==
MIME-Version: 1.0
X-Received: by 10.194.205.70 with SMTP id le6mr22105967wjc.25.1408126391314; Fri, 15 Aug 2014 11:13:11 -0700 (PDT)
Received: by 10.194.6.229 with HTTP; Fri, 15 Aug 2014 11:13:11 -0700 (PDT)
In-Reply-To: <6574.1408114238@critter.freebsd.dk>
References: <38BD57DB-98A9-4282-82DD-BB89F11F7C84@mnot.net> <4851.1408094168@critter.freebsd.dk> <CAKC-DJjFk9==Y4ayn=A-fZBaEt-G_+n=XQ9B8rKqWaT-LQh3vQ@mail.gmail.com> <6574.1408114238@critter.freebsd.dk>
Date: Fri, 15 Aug 2014 11:13:11 -0700
Message-ID: <CABkgnnXc9Di3-eLSrbhFDTwGkPmmnig67x-3-t0fCTM3c2YTFQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Erik Nygren <erik@nygren.org>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.212.177; envelope-from=martin.thomson@gmail.com; helo=mail-wi0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.734, 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: maggie.w3.org 1XIM0Q-0001RK-2C 83247f075f5b428686157a54ea382ec2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 and Pervasive Monitoring
Archived-At: <http://www.w3.org/mid/CABkgnnXc9Di3-eLSrbhFDTwGkPmmnig67x-3-t0fCTM3c2YTFQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26620
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>

On 15 August 2014 07:50, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> I was talking only conceptually here, the actual protocol mechanics
> will be at least as tricky as HTTP/1 -> HTTP/2 upgrade.

I've talked with several people about HTTP/1.1 and the mechanisms
we've defined.  They are portable - in theory.

The problem is that you not only need a strong signal with the
response that the server has understood that this is an http:// URI,
but you might also want some way to prevent the server from even
processing the request.

Incidentally, the difference between good crypto and bad crypto here
is that good crypto is fast and secure and bad crypto is just bad.
It's not even necessarily faster on modern hardware (AES runs
sub-cycle-per-byte on the latest Intel hardware).  I know that we're
talking RC4 here.  Without AES-NI, RC4 is quite a bit faster than AES,
but I expect that we'll see a good alternative (ChaCha20) before too
long that is faster than both on many of those old machines.