
From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 05:32:27 2012
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 BEB0621F89A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 05:32:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.53
X-Spam-Level: 
X-Spam-Status: No, score=-6.53 tagged_above=-999 required=5 tests=[AWL=4.069, BAYES_00=-2.599, 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 VYWtCmBTdsFe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 05:32:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8093E21F8915 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 05:32:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlflR-00063B-OT for ietf-http-wg-dist@listhub.w3.org; Mon, 02 Jul 2012 12:30:01 +0000
Resent-Date: Mon, 02 Jul 2012 12:30:01 +0000
Resent-Message-Id: <E1SlflR-00063B-OT@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SlflC-0005V5-PB for ietf-http-wg@listhub.w3.org; Mon, 02 Jul 2012 12:29:46 +0000
Received: from mail.ietf.org ([12.22.58.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SlflB-0002UD-Kp for ietf-http-wg@w3.org; Mon, 02 Jul 2012 12:29:46 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E7DF21F88CE for <ietf-http-wg@w3.org>; Mon,  2 Jul 2012 05:29:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 Jb6nOeM0m3z3; Mon,  2 Jul 2012 05:29:13 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C118621F8804; Mon,  2 Jul 2012 05:29:02 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.21p1
Message-ID: <20120702122902.23870.61484.idtracker@ietfa.amsl.com>
Date: Mon, 02 Jul 2012 05:29:02 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SlflB-0002UD-Kp 470ae3a816c42b3321e398a37fcf8659
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-method-registrations-08.txt
Archived-At: <http://www.w3.org/mid/20120702122902.23870.61484.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13952
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Initial Hypertext Transfer Protocol (HTTP) Method Regist=
rations
	Author(s)       : Julian F. Reschke
	Filename        : draft-ietf-httpbis-method-registrations-08.txt
	Pages           : 6
	Date            : 2012-07-02

Abstract:
   This document registers those Hypertext Transfer Protocol (HTTP)
   methods which have been defined in standards-track RFCs before the
   IANA HTTP Method Registry was established.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-method-registrations

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-08

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-method-registration=
s-08


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 05:53:14 2012
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 3E1B421F8671 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 05:53:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.112
X-Spam-Level: 
X-Spam-Status: No, score=-9.112 tagged_above=-999 required=5 tests=[AWL=1.487, BAYES_00=-2.599, 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 Rpvv0VmgpeJj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 05:53:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC65C21F8668 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 05:53:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slg6h-0002j8-Gx for ietf-http-wg-dist@listhub.w3.org; Mon, 02 Jul 2012 12:51:59 +0000
Resent-Date: Mon, 02 Jul 2012 12:51:59 +0000
Resent-Message-Id: <E1Slg6h-0002j8-Gx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Slg6P-0002hg-Fs for ietf-http-wg@listhub.w3.org; Mon, 02 Jul 2012 12:51:41 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Slg68-0003ZS-BE for ietf-http-wg@w3.org; Mon, 02 Jul 2012 12:51:41 +0000
Received: (qmail invoked by alias); 02 Jul 2012 12:50:57 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp072) with SMTP; 02 Jul 2012 14:50:57 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19Cdhw3hHNC5gYGQ1sEthQ3TxtQaoCTbcAkqp1WDG I9Aa1CqEsxv28C
Message-ID: <4FF19930.9060908@gmx.de>
Date: Mon, 02 Jul 2012 14:50:56 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com>
In-Reply-To: <20120702122902.23870.61484.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Slg68-0003ZS-BE ee1137c229d84a4461d4a0d6dfca525b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-method-registrations-08.txt
Archived-At: <http://www.w3.org/mid/4FF19930.9060908@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13953
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 2012-07-02 14:29, internet-drafts@ietf.org wrote:
>
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>   This draft is a work item of the Hypertext Transfer Protocol Bis Working Group of the IETF.
>
> 	Title           : Initial Hypertext Transfer Protocol (HTTP) Method Registrations
> 	Author(s)       : Julian F. Reschke
> 	Filename        : draft-ietf-httpbis-method-registrations-08.txt
> 	Pages           : 6
> 	Date            : 2012-07-02
>
> Abstract:
>     This document registers those Hypertext Transfer Protocol (HTTP)
>     methods which have been defined in standards-track RFCs before the
>     IANA HTTP Method Registry was established.
> ...

(This is just a freshup in order to avoid expiration)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 09:12:25 2012
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 DA18321F8733 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 09:12:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 R-fehATB0ZWU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 09:12:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B6D1521F872D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 09:12:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SljD4-0004xl-Cx for ietf-http-wg-dist@listhub.w3.org; Mon, 02 Jul 2012 16:10:46 +0000
Resent-Message-Id: <E1SljD4-0004xl-Cx@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SljD3-0004x2-Fj for ietf-http-wg@listhub.w3.org; Mon, 02 Jul 2012 16:10:45 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SljD3-0001xA-Ip for ietf-http-wg@w3.org; Mon, 02 Jul 2012 16:10:45 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SljD3-00065f-7W for ietf-http-wg@w3.org; Mon, 02 Jul 2012 12:10:45 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1SkdyL-0003yZ-4a for ylafon@jay.w3.org; Fri, 29 Jun 2012 12:23:05 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SkdyL-0007Kg-21 for ylafon@w3.org; Fri, 29 Jun 2012 16:23:05 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SkdyK-0005nb-S0 for ylafon@w3.org; Fri, 29 Jun 2012 16:23:04 +0000
Date: Fri, 29 Jun 2012 16:23:04 +0000
X-From_: jfrench@denirostaff.com Fri Jun 29 16:22:58 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jfrench@denirostaff.com>) id 1SkdyE-0005my-L1 for ietf-http-wg@listhub.w3.org; Fri, 29 Jun 2012 16:22:58 +0000
X-Received: from na3sys010aog109.obsmtp.com ([74.125.245.86]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <jfrench@denirostaff.com>) id 1SkdyA-0001is-Ah for ietf-http-wg@w3.org; Fri, 29 Jun 2012 16:22:58 +0000
X-Received: from mail-yx0-f178.google.com ([209.85.213.178]) (using TLSv1) by na3sys010aob109.postini.com ([74.125.244.12]) with SMTP ID DSNKT+3WSAvTmQUBC+DMxkZWxF1RnN7ViiCx@postini.com; Fri, 29 Jun 2012 09:22:53 PDT
X-Received: by yenl6 with SMTP id l6so3550645yen.23 for <ietf-http-wg@w3.org>; Fri, 29 Jun 2012 09:22:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denirostaff.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=kj83vpvqf6nPIE/zEo3W/KNitCNH8G9NRDutSaF3TSE=; b=FDdoRyYsXsVmzfYcHPx/FrIykcdZenZBbZ684AvFvMPjn66zcXf2zxRgZz6XToz/4O lZIXvXp7Vgkse/Dr2HooydaVHS1Syfgnh0Ad9Y+65p4pW3RkU5/lgsmDieOr6pPalP+t 24ZXwJSF1cewkrvK+McHzB0ci75wMX7fgOIew=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=kj83vpvqf6nPIE/zEo3W/KNitCNH8G9NRDutSaF3TSE=; b=A4RH67cvK3a/vXDWDFGuiqvslZgo8o4QRxCvUwfuob/Q3+jiAlRA8Q62TFaQLetkhO A0VkIKTFOIObpZ0bj9Zl8VBKewgSR+txdlaylGBZz4Zd9h2DEyCPlXzcxgTCBN6zuEEW f4PlOLHI28deLGYfdWxI6mQvHxwlGIZenNKj7ju66GKabnwNDYmIrmraGVihm3GuLGJ2 lbNA1kAiN/5t+oKf+GEwAAViTbpxJGUzjyktIvZZGqCiwmCum6nSHRkgXZJzvtuivKXP aGErwIB9MqRlWIX1OzRoFCwsl3i+ZhCmwAZhkeBQGD2MtvjKmjI+fxslWd4vDPKySeqG qe/Q==
MIME-Version: 1.0
X-Received: by 10.50.100.129 with SMTP id ey1mr1620618igb.35.1340986951528; Fri, 29 Jun 2012 09:22:31 -0700 (PDT)
X-Received: by 10.50.94.229 with HTTP; Fri, 29 Jun 2012 09:22:31 -0700 (PDT)
In-Reply-To: <CAD0z36VGpGvjE3+9LKfDQ_wfckEgwm=zNPYbXxaDMj-hk-r6gg@mail.gmail.com>
References: <4FE6E978.4010509@gmx.de> <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net> <CAD0z36VGpGvjE3+9LKfDQ_wfckEgwm=zNPYbXxaDMj-hk-r6gg@mail.gmail.com>
Old-Date: Fri, 29 Jun 2012 09:22:31 -0700
Message-ID: <CAD0z36XUmrL-X8yWsLv5LqvKUSc9Uw1Kc8JOrqHN=o2SqHhVHQ@mail.gmail.com>
From: James French <jfrench@denirostaff.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlm1LArQnHXho4S+Z8ACT68pmPIKJR2q5OD5oDTGM/sQ0e+IG6ofXl1w+cxeTXfxO/gjL3Z
Received-SPF: pass client-ip=74.125.245.86; envelope-from=jfrench@denirostaff.com; helo=na3sys010aog109.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SkdyA-0001is-Ah 4bb229a73063dea0176cfe12b280d4bd
Old-X-Envelope-To: ietf-http-wg
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Jun 29 12:23:06 2012
X-DSPAM-Confidence: 0.9995
X-DSPAM-Improbability: 1 in 198825 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4fedd66a152931804284693
ReSent-Date: Mon, 2 Jul 2012 12:10:42 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: #271: use of "may" and "should"
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/CAD0z36XUmrL-X8yWsLv5LqvKUSc9Uw1Kc8JOrqHN=o2SqHhVHQ@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13954
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>

"shouldn't" is dangerously close, lexically speaking, to "SHOULD NOT",
and perhaps other phrases would leave a better impression in the
reader's mind for what is explained by these paragraphs. (e.g. for
2.3.3 "Why shouldn't I? Only because I don't NEED to." so we write
"need not" where we have written "shouldn't." Or, for 2.4 "Why
shouldn't I? Because I would potentially receive an unusable response
if the ETag is matched." so we write "would not" where we have written
"shouldn't")

----
jfrench

On Thu, Jun 28, 2012 at 6:34 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> On 24/06/2012, at 8:18 PM, Julian Reschke wrote:
>
>> P6, 2.3.3:
>>
>> =A0 If a cache receives a first-hand response (either an entire response=
,
>> =A0 or a 304 (Not Modified) response) that it would normally forward to
>> =A0 the requesting client, and the received response is no longer fresh,
>> =A0 the cache can forward it to the requesting client without adding a
>> =A0 new Warning (but without removing any existing Warning header
>> =A0 fields). =A0A cache shouldn't attempt to validate a response simply
>> =A0 because that response became stale in transit.
>>
>> "shouldn't" -> "SHOULD NOT"
>
> I think I prefer the "shouldn't" here; it's not a conformance requirement=
, but instead simply trying to explain how things work. I.e., this doesn't =
affect interop.
>
>
>> P6, 2.4:
>>
>> =A0 Additionally, a cache can add an If-None-Match header field whose
>> =A0 value is that of the ETag header field(s) from all responses stored
>> =A0 for the requested URI, if present. =A0However, if any of the stored
>> =A0 responses contains only partial content, the cache shouldn't include
>> =A0 its entity-tag in the If-None-Match header field unless the request
>> =A0 is for a range that would be fully satisfied by that stored response=
..
>>
>> "shouldn't" -> "SHOULD NOT"
>
> Again, this isn't really interop, it's just trying to explain how it work=
s.
>
>
>> P6, 3.2.3:
>>
>> =A0 For example, consider a hypothetical new response directive called
>> =A0 "community" that acts as a modifier to the private directive. =A0We
>> =A0 define this new directive to mean that, in addition to any private
>> =A0 cache, any cache that is shared only by members of the community
>> =A0 named within its value may cache the response. =A0An origin server
>> =A0 wishing to allow the UCI community to use an otherwise private
>> =A0 response in their shared cache(s) could do so by including
>>
>> "may" -> "can"
>
> OK.
>
> --
> Mark Nottingham =A0 http://www.mnot.net/
>
>
>
>




From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 13:38:23 2012
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 5275E11E8106 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 13:38:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.499
X-Spam-Level: 
X-Spam-Status: No, score=-9.499 tagged_above=-999 required=5 tests=[AWL=1.100, BAYES_00=-2.599, 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 9O7d3I4HNVlU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 13:38:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7804811E80FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 13:38:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlnMQ-0005BH-MF for ietf-http-wg-dist@listhub.w3.org; Mon, 02 Jul 2012 20:36:42 +0000
Resent-Date: Mon, 02 Jul 2012 20:36:42 +0000
Resent-Message-Id: <E1SlnMQ-0005BH-MF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlnMJ-0005Aa-H9 for ietf-http-wg@listhub.w3.org; Mon, 02 Jul 2012 20:36:35 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlnMI-0006eJ-5D for ietf-http-wg@w3.org; Mon, 02 Jul 2012 20:36:35 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DCD2122E257 for <ietf-http-wg@w3.org>; Mon,  2 Jul 2012 16:36:11 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 3 Jul 2012 06:36:07 +1000
Message-Id: <06FE4B01-4CA7-4AE6-9700-689C60A885A5@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SlnMI-0006eJ-5D b5017993c09d2cde40bd7607b4bf1ce4
X-Original-To: ietf-http-wg@w3.org
Subject: Vancouver Scheduling
Archived-At: <http://www.w3.org/mid/06FE4B01-4CA7-4AE6-9700-689C60A885A5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13955
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>

For those who haven't seen, the draft Vancouver agenda is out:
  https://datatracker.ietf.org/meeting/84/agenda.txt

We have two two-hour sessions:

TUESDAY 1300-1500  Afternoon Session I
Regency E       	APP 	httpbis     	Hypertext Transfer =
Protocol Bis WG

WEDNESDAY 1300-1500  Afternoon Session I
Regency F       	APP 	httpbis     	Hypertext Transfer =
Protocol Bis WG

I expect these to be stable now, barring extreme circumstances =
(originally it was Wednesday and Thursday).

On Tuesday, we'll talk about HTTP/1.1bis, as well as some related things =
(e.g., the proposed censorship status code).

On Wednesday, we'll discuss HTTP/2.0.

Depending on what things look like closer to the date, we may spill some =
of the 2.0 discussion into Tuesday's meeting.

Details soon.

Cheers,


P.S. For those unfamiliar with the IETF's meetings, I'd recommend coming =
on Sunday for the newcomer session and welcome reception, as well as the =
APPS area session on Monday).

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 17:50:23 2012
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 A541221F85A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 17:50:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.476
X-Spam-Level: 
X-Spam-Status: No, score=-9.476 tagged_above=-999 required=5 tests=[AWL=1.123, BAYES_00=-2.599, 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 2njgd81SnK7D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 17:50:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F1EEE21F84FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 17:50:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlrI0-0003zZ-Em for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 00:48:24 +0000
Resent-Date: Tue, 03 Jul 2012 00:48:24 +0000
Resent-Message-Id: <E1SlrI0-0003zZ-Em@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlrHu-0003yo-4d for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 00:48:18 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlrHt-0003tM-22 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 00:48:18 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BF58E22E1F4; Mon,  2 Jul 2012 20:47:50 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
Date: Tue, 3 Jul 2012 10:47:47 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Reply-To: Apps Discuss <discuss@apps.ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5976E21A-81BC-4576-8609-B2C04C218C10@mnot.net>
References: <20120703004409.1599.57166.idtracker@ietfa.amsl.com>
To: IETF Apps Discuss <apps-discuss@ietf.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SlrHt-0003tM-22 216e542782ab3e8c25f4763c7f4e1e00
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: New Version Notification for draft-nottingham-link-template-00.txt
Archived-At: <http://www.w3.org/mid/5976E21A-81BC-4576-8609-B2C04C218C10@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13956
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>

[Follow-ups set to Apps-discuss]

FYI; a few people have asked me about this recently, and URI Template is =
final, so it seems like a good time.

Cheers,



Begin forwarded message:

> From: internet-drafts@ietf.org
> Subject: New Version Notification for =
draft-nottingham-link-template-00.txt
> Date: 3 July 2012 10:44:09 AM AEST
> To: mnot@mnot.net
>=20
>=20
> A new version of I-D, draft-nottingham-link-template-00.txt
> has been successfully submitted by Mark Nottingham and posted to the
> IETF repository.
>=20
> Filename:	 draft-nottingham-link-template
> Revision:	 00
> Title:		 The Link-Template HTTP Header Field
> Creation date:	 2012-07-03
> WG ID:		 Individual Submission
> Number of pages: 6
> URL:             =
http://www.ietf.org/internet-drafts/draft-nottingham-link-template-00.txt
> Status:          =
http://datatracker.ietf.org/doc/draft-nottingham-link-template
> Htmlized:        =
http://tools.ietf.org/html/draft-nottingham-link-template-00
>=20
>=20
> Abstract:
>   This specification defines the Link-Template HTTP header field,
>   providing a means for describing the structure of a link between two
>   resources, so that new links can be generated.
>=20
>=20
>=20
>=20
> The IETF Secretariat

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 18:03:02 2012
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 D96D021F853F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 18:03:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.495
X-Spam-Level: 
X-Spam-Status: No, score=-9.495 tagged_above=-999 required=5 tests=[AWL=1.104, BAYES_00=-2.599, 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 YEcl1+zKBhVz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 18:03:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A80621F8568 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 18:03:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlrUo-0001u8-Jk for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 01:01:38 +0000
Resent-Date: Tue, 03 Jul 2012 01:01:38 +0000
Resent-Message-Id: <E1SlrUo-0001u8-Jk@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SlrUg-0001ph-A2 for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 01:01:30 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SlrUe-0004Oy-US for ietf-http-wg@w3.org; Tue, 03 Jul 2012 01:01:30 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 3F37410E95C; Tue,  3 Jul 2012 13:01:05 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Tue, 03 Jul 2012 13:01:04 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAD0z36XUmrL-X8yWsLv5LqvKUSc9Uw1Kc8JOrqHN=o2SqHhVHQ@mail.gmail.com>
References: <4FE6E978.4010509@gmx.de> <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net> <CAD0z36VGpGvjE3+9LKfDQ_wfckEgwm=zNPYbXxaDMj-hk-r6gg@mail.gmail.com> <CAD0z36XUmrL-X8yWsLv5LqvKUSc9Uw1Kc8JOrqHN=o2SqHhVHQ@mail.gmail.com>
Message-ID: <fcd5a8c594f6140f4fef28414a1110eb@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SlrUe-0004Oy-US d53617fa6d9e81310e01538fa0bba571
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/fcd5a8c594f6140f4fef28414a1110eb@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13957
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 30.06.2012 04:23, James French wrote:
> "shouldn't" is dangerously close, lexically speaking, to "SHOULD 
> NOT",
> and perhaps other phrases would leave a better impression in the
> reader's mind for what is explained by these paragraphs. (e.g. for
> 2.3.3 "Why shouldn't I? Only because I don't NEED to." so we write
> "need not" where we have written "shouldn't." Or, for 2.4 "Why
> shouldn't I? Because I would potentially receive an unusable response
> if the ETag is matched." so we write "would not" where we have 
> written
> "shouldn't")
>
> ----
> jfrench
>
> On Thu, Jun 28, 2012 at 6:34 PM, Mark Nottingham wrote:
>>
>> On 24/06/2012, at 8:18 PM, Julian Reschke wrote:
>>
>>> P6, 2.4:
>>>
>>>   Additionally, a cache can add an If-None-Match header field whose
>>>   value is that of the ETag header field(s) from all responses 
>>> stored
>>>   for the requested URI, if present.  However, if any of the stored
>>>   responses contains only partial content, the cache shouldn't 
>>> include
>>>   its entity-tag in the If-None-Match header field unless the 
>>> request
>>>   is for a range that would be fully satisfied by that stored 
>>> response..
>>>
>>> "shouldn't" -> "SHOULD NOT"
>>
>> Again, this isn't really interop, it's just trying to explain how it 
>> works.

I think this could lead to interop problems though.

If a cache added such an ETag (because for some reason it wanted too 
and is allowed), there is no way it can supply the range needed when all 
the server sends back is 304.

Imagine a client needing bytes 20+ of an object which has bytes 0-15 
cached in a proxy. Server returns 304, and the proxy returns what 
exactly?

For this use-case I'm inclined to think MUST NOT is a good idea. SHOULD 
NOT being acceptible if we have to be loose (I see no reason why we need 
to be loose though).

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 18:28:03 2012
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 345BE11E8080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 18:28:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.49
X-Spam-Level: 
X-Spam-Status: No, score=-9.49 tagged_above=-999 required=5 tests=[AWL=1.109, BAYES_00=-2.599, 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 lBdgO-ZB+O-H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 18:28:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76ED421F84B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 18:28:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slrsy-00044c-UR for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 01:26:36 +0000
Resent-Date: Tue, 03 Jul 2012 01:26:36 +0000
Resent-Message-Id: <E1Slrsy-00044c-UR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slrss-00043q-6O for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 01:26:30 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slrsq-0005CR-PD for ietf-http-wg@w3.org; Tue, 03 Jul 2012 01:26:29 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 091BE22E256; Mon,  2 Jul 2012 21:26:06 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <fcd5a8c594f6140f4fef28414a1110eb@treenet.co.nz>
Date: Tue, 3 Jul 2012 11:26:02 +1000
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <30470343-BAE2-4978-BC62-D51AE0E5C886@mnot.net>
References: <4FE6E978.4010509@gmx.de> <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net> <CAD0z36VGpGvjE3+9LKfDQ_wfckEgwm=zNPYbXxaDMj-hk-r6gg@mail.gmail.com> <CAD0z36XUmrL-X8yWsLv5LqvKUSc9Uw1Kc8JOrqHN=o2SqHhVHQ@mail.gmail.com> <fcd5a8c594f6140f4fef28414a1110eb@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Slrsq-0005CR-PD 711b85daac79d66c9b4789a91a3b2405
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/30470343-BAE2-4978-BC62-D51AE0E5C886@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13958
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 Amos,

On 03/07/2012, at 11:01 AM, Amos Jeffries wrote:

> On 30.06.2012 04:23, James French wrote:
>> "shouldn't" is dangerously close, lexically speaking, to "SHOULD =
NOT",
>> and perhaps other phrases would leave a better impression in the
>> reader's mind for what is explained by these paragraphs. (e.g. for
>> 2.3.3 "Why shouldn't I? Only because I don't NEED to." so we write
>> "need not" where we have written "shouldn't." Or, for 2.4 "Why
>> shouldn't I? Because I would potentially receive an unusable response
>> if the ETag is matched." so we write "would not" where we have =
written
>> "shouldn't")
>>=20
>> ----
>> jfrench
>>=20
>> On Thu, Jun 28, 2012 at 6:34 PM, Mark Nottingham wrote:
>>>=20
>>> On 24/06/2012, at 8:18 PM, Julian Reschke wrote:
>>>=20
>>>> P6, 2.4:
>>>>=20
>>>>   Additionally, a cache can add an If-None-Match header field whose
>>>>   value is that of the ETag header field(s) from all responses =
stored
>>>>   for the requested URI, if present.  However, if any of the stored
>>>>   responses contains only partial content, the cache shouldn't =
include
>>>>   its entity-tag in the If-None-Match header field unless the =
request
>>>>   is for a range that would be fully satisfied by that stored =
response..
>>>>=20
>>>> "shouldn't" -> "SHOULD NOT"
>>>=20
>>> Again, this isn't really interop, it's just trying to explain how it =
works.
>=20
> I think this could lead to interop problems though.
>=20
> If a cache added such an ETag (because for some reason it wanted too =
and is allowed), there is no way it can supply the range needed when all =
the server sends back is 304.
>=20
> Imagine a client needing bytes 20+ of an object which has bytes 0-15 =
cached in a proxy. Server returns 304, and the proxy returns what =
exactly?
>=20
> For this use-case I'm inclined to think MUST NOT is a good idea. =
SHOULD NOT being acceptible if we have to be loose (I see no reason why =
we need to be loose though).



The original 2616 text was:

>    If any of the existing cache entries contains only partial content
>    for the associated entity, its entity-tag SHOULD NOT be included in
>    the If-None-Match header field unless the request is for a range =
that
>    would be fully satisfied by that entry.

I agree with your point that this needs to be a requirement. The form =
"SHOULD NOT ... unless ..." generally means "don't do this unless you =
meet one of these conditions"; here, it means "don't put an etag on a =
request when you've cached partial content, unless it covers the whole =
thing."

So, technically it's correct, but we could make this more clear by =
rewriting. E.g.,

"""
... However, a cache MUST NOT include an entity tag from a stored =
partial response if that response does not fully satisfy the requested =
range.
"""




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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:02:16 2012
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 1407111E8100 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:02:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.318
X-Spam-Level: 
X-Spam-Status: No, score=-8.318 tagged_above=-999 required=5 tests=[AWL=-0.019, BAYES_00=-2.599, MANGLED_SAVELE=2.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 DOydcEiGs0Yf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:02:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3873321F8570 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:02:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlsPw-0002rj-4l for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:00:40 +0000
Resent-Date: Tue, 03 Jul 2012 02:00:40 +0000
Resent-Message-Id: <E1SlsPw-0002rj-4l@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlsPo-0002r2-TJ for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:00:32 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlsPn-0006KR-QJ for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:00:32 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3EDD422E256 for <ietf-http-wg@w3.org>; Mon,  2 Jul 2012 22:00:08 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 3 Jul 2012 12:00:05 +1000
Message-Id: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SlsPn-0006KR-QJ e224dbd2a3699847b4e35225a1bc998a
X-Original-To: ietf-http-wg@w3.org
Subject: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13959
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>

<=
https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-sem=
antics.html#considerations.for.new.methods> currently has:

> When it is necessary to express new semantics for a HTTP request that =
aren't specific to a single application or media type, and currently =
defined methods are inadequate, it might be appropriate to register a =
new method.
>=20
> HTTP methods are generic; that is, they are potentially applicable to =
any resource, not just one particular media type, "type" of resource, or =
application. As such, it is preferred that new HTTP methods be =
registered in a document that isn't specific to a single application, so =
that this is clear.
>=20
> Due to the parsing rules defined in Section 3.3 of [Part1], =
definitions of HTTP methods cannot prohibit the presence of a message =
body on either the request or the response message (with responses to =
HEAD requests being the single exception). Definitions of new methods =
cannot change this rule, but they can specify that only zero-length =
bodies (as opposed to absent bodies) are allowed.
>=20
> New method definitions need to indicate whether they are safe (Section =
2.1.1), what semantics (if any) the request body has, and whether they =
are idempotent (Section 2.1.2). They also need to state whether they can =
be cached ([Part6]); in particular what conditions a cache may store the =
response, and under what conditions such a stored response may be used =
to satisfy a subsequent request.

Based on discussion, I suggest it be replaced with:

"""
When it is necessary to express new semantics for a HTTP request that =
aren't specific to a single application or media type, and currently =
defined methods are inadequate, it might be appropriate to register a =
new method.

HTTP methods are generic; that is, they are potentially applicable to =
any resource, not just one particular media type, "type" of resource, or =
application. As such, it is preferred that new HTTP methods be =
registered in a document that isn't specific to a single application, so =
that this is clear.

Due to the parsing rules defined in Section 3.3 of [Part1], definitions =
of HTTP methods cannot prohibit the presence of a message body on either =
the request or the response message (with responses to HEAD requests =
being the single exception). Definitions of new methods cannot change =
this rule, but they can specify that only zero-length bodies (as opposed =
to absent bodies) are allowed.

Definitions of new methods need to indicate:

* whether they are safe (Section 2.1.1),
* whether they are idempotent (Section 2.1.2),
* what semantics (if any) the request body has,
* whether proxies, origin servers (including gateways), intermediaries =
(proxy or gateway) or all servers can generate this status code,
* whether they can be cached ([Part6]); in particular what conditions a =
cache may store the response, and under what conditions such a stored =
response may be used to satisfy a subsequent request.
"""

Note that the new consideration -- identifying who can generate the =
status code -- implies (as Julian pointed out) that we should eat our =
own dogfood and define it for ours.

Looking through p2, this was actually easier than I thought it might be; =
most of the status codes already are pretty specific (using phrases like =
"the resource indicates...", which can logically be read to make it =
specific to origins). The only issues of interpretation I found are =
marked by "!" below.

O - Origin server (including gateways)
I - Intermediaries (proxy or gateway)
P - Proxies (not gateways)
S - All servers

 Informational 1xx
S   100 Continue
S   101 Switching Protocols

 Successful 2xx
O   200 OK
O   201 Created
O   202 Accepted
P   203 Non-Authoritative Information
O   204 No Content
O   205 Reset Content

 Redirection 3xx
O   300 Multiple Choices
O   301 Moved Permanently
O   302 Found
O   303 See Other
    305 Use Proxy
    306 (Unused)
O   307 Temporary Redirect

 Client Error 4xx
S   400 Bad Request
    402 Payment Required
O!  403 Forbidden
O   404 Not Found
O   405 Method Not Allowed
O   406 Not Acceptable
S   408 Request Timeout
O   409 Conflict
O   410 Gone
S   411 Length Required
S   413 Request Representation Too Large
S   414 URI Too Long
O   415 Unsupported Media Type
S   417 Expectation Failed
S   426 Upgrade Required

 Server Error 5xx
S   500 Internal Server Error
O!   501 Not Implemented
I   502 Bad Gateway
S   503 Service Unavailable
I   504 Gateway Timeout
S   505 HTTP Version Not Supported


Thoughts?

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:13:23 2012
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 4937911E8108 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:13:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.468
X-Spam-Level: 
X-Spam-Status: No, score=-9.468 tagged_above=-999 required=5 tests=[AWL=1.131, BAYES_00=-2.599, 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 v8oEmhB0tHBR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:13:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6E09011E8105 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:13:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlsbS-0006Rp-IM for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:12:34 +0000
Resent-Date: Tue, 03 Jul 2012 02:12:34 +0000
Resent-Message-Id: <E1SlsbS-0006Rp-IM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlsbM-0006R4-FR for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:12:28 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlsbL-0000AY-Ac for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:12:28 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6367A22E256 for <ietf-http-wg@w3.org>; Mon,  2 Jul 2012 22:12:05 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
X-Priority: 1
In-Reply-To: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net>
Date: Tue, 3 Jul 2012 12:12:01 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SlsbL-0000AY-Ac a70f6b3259cecb86944680a114576bc6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13960
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>

Please submit feedback to this from your implementation or deployment =
ASAP; without this information, I'll be forced to rely on my own =
impressions more heavily when judging consensus (which means less =
grounds for complaining if it doesn't go your way).=20

Note that one of the options on the table for the protocol, by default, =
is to do nothing -- i.e., continue to develop HTTP/1.1 pipelining to =
address performance concerns (which quite a few implementations have =
been doing recently).

Likewise, no expressions of interest in implementing or using the =
proposed authentication schemes is hard to misinterpret.

Finally, I've added a new authentication scheme proposal, so if you've =
already started, please re-check the list on the CfI.

Thanks,


On 21/06/2012, at 11:51 AM, Mark Nottingham wrote:

> In Paris, we set a deadline for proposals for further work around =
HTTP/2.0 at June 15.
>=20
> The proposals we've received are listed here:
>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals
>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals
>=20
> Note that a few are not fully-formed proposals in their own right, and =
therefore they're not really appropriate to consider as starting points =
for further work, but instead as input documents that can inform further =
discussion once we choose a starting point.
>=20
> My goal is to be able to request a re-charter -- provided we agree =
that this is necessary -- soon after the Vancouver meeting.
>=20
> To help gather information about this, we're making a Call for =
Expressions of Interest in the various proposals from implementers and =
deployers of HTTP. Please have a look at
>=20
>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI
>=20
> send your own feedback, and circulate that link among the folks who =
you know work on or use HTTP.
>=20
> Regards,
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:18:10 2012
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 917FB21F850C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:18:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.481
X-Spam-Level: 
X-Spam-Status: No, score=-9.481 tagged_above=-999 required=5 tests=[AWL=1.118, BAYES_00=-2.599, 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 pP1DSdPYt2xC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:18:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C347A21F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:18:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slsg9-000217-PS for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:17:25 +0000
Resent-Date: Tue, 03 Jul 2012 02:17:25 +0000
Resent-Message-Id: <E1Slsg9-000217-PS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slsg3-0001zz-Ni for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:17:19 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slsg2-0000M0-4i for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:17:19 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 5B5B622E25B; Mon,  2 Jul 2012 22:16:55 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FEAF5C0.6070208@velocix.com>
Date: Tue, 3 Jul 2012 12:16:53 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9A5F78F1-AED1-4EFA-9185-0CF76126D362@mnot.net>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com> <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net> <4FEAF5C0.6070208@velocix.com>
To: John Sullivan <jsullivan@velocix.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Slsg2-0000M0-4i 8fa6f085664881b877cdd92f87d4572d
X-Original-To: ietf-http-wg@w3.org
Subject: cache invalidation and "denial of service" [was: WGLC #363: rare cases]
Archived-At: <http://www.w3.org/mid/9A5F78F1-AED1-4EFA-9185-0CF76126D362@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13961
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 see what you're saying. I wouldn't resist removing that sentence. =
Anybody that would?

Regards,


On 27/06/2012, at 10:00 PM, John Sullivan wrote:

> Mark Nottingham wrote:
>> Those are reasons not to generate a LM, but they aren't specific to =
HTTP/1.0 -- agreed?
>=20
> Sure.
>=20
>> I can see dropping the last sentence and qualifying the remaining =
SHOULD with these sorts of reasons, but not retaining it.
>=20
> Absolutely - explain, not ignore or gloss over.
>=20
> There's actually another bit which does much the same thing  that
> I've got on my list of quibbles:
>=20
> RFC 2616 S13.10
>=20
>   In order to prevent denial of service attacks, an invalidation based
>   on the URI in a Location or Content-Location header MUST only be
>   performed if the host part is the same as in the Request-URI.
>=20
> httpbis-p6-cache S2.6
>=20
>   However, a cache MUST NOT invalidate a URI from a Location or
>   Content-Location response header field if the host part of that URI
>   differs from the host part in the effective request URI (Section 5.5
>   of [Part1]).  This helps prevent denial of service attacks.
>=20
> It's never fully explained how such a denial of service attack would
> manifest, nor how serious it could be. The immediate possibility is
> being able to effectively clear a cache causing more load on the
> origin that usual, or more transit from the cache than usual, but I
> have difficulty seeing how that is a serious concern:
>=20
> This basically requires a malicious origin to work. If the cache is
> inside the control of the origin, then presumably the origin isn't
> malicious.
>=20
> If the cache is outside the control of the origin, then if the target
> is a different origin it presumably has to be able to deal with
> a reasonable level of uncached requests hitting it anyway. If the
> target is the cache itself then (without the vhost check) we can
> clear at most 2 unrelated URLs per incoming client request. But a
> client could clear those URLs anyway by sending max-age=3D0 and =
dropping
> the connection after the first body byte. This will cause many
> implementations to drop the previously cached response and cease
> storing the new one too.
>=20
> So I don't see how malicious use of Location/Content-Location is
> much worse than other techniques, and it's arguably harder to pull
> off than a purely client driven attack.
>=20
> I'm not suggesting dropping the vhost check here, it seems like a
> reasonable idea, but the justification seems overblown.
>=20
> John
> --=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:19:54 2012
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 34FD411E80F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:19:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.605
X-Spam-Level: 
X-Spam-Status: No, score=-9.605 tagged_above=-999 required=5 tests=[AWL=0.994, BAYES_00=-2.599, 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 rslDr9nIRuRM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:19:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B65721F858D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:19:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlsiC-0002TR-W0 for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:19:33 +0000
Resent-Date: Tue, 03 Jul 2012 02:19:32 +0000
Resent-Message-Id: <E1SlsiC-0002TR-W0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Slsi7-0002SE-4T for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:19:27 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Slsi5-0000Rh-B4 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:19:26 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id E1F6F10E95C; Tue,  3 Jul 2012 14:19:01 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 03 Jul 2012 14:19:01 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <20120702122902.23870.61484.idtracker@ietfa.amsl.com>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com>
Message-ID: <e1cf81b15824136e840b9325a9593086@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Slsi5-0000Rh-B4 d1d63f8c4d7ddd41301fb97286d4d412
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-method-registrations-08.txt
Archived-At: <http://www.w3.org/mid/e1cf81b15824136e840b9325a9593086@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13962
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 03.07.2012 00:29, internet-drafts@ietf.org wrote:
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the Hypertext Transfer Protocol Bis
> Working Group of the IETF.
>
> 	Title           : Initial Hypertext Transfer Protocol (HTTP) Method
> Registrations
> 	Author(s)       : Julian F. Reschke
> 	Filename        : draft-ietf-httpbis-method-registrations-08.txt
> 	Pages           : 6
> 	Date            : 2012-07-02
>
> Abstract:
>    This document registers those Hypertext Transfer Protocol (HTTP)
>    methods which have been defined in standards-track RFCs before the
>    IANA HTTP Method Registry was established.
>
>
> The IETF datatracker status page for this draft is:
> 
> https://datatracker.ietf.org/doc/draft-ietf-httpbis-method-registrations
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-08
>
> A diff from previous version is available at:
> 
> http://tools.ietf.org/rfcdiff?url2=draft-ietf-httpbis-method-registrations-08
>
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/

Thank you for that.

I just wish the registry recorded the other properties we request as 
considerations for new headers. eg. idempotent=yes/no. Not just 
safe=yes/no.

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:25:17 2012
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 7CB3D11E8108 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.495
X-Spam-Level: 
X-Spam-Status: No, score=-9.495 tagged_above=-999 required=5 tests=[AWL=1.104, BAYES_00=-2.599, 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 WzdjTWv2ZEgU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:25:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DE1111E8105 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:25:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlsnM-0004E4-9A for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:24:52 +0000
Resent-Date: Tue, 03 Jul 2012 02:24:52 +0000
Resent-Message-Id: <E1SlsnM-0004E4-9A@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlsnE-0004C1-MA for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:24:44 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlsnD-0000bP-7C for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:24:44 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 68B7A22E1F4 for <ietf-http-wg@w3.org>; Mon,  2 Jul 2012 22:24:21 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <21E89BD2-7C7E-45E4-9537-34ED6956D55B@mnot.net>
Date: Tue, 3 Jul 2012 12:24:18 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <BE4BAFBF-22E7-4681-B562-B048978F9F58@mnot.net>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com> <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net> <59e19a50180cec1e99e43011b674697a@treenet.co.nz> <21E89BD2-7C7E-45E4-9537-34ED6956D55B@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SlsnD-0000bP-7C c782f5d6d4c0f8760352ff3c24fdccb3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/BE4BAFBF-22E7-4681-B562-B048978F9F58@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13964
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>

Wrapping this up: I haven't heard any objection to removing this =
sentence from P6:

"In those rare cases where the use of a Last-Modified value as a =
validator by an HTTP/1.0 system could result in a serious problem, then =
HTTP/1.1 origin servers SHOULD NOT provide one."

So I'm scheduling for the next draft.

Cheers,


On 27/06/2012, at 2:01 PM, Mark Nottingham wrote:

>=20
> On 27/06/2012, at 12:32 PM, Amos Jeffries wrote:
>=20
>> On 27.06.2012 11:22, Mark Nottingham wrote:
>>> On 27/06/2012, at 1:22 AM, John Sullivan wrote:
>>>=20
>>>> Mark Nottingham wrote:
>>>>> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363>.
>>>>>=20
>>>>>=20
>>>>> On 23/06/2012, at 9:28 PM, Julian Reschke wrote:
>>>>>=20
>>>>>>> "HTTP/1.0 clients and caches might ignore entity-tags. =
Generally, last-modified values received or used by these systems will =
support transparent and efficient caching, and so HTTP/1.1 origin =
servers SHOULD provide Last-Modified values. In those rare cases where =
the use of a Last-Modified value as a validator by an HTTP/1.0 system =
could result in a serious problem, then HTTP/1.1 origin servers SHOULD =
NOT provide one."
>>>>>>>=20
>>>>>>> DESIGN - What are the "rare cases" being talked about here, and =
how are servers supposed to detect them?
>>>>>>=20
>>>>>> Good question. We may want to drop this.
>>>>=20
>>>> 1) Algorithmically generated output where ETag can represent the
>>>> current control or seed values directly, but generating =
Last-Modified
>>>> would require extra persistent storage.
>>>>=20
>>>> 1b) Resources gatewayed from systems that have no concept of
>>>> last-modification time, but ETag along with the URL can again
>>>> represent parameters that are guaranteed to retrieve the same
>>>> entity or detect a change/error.
>>>>=20
>>>> 2) Rapidly changing, but cacheable, resources, where the origin =
knows
>>>> that Last-Modified could never become strong by S13.3.3. Normally
>>>> harmless but pointless.
>>=20
>> This bit ...
>>=20
>>>> If it suspects that a downstream would
>>>> wrongly use the weak Last-Modified where it shouldn't, then it =
might
>>>> want to avoid that dangerous possibility altogether.
>>=20
>> ... seems to be repeating the "rare cases" clause. Again with no =
supporting evidence for its existence, or identifiable way the origin =
might know about *future* downstream caching decisions.
>>=20
>>=20
>> To me the clause looks like dependence on the "evil bit" or =
equivalent being sent.
>>=20
>>=20
>> Although if the request was sent with a Date: which was noticeably =
out of sync with the servers own clock or some IMS timestamp in the =
future. Those could be a sign that the downstream is not able to depend =
on timestamps like LM properly. But I wouldn't bet on that either with =
the clockless algorithms.
>>=20
>>=20
>> Drawing at straws here it may be referring to the (hopefully rare) =
case of a server being required to add a Date: to a response with =
Last-Modified already in place? (ie CGI script created hedes being =
processed by an origin).
>> In that case would it be better to add the Date and drop the =
Last-Modified? or simply not add the Date? (violating part 2 section =
10.2)
>=20
>=20
> I think this is getting into error-handling territory (inside the same =
implementation!).
>=20
> I think we should just remove the last sentence. We already =
contextualise it:
>=20
> """
> Origin servers SHOULD send Last-Modified for any selected =
representation for which a last modification date can be reasonably and =
consistently determined...
> """
>=20
> Cheers,
>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:25:23 2012
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 42F7D11E8105 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.679
X-Spam-Level: 
X-Spam-Status: No, score=-7.679 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FORGED_YAHOO_RCVD=2.297, HTML_MESSAGE=0.001, 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 Pm+onP6dCPjO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:25:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0A3AF11E80F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:25:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlsnL-0004DU-DA for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:24:51 +0000
Resent-Date: Tue, 03 Jul 2012 02:24:51 +0000
Resent-Message-Id: <E1SlsnL-0004DU-DA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1SlsnD-0004Bp-S1 for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:24:43 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1SlsnC-0007Cp-C9 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:24:43 +0000
Received: by vbbfq11 with SMTP id fq11so4279432vbb.2 for <ietf-http-wg@w3.org>; Mon, 02 Jul 2012 19:24:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=8FkC9J5WthPbC1VLnzDfPBzSmihqJed5jag1iM5+pSQ=; b=pa3zUhEs2tv7EHW97bNitlZrh5YirGQ347ziOxrwOQL7ADPIxWxSMg5ocedgt5pS0t 5tlzUC1idcWfSMg1Osaum8dhm0iRU8Bh5tUn6OO14oQRkVUFyTgP3SIU6qTFUr7EXcP6 0fp5h1MhlBLAha4sL/SpQ/XF8xjZYOEPErYZMyK13iYldKRZhCZ7H4fjjrWU+o6y5WJj vIfqUbl0MrS8sHuTrAaODfRrE9uaRBbsI+BnBxVVwvcIbBTquYSIHZOEiFoPmCzRckhj YW8IKJoGUy4LyHyyxUpczV6BLTx54xvWwrDbkMIUrrAP91IDascamK/x0oRE3CgC6+2K jxxA==
MIME-Version: 1.0
Received: by 10.52.70.242 with SMTP id p18mr5983711vdu.97.1341282256760; Mon, 02 Jul 2012 19:24:16 -0700 (PDT)
Sender: mca@amundsen.com
Received: by 10.52.188.230 with HTTP; Mon, 2 Jul 2012 19:24:16 -0700 (PDT)
In-Reply-To: <e1cf81b15824136e840b9325a9593086@treenet.co.nz>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz>
Date: Mon, 2 Jul 2012 22:24:16 -0400
X-Google-Sender-Auth: dPrB23W7jOpomOLsxlEZKxIbCMs
Message-ID: <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com>
From: mike amundsen <mamund@yahoo.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec501c52c75308104c3e39ca0
X-Gm-Message-State: ALoCoQnix+aACg7Wqoh89LZq+TJCZM7135KL4QDcSkycqbG5Y30Qy5K5w0C19jzX7IIEC/BFBLBL
Received-SPF: none client-ip=209.85.212.43; envelope-from=mca@amundsen.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SlsnC-0007Cp-C9 819249b343372c06e0afe6a8b5fb6d55
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-method-registrations-08.txt
Archived-At: <http://www.w3.org/mid/CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13963
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>

--bcaec501c52c75308104c3e39ca0
Content-Type: text/plain; charset=ISO-8859-1

+1 on listing idempotent. this is _critical_ in assessing the use/impact of
a method. I'm not clear why it's left off the listing.

mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me




On Mon, Jul 2, 2012 at 10:19 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 03.07.2012 00:29, internet-drafts@ietf.org wrote:
>
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories.
>>  This draft is a work item of the Hypertext Transfer Protocol Bis
>> Working Group of the IETF.
>>
>>         Title           : Initial Hypertext Transfer Protocol (HTTP)
>> Method
>> Registrations
>>         Author(s)       : Julian F. Reschke
>>         Filename        : draft-ietf-httpbis-method-**
>> registrations-08.txt
>>         Pages           : 6
>>         Date            : 2012-07-02
>>
>> Abstract:
>>    This document registers those Hypertext Transfer Protocol (HTTP)
>>    methods which have been defined in standards-track RFCs before the
>>    IANA HTTP Method Registry was established.
>>
>>
>> The IETF datatracker status page for this draft is:
>>
>> https://datatracker.ietf.org/**doc/draft-ietf-httpbis-method-**
>> registrations<https://datatracker.ietf.org/doc/draft-ietf-httpbis-method-registrations>
>>
>> There's also a htmlized version available at:
>> http://tools.ietf.org/html/**draft-ietf-httpbis-method-**registrations-08<http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-08>
>>
>> A diff from previous version is available at:
>>
>> http://tools.ietf.org/rfcdiff?**url2=draft-ietf-httpbis-**
>> method-registrations-08<http://tools.ietf.org/rfcdiff?url2=draft-ietf-httpbis-method-registrations-08>
>>
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-**drafts/<ftp://ftp.ietf.org/internet-drafts/>
>>
>
> Thank you for that.
>
> I just wish the registry recorded the other properties we request as
> considerations for new headers. eg. idempotent=yes/no. Not just safe=yes/no.
>
> AYJ
>
>
>

--bcaec501c52c75308104c3e39ca0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

+1 on listing idempotent. this is _critical_ in assessing the use/impact of=
 a method. I&#39;m not clear why it&#39;s left off the listing.<div><br cle=
ar=3D"all">mca<br><a href=3D"http://amundsen.com/blog/" target=3D"_blank">h=
ttp://amundsen.com/blog/</a><br>
<a href=3D"http://twitter.com" target=3D"_blank">http://twitter.com</a>@mam=
und<br><a href=3D"http://mamund.com/foaf.rdf#me" target=3D"_blank">http://m=
amund.com/foaf.rdf#me</a><br><br><br>

<br><br><div class=3D"gmail_quote">On Mon, Jul 2, 2012 at 10:19 PM, Amos Je=
ffries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">On 03.07.2012 00:29, <a href=3D"mai=
lto:internet-drafts@ietf.org" target=3D"_blank">internet-drafts@ietf.org</a=
> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
A New Internet-Draft is available from the on-line Internet-Drafts<br>
directories.<br>
=A0This draft is a work item of the Hypertext Transfer Protocol Bis<br>
Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : Initial Hypertext Transfer Prot=
ocol (HTTP) Method<br>
Registrations<br>
=A0 =A0 =A0 =A0 Author(s) =A0 =A0 =A0 : Julian F. Reschke<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-httpbis-method-<u></u>=
registrations-08.txt<br>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 6<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2012-07-02<br>
<br>
Abstract:<br>
=A0 =A0This document registers those Hypertext Transfer Protocol (HTTP)<br>
=A0 =A0methods which have been defined in standards-track RFCs before the<b=
r>
=A0 =A0IANA HTTP Method Registry was established.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-httpbis-method-regis=
trations" target=3D"_blank">https://datatracker.ietf.org/<u></u>doc/draft-i=
etf-httpbis-method-<u></u>registrations</a><br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-httpbis-method-registratio=
ns-08" target=3D"_blank">http://tools.ietf.org/html/<u></u>draft-ietf-httpb=
is-method-<u></u>registrations-08</a><br>
<br>
A diff from previous version is available at:<br>
<br>
<a href=3D"http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-method-r=
egistrations-08" target=3D"_blank">http://tools.ietf.org/rfcdiff?<u></u>url=
2=3Ddraft-ietf-httpbis-<u></u>method-registrations-08</a><br>
<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-<u></u>drafts/</a><br>
</blockquote>
<br></div></div>
Thank you for that.<br>
<br>
I just wish the registry recorded the other properties we request as consid=
erations for new headers. eg. idempotent=3Dyes/no. Not just safe=3Dyes/no.<=
br>
<br>
AYJ<br>
<br>
<br>
</blockquote></div><br></div>

--bcaec501c52c75308104c3e39ca0--


From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 19:39:23 2012
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 8752A21F8636 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:39:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.474
X-Spam-Level: 
X-Spam-Status: No, score=-9.474 tagged_above=-999 required=5 tests=[AWL=1.125, BAYES_00=-2.599, 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 A0GrHadATXTO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 19:39:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7A0721F85C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 19:39:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slt0k-000248-Or for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 02:38:42 +0000
Resent-Date: Tue, 03 Jul 2012 02:38:42 +0000
Resent-Message-Id: <E1Slt0k-000248-Or@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slt0d-00023N-26 for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 02:38:35 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slt0b-00013K-A2 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 02:38:34 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2998F22E253; Mon,  2 Jul 2012 22:38:10 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net>
Date: Tue, 3 Jul 2012 12:38:08 +1000
Cc: "Julian F. Reschke" <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz> <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Slt0b-00013K-A2 a7923629e6dde102937baad220f40aee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13965
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 haven't heard any more discussion of this. As it is, we have a =
proposal to close this issue:

> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>=20
> """
> When there is more than one value present for a given directive (e.g., =
two Expires headers, multiple Cache-Control: max-age directives), it is =
considered invalid. Caches SHOULD consider responses that have invalid =
freshness information to be stale.
> """

Feedback?

Regards,


On 21/06/2012, at 1:35 PM, Mark Nottingham wrote:

> On 12/06/2012, at 10:19 AM, Amos Jeffries wrote:
>=20
>> On 12.06.2012 01:20, Julian Reschke wrote:
>>> On 2012-06-11 15:04, Amos Jeffries wrote:
>>>> ...
>>>> * flag parameters can't exactly contradict, so dropping/merging
>>>> duplicates and treating as one flag would seem okay. =
(only-if-cached
>>>> must-revalidate, proxy-ravalidate, no-cache, no-store, =
no-transform, etc)
>>>=20
>>> "public" vs "private"?
>>=20
>> Okay. Nasty case there.
>> "public" is specifically linked to the auth systems though isn't it?
>>=20
>> Can we safely assume that "private" on auth responses is invalid and =
that "public" was intended to override it?
>>=20
>> on non-auth responses "public" would seem to be the redundant state, =
and "private" assumed to be the desired behaviour?
>=20
> Why are we trying to design a general solution to this problem?
>=20
> The current spec already deals with these cases; follow the rules in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#response.cacheability> and =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#constructing.responses.from.caches> and the precedence should =
be clear.
>=20
>=20
>>>> * time-delta parameters (max-age, s-maxage, etc) being conservative =
and
>>>> dropping the larger or equal of the two seems the right handling.
>>>=20
>>> Yes, we could say that.
>=20
> And indeed, there's already a proposal on the table here:
>=20
>> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>>=20
>> """
>> When there is more than one value present for a given directive =
(e.g., two Expires headers, multiple Cache-Control: max-age directives), =
it is considered invalid. Caches SHOULD consider responses that have =
invalid freshness information to be stale.
>> """
>=20
> The SHOULD and =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#intro.conformance.and.error.handling> give implementations =
enough flexibility to recover if they wish, but I personally don't think =
we want to specify a particular behaviour here, because we'll very =
likely make current implementations non-conforming. Happy to talk =
through this one, though.
>=20
>=20
>>>> * list of tokens ... maybe combine? it is possible one proxy adds
>>>> no-cache=3D"Foo" and another adds no-cache=3D"Bar" and they both =
hit some
>>>> downstream cache which needs to handle both Foo and Bar properly.
>>>>  Yes the right thing to do woudl have been no-cache=3D"Foo Bar". =
But
>>>> what if that is not done?
>>>=20
>>> Right now we allow
>>>=20
>>> no-cache=3D"Foo, Bar"
>>>=20
>>> Should
>>>=20
>>> no-cache=3D"Foo", no-cache=3D"Bar"
>>>=20
>>> be equivalent? (That would be similar with the use of list syntax in
>>> header fields)
>>=20
>> I think so, yes.
>=20
>=20
> Given that this isn't widely used, I don't have a big problem with =
defining something here, but I do wonder if we're getting to diminishing =
returns.
>=20
> Can someone please make a proposal?=20
>=20
> Thanks,
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 20:06:39 2012
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 73FBA11E8110 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 20:06:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.487
X-Spam-Level: 
X-Spam-Status: No, score=-9.487 tagged_above=-999 required=5 tests=[AWL=1.112, BAYES_00=-2.599, 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 68yPBMi22-8S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 20:06:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B789A11E80EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 20:06:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SltQv-0004pg-Di for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 03:05:45 +0000
Resent-Date: Tue, 03 Jul 2012 03:05:45 +0000
Resent-Message-Id: <E1SltQv-0004pg-Di@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SltQp-0004ov-8b for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 03:05:39 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SltQn-0001pf-TM for ietf-http-wg@w3.org; Tue, 03 Jul 2012 03:05:38 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 195A422E256 for <ietf-http-wg@w3.org>; Mon,  2 Jul 2012 23:05:15 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 3 Jul 2012 13:05:12 +1000
Message-Id: <02D11F40-236A-47D2-BDBF-E166C76DFFD9@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SltQn-0001pf-TM 56b413cf307b67260b75f2ae1ae86dfa
X-Original-To: ietf-http-wg@w3.org
Subject: #360: Considerations for new cache directives
Archived-At: <http://www.w3.org/mid/02D11F40-236A-47D2-BDBF-E166C76DFFD9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13966
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>

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/360>

I've made a proposal into the draft; see =
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1701#file1>.

Marked as 'incorporated'; if there's feedback, I'm happy to reopen.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  2 23:53:01 2012
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 7EF1921F8550 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 23:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.34
X-Spam-Level: 
X-Spam-Status: No, score=-9.34 tagged_above=-999 required=5 tests=[AWL=1.259, BAYES_00=-2.599, 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 KZmIoc5-OGRB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  2 Jul 2012 23:53:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 93CB121F8427 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  2 Jul 2012 23:53:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slwwv-00046E-UE for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 06:51:01 +0000
Resent-Date: Tue, 03 Jul 2012 06:51:01 +0000
Resent-Message-Id: <E1Slwwv-00046E-UE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slwwp-000456-Cr for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 06:50:55 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slwwk-0001Pn-OZ for ietf-http-wg@w3.org; Tue, 03 Jul 2012 06:50:55 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E8AAC22E1F4 for <ietf-http-wg@w3.org>; Tue,  3 Jul 2012 02:50:28 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Tue, 3 Jul 2012 16:50:25 +1000
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Slwwk-0001Pn-OZ 30d2b15d5fb5a3807214c2bd9f78d4a8
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13967
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>

FYI, new issue as per recent discussion.

Begin forwarded message:

> Resent-From: trac+httpbis@trac.tools.ietf.org
> From: "httpbis" <trac+httpbis@trac.tools.ietf.org>
> Subject: [httpbis] #364: Capturing more information in the method =
registry
> Date: 3 July 2012 4:48:23 PM AEST
> To: draft-ietf-httpbis-p2-semantics@tools.ietf.org, mnot@pobox.com
> Reply-To: ietf-http-wg@w3.org
>=20
> #364: Capturing more information in the method registry
> =
--------------------------+-----------------------------------------------=

> Reporter:  mnot@=85        |      Owner:  =
draft-ietf-httpbis-p2-semantics@=85
>     Type:  design        |     Status:  new
> Priority:  normal        |  Milestone:  unassigned
> Component:  p2-semantics  |   Severity:  Active WG Document
> Keywords:                |     Origin:
> =
--------------------------+-----------------------------------------------=

> We established the method registry in #72, and considered recording
> idempotency there. However, we closed that issue without a definitive
> answer, because we were still discussing the definition of =
idempotency.
>=20
> Should we add idempotency to the method registry? Anything else?
>=20
> --=20
> Ticket URL: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/364>
> httpbis <http://tools.ietf.org/wg/httpbis/>
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 00:13:35 2012
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 EA81211E810D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:13:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.617
X-Spam-Level: 
X-Spam-Status: No, score=-9.617 tagged_above=-999 required=5 tests=[AWL=0.982, BAYES_00=-2.599, 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 emLrWlzU6iCg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:13:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6B97321F8499 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 00:13:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlxHR-0004nt-Ea for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 07:12:13 +0000
Resent-Date: Tue, 03 Jul 2012 07:12:13 +0000
Resent-Message-Id: <E1SlxHR-0004nt-Ea@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SlxHL-0004mk-Jp for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 07:12:07 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SlxHH-0002TM-8X for ietf-http-wg@w3.org; Tue, 03 Jul 2012 07:12:07 +0000
Received: (qmail invoked by alias); 03 Jul 2012 07:11:36 -0000
Received: from p5DD95BE7.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.91.231] by mail.gmx.net (mp072) with SMTP; 03 Jul 2012 09:11:36 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18FDixoJzsFGm5/5eDJDm++wFSIF6Hnb2nOacABYO +QRoAD+kHT9/KR
Message-ID: <4FF29B27.60703@gmx.de>
Date: Tue, 03 Jul 2012 09:11:35 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: John Sullivan <jsullivan@velocix.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com> <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net> <4FEAF5C0.6070208@velocix.com> <9A5F78F1-AED1-4EFA-9185-0CF76126D362@mnot.net>
In-Reply-To: <9A5F78F1-AED1-4EFA-9185-0CF76126D362@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SlxHH-0002TM-8X ff8c2f0963d09dd5d5516840add77557
X-Original-To: ietf-http-wg@w3.org
Subject: Re: cache invalidation and "denial of service" [was: WGLC #363: rare  cases]
Archived-At: <http://www.w3.org/mid/4FF29B27.60703@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13968
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 2012-07-03 04:16, Mark Nottingham wrote:
> I see what you're saying. I wouldn't resist removing that sentence. Anybody that would?
> ...

Works for me.

Change applied with 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1703>.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 00:22:42 2012
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 365CF11E814B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:22:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 OLLFh+Cbrblp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:22:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9646C11E8147 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 00:22:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlxQX-0002hA-No for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 07:21:37 +0000
Resent-Date: Tue, 03 Jul 2012 07:21:37 +0000
Resent-Message-Id: <E1SlxQX-0002hA-No@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ngarthl@gmail.com>) id 1SlxQR-0002fh-NB for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 07:21:31 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ngarthl@gmail.com>) id 1SlxQM-0002s3-KC for ietf-http-wg@w3.org; Tue, 03 Jul 2012 07:21:31 +0000
Received: by qafl39 with SMTP id l39so2436479qaf.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 00:21:01 -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=d0zOwN3YCwCDib5DBVpJEqw/bf3p7nuEMMinfyvRW/0=; b=P9Z/y2DCpwCWZGorA3LkJVrMjxE95kjQ2/Yq7n7Hl1gheGjgp8xBRa0TrTpaof5KOl wsGdRySePm/ExxGfIef7fwpWfuawNkVb/k+ccjGOPX4f53uNkIRI73wzpdQj73xGaO1Z cpy3vvVlTZOcsNPcRW4rRXJAEj0wAaPzTn9rrdbEbYXA/Y3Jx7SDpN28HjdbsFjCcekp u09Ma91NrjA6i3oyy/dCspBIyiquOPQR5w1/FnvlIZWlo5mZFRQfnzf3Cvrt5F8tdY9g iJ+Z29XB3eXZq3f+Dpe4jNcEiQueo94ixJv7qT5FuaWQK7v1sEbAJLxq4O+t+FibAEqy pj8A==
MIME-Version: 1.0
Received: by 10.224.174.205 with SMTP id u13mr28048506qaz.57.1341300061235; Tue, 03 Jul 2012 00:21:01 -0700 (PDT)
Received: by 10.229.41.196 with HTTP; Tue, 3 Jul 2012 00:21:01 -0700 (PDT)
In-Reply-To: <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com>
Date: Tue, 3 Jul 2012 09:21:01 +0200
Message-ID: <CAKj3E3biKCWOhGw5N7qPX-RnstV158ne2XS3thJyawQCpTenBw@mail.gmail.com>
From: Erlend Hamnaberg <ngarthl@gmail.com>
To: mike amundsen <mamund@yahoo.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.50; envelope-from=ngarthl@gmail.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SlxQM-0002s3-KC ab3a48aaff401d3750d0ebced3c26850
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-method-registrations-08.txt
Archived-At: <http://www.w3.org/mid/CAKj3E3biKCWOhGw5N7qPX-RnstV158ne2XS3thJyawQCpTenBw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13969
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 Tue, Jul 3, 2012 at 4:24 AM, mike amundsen <mamund@yahoo.com> wrote:
> +1 on listing idempotent. this is _critical_ in assessing the use/impact of
> a method. I'm not clear why it's left off the listing.
>

+1


-E


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 00:30:20 2012
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 8BE3121F869F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:30:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.66
X-Spam-Level: 
X-Spam-Status: No, score=-9.66 tagged_above=-999 required=5 tests=[AWL=0.939, BAYES_00=-2.599, 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 xFfSRXIwRs+O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:30:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED04321F8639 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 00:30:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlxY1-0004SS-E8 for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 07:29:21 +0000
Resent-Date: Tue, 03 Jul 2012 07:29:21 +0000
Resent-Message-Id: <E1SlxY1-0004SS-E8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SlxXv-0004Rf-Kz for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 07:29:15 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SlxXo-0003Fb-Sg for ietf-http-wg@w3.org; Tue, 03 Jul 2012 07:29:15 +0000
Received: (qmail invoked by alias); 03 Jul 2012 07:28:42 -0000
Received: from p5DD95BE7.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.91.231] by mail.gmx.net (mp027) with SMTP; 03 Jul 2012 09:28:42 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/zyYo0kYjzEX1/2CsvstGsUuVkO3M1Cne1QxNnrQ NDFrNQXImZCWwB
Message-ID: <4FF29F26.1060802@gmx.de>
Date: Tue, 03 Jul 2012 09:28:38 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: mike amundsen <mamund@yahoo.com>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com>
In-Reply-To: <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SlxXo-0003Fb-Sg a36021d02ca907d07c4ebd23f482932d
X-Original-To: ietf-http-wg@w3.org
Subject: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF29F26.1060802@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13970
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 2012-07-03 04:24, mike amundsen wrote:
> +1 on listing idempotent. this is _critical_ in assessing the use/impact
> of a method. I'm not clear why it's left off the listing.
> ...

Anything in the registry beyond the pointer to the defining 
specification is just a shortcut; just because it's not in the registry 
doesn't mean it's not there.

Adding new fields is possible, but we need find a balance; also, it 
requires deciding on the value for all methods in the list, which also 
doesn't come at zero cost :-)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 00:38:28 2012
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 5DE9821F86FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:38:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.296
X-Spam-Level: 
X-Spam-Status: No, score=-9.296 tagged_above=-999 required=5 tests=[AWL=1.303, BAYES_00=-2.599, 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 t8RYROscnLiW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:38:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6F4D121F86FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 00:38: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 1SlxgH-00017H-AI for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 07:37:53 +0000
Resent-Date: Tue, 03 Jul 2012 07:37:53 +0000
Resent-Message-Id: <E1SlxgH-00017H-AI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlxgB-00015O-0M for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 07:37:47 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Slxg9-0003hf-Bs for ietf-http-wg@w3.org; Tue, 03 Jul 2012 07:37:46 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B97BA22E253 for <ietf-http-wg@w3.org>; Tue,  3 Jul 2012 03:37:23 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Tue, 3 Jul 2012 17:37:20 +1000
Message-Id: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Slxg9-0003hf-Bs a63070aa79430882161eed734498caaf
X-Original-To: ietf-http-wg@w3.org
Subject: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13971
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>

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241>

Roy documented the evaluation order for conditional that Apache uses =
(which, he pointed out, is the only logical way to do it, once you look =
at it):

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241#comment:4>

> Here is the order that Apache httpd uses. When I wrote it, I realized =
that there is only one logical order for preconditions because ETag is =
presumed to be more accurate than LM. Likewise, the exact match fields =
(If-Match and If-Unmodified-Since) have priority over the weaker =
conditions in the unlikely event that they are ever used together in the =
same request.
>=20
> Check for conditional requests =97 note that we only want to do this =
if we are successful so far and we are not processing a subrequest or an =
ErrorDocument?.
>=20
> The order of the checks is important, since ETag checks are supposed =
to be more accurate than checks relative to the modification time. =
However, not all documents are guaranteed to have ETags, and some might =
have Last-Modified values w/o ETags, so this gets a little complicated.
>=20
> If an If-Match request-header field was given AND the field value is =
not "*" (meaning match anything) AND if our strong ETag does not match =
any entity tag in that field, respond with a status of 412 (Precondition =
Failed).
>=20
> Else if a valid If-Unmodified-Since request-header field was given AND =
the requested resource has been modified since the time specified in =
this field, then the server MUST respond with a status of 412 =
(Precondition Failed).
>=20
> If an If-None-Match request-header field was given AND the field value =
is "*" (meaning match anything) OR our ETag matches any of the entity =
tags in that field, fail.
>=20
> If the request method was GET or HEAD, failure means the server SHOULD =
respond with a 304 (Not Modified) response. For all other request =
methods, failure means the server MUST respond with a status of 412 =
(Precondition Failed).
>=20
> GET or HEAD allow weak etag comparison, all other methods require =
strong comparison. We can only use weak if it's not a range request.
>=20
> If a valid If-Modified-Since request-header field was given AND it is =
a GET or HEAD request AND the requested resource has not been modified =
since the time specified in this field, then the server MUST respond =
with a status of 304 (Not Modified). A date later than the server's =
current request time is invalid.

This is somewhat implementation-specific, but I think the next step is =
for the editors to turn this into suitable specification text. If you =
have feedback on the *high-level* approach taken here, now would be =
good.

Regards,


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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 00:48:22 2012
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 35DBD21F8762 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:48:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Ao8bHY6qpoGw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:48:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A9D0021F875B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 00:48:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slxpw-0006gh-TL for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 07:47:52 +0000
Resent-Date: Tue, 03 Jul 2012 07:47:52 +0000
Resent-Message-Id: <E1Slxpw-0006gh-TL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1Slxpq-0006eM-Kn for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 07:47:46 +0000
Received: from moutng.kundenserver.de ([212.227.17.10]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1Slxpp-00048X-Ji for ietf-http-wg@w3.org; Tue, 03 Jul 2012 07:47:46 +0000
Received: from [192.168.2.103] (p548F9E39.dip.t-dialin.net [84.143.158.57]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MPNP2-1Sha7B1W6a-004PYt; Tue, 03 Jul 2012 09:47:17 +0200
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Jan Algermissen <jan.algermissen@nordsc.com>
In-Reply-To: <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net>
Date: Tue, 3 Jul 2012 09:47:15 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <289771FD-CD19-4863-9A1F-C52D16CC453D@nordsc.com>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1278)
X-Provags-ID: V02:K0:9J2I66K27UdwVZT/QuldgxvM4aIFCL+FwVblhpI5XMo y1EP8s8W4OWPd05HeHZkY9B8ZA+YizoGCzyGjIAbI/KPQ2itQO 8dDYg5c98TOYFi/XangdkpS2GSaF5/6fv9HZkj04I03nerbt/j dzbaAQPlJ3z1sPdwLprQdeaPR2Fxtu9ydksTqglqVusk+mUvv+ tWWfnXe2eZamcxnRsXmrnW5ks9TceeQnJv6hlhVl1hrMfs/iUG zUhfhkQVegUxROavCHc8I1TQoSLS3PWXwlqYzs6mg37dwRvsyF W3+t+9Rw73LBdY9HpGw71r0cRNDkDn0F+XlxXVf3igYnOBFkkK quwG0kl3WmwZB/rP2UYAJJvtdUMmzvSWoLtGCaK6Z6YwHorHaR L+AsE2Nn6KRHg==
Received-SPF: none client-ip=212.227.17.10; envelope-from=jan.algermissen@nordsc.com; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Slxpp-00048X-Ji 64f5ad910f6ef9d5d28384717bc67a9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/289771FD-CD19-4863-9A1F-C52D16CC453D@nordsc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13972
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>

[Unable to create trace account, hence I'll add here]

On Jul 3, 2012, at 8:50 AM, Mark Nottingham wrote:

>> 
>> Should we add idempotency to the method registry? Anything else?
>> 

Roy came up with a related table a while ago:

http://tech.groups.yahoo.com/group/rest-discuss/message/4732?var=0&l=1


Jan




>> -- 
>> Ticket URL: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/364>
>> httpbis <http://tools.ietf.org/wg/httpbis/>
>> 
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
> 



From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 00:55:32 2012
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 4471421F8797 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:55:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 1wwk5ZfE7BEX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 00:55:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3B41721F8796 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 00:55:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slxwo-00009P-3t for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 07:54:58 +0000
Resent-Date: Tue, 03 Jul 2012 07:54:58 +0000
Resent-Message-Id: <E1Slxwo-00009P-3t@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1Slxwi-00008i-4w for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 07:54:52 +0000
Received: from moutng.kundenserver.de ([212.227.126.187]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1Slxwa-00045p-SC for ietf-http-wg@w3.org; Tue, 03 Jul 2012 07:54:51 +0000
Received: from [192.168.2.103] (p548F9E39.dip.t-dialin.net [84.143.158.57]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LjOHr-1SFf3W2uJb-00dUYG; Tue, 03 Jul 2012 09:54:17 +0200
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Jan Algermissen <jan.algermissen@nordsc.com>
In-Reply-To: <289771FD-CD19-4863-9A1F-C52D16CC453D@nordsc.com>
Date: Tue, 3 Jul 2012 09:54:16 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <A3FFAB4E-A344-47FB-A3D8-4B9965E68488@nordsc.com>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <289771FD-CD19-4863-9A1F-C52D16CC453D@nordsc.com>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1278)
X-Provags-ID: V02:K0:vgkkHTrRncsvSBmY1EzCbIUFzSQHY14C4ZJPXUch/xw 14neKur7VyDYYagx4GFSjW5Camcsu/nBBbXojB5UU5ie1guBOT LN3CagnD2OSp/MlPc3FnQ0hDkxfqd1hjtH8pq57PZc5uAM2iIm /yoY3hVYcTBSrfcj7/wr3627dzZFnVV8TfZL3vtL3tTDHIs9Ns kaiZlBL63ZV+2bLFz8XojvR/BihmM5OYaQhc8popkFWvOqKTw/ GRYLXYmCLW0E/aTEI+irIt9JBVc1AOBUlP/fBycRBe8AnApUeL +Hp38yUvillTUS4T5Nn8XPRQdkEd5JIHl22lHbzUYWak7XPxHl sKdJOlzoi84y2CV5DPmcakC5cO5wfTdI2YEgEfsse4mLRpfZ5M 9CF7nBc/TpdGQ==
Received-SPF: none client-ip=212.227.126.187; envelope-from=jan.algermissen@nordsc.com; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Slxwa-00045p-SC 0d3e2a1d9e8b90bc533c602e241244d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/A3FFAB4E-A344-47FB-A3D8-4B9965E68488@nordsc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13973
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 Jul 3, 2012, at 9:47 AM, Jan Algermissen wrote:

> [Unable to create trace account, hence I'll add here]

Sorry - as always, it worked in the third attempt. Posted comment to ticket.

Jan



From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 01:06:02 2012
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 9DEAA21F8764 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 01:06:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.461
X-Spam-Level: 
X-Spam-Status: No, score=-9.461 tagged_above=-999 required=5 tests=[AWL=1.138, BAYES_00=-2.599, 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 Tc6vrnnpanS4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 01:06:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7A6F21F875E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 01:06:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sly6n-0007Ne-3C for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 08:05:17 +0000
Resent-Date: Tue, 03 Jul 2012 08:05:17 +0000
Resent-Message-Id: <E1Sly6n-0007Ne-3C@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sly6X-000668-0e for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 08:05:01 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sly6P-0004Ud-RF for ietf-http-wg@w3.org; Tue, 03 Jul 2012 08:05:00 +0000
Received: (qmail invoked by alias); 03 Jul 2012 08:04:27 -0000
Received: from p5DD95BE7.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.91.231] by mail.gmx.net (mp024) with SMTP; 03 Jul 2012 10:04:27 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX199i/wdJrF9rxPAdEv/c7ZaWryFzE8RJPYYJO3VQL GiINdWSKi8QtN6
Message-ID: <4FF2A785.906@gmx.de>
Date: Tue, 03 Jul 2012 10:04:21 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sly6P-0004Ud-RF 3a09085d865481deb8845383d591198f
X-Original-To: ietf-http-wg@w3.org
Subject: #359 clarify connection header field values are case-insensitive
Archived-At: <http://www.w3.org/mid/4FF2A785.906@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13974
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>

(Origin: 
<http://stackoverflow.com/questions/10953635/are-the-http-connection-header-values-case-sensitive>)

This ought to be non-controversial; I'd propose to simply state

"Connection options are compared case-insensitively."

below the ABNF (and also rename the ABNF production "connection-token" 
to "connection-option" to remove any confusion).

Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/359/359.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 01:19:02 2012
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 5196A21F87C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 01:19:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.282
X-Spam-Level: 
X-Spam-Status: No, score=-9.282 tagged_above=-999 required=5 tests=[AWL=1.317, BAYES_00=-2.599, 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 T8xyf8y6XilR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 01:18:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1BC2C21F874F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 01:18:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlyIr-00089j-4H for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 08:17:45 +0000
Resent-Date: Tue, 03 Jul 2012 08:17:45 +0000
Resent-Message-Id: <E1SlyIr-00089j-4H@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlyIh-00088y-FR for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 08:17:35 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SlyIX-0005ZG-CF for ietf-http-wg@w3.org; Tue, 03 Jul 2012 08:17:35 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8D89422E253; Tue,  3 Jul 2012 04:17:03 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FF2A785.906@gmx.de>
Date: Tue, 3 Jul 2012 18:17:00 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BA78A1A0-1792-4E72-B3D5-CFA0C41791F2@mnot.net>
References: <4FF2A785.906@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SlyIX-0005ZG-CF 37f6d55e512a7bd3667bd0dd87247439
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #359 clarify connection header field values are case-insensitive
Archived-At: <http://www.w3.org/mid/BA78A1A0-1792-4E72-B3D5-CFA0C41791F2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13975
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>

+1
s
On 03/07/2012, at 6:04 PM, Julian Reschke wrote:

> (Origin: =
<http://stackoverflow.com/questions/10953635/are-the-http-connection-heade=
r-values-case-sensitive>)
>=20
> This ought to be non-controversial; I'd propose to simply state
>=20
> "Connection options are compared case-insensitively."
>=20
> below the ABNF (and also rename the ABNF production "connection-token" =
to "connection-option" to remove any confusion).
>=20
> Proposed patch: =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/359/359.diff=
>
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 02:13:13 2012
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 7009721F8557 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 02:13:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, 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 rI-ADVGc+OqC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 02:13:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7AE7421F84D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 02:13:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Slz9G-0001nE-UQ for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 09:11:54 +0000
Resent-Date: Tue, 03 Jul 2012 09:11:54 +0000
Resent-Message-Id: <E1Slz9G-0001nE-UQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Slz9A-0001m5-Kf for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 09:11:48 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Slz94-0008EJ-P1 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 09:11:48 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 2E7831715B3; Tue,  3 Jul 2012 10:11:21 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1341306680; bh=xEQy3yXJWD0JXR W69j3meU9EUBwyBHmqA52PAaYR/AE=; b=OKZPrLb/kPRz0B6iZO2qrN38WTQxsn 9Rb0C7maIlfnDLnEvyu2XKRdm1ckb46Sl6oW5OFx+/b82yMJcPHMI8HQYG9YJ8YY ATjJLM+ozwrHqFKVtP8WhSAT7A/xbpbc2/z/iT75oBJ02Hxwo7IWrcCXg24FHGaF IwQPuyVx7z/nxpGxBkhOUHNYNF4eneV6WXm/fK3ZfAVhORZy2HNS6eRJVU843P6M 76lS2Ng/2w0GTGcURno5J4i2eyatvJr9vv77uegJH+cixILik6oEL7h3p1nuVoDo 7s51kiMrwwdqdLHsOWmo/78CfVIHnwFtq9AqOwTxvzJiDGH5Gc1PWj8A==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id qb-0zmoSMThr; Tue,  3 Jul 2012 10:11:20 +0100 (IST)
Received: from [192.168.88.68] (089-101-131130.ntlworld.ie [89.101.131.130]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 21CD5171819; Tue,  3 Jul 2012 10:11:01 +0100 (IST)
Message-ID: <4FF2B721.6070600@cs.tcd.ie>
Date: Tue, 03 Jul 2012 10:10:57 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net> <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net>
In-Reply-To: <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net>
X-Enigmail-Version: 1.4.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Slz94-0008EJ-P1 5f50aa8664cbff09e1005f773a3d987d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and  New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/4FF2B721.6070600@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13976
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 07/03/2012 03:12 AM, Mark Nottingham wrote:
> Likewise, no expressions of interest in implementing or using the proposed authentication schemes is hard to misinterpret.

Not sure I agree that the interpretation of silence is that
clear. It could mean they've just not read 'em, or are on
vacation, or think someone else will do it, or would like
all this security muck to just go away.

I would hope that people take the WG charter seriously
enough to at least read and comment on the proposals, be
that positively or negatively.

S.


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 02:31:57 2012
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 EC5EE21F873B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 02:31:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.212
X-Spam-Level: 
X-Spam-Status: No, score=-9.212 tagged_above=-999 required=5 tests=[AWL=1.387, BAYES_00=-2.599, 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 dtsAm6XD4KmF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 02:31:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 52A8721F8722 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 02:31:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SlzRq-0005ua-4n for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 09:31:06 +0000
Resent-Date: Tue, 03 Jul 2012 09:31:06 +0000
Resent-Message-Id: <E1SlzRq-0005ua-4n@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SlzRk-0005ta-8c for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 09:31:00 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SlzRb-0008Ll-PJ for ietf-http-wg@w3.org; Tue, 03 Jul 2012 09:30:59 +0000
Received: (qmail invoked by alias); 03 Jul 2012 09:30:24 -0000
Received: from p5DD95BE7.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.91.231] by mail.gmx.net (mp036) with SMTP; 03 Jul 2012 11:30:24 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19oyJIaTxtoFMRS0utFPhZxQhyU6YWQ/cQ+DsmYaR E/fiiwUrFmWfdX
Message-ID: <4FF2BBA8.9070807@gmx.de>
Date: Tue, 03 Jul 2012 11:30:16 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FF2A785.906@gmx.de> <BA78A1A0-1792-4E72-B3D5-CFA0C41791F2@mnot.net>
In-Reply-To: <BA78A1A0-1792-4E72-B3D5-CFA0C41791F2@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SlzRb-0008Ll-PJ e9163cd03d5345788908e19b4f279a8c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #359 clarify connection header field values are case-insensitive
Archived-At: <http://www.w3.org/mid/4FF2BBA8.9070807@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13977
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 2012-07-03 10:17, Mark Nottingham wrote:
> +1

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1706>


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 03:16:11 2012
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 C5A2921F87F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 03:16:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 LG1MUuHF0urn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 03:16:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56D3221F87E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 03:16:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm087-0007H0-1s for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 10:14:47 +0000
Resent-Date: Tue, 03 Jul 2012 10:14:47 +0000
Resent-Message-Id: <E1Sm087-0007H0-1s@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1Sm07z-0007G9-Pm for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 10:14:39 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1Sm07y-0001qD-0K for ietf-http-wg@w3.org; Tue, 03 Jul 2012 10:14:39 +0000
Received: by qcad1 with SMTP id d1so1968361qca.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 03:14:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=BJo6bTpxC9fMpUF/LZq3DCFkgsK4yzV9owUCYMr6eWU=; b=ln3Ujqu41RBzRodXqUtDjDsHfsmY/bxmAqw2zxCIWKRiOtBunohExCtCbqqfl6YTdu a2lAYJFb9a8VnSdtBY9khBV0i9WzvVw+y9GzuzfODrLOGCHEzwm1oW5W5NZbfge0idSb sB2iP1ySQxBmQZ0jABdmsbI4pbxHmrDmothRqc9GvF4Rwixj9vH2Q3eA4LtTQ2y2isFE vRrCKp8ismFISEH1/uRegmCfnpQGap+YopD7g6zySGQxk9zUNb3xg6FKQvz4t8vUBSHU pIQncFgUNzB0sW5+YaZu8+AOLEjHM9xuf0AWuExSeaS4Yd1o+3GLFi6h+JFRResvqlpv BU5A==
MIME-Version: 1.0
Received: by 10.224.59.212 with SMTP id m20mr19134424qah.35.1341310452252; Tue, 03 Jul 2012 03:14:12 -0700 (PDT)
Received: by 10.229.84.144 with HTTP; Tue, 3 Jul 2012 03:14:12 -0700 (PDT)
Date: Tue, 3 Jul 2012 12:14:12 +0200
Message-ID: <CAH_y2NFiGrKDkankCPgAQnHdw9O-v5Fn4EjkTuEwwmz2iMpYvg@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmr7w+IYVuNoF0awqdEi2IfcqQDkk+l245Y2N7ZSmddF59QePRBsHuYP2IdPb+y7PfWmCkN
Received-SPF: pass client-ip=209.85.216.171; envelope-from=gregw@intalio.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm07y-0001qD-0K bec7ac273d0efa75756816eabd518ff3
X-Original-To: ietf-http-wg@w3.org
Subject: Expression of Interest from Jetty.
Archived-At: <http://www.w3.org/mid/CAH_y2NFiGrKDkankCPgAQnHdw9O-v5Fn4EjkTuEwwmz2iMpYvg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13978
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,

This is a response to the call for expressions of interest:
http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI

I'm the project leader of the Jetty project (http://eclipse.org/jetty)
and am making this initial response on behalf of the project and not
for eclipse as a whole (although we will solicit further feedback from
other projects within eclipse). I work for Webtide|Intalio who sell
support services around Jetty.

Jetty is an open source server and client written in java that
supports the 3.0 Servlet API, HTTP/1.1, Websocket 1.0 and SPDY v3.  We
have a reasonable market share of java servers (>10% < 30%) and are
deployed on everything from tiny embedded servers to very large
deployments with over 100k connections per server.

The Jetty project is very interested in the development and
standardisation of HTTP/2.0 and intend to be contributors to the WG
and early implementers.     We are well acquainted with the
limitations of HTTP/1.1 and have a desire to see the problems of
pipelining and multiple connections (>2) resolved.

The Jetty project SPDY effort is lead by Simone Bordet and it has
implemented SPDY v3 with flow control and push.  This is available in
the main releases of our Jetty-7 and jetty-8 servers (we also have a
java SPDY client).   The project has also provided an extension to the
JVM to implement the TLS NPN extension needed by SPDY, and we
understand that several other java SPDY implementations are using
this.

We chose SPDY to implement rather than any other HTTP/2.0  proposal
mainly because of the support available in deployed browsers, so that
we can achieve real world feedback.    However, we were also
encouraged in our adoption of SPDY by the open, methodical and
congenial approach of the SPDY project at Google (not always our
experience with projects at Google or elsewhere) .

We definitely see the potential of SPDY and it is already being used
by some sites.  However we still lack the feedback from widespread
deployment (it is early days) or from large deployments.   We are
actively seeking significant sites who are interested in working with
us to deploy SPDY.

There are several key features of SPDY that we see as promising:

Header compression greatly improves data density.  In our use of Ajax
and Comet over HTTP/1.1 we have often hit scalability limits due to
network saturation with very poor data density of small massages in
large HTTP framing.  While websocket is doing a lot to resolve this,
we are hoping that SPDY will provide improvement without the need to
redevelop applications.

Multiplexing of multiple streams over a single connection is also a
good development. Reducing the number of connections that the server
must handle is key to scalability, specially as modern HTTP browsers
are now exceeding the 2 connection limit.  The ability to send out of
order responses is good and we also suspect that receiving messages
from a single client over a single connection may help reduce some of
the non deterministic behaviours that can develop as multiple
connections from the same client set cookies or update session state.
It will also avoid the issue of load balancers directing connections
from the same client to different nodes in a cluster.     We recognise
the additional cost of multiplexing (extra copies and flow control),
but currently believe that it is worth the effort.

We see the potential of server push for content, but are struggling
with the lack of meta data knowledge available to know what to push
and when.  We are currently working on strategies that use the
referrer header to identify associated resources that can be pushed
together. We also check for if-modified-since headers as an indication
that associated content may already be cached and thus a push is not
required.   We see the challenge of push as not being the protocol to
send the content, but in working out the standards for meta data,
cache control etc so that we know what to push and when.

We have not yet implemented websocket over SPDY, but do intend to do
so if it is supported by the browsers. We see a lot of similarities in
the base framing of these two protocols and would hope that eventually
only one would need to be well supported.

We are bit ambivalent about the use of NPN and TLS only connections.
There is a question to be asked regarding if we should be sending any
web content in the clear, and how intermediaries should be able to (or
not) filter/inspect/mutate content.    However, I personally feel that
this is essentially a non technical issue and we should not use a
protocol to push any particular agenda.    The RTT argument for not
supporting in the clear connections is weak as there are several easy
technical solutions available.  Furthermore, the lack of support for
NPN is a barrier to adoption (albeit one that we have broken down for
some JVMs at least).   Debugging over TLS is and will always be
difficult.    We would like to HTTP/2.0 support standardised non
encrypted connections (at least from TLS offload to server).    If a
higher level debate determines that web deployments only accept TLS
connections, then we are fine with that non technical determination.

I repeat that we selected SPDY to implement because it's availability
in the browsers and not as the result of a  technical review against
other alternatives.  However we are generally pleased with the
direction and results obtained so far and look forward to gaining more
experience and feedback as it is more widely deployed.

However we do recognise that much of the "goodness" of SPDY can be
provided by the other proposals.  I'm particularly interested in the
HTTP/speed/mobility's use of websockets as it's framing layer (as that
addressed the concern I raised above).  But we currently do not have
any  plans to implement the alternatives, mainly because of resource
limitations and lack of browser support.  So currently we are
advocates of  the SPDY approach in the starship troopers sense: ie we
support SPDY until it is dead or we find something better.  Of course
Jetty is an open platform and we would really welcome and assist any
contributors who would like to build on our websocket support to
implement HTTP/SM.

We believe that there is high demand for a significant improvement
over HTTP/1.1 and that the environment is ripe for a rapid rollout of
an alternative/improved protocol and expect that HTTP/1.1 can quickly
be replaced.   Because of this, we have begun development of jetty-9
which replaces the HTTP protocol centric architecture of jetty-7/8
with something that is much better suited to multiple protocols and
multiplexed HTTP semantics. SPDY, Websocket and HTTP/1.1 are true
peers in Jetty-9 rather than the newer protocols being implemented as
HTTP facades. We believe that jetty-9 will be the ideal platform on
which to develop and deploy HTTP/2.0 and we invite anybody with an
interest to come contribute to the project.

regards

PS. Simone Bordet who has lead our SPDY development is currently on
vacation and may have more to say on his return.














-- 
Greg Wilkins <gregw@intalio.com>
www.webtide.com
Developer advice, services and support
from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 05:21:17 2012
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 B295C21F884D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 05:21:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.691
X-Spam-Level: 
X-Spam-Status: No, score=-8.691 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908, 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 SdwZdcIMDIuh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 05:21:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9D3FD21F8848 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 05:21:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm24f-0007DB-64 for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 12:19:21 +0000
Resent-Date: Tue, 03 Jul 2012 12:19:21 +0000
Resent-Message-Id: <E1Sm24f-0007DB-64@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jengelh@inai.de>) id 1Sm24Y-0007B0-HZ for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 12:19:14 +0000
Received: from seven.medozas.de ([5.9.24.206]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <jengelh@inai.de>) id 1Sm24P-0007MF-Hs for ietf-http-wg@w3.org; Tue, 03 Jul 2012 12:19:14 +0000
Received: by seven.medozas.de (Postfix, from userid 25121) id D041996A0E9A; Tue,  3 Jul 2012 14:18:41 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by seven.medozas.de (Postfix) with ESMTP id A51A096A0E99; Tue,  3 Jul 2012 14:18:41 +0200 (CEST)
Date: Tue, 3 Jul 2012 14:18:41 +0200 (CEST)
From: Jan Engelhardt <jengelh@inai.de>
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net>
Message-ID: <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net> <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net>
User-Agent: Alpine 2.01 (LNX 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Received-SPF: pass client-ip=5.9.24.206; envelope-from=jengelh@inai.de; helo=seven.medozas.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm24P-0007MF-Hs 98de85b849f417f987e9f2584f63aaa7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and  New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13979
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 Tuesday 2012-07-03 04:12, Mark Nottingham wrote:

>Please submit feedback to this from your implementation or
>deployment ASAP; without this information, I'll be forced to rely on
>my own impressions more heavily when judging consensus (which means
>less grounds for complaining if it doesn't go your way).
>
>Note that one of the options on the table for the protocol, by
>default, is to do nothing -- i.e., continue to develop HTTP/1.1
>pipelining to address performance concerns (which quite a few
>implementations have been doing recently).
>
>Likewise, no expressions of interest in implementing or using the
>proposed authentication schemes is hard to misinterpret.

Rather than reinventing extra framing atop of TCP, the use of SCTP for 
multiple concurrent HTTP streams should be considered. I wouldn't let 
"SCTP is not deployed" count as an argument. IPv6 was/is not deployed 
either (depending on who you ask). New protocols hardly ever are.



Server pushes: One of the big strengths of HTTP has been that the user 
agent chooses which URLs to download data from. Other voices on the 
Internet point out that server-side pushes look like an attempt to 
counter adblockers; while adblockers will likely continue to do their 
job (after all, all data has some location), server side pushes can 
actually clog the pipe if they can send arbitrary documents anytime - 
and make it anything but spdy.

Let the client choose the modus operandi. Require that a HTTP/2.x server 
supports traditional pushless operation.


>> The proposals we've received are listed here:
>>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals
>>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals
>> 
>> Note that a few are not fully-formed proposals in their own right, 
>>and therefore they're not really appropriate to consider as starting 
>>points for further work, but instead as input documents that can 
>>inform further discussion once we choose a starting point.


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 05:34:09 2012
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 E992E21F8848 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 05:34:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.844
X-Spam-Level: 
X-Spam-Status: No, score=-8.844 tagged_above=-999 required=5 tests=[AWL=1.755, BAYES_00=-2.599, 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 ugTkdUN9Acym for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 05:34:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA65D21F8831 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 05:34:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm2HL-0006oN-DP for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 12:32:27 +0000
Resent-Date: Tue, 03 Jul 2012 12:32:27 +0000
Resent-Message-Id: <E1Sm2HL-0006oN-DP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm2HB-0006mu-Aa for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 12:32:17 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm2H1-00018U-Nf for ietf-http-wg@w3.org; Tue, 03 Jul 2012 12:32:17 +0000
Received: (qmail invoked by alias); 03 Jul 2012 12:31:41 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp039) with SMTP; 03 Jul 2012 14:31:41 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Ctr0FsPHCcmmQor9gF7BuoGhIc0W85ANLlsaYit sX5BTyOruAuDbg
Message-ID: <4FF2E62B.9070304@gmx.de>
Date: Tue, 03 Jul 2012 14:31:39 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Jan Engelhardt <jengelh@inai.de>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net> <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net> <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr>
In-Reply-To: <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sm2H1-00018U-Nf 939d23116c97f9c45a0a6043099c83d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and   New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/4FF2E62B.9070304@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13980
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 2012-07-03 14:18, Jan Engelhardt wrote:
> ...
> Rather than reinventing extra framing atop of TCP, the use of SCTP for
> multiple concurrent HTTP streams should be considered. I wouldn't let
> "SCTP is not deployed" count as an argument. IPv6 was/is not deployed
> either (depending on who you ask). New protocols hardly ever are.
> ...

Please see 
<http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0343.html> 
and <http://datatracker.ietf.org/wg/httpbis/charter/> -- if you want to 
make a concrete proposal, you should write it down in the form of an 
internet draft. Also note HTTP-over-SCTP has been considered before, so 
you may be able to start from one of the existing proposals.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 07:00:25 2012
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 16ECB11E80D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 07:00:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 77et3IckZBH2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 07:00:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CAC8D11E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 07:00:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm3dB-0000Nq-Bi for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 13:59:05 +0000
Resent-Date: Tue, 03 Jul 2012 13:59:05 +0000
Resent-Message-Id: <E1Sm3dB-0000Nq-Bi@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <JSullivan@velocix.com>) id 1Sm3d4-0000N4-PY for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 13:58:58 +0000
Received: from mail-out1.velocix.com ([81.134.152.10] helo=owa.velocix.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <JSullivan@velocix.com>) id 1Sm3cu-0005dS-N4 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 13:58:58 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Tue, 3 Jul 2012 14:58:21 +0100
Message-ID: <4FF2FA7D.5030100@velocix.com>
Date: Tue, 3 Jul 2012 14:58:21 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net>
In-Reply-To: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sm3cu-0005dS-N4 1dd11999e1060d34328fd498dcd5b197
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/4FF2FA7D.5030100@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13981
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>

Mark Nottingham wrote:
> Note that the new consideration -- identifying who can generate the status code -- implies (as Julian pointed out) that we should eat our own dogfood and define it for ours.
> 
> Looking through p2, this was actually easier than I thought it might be; most of the status codes already are pretty specific (using phrases like "the resource indicates...", which can logically be read to make it specific to origins). The only issues of interpretation I found are marked by "!" below.
> 
> O - Origin server (including gateways)
> I - Intermediaries (proxy or gateway)
> P - Proxies (not gateways)
> S - All servers
> 
>  Successful 2xx
> O   200 OK

Does an intermediate selected through use of Max-Forwards count
as an origin for this purpose when fielding TRACE or OPTIONS?

>  Client Error 4xx
> O!  403 Forbidden

Definitely S - see the previous discussion around 451 where it was
widely accepted that 403 was a legitimate response from an intermediate
that was unwilling for undisclosed reasons to proxy at all for a given
URI/client.

>  Server Error 5xx
> S   500 Internal Server Error
> O!   501 Not Implemented

Again, if an intermediate is refusing to handle TRACE/OPTIONS
targeted at it, this would seem the appropriate response.

John
-- 


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 10:30:58 2012
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 59F6A21F85B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 10:30:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.257
X-Spam-Level: 
X-Spam-Status: No, score=-9.257 tagged_above=-999 required=5 tests=[AWL=1.342, BAYES_00=-2.599, 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 pY1h6fprRXxt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 10:30:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 665EA21F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 10:30:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm6uY-0007EN-5e for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 17:29:14 +0000
Resent-Date: Tue, 03 Jul 2012 17:29:14 +0000
Resent-Message-Id: <E1Sm6uY-0007EN-5e@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm6uR-0007DX-Ub for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 17:29:07 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm6uL-0007S6-9Q for ietf-http-wg@w3.org; Tue, 03 Jul 2012 17:29:07 +0000
Received: (qmail invoked by alias); 03 Jul 2012 17:28:34 -0000
Received: from p5DD96484.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.100.132] by mail.gmx.net (mp069) with SMTP; 03 Jul 2012 19:28:34 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Ov64+CZDOH0/XMbEms2y7l0qoOPv3fSmKl3PzrU ncAakZOa6c0sU+
Message-ID: <4FF32BC2.1070407@gmx.de>
Date: Tue, 03 Jul 2012 19:28:34 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FE6E978.4010509@gmx.de>
In-Reply-To: <4FE6E978.4010509@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sm6uL-0007S6-9Q 9345874be715909b7273a3d451ae8ae5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/4FF32BC2.1070407@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13982
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 2012-06-24 12:18, Julian Reschke wrote:
>...

OK, I applied those that were uncontroversial; and for some more I used 
the variants suggested by Björn.

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1707>

This leaves us with two instances of "should not" in P1, and two 
instances of "shouldn't" in P6 which I'll discuss in the follow-up mails.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 10:39:52 2012
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 6371B11E815E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 10:39:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.299
X-Spam-Level: 
X-Spam-Status: No, score=-9.299 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, 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 k1VBRRQWbaoS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 10:39:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6940711E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 10:39:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm744-0004bw-0N for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 17:39:04 +0000
Resent-Date: Tue, 03 Jul 2012 17:39:04 +0000
Resent-Message-Id: <E1Sm744-0004bw-0N@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm73x-0004b9-UO for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 17:38:57 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm73w-0004Ki-91 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 17:38:57 +0000
Received: (qmail invoked by alias); 03 Jul 2012 17:38:29 -0000
Received: from p5DD96484.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.100.132] by mail.gmx.net (mp017) with SMTP; 03 Jul 2012 19:38:29 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18McD49uCgMxHUoXd4+ymcGRzShoq9Sx9ACaCWSMd ZVXIZ1bSOHZP/1
Message-ID: <4FF32E16.1040806@gmx.de>
Date: Tue, 03 Jul 2012 19:38:30 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FE6E978.4010509@gmx.de> <rj3fu71sndtgk9jtcp8093a81dqegp542q@hive.bjoern.hoehrmann.de>
In-Reply-To: <rj3fu71sndtgk9jtcp8093a81dqegp542q@hive.bjoern.hoehrmann.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm73w-0004Ki-91 eede3494aa62aff6a40e330a20e1b89b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/4FF32E16.1040806@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13983
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 2012-06-25 00:26, Bjoern Hoehrmann wrote:
> * Julian Reschke wrote:
>> P1, 8.2:
>>
>>     HTTP log information is confidential in nature; its handling is often
>>     constrained by laws and regulations.  Log information needs to be
>>     securely stored and appropriate guidelines followed for its analysis.
>>     Anonymization of personal information within individual entries
>>     helps, but is generally not sufficient to prevent real log traces
>>     from being re-identified based on correlation with other access
>>     characteristics.  As such, access traces that are keyed to a specific
>>     client should not be published even if the key is pseudonymous.
>>
>> "should not" -> "SHOULD NOT"
>
> It seems inconsistent to me make that a SHOULD NOT while keeping the
> "needs to be".

If we elevate "needs to be securely stored" to "SHOULD be securely 
stored" we make many HTTP servers non-compliant, right?

>>     To minimize the risk of theft or accidental publication, log
>>     information should be purged of personally identifiable information,
>>     including user identifiers, IP addresses, and user-provided query
>>     parameters, as soon as that information is no longer necessary to
>>     support operational needs for security, auditing, or fraud control.
>>
>> "should" -> "SHOULD
>
> I think this would have to require minimizing this risk first, other-
> wise there is no requirement if you decide against minimizing it.

Not convinced; what's wrong with saying something like

  "To minimize ... , log information SHOULD be purged of..."?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 10:46:11 2012
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 52FDA11E818E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 10:46:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.338
X-Spam-Level: 
X-Spam-Status: No, score=-9.338 tagged_above=-999 required=5 tests=[AWL=1.261, BAYES_00=-2.599, 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 ucDqc+fybxyq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 10:46:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A843011E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 10:46:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm7AD-0001Yb-39 for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 17:45:25 +0000
Resent-Date: Tue, 03 Jul 2012 17:45:25 +0000
Resent-Message-Id: <E1Sm7AD-0001Yb-39@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm7A6-0001Xl-BQ for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 17:45:18 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm7A0-0008OT-3E for ietf-http-wg@w3.org; Tue, 03 Jul 2012 17:45:17 +0000
Received: (qmail invoked by alias); 03 Jul 2012 17:44:45 -0000
Received: from p5DD96484.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.100.132] by mail.gmx.net (mp038) with SMTP; 03 Jul 2012 19:44:45 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+5vGlxkFK5fBlDK3EsWaQ4bPoVTzryxulIu62aAu yrUw+SNM3nR7FX
Message-ID: <4FF32F8D.2050506@gmx.de>
Date: Tue, 03 Jul 2012 19:44:45 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FE6E978.4010509@gmx.de> <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net>
In-Reply-To: <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sm7A0-0008OT-3E 1bb6b1d8e3cc31f220591d8b61de9507
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/4FF32F8D.2050506@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13984
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 2012-06-29 03:34, Mark Nottingham wrote:
>
> On 24/06/2012, at 8:18 PM, Julian Reschke wrote:
>
>> P6, 2.3.3:
>>
>>    If a cache receives a first-hand response (either an entire response,
>>    or a 304 (Not Modified) response) that it would normally forward to
>>    the requesting client, and the received response is no longer fresh,
>>    the cache can forward it to the requesting client without adding a
>>    new Warning (but without removing any existing Warning header
>>    fields).  A cache shouldn't attempt to validate a response simply
>>    because that response became stale in transit.
>>
>> "shouldn't" -> "SHOULD NOT"
>
> I think I prefer the "shouldn't" here; it's not a conformance requirement, but instead simply trying to explain how things work. I.e., this doesn't affect interop.

It falls under what RFC 2119 calls "to limit behavior which has 
potential for causing harm (e.g., limiting retransmisssions)".

That being said; can you propose alternate prose that doesn't use 
"may/should/must"?

>> P6, 2.4:
>>
>>    Additionally, a cache can add an If-None-Match header field whose
>>    value is that of the ETag header field(s) from all responses stored
>>    for the requested URI, if present.  However, if any of the stored
>>    responses contains only partial content, the cache shouldn't include
>>    its entity-tag in the If-None-Match header field unless the request
>>    is for a range that would be fully satisfied by that stored response.
>>
>> "shouldn't" -> "SHOULD NOT"
>
> Again, this isn't really interop, it's just trying to explain how it works.

True. Can we use "ought", or rephrase to something like

"However, if any of the stored responses contains only partial content, 
and the request is for a range that would be fully satisfied by that 
stored response,  it would be pointless for the cache to include its 
entity-tag in the If-None-Match header field."

>> P6, 3.2.3:
>>
>>    For example, consider a hypothetical new response directive called
>>    "community" that acts as a modifier to the private directive.  We
>>    define this new directive to mean that, in addition to any private
>>    cache, any cache that is shared only by members of the community
>>    named within its value may cache the response.  An origin server
>>    wishing to allow the UCI community to use an otherwise private
>>    response in their shared cache(s) could do so by including
>>
>> "may" -> "can"
>
> OK.

As suggested by Björn I made this "is allowed to".

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 11:01:17 2012
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 66E6F11E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 11:01:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.337
X-Spam-Level: 
X-Spam-Status: No, score=-10.337 tagged_above=-999 required=5 tests=[AWL=0.262, BAYES_00=-2.599, 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 rhK-GvILn2YT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 11:01:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 121C211E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 11:01:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm7P1-00006V-QT for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 18:00:43 +0000
Resent-Date: Tue, 03 Jul 2012 18:00:43 +0000
Resent-Message-Id: <E1Sm7P1-00006V-QT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sm7Ou-00005e-NB for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 18:00:36 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sm7Ot-0005Jx-46 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 18:00:36 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q63I009e017493; Tue, 3 Jul 2012 20:00:00 +0200
Date: Tue, 3 Jul 2012 20:00:00 +0200
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120703180000.GA17454@1wt.eu>
References: <4FF2A785.906@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4FF2A785.906@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sm7Ot-0005Jx-46 319a1eac4b4f9310413efe48a7a2b351
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #359 clarify connection header field values are case-insensitive
Archived-At: <http://www.w3.org/mid/20120703180000.GA17454@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13985
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 Julian,

On Tue, Jul 03, 2012 at 10:04:21AM +0200, Julian Reschke wrote:
> (Origin: 
> <http://stackoverflow.com/questions/10953635/are-the-http-connection-header-values-case-sensitive>)
> 
> This ought to be non-controversial; I'd propose to simply state
> 
> "Connection options are compared case-insensitively."

Indeed, if people still have issues with this (and I used to years ago), better
clarify it.

Willy



From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:07:01 2012
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 511A511E8109 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:07:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.439
X-Spam-Level: 
X-Spam-Status: No, score=-6.439 tagged_above=-999 required=5 tests=[AWL=3.538, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 mCkFHeVgXWix for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:07:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 88A1311E80B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:07:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm8Po-0006hy-SZ for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:05:36 +0000
Resent-Date: Tue, 03 Jul 2012 19:05:36 +0000
Resent-Message-Id: <E1Sm8Po-0006hy-SZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1Sm8Pi-0006fa-Dh for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:05:30 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1Sm8Ph-0003kQ-Cr for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:05:30 +0000
Received: by qcad1 with SMTP id d1so2401256qca.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 12:05:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=tMRjPfJdEGW4Y7BEr7gytsCEsMmxn/spyGYY9bIAUFE=; b=rJIw+w+MFbfnSoHf7NEHTDNTgI7943Rz5YXKcCVNU+nL8dZRZmWf1Old7Z2HjeMaPe y2zVD92HnhYZA3zgDoP6yJa4MXk79cN+loEuSTxptcxVsxqI2yYZKtWHunVw340ijUQq F36pLsGIwyia7UUq5Duy/NuiJoT15NA6mtX/3lfNdMHIY5q2tT7ouEJgvpf8BEUIQrb2 6cnUkfB1c24T2QAz4Ppz2aaikN8O9kGrqlWll4k7YjLSRc3Y2uiaHIlf6gDZx0YbRu+Q /F16HxE3mUfUauJQh50d8alAU7l+canASkLVR5DEuAcERLn9Q17YD5QSxD5LoirDnlkG OsUA==
MIME-Version: 1.0
Received: by 10.224.40.2 with SMTP id i2mr32477289qae.62.1341342303645; Tue, 03 Jul 2012 12:05:03 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.229.245.85 with HTTP; Tue, 3 Jul 2012 12:05:03 -0700 (PDT)
Date: Tue, 3 Jul 2012 15:05:03 -0400
X-Google-Sender-Auth: yyTiMRaULt8Ty1Tih7rbT3oL0bM
Message-ID: <CALaySJLHboTZRF7mQueKTVtx++U_YDNLFuM9m0BLJK2tJALpHw@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: HTTPbis Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=barryleiba@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sm8Ph-0003kQ-Cr 0d3499d9aef30d55695fce112ea173cf
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ietf-appsawg-http-forwarded-05 issue: multiple copies of  Forwarded vs comma-separated list
Archived-At: <http://www.w3.org/mid/CALaySJLHboTZRF7mQueKTVtx++U_YDNLFuM9m0BLJK2tJALpHw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13986
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>

In case anyone here is interested and not already following
apps-discuss, I started a discussion thread with this same subject
line on apps-discuss@ietf.org.  Go there to comment.  Here's an
archive pointer to the beginning of the thread:
http://www.ietf.org/mail-archive/web/apps-discuss/current/msg06521.html

Barry


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:09:18 2012
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 641D211E8186 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:09:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.295
X-Spam-Level: 
X-Spam-Status: No, score=-9.295 tagged_above=-999 required=5 tests=[AWL=1.304, BAYES_00=-2.599, 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 DKwOyM5kf9sA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:09:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6843711E80B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:09:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm8Si-0007Hp-SM for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:08:36 +0000
Resent-Date: Tue, 03 Jul 2012 19:08:36 +0000
Resent-Message-Id: <E1Sm8Si-0007Hp-SM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm8Sb-0007Gs-Kz for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:08:29 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm8SZ-0007yz-Us for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:08:29 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BA04D22E256; Tue,  3 Jul 2012 15:08:05 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FF32F8D.2050506@gmx.de>
Date: Wed, 4 Jul 2012 05:08:01 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6C6B6C78-18AA-406B-8B40-9F796E3A9B34@mnot.net>
References: <4FE6E978.4010509@gmx.de> <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net> <4FF32F8D.2050506@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm8SZ-0007yz-Us aa1bb7ba1a420f87935689eee2a6d2f7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/6C6B6C78-18AA-406B-8B40-9F796E3A9B34@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13987
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 04/07/2012, at 3:44 AM, Julian Reschke wrote:

> On 2012-06-29 03:34, Mark Nottingham wrote:
>>=20
>> On 24/06/2012, at 8:18 PM, Julian Reschke wrote:
>>=20
>>> P6, 2.3.3:
>>>=20
>>>   If a cache receives a first-hand response (either an entire =
response,
>>>   or a 304 (Not Modified) response) that it would normally forward =
to
>>>   the requesting client, and the received response is no longer =
fresh,
>>>   the cache can forward it to the requesting client without adding a
>>>   new Warning (but without removing any existing Warning header
>>>   fields).  A cache shouldn't attempt to validate a response simply
>>>   because that response became stale in transit.
>>>=20
>>> "shouldn't" -> "SHOULD NOT"
>>=20
>> I think I prefer the "shouldn't" here; it's not a conformance =
requirement, but instead simply trying to explain how things work. I.e., =
this doesn't affect interop.
>=20
> It falls under what RFC 2119 calls "to limit behavior which has =
potential for causing harm (e.g., limiting retransmisssions)".
>=20
> That being said; can you propose alternate prose that doesn't use =
"may/should/must"?

"ought not"? :)


>>> P6, 2.4:
>>>=20
>>>   Additionally, a cache can add an If-None-Match header field whose
>>>   value is that of the ETag header field(s) from all responses =
stored
>>>   for the requested URI, if present.  However, if any of the stored
>>>   responses contains only partial content, the cache shouldn't =
include
>>>   its entity-tag in the If-None-Match header field unless the =
request
>>>   is for a range that would be fully satisfied by that stored =
response.
>>>=20
>>> "shouldn't" -> "SHOULD NOT"
>>=20
>> Again, this isn't really interop, it's just trying to explain how it =
works.
>=20
> True. Can we use "ought", or rephrase to something like
>=20
> "However, if any of the stored responses contains only partial =
content, and the request is for a range that would be fully satisfied by =
that stored response,  it would be pointless for the cache to include =
its entity-tag in the If-None-Match header field."

There was subsequent discussion and I think we settled on something =
along the lines of:

"""
... However, a cache MUST NOT include an entity tag from a stored =
partial response if that response does not fully satisfy the requested =
range.
"""

>>> P6, 3.2.3:
>>>=20
>>>   For example, consider a hypothetical new response directive called
>>>   "community" that acts as a modifier to the private directive.  We
>>>   define this new directive to mean that, in addition to any private
>>>   cache, any cache that is shared only by members of the community
>>>   named within its value may cache the response.  An origin server
>>>   wishing to allow the UCI community to use an otherwise private
>>>   response in their shared cache(s) could do so by including
>>>=20
>>> "may" -> "can"
>>=20
>> OK.
>=20
> As suggested by Bj=F6rn I made this "is allowed to".


Works for me.

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:15:09 2012
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 6B4F611E8170 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:15:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Au3bSzz3qhfF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:15:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C55011E8186 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:15:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm8YE-0000Xe-JB for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:14:18 +0000
Resent-Date: Tue, 03 Jul 2012 19:14:18 +0000
Resent-Message-Id: <E1Sm8YE-0000Xe-JB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sm8Y7-0000Wo-SH for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:14:11 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sm8Y5-00089q-VK for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:14:11 +0000
Received: by wgbdt14 with SMTP id dt14so6089478wgb.26 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 12:13:43 -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=IvwhY/ZUkMdu3EQwiiiVWVCxUxRY13nX3G7jXDvDyE0=; b=K6bkUzOhuzFDv22tFu/x8/PHdeI2tUR2ElRm+slB5lvSnXHDFQSsVZz8YxVPIO1nol H9XYMaogj3Y0h0TQf1UlwraSUgjmWeEa6L4gBEKjHCoU62GpSO9Kkov7RRIs9Zi92Mve UqYDmGXVtN6hezvcU8ISnVVf2capyylwMzMbOvyRY+Tm7hau3H1X8yILJZJo8uQ1hRNy +y+ktrIHvB7Z4+hRP/YO0gARz2fQ03EhTc2FksBVi5SrwW6GbRR6IsrGlJ748Ue1JQFh f5JLfnMlPjZI7RKb1CfBD97HcVBVNgZpmynoyXRXfSIL/at/K9mzE8TGnoAEfGA+YpQs P5Yg==
MIME-Version: 1.0
Received: by 10.180.82.198 with SMTP id k6mr27499743wiy.20.1341342823658; Tue, 03 Jul 2012 12:13:43 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 3 Jul 2012 12:13:43 -0700 (PDT)
In-Reply-To: <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net> <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net> <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr>
Date: Tue, 3 Jul 2012 12:13:43 -0700
Message-ID: <CAP+FsNdg9-wXvv57OAvAOVM+WUGg76sD2t=nRBid_Mq-1yGGUw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Jan Engelhardt <jengelh@inai.de>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04428d9c86b54e04c3f1b630
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm8Y5-00089q-VK 5849dbc572b5875922929a3c96f24127
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and  New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/CAP+FsNdg9-wXvv57OAvAOVM+WUGg76sD2t=nRBid_Mq-1yGGUw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13988
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>

--f46d04428d9c86b54e04c3f1b630
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 3, 2012 at 5:18 AM, Jan Engelhardt <jengelh@inai.de> wrote:

>
> On Tuesday 2012-07-03 04:12, Mark Nottingham wrote:
>
> >Please submit feedback to this from your implementation or
> >deployment ASAP; without this information, I'll be forced to rely on
> >my own impressions more heavily when judging consensus (which means
> >less grounds for complaining if it doesn't go your way).
>


Mark-
A number of us are in the process of organizing for this.
4th of July week over here has added delay to this because many people are
taking the week off.

-=R

>
> >Note that one of the options on the table for the protocol, by
> >default, is to do nothing -- i.e., continue to develop HTTP/1.1
> >pipelining to address performance concerns (which quite a few
> >implementations have been doing recently).
> >
> >Likewise, no expressions of interest in implementing or using the
> >proposed authentication schemes is hard to misinterpret.
>
> Rather than reinventing extra framing atop of TCP, the use of SCTP for
> multiple concurrent HTTP streams should be considered. I wouldn't let
> "SCTP is not deployed" count as an argument. IPv6 was/is not deployed
> either (depending on who you ask). New protocols hardly ever are.
>
>
>
> Server pushes: One of the big strengths of HTTP has been that the user
> agent chooses which URLs to download data from. Other voices on the
> Internet point out that server-side pushes look like an attempt to
> counter adblockers; while adblockers will likely continue to do their
> job (after all, all data has some location), server side pushes can
> actually clog the pipe if they can send arbitrary documents anytime -
> and make it anything but spdy.
>

> Let the client choose the modus operandi. Require that a HTTP/2.x server
> supports traditional pushless operation.


>
> >> The proposals we've received are listed here:
> >>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals
> >>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals
> >>
> >> Note that a few are not fully-formed proposals in their own right,
> >>and therefore they're not really appropriate to consider as starting
> >>points for further work, but instead as input documents that can
> >>inform further discussion once we choose a starting point.
>
>

--f46d04428d9c86b54e04c3f1b630
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 3, 2012 at 5:18 AM, Jan Enge=
lhardt <span dir=3D"ltr">&lt;<a href=3D"mailto:jengelh@inai.de" target=3D"_=
blank">jengelh@inai.de</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">
<div class=3D"im"><br>
On Tuesday 2012-07-03 04:12, Mark Nottingham wrote:<br>
<br>
&gt;Please submit feedback to this from your implementation or<br>
&gt;deployment ASAP; without this information, I&#39;ll be forced to rely o=
n<br>
&gt;my own impressions more heavily when judging consensus (which means<br>
&gt;less grounds for complaining if it doesn&#39;t go your way).<br></div><=
/blockquote><div><br></div><div><br></div><div>Mark-</div><div>A number of =
us are in the process of organizing for this.</div><div>4th of July week ov=
er here has added delay to this because many people are taking the week off=
.=A0</div>
<div><br></div><div>-=3DR</div><div><br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div class=3D"im">
&gt;<br>
&gt;Note that one of the options on the table for the protocol, by<br>
&gt;default, is to do nothing -- i.e., continue to develop HTTP/1.1<br>
&gt;pipelining to address performance concerns (which quite a few<br>
&gt;implementations have been doing recently).<br>
&gt;<br>
&gt;Likewise, no expressions of interest in implementing or using the<br>
&gt;proposed authentication schemes is hard to misinterpret.<br>
<br>
</div>Rather than reinventing extra framing atop of TCP, the use of SCTP fo=
r<br>
multiple concurrent HTTP streams should be considered. I wouldn&#39;t let<b=
r>
&quot;SCTP is not deployed&quot; count as an argument. IPv6 was/is not depl=
oyed<br>
either (depending on who you ask). New protocols hardly ever are.<br>
<br>
<br>
<br>
Server pushes: One of the big strengths of HTTP has been that the user<br>
agent chooses which URLs to download data from. Other voices on the<br>
Internet point out that server-side pushes look like an attempt to<br>
counter adblockers; while adblockers will likely continue to do their<br>
job (after all, all data has some location), server side pushes can<br>
actually clog the pipe if they can send arbitrary documents anytime -<br>
and make it anything but spdy.<br></blockquote><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><br>
Let the client choose the modus operandi. Require that a HTTP/2.x server<br=
>
supports traditional pushless operation.</blockquote><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
&gt;&gt; The proposals we&#39;ve received are listed here:<br>
&gt;&gt; =A0<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http=
2Proposals" target=3D"_blank">http://trac.tools.ietf.org/wg/httpbis/trac/wi=
ki/Http2Proposals</a><br>
&gt;&gt; =A0<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http=
AuthProposals" target=3D"_blank">http://trac.tools.ietf.org/wg/httpbis/trac=
/wiki/HttpAuthProposals</a><br>
&gt;&gt;<br>
&gt;&gt; Note that a few are not fully-formed proposals in their own right,=
<br>
&gt;&gt;and therefore they&#39;re not really appropriate to consider as sta=
rting<br>
&gt;&gt;points for further work, but instead as input documents that can<br=
>
&gt;&gt;inform further discussion once we choose a starting point.<br>
<br>
</div></div></blockquote></div><br>

--f46d04428d9c86b54e04c3f1b630--


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:27:57 2012
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 C892021F856D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:27:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.308
X-Spam-Level: 
X-Spam-Status: No, score=-9.308 tagged_above=-999 required=5 tests=[AWL=1.291, BAYES_00=-2.599, 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 3fsoKqFrmJDT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:27:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 05AC921F856C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:27:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm8kr-0006y9-IR for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:27:21 +0000
Resent-Date: Tue, 03 Jul 2012 19:27:21 +0000
Resent-Message-Id: <E1Sm8kr-0006y9-IR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm8kl-0006xS-HB for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:27:15 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm8kk-0004bR-9h for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:27:15 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E5E3822E257; Tue,  3 Jul 2012 15:26:51 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FF2FA7D.5030100@velocix.com>
Date: Wed, 4 Jul 2012 05:26:47 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C2F41746-0EB7-48EE-9C45-FF69E5E64476@mnot.net>
References: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net> <4FF2FA7D.5030100@velocix.com>
To: John Sullivan <jsullivan@velocix.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sm8kk-0004bR-9h 9816bdeaabb0c707cea17384dbc5db54
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/C2F41746-0EB7-48EE-9C45-FF69E5E64476@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13989
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 03/07/2012, at 11:58 PM, John Sullivan wrote:

> Mark Nottingham wrote:
>> Note that the new consideration -- identifying who can generate the =
status code -- implies (as Julian pointed out) that we should eat our =
own dogfood and define it for ours.
>>=20
>> Looking through p2, this was actually easier than I thought it might =
be; most of the status codes already are pretty specific (using phrases =
like "the resource indicates...", which can logically be read to make it =
specific to origins). The only issues of interpretation I found are =
marked by "!" below.
>>=20
>> O - Origin server (including gateways)
>> I - Intermediaries (proxy or gateway)
>> P - Proxies (not gateways)
>> S - All servers
>>=20
>> Successful 2xx
>> O   200 OK
>=20
> Does an intermediate selected through use of Max-Forwards count
> as an origin for this purpose when fielding TRACE or OPTIONS?

Good point. This will have to be special-cased in the text.


>> Client Error 4xx
>> O!  403 Forbidden
>=20
> Definitely S - see the previous discussion around 451 where it was
> widely accepted that 403 was a legitimate response from an =
intermediate
> that was unwilling for undisclosed reasons to proxy at all for a given
> URI/client.

Personally, I agree. I think we can work around any potential issues =
here by making this just prose; i.e., "ought to" instead of MUST.


>> Server Error 5xx
>> S   500 Internal Server Error
>> O!   501 Not Implemented
>=20
> Again, if an intermediate is refusing to handle TRACE/OPTIONS
> targeted at it, this would seem the appropriate response.


Ack; same as above.

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:38:55 2012
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 17AA211E81ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:38:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.321
X-Spam-Level: 
X-Spam-Status: No, score=-9.321 tagged_above=-999 required=5 tests=[AWL=1.278, BAYES_00=-2.599, 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 4ezysRebFc9K for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:38:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 07CDA11E81EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:38:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm8vK-0005Lw-5e for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:38:10 +0000
Resent-Date: Tue, 03 Jul 2012 19:38:10 +0000
Resent-Message-Id: <E1Sm8vK-0005Lw-5e@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm8vD-0005JY-KO for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:38:03 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm8vC-0000ml-5G for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:38:03 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4491E22E253 for <ietf-http-wg@w3.org>; Tue,  3 Jul 2012 15:37:39 -0400 (EDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net>
Date: Wed, 4 Jul 2012 05:37:37 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm8vC-0000ml-5G b707fc0111d132c7513fa8a2a6b2e3d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13990
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>

My .02 -=20

I think we should list safety and idempotency, at the most.=20

Including other information is too simplistic; e.g., cacheability =
depends on a LOT more than the method, capturing how the method affects =
cacheability in a table is problematic (see: POST).

I'd also be OK with removing all such information, because people really =
need to read the WHOLE method definition.

Cheers,


On 03/07/2012, at 4:50 PM, Mark Nottingham wrote:

> FYI, new issue as per recent discussion.
>=20
> Begin forwarded message:
>=20
>> Resent-From: trac+httpbis@trac.tools.ietf.org
>> From: "httpbis" <trac+httpbis@trac.tools.ietf.org>
>> Subject: [httpbis] #364: Capturing more information in the method =
registry
>> Date: 3 July 2012 4:48:23 PM AEST
>> To: draft-ietf-httpbis-p2-semantics@tools.ietf.org, mnot@pobox.com
>> Reply-To: ietf-http-wg@w3.org
>>=20
>> #364: Capturing more information in the method registry
>> =
--------------------------+-----------------------------------------------=

>> Reporter:  mnot@=85        |      Owner:  =
draft-ietf-httpbis-p2-semantics@=85
>>    Type:  design        |     Status:  new
>> Priority:  normal        |  Milestone:  unassigned
>> Component:  p2-semantics  |   Severity:  Active WG Document
>> Keywords:                |     Origin:
>> =
--------------------------+-----------------------------------------------=

>> We established the method registry in #72, and considered recording
>> idempotency there. However, we closed that issue without a definitive
>> answer, because we were still discussing the definition of =
idempotency.
>>=20
>> Should we add idempotency to the method registry? Anything else?
>>=20
>> --=20
>> Ticket URL: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/364>
>> httpbis <http://tools.ietf.org/wg/httpbis/>
>>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:56:09 2012
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 0BC1011E80F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:56:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.929
X-Spam-Level: 
X-Spam-Status: No, score=-5.929 tagged_above=-999 required=5 tests=[AWL=1.750, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FORGED_YAHOO_RCVD=2.297, HTML_MESSAGE=0.001, 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 S8tKhYU+VQD6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:56:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8BF2911E80CA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:56:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9CB-0006cb-2K for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:55:35 +0000
Resent-Date: Tue, 03 Jul 2012 19:55:35 +0000
Resent-Message-Id: <E1Sm9CB-0006cb-2K@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1Sm9C3-0006ZV-Mp for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:55:27 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1Sm9By-00061r-P8 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:55:27 +0000
Received: by ghy10 with SMTP id 10so5946121ghy.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 12:54:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=8gbzgRaljtr3ef61dPZr0HJ6P3Zs9F3ZC8v38TyZ6QY=; b=EbyddiBK5MWJy0ze99uivxVL9bRFk5b0PlZHQdWVvvFVBvPYBWKoPA/xW9Y2e3MZTt QY67eOVXeiyWIaAkUO3ixRiczkGJFO2fH5aU5GQlLIT8XPLmBkM2BGmcevpytoxs1p/O Pdn37VyLYCJJf6l+tB2WongtTSo1PKntPULQz037nkRVWO9eZwUpgR0vHo/LBWp1nipi w+pgze5wUxORmCFsZ54llj2VT9Io36oYgxBMZXZhxX9PZ/Fe48mcmN6K6HhNP5q5TnN9 AZkaBmyd5gUatsZaPb6BHdKufPhUzRMutGEySMqIDGdVTZz8Mrjf5nDkV9fGzj3tMU7V zUgw==
MIME-Version: 1.0
Received: by 10.236.193.67 with SMTP id j43mr22276109yhn.17.1341345296957; Tue, 03 Jul 2012 12:54:56 -0700 (PDT)
Sender: mca@amundsen.com
Received: by 10.147.79.17 with HTTP; Tue, 3 Jul 2012 12:54:56 -0700 (PDT)
In-Reply-To: <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net>
Date: Tue, 3 Jul 2012 15:54:56 -0400
X-Google-Sender-Auth: b-94TpKNDMo1xQ1G-ErrdiZecC8
Message-ID: <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com>
From: mike amundsen <mamund@yahoo.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf305b0c1af2411204c3f24949
X-Gm-Message-State: ALoCoQkLMZJ0r1vUM67hTOKLGh0jeI0uO+0OhMq1PJU5/PM/xz19QPHiDpDdezzOgfnQNuB/l6Fg
Received-SPF: none client-ip=209.85.160.171; envelope-from=mca@amundsen.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sm9By-00061r-P8 fdc6de32cad6b0ac05fcf156225aad5e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13991
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>

--20cf305b0c1af2411204c3f24949
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Yes, I think safety and idempotence are most needed in this table of
previously registered methods.

Per Julian's comment: if one of the reasons to leave idempotence off the
list is that we don't know whether some of these methods are idempotent or
not, then I'd opt for saying that in this table ("UNK", etc.) rather than
leaving that property out of the table completely.

On a related note, I wasn't able to find any details on the method
registry. Anyone able to give me some pointers?
mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me







On Tue, Jul 3, 2012 at 3:37 PM, Mark Nottingham <mnot@mnot.net> wrote:

> My .02 -
>
> I think we should list safety and idempotency, at the most.
>
> Including other information is too simplistic; e.g., cacheability depends
> on a LOT more than the method, capturing how the method affects
> cacheability in a table is problematic (see: POST).
>
> I'd also be OK with removing all such information, because people really
> need to read the WHOLE method definition.
>
> Cheers,
>
>
> On 03/07/2012, at 4:50 PM, Mark Nottingham wrote:
>
> > FYI, new issue as per recent discussion.
> >
> > Begin forwarded message:
> >
> >> Resent-From: trac+httpbis@trac.tools.ietf.org
> >> From: "httpbis" <trac+httpbis@trac.tools.ietf.org>
> >> Subject: [httpbis] #364: Capturing more information in the method
> registry
> >> Date: 3 July 2012 4:48:23 PM AEST
> >> To: draft-ietf-httpbis-p2-semantics@tools.ietf.org, mnot@pobox.com
> >> Reply-To: ietf-http-wg@w3.org
> >>
> >> #364: Capturing more information in the method registry
> >>
> --------------------------+----------------------------------------------=
-
> >> Reporter:  mnot@=85        |      Owner:
>  draft-ietf-httpbis-p2-semantics@=85
> >>    Type:  design        |     Status:  new
> >> Priority:  normal        |  Milestone:  unassigned
> >> Component:  p2-semantics  |   Severity:  Active WG Document
> >> Keywords:                |     Origin:
> >>
> --------------------------+----------------------------------------------=
-
> >> We established the method registry in #72, and considered recording
> >> idempotency there. However, we closed that issue without a definitive
> >> answer, because we were still discussing the definition of idempotency=
.
> >>
> >> Should we add idempotency to the method registry? Anything else?
> >>
> >> --
> >> Ticket URL: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/364>
> >> httpbis <http://tools.ietf.org/wg/httpbis/>
> >>
> >
> > --
> > Mark Nottingham   http://www.mnot.net/
> >
> >
> >
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

--20cf305b0c1af2411204c3f24949
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div>Yes, I think safety and idempotence are most needed in this table of p=
reviously registered methods.</div><div><br></div><div>Per Julian&#39;s com=
ment: if one of the reasons to leave idempotence off the list is that we do=
n&#39;t know whether some of these methods are idempotent or not, then I&#3=
9;d opt for saying that in this table (&quot;UNK&quot;, etc.) rather than l=
eaving that property out of the table completely.</div>
<div><br></div><div>On a related note, I wasn&#39;t able to find any detail=
s on the method registry. Anyone able to give me some pointers?<br clear=3D=
"all">mca<br><a href=3D"http://amundsen.com/blog/" target=3D"_blank">http:/=
/amundsen.com/blog/</a><br>
<a href=3D"http://twitter.com" target=3D"_blank">http://twitter.com</a>@mam=
und<br><a href=3D"http://mamund.com/foaf.rdf#me" target=3D"_blank">http://m=
amund.com/foaf.rdf#me</a><br><br><br>
<br>
<br></div><br>
<br><br><div class=3D"gmail_quote">On Tue, Jul 3, 2012 at 3:37 PM, Mark Not=
tingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=3D"_b=
lank">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>

My .02 -<br>
<br>
I think we should list safety and idempotency, at the most.<br>
<br>
Including other information is too simplistic; e.g., cacheability depends o=
n a LOT more than the method, capturing how the method affects cacheability=
 in a table is problematic (see: POST).<br>
<br>
I&#39;d also be OK with removing all such information, because people reall=
y need to read the WHOLE method definition.<br>
<br>
Cheers,<br>
<div><div><br>
<br>
On 03/07/2012, at 4:50 PM, Mark Nottingham wrote:<br>
<br>
&gt; FYI, new issue as per recent discussion.<br>
&gt;<br>
&gt; Begin forwarded message:<br>
&gt;<br>
&gt;&gt; Resent-From: <a href=3D"mailto:trac%2Bhttpbis@trac.tools.ietf.org"=
 target=3D"_blank">trac+httpbis@trac.tools.ietf.org</a><br>
&gt;&gt; From: &quot;httpbis&quot; &lt;<a href=3D"mailto:trac%2Bhttpbis@tra=
c.tools.ietf.org" target=3D"_blank">trac+httpbis@trac.tools.ietf.org</a>&gt=
;<br>
&gt;&gt; Subject: [httpbis] #364: Capturing more information in the method =
registry<br>
&gt;&gt; Date: 3 July 2012 4:48:23 PM AEST<br>
&gt;&gt; To: <a href=3D"mailto:draft-ietf-httpbis-p2-semantics@tools.ietf.o=
rg" target=3D"_blank">draft-ietf-httpbis-p2-semantics@tools.ietf.org</a>, <=
a href=3D"mailto:mnot@pobox.com" target=3D"_blank">mnot@pobox.com</a><br>
&gt;&gt; Reply-To: <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank"=
>ietf-http-wg@w3.org</a><br>
&gt;&gt;<br>
&gt;&gt; #364: Capturing more information in the method registry<br>
&gt;&gt; --------------------------+---------------------------------------=
--------<br>
&gt;&gt; Reporter: =A0mnot@=85 =A0 =A0 =A0 =A0| =A0 =A0 =A0Owner: =A0draft-=
ietf-httpbis-p2-semantics@=85<br>
&gt;&gt; =A0 =A0Type: =A0design =A0 =A0 =A0 =A0| =A0 =A0 Status: =A0new<br>
&gt;&gt; Priority: =A0normal =A0 =A0 =A0 =A0| =A0Milestone: =A0unassigned<b=
r>
&gt;&gt; Component: =A0p2-semantics =A0| =A0 Severity: =A0Active WG Documen=
t<br>
&gt;&gt; Keywords: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 Origin:<br>
&gt;&gt; --------------------------+---------------------------------------=
--------<br>
&gt;&gt; We established the method registry in #72, and considered recordin=
g<br>
&gt;&gt; idempotency there. However, we closed that issue without a definit=
ive<br>
&gt;&gt; answer, because we were still discussing the definition of idempot=
ency.<br>
&gt;&gt;<br>
&gt;&gt; Should we add idempotency to the method registry? Anything else?<b=
r>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Ticket URL: &lt;<a href=3D"http://trac.tools.ietf.org/wg/httpbis/t=
rac/ticket/364" target=3D"_blank">http://trac.tools.ietf.org/wg/httpbis/tra=
c/ticket/364</a>&gt;<br>
&gt;&gt; httpbis &lt;<a href=3D"http://tools.ietf.org/wg/httpbis/" target=
=3D"_blank">http://tools.ietf.org/wg/httpbis/</a>&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mark Nottingham =A0 <a href=3D"http://www.mnot.net/" target=3D"_blank"=
>http://www.mnot.net/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
--<br>
Mark Nottingham =A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">http=
://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--20cf305b0c1af2411204c3f24949--


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 12:59:24 2012
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 63E3621F86D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:59:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.334
X-Spam-Level: 
X-Spam-Status: No, score=-9.334 tagged_above=-999 required=5 tests=[AWL=1.265, BAYES_00=-2.599, 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 kA9XrmsUTsW0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 12:59:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6D9A021F854E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 12:59:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9FT-0006qi-57 for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 19:58:59 +0000
Resent-Date: Tue, 03 Jul 2012 19:58:59 +0000
Resent-Message-Id: <E1Sm9FT-0006qi-57@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm9FM-0006ps-RN for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 19:58:52 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm9FG-0001Yb-Pm for ietf-http-wg@w3.org; Tue, 03 Jul 2012 19:58:52 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D732722E253; Tue,  3 Jul 2012 15:58:24 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com>
Date: Wed, 4 Jul 2012 05:58:21 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com>
To: mike amundsen <mamund@yahoo.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm9FG-0001Yb-Pm 0703026aa435fdd455e0381abfc5b0b5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13992
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 04/07/2012, at 5:54 AM, mike amundsen wrote:

> Yes, I think safety and idempotence are most needed in this table of =
previously registered methods.
>=20
> Per Julian's comment: if one of the reasons to leave idempotence off =
the list is that we don't know whether some of these methods are =
idempotent or not, then I'd opt for saying that in this table ("UNK", =
etc.) rather than leaving that property out of the table completely.
>=20
> On a related note, I wasn't able to find any details on the method =
registry. Anyone able to give me some pointers?

It's set up here:
  =
https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-sem=
antics.html#method.registry

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:16:47 2012
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 F3B8811E80CA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:16:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.513
X-Spam-Level: 
X-Spam-Status: No, score=-6.513 tagged_above=-999 required=5 tests=[AWL=1.167, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FORGED_YAHOO_RCVD=2.297, 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 SH4oLDdHBJJc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:16:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C0E211E8111 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:16:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9VY-0001js-Oh for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:15:36 +0000
Resent-Date: Tue, 03 Jul 2012 20:15:36 +0000
Resent-Message-Id: <E1Sm9VY-0001js-Oh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1Sm9VG-0001j3-VU for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:15:18 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1Sm9VE-0006pM-1u for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:15:18 +0000
Received: by vcbgb30 with SMTP id gb30so4963402vcb.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 13:14:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=ABs83aDLHc3Nir4+uFxmhrSSdD8F3IN8IrU2QpSyJ6g=; b=oQOFJM+3Dh5WVvcujbVBth8JcYa68yPUX5Csna/Y39SEIi0GKo9T4mqSTtgS3+rs9H q6d4gDtqWBfTY9DrAsowAqMv67yMD6N410VI7Im0ZewYxgvJHiywhBK77/Nj9O9NG1oS NWnzJC6Ik+R0bEEHXfLumfMuhCdNQM+mHULLLUVBCekBshyJ/hSOM5uK0wv6NbfsPvv0 0joaD5y7yzHNKZHpHDwQP5ryOozHbU5sLIgihD79QFWBZZbphFkM3N2TlSpBqq+cws1d vnC3RHVgPi8o/fCvi8GXW1Exbbh6NvmvoHja0Ve03qujJbyLvxR4HrCgUfcA5GsRKFAT WYOA==
MIME-Version: 1.0
Received: by 10.52.95.116 with SMTP id dj20mr5806518vdb.39.1341346490527; Tue, 03 Jul 2012 13:14:50 -0700 (PDT)
Sender: mca@amundsen.com
Received: by 10.52.188.230 with HTTP; Tue, 3 Jul 2012 13:14:50 -0700 (PDT)
In-Reply-To: <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com> <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net>
Date: Tue, 3 Jul 2012 16:14:50 -0400
X-Google-Sender-Auth: _TDbw0mVGvrsPgmWnSWYe8QqVFA
Message-ID: <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com>
From: mike amundsen <mamund@yahoo.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmUfB/ZnIwLoHcGyXNVBHYA4KC0qo0FQEKQA8SasaGu1aknGdoWX5vnPLKvEYV1UV3BwvTE
Received-SPF: none client-ip=209.85.220.171; envelope-from=mca@amundsen.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sm9VE-0006pM-1u bbb9b875104ab7293ddd20a70422e74d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13993
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>

Thanks for the pointer, Mark:

In reading both 2.2 and 2.2.1 there is (in my mind at least) some discrepan=
cy:

>From 2.2:
"Registrations MUST include the following fields:
- Method Name (see Section 2)
- Safe ("yes" or "no", see Section 2.1.1)
- Pointer to specification text"

>From 2.2.1:
"New method definitions need to indicate whether they are safe
(Section 2.1.1), what semantics (if any) the request body has, and
whether they are idempotent (Section 2.1.2)."

So, when registering a new method in the future, indicating Safety is
a MUST; indicating Idempotence is a .... SHOULD? MAY? And what of body
length/semantics, and cachability? SHOULD? MAY?

>From my POV, resolving the above Qs will better inform decisions on
how to complete the table in "Initial Hypertext Transfer Protocol
(HTTP) Method Registrations"


mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me




On Tue, Jul 3, 2012 at 3:58 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
>
> On 04/07/2012, at 5:54 AM, mike amundsen wrote:
>
> > Yes, I think safety and idempotence are most needed in this table of pr=
eviously registered methods.
> >
> > Per Julian's comment: if one of the reasons to leave idempotence off th=
e list is that we don't know whether some of these methods are idempotent o=
r not, then I'd opt for saying that in this table ("UNK", etc.) rather than=
 leaving that property out of the table completely.
> >
> > On a related note, I wasn't able to find any details on the method regi=
stry. Anyone able to give me some pointers?
>
> It's set up here:
>   https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-=
semantics.html#method.registry
>
> Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:18:04 2012
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 427D021F85E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:18:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.346
X-Spam-Level: 
X-Spam-Status: No, score=-9.346 tagged_above=-999 required=5 tests=[AWL=1.253, BAYES_00=-2.599, 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 X8pCKLL4+gEo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:18:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 761D321F85DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:18:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9XQ-00023N-Qz for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:17:32 +0000
Resent-Date: Tue, 03 Jul 2012 20:17:32 +0000
Resent-Message-Id: <E1Sm9XQ-00023N-Qz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm9XJ-0001zc-Ix for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:17:25 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sm9XE-0002BJ-Pg for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:17:25 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AC27922E253; Tue,  3 Jul 2012 16:16:58 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com>
Date: Wed, 4 Jul 2012 06:16:55 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6A49C006-E8A7-46C4-8509-DD7DDC99D074@mnot.net>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com> <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net> <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com>
To: mike amundsen <mamund@yahoo.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm9XE-0002BJ-Pg 644f0ca56db1fedde99d017e7fb21c4a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/6A49C006-E8A7-46C4-8509-DD7DDC99D074@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13994
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>

It's common for the registration template to not reflect all of the =
requirements upon a registration.

For example, it would be at best inefficient to try to reflect the =
semantics of the body in the registry.

Cheers,


On 04/07/2012, at 6:14 AM, mike amundsen wrote:

> Thanks for the pointer, Mark:
>=20
> In reading both 2.2 and 2.2.1 there is (in my mind at least) some =
discrepancy:
>=20
> =46rom 2.2:
> "Registrations MUST include the following fields:
> - Method Name (see Section 2)
> - Safe ("yes" or "no", see Section 2.1.1)
> - Pointer to specification text"
>=20
> =46rom 2.2.1:
> "New method definitions need to indicate whether they are safe
> (Section 2.1.1), what semantics (if any) the request body has, and
> whether they are idempotent (Section 2.1.2)."
>=20
> So, when registering a new method in the future, indicating Safety is
> a MUST; indicating Idempotence is a .... SHOULD? MAY? And what of body
> length/semantics, and cachability? SHOULD? MAY?
>=20
> =46rom my POV, resolving the above Qs will better inform decisions on
> how to complete the table in "Initial Hypertext Transfer Protocol
> (HTTP) Method Registrations"
>=20
>=20
> mca
> http://amundsen.com/blog/
> http://twitter.com@mamund
> http://mamund.com/foaf.rdf#me
>=20
>=20
>=20
>=20
> On Tue, Jul 3, 2012 at 3:58 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>=20
>>=20
>> On 04/07/2012, at 5:54 AM, mike amundsen wrote:
>>=20
>>> Yes, I think safety and idempotence are most needed in this table of =
previously registered methods.
>>>=20
>>> Per Julian's comment: if one of the reasons to leave idempotence off =
the list is that we don't know whether some of these methods are =
idempotent or not, then I'd opt for saying that in this table ("UNK", =
etc.) rather than leaving that property out of the table completely.
>>>=20
>>> On a related note, I wasn't able to find any details on the method =
registry. Anyone able to give me some pointers?
>>=20
>> It's set up here:
>>  =
https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-sem=
antics.html#method.registry
>>=20
>> Cheers,
>>=20
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:24:40 2012
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 5941E21F86A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:24:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.805
X-Spam-Level: 
X-Spam-Status: No, score=-6.805 tagged_above=-999 required=5 tests=[AWL=0.875, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FORGED_YAHOO_RCVD=2.297, 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 vX9vYQMrQZwi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:24:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 29CCA21F86D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:24:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9dy-0003kH-0d for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:24:18 +0000
Resent-Date: Tue, 03 Jul 2012 20:24:18 +0000
Resent-Message-Id: <E1Sm9dy-0003kH-0d@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1Sm9dr-0003j8-BJ for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:24:11 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1Sm9dp-00078R-R6 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:24:11 +0000
Received: by vbbfq11 with SMTP id fq11so4902759vbb.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 13:23:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=g1EVMNNv8FsS29UGYgQ+s0EL8+t0t85AwzDu8/+8d7o=; b=C3Or6pm8EwMcWcefmPpSQEjiaSsdvsEhyvEAqMnVfI7gay3Q2TaUcsv/oegliK/ACY gWgk2x5JgAiGnRJd/ycSQs9XEIoS0/OiaihtyzoGdha6irD/DSnA+AjxlkrOdAy6f1gQ qib+kJOZw7TCAsPZ00HTxP75GvHJ7ZgCVPijy8BkHh7w/dDc6j5rPPv69teqZ4u1KuOS sq2xwtX+aNJB0lbq2MHa4x4vF8IFqMlmHrriF7WpvsHwc8OQEoQ1t5VUeKON+gf3fidj 9k70UK50hR3fx9iBblEDIoTZ6vZQ9P5LGr0Ar/GGtUHcuLOVGyQYeTBadTBOGW7NstNC bTnA==
MIME-Version: 1.0
Received: by 10.220.153.80 with SMTP id j16mr8950285vcw.55.1341347023976; Tue, 03 Jul 2012 13:23:43 -0700 (PDT)
Sender: mca@amundsen.com
Received: by 10.52.188.230 with HTTP; Tue, 3 Jul 2012 13:23:43 -0700 (PDT)
In-Reply-To: <6A49C006-E8A7-46C4-8509-DD7DDC99D074@mnot.net>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com> <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net> <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com> <6A49C006-E8A7-46C4-8509-DD7DDC99D074@mnot.net>
Date: Tue, 3 Jul 2012 16:23:43 -0400
X-Google-Sender-Auth: lm1ArtPjFXUnvWK53IAQB_jOHhc
Message-ID: <CAPW_8m5Uo5rtf5nwJhqebgYVdrtqfVs9eOHqvasx9WCumt_vCA@mail.gmail.com>
From: mike amundsen <mamund@yahoo.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmEUHU4XKl9cGkgCJ6l/aF9BOjLOgaSej0X5SU7OTtnWq1WoMbtfwI6287T6UDpn7oXPh2X
Received-SPF: none client-ip=209.85.212.43; envelope-from=mca@amundsen.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sm9dp-00078R-R6 8f6513d4122eedb5209b6f0b8f7566af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/CAPW_8m5Uo5rtf5nwJhqebgYVdrtqfVs9eOHqvasx9WCumt_vCA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13995
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>

> For example, it would be at best inefficient to try to reflect the semant=
ics of the body in the registry.

Agreed.

What I am asking here is on two fronts:
1 - does the _table_ in the proposed RFC ("Initial ... Method
Registrations") reflect the proposed _registry_ template?
2 - are any of the items mentioned in 2.2.1 (besides Safety) expected
to appear in the registry template?

I want to make sure I am not conflating things (RFC & upcoming
registry). Unless, of course, the point of both the RFC and the bis is
to do just that; establish a symmetry between the registry and the
RFC/bis.

mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me



On Tue, Jul 3, 2012 at 4:16 PM, Mark Nottingham <mnot@mnot.net> wrote:
> It's common for the registration template to not reflect all of the requi=
rements upon a registration.
>
> For example, it would be at best inefficient to try to reflect the semant=
ics of the body in the registry.
>
> Cheers,
>
>
> On 04/07/2012, at 6:14 AM, mike amundsen wrote:
>
>> Thanks for the pointer, Mark:
>>
>> In reading both 2.2 and 2.2.1 there is (in my mind at least) some discre=
pancy:
>>
>> From 2.2:
>> "Registrations MUST include the following fields:
>> - Method Name (see Section 2)
>> - Safe ("yes" or "no", see Section 2.1.1)
>> - Pointer to specification text"
>>
>> From 2.2.1:
>> "New method definitions need to indicate whether they are safe
>> (Section 2.1.1), what semantics (if any) the request body has, and
>> whether they are idempotent (Section 2.1.2)."
>>
>> So, when registering a new method in the future, indicating Safety is
>> a MUST; indicating Idempotence is a .... SHOULD? MAY? And what of body
>> length/semantics, and cachability? SHOULD? MAY?
>>
>> From my POV, resolving the above Qs will better inform decisions on
>> how to complete the table in "Initial Hypertext Transfer Protocol
>> (HTTP) Method Registrations"
>>
>>
>> mca
>> http://amundsen.com/blog/
>> http://twitter.com@mamund
>> http://mamund.com/foaf.rdf#me
>>
>>
>>
>>
>> On Tue, Jul 3, 2012 at 3:58 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>>
>>>
>>> On 04/07/2012, at 5:54 AM, mike amundsen wrote:
>>>
>>>> Yes, I think safety and idempotence are most needed in this table of p=
reviously registered methods.
>>>>
>>>> Per Julian's comment: if one of the reasons to leave idempotence off t=
he list is that we don't know whether some of these methods are idempotent =
or not, then I'd opt for saying that in this table ("UNK", etc.) rather tha=
n leaving that property out of the table completely.
>>>>
>>>> On a related note, I wasn't able to find any details on the method reg=
istry. Anyone able to give me some pointers?
>>>
>>> It's set up here:
>>>  https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2=
-semantics.html#method.registry
>>>
>>> Cheers,
>>>
>>>
>>> --
>>> Mark Nottingham   http://www.mnot.net/
>>>
>>>
>>>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:30:55 2012
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 BCD5411E8133 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:30:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.847
X-Spam-Level: 
X-Spam-Status: No, score=-8.847 tagged_above=-999 required=5 tests=[AWL=1.752, BAYES_00=-2.599, 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 HEVlhdEWe0IH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:30:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 14CE211E80E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:30:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9jl-00013q-1H for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:30:17 +0000
Resent-Date: Tue, 03 Jul 2012 20:30:17 +0000
Resent-Message-Id: <E1Sm9jl-00013q-1H@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm9je-0008Te-Qm for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:30:10 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sm9jd-0002b4-CD for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:30:10 +0000
Received: (qmail invoked by alias); 03 Jul 2012 20:29:43 -0000
Received: from p5DD96484.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.100.132] by mail.gmx.net (mp032) with SMTP; 03 Jul 2012 22:29:43 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX187VqVGwoA7eoPcPZuGnMTIF9PvFjoDXKhPvC4z5K O6vezMryxbBz4V
Message-ID: <4FF35635.2040400@gmx.de>
Date: Tue, 03 Jul 2012 22:29:41 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: mike amundsen <mamund@yahoo.com>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com> <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net> <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com> <6A49C006-E8A7-46C4-8509-DD7DDC99D074@mnot.net> <CAPW_8m5Uo5rtf5nwJhqebgYVdrtqfVs9eOHqvasx9WCumt_vCA@mail.gmail.com>
In-Reply-To: <CAPW_8m5Uo5rtf5nwJhqebgYVdrtqfVs9eOHqvasx9WCumt_vCA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sm9jd-0002b4-CD c0029bc749a6ac566da9fbfce9a39b3c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF35635.2040400@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13996
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 2012-07-03 22:23, mike amundsen wrote:
>> For example, it would be at best inefficient to try to reflect the semantics of the body in the registry.
>
> Agreed.
>
> What I am asking here is on two fronts:
> 1 - does the _table_ in the proposed RFC ("Initial ... Method
> Registrations") reflect the proposed _registry_ template?

Yes.

> 2 - are any of the items mentioned in 2.2.1 (besides Safety) expected
> to appear in the registry template?


So far, no. That's why we are having this discussion now.

> I want to make sure I am not conflating things (RFC & upcoming
> registry). Unless, of course, the point of both the RFC and the bis is
> to do just that; establish a symmetry between the registry and the
> RFC/bis.

The point of the registrations draft is to fill the template for those 
methods not defined by HTTPbis.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:45:17 2012
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 6B36311E816F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:45:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.46
X-Spam-Level: 
X-Spam-Status: No, score=-7.46 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 9OqL5XnUyJNn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:45:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2FFB511E80E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:45:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sm9xX-0006VB-He for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:44:31 +0000
Resent-Date: Tue, 03 Jul 2012 20:44:31 +0000
Resent-Message-Id: <E1Sm9xX-0006VB-He@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <prvs=5240cd86e=Martin.Musatov@bestbuy.com>) id 1Sm9xP-0006UQ-Sw for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:44:23 +0000
Received: from dsp2xmail.bestbuy.com ([198.22.123.158]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <prvs=5240cd86e=Martin.Musatov@bestbuy.com>) id 1Sm9xO-000340-L9 for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:44:24 +0000
Received: from unknown (HELO DSP50MAIL.na.bestbuy.com) ([168.94.110.140]) by dsp2xmail.bestbuy.com with ESMTP/TLS/AES128-SHA; 03 Jul 2012 15:35:47 -0500
Received: from va3outboundpool.messaging.microsoft.com (216.32.180.13) by mail10.bestbuy.com (168.94.110.140) with Microsoft SMTP Server (TLS) id 14.1.339.1; Tue, 3 Jul 2012 15:43:55 -0500
Received: from mail197-va3-R.bigfish.com (10.7.14.244) by VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id 14.1.225.23; Tue, 3 Jul 2012 20:41:54 +0000
Received: from mail197-va3 (localhost [127.0.0.1])	by mail197-va3-R.bigfish.com (Postfix) with ESMTP id 4981836019B	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue,  3 Jul 2012 20:41:54 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.234.133;KIP:(null);UIP:(null);(null);H:SN2PRD0610HT002.namprd06.prod.outlook.com;R:internal;EFV:INT
X-SpamScore: -27
X-BigFish: PS-27(zzbb2dI98dI9371I542M1432I1447Izz1202hzz8275ch1033IL8275bh8275dh24b1kz31h2a8h668h839h944hd25hf0ah)
Received-SPF: softfail (mail197-va3: transitioning domain of bestbuy.com does not designate 157.56.234.133 as permitted sender) client-ip=157.56.234.133; envelope-from=Martin.Musatov@bestbuy.com; helo=SN2PRD0610HT002.namprd06.prod.outlook.com ;.outlook.com ;
Received: from mail197-va3 (localhost.localdomain [127.0.0.1]) by mail197-va3 (MessageSwitch) id 1341348113147381_21328; Tue,  3 Jul 2012 20:41:53 +0000 (UTC)
Received: from VA3EHSMHS006.bigfish.com (unknown [10.7.14.235])	by mail197-va3.bigfish.com (Postfix) with ESMTP id 203634E004B;	Tue,  3 Jul 2012 20:41:53 +0000 (UTC)
Received: from SN2PRD0610HT002.namprd06.prod.outlook.com (157.56.234.133) by VA3EHSMHS006.bigfish.com (10.7.99.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 3 Jul 2012 20:41:48 +0000
Received: from SN2PRD0610MB371.namprd06.prod.outlook.com ([169.254.3.253]) by SN2PRD0610HT002.namprd06.prod.outlook.com ([10.255.117.37]) with mapi id 14.16.0164.004; Tue, 3 Jul 2012 20:43:43 +0000
From: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>
To: mike amundsen <mamund@yahoo.com>, Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: [httpbis] #364: Capturing more information in the method registry
Thread-Index: AQHNWOlSGX671/N0n0aV86xKXoTqk5cX9MeAgAAE1gCAAAD1gIAABJoAgAAHuVA=
Date: Tue, 3 Jul 2012 20:43:42 +0000
Message-ID: <1A861E6970A91447BBC0BD2021F75320029FF98D@SN2PRD0610MB371.namprd06.prod.outlook.com>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com> <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net> <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com>
In-Reply-To: <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [168.94.245.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0610HT002.namprd06.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%8463$Dn%YAHOO.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%MNOT.NET$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%W3.ORG$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-OriginatorOrg: BestBuy.com
X-CrossPremisesHeadersPromoted: DSP50MAIL.na.bestbuy.com
X-CrossPremisesHeadersFiltered: DSP50MAIL.na.bestbuy.com
Received-SPF: pass client-ip=198.22.123.158; envelope-from=prvs=5240cd86e=Martin.Musatov@bestbuy.com; helo=dsp2xmail.bestbuy.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Sm9xO-000340-L9 a3b143d09915d0929833777aa1d2b990
X-Original-To: ietf-http-wg@w3.org
Subject: RE: [httpbis] #364: Capturing more information in the method  registry
Archived-At: <http://www.w3.org/mid/1A861E6970A91447BBC0BD2021F75320029FF98D@SN2PRD0610MB371.namprd06.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13997
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>

'pointer, Mark'? I'm not familiar. Is this a semantic term? :)

-----Original Message-----
From: mca@amundsen.com [mailto:mca@amundsen.com] On Behalf Of mike amundsen
Sent: Tuesday, July 03, 2012 3:15 PM
To: Mark Nottingham
Cc: HTTP Working Group
Subject: Re: [httpbis] #364: Capturing more information in the method regis=
try

Thanks for the pointer, Mark:

In reading both 2.2 and 2.2.1 there is (in my mind at least) some discrepan=
cy:

>From 2.2:
"Registrations MUST include the following fields:
- Method Name (see Section 2)
- Safe ("yes" or "no", see Section 2.1.1)
- Pointer to specification text"

>From 2.2.1:
"New method definitions need to indicate whether they are safe (Section 2.1=
.1), what semantics (if any) the request body has, and whether they are ide=
mpotent (Section 2.1.2)."

So, when registering a new method in the future, indicating Safety is a MUS=
T; indicating Idempotence is a .... SHOULD? MAY? And what of body length/se=
mantics, and cachability? SHOULD? MAY?

>From my POV, resolving the above Qs will better inform decisions on
how to complete the table in "Initial Hypertext Transfer Protocol
(HTTP) Method Registrations"


mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me




On Tue, Jul 3, 2012 at 3:58 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
>
> On 04/07/2012, at 5:54 AM, mike amundsen wrote:
>
> > Yes, I think safety and idempotence are most needed in this table of pr=
eviously registered methods.
> >
> > Per Julian's comment: if one of the reasons to leave idempotence off th=
e list is that we don't know whether some of these methods are idempotent o=
r not, then I'd opt for saying that in this table ("UNK", etc.) rather than=
 leaving that property out of the table completely.
> >
> > On a related note, I wasn't able to find any details on the method regi=
stry. Anyone able to give me some pointers?
>
> It's set up here:
>  =20
> https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2
> -semantics.html#method.registry
>
> Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:54:14 2012
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 86C1B21F87D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:54:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.232
X-Spam-Level: 
X-Spam-Status: No, score=-9.232 tagged_above=-999 required=5 tests=[AWL=1.366, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 KtyYK4d405ws for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:54:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 40CF321F87C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:54:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmA6B-0003lY-Fb for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:53:27 +0000
Resent-Date: Tue, 03 Jul 2012 20:53:27 +0000
Resent-Message-Id: <E1SmA6B-0003lY-Fb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SmA62-0003ki-BA for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:53:18 +0000
Received: from am1ehsobe001.messaging.microsoft.com ([213.199.154.204] helo=am1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SmA5z-0003Ji-8T for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:53:18 +0000
Received: from mail51-am1-R.bigfish.com (10.3.201.238) by AM1EHSOBE009.bigfish.com (10.3.204.29) with Microsoft SMTP Server id 14.1.225.23; Tue, 3 Jul 2012 20:50:48 +0000
Received: from mail51-am1 (localhost [127.0.0.1])	by mail51-am1-R.bigfish.com (Postfix) with ESMTP id 397BD80500;	Tue,  3 Jul 2012 20:50:48 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC107.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -24
X-BigFish: VS-24(zz98dI9371I936eIc85fh1432Izz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25hf0ah)
Received-SPF: pass (mail51-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Gabriel.Montenegro@microsoft.com; helo=TK5EX14HUBC107.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail51-am1 (localhost.localdomain [127.0.0.1]) by mail51-am1 (MessageSwitch) id 1341348646744276_13003; Tue,  3 Jul 2012 20:50:46 +0000 (UTC)
Received: from AM1EHSMHS020.bigfish.com (unknown [10.3.201.231])	by mail51-am1.bigfish.com (Postfix) with ESMTP id B102D2A004C;	Tue,  3 Jul 2012 20:50:46 +0000 (UTC)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS020.bigfish.com (10.3.207.158) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 3 Jul 2012 20:50:43 +0000
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14HUBC107.redmond.corp.microsoft.com (157.54.80.67) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 3 Jul 2012 20:52:41 +0000
Received: from TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.243]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi id 14.02.0309.003; Tue, 3 Jul 2012 13:52:41 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Roberto Peon <grmocg@gmail.com>, Jan Engelhardt <jengelh@inai.de>
CC: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Call for Expressions of Interest in Proposals for HTTP/2.0 and New HTTP Authentication Schemes
Thread-Index: AQHNWRZjDdcNrrh3fkm9LgtYaadne5cYYxiA//+lxWA=
Date: Tue, 3 Jul 2012 20:52:40 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net> <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net> <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr> <CAP+FsNdg9-wXvv57OAvAOVM+WUGg76sD2t=nRBid_Mq-1yGGUw@mail.gmail.com>
In-Reply-To: <CAP+FsNdg9-wXvv57OAvAOVM+WUGg76sD2t=nRBid_Mq-1yGGUw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: multipart/alternative; boundary="_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2TK5EX14MBXW602w_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.204; envelope-from=Gabriel.Montenegro@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SmA5z-0003Ji-8T 761dba4ae2364c005c61fcaf073dda52
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Call for Expressions of Interest in Proposals for HTTP/2.0 and   New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13998
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>

--_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2TK5EX14MBXW602w_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The EoI wiki at http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI sa=
ys that the deadline is "no later than 15 July 2012", so there still are a =
few days, right?

From: Roberto Peon [mailto:grmocg@gmail.com]
Sent: Tuesday, 3 July, 2012 12:14
To: Jan Engelhardt
Cc: Mark Nottingham; HTTP Working Group
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and=
 New HTTP Authentication Schemes


On Tue, Jul 3, 2012 at 5:18 AM, Jan Engelhardt <jengelh@inai.de<mailto:jeng=
elh@inai.de>> wrote:

On Tuesday 2012-07-03 04:12, Mark Nottingham wrote:

>Please submit feedback to this from your implementation or
>deployment ASAP; without this information, I'll be forced to rely on
>my own impressions more heavily when judging consensus (which means
>less grounds for complaining if it doesn't go your way).


Mark-
A number of us are in the process of organizing for this.
4th of July week over here has added delay to this because many people are =
taking the week off.

-=3DR

>
>Note that one of the options on the table for the protocol, by
>default, is to do nothing -- i.e., continue to develop HTTP/1.1
>pipelining to address performance concerns (which quite a few
>implementations have been doing recently).
>
>Likewise, no expressions of interest in implementing or using the
>proposed authentication schemes is hard to misinterpret.
Rather than reinventing extra framing atop of TCP, the use of SCTP for
multiple concurrent HTTP streams should be considered. I wouldn't let
"SCTP is not deployed" count as an argument. IPv6 was/is not deployed
either (depending on who you ask). New protocols hardly ever are.



Server pushes: One of the big strengths of HTTP has been that the user
agent chooses which URLs to download data from. Other voices on the
Internet point out that server-side pushes look like an attempt to
counter adblockers; while adblockers will likely continue to do their
job (after all, all data has some location), server side pushes can
actually clog the pipe if they can send arbitrary documents anytime -
and make it anything but spdy.

Let the client choose the modus operandi. Require that a HTTP/2.x server
supports traditional pushless operation.


>> The proposals we've received are listed here:
>>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals
>>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals
>>
>> Note that a few are not fully-formed proposals in their own right,
>>and therefore they're not really appropriate to consider as starting
>>points for further work, but instead as input documents that can
>>inform further discussion once we choose a starting point.


--_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2TK5EX14MBXW602w_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The EoI wiki at
<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI">http:/=
/trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI</a> says that the deadli=
ne is &#8220;no later than 15 July 2012&#8221;, so there still are a few da=
ys, right?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><a name=3D"_MailEndCompose"><span style=3D"font-size=
:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497=
D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></a></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Roberto =
Peon [mailto:grmocg@gmail.com]
<br>
<b>Sent:</b> Tuesday, 3 July, 2012 12:14<br>
<b>To:</b> Jan Engelhardt<br>
<b>Cc:</b> Mark Nottingham; HTTP Working Group<br>
<b>Subject:</b> Re: Call for Expressions of Interest in Proposals for HTTP/=
2.0 and New HTTP Authentication Schemes<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Tue, Jul 3, 2012 at 5:18 AM, Jan Engelhardt &lt;<=
a href=3D"mailto:jengelh@inai.de" target=3D"_blank">jengelh@inai.de</a>&gt;=
 wrote:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><br>
On Tuesday 2012-07-03 04:12, Mark Nottingham wrote:<br>
<br>
&gt;Please submit feedback to this from your implementation or<br>
&gt;deployment ASAP; without this information, I'll be forced to rely on<br=
>
&gt;my own impressions more heavily when judging consensus (which means<br>
&gt;less grounds for complaining if it doesn't go your way).<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Mark-<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A number of us are in the process of organizing for =
this.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">4th of July week over here has added delay to this b=
ecause many people are taking the week off.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-=3DR<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&gt;<br>
&gt;Note that one of the options on the table for the protocol, by<br>
&gt;default, is to do nothing -- i.e., continue to develop HTTP/1.1<br>
&gt;pipelining to address performance concerns (which quite a few<br>
&gt;implementations have been doing recently).<br>
&gt;<br>
&gt;Likewise, no expressions of interest in implementing or using the<br>
&gt;proposed authentication schemes is hard to misinterpret.<o:p></o:p></p>
</div>
<p class=3D"MsoNormal">Rather than reinventing extra framing atop of TCP, t=
he use of SCTP for<br>
multiple concurrent HTTP streams should be considered. I wouldn't let<br>
&quot;SCTP is not deployed&quot; count as an argument. IPv6 was/is not depl=
oyed<br>
either (depending on who you ask). New protocols hardly ever are.<br>
<br>
<br>
<br>
Server pushes: One of the big strengths of HTTP has been that the user<br>
agent chooses which URLs to download data from. Other voices on the<br>
Internet point out that server-side pushes look like an attempt to<br>
counter adblockers; while adblockers will likely continue to do their<br>
job (after all, all data has some location), server side pushes can<br>
actually clog the pipe if they can send arbitrary documents anytime -<br>
and make it anything but spdy.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class=3D"MsoNormal"><br>
Let the client choose the modus operandi. Require that a HTTP/2.x server<br=
>
supports traditional pushless operation.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
<br>
&gt;&gt; The proposals we've received are listed here:<br>
&gt;&gt; &nbsp;<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki/H=
ttp2Proposals" target=3D"_blank">http://trac.tools.ietf.org/wg/httpbis/trac=
/wiki/Http2Proposals</a><br>
&gt;&gt; &nbsp;<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki/H=
ttpAuthProposals" target=3D"_blank">http://trac.tools.ietf.org/wg/httpbis/t=
rac/wiki/HttpAuthProposals</a><br>
&gt;&gt;<br>
&gt;&gt; Note that a few are not fully-formed proposals in their own right,=
<br>
&gt;&gt;and therefore they're not really appropriate to consider as startin=
g<br>
&gt;&gt;points for further work, but instead as input documents that can<br=
>
&gt;&gt;inform further discussion once we choose a starting point.<o:p></o:=
p></p>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2TK5EX14MBXW602w_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 13:56:19 2012
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 79F5821F87D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:56:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.358
X-Spam-Level: 
X-Spam-Status: No, score=-9.358 tagged_above=-999 required=5 tests=[AWL=1.241, BAYES_00=-2.599, 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 oBRCPwJKov38 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 13:56:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6301921F86E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 13:56:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmA8d-0005EX-TL for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 20:55:59 +0000
Resent-Date: Tue, 03 Jul 2012 20:55:59 +0000
Resent-Message-Id: <E1SmA8d-0005EX-TL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmA8X-0005Dm-5B for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 20:55:53 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmA8V-0008PQ-AY for ietf-http-wg@w3.org; Tue, 03 Jul 2012 20:55:52 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BA4EE22E253; Tue,  3 Jul 2012 16:55:28 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Date: Wed, 4 Jul 2012 06:55:25 +1000
Cc: Roberto Peon <grmocg@gmail.com>, Jan Engelhardt <jengelh@inai.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9E563200-C840-4F22-93B0-5BC2E8E0D45C@mnot.net>
References: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net> <42418565-04C5-499A-BC30-44BCDDFF0A07@mnot.net> <alpine.LNX.2.01.1207030438020.9375@frira.zrqbmnf.qr> <CAP+FsNdg9-wXvv57OAvAOVM+WUGg76sD2t=nRBid_Mq-1yGGUw@mail.gmail.com> <CA566BAEAD6B3F4E8B5C5C4F61710C1148063BA2@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmA8V-0008PQ-AY 1aef0d3d3a22e6983277bc3a37311944
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Expressions of Interest in Proposals for HTTP/2.0 and New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/9E563200-C840-4F22-93B0-5BC2E8E0D45C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13999
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>

Yup.

On 04/07/2012, at 6:52 AM, Gabriel Montenegro wrote:

> The EoI wiki at =
http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI says that the =
deadline is =93no later than 15 July 2012=94, so there still are a few =
days, right?
>                                                                        =
                                                                         =
                                                                         =
                  =20
> From: Roberto Peon [mailto:grmocg@gmail.com]=20
> Sent: Tuesday, 3 July, 2012 12:14
> To: Jan Engelhardt
> Cc: Mark Nottingham; HTTP Working Group
> Subject: Re: Call for Expressions of Interest in Proposals for =
HTTP/2.0 and New HTTP Authentication Schemes
> =20
> =20
>=20
> On Tue, Jul 3, 2012 at 5:18 AM, Jan Engelhardt <jengelh@inai.de> =
wrote:
>=20
> On Tuesday 2012-07-03 04:12, Mark Nottingham wrote:
>=20
> >Please submit feedback to this from your implementation or
> >deployment ASAP; without this information, I'll be forced to rely on
> >my own impressions more heavily when judging consensus (which means
> >less grounds for complaining if it doesn't go your way).
> =20
> =20
> Mark-
> A number of us are in the process of organizing for this.
> 4th of July week over here has added delay to this because many people =
are taking the week off.=20
> =20
> -=3DR
> =20
> >
> >Note that one of the options on the table for the protocol, by
> >default, is to do nothing -- i.e., continue to develop HTTP/1.1
> >pipelining to address performance concerns (which quite a few
> >implementations have been doing recently).
> >
> >Likewise, no expressions of interest in implementing or using the
> >proposed authentication schemes is hard to misinterpret.
>=20
> Rather than reinventing extra framing atop of TCP, the use of SCTP for
> multiple concurrent HTTP streams should be considered. I wouldn't let
> "SCTP is not deployed" count as an argument. IPv6 was/is not deployed
> either (depending on who you ask). New protocols hardly ever are.
>=20
>=20
>=20
> Server pushes: One of the big strengths of HTTP has been that the user
> agent chooses which URLs to download data from. Other voices on the
> Internet point out that server-side pushes look like an attempt to
> counter adblockers; while adblockers will likely continue to do their
> job (after all, all data has some location), server side pushes can
> actually clog the pipe if they can send arbitrary documents anytime -
> and make it anything but spdy.
>=20
> Let the client choose the modus operandi. Require that a HTTP/2.x =
server
> supports traditional pushless operation.
>=20
>=20
> >> The proposals we've received are listed here:
> >>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals
> >>  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals
> >>
> >> Note that a few are not fully-formed proposals in their own right,
> >>and therefore they're not really appropriate to consider as starting
> >>points for further work, but instead as input documents that can
> >>inform further discussion once we choose a starting point.
>=20
> =20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 14:02:20 2012
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 9EB5A11E80BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 14:02:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.98
X-Spam-Level: 
X-Spam-Status: No, score=-6.98 tagged_above=-999 required=5 tests=[AWL=0.700, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FORGED_YAHOO_RCVD=2.297, 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 tf3FTc-0pE11 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 14:02:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A61CA21F87D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 14:02:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmAEI-0000fG-AQ for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 21:01:50 +0000
Resent-Date: Tue, 03 Jul 2012 21:01:50 +0000
Resent-Message-Id: <E1SmAEI-0000fG-AQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1SmAEB-0000dh-PR for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 21:01:43 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mca@amundsen.com>) id 1SmAE6-0000Ag-Ar for ietf-http-wg@w3.org; Tue, 03 Jul 2012 21:01:43 +0000
Received: by vcbgb30 with SMTP id gb30so4993122vcb.2 for <ietf-http-wg@w3.org>; Tue, 03 Jul 2012 14:01:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=1hxGlJi+SIi9re0VwXPpnyQijivcpAUXrhHSkCuTb5I=; b=U3OUbri7qX15hK0qU63erkInYUfpQjLJscrhnlSIMXJhowfK1HmILEyr1+r23RA+eM 9Y/TZPk5g/GTxx7/78mkAHK/LKrbfwAO6fPrPm0ZELBWzWckjmIxg/v1wtXARrxjXg6y 8n1KlqUDPOPqP8/zoKHOlMDZRO1gKdyPFRc5ngA/i0eyzYDarFcVQmXV4nH0cGe5uxSs oLkC4W1iHBqu1n5KU3INP6L+KGOYviUaaAqMrh6wMYjy3F50eoAGj82MktDABvDOf0wj rdnn0sEXmNC69f39w4rvV9donm69slz4F6vJ257JW5C72oRgkXacpXSXN103mzz22riu B3AQ==
MIME-Version: 1.0
Received: by 10.52.174.52 with SMTP id bp20mr7473459vdc.29.1341349272963; Tue, 03 Jul 2012 14:01:12 -0700 (PDT)
Sender: mca@amundsen.com
Received: by 10.52.188.230 with HTTP; Tue, 3 Jul 2012 14:01:12 -0700 (PDT)
In-Reply-To: <4FF35635.2040400@gmx.de>
References: <059.66168aef31522299966915cfd3debb62@trac.tools.ietf.org> <12A52956-8EA5-4FF2-9605-2A257C306A5F@mnot.net> <2A3B94BD-B4F7-49B6-90DF-5396F338B19A@mnot.net> <CAPW_8m7D65zeiM4OD1W8y3J2gCqHzZ9vj3R4h2LZVwtJLRpuCA@mail.gmail.com> <701EDD8E-9B75-474B-95BB-BECF1D180C28@mnot.net> <CAPW_8m6Ry1pw5xE55XqUU8EzKED0KKSMqM-=96DoLuzudoXnvg@mail.gmail.com> <6A49C006-E8A7-46C4-8509-DD7DDC99D074@mnot.net> <CAPW_8m5Uo5rtf5nwJhqebgYVdrtqfVs9eOHqvasx9WCumt_vCA@mail.gmail.com> <4FF35635.2040400@gmx.de>
Date: Tue, 3 Jul 2012 17:01:12 -0400
X-Google-Sender-Auth: yp0BsA8D6x3uDqBxyo-VQOMOk1o
Message-ID: <CAPW_8m4-D6yQV6+GiA34KF3xDhgyutwbq5Y-sWOEnnfFVSLqfQ@mail.gmail.com>
From: mike amundsen <mamund@yahoo.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQm78xSyExJaWzgncBLVVXUNJKaoGfSuIZpVj42uuq1eRahR1oP8iZqT1Z77FPJjxvSgkkG5
Received-SPF: none client-ip=209.85.220.171; envelope-from=mca@amundsen.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SmAE6-0000Ag-Ar 990ec29e6c81118a352ea17c02d31815
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpbis] #364: Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/CAPW_8m4-D6yQV6+GiA34KF3xDhgyutwbq5Y-sWOEnnfFVSLqfQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14000
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>

Julian:

Thanks for the clarification.

I submit that the following be identified as "MUST appear" in the
method registry
- Method Name
- Safe (yes/no)
- Idempotent (yes/no)
- Link to documentation

All the above items are all "binary" and require no elaboration.

Body details and cache-ability should be identified as MUST items in
the documentation that defines the method, and need not be included in
the registry.

In the "Initial...." RFC, the Idempotent column MAY appear
blank/Uknown if it is decided determining this value for the items in
the list is too time consuming or will hold up timely completion of
the document. We can amend later, if desired.

mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me



On Tue, Jul 3, 2012 at 4:29 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-07-03 22:23, mike amundsen wrote:
>>>
>>> For example, it would be at best inefficient to try to reflect the
>>> semantics of the body in the registry.
>>
>>
>> Agreed.
>>
>> What I am asking here is on two fronts:
>> 1 - does the _table_ in the proposed RFC ("Initial ... Method
>> Registrations") reflect the proposed _registry_ template?
>
>
> Yes.
>
>
>> 2 - are any of the items mentioned in 2.2.1 (besides Safety) expected
>> to appear in the registry template?
>
>
>
> So far, no. That's why we are having this discussion now.
>
>
>> I want to make sure I am not conflating things (RFC & upcoming
>> registry). Unless, of course, the point of both the RFC and the bis is
>> to do just that; establish a symmetry between the registry and the
>> RFC/bis.
>
>
> The point of the registrations draft is to fill the template for those
> methods not defined by HTTPbis.
>
> Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 16:12:31 2012
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 8877011E80EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 16:12:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.696
X-Spam-Level: 
X-Spam-Status: No, score=-9.696 tagged_above=-999 required=5 tests=[AWL=0.903, BAYES_00=-2.599, 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 KbN7DbSDt3gu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 16:12:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 09F9411E80D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 16:12:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmCFR-0001Xt-Oj for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 23:11:09 +0000
Resent-Date: Tue, 03 Jul 2012 23:11:09 +0000
Resent-Message-Id: <E1SmCFR-0001Xt-Oj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmCFK-0001Wt-Rc for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 23:11:02 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmCFJ-0007LW-3R for ietf-http-wg@w3.org; Tue, 03 Jul 2012 23:11:02 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id C004E10E693; Wed,  4 Jul 2012 11:10:36 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 04 Jul 2012 11:10:36 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4FF29F26.1060802@gmx.de>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de>
Message-ID: <c72916331395d92fb9e2291730bb094e@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmCFJ-0007LW-3R f2401f0f1b9511f8fe412a0031b36bf0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/c72916331395d92fb9e2291730bb094e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14001
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 03.07.2012 19:28, Julian Reschke wrote:
> On 2012-07-03 04:24, mike amundsen wrote:
>> +1 on listing idempotent. this is _critical_ in assessing the 
>> use/impact
>> of a method. I'm not clear why it's left off the listing.
>> ...
>
> Anything in the registry beyond the pointer to the defining
> specification is just a shortcut; just because it's not in the
> registry doesn't mean it's not there.
>
> Adding new fields is possible, but we need find a balance; also, it
> requires deciding on the value for all methods in the list, which 
> also
> doesn't come at zero cost :-)
>
> Best regards, Julian


FYI: I made that comment at the point of writing a parser to handle 
methods.

Having just read may way through 2 WebDAV and 2 HTTP RFC and re-read 
the HTTPbis drafts, your post came as a bit of a non-surprise to find 
there were more RFCs which I now have to read just to find out if the 
methods listed are idempotent and/or cacheable.

Having a quick reference safe=yes/no, idempotent=yes/no would greatly 
assist writing parser that treated these methods as safe or idempotent 
without having to read/support every RFC on the block.

An indication of cacheability would also be great, yes/no/conditional 
kind of thing. Something to indicate if we proxy authors actually have 
to read the RFCs in question for correct interoperable behaviour when 
handling the method. Otherwise the method is going to get left on the 
"other" pile and not be supported fro a longer time. Which is a shame 
for new cacheable method responses.


Just the core considerations requested for new methods. Since those are 
the details we have already as a WG identified as important/critical for 
HTTP software implementing the method to be aware of.

AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 16:41:58 2012
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 5B8CA11E80D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 16:41:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.599
X-Spam-Level: 
X-Spam-Status: No, score=-7.599 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, 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 flMcEOjwm+Zt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 16:41:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 89CF911E8083 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 16:41:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmCiF-0006Nz-Ru for ietf-http-wg-dist@listhub.w3.org; Tue, 03 Jul 2012 23:40:55 +0000
Resent-Date: Tue, 03 Jul 2012 23:40:55 +0000
Resent-Message-Id: <E1SmCiF-0006Nz-Ru@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmCi9-0006ND-Av for ietf-http-wg@listhub.w3.org; Tue, 03 Jul 2012 23:40:49 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmCi7-00063O-PH for ietf-http-wg@w3.org; Tue, 03 Jul 2012 23:40:48 +0000
Received: from [10.5.66.214] (unknown [72.32.115.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6B1A222E253; Tue,  3 Jul 2012 19:40:25 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <c72916331395d92fb9e2291730bb094e@treenet.co.nz>
Date: Wed, 4 Jul 2012 09:40:21 +1000
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <11AFA60F-691E-4E04-BA1D-61E49FEE5346@mnot.net>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <c72916331395d92fb9e2291730bb094e@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmCi7-00063O-PH bdea291d16ea9244b29d36aab7d33246
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/11AFA60F-691E-4E04-BA1D-61E49FEE5346@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14002
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>

Amos, I'd say that the caching semantics of any non-GET method are going =
to be subtle enough where you'll really need to read the spec. =
Furthermore, I'd be surprised if any more cacheable methods are defined =
(the WebDAV people seem to have settled down).

While it's true that the registry might give you a cheap discovery =
mechanism for finding new cacheable methods, I'd think a better =
indication would be user demand...

Cheers,


On 04/07/2012, at 9:10 AM, Amos Jeffries wrote:

> On 03.07.2012 19:28, Julian Reschke wrote:
>> On 2012-07-03 04:24, mike amundsen wrote:
>>> +1 on listing idempotent. this is _critical_ in assessing the =
use/impact
>>> of a method. I'm not clear why it's left off the listing.
>>> ...
>>=20
>> Anything in the registry beyond the pointer to the defining
>> specification is just a shortcut; just because it's not in the
>> registry doesn't mean it's not there.
>>=20
>> Adding new fields is possible, but we need find a balance; also, it
>> requires deciding on the value for all methods in the list, which =
also
>> doesn't come at zero cost :-)
>>=20
>> Best regards, Julian
>=20
>=20
> FYI: I made that comment at the point of writing a parser to handle =
methods.
>=20
> Having just read may way through 2 WebDAV and 2 HTTP RFC and re-read =
the HTTPbis drafts, your post came as a bit of a non-surprise to find =
there were more RFCs which I now have to read just to find out if the =
methods listed are idempotent and/or cacheable.
>=20
> Having a quick reference safe=3Dyes/no, idempotent=3Dyes/no would =
greatly assist writing parser that treated these methods as safe or =
idempotent without having to read/support every RFC on the block.
>=20
> An indication of cacheability would also be great, yes/no/conditional =
kind of thing. Something to indicate if we proxy authors actually have =
to read the RFCs in question for correct interoperable behaviour when =
handling the method. Otherwise the method is going to get left on the =
"other" pile and not be supported fro a longer time. Which is a shame =
for new cacheable method responses.
>=20
>=20
> Just the core considerations requested for new methods. Since those =
are the details we have already as a WG identified as important/critical =
for HTTP software implementing the method to be aware of.
>=20
> AYJ
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul  3 19:26:16 2012
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 874F611E80E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 19:26:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.315
X-Spam-Level: 
X-Spam-Status: No, score=-9.315 tagged_above=-999 required=5 tests=[AWL=1.284, BAYES_00=-2.599, 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 6M-RY9NrHNEx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  3 Jul 2012 19:26:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D501F11E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  3 Jul 2012 19:26:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmFGt-0006bW-6V for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 02:24:51 +0000
Resent-Date: Wed, 04 Jul 2012 02:24:51 +0000
Resent-Message-Id: <E1SmFGt-0006bW-6V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmFGm-0006aC-54 for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 02:24:44 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmFGj-0004gX-9C for ietf-http-wg@w3.org; Wed, 04 Jul 2012 02:24:43 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7F1A822E253 for <ietf-http-wg@w3.org>; Tue,  3 Jul 2012 22:24:19 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Wed, 4 Jul 2012 12:24:16 +1000
Message-Id: <77290A64-CEDC-44B2-BB49-5582EC46F359@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmFGj-0004gX-9C e7267e01a6c31d58ff7b98af242f115a
X-Original-To: ietf-http-wg@w3.org
Subject: Straw-man agenda for Vancouver sessions
Archived-At: <http://www.w3.org/mid/77290A64-CEDC-44B2-BB49-5582EC46F359@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14003
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>

... is up at:
  =
http://trac.tools.ietf.org/wg/httpbis/trac/browser/wg_materials/ietf84/age=
nda.txt

Suggestions welcome.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 00:18:57 2012
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 1825C21F86C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:18:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.115
X-Spam-Level: 
X-Spam-Status: No, score=-8.115 tagged_above=-999 required=5 tests=[AWL=2.484, BAYES_00=-2.599, 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 eOxafFD3-qtB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:18:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5575E21F8595 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 00:18:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmJqJ-0006Ay-GI for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 07:17:43 +0000
Resent-Date: Wed, 04 Jul 2012 07:17:43 +0000
Resent-Message-Id: <E1SmJqJ-0006Ay-GI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmJqC-0006A8-Lu for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 07:17:36 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmJqA-0006Sz-H3 for ietf-http-wg@w3.org; Wed, 04 Jul 2012 07:17:36 +0000
Received: from [192.168.1.105] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 1857F10E693 for <ietf-http-wg@w3.org>; Wed,  4 Jul 2012 19:17:09 +1200 (NZST)
Message-ID: <4FF3EDEE.4030409@treenet.co.nz>
Date: Wed, 04 Jul 2012 19:17:02 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net>
In-Reply-To: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmJqA-0006Sz-H3 135413b5ee0dfde2767fbe63707c3805
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/4FF3EDEE.4030409@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14004
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 3/07/2012 2:00 p.m., Mark Nottingham wrote:
> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.methods> currently has:
>
>> When it is necessary to express new semantics for a HTTP request that aren't specific to a single application or media type, and currently defined methods are inadequate, it might be appropriate to register a new method.
>>
>> HTTP methods are generic; that is, they are potentially applicable to any resource, not just one particular media type, "type" of resource, or application. As such, it is preferred that new HTTP methods be registered in a document that isn't specific to a single application, so that this is clear.
>>
>> Due to the parsing rules defined in Section 3.3 of [Part1], definitions of HTTP methods cannot prohibit the presence of a message body on either the request or the response message (with responses to HEAD requests being the single exception). Definitions of new methods cannot change this rule, but they can specify that only zero-length bodies (as opposed to absent bodies) are allowed.
>>
>> New method definitions need to indicate whether they are safe (Section 2.1.1), what semantics (if any) the request body has, and whether they are idempotent (Section 2.1.2). They also need to state whether they can be cached ([Part6]); in particular what conditions a cache may store the response, and under what conditions such a stored response may be used to satisfy a subsequent request.
> Based on discussion, I suggest it be replaced with:
>
> """
> When it is necessary to express new semantics for a HTTP request that aren't specific to a single application or media type, and currently defined methods are inadequate, it might be appropriate to register a new method.
>
> HTTP methods are generic; that is, they are potentially applicable to any resource, not just one particular media type, "type" of resource, or application. As such, it is preferred that new HTTP methods be registered in a document that isn't specific to a single application, so that this is clear.
>
> Due to the parsing rules defined in Section 3.3 of [Part1], definitions of HTTP methods cannot prohibit the presence of a message body on either the request or the response message (with responses to HEAD requests being the single exception). Definitions of new methods cannot change this rule, but they can specify that only zero-length bodies (as opposed to absent bodies) are allowed.
>
> Definitions of new methods need to indicate:
>
> * whether they are safe (Section 2.1.1),
> * whether they are idempotent (Section 2.1.2),
> * what semantics (if any) the request body has,
> * whether proxies, origin servers (including gateways), intermediaries (proxy or gateway) or all servers can generate this status code,

Clarity: "this status code"? this list context is about methods so far.

> * whether they can be cached ([Part6]); in particular what conditions a cache may store the response, and under what conditions such a stored response may be used to satisfy a subsequent request.

Clarity: is "they" talking about the method? request entity? or response 
entity?

> """
>

AYJ


From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 00:21:12 2012
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 5B46511E812F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:21:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.943
X-Spam-Level: 
X-Spam-Status: No, score=-8.943 tagged_above=-999 required=5 tests=[AWL=1.656, BAYES_00=-2.599, 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 sO-+guy5VKtC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:21:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD06F11E8129 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 00:21:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmJt3-0007h9-Qt for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 07:20:33 +0000
Resent-Date: Wed, 04 Jul 2012 07:20:33 +0000
Resent-Message-Id: <E1SmJt3-0007h9-Qt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmJsw-0007gO-Bs for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 07:20:26 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmJsv-0007P7-8S for ietf-http-wg@w3.org; Wed, 04 Jul 2012 07:20:25 +0000
Received: from [192.168.1.105] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 1D59310E693 for <ietf-http-wg@w3.org>; Wed,  4 Jul 2012 19:20:03 +1200 (NZST)
Message-ID: <4FF3EE9C.6080402@treenet.co.nz>
Date: Wed, 04 Jul 2012 19:19:56 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net> <4FF2FA7D.5030100@velocix.com>
In-Reply-To: <4FF2FA7D.5030100@velocix.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmJsv-0007P7-8S 595dd55c7429749ed02fc7699e8610b0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/4FF3EE9C.6080402@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14005
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 4/07/2012 1:58 a.m., John Sullivan wrote:
> Mark Nottingham wrote:
>> Note that the new consideration -- identifying who can generate the status code -- implies (as Julian pointed out) that we should eat our own dogfood and define it for ours.
>>
>> Looking through p2, this was actually easier than I thought it might be; most of the status codes already are pretty specific (using phrases like "the resource indicates...", which can logically be read to make it specific to origins). The only issues of interpretation I found are marked by "!" below.
>>
>> O - Origin server (including gateways)
>> I - Intermediaries (proxy or gateway)
>> P - Proxies (not gateways)
>> S - All servers
>>
>>   Successful 2xx
>> O   200 OK
> Does an intermediate selected through use of Max-Forwards count
> as an origin for this purpose when fielding TRACE or OPTIONS?

Also, caching intermediaries serving from cache?


>
>>   Client Error 4xx
>> O!  403 Forbidden
> Definitely S - see the previous discussion around 451 where it was
> widely accepted that 403 was a legitimate response from an intermediate
> that was unwilling for undisclosed reasons to proxy at all for a given
> URI/client.

+1.

>
>>   Server Error 5xx
>> S   500 Internal Server Error
>> O!   501 Not Implemented
> Again, if an intermediate is refusing to handle TRACE/OPTIONS
> targeted at it, this would seem the appropriate response.

+1.

AYJ


From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 00:22:45 2012
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 4133E21F85AC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:22:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.357
X-Spam-Level: 
X-Spam-Status: No, score=-9.357 tagged_above=-999 required=5 tests=[AWL=1.242, BAYES_00=-2.599, 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 sPdLY79apFLE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:22:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6EF7921F8437 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 00:22:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmJus-00085J-0y for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 07:22:26 +0000
Resent-Date: Wed, 04 Jul 2012 07:22:26 +0000
Resent-Message-Id: <E1SmJus-00085J-0y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmJul-00084c-Bp for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 07:22:19 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmJuk-0006cV-3X for ietf-http-wg@w3.org; Wed, 04 Jul 2012 07:22:19 +0000
Received: from [192.168.1.105] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id B697910E693 for <ietf-http-wg@w3.org>; Wed,  4 Jul 2012 19:21:56 +1200 (NZST)
Message-ID: <4FF3EF0E.2020704@treenet.co.nz>
Date: Wed, 04 Jul 2012 19:21:50 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net> <4FF2FA7D.5030100@velocix.com> <C2F41746-0EB7-48EE-9C45-FF69E5E64476@mnot.net>
In-Reply-To: <C2F41746-0EB7-48EE-9C45-FF69E5E64476@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmJuk-0006cV-3X a0c7e2055cb58f75367d2d84b2acc016
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/4FF3EF0E.2020704@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14006
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 4/07/2012 7:26 a.m., Mark Nottingham wrote:
> On 03/07/2012, at 11:58 PM, John Sullivan wrote:
>
>> Mark Nottingham wrote:
>>> Note that the new consideration -- identifying who can generate the status code -- implies (as Julian pointed out) that we should eat our own dogfood and define it for ours.
>>>
>>> Looking through p2, this was actually easier than I thought it might be; most of the status codes already are pretty specific (using phrases like "the resource indicates...", which can logically be read to make it specific to origins). The only issues of interpretation I found are marked by "!" below.
>>>
>>> O - Origin server (including gateways)
>>> I - Intermediaries (proxy or gateway)
>>> P - Proxies (not gateways)
>>> S - All servers
>>>
>>> Successful 2xx
>>> O   200 OK
>> Does an intermediate selected through use of Max-Forwards count
>> as an origin for this purpose when fielding TRACE or OPTIONS?
> Good point. This will have to be special-cased in the text.

Another one: CONNECT response from a proxy? you put 101 as "S".

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 00:28:57 2012
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 2058221F8745 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:28:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.605
X-Spam-Level: 
X-Spam-Status: No, score=-9.605 tagged_above=-999 required=5 tests=[AWL=0.994, BAYES_00=-2.599, 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 Z9WOeW0XDLcP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 00:28:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6468B21F872D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 00:28:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmK0i-0001kW-Q8 for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 07:28:28 +0000
Resent-Date: Wed, 04 Jul 2012 07:28:28 +0000
Resent-Message-Id: <E1SmK0i-0001kW-Q8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmK0c-0001jl-JJ for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 07:28:22 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmK0X-0007in-W8 for ietf-http-wg@w3.org; Wed, 04 Jul 2012 07:28:22 +0000
Received: from [192.168.1.105] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id BBA1710E693 for <ietf-http-wg@w3.org>; Wed,  4 Jul 2012 19:27:56 +1200 (NZST)
Message-ID: <4FF3F076.8080304@treenet.co.nz>
Date: Wed, 04 Jul 2012 19:27:50 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <4FF2A785.906@gmx.de> <20120703180000.GA17454@1wt.eu>
In-Reply-To: <20120703180000.GA17454@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmK0X-0007in-W8 d89ea0e6257ad3d10b94778abf095852
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #359 clarify connection header field values are case-insensitive
Archived-At: <http://www.w3.org/mid/4FF3F076.8080304@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14007
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 4/07/2012 6:00 a.m., Willy Tarreau wrote:
> Hi Julian,
>
> On Tue, Jul 03, 2012 at 10:04:21AM +0200, Julian Reschke wrote:
>> (Origin:
>> <http://stackoverflow.com/questions/10953635/are-the-http-connection-header-values-case-sensitive>)
>>
>> This ought to be non-controversial; I'd propose to simply state
>>
>> "Connection options are compared case-insensitively."
> Indeed, if people still have issues with this (and I used to years ago), better
> clarify it.
>
> Willy
>
>

+1.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 07:19:15 2012
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 BE10721F8820 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 07:19:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.791
X-Spam-Level: 
X-Spam-Status: No, score=-8.791 tagged_above=-999 required=5 tests=[AWL=1.808, BAYES_00=-2.599, 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 Yj9Azg5lFXLJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 07:19:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 190FF21F8821 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 07:19:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmQOn-0005eX-Sc for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 14:17:45 +0000
Resent-Date: Wed, 04 Jul 2012 14:17:45 +0000
Resent-Message-Id: <E1SmQOn-0005eX-Sc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmQOh-0005dl-3c for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 14:17:39 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmQOf-00061i-NR for ietf-http-wg@w3.org; Wed, 04 Jul 2012 14:17:38 +0000
Received: (qmail invoked by alias); 04 Jul 2012 14:17:11 -0000
Received: from p54BB2CAC.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.44.172] by mail.gmx.net (mp036) with SMTP; 04 Jul 2012 16:17:11 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18XdPoisqQXXIK0vCZmA9dNULdxitgoklVq9qCmFq bmzCOWqokmDFmn
Message-ID: <4FF45060.3070100@gmx.de>
Date: Wed, 04 Jul 2012 16:17:04 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>,  Amos Jeffries <squid3@treenet.co.nz>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz> <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net> <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net>
In-Reply-To: <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmQOf-00061i-NR 7e3994165fcf0cdbd44f6ef64d8d1e4c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FF45060.3070100@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14008
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 2012-07-03 04:38, Mark Nottingham wrote:
> I haven't heard any more discussion of this. As it is, we have a proposal to close this issue:
>
>> Add a note to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime>:
>>
>> """
>> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches SHOULD consider responses that have invalid freshness information to be stale.
>> """
>
> Feedback?
> ...

Sounds good to me. Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/353/353.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 09:31:48 2012
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 75ED321F877B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 09:31:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 OC1sYwkGLjtG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 09:31:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DC09421F8715 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 09:31:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmSTJ-0005zA-9X for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 16:30:33 +0000
Resent-Date: Wed, 04 Jul 2012 16:30:33 +0000
Resent-Message-Id: <E1SmSTJ-0005zA-9X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SmSTD-0005yP-3g for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 16:30:27 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SmSTC-0002VX-Gg for ietf-http-wg@w3.org; Wed, 04 Jul 2012 16:30:27 +0000
Received: by vcbgb30 with SMTP id gb30so5479913vcb.2 for <ietf-http-wg@w3.org>; Wed, 04 Jul 2012 09:30:00 -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=iCIFx5XYWMSM0bUo+sTY+nYDmYz45WvmjqCe0TzA9Lw=; b=TBGfhr0cKYoGOOQrjzPx5mi7okt5aQ9GTUhkx97lZxM9SUtr4JiHsiMl19JPJRPuAv KpqW3VJwlUULHuhAggvHFaf2+W/LkX5X9nhue9sCPl8c6LdUdfWKWMTS0oB4C/747ij9 zwKWmKJ5T3ewLrUj9EpBuHdxNiyedyY3addqmP065DeSPNP+T5ozrn7OhH8JkCHAoW8t SNoBNU8/QSwWM0tsPnNQ0A425VVDbH9YMZ7ftqsaelQs6MQVxo+jtkVC0iin/Zp8i47o iFHf/f0A879i1WqwAy9rlw3MMvnXO2C7Ng2Min2YYiG1JY5izckmrJcPAfGV5Zn/0L1x onXQ==
MIME-Version: 1.0
Received: by 10.52.94.172 with SMTP id dd12mr8822541vdb.62.1341419400552; Wed, 04 Jul 2012 09:30:00 -0700 (PDT)
Received: by 10.220.101.9 with HTTP; Wed, 4 Jul 2012 09:30:00 -0700 (PDT)
In-Reply-To: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net>
Date: Wed, 4 Jul 2012 11:30:00 -0500
Message-ID: <CACuKZqGOYV0zWHabmDbVWkECqRF+e98a3qZF8RJ7joYLkdQxYA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SmSTC-0002VX-Gg d0096b3418bdc7c93fc9b0c63553d3ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/CACuKZqGOYV0zWHabmDbVWkECqRF+e98a3qZF8RJ7joYLkdQxYA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14009
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 think there's a problem.

If both If-Non-Match and If-Mod-Since are given, and they are
evaluated to TRUE and FALSE respectively, the algorithm yields 304 Not
Modified.  The "Not Modified" response is totally wrong, since the
ETag has been updated.

For example, if the current representation has  ETag=v1.0,
Last-Mod=7/1, and the request has
    If-Non-Match: v1.1
    If-Mod-Since: 7/4
the server should respond 200 with the current representation, not a 304.

The solution seems to be that, if both headers are given, only
If-Non-Match should be looked at; the If-Mod-Since condition must be
ignored.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 16:31:09 2012
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 3B4BF21F858D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 16:31:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.277
X-Spam-Level: 
X-Spam-Status: No, score=-9.277 tagged_above=-999 required=5 tests=[AWL=1.322, BAYES_00=-2.599, 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 zvYJzVQqr83H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 16:31:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 83F6121F8587 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 16:31:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmZ0Y-0003W3-9e for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 23:29:18 +0000
Resent-Date: Wed, 04 Jul 2012 23:29:18 +0000
Resent-Message-Id: <E1SmZ0Y-0003W3-9e@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmZ0Q-0003Uw-GS for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 23:29:10 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmZ0O-0005bx-Pq for ietf-http-wg@w3.org; Wed, 04 Jul 2012 23:29:10 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E714222E259; Wed,  4 Jul 2012 19:28:45 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FF45060.3070100@gmx.de>
Date: Thu, 5 Jul 2012 09:28:42 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Amos Jeffries <squid3@treenet.co.nz>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz> <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net> <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net> <4FF45060.3070100@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmZ0O-0005bx-Pq 1e4dc4a03a40bc6034d7ae7444f19144
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14010
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 05/07/2012, at 12:17 AM, Julian Reschke wrote:

> On 2012-07-03 04:38, Mark Nottingham wrote:
>> I haven't heard any more discussion of this. As it is, we have a =
proposal to close this issue:
>>=20
>>> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>>>=20
>>> """
>>> When there is more than one value present for a given directive =
(e.g., two Expires headers, multiple Cache-Control: max-age directives), =
it is considered invalid. Caches SHOULD consider responses that have =
invalid freshness information to be stale.
>>> """
>>=20
>> Feedback?
>> ...
>=20
> Sounds good to me. Proposed patch: =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/353/353.diff=
>


Thinking about this a bit more, I'm somewhat uncomfortable about making =
it a requirement, especially considering the discussion that followed. =
Given that, how about:

"""
When there is more than one value present for a given directive (e.g., =
two Expires headers, multiple Cache-Control: max-age directives), it is =
considered invalid. Caches are encouraged to consider responses that =
have invalid freshness information to be stale.
"""


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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 16:39:01 2012
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 C863311E8091 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 16:39:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.289
X-Spam-Level: 
X-Spam-Status: No, score=-9.289 tagged_above=-999 required=5 tests=[AWL=1.310, BAYES_00=-2.599, 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 1VLXwt8pGraN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 16:39:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6767811E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 16:38:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmZ9C-0000Ey-Mo for ietf-http-wg-dist@listhub.w3.org; Wed, 04 Jul 2012 23:38:14 +0000
Resent-Date: Wed, 04 Jul 2012 23:38:14 +0000
Resent-Message-Id: <E1SmZ9C-0000Ey-Mo@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmZ96-0000C0-DH for ietf-http-wg@listhub.w3.org; Wed, 04 Jul 2012 23:38:08 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmZ95-00069R-1f for ietf-http-wg@w3.org; Wed, 04 Jul 2012 23:38:07 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 5885D22E259; Wed,  4 Jul 2012 19:37:45 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CACuKZqGOYV0zWHabmDbVWkECqRF+e98a3qZF8RJ7joYLkdQxYA@mail.gmail.com>
Date: Thu, 5 Jul 2012 09:37:42 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A57DA9CB-2A8D-48F5-B748-FB8A8BAA753E@mnot.net>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net> <CACuKZqGOYV0zWHabmDbVWkECqRF+e98a3qZF8RJ7joYLkdQxYA@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmZ95-00069R-1f 2a16674b237b08900ffe637a9ff87542
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/A57DA9CB-2A8D-48F5-B748-FB8A8BAA753E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14011
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>

Indeed, and testing my local install of Apache, it seems that it makes =
this exception too.

Thanks,


On 05/07/2012, at 2:30 AM, Zhong Yu wrote:

> I think there's a problem.
>=20
> If both If-Non-Match and If-Mod-Since are given, and they are
> evaluated to TRUE and FALSE respectively, the algorithm yields 304 Not
> Modified.  The "Not Modified" response is totally wrong, since the
> ETag has been updated.
>=20
> For example, if the current representation has  ETag=3Dv1.0,
> Last-Mod=3D7/1, and the request has
>    If-Non-Match: v1.1
>    If-Mod-Since: 7/4
> the server should respond 200 with the current representation, not a =
304.
>=20
> The solution seems to be that, if both headers are given, only
> If-Non-Match should be looked at; the If-Mod-Since condition must be
> ignored.
>=20
> Zhong Yu
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 17:49:44 2012
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 2062521F8534 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 17:49:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.301
X-Spam-Level: 
X-Spam-Status: No, score=-9.301 tagged_above=-999 required=5 tests=[AWL=1.298, BAYES_00=-2.599, 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 sftwPbssIQy1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 17:49:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1A6C821F8513 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 17:49:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmaFM-0008WF-I6 for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 00:48:40 +0000
Resent-Date: Thu, 05 Jul 2012 00:48:40 +0000
Resent-Message-Id: <E1SmaFM-0008WF-I6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmaFG-0008VA-Cj for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 00:48:34 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmaFF-0003Ed-4A for ietf-http-wg@w3.org; Thu, 05 Jul 2012 00:48:34 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4B56922E1F4; Wed,  4 Jul 2012 20:48:09 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FF29F26.1060802@gmx.de>
Date: Thu, 5 Jul 2012 10:48:07 +1000
Cc: mike amundsen <mamund@yahoo.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmaFF-0003Ed-4A 60c0423dd96ce2f492dd29a091d2f41b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14012
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>

So, I'm hearing a lot of agreement on adding idempotency to the =
registry.

Anyone object to that as closing this issue?

Cheers,


On 03/07/2012, at 5:28 PM, Julian Reschke wrote:

> On 2012-07-03 04:24, mike amundsen wrote:
>> +1 on listing idempotent. this is _critical_ in assessing the =
use/impact
>> of a method. I'm not clear why it's left off the listing.
>> ...
>=20
> Anything in the registry beyond the pointer to the defining =
specification is just a shortcut; just because it's not in the registry =
doesn't mean it's not there.
>=20
> Adding new fields is possible, but we need find a balance; also, it =
requires deciding on the value for all methods in the list, which also =
doesn't come at zero cost :-)
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 19:38:30 2012
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 6C77611E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 19:38:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.242
X-Spam-Level: 
X-Spam-Status: No, score=-9.242 tagged_above=-999 required=5 tests=[AWL=1.357, BAYES_00=-2.599, 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 yA4ekn8mQ3XA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 19:38:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D433711E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 19:38:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmbwH-0000bc-J9 for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 02:37:05 +0000
Resent-Date: Thu, 05 Jul 2012 02:37:05 +0000
Resent-Message-Id: <E1SmbwH-0000bc-J9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmbwA-0000aM-NS for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 02:36:58 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Smbw9-0005CD-C7 for ietf-http-wg@w3.org; Thu, 05 Jul 2012 02:36:58 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 989D622E253; Wed,  4 Jul 2012 22:36:34 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net>
Date: Thu, 5 Jul 2012 12:36:31 +1000
Cc: mike amundsen <mamund@yahoo.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net>
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Smbw9-0005CD-C7 8f85c0fa837a31419f77990c5cda1faa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14013
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>

Marked for incorporation in -20.


On 05/07/2012, at 10:48 AM, Mark Nottingham wrote:

> So, I'm hearing a lot of agreement on adding idempotency to the =
registry.
>=20
> Anyone object to that as closing this issue?
>=20
> Cheers,
>=20
>=20
> On 03/07/2012, at 5:28 PM, Julian Reschke wrote:
>=20
>> On 2012-07-03 04:24, mike amundsen wrote:
>>> +1 on listing idempotent. this is _critical_ in assessing the =
use/impact
>>> of a method. I'm not clear why it's left off the listing.
>>> ...
>>=20
>> Anything in the registry beyond the pointer to the defining =
specification is just a shortcut; just because it's not in the registry =
doesn't mean it's not there.
>>=20
>> Adding new fields is possible, but we need find a balance; also, it =
requires deciding on the value for all methods in the list, which also =
doesn't come at zero cost :-)
>>=20
>> Best regards, Julian
>>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 20:01:53 2012
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 8D79D11E809F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 20:01:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.254
X-Spam-Level: 
X-Spam-Status: No, score=-9.254 tagged_above=-999 required=5 tests=[AWL=1.345, BAYES_00=-2.599, 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 cInMECkQgTyR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 20:01:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B85F211E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 20:01:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmcJ4-0003nd-9S for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 03:00:38 +0000
Resent-Date: Thu, 05 Jul 2012 03:00:38 +0000
Resent-Message-Id: <E1SmcJ4-0003nd-9S@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmcIx-0003mm-Ma for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 03:00:31 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SmcIw-0007eG-0A for ietf-http-wg@w3.org; Thu, 05 Jul 2012 03:00:31 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E7A1222E253; Wed,  4 Jul 2012 23:00:06 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <3A818D3D-704E-44F6-B1BC-E1EA412835EE@mnot.net>
Date: Thu, 5 Jul 2012 13:00:03 +1000
Cc: Roy Fielding <fielding@gbiv.com>, "Julian F. Reschke" <julian.reschke@gmx.de>
Content-Transfer-Encoding: quoted-printable
Message-Id: <650E8D4B-7911-42EB-BECC-DAA6FB9E51AF@mnot.net>
References: <4F7F485F.4020106@oracle.com> <3A818D3D-704E-44F6-B1BC-E1EA412835EE@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmcIw-0007eG-0A ea8a0647c222e2031a2df7fe17d67db8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #350: WGLC Issue for p4: Optionality of Conditional Request Support
Archived-At: <http://www.w3.org/mid/650E8D4B-7911-42EB-BECC-DAA6FB9E51AF@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14014
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 25/06/2012, at 1:48 PM, Mark Nottingham wrote:
>>=20
>> 3.  Precondition Header Fields
>>=20
>> This section defines the syntax and semantics of HTTP/1.1 header
>> fields for applying preconditions on requests.  <new>If an origin =
server
>> supplies a Validator for a resources, the origin server MUST support =
the
>> corresponding conditionals.</new>
>=20
> That looks reasonable, but I think it'd be clearer if this were stated =
in the sections that define the validators. E.g., in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#entity.tag.generation>, add:
>=20
> """
> Origin servers that generate ETags for a resource MUST support the =
If-Match precondition [ref] on all subsequent unsafe requests to that =
resource, and SHOULD support it for subsequent safe requests.
> """
>=20
> ... and likewise for Last-Modified / If-Unmodified-Since. Thoughts?


A slight refinement.

"""
Origin servers that include ETags in responses for a resource MUST =
honour the If-Match precondition [ref] when sending a successful =
response to any subsequent unsafe requests, and ought to support it for =
subsequent safe requests.
"""

... and likewise for Last-Modified / If-Unmodified-Since.

The one thing this doesn't catch is:

If-None-Match: *

because a client can send that to indicate that it only wants to PUT =
something (for example) when there's nothing already there =
(theoretically, If-Match: * is like this too).

This is a bit awkward; without this caveat, we could make p4 a =
self-contained optional extension (since LM and ETags are both defined =
here too).

My inclination here is to document this requirement in PUTs definition, =
and advise new methods to document whether they require it too.

Thoughts?

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 23:43:49 2012
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 BF1E211E80A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 23:43:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.679
X-Spam-Level: 
X-Spam-Status: No, score=-8.679 tagged_above=-999 required=5 tests=[AWL=1.920, BAYES_00=-2.599, 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 oSrSGcpMZQt4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 23:43:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 253E311E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 23:43:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Smfla-0006oW-2t for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 06:42:18 +0000
Resent-Date: Thu, 05 Jul 2012 06:42:18 +0000
Resent-Message-Id: <E1Smfla-0006oW-2t@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmflS-0006no-OL for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 06:42:10 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmflR-0006Ge-DK for ietf-http-wg@w3.org; Thu, 05 Jul 2012 06:42:10 +0000
Received: (qmail invoked by alias); 05 Jul 2012 06:41:42 -0000
Received: from p54BB2CAC.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.44.172] by mail.gmx.net (mp036) with SMTP; 05 Jul 2012 08:41:42 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19yoaJ5vQ1yMSorEQX4kCQ4QzKDT4Khf+3oY6Ai97 zR3Do4emxz0tAp
Message-ID: <4FF53723.9000207@gmx.de>
Date: Thu, 05 Jul 2012 08:41:39 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: mike amundsen <mamund@yahoo.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net>
In-Reply-To: <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmflR-0006Ge-DK 329933a3ce9bb000e801310562edf4e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF53723.9000207@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14015
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 2012-07-05 02:48, Mark Nottingham wrote:
> So, I'm hearing a lot of agreement on adding idempotency to the registry.
>
> Anyone object to that as closing this issue?
>
> Cheers,

Works for me. Hopefully it won't be too much work to figure out all 
values for existing methods :-)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 23:46:27 2012
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 E460C21F8554 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 23:46:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.243
X-Spam-Level: 
X-Spam-Status: No, score=-9.243 tagged_above=-999 required=5 tests=[AWL=1.356, BAYES_00=-2.599, 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 ij5hMXrmGJgO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 23:46:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D8FD21F854E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 23:46: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 1SmfpG-0001kQ-0E for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 06:46:06 +0000
Resent-Date: Thu, 05 Jul 2012 06:46:06 +0000
Resent-Message-Id: <E1SmfpG-0001kQ-0E@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Smfp9-0001jj-5J for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 06:45:59 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Smfp0-000727-LE for ietf-http-wg@w3.org; Thu, 05 Jul 2012 06:45:54 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 54BB022E253; Thu,  5 Jul 2012 02:45:27 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FF3EDEE.4030409@treenet.co.nz>
Date: Thu, 5 Jul 2012 16:45:25 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <BC4D4F55-FCD2-4237-802F-B976E7A78C79@mnot.net>
References: <E5695BD6-CCC6-418B-AB83-A810FF63A2B2@mnot.net> <4FF3EDEE.4030409@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Smfp0-000727-LE 8b04f1889ed2bf7ccadae87acfc21b28
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Revision of p2 2.2.1 / who can generate a status code?
Archived-At: <http://www.w3.org/mid/BC4D4F55-FCD2-4237-802F-B976E7A78C79@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14016
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>

Argh, sorry, I got proposals mixed up. I'll re-send.


On 04/07/2012, at 5:17 PM, Amos Jeffries wrote:

>=20
> Clarity: "this status code"? this list context is about methods so =
far.
>=20
>> * whether they can be cached ([Part6]); in particular what conditions =
a cache may store the response, and under what conditions such a stored =
response may be used to satisfy a subsequent request.
>=20
> Clarity: is "they" talking about the method? request entity? or =
response entity?

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul  4 23:49:03 2012
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 A2BD611E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 23:49:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.759
X-Spam-Level: 
X-Spam-Status: No, score=-8.759 tagged_above=-999 required=5 tests=[AWL=1.840, BAYES_00=-2.599, 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 kwNe6cPQZEBP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  4 Jul 2012 23:49:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15FE111E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  4 Jul 2012 23:49:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Smfrl-000218-9n for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 06:48:41 +0000
Resent-Date: Thu, 05 Jul 2012 06:48:41 +0000
Resent-Message-Id: <E1Smfrl-000218-9n@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Smfre-0001zz-Ve for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 06:48:35 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmfrY-00077H-HY for ietf-http-wg@w3.org; Thu, 05 Jul 2012 06:48:32 +0000
Received: (qmail invoked by alias); 05 Jul 2012 06:48:02 -0000
Received: from p54BB2CAC.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.44.172] by mail.gmx.net (mp010) with SMTP; 05 Jul 2012 08:48:02 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18WFGgfaSoW7L4T08AYmMBjTs2oB3Re8xRdPJYQgc LozgQ/xkRObZ8s
Message-ID: <4FF538A1.8080106@gmx.de>
Date: Thu, 05 Jul 2012 08:48:01 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>,  Amos Jeffries <squid3@treenet.co.nz>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz> <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net> <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net> <4FF45060.3070100@gmx.de> <9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net>
In-Reply-To: <9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmfrY-00077H-HY e71146d95847d03c5da2100779138091
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FF538A1.8080106@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14017
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 2012-07-05 01:28, Mark Nottingham wrote:
>
> On 05/07/2012, at 12:17 AM, Julian Reschke wrote:
>
>> On 2012-07-03 04:38, Mark Nottingham wrote:
>>> I haven't heard any more discussion of this. As it is, we have a proposal to close this issue:
>>>
>>>> Add a note to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime>:
>>>>
>>>> """
>>>> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches SHOULD consider responses that have invalid freshness information to be stale.
>>>> """
>>>
>>> Feedback?
>>> ...
>>
>> Sounds good to me. Proposed patch: <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/353/353.diff>
>
>
> Thinking about this a bit more, I'm somewhat uncomfortable about making it a requirement, especially considering the discussion that followed. Given that, how about:
>
> """
> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches are encouraged to consider responses that have invalid freshness information to be stale.
> """

Is "are encouraged to" different from "ought to"?

Just wondering,

Julian




From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 01:03:25 2012
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 E72A421F85C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 01:03:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.833
X-Spam-Level: 
X-Spam-Status: No, score=-8.833 tagged_above=-999 required=5 tests=[AWL=1.766, BAYES_00=-2.599, 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 AifcfFrk5X8s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 01:03:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4D06921F85C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 01:03:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Smh14-00074K-Hp for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 08:02:22 +0000
Resent-Date: Thu, 05 Jul 2012 08:02:22 +0000
Resent-Message-Id: <E1Smh14-00074K-Hp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Smh0x-000720-91 for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 08:02:15 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Smh0o-0001aw-Qt for ietf-http-wg@w3.org; Thu, 05 Jul 2012 08:02:14 +0000
Received: (qmail invoked by alias); 05 Jul 2012 08:01:40 -0000
Received: from p54BB2CAC.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.44.172] by mail.gmx.net (mp017) with SMTP; 05 Jul 2012 10:01:40 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18IysAkE9YIZqJ2F4ILe/OzuFyi1780WcoKEMAfj0 YLQcDVdjO+QrYe
Message-ID: <4FF549E2.4040801@gmx.de>
Date: Thu, 05 Jul 2012 10:01:38 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>,  Amos Jeffries <squid3@treenet.co.nz>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz> <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net> <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net> <4FF45060.3070100@gmx.de> <9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net>
In-Reply-To: <9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Smh0o-0001aw-Qt a32c4e3f69fed8ae36e9e75d1219d2ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FF549E2.4040801@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14018
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 2012-07-05 01:28, Mark Nottingham wrote:
>
> On 05/07/2012, at 12:17 AM, Julian Reschke wrote:
>
>> On 2012-07-03 04:38, Mark Nottingham wrote:
>>> I haven't heard any more discussion of this. As it is, we have a proposal to close this issue:
>>>
>>>> Add a note to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime>:
>>>>
>>>> """
>>>> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches SHOULD consider responses that have invalid freshness information to be stale.
>>>> """
>>>
>>> Feedback?
>>> ...
>>
>> Sounds good to me. Proposed patch: <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/353/353.diff>
>
>
> Thinking about this a bit more, I'm somewhat uncomfortable about making it a requirement, especially considering the discussion that followed. Given that, how about:
>
> """
> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches are encouraged to consider responses that have invalid freshness information to be stale.
> """

Works for me; proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/353/353.diff>



From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 06:43:25 2012
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 1416D21F853D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 06:43:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.706
X-Spam-Level: 
X-Spam-Status: No, score=-8.706 tagged_above=-999 required=5 tests=[AWL=1.893, BAYES_00=-2.599, 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 SPb7GqEJbY27 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 06:43:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8942D21F853A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 06:43:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmmJH-0003Bu-Jt for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 13:41:31 +0000
Resent-Date: Thu, 05 Jul 2012 13:41:31 +0000
Resent-Message-Id: <E1SmmJH-0003Bu-Jt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmmJB-0003AB-7c for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 13:41:25 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmmJ6-0001V7-8p for ietf-http-wg@w3.org; Thu, 05 Jul 2012 13:41:24 +0000
Received: (qmail invoked by alias); 05 Jul 2012 13:40:54 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 05 Jul 2012 15:40:54 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18erzEz/YQec+ulXONt2HHg0bdj6gkgfh0BkQSlmy rhDWkoEFtTL54t
Message-ID: <4FF59963.6070501@gmx.de>
Date: Thu, 05 Jul 2012 15:40:51 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: mike amundsen <mamund@yahoo.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net> <4FF53723.9000207@gmx.de>
In-Reply-To: <4FF53723.9000207@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmmJ6-0001V7-8p b433a0eb385dafa545b78f6b7f32038f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF59963.6070501@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14019
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 2012-07-05 08:41, Julian Reschke wrote:
> On 2012-07-05 02:48, Mark Nottingham wrote:
>> So, I'm hearing a lot of agreement on adding idempotency to the registry.
>>
>> Anyone object to that as closing this issue?
>>
>> Cheers,
>
> Works for me. Hopefully it won't be too much work to figure out all
> values for existing methods :-)
>
> Best regards, Julian

Also, would it make sense to mention somewhere that for resource that 
support strong ETags, any request can be made idempotent by adding an 
"If-Match" header with that ETag?

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 10:25:10 2012
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 A45DE21F879A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 10:25:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.887
X-Spam-Level: 
X-Spam-Status: No, score=-8.887 tagged_above=-999 required=5 tests=[AWL=1.712, BAYES_00=-2.599, 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 EMVHddXmqYyA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 10:25:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B1D3221F8799 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 10:25:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmplP-0007Nm-Mp for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 17:22:47 +0000
Resent-Date: Thu, 05 Jul 2012 17:22:47 +0000
Resent-Message-Id: <E1SmplP-0007Nm-Mp@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmplI-0007N1-F6 for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 17:22:40 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmplH-0008Fw-BQ for ietf-http-wg@w3.org; Thu, 05 Jul 2012 17:22:40 +0000
Received: (qmail invoked by alias); 05 Jul 2012 17:22:12 -0000
Received: from p5DD96EED.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.110.237] by mail.gmx.net (mp016) with SMTP; 05 Jul 2012 19:22:12 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/AwLhs8zjA7E3VbC6fcVHHn3i4nPexlgGs2Vblz6 lKJbB1uvbmPeIf
Message-ID: <4FF5CD40.50607@gmx.de>
Date: Thu, 05 Jul 2012 19:22:08 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: mike amundsen <mamund@yahoo.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net> <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net>
In-Reply-To: <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmplH-0008Fw-BQ cf8ed4962f7840e92c935eb3c008db92
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF5CD40.50607@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14020
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 2012-07-05 04:36, Mark Nottingham wrote:
> Marked for incorporation in -20.
> ...

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1728>

The list I have for P2 is:

 >    +---------+------+------------+---------------+
 >    | Method  | Safe | Idempotent | Reference     |
 >    +---------+------+------------+---------------+
 >    | CONNECT | no   | no         | Section 2.3.8 |
 >    | DELETE  | no   | yes        | Section 2.3.6 |
 >    | GET     | yes  | yes        | Section 2.3.2 |
 >    | HEAD    | yes  | yes        | Section 2.3.3 |
 >    | OPTIONS | yes  | yes        | Section 2.3.1 |
 >    | POST    | no   | no         | Section 2.3.4 |
 >    | PUT     | no   | yes        | Section 2.3.5 |
 >    | TRACE   | yes  | yes        | Section 2.3.7 |
 >    +---------+------+------------+---------------+

Suggest to discuss the values for "CONNECT", while I start looking at 
all these WebDAV methods...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 11:03:55 2012
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 5286221F8715 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 11:03:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.926
X-Spam-Level: 
X-Spam-Status: No, score=-8.926 tagged_above=-999 required=5 tests=[AWL=1.673, BAYES_00=-2.599, 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 0gyBqLdextZN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 11:03:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9270321F8713 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 11:03:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmqOF-00018m-7Y for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 18:02:55 +0000
Resent-Date: Thu, 05 Jul 2012 18:02:55 +0000
Resent-Message-Id: <E1SmqOF-00018m-7Y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmqO8-000180-4s for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 18:02:48 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmqO6-00048f-Vq for ietf-http-wg@w3.org; Thu, 05 Jul 2012 18:02:48 +0000
Received: (qmail invoked by alias); 05 Jul 2012 18:02:19 -0000
Received: from p5DD96EED.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.110.237] by mail.gmx.net (mp029) with SMTP; 05 Jul 2012 20:02:19 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/5KmRlxoL5Clh4AL0GMBcKesgCdBkMc7Rm/qMZ90 tRY4Z48mTjYqxp
Message-ID: <4FF5D6A6.8080606@gmx.de>
Date: Thu, 05 Jul 2012 20:02:14 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: mike amundsen <mamund@yahoo.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net> <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net> <4FF5CD40.50607@gmx.de>
In-Reply-To: <4FF5CD40.50607@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmqO6-00048f-Vq a1ed86cc14c52213e828777b7fb2e76c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF5D6A6.8080606@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14021
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 2012-07-05 19:22, Julian Reschke wrote:
> On 2012-07-05 04:36, Mark Nottingham wrote:
>> Marked for incorporation in -20.
>> ...
>
> -> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1728>
>
> The list I have for P2 is:
>
>  >    +---------+------+------------+---------------+
>  >    | Method  | Safe | Idempotent | Reference     |
>  >    +---------+------+------------+---------------+
>  >    | CONNECT | no   | no         | Section 2.3.8 |
>  >    | DELETE  | no   | yes        | Section 2.3.6 |
>  >    | GET     | yes  | yes        | Section 2.3.2 |
>  >    | HEAD    | yes  | yes        | Section 2.3.3 |
>  >    | OPTIONS | yes  | yes        | Section 2.3.1 |
>  >    | POST    | no   | no         | Section 2.3.4 |
>  >    | PUT     | no   | yes        | Section 2.3.5 |
>  >    | TRACE   | yes  | yes        | Section 2.3.7 |
>  >    +---------+------+------------+---------------+
>
> Suggest to discuss the values for "CONNECT", while I start looking at
> all these WebDAV methods...
>
> Best regards, Julian

...and here are the values for the other methods, with some inline comments:

+-------------------+------+------------+---------------------------+
| Method Name       | Safe | Idempotent | Reference                 |
+-------------------+------+------------+---------------------------+
| ACL               | no   | yes        | [RFC3744], Section 8.1    |
| BASELINE-CONTROL  | no   | yes        | [RFC3253], Section 12.6   |
| BIND              | no   | yes        | [RFC5842], Section 4      |
| CHECKIN           | no   | yes        | [RFC3253], Section 4.4    |
|                   |      |            | and [RFC3253], Section    |
|                   |      |            | 9.4                       |
| CHECKOUT          | no   | yes        | [RFC3253], Section 4.3    |
|                   |      |            | and [RFC3253], Section    |
|                   |      |            | 8.8                       |
| COPY              | no   | yes        | [RFC4918], Section 9.8    |
| LABEL             | no   | yes        | [RFC3253], Section 8.2    |
| LINK              | no   |            | [RFC2068], Section        |
|                   |      |            | 19.6.1.2                  |

I honestly can't tell from the prose in RFC 2068, which isn't sufficient 
as definition. The same applies to UNLINK.

| LOCK              | no   | no         | [RFC4918], Section 9.10   |
| MERGE             | no   | yes        | [RFC3253], Section 11.2   |
| MKACTIVITY        | no   | yes        | [RFC3253], Section 13.5   |
| MKCALENDAR        | no   | yes        | [RFC4791], Section 5.3.1  |
| MKCOL             | no   | yes        | [RFC4918], Section 9.3    |
| MKREDIRECTREF     | no   | yes        | [RFC4437], Section 6      |

RFC 4437 claims that it's not idempotent, but I think the author was 
confused. Will complain to him.

| MKWORKSPACE       | no   | yes        | [RFC3253], Section 6.3    |
| MOVE              | no   | yes        | [RFC4918], Section 9.9    |
| ORDERPATCH        | no   | yes        | [RFC3648], Section 7      |
| PATCH             | no   | no         | [RFC5789], Section 2      |
| PROPFIND          | yes  | yes        | [RFC4918], Section 9.1    |
| PROPPATCH         | no   | yes        | [RFC4918], Section 9.2    |
| REBIND            | no   | yes        | [RFC5842], Section 6      |
| REPORT            | yes  | yes        | [RFC3253], Section 3.6    |
| SEARCH            | yes  | yes        | [RFC5323], Section 2      |
| UNBIND            | no   | yes        | [RFC5842], Section 5      |
| UNCHECKOUT        | no   | yes        | [RFC3253], Section 4.5    |
| UNLINK            | no   |            | [RFC2068], Section        |
|                   |      |            | 19.6.1.3                  |

(see above)

| UNLOCK            | no   | yes        | [RFC4918], Section 9.11   |
| UPDATE            | no   | yes        | [RFC3253], Section 7.1    |
| UPDATEREDIRECTREF | no   | yes        | [RFC4437], Section 7      |
| VERSION-CONTROL   | no   | yes        | [RFC3253], Section 3.5    |
+-------------------+------+------------+---------------------------+

I'll also ask Mr. DeltaV for advice on whether I got these right.

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 13:51:35 2012
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 C27C021F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 13:51:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.142
X-Spam-Level: 
X-Spam-Status: No, score=-10.142 tagged_above=-999 required=5 tests=[AWL=-0.143, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, 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 dSHWjC2JCR6d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 13:51:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0CBC921F85F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 13:51:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Smt0I-0005d0-S8 for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 20:50:22 +0000
Resent-Date: Thu, 05 Jul 2012 20:50:22 +0000
Resent-Message-Id: <E1Smt0I-0005d0-S8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1Smt0B-0005cA-3F for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 20:50:15 +0000
Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a71.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1Smt09-0000uP-11 for ietf-http-wg@w3.org; Thu, 05 Jul 2012 20:50:14 +0000
Received: from homiemail-a71.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTP id 47AC5428075; Thu,  5 Jul 2012 13:49:52 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=F4zjuCryzle0Q0WZ zqMYHuRMupDNX+46aQYJMc2/Wh2QIOIk1xZ/VX0A/TdLd+5uZjeGsjlEmRGv4PHh e0nYzfYD8WpZsiDDQJi+sLU0OAahSLnGiv3O3mikJu3T7AUDv78YG3nmDelzg3DD 9MZDtqPdDtvrtyI5d2ZEc6BT1FI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=PkHPBjr/Z/ViIky6v6ojCvwpxDg=; b=d/Ekfs4A+Zxw8EChTjXohV27BA4O 5FmpLl25mdXd2MUL9OKZdFa/lM2xaXEYV/kTXXbqUJ5SuiyRpUqn/TtROlaH3nVz D1i4PsJeu8qmQ8APgIZBGEay7n08RvsIPUHHYXn1dNz80gIRSKdj9oEDCajb/Y+c H9kuWj6oomsaUqo=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTPSA id 20D11428072; Thu,  5 Jul 2012 13:49:52 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CALaySJLHboTZRF7mQueKTVtx++U_YDNLFuM9m0BLJK2tJALpHw@mail.gmail.com>
Date: Thu, 5 Jul 2012 13:49:54 -0700
Cc: HTTPbis Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <42B5F3CB-EC73-45C8-9970-0162369D88CC@gbiv.com>
References: <CALaySJLHboTZRF7mQueKTVtx++U_YDNLFuM9m0BLJK2tJALpHw@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=208.97.132.202; envelope-from=fielding@gbiv.com; helo=homiemail-a71.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Smt09-0000uP-11 122a42cd6761c147d7c6918a57acfa30
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-appsawg-http-forwarded-05 issue: multiple copies of  Forwarded vs comma-separated list
Archived-At: <http://www.w3.org/mid/42B5F3CB-EC73-45C8-9970-0162369D88CC@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14022
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 Jul 3, 2012, at 12:05 PM, Barry Leiba wrote:

> In case anyone here is interested and not already following
> apps-discuss, I started a discussion thread with this same subject
> line on apps-discuss@ietf.org.  Go there to comment.  Here's an
> archive pointer to the beginning of the thread:
> http://www.ietf.org/mail-archive/web/apps-discuss/current/msg06521.html

Hi Barry,

I don't believe that discussion and draft belongs on apps-discuss.
HTTP belongs here.  [In fact, I'd have to say that apps-discuss is
turning into an oligarchy with arbitrary specification scope, instead
of its original intention as a coordination forum amongst the
individual ADs+WGs that did the real work, but that's another story.]

Regarding your comments on Forwarded:

> Last paragraph of Section 4:
>>   Given that a proxy wishes to add a Forwarded header field to the
>>   outgoing request, if the incoming request has no such header field,
>>   the proxy simply adds the header field with the list of parameters
>>   desired.  If, on the other hand, the incoming request has such a
>>   header field, the proxy can either add a comma and the list of
>>   parameters, or add a new instance of the header field.  A proxy MAY
>>   remove all Forwarded header fields from a request.  It MUST, however,
>>   ensure that the correct header field is updated in case of multiple
>>   Forwarded header fields.
> 
> I find this confusing,

I find that confusing too.  It should just say that the new value
MUST either be appended to the existing field-value or appended
as a new field at the end of the header block.

> and I question the value of having more than
> one way of representing things.  Why would a proxy want to add a comma
> and a list, rather than adding a new instance?

For performance and implementation reasons.  Some proxies will store
the field-value as a compounded hash of ordered list values until some
generic routine writes the value as a single field; some will have already
sent the received header fields downstream and thus have no other
choice but to append as a new fieled; others will choose to append
a separate Forwarded at the end in order to avoid buffer copies
or for easier debugging.

I don't think an HTTP header field needs to define one way to do it.
We have left it unspecific in order to maximize flexibility in
implementation.

> If a proxy later wants
> to selectively remove earlier information, how would it safely do it when
> some had been added as list items into another header field?

I assume by looking at the information it wants to selectively remove.
It would be more common to simply delete the existing field and create
a new one on the way downstream.

>  Doesn't it
> complicate things to have to support various combinations?

Yes, but that is governed by HTTP/1.1 parsing rules.

> How would I
> choose between these?:
> 
>     Forwarded: for=192.0.2.43,for=198.51.100.17
> 
>     Forwarded: for=192.0.2.43
>     Forwarded: for=198.51.100.17

They mean the same thing in HTTP (as in RFC822, MIME, etc.).

> You either need to explain the pros and cons, or just provide one way
> to do it.  I guess I'd want to see a good reason for not just having one
> header field per proxy.  I realize that existing fields use this
> mechanism, but we have a chance to be specific in a new specification.

No, we don't.  HTTP header fields cannot redefine HTTP parsing.
All this field is doing is restating (unnecessarily) the facts
implied by the list rule in HTTP field parsing.

> It's also very awkward to have punctuation precedence that's backward
> from how it works in English (and again, I know this is used elsewhere).
> Here, commas are more powerful than semicolons, so you might have
> something like this:
> 
>   Forwarded: for=192.0.2.43;proto=http,for=198.51.100.17;proto=https
> 
> As someone who reads English, I find the way that gets grouped to be
> surprising and unsettling, because I expect the break between "43" and
> "proto=http" to be *stronger* than the break after "proto=http", and
> it's not.

People don't read HTTP header fields.  This precedence is a leftover
from MIME field parsing and it makes far less sense to create
specialized parsers for each new field defined.  The only header fields
that got it wrong are Cookie and Set-Cookie, which resulted in more
interoperability problems than all of the rest of HTTP combined.

....Roy




From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 13:58:41 2012
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 58A2421F84F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 13:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.3
X-Spam-Level: 
X-Spam-Status: No, score=-6.3 tagged_above=-999 required=5 tests=[AWL=3.077, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_33=0.6, 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 kTmUzXQqR6h1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 13:58:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BCB5021F84D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 13:58:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Smt81-000838-TF for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Jul 2012 20:58:21 +0000
Resent-Date: Thu, 05 Jul 2012 20:58:21 +0000
Resent-Message-Id: <E1Smt81-000838-TF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1Smt7v-00082N-Cq for ietf-http-wg@listhub.w3.org; Thu, 05 Jul 2012 20:58:15 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1Smt7u-0001La-7P for ietf-http-wg@w3.org; Thu, 05 Jul 2012 20:58:15 +0000
Received: by qcad1 with SMTP id d1so392289qca.2 for <ietf-http-wg@w3.org>; Thu, 05 Jul 2012 13:57:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=n5BZlPE2pi0egi7z6XQVbDM8Uozk1TTnG12Xxpq/kXM=; b=N/cRGU+eKZAB1cOp15oybi+8Qg+UylMw3QhtBU/sCcg2NFhKh/US8t2Eg1L5YqG2dH MWAefzmpMxNLMBD63pmgff9KAchfML4B8roYCHvLzRVD5ZxQA+mJgdF774JW3UAx5JTG EgHUvorbZcM29c2SVaPY+DdG3qANFZBXgSYcXHDCTs6QZ0RgtO+fEXzUvJF0l5FgltZk +iTUO++AfU+TA/Kq5+jXjaezy35g2EJdSd8Mw+2pBJ1LZu/V3pQnzX5auzeOkMg6zMaz O7Uy9uje7xOKWPz67cfMAfnCC9WiDWEpBbYfrCN4DELDQjcVDVqojDEztrbF+CXePepg 2LZw==
MIME-Version: 1.0
Received: by 10.224.109.196 with SMTP id k4mr48501261qap.92.1341521868579; Thu, 05 Jul 2012 13:57:48 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.229.245.85 with HTTP; Thu, 5 Jul 2012 13:57:48 -0700 (PDT)
In-Reply-To: <42B5F3CB-EC73-45C8-9970-0162369D88CC@gbiv.com>
References: <CALaySJLHboTZRF7mQueKTVtx++U_YDNLFuM9m0BLJK2tJALpHw@mail.gmail.com> <42B5F3CB-EC73-45C8-9970-0162369D88CC@gbiv.com>
Date: Thu, 5 Jul 2012 16:57:48 -0400
X-Google-Sender-Auth: Zjj4ez-9cW1JatySZyuIGn_jlEc
Message-ID: <CALaySJJCH21tqSN3H=VZvupDQ3M5RD4n67JGWNjRHjeg2ryNEA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: HTTPbis Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=barryleiba@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Smt7u-0001La-7P 093edfd12e4af74e4196781133c9ec9f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-appsawg-http-forwarded-05 issue: multiple copies of  Forwarded vs comma-separated list
Archived-At: <http://www.w3.org/mid/CALaySJJCH21tqSN3H=VZvupDQ3M5RD4n67JGWNjRHjeg2ryNEA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14023
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>

Just responding to the beginning:

> I don't believe that discussion and draft belongs on apps-discuss.
> HTTP belongs here.  [In fact, I'd have to say that apps-discuss is
> turning into an oligarchy with arbitrary specification scope, instead
> of its original intention as a coordination forum amongst the
> individual ADs+WGs that did the real work, but that's another story.]

The draft is not a product of the httpbis working group, but IS a
product of the appsawg working group.  Apps-Discuss is the mailing
list for that working group.  Please re-post your comment there (where
I will agree with it :-) ).  Thanks.

Barry


From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 19:37:48 2012
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 458A021F84F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 19:37:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.771
X-Spam-Level: 
X-Spam-Status: No, score=-9.771 tagged_above=-999 required=5 tests=[AWL=0.828, BAYES_00=-2.599, 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 dzVxqBcZs2zG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 19:37:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F0A211E8141 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 19:37:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmyOm-0001UM-Fw for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 02:36:00 +0000
Resent-Date: Fri, 06 Jul 2012 02:36:00 +0000
Resent-Message-Id: <E1SmyOm-0001UM-Fw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmyOe-0001TW-EC for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 02:35:52 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SmyOa-0000Zy-3c for ietf-http-wg@w3.org; Fri, 06 Jul 2012 02:35:51 +0000
Received: from [192.168.1.105] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 3C47510E693 for <ietf-http-wg@w3.org>; Fri,  6 Jul 2012 14:35:16 +1200 (NZST)
Message-ID: <4FF64EDA.6090606@treenet.co.nz>
Date: Fri, 06 Jul 2012 14:35:06 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net> <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net> <4FF5CD40.50607@gmx.de> <4FF5D6A6.8080606@gmx.de>
In-Reply-To: <4FF5D6A6.8080606@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmyOa-0000Zy-3c 7b2b5db5e950ab98b9490f627b82e6a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF64EDA.6090606@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14024
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 6/07/2012 6:02 a.m., Julian Reschke wrote:
> On 2012-07-05 19:22, Julian Reschke wrote:
> ...and here are the values for the other methods, with some inline 
> comments:

Your interpretation of RFC 4918 methods matches my list. Still going 
through the others.

AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 20:26:31 2012
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 6965D11E8123 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 20:26:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.963
X-Spam-Level: 
X-Spam-Status: No, score=-8.963 tagged_above=-999 required=5 tests=[AWL=1.636, BAYES_00=-2.599, 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 FRBWEPi5u72b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 20:26:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDB2911E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 20:26:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmzAX-0004Bu-Kx for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 03:25:21 +0000
Resent-Date: Fri, 06 Jul 2012 03:25:21 +0000
Resent-Message-Id: <E1SmzAX-0004Bu-Kx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmzAQ-0004B9-Li for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 03:25:14 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmzAP-0004ug-2Q for ietf-http-wg@w3.org; Fri, 06 Jul 2012 03:25:14 +0000
Received: (qmail invoked by alias); 06 Jul 2012 03:24:46 -0000
Received: from p5DD96EED.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.110.237] by mail.gmx.net (mp032) with SMTP; 06 Jul 2012 05:24:46 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18sTrhu9aosStnNUvyeW5zb5jDh1JgrzdVY9xDK3J /bAFyRHdEa1556
Message-ID: <4FF65A7D.7000500@gmx.de>
Date: Fri, 06 Jul 2012 05:24:45 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net> <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net> <4FF5CD40.50607@gmx.de> <4FF5D6A6.8080606@gmx.de> <4FF64EDA.6090606@treenet.co.nz>
In-Reply-To: <4FF64EDA.6090606@treenet.co.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SmzAP-0004ug-2Q 966e05afde08bd384efed3a6f699d128
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FF65A7D.7000500@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14025
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 2012-07-06 04:35, Amos Jeffries wrote:
> On 6/07/2012 6:02 a.m., Julian Reschke wrote:
>> On 2012-07-05 19:22, Julian Reschke wrote:
>> ...and here are the values for the other methods, with some inline
>> comments:
>
> Your interpretation of RFC 4918 methods matches my list. Still going
> through the others.

RFC 4918 actually states safeness/idempotency.

The harder ones are earlier specs :-)



From ietf-http-wg-request@listhub.w3.org  Thu Jul  5 20:55:04 2012
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 502D921F8703 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 20:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.999
X-Spam-Level: 
X-Spam-Status: No, score=-8.999 tagged_above=-999 required=5 tests=[AWL=1.600, BAYES_00=-2.599, 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 VahVLOCVtTFn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  5 Jul 2012 20:55:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BB18421F8701 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  5 Jul 2012 20:55:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SmzcN-0006Ks-OK for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 03:54:07 +0000
Resent-Date: Fri, 06 Jul 2012 03:54:07 +0000
Resent-Message-Id: <E1SmzcN-0006Ks-OK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmzcH-0006K7-7O for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 03:54:01 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SmzcF-0002bx-Nd for ietf-http-wg@w3.org; Fri, 06 Jul 2012 03:54:00 +0000
Received: (qmail invoked by alias); 06 Jul 2012 03:53:33 -0000
Received: from p5DD96EED.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.110.237] by mail.gmx.net (mp030) with SMTP; 06 Jul 2012 05:53:33 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19oCmR7ALRoGpYXutCRafC27VrC+opB1SVsDudhvF lijBecQHc/h6qY
Message-ID: <4FF6613A.6050301@gmx.de>
Date: Fri, 06 Jul 2012 05:53:30 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>,  Amos Jeffries <squid3@treenet.co.nz>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz> <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net> <8F6879EE-0F3D-493A-9810-F1FBAC9ED6A8@mnot.net> <4FF45060.3070100@gmx.de> <9523B091-FD0E-4C59-AE74-1A45B7E3CCB9@mnot.net> <4FF549E2.4040801@gmx.de>
In-Reply-To: <4FF549E2.4040801@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SmzcF-0002bx-Nd 083558a0925a3431c0f70b5a5c8d58d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FF6613A.6050301@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14026
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 2012-07-05 10:01, Julian Reschke wrote:
> ...
> Works for me; proposed patch:
> <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/353/353.diff>

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1731>




From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 02:56:40 2012
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 796CD21F8767 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 02:56:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.757
X-Spam-Level: 
X-Spam-Status: No, score=-8.757 tagged_above=-999 required=5 tests=[AWL=1.842, BAYES_00=-2.599, 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 aJ95kpxyca1B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 02:56:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2815221F8777 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 02:56:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sn5Ek-0003K5-OG for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 09:54:06 +0000
Resent-Date: Fri, 06 Jul 2012 09:54:06 +0000
Resent-Message-Id: <E1Sn5Ek-0003K5-OG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sn5Ec-00030w-T1 for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 09:53:58 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sn5DI-0006hy-HH for ietf-http-wg@w3.org; Fri, 06 Jul 2012 09:52:38 +0000
Received: (qmail invoked by alias); 06 Jul 2012 09:52:10 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp010) with SMTP; 06 Jul 2012 11:52:10 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+2ujcIMa224qH5+kop+yUPN+2J96iHn4RbZE3xDR dvKKLm47dPWk19
Message-ID: <4FF6B544.7020302@gmx.de>
Date: Fri, 06 Jul 2012 11:52:04 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sn5DI-0006hy-HH 551f4dd691ecfe08878b64ccb8107559
X-Original-To: ietf-http-wg@w3.org
Subject: If-* vs Range (part of #366)
Archived-At: <http://www.w3.org/mid/4FF6B544.7020302@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14027
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>

(see also http://trac.tools.ietf.org/wg/httpbis/trac/ticket/366)

In 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p4-conditional-19.html#rfc.section.3.3> 
we have:

> Note: The Range header field modifies the meaning of If-Modified-Since; see Section 5.4 of [Part5] for full details.

It has been like that since the days of RFC 2068.

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-19.html#rfc.section.5.4.2> 
says:

> If the server supports the Range header field and the specified range or ranges are appropriate for the representation:
>
>     The presence of a Range header field in an unconditional GET modifies what is returned if the GET is otherwise successful. In other words, the response carries a status code of 206 (Partial Content) instead of 200 (OK).
>     The presence of a Range header field in a conditional GET (a request using one or both of If-Modified-Since and If-None-Match, or one or both of If-Unmodified-Since and If-Match) modifies what is returned if the GET is otherwise successful and the condition is true. It does not affect the 304 (Not Modified) response returned if the conditional is false.

So why do we have this note only for If-Modified-Since?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 11:46:27 2012
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 0E12021F86C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 11:46:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.006
X-Spam-Level: 
X-Spam-Status: No, score=-7.006 tagged_above=-999 required=5 tests=[AWL=3.593, BAYES_00=-2.599, 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 UWZpnOmXsFiU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 11:46:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 193F721F86C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 11:46:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnDVl-0004L5-Aq for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 18:44:13 +0000
Resent-Date: Fri, 06 Jul 2012 18:44:13 +0000
Resent-Message-Id: <E1SnDVl-0004L5-Aq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnDVd-0004JK-UL for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 18:44:05 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnDVc-0003z8-H8 for ietf-http-wg@w3.org; Fri, 06 Jul 2012 18:44:05 +0000
Received: by obqv19 with SMTP id v19so2412751obq.2 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 11:43:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=H1mPunVJ/rNvuX1wGsmSRRDvThtGmiBaqyN8YlHuAZs=; b=kxXDvGyL2rEnBvfIn7I8ZroM9IJ9hjs4+sfHHqwJ712mHXUTDl0sup8upairU4G/wl Yq9qznpiHtclJJcu2hXIndC6DBCPxIYFtaCAh6Ng1Aanh7TrhlREIzlfLB3g3sZU1P8m LyPL2YArKGkqS5D+FKQRFIx1Tcyxodqqv7oR/WRqmWy2s//trItChwOWtwNs2DCkM0uP QSEs2GIN884dNc4m66VPUb8kImUQR3SBhwPic7fm6P/5UP3jFLw4yuQNqz1Gms5mzHno lqvTOHVIJRiNLgF+XSaMM7nMB3+rdeb0r/hwEy1MW2biJgOaaSgvMLR4fv5jXe39vbL9 2kpw==
MIME-Version: 1.0
Received: by 10.60.12.37 with SMTP id v5mr204248oeb.25.1341600218761; Fri, 06 Jul 2012 11:43:38 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Fri, 6 Jul 2012 11:43:38 -0700 (PDT)
Date: Fri, 6 Jul 2012 14:43:38 -0400
Message-ID: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SnDVc-0003z8-H8 8d781e03c9de33b9dacd8d462f0ad409
X-Original-To: ietf-http-wg@w3.org
Subject: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14028
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>

HTTP 1.0 specifies a header Content-MD5.

This is a bad header for all sorts of reasons, not least that the
header was added despite the fact that I told people that MD5 had just
been severely compromised. In particular there is only one digest
algorithm specified and no way to use others.

A better approach would be:

Content-Integrity: <base64-value> ;alg=<ID>


For many Web Services, what we would like to do is to specify a MAC
rather than a digest and to use a preshared key identified by some
form of kerberos-like ticket. We don't need to specify the internal
structure of the ticket, just accept that we will have some sort of
key exchange service interaction at the end of which the client ends
up with a shared secret, an algorithm and an identifier that can be
passed to the service where the interaction takes place:

Content-Integrity: <base64-value> ;ticket=<ticket-data>

Note that the method of establishing that ticket in the first place is
out of scope for HTTP. Just think of it as something akin to a cookie.
There are many ways that structure can be established but those are
for the Web Service to manage, not something we should bind into HTTP.


This approach is of course very similar to the www-authenticate header
but with the major distinction that WWW-Authenticate is really about
key establishment and this is a mechanism to apply the result of a key
establishment to a content payload. But I guess if people think it
better to re-use WWW-Authenticate than to introduce a new header, I
can go with that.

The way we authenticate Web Services transactions today is of course
through either TLS or by embedding the authentication data into the
content through something like JSON Signature or XML Signature or via
something like WS-*. I don't particularly like these approaches as the
content authentication is really meta-data for the content and that
means it belongs in the HTTP header and not in the transport layer or
in the content itself. That is what the HTTP headers are there for,
making meta-data statements about the content.

We seem to have got into a position where Web Services means 'just run
over HTTP as if it was TCP/IP with firewall bypass'. I think we could
make Web Services a lot simpler by using HTTP for the purpose it was
intended and not duplicating that functionality in SOAP or whatever.


I have discussed this with David Crocker and his DOSETA scheme. I
think this is a case where if HTTP has the right socket, we can both
plug into it.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 12:02:35 2012
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 22CF111E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 12:02:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.033
X-Spam-Level: 
X-Spam-Status: No, score=-9.033 tagged_above=-999 required=5 tests=[AWL=1.566, BAYES_00=-2.599, 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 atGtmWRDFxPv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 12:02:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2154311E809F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 12:02:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnDml-0007GP-O7 for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 19:01:47 +0000
Resent-Date: Fri, 06 Jul 2012 19:01:47 +0000
Resent-Message-Id: <E1SnDml-0007GP-O7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SnDmf-0007EO-5Y for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 19:01:41 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SnDmd-0004VK-RO for ietf-http-wg@w3.org; Fri, 06 Jul 2012 19:01:41 +0000
Received: (qmail invoked by alias); 06 Jul 2012 19:01:12 -0000
Received: from p5DD96F2D.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.111.45] by mail.gmx.net (mp038) with SMTP; 06 Jul 2012 21:01:12 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+HojZIN3CHFqS5FZqjfAr0pW9zDRsZrRftIlK+Ib t1hLmuoxypXGUT
Message-ID: <4FF735EA.2040102@gmx.de>
Date: Fri, 06 Jul 2012 21:00:58 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Jonathan Billington <Jonathan.Billington@unisa.edu.au>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Sonya Arnold <sonya.arnold@unisa.edu.au>,  Dan Winship <dan.winship@gmail.com>, Willy Tarreau <w@1wt.eu>
References: <4E70FA07BAF76943AAF86F5F6368607803B6958F25@ITUPC-EX1MBOX.UniNet.unisa.edu.au> <AADC5A1A-B838-44A4-86D4-4938E85F78D4@mnot.net>
In-Reply-To: <AADC5A1A-B838-44A4-86D4-4938E85F78D4@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SnDmd-0004VK-RO 9ec82a8f7f0d4b4e814bee9d88b7684f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Comments on Section 6.1 (Persistent Connections) of HTTPbis Part  1,  version 17
Archived-At: <http://www.w3.org/mid/4FF735EA.2040102@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14029
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 2012-02-07 03:35, Mark Nottingham wrote:
> Hello Jonathan,
>
> Thank you for your efforts. I'll let the editors take items 1-4 as feedback to incorporate at their discretion; see <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/339>.
> ...

Looked at it, and wasn't sure how to proceed.

Dan, Willy, can you assist in coming up with a concrete change that you 
would support?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 12:09:16 2012
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 EE14E11E80A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 12:09:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 vuWhirZQJglY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 12:09:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 62A6A11E809F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 12:09:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnDtT-00016M-7l for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 19:08:43 +0000
Resent-Date: Fri, 06 Jul 2012 19:08:43 +0000
Resent-Message-Id: <E1SnDtT-00016M-7l@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SnDtM-00015I-Ts for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 19:08:36 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SnDtM-0004e7-E4 for ietf-http-wg@w3.org; Fri, 06 Jul 2012 19:08:37 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 39A593B74C; Fri,  6 Jul 2012 19:08:14 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q66J8Cni047281; Fri, 6 Jul 2012 19:08:12 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 06 Jul 2012 14:43:38 -0400." <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 06 Jul 2012 19:08:12 +0000
Message-ID: <47280.1341601692@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SnDtM-0004e7-E4 384b0451b830c4217495617732b4fd54
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/47280.1341601692@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14030
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>

In message <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
, Phillip Hallam-Baker writes:

>A better approach would be:
>
>Content-Integrity: <base64-value> ;alg=<ID>

Wouldn't you need more fields than that ?

A nonce or psk id for instance ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 13:04:36 2012
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 5E6A211E810C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 13:04:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.37
X-Spam-Level: 
X-Spam-Status: No, score=-10.37 tagged_above=-999 required=5 tests=[AWL=0.229, BAYES_00=-2.599, 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 P2TmROMLsCb0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 13:04:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AC08111E80D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 13:04:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnEkM-0000CD-Iv for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 20:03:22 +0000
Resent-Date: Fri, 06 Jul 2012 20:03:22 +0000
Resent-Message-Id: <E1SnEkM-0000CD-Iv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SnEkF-0000BB-87 for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 20:03:15 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a84.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SnEkB-0006QP-Cw for ietf-http-wg@w3.org; Fri, 06 Jul 2012 20:03:14 +0000
Received: from homiemail-a84.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a84.g.dreamhost.com (Postfix) with ESMTP id 6A9861DE070; Fri,  6 Jul 2012 13:02:50 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=eAmKISMaom0LFWmP 2dbt3YlbwyIELD4Ns4hqC1ghMCToonjDKbC1wTCGCjuQx7agV/tOLFWT/qrg+z6M z7B4j4La8TY90QOTh4mlU4GYcjkzf9dD5B2Ful/xdNBgiB0ca1Dz8sTUi2VMsHGO MQ8DoBrZ3rWMRqG9vjIPNSBx0KQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=w6arVBo2GPPUky/sKhmjf1l422U=; b=j+Lfy0V14y/1dSsQRon3PoVoY8+r FZCFgRbnyBrGHAwHj61JRzJWcJaGwpzJtiZU7ixgbgSE6FH4Z41h8qIc2NG5CYLJ EgEtI5ECihEMaYISfnwwVECqsbCMmINtM98AxA9HrI5zjobdnTnb/VK6Y/1Dy7d4 45zp6bR+wau6ydw=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a84.g.dreamhost.com (Postfix) with ESMTPSA id 3B0211DE060; Fri,  6 Jul 2012 13:02:50 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
Date: Fri, 6 Jul 2012 13:02:52 -0700
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: 7bit
Message-Id: <6FAC5870-5A9D-48B0-9610-D5E6B3CBFA3B@gbiv.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=208.97.132.74; envelope-from=fielding@gbiv.com; helo=homiemail-a84.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SnEkB-0006QP-Cw 26856096a78a94b6617d36f2fbb60e1f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/6FAC5870-5A9D-48B0-9610-D5E6B3CBFA3B@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14031
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 Jul 6, 2012, at 11:43 AM, Phillip Hallam-Baker wrote:

> HTTP 1.0 specifies a header Content-MD5.

Actually, HTTP/1.1 (draft-ietf-http-v11-spec-02.txt, April 1995).

> This is a bad header for all sorts of reasons, not least that the
> header was added despite the fact that I told people that MD5 had just
> been severely compromised.

Compromised in 1995?  I don't think so, and certainly not in a way
that would have effected a MIC for *accidental* modification
(which is all it was intended to be).  It was never intended for
authentication because the field can be altered by an attacker
just as easily as the content.

> In particular there is only one digest
> algorithm specified and no way to use others.

Of course there is another way -- just define another field for
that algorithm.  Defining a new content-sha256 (or whatever) field
is just as effective (and efficient) as trying to put all integrity
checks into a single field with an alg parameter.  Moreover, the
new field definition could be used without worrying about all of
the broken implementations of poorly defined integrity checks
like content-md5.

> A better approach would be:
> 
> Content-Integrity: <base64-value> ;alg=<ID>

That is another approach.  It means that a recipient that only
understands alg A has to parse each content-integrity field-value
to look for a matching A parameter, as opposed to simply checking
for the presence of a content-A field.  It has benefit if we expect
integrity checks to be performed by a multi-algo processor like
openssl, but is a nuisance if we expect only one or two algorithms
to be in common use at the same time.

> For many Web Services, what we would like to do is to specify a MAC
> rather than a digest and to use a preshared key identified by some
> form of kerberos-like ticket. We don't need to specify the internal
> structure of the ticket, just accept that we will have some sort of
> key exchange service interaction at the end of which the client ends
> up with a shared secret, an algorithm and an identifier that can be
> passed to the service where the interaction takes place:
> 
> Content-Integrity: <base64-value> ;ticket=<ticket-data>
> 
> Note that the method of establishing that ticket in the first place is
> out of scope for HTTP. Just think of it as something akin to a cookie.

Why implement a MAC using the same field as a MIC?
Digital signatures are much harder to implement.

Why don't the existing digital signature mechanisms suffice?
I know they haven't been deployed well for HTTP, but I don't know
why other than the expired patents and chicken/egg problems.

Why do you think a generic integrity check processor would want
to implement anything that complex?

I agree that some common Dsig standard is needed, and that a good
way to do that is to simply assume that the shared key is already
known via other means, but I don't see any need to tie that to a
generic integrity check field when two different fields would be
easier to define, argue, and implement.

In any case, the hard part is deciding what content is included
in the hash.  Sometimes folks want to include the whole representation
(as it exists at the source), others want to include only the payload
of the current message, and still others want the payload and some
odd set of header fields.  And then we start talking about canonical
forms, and pretty soon we are just sick of arguing about it and ship
some gunk that doesn't actually solve a real problem.

Trying to do everything at once is a recipe for madness.  Just pick
a very specific problem to solve, solve it the most efficient way
for that problem, and use a field name specific to the solution.
If it turns out to be useful beyond that, that's gravy.

....Roy


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 14:18:20 2012
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 3FE1B11E80F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 14:18:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.155
X-Spam-Level: 
X-Spam-Status: No, score=-7.155 tagged_above=-999 required=5 tests=[AWL=3.444, BAYES_00=-2.599, 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 djtjx6veSzLW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 14:18:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 25DAE11E80F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 14:18:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnFtY-0002zZ-AC for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 21:16:56 +0000
Resent-Date: Fri, 06 Jul 2012 21:16:56 +0000
Resent-Message-Id: <E1SnFtY-0002zZ-AC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnFtF-0002y9-V1 for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 21:16:37 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnFtE-0000EP-7D for ietf-http-wg@w3.org; Fri, 06 Jul 2012 21:16:37 +0000
Received: by obqv19 with SMTP id v19so2614587obq.2 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 14:16:10 -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=i/wX5MStfTqJtcVmF+Qq2414JpPewH75eV+4r/bxq4w=; b=eCzv2uq5cqHACip6PhQFDBz4K68TTr+mSMX8+cVSHxXvz71QhJTmV7iLqXXZeaj0Nj N3eg2ndYDgE+ZhE4OQkA+hYi+2zSzWfqIZnDXUkBI0f2/JqsJAWGbhMl5qv/ZGFmdMuk Q7dX+mvihugxbHM7W681Cz00JmZjQw9k2hB/Rqv11zSr6o0Rv0KTRzXdtsPd6oRvt1Nz H0hlAwoOc9+DM2NC4ooX4maauQQKAhePywZ0ogJZPVYHAGkOZGM+KFp1NH9L5KDUkx+r 0NYWVNE7yIz6HfEHtHAuxtQRezDzvT/tAIJZ93mS6vuYLHg9svmhT7sM2Oq4w+WfGtvY +f2Q==
MIME-Version: 1.0
Received: by 10.60.12.37 with SMTP id v5mr641831oeb.25.1341609370566; Fri, 06 Jul 2012 14:16:10 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Fri, 6 Jul 2012 14:16:10 -0700 (PDT)
In-Reply-To: <6FAC5870-5A9D-48B0-9610-D5E6B3CBFA3B@gbiv.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <6FAC5870-5A9D-48B0-9610-D5E6B3CBFA3B@gbiv.com>
Date: Fri, 6 Jul 2012 17:16:10 -0400
Message-ID: <CAMm+Lwi3dq7H6_1JQDAX65aurw7dSnDLtvEqLhoENhc8fKHHWg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SnFtE-0000EP-7D 04ecbc0114fb036c0d32b08a4c9377e1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+Lwi3dq7H6_1JQDAX65aurw7dSnDLtvEqLhoENhc8fKHHWg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14032
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 Fri, Jul 6, 2012 at 4:02 PM, Roy T. Fielding <fielding@gbiv.com> wrote:
> On Jul 6, 2012, at 11:43 AM, Phillip Hallam-Baker wrote:
>
>> HTTP 1.0 specifies a header Content-MD5.
>
> Actually, HTTP/1.1 (draft-ietf-http-v11-spec-02.txt, April 1995).
>
>> This is a bad header for all sorts of reasons, not least that the
>> header was added despite the fact that I told people that MD5 had just
>> been severely compromised.
>
> Compromised in 1995?  I don't think so, and certainly not in a way
> that would have effected a MIC for *accidental* modification
> (which is all it was intended to be).

Yes, Dobertin circulated his paper showing an initial collision result
in private before the header was put in the spec. I remember arguing
against the header before it was put in the spec knowing that it was
broken.

>  It was never intended for
> authentication because the field can be altered by an attacker
> just as easily as the content.

It is not intended for authentication but the ability to create
collisions does have some very significant security consequences.

>> In particular there is only one digest
>> algorithm specified and no way to use others.
>
> Of course there is another way -- just define another field for
> that algorithm.  Defining a new content-sha256 (or whatever) field
> is just as effective (and efficient) as trying to put all integrity
> checks into a single field with an alg parameter.  Moreover, the
> new field definition could be used without worrying about all of
> the broken implementations of poorly defined integrity checks
> like content-md5.
>
>> A better approach would be:
>>
>> Content-Integrity: <base64-value> ;alg=<ID>
>
> That is another approach.  It means that a recipient that only
> understands alg A has to parse each content-integrity field-value
> to look for a matching A parameter, as opposed to simply checking
> for the presence of a content-A field.  It has benefit if we expect
> integrity checks to be performed by a multi-algo processor like
> openssl, but is a nuisance if we expect only one or two algorithms
> to be in common use at the same time.

If you are using something like IIS where the header values are mapped
to class members or attributes, adding a new header is a big deal,
adding a parameter value is not.

>> For many Web Services, what we would like to do is to specify a MAC
>> rather than a digest and to use a preshared key identified by some
>> form of kerberos-like ticket. We don't need to specify the internal
>> structure of the ticket, just accept that we will have some sort of
>> key exchange service interaction at the end of which the client ends
>> up with a shared secret, an algorithm and an identifier that can be
>> passed to the service where the interaction takes place:
>>
>> Content-Integrity: <base64-value> ;ticket=<ticket-data>
>>
>> Note that the method of establishing that ticket in the first place is
>> out of scope for HTTP. Just think of it as something akin to a cookie.
>
> Why implement a MAC using the same field as a MIC?
> Digital signatures are much harder to implement.

This is not a Digital Signature. In fact repudiation is quite often an
undesirable property.

> Why don't the existing digital signature mechanisms suffice?
> I know they haven't been deployed well for HTTP, but I don't know
> why other than the expired patents and chicken/egg problems.

Because they are digital signature mechanisms for a start. And that
means they are tied to things like PKI that are really application
layer not platform layer.

> Why do you think a generic integrity check processor would want
> to implement anything that complex?

MACs are not complex, see Kerberos.

> I agree that some common Dsig standard is needed, and that a good
> way to do that is to simply assume that the shared key is already
> known via other means, but I don't see any need to tie that to a
> generic integrity check field when two different fields would be
> easier to define, argue, and implement.

One of the crossover cases is where a MAC is used with a specified
key. This has some interesting properties as it allows a proof of
knowledge of a content item to be established.

For example, say we have a HEAD request that specifies a key to be
used to calculate a MAC value. We have a lightweight means of seeing
if the service actually stores the content it claims.


> In any case, the hard part is deciding what content is included
> in the hash.  Sometimes folks want to include the whole representation
> (as it exists at the source), others want to include only the payload
> of the current message, and still others want the payload and some
> odd set of header fields.  And then we start talking about canonical
> forms, and pretty soon we are just sick of arguing about it and ship
> some gunk that doesn't actually solve a real problem.

No, the content-integrity header would only cover the content and
nothing else. That is why it is Content-Integrity and not
'Content-and-random-headers-Integrity.

> Trying to do everything at once is a recipe for madness.  Just pick
> a very specific problem to solve, solve it the most efficient way
> for that problem, and use a field name specific to the solution.
> If it turns out to be useful beyond that, that's gravy.

Then we end up with the detritus of everyone's legacy one-off
solutions like Content-MD5.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 14:27:00 2012
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 AE9AF11E80F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 14:27:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.293
X-Spam-Level: 
X-Spam-Status: No, score=-7.293 tagged_above=-999 required=5 tests=[AWL=3.306, BAYES_00=-2.599, 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 SXzGjoaAxwZw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 14:27:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8735811E808F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 14:26:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnG2P-0005nU-TR for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 21:26:05 +0000
Resent-Date: Fri, 06 Jul 2012 21:26:05 +0000
Resent-Message-Id: <E1SnG2P-0005nU-TR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnG2G-0005mj-Ix for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 21:25:56 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnG2A-0000Tx-2M for ietf-http-wg@w3.org; Fri, 06 Jul 2012 21:25:51 +0000
Received: by obqv19 with SMTP id v19so2626091obq.2 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 14:25:24 -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=+kg+hnEYsei21nWBlcCFFJZUcOHtOo9VJCO0PwyZbc8=; b=RZGSCh88PIBmm/whhW9XPdy9Z3qGVJy5LzcGYJWhOCi2eQGqfhvmAxdlDPM418VYgX UoSOKoh3IS4tnHpTqPpsI3p8Qjzx7YuSpyTq8YSV2S5/w9q/7KOZSuX+8Yej/puexmhX hN9OM/rzJ6CoQK40MwGdwwnR0cfVRn0InqcpIBP/nChovsW1c8juU6yqs+TS5PQzZHM9 NTMnowOc7NjaHxuI3Tb8Gnslw973MRBsrqMQROmGrPPYMF6Kb0nVI8Z79hhTQMvmbCAb ynK9DJY62r/otkrLsOB7az0ievfv9APX0ygq4GYE60CnWqLIyw4brPRJmjKuhCXfq68S G9HQ==
MIME-Version: 1.0
Received: by 10.182.160.10 with SMTP id xg10mr26799342obb.76.1341609924137; Fri, 06 Jul 2012 14:25:24 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Fri, 6 Jul 2012 14:25:24 -0700 (PDT)
In-Reply-To: <47280.1341601692@critter.freebsd.dk>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <47280.1341601692@critter.freebsd.dk>
Date: Fri, 6 Jul 2012 17:25:24 -0400
Message-ID: <CAMm+LwjWHDpt33s8tNgjyTvcOZVHcWJ4fg+ip2WPEPSJaE8ASw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SnG2A-0000Tx-2M 2848d5ec767c42f46473a7675d98443b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+LwjWHDpt33s8tNgjyTvcOZVHcWJ4fg+ip2WPEPSJaE8ASw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14033
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 Fri, Jul 6, 2012 at 3:08 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>A better approach would be:
>>
>>Content-Integrity: <base64-value> ;alg=<ID>
>
> Wouldn't you need more fields than that ?
>
> A nonce or psk id for instance ?

The second example has a pre-shared Key ID, essentially a Kerberos
ticket in most cases, I would guess.

Nonces are important but I tend to think of them as something that
should go inside the message content rather than have the transport
binding have to engage with them. Quite often a Web Service
transaction will be split across a series of HTTP transactions and
connections and you want the nonces to carry across the Web Service
Transaction.

Another reason is that a nonce is often useful as an identifier in the
Web Service where it can double as a transaction ID.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 15:14:40 2012
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 C560911E8143 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 15:14:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.42
X-Spam-Level: 
X-Spam-Status: No, score=-7.42 tagged_above=-999 required=5 tests=[AWL=3.179, BAYES_00=-2.599, 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 8Z4HkBo-TqNt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 15:14:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BECB511E80B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 15:14:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnGmL-0001zq-UC for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 22:13:33 +0000
Resent-Date: Fri, 06 Jul 2012 22:13:33 +0000
Resent-Message-Id: <E1SnGmL-0001zq-UC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnGmE-0001yz-Rs for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 22:13:26 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnGmD-0001cP-EB for ietf-http-wg@w3.org; Fri, 06 Jul 2012 22:13:26 +0000
Received: by obqv19 with SMTP id v19so2687895obq.2 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 15:12:59 -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 :content-type; bh=ya6A3V09cDIsdvT0PnU3Pl9953cWV/c/5TYZjM6Pd/Y=; b=WrInQSpM+QOLdx//8LcbGHRUR+69HxP9j8VqO6dr2MR6qbxIuT2Ct8iEDpLorJNLj2 pUortHcAJ296BNPU9Exz3LjlbUKixxCfUSdpCXhb0W6p2UyNTIyYOvb2tOPH7bocERno Rk8X5G1UvIA6XCFA7TEpEdoVpCqTTZ6d9FPWNgTb/gmfskOR3RLMAweNlk1iI0HxybEI OvasJNeZUpF4gn1jtJWoQd55c5gT7u8eIK60xnyA0VisA+sY736TS1pWT8FuPdV+59fS R4ryTZIMJLpCaupnJH5c7WnB805c/H/AbSzfSFqTTbwHW9i2J0hP/WX50LhPkEM/By7o GHFA==
MIME-Version: 1.0
Received: by 10.182.74.68 with SMTP id r4mr27414335obv.31.1341612779584; Fri, 06 Jul 2012 15:12:59 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Fri, 6 Jul 2012 15:12:59 -0700 (PDT)
In-Reply-To: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com>
Date: Fri, 6 Jul 2012 18:12:59 -0400
Message-ID: <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SnGmD-0001cP-EB 21abef5c8f862ac365b3f4951dccade8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14034
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>

Someone pointed me to this in a private message:
http://tools.ietf.org/html/rfc3230#section-4.3.2

This is a Proposed Standard and defines a Digest header that covers
the digest only functionality.

The digest header is not really suited to extension so that suggests
that a MAC only header such as Content-MAC or MAC would be more
appropriate.



On Fri, Jul 6, 2012 at 2:43 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> HTTP 1.0 specifies a header Content-MD5.
>
> This is a bad header for all sorts of reasons, not least that the
> header was added despite the fact that I told people that MD5 had just
> been severely compromised. In particular there is only one digest
> algorithm specified and no way to use others.
>
> A better approach would be:
>
> Content-Integrity: <base64-value> ;alg=<ID>
>
>
> For many Web Services, what we would like to do is to specify a MAC
> rather than a digest and to use a preshared key identified by some
> form of kerberos-like ticket. We don't need to specify the internal
> structure of the ticket, just accept that we will have some sort of
> key exchange service interaction at the end of which the client ends
> up with a shared secret, an algorithm and an identifier that can be
> passed to the service where the interaction takes place:
>
> Content-Integrity: <base64-value> ;ticket=<ticket-data>
>
> Note that the method of establishing that ticket in the first place is
> out of scope for HTTP. Just think of it as something akin to a cookie.
> There are many ways that structure can be established but those are
> for the Web Service to manage, not something we should bind into HTTP.
>
>
> This approach is of course very similar to the www-authenticate header
> but with the major distinction that WWW-Authenticate is really about
> key establishment and this is a mechanism to apply the result of a key
> establishment to a content payload. But I guess if people think it
> better to re-use WWW-Authenticate than to introduce a new header, I
> can go with that.
>
> The way we authenticate Web Services transactions today is of course
> through either TLS or by embedding the authentication data into the
> content through something like JSON Signature or XML Signature or via
> something like WS-*. I don't particularly like these approaches as the
> content authentication is really meta-data for the content and that
> means it belongs in the HTTP header and not in the transport layer or
> in the content itself. That is what the HTTP headers are there for,
> making meta-data statements about the content.
>
> We seem to have got into a position where Web Services means 'just run
> over HTTP as if it was TCP/IP with firewall bypass'. I think we could
> make Web Services a lot simpler by using HTTP for the purpose it was
> intended and not duplicating that functionality in SOAP or whatever.
>
>
> I have discussed this with David Crocker and his DOSETA scheme. I
> think this is a case where if HTTP has the right socket, we can both
> plug into it.
>
> --
> Website: http://hallambaker.com/



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 16:25:55 2012
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 7FF5E11E80AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 16:25:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.58
X-Spam-Level: 
X-Spam-Status: No, score=-8.58 tagged_above=-999 required=5 tests=[AWL=2.019, BAYES_00=-2.599, 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 novEtUcLOedS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 16:25:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5491F11E8093 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 16:25:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnHsx-0007C8-M0 for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Jul 2012 23:24:27 +0000
Resent-Date: Fri, 06 Jul 2012 23:24:27 +0000
Resent-Message-Id: <E1SnHsx-0007C8-M0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SnHsq-0007B6-9J for ietf-http-wg@listhub.w3.org; Fri, 06 Jul 2012 23:24:20 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SnHso-0001NT-PL for ietf-http-wg@w3.org; Fri, 06 Jul 2012 23:24:19 +0000
Received: by wgbdt14 with SMTP id dt14so9114349wgb.26 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 16:23:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4P3EXlMkt2sVu/Ggc4zZK+BDCEuqm3m/refF2oF5Lqc=; b=iT2FFs1pPKsuMW8chmuHBDDeQbS3Njij7rOdoZLPLD2RA7xkEke6aJfTaSuRS7qwi8 1BS3bR+hSM51NotxVlXfcNtaAT19j0PtuFxUuds0vIj7e02P8xxbDS1ZJeVwI2kAvZ44 QNlTgHd6zOeTFEGwm4On1138tpAVyKEpJab0KnCn1SZ99fUzLIC4+03H04ZnBFQEvEMI OB5Hu4QP81Eb0YvheDhO6g6/BlG9layS6o5UWNWl3TVDTaaw8MQPZkBrng84/tnezpvW Re68k8dgrQJ8eWzB4/gVFx9CzI/yR3wqaZDbRTpZ09VSjS+5qcJESoJB7deAZFpqF7Wv o0XQ==
Received: by 10.216.4.147 with SMTP id 19mr448903wej.109.1341617032633; Fri, 06 Jul 2012 16:23:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.173.67 with HTTP; Fri, 6 Jul 2012 16:23:32 -0700 (PDT)
In-Reply-To: <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 6 Jul 2012 16:23:32 -0700
Message-ID: <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SnHso-0001NT-PL ee051c62dd4fe246cce961bff73d8bc6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14035
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>

In general, I'm +1 on the general idea albeit with a few caveats...

1. To minimize complexity, only a single Content-Integrity header
should be used. I don't want, as Roy points out, to have to iterated
through a bunch of unsupported header values looking for the one I
want. Just as it makes very little sense for an implementor to provide
multiple Last-Modified, Etag and Content-Type headers in a single
message; there should be only a single Content-Integrity statement and
I either understand it or I don't.

2. The performance impact of calculating the digest needs to be
carefully considered. I'd rather not be required to buffer a full
representation in memory all the time just to calculate a header
value. I know it's largely unavoidable, but perhaps there's some
currently elusive solution that can be considered. For instance..
allowing Content-Integrity to appear as a trailer at the end of a
chunked response.

3. Something needs to be said about what happens if the
Content-Integrity check fails. For instance, if a request containing
Content-Integrity is sent to the server and the server detects that
the signature is invalid, what should happen? what must happen?
Likewise, how are intermediaries expected to treat the
Content-Integrity header given that any intermediary is able to modify
the payload at any time?

- James

On Fri, Jul 6, 2012 at 3:12 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> Someone pointed me to this in a private message:
> http://tools.ietf.org/html/rfc3230#section-4.3.2
>
> This is a Proposed Standard and defines a Digest header that covers
> the digest only functionality.
>
> The digest header is not really suited to extension so that suggests
> that a MAC only header such as Content-MAC or MAC would be more
> appropriate.
>
>
>
> On Fri, Jul 6, 2012 at 2:43 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> HTTP 1.0 specifies a header Content-MD5.
>>
>> This is a bad header for all sorts of reasons, not least that the
>> header was added despite the fact that I told people that MD5 had just
>> been severely compromised. In particular there is only one digest
>> algorithm specified and no way to use others.
>>
>> A better approach would be:
>>
>> Content-Integrity: <base64-value> ;alg=<ID>
>>
>>
>> For many Web Services, what we would like to do is to specify a MAC
>> rather than a digest and to use a preshared key identified by some
>> form of kerberos-like ticket. We don't need to specify the internal
>> structure of the ticket, just accept that we will have some sort of
>> key exchange service interaction at the end of which the client ends
>> up with a shared secret, an algorithm and an identifier that can be
>> passed to the service where the interaction takes place:
>>
>> Content-Integrity: <base64-value> ;ticket=<ticket-data>
>>
>> Note that the method of establishing that ticket in the first place is
>> out of scope for HTTP. Just think of it as something akin to a cookie.
>> There are many ways that structure can be established but those are
>> for the Web Service to manage, not something we should bind into HTTP.
>>
>>
>> This approach is of course very similar to the www-authenticate header
>> but with the major distinction that WWW-Authenticate is really about
>> key establishment and this is a mechanism to apply the result of a key
>> establishment to a content payload. But I guess if people think it
>> better to re-use WWW-Authenticate than to introduce a new header, I
>> can go with that.
>>
>> The way we authenticate Web Services transactions today is of course
>> through either TLS or by embedding the authentication data into the
>> content through something like JSON Signature or XML Signature or via
>> something like WS-*. I don't particularly like these approaches as the
>> content authentication is really meta-data for the content and that
>> means it belongs in the HTTP header and not in the transport layer or
>> in the content itself. That is what the HTTP headers are there for,
>> making meta-data statements about the content.
>>
>> We seem to have got into a position where Web Services means 'just run
>> over HTTP as if it was TCP/IP with firewall bypass'. I think we could
>> make Web Services a lot simpler by using HTTP for the purpose it was
>> intended and not duplicating that functionality in SOAP or whatever.
>>
>>
>> I have discussed this with David Crocker and his DOSETA scheme. I
>> think this is a case where if HTTP has the right socket, we can both
>> plug into it.
>>
>> --
>> Website: http://hallambaker.com/
>
>
>
> --
> Website: http://hallambaker.com/
>


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 19:19:59 2012
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 E9F5921F8555 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 19:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.093
X-Spam-Level: 
X-Spam-Status: No, score=-7.093 tagged_above=-999 required=5 tests=[AWL=3.506, BAYES_00=-2.599, 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 oAd1-R1KIx6I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 19:19:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DF1B221F8554 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 19:19:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnKai-0002IK-2V for ietf-http-wg-dist@listhub.w3.org; Sat, 07 Jul 2012 02:17:48 +0000
Resent-Date: Sat, 07 Jul 2012 02:17:48 +0000
Resent-Message-Id: <E1SnKai-0002IK-2V@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 1SnKab-0002HZ-Kp for ietf-http-wg@listhub.w3.org; Sat, 07 Jul 2012 02:17:41 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SnKaa-000699-Bb for ietf-http-wg@w3.org; Sat, 07 Jul 2012 02:17:41 +0000
Received: by bkty15 with SMTP id y15so4108595bkt.2 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 19:17:14 -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=oDwFOQ/nQxRKClPTzKD7yo1OB7tvzfDuaokHIKC1ybs=; b=yZVM5AT+k0jx/IiqZVs5IhK1FfRXRpwx/+V+rGogexaklREWqBpr1KKuWCf5uNMAEu qxqTCAFl+Mkk492y0wAhjfgtCVesIuFgrAeMDMgyc+0bK4R5TNYYDc8cMpQUng+4IamD 7t2KUt6CM/Q8HSXbOsBA1EmwFUyKjxs/dfeUbjkQx2MLEE/i6MKcsqcOWjePdd1Q//hg fOx1d8l5Q5t8aTlha8PpZo323/8XjuIvx7hTX9rfoGAqaWdwjeApisMprdsbI0du1PaT aOVxFTP3WXVr8KcRrkNibQAx1pUz4JggCGHyqeTr+JfQg2BzNHSodB2xaSyIlx3N8Icw q2Eg==
MIME-Version: 1.0
Received: by 10.205.132.6 with SMTP id hs6mr16168035bkc.26.1341627433870; Fri, 06 Jul 2012 19:17:13 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Fri, 6 Jul 2012 19:17:13 -0700 (PDT)
In-Reply-To: <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com> <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com>
Date: Fri, 6 Jul 2012 19:17:13 -0700
Message-ID: <CABkgnnU+ZO_2HyL8vjkCg-_h69GM=movD87kZrDz9+CsP8n8pQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SnKaa-000699-Bb 025c3bf95ae4cbd7efd2ca5c98133b24
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CABkgnnU+ZO_2HyL8vjkCg-_h69GM=movD87kZrDz9+CsP8n8pQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14036
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 6 July 2012 16:23, James M Snell <jasnell@gmail.com> wrote:
> 2. The performance impact of calculating the digest needs to be
> carefully considered. I'd rather not be required to buffer a full
> representation in memory all the time just to calculate a header

Trailer: Digest


From ietf-http-wg-request@listhub.w3.org  Fri Jul  6 19:39:56 2012
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 A544D11E80BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 19:39:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.538
X-Spam-Level: 
X-Spam-Status: No, score=-7.538 tagged_above=-999 required=5 tests=[AWL=3.061, BAYES_00=-2.599, 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 o8mqJad-Vgk1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  6 Jul 2012 19:39:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4015011E808C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  6 Jul 2012 19:39:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SnKub-00021B-88 for ietf-http-wg-dist@listhub.w3.org; Sat, 07 Jul 2012 02:38:21 +0000
Resent-Date: Sat, 07 Jul 2012 02:38:21 +0000
Resent-Message-Id: <E1SnKub-00021B-88@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnKuU-00020D-Dh for ietf-http-wg@listhub.w3.org; Sat, 07 Jul 2012 02:38:14 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SnKuT-0000ez-3C for ietf-http-wg@w3.org; Sat, 07 Jul 2012 02:38:14 +0000
Received: by obqv19 with SMTP id v19so3007792obq.2 for <ietf-http-wg@w3.org>; Fri, 06 Jul 2012 19:37:47 -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=ceq+qUJosY8yTVnSvFATBzpFEk0Rm1dHPn6cgCA0LS4=; b=Kxxvp4+artTySifYCMIeJATQocvO5F2nWpVleKFbxyHxScB5WF6Q0sD+ygWWPAuCVH dHAQOcNe6KIySh1N0i5z89xeh29O1Frk6SYnjJMkfxOGf0wNQCDsvD52TZaTihVQHqQe M9GE4K6K/7JlCwydGPcQ+xlA3Ynpi4R60xox3TPYu/ibSvu6cBcdJeUZ+/5Ssr3Ci2h0 ng/SYZrTqjJQjBRQs+zMcXoZm1iD07nMNwCYGCBZRAc21j6TWNmxT2IvbBADlo/CFWGM yEdqkt3sXi2WNcMCSFemtDmpSM0S8WwVyBVLHg5oSmYuL8Ed2PUn1UA9aTk+V5iTkDi9 o4rA==
MIME-Version: 1.0
Received: by 10.60.25.6 with SMTP id y6mr33785020oef.42.1341628667273; Fri, 06 Jul 2012 19:37:47 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Fri, 6 Jul 2012 19:37:47 -0700 (PDT)
In-Reply-To: <CABkgnnU+ZO_2HyL8vjkCg-_h69GM=movD87kZrDz9+CsP8n8pQ@mail.gmail.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com> <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com> <CABkgnnU+ZO_2HyL8vjkCg-_h69GM=movD87kZrDz9+CsP8n8pQ@mail.gmail.com>
Date: Fri, 6 Jul 2012 22:37:47 -0400
Message-ID: <CAMm+LwhUZ8okz9rEhHfCd0yDxitBqKvWAYoU+nuhegjTK0emdA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SnKuT-0000ez-3C c92aab4f0265a5775cdd0de2766395d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+LwhUZ8okz9rEhHfCd0yDxitBqKvWAYoU+nuhegjTK0emdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14037
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 was just looking at the spec to make sure it was still in.

Specifying digest and MAC values is exactly what I intended the
trailer in chunked encoding to be used for.

       Chunked-Body   = *chunk
                        last-chunk
                        trailer
                        CRLF
       chunk          = chunk-size [ chunk-extension ] CRLF
                        chunk-data CRLF
       chunk-size     = 1*HEX
       last-chunk     = 1*("0") [ chunk-extension ] CRLF
       chunk-extension= *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
       chunk-ext-name = token
       chunk-ext-val  = token | quoted-string
       chunk-data     = chunk-size(OCTET)
       trailer        = *(entity-header CRLF)

So given that we have Digest: defined as a header, should we try to
work from that or add in a separate header for MAC?

I prefer the second given where we are.

On Fri, Jul 6, 2012 at 10:17 PM, Martin Thomson
<martin.thomson@gmail.com> wrote:
> On 6 July 2012 16:23, James M Snell <jasnell@gmail.com> wrote:
>> 2. The performance impact of calculating the digest needs to be
>> carefully considered. I'd rather not be required to buffer a full
>> representation in memory all the time just to calculate a header
>
> Trailer: Digest



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Sun Jul  8 11:59:13 2012
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 C28E721F8610 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  8 Jul 2012 11:59:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.904
X-Spam-Level: 
X-Spam-Status: No, score=-3.904 tagged_above=-999 required=5 tests=[AWL=2.885, BAYES_40=-0.185, MIME_QP_LONG_LINE=1.396, 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 Z+fjw6lkq5+p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  8 Jul 2012 11:59:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3206D21F860F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  8 Jul 2012 11:59:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Snwep-00064d-SY for ietf-http-wg-dist@listhub.w3.org; Sun, 08 Jul 2012 18:56:35 +0000
Resent-Date: Sun, 08 Jul 2012 18:56:35 +0000
Resent-Message-Id: <E1Snwep-00064d-SY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1Snwej-00063m-7O for ietf-http-wg@listhub.w3.org; Sun, 08 Jul 2012 18:56:29 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1Snweh-0007AQ-O5 for ietf-http-wg@w3.org; Sun, 08 Jul 2012 18:56:28 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1341773776; d=isode.com; s=selector; i=@isode.com; bh=+29J61zWtT5Z0R2Wct8Fcx9nrowKP+WfkBm1jv+Rlcg=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=hjU6sfW/6Btz28PStPj/nYoDyyBEgImbPHL/pHFsv9wix7BwJ0540YU8Cj1PyaKNPJEpiO wwrn6ioYxGpJrlwgJA3soNPOc/qGUQ1xOJvpKl957Zh/WzROKA8GgIkHhwHVV+qGh6HxnI IDqNONNLubyVlkRwg3Yt5UYv1oqXD1M=;
Received: from [188.28.217.121] (188.28.217.121.threembb.co.uk [188.28.217.121])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <T=nXzwAkRBM9@waldorf.isode.com>; Sun, 8 Jul 2012 19:56:16 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: iPad Mail (9B206)
Message-Id: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com>
Date: Sun, 8 Jul 2012 19:56:03 +0100
To: HTTP Working Group <ietf-http-wg@w3.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Snweh-0007AQ-O5 034fa757d22e0fc3f1fde954a435d2f9
X-Original-To: ietf-http-wg@w3.org
Subject: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14038
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 think it is worth investing some WG time into this proposal, because sever=
al proposals (+ existing Kerberos) are already multilegged. Otherwise new sc=
hemes would need to reinvent this, for example using "sid" directive.



From ietf-http-wg-request@listhub.w3.org  Sun Jul  8 15:52:34 2012
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 31D2C21F8736 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  8 Jul 2012 15:52:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.038
X-Spam-Level: 
X-Spam-Status: No, score=-7.038 tagged_above=-999 required=5 tests=[AWL=2.939, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 vZ+L9OyG3Ehd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  8 Jul 2012 15:52:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7EAC921F871D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  8 Jul 2012 15:52:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1So0Jd-0004rz-L8 for ietf-http-wg-dist@listhub.w3.org; Sun, 08 Jul 2012 22:50:57 +0000
Resent-Date: Sun, 08 Jul 2012 22:50:57 +0000
Resent-Message-Id: <E1So0Jd-0004rz-L8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1So0JU-0004rE-UC for ietf-http-wg@listhub.w3.org; Sun, 08 Jul 2012 22:50:48 +0000
Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a98.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1So0JT-0005dC-HY for ietf-http-wg@w3.org; Sun, 08 Jul 2012 22:50:48 +0000
Received: from homiemail-a98.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTP id BF3182C2058 for <ietf-http-wg@w3.org>; Sun,  8 Jul 2012 15:50:25 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=u9VnINleIE6gBETPjKTVw yfvrt0O1CaTQnBPsJIps4d6D5sJlxoLDWSicdEnRXMPawMuakxjcBNKmrZDIlbK6 7lDMqw/T6hFs8roQO4XUI2EKVAd9WQmUHdqcBfLw40JOQhcVsrsjqpwsAgaIFi0w WuS8X22egyWv3rAuVlSHig=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=qWCTtmeTndqYBp5dfGnp jwJ4Wew=; b=fu73CIPTNvxZuVZS9csqYNPiqB4iiJGJEjWQkCNpacsCiy61c+du Yc10OeBrIVcIota3lXZKf5XhokvMiTugdcUTDlIq7kYIWod0Cs99BAhnwpleb7eo iBEWsXsJ8wRA7IQhb/i8biWosw0fD/InEKR9o95i8yZOWvMvqDZ4koA=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTPSA id ABE632C2057 for <ietf-http-wg@w3.org>; Sun,  8 Jul 2012 15:50:25 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so17369133pbc.2 for <ietf-http-wg@w3.org>; Sun, 08 Jul 2012 15:50:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.82.228 with SMTP id l4mr24659219pay.41.1341787825243; Sun, 08 Jul 2012 15:50:25 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Sun, 8 Jul 2012 15:50:25 -0700 (PDT)
In-Reply-To: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com>
Date: Sun, 8 Jul 2012 17:50:25 -0500
Message-ID: <CAK3OfOi4VNRYrF31=DasKP=YHyRJ3e0y1X54q7UCiiywgxYFJQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.177; envelope-from=nico@cryptonector.com; helo=homiemail-a98.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1So0JT-0005dC-HY e7f77c95f99b2d7f312d0c289bcd1629
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/CAK3OfOi4VNRYrF31=DasKP=YHyRJ3e0y1X54q7UCiiywgxYFJQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14039
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 Sun, Jul 8, 2012 at 1:56 PM, Alexey Melnikov
<alexey.melnikov@isode.com> wrote:
> I think it is worth investing some WG time into this proposal, because several proposals (+ existing Kerberos) are already multilegged. Otherwise new schemes would need to reinvent this, for example using "sid" directive.

I sought to generalize this with REST-GSS (which really uses SASL/GS2,
not GSS directly).  Any comments?

Nico
--


From ietf-http-wg-request@listhub.w3.org  Sun Jul  8 20:04:18 2012
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 8580821F880C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  8 Jul 2012 20:04:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.432
X-Spam-Level: 
X-Spam-Status: No, score=-9.432 tagged_above=-999 required=5 tests=[AWL=0.545, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 xBvXtV5FmgTd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  8 Jul 2012 20:04:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A7E8A21F87FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  8 Jul 2012 20:04:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1So4FI-0004bG-FY for ietf-http-wg-dist@listhub.w3.org; Mon, 09 Jul 2012 03:02:44 +0000
Resent-Date: Mon, 09 Jul 2012 03:02:44 +0000
Resent-Message-Id: <E1So4FI-0004bG-FY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1So4FA-0004aV-Og for ietf-http-wg@listhub.w3.org; Mon, 09 Jul 2012 03:02:36 +0000
Received: from na3sys010aog106.obsmtp.com ([74.125.245.80]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1So4F8-0003wG-V8 for ietf-http-wg@w3.org; Mon, 09 Jul 2012 03:02:36 +0000
Received: from mail-yw0-f45.google.com ([209.85.213.45]) (using TLSv1) by na3sys010aob106.postini.com ([74.125.244.12]) with SMTP ID DSNKT/pJtBQKECI+fK5xVG4/QlCPEqKyjHXk@postini.com; Sun, 08 Jul 2012 20:02:35 PDT
Received: by yhoo21 with SMTP id o21so11709445yho.4 for <ietf-http-wg@w3.org>; Sun, 08 Jul 2012 20:02:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LacjtWbC4vddf+SQ3Ocsqcch5SE1NbiHp7eQSitUP7c=; b=OCnXGaTvSluYhpZ+q9CRoDVy3a1TRTZ3SvdRHZ/Fsicov0gB7xftFLJS7JlwFSYm+Y ditjdGEaB5gOAbwh9sBngH0LiH/Fb7DcqUHn/q34RzN8nPzWfHB89XvvzHOacOvEZzSn JhUqXaPNOnz4S6i/D6DI32i+QkfYPPqpdLaAY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=LacjtWbC4vddf+SQ3Ocsqcch5SE1NbiHp7eQSitUP7c=; b=T9bogSFXLf9b7ifNWEBcjTMTxiBMvB34O2o8zTfhNkwu6Q3jfpmvmjbUou918VpTt+ 8j2V8+/+TBZ48mrawISW3rtaiAMERRkF7prm6huz/OwtdzyTSboQc7rfPQA82N5C/c0i s0LDHljWbx+d8fxUBVDpr/yHfanJ0e9Qt7tgos5WaeptXHuUsy1mh2dHAJV/q2XeK3Q4 +5iPjyV7UIO7KcbP/3A+naRJzby/wspp904iF/sfonG7Ru25l5Y1IXD7BzCYihn6087+ W/gl54xAsz11FA3nyJqworMoQhUtpy7tQXlqUKySpv6pW/ocW7+pyIkZE6PQiIATuUJN 8YfA==
Received: by 10.42.189.73 with SMTP id dd9mr19656452icb.49.1341802932160; Sun, 08 Jul 2012 20:02:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Sun, 8 Jul 2012 20:01:52 -0700 (PDT)
In-Reply-To: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Mon, 9 Jul 2012 12:01:52 +0900
Message-ID: <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQlR6tBlXYlPQI66GNfOGH0odxDKvPJNJ0MZKxxK8rrqjJe2GNp/3FoF2s2IbXaer6HNAeqS
Received-SPF: pass client-ip=74.125.245.80; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog106.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1So4F8-0003wG-V8 707fd84502d3fca67cc26e492054a097
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14040
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>

Dear Alexey,

2012/7/9 Alexey Melnikov <alexey.melnikov@isode.com>:
> I think it is worth investing some WG time into this proposal, because several proposals (+ existing Kerberos) are already multilegged. Otherwise new schemes would need to reinvent this, for example using "sid" directive.

I agree that it is good to have a unified vehicle for managing
sessions for multi-legged auth.

Actually, more than three-quarters of
my proposal is technically a common vehicle for multi-legged
authentication with optional re-use of key-based shared
secret for authorizing multiple requests without full key-exchange.
I think Alexey's SCRAM-SHA1 proposal completely fits
with this model, and I actually thought to propose, to Alexey,
to merge session-managing part of two proposals to one
unified scheme.  One possibility for me is to write (or propose)
an experimental draft for putting SCRAM-SHA1 onto my vehicle,
to see how it works or not.

Gabriel's draft is interesting in the way that connection-based
existing authentication schemes (NTLM and Negotiate)
into HTTP/2.0 world.  These things are declared "broken" in
current HTTP/1.1-bis discussions, and without considerations
it will not be useful for HTTP/2.0.
There should be a debate about how we treat existing connection-based
authentication for future, and if we decide it will survive, we will need
Gabriel's one or similar.

For key-based multi-legged authentications (things similar Digest, including
Mutual and SCRAM-SHA1), at the first glance, it seems not well
designed for key-based, but it is still interesting for me, because
it will show how these things are different, and how the common things
can be picked up.

My intuition at current moment is to have TWO common vehicles for
HTTP-layer multi-legged authentications, one for connection-based and
one for key-based (this is not a strong opinion, just an observation).
I want to continue research on how these two things are related,
to make common things common, and to keep different things different :-)

-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 10:19:23 2012
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 9851911E8163 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 10:19:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.845
X-Spam-Level: 
X-Spam-Status: No, score=-6.845 tagged_above=-999 required=5 tests=[AWL=3.754, BAYES_00=-2.599, 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 5rV8FyLUvt5J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 10:19:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B826B11E8104 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 10:19:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoHb6-0000Da-Hl for ietf-http-wg-dist@listhub.w3.org; Mon, 09 Jul 2012 17:18:08 +0000
Resent-Date: Mon, 09 Jul 2012 17:18:08 +0000
Resent-Message-Id: <E1SoHb6-0000Da-Hl@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SoHay-0000By-OF for ietf-http-wg@listhub.w3.org; Mon, 09 Jul 2012 17:18:00 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SoHax-0003N7-3X for ietf-http-wg@w3.org; Mon, 09 Jul 2012 17:18:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1341854270; d=isode.com; s=selector; i=@isode.com; bh=fHN7xIswX/ajGoGf/STNEhwfYXi9caqoH6COtsQGz14=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Lct+8UGTRTYeOjEnFch8GVeQWA71IKdiyj23r8fV9eZFR/SF4hMW+wwI+pBydrkQ/RmWDD rZfB24fECFZq0ZGzTERvZm2yYyB3vkVe5/21DAWiARnTfqp2VgsgkXC/wVLRybMO7PBGnk W/0A++OZEJBT3CoN12zWH06GvsZ0bDQ=;
Received: from [172.16.11.4] (shiny.isode.com [62.3.217.250])  by waldorf.isode.com (submission channel) via TCP with ESMTPA  id <T=sSPAAkRIo0@waldorf.isode.com>; Mon, 9 Jul 2012 18:17:50 +0100
Message-ID: <4FFB1239.9010406@isode.com>
Date: Mon, 09 Jul 2012 18:17:45 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com>
In-Reply-To: <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SoHax-0003N7-3X 83cc37ccf78bb8f908605cb6c49e7322
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/4FFB1239.9010406@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14041
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 09/07/2012 04:01, Yutaka OIWA wrote:
> Dear Alexey,
>
> 2012/7/9 Alexey Melnikov<alexey.melnikov@isode.com>:
>> I think it is worth investing some WG time into this proposal, because several proposals (+ existing Kerberos) are already multilegged. Otherwise new schemes would need to reinvent this, for example using "sid" directive.
> I agree that it is good to have a unified vehicle for managing
> sessions for multi-legged auth.
>
> Actually, more than three-quarters of
> my proposal is technically a common vehicle for multi-legged
> authentication with optional re-use of key-based shared
> secret for authorizing multiple requests without full key-exchange.
> I think Alexey's SCRAM-SHA1 proposal completely fits
> with this model, and I actually thought to propose, to Alexey,
> to merge session-managing part of two proposals to one
> unified scheme.  One possibility for me is to write (or propose)
> an experimental draft for putting SCRAM-SHA1 onto my vehicle,
> to see how it works or not.
Dear Yutaka,
I reviewed your draft and I thought that several features of it are 
indeed generic among HTTP authentication mechanisms and should be split 
out to a generic HTTP authentication related document (or at least into 
a separate section of one of your existing drafts).

So yes, I generally support doing what you suggest. But I think it might 
be worth delaying any specific work until the WG decides on which HTTP 
authentication-related documents it should work.
> Gabriel's draft is interesting in the way that connection-based
> existing authentication schemes (NTLM and Negotiate)
> into HTTP/2.0 world.  These things are declared "broken" in
> current HTTP/1.1-bis discussions, and without considerations
> it will not be useful for HTTP/2.0.
> There should be a debate about how we treat existing connection-based
> authentication for future, and if we decide it will survive, we will need
> Gabriel's one or similar.
>
> For key-based multi-legged authentications (things similar Digest, including
> Mutual and SCRAM-SHA1), at the first glance, it seems not well
> designed for key-based, but it is still interesting for me, because
> it will show how these things are different, and how the common things
> can be picked up.
>
> My intuition at current moment is to have TWO common vehicles for
> HTTP-layer multi-legged authentications, one for connection-based and
> one for key-based (this is not a strong opinion, just an observation).
> I want to continue research on how these two things are related,
> to make common things common, and to keep different things different :-)

I haven't made my mind about this issue yet. So I am looking forward for 
more discussion.

Best Regards,
Alexey



From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 12:11:08 2012
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 AD4D921F85E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 12:11:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level: 
X-Spam-Status: No, score=-7.099 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, 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 NesNiVKseW2t for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 12:11:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6FDC421F85E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 12:11:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoJKl-0002vb-Jt for ietf-http-wg-dist@listhub.w3.org; Mon, 09 Jul 2012 19:09:23 +0000
Resent-Date: Mon, 09 Jul 2012 19:09:23 +0000
Resent-Message-Id: <E1SoJKl-0002vb-Jt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SoJKe-0002uO-AF for ietf-http-wg@listhub.w3.org; Mon, 09 Jul 2012 19:09:16 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SoJKd-0000jo-2r for ietf-http-wg@w3.org; Mon, 09 Jul 2012 19:09:16 +0000
Received: by qafl39 with SMTP id l39so1855544qaf.2 for <ietf-http-wg@w3.org>; Mon, 09 Jul 2012 12:08:49 -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=TPC76f5foWl4Ihc2lKUylPN4r/P5ere1ygolrnA4dqY=; b=viAZoW0l4RHvxv0j8e1PFHCpu9DSF/hDW4KfePLpXDIDqGUJEt6DYZxLINbMmdBnZX ZeDquvLu/vyMjxj0cEmRWogotTS0uy8XHqlGj+PCZPb1EAKb544zH3MgjsknCtjAuKmQ TT06wZgi0wrRXfQOT8T/UNM9yQ1Aaec8zxPjaCL255z4T36UMEou6NEf6Kyddr7D6nLd kUKBn1T9LZQ6Jw5/LCxEK+RULIxpc5Yx5nOk5akb3iFiB1jZansrj89NQMlZTaSBMbf6 yK7KmXX/c9LDapWPk5GjP+46hnr4ra6w/pdTqsEM6plR5qIYYiYBnIdA6ltaMt5LnfMy AFfQ==
MIME-Version: 1.0
Received: by 10.224.177.1 with SMTP id bg1mr26348759qab.68.1341860929087; Mon, 09 Jul 2012 12:08:49 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Mon, 9 Jul 2012 12:08:48 -0700 (PDT)
In-Reply-To: <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com> <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com>
Date: Tue, 10 Jul 2012 04:08:48 +0900
Message-ID: <CAGipQFkB0KR0r+cHGqyYDVm-1nGt-=78ydmehUZyBOHp+tJ-Qg@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: ietf-http-wg@w3.org
Cc: Phillip Hallam-Baker <hallam@gmail.com>, James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.50; envelope-from=lef.mutualauth@gmail.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SoJKd-0000jo-2r 3d71b0e134b8881e8d39b0962d437f35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAGipQFkB0KR0r+cHGqyYDVm-1nGt-=78ydmehUZyBOHp+tJ-Qg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14042
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>

+1

I know that this is demanded.
When I discussion about http-authentication and phishing,
it is requested by many people.
It is a difficult problem.
ex) proxy...

I think that it is good to do this discussion now.

---
Tatsuya

On Sat, Jul 7, 2012 at 8:23 AM, James M Snell <jasnell@gmail.com> wrote:
> In general, I'm +1 on the general idea albeit with a few caveats...
>
> 1. To minimize complexity, only a single Content-Integrity header
> should be used. I don't want, as Roy points out, to have to iterated
> through a bunch of unsupported header values looking for the one I
> want. Just as it makes very little sense for an implementor to provide
> multiple Last-Modified, Etag and Content-Type headers in a single
> message; there should be only a single Content-Integrity statement and
> I either understand it or I don't.
>
> 2. The performance impact of calculating the digest needs to be
> carefully considered. I'd rather not be required to buffer a full
> representation in memory all the time just to calculate a header
> value. I know it's largely unavoidable, but perhaps there's some
> currently elusive solution that can be considered. For instance..
> allowing Content-Integrity to appear as a trailer at the end of a
> chunked response.
>
> 3. Something needs to be said about what happens if the
> Content-Integrity check fails. For instance, if a request containing
> Content-Integrity is sent to the server and the server detects that
> the signature is invalid, what should happen? what must happen?
> Likewise, how are intermediaries expected to treat the
> Content-Integrity header given that any intermediary is able to modify
> the payload at any time?
>
> - James
>
> On Fri, Jul 6, 2012 at 3:12 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> Someone pointed me to this in a private message:
>> http://tools.ietf.org/html/rfc3230#section-4.3.2
>>
>> This is a Proposed Standard and defines a Digest header that covers
>> the digest only functionality.
>>
>> The digest header is not really suited to extension so that suggests
>> that a MAC only header such as Content-MAC or MAC would be more
>> appropriate.
>>
>>
>>
>> On Fri, Jul 6, 2012 at 2:43 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>> HTTP 1.0 specifies a header Content-MD5.
>>>
>>> This is a bad header for all sorts of reasons, not least that the
>>> header was added despite the fact that I told people that MD5 had just
>>> been severely compromised. In particular there is only one digest
>>> algorithm specified and no way to use others.
>>>
>>> A better approach would be:
>>>
>>> Content-Integrity: <base64-value> ;alg=<ID>
>>>
>>>
>>> For many Web Services, what we would like to do is to specify a MAC
>>> rather than a digest and to use a preshared key identified by some
>>> form of kerberos-like ticket. We don't need to specify the internal
>>> structure of the ticket, just accept that we will have some sort of
>>> key exchange service interaction at the end of which the client ends
>>> up with a shared secret, an algorithm and an identifier that can be
>>> passed to the service where the interaction takes place:
>>>
>>> Content-Integrity: <base64-value> ;ticket=<ticket-data>
>>>
>>> Note that the method of establishing that ticket in the first place is
>>> out of scope for HTTP. Just think of it as something akin to a cookie.
>>> There are many ways that structure can be established but those are
>>> for the Web Service to manage, not something we should bind into HTTP.
>>>
>>>
>>> This approach is of course very similar to the www-authenticate header
>>> but with the major distinction that WWW-Authenticate is really about
>>> key establishment and this is a mechanism to apply the result of a key
>>> establishment to a content payload. But I guess if people think it
>>> better to re-use WWW-Authenticate than to introduce a new header, I
>>> can go with that.
>>>
>>> The way we authenticate Web Services transactions today is of course
>>> through either TLS or by embedding the authentication data into the
>>> content through something like JSON Signature or XML Signature or via
>>> something like WS-*. I don't particularly like these approaches as the
>>> content authentication is really meta-data for the content and that
>>> means it belongs in the HTTP header and not in the transport layer or
>>> in the content itself. That is what the HTTP headers are there for,
>>> making meta-data statements about the content.
>>>
>>> We seem to have got into a position where Web Services means 'just run
>>> over HTTP as if it was TCP/IP with firewall bypass'. I think we could
>>> make Web Services a lot simpler by using HTTP for the purpose it was
>>> intended and not duplicating that functionality in SOAP or whatever.
>>>
>>>
>>> I have discussed this with David Crocker and his DOSETA scheme. I
>>> think this is a case where if HTTP has the right socket, we can both
>>> plug into it.
>>>
>>> --
>>> Website: http://hallambaker.com/
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>>
>



-- 
HAYASHI, Tatsuya
Lepidum Co. Ltd.


From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 14:19:21 2012
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 DA59811E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 14:19:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.467
X-Spam-Level: 
X-Spam-Status: No, score=-7.467 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 gVFfOpPrsvbA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 14:19:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED58611E80E4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 14:19:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoLLC-00036x-J1 for ietf-http-wg-dist@listhub.w3.org; Mon, 09 Jul 2012 21:17:58 +0000
Resent-Date: Mon, 09 Jul 2012 21:17:58 +0000
Resent-Message-Id: <E1SoLLC-00036x-J1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1SoLL3-000359-Dp for ietf-http-wg@listhub.w3.org; Mon, 09 Jul 2012 21:17:49 +0000
Received: from ch1ehsobe003.messaging.microsoft.com ([216.32.181.183] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1SoLL2-0002Uq-3Y for ietf-http-wg@w3.org; Mon, 09 Jul 2012 21:17:49 +0000
Received: from mail27-ch1-R.bigfish.com (10.43.68.236) by CH1EHSOBE008.bigfish.com (10.43.70.58) with Microsoft SMTP Server id 14.1.225.23; Mon, 9 Jul 2012 21:15:03 +0000
Received: from mail27-ch1 (localhost [127.0.0.1])	by mail27-ch1-R.bigfish.com (Postfix) with ESMTP id 3A3523002C3	for <ietf-http-wg@w3.org>; Mon,  9 Jul 2012 21:15:03 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zzbb2dI98dI9371I542M1432Izz1202hzz8275bhz2fh2a8h683h839h944hd25hf0ah107ah)
Received-SPF: pass (mail27-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=jsilvera@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT003.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail27-ch1 (localhost.localdomain [127.0.0.1]) by mail27-ch1 (MessageSwitch) id 134186850134538_16445; Mon,  9 Jul 2012 21:15:01 +0000 (UTC)
Received: from CH1EHSMHS024.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.250])	by mail27-ch1.bigfish.com (Postfix) with ESMTP id 0684F2E0046 for <ietf-http-wg@w3.org>; Mon,  9 Jul 2012 21:15:01 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS024.bigfish.com (10.43.70.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 9 Jul 2012 21:15:00 +0000
Received: from CH1EHSOBE016.bigfish.com (157.54.51.80) by mail.microsoft.com (157.54.79.180) with Microsoft SMTP Server (TLS) id 14.2.298.5; Mon, 9 Jul 2012 21:17:06 +0000
Received: from mail19-ch1-R.bigfish.com (10.43.68.252) by CH1EHSOBE016.bigfish.com (10.43.70.66) with Microsoft SMTP Server id 14.1.225.23; Mon, 9 Jul 2012 21:14:23 +0000
Received: from mail19-ch1 (localhost [127.0.0.1])	by mail19-ch1-R.bigfish.com (Postfix) with ESMTP id 956B83E02C5	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon,  9 Jul 2012 21:14:23 +0000 (UTC)
Received: from mail19-ch1 (localhost.localdomain [127.0.0.1]) by mail19-ch1 (MessageSwitch) id 1341868461579094_14974; Mon,  9 Jul 2012 21:14:21 +0000 (UTC)
Received: from CH1EHSMHS017.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.244])	by mail19-ch1.bigfish.com (Postfix) with ESMTP id 81C151A0045;	Mon,  9 Jul 2012 21:14:21 +0000 (UTC)
Received: from SN2PRD0310HT003.namprd03.prod.outlook.com (157.56.234.5) by CH1EHSMHS017.bigfish.com (10.43.70.17) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 9 Jul 2012 21:14:21 +0000
Received: from SN2PRD0310MB360.namprd03.prod.outlook.com ([169.254.4.36]) by SN2PRD0310HT003.namprd03.prod.outlook.com ([10.255.112.38]) with mapi id 14.16.0175.005; Mon, 9 Jul 2012 21:16:37 +0000
From: Jonathan Silvera <jsilvera@microsoft.com>
To: 'Alexey Melnikov' <alexey.melnikov@isode.com>, 'Yutaka OIWA' <y.oiwa@aist.go.jp>
CC: 'HTTP Working Group' <ietf-http-wg@w3.org>
Thread-Topic: draft-montenegro-httpbis-multilegged-auth-01
Thread-Index: AQHNXTvjfVKrSOD3jUW9wWmHOHeIjJcgQ+kAgADvIYCAAEG9cA==
Date: Mon, 9 Jul 2012 21:16:36 +0000
Message-ID: <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com> <4FFB1239.9010406@isode.com>
In-Reply-To: <4FFB1239.9010406@isode.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.33]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT003.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%ISODE.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%AIST.GO.JP$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC102.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.183; envelope-from=jsilvera@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SoLL2-0002Uq-3Y fa6329296834bf148cacd1e8e17fbe40
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14043
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>

Dear Yutaka

Supporting legacy authentication schemes, should not be the question to ask=
 ourselves. While these schemes are labeled as "broken" in HTTP 1.1, in rea=
lity they are deployed and working. If multiplexing  becomes a part of HTTP=
 2.0, as it is likely to be, these will be 'broken' not just in label, but =
in reality.=20

The compatibility requirement of the HTTP 2.0 WG charter does not allow us =
to eliminate legacy schemes, as previous applications are supposed to keep =
on working, regardless of whether they are labeled as 'broken" for HTTP 1.1=
 or not. I believe that HTTP2.0 provides us with a great opportunity to ens=
ure schemes currently labeled as "broken", are properly supported from the =
beginning. Without support for these legacy schemes, the adoption of HTTP2.=
0 will unavoidably suffer.

Another problem our proposal attempts to address, is that Kerberos' "dual m=
ode" (authenticated connection or authenticated requests) introduces a lot =
of problems for clients today since there is no way to deterministically kn=
ow which authentication type was negotiated. It would be great to hear from=
 the WG on thoughts around how we can solve this problem in a generic way, =
in case more "dual mode" authentication schemes arise in the future.

Thanks

-Jonathan Silvera

-----Original Message-----
From: Alexey Melnikov [mailto:alexey.melnikov@isode.com]=20
Sent: Monday, July 9, 2012 10:18 AM
To: Yutaka OIWA
Cc: HTTP Working Group
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01

On 09/07/2012 04:01, Yutaka OIWA wrote:
> Dear Alexey,
>
> 2012/7/9 Alexey Melnikov<alexey.melnikov@isode.com>:
>> I think it is worth investing some WG time into this proposal, because s=
everal proposals (+ existing Kerberos) are already multilegged. Otherwise n=
ew schemes would need to reinvent this, for example using "sid" directive.
> I agree that it is good to have a unified vehicle for managing=20
> sessions for multi-legged auth.
>
> Actually, more than three-quarters of
> my proposal is technically a common vehicle for multi-legged=20
> authentication with optional re-use of key-based shared secret for=20
> authorizing multiple requests without full key-exchange.
> I think Alexey's SCRAM-SHA1 proposal completely fits with this model,=20
> and I actually thought to propose, to Alexey, to merge=20
> session-managing part of two proposals to one unified scheme.  One=20
> possibility for me is to write (or propose) an experimental draft for=20
> putting SCRAM-SHA1 onto my vehicle, to see how it works or not.
Dear Yutaka,
I reviewed your draft and I thought that several features of it are indeed =
generic among HTTP authentication mechanisms and should be split out to a g=
eneric HTTP authentication related document (or at least into a separate se=
ction of one of your existing drafts).

So yes, I generally support doing what you suggest. But I think it might be=
 worth delaying any specific work until the WG decides on which HTTP authen=
tication-related documents it should work.
> Gabriel's draft is interesting in the way that connection-based=20
> existing authentication schemes (NTLM and Negotiate) into HTTP/2.0=20
> world.  These things are declared "broken" in current HTTP/1.1-bis=20
> discussions, and without considerations it will not be useful for=20
> HTTP/2.0.
> There should be a debate about how we treat existing connection-based=20
> authentication for future, and if we decide it will survive, we will=20
> need Gabriel's one or similar.
>
> For key-based multi-legged authentications (things similar Digest,=20
> including Mutual and SCRAM-SHA1), at the first glance, it seems not=20
> well designed for key-based, but it is still interesting for me,=20
> because it will show how these things are different, and how the=20
> common things can be picked up.
>
> My intuition at current moment is to have TWO common vehicles for=20
> HTTP-layer multi-legged authentications, one for connection-based and=20
> one for key-based (this is not a strong opinion, just an observation).
> I want to continue research on how these two things are related, to=20
> make common things common, and to keep different things different :-)

I haven't made my mind about this issue yet. So I am looking forward for mo=
re discussion.

Best Regards,
Alexey









From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 16:02:48 2012
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 5DCD911E8137 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 16:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.771
X-Spam-Level: 
X-Spam-Status: No, score=-9.771 tagged_above=-999 required=5 tests=[AWL=0.828, BAYES_00=-2.599, 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 wAYx5hNthaUS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 16:02:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 98A1611E8133 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 16:02:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoMxd-0001p3-Eo for ietf-http-wg-dist@listhub.w3.org; Mon, 09 Jul 2012 23:01:45 +0000
Resent-Date: Mon, 09 Jul 2012 23:01:45 +0000
Resent-Message-Id: <E1SoMxd-0001p3-Eo@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SoMxK-0001mg-Ij for ietf-http-wg@listhub.w3.org; Mon, 09 Jul 2012 23:01:26 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SoMxD-0005ag-UC for ietf-http-wg@w3.org; Mon, 09 Jul 2012 23:01:26 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id E9F3CE6ED1; Tue, 10 Jul 2012 11:00:49 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 10 Jul 2012 11:00:49 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAGipQFkB0KR0r+cHGqyYDVm-1nGt-=78ydmehUZyBOHp+tJ-Qg@mail.gmail.com>
References: <CAMm+LwhYqO0NFxW6BnreaWB0TEhpW8nAMMy2YzobC429CmtqPA@mail.gmail.com> <CAMm+LwjDVDJW9Pus+hOZTxeFdcBm=cnso_fbvoR-heTazs8L=Q@mail.gmail.com> <CABP7RbfGc5=QyEpzT=jr=2sAZjjD+rN5mQhE2xAXZqJDJug+LQ@mail.gmail.com> <CAGipQFkB0KR0r+cHGqyYDVm-1nGt-=78ydmehUZyBOHp+tJ-Qg@mail.gmail.com>
Message-ID: <0125733d444bbbd8d657794af87ecc68@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SoMxD-0005ag-UC 74b2a58da7bb338f14c65aa38bc3190a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/0125733d444bbbd8d657794af87ecc68@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14044
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 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
> +1
>
> I know that this is demanded.
> When I discussion about http-authentication and phishing,
> it is requested by many people.
> It is a difficult problem.
> ex) proxy...
>
> I think that it is good to do this discussion now.
>
> ---
> Tatsuya
>
> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>> In general, I'm +1 on the general idea albeit with a few caveats...
>>
>> 1. To minimize complexity, only a single Content-Integrity header
>> should be used. I don't want, as Roy points out, to have to iterated
>> through a bunch of unsupported header values looking for the one I
>> want. Just as it makes very little sense for an implementor to 
>> provide
>> multiple Last-Modified, Etag and Content-Type headers in a single
>> message; there should be only a single Content-Integrity statement 
>> and
>> I either understand it or I don't.

Either the client advertises what it supports (opening itself to 
middleware erasing options they can't modify). Or the server uses 
multiple algorithms in hopes that the middleware cannot violate them 
all.
It makes perfect sense to have several levels of integrity check. MD5, 
SHA1, AES in one response and allow the client to validate the strongest 
it can handle.

There is also an arguable case for middleware wanting to add its own 
hash to inform the client essentially "this is what I got given". So the 
point of manipulation can be back-traced when the more secure end-to-end 
checks fail.

If you want end-to-end integrity, don't stop at half measures. 
Particularly at half measures which can be corrupted.


>>
>> 2. The performance impact of calculating the digest needs to be
>> carefully considered. I'd rather not be required to buffer a full
>> representation in memory all the time just to calculate a header
>> value. I know it's largely unavoidable, but perhaps there's some
>> currently elusive solution that can be considered. For instance..
>> allowing Content-Integrity to appear as a trailer at the end of a
>> chunked response.

As has been said Trailers happen here.

>>
>> 3. Something needs to be said about what happens if the
>> Content-Integrity check fails. For instance, if a request containing
>> Content-Integrity is sent to the server and the server detects that
>> the signature is invalid, what should happen? what must happen?
>> Likewise, how are intermediaries expected to treat the
>> Content-Integrity header given that any intermediary is able to 
>> modify
>> the payload at any time?

This is going to be most useful on request/responses sent with 
"no-transform" of course.
  If the integrity was only a MD5 or SHA1 hash which middleware can edit 
easily there is no end-to-end integrity, just hop-by-hop integrity.


Also, there has to be a mutual secret between origin server and client. 
Without that, when integrity is compromised the transforming hop will 
simply erase or replace the Content-Integrity header value. A secret key 
unknown to that middleware is required to make the integrity hash break 
when it tries this.

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 16:43:48 2012
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 5E51D11E80F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 16:43:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.128
X-Spam-Level: 
X-Spam-Status: No, score=-9.128 tagged_above=-999 required=5 tests=[AWL=1.471, BAYES_00=-2.599, 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 rA7WxXI7-Cun for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 16:43:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6BC3B21F8528 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 16:43:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoNbJ-0001D6-Ed for ietf-http-wg-dist@listhub.w3.org; Mon, 09 Jul 2012 23:42:45 +0000
Resent-Date: Mon, 09 Jul 2012 23:42:45 +0000
Resent-Message-Id: <E1SoNbJ-0001D6-Ed@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SoNbC-0001AU-77 for ietf-http-wg@listhub.w3.org; Mon, 09 Jul 2012 23:42:38 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SoNbB-0006pq-9K for ietf-http-wg@w3.org; Mon, 09 Jul 2012 23:42:38 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1F44722E257 for <ietf-http-wg@w3.org>; Mon,  9 Jul 2012 19:42:14 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Tue, 10 Jul 2012 09:42:11 +1000
Message-Id: <445A04EC-4CC2-4466-B029-B257FB0B8028@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SoNbB-0006pq-9K 6c01c0a821c0bd6970b6cbcb491980f6
X-Original-To: ietf-http-wg@w3.org
Subject: FYI: p6 re-org
Archived-At: <http://www.w3.org/mid/445A04EC-4CC2-4466-B029-B257FB0B8028@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14045
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'm looking at doing a minor re-org of the caching section to make it =
easier to navigate. The new ToC is shaping up to be:

	=95 1.   Introduction
		=95 1.1   Purpose
		=95 1.2   Terminology
		=95 1.3   Conformance and Error Handling
		=95 1.4   Syntax Notation
			=95 1.4.1   Core Rules
			=95 1.4.2   ABNF Rules defined in other Parts of =
the Specification
			=95 1.4.3   Delta Seconds
	=95 2.   Overview of Cache Operation
	=95 3.   Storing Responses in Caches
		=95 3.1   Storing Incomplete Responses
		=95 3.2   Storing Responses to Authenticated Requests
	=95 4.   Constructing Responses from Caches
		=95 4.1   Freshness Model
			=95 4.1.1   Calculating Freshness Lifetime
			=95 4.1.2   Calculating Heuristic Freshness
			=95 4.1.3   Calculating Age
			=95 4.1.4   Serving Stale Responses
		=95 4.2   Validation Model
			=95 4.2.1   Freshening Responses with 304 Not =
Modified
		=95 4.3   Using Negotiated Responses
		=95 4.4   Combining Partial Content
	=95 5.   Updating Caches with HEAD Responses
	=95 6.   Request Methods that Invalidate
	=95 7.   Header Field Definitions
[...]

So far, the only things I've changed have been ordering of the sections =
and some of the section titles. I'm also going to do some minor textual =
adjustments and add a bit of introductory text in section 2, but I'll do =
those separately.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 17:36:15 2012
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 1E41011E8170 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 17:36:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.139
X-Spam-Level: 
X-Spam-Status: No, score=-9.139 tagged_above=-999 required=5 tests=[AWL=1.460, BAYES_00=-2.599, 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 diJbtgZNNGKG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 17:36:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 572B211E816F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 17:36:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoOQ9-0001ud-Rv for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 00:35:17 +0000
Resent-Date: Tue, 10 Jul 2012 00:35:17 +0000
Resent-Message-Id: <E1SoOQ9-0001ud-Rv@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SoOQ3-0001tw-Ja for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 00:35:11 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SoOQ2-0000kn-80 for ietf-http-wg@w3.org; Tue, 10 Jul 2012 00:35:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A27BE22DD6D for <ietf-http-wg@w3.org>; Mon,  9 Jul 2012 20:34:44 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 10 Jul 2012 10:34:41 +1000
Message-Id: <E3ED0593-0085-43DC-AD02-E8B9A62D3A58@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SoOQ2-0000kn-80 081efae57978de0291f632e5b75c2a93
X-Original-To: ietf-http-wg@w3.org
Subject: Caching unsafe methods - p6 overview clarification
Archived-At: <http://www.w3.org/mid/E3ED0593-0085-43DC-AD02-E8B9A62D3A58@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14046
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>

p6 section 2 =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#caching.overview> says:

> However, it is also possible to cache negative results (e.g., 404 (Not =
Found), incomplete results (e.g., 206 (Partial Content)), and responses =
to safe methods other than GET if the method's definition allows such =
caching and defines something suitable for use as a cache key.

"safe" here is misleading; we don't restrict the *potential* for =
responses to unsafe methods from being cached (e.g., see POST).

I think this is just a glitch from a rewrite of the intro; removing the =
word "safe" here.

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 18:11:32 2012
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 BC9B411E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 18:11:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.151
X-Spam-Level: 
X-Spam-Status: No, score=-9.151 tagged_above=-999 required=5 tests=[AWL=1.448, BAYES_00=-2.599, 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 IoFdHNbxtxlI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 18:11:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1252311E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 18:11:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoOyV-0001Pn-4U for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 01:10:47 +0000
Resent-Date: Tue, 10 Jul 2012 01:10:47 +0000
Resent-Message-Id: <E1SoOyV-0001Pn-4U@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SoOyN-0001OO-V0 for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 01:10:39 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SoOyM-00042h-BE for ietf-http-wg@w3.org; Tue, 10 Jul 2012 01:10:39 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 163CB22E259; Mon,  9 Jul 2012 21:10:12 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com>
Date: Tue, 10 Jul 2012 11:10:12 +1000
Cc: 'Alexey Melnikov' <alexey.melnikov@isode.com>, 'Yutaka OIWA' <y.oiwa@aist.go.jp>, 'HTTP Working Group' <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0258B01C-6FA6-4E12-97DE-F5F332FEB481@mnot.net>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com> <4FFB1239.9010406@isode.com> <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com>
To: Jonathan Silvera <jsilvera@microsoft.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SoOyM-00042h-BE 967e5195dd81309619fb86a52f026545
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/0258B01C-6FA6-4E12-97DE-F5F332FEB481@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14047
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 10/07/2012, at 7:16 AM, Jonathan Silvera wrote:

> Dear Yutaka
>=20
> Supporting legacy authentication schemes, should not be the question =
to ask ourselves. While these schemes are labeled as "broken" in HTTP =
1.1, in reality they are deployed and working. If multiplexing  becomes =
a part of HTTP 2.0, as it is likely to be, these will be 'broken' not =
just in label, but in reality.=20

The problem is that they may be deployed and working, but only at the =
cost of lots of pain and by other implementers (especially =
intermediaries). I.e., they're only "working" because people have worked =
around them.


> The compatibility requirement of the HTTP 2.0 WG charter does not =
allow us to eliminate legacy schemes, as previous applications are =
supposed to keep on working, regardless of whether they are labeled as =
'broken" for HTTP 1.1 or not.

That's your interpretation. The charter doesn't require HTTP 2.0 to =
accommodate *every* use of HTTP, especially when it's being used -- or =
extended -- in a non-conformant way.

If we can satisfy these use cases by making some changes to them, that's =
great, but let's not call it "fixing HTTP."

Regards,


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





From ietf-http-wg-request@listhub.w3.org  Mon Jul  9 18:11:33 2012
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 4A9D311E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 18:11:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.835
X-Spam-Level: 
X-Spam-Status: No, score=-9.835 tagged_above=-999 required=5 tests=[AWL=0.764, BAYES_00=-2.599, 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 AYhKqXfeYWbH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  9 Jul 2012 18:11:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B456311E80B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  9 Jul 2012 18:11:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoOyg-0001RB-NL for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 01:10:58 +0000
Resent-Date: Tue, 10 Jul 2012 01:10:58 +0000
Resent-Message-Id: <E1SoOyg-0001RB-NL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SoOyZ-0001QP-04 for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 01:10:51 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SoOyX-0001rL-Uw for ietf-http-wg@w3.org; Tue, 10 Jul 2012 01:10:51 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 99ADAE6ED1; Tue, 10 Jul 2012 13:10:24 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 10 Jul 2012 13:10:24 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com> <4FFB1239.9010406@isode.com> <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com>
Message-ID: <481c0af7de4bbdd94959a0fa3a175db3@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SoOyX-0001rL-Uw 06901ee0f0e4d54aa00c9cfaa8a6c5a7
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/481c0af7de4bbdd94959a0fa3a175db3@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14048
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 10.07.2012 09:16, Jonathan Silvera wrote:
> Dear Yutaka
>
> Supporting legacy authentication schemes, should not be the question
> to ask ourselves. While these schemes are labeled as "broken" in HTTP
> 1.1, in reality they are deployed and working. If multiplexing
> becomes a part of HTTP 2.0, as it is likely to be, these will be
> 'broken' not just in label, but in reality.

I take it you mean NTLM and Negotiate? since Basic and Digest are not 
declared broken, just somewhat unsafe.

NTLM/Negotiate are broken in both label and reality. To different 
degrees.

Try to use HTTP pipeline, HTTP persistent connection re-use, or try to 
operate them over any proxy which does not force stateful "pinning" onto 
*stateless* HTTP (Squid-3.0 for example) and you will see just how 
broken they are. Effects range from users not being able to login at 
all, logging in under other users credentials, to constant 
popup/challenge loops, some software even DoS the network attempting to 
retry automatically.
  This is broken by any definition.

The minor fact that some admin are willing to give up all those 
performance features of HTTP to gain the illusion of "working" is rather 
sad.


>
> The compatibility requirement of the HTTP 2.0 WG charter does not
> allow us to eliminate legacy schemes, as previous applications are
> supposed to keep on working, regardless of whether they are labeled 
> as
> 'broken" for HTTP 1.1 or not. I believe that HTTP2.0 provides us with
> a great opportunity to ensure schemes currently labeled as "broken",
> are properly supported from the beginning. Without support for these
> legacy schemes, the adoption of HTTP2.0 will unavoidably suffer.
>
> Another problem our proposal attempts to address, is that Kerberos'
> "dual mode" (authenticated connection or authenticated requests)
> introduces a lot of problems for clients today since there is no way
> to deterministically know which authentication type was negotiated. 
> It
> would be great to hear from the WG on thoughts around how we can 
> solve
> this problem in a generic way, in case more "dual mode" 
> authentication
> schemes arise in the future.


On this note, the "Negotiate" scheme specifies the ability to negotiate 
NTLM (connection-auth) over it. So IMHO, this scheme is 
connection-oriented due to that requirement.

I would like to see the "Kerberos" scheme formally specified as a 
separate scheme as the request-oriented form. In this way we can 
continue to support "Negotiate" as connection-oriented (HTTP 'broken') 
and "Kerberos" as request-oriented (HTTP 'working').

Anyone keen to do that leg-work?


AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 01:35:10 2012
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 430E211E808E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 01:35:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.241
X-Spam-Level: 
X-Spam-Status: No, score=-8.241 tagged_above=-999 required=5 tests=[AWL=0.057, BAYES_00=-2.599, HTML_MESSAGE=0.001, MANGLED_ACTION=2.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 8qmHbH2RWHGg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 01:35:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 136F711E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 01:35:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoVtS-0007zj-EK for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 08:34:02 +0000
Resent-Date: Tue, 10 Jul 2012 08:34:02 +0000
Resent-Message-Id: <E1SoVtS-0007zj-EK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoVtK-0007uz-To for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 08:33:54 +0000
Received: from mailout-us.gmx.com ([74.208.5.67]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoVtD-0000w4-FH for ietf-http-wg@w3.org; Tue, 10 Jul 2012 08:33:54 +0000
Received: (qmail 25533 invoked by uid 0); 10 Jul 2012 08:33:17 -0000
Received: from 121.210.178.174 by rms-us003 with HTTP
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="========GMXBoundary298431341909196552700"
Date: Tue, 10 Jul 2012 04:33:16 -0400
From: "Dereq Dereq" <dereq@japan.com>
Message-ID: <20120710083316.298430@gmx.com>
MIME-Version: 1.0
To: "Martin Thomson" <martin.thomson@gmail.com>,"Tim Bray" <tbray@textuality.com>
X-Authenticated: #74088690
X-Flags: 0001
X-Mailer: GMX.com Web Mailer
x-registered: 0
X-GMX-UID: m42Jb/cV3zOlNZPjAXAhQE1+IGRvb8AT
Received-SPF: none client-ip=74.208.5.67; envelope-from=dereq@japan.com; helo=mailout-us.gmx.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SoVtD-0000w4-FH ef9e3572eea8edddbfd8b016758a13d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/20120710083316.298430@gmx.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14049
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>

--========GMXBoundary298431341909196552700
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

>The temptation to suggest 418 is strong, but 403 is essentially >correct. The entity making the authorization decision might not be >the usual or expected one, but that is the decision they are making. There are two general reasons to limit 403 to responses from the origin server. 1. As you say, the situation that you are discussing is not usual or expected. Hence it is more transparent and more helpful to highlight it explicitly. Some variation on the principle of least astonishment applies here. (For example, what if the end user getting the status code is the owner / operator of the origin server?) It is understood that in some jurisdictions use of a response code other than 403, or other than some other specified response code, may not be legal. It is also understood that some censoring entities will choose not to do the right thing. However the HTTP RFC should still specify what the correct behaviour is. If the law prevents some software from behaving correctly or some 
 other software chooses to behave incorrectly then so be it. There should still be a defined correct behaviour available for software that is willing and able to do so. That behaviour should be to be transparent about what has occurred. 451 is cute but I don't really care whether it's 451 or some other free 4xx code. 2. The actions that a user (or software) would take when 403 arises from the origin server and when censorship arises between an HTTP client and the origin server are quite different. When 403 arises from the origin server it is an indication that there is a fundamental difficulty with the request. The server that "owns" the resource is saying that it can't be accessed. The user may have to try e.g. different login credentials or e.g. contact the operator of the web server (if it's just a stuff up - or to be granted access). When censorship arises, the user will probably want to tunnel the request in some way but it is unlikely that either of the courses of actio
 n given as examples in the previous paragraph are going to make any difference.

--========GMXBoundary298431341909196552700
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'><br />=
=20
<div>=20
	<div>=20
		<pre style=3D"white-space: pre-wrap; word-wrap: break-word; font-size:11;=
pre">=20

&gt;The temptation to suggest 418 is strong, but 403 is essentially=20
&gt;correct.  The entity making the authorization decision might not be=20
&gt;the usual or expected one, but that is the decision they are making.=20

There are two general reasons to limit 403 to responses from the origin ser=
ver.=20

1. As you say, the situation that you are discussing is not usual or expect=
ed. Hence it is more transparent and more helpful to highlight it explicitl=
y. Some variation on the principle of least astonishment applies here. (For=
 example, what if the end user getting the status code is the owner / opera=
tor of the origin server?)=20

It is understood that in some jurisdictions use of a response code other th=
an 403, or other than some other specified response code, may not be legal.=
 It is also understood that some censoring entities will choose not to do t=
he right thing. However the HTTP RFC should still specify what the correct =
behaviour is. If the law prevents some software from behaving correctly or =
some other software chooses to behave incorrectly then so be it.=20

There should still be a defined correct behaviour available for software th=
at is willing and able to do so.=20

That behaviour should be to be transparent about what has occurred.=20

451 is cute but I don't really care whether it's 451 or some other free 4xx=
 code.=20

2. The actions that a user (or software) would take when 403 arises from th=
e origin server and when censorship arises between an HTTP client and the o=
rigin server are quite different.=20

When 403 arises from the origin server it is an indication that there is a =
fundamental difficulty with the request. The server that "owns" the resourc=
e is saying that it can't be accessed. The user may have to try e.g. differ=
ent login credentials or e.g. contact the operator of the web server (if it=
's just a stuff up - or to be granted access).=20

When censorship arises, the user will probably want to tunnel the request i=
n some way but it is unlikely that either of the courses of action given as=
 examples in the previous paragraph are going to make any difference.=20

</pre>=20
	</div>=20
</div>=20
</span></span>

--========GMXBoundary298431341909196552700--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 04:15:14 2012
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 38AB921F8763 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 04:15:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.419
X-Spam-Level: 
X-Spam-Status: No, score=-9.419 tagged_above=-999 required=5 tests=[AWL=1.179, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 eb-9+oGwQxkk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 04:15:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9B59E21F875C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 04:15:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoYOY-0000hX-Nh for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 11:14:18 +0000
Resent-Date: Tue, 10 Jul 2012 11:14:18 +0000
Resent-Message-Id: <E1SoYOY-0000hX-Nh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoYOS-0000g6-4k for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 11:14:12 +0000
Received: from mailout-us.gmx.com ([74.208.5.67]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoYOL-0000Ew-OA for ietf-http-wg@w3.org; Tue, 10 Jul 2012 11:14:11 +0000
Received: (qmail 15844 invoked by uid 0); 10 Jul 2012 11:13:39 -0000
Received: from 121.210.178.174 by rms-us002 with HTTP
Cc: "Tim Bray" <tbray@textuality.com>,ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="========GMXBoundary298431341918817432225"
Date: Tue, 10 Jul 2012 07:13:37 -0400
From: "Dereq Dereq" <dereq@japan.com>
Message-ID: <20120710111337.298430@gmx.com>
MIME-Version: 1.0
To: "Yoav Nir" <ynir@checkpoint.com>,"James M Snell" <jasnell@gmail.com>
X-Authenticated: #74088690
X-Flags: 0001
X-Mailer: GMX.com Web Mailer
x-registered: 0
X-GMX-UID: NmuOb/cV3zOlNZPjAXAhVBt+IGRvb0Dx
Received-SPF: none client-ip=74.208.5.67; envelope-from=dereq@japan.com; helo=mailout-us.gmx.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SoYOL-0000Ew-OA 3d57809ffa9cf35c47b966c82ba317ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/20120710111337.298430@gmx.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14050
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>

--========GMXBoundary298431341918817432225
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

>Thinking it over, the message is supposed to be sent to humans, not machines. So the correct thing would be to redirect to a
 >service-provider hosted page, that says what was blocked and why.
 The HTTP status codes are not really intended for humans.

 As internet censorship becomes more prevalent it will be important for software to be able to route around it automatically. A service-provider block page is not as useful for that purpose.

 We can't stop an ISP redirecting to a block page but that should not be the specified behaviour within the HTTP RFC.

 It is also possible to do both i.e. the HTTP response code is e.g. 451 but the response comes with an HTML body that is some kind of explanation, including a clickable link to additional information.

--========GMXBoundary298431341918817432225
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'><br />=
=20
<blockquote style=3D"border-left: 1px solid #CCC; padding-left: 5px; margin=
-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type=
=3D"cite">=20
	<div>=20
		&gt;Thinking it over, the message is supposed to be sent to humans, not m=
achines. So the correct thing would be to redirect to a<br />=20
		&gt;service-provider hosted page, that says what was blocked and why.</di=
v>=20
</blockquote>=20
<br />=20
The HTTP status codes are not really intended for humans.<br />=20
<br />=20
As internet censorship becomes more prevalent it will be important for soft=
ware to be able to route around it automatically. A service-provider block =
page is not as useful for that purpose.<br />=20
<br />=20
We can't stop an ISP redirecting to a block page but that should not be the=
 specified behaviour within the HTTP RFC.<br />=20
<br />=20
It is also possible to do both i.e. the HTTP response code is e.g. 451 but =
the response comes with an HTML body that is some kind of explanation, incl=
uding a clickable link to additional information.</span></span>

--========GMXBoundary298431341918817432225--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 04:28:45 2012
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 4EF1E21F877C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 04:28:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.154
X-Spam-Level: 
X-Spam-Status: No, score=-9.154 tagged_above=-999 required=5 tests=[AWL=0.127, BAYES_00=-2.599, FAKE_HELO_MAIL_COM=1.317, HTML_MESSAGE=0.001, 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 D0KGOsnmcZ2S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 04:28:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 65F0821F87AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 04:28:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoYbs-0008Pw-B3 for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 11:28:04 +0000
Resent-Date: Tue, 10 Jul 2012 11:28:04 +0000
Resent-Message-Id: <E1SoYbs-0008Pw-B3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoYbl-0008OV-Vk for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 11:27:58 +0000
Received: from mailout-us.gmx.com ([74.208.5.67] helo=mailout-us.mail.com) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoYbk-000890-CQ for ietf-http-wg@w3.org; Tue, 10 Jul 2012 11:27:57 +0000
Received: (qmail 7506 invoked by uid 0); 10 Jul 2012 11:27:31 -0000
Received: from 121.210.178.174 by rms-us007 with HTTP
Cc: "Karl Dubost" <karld@opera.com>,"Tim Bray" <tbray@textuality.com>,ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="========GMXBoundary298431341919648362723"
Date: Tue, 10 Jul 2012 07:27:28 -0400
From: "Dereq Dereq" <dereq@japan.com>
Message-ID: <20120710112728.298430@gmx.com>
MIME-Version: 1.0
To: "James M Snell" <jasnell@gmail.com>,"Mark Nottingham" <mnot@mnot.net>
X-Authenticated: #74088690
X-Flags: 0001
X-Mailer: GMX.com Web Mailer
x-registered: 0
X-GMX-UID: 93SOb/cV3zOlNZPjAXAh/hh+IGRvb0DC
Received-SPF: none client-ip=74.208.5.67; envelope-from=dereq@japan.com; helo=mailout-us.mail.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SoYbk-000890-CQ 92457f6da4d0f9d471b01dbcc24827cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/20120710112728.298430@gmx.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14051
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>

--========GMXBoundary298431341919648362723
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

>the more I think 403 is just fine. Except for the basic problem of: whom are you going to complain to? There is nothing in the RFC that requires the response body to explain whether the problem is fundamental at the origin server or has been inserted by either an intermediate proxy server or some other device that is not a proxy server. Much better that the RFC requires this distinction at least to be expressed at its most basic level: was it censorship or is it a problem at the resource itself? It's similar to the age old "down for everyone or just me?" problem. Why would we want to contribute to that kind of confusion?

--========GMXBoundary298431341919648362723
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'><br />=
=20
<div>=20
	<div>=20
		<pre style=3D"white-space: pre-wrap; word-wrap: break-word; font-size:11;=
pre">=20
&gt;the more I think 403 is just fine.=20

Except for the basic problem of: whom are you going to complain to?=20

There is nothing in the RFC that requires the response body to explain whet=
her the problem is fundamental at the origin server or has been inserted by=
 either an intermediate proxy server or some other device that is not a pro=
xy server.=20

Much better that the RFC requires this distinction at least to be expressed=
 at its most basic level: was it censorship or is it a problem at the resou=
rce itself? It's similar to the age old "down for everyone or just me?" pro=
blem. Why would we want to contribute to that kind of confusion?=20
</pre>=20
	</div>=20
</div>=20
</span></span>

--========GMXBoundary298431341919648362723--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 04:36:21 2012
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 4C26A21F8789 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 04:36:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.844
X-Spam-Level: 
X-Spam-Status: No, score=-9.844 tagged_above=-999 required=5 tests=[AWL=0.754, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 d+1Gr-ykNUhB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 04:36:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 659A721F8775 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 04:36:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoYjg-0005aX-7d for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 11:36:08 +0000
Resent-Date: Tue, 10 Jul 2012 11:36:08 +0000
Resent-Message-Id: <E1SoYjg-0005aX-7d@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoYjW-0005Nt-E3 for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 11:35:58 +0000
Received: from mailout-us.gmx.com ([74.208.5.67]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1SoYjR-0001Iv-SH for ietf-http-wg@w3.org; Tue, 10 Jul 2012 11:35:57 +0000
Received: (qmail 16590 invoked by uid 0); 10 Jul 2012 11:35:28 -0000
Received: from 121.210.178.174 by rms-us011.v300.gmx.net with HTTP
Cc: "Tim Bray" <tbray@textuality.com>,"Mark Nottingham" <mnot@mnot.net>,"Karl Dubost" <karld@opera.com>,ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="========GMXBoundary298391341920127131131"
Date: Tue, 10 Jul 2012 07:35:26 -0400
From: "Dereq Dereq" <dereq@japan.com>
Message-ID: <20120710113527.298390@gmx.com>
MIME-Version: 1.0
To: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>,"Julian Reschke" <julian.reschke@gmx.de>,"James M Snell" <jasnell@gmail.com>
X-Authenticated: #74088690
X-Flags: 0001
X-Mailer: GMX.com Web Mailer
x-registered: 0
X-GMX-UID: KHaOb+sV3zOlNZPjAXAhfR1+IGRvb4C6
Received-SPF: none client-ip=74.208.5.67; envelope-from=dereq@japan.com; helo=mailout-us.gmx.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SoYjR-0001Iv-SH 46823a991732a016280d9c9928a7a27a
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Status code for censorship?
Archived-At: <http://www.w3.org/mid/20120710113527.298390@gmx.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14052
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>

--========GMXBoundary298391341920127131131
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

>Yes, but what incentives are there for censors to comply with its use? It depends on who is doing the censorship v. who wants the censorship done. In China or Iran or ... maybe the new status code wouldn't get used. In western democracies where ISPs are forced by government to censor, the ISP is more likely to want to be transparent about it - after all the ISP doesn't want to get thousands of extra support calls to its call centre - and even government may grudgingly accept the transparency of an explicit status code.

--========GMXBoundary298391341920127131131
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'><div>=20
	<pre style=3D"white-space: pre-wrap; word-wrap: break-word; font-size:11;p=
re">=20

&gt;Yes, but what incentives are there for censors to comply with its use?=
=20

It depends on who is doing the censorship v. who wants the censorship done.=
=20

In China or Iran or ... maybe the new status code wouldn't get used.=20

In western democracies where ISPs are forced by government to censor, the I=
SP is more likely to want to be transparent about it - after all the ISP do=
esn't want to get thousands of extra support calls to its call centre - and=
 even government may grudgingly accept the transparency of an explicit stat=
us code.=20
</pre>=20
</div>=20
</span></span>

--========GMXBoundary298391341920127131131--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 07:57:08 2012
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 4F78211E80EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 07:57:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 p3SNOn20rw-G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 07:57:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A609511E808F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 07:57:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sobqu-0003A9-KF for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 14:55:48 +0000
Resent-Date: Tue, 10 Jul 2012 14:55:48 +0000
Resent-Message-Id: <E1Sobqu-0003A9-KF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1Sobqn-00038G-HT for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 14:55:41 +0000
Received: from bh1.myhostedexchange.com ([69.50.2.84]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1Sobqh-0008GW-EJ for ietf-http-wg@w3.org; Tue, 10 Jul 2012 14:55:41 +0000
Received: from ex10.myhostedexchange.com ([69.50.2.84]) by bh1.myhostedexchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Jul 2012 07:55:12 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 10 Jul 2012 07:55:09 -0700
Message-ID: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Associated resource for PUT
Thread-Index: Ac1erAB+mPAyTE9jS+qLIPCUKYxRPQ==
From: "Robert Brewer" <fumanchu@aminus.org>
To: "HTTP Working Group" <ietf-http-wg@w3.org>
X-OriginalArrivalTime: 10 Jul 2012 14:55:12.0753 (UTC) FILETIME=[022D6E10:01CD5EAC]
Received-SPF: none client-ip=69.50.2.84; envelope-from=fumanchu@aminus.org; helo=bh1.myhostedexchange.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1Sobqh-0008GW-EJ 2a44e0c7f88fa37d0c66323fb70ed5fa
X-Original-To: ietf-http-wg@w3.org
Subject: Associated resource for PUT
Archived-At: <http://www.w3.org/mid/F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14053
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>

Section 5.1 of draft-19 part 2 says, "An HTTP request representation,
when present, is always associated with an anonymous (i.e.,
unidentified) resource." [1]  That makes perfect sense for POST, but for
PUT it makes sense IMO to declare that the representation is associated
with the target resource. Or is the intent that the representation "is
*to become* associated", and is therefore considered anonymous before
the request had been handled?

This is important for at least one reason: I believe this section in the
HTTP spec could be useful to establish a base URI for request entities
according to section 5.1 of the URI spec [2] (which itself might be
underspecified in this regard; it doesn't say much about operations
other than retrieval).

I believe it's not *wrong* for a server to assume the base URI of a
representation PUT to it is that of the target resource. But is that
behavior left to the application? Or should it be standardized? And
should section 5.1 of httpbis say anything about that either way?


Robert Brewer
fumanchu@aminus.org

[1]
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-19#section-5.
1
[2] http://tools.ietf.org/html/rfc3986#section-5.1.3


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 08:01:58 2012
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 BBE4D21F867B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 08:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.415
X-Spam-Level: 
X-Spam-Status: No, score=-8.415 tagged_above=-999 required=5 tests=[AWL=2.184, BAYES_00=-2.599, 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 wFoosP30M+x6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 08:01:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 380A821F867A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 08:01:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SobwS-0000En-6M for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 15:01:32 +0000
Resent-Date: Tue, 10 Jul 2012 15:01:32 +0000
Resent-Message-Id: <E1SobwS-0000En-6M@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SobwL-0000CM-Ds for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 15:01:25 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sobw8-0001sG-Jn for ietf-http-wg@w3.org; Tue, 10 Jul 2012 15:01:25 +0000
Received: (qmail invoked by alias); 10 Jul 2012 15:00:46 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp071) with SMTP; 10 Jul 2012 17:00:46 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18t8nNTlf4teizyVsHlSrQ20jVf1ONn2lvLvBa5lg eKaSd0RndZ74es
Message-ID: <4FFC4383.9020501@gmx.de>
Date: Tue, 10 Jul 2012 17:00:19 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Robert Brewer <fumanchu@aminus.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local>
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sobw8-0001sG-Jn 196db3596e65f53588105701e95002ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Associated resource for PUT
Archived-At: <http://www.w3.org/mid/4FFC4383.9020501@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14054
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 2012-07-10 16:55, Robert Brewer wrote:
> Section 5.1 of draft-19 part 2 says, "An HTTP request representation,
> when present, is always associated with an anonymous (i.e.,
> unidentified) resource." [1]  That makes perfect sense for POST, but for
> PUT it makes sense IMO to declare that the representation is associated
> with the target resource. Or is the intent that the representation "is
> *to become* associated", and is therefore considered anonymous before
> the request had been handled?

Yes, that's (IMHO) the intent. The decision is up to the server (after 
all, it could reject the request).

> This is important for at least one reason: I believe this section in the
> HTTP spec could be useful to establish a base URI for request entities
> according to section 5.1 of the URI spec [2] (which itself might be
> underspecified in this regard; it doesn't say much about operations
> other than retrieval).

Do you need that functionality until the time the PUT has succeeded?

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 09:34:33 2012
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 2FCC821F85AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 09:34:33 -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=[AWL=3.687, BAYES_00=-2.599, 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 HdWRdzEgg973 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 09:34:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 88DDF21F859E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 09:34:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SodNG-00014M-PO for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 16:33:18 +0000
Resent-Date: Tue, 10 Jul 2012 16:33:18 +0000
Resent-Message-Id: <E1SodNG-00014M-PO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SodN8-00013f-Tl for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 16:33:10 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SodMz-00063G-TE for ietf-http-wg@w3.org; Tue, 10 Jul 2012 16:33:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1341937976; d=isode.com; s=selector; i=@isode.com; bh=RRs/h3p5AjYwwdnQkvJISS/IIBKYkB2l7cjeaTKUPDw=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=LuI4M4qXhysH4ywX6+jW5yQXly526O+y6czHj8A2+BBAn+Ii9yk3sNIHMapz2zgkPkN1Sa rljsOrA98uDdWnSQNM2CCNhLc+1ra5Kc3zuzAM34EtB6PSTVlRw8O+vap4NY1dZ3F1D5tP ow5B6tAjXETWwDzqqewo1p9Pif9Ay0c=;
Received: from [172.16.11.4] (shiny.isode.com [62.3.217.250])  by waldorf.isode.com (submission channel) via TCP with ESMTPA  id <T=xZOAAkRBtb@waldorf.isode.com>; Tue, 10 Jul 2012 17:32:56 +0100
Message-ID: <4FFC5933.20702@isode.com>
Date: Tue, 10 Jul 2012 17:32:51 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
To: Nico Williams <nico@cryptonector.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAK3OfOi4VNRYrF31=DasKP=YHyRJ3e0y1X54q7UCiiywgxYFJQ@mail.gmail.com>
In-Reply-To: <CAK3OfOi4VNRYrF31=DasKP=YHyRJ3e0y1X54q7UCiiywgxYFJQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SodMz-00063G-TE 1bb4d80a642937bb4e9b64d5cb6e775b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/4FFC5933.20702@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14055
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 08/07/2012 23:50, Nico Williams wrote:
> On Sun, Jul 8, 2012 at 1:56 PM, Alexey Melnikov
> <alexey.melnikov@isode.com>  wrote:
>> I think it is worth investing some WG time into this proposal, because several proposals (+ existing Kerberos) are already multilegged. Otherwise new schemes would need to reinvent this, for example using "sid" directive.
> I sought to generalize this with REST-GSS (which really uses SASL/GS2,
> not GSS directly).  Any comments?
You REST-GSS approach has some benefits over currently existing web 
authentication, so I am looking forward to discussing with the WG 
whether this should be the basis for all future web authentication 
mechanisms.



From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 10:13:32 2012
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 3216C21F859E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 10:13:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 UmyKxIckhAeE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 10:13:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EF9AF21F8539 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 10:13:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SodzS-0005sM-DO for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 17:12:46 +0000
Resent-Date: Tue, 10 Jul 2012 17:12:46 +0000
Resent-Message-Id: <E1SodzS-0005sM-DO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1SodzL-0005qr-Fo for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 17:12:39 +0000
Received: from bh1.myhostedexchange.com ([69.50.2.84]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1SodzH-00083I-7S for ietf-http-wg@w3.org; Tue, 10 Jul 2012 17:12:39 +0000
Received: from ex10.myhostedexchange.com ([69.50.2.84]) by bh1.myhostedexchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Jul 2012 10:12:13 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 10 Jul 2012 10:12:12 -0700
Message-ID: <F1962646D3B64642B7C9A06068EE1E6415DE7EB9@ex10.hostedexchange.local>
In-Reply-To: <4FFC4383.9020501@gmx.de>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Associated resource for PUT
Thread-Index: Ac1erMpA2HdCG9wART6mvE70VGNlXwABD9eA
References: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local> <4FFC4383.9020501@gmx.de>
From: "Robert Brewer" <fumanchu@aminus.org>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
X-OriginalArrivalTime: 10 Jul 2012 17:12:13.0250 (UTC) FILETIME=[25F9BA20:01CD5EBF]
Received-SPF: none client-ip=69.50.2.84; envelope-from=fumanchu@aminus.org; helo=bh1.myhostedexchange.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SodzH-00083I-7S a46e453202b38bb5cdddcf07bc2b9964
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Associated resource for PUT
Archived-At: <http://www.w3.org/mid/F1962646D3B64642B7C9A06068EE1E6415DE7EB9@ex10.hostedexchange.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14056
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>

Julian Reschke wrote:
> On 2012-07-10 16:55, Robert Brewer wrote:
> > Section 5.1 of draft-19 part 2 says, "An HTTP request
representation,
> > when present, is always associated with an anonymous (i.e.,
> > unidentified) resource." [1]  That makes perfect sense for POST, but
> for
> > PUT it makes sense IMO to declare that the representation is
> associated
> > with the target resource. Or is the intent that the representation
> "is
> > *to become* associated", and is therefore considered anonymous
before
> > the request had been handled?
>=20
> Yes, that's (IMHO) the intent. The decision is up to the server (after
> all, it could reject the request).
>=20
> > This is important for at least one reason: I believe this section in
> the
> > HTTP spec could be useful to establish a base URI for request
> entities
> > according to section 5.1 of the URI spec [2] (which itself might be
> > underspecified in this regard; it doesn't say much about operations
> > other than retrieval).
>=20
> Do you need that functionality until the time the PUT has succeeded?

The server needs to establish a base URI for any relative URI's in the
request entity. If the entity itself does not include a 'base' attribute
(and many media types do not allow for one at all), it seems natural for
PUT to default to the Request-URI, rather than leave it up to the
application to specify (and then document) for each URI.


Robert Brewer
fumanchu@aminus.org



From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 10:46:27 2012
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 B6F9921F87AB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 10:46:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.989
X-Spam-Level: 
X-Spam-Status: No, score=-6.989 tagged_above=-999 required=5 tests=[AWL=2.988, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 uArTqxzeav1W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 10:46:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E7E321F87AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 10:46: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 1SoeVM-0006gm-IG for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 17:45:44 +0000
Resent-Date: Tue, 10 Jul 2012 17:45:44 +0000
Resent-Message-Id: <E1SoeVM-0006gm-IG@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SoeVG-0006fN-2f for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 17:45:38 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a64.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SoeVA-0001B4-LE for ietf-http-wg@w3.org; Tue, 10 Jul 2012 17:45:38 +0000
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id E3CDF438082 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 10:45:10 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=rqbDZzCAnvzhrujSlWN0o 95r/ZPTmcMDaiKR4pLKew3Mr3sSyXcPqbHSDUkmGXm2AIWUKVJS96S/lOii+vQJI JP5RmxefwG7Ght5QoAO1Gb6Kf0e2sUIRZuKhYtLTge5i/U2UrtJyaewAfzxBexmK vIt7dClsT1oTmHuBkH+MxQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Fx6j6WZxK6zzX9ZDosc9 J650fIk=; b=nvV4CksrR4WcW8v34mTYall6/0na7yzWCvfYbP8aeXPoIdJ2x1i4 L12GVq1X60AdYXogeIwnhdU2sjfF0wxTIVZzzTMnlN2+NuIq/iX+hV5IIC/+Z9pI 0i/Amvfl1SbriDGgDtwGKmPDJwTwVFF7ajsPBOSWr9HhdPKFYvwLbxQ=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 756F1438080 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 10:45:10 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so594896pbc.2 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 10:45:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.220.39 with SMTP id pt7mr72371103pbc.40.1341942309796; Tue, 10 Jul 2012 10:45:09 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Tue, 10 Jul 2012 10:45:09 -0700 (PDT)
In-Reply-To: <4FFC5933.20702@isode.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAK3OfOi4VNRYrF31=DasKP=YHyRJ3e0y1X54q7UCiiywgxYFJQ@mail.gmail.com> <4FFC5933.20702@isode.com>
Date: Tue, 10 Jul 2012 12:45:09 -0500
Message-ID: <CAK3OfOjHxXT8X+oUoD+NnA4Ej02c==kUQ+HHcNRC8Q=97xeZiA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.207; envelope-from=nico@cryptonector.com; helo=homiemail-a64.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SoeVA-0001B4-LE 7aaf2ca8f41105de73ac5c2e9762192e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/CAK3OfOjHxXT8X+oUoD+NnA4Ej02c==kUQ+HHcNRC8Q=97xeZiA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14057
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 Tue, Jul 10, 2012 at 11:32 AM, Alexey Melnikov
<alexey.melnikov@isode.com> wrote:
> You REST-GSS approach has some benefits over currently existing web
> authentication, so I am looking forward to discussing with the WG whether
> this should be the basis for all future web authentication mechanisms.

Thanks.  I may be biased but I tend to agree :)

What benefits do you see?

Nico
--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 11:35:40 2012
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 8CD7A11E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 11:35:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 a0dpLHL1yngz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 11:35:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6AAE11E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 11:35:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SofGs-0004CI-FK for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 18:34:50 +0000
Resent-Date: Tue, 10 Jul 2012 18:34:50 +0000
Resent-Message-Id: <E1SofGs-0004CI-FK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SofGj-0004B5-Qe for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 18:34:41 +0000
Received: from prod-mail-xrelay05.akamai.com ([96.6.114.97]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SofGi-00024w-Q3 for ietf-http-wg@w3.org; Tue, 10 Jul 2012 18:34:41 +0000
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id D43E91C4997; Tue, 10 Jul 2012 18:34:14 +0000 (GMT)
Received: from prod-mail-relay04.akamai.com (prod-mail-relay04.akamai.com [172.27.8.27]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id C73DC1C4992; Tue, 10 Jul 2012 18:34:14 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub1.dfw01.corp.akamai.com [172.27.33.75]) by prod-mail-relay04.akamai.com (Postfix) with ESMTP id 38ED247BE9; Tue, 10 Jul 2012 18:34:10 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub1.dfw01.corp.akamai.com ([172.27.33.75]) with mapi; Tue, 10 Jul 2012 13:34:09 -0500
From: "Ludin, Stephen" <sludin@akamai.com>
To: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 10 Jul 2012 13:33:52 -0500
Thread-Topic: Content-Integrity header
Thread-Index: Ac1eypgAPyK1pAVDQBCzPUl/Tg0e0w==
Message-ID: <CC21C046.5A7F4%sludin@akamai.com>
In-Reply-To: <0125733d444bbbd8d657794af87ecc68@treenet.co.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.97; envelope-from=sludin@akamai.com; helo=prod-mail-xrelay05.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SofGi-00024w-Q3 cb4ae6e8ff803cf2aae5c0b72f3f2de9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CC21C046.5A7F4%25sludin@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14058
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 really like the idea of placing the Digest in the chunk trailers.  Being
able to calculate these digests on the fly and not buffer the entire
message is critical in my opinion.

Another concept that I have been playing with is providing digests on
individual chunks using chunk-extension.  The rational for this is for
very large objects.  With per-chunk digests the client would have the
ability to re-request a specific corrupted section of an object using a
range request rather than the entire object.  This can have enormous
perceived performance and reliability benefits for consumers of things
such as software download and large media files.

I was working on a draft to propose this, but I didn't feel it was well
baked enough to share.  If there is interest in this type of functionality
I will polish it up and post it.

One issue to point is is that for these types of "frame" based integrity
checks I generally feel like we are reinventing the content integrity
portion of SSL/TLS.  Though I see the value in begin able to do this apart
from SSL it forces the question at what point do you just switch over to
SSL to get the desired functionality?

-stephen



On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:

>On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>> +1
>>
>> I know that this is demanded.
>> When I discussion about http-authentication and phishing,
>> it is requested by many people.
>> It is a difficult problem.
>> ex) proxy...
>>
>> I think that it is good to do this discussion now.
>>
>> ---
>> Tatsuya
>>
>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>
>>> 1. To minimize complexity, only a single Content-Integrity header
>>> should be used. I don't want, as Roy points out, to have to iterated
>>> through a bunch of unsupported header values looking for the one I
>>> want. Just as it makes very little sense for an implementor to
>>> provide
>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>> message; there should be only a single Content-Integrity statement
>>> and
>>> I either understand it or I don't.
>
>Either the client advertises what it supports (opening itself to
>middleware erasing options they can't modify). Or the server uses
>multiple algorithms in hopes that the middleware cannot violate them
>all.
>It makes perfect sense to have several levels of integrity check. MD5,
>SHA1, AES in one response and allow the client to validate the strongest
>it can handle.
>
>There is also an arguable case for middleware wanting to add its own
>hash to inform the client essentially "this is what I got given". So the
>point of manipulation can be back-traced when the more secure end-to-end
>checks fail.
>
>If you want end-to-end integrity, don't stop at half measures.
>Particularly at half measures which can be corrupted.
>
>
>>>
>>> 2. The performance impact of calculating the digest needs to be
>>> carefully considered. I'd rather not be required to buffer a full
>>> representation in memory all the time just to calculate a header
>>> value. I know it's largely unavoidable, but perhaps there's some
>>> currently elusive solution that can be considered. For instance..
>>> allowing Content-Integrity to appear as a trailer at the end of a
>>> chunked response.
>
>As has been said Trailers happen here.
>
>>>
>>> 3. Something needs to be said about what happens if the
>>> Content-Integrity check fails. For instance, if a request containing
>>> Content-Integrity is sent to the server and the server detects that
>>> the signature is invalid, what should happen? what must happen?
>>> Likewise, how are intermediaries expected to treat the
>>> Content-Integrity header given that any intermediary is able to
>>> modify
>>> the payload at any time?
>
>This is going to be most useful on request/responses sent with
>"no-transform" of course.
>  If the integrity was only a MD5 or SHA1 hash which middleware can edit
>easily there is no end-to-end integrity, just hop-by-hop integrity.
>
>
>Also, there has to be a mutual secret between origin server and client.
>Without that, when integrity is compromised the transforming hop will
>simply erase or replace the Content-Integrity header value. A secret key
>unknown to that middleware is required to make the integrity hash break
>when it tries this.
>
>AYJ
>



From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 12:02:12 2012
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 E191211E80D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 12:02:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.653
X-Spam-Level: 
X-Spam-Status: No, score=-7.653 tagged_above=-999 required=5 tests=[AWL=2.946, BAYES_00=-2.599, 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 CuoOvsVZQJsU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 12:02:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BDAB211E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 12:02:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sofgd-0002MF-Fk for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 19:01:27 +0000
Resent-Date: Tue, 10 Jul 2012 19:01:27 +0000
Resent-Message-Id: <E1Sofgd-0002MF-Fk@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SofgW-0002LG-5t for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 19:01:20 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SofgU-000361-PI for ietf-http-wg@w3.org; Tue, 10 Jul 2012 19:01:20 +0000
Received: by obqv19 with SMTP id v19so390366obq.2 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 12:00:52 -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=uDWBWQhmUAJP66DFocFeQMkjH7nJWwPSfMKGRCMMVp4=; b=OQCDkfWxQZ2ehpuV0wt4bx/nQhd4vEX3JGhZf/LsOU65Lfrm9sagsn4brbFY9I9kur i1V+cR03GnjQl9mQLS6JfyTHUcTvfbkwJity8KRXlKSX0yJpHEJtZHsLtRWiJR+w1gKj 6VLX3HJ4MHpRBMvnGlLbAntIDM4dD+znDs86RD2S+TnoMTjrZLTFl6wyaM9N4jma6RD1 75O72I7gyX4Ty/rrcEU+1GqEhp9BsR5/e+UmBbfDH3zD/6x9FJx4RxaQWwZFUmEJHv1l 75lnubDJYSPFR3/gZO1sji5Ok9UIE51FozApJ+yphe3PGM8+vRb25IgD4tpgrxECr033 EM8w==
MIME-Version: 1.0
Received: by 10.182.74.68 with SMTP id r4mr42100720obv.31.1341946852756; Tue, 10 Jul 2012 12:00:52 -0700 (PDT)
Received: by 10.182.64.166 with HTTP; Tue, 10 Jul 2012 12:00:52 -0700 (PDT)
In-Reply-To: <CC21C046.5A7F4%sludin@akamai.com>
References: <0125733d444bbbd8d657794af87ecc68@treenet.co.nz> <CC21C046.5A7F4%sludin@akamai.com>
Date: Tue, 10 Jul 2012 15:00:52 -0400
Message-ID: <CAMm+LwhVhazHtzyfv-ER=PnFNtcioBQwX5HyqscLDtDJhzo_WA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "Ludin, Stephen" <sludin@akamai.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SofgU-000361-PI ad756af8512e0e181d6de7a4a5f2c454
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+LwhVhazHtzyfv-ER=PnFNtcioBQwX5HyqscLDtDJhzo_WA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14059
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>

Transport and application are different layers. It is not an either/or
thing. Often you want both.

What I am proposing does have an overlap with WS-* but it can be done
with one header and a five to ten page description rather than a
massive protocol stack.

TLS does have its place, but crossing credentials across from the
application layer to the transport layer is a complex problem. I see
credential management as something that should be protected in the
application even if you are going to use TLS or IPSEC. In fact my
particular application mandates HTTP over TLS in addition to service
level authentication checks.


More generally, I see this as an approach that would work very nicely
in an embedded systems context where authentication is demanded but
confidentiality may even be undesirable.

On Tue, Jul 10, 2012 at 2:33 PM, Ludin, Stephen <sludin@akamai.com> wrote:
> I really like the idea of placing the Digest in the chunk trailers.  Being
> able to calculate these digests on the fly and not buffer the entire
> message is critical in my opinion.
>
> Another concept that I have been playing with is providing digests on
> individual chunks using chunk-extension.  The rational for this is for
> very large objects.  With per-chunk digests the client would have the
> ability to re-request a specific corrupted section of an object using a
> range request rather than the entire object.  This can have enormous
> perceived performance and reliability benefits for consumers of things
> such as software download and large media files.
>
> I was working on a draft to propose this, but I didn't feel it was well
> baked enough to share.  If there is interest in this type of functionality
> I will polish it up and post it.
>
> One issue to point is is that for these types of "frame" based integrity
> checks I generally feel like we are reinventing the content integrity
> portion of SSL/TLS.  Though I see the value in begin able to do this apart
> from SSL it forces the question at what point do you just switch over to
> SSL to get the desired functionality?
>
> -stephen
>
>
>
> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>
>>On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>> +1
>>>
>>> I know that this is demanded.
>>> When I discussion about http-authentication and phishing,
>>> it is requested by many people.
>>> It is a difficult problem.
>>> ex) proxy...
>>>
>>> I think that it is good to do this discussion now.
>>>
>>> ---
>>> Tatsuya
>>>
>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>
>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>> through a bunch of unsupported header values looking for the one I
>>>> want. Just as it makes very little sense for an implementor to
>>>> provide
>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>> message; there should be only a single Content-Integrity statement
>>>> and
>>>> I either understand it or I don't.
>>
>>Either the client advertises what it supports (opening itself to
>>middleware erasing options they can't modify). Or the server uses
>>multiple algorithms in hopes that the middleware cannot violate them
>>all.
>>It makes perfect sense to have several levels of integrity check. MD5,
>>SHA1, AES in one response and allow the client to validate the strongest
>>it can handle.
>>
>>There is also an arguable case for middleware wanting to add its own
>>hash to inform the client essentially "this is what I got given". So the
>>point of manipulation can be back-traced when the more secure end-to-end
>>checks fail.
>>
>>If you want end-to-end integrity, don't stop at half measures.
>>Particularly at half measures which can be corrupted.
>>
>>
>>>>
>>>> 2. The performance impact of calculating the digest needs to be
>>>> carefully considered. I'd rather not be required to buffer a full
>>>> representation in memory all the time just to calculate a header
>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>> currently elusive solution that can be considered. For instance..
>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>> chunked response.
>>
>>As has been said Trailers happen here.
>>
>>>>
>>>> 3. Something needs to be said about what happens if the
>>>> Content-Integrity check fails. For instance, if a request containing
>>>> Content-Integrity is sent to the server and the server detects that
>>>> the signature is invalid, what should happen? what must happen?
>>>> Likewise, how are intermediaries expected to treat the
>>>> Content-Integrity header given that any intermediary is able to
>>>> modify
>>>> the payload at any time?
>>
>>This is going to be most useful on request/responses sent with
>>"no-transform" of course.
>>  If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>easily there is no end-to-end integrity, just hop-by-hop integrity.
>>
>>
>>Also, there has to be a mutual secret between origin server and client.
>>Without that, when integrity is compromised the transforming hop will
>>simply erase or replace the Content-Integrity header value. A secret key
>>unknown to that middleware is required to make the integrity hash break
>>when it tries this.
>>
>>AYJ
>>
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 12:50:25 2012
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 A874111E8132 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 12:50:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.015
X-Spam-Level: 
X-Spam-Status: No, score=-9.015 tagged_above=-999 required=5 tests=[AWL=1.584, BAYES_00=-2.599, 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 uJSwtMnOz5qQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 12:50:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D0E811E812C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 12:50:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SogQz-0000Np-PC for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 19:49:21 +0000
Resent-Date: Tue, 10 Jul 2012 19:49:21 +0000
Resent-Message-Id: <E1SogQz-0000Np-PC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SogQr-0000Md-QX for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 19:49:13 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SogQq-0005YQ-Bu for ietf-http-wg@w3.org; Tue, 10 Jul 2012 19:49:13 +0000
Received: (qmail invoked by alias); 10 Jul 2012 19:48:42 -0000
Received: from p5DD94F16.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.79.22] by mail.gmx.net (mp016) with SMTP; 10 Jul 2012 21:48:42 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX194p7h8QcV4nwfI0FB9xp71CFbfb+ZXs+AAiPn7Az KBYsQoSd3VJsxl
Message-ID: <4FFC8712.8040309@gmx.de>
Date: Tue, 10 Jul 2012 21:48:34 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SogQq-0005YQ-Bu 9c94d5151a00a1a8ee12956969f7f56b
X-Original-To: ietf-http-wg@w3.org
Subject: #370: If-None-Match vs 412 vs ignoring the header field
Archived-At: <http://www.w3.org/mid/4FFC8712.8040309@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14060
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>

 From an off-list WGLC comment:

>     3.2. If-None-Match
>
>         If the request would, without the If-None-Match header field, result in anything other than a 2xx or 304 status code, then the If-None-
>
> Should this list also include 412 listed above in the same section?

I believe this is correct, the list needs to include 412 as well; opened 
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/370> to track this.

Proposed changed text:

    If the request would, without the If-None-Match header field, result
    in anything other than a 2xx (Successful), 304 (Not Modified), or 412
    (Precondition Failed) status code, then the If-None-Match header
    field MUST be ignored.  (See Section 2.4 for a discussion of server
    behavior when both If-Modified-Since and If-None-Match appear in the
    same request.)

(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/370/370.diff>)

Feedback appreciated,

Julian



From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 13:19:17 2012
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 3053421F85F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 13:19:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.047
X-Spam-Level: 
X-Spam-Status: No, score=-9.047 tagged_above=-999 required=5 tests=[AWL=1.552, BAYES_00=-2.599, 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 pPClJ+w4x4ov for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 13:19:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 230FD21F85F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 13:19:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SogtI-0007YS-SR for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 20:18:36 +0000
Resent-Date: Tue, 10 Jul 2012 20:18:36 +0000
Resent-Message-Id: <E1SogtI-0007YS-SR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SogtB-0007Xh-QU for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 20:18:29 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SogtA-0006NN-K4 for ietf-http-wg@w3.org; Tue, 10 Jul 2012 20:18:29 +0000
Received: (qmail invoked by alias); 10 Jul 2012 20:18:02 -0000
Received: from p5DD94F16.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.79.22] by mail.gmx.net (mp033) with SMTP; 10 Jul 2012 22:18:02 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/qO2AyoSHq//hWtOJN0xMO+D3MkdT0vaZ7iEGsf3 nya/1ESr6k8VDN
Message-ID: <4FFC8DF0.1050803@gmx.de>
Date: Tue, 10 Jul 2012 22:17:52 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SogtA-0006NN-K4 d21f95e09edbe4cfa7ae423620fc6c76
X-Original-To: ietf-http-wg@w3.org
Subject: #372: refactor conditional header field descriptions
Archived-At: <http://www.w3.org/mid/4FFC8DF0.1050803@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14061
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>

(see http://trac.tools.ietf.org/wg/httpbis/trac/ticket/372)

While looking at If-Match and If-None-Match I realized that there's a 
lot of prose we repeat, and then sometimes do not get it right.

I'd like to refactor these so that the condition is only defined once.

Proposal for If-Match:

diff -r19.43 draft-ietf-httpbis-p4-conditional-latest.unpg.txt
630,640c630,641
<  If any of the entity-tags listed in the If-Match field value match
<  (as per Section 2.3.2) the entity-tag of the selected representation
<  for the target resource, or if "*" is given and any current
<  representation exists for the target resource, then the server MAY
<  perform the request method as if the If-Match header field was not
<  present.
<
<  Origin servers MUST NOT perform the requested method if none of the
<  entity-tags match, or if "*" is given and no current representation
<  exists; instead they MUST respond with the 412 (Precondition Failed)
<  status code.
---
 >  The If-Match condition is met if and only if any of the entity-tags
 >  listed in the If-Match field value match (as per Section 2.3.2) the
 >  entity-tag of the selected representation for the target resource, or
 >  if "*" is given and any current representation exists for the target
 >  resource.
 >
 >  If the condition is met, the server MAY perform the request method as
 >  if the If-Match header field was not present.
 >
 >  Origin servers MUST NOT perform the requested method if the condition
 >  is not met; instead they MUST respond with the 412 (Precondition
 >  Failed) status code.
643,644c644
<  MUST NOT perform the requested method if none of the entity-tags
<  match, or if "*" is given and no current representation exists;
---
 >  MUST NOT perform the requested method if the condition is not met;

and for If-None-Match:

<  If any of the entity-tags listed in the If-None-Match field-value
<  match (as per Section 2.3.2) the entity-tag of the selected
<  representation, or if "*" is given and any current representation
<  exists for that resource, then the server MUST NOT perform the
<  requested method.  Instead, if the request method was GET or HEAD,
<  the server SHOULD respond with a 304 (Not Modified) status code,
<  including the cache-related header fields (particularly ETag) of the
<  selected representation that has a matching entity-tag.  For all
<  other request methods, the server MUST respond with a 412
<  (Precondition Failed) status code.
<
<  If none of the entity-tags match, then the server MAY perform the
<  requested method as if the If-None-Match header field did not exist,
<  but MUST also ignore any If-Modified-Since header field(s) in the
<  request.  That is, if no entity-tags match, then the server MUST NOT
<  return a 304 (Not Modified) response.
---
 >  The If-None-Match condition is met if and only if any of the entity-
 >  tags listed in the If-None-Match field-value match (as per
 >  Section 2.3.2) the entity-tag of the selected representation, or if
 >  "*" is given and any current representation exists for that resource.
 >
 >  If the condition is met, the server MUST NOT perform the requested
 >  method.  Instead, if the request method was GET or HEAD, the server
 >  SHOULD respond with a 304 (Not Modified) status code, including the
 >  cache-related header fields (particularly ETag) of the selected
 >  representation that has a matching entity-tag.  For all other request
 >  methods, the server MUST respond with a 412 (Precondition Failed)
 >  status code.
 >
 >  If the condition is not met, the server MAY perform the requested
 >  method as if the If-None-Match header field did not exist, but MUST
 >  also ignore any If-Modified-Since header field(s) in the request.
 >  That is, if no entity-tags match, then the server MUST NOT return a
 >  304 (Not Modified) response.

(See 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/372/372.diff>)

Feedback appreciated,

Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 16:18:00 2012
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 A8E4811E817A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:18:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.889
X-Spam-Level: 
X-Spam-Status: No, score=-9.889 tagged_above=-999 required=5 tests=[AWL=0.710, BAYES_00=-2.599, 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 YcXpAaCJdxso for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:18:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1CE7B11E815B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 16:17:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SojfH-0000b7-Hu for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 23:16:19 +0000
Resent-Date: Tue, 10 Jul 2012 23:16:19 +0000
Resent-Message-Id: <E1SojfH-0000b7-Hu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sojey-0000aH-Dl for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 23:16:00 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sojex-0003qw-7t for ietf-http-wg@w3.org; Tue, 10 Jul 2012 23:16:00 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id BBE80E70A4; Wed, 11 Jul 2012 11:15:31 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 11 Jul 2012 11:15:30 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E6415DE7EB9@ex10.hostedexchange.local>
References: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local> <4FFC4383.9020501@gmx.de> <F1962646D3B64642B7C9A06068EE1E6415DE7EB9@ex10.hostedexchange.local>
Message-ID: <2e23e3e3f3c6d8da679c9e558347fb7a@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sojex-0003qw-7t 1375624157f8389409fa14e6abf4751a
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Associated resource for PUT
Archived-At: <http://www.w3.org/mid/2e23e3e3f3c6d8da679c9e558347fb7a@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14062
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 11.07.2012 05:12, Robert Brewer wrote:
> Julian Reschke wrote:
>> On 2012-07-10 16:55, Robert Brewer wrote:
>> > Section 5.1 of draft-19 part 2 says, "An HTTP request
> representation,
>> > when present, is always associated with an anonymous (i.e.,
>> > unidentified) resource." [1]  That makes perfect sense for POST, 
>> but
>> for
>> > PUT it makes sense IMO to declare that the representation is
>> associated
>> > with the target resource. Or is the intent that the representation
>> "is
>> > *to become* associated", and is therefore considered anonymous
> before
>> > the request had been handled?
>>
>> Yes, that's (IMHO) the intent. The decision is up to the server 
>> (after
>> all, it could reject the request).
>>
>> > This is important for at least one reason: I believe this section 
>> in
>> the
>> > HTTP spec could be useful to establish a base URI for request
>> entities
>> > according to section 5.1 of the URI spec [2] (which itself might 
>> be
>> > underspecified in this regard; it doesn't say much about 
>> operations
>> > other than retrieval).
>>
>> Do you need that functionality until the time the PUT has succeeded?
>
> The server needs to establish a base URI for any relative URI's in 
> the
> request entity. If the entity itself does not include a 'base' 
> attribute
> (and many media types do not allow for one at all), it seems natural 
> for
> PUT to default to the Request-URI, rather than leave it up to the
> application to specify (and then document) for each URI.
>

The same would appear to be true for POST entity relative URLs as well.
Is there some problem I'm overlooking?

AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 16:26:59 2012
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 1B00C11E80FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:26:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.35
X-Spam-Level: 
X-Spam-Status: No, score=-9.35 tagged_above=-999 required=5 tests=[AWL=0.626, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 7Lnyd1-RvrRo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:26:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3213A11E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 16:26:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sojol-00040n-UR for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 23:26:07 +0000
Resent-Date: Tue, 10 Jul 2012 23:26:07 +0000
Resent-Message-Id: <E1Sojol-00040n-UR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1Sojoe-000404-PK for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 23:26:00 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1Sojod-0004jf-BN for ietf-http-wg@w3.org; Tue, 10 Jul 2012 23:26:00 +0000
Received: by obqv19 with SMTP id v19so736779obq.2 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 16:25:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=Ecu/RpkiYJ+XwOrPwGK6/5Nq62WVbAe3NBAYqOV79AI=; b=OzulvF1eOukNe8aVH7wLi0jxcjhKZTitkQsURj0L7hZkp5WeNat4Ac2yKIEG2mpnnU 0z1Wd0dZVJbnMNVt+Z09fhh0crlVmSfxwnMRO+uMAy2CuIOkLRLHTylCu0nK3Da6ASSk 5k/JXLd7pyyOIf9zabdo05VtW3P9imPSx+dgcXYVgMNQBJBmwjyiaZmCRkHoPtBPUVAc M8wAaVuypxMat028d04Y3zg5KJvIrJFRxvibLx/deBBgukbb2BioNThxOFY7E0QHaEym UC5L4cJImKRvdfVvN6lYcKEUwlti6MGOiUAu3RZwk64jl/oNP8IKR1KaX7+WjyAQKV8q 3rpw==
MIME-Version: 1.0
Received: by 10.182.98.108 with SMTP id eh12mr42325446obb.6.1341962733141; Tue, 10 Jul 2012 16:25:33 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Tue, 10 Jul 2012 16:25:33 -0700 (PDT)
X-Originating-IP: [24.84.212.180]
In-Reply-To: <20120710231600.5776.68143.idtracker@ietfa.amsl.com>
References: <20120710231600.5776.68143.idtracker@ietfa.amsl.com>
Date: Tue, 10 Jul 2012 16:25:33 -0700
Message-ID: <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=14dae93a15cd02bd7804c4820c30
X-Gm-Message-State: ALoCoQlBGCV1jLr01IK8j7hQy2LkrSUo8/8jED/XTrVJwBGrtSYZ1Kd4yaOy7RTfZ+Gb8PmwpUC+
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sojod-0004jf-BN 94694ac1ed1aa02e5ba9199514ccc9e6
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-01.txt
Archived-At: <http://www.w3.org/mid/CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14063
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>

--14dae93a15cd02bd7804c4820c30
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Since MNot has put this on the agenda, I thought I should revise one more
time.  There=92s one big change and a bunch of little ones.

Big: I went and talked to some subject-matter experts at Google who are
paid to think about this sort of policy stuff, and some others who might
have to implement it.  I got strong advice that the draft should not talk
about =93legal restrictions=94 because this might carry an implication that=
 the
party emitting the 451 acknowledges that this is in fact a =93restriction=
=94.
 In fact, many parties get legal demands that they think might well be
bogus but choose not to go to court for reasons of policy or cost; so
they=92d like to avoid implying that they acknowledge a =93restriction=94. =
 I was
advised that it was perfectly OK to report that legal =93demands=94 had bee=
n
made, and eventually became convinced that this was more accurate. The
Republican Guards call up and demand that you take down some links, and you
think they might be full of crap, but they=92re the Guards, so you can
accurately report that the *demand* was made.

So most of the changes are a slight re-spin to talk about demands or
obstacles rather than restrictions.

Smaller:
- Typos fixed
- Changed to People=92s Front of Judea for better Pythonicity
- Changed reference to Roman law in response to expert advice.


---------- Forwarded message ----------
From:  <internet-drafts@ietf.org>
Date: Tue, Jul 10, 2012 at 4:16 PM
Subject: New Version Notification for
draft-tbray-http-legally-restricted-status-01.txt
To: tbray@textuality.com



A new version of I-D, draft-tbray-http-legally-restricted-status-01.txt
has been successfully submitted by Tim Bray and posted to the
IETF repository.

Filename:        draft-tbray-http-legally-restricted-status
Revision:        01
Title:           A New HTTP Status Code to Report Legal Obstacles
Creation date:   2012-07-10
WG ID:           Individual Submission
Number of pages: 5
URL:
http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-sta=
tus-01.txt
Status:
http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
Htmlized:
http://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-01
Diff:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-tbray-http-legally-restricted-st=
atus-01

Abstract:
   This document specifies an additional Hypertext Transfer Protocol
   (HTTP) status code for use when resource access is denied due to
   legal demands.




The IETF Secretariat

--14dae93a15cd02bd7804c4820c30
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Since MNot has put this on the agenda, I thought I should revise one more t=
ime. =A0There=92s one big change and a bunch of little ones.<br><br>Big: I =
went and talked to some subject-matter experts at Google who are paid to th=
ink about this sort of policy stuff, and some others who might have to impl=
ement it. =A0I got strong advice that the draft should not talk about =93le=
gal restrictions=94 because this might carry an implication that the party =
emitting the 451 acknowledges that this is in fact a =93restriction=94. =A0=
In fact, many parties get legal demands that they think might well be bogus=
 but choose not to go to court for reasons of policy or cost; so they=92d l=
ike to avoid implying that they acknowledge a =93restriction=94. =A0I was a=
dvised that it was perfectly OK to report that legal =93demands=94 had been=
 made, and eventually became convinced that this was more accurate. The Rep=
ublican Guards call up and demand that you take down some links, and you th=
ink they might be full of crap, but they=92re the Guards, so you can accura=
tely report that the *demand* was made.<div>
<br></div><div>So most of the changes are a slight re-spin to talk about de=
mands or obstacles rather than restrictions.</div><div><br></div><div>Small=
er:</div><div>- Typos fixed</div><div>- Changed to People=92s Front of Jude=
a for better Pythonicity</div>
<div>- Changed reference to Roman law in response to expert advice.<br><br>=
<br>---------- Forwarded message ----------<br>From: =A0&lt;<a href=3D"mail=
to:internet-drafts@ietf.org">internet-drafts@ietf.org</a>&gt;<br>Date: Tue,=
 Jul 10, 2012 at 4:16 PM<br>
Subject: New Version Notification for draft-tbray-http-legally-restricted-s=
tatus-01.txt<br>To: <a href=3D"mailto:tbray@textuality.com">tbray@textualit=
y.com</a><br><br><br><br>A new version of I-D, draft-tbray-http-legally-res=
tricted-status-01.txt<br>
has been successfully submitted by Tim Bray and posted to the<br>IETF repos=
itory.<br><br>Filename: =A0 =A0 =A0 =A0draft-tbray-http-legally-restricted-=
status<br>Revision: =A0 =A0 =A0 =A001<br>Title: =A0 =A0 =A0 =A0 =A0 A New H=
TTP Status Code to Report Legal Obstacles<br>
Creation date: =A0 2012-07-10<br>WG ID: =A0 =A0 =A0 =A0 =A0 Individual Subm=
ission<br>Number of pages: 5<br>URL: =A0 =A0 =A0 =A0 =A0 =A0 <a href=3D"htt=
p://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-status=
-01.txt">http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restr=
icted-status-01.txt</a><br>
Status: =A0 =A0 =A0 =A0 =A0<a href=3D"http://datatracker.ietf.org/doc/draft=
-tbray-http-legally-restricted-status">http://datatracker.ietf.org/doc/draf=
t-tbray-http-legally-restricted-status</a><br>Htmlized: =A0 =A0 =A0 =A0<a h=
ref=3D"http://tools.ietf.org/html/draft-tbray-http-legally-restricted-statu=
s-01">http://tools.ietf.org/html/draft-tbray-http-legally-restricted-status=
-01</a><br>
Diff: =A0 =A0 =A0 =A0 =A0 =A0<a href=3D"http://tools.ietf.org/rfcdiff?url2=
=3Ddraft-tbray-http-legally-restricted-status-01">http://tools.ietf.org/rfc=
diff?url2=3Ddraft-tbray-http-legally-restricted-status-01</a><br><br>Abstra=
ct:<br>=A0 =A0This document specifies an additional Hypertext Transfer Prot=
ocol<br>
=A0 =A0(HTTP) status code for use when resource access is denied due to<br>=
=A0 =A0legal demands.<br><br><br><br><br>The IETF Secretariat<br></div>

--14dae93a15cd02bd7804c4820c30--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 16:55:41 2012
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 F005421F85FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:55:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 wUMxpkUmALPx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:55:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E1D5421F85FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 16:55:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SokGc-0007WR-LL for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 23:54:54 +0000
Resent-Date: Tue, 10 Jul 2012 23:54:54 +0000
Resent-Message-Id: <E1SokGc-0007WR-LL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1SokGV-0007Ux-Rr for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 23:54:47 +0000
Received: from bh1.myhostedexchange.com ([69.50.2.84]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1SokGV-0005SF-0H for ietf-http-wg@w3.org; Tue, 10 Jul 2012 23:54:47 +0000
Received: from ex10.myhostedexchange.com ([69.50.2.84]) by bh1.myhostedexchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Jul 2012 16:54:23 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
Date: Tue, 10 Jul 2012 16:54:21 -0700
Message-ID: <F1962646D3B64642B7C9A06068EE1E6415DE803D@ex10.hostedexchange.local>
In-Reply-To: <2e23e3e3f3c6d8da679c9e558347fb7a@treenet.co.nz>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Associated resource for PUT
Thread-Index: Ac1e8lGYK7r23A9uS/OwZenxQsdrAwAA2Q0w
References: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local> <4FFC4383.9020501@gmx.de> <F1962646D3B64642B7C9A06068EE1E6415DE7EB9@ex10.hostedexchange.local> <2e23e3e3f3c6d8da679c9e558347fb7a@treenet.co.nz>
From: "Robert Brewer" <fumanchu@aminus.org>
To: "Amos Jeffries" <squid3@treenet.co.nz>, <ietf-http-wg@w3.org>
X-OriginalArrivalTime: 10 Jul 2012 23:54:23.0946 (UTC) FILETIME=[54FDBAA0:01CD5EF7]
Received-SPF: none client-ip=69.50.2.84; envelope-from=fumanchu@aminus.org; helo=bh1.myhostedexchange.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SokGV-0005SF-0H 3d785700a5637d152b6ae015d3c343da
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Associated resource for PUT
Archived-At: <http://www.w3.org/mid/F1962646D3B64642B7C9A06068EE1E6415DE803D@ex10.hostedexchange.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14064
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>

QW1vcyBKZWZmcmllcyB3cm90ZToNCj4gT24gMTEuMDcuMjAxMiAwNToxMiwgUm9iZXJ0IEJyZXdl
ciB3cm90ZToNCj4gPiBKdWxpYW4gUmVzY2hrZSB3cm90ZToNCj4gPj4gT24gMjAxMi0wNy0xMCAx
Njo1NSwgUm9iZXJ0IEJyZXdlciB3cm90ZToNCj4gPj4gPiBTZWN0aW9uIDUuMSBvZiBkcmFmdC0x
OSBwYXJ0IDIgc2F5cywgIkFuIEhUVFAgcmVxdWVzdA0KPiA+IHJlcHJlc2VudGF0aW9uLA0KPiA+
PiA+IHdoZW4gcHJlc2VudCwgaXMgYWx3YXlzIGFzc29jaWF0ZWQgd2l0aCBhbiBhbm9ueW1vdXMg
KGkuZS4sDQo+ID4+ID4gdW5pZGVudGlmaWVkKSByZXNvdXJjZS4iIFsxXSAgVGhhdCBtYWtlcyBw
ZXJmZWN0IHNlbnNlIGZvciBQT1NULA0KPiA+PiBidXQNCj4gPj4gZm9yDQo+ID4+ID4gUFVUIGl0
IG1ha2VzIHNlbnNlIElNTyB0byBkZWNsYXJlIHRoYXQgdGhlIHJlcHJlc2VudGF0aW9uIGlzDQo+
ID4+IGFzc29jaWF0ZWQNCj4gPj4gPiB3aXRoIHRoZSB0YXJnZXQgcmVzb3VyY2UuIE9yIGlzIHRo
ZSBpbnRlbnQgdGhhdCB0aGUgcmVwcmVzZW50YXRpb24NCj4gPj4gImlzDQo+ID4+ID4gKnRvIGJl
Y29tZSogYXNzb2NpYXRlZCIsIGFuZCBpcyB0aGVyZWZvcmUgY29uc2lkZXJlZCBhbm9ueW1vdXMN
Cj4gPiBiZWZvcmUNCj4gPj4gPiB0aGUgcmVxdWVzdCBoYWQgYmVlbiBoYW5kbGVkPw0KPiA+Pg0K
PiA+PiBZZXMsIHRoYXQncyAoSU1ITykgdGhlIGludGVudC4gVGhlIGRlY2lzaW9uIGlzIHVwIHRv
IHRoZSBzZXJ2ZXINCj4gPj4gKGFmdGVyDQo+ID4+IGFsbCwgaXQgY291bGQgcmVqZWN0IHRoZSBy
ZXF1ZXN0KS4NCj4gPj4NCj4gPj4gPiBUaGlzIGlzIGltcG9ydGFudCBmb3IgYXQgbGVhc3Qgb25l
IHJlYXNvbjogSSBiZWxpZXZlIHRoaXMgc2VjdGlvbg0KPiA+PiBpbg0KPiA+PiB0aGUNCj4gPj4g
PiBIVFRQIHNwZWMgY291bGQgYmUgdXNlZnVsIHRvIGVzdGFibGlzaCBhIGJhc2UgVVJJIGZvciBy
ZXF1ZXN0DQo+ID4+IGVudGl0aWVzDQo+ID4+ID4gYWNjb3JkaW5nIHRvIHNlY3Rpb24gNS4xIG9m
IHRoZSBVUkkgc3BlYyBbMl0gKHdoaWNoIGl0c2VsZiBtaWdodA0KPiA+PiBiZQ0KPiA+PiA+IHVu
ZGVyc3BlY2lmaWVkIGluIHRoaXMgcmVnYXJkOyBpdCBkb2Vzbid0IHNheSBtdWNoIGFib3V0DQo+
ID4+IG9wZXJhdGlvbnMNCj4gPj4gPiBvdGhlciB0aGFuIHJldHJpZXZhbCkuDQo+ID4+DQo+ID4+
IERvIHlvdSBuZWVkIHRoYXQgZnVuY3Rpb25hbGl0eSB1bnRpbCB0aGUgdGltZSB0aGUgUFVUIGhh
cyBzdWNjZWVkZWQ/DQo+ID4NCj4gPiBUaGUgc2VydmVyIG5lZWRzIHRvIGVzdGFibGlzaCBhIGJh
c2UgVVJJIGZvciBhbnkgcmVsYXRpdmUgVVJJJ3MgaW4NCj4gPiB0aGUNCj4gPiByZXF1ZXN0IGVu
dGl0eS4gSWYgdGhlIGVudGl0eSBpdHNlbGYgZG9lcyBub3QgaW5jbHVkZSBhICdiYXNlJw0KPiA+
IGF0dHJpYnV0ZQ0KPiA+IChhbmQgbWFueSBtZWRpYSB0eXBlcyBkbyBub3QgYWxsb3cgZm9yIG9u
ZSBhdCBhbGwpLCBpdCBzZWVtcyBuYXR1cmFsDQo+ID4gZm9yDQo+ID4gUFVUIHRvIGRlZmF1bHQg
dG8gdGhlIFJlcXVlc3QtVVJJLCByYXRoZXIgdGhhbiBsZWF2ZSBpdCB1cCB0byB0aGUNCj4gPiBh
cHBsaWNhdGlvbiB0byBzcGVjaWZ5IChhbmQgdGhlbiBkb2N1bWVudCkgZm9yIGVhY2ggVVJJLg0K
PiA+DQo+IA0KPiBUaGUgc2FtZSB3b3VsZCBhcHBlYXIgdG8gYmUgdHJ1ZSBmb3IgUE9TVCBlbnRp
dHkgcmVsYXRpdmUgVVJMcyBhcyB3ZWxsLg0KPiBJcyB0aGVyZSBzb21lIHByb2JsZW0gSSdtIG92
ZXJsb29raW5nPw0KDQpZZXMsIHRoZSBzZXJ2ZXIgYWxzbyBuZWVkcyB0byBlc3RhYmxpc2ggYSBi
YXNlIFVSSSBmb3IgUE9TVCBlbnRpdGllcy4gSXQncyBqdXN0IG5vdCBhcyBjbGVhci1jdXQgd2hh
dCB0aGF0IGJhc2Ugc2hvdWxkIGJlIGZvciBQT1NUOyBmb3IgZXhhbXBsZSwgbG90cyBvZiByZXNv
dXJjZXMgaGF2ZSBiZWVuIGRlc2lnbmVkIGFzIGEgY29sbGVjdGlvbiB0byB3aGljaCBvbmUgUE9T
VHMgYW4gaXRlbSB3aGljaCB0aGVuIGV4aXN0cyBhdCBhIGRpZmZlcmVudCBVUkwgY2hvc2VuIGJ5
IHRoZSBzZXJ2ZXIuIFNvIHRoZSBvcHRpb24gb2YgdXNpbmcgdGhlIFJlcXVlc3QtVVJJIGlzbid0
IGFzIG9idmlvdXMgYXMgaXQgaXMgZm9yIFBVVCwgYW5kIGl0IHNlZW1zIG1vcmUgbmF0dXJhbCB0
byBhc3N1bWUgdGhlIHNlcnZlciBtdXN0IGRlY2lkZSBhbmQgZGVzY3JpYmUgc29tZSBhcHBsaWNh
dGlvbi1zcGVjaWZpYyBkZWZhdWx0Lg0KDQpUaGUgYmFzZSBVUkkgb2YgYSBHRVQgcmVzcG9uc2Ug
aXMgc28gb2J2aW91c2x5IHRoZSBSZXF1ZXN0LVVSSSwgaXQncyBhIGJpdCBzdXJwcmlzaW5nIHRo
YXQgZm9yIHNvbWUgcmVhc29uIHRoYXQgaGFzbid0IGJlZW4gYXMgb2J2aW91cyBmb3IgdGhlIGJh
c2UgVVJJIG9mIGEgUFVUIHJlcXVlc3QsIGdpdmVuIHRoZWlyIHNlbWFudGljIHN5bW1ldHJ5LiBJ
cyB0aGVyZSBhbnkgdXNlIGNhc2UgKG9yIGV2ZW4gYW55IGZhY2lsaXR5KSB0byBoYXZlIHRoZSBi
YXNlIFVSSSBvZiBhIFBVVCByZXF1ZXN0IGJlIHNvbWUgb3RoZXIgVVJJPyBDYW4geW91IHJldHVy
biAyMDEgQ3JlYXRlZCB3aXRoIGEgTG9jYXRpb24gb2Ygc29tZSBvdGhlciBVUkkgZm9yIFBVVD8g
SWYgbm90LCB0aGVuIGl0J3MgYSBiaXQgbWlzbGVhZGluZyB0byBzYXkgIkFuIEhUVFAgcmVxdWVz
dCByZXByZXNlbnRhdGlvbiBpcyBhbHdheXMgYXNzb2NpYXRlZCB3aXRoIGFuIGFub255bW91cyBy
ZXNvdXJjZS4iDQoNCg0KUm9iZXJ0IEJyZXdlcg0KZnVtYW5jaHVAYW1pbnVzLm9yZw0KDQo=


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 16:59:42 2012
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 6A1E011E8093 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:59:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.691
X-Spam-Level: 
X-Spam-Status: No, score=-8.691 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908, 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 qyB9XHbqolaN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 16:59:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 73DD711E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 16:59:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SokKe-0000hm-0J for ietf-http-wg-dist@listhub.w3.org; Tue, 10 Jul 2012 23:59:04 +0000
Resent-Date: Tue, 10 Jul 2012 23:59:04 +0000
Resent-Message-Id: <E1SokKe-0000hm-0J@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SokKW-0000gy-KL for ietf-http-wg@listhub.w3.org; Tue, 10 Jul 2012 23:58:56 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SokKV-0005Yk-Bb for ietf-http-wg@w3.org; Tue, 10 Jul 2012 23:58:56 +0000
Received: from [192.168.0.100] (unknown [1.142.167.58]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 522B250A65; Tue, 10 Jul 2012 19:58:30 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CC21C046.5A7F4%sludin@akamai.com>
Date: Wed, 11 Jul 2012 09:59:02 +1000
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
References: <CC21C046.5A7F4%sludin@akamai.com>
To: "Ludin, Stephen" <sludin@akamai.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SokKV-0005Yk-Bb 274cd3fc52186b7250e6a6adb4cb9527
X-Original-To: ietf-http-wg@w3.org
Subject: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14065
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>

chunk-extensions aren't widely supported in APIs, and usually dropped =
hop-by-hop (then again, trailers can be too).

Some discussion of trailer support in Apache:
  =
http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.html=


=85 and using Trailers to surface debug information in Firebug:
  https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH8

(yes, this is a bit of a project for me)

Finally, I know some server-side implementers would would LOVE to be =
able to set things like ETag and Last-Modified in trailers, and have =
them used by caches...

Cheers,


On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:

> I really like the idea of placing the Digest in the chunk trailers.  =
Being
> able to calculate these digests on the fly and not buffer the entire
> message is critical in my opinion.
>=20
> Another concept that I have been playing with is providing digests on
> individual chunks using chunk-extension.  The rational for this is for
> very large objects.  With per-chunk digests the client would have the
> ability to re-request a specific corrupted section of an object using =
a
> range request rather than the entire object.  This can have enormous
> perceived performance and reliability benefits for consumers of things
> such as software download and large media files.
>=20
> I was working on a draft to propose this, but I didn't feel it was =
well
> baked enough to share.  If there is interest in this type of =
functionality
> I will polish it up and post it.
>=20
> One issue to point is is that for these types of "frame" based =
integrity
> checks I generally feel like we are reinventing the content integrity
> portion of SSL/TLS.  Though I see the value in begin able to do this =
apart
> from SSL it forces the question at what point do you just switch over =
to
> SSL to get the desired functionality?
>=20
> -stephen
>=20
>=20
>=20
> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>=20
>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>> +1
>>>=20
>>> I know that this is demanded.
>>> When I discussion about http-authentication and phishing,
>>> it is requested by many people.
>>> It is a difficult problem.
>>> ex) proxy...
>>>=20
>>> I think that it is good to do this discussion now.
>>>=20
>>> ---
>>> Tatsuya
>>>=20
>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>=20
>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>> should be used. I don't want, as Roy points out, to have to =
iterated
>>>> through a bunch of unsupported header values looking for the one I
>>>> want. Just as it makes very little sense for an implementor to
>>>> provide
>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>> message; there should be only a single Content-Integrity statement
>>>> and
>>>> I either understand it or I don't.
>>=20
>> Either the client advertises what it supports (opening itself to
>> middleware erasing options they can't modify). Or the server uses
>> multiple algorithms in hopes that the middleware cannot violate them
>> all.
>> It makes perfect sense to have several levels of integrity check. =
MD5,
>> SHA1, AES in one response and allow the client to validate the =
strongest
>> it can handle.
>>=20
>> There is also an arguable case for middleware wanting to add its own
>> hash to inform the client essentially "this is what I got given". So =
the
>> point of manipulation can be back-traced when the more secure =
end-to-end
>> checks fail.
>>=20
>> If you want end-to-end integrity, don't stop at half measures.
>> Particularly at half measures which can be corrupted.
>>=20
>>=20
>>>>=20
>>>> 2. The performance impact of calculating the digest needs to be
>>>> carefully considered. I'd rather not be required to buffer a full
>>>> representation in memory all the time just to calculate a header
>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>> currently elusive solution that can be considered. For instance..
>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>> chunked response.
>>=20
>> As has been said Trailers happen here.
>>=20
>>>>=20
>>>> 3. Something needs to be said about what happens if the
>>>> Content-Integrity check fails. For instance, if a request =
containing
>>>> Content-Integrity is sent to the server and the server detects that
>>>> the signature is invalid, what should happen? what must happen?
>>>> Likewise, how are intermediaries expected to treat the
>>>> Content-Integrity header given that any intermediary is able to
>>>> modify
>>>> the payload at any time?
>>=20
>> This is going to be most useful on request/responses sent with
>> "no-transform" of course.
>> If the integrity was only a MD5 or SHA1 hash which middleware can =
edit
>> easily there is no end-to-end integrity, just hop-by-hop integrity.
>>=20
>>=20
>> Also, there has to be a mutual secret between origin server and =
client.
>> Without that, when integrity is compromised the transforming hop will
>> simply erase or replace the Content-Integrity header value. A secret =
key
>> unknown to that middleware is required to make the integrity hash =
break
>> when it tries this.
>>=20
>> AYJ
>>=20
>=20
>=20

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






From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 19:52:08 2012
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 EA34D11E80FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 19:52:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.089
X-Spam-Level: 
X-Spam-Status: No, score=-8.089 tagged_above=-999 required=5 tests=[AWL=2.510, BAYES_00=-2.599, 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 AYaM6sVYa2xG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 19:52:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B21B911E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 19:52:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Son0x-0006FB-Tj for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 02:50:55 +0000
Resent-Date: Wed, 11 Jul 2012 02:50:55 +0000
Resent-Message-Id: <E1Son0x-0006FB-Tj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Son0q-000692-Cn for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 02:50:48 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Son0o-0002Q9-Np for ietf-http-wg@w3.org; Wed, 11 Jul 2012 02:50:48 +0000
Received: by wgbdt14 with SMTP id dt14so462777wgb.26 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 19:50:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=M24YH4KbNO9EL6ptJF48UlzgotGxSewR2Wf2EFvynxc=; b=m0N0tR0Jngp7eLXbwB4czWXLa58a33hPnXTRpmOqkq7o0ZyB7geOPViYGCsTXyuJrE n27KlvyWQ5NJAEjfm1vnmL+BQCvAxMy6lQEuR4mHhBUYcQfs+RA+zi8UEVPIAZrMNhnp 5X5obwhkE3g9hDp0s5Eig0KeyexZMqZEySfuqu1fFXxYGrwk1AgEKovIP47rxqE4NZV5 /02QRUByBZJPNpYNwDKTgotZczXdnn0K9FlSY1LXcGlCh4mwIrRWupf+PYDws84yoZBC QFYvnRgHB5T0GWIAUdwIkmPWqSpPiSNMSkiCtxOR+Mz1FEjwBHSvQT9oMWJxHBbZZbiY IiIQ==
Received: by 10.216.208.89 with SMTP id p67mr20139643weo.155.1341975020237; Tue, 10 Jul 2012 19:50:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 10 Jul 2012 19:50:00 -0700 (PDT)
In-Reply-To: <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 10 Jul 2012 19:50:00 -0700
Message-ID: <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "Ludin, Stephen" <sludin@akamai.com>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Son0o-0002Q9-Np a28b7efebef3b33284bdeddbf545e4f9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14066
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>

Yeah, this has been my experience as well. Unfortunately, I'm not sure
if this is something that can be effectively fixed. Off the top of my
head, I don't know of a single server or client side http stack that
is capable of easily setting Trailers in the stream. I just checked
and support for trailers is still missing in the Servlet API, for
instance.

I know this kind of thing is generally frowned upon, but one possible
approach is to make use of a special content-type... for instance...

  HTTP/1.1 200 OK
  Trailer: Content-Integrity
  Content-Type: application/http-trailers; type=3D"text/plain"

  foobar

  Content-Integrity:
sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f

This is just a strawman, but essentially, it would append a checksum
to the end of the content stream. It's not a trailer in the
traditional sense, it's actually encoded as part of the payload. In
lieu of proper Trailer support this is the only other way I can see it
working effectively in HTTP/1.1.

For HTTP/2.0, I suppose it would be possible for us to take a more
appropriate approach either with trailers or by building the integrity
mechanism into the framing somehow.

(Warning: thinking out loud *before* having consumed any beer... the
ideas expressed above may not make any sense. May need to apply
alcohol and try again)

- James

On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
> chunk-extensions aren't widely supported in APIs, and usually dropped hop=
-by-hop (then again, trailers can be too).
>
> Some discussion of trailer support in Apache:
>   http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.h=
tml
>
> =E2=80=A6 and using Trailers to surface debug information in Firebug:
>   https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH8
>
> (yes, this is a bit of a project for me)
>
> Finally, I know some server-side implementers would would LOVE to be able=
 to set things like ETag and Last-Modified in trailers, and have them used =
by caches...
>
> Cheers,
>
>
> On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
>
>> I really like the idea of placing the Digest in the chunk trailers.  Bei=
ng
>> able to calculate these digests on the fly and not buffer the entire
>> message is critical in my opinion.
>>
>> Another concept that I have been playing with is providing digests on
>> individual chunks using chunk-extension.  The rational for this is for
>> very large objects.  With per-chunk digests the client would have the
>> ability to re-request a specific corrupted section of an object using a
>> range request rather than the entire object.  This can have enormous
>> perceived performance and reliability benefits for consumers of things
>> such as software download and large media files.
>>
>> I was working on a draft to propose this, but I didn't feel it was well
>> baked enough to share.  If there is interest in this type of functionali=
ty
>> I will polish it up and post it.
>>
>> One issue to point is is that for these types of "frame" based integrity
>> checks I generally feel like we are reinventing the content integrity
>> portion of SSL/TLS.  Though I see the value in begin able to do this apa=
rt
>> from SSL it forces the question at what point do you just switch over to
>> SSL to get the desired functionality?
>>
>> -stephen
>>
>>
>>
>> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>
>>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>>> +1
>>>>
>>>> I know that this is demanded.
>>>> When I discussion about http-authentication and phishing,
>>>> it is requested by many people.
>>>> It is a difficult problem.
>>>> ex) proxy...
>>>>
>>>> I think that it is good to do this discussion now.
>>>>
>>>> ---
>>>> Tatsuya
>>>>
>>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>>
>>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>>> through a bunch of unsupported header values looking for the one I
>>>>> want. Just as it makes very little sense for an implementor to
>>>>> provide
>>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>>> message; there should be only a single Content-Integrity statement
>>>>> and
>>>>> I either understand it or I don't.
>>>
>>> Either the client advertises what it supports (opening itself to
>>> middleware erasing options they can't modify). Or the server uses
>>> multiple algorithms in hopes that the middleware cannot violate them
>>> all.
>>> It makes perfect sense to have several levels of integrity check. MD5,
>>> SHA1, AES in one response and allow the client to validate the stronges=
t
>>> it can handle.
>>>
>>> There is also an arguable case for middleware wanting to add its own
>>> hash to inform the client essentially "this is what I got given". So th=
e
>>> point of manipulation can be back-traced when the more secure end-to-en=
d
>>> checks fail.
>>>
>>> If you want end-to-end integrity, don't stop at half measures.
>>> Particularly at half measures which can be corrupted.
>>>
>>>
>>>>>
>>>>> 2. The performance impact of calculating the digest needs to be
>>>>> carefully considered. I'd rather not be required to buffer a full
>>>>> representation in memory all the time just to calculate a header
>>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>>> currently elusive solution that can be considered. For instance..
>>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>>> chunked response.
>>>
>>> As has been said Trailers happen here.
>>>
>>>>>
>>>>> 3. Something needs to be said about what happens if the
>>>>> Content-Integrity check fails. For instance, if a request containing
>>>>> Content-Integrity is sent to the server and the server detects that
>>>>> the signature is invalid, what should happen? what must happen?
>>>>> Likewise, how are intermediaries expected to treat the
>>>>> Content-Integrity header given that any intermediary is able to
>>>>> modify
>>>>> the payload at any time?
>>>
>>> This is going to be most useful on request/responses sent with
>>> "no-transform" of course.
>>> If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>> easily there is no end-to-end integrity, just hop-by-hop integrity.
>>>
>>>
>>> Also, there has to be a mutual secret between origin server and client.
>>> Without that, when integrity is compromised the transforming hop will
>>> simply erase or replace the Content-Integrity header value. A secret ke=
y
>>> unknown to that middleware is required to make the integrity hash break
>>> when it tries this.
>>>
>>> AYJ
>>>
>>
>>
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 20:27:40 2012
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 4CA0311E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 20:27:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 zeeV1sB2jecd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 20:27:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7706511E8106 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 20:27:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SonZQ-00031Y-Va for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 03:26:32 +0000
Resent-Date: Wed, 11 Jul 2012 03:26:32 +0000
Resent-Message-Id: <E1SonZQ-00031Y-Va@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1SonZF-00030n-1m for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 03:26:21 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1SonZA-0003Ak-MB for ietf-http-wg@w3.org; Wed, 11 Jul 2012 03:26:20 +0000
Received: by weyx43 with SMTP id x43so487353wey.2 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 20:25:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=5ZfuTmCqimcvdy5RNXh6sfziNF33D/6d+7/aRf9M2R8=; b=TOBA/b9ZBhaThCG39lAHPulVhr59Aqw3MY0K5SrBzhA+PQgUabuJKspNodOVYi8Kwh sT3jOK8oQrPV0KdqZYRx/nbKLgnlV1MVoeppCauHIZRfHq3CP32DYvJDUCsVPe1SUac2 ELpKnrRYic7OyBiJB3PPP/U2KDxDzyWY0Pfgn8SfTOpaSZvNhgMi1DKBKWSZUKsH6hC7 YI56JuzHqOTvTNtuSjyj2GmsJAs+yu2qdNf1BJflRD5gamUUc2j+Xdrvf4d6zF5ICGYq LnT5T2fQW5gEc8yBeZQpUxterUluI8rL4NnbX6o+f3e54bsT8Ztl+7FwxtSKp5H/My3c EN7g==
MIME-Version: 1.0
Received: by 10.216.154.69 with SMTP id g47mr1050348wek.171.1341977149309; Tue, 10 Jul 2012 20:25:49 -0700 (PDT)
Received: by 10.217.5.198 with HTTP; Tue, 10 Jul 2012 20:25:49 -0700 (PDT)
X-Originating-IP: [216.243.35.32]
In-Reply-To: <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
Date: Tue, 10 Jul 2012 20:25:49 -0700
Message-ID: <CAAbTgTt+bA5E+jc4bdCuUuYsnybjjLNw9wVzG6u7nPmJd4UUOw@mail.gmail.com>
From: Brian Pane <brianp@brianp.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnDOeOlArqXQMs9LbvMKBuoNrvOyP1Zrj/zw9ayDjYLGzUhi0LSuhBAHtpFb4UrzS3ZC3Xm
Received-SPF: none client-ip=74.125.82.171; envelope-from=brianp@brianp.net; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SonZA-0003Ak-MB 67bc367f5b1e68dd5462c2025785434d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CAAbTgTt+bA5E+jc4bdCuUuYsnybjjLNw9wVzG6u7nPmJd4UUOw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14067
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 Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
> chunk-extensions aren't widely supported in APIs, and usually dropped hop=
-by-hop (then again, trailers can be too).
>
> Some discussion of trailer support in Apache:
>   http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.h=
tml
>
> =85 and using Trailers to surface debug information in Firebug:
>   https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH8
>
> (yes, this is a bit of a project for me)
>
> Finally, I know some server-side implementers would would LOVE to be able=
 to set things like ETag and Last-Modified in trailers, and have them used =
by caches...

The last time I looked at this issue, in the context of an optimizing
load balancer where we would have loved to set ETag in the trailers, I
found that browser support was almost nonexistent. Things haven't
improved much since then:
http://www.browserscope.org/?category=3Dnetwork

If there's widespread interest in trailer support, HTTP/2.0 seems like
a great opportunity to make it mandatory.

-Brian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 20:54:35 2012
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 B80AA11E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 20:54:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.154
X-Spam-Level: 
X-Spam-Status: No, score=-9.154 tagged_above=-999 required=5 tests=[AWL=1.445, BAYES_00=-2.599, 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 otSzGldGmkia for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 20:54:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9249421F853E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 20:54:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sonzq-0004yf-RV for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 03:53:50 +0000
Resent-Date: Wed, 11 Jul 2012 03:53:50 +0000
Resent-Message-Id: <E1Sonzq-0004yf-RV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sonzh-0004wr-K4 for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 03:53:41 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sonzg-0004VX-1u for ietf-http-wg@w3.org; Wed, 11 Jul 2012 03:53:41 +0000
Received: by wibhm6 with SMTP id hm6so3997617wib.8 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 20:53:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=lBJ7rQqfDp3M+mirhFyczshoAKEUQWEaNTqlASZJpE8=; b=RjPWtwIlt7AzgepGKW+EvOAGwJmTjN+2snFK6GRnHnDgnLdGP6JSdn3K7wr3oEx9V8 kzijEnrauLy0XFkRz5cthn5rnArCxXbidAUxYBVtFlavU/b7WVzTK/cLDbrKIFiD3h2S +KVm8XGdvBm/jFCvyzteh5/c5CG8+dV/TTBRvwe6CrhUDa6uZI9iqwP/CVVKCHHFp1fP VHK6ugBRM23Ct1NZIVlhr9W+leGBulgZrdcKjJq9BKDJj3DAnK1Zb752JV6Viafwpikn yKnXzOl3tGQrF3LlzDfgReclWAO46jH+NU0DAWdo21BYge107meJRk0DyzwahlJOkuXw bNzQ==
Received: by 10.180.100.131 with SMTP id ey3mr43412985wib.15.1341978793506; Tue, 10 Jul 2012 20:53:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 10 Jul 2012 20:52:53 -0700 (PDT)
In-Reply-To: <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net> <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 10 Jul 2012 20:52:53 -0700
Message-ID: <CABP7RbeGKDJ5yV-P4yxG954yE2-X7=EOJ9QYKvMEjpss0q4_3A@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "Ludin, Stephen" <sludin@akamai.com>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sonzg-0004VX-1u 544ffee123c2cdc8fefffae8365b62a1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CABP7RbeGKDJ5yV-P4yxG954yE2-X7=EOJ9QYKvMEjpss0q4_3A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14068
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 Tue, Jul 10, 2012 at 7:50 PM, James M Snell <jasnell@gmail.com> wrote:
> [snip]
> I know this kind of thing is generally frowned upon, but one possible
> approach is to make use of a special content-type... for instance...
>
>   HTTP/1.1 200 OK
>   Trailer: Content-Integrity
>   Content-Type: application/http-trailers; type=3D"text/plain"
>
>   foobar
>
>   Content-Integrity:
> sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
>

Oh, forgive me, I had a beer and realized I made an error in the
sample, the content-type really should be...

  application/ugly-hack-to-work-around-broken-implementations+http

Without either a hack of this nature or a new Transfer-Encoding that
we could somehow convince folks to support, there's really no other
option but to punt and make trailers required in 2.0.

- James

> This is just a strawman, but essentially, it would append a checksum
> to the end of the content stream. It's not a trailer in the
> traditional sense, it's actually encoded as part of the payload. In
> lieu of proper Trailer support this is the only other way I can see it
> working effectively in HTTP/1.1.
>
> For HTTP/2.0, I suppose it would be possible for us to take a more
> appropriate approach either with trailers or by building the integrity
> mechanism into the framing somehow.
>
> (Warning: thinking out loud *before* having consumed any beer... the
> ideas expressed above may not make any sense. May need to apply
> alcohol and try again)
>
> - James
>
> On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> chunk-extensions aren't widely supported in APIs, and usually dropped ho=
p-by-hop (then again, trailers can be too).
>>
>> Some discussion of trailer support in Apache:
>>   http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.=
html
>>
>> =E2=80=A6 and using Trailers to surface debug information in Firebug:
>>   https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH8
>>
>> (yes, this is a bit of a project for me)
>>
>> Finally, I know some server-side implementers would would LOVE to be abl=
e to set things like ETag and Last-Modified in trailers, and have them used=
 by caches...
>>
>> Cheers,
>>
>>
>> On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
>>
>>> I really like the idea of placing the Digest in the chunk trailers.  Be=
ing
>>> able to calculate these digests on the fly and not buffer the entire
>>> message is critical in my opinion.
>>>
>>> Another concept that I have been playing with is providing digests on
>>> individual chunks using chunk-extension.  The rational for this is for
>>> very large objects.  With per-chunk digests the client would have the
>>> ability to re-request a specific corrupted section of an object using a
>>> range request rather than the entire object.  This can have enormous
>>> perceived performance and reliability benefits for consumers of things
>>> such as software download and large media files.
>>>
>>> I was working on a draft to propose this, but I didn't feel it was well
>>> baked enough to share.  If there is interest in this type of functional=
ity
>>> I will polish it up and post it.
>>>
>>> One issue to point is is that for these types of "frame" based integrit=
y
>>> checks I generally feel like we are reinventing the content integrity
>>> portion of SSL/TLS.  Though I see the value in begin able to do this ap=
art
>>> from SSL it forces the question at what point do you just switch over t=
o
>>> SSL to get the desired functionality?
>>>
>>> -stephen
>>>
>>>
>>>
>>> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>>
>>>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>>>> +1
>>>>>
>>>>> I know that this is demanded.
>>>>> When I discussion about http-authentication and phishing,
>>>>> it is requested by many people.
>>>>> It is a difficult problem.
>>>>> ex) proxy...
>>>>>
>>>>> I think that it is good to do this discussion now.
>>>>>
>>>>> ---
>>>>> Tatsuya
>>>>>
>>>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>>>
>>>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>>>> through a bunch of unsupported header values looking for the one I
>>>>>> want. Just as it makes very little sense for an implementor to
>>>>>> provide
>>>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>>>> message; there should be only a single Content-Integrity statement
>>>>>> and
>>>>>> I either understand it or I don't.
>>>>
>>>> Either the client advertises what it supports (opening itself to
>>>> middleware erasing options they can't modify). Or the server uses
>>>> multiple algorithms in hopes that the middleware cannot violate them
>>>> all.
>>>> It makes perfect sense to have several levels of integrity check. MD5,
>>>> SHA1, AES in one response and allow the client to validate the stronge=
st
>>>> it can handle.
>>>>
>>>> There is also an arguable case for middleware wanting to add its own
>>>> hash to inform the client essentially "this is what I got given". So t=
he
>>>> point of manipulation can be back-traced when the more secure end-to-e=
nd
>>>> checks fail.
>>>>
>>>> If you want end-to-end integrity, don't stop at half measures.
>>>> Particularly at half measures which can be corrupted.
>>>>
>>>>
>>>>>>
>>>>>> 2. The performance impact of calculating the digest needs to be
>>>>>> carefully considered. I'd rather not be required to buffer a full
>>>>>> representation in memory all the time just to calculate a header
>>>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>>>> currently elusive solution that can be considered. For instance..
>>>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>>>> chunked response.
>>>>
>>>> As has been said Trailers happen here.
>>>>
>>>>>>
>>>>>> 3. Something needs to be said about what happens if the
>>>>>> Content-Integrity check fails. For instance, if a request containing
>>>>>> Content-Integrity is sent to the server and the server detects that
>>>>>> the signature is invalid, what should happen? what must happen?
>>>>>> Likewise, how are intermediaries expected to treat the
>>>>>> Content-Integrity header given that any intermediary is able to
>>>>>> modify
>>>>>> the payload at any time?
>>>>
>>>> This is going to be most useful on request/responses sent with
>>>> "no-transform" of course.
>>>> If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>>> easily there is no end-to-end integrity, just hop-by-hop integrity.
>>>>
>>>>
>>>> Also, there has to be a mutual secret between origin server and client=
.
>>>> Without that, when integrity is compromised the transforming hop will
>>>> simply erase or replace the Content-Integrity header value. A secret k=
ey
>>>> unknown to that middleware is required to make the integrity hash brea=
k
>>>> when it tries this.
>>>>
>>>> AYJ
>>>>
>>>
>>>
>>
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>
>>
>>
>>
>>


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 21:23:06 2012
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 3B02421F8528 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 21:23:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.395
X-Spam-Level: 
X-Spam-Status: No, score=-9.395 tagged_above=-999 required=5 tests=[AWL=1.204, BAYES_00=-2.599, 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 5MsckUZh02o7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 21:23:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 20D9B11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 21:23:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SooRW-0001AV-R8 for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 04:22:26 +0000
Resent-Date: Wed, 11 Jul 2012 04:22:26 +0000
Resent-Message-Id: <E1SooRW-0001AV-R8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SooRL-00018t-QS for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 04:22:15 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SooRK-0005IF-Ih for ietf-http-wg@w3.org; Wed, 11 Jul 2012 04:22:15 +0000
Received: by wibhq4 with SMTP id hq4so575718wib.8 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 21:21:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=w6dG3r/sI7A9fJ4wUHJVYD/BuYsDEYsnrDV5Jn+fWA8=; b=gwJk2twppQXiZqD61hCwr00iL3VHNjHukCk9qGlgHwDyGtiDA2n182OyRG7EG1yQCj 5Zu/P3yr5zs8EK7a+Llp1uXrxYaqwSn+vq9qRGSZ6Qmjr4muL2FUE3V/mz85LPwQRIEm qyf+WYjpCOJignZ5DxWPEMH68zUH3UjMAbBWRnfcZXY6K1/BATSgUAaAY5DRibhB/Uw0 Ey1CWWankSFXIBzh4sRyKjHE25n2/kxa4kfn8r2STmysiXRqEBfUoqX7iNPjiCk52T+m cCM5F2hgh4oe/U4Iau89UUwQZvuMDFgwwjksqasKnLaHYo3Og9G95+A6ZJaNv2uLqTqh BntQ==
Received: by 10.180.106.137 with SMTP id gu9mr43523998wib.20.1341980508100; Tue, 10 Jul 2012 21:21:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 10 Jul 2012 21:21:27 -0700 (PDT)
In-Reply-To: <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com>
References: <20120710231600.5776.68143.idtracker@ietfa.amsl.com> <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 10 Jul 2012 21:21:27 -0700
Message-ID: <CABP7RbcuR7XZqK1iU6fdFEvnjjBM0gbM-Vj8U7L870mwD_-oJw@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SooRK-0005IF-Ih 8659b65476d79149905d663123c31146
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-01.txt
Archived-At: <http://www.w3.org/mid/CABP7RbcuR7XZqK1iU6fdFEvnjjBM0gbM-Vj8U7L870mwD_-oJw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14069
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>

+1 definitely better overall.

On Tue, Jul 10, 2012 at 4:25 PM, Tim Bray <tbray@textuality.com> wrote:
> Since MNot has put this on the agenda, I thought I should revise one more
> time.  There=E2=80=99s one big change and a bunch of little ones.
>
> Big: I went and talked to some subject-matter experts at Google who are p=
aid
> to think about this sort of policy stuff, and some others who might have =
to
> implement it.  I got strong advice that the draft should not talk about
> =E2=80=9Clegal restrictions=E2=80=9D because this might carry an implicat=
ion that the party
> emitting the 451 acknowledges that this is in fact a =E2=80=9Crestriction=
=E2=80=9D.  In
> fact, many parties get legal demands that they think might well be bogus =
but
> choose not to go to court for reasons of policy or cost; so they=E2=80=99=
d like to
> avoid implying that they acknowledge a =E2=80=9Crestriction=E2=80=9D.  I =
was advised that it
> was perfectly OK to report that legal =E2=80=9Cdemands=E2=80=9D had been =
made, and
> eventually became convinced that this was more accurate. The Republican
> Guards call up and demand that you take down some links, and you think th=
ey
> might be full of crap, but they=E2=80=99re the Guards, so you can accurat=
ely report
> that the *demand* was made.
>
> So most of the changes are a slight re-spin to talk about demands or
> obstacles rather than restrictions.
>
> Smaller:
> - Typos fixed
> - Changed to People=E2=80=99s Front of Judea for better Pythonicity
> - Changed reference to Roman law in response to expert advice.
>
>
> ---------- Forwarded message ----------
> From:  <internet-drafts@ietf.org>
> Date: Tue, Jul 10, 2012 at 4:16 PM
> Subject: New Version Notification for
> draft-tbray-http-legally-restricted-status-01.txt
> To: tbray@textuality.com
>
>
>
> A new version of I-D, draft-tbray-http-legally-restricted-status-01.txt
> has been successfully submitted by Tim Bray and posted to the
> IETF repository.
>
> Filename:        draft-tbray-http-legally-restricted-status
> Revision:        01
> Title:           A New HTTP Status Code to Report Legal Obstacles
> Creation date:   2012-07-10
> WG ID:           Individual Submission
> Number of pages: 5
> URL:
> http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-s=
tatus-01.txt
> Status:
> http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-statu=
s
> Htmlized:
> http://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-01
> Diff:
> http://tools.ietf.org/rfcdiff?url2=3Ddraft-tbray-http-legally-restricted-=
status-01
>
> Abstract:
>    This document specifies an additional Hypertext Transfer Protocol
>    (HTTP) status code for use when resource access is denied due to
>    legal demands.
>
>
>
>
> The IETF Secretariat


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 21:40:15 2012
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 67E9311E80BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 21:40:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.058
X-Spam-Level: 
X-Spam-Status: No, score=-7.058 tagged_above=-999 required=5 tests=[AWL=2.919, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Fb8cwagdJE5j for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 21:40:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 383CB11E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 21:40:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SooiR-0002Q9-JT for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 04:39:55 +0000
Resent-Date: Wed, 11 Jul 2012 04:39:55 +0000
Resent-Message-Id: <E1SooiR-0002Q9-JT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SooiK-0002Oq-9r for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 04:39:48 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a89.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sooi2-0005O1-65 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 04:39:48 +0000
Received: from homiemail-a89.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTP id 51AD7318065 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 21:39:08 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :date:message-id:subject:from:to:content-type; q=dns; s= cryptonector.com; b=uX5fTpSgSxz4X3IM4pc8oUtD1EK+RKUeX3uuRgR4j2/F IwX7Q5m/7ID6dTnSkJmnMYHzYy98C+X1IFl94kF++wNL/KfUBOnZISEebImKCWbz X4LEhT+H/jMuiy4tkhHtX0CM4ksLjL7X/TXXj3Rnk/aYqE1ny1m6dD0HKnrjUS4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=NSV44Lj46VRv/asClIx6sYjIhaA=; b=qHp4ic4c45v oCEug+LH3HnXdxU1BlQWn9REaT4xtignynqUGZKcqGI5ljv0bCDb/+srsjQNWjhT hyCKAwoVLyH9Hf/ZP0aSJEzeI0k7rFh7pcEkgptUTd6WK/B10C9dn2rRb2XYWkx5 UWhwukt7WedDbpJK+XvXthb32GH62W4o=
Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 27ACA31805D for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 21:39:08 -0700 (PDT)
Received: by vbbfq11 with SMTP id fq11so560001vbb.2 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 21:39:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.21.99 with SMTP id u3mr19115098vde.56.1341981547482; Tue, 10 Jul 2012 21:39:07 -0700 (PDT)
Received: by 10.220.76.203 with HTTP; Tue, 10 Jul 2012 21:39:07 -0700 (PDT)
Date: Tue, 10 Jul 2012 23:39:07 -0500
Message-ID: <CAK3OfOjuPAEA8RyJuJZOcdKh_nxKFiyL50brVrtX43WV2bxWHg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.74; envelope-from=nico@cryptonector.com; helo=homiemail-a89.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=1.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_12LTRDOM=3.499, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Sooi2-0005O1-65 43cc194fc83f04f03dad9242e8fb5280
X-Original-To: ietf-http-wg@w3.org
Subject: Feedback on REST-GSS
Archived-At: <http://www.w3.org/mid/CAK3OfOjuPAEA8RyJuJZOcdKh_nxKFiyL50brVrtX43WV2bxWHg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14070
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've gotten some valuable feedback on REST-GSS off-list.  I'll be
submitting a new I-D as a result.  The main changes will be:

 - use the 401 Unauthorized code and WWW-Authenticate response
   header to convey the list of authentication mechanisms supported,
   the list of channel binding types supported, and such things;

 - drop the use of well-known URIs.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 10 22:06:51 2012
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 1910011E80F4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 22:06:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.477
X-Spam-Level: 
X-Spam-Status: No, score=-9.477 tagged_above=-999 required=5 tests=[AWL=0.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 IAnvWyN79PYj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 10 Jul 2012 22:06:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D12AA11E80FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 10 Jul 2012 22:06:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sop7S-0005yw-D1 for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 05:05:46 +0000
Resent-Date: Wed, 11 Jul 2012 05:05:46 +0000
Resent-Message-Id: <E1Sop7S-0005yw-D1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sop7K-0005wu-Tp for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 05:05:38 +0000
Received: from na3sys010aog105.obsmtp.com ([74.125.245.78]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sop7J-00062c-9u for ietf-http-wg@w3.org; Wed, 11 Jul 2012 05:05:38 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) (using TLSv1) by na3sys010aob105.postini.com ([74.125.244.12]) with SMTP ID DSNKT/0Ji6WsocUY2ZUj9EAFSdLVxyLIQr94@postini.com; Tue, 10 Jul 2012 22:05:37 PDT
Received: by yhl10 with SMTP id 10so1344634yhl.16 for <ietf-http-wg@w3.org>; Tue, 10 Jul 2012 22:05:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WDBHgqTHlRa9TVbPNBxBZR2D3c23fQ4X85oX5dTsEWQ=; b=X+owjp1Jtp4cqtYRQDGJW7apAPZyG+kn99tEfW1t6ysVLKrZSTcIyl812pctxr/tyE 7v6syEx6EHBTzM0vWBnhptxUbFbn56nHUaUrGylhxwQdFR/YJSggx/b6hy4RnFGZMqSC 7FEzF0zAwyXL1dK9qlHx04xRiohV6mu+IUzDo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=WDBHgqTHlRa9TVbPNBxBZR2D3c23fQ4X85oX5dTsEWQ=; b=BjIYlgNUIGpF6WVx0iAldwuRnqB5HYZ7wmp4kNKP2Anz92IY4mLlyXhEaDnog0lthq MUJ/9+PRGIg11h1VuF12SBbR7T3Nr8PdaHB0b3o0V5WrvLEHxBFTf6KThQFy35udt+0S RFutJQXZT2DDh5QUJZWOYjLUxBzKqOO10watsBsGbSd+AwB5MG1noHG+gwXIH2no2ZeX mzLoiSPIuV/uCcazhZkLCVqU1KOddUuIm5TZvcnINEzZHneqgxI8Y037WMxa/GTEi2SY i1Zz+uQzsW9rGdyhb66WWr5wHuLGiH1U0VuPK/AxrTY6GMqBzV/VFioa9f3HwWuKIAMt lslQ==
Received: by 10.43.92.71 with SMTP id bp7mr16614631icc.52.1341983114370; Tue, 10 Jul 2012 22:05:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Tue, 10 Jul 2012 22:04:54 -0700 (PDT)
In-Reply-To: <CC21C046.5A7F4%sludin@akamai.com>
References: <0125733d444bbbd8d657794af87ecc68@treenet.co.nz> <CC21C046.5A7F4%sludin@akamai.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 11 Jul 2012 14:04:54 +0900
Message-ID: <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com>
To: "Ludin, Stephen" <sludin@akamai.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmKIPiJtpIDQLHfZI6n78kWrPWjPcBD3J+Cn28oarGxvhOIGx/rZgAzVqjbT0atY7XFRgow
Received-SPF: pass client-ip=74.125.245.78; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog105.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sop7J-00062c-9u c7ea83d545ec5c6e786eef6fa40ca8cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14071
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>

Another reason to provide per-chunk integrity is to allow
clients to progressively use the content while receiving.
Progressive handling of large objects is common in
current Web systems, especially for large resources
like texts (HTMLs, PDFs), images, movies, and others.
Without HTTP-level integrity protection, it works well.
(TLS provides checking integrity of partial stream.)

However, if integrity protection is provided by
either a trailer or a header, clients must firstly store all
received data without further processing, check integrity,
and then decide whether to accept.

To this purpose, chunk-based integrity protection is
even useful for static contents for which hash values can be
pre-computed.

"Re-inventing the wheel" issue is still alive :-)

P.S.
As a personal feeling, the value of integrity protection on
this moment is more on protection against intentional content-forging
attacks, rather than unintentional communication failure
(except premature termination of streams).
To this extent, re-requesting the broken chunk is personally out of
my interest.  This may need discussion, because it may affect
the design of inter-chunk chaining of integrity signatures.

2012/7/11 Ludin, Stephen <sludin@akamai.com>:
> I really like the idea of placing the Digest in the chunk trailers.  Being
> able to calculate these digests on the fly and not buffer the entire
> message is critical in my opinion.
>
> Another concept that I have been playing with is providing digests on
> individual chunks using chunk-extension.  The rational for this is for
> very large objects.  With per-chunk digests the client would have the
> ability to re-request a specific corrupted section of an object using a
> range request rather than the entire object.  This can have enormous
> perceived performance and reliability benefits for consumers of things
> such as software download and large media files.
>
> I was working on a draft to propose this, but I didn't feel it was well
> baked enough to share.  If there is interest in this type of functionality
> I will polish it up and post it.
>
> One issue to point is is that for these types of "frame" based integrity
> checks I generally feel like we are reinventing the content integrity
> portion of SSL/TLS.  Though I see the value in begin able to do this apart
> from SSL it forces the question at what point do you just switch over to
> SSL to get the desired functionality?
>
> -stephen
>
>
>
> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>
>>On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>> +1
>>>
>>> I know that this is demanded.
>>> When I discussion about http-authentication and phishing,
>>> it is requested by many people.
>>> It is a difficult problem.
>>> ex) proxy...
>>>
>>> I think that it is good to do this discussion now.
>>>
>>> ---
>>> Tatsuya
>>>
>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>
>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>> through a bunch of unsupported header values looking for the one I
>>>> want. Just as it makes very little sense for an implementor to
>>>> provide
>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>> message; there should be only a single Content-Integrity statement
>>>> and
>>>> I either understand it or I don't.
>>
>>Either the client advertises what it supports (opening itself to
>>middleware erasing options they can't modify). Or the server uses
>>multiple algorithms in hopes that the middleware cannot violate them
>>all.
>>It makes perfect sense to have several levels of integrity check. MD5,
>>SHA1, AES in one response and allow the client to validate the strongest
>>it can handle.
>>
>>There is also an arguable case for middleware wanting to add its own
>>hash to inform the client essentially "this is what I got given". So the
>>point of manipulation can be back-traced when the more secure end-to-end
>>checks fail.
>>
>>If you want end-to-end integrity, don't stop at half measures.
>>Particularly at half measures which can be corrupted.
>>
>>
>>>>
>>>> 2. The performance impact of calculating the digest needs to be
>>>> carefully considered. I'd rather not be required to buffer a full
>>>> representation in memory all the time just to calculate a header
>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>> currently elusive solution that can be considered. For instance..
>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>> chunked response.
>>
>>As has been said Trailers happen here.
>>
>>>>
>>>> 3. Something needs to be said about what happens if the
>>>> Content-Integrity check fails. For instance, if a request containing
>>>> Content-Integrity is sent to the server and the server detects that
>>>> the signature is invalid, what should happen? what must happen?
>>>> Likewise, how are intermediaries expected to treat the
>>>> Content-Integrity header given that any intermediary is able to
>>>> modify
>>>> the payload at any time?
>>
>>This is going to be most useful on request/responses sent with
>>"no-transform" of course.
>>  If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>easily there is no end-to-end integrity, just hop-by-hop integrity.
>>
>>
>>Also, there has to be a mutual secret between origin server and client.
>>Without that, when integrity is compromised the transforming hop will
>>simply erase or replace the Content-Integrity header value. A secret key
>>unknown to that middleware is required to make the integrity hash break
>>when it tries this.
>>
>>AYJ
>>
>
>



-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 00:18:49 2012
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 B329921F8598 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 00:18:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.077
X-Spam-Level: 
X-Spam-Status: No, score=-9.077 tagged_above=-999 required=5 tests=[AWL=1.522, BAYES_00=-2.599, 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 gPEHLKoH0Tho for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 00:18:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 23AB121F8593 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 00:18:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SorAc-0005zL-NG for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 07:17:10 +0000
Resent-Date: Wed, 11 Jul 2012 07:17:10 +0000
Resent-Message-Id: <E1SorAc-0005zL-NG@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SorAV-0005yZ-8T for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 07:17:03 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SorAI-000386-Q5 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 07:16:58 +0000
Received: (qmail invoked by alias); 11 Jul 2012 07:16:23 -0000
Received: from p5DD94F16.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.79.22] by mail.gmx.net (mp071) with SMTP; 11 Jul 2012 09:16:23 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19AaZ9vEsZASbZdi0vXkjQCU2Ol0X6jiMQ1AeHGTs D9fvYQAqX2GmpS
Message-ID: <4FFD2845.8050604@gmx.de>
Date: Wed, 11 Jul 2012 09:16:21 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Robert Brewer <fumanchu@aminus.org>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <F1962646D3B64642B7C9A06068EE1E6415DE7DF6@ex10.hostedexchange.local> <4FFC4383.9020501@gmx.de> <F1962646D3B64642B7C9A06068EE1E6415DE7EB9@ex10.hostedexchange.local> <2e23e3e3f3c6d8da679c9e558347fb7a@treenet.co.nz> <F1962646D3B64642B7C9A06068EE1E6415DE803D@ex10.hostedexchange.local>
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E6415DE803D@ex10.hostedexchange.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SorAI-000386-Q5 298e8609e34db0aa3d6726505d696abf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Associated resource for PUT
Archived-At: <http://www.w3.org/mid/4FFD2845.8050604@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14072
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 2012-07-11 01:54, Robert Brewer wrote:
> ...
> Yes, the server also needs to establish a base URI for POST entities. It's just not as clear-cut what that base should be for POST; for example, lots of resources have been designed as a collection to which one POSTs an item which then exists at a different URL chosen by the server. So the option of using the Request-URI isn't as obvious as it is for PUT, and it seems more natural to assume the server must decide and describe some application-specific default.
>
> The base URI of a GET response is so obviously the Request-URI, it's a bit surprising that for some reason that hasn't been as obvious for the base URI of a PUT request, given their semantic symmetry. Is there any use case (or even any facility) to have the base URI of a PUT request be some other URI? Can you return 201 Created with a Location of some other URI for PUT? If not, then it's a bit misleading to say "An HTTP request representation is always associated with an anonymous resource."
> ...

Again, the difference is that the text describes the properties of the 
message. Until the PUT has succeeded we can't say what the associated 
resource is.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 00:53:33 2012
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 1F1BA21F8585 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 00:53:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 QR-IMH1ZDs-S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 00:53:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C87F21F8495 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 00:53:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoriI-0005i7-9i for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 07:51:58 +0000
Resent-Date: Wed, 11 Jul 2012 07:51:58 +0000
Resent-Message-Id: <E1SoriI-0005i7-9i@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SoriB-0005cB-9s for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 07:51:51 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Sori7-0004Je-FA for ietf-http-wg@w3.org; Wed, 11 Jul 2012 07:51:51 +0000
Received: by vcbgb30 with SMTP id gb30so645913vcb.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 00:51:21 -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=7v9cxYiHbETNYS0DBVsB0DK/YjspRjPd4OqVnoDWmiQ=; b=r2Rcaqq6cAFBDBA3uTWQYA5pTeMAcyqjJPtN+ZyNBApACKyFo4nR4/lwL+e5Fwy/CH wa2Qy89MlAaGyEhxq7HEAtOpVjWdYYvgnTfGNVztgArAZ2aaI/d4yZ7pugMXDxAhbYIh e655iqPMKdN0cnDXKR9f1cD7/BMtzq/NEpQ3Gacbqy8MgF+mC8NoPZQIhUBkQ+Q4SmBR O9w2H37jh0DBMLxFR1eQiEOpDbJi6+xOhraF5Zw0OPUTubdLSxblryz1Wle9tibYTHA8 v89QMDV5fpMe23+wsUKYPI8sL04lh/iLgEfcaXt5zdHsHrWQc/h/8dclwJN40wGCH9J1 af8g==
MIME-Version: 1.0
Received: by 10.220.8.15 with SMTP id f15mr22448210vcf.34.1341993081689; Wed, 11 Jul 2012 00:51:21 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 11 Jul 2012 00:51:21 -0700 (PDT)
In-Reply-To: <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net>
Date: Wed, 11 Jul 2012 02:51:21 -0500
Message-ID: <CACuKZqEXktN+d+q7PiKX9q-Ob8M_yUgPGjEroMVyMsSOLyvFFw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Sori7-0004Je-FA 0f25ad05a4054766a0bf79da33c2f593
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CACuKZqEXktN+d+q7PiKX9q-Ob8M_yUgPGjEroMVyMsSOLyvFFw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14073
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>

We can also define a new content encoding for integrity check.

It's easy to program an individual content encoding (if it focuses on
just one thing), and it's easy to compose different content encodings.
For example, in Java servlet API, integrity check can be easily
implemented as a filter, and it's easy to install the filter.

The overhead of extra framing due to new content encoding should be marginal.

On "Transfer-Encoding: chunked": Its primary function was to mark the
end of message. While it's tempting to piggyback other features on it,
the lack of support of chunk-extension and trailer suggests that the
complexity they introduce exceeds what engineers are willing to
handle. I think we should leave it at that - the sole function of
chunking is to mark end of message; don't stuff other features in it.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 01:02:24 2012
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 71AD821F86A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 01:02:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 z3b1LCpM957g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 01:02:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C70C021F86A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 01:02:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sorrm-0002Wh-Ck for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 08:01:46 +0000
Resent-Date: Wed, 11 Jul 2012 08:01:46 +0000
Resent-Message-Id: <E1Sorrm-0002Wh-Ck@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <wenboz@google.com>) id 1Sorrd-0002UC-Bn for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 08:01:37 +0000
Received: from mail-yw0-f46.google.com ([209.85.213.46]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <wenboz@google.com>) id 1SorrV-00052B-1m for ietf-http-wg@w3.org; Wed, 11 Jul 2012 08:01:34 +0000
Received: by yhmm54 with SMTP id m54so987043yhm.19 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 01:01:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record; bh=0r0/dNvJNIuUJTJIHqUE/1o984D2riCfVukX+1lBmkw=; b=pRoQ1r8+R10PeQEbZ69Kg7fis9FCXzhe7ZkQJEhXtAmgfkzlBO6h50Z5aHQyFaMMPQ TxWjORr6krpsDwNkMI/uhoXYtHPM3YV+F+92xmwdyQ9jdT7Vlrsjwe4jNdCgwzGGni05 jEAeat6iNJw9HBS6FH7m+xxE1gUmdp2IRGGgUiy9HHhUI0VUjJxZR+wU4sO5QbuKei1j XnIucf97gvv7S1D7JOm/ikr/lCZEksRQuZvSrQDdMX0ilr3broRTI/NN2/7xi04wSMXU 2cw+5uF0l0F27H9LWDG3gpmxEqA7JaMa7WwT8sB8RQQyY4LCG1ams3/ncQdriRMp0jL5 JmhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=0r0/dNvJNIuUJTJIHqUE/1o984D2riCfVukX+1lBmkw=; b=S/aOmxqXDAj1OA4MvDmFPkx6lLPHSm8RRi+L/yi4PdwhyBdTzpt1i3GcEJjVd+jc6X 5UeVdIWVGwJsJwFYBrmsxGyFfCkb/pYFnhgaA0jXZQXIz4RZiRXqYAcVgUscb2Vg4ICC q/EMfmILembpbkJYXZnTO51JCUvP1A140+WWHlIOrqPsYWa03GMszW0PlLspIf2Vguaf y23zvy+vTGexzvBxy30e7BEoNTMghG7nkwyaohrXlS+ifJ/CG1CEWHbcY1zQAX9vSGTr aYU9CBu2Gv2mz9Y1O/nBym8ZPGm7yGgdk+yZ/HiCcWuJwjdEj4GRJJkvw9pwQGrurM0Z QfdA==
Received: by 10.50.12.227 with SMTP id b3mr1608682igc.7.1341993662378; Wed, 11 Jul 2012 01:01:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.12.227 with SMTP id b3mr1608663igc.7.1341993662090; Wed, 11 Jul 2012 01:01:02 -0700 (PDT)
Received: by 10.231.130.77 with HTTP; Wed, 11 Jul 2012 01:01:01 -0700 (PDT)
In-Reply-To: <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net> <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com>
Date: Wed, 11 Jul 2012 01:01:01 -0700
Message-ID: <CAD3-0rMBA-gEkY+tauLRVQ+=U1Sxd7pSM_MTU3eFLyYokrfXdw@mail.gmail.com>
From: Wenbo Zhu <wenboz@google.com>
To: James M Snell <jasnell@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, "Ludin, Stephen" <sludin@akamai.com>,  Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae93410db850ec604c4893fd3
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkHuTyJgzkv5EAckRAA+8orSBdM/Wi2En17oo8Y3P6teyhx1PCDb/k++PLadUvhlLBcgQIkZl5/CaQN9E1HVqyt6+Nde68LIoeVOm9H8ItH/XrHRhN3VWLW+PmdzaYZ32t3sRUdstHSoQ01ZAWbEeo98IoSUL0rPONYG4t4HTQ50+SRalw0lOE135PYXHAJaqPxaOZp
Received-SPF: pass client-ip=209.85.213.46; envelope-from=wenboz@google.com; helo=mail-yw0-f46.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SorrV-00052B-1m 90cbcd9d3968c03f8467a6e5a602c166
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CAD3-0rMBA-gEkY+tauLRVQ+=U1Sxd7pSM_MTU3eFLyYokrfXdw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14074
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>

--14dae93410db850ec604c4893fd3
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 10, 2012 at 7:50 PM, James M Snell <jasnell@gmail.com> wrote:

> Yeah, this has been my experience as well. Unfortunately, I'm not sure
> if this is something that can be effectively fixed. Off the top of my
> head, I don't know of a single server or client side http stack that
> is capable of easily setting Trailers in the stream. I just checked
> and support for trailers is still missing in the Servlet API, for
> instance.
>
There is no new API required, necessarily, to support trailers:
1. app code needs set the header Trailer: <header_name> before the response
is committed;
2. container will ignore the header  <header_name> when the response is
committed;
3. container will output the trailer when the response is finished.

The request header "TE: trailers" may or may not be respected.



> I know this kind of thing is generally frowned upon, but one possible
> approach is to make use of a special content-type... for instance...
>
>   HTTP/1.1 200 OK
>   Trailer: Content-Integrity
>   Content-Type: application/http-trailers; type=3D"text/plain"
>
>   foobar
>
>   Content-Integrity:
> sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
>
> This is just a strawman, but essentially, it would append a checksum
> to the end of the content stream. It's not a trailer in the
> traditional sense, it's actually encoded as part of the payload. In
> lieu of proper Trailer support this is the only other way I can see it
> working effectively in HTTP/1.1.
>
> For HTTP/2.0, I suppose it would be possible for us to take a more
> appropriate approach either with trailers or by building the integrity
> mechanism into the framing somehow.
>
> (Warning: thinking out loud *before* having consumed any beer... the
> ideas expressed above may not make any sense. May need to apply
> alcohol and try again)
>
> - James
>
> On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
> > chunk-extensions aren't widely supported in APIs, and usually dropped
> hop-by-hop (then again, trailers can be too).
> >
> > Some discussion of trailer support in Apache:
> >
> http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.htm=
l
> >
> > =85 and using Trailers to surface debug information in Firebug:
> >   https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH=
8
> >
> > (yes, this is a bit of a project for me)
> >
> > Finally, I know some server-side implementers would would LOVE to be
> able to set things like ETag and Last-Modified in trailers, and have them
> used by caches...
> >
> > Cheers,
> >
> >
> > On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
> >
> >> I really like the idea of placing the Digest in the chunk trailers.
>  Being
> >> able to calculate these digests on the fly and not buffer the entire
> >> message is critical in my opinion.
> >>
> >> Another concept that I have been playing with is providing digests on
> >> individual chunks using chunk-extension.  The rational for this is for
> >> very large objects.  With per-chunk digests the client would have the
> >> ability to re-request a specific corrupted section of an object using =
a
> >> range request rather than the entire object.  This can have enormous
> >> perceived performance and reliability benefits for consumers of things
> >> such as software download and large media files.
> >>
> >> I was working on a draft to propose this, but I didn't feel it was wel=
l
> >> baked enough to share.  If there is interest in this type of
> functionality
> >> I will polish it up and post it.
> >>
> >> One issue to point is is that for these types of "frame" based integri=
ty
> >> checks I generally feel like we are reinventing the content integrity
> >> portion of SSL/TLS.  Though I see the value in begin able to do this
> apart
> >> from SSL it forces the question at what point do you just switch over =
to
> >> SSL to get the desired functionality?
> >>
> >> -stephen
> >>
> >>
> >>
> >> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
> >>
> >>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
> >>>> +1
> >>>>
> >>>> I know that this is demanded.
> >>>> When I discussion about http-authentication and phishing,
> >>>> it is requested by many people.
> >>>> It is a difficult problem.
> >>>> ex) proxy...
> >>>>
> >>>> I think that it is good to do this discussion now.
> >>>>
> >>>> ---
> >>>> Tatsuya
> >>>>
> >>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
> >>>>> In general, I'm +1 on the general idea albeit with a few caveats...
> >>>>>
> >>>>> 1. To minimize complexity, only a single Content-Integrity header
> >>>>> should be used. I don't want, as Roy points out, to have to iterate=
d
> >>>>> through a bunch of unsupported header values looking for the one I
> >>>>> want. Just as it makes very little sense for an implementor to
> >>>>> provide
> >>>>> multiple Last-Modified, Etag and Content-Type headers in a single
> >>>>> message; there should be only a single Content-Integrity statement
> >>>>> and
> >>>>> I either understand it or I don't.
> >>>
> >>> Either the client advertises what it supports (opening itself to
> >>> middleware erasing options they can't modify). Or the server uses
> >>> multiple algorithms in hopes that the middleware cannot violate them
> >>> all.
> >>> It makes perfect sense to have several levels of integrity check. MD5=
,
> >>> SHA1, AES in one response and allow the client to validate the
> strongest
> >>> it can handle.
> >>>
> >>> There is also an arguable case for middleware wanting to add its own
> >>> hash to inform the client essentially "this is what I got given". So
> the
> >>> point of manipulation can be back-traced when the more secure
> end-to-end
> >>> checks fail.
> >>>
> >>> If you want end-to-end integrity, don't stop at half measures.
> >>> Particularly at half measures which can be corrupted.
> >>>
> >>>
> >>>>>
> >>>>> 2. The performance impact of calculating the digest needs to be
> >>>>> carefully considered. I'd rather not be required to buffer a full
> >>>>> representation in memory all the time just to calculate a header
> >>>>> value. I know it's largely unavoidable, but perhaps there's some
> >>>>> currently elusive solution that can be considered. For instance..
> >>>>> allowing Content-Integrity to appear as a trailer at the end of a
> >>>>> chunked response.
> >>>
> >>> As has been said Trailers happen here.
> >>>
> >>>>>
> >>>>> 3. Something needs to be said about what happens if the
> >>>>> Content-Integrity check fails. For instance, if a request containin=
g
> >>>>> Content-Integrity is sent to the server and the server detects that
> >>>>> the signature is invalid, what should happen? what must happen?
> >>>>> Likewise, how are intermediaries expected to treat the
> >>>>> Content-Integrity header given that any intermediary is able to
> >>>>> modify
> >>>>> the payload at any time?
> >>>
> >>> This is going to be most useful on request/responses sent with
> >>> "no-transform" of course.
> >>> If the integrity was only a MD5 or SHA1 hash which middleware can edi=
t
> >>> easily there is no end-to-end integrity, just hop-by-hop integrity.
> >>>
> >>>
> >>> Also, there has to be a mutual secret between origin server and clien=
t.
> >>> Without that, when integrity is compromised the transforming hop will
> >>> simply erase or replace the Content-Integrity header value. A secret
> key
> >>> unknown to that middleware is required to make the integrity hash bre=
ak
> >>> when it tries this.
> >>>
> >>> AYJ
> >>>
> >>
> >>
> >
> > --
> > Mark Nottingham
> > http://www.mnot.net/
> >
> >
> >
> >
> >
>
>

--14dae93410db850ec604c4893fd3
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 10, 2012 at 7:50 PM, James M=
 Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D=
"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
Yeah, this has been my experience as well. Unfortunately, I&#39;m not sure<=
br>
if this is something that can be effectively fixed. Off the top of my<br>
head, I don&#39;t know of a single server or client side http stack that<br=
>
is capable of easily setting Trailers in the stream. I just checked<br>
and support for trailers is still missing in the Servlet API, for<br>
instance.<br></blockquote><div>There is no new API required, necessarily, t=
o support trailers:</div><div>1. app code needs set the header=A0<span styl=
e>Trailer: &lt;header_name&gt;</span>=A0before the response is committed;</=
div>
<div>2. container will ignore the header=A0<span style> &lt;header_name&gt;=
</span>=A0when the response is committed;</div><div>3. container will outpu=
t the trailer when the response is finished.</div><div><br></div><div>The r=
equest header &quot;<span style>TE: trailers&quot;</span>=A0may or may not =
be respected.</div>
<div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I know this kind of thing is generally frowned upon, but one possible<br>
approach is to make use of a special content-type... for instance...<br>
<br>
=A0 HTTP/1.1 200 OK<br>
=A0 Trailer: Content-Integrity<br>
=A0 Content-Type: application/http-trailers; type=3D&quot;text/plain&quot;<=
br>
<br>
=A0 foobar<br>
<br>
=A0 Content-Integrity:<br>
sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f<br=
>
<br>
This is just a strawman, but essentially, it would append a checksum<br>
to the end of the content stream. It&#39;s not a trailer in the<br>
traditional sense, it&#39;s actually encoded as part of the payload. In<br>
lieu of proper Trailer support this is the only other way I can see it<br>
working effectively in HTTP/1.1.<br>
<br>
For HTTP/2.0, I suppose it would be possible for us to take a more<br>
appropriate approach either with trailers or by building the integrity<br>
mechanism into the framing somehow.<br>
<br>
(Warning: thinking out loud *before* having consumed any beer... the<br>
ideas expressed above may not make any sense. May need to apply<br>
alcohol and try again)<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
- James<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham &lt;<a href=3D"mailto:mnot=
@mnot.net">mnot@mnot.net</a>&gt; wrote:<br>
&gt; chunk-extensions aren&#39;t widely supported in APIs, and usually drop=
ped hop-by-hop (then again, trailers can be too).<br>
&gt;<br>
&gt; Some discussion of trailer support in Apache:<br>
&gt; =A0 <a href=3D"http://apache-http-server.18135.n6.nabble.com/HTTP-trai=
lers-td4796242.html" target=3D"_blank">http://apache-http-server.18135.n6.n=
abble.com/HTTP-trailers-td4796242.html</a><br>
&gt;<br>
&gt; =85 and using Trailers to surface debug information in Firebug:<br>
&gt; =A0 <a href=3D"https://groups.google.com/forum/?fromgroups#!topic/fire=
bug/v5ldjoVThH8" target=3D"_blank">https://groups.google.com/forum/?fromgro=
ups#!topic/firebug/v5ldjoVThH8</a><br>
&gt;<br>
&gt; (yes, this is a bit of a project for me)<br>
&gt;<br>
&gt; Finally, I know some server-side implementers would would LOVE to be a=
ble to set things like ETag and Last-Modified in trailers, and have them us=
ed by caches...<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt;<br>
&gt; On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:<br>
&gt;<br>
&gt;&gt; I really like the idea of placing the Digest in the chunk trailers=
. =A0Being<br>
&gt;&gt; able to calculate these digests on the fly and not buffer the enti=
re<br>
&gt;&gt; message is critical in my opinion.<br>
&gt;&gt;<br>
&gt;&gt; Another concept that I have been playing with is providing digests=
 on<br>
&gt;&gt; individual chunks using chunk-extension. =A0The rational for this =
is for<br>
&gt;&gt; very large objects. =A0With per-chunk digests the client would hav=
e the<br>
&gt;&gt; ability to re-request a specific corrupted section of an object us=
ing a<br>
&gt;&gt; range request rather than the entire object. =A0This can have enor=
mous<br>
&gt;&gt; perceived performance and reliability benefits for consumers of th=
ings<br>
&gt;&gt; such as software download and large media files.<br>
&gt;&gt;<br>
&gt;&gt; I was working on a draft to propose this, but I didn&#39;t feel it=
 was well<br>
&gt;&gt; baked enough to share. =A0If there is interest in this type of fun=
ctionality<br>
&gt;&gt; I will polish it up and post it.<br>
&gt;&gt;<br>
&gt;&gt; One issue to point is is that for these types of &quot;frame&quot;=
 based integrity<br>
&gt;&gt; checks I generally feel like we are reinventing the content integr=
ity<br>
&gt;&gt; portion of SSL/TLS. =A0Though I see the value in begin able to do =
this apart<br>
&gt;&gt; from SSL it forces the question at what point do you just switch o=
ver to<br>
&gt;&gt; SSL to get the desired functionality?<br>
&gt;&gt;<br>
&gt;&gt; -stephen<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 7/9/12 4:00 PM, &quot;Amos Jeffries&quot; &lt;<a href=3D"mailto=
:squid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:<br>
&gt;&gt;&gt;&gt; +1<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I know that this is demanded.<br>
&gt;&gt;&gt;&gt; When I discussion about http-authentication and phishing,<=
br>
&gt;&gt;&gt;&gt; it is requested by many people.<br>
&gt;&gt;&gt;&gt; It is a difficult problem.<br>
&gt;&gt;&gt;&gt; ex) proxy...<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think that it is good to do this discussion now.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ---<br>
&gt;&gt;&gt;&gt; Tatsuya<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:<br>
&gt;&gt;&gt;&gt;&gt; In general, I&#39;m +1 on the general idea albeit with=
 a few caveats...<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 1. To minimize complexity, only a single Content-Integ=
rity header<br>
&gt;&gt;&gt;&gt;&gt; should be used. I don&#39;t want, as Roy points out, t=
o have to iterated<br>
&gt;&gt;&gt;&gt;&gt; through a bunch of unsupported header values looking f=
or the one I<br>
&gt;&gt;&gt;&gt;&gt; want. Just as it makes very little sense for an implem=
entor to<br>
&gt;&gt;&gt;&gt;&gt; provide<br>
&gt;&gt;&gt;&gt;&gt; multiple Last-Modified, Etag and Content-Type headers =
in a single<br>
&gt;&gt;&gt;&gt;&gt; message; there should be only a single Content-Integri=
ty statement<br>
&gt;&gt;&gt;&gt;&gt; and<br>
&gt;&gt;&gt;&gt;&gt; I either understand it or I don&#39;t.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Either the client advertises what it supports (opening itself =
to<br>
&gt;&gt;&gt; middleware erasing options they can&#39;t modify). Or the serv=
er uses<br>
&gt;&gt;&gt; multiple algorithms in hopes that the middleware cannot violat=
e them<br>
&gt;&gt;&gt; all.<br>
&gt;&gt;&gt; It makes perfect sense to have several levels of integrity che=
ck. MD5,<br>
&gt;&gt;&gt; SHA1, AES in one response and allow the client to validate the=
 strongest<br>
&gt;&gt;&gt; it can handle.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; There is also an arguable case for middleware wanting to add i=
ts own<br>
&gt;&gt;&gt; hash to inform the client essentially &quot;this is what I got=
 given&quot;. So the<br>
&gt;&gt;&gt; point of manipulation can be back-traced when the more secure =
end-to-end<br>
&gt;&gt;&gt; checks fail.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If you want end-to-end integrity, don&#39;t stop at half measu=
res.<br>
&gt;&gt;&gt; Particularly at half measures which can be corrupted.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 2. The performance impact of calculating the digest ne=
eds to be<br>
&gt;&gt;&gt;&gt;&gt; carefully considered. I&#39;d rather not be required t=
o buffer a full<br>
&gt;&gt;&gt;&gt;&gt; representation in memory all the time just to calculat=
e a header<br>
&gt;&gt;&gt;&gt;&gt; value. I know it&#39;s largely unavoidable, but perhap=
s there&#39;s some<br>
&gt;&gt;&gt;&gt;&gt; currently elusive solution that can be considered. For=
 instance..<br>
&gt;&gt;&gt;&gt;&gt; allowing Content-Integrity to appear as a trailer at t=
he end of a<br>
&gt;&gt;&gt;&gt;&gt; chunked response.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; As has been said Trailers happen here.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 3. Something needs to be said about what happens if th=
e<br>
&gt;&gt;&gt;&gt;&gt; Content-Integrity check fails. For instance, if a requ=
est containing<br>
&gt;&gt;&gt;&gt;&gt; Content-Integrity is sent to the server and the server=
 detects that<br>
&gt;&gt;&gt;&gt;&gt; the signature is invalid, what should happen? what mus=
t happen?<br>
&gt;&gt;&gt;&gt;&gt; Likewise, how are intermediaries expected to treat the=
<br>
&gt;&gt;&gt;&gt;&gt; Content-Integrity header given that any intermediary i=
s able to<br>
&gt;&gt;&gt;&gt;&gt; modify<br>
&gt;&gt;&gt;&gt;&gt; the payload at any time?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This is going to be most useful on request/responses sent with=
<br>
&gt;&gt;&gt; &quot;no-transform&quot; of course.<br>
&gt;&gt;&gt; If the integrity was only a MD5 or SHA1 hash which middleware =
can edit<br>
&gt;&gt;&gt; easily there is no end-to-end integrity, just hop-by-hop integ=
rity.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Also, there has to be a mutual secret between origin server an=
d client.<br>
&gt;&gt;&gt; Without that, when integrity is compromised the transforming h=
op will<br>
&gt;&gt;&gt; simply erase or replace the Content-Integrity header value. A =
secret key<br>
&gt;&gt;&gt; unknown to that middleware is required to make the integrity h=
ash break<br>
&gt;&gt;&gt; when it tries this.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; AYJ<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mark Nottingham<br>
&gt; <a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net=
/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>

--14dae93410db850ec604c4893fd3--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 05:34:21 2012
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 EA16621F863E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 05:34:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_111=0.6, 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 4ufuc7XN+NjN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 05:34:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDFDC21F8623 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 05:34:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sow5s-0007Da-1h for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 12:32:36 +0000
Resent-Date: Wed, 11 Jul 2012 12:32:36 +0000
Resent-Message-Id: <E1Sow5s-0007Da-1h@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Sow5h-0007Cp-CR for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 12:32:25 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Sow5g-0007nB-29 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 12:32:25 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1Sow5f-0005ll-N7; Wed, 11 Jul 2012 08:32:23 -0400
Date: Wed, 11 Jul 2012 08:32:23 -0400 (EDT)
From: Yves Lafon <ylafon@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>
cc: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <4FFC8712.8040309@gmx.de>
Message-ID: <alpine.DEB.1.10.1207110818190.14753@wnl.j3.bet>
References: <4FFC8712.8040309@gmx.de>
User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sow5g-0007nB-29 4ab8c8fde3cc45243bdd25f0a913aa40
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #370: If-None-Match vs 412 vs ignoring the header field
Archived-At: <http://www.w3.org/mid/alpine.DEB.1.10.1207110818190.14753@wnl.j3.bet>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14075
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 Tue, 10 Jul 2012, Julian Reschke wrote:

> From an off-list WGLC comment:
>
>>     3.2. If-None-Match
>>
>>         If the request would, without the If-None-Match header field,=20
>> result in anything other than a 2xx or 304 status code, then the If-None=
-
>>=20
>> Should this list also include 412 listed above in the same section?
>
> I believe this is correct, the list needs to include 412 as well; opened=
=20
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/370> to track this.

I don't think it is correct, the rationale seems to be the use of a strong=
=20
validator when a weak validator was possibly already applied (IMS)=20
resulting in a 200 or 304.
If the request, without the INM results in a 412, so an error,=20
transforming that in a 200 by virtue of the INM doesn't look correct.

>
> Proposed changed text:
>
>   If the request would, without the If-None-Match header field, result
>   in anything other than a 2xx (Successful), 304 (Not Modified), or 412
>   (Precondition Failed) status code, then the If-None-Match header
>   field MUST be ignored.  (See Section 2.4 for a discussion of server
>   behavior when both If-Modified-Since and If-None-Match appear in the
>   same request.)
>
> (<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/370/370.di=
ff>)
>
> Feedback appreciated,
>
> Julian
>
>
>

--=20
Baroula que barouleras, au ti=E9u toujou t'entourneras.

         ~~Yves



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 05:54:29 2012
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 D2F9521F8625 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 05:54:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_111=0.6, 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 qqqPcBDzrEyA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 05:54:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 01C6621F85D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 05:54: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 1SowPl-0001qO-Cs for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 12:53:09 +0000
Resent-Date: Wed, 11 Jul 2012 12:53:09 +0000
Resent-Message-Id: <E1SowPl-0001qO-Cs@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SowPe-0001pd-6Z for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 12:53:02 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SowPY-0000Hg-Fv for ietf-http-wg@w3.org; Wed, 11 Jul 2012 12:53:02 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SowPY-0002Xt-6W; Wed, 11 Jul 2012 08:52:56 -0400
Date: Wed, 11 Jul 2012 08:52:56 -0400 (EDT)
From: Yves Lafon <ylafon@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>
cc: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <4FF6B544.7020302@gmx.de>
Message-ID: <alpine.DEB.1.10.1207110832420.14753@wnl.j3.bet>
References: <4FF6B544.7020302@gmx.de>
User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SowPY-0000Hg-Fv 503b8b815de8e5f11b111cf279789a8a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: If-* vs Range (part of #366)
Archived-At: <http://www.w3.org/mid/alpine.DEB.1.10.1207110832420.14753@wnl.j3.bet>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14076
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 Fri, 6 Jul 2012, Julian Reschke wrote:

> (see also http://trac.tools.ietf.org/wg/httpbis/trac/ticket/366)
>
> In=20
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p4-conditional-19.ht=
ml#rfc.section.3.3>=20
> we have:
>
>> Note: The Range header field modifies the meaning of If-Modified-Since; =
see=20
>> Section 5.4 of [Part5] for full details.
>
> It has been like that since the days of RFC 2068.
>
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-19.html#rfc=
=2Esection.5.4.2>=20
> says:
>
>> If the server supports the Range header field and the specified range or=
=20
>> ranges are appropriate for the representation:
>>
>>     The presence of a Range header field in an unconditional GET modifie=
s=20
>> what is returned if the GET is otherwise successful. In other words, the=
=20
>> response carries a status code of 206 (Partial Content) instead of 200=
=20
>> (OK).
>>     The presence of a Range header field in a conditional GET (a request=
=20
>> using one or both of If-Modified-Since and If-None-Match, or one or both=
 of=20
>> If-Unmodified-Since and If-Match) modifies what is returned if the GET i=
s=20
>> otherwise successful and the condition is true. It does not affect the 3=
04=20
>> (Not Modified) response returned if the conditional is false.
>
> So why do we have this note only for If-Modified-Since?

Indeed, the note should appear for either all the other similar headers,=20
or better, none of them (it's not up to IMS, INM to define what optional=20
parts or yet-to-be-defined extensions are doing).

--=20
Baroula que barouleras, au ti=E9u toujou t'entourneras.

         ~~Yves



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 05:59:31 2012
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 60B9B21F856C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 05:59:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.423
X-Spam-Level: 
X-Spam-Status: No, score=-8.423 tagged_above=-999 required=5 tests=[AWL=2.176, BAYES_00=-2.599, 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 PAFTZr2plcFx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 05:59:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C4DBE21F852A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 05:59:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SowUk-0003Lq-Kl for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 12:58:18 +0000
Resent-Date: Wed, 11 Jul 2012 12:58:18 +0000
Resent-Message-Id: <E1SowUk-0003Lq-Kl@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SowUZ-0003Ki-Qn for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 12:58:07 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SowUT-0000Jd-Sb for ietf-http-wg@w3.org; Wed, 11 Jul 2012 12:58:07 +0000
Received: (qmail invoked by alias); 11 Jul 2012 12:57:35 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp071) with SMTP; 11 Jul 2012 14:57:35 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19LGJwUanBLkFTORHwDhHS73cLXk0451t1yJZofDs yig0D4cDwRsHLi
Message-ID: <4FFD7834.8030303@gmx.de>
Date: Wed, 11 Jul 2012 14:57:24 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Yves Lafon <ylafon@w3.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FFC8712.8040309@gmx.de> <alpine.DEB.1.10.1207110818190.14753@wnl.j3.bet>
In-Reply-To: <alpine.DEB.1.10.1207110818190.14753@wnl.j3.bet>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SowUT-0000Jd-Sb f24eef9d6230e9f25ef359ccc4215334
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #370: If-None-Match vs 412 vs ignoring the header field
Archived-At: <http://www.w3.org/mid/4FFD7834.8030303@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14077
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 2012-07-11 14:32, Yves Lafon wrote:
> On Tue, 10 Jul 2012, Julian Reschke wrote:
>
>> From an off-list WGLC comment:
>>
>>>     3.2. If-None-Match
>>>
>>>         If the request would, without the If-None-Match header field,
>>> result in anything other than a 2xx or 304 status code, then the
>>> If-None-
>>>
>>> Should this list also include 412 listed above in the same section?
>>
>> I believe this is correct, the list needs to include 412 as well;
>> opened <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/370> to
>> track this.
>
> I don't think it is correct, the rationale seems to be the use of a
> strong validator when a weak validator was possibly already applied
> (IMS) resulting in a 200 or 304.

The spec allows combining If-None-Match with If-Modified-Since. That 
field however does not define a case where 412 would be returned. So, 
indeed, it doesn't need to be mentioned here.

If we *do* resolve 
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/371> however in a way 
that causes a 412 to be possible, we'll need to revisit this.

> If the request, without the INM results in a 412, so an error,
> transforming that in a 200 by virtue of the INM doesn't look correct.

As far as I can tell, "transforming into a 200" was not on the table.

It seems, we need to resolve 
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241> to make progress 
here.

> ...

Thanks for the feedback, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 06:09:04 2012
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 46C7021F868A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 06:09:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.467
X-Spam-Level: 
X-Spam-Status: No, score=-8.467 tagged_above=-999 required=5 tests=[AWL=2.132, BAYES_00=-2.599, 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 h0RFI4PECaHf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 06:09:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C3D5D21F8629 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 06:09:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoweI-0001W2-4e for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 13:08:10 +0000
Resent-Date: Wed, 11 Jul 2012 13:08:10 +0000
Resent-Message-Id: <E1SoweI-0001W2-4e@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SoweB-0001VC-Hm for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 13:08:03 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sowe4-0000cH-SH for ietf-http-wg@w3.org; Wed, 11 Jul 2012 13:08:03 +0000
Received: (qmail invoked by alias); 11 Jul 2012 13:07:30 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp032) with SMTP; 11 Jul 2012 15:07:30 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+JzBsTGQmJNKpR9re11Czc8MV7BzVNNtD4JgoPNi i0cisLTmYsY/+P
Message-ID: <4FFD7A86.3030305@gmx.de>
Date: Wed, 11 Jul 2012 15:07:18 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sowe4-0000cH-SH 0fa887a3c8b7c2772cceb0147e0e5f9e
X-Original-To: ietf-http-wg@w3.org
Subject: #371: If-Modified-Since lacks definition for method != GET
Archived-At: <http://www.w3.org/mid/4FFD7A86.3030305@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14078
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>

 From an off-list WGLC comment:

>     3.3. If-Modified-Since
>
>         The "If-Modified-Since" header field MAY be used to make a request method conditional by modification date: if the selected representation has not been modified since the time specified in this field, then do not perform the request method; instead, respond as detailed below.
>
> This section doesn't seem to say anything about methods other than GET, yet the text seems to imply that a more general case is also covered below.

-> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/371>

Indeed, the spec doesn't really say; is it (a) undefined, (b) 304, or 
(c) 412?

Feedback appreciated,

Julian Reschke


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 06:18:30 2012
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 5A1C421F85D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 06:18:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 nBpl4tUWWKA2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 06:18:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 46AB921F84FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 06:18:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sownl-0007s6-9w for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 13:17:57 +0000
Resent-Date: Wed, 11 Jul 2012 13:17:57 +0000
Resent-Message-Id: <E1Sownl-0007s6-9w@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1Sowne-0007qU-8U for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 13:17:50 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SownT-0000wx-Jr for ietf-http-wg@w3.org; Wed, 11 Jul 2012 13:17:50 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6BDH9m5010346 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 13:17:11 GMT
References: <4FD8F85F.1000404@appelbaum.net>
In-Reply-To: <4FD8F85F.1000404@appelbaum.net>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=utf-8
Message-Id: <0B1A2D17-4019-4B8B-B510-4A432F9CA38F@opera.com>
Content-Transfer-Encoding: quoted-printable
From: Karl Dubost <karld@opera.com>
Date: Wed, 11 Jul 2012 09:17:09 -0400
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SownT-0000wx-Jr 15332050683448c1423ac1dadda0c505
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 451 Unavailable For Legal Reasons
Archived-At: <http://www.w3.org/mid/0B1A2D17-4019-4B8B-B510-4A432F9CA38F@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14079
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>

An interesting real case.

Le 13 juin 2012 =C3=A0 16:30, Jacob Appelbaum a =C3=A9crit :
> To lump all of this into "legal" is likely to be incorrect - rather it
> is perhaps more important to disclose the result and not the unknown,
> often secret or even illegal to disclose process.


"It's true! A search for the word "truth" (=E7=9C=9F=E7=9B=B8) on Weibo =
returns: "According to relev. laws, regs and policies these results =
can't be shown."" - China Media Project, Wed Jul 11 09:36:27 +0000 2012, =
http://twitter.com/cmphku/status/222987710598619137


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 06:48:49 2012
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 6CB7911E8098 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 06:48:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.751
X-Spam-Level: 
X-Spam-Status: No, score=-7.751 tagged_above=-999 required=5 tests=[AWL=2.848, BAYES_00=-2.599, 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 LK4GZHtcw94y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 06:48:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4DB0811E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 06:48:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SoxH0-0000Dn-NU for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 13:48:10 +0000
Resent-Date: Wed, 11 Jul 2012 13:48:10 +0000
Resent-Message-Id: <E1SoxH0-0000Dn-NU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SoxGs-0000CK-La for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 13:48:02 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SoxGk-0002Fm-Tm for ietf-http-wg@w3.org; Wed, 11 Jul 2012 13:48:02 +0000
Received: by vbbfq11 with SMTP id fq11so836874vbb.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 06:47:29 -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=t0Kmq6Uw3ivSfGm4xno34ji854gQ/mLEdCANEKgm3EY=; b=Zf2c7NdFHevA/NTXwagnkduef2nBr3YyzYZfWmHVGqdMPV1KHIPIUK/BkgU7UjsVn9 GJ39oJ+5BBwdyayWekZB28E6G6AreJruCoiGowa3yR9MOV+fqXYK3aclNt7aSqszZPrK nvFxyTTXp99Qx+3aCL+eFBKu+N9YtESx8arwqiCHvb4NVplbOFUVT1PI3NDBJcy6Qiq2 LsgLTh4P+8QhcEYFA7L0f9A1kWtimNx0bytk/XIi0Ib9I++0daiZ4SxdVOj7w3tQjU+M N6VLDvV0OxZZWz+nfxWHI6h8c+BLWspcgNjFBwidySh4yh4PlO5Ljcps3aeageqEX5DQ wT5w==
MIME-Version: 1.0
Received: by 10.52.23.71 with SMTP id k7mr572721vdf.3.1342014448772; Wed, 11 Jul 2012 06:47:28 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 11 Jul 2012 06:47:28 -0700 (PDT)
In-Reply-To: <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com>
References: <0125733d444bbbd8d657794af87ecc68@treenet.co.nz> <CC21C046.5A7F4%sludin@akamai.com> <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com>
Date: Wed, 11 Jul 2012 09:47:28 -0400
Message-ID: <CAMm+Lwh5q2UPX_WTzbB=me-R0PswvvPwZfG6rUfummMMkR09fA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
Cc: "Ludin, Stephen" <sludin@akamai.com>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SoxGk-0002Fm-Tm 06ae158ac0612d369a56db98caae1954
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+Lwh5q2UPX_WTzbB=me-R0PswvvPwZfG6rUfummMMkR09fA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14080
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 Wed, Jul 11, 2012 at 1:04 AM, Yutaka OIWA <y.oiwa@aist.go.jp> wrote:
> Another reason to provide per-chunk integrity is to allow
> clients to progressively use the content while receiving.
> Progressive handling of large objects is common in
> current Web systems, especially for large resources
> like texts (HTMLs, PDFs), images, movies, and others.
> Without HTTP-level integrity protection, it works well.
> (TLS provides checking integrity of partial stream.)

+1 the only issue would be that it would be necessary to specify how
the integrity check carried across from chunk to chunk and there might
be a replay attack issue unless there was some way of introducing an
IV or equivalent.

Which I can add...

We have missed the -00 cut off date so I can't write this up as a
separate draft but I can add it into my omnibroker draft. I will move
the integrity header stuff out to an appendix.


> However, if integrity protection is provided by
> either a trailer or a header, clients must firstly store all
> received data without further processing, check integrity,
> and then decide whether to accept.

That is certainly a reasonable issue for the browser display use case.


> To this purpose, chunk-based integrity protection is
> even useful for static contents for which hash values can be
> pre-computed.
>
> "Re-inventing the wheel" issue is still alive :-)

I don't think so.

At the moment we have people busy re-inventing this particular wheel
as content-payload. We have XML Signature, and we have WS-*.

Those have all become big and heavy and a big part of the reason for
that is that they are re-inventing features that properly belong in
the presentation layer (i.e. http in this case).

This is not a signature header, it is an integrity check. There is a
very important distinction. The only reason to use signature over a
MAC is to get non-repudiation. But that means nothing unless you save
the bits that were signed.


> P.S.
> As a personal feeling, the value of integrity protection on
> this moment is more on protection against intentional content-forging
> attacks, rather than unintentional communication failure
> (except premature termination of streams).
> To this extent, re-requesting the broken chunk is personally out of
> my interest.  This may need discussion, because it may affect
> the design of inter-chunk chaining of integrity signatures.


I would see an integrity fault as being the same as a broken
connection. HTTP does have some consideration for that problem already
(range request). If any more mechanism was desired, people can ad it
separately. But it is a totally different issue.


> 2012/7/11 Ludin, Stephen <sludin@akamai.com>:
>> I really like the idea of placing the Digest in the chunk trailers.  Being
>> able to calculate these digests on the fly and not buffer the entire
>> message is critical in my opinion.
>>
>> Another concept that I have been playing with is providing digests on
>> individual chunks using chunk-extension.  The rational for this is for
>> very large objects.  With per-chunk digests the client would have the
>> ability to re-request a specific corrupted section of an object using a
>> range request rather than the entire object.  This can have enormous
>> perceived performance and reliability benefits for consumers of things
>> such as software download and large media files.
>>
>> I was working on a draft to propose this, but I didn't feel it was well
>> baked enough to share.  If there is interest in this type of functionality
>> I will polish it up and post it.
>>
>> One issue to point is is that for these types of "frame" based integrity
>> checks I generally feel like we are reinventing the content integrity
>> portion of SSL/TLS.  Though I see the value in begin able to do this apart
>> from SSL it forces the question at what point do you just switch over to
>> SSL to get the desired functionality?
>>
>> -stephen
>>
>>
>>
>> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>
>>>On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>>> +1
>>>>
>>>> I know that this is demanded.
>>>> When I discussion about http-authentication and phishing,
>>>> it is requested by many people.
>>>> It is a difficult problem.
>>>> ex) proxy...
>>>>
>>>> I think that it is good to do this discussion now.
>>>>
>>>> ---
>>>> Tatsuya
>>>>
>>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>>
>>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>>> through a bunch of unsupported header values looking for the one I
>>>>> want. Just as it makes very little sense for an implementor to
>>>>> provide
>>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>>> message; there should be only a single Content-Integrity statement
>>>>> and
>>>>> I either understand it or I don't.
>>>
>>>Either the client advertises what it supports (opening itself to
>>>middleware erasing options they can't modify). Or the server uses
>>>multiple algorithms in hopes that the middleware cannot violate them
>>>all.
>>>It makes perfect sense to have several levels of integrity check. MD5,
>>>SHA1, AES in one response and allow the client to validate the strongest
>>>it can handle.
>>>
>>>There is also an arguable case for middleware wanting to add its own
>>>hash to inform the client essentially "this is what I got given". So the
>>>point of manipulation can be back-traced when the more secure end-to-end
>>>checks fail.
>>>
>>>If you want end-to-end integrity, don't stop at half measures.
>>>Particularly at half measures which can be corrupted.
>>>
>>>
>>>>>
>>>>> 2. The performance impact of calculating the digest needs to be
>>>>> carefully considered. I'd rather not be required to buffer a full
>>>>> representation in memory all the time just to calculate a header
>>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>>> currently elusive solution that can be considered. For instance..
>>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>>> chunked response.
>>>
>>>As has been said Trailers happen here.
>>>
>>>>>
>>>>> 3. Something needs to be said about what happens if the
>>>>> Content-Integrity check fails. For instance, if a request containing
>>>>> Content-Integrity is sent to the server and the server detects that
>>>>> the signature is invalid, what should happen? what must happen?
>>>>> Likewise, how are intermediaries expected to treat the
>>>>> Content-Integrity header given that any intermediary is able to
>>>>> modify
>>>>> the payload at any time?
>>>
>>>This is going to be most useful on request/responses sent with
>>>"no-transform" of course.
>>>  If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>>easily there is no end-to-end integrity, just hop-by-hop integrity.
>>>
>>>
>>>Also, there has to be a mutual secret between origin server and client.
>>>Without that, when integrity is compromised the transforming hop will
>>>simply erase or replace the Content-Integrity header value. A secret key
>>>unknown to that middleware is required to make the integrity hash break
>>>when it tries this.
>>>
>>>AYJ
>>>
>>
>>
>
>
>
> --
> Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
>                              Research Institute for Secure Systems (RISEC)
>    National Institute of Advanced Industrial Science and Technology (AIST)
>                      Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 11:33:30 2012
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 7E78721F84D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:33:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Hf6RgpH+JCu5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:33:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EAA2421F848B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 11:33:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp1hE-0006U3-ME for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 18:31:32 +0000
Resent-Date: Wed, 11 Jul 2012 18:31:32 +0000
Resent-Message-Id: <E1Sp1hE-0006U3-ME@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Sp1h6-0006TI-3F for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 18:31:24 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Sp1h4-00058G-Ey for ietf-http-wg@w3.org; Wed, 11 Jul 2012 18:31:24 +0000
Received: by vcbgb30 with SMTP id gb30so1098864vcb.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 11:30:56 -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=cQ6x5AYQ/62m0QsRYeVrdPhSH8K/QHT82CieJeDQCnI=; b=uecYw4sz12TXl7yK7iSQBhbRHsqbm0V+y6GB7KQ+Vvcj+YHD+ghtXUwqB5zLyvIXdu BOS8f4S/v/1YgTSlB8Lasn/rWkvXJEQAgBqFMjItilOLnvQQQiKrXuSrF2V2LsMLwbn3 +HpHnZAjSn7Rw8DHk9NS+VZ+ANajVp41ESz4jXpcTmuKeX3aqxJLCoC0el1NMuUHxxrd MuhWWz5b9ATq3/TMHn5+agAfYAbxCBrXWDPEHBr9TGBp1kUDSa8eccAI7stkXz+I9D4Y eXMp0uncc6kT1EvURkUpTsYyZd87g872zTj250AhSE0S4KAmQjjZgICui73LJ8cJVZ7+ GUBg==
MIME-Version: 1.0
Received: by 10.52.90.199 with SMTP id by7mr19739436vdb.30.1342031456632; Wed, 11 Jul 2012 11:30:56 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 11 Jul 2012 11:30:56 -0700 (PDT)
In-Reply-To: <CAD3-0rMBA-gEkY+tauLRVQ+=U1Sxd7pSM_MTU3eFLyYokrfXdw@mail.gmail.com>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net> <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com> <CAD3-0rMBA-gEkY+tauLRVQ+=U1Sxd7pSM_MTU3eFLyYokrfXdw@mail.gmail.com>
Date: Wed, 11 Jul 2012 13:30:56 -0500
Message-ID: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Wenbo Zhu <wenboz@google.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Sp1h4-00058G-Ey 7ee001f1deafe8c6d5460ea1be457d8a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14081
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>

If the value of a trailer is a function of the message body, and the
function is app specific, it's a little hard for filters (who
intercept and transform responses) to correctly transform the value of
the trailer.


On Wed, Jul 11, 2012 at 3:01 AM, Wenbo Zhu <wenboz@google.com> wrote:
>
>
> On Tue, Jul 10, 2012 at 7:50 PM, James M Snell <jasnell@gmail.com> wrote:
>>
>> Yeah, this has been my experience as well. Unfortunately, I'm not sure
>> if this is something that can be effectively fixed. Off the top of my
>> head, I don't know of a single server or client side http stack that
>> is capable of easily setting Trailers in the stream. I just checked
>> and support for trailers is still missing in the Servlet API, for
>> instance.
>
> There is no new API required, necessarily, to support trailers:
> 1. app code needs set the header Trailer: <header_name> before the respon=
se
> is committed;
> 2. container will ignore the header  <header_name> when the response is
> committed;
> 3. container will output the trailer when the response is finished.
>
> The request header "TE: trailers" may or may not be respected.
>
>
>>
>> I know this kind of thing is generally frowned upon, but one possible
>> approach is to make use of a special content-type... for instance...
>>
>>   HTTP/1.1 200 OK
>>   Trailer: Content-Integrity
>>   Content-Type: application/http-trailers; type=3D"text/plain"
>>
>>   foobar
>>
>>   Content-Integrity:
>> sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
>>
>> This is just a strawman, but essentially, it would append a checksum
>> to the end of the content stream. It's not a trailer in the
>> traditional sense, it's actually encoded as part of the payload. In
>> lieu of proper Trailer support this is the only other way I can see it
>> working effectively in HTTP/1.1.
>>
>> For HTTP/2.0, I suppose it would be possible for us to take a more
>> appropriate approach either with trailers or by building the integrity
>> mechanism into the framing somehow.
>>
>> (Warning: thinking out loud *before* having consumed any beer... the
>> ideas expressed above may not make any sense. May need to apply
>> alcohol and try again)
>>
>> - James
>>
>> On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> > chunk-extensions aren't widely supported in APIs, and usually dropped
>> > hop-by-hop (then again, trailers can be too).
>> >
>> > Some discussion of trailer support in Apache:
>> >
>> > http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.=
html
>> >
>> > =85 and using Trailers to surface debug information in Firebug:
>> >   https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVTh=
H8
>> >
>> > (yes, this is a bit of a project for me)
>> >
>> > Finally, I know some server-side implementers would would LOVE to be
>> > able to set things like ETag and Last-Modified in trailers, and have t=
hem
>> > used by caches...
>> >
>> > Cheers,
>> >
>> >
>> > On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
>> >
>> >> I really like the idea of placing the Digest in the chunk trailers.
>> >> Being
>> >> able to calculate these digests on the fly and not buffer the entire
>> >> message is critical in my opinion.
>> >>
>> >> Another concept that I have been playing with is providing digests on
>> >> individual chunks using chunk-extension.  The rational for this is fo=
r
>> >> very large objects.  With per-chunk digests the client would have the
>> >> ability to re-request a specific corrupted section of an object using=
 a
>> >> range request rather than the entire object.  This can have enormous
>> >> perceived performance and reliability benefits for consumers of thing=
s
>> >> such as software download and large media files.
>> >>
>> >> I was working on a draft to propose this, but I didn't feel it was we=
ll
>> >> baked enough to share.  If there is interest in this type of
>> >> functionality
>> >> I will polish it up and post it.
>> >>
>> >> One issue to point is is that for these types of "frame" based
>> >> integrity
>> >> checks I generally feel like we are reinventing the content integrity
>> >> portion of SSL/TLS.  Though I see the value in begin able to do this
>> >> apart
>> >> from SSL it forces the question at what point do you just switch over
>> >> to
>> >> SSL to get the desired functionality?
>> >>
>> >> -stephen
>> >>
>> >>
>> >>
>> >> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>> >>
>> >>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>> >>>> +1
>> >>>>
>> >>>> I know that this is demanded.
>> >>>> When I discussion about http-authentication and phishing,
>> >>>> it is requested by many people.
>> >>>> It is a difficult problem.
>> >>>> ex) proxy...
>> >>>>
>> >>>> I think that it is good to do this discussion now.
>> >>>>
>> >>>> ---
>> >>>> Tatsuya
>> >>>>
>> >>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>> >>>>> In general, I'm +1 on the general idea albeit with a few caveats..=
.
>> >>>>>
>> >>>>> 1. To minimize complexity, only a single Content-Integrity header
>> >>>>> should be used. I don't want, as Roy points out, to have to iterat=
ed
>> >>>>> through a bunch of unsupported header values looking for the one I
>> >>>>> want. Just as it makes very little sense for an implementor to
>> >>>>> provide
>> >>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>> >>>>> message; there should be only a single Content-Integrity statement
>> >>>>> and
>> >>>>> I either understand it or I don't.
>> >>>
>> >>> Either the client advertises what it supports (opening itself to
>> >>> middleware erasing options they can't modify). Or the server uses
>> >>> multiple algorithms in hopes that the middleware cannot violate them
>> >>> all.
>> >>> It makes perfect sense to have several levels of integrity check. MD=
5,
>> >>> SHA1, AES in one response and allow the client to validate the
>> >>> strongest
>> >>> it can handle.
>> >>>
>> >>> There is also an arguable case for middleware wanting to add its own
>> >>> hash to inform the client essentially "this is what I got given". So
>> >>> the
>> >>> point of manipulation can be back-traced when the more secure
>> >>> end-to-end
>> >>> checks fail.
>> >>>
>> >>> If you want end-to-end integrity, don't stop at half measures.
>> >>> Particularly at half measures which can be corrupted.
>> >>>
>> >>>
>> >>>>>
>> >>>>> 2. The performance impact of calculating the digest needs to be
>> >>>>> carefully considered. I'd rather not be required to buffer a full
>> >>>>> representation in memory all the time just to calculate a header
>> >>>>> value. I know it's largely unavoidable, but perhaps there's some
>> >>>>> currently elusive solution that can be considered. For instance..
>> >>>>> allowing Content-Integrity to appear as a trailer at the end of a
>> >>>>> chunked response.
>> >>>
>> >>> As has been said Trailers happen here.
>> >>>
>> >>>>>
>> >>>>> 3. Something needs to be said about what happens if the
>> >>>>> Content-Integrity check fails. For instance, if a request containi=
ng
>> >>>>> Content-Integrity is sent to the server and the server detects tha=
t
>> >>>>> the signature is invalid, what should happen? what must happen?
>> >>>>> Likewise, how are intermediaries expected to treat the
>> >>>>> Content-Integrity header given that any intermediary is able to
>> >>>>> modify
>> >>>>> the payload at any time?
>> >>>
>> >>> This is going to be most useful on request/responses sent with
>> >>> "no-transform" of course.
>> >>> If the integrity was only a MD5 or SHA1 hash which middleware can ed=
it
>> >>> easily there is no end-to-end integrity, just hop-by-hop integrity.
>> >>>
>> >>>
>> >>> Also, there has to be a mutual secret between origin server and
>> >>> client.
>> >>> Without that, when integrity is compromised the transforming hop wil=
l
>> >>> simply erase or replace the Content-Integrity header value. A secret
>> >>> key
>> >>> unknown to that middleware is required to make the integrity hash
>> >>> break
>> >>> when it tries this.
>> >>>
>> >>> AYJ
>> >>>
>> >>
>> >>
>> >
>> > --
>> > Mark Nottingham
>> > http://www.mnot.net/
>> >
>> >
>> >
>> >
>> >
>>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 11:44:53 2012
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 41CF021F8555 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level: 
X-Spam-Status: No, score=-7.099 tagged_above=-999 required=5 tests=[AWL=2.878, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 OB5aRr17e2tm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:44:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E6BCD21F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 11:44:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp1tL-0001KE-Hj for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 18:44:03 +0000
Resent-Date: Wed, 11 Jul 2012 18:44:03 +0000
Resent-Message-Id: <E1Sp1tL-0001KE-Hj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp1tD-0001Hb-Rw for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 18:43:55 +0000
Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a35.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp1tC-0005dX-P2 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 18:43:55 +0000
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id B3DDA5406F for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 11:43:29 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :date:message-id:subject:from:to:cc:content-type; q=dns; s= cryptonector.com; b=Octqln4CpyrvhD7kX6WmM6+RkdDY0Au5/nCx5PsyVZIr NMXBmNShhacvJhwozrhgnofXK1SdrOKT0Z8IkfjImnckhByImCKvjCD/p6gEEuvn fn0GI66Eoh61YDpNJ+X8YFp6opqV97etc745x98KnVtDPW3f6M/V6veWumEiEcU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:cc:content-type; s= cryptonector.com; bh=Qe2k07r1Sgdc2p6L1KfGjc3e0/Y=; b=bW3OZrd1nHy dkO8ZJuzAC0GLOCDT0AM4wGa5L9acHV4SFqNX3YOW7DFfXrj2dCDrGCtSaEBgthw cSPg/WluaJjeUpaHTZSz8DCy5ChjJvjJ9NeSp82XFnc5YWoHZaSCfi5zNG0IGgTA wqMIVMkKfVOBHD3Xh/YbrTmZ2dZFxJk8=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 98FF954058 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 11:43:29 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so2388459pbc.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 11:43:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.222.40 with SMTP id qj8mr80555736pbc.139.1342032207938; Wed, 11 Jul 2012 11:43:27 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Wed, 11 Jul 2012 11:43:27 -0700 (PDT)
Date: Wed, 11 Jul 2012 13:43:27 -0500
Message-ID: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.5; envelope-from=nico@cryptonector.com; helo=homiemail-a35.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Sp1tC-0005dX-P2 911265297417d8c26f2005b1e87b4c74
X-Original-To: ietf-http-wg@w3.org
Subject: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14082
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 that we need something better, and in particular that we ought
to have a MAC instead of a plain hash.  The problem with a MAC is:
whence the key?  Also, what should the MAC be applied to?

Using a MAC, having a shared session key, ties into HTTP
authentication.  We can definitely have a generic MAC for HTTP and say
that HTTP authentication mechanisms that can should output session
keys.  And the HTTP authentication would also have to take care of MAC
algorithm negotiation.  I'd be quite happy with this approach.

One issue with this approach is: if we always use TLS (but we might
not), why do the extra session crypto?  What do we gain?  Do we need
to worry about content re-writing proxies, say, as in some 3G
networks?  If we always use TLS then it suffices to ensure that a) TLS
provides confidentiality protection, b) the server cert remains the
same for the length of the login session, c) we have a unique,
unpredictable session ID in the headers (what we might call a cookie,
though we don't want it to be a cookie as such).

In one post you talked about sequencing and replay protection for
chunks.  Adding that to the MAC really gets us close to the MIC token
features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
talking about having a sequence number.  As you say: this isn't
difficult; we've been doing this for a loooong time in Kerberos land.
Note that there's no need for sequence numbers to randomized given
that we have session keys, but sequence number windows add to the
state to be kept on the server side -- can we tolerate that? Note that
while session key state might be kept on the client in an encrypted
state ticket, session number windows cannot safely be kept that way --
they must be kept locally.  I tend to think that sequencing and replay
protection are the responsibility of the application -- all it needs
to do is add a sequence number to the chunks and manage its own
[per-resource] sequence number windows.

Altogether we need: a session key identifier in the headers (this
should imply algorithm selection), a direction identifier (or separate
keys for each direction), a sequence number if we need sequencing
and/or replay detection, what content to MAC, and the MAC itself.

Regarding what to MAC: the direction flag (unless we have diff keys
for each direction), the channel binding for the TLS channel (if we
have it), the URL?, some subset of headers? and the body.  Note that
applying the MAC to any headers requires that we say something about
canonicalization (e.g., "use the headers exactly as sent") and
canonical order (if a subset of headers) (e.g., "in the relative order
of appearance").  Header and body content need to be unambiguously
separated in the MAC input.  Obviously we can't MAC all headers: some
might be added by proxies, for example.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 11:46:21 2012
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 A310521F8554 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:46:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.309
X-Spam-Level: 
X-Spam-Status: No, score=-7.309 tagged_above=-999 required=5 tests=[AWL=-0.158, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315, UNRESOLVED_TEMPLATE=3.132]
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 ws5hOxRehfzb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:46:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8078B21F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 11:46:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp1v0-0004ls-RG for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 18:45:46 +0000
Resent-Date: Wed, 11 Jul 2012 18:45:46 +0000
Resent-Message-Id: <E1Sp1v0-0004ls-RG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1Sp1ur-0004kE-95 for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 18:45:37 +0000
Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1Sp1um-0005h8-T4 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 18:45:37 +0000
Received: from mail262-ch1-R.bigfish.com (10.43.68.241) by CH1EHSOBE014.bigfish.com (10.43.70.64) with Microsoft SMTP Server id 14.1.225.23; Wed, 11 Jul 2012 18:42:43 +0000
Received: from mail262-ch1 (localhost [127.0.0.1])	by mail262-ch1-R.bigfish.com (Postfix) with ESMTP id 98D471C001BF	for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 18:42:43 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zzbb2dI98dI9371Ic85fh542M1432Izz1202hzz8275ch8275bh8275dhz2fh2a8h683h839hd25hf0ah107ah)
Received-SPF: pass (mail262-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=jsilvera@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail262-ch1 (localhost.localdomain [127.0.0.1]) by mail262-ch1 (MessageSwitch) id 1342032161783089_1232; Wed, 11 Jul 2012 18:42:41 +0000 (UTC)
Received: from CH1EHSMHS004.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.237])	by mail262-ch1.bigfish.com (Postfix) with ESMTP id B40481A80046	for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 18:42:41 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS004.bigfish.com (10.43.70.4) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 11 Jul 2012 18:42:40 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Wed, 11 Jul 2012 18:45:01 +0000
Received: from mail147-co1-R.bigfish.com (10.243.78.244) by CO1EHSOBE009.bigfish.com (10.243.66.72) with Microsoft SMTP Server id 14.1.225.23; Wed, 11 Jul 2012 18:42:02 +0000
Received: from mail147-co1 (localhost [127.0.0.1])	by mail147-co1-R.bigfish.com (Postfix) with ESMTP id C8CB8B402D7	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Wed, 11 Jul 2012 18:42:01 +0000 (UTC)
Received: from mail147-co1 (localhost.localdomain [127.0.0.1]) by mail147-co1 (MessageSwitch) id 134203212090008_18009; Wed, 11 Jul 2012 18:42:00 +0000 (UTC)
Received: from CO1EHSMHS014.bigfish.com (unknown [10.243.78.234])	by mail147-co1.bigfish.com (Postfix) with ESMTP id 09BA93C004A;	Wed, 11 Jul 2012 18:42:00 +0000 (UTC)
Received: from SN2PRD0310HT005.namprd03.prod.outlook.com (157.56.234.5) by CO1EHSMHS014.bigfish.com (10.243.66.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 11 Jul 2012 18:42:00 +0000
Received: from SN2PRD0310MB360.namprd03.prod.outlook.com ([169.254.4.36]) by SN2PRD0310HT005.namprd03.prod.outlook.com ([10.255.112.40]) with mapi id 14.16.0175.005; Wed, 11 Jul 2012 18:44:20 +0000
From: Jonathan Silvera <jsilvera@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>
CC: 'Alexey Melnikov' <alexey.melnikov@isode.com>, 'Yutaka OIWA' <y.oiwa@aist.go.jp>, 'HTTP Working Group' <ietf-http-wg@w3.org>
Thread-Topic: draft-montenegro-httpbis-multilegged-auth-01
Thread-Index: AQHNXTvjfVKrSOD3jUW9wWmHOHeIjJcgQ+kAgADvIYCAAEG9cIAAQkQAgAK4eVA=
Date: Wed, 11 Jul 2012 18:44:20 +0000
Message-ID: <4A6008CA493DD743AF241A465C01F15F10AD99A9@SN2PRD0310MB360.namprd03.prod.outlook.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com> <4FFB1239.9010406@isode.com> <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com> <0258B01C-6FA6-4E12-97DE-F5F332FEB481@mnot.net>
In-Reply-To: <0258B01C-6FA6-4E12-97DE-F5F332FEB481@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.204]
Content-Type: multipart/alternative; boundary="_000_4A6008CA493DD743AF241A465C01F15F10AD99A9SN2PRD0310MB360_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%ISODE.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%AIST.GO.JP$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.182; envelope-from=jsilvera@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Sp1um-0005h8-T4 6b86c1bc8b9c3a3d69904bd7a362c899
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/4A6008CA493DD743AF241A465C01F15F10AD99A9@SN2PRD0310MB360.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14083
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>

--_000_4A6008CA493DD743AF241A465C01F15F10AD99A9SN2PRD0310MB360_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Mark,



>The problem is that they may be deployed and working, but only at the cost=
 of lots of pain and by other implementers (especially intermediaries). I.e=
., they're only "working" because people have worked around them.



It would be great if you (and the WG) can provide feedback with suggestions=
 on how the proposal can be extended or modified to make sure implementers =
do not end up in a worst place once multiplexing is introduced.



>That's your interpretation. The charter doesn't require HTTP 2.0 to accomm=
odate *every* use of HTTP, especially when it's being used -- or extended -=
- in a non-conformant way.



This would break millions of users in existing deployments. We are not advo=
cating that every use of HTTP be accommodated for, rather ensuring mainstre=
am scenarios continue to work.



>If we can satisfy these use cases by making some changes to them, that's g=
reat, but let's not call it "fixing HTTP."



Correct, the proposal is not fixing in HTTP in any way. The goal of our pro=
posal is to ensure that clients in environments requiring multi-legged auth=
entication schemes, continue to work in the presence of multiplexing, while=
 addressing issues introduced by Kerberos' ability to authenticate a connec=
tion or individual requests.



Thanks



-Jonathan Silvera



-----Original Message-----
From: Mark Nottingham [mailto:mnot@mnot.net]
Sent: Monday, July 9, 2012 6:10 PM
To: Jonathan Silvera
Cc: 'Alexey Melnikov'; 'Yutaka OIWA'; 'HTTP Working Group'
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01





On 10/07/2012, at 7:16 AM, Jonathan Silvera wrote:



> Dear Yutaka

>

> Supporting legacy authentication schemes, should not be the question to a=
sk ourselves. While these schemes are labeled as "broken" in HTTP 1.1, in r=
eality they are deployed and working. If multiplexing  becomes a part of HT=
TP 2.0, as it is likely to be, these will be 'broken' not just in label, bu=
t in reality.



The problem is that they may be deployed and working, but only at the cost =
of lots of pain and by other implementers (especially intermediaries). I.e.=
, they're only "working" because people have worked around them.





> The compatibility requirement of the HTTP 2.0 WG charter does not allow u=
s to eliminate legacy schemes, as previous applications are supposed to kee=
p on working, regardless of whether they are labeled as 'broken" for HTTP 1=
.1 or not.



That's your interpretation. The charter doesn't require HTTP 2.0 to accommo=
date *every* use of HTTP, especially when it's being used -- or extended --=
 in a non-conformant way.



If we can satisfy these use cases by making some changes to them, that's gr=
eat, but let's not call it "fixing HTTP."



Regards,





--

Mark Nottingham   http://www.mnot.net/













--_000_4A6008CA493DD743AF241A465C01F15F10AD99A9SN2PRD0310MB360_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoPlainText">Hi Mark,<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;The problem is that they may be deployed and =
working, but only at the cost of lots of pain and by other implementers (es=
pecially intermediaries). I.e., they're only &quot;working&quot; because pe=
ople have worked around them.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">It would be great if you (and the WG) can provide=
 feedback with suggestions on how the proposal can be extended or modified =
to make sure implementers do not end up in a worst place once multiplexing =
is introduced.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;That's your interpretation. The charter doesn=
't require HTTP 2.0 to accommodate *every* use of HTTP, especially when it'=
s being used -- or extended -- in a non-conformant way.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">This would break millions of users in existing de=
ployments. We are not advocating that every use of HTTP be accommodated for=
, rather ensuring mainstream scenarios continue to work.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;If we can satisfy these use cases by making s=
ome changes to them, that's great, but let's not call it &quot;fixing HTTP.=
&quot;<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Correct, the proposal is not fixing in HTTP in an=
y way. The goal of our proposal is to ensure that clients in environments r=
equiring multi-legged authentication schemes, continue to work in the prese=
nce of multiplexing, while addressing
 issues introduced by Kerberos' ability to authenticate a connection or ind=
ividual requests.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Thanks<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">-Jonathan Silvera&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">-----Original Message-----<br>
From: Mark Nottingham [mailto:mnot@mnot.net] <br>
Sent: Monday, July 9, 2012 6:10 PM<br>
To: Jonathan Silvera<br>
Cc: 'Alexey Melnikov'; 'Yutaka OIWA'; 'HTTP Working Group'<br>
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01</p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">On 10/07/2012, at 7:16 AM, Jonathan Silvera wrote=
:<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt; Dear Yutaka<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; <o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; Supporting legacy authentication schemes, sh=
ould not be the question to ask ourselves. While these schemes are labeled =
as &quot;broken&quot; in HTTP 1.1, in reality they are deployed and working=
. If multiplexing&nbsp; becomes a part of HTTP 2.0,
 as it is likely to be, these will be 'broken' not just in label, but in re=
ality.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">The problem is that they may be deployed and work=
ing, but only at the cost of lots of pain and by other implementers (especi=
ally intermediaries). I.e., they're only &quot;working&quot; because people=
 have worked around them.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt; The compatibility requirement of the HTTP 2.=
0 WG charter does not allow us to eliminate legacy schemes, as previous app=
lications are supposed to keep on working, regardless of whether they are l=
abeled as 'broken&quot; for HTTP 1.1 or not.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">That's your interpretation. The charter doesn't r=
equire HTTP 2.0 to accommodate *every* use of HTTP, especially when it's be=
ing used -- or extended -- in a non-conformant way.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">If we can satisfy these use cases by making some =
changes to them, that's great, but let's not call it &quot;fixing HTTP.&quo=
t;<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Regards,<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">--<o:p></o:p></p>
<p class=3D"MsoPlainText">Mark Nottingham&nbsp;&nbsp; <a href=3D"http://www=
.mnot.net/"><span style=3D"color:windowtext;text-decoration:none">http://ww=
w.mnot.net/</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4A6008CA493DD743AF241A465C01F15F10AD99A9SN2PRD0310MB360_--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 11:48:50 2012
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 B69FE21F85AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:48:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.21
X-Spam-Level: 
X-Spam-Status: No, score=-7.21 tagged_above=-999 required=5 tests=[AWL=-0.099, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315, UNRESOLVED_TEMPLATE=3.132]
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 sg2VRvTkeeC0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 11:48:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 790A221F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 11:48:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp1xZ-00051D-KH for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 18:48:25 +0000
Resent-Date: Wed, 11 Jul 2012 18:48:25 +0000
Resent-Message-Id: <E1Sp1xZ-00051D-KH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1Sp1xR-000500-2b for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 18:48:17 +0000
Received: from db3ehsobe001.messaging.microsoft.com ([213.199.154.139] helo=db3outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1Sp1xN-0005W1-JV for ietf-http-wg@w3.org; Wed, 11 Jul 2012 18:48:16 +0000
Received: from mail19-db3-R.bigfish.com (10.3.81.233) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.23; Wed, 11 Jul 2012 18:45:24 +0000
Received: from mail19-db3 (localhost [127.0.0.1])	by mail19-db3-R.bigfish.com (Postfix) with ESMTP id 1A7C12C038D	for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 18:45:24 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -8
X-BigFish: VS-8(zz98dI9371I542M1432Izz1202hzz8275dhz2fh2a8h683h839h93fhd25hf0ah107ah)
Received-SPF: pass (mail19-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=jsilvera@microsoft.com; helo=TK5EX14HUBC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail19-db3 (localhost.localdomain [127.0.0.1]) by mail19-db3 (MessageSwitch) id 1342032321351964_14857; Wed, 11 Jul 2012 18:45:21 +0000 (UTC)
Received: from DB3EHSMHS013.bigfish.com (unknown [10.3.81.242])	by mail19-db3.bigfish.com (Postfix) with ESMTP id 5467F2A0048	for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 18:45:21 +0000 (UTC)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS013.bigfish.com (10.3.87.113) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 11 Jul 2012 18:45:21 +0000
Received: from db3outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.2.309.3; Wed, 11 Jul 2012 18:47:37 +0000
Received: from mail15-db3-R.bigfish.com (10.3.81.248) by DB3EHSOBE005.bigfish.com (10.3.84.25) with Microsoft SMTP Server id 14.1.225.23; Wed, 11 Jul 2012 18:43:37 +0000
Received: from mail15-db3 (localhost [127.0.0.1])	by mail15-db3-R.bigfish.com (Postfix) with ESMTP id B35AE10049C	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Wed, 11 Jul 2012 18:43:37 +0000 (UTC)
Received: from mail15-db3 (localhost.localdomain [127.0.0.1]) by mail15-db3 (MessageSwitch) id 1342032215892650_12394; Wed, 11 Jul 2012 18:43:35 +0000 (UTC)
Received: from DB3EHSMHS018.bigfish.com (unknown [10.3.81.233])	by mail15-db3.bigfish.com (Postfix) with ESMTP id CE25B160046;	Wed, 11 Jul 2012 18:43:35 +0000 (UTC)
Received: from SN2PRD0310HT002.namprd03.prod.outlook.com (157.56.234.5) by DB3EHSMHS018.bigfish.com (10.3.87.118) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 11 Jul 2012 18:43:34 +0000
Received: from SN2PRD0310MB360.namprd03.prod.outlook.com ([169.254.4.36]) by SN2PRD0310HT002.namprd03.prod.outlook.com ([10.255.112.37]) with mapi id 14.16.0175.005; Wed, 11 Jul 2012 18:45:56 +0000
From: Jonathan Silvera <jsilvera@microsoft.com>
To: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: draft-montenegro-httpbis-multilegged-auth-01
Thread-Index: AQHNXTvjfVKrSOD3jUW9wWmHOHeIjJcgQ+kAgADvIYCAAEG9cIAAQlIAgAK4rNA=
Date: Wed, 11 Jul 2012 18:45:55 +0000
Message-ID: <4A6008CA493DD743AF241A465C01F15F10AD99E5@SN2PRD0310MB360.namprd03.prod.outlook.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com> <4FFB1239.9010406@isode.com> <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com> <481c0af7de4bbdd94959a0fa3a175db3@treenet.co.nz>
In-Reply-To: <481c0af7de4bbdd94959a0fa3a175db3@treenet.co.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.204]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT002.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%TREENET.CO.NZ$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.139; envelope-from=jsilvera@microsoft.com; helo=db3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1Sp1xN-0005W1-JV 9bdd1fdfc40373301189c266deaabd84
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/4A6008CA493DD743AF241A465C01F15F10AD99E5@SN2PRD0310MB360.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14084
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>

SGkgQW1vcywNCg0KDQo+SSB0YWtlIGl0IHlvdSBtZWFuIE5UTE0gYW5kIE5lZ290aWF0ZT8gc2lu
Y2UgQmFzaWMgYW5kIERpZ2VzdCBhcmUgbm90IGRlY2xhcmVkIGJyb2tlbiwganVzdCBzb21ld2hh
dCB1bnNhZmUuDQo+TlRMTS9OZWdvdGlhdGUgYXJlIGJyb2tlbiBpbiBib3RoIGxhYmVsIGFuZCBy
ZWFsaXR5LiBUbyBkaWZmZXJlbnQgZGVncmVlcy4NCj5UcnkgdG8gdXNlIEhUVFAgcGlwZWxpbmUs
IEhUVFAgcGVyc2lzdGVudCBjb25uZWN0aW9uIHJlLXVzZSwgb3IgdHJ5IHRvIG9wZXJhdGUgdGhl
bSBvdmVyIGFueSBwcm94eSB3aGljaCBkb2VzIG5vdCBmb3JjZSBzdGF0ZWZ1bCAicGlubmluZyIg
b250bw0KKnN0YXRlbGVzcyogSFRUUCAoU3F1aWQtMy4wIGZvciBleGFtcGxlKSBhbmQgeW91IHdp
bGwgc2VlIGp1c3QgaG93IGJyb2tlbiB0aGV5IGFyZS4gRWZmZWN0cyByYW5nZSBmcm9tIHVzZXJz
IG5vdCBiZWluZyBhYmxlIHRvIGxvZ2luIGF0IGFsbCwgbG9nZ2luZyBpbiB1bmRlciBvdGhlciB1
c2VycyBjcmVkZW50aWFscywgdG8gY29uc3RhbnQgcG9wdXAvY2hhbGxlbmdlIGxvb3BzLCBzb21l
IHNvZnR3YXJlIGV2ZW4gRG9TIHRoZSBuZXR3b3JrIGF0dGVtcHRpbmcgdG8gcmV0cnkgYXV0b21h
dGljYWxseS4NCj5UaGlzIGlzIGJyb2tlbiBieSBhbnkgZGVmaW5pdGlvbi4NCj5UaGUgbWlub3Ig
ZmFjdCB0aGF0IHNvbWUgYWRtaW4gYXJlIHdpbGxpbmcgdG8gZ2l2ZSB1cCBhbGwgdGhvc2UgcGVy
Zm9ybWFuY2UgZmVhdHVyZXMgb2YgSFRUUCB0byBnYWluIHRoZSBpbGx1c2lvbiBvZiAid29ya2lu
ZyIgaXMgcmF0aGVyIHNhZC4NCg0KVGhlcmUgYXJlIG1pbGxpb25zIG9mIHVzZXJzIHdvcmtpbmcg
aW4gZW52aXJvbm1lbnRzIHRoYXQgcmVxdWlyZSBOVExNLCB3aG8gd2lsbCBmaW5kIGl0IHZlcnkg
cmVhbCBpZiB0aGVpciBkZXBsb3ltZW50cyBhcmUgYnJva2VuIGJ5IHRoZSBuZXcgdmVyc2lvbiBv
ZiBIVFRQLiBJdCB3b3VsZCBiZSBncmVhdCB0byBoZWFyIHN1Z2dlc3Rpb25zIG9uIGhvdyB0aGUg
cHJvcG9zYWwgY2FuIGJlIG1vZGlmaWVkLCB0byBtYWtlIHN1cmUgbXVsdGlwbGV4aW5nIGludHJv
ZHVjZXMgbWluaW1hbCBzaWRlIGVmZmVjdHMgZm9yIGFsbCBpbXBsZW1lbnRlcnMgb2YgbXVsdGkt
bGVnZ2VkIGF1dGhlbnRpY2F0aW9uIHNjaGVtZXMuDQoNCj5PbiB0aGlzIG5vdGUsIHRoZSAiTmVn
b3RpYXRlIiBzY2hlbWUgc3BlY2lmaWVzIHRoZSBhYmlsaXR5IHRvIG5lZ290aWF0ZSBOVExNIChj
b25uZWN0aW9uLWF1dGgpIG92ZXIgaXQuIFNvIElNSE8sIHRoaXMgc2NoZW1lIGlzIGNvbm5lY3Rp
b24tb3JpZW50ZWQgZHVlIHRvIHRoYXQgcmVxdWlyZW1lbnQuDQo+SSB3b3VsZCBsaWtlIHRvIHNl
ZSB0aGUgIktlcmJlcm9zIiBzY2hlbWUgZm9ybWFsbHkgc3BlY2lmaWVkIGFzIGEgc2VwYXJhdGUg
c2NoZW1lIGFzIHRoZSByZXF1ZXN0LW9yaWVudGVkIGZvcm0uIEluIHRoaXMgd2F5IHdlIGNhbiBj
b250aW51ZSB0byBzdXBwb3J0ICJOZWdvdGlhdGUiIGFzIGNvbm5lY3Rpb24tb3JpZW50ZWQgKEhU
VFAgJ2Jyb2tlbicpIGFuZCAiS2VyYmVyb3MiIGFzIHJlcXVlc3Qtb3JpZW50ZWQgKEhUVFAgJ3dv
cmtpbmcnKS4NCj5BbnlvbmUga2VlbiB0byBkbyB0aGF0IGxlZy13b3JrPw0KDQpUaGUgZHVhbCBt
b2RlIEkgYW0gcmVmZXJyaW5nIHRvIGlzIGluZGVwZW5kZW50IG9mIE5lZ290aWF0ZSwgcmF0aGVy
IGEgY2hhcmFjdGVyaXN0aWMgb2YgdGhlIEtlcmJlcm9zIHNjaGVtZSBpdHNlbGYuIEtlcmJlcm9z
IChzdGFuZGFsb25lIG9yIHVuZGVyIE5lZ290aWF0ZSkgY2FuIGJlIHJlcXVlc3Qtb3JpZW50ZWQg
b3IgY29ubmVjdGlvbi1vcmllbnRlZC4gUHJvYmxlbXMgYXJpc2UgZHVlIHRvIHRoZSBmYWN0IHRo
YXQgdGhlcmUgaXMgbm8gd2F5IHRvIGRldGVybWluaXN0aWNhbGx5IGtub3cgd2hpY2ggb25lIHdp
bGwgYmUgdXNlZC4gDQoNClRoYW5rcw0KDQotSm9uYXRoYW4NCg0KLS0tLS1PcmlnaW5hbCBNZXNz
YWdlLS0tLS0NCkZyb206IEFtb3MgSmVmZnJpZXMgW21haWx0bzpzcXVpZDNAdHJlZW5ldC5jby5u
el0gDQpTZW50OiBNb25kYXksIEp1bHkgOSwgMjAxMiA2OjEwIFBNDQpUbzogaWV0Zi1odHRwLXdn
QHczLm9yZw0KU3ViamVjdDogUkU6IGRyYWZ0LW1vbnRlbmVncm8taHR0cGJpcy1tdWx0aWxlZ2dl
ZC1hdXRoLTAxDQoNCk9uIDEwLjA3LjIwMTIgMDk6MTYsIEpvbmF0aGFuIFNpbHZlcmEgd3JvdGU6
DQo+IERlYXIgWXV0YWthDQo+DQo+IFN1cHBvcnRpbmcgbGVnYWN5IGF1dGhlbnRpY2F0aW9uIHNj
aGVtZXMsIHNob3VsZCBub3QgYmUgdGhlIHF1ZXN0aW9uIA0KPiB0byBhc2sgb3Vyc2VsdmVzLiBX
aGlsZSB0aGVzZSBzY2hlbWVzIGFyZSBsYWJlbGVkIGFzICJicm9rZW4iIGluIEhUVFAgDQo+IDEu
MSwgaW4gcmVhbGl0eSB0aGV5IGFyZSBkZXBsb3llZCBhbmQgd29ya2luZy4gSWYgbXVsdGlwbGV4
aW5nIGJlY29tZXMgDQo+IGEgcGFydCBvZiBIVFRQIDIuMCwgYXMgaXQgaXMgbGlrZWx5IHRvIGJl
LCB0aGVzZSB3aWxsIGJlICdicm9rZW4nIG5vdCANCj4ganVzdCBpbiBsYWJlbCwgYnV0IGluIHJl
YWxpdHkuDQoNCkkgdGFrZSBpdCB5b3UgbWVhbiBOVExNIGFuZCBOZWdvdGlhdGU/IHNpbmNlIEJh
c2ljIGFuZCBEaWdlc3QgYXJlIG5vdCBkZWNsYXJlZCBicm9rZW4sIGp1c3Qgc29tZXdoYXQgdW5z
YWZlLg0KDQpOVExNL05lZ290aWF0ZSBhcmUgYnJva2VuIGluIGJvdGggbGFiZWwgYW5kIHJlYWxp
dHkuIFRvIGRpZmZlcmVudCBkZWdyZWVzLg0KDQpUcnkgdG8gdXNlIEhUVFAgcGlwZWxpbmUsIEhU
VFAgcGVyc2lzdGVudCBjb25uZWN0aW9uIHJlLXVzZSwgb3IgdHJ5IHRvIG9wZXJhdGUgdGhlbSBv
dmVyIGFueSBwcm94eSB3aGljaCBkb2VzIG5vdCBmb3JjZSBzdGF0ZWZ1bCAicGlubmluZyIgb250
bw0KKnN0YXRlbGVzcyogSFRUUCAoU3F1aWQtMy4wIGZvciBleGFtcGxlKSBhbmQgeW91IHdpbGwg
c2VlIGp1c3QgaG93IGJyb2tlbiB0aGV5IGFyZS4gRWZmZWN0cyByYW5nZSBmcm9tIHVzZXJzIG5v
dCBiZWluZyBhYmxlIHRvIGxvZ2luIGF0IGFsbCwgbG9nZ2luZyBpbiB1bmRlciBvdGhlciB1c2Vy
cyBjcmVkZW50aWFscywgdG8gY29uc3RhbnQgcG9wdXAvY2hhbGxlbmdlIGxvb3BzLCBzb21lIHNv
ZnR3YXJlIGV2ZW4gRG9TIHRoZSBuZXR3b3JrIGF0dGVtcHRpbmcgdG8gcmV0cnkgYXV0b21hdGlj
YWxseS4NCiAgVGhpcyBpcyBicm9rZW4gYnkgYW55IGRlZmluaXRpb24uDQoNClRoZSBtaW5vciBm
YWN0IHRoYXQgc29tZSBhZG1pbiBhcmUgd2lsbGluZyB0byBnaXZlIHVwIGFsbCB0aG9zZSBwZXJm
b3JtYW5jZSBmZWF0dXJlcyBvZiBIVFRQIHRvIGdhaW4gdGhlIGlsbHVzaW9uIG9mICJ3b3JraW5n
IiBpcyByYXRoZXIgc2FkLg0KDQoNCj4NCj4gVGhlIGNvbXBhdGliaWxpdHkgcmVxdWlyZW1lbnQg
b2YgdGhlIEhUVFAgMi4wIFdHIGNoYXJ0ZXIgZG9lcyBub3QgDQo+IGFsbG93IHVzIHRvIGVsaW1p
bmF0ZSBsZWdhY3kgc2NoZW1lcywgYXMgcHJldmlvdXMgYXBwbGljYXRpb25zIGFyZSANCj4gc3Vw
cG9zZWQgdG8ga2VlcCBvbiB3b3JraW5nLCByZWdhcmRsZXNzIG9mIHdoZXRoZXIgdGhleSBhcmUg
bGFiZWxlZCBhcyANCj4gJ2Jyb2tlbiIgZm9yIEhUVFAgMS4xIG9yIG5vdC4gSSBiZWxpZXZlIHRo
YXQgSFRUUDIuMCBwcm92aWRlcyB1cyB3aXRoIA0KPiBhIGdyZWF0IG9wcG9ydHVuaXR5IHRvIGVu
c3VyZSBzY2hlbWVzIGN1cnJlbnRseSBsYWJlbGVkIGFzICJicm9rZW4iLCANCj4gYXJlIHByb3Bl
cmx5IHN1cHBvcnRlZCBmcm9tIHRoZSBiZWdpbm5pbmcuIFdpdGhvdXQgc3VwcG9ydCBmb3IgdGhl
c2UgDQo+IGxlZ2FjeSBzY2hlbWVzLCB0aGUgYWRvcHRpb24gb2YgSFRUUDIuMCB3aWxsIHVuYXZv
aWRhYmx5IHN1ZmZlci4NCj4NCj4gQW5vdGhlciBwcm9ibGVtIG91ciBwcm9wb3NhbCBhdHRlbXB0
cyB0byBhZGRyZXNzLCBpcyB0aGF0IEtlcmJlcm9zJw0KPiAiZHVhbCBtb2RlIiAoYXV0aGVudGlj
YXRlZCBjb25uZWN0aW9uIG9yIGF1dGhlbnRpY2F0ZWQgcmVxdWVzdHMpIA0KPiBpbnRyb2R1Y2Vz
IGEgbG90IG9mIHByb2JsZW1zIGZvciBjbGllbnRzIHRvZGF5IHNpbmNlIHRoZXJlIGlzIG5vIHdh
eSANCj4gdG8gZGV0ZXJtaW5pc3RpY2FsbHkga25vdyB3aGljaCBhdXRoZW50aWNhdGlvbiB0eXBl
IHdhcyBuZWdvdGlhdGVkLg0KPiBJdA0KPiB3b3VsZCBiZSBncmVhdCB0byBoZWFyIGZyb20gdGhl
IFdHIG9uIHRob3VnaHRzIGFyb3VuZCBob3cgd2UgY2FuIHNvbHZlIA0KPiB0aGlzIHByb2JsZW0g
aW4gYSBnZW5lcmljIHdheSwgaW4gY2FzZSBtb3JlICJkdWFsIG1vZGUiDQo+IGF1dGhlbnRpY2F0
aW9uDQo+IHNjaGVtZXMgYXJpc2UgaW4gdGhlIGZ1dHVyZS4NCg0KDQpPbiB0aGlzIG5vdGUsIHRo
ZSAiTmVnb3RpYXRlIiBzY2hlbWUgc3BlY2lmaWVzIHRoZSBhYmlsaXR5IHRvIG5lZ290aWF0ZSBO
VExNIChjb25uZWN0aW9uLWF1dGgpIG92ZXIgaXQuIFNvIElNSE8sIHRoaXMgc2NoZW1lIGlzIGNv
bm5lY3Rpb24tb3JpZW50ZWQgZHVlIHRvIHRoYXQgcmVxdWlyZW1lbnQuDQoNCkkgd291bGQgbGlr
ZSB0byBzZWUgdGhlICJLZXJiZXJvcyIgc2NoZW1lIGZvcm1hbGx5IHNwZWNpZmllZCBhcyBhIHNl
cGFyYXRlIHNjaGVtZSBhcyB0aGUgcmVxdWVzdC1vcmllbnRlZCBmb3JtLiBJbiB0aGlzIHdheSB3
ZSBjYW4gY29udGludWUgdG8gc3VwcG9ydCAiTmVnb3RpYXRlIiBhcyBjb25uZWN0aW9uLW9yaWVu
dGVkIChIVFRQICdicm9rZW4nKSBhbmQgIktlcmJlcm9zIiBhcyByZXF1ZXN0LW9yaWVudGVkIChI
VFRQICd3b3JraW5nJykuDQoNCkFueW9uZSBrZWVuIHRvIGRvIHRoYXQgbGVnLXdvcms/DQoNCg0K
QVlKDQoNCg0KDQoNCg0K




From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 14:29:08 2012
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 0F5F911E814B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 14:29:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Cjw8EiWKsbQn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 14:29:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9FBAF11E8149 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 14:29:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp4Rx-0006b7-E6 for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 21:27:57 +0000
Resent-Date: Wed, 11 Jul 2012 21:27:57 +0000
Resent-Message-Id: <E1Sp4Rx-0006b7-E6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1Sp4Rp-0006a9-A9 for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 21:27:49 +0000
Received: from prod-mail-xrelay06.akamai.com ([96.6.114.98]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1Sp4Rn-0003jX-6x for ietf-http-wg@w3.org; Wed, 11 Jul 2012 21:27:49 +0000
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 2C83E165593; Wed, 11 Jul 2012 21:27:21 +0000 (GMT)
Received: from prod-mail-relay04.akamai.com (prod-mail-relay04.akamai.com [172.27.8.27]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 1FFA5165592; Wed, 11 Jul 2012 21:27:21 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub1.dfw01.corp.akamai.com [172.27.33.75]) by prod-mail-relay04.akamai.com (Postfix) with ESMTP id 141DD47BD2; Wed, 11 Jul 2012 21:27:21 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub1.dfw01.corp.akamai.com ([172.27.33.75]) with mapi; Wed, 11 Jul 2012 16:27:20 -0500
From: "Ludin, Stephen" <sludin@akamai.com>
To: Zhong Yu <zhong.j.yu@gmail.com>, Wenbo Zhu <wenboz@google.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 11 Jul 2012 16:27:05 -0500
Thread-Topic: Using HTTP Trailers [was: Content-Integrity header]
Thread-Index: Ac1fq/PjwC6P4s7DQjSNp8Foyos3vA==
Message-ID: <CC233A53.5AB14%sludin@akamai.com>
In-Reply-To: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.98; envelope-from=sludin@akamai.com; helo=prod-mail-xrelay06.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sp4Rn-0003jX-6x cf39f7c99d997e5ddb3847186784721f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CC233A53.5AB14%25sludin@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14085
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 the "Expression of Interest" side, I would be very interested in
functionality that allows flexible piece-wise integrity checking that
enables the user-agent to detect an issue and re-request a specific part
on an object in question.  If forced into 1.1 land, Chunk trailers seem
like a logical place to implement this.  As suggested below however, a
separate transfer-encoding entirely may be a better way yo go. I'll need
to tool on that a bit.

Akamai will certainly support something like this.  To Mark's point about
intermediaries potentially removing the trailers, I think that is and
always will be true for anything under the 'Transfer-Encoding' umbrella.
This is what differentiates this feature from the Content-MD5 header.  It
does not take away from the functionality necessarily.  I expect that with
a feature like this smart surrogates may even ADD the trailers on behalf
of an origin to provide middle/last mile integrity.  Many ways to use this
one.

-stephen

On 7/11/12 11:30 AM, "Zhong Yu" <zhong.j.yu@gmail.com> wrote:

>If the value of a trailer is a function of the message body, and the
>function is app specific, it's a little hard for filters (who
>intercept and transform responses) to correctly transform the value of
>the trailer.
>
>
>On Wed, Jul 11, 2012 at 3:01 AM, Wenbo Zhu <wenboz@google.com> wrote:
>>
>>
>> On Tue, Jul 10, 2012 at 7:50 PM, James M Snell <jasnell@gmail.com>
>>wrote:
>>>
>>> Yeah, this has been my experience as well. Unfortunately, I'm not sure
>>> if this is something that can be effectively fixed. Off the top of my
>>> head, I don't know of a single server or client side http stack that
>>> is capable of easily setting Trailers in the stream. I just checked
>>> and support for trailers is still missing in the Servlet API, for
>>> instance.
>>
>> There is no new API required, necessarily, to support trailers:
>> 1. app code needs set the header Trailer: <header_name> before the
>>response
>> is committed;
>> 2. container will ignore the header  <header_name> when the response is
>> committed;
>> 3. container will output the trailer when the response is finished.
>>
>> The request header "TE: trailers" may or may not be respected.
>>
>>
>>>
>>> I know this kind of thing is generally frowned upon, but one possible
>>> approach is to make use of a special content-type... for instance...
>>>
>>>   HTTP/1.1 200 OK
>>>   Trailer: Content-Integrity
>>>   Content-Type: application/http-trailers; type=3D"text/plain"
>>>
>>>   foobar
>>>
>>>   Content-Integrity:
>>>=20
>>>sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
>>>
>>> This is just a strawman, but essentially, it would append a checksum
>>> to the end of the content stream. It's not a trailer in the
>>> traditional sense, it's actually encoded as part of the payload. In
>>> lieu of proper Trailer support this is the only other way I can see it
>>> working effectively in HTTP/1.1.
>>>
>>> For HTTP/2.0, I suppose it would be possible for us to take a more
>>> appropriate approach either with trailers or by building the integrity
>>> mechanism into the framing somehow.
>>>
>>> (Warning: thinking out loud *before* having consumed any beer... the
>>> ideas expressed above may not make any sense. May need to apply
>>> alcohol and try again)
>>>
>>> - James
>>>
>>> On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>> > chunk-extensions aren't widely supported in APIs, and usually dropped
>>> > hop-by-hop (then again, trailers can be too).
>>> >
>>> > Some discussion of trailer support in Apache:
>>> >
>>> >=20
>>>http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.ht
>>>ml
>>> >
>>> > =8A and using Trailers to surface debug information in Firebug:
>>> >  =20
>>>https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH8
>>> >
>>> > (yes, this is a bit of a project for me)
>>> >
>>> > Finally, I know some server-side implementers would would LOVE to be
>>> > able to set things like ETag and Last-Modified in trailers, and have
>>>them
>>> > used by caches...
>>> >
>>> > Cheers,
>>> >
>>> >
>>> > On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
>>> >
>>> >> I really like the idea of placing the Digest in the chunk trailers.
>>> >> Being
>>> >> able to calculate these digests on the fly and not buffer the entire
>>> >> message is critical in my opinion.
>>> >>
>>> >> Another concept that I have been playing with is providing digests
>>>on
>>> >> individual chunks using chunk-extension.  The rational for this is
>>>for
>>> >> very large objects.  With per-chunk digests the client would have
>>>the
>>> >> ability to re-request a specific corrupted section of an object
>>>using a
>>> >> range request rather than the entire object.  This can have enormous
>>> >> perceived performance and reliability benefits for consumers of
>>>things
>>> >> such as software download and large media files.
>>> >>
>>> >> I was working on a draft to propose this, but I didn't feel it was
>>>well
>>> >> baked enough to share.  If there is interest in this type of
>>> >> functionality
>>> >> I will polish it up and post it.
>>> >>
>>> >> One issue to point is is that for these types of "frame" based
>>> >> integrity
>>> >> checks I generally feel like we are reinventing the content
>>>integrity
>>> >> portion of SSL/TLS.  Though I see the value in begin able to do this
>>> >> apart
>>> >> from SSL it forces the question at what point do you just switch
>>>over
>>> >> to
>>> >> SSL to get the desired functionality?
>>> >>
>>> >> -stephen
>>> >>
>>> >>
>>> >>
>>> >> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>> >>
>>> >>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>> >>>> +1
>>> >>>>
>>> >>>> I know that this is demanded.
>>> >>>> When I discussion about http-authentication and phishing,
>>> >>>> it is requested by many people.
>>> >>>> It is a difficult problem.
>>> >>>> ex) proxy...
>>> >>>>
>>> >>>> I think that it is good to do this discussion now.
>>> >>>>
>>> >>>> ---
>>> >>>> Tatsuya
>>> >>>>
>>> >>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>> >>>>> In general, I'm +1 on the general idea albeit with a few
>>>caveats...
>>> >>>>>
>>> >>>>> 1. To minimize complexity, only a single Content-Integrity header
>>> >>>>> should be used. I don't want, as Roy points out, to have to
>>>iterated
>>> >>>>> through a bunch of unsupported header values looking for the one
>>>I
>>> >>>>> want. Just as it makes very little sense for an implementor to
>>> >>>>> provide
>>> >>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>> >>>>> message; there should be only a single Content-Integrity
>>>statement
>>> >>>>> and
>>> >>>>> I either understand it or I don't.
>>> >>>
>>> >>> Either the client advertises what it supports (opening itself to
>>> >>> middleware erasing options they can't modify). Or the server uses
>>> >>> multiple algorithms in hopes that the middleware cannot violate
>>>them
>>> >>> all.
>>> >>> It makes perfect sense to have several levels of integrity check.
>>>MD5,
>>> >>> SHA1, AES in one response and allow the client to validate the
>>> >>> strongest
>>> >>> it can handle.
>>> >>>
>>> >>> There is also an arguable case for middleware wanting to add its
>>>own
>>> >>> hash to inform the client essentially "this is what I got given".
>>>So
>>> >>> the
>>> >>> point of manipulation can be back-traced when the more secure
>>> >>> end-to-end
>>> >>> checks fail.
>>> >>>
>>> >>> If you want end-to-end integrity, don't stop at half measures.
>>> >>> Particularly at half measures which can be corrupted.
>>> >>>
>>> >>>
>>> >>>>>
>>> >>>>> 2. The performance impact of calculating the digest needs to be
>>> >>>>> carefully considered. I'd rather not be required to buffer a full
>>> >>>>> representation in memory all the time just to calculate a header
>>> >>>>> value. I know it's largely unavoidable, but perhaps there's some
>>> >>>>> currently elusive solution that can be considered. For instance..
>>> >>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>> >>>>> chunked response.
>>> >>>
>>> >>> As has been said Trailers happen here.
>>> >>>
>>> >>>>>
>>> >>>>> 3. Something needs to be said about what happens if the
>>> >>>>> Content-Integrity check fails. For instance, if a request
>>>containing
>>> >>>>> Content-Integrity is sent to the server and the server detects
>>>that
>>> >>>>> the signature is invalid, what should happen? what must happen?
>>> >>>>> Likewise, how are intermediaries expected to treat the
>>> >>>>> Content-Integrity header given that any intermediary is able to
>>> >>>>> modify
>>> >>>>> the payload at any time?
>>> >>>
>>> >>> This is going to be most useful on request/responses sent with
>>> >>> "no-transform" of course.
>>> >>> If the integrity was only a MD5 or SHA1 hash which middleware can
>>>edit
>>> >>> easily there is no end-to-end integrity, just hop-by-hop integrity.
>>> >>>
>>> >>>
>>> >>> Also, there has to be a mutual secret between origin server and
>>> >>> client.
>>> >>> Without that, when integrity is compromised the transforming hop
>>>will
>>> >>> simply erase or replace the Content-Integrity header value. A
>>>secret
>>> >>> key
>>> >>> unknown to that middleware is required to make the integrity hash
>>> >>> break
>>> >>> when it tries this.
>>> >>>
>>> >>> AYJ
>>> >>>
>>> >>
>>> >>
>>> >
>>> > --
>>> > Mark Nottingham
>>> > http://www.mnot.net/
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 14:37:22 2012
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 1220211E811E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 14:37:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 nOszDo5t-576 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 14:37:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D6BB211E80EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 14:37:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp4ay-0004hv-DR for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 21:37:16 +0000
Resent-Date: Wed, 11 Jul 2012 21:37:16 +0000
Resent-Message-Id: <E1Sp4ay-0004hv-DR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1Sp4ao-0004df-BH for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 21:37:06 +0000
Received: from prod-mail-xrelay02.akamai.com ([72.246.2.14]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1Sp4am-00043X-TM for ietf-http-wg@w3.org; Wed, 11 Jul 2012 21:37:06 +0000
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 27E7F27BD7; Wed, 11 Jul 2012 21:36:39 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 170C627BD5; Wed, 11 Jul 2012 21:36:39 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub2.dfw01.corp.akamai.com [172.27.33.76]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id E5BB847BDE; Wed, 11 Jul 2012 21:36:38 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub2.dfw01.corp.akamai.com ([172.27.33.76]) with mapi; Wed, 11 Jul 2012 15:36:38 -0600
From: "Ludin, Stephen" <sludin@akamai.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 11 Jul 2012 15:36:21 -0600
Thread-Topic: Content-Integrity header
Thread-Index: Ac1frUAYRgDBOAUmRLygDbu1W7UvkA==
Message-ID: <CC233E45.5AB37%sludin@akamai.com>
In-Reply-To: <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=72.246.2.14; envelope-from=sludin@akamai.com; helo=prod-mail-xrelay02.akamai.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sp4am-00043X-TM 5b214a71f5ed89e70ed5b0ced74d4974
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CC233E45.5AB37%25sludin@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14086
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 7/10/12 10:04 PM, "Yutaka OIWA" <y.oiwa@aist.go.jp> wrote:

>P.S.
>As a personal feeling, the value of integrity protection on
>this moment is more on protection against intentional content-forging
>attacks, rather than unintentional communication failure
>(except premature termination of streams).
>To this extent, re-requesting the broken chunk is personally out of
>my interest.  This may need discussion, because it may affect
>the design of inter-chunk chaining of integrity signatures.

This was where I started when I began looking into corruption issues in
downloaded objects.  What we discovered is that in a large enough sample
size, such as what we see at Akamai, random bit shifting that manages to
still get by the TCP chucksum happens regularly enough this feature is of
high interest.  I actually see this as relatively useless for content
forgery cases because, as mentioned elsewhere in this thread, the forger
would probably simply change the digest to match the forgery.  The
digesting feature in general is an act-of-nature (or act of bad hardware /
software) detection mechanism, and building in an efficient recover
mechanism seem to be a reasonable step.

-stephen


>
>2012/7/11 Ludin, Stephen <sludin@akamai.com>:
>> I really like the idea of placing the Digest in the chunk trailers.
>>Being
>> able to calculate these digests on the fly and not buffer the entire
>> message is critical in my opinion.
>>
>> Another concept that I have been playing with is providing digests on
>> individual chunks using chunk-extension.  The rational for this is for
>> very large objects.  With per-chunk digests the client would have the
>> ability to re-request a specific corrupted section of an object using a
>> range request rather than the entire object.  This can have enormous
>> perceived performance and reliability benefits for consumers of things
>> such as software download and large media files.
>>
>> I was working on a draft to propose this, but I didn't feel it was well
>> baked enough to share.  If there is interest in this type of
>>functionality
>> I will polish it up and post it.
>>
>> One issue to point is is that for these types of "frame" based integrity
>> checks I generally feel like we are reinventing the content integrity
>> portion of SSL/TLS.  Though I see the value in begin able to do this
>>apart
>> from SSL it forces the question at what point do you just switch over to
>> SSL to get the desired functionality?
>>
>> -stephen
>>
>>
>>
>> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>
>>>On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>>> +1
>>>>
>>>> I know that this is demanded.
>>>> When I discussion about http-authentication and phishing,
>>>> it is requested by many people.
>>>> It is a difficult problem.
>>>> ex) proxy...
>>>>
>>>> I think that it is good to do this discussion now.
>>>>
>>>> ---
>>>> Tatsuya
>>>>
>>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>>
>>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>>> through a bunch of unsupported header values looking for the one I
>>>>> want. Just as it makes very little sense for an implementor to
>>>>> provide
>>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>>> message; there should be only a single Content-Integrity statement
>>>>> and
>>>>> I either understand it or I don't.
>>>
>>>Either the client advertises what it supports (opening itself to
>>>middleware erasing options they can't modify). Or the server uses
>>>multiple algorithms in hopes that the middleware cannot violate them
>>>all.
>>>It makes perfect sense to have several levels of integrity check. MD5,
>>>SHA1, AES in one response and allow the client to validate the strongest
>>>it can handle.
>>>
>>>There is also an arguable case for middleware wanting to add its own
>>>hash to inform the client essentially "this is what I got given". So the
>>>point of manipulation can be back-traced when the more secure end-to-end
>>>checks fail.
>>>
>>>If you want end-to-end integrity, don't stop at half measures.
>>>Particularly at half measures which can be corrupted.
>>>
>>>
>>>>>
>>>>> 2. The performance impact of calculating the digest needs to be
>>>>> carefully considered. I'd rather not be required to buffer a full
>>>>> representation in memory all the time just to calculate a header
>>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>>> currently elusive solution that can be considered. For instance..
>>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>>> chunked response.
>>>
>>>As has been said Trailers happen here.
>>>
>>>>>
>>>>> 3. Something needs to be said about what happens if the
>>>>> Content-Integrity check fails. For instance, if a request containing
>>>>> Content-Integrity is sent to the server and the server detects that
>>>>> the signature is invalid, what should happen? what must happen?
>>>>> Likewise, how are intermediaries expected to treat the
>>>>> Content-Integrity header given that any intermediary is able to
>>>>> modify
>>>>> the payload at any time?
>>>
>>>This is going to be most useful on request/responses sent with
>>>"no-transform" of course.
>>>  If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>>easily there is no end-to-end integrity, just hop-by-hop integrity.
>>>
>>>
>>>Also, there has to be a mutual secret between origin server and client.
>>>Without that, when integrity is compromised the transforming hop will
>>>simply erase or replace the Content-Integrity header value. A secret key
>>>unknown to that middleware is required to make the integrity hash break
>>>when it tries this.
>>>
>>>AYJ
>>>
>>
>>
>
>
>
>--=20
>Yutaka OIWA, Ph.D.              Leader, Software Reliability Research
>Group
>                             Research Institute for Secure Systems (RISEC)
>   National Institute of Advanced Industrial Science and Technology (AIST)
>                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
>OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405
>46B5]



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 14:56:59 2012
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 8027411E80EA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 14:56:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.025
X-Spam-Level: 
X-Spam-Status: No, score=-7.025 tagged_above=-999 required=5 tests=[AWL=2.952, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 yXSrY2dMjhYp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 14:56:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C921811E80DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 14:56:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp4tX-00056X-KI for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 21:56:27 +0000
Resent-Date: Wed, 11 Jul 2012 21:56:27 +0000
Resent-Message-Id: <E1Sp4tX-00056X-KI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp4tQ-00055m-HA for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 21:56:20 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a73.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp4tP-0004di-90 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 21:56:20 +0000
Received: from homiemail-a73.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a73.g.dreamhost.com (Postfix) with ESMTP id 13B331F0087 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 14:55:58 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=x/a83sbLbeN5qgdiG0zHG mhTLMO1WwnxwSUuujhrsrbfmPb9cvPi3+7x97ERgH7UQIdzE32VYmREWWCIwKS4Z //58IlaEUcw1Z7pM4rIrWHD00y4kof/cRRf4jOAFEpLgxh30VCC7SQ+k9mPzWry4 KSQvsKUj+rOtMIAOA4khbw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=1wBsaqELegPrGf0EgFed jWf4V0w=; b=bcgVl7tk5ETSwhKcAYrxclpxxUyorl3hBO9hIYxZPGstb6lEecBh v6nt/sbFYkPIUafAWQbcYMtQCT20boF7FAKGBUsqqOGH/noaF4sxnOyoC0iXy4CO 3VV+hKlRz2HjqMVzltMS9wyzFEIHUQwgs8VVZ9lSsXfK5f/iBO8BJU8=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a73.g.dreamhost.com (Postfix) with ESMTPSA id C583D1F0086 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 14:55:57 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so2616594pbc.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 14:55:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.223.138 with SMTP id qu10mr82650132pbc.50.1342043757410; Wed, 11 Jul 2012 14:55:57 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Wed, 11 Jul 2012 14:55:57 -0700 (PDT)
In-Reply-To: <CC233E45.5AB37%sludin@akamai.com>
References: <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com> <CC233E45.5AB37%sludin@akamai.com>
Date: Wed, 11 Jul 2012 16:55:57 -0500
Message-ID: <CAK3OfOgf9CFzdEe6r82dD0r2YByaGzn3d1C08=Q7bvStXovfBg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: "Ludin, Stephen" <sludin@akamai.com>
Cc: Yutaka OIWA <y.oiwa@aist.go.jp>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.207; envelope-from=nico@cryptonector.com; helo=homiemail-a73.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Sp4tP-0004di-90 e01c92546bfa541efc728049714c7afc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAK3OfOgf9CFzdEe6r82dD0r2YByaGzn3d1C08=Q7bvStXovfBg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14087
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 Wed, Jul 11, 2012 at 4:36 PM, Ludin, Stephen <sludin@akamai.com> wrote:
> On 7/10/12 10:04 PM, "Yutaka OIWA" <y.oiwa@aist.go.jp> wrote:
>>To this extent, re-requesting the broken chunk is personally out of
>>my interest.  This may need discussion, because it may affect
>>the design of inter-chunk chaining of integrity signatures.
>
> This was where I started when I began looking into corruption issues in
> downloaded objects.  What we discovered is that in a large enough sample
> size, such as what we see at Akamai, random bit shifting that manages to
> still get by the TCP chucksum happens regularly enough this feature is of
> high interest.  I actually see this as relatively useless for content
> forgery cases because, as mentioned elsewhere in this thread, the forger
> would probably simply change the digest to match the forgery.  The
> digesting feature in general is an act-of-nature (or act of bad hardware /
> software) detection mechanism, and building in an efficient recover
> mechanism seem to be a reasonable step.

We had a bad NIC on a router or fileserver (can't remember which) at
Sun once that produced lots of errors, most of which were caught by
checksums, but occasionally there were two bits flipped at just the
right distance from each other that all checksums in the stack checked
out.  This ended up manifesting itself as a corrupted SCCS file.
Scary!

Nico
--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 15:00:40 2012
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 A453D11E80FB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 15:00:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 8TqKqJ-4zf9R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 15:00:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E3B911E80B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 15:00:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp4xM-0001AC-GD for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 22:00:24 +0000
Resent-Date: Wed, 11 Jul 2012 22:00:24 +0000
Resent-Message-Id: <E1Sp4xM-0001AC-GD@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 1Sp4xE-0000hi-6P for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 22:00:16 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Sp4x8-0004kw-J3 for ietf-http-wg@w3.org; Wed, 11 Jul 2012 22:00:16 +0000
Received: by vbbfq11 with SMTP id fq11so1225541vbb.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 14:59: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=urfQ55HE46orUOO8w1l1uFTYxil75HS+femqVaWjvWI=; b=ngtPK8QD5RRDPR2uC6oKUQjWQYQ7SvXynvoy73ObRO73sGHeQWKN1AaqiK9t0VWbKs qWckDgIlirpVciirzsHHE0M8Wj2nTYwcovoL5OTT2s/4zV4AdDB9JC0/UIIN2UX98AX3 LE0OXDXn4eSMBHqZ4TymFV6SNTzwiv0Ak5sz1yikYAAkF8KuVOw3riyDL5IIceV7b2Db alGqJl0XJY7BB54slYuq85pPEX32YXbnzYBKU4CDy5e8CW58WLxEKqGVPzTIQzInUF9M 8NHbqheT2d/YLsZIuo/tqc41QWAOllJVqi+mCYqZqCK2Bz20mj5WJG+C3dM/TxCUNsx6 1Oww==
MIME-Version: 1.0
Received: by 10.221.1.82 with SMTP id np18mr24193974vcb.22.1342043984296; Wed, 11 Jul 2012 14:59:44 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 11 Jul 2012 14:59:44 -0700 (PDT)
In-Reply-To: <CC233A53.5AB14%sludin@akamai.com>
References: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com> <CC233A53.5AB14%sludin@akamai.com>
Date: Wed, 11 Jul 2012 16:59:44 -0500
Message-ID: <CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Ludin, Stephen" <sludin@akamai.com>
Cc: Wenbo Zhu <wenboz@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sp4x8-0004kw-J3 ac7132320a8986e9102724a833ca6a82
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14088
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>

Transfer-Encoding and Content-Encoding overlap in functionality. For
example, gzip can be done in either way. But in reality, gzip is only
implemented with Content-Encoding, for whatever reason. It might be
safer to introduce a new content-coding than a new transfer-coding.

On Wed, Jul 11, 2012 at 4:27 PM, Ludin, Stephen <sludin@akamai.com> wrote:
> On the "Expression of Interest" side, I would be very interested in
> functionality that allows flexible piece-wise integrity checking that
> enables the user-agent to detect an issue and re-request a specific part
> on an object in question.  If forced into 1.1 land, Chunk trailers seem
> like a logical place to implement this.  As suggested below however, a
> separate transfer-encoding entirely may be a better way yo go. I'll need
> to tool on that a bit.
>
> Akamai will certainly support something like this.  To Mark's point about
> intermediaries potentially removing the trailers, I think that is and
> always will be true for anything under the 'Transfer-Encoding' umbrella.
> This is what differentiates this feature from the Content-MD5 header.  It
> does not take away from the functionality necessarily.  I expect that wit=
h
> a feature like this smart surrogates may even ADD the trailers on behalf
> of an origin to provide middle/last mile integrity.  Many ways to use thi=
s
> one.
>
> -stephen
>
> On 7/11/12 11:30 AM, "Zhong Yu" <zhong.j.yu@gmail.com> wrote:
>
>>If the value of a trailer is a function of the message body, and the
>>function is app specific, it's a little hard for filters (who
>>intercept and transform responses) to correctly transform the value of
>>the trailer.
>>
>>
>>On Wed, Jul 11, 2012 at 3:01 AM, Wenbo Zhu <wenboz@google.com> wrote:
>>>
>>>
>>> On Tue, Jul 10, 2012 at 7:50 PM, James M Snell <jasnell@gmail.com>
>>>wrote:
>>>>
>>>> Yeah, this has been my experience as well. Unfortunately, I'm not sure
>>>> if this is something that can be effectively fixed. Off the top of my
>>>> head, I don't know of a single server or client side http stack that
>>>> is capable of easily setting Trailers in the stream. I just checked
>>>> and support for trailers is still missing in the Servlet API, for
>>>> instance.
>>>
>>> There is no new API required, necessarily, to support trailers:
>>> 1. app code needs set the header Trailer: <header_name> before the
>>>response
>>> is committed;
>>> 2. container will ignore the header  <header_name> when the response is
>>> committed;
>>> 3. container will output the trailer when the response is finished.
>>>
>>> The request header "TE: trailers" may or may not be respected.
>>>
>>>
>>>>
>>>> I know this kind of thing is generally frowned upon, but one possible
>>>> approach is to make use of a special content-type... for instance...
>>>>
>>>>   HTTP/1.1 200 OK
>>>>   Trailer: Content-Integrity
>>>>   Content-Type: application/http-trailers; type=3D"text/plain"
>>>>
>>>>   foobar
>>>>
>>>>   Content-Integrity:
>>>>
>>>>sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019=
f
>>>>
>>>> This is just a strawman, but essentially, it would append a checksum
>>>> to the end of the content stream. It's not a trailer in the
>>>> traditional sense, it's actually encoded as part of the payload. In
>>>> lieu of proper Trailer support this is the only other way I can see it
>>>> working effectively in HTTP/1.1.
>>>>
>>>> For HTTP/2.0, I suppose it would be possible for us to take a more
>>>> appropriate approach either with trailers or by building the integrity
>>>> mechanism into the framing somehow.
>>>>
>>>> (Warning: thinking out loud *before* having consumed any beer... the
>>>> ideas expressed above may not make any sense. May need to apply
>>>> alcohol and try again)
>>>>
>>>> - James
>>>>
>>>> On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote=
:
>>>> > chunk-extensions aren't widely supported in APIs, and usually droppe=
d
>>>> > hop-by-hop (then again, trailers can be too).
>>>> >
>>>> > Some discussion of trailer support in Apache:
>>>> >
>>>> >
>>>>http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242.h=
t
>>>>ml
>>>> >
>>>> > =C5=A0 and using Trailers to surface debug information in Firebug:
>>>> >
>>>>https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVThH8
>>>> >
>>>> > (yes, this is a bit of a project for me)
>>>> >
>>>> > Finally, I know some server-side implementers would would LOVE to be
>>>> > able to set things like ETag and Last-Modified in trailers, and have
>>>>them
>>>> > used by caches...
>>>> >
>>>> > Cheers,
>>>> >
>>>> >
>>>> > On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
>>>> >
>>>> >> I really like the idea of placing the Digest in the chunk trailers.
>>>> >> Being
>>>> >> able to calculate these digests on the fly and not buffer the entir=
e
>>>> >> message is critical in my opinion.
>>>> >>
>>>> >> Another concept that I have been playing with is providing digests
>>>>on
>>>> >> individual chunks using chunk-extension.  The rational for this is
>>>>for
>>>> >> very large objects.  With per-chunk digests the client would have
>>>>the
>>>> >> ability to re-request a specific corrupted section of an object
>>>>using a
>>>> >> range request rather than the entire object.  This can have enormou=
s
>>>> >> perceived performance and reliability benefits for consumers of
>>>>things
>>>> >> such as software download and large media files.
>>>> >>
>>>> >> I was working on a draft to propose this, but I didn't feel it was
>>>>well
>>>> >> baked enough to share.  If there is interest in this type of
>>>> >> functionality
>>>> >> I will polish it up and post it.
>>>> >>
>>>> >> One issue to point is is that for these types of "frame" based
>>>> >> integrity
>>>> >> checks I generally feel like we are reinventing the content
>>>>integrity
>>>> >> portion of SSL/TLS.  Though I see the value in begin able to do thi=
s
>>>> >> apart
>>>> >> from SSL it forces the question at what point do you just switch
>>>>over
>>>> >> to
>>>> >> SSL to get the desired functionality?
>>>> >>
>>>> >> -stephen
>>>> >>
>>>> >>
>>>> >>
>>>> >> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>>> >>
>>>> >>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>>> >>>> +1
>>>> >>>>
>>>> >>>> I know that this is demanded.
>>>> >>>> When I discussion about http-authentication and phishing,
>>>> >>>> it is requested by many people.
>>>> >>>> It is a difficult problem.
>>>> >>>> ex) proxy...
>>>> >>>>
>>>> >>>> I think that it is good to do this discussion now.
>>>> >>>>
>>>> >>>> ---
>>>> >>>> Tatsuya
>>>> >>>>
>>>> >>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>> >>>>> In general, I'm +1 on the general idea albeit with a few
>>>>caveats...
>>>> >>>>>
>>>> >>>>> 1. To minimize complexity, only a single Content-Integrity heade=
r
>>>> >>>>> should be used. I don't want, as Roy points out, to have to
>>>>iterated
>>>> >>>>> through a bunch of unsupported header values looking for the one
>>>>I
>>>> >>>>> want. Just as it makes very little sense for an implementor to
>>>> >>>>> provide
>>>> >>>>> multiple Last-Modified, Etag and Content-Type headers in a singl=
e
>>>> >>>>> message; there should be only a single Content-Integrity
>>>>statement
>>>> >>>>> and
>>>> >>>>> I either understand it or I don't.
>>>> >>>
>>>> >>> Either the client advertises what it supports (opening itself to
>>>> >>> middleware erasing options they can't modify). Or the server uses
>>>> >>> multiple algorithms in hopes that the middleware cannot violate
>>>>them
>>>> >>> all.
>>>> >>> It makes perfect sense to have several levels of integrity check.
>>>>MD5,
>>>> >>> SHA1, AES in one response and allow the client to validate the
>>>> >>> strongest
>>>> >>> it can handle.
>>>> >>>
>>>> >>> There is also an arguable case for middleware wanting to add its
>>>>own
>>>> >>> hash to inform the client essentially "this is what I got given".
>>>>So
>>>> >>> the
>>>> >>> point of manipulation can be back-traced when the more secure
>>>> >>> end-to-end
>>>> >>> checks fail.
>>>> >>>
>>>> >>> If you want end-to-end integrity, don't stop at half measures.
>>>> >>> Particularly at half measures which can be corrupted.
>>>> >>>
>>>> >>>
>>>> >>>>>
>>>> >>>>> 2. The performance impact of calculating the digest needs to be
>>>> >>>>> carefully considered. I'd rather not be required to buffer a ful=
l
>>>> >>>>> representation in memory all the time just to calculate a header
>>>> >>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>> >>>>> currently elusive solution that can be considered. For instance.=
.
>>>> >>>>> allowing Content-Integrity to appear as a trailer at the end of =
a
>>>> >>>>> chunked response.
>>>> >>>
>>>> >>> As has been said Trailers happen here.
>>>> >>>
>>>> >>>>>
>>>> >>>>> 3. Something needs to be said about what happens if the
>>>> >>>>> Content-Integrity check fails. For instance, if a request
>>>>containing
>>>> >>>>> Content-Integrity is sent to the server and the server detects
>>>>that
>>>> >>>>> the signature is invalid, what should happen? what must happen?
>>>> >>>>> Likewise, how are intermediaries expected to treat the
>>>> >>>>> Content-Integrity header given that any intermediary is able to
>>>> >>>>> modify
>>>> >>>>> the payload at any time?
>>>> >>>
>>>> >>> This is going to be most useful on request/responses sent with
>>>> >>> "no-transform" of course.
>>>> >>> If the integrity was only a MD5 or SHA1 hash which middleware can
>>>>edit
>>>> >>> easily there is no end-to-end integrity, just hop-by-hop integrity=
.
>>>> >>>
>>>> >>>
>>>> >>> Also, there has to be a mutual secret between origin server and
>>>> >>> client.
>>>> >>> Without that, when integrity is compromised the transforming hop
>>>>will
>>>> >>> simply erase or replace the Content-Integrity header value. A
>>>>secret
>>>> >>> key
>>>> >>> unknown to that middleware is required to make the integrity hash
>>>> >>> break
>>>> >>> when it tries this.
>>>> >>>
>>>> >>> AYJ
>>>> >>>
>>>> >>
>>>> >>
>>>> >
>>>> > --
>>>> > Mark Nottingham
>>>> > http://www.mnot.net/
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>>
>>>
>>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 15:36:13 2012
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 7947C21F8557 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 15:36:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.832
X-Spam-Level: 
X-Spam-Status: No, score=-7.832 tagged_above=-999 required=5 tests=[AWL=2.767, BAYES_00=-2.599, 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 COD6BvbWHJTY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 15:36:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 600D021F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 15:36:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp5VU-0007mi-VA for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 22:35:40 +0000
Resent-Date: Wed, 11 Jul 2012 22:35:40 +0000
Resent-Message-Id: <E1Sp5VU-0007mi-VA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp5VK-0007kI-HU for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 22:35:30 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp5VI-00065E-VS for ietf-http-wg@w3.org; Wed, 11 Jul 2012 22:35:30 +0000
Received: by obqv19 with SMTP id v19so2427530obq.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 15:35:02 -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=SPao/RLIAPxBUvaPqJ1xu8z2EQnA8w5MLSyILygUgCE=; b=EgUdvqdwmGYPiwvoyPqVMAMiS2VB6ea2Yg/QqmtHijkqLWdXOlrYd1KYKLk4nn2gAE EUu0MQphxElukd/SMe7BGFQ1Plk4kulu0CzH+vSBNKi5r2x79kw6ObM3+fXfjtI5RZmA bFyodVyhEwFRFOhW0u472R0XEUfSsCIO4viAz0ipnk+yHwQ4OaMXsaLMWpKcw+o+7dZh c0JmBuOfAQhx0sQHDByQfbX+87GJjT+D0eRFFyIl6qVQwmfglikPKjr72eOboIT1wWN8 kFiXuBqaEreJzXMIJ7zAVFUpH6CMmPqh2JLxP26PvdvLP4JsK3vcteQfXE74tXgikmz6 pohg==
MIME-Version: 1.0
Received: by 10.182.145.8 with SMTP id sq8mr46857541obb.50.1342046102680; Wed, 11 Jul 2012 15:35:02 -0700 (PDT)
Received: by 10.76.120.110 with HTTP; Wed, 11 Jul 2012 15:35:02 -0700 (PDT)
In-Reply-To: <CC233E45.5AB37%sludin@akamai.com>
References: <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com> <CC233E45.5AB37%sludin@akamai.com>
Date: Wed, 11 Jul 2012 18:35:02 -0400
Message-ID: <CAMm+Lwim61Z_5XwPv3VeJTO1dJ1ON-VbPdtgh3WWyQt5G64Aug@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "Ludin, Stephen" <sludin@akamai.com>
Cc: Yutaka OIWA <y.oiwa@aist.go.jp>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sp5VI-00065E-VS 0ee9d3837f3361e2170d49a298eda350
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAMm+Lwim61Z_5XwPv3VeJTO1dJ1ON-VbPdtgh3WWyQt5G64Aug@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14089
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>

A message digest should be more than sufficient for detecting
non-malicious modification. But it turns out that we already have a
header for that.

Still, it makes good sense to look at both together as I don't think
the Integrity header has had as much play as it deserves and adding in
a MAC capability (separate or same header) will stir up much of the
same muck.



On Wed, Jul 11, 2012 at 5:36 PM, Ludin, Stephen <sludin@akamai.com> wrote:
>
>
> On 7/10/12 10:04 PM, "Yutaka OIWA" <y.oiwa@aist.go.jp> wrote:
>
>>P.S.
>>As a personal feeling, the value of integrity protection on
>>this moment is more on protection against intentional content-forging
>>attacks, rather than unintentional communication failure
>>(except premature termination of streams).
>>To this extent, re-requesting the broken chunk is personally out of
>>my interest.  This may need discussion, because it may affect
>>the design of inter-chunk chaining of integrity signatures.
>
> This was where I started when I began looking into corruption issues in
> downloaded objects.  What we discovered is that in a large enough sample
> size, such as what we see at Akamai, random bit shifting that manages to
> still get by the TCP chucksum happens regularly enough this feature is of
> high interest.  I actually see this as relatively useless for content
> forgery cases because, as mentioned elsewhere in this thread, the forger
> would probably simply change the digest to match the forgery.  The
> digesting feature in general is an act-of-nature (or act of bad hardware /
> software) detection mechanism, and building in an efficient recover
> mechanism seem to be a reasonable step.
>
> -stephen
>
>
>>
>>2012/7/11 Ludin, Stephen <sludin@akamai.com>:
>>> I really like the idea of placing the Digest in the chunk trailers.
>>>Being
>>> able to calculate these digests on the fly and not buffer the entire
>>> message is critical in my opinion.
>>>
>>> Another concept that I have been playing with is providing digests on
>>> individual chunks using chunk-extension.  The rational for this is for
>>> very large objects.  With per-chunk digests the client would have the
>>> ability to re-request a specific corrupted section of an object using a
>>> range request rather than the entire object.  This can have enormous
>>> perceived performance and reliability benefits for consumers of things
>>> such as software download and large media files.
>>>
>>> I was working on a draft to propose this, but I didn't feel it was well
>>> baked enough to share.  If there is interest in this type of
>>>functionality
>>> I will polish it up and post it.
>>>
>>> One issue to point is is that for these types of "frame" based integrity
>>> checks I generally feel like we are reinventing the content integrity
>>> portion of SSL/TLS.  Though I see the value in begin able to do this
>>>apart
>>> from SSL it forces the question at what point do you just switch over to
>>> SSL to get the desired functionality?
>>>
>>> -stephen
>>>
>>>
>>>
>>> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>>
>>>>On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>>>> +1
>>>>>
>>>>> I know that this is demanded.
>>>>> When I discussion about http-authentication and phishing,
>>>>> it is requested by many people.
>>>>> It is a difficult problem.
>>>>> ex) proxy...
>>>>>
>>>>> I think that it is good to do this discussion now.
>>>>>
>>>>> ---
>>>>> Tatsuya
>>>>>
>>>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>>>>> In general, I'm +1 on the general idea albeit with a few caveats...
>>>>>>
>>>>>> 1. To minimize complexity, only a single Content-Integrity header
>>>>>> should be used. I don't want, as Roy points out, to have to iterated
>>>>>> through a bunch of unsupported header values looking for the one I
>>>>>> want. Just as it makes very little sense for an implementor to
>>>>>> provide
>>>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>>>>> message; there should be only a single Content-Integrity statement
>>>>>> and
>>>>>> I either understand it or I don't.
>>>>
>>>>Either the client advertises what it supports (opening itself to
>>>>middleware erasing options they can't modify). Or the server uses
>>>>multiple algorithms in hopes that the middleware cannot violate them
>>>>all.
>>>>It makes perfect sense to have several levels of integrity check. MD5,
>>>>SHA1, AES in one response and allow the client to validate the strongest
>>>>it can handle.
>>>>
>>>>There is also an arguable case for middleware wanting to add its own
>>>>hash to inform the client essentially "this is what I got given". So the
>>>>point of manipulation can be back-traced when the more secure end-to-end
>>>>checks fail.
>>>>
>>>>If you want end-to-end integrity, don't stop at half measures.
>>>>Particularly at half measures which can be corrupted.
>>>>
>>>>
>>>>>>
>>>>>> 2. The performance impact of calculating the digest needs to be
>>>>>> carefully considered. I'd rather not be required to buffer a full
>>>>>> representation in memory all the time just to calculate a header
>>>>>> value. I know it's largely unavoidable, but perhaps there's some
>>>>>> currently elusive solution that can be considered. For instance..
>>>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>>>>> chunked response.
>>>>
>>>>As has been said Trailers happen here.
>>>>
>>>>>>
>>>>>> 3. Something needs to be said about what happens if the
>>>>>> Content-Integrity check fails. For instance, if a request containing
>>>>>> Content-Integrity is sent to the server and the server detects that
>>>>>> the signature is invalid, what should happen? what must happen?
>>>>>> Likewise, how are intermediaries expected to treat the
>>>>>> Content-Integrity header given that any intermediary is able to
>>>>>> modify
>>>>>> the payload at any time?
>>>>
>>>>This is going to be most useful on request/responses sent with
>>>>"no-transform" of course.
>>>>  If the integrity was only a MD5 or SHA1 hash which middleware can edit
>>>>easily there is no end-to-end integrity, just hop-by-hop integrity.
>>>>
>>>>
>>>>Also, there has to be a mutual secret between origin server and client.
>>>>Without that, when integrity is compromised the transforming hop will
>>>>simply erase or replace the Content-Integrity header value. A secret key
>>>>unknown to that middleware is required to make the integrity hash break
>>>>when it tries this.
>>>>
>>>>AYJ
>>>>
>>>
>>>
>>
>>
>>
>>--
>>Yutaka OIWA, Ph.D.              Leader, Software Reliability Research
>>Group
>>                             Research Institute for Secure Systems (RISEC)
>>   National Institute of Advanced Industrial Science and Technology (AIST)
>>                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
>>OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405
>>46B5]
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 15:38:54 2012
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 38A9811E812C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 15:38:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.916
X-Spam-Level: 
X-Spam-Status: No, score=-7.916 tagged_above=-999 required=5 tests=[AWL=2.683, BAYES_00=-2.599, 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 ONPdBc9Y8bEH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 15:38:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F1A911E80FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 15:38:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp5YZ-00089h-Tq for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 22:38:51 +0000
Resent-Date: Wed, 11 Jul 2012 22:38:51 +0000
Resent-Message-Id: <E1Sp5YZ-00089h-Tq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp5YR-00088w-M5 for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 22:38:43 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp5YQ-00069h-6P for ietf-http-wg@w3.org; Wed, 11 Jul 2012 22:38:43 +0000
Received: by obqv19 with SMTP id v19so2431451obq.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 15:38:16 -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=GiO+po9ODh4UyR3lXE8kQHebCArsMZqWqeX8f7FbY3k=; b=W5r4HWCbEhhC4EbZLAnhaWHsBu4qbC0sT8tmEzIAWaN8eaxLdoUQmyZ1nq3XjIfhOy DpGcq1NjwpSwI4OVUO7fqgqqxZcbXFcBNQo5XrnYIUD1hk9A8oYtH4Tnga4xuC78lze5 IIDFCOMKcbu3LcJDkrS2/v8UrGGUbFqdWqWwhaG1erxmu/LBnhCFOh9O8O7vIC0GJCbi Djc9iKMtWUaDQOAx5b2i2y0ON62QFlii+yB5IG344pto/08I1s7aLXhMcRr0RTNDGHWb 8AZ+69oQ7kux3fQS41dNSxTc8AUO9ZcdsJuc0cG4roz55vjXk0Yb3JqLwFvbdKBdMAj+ QqKw==
MIME-Version: 1.0
Received: by 10.60.30.35 with SMTP id p3mr50608323oeh.16.1342046295839; Wed, 11 Jul 2012 15:38:15 -0700 (PDT)
Received: by 10.76.120.110 with HTTP; Wed, 11 Jul 2012 15:38:15 -0700 (PDT)
In-Reply-To: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com>
References: <CC21C046.5A7F4%sludin@akamai.com> <02DA460A-7330-41FB-8174-57FE16683487@mnot.net> <CABP7RbcFiKyLdcZB_4LvsXGa7S5eymzH5mA2JxipimPTG-bC0A@mail.gmail.com> <CAD3-0rMBA-gEkY+tauLRVQ+=U1Sxd7pSM_MTU3eFLyYokrfXdw@mail.gmail.com> <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com>
Date: Wed, 11 Jul 2012 18:38:15 -0400
Message-ID: <CAMm+Lwg57wyLg3_UFBVcUrL2TrqkF7_5frV2J7ocwSL-zOW61w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Wenbo Zhu <wenboz@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Sp5YQ-00069h-6P 10777a01bf4ef6591fe9d76b5a999346
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CAMm+Lwg57wyLg3_UFBVcUrL2TrqkF7_5frV2J7ocwSL-zOW61w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14090
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 Wed, Jul 11, 2012 at 2:30 PM, Zhong Yu <zhong.j.yu@gmail.com> wrote:
> If the value of a trailer is a function of the message body, and the
> function is app specific, it's a little hard for filters (who
> intercept and transform responses) to correctly transform the value of
> the trailer.

The objective of using a MAC is to detect such modification so that
the messages can be rejected.

It isn't something I would see a lot of use for in Web browsing but
there is a huge need for the capability in Web Services where people
seem to keep inventing additional packaging layers just to fit the
security data in.

For example, take a look at JSON signature where we are being asked to
BASE64 encode stuff that could and should be binary.


> On Wed, Jul 11, 2012 at 3:01 AM, Wenbo Zhu <wenboz@google.com> wrote:
>>
>>
>> On Tue, Jul 10, 2012 at 7:50 PM, James M Snell <jasnell@gmail.com> wrote=
:
>>>
>>> Yeah, this has been my experience as well. Unfortunately, I'm not sure
>>> if this is something that can be effectively fixed. Off the top of my
>>> head, I don't know of a single server or client side http stack that
>>> is capable of easily setting Trailers in the stream. I just checked
>>> and support for trailers is still missing in the Servlet API, for
>>> instance.
>>
>> There is no new API required, necessarily, to support trailers:
>> 1. app code needs set the header Trailer: <header_name> before the respo=
nse
>> is committed;
>> 2. container will ignore the header  <header_name> when the response is
>> committed;
>> 3. container will output the trailer when the response is finished.
>>
>> The request header "TE: trailers" may or may not be respected.
>>
>>
>>>
>>> I know this kind of thing is generally frowned upon, but one possible
>>> approach is to make use of a special content-type... for instance...
>>>
>>>   HTTP/1.1 200 OK
>>>   Trailer: Content-Integrity
>>>   Content-Type: application/http-trailers; type=3D"text/plain"
>>>
>>>   foobar
>>>
>>>   Content-Integrity:
>>> sha-256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019=
f
>>>
>>> This is just a strawman, but essentially, it would append a checksum
>>> to the end of the content stream. It's not a trailer in the
>>> traditional sense, it's actually encoded as part of the payload. In
>>> lieu of proper Trailer support this is the only other way I can see it
>>> working effectively in HTTP/1.1.
>>>
>>> For HTTP/2.0, I suppose it would be possible for us to take a more
>>> appropriate approach either with trailers or by building the integrity
>>> mechanism into the framing somehow.
>>>
>>> (Warning: thinking out loud *before* having consumed any beer... the
>>> ideas expressed above may not make any sense. May need to apply
>>> alcohol and try again)
>>>
>>> - James
>>>
>>> On Tue, Jul 10, 2012 at 4:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>> > chunk-extensions aren't widely supported in APIs, and usually dropped
>>> > hop-by-hop (then again, trailers can be too).
>>> >
>>> > Some discussion of trailer support in Apache:
>>> >
>>> > http://apache-http-server.18135.n6.nabble.com/HTTP-trailers-td4796242=
.html
>>> >
>>> > =85 and using Trailers to surface debug information in Firebug:
>>> >   https://groups.google.com/forum/?fromgroups#!topic/firebug/v5ldjoVT=
hH8
>>> >
>>> > (yes, this is a bit of a project for me)
>>> >
>>> > Finally, I know some server-side implementers would would LOVE to be
>>> > able to set things like ETag and Last-Modified in trailers, and have =
them
>>> > used by caches...
>>> >
>>> > Cheers,
>>> >
>>> >
>>> > On 11/07/2012, at 4:33 AM, Ludin, Stephen wrote:
>>> >
>>> >> I really like the idea of placing the Digest in the chunk trailers.
>>> >> Being
>>> >> able to calculate these digests on the fly and not buffer the entire
>>> >> message is critical in my opinion.
>>> >>
>>> >> Another concept that I have been playing with is providing digests o=
n
>>> >> individual chunks using chunk-extension.  The rational for this is f=
or
>>> >> very large objects.  With per-chunk digests the client would have th=
e
>>> >> ability to re-request a specific corrupted section of an object usin=
g a
>>> >> range request rather than the entire object.  This can have enormous
>>> >> perceived performance and reliability benefits for consumers of thin=
gs
>>> >> such as software download and large media files.
>>> >>
>>> >> I was working on a draft to propose this, but I didn't feel it was w=
ell
>>> >> baked enough to share.  If there is interest in this type of
>>> >> functionality
>>> >> I will polish it up and post it.
>>> >>
>>> >> One issue to point is is that for these types of "frame" based
>>> >> integrity
>>> >> checks I generally feel like we are reinventing the content integrit=
y
>>> >> portion of SSL/TLS.  Though I see the value in begin able to do this
>>> >> apart
>>> >> from SSL it forces the question at what point do you just switch ove=
r
>>> >> to
>>> >> SSL to get the desired functionality?
>>> >>
>>> >> -stephen
>>> >>
>>> >>
>>> >>
>>> >> On 7/9/12 4:00 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>> >>
>>> >>> On 10.07.2012 07:08, HAYASHI, Tatsuya wrote:
>>> >>>> +1
>>> >>>>
>>> >>>> I know that this is demanded.
>>> >>>> When I discussion about http-authentication and phishing,
>>> >>>> it is requested by many people.
>>> >>>> It is a difficult problem.
>>> >>>> ex) proxy...
>>> >>>>
>>> >>>> I think that it is good to do this discussion now.
>>> >>>>
>>> >>>> ---
>>> >>>> Tatsuya
>>> >>>>
>>> >>>> On Sat, Jul 7, 2012 at 8:23 AM, James M Snell wrote:
>>> >>>>> In general, I'm +1 on the general idea albeit with a few caveats.=
..
>>> >>>>>
>>> >>>>> 1. To minimize complexity, only a single Content-Integrity header
>>> >>>>> should be used. I don't want, as Roy points out, to have to itera=
ted
>>> >>>>> through a bunch of unsupported header values looking for the one =
I
>>> >>>>> want. Just as it makes very little sense for an implementor to
>>> >>>>> provide
>>> >>>>> multiple Last-Modified, Etag and Content-Type headers in a single
>>> >>>>> message; there should be only a single Content-Integrity statemen=
t
>>> >>>>> and
>>> >>>>> I either understand it or I don't.
>>> >>>
>>> >>> Either the client advertises what it supports (opening itself to
>>> >>> middleware erasing options they can't modify). Or the server uses
>>> >>> multiple algorithms in hopes that the middleware cannot violate the=
m
>>> >>> all.
>>> >>> It makes perfect sense to have several levels of integrity check. M=
D5,
>>> >>> SHA1, AES in one response and allow the client to validate the
>>> >>> strongest
>>> >>> it can handle.
>>> >>>
>>> >>> There is also an arguable case for middleware wanting to add its ow=
n
>>> >>> hash to inform the client essentially "this is what I got given". S=
o
>>> >>> the
>>> >>> point of manipulation can be back-traced when the more secure
>>> >>> end-to-end
>>> >>> checks fail.
>>> >>>
>>> >>> If you want end-to-end integrity, don't stop at half measures.
>>> >>> Particularly at half measures which can be corrupted.
>>> >>>
>>> >>>
>>> >>>>>
>>> >>>>> 2. The performance impact of calculating the digest needs to be
>>> >>>>> carefully considered. I'd rather not be required to buffer a full
>>> >>>>> representation in memory all the time just to calculate a header
>>> >>>>> value. I know it's largely unavoidable, but perhaps there's some
>>> >>>>> currently elusive solution that can be considered. For instance..
>>> >>>>> allowing Content-Integrity to appear as a trailer at the end of a
>>> >>>>> chunked response.
>>> >>>
>>> >>> As has been said Trailers happen here.
>>> >>>
>>> >>>>>
>>> >>>>> 3. Something needs to be said about what happens if the
>>> >>>>> Content-Integrity check fails. For instance, if a request contain=
ing
>>> >>>>> Content-Integrity is sent to the server and the server detects th=
at
>>> >>>>> the signature is invalid, what should happen? what must happen?
>>> >>>>> Likewise, how are intermediaries expected to treat the
>>> >>>>> Content-Integrity header given that any intermediary is able to
>>> >>>>> modify
>>> >>>>> the payload at any time?
>>> >>>
>>> >>> This is going to be most useful on request/responses sent with
>>> >>> "no-transform" of course.
>>> >>> If the integrity was only a MD5 or SHA1 hash which middleware can e=
dit
>>> >>> easily there is no end-to-end integrity, just hop-by-hop integrity.
>>> >>>
>>> >>>
>>> >>> Also, there has to be a mutual secret between origin server and
>>> >>> client.
>>> >>> Without that, when integrity is compromised the transforming hop wi=
ll
>>> >>> simply erase or replace the Content-Integrity header value. A secre=
t
>>> >>> key
>>> >>> unknown to that middleware is required to make the integrity hash
>>> >>> break
>>> >>> when it tries this.
>>> >>>
>>> >>> AYJ
>>> >>>
>>> >>
>>> >>
>>> >
>>> > --
>>> > Mark Nottingham
>>> > http://www.mnot.net/
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 16:02:37 2012
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 9358411E815F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:02:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.06
X-Spam-Level: 
X-Spam-Status: No, score=-7.06 tagged_above=-999 required=5 tests=[AWL=2.917, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 VPQceZfnEObr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:02:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C944811E814A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 16:02: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 1Sp5vB-0002pA-2N for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 23:02:13 +0000
Resent-Date: Wed, 11 Jul 2012 23:02:13 +0000
Resent-Message-Id: <E1Sp5vB-0002pA-2N@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp5v3-0002oP-Ov for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 23:02:05 +0000
Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a86.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp5v2-0006uX-NC for ietf-http-wg@w3.org; Wed, 11 Jul 2012 23:02:05 +0000
Received: from homiemail-a86.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a86.g.dreamhost.com (Postfix) with ESMTP id 93719360072 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:01:43 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=XOX/APq2wn8w+bt+P58us sbNcq3XsZEJv5mff9mX0GBzH5OBlaWErXZnnlikNDrjIycRQ3Edvx4yp2S0pnx0M E8FHNsdZAd2QPFCPGWNH0kGsTwN2ff9tIh26B+DaNIbrXa6fO/BYHjsz6NOlq3h2 5wwM6RgI/RfyhJoSuNtUTY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Wn7tvpGskMk2t8l1KqLo yVlPMRk=; b=BKuNgW7rDJiQGzvECZIE6mt4SLZDqL7zl+zl/Y2q0ywLLLDtDqT2 lixLhM1MuCptmxsgorlnSeguOBkKCZRVmZpbw5C4HVkAAbinsvZOq8wVhfHw+oNU 5z9ALy5iItqmNBZUsFz5wEmCoPr1YPwp4CcgLAVQRdD0aF0ttgt6Guk=
Received: from mail-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a86.g.dreamhost.com (Postfix) with ESMTPSA id 5A93036006F for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:01:43 -0700 (PDT)
Received: by ghy10 with SMTP id 10so1850869ghy.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:01:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.75.225 with SMTP id f1mr83744229paw.35.1342047702317; Wed, 11 Jul 2012 16:01:42 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Wed, 11 Jul 2012 16:01:42 -0700 (PDT)
In-Reply-To: <CAMm+Lwim61Z_5XwPv3VeJTO1dJ1ON-VbPdtgh3WWyQt5G64Aug@mail.gmail.com>
References: <CAMeZVwt6PoZSaWT-4PmZ8cSO7JzuetfzW7BgiCOp4jE=xsMvwA@mail.gmail.com> <CC233E45.5AB37%sludin@akamai.com> <CAMm+Lwim61Z_5XwPv3VeJTO1dJ1ON-VbPdtgh3WWyQt5G64Aug@mail.gmail.com>
Date: Wed, 11 Jul 2012 18:01:42 -0500
Message-ID: <CAK3OfOgSZDDQJVJt9SFu-0ogDGQUFSBxtwNKmEe2fU-5-onJHw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "Ludin, Stephen" <sludin@akamai.com>, Yutaka OIWA <y.oiwa@aist.go.jp>,  Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.145; envelope-from=nico@cryptonector.com; helo=homiemail-a86.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Sp5v2-0006uX-NC 524a9c9ace001f97c03c8b2c38e42eb8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content-Integrity header
Archived-At: <http://www.w3.org/mid/CAK3OfOgSZDDQJVJt9SFu-0ogDGQUFSBxtwNKmEe2fU-5-onJHw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14091
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 Wed, Jul 11, 2012 at 5:35 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> A message digest should be more than sufficient for detecting
> non-malicious modification. But it turns out that we already have a
> header for that.
>
> Still, it makes good sense to look at both together as I don't think
> the Integrity header has had as much play as it deserves and adding in
> a MAC capability (separate or same header) will stir up much of the
> same muck.

+1

(If all we want is detection of non-malicious modification then the
old MD5 digest header will do, really :)  Except that that only covers
the content, not any of the headers -- is that OK?)


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 16:08:18 2012
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 EAD4921F844A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:08:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.995
X-Spam-Level: 
X-Spam-Status: No, score=-7.995 tagged_above=-999 required=5 tests=[AWL=2.604, BAYES_00=-2.599, 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 3pERj7NJjqLk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:08:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CEC4E21F841B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 16:08:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp611-0004Rd-Un for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 23:08:16 +0000
Resent-Date: Wed, 11 Jul 2012 23:08:15 +0000
Resent-Message-Id: <E1Sp611-0004Rd-Un@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp60u-0004QA-IF for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 23:08:08 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp60t-0007MO-1L for ietf-http-wg@w3.org; Wed, 11 Jul 2012 23:08:08 +0000
Received: by obqv19 with SMTP id v19so2473712obq.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:07:40 -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=M1PGxYbJ+rNZbWrx1DHNO7lGDQ2UZLDm6ASdvQOQQwU=; b=nzwZd/aMqQ+EWQ4keGwKflbZIOWm3O3D+x32RhYvO4TPLMIIHepUzNzvU1FuGATCZO yVxCq8cSAt9yisF10pZNhcrHchoWaYEcgbjitTGorHMK7fZwxF7os7K6X9lFE+RvFmRR a67fl3dIoVXYAHAcNSZtS2+p0nsmitd2evWTgCqCz2zlyX5ullo9QlBdfbtBeX7O6+yc YdJ+fcbasx3jsMjbIJx7AAcMnSqoAmVHeHeLCQFqMYOO+LNIKtbY+W4BeH1BN/T5PyyN UB49ZBRVBrY4PGq8wudKsWuR1FmJOBG6VGw5NPweeKvQUAZJNJcIusmHlEEfoIi7l52G bZ3A==
MIME-Version: 1.0
Received: by 10.60.1.40 with SMTP id 8mr52119453oej.70.1342048060764; Wed, 11 Jul 2012 16:07:40 -0700 (PDT)
Received: by 10.76.120.110 with HTTP; Wed, 11 Jul 2012 16:07:40 -0700 (PDT)
In-Reply-To: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com>
Date: Wed, 11 Jul 2012 19:07:40 -0400
Message-ID: <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sp60t-0007MO-1L aa9a80b86ff1e4bbe2d5d923eba952e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14092
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 Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
> I agree that we need something better, and in particular that we ought
> to have a MAC instead of a plain hash.  The problem with a MAC is:
> whence the key?  Also, what should the MAC be applied to?

The MAC should be applied to the 8-bit clean message content (i.e.
precisely that which is bounded by Content-Length)

If we are talking about Web Services then the key would be established
through some application layer key exchange (TBS).

The key requirement from a performance standpoint as I see it is that
the server has to be able to operate in a stateless fashion which
means using a ticket like approach.


> Using a MAC, having a shared session key, ties into HTTP
> authentication.  We can definitely have a generic MAC for HTTP and say
> that HTTP authentication mechanisms that can should output session
> keys.  And the HTTP authentication would also have to take care of MAC
> algorithm negotiation.  I'd be quite happy with this approach.

I think that there is definitely an opportunity to make use of a
ticket mode to tie the HTTP authentication to the HTTP channel.


> One issue with this approach is: if we always use TLS (but we might
> not), why do the extra session crypto?  What do we gain?  Do we need
> to worry about content re-writing proxies, say, as in some 3G
> networks?  If we always use TLS then it suffices to ensure that a) TLS
> provides confidentiality protection, b) the server cert remains the
> same for the length of the login session, c) we have a unique,
> unpredictable session ID in the headers (what we might call a cookie,
> though we don't want it to be a cookie as such).

TLS is very large, very complex and was engineered from the assumption
that there would be public key credentials on the client. Yes, people
can train it to do other tricks, but doing that is a lot more complex
than doing what we need in HTTP.

In my particular Web Service I am using TLS but still want to have a
transport layer authentication protection because I don't want to do a
TLS public key negotiation on each transaction and I don't want to be
bound to TLS session expiry.

In a large commercial environment the TLS processing is often
completely offloaded onto an accelerator that strips out the TLS and
hands clean IP packets to the Web Service. Another frequent screw case
is TLS proxies like bluecoat devices.


But even in the simplest TLS use case, the TLS security context is
really not exposed to the Web Server or the client in the way you
would need to use it for Web Services authentication in the commonly
used APIs. The problem is that TLS is designed to conceal all the
complexity of crypto from the application. That is why it was called
SSL at the start.


> In one post you talked about sequencing and replay protection for
> chunks.  Adding that to the MAC really gets us close to the MIC token
> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
> talking about having a sequence number.  As you say: this isn't
> difficult; we've been doing this for a loooong time in Kerberos land.

Heh, you could use a Kerberos token in my Omnibroker protocol if you
wanted to. But since it is an opaque string of bytes as far as the
client is concerned, well there is no reason to tie it to any one
approach.

People have been using kerberized cookies for years. The problem being
that the cookie is not at all bound to the requests or responses.

> Note that there's no need for sequence numbers to randomized given
> that we have session keys, but sequence number windows add to the
> state to be kept on the server side -- can we tolerate that? Note that
> while session key state might be kept on the client in an encrypted
> state ticket, session number windows cannot safely be kept that way --
> they must be kept locally.  I tend to think that sequencing and replay
> protection are the responsibility of the application -- all it needs
> to do is add a sequence number to the chunks and manage its own
> [per-resource] sequence number windows.

The way I was thinking of helping the application was to provide a
feature that allows Content-Integrity header to specify a key modifier
as well as a ticket. The key used to calculate the MAC would then be
the XOR of the modifier and the authentication key associated with the
ticket.


> Altogether we need: a session key identifier in the headers (this
> should imply algorithm selection), a direction identifier (or separate
> keys for each direction), a sequence number if we need sequencing
> and/or replay detection, what content to MAC, and the MAC itself.

Direction is already implicit in HTTP requests/responses.

I don't think we need sequencing, we do need a modifier capability though.

> Regarding what to MAC: the direction flag (unless we have diff keys
> for each direction), the channel binding for the TLS channel (if we
> have it), the URL?, some subset of headers? and the body.  Note that
> applying the MAC to any headers requires that we say something about
> canonicalization (e.g., "use the headers exactly as sent") and
> canonical order (if a subset of headers) (e.g., "in the relative order
> of appearance").  Header and body content need to be unambiguously
> separated in the MAC input.  Obviously we can't MAC all headers: some
> might be added by proxies, for example.

I don't see the need to MAC any headers for a Web Service application.
Put all the information in the content block.

Otherwise we would have to do the sort of thing that DKIM does to sign
headers and copy them.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 16:44:04 2012
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 476B611E8138 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:44:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.113
X-Spam-Level: 
X-Spam-Status: No, score=-7.113 tagged_above=-999 required=5 tests=[AWL=2.864, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 HQ9LrVQl7g17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:44:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9FB9D11E80F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 16:44:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp6Z0-0002om-Qg for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 23:43:22 +0000
Resent-Date: Wed, 11 Jul 2012 23:43:22 +0000
Resent-Message-Id: <E1Sp6Z0-0002om-Qg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp6Yj-0002nx-3t for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 23:43:05 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a24.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Sp6Yi-0000Oy-4g for ietf-http-wg@w3.org; Wed, 11 Jul 2012 23:43:05 +0000
Received: from homiemail-a24.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTP id 39B762C806C for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:42:43 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=spnLzGBN+srCYFggVvar0 vLTOpMm78ATYGjPz2CYD/0cf0hyGR4R/b/GFyTEnBn2gc+xnH/JU7wZ1UsX4BrEM CZZ8+sW6+fzzl0LHOjG9F7jCVfcBwGC+am356t5SRo4UEQCviOWFOQOkA0N/33Bc WPrFcuTHh0hdpyi177uz7A=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Ijr0Am9WXhsdFlCvJSYT Y+z0UTw=; b=oyrb29dAEy9pLQpGvHek6kdvByjeltCTswDrIiJAmF9Q/8S2Gcdo dhAGxUyjdLGao7fSePBlQih3SuzrRo0Cvacg/umu6AbIFqmswakG40KYkdszFCrd KwlKzvprMfwFaZBNaLjLoH6lofn7t7RMiHBZBVSBevbT/5kd/640lyk=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTPSA id 28F8E2C8057 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:42:43 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so2741041pbc.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:42:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.223.138 with SMTP id qu10mr366247pbc.50.1342050162745; Wed, 11 Jul 2012 16:42:42 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Wed, 11 Jul 2012 16:42:42 -0700 (PDT)
In-Reply-To: <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com>
Date: Wed, 11 Jul 2012 18:42:42 -0500
Message-ID: <CAK3OfOi+M62db47BgmzW=6a+X0wuusp3=rqqeR8RKOMd7-G78g@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.74; envelope-from=nico@cryptonector.com; helo=homiemail-a24.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Sp6Yi-0000Oy-4g 4ce2fcac0a1a9bf71ed3e52b32397803
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CAK3OfOi+M62db47BgmzW=6a+X0wuusp3=rqqeR8RKOMd7-G78g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14093
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>

If you envision not using TLS but still want HTTP to provide youwith
integrity protection... why stop there?  Why not go whole hog and also
ask for confidentiality protection?


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 16:45:19 2012
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 15F2C11E8138 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:45:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.257
X-Spam-Level: 
X-Spam-Status: No, score=-8.257 tagged_above=-999 required=5 tests=[AWL=2.342, BAYES_00=-2.599, 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 dMvgXmQg9HhA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 16:45:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3E6C11E80F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 16:45:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp6au-0005wF-CH for ietf-http-wg-dist@listhub.w3.org; Wed, 11 Jul 2012 23:45:20 +0000
Resent-Date: Wed, 11 Jul 2012 23:45:20 +0000
Resent-Message-Id: <E1Sp6au-0005wF-CH@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sp6am-0005vP-6h for ietf-http-wg@listhub.w3.org; Wed, 11 Jul 2012 23:45:12 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sp6ak-0008I1-KD for ietf-http-wg@w3.org; Wed, 11 Jul 2012 23:45:12 +0000
Received: by wgbdt14 with SMTP id dt14so1380861wgb.26 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 16:44: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:from:date:message-id:subject:to :cc:content-type; bh=6m6r9MyDBEGs6VAdxdVFV8zBbpxdxAwsVURpV5W+4iM=; b=XpnwPbk5fRkdk8AvNkrKOIVLBpiqFvV01dBHwtyBZgCI4prKAzdx3WNIWv2PJrmXnj cmpA5pLteerv1VSWNqty8+cgowD42auGaxK4QgKexzJRQQzqU34ea7mo/rxMkwR4eQvY YqbLRrSG/jNIvro5xszwvAYksWk1SgAMKHmf1T8VLBgrnk6bZeScfZ/01W2qCk/lIIXW rT3pVtON6RqW9ujqGy4susQcmgQsM+DejL0qcTu0aj4fQRx7X+NjGsA0LxRejsWi2VhK 0rULKVVxX/t1EK7whFcn5vdE5DG9hkTlxFQwjoYDhhnXaGAJnfrACEQU//Hgw8L4JVQr boyg==
Received: by 10.216.208.89 with SMTP id p67mr22202291weo.155.1342050284025; Wed, 11 Jul 2012 16:44:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 11 Jul 2012 16:44:23 -0700 (PDT)
In-Reply-To: <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 11 Jul 2012 16:44:23 -0700
Message-ID: <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Sp6ak-0008I1-KD fc8100c1949b6317d79fdddf0e28fccf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14094
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>

Phillip, just want to make sure that I'm keeping up with the
conversation thus far... Because of the problems inherent in using
Content-Integrity as a Trailer, is the idea then that
Content-Integrity would be a standard Header and that a new Transfer
or Content Encoding would be defined that supports an incremental
integrity check as a component of the encoding?

  GET /some/uri HTTP/1.1
  Host: example.org
  TE: integrity

For instance... something like...

  HTTP/1.1 200 OK
  Content-Type: application/octet-stream
  Content-Integrity: SHA-256; modifier=123...; param="..."
  Transfer-Encoding: integrity

  10
  {chunk of bytes}
  {digest}
  10
  {chunk of bytes}
  {digest}
  0

- James

On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
>> I agree that we need something better, and in particular that we ought
>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>> whence the key?  Also, what should the MAC be applied to?
>
> The MAC should be applied to the 8-bit clean message content (i.e.
> precisely that which is bounded by Content-Length)
>
> If we are talking about Web Services then the key would be established
> through some application layer key exchange (TBS).
>
> The key requirement from a performance standpoint as I see it is that
> the server has to be able to operate in a stateless fashion which
> means using a ticket like approach.
>
>
>> Using a MAC, having a shared session key, ties into HTTP
>> authentication.  We can definitely have a generic MAC for HTTP and say
>> that HTTP authentication mechanisms that can should output session
>> keys.  And the HTTP authentication would also have to take care of MAC
>> algorithm negotiation.  I'd be quite happy with this approach.
>
> I think that there is definitely an opportunity to make use of a
> ticket mode to tie the HTTP authentication to the HTTP channel.
>
>
>> One issue with this approach is: if we always use TLS (but we might
>> not), why do the extra session crypto?  What do we gain?  Do we need
>> to worry about content re-writing proxies, say, as in some 3G
>> networks?  If we always use TLS then it suffices to ensure that a) TLS
>> provides confidentiality protection, b) the server cert remains the
>> same for the length of the login session, c) we have a unique,
>> unpredictable session ID in the headers (what we might call a cookie,
>> though we don't want it to be a cookie as such).
>
> TLS is very large, very complex and was engineered from the assumption
> that there would be public key credentials on the client. Yes, people
> can train it to do other tricks, but doing that is a lot more complex
> than doing what we need in HTTP.
>
> In my particular Web Service I am using TLS but still want to have a
> transport layer authentication protection because I don't want to do a
> TLS public key negotiation on each transaction and I don't want to be
> bound to TLS session expiry.
>
> In a large commercial environment the TLS processing is often
> completely offloaded onto an accelerator that strips out the TLS and
> hands clean IP packets to the Web Service. Another frequent screw case
> is TLS proxies like bluecoat devices.
>
>
> But even in the simplest TLS use case, the TLS security context is
> really not exposed to the Web Server or the client in the way you
> would need to use it for Web Services authentication in the commonly
> used APIs. The problem is that TLS is designed to conceal all the
> complexity of crypto from the application. That is why it was called
> SSL at the start.
>
>
>> In one post you talked about sequencing and replay protection for
>> chunks.  Adding that to the MAC really gets us close to the MIC token
>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>> talking about having a sequence number.  As you say: this isn't
>> difficult; we've been doing this for a loooong time in Kerberos land.
>
> Heh, you could use a Kerberos token in my Omnibroker protocol if you
> wanted to. But since it is an opaque string of bytes as far as the
> client is concerned, well there is no reason to tie it to any one
> approach.
>
> People have been using kerberized cookies for years. The problem being
> that the cookie is not at all bound to the requests or responses.
>
>> Note that there's no need for sequence numbers to randomized given
>> that we have session keys, but sequence number windows add to the
>> state to be kept on the server side -- can we tolerate that? Note that
>> while session key state might be kept on the client in an encrypted
>> state ticket, session number windows cannot safely be kept that way --
>> they must be kept locally.  I tend to think that sequencing and replay
>> protection are the responsibility of the application -- all it needs
>> to do is add a sequence number to the chunks and manage its own
>> [per-resource] sequence number windows.
>
> The way I was thinking of helping the application was to provide a
> feature that allows Content-Integrity header to specify a key modifier
> as well as a ticket. The key used to calculate the MAC would then be
> the XOR of the modifier and the authentication key associated with the
> ticket.
>
>
>> Altogether we need: a session key identifier in the headers (this
>> should imply algorithm selection), a direction identifier (or separate
>> keys for each direction), a sequence number if we need sequencing
>> and/or replay detection, what content to MAC, and the MAC itself.
>
> Direction is already implicit in HTTP requests/responses.
>
> I don't think we need sequencing, we do need a modifier capability though.
>
>> Regarding what to MAC: the direction flag (unless we have diff keys
>> for each direction), the channel binding for the TLS channel (if we
>> have it), the URL?, some subset of headers? and the body.  Note that
>> applying the MAC to any headers requires that we say something about
>> canonicalization (e.g., "use the headers exactly as sent") and
>> canonical order (if a subset of headers) (e.g., "in the relative order
>> of appearance").  Header and body content need to be unambiguously
>> separated in the MAC input.  Obviously we can't MAC all headers: some
>> might be added by proxies, for example.
>
> I don't see the need to MAC any headers for a Web Service application.
> Put all the information in the content block.
>
> Otherwise we would have to do the sort of thing that DKIM does to sign
> headers and copy them.
>
>
> --
> Website: http://hallambaker.com/
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 17:16:38 2012
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 905EE11E80F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 17:16:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.937
X-Spam-Level: 
X-Spam-Status: No, score=-9.937 tagged_above=-999 required=5 tests=[AWL=0.662, BAYES_00=-2.599, 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 d-OH+tLjvyox for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 17:16:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0029211E80C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 17:16:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp74c-00031k-Jd for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 00:16:02 +0000
Resent-Date: Thu, 12 Jul 2012 00:16:02 +0000
Resent-Message-Id: <E1Sp74c-00031k-Jd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sp74U-00030o-Rz for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 00:15:54 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sp74M-0001TQ-8T for ietf-http-wg@w3.org; Thu, 12 Jul 2012 00:15:54 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 56E49E6F90; Thu, 12 Jul 2012 12:15:14 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 12 Jul 2012 12:15:14 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com>
References: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com> <CC233A53.5AB14%sludin@akamai.com> <CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com>
Message-ID: <5873d845ec83172df5f8254eec85bff5@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sp74M-0001TQ-8T d3e1ce255a8768cf23d50fe9288c5446
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/5873d845ec83172df5f8254eec85bff5@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14095
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 12.07.2012 09:59, Zhong Yu wrote:
> Transfer-Encoding and Content-Encoding overlap in functionality. For
> example, gzip can be done in either way. But in reality, gzip is only
> implemented with Content-Encoding, for whatever reason. It might be
> safer to introduce a new content-coding than a new transfer-coding.
>

The Content-Encoding is about the entity. End-to-End.
The Transfer-Encoding is about the channel. Hop-by-Hop.

gzip is not implemented as Transfer-Encoding due to all the reasons 
Willy and I put forward against mandatory gzip compression on SPDY 
connections. It is a large performance loss to de/re-compress at every 
hop. chunked on the other hand is trivial to recode and when used right 
increases performance.

When implementing anything which intermediaries *need* visibility to 
and possibly even manipulation of, Content-Encoding is the worst way to 
do it.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 18:45:27 2012
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 7017511E80C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 18:45:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 dm7TsMHD9HHY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 18:45:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D55CC11E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 18:45:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp8SE-0001dH-HY for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 01:44:30 +0000
Resent-Date: Thu, 12 Jul 2012 01:44:30 +0000
Resent-Message-Id: <E1Sp8SE-0001dH-HY@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 1Sp8S7-0001bq-EJ for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 01:44:23 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Sp8S5-0005R9-KW for ietf-http-wg@w3.org; Thu, 12 Jul 2012 01:44:23 +0000
Received: by vbbfq11 with SMTP id fq11so1325658vbb.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 18:43:55 -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=9ckKhYvWhB25uc9+uMgXw2CO7zCDO89nDjw354OQ68M=; b=gCZlEcDOsMsaduQqvKD79xjKK4dE2xMucKRyHCdPVlbEigh4VU1A32y3EofXyPgvOZ dijaQDDnbplZP/x+NMnHARjveTGdZ0K5THwEWXpwKfk5DDqlKMyopcoDHJsFuD8mPHQU xblp+UMK+p5V1/EYvOJ74F/tsQQIiZHN8/UcJMcgc6rydODm35x35kMkXkjlyuDiCdpY YeOlYPKtvF1QHuRDwmJQDD8mqC4UTJIVMdGoBOhTR+Au5AYN4QJ/1Pz57ynDIbe87XPG NaSzhRDjhK1ayoDKrxWHI5tsA4Il0kjBFBexf0A0w3XcBPcChLfc3Teh+HXNpw/4wOG9 HJDQ==
MIME-Version: 1.0
Received: by 10.52.174.226 with SMTP id bv2mr20701840vdc.32.1342057435477; Wed, 11 Jul 2012 18:43:55 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 11 Jul 2012 18:43:55 -0700 (PDT)
In-Reply-To: <5873d845ec83172df5f8254eec85bff5@treenet.co.nz>
References: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com> <CC233A53.5AB14%sludin@akamai.com> <CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com> <5873d845ec83172df5f8254eec85bff5@treenet.co.nz>
Date: Wed, 11 Jul 2012 20:43:55 -0500
Message-ID: <CACuKZqHQ1rEc-B9cscD55SAVoHp8rE4aovPeLg3ASNgUYxgOCw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sp8S5-0005R9-KW 9b59b2ddf285e1cd424c44ed1a9680ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CACuKZqHQ1rEc-B9cscD55SAVoHp8rE4aovPeLg3ASNgUYxgOCw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14096
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>

Intermediaries are required to decompress a gzip transfer-coding?

Intermediaries are forbidden to decompress gzip content-coding to look
into the content? Intermediaries are forbidden to change
Accept-Encoding and Content-Encoding?


On Wed, Jul 11, 2012 at 7:15 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 12.07.2012 09:59, Zhong Yu wrote:
>>
>> Transfer-Encoding and Content-Encoding overlap in functionality. For
>> example, gzip can be done in either way. But in reality, gzip is only
>> implemented with Content-Encoding, for whatever reason. It might be
>> safer to introduce a new content-coding than a new transfer-coding.
>>
>
> The Content-Encoding is about the entity. End-to-End.
> The Transfer-Encoding is about the channel. Hop-by-Hop.
>
> gzip is not implemented as Transfer-Encoding due to all the reasons Willy
> and I put forward against mandatory gzip compression on SPDY connections. It
> is a large performance loss to de/re-compress at every hop. chunked on the
> other hand is trivial to recode and when used right increases performance.
>
> When implementing anything which intermediaries *need* visibility to and
> possibly even manipulation of, Content-Encoding is the worst way to do it.
>
> AYJ
>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 18:52:58 2012
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 7262B11E8123 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 18:52:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.017
X-Spam-Level: 
X-Spam-Status: No, score=-8.017 tagged_above=-999 required=5 tests=[AWL=2.582, BAYES_00=-2.599, 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 AUtV4aZeaJ0u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 18:52:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 552BA11E8120 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 18:52:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp8Zv-0006AD-Ba for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 01:52:27 +0000
Resent-Date: Thu, 12 Jul 2012 01:52:27 +0000
Resent-Message-Id: <E1Sp8Zv-0006AD-Ba@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp8Zn-00069S-Gf for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 01:52:19 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sp8Zm-0004nh-6P for ietf-http-wg@w3.org; Thu, 12 Jul 2012 01:52:19 +0000
Received: by obqv19 with SMTP id v19so2674741obq.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 18:51:52 -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=cfTrPWOYsv9I7UuDGwvcAsTebW5xBHC5uveGs91s7VY=; b=JN8ijs273AO0ke2Mctj4PHi0POxlvxni6Cdl8n7w5XA1jmmrpQ38xzDmO4zEnZwj9g Vrw1XuTUogtWPDlXDoILkL80BZjNcBUSnnKCp+ZQA5JOCB8veI2g/Gg4pCIqiayIFsX/ C9n7XXT7oU73UYIi6BUbhgMjcyDKSp5v7IIM3GtxVy1ouCK9ebZlNd86nNEblD/k7Sv+ KfXPbFDGwGRRdJYHGdcz6kFKpJ+U0S8Ma0pS6ENEh9cqhsvcouEmzES9BxI93lJFIy5v 09REHQAgLViVqtPfHdZciEXaARIe6zTDwsnccbSwE+hVxdCyNsvpE0QhG0Wdnp2QWYW0 rfFw==
MIME-Version: 1.0
Received: by 10.182.12.74 with SMTP id w10mr46895874obb.54.1342057911991; Wed, 11 Jul 2012 18:51:51 -0700 (PDT)
Received: by 10.76.120.110 with HTTP; Wed, 11 Jul 2012 18:51:51 -0700 (PDT)
In-Reply-To: <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com>
Date: Wed, 11 Jul 2012 21:51:51 -0400
Message-ID: <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Sp8Zm-0004nh-6P b207d3f42345792c5806270c6073cb5f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14097
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>

What are the problems inherent in using Content-Integrity as a Trailer?

Do the legacy clients botch chunked encoding?


On Wed, Jul 11, 2012 at 7:44 PM, James M Snell <jasnell@gmail.com> wrote:
> Phillip, just want to make sure that I'm keeping up with the
> conversation thus far... Because of the problems inherent in using
> Content-Integrity as a Trailer, is the idea then that
> Content-Integrity would be a standard Header and that a new Transfer
> or Content Encoding would be defined that supports an incremental
> integrity check as a component of the encoding?
>
>   GET /some/uri HTTP/1.1
>   Host: example.org
>   TE: integrity
>
> For instance... something like...
>
>   HTTP/1.1 200 OK
>   Content-Type: application/octet-stream
>   Content-Integrity: SHA-256; modifier=123...; param="..."
>   Transfer-Encoding: integrity
>
>   10
>   {chunk of bytes}
>   {digest}
>   10
>   {chunk of bytes}
>   {digest}
>   0
>
> - James
>
> On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
>>> I agree that we need something better, and in particular that we ought
>>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>>> whence the key?  Also, what should the MAC be applied to?
>>
>> The MAC should be applied to the 8-bit clean message content (i.e.
>> precisely that which is bounded by Content-Length)
>>
>> If we are talking about Web Services then the key would be established
>> through some application layer key exchange (TBS).
>>
>> The key requirement from a performance standpoint as I see it is that
>> the server has to be able to operate in a stateless fashion which
>> means using a ticket like approach.
>>
>>
>>> Using a MAC, having a shared session key, ties into HTTP
>>> authentication.  We can definitely have a generic MAC for HTTP and say
>>> that HTTP authentication mechanisms that can should output session
>>> keys.  And the HTTP authentication would also have to take care of MAC
>>> algorithm negotiation.  I'd be quite happy with this approach.
>>
>> I think that there is definitely an opportunity to make use of a
>> ticket mode to tie the HTTP authentication to the HTTP channel.
>>
>>
>>> One issue with this approach is: if we always use TLS (but we might
>>> not), why do the extra session crypto?  What do we gain?  Do we need
>>> to worry about content re-writing proxies, say, as in some 3G
>>> networks?  If we always use TLS then it suffices to ensure that a) TLS
>>> provides confidentiality protection, b) the server cert remains the
>>> same for the length of the login session, c) we have a unique,
>>> unpredictable session ID in the headers (what we might call a cookie,
>>> though we don't want it to be a cookie as such).
>>
>> TLS is very large, very complex and was engineered from the assumption
>> that there would be public key credentials on the client. Yes, people
>> can train it to do other tricks, but doing that is a lot more complex
>> than doing what we need in HTTP.
>>
>> In my particular Web Service I am using TLS but still want to have a
>> transport layer authentication protection because I don't want to do a
>> TLS public key negotiation on each transaction and I don't want to be
>> bound to TLS session expiry.
>>
>> In a large commercial environment the TLS processing is often
>> completely offloaded onto an accelerator that strips out the TLS and
>> hands clean IP packets to the Web Service. Another frequent screw case
>> is TLS proxies like bluecoat devices.
>>
>>
>> But even in the simplest TLS use case, the TLS security context is
>> really not exposed to the Web Server or the client in the way you
>> would need to use it for Web Services authentication in the commonly
>> used APIs. The problem is that TLS is designed to conceal all the
>> complexity of crypto from the application. That is why it was called
>> SSL at the start.
>>
>>
>>> In one post you talked about sequencing and replay protection for
>>> chunks.  Adding that to the MAC really gets us close to the MIC token
>>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>>> talking about having a sequence number.  As you say: this isn't
>>> difficult; we've been doing this for a loooong time in Kerberos land.
>>
>> Heh, you could use a Kerberos token in my Omnibroker protocol if you
>> wanted to. But since it is an opaque string of bytes as far as the
>> client is concerned, well there is no reason to tie it to any one
>> approach.
>>
>> People have been using kerberized cookies for years. The problem being
>> that the cookie is not at all bound to the requests or responses.
>>
>>> Note that there's no need for sequence numbers to randomized given
>>> that we have session keys, but sequence number windows add to the
>>> state to be kept on the server side -- can we tolerate that? Note that
>>> while session key state might be kept on the client in an encrypted
>>> state ticket, session number windows cannot safely be kept that way --
>>> they must be kept locally.  I tend to think that sequencing and replay
>>> protection are the responsibility of the application -- all it needs
>>> to do is add a sequence number to the chunks and manage its own
>>> [per-resource] sequence number windows.
>>
>> The way I was thinking of helping the application was to provide a
>> feature that allows Content-Integrity header to specify a key modifier
>> as well as a ticket. The key used to calculate the MAC would then be
>> the XOR of the modifier and the authentication key associated with the
>> ticket.
>>
>>
>>> Altogether we need: a session key identifier in the headers (this
>>> should imply algorithm selection), a direction identifier (or separate
>>> keys for each direction), a sequence number if we need sequencing
>>> and/or replay detection, what content to MAC, and the MAC itself.
>>
>> Direction is already implicit in HTTP requests/responses.
>>
>> I don't think we need sequencing, we do need a modifier capability though.
>>
>>> Regarding what to MAC: the direction flag (unless we have diff keys
>>> for each direction), the channel binding for the TLS channel (if we
>>> have it), the URL?, some subset of headers? and the body.  Note that
>>> applying the MAC to any headers requires that we say something about
>>> canonicalization (e.g., "use the headers exactly as sent") and
>>> canonical order (if a subset of headers) (e.g., "in the relative order
>>> of appearance").  Header and body content need to be unambiguously
>>> separated in the MAC input.  Obviously we can't MAC all headers: some
>>> might be added by proxies, for example.
>>
>> I don't see the need to MAC any headers for a Web Service application.
>> Put all the information in the content block.
>>
>> Otherwise we would have to do the sort of thing that DKIM does to sign
>> headers and copy them.
>>
>>
>> --
>> Website: http://hallambaker.com/
>>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 19:28:29 2012
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 DE24511E80FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 19:28:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.978
X-Spam-Level: 
X-Spam-Status: No, score=-9.978 tagged_above=-999 required=5 tests=[AWL=0.621, BAYES_00=-2.599, 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 0oUsNZ7TwQ7R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 19:28:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5792011E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 19:28:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp980-0003Uo-Fg for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 02:27:40 +0000
Resent-Date: Thu, 12 Jul 2012 02:27:40 +0000
Resent-Message-Id: <E1Sp980-0003Uo-Fg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sp97t-0003Ty-Jn for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 02:27:33 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sp97s-0005sg-Eh for ietf-http-wg@w3.org; Thu, 12 Jul 2012 02:27:33 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id EFD19E6F91; Thu, 12 Jul 2012 14:27:08 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 12 Jul 2012 14:27:08 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CACuKZqHQ1rEc-B9cscD55SAVoHp8rE4aovPeLg3ASNgUYxgOCw@mail.gmail.com>
References: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com> <CC233A53.5AB14%sludin@akamai.com> <CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com> <5873d845ec83172df5f8254eec85bff5@treenet.co.nz> <CACuKZqHQ1rEc-B9cscD55SAVoHp8rE4aovPeLg3ASNgUYxgOCw@mail.gmail.com>
Message-ID: <5ea0a4aa9c30ace3cbfb02354fe8e9a2@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sp97s-0005sg-Eh 9eac500b468aaa9af52436efa45f9f46
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/5ea0a4aa9c30ace3cbfb02354fe8e9a2@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14098
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 12.07.2012 13:43, Zhong Yu wrote:
> Intermediaries are required to decompress a gzip transfer-coding?
>

Yes. Transfer Encoding must be removed when caching, when transforming, 
when interpreting the body, or when transcoding to a hop with different 
negotiated Transfer-Encoding type.

There is a very limited set of middleware (essentially just SOCKS or 
VPN tunnels) which can avoid it. All the rest have to implement the 
encoding.

> Intermediaries are forbidden to decompress gzip content-coding to 
> look
> into the content? Intermediaries are forbidden to change
> Accept-Encoding and Content-Encoding?

Why do you insert this word "are forbidden to"?

It is a *performance* loss issue, not a permission one, for the large 
majority of intermediary types which do not need to touch the entity 
integrity in any way. Just look at how many of the transforming proxies 
that do content filtering find it necessary to force identity encoding 
from servers just to operate at any reasonable speed.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 19:55:51 2012
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 6FDE211E8172 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 19:55:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 kzKiw7ehvD+a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 19:55:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D2DD611E80DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 19:55:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sp9Yl-00074Z-1S for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 02:55:19 +0000
Resent-Date: Thu, 12 Jul 2012 02:55:19 +0000
Resent-Message-Id: <E1Sp9Yl-00074Z-1S@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 1Sp9Yd-00073R-RF for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 02:55:11 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Sp9Yb-0007Xy-SY for ietf-http-wg@w3.org; Thu, 12 Jul 2012 02:55:11 +0000
Received: by vbbfq11 with SMTP id fq11so1355422vbb.2 for <ietf-http-wg@w3.org>; Wed, 11 Jul 2012 19:54: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; bh=qDBlKyrd+GWDgaLeNrAQQmaEGovUUZhnFVckd+TSfGw=; b=mVztzPwJNHMCtW+/R6W/XKHi9/NfKo+zlsY/1LhL2Igt5kgCBgMdCgU3tO/aUAXNRQ DtGYOAs4fHEpt6ZU109ir+Y0PqLIoANSBUDLMqJYeXxz7uuF/wVJZZ44hDwo9Z30shRs W8K+2ahArioh4P1wSFz64IpvrQ93Sdnm5SMM83sG0bdFVZmDT58U+qdPXPk55fGyzue7 A4ZTyQ505tGKy9Rbc0S8rp92yJjsd3nzO3qKJXUDxjD6s3yDIyfCaL2THlKFMH1R1QOZ m1Yuz6m7YSPAQ7kVVCxg858JuEfnHUMf5c43o3w8xdRNPGMIUGbwJHEcdtm/s/pgtclk ic6A==
MIME-Version: 1.0
Received: by 10.52.90.199 with SMTP id by7mr20338014vdb.30.1342061684054; Wed, 11 Jul 2012 19:54:44 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 11 Jul 2012 19:54:43 -0700 (PDT)
In-Reply-To: <5ea0a4aa9c30ace3cbfb02354fe8e9a2@treenet.co.nz>
References: <CACuKZqHftxfNGof7Yq7yLkGnxnM7NA9FXhgN-ddmSNF=d9oHeQ@mail.gmail.com> <CC233A53.5AB14%sludin@akamai.com> <CACuKZqF7+TFwXDWg0_43isN9rR8R1SHSZ-fZucAo9xBSFOZa0w@mail.gmail.com> <5873d845ec83172df5f8254eec85bff5@treenet.co.nz> <CACuKZqHQ1rEc-B9cscD55SAVoHp8rE4aovPeLg3ASNgUYxgOCw@mail.gmail.com> <5ea0a4aa9c30ace3cbfb02354fe8e9a2@treenet.co.nz>
Date: Wed, 11 Jul 2012 21:54:43 -0500
Message-ID: <CACuKZqF3JrEUOrmrfJki+Kmib-TLjx+P3FchTKdjQLMwFMkOyw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sp9Yb-0007Xy-SY fa018886bd6fb6bf10782f2c5a5057dc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Using HTTP Trailers [was: Content-Integrity header]
Archived-At: <http://www.w3.org/mid/CACuKZqF3JrEUOrmrfJki+Kmib-TLjx+P3FchTKdjQLMwFMkOyw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14099
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>

If there's not an official policy mandating different use of the two,
I don't see any essential technical difference between transfer coding
and content coding.

  TE: gzip
  =>
  Transfer-Encoding: gzip chunked

works equally well as

  Accept-Encoding: gzip
  =>
  Content-Encoding: gzip

for anyone on the path.



On Wed, Jul 11, 2012 at 9:27 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 12.07.2012 13:43, Zhong Yu wrote:
>>
>> Intermediaries are required to decompress a gzip transfer-coding?
>>
>
> Yes. Transfer Encoding must be removed when caching, when transforming, when
> interpreting the body, or when transcoding to a hop with different
> negotiated Transfer-Encoding type.
>
> There is a very limited set of middleware (essentially just SOCKS or VPN
> tunnels) which can avoid it. All the rest have to implement the encoding.
>
>
>> Intermediaries are forbidden to decompress gzip content-coding to look
>> into the content? Intermediaries are forbidden to change
>> Accept-Encoding and Content-Encoding?
>
>
> Why do you insert this word "are forbidden to"?
>
> It is a *performance* loss issue, not a permission one, for the large
> majority of intermediary types which do not need to touch the entity
> integrity in any way. Just look at how many of the transforming proxies that
> do content filtering find it necessary to force identity encoding from
> servers just to operate at any reasonable speed.
>
> AYJ
>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 21:14:34 2012
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 9955B11E80C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 21:14:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.142
X-Spam-Level: 
X-Spam-Status: No, score=-9.142 tagged_above=-999 required=5 tests=[AWL=1.457, BAYES_00=-2.599, 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 XYWfTcg2ecAO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 21:14:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 886F511E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 21:14:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpAmX-0003vw-Vw for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 04:13:38 +0000
Resent-Date: Thu, 12 Jul 2012 04:13:37 +0000
Resent-Message-Id: <E1SpAmX-0003vw-Vw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SpAmO-0003ta-29 for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 04:13:28 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SpAmM-0001jn-Jb for ietf-http-wg@w3.org; Thu, 12 Jul 2012 04:13:28 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CA5FC22E25B; Thu, 12 Jul 2012 00:13:02 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FFD7A86.3030305@gmx.de>
Date: Thu, 12 Jul 2012 14:12:59 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <98853A40-F029-4FFD-B4E1-2A761261A7F9@mnot.net>
References: <4FFD7A86.3030305@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpAmM-0001jn-Jb 477b022d7c4c17800f45e4e1d3743a42
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #371: If-Modified-Since lacks definition for method != GET
Archived-At: <http://www.w3.org/mid/98853A40-F029-4FFD-B4E1-2A761261A7F9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14100
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 11/07/2012, at 11:07 PM, Julian Reschke wrote:

> =46rom an off-list WGLC comment:
>=20
>>    3.3. If-Modified-Since
>>=20
>>        The "If-Modified-Since" header field MAY be used to make a =
request method conditional by modification date: if the selected =
representation has not been modified since the time specified in this =
field, then do not perform the request method; instead, respond as =
detailed below.
>>=20
>> This section doesn't seem to say anything about methods other than =
GET, yet the text seems to imply that a more general case is also =
covered below.
>=20
> -> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/371>
>=20
> Indeed, the spec doesn't really say; is it (a) undefined, (b) 304, or =
(c) 412?


My .02 - 304 is clearly not correct.

I'd be inclined to say undefined, as I don't think we want to promote =
IMS in these uses.



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





From ietf-http-wg-request@listhub.w3.org  Wed Jul 11 21:15:45 2012
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 346FB11E80C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 21:15:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.153
X-Spam-Level: 
X-Spam-Status: No, score=-9.153 tagged_above=-999 required=5 tests=[AWL=1.446, BAYES_00=-2.599, 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 QxpgSoTeuMI4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 Jul 2012 21:15:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2CC8B11E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 Jul 2012 21:15:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpAoN-0006ko-5c for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 04:15:31 +0000
Resent-Date: Thu, 12 Jul 2012 04:15:31 +0000
Resent-Message-Id: <E1SpAoN-0006ko-5c@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SpAoE-0006FS-Cx for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 04:15:22 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SpAoD-0001nF-2w for ietf-http-wg@w3.org; Thu, 12 Jul 2012 04:15:22 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2A7BA22DD6D; Thu, 12 Jul 2012 00:14:58 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FFC8DF0.1050803@gmx.de>
Date: Thu, 12 Jul 2012 14:14:56 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D89FF4B6-675A-4104-BA33-3FEE6B27EB46@mnot.net>
References: <4FFC8DF0.1050803@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpAoD-0001nF-2w df40fe060822826688bb89b40895050d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #372: refactor conditional header field descriptions
Archived-At: <http://www.w3.org/mid/D89FF4B6-675A-4104-BA33-3FEE6B27EB46@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14101
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>

+1

On 11/07/2012, at 6:17 AM, Julian Reschke wrote:

> (see http://trac.tools.ietf.org/wg/httpbis/trac/ticket/372)
>=20
> While looking at If-Match and If-None-Match I realized that there's a =
lot of prose we repeat, and then sometimes do not get it right.
>=20
> I'd like to refactor these so that the condition is only defined once.
>=20
> Proposal for If-Match:
>=20
> diff -r19.43 draft-ietf-httpbis-p4-conditional-latest.unpg.txt
> 630,640c630,641
> <  If any of the entity-tags listed in the If-Match field value match
> <  (as per Section 2.3.2) the entity-tag of the selected =
representation
> <  for the target resource, or if "*" is given and any current
> <  representation exists for the target resource, then the server MAY
> <  perform the request method as if the If-Match header field was not
> <  present.
> <
> <  Origin servers MUST NOT perform the requested method if none of the
> <  entity-tags match, or if "*" is given and no current representation
> <  exists; instead they MUST respond with the 412 (Precondition =
Failed)
> <  status code.
> ---
> >  The If-Match condition is met if and only if any of the entity-tags
> >  listed in the If-Match field value match (as per Section 2.3.2) the
> >  entity-tag of the selected representation for the target resource, =
or
> >  if "*" is given and any current representation exists for the =
target
> >  resource.
> >
> >  If the condition is met, the server MAY perform the request method =
as
> >  if the If-Match header field was not present.
> >
> >  Origin servers MUST NOT perform the requested method if the =
condition
> >  is not met; instead they MUST respond with the 412 (Precondition
> >  Failed) status code.
> 643,644c644
> <  MUST NOT perform the requested method if none of the entity-tags
> <  match, or if "*" is given and no current representation exists;
> ---
> >  MUST NOT perform the requested method if the condition is not met;
>=20
> and for If-None-Match:
>=20
> <  If any of the entity-tags listed in the If-None-Match field-value
> <  match (as per Section 2.3.2) the entity-tag of the selected
> <  representation, or if "*" is given and any current representation
> <  exists for that resource, then the server MUST NOT perform the
> <  requested method.  Instead, if the request method was GET or HEAD,
> <  the server SHOULD respond with a 304 (Not Modified) status code,
> <  including the cache-related header fields (particularly ETag) of =
the
> <  selected representation that has a matching entity-tag.  For all
> <  other request methods, the server MUST respond with a 412
> <  (Precondition Failed) status code.
> <
> <  If none of the entity-tags match, then the server MAY perform the
> <  requested method as if the If-None-Match header field did not =
exist,
> <  but MUST also ignore any If-Modified-Since header field(s) in the
> <  request.  That is, if no entity-tags match, then the server MUST =
NOT
> <  return a 304 (Not Modified) response.
> ---
> >  The If-None-Match condition is met if and only if any of the =
entity-
> >  tags listed in the If-None-Match field-value match (as per
> >  Section 2.3.2) the entity-tag of the selected representation, or if
> >  "*" is given and any current representation exists for that =
resource.
> >
> >  If the condition is met, the server MUST NOT perform the requested
> >  method.  Instead, if the request method was GET or HEAD, the server
> >  SHOULD respond with a 304 (Not Modified) status code, including the
> >  cache-related header fields (particularly ETag) of the selected
> >  representation that has a matching entity-tag.  For all other =
request
> >  methods, the server MUST respond with a 412 (Precondition Failed)
> >  status code.
> >
> >  If the condition is not met, the server MAY perform the requested
> >  method as if the If-None-Match header field did not exist, but MUST
> >  also ignore any If-Modified-Since header field(s) in the request.
> >  That is, if no entity-tags match, then the server MUST NOT return a
> >  304 (Not Modified) response.
>=20
> (See =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/372/372.diff=
>)
>=20
> Feedback appreciated,
>=20
> Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 00:04:09 2012
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 EDE0311E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:04:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.059
X-Spam-Level: 
X-Spam-Status: No, score=-9.059 tagged_above=-999 required=5 tests=[AWL=1.540, BAYES_00=-2.599, 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 ZIyeegeaJa7g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:04:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 070A311E80C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 00:04:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpDQg-0007mS-6Y for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 07:03:14 +0000
Resent-Date: Thu, 12 Jul 2012 07:03:14 +0000
Resent-Message-Id: <E1SpDQg-0007mS-6Y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDQW-0007kz-Vk for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 07:03:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDQQ-0007MZ-GW for ietf-http-wg@w3.org; Thu, 12 Jul 2012 07:03:04 +0000
Received: (qmail invoked by alias); 12 Jul 2012 07:02:32 -0000
Received: from p5DD96972.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.105.114] by mail.gmx.net (mp031) with SMTP; 12 Jul 2012 09:02:32 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19hYWJKB9Zh9VoRNQvA7aiAgvwcDKVtT2gAEmXImC 9FR7WQdF6g+2kS
Message-ID: <4FFE765C.4070305@gmx.de>
Date: Thu, 12 Jul 2012 09:01:48 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FFC8DF0.1050803@gmx.de> <D89FF4B6-675A-4104-BA33-3FEE6B27EB46@mnot.net>
In-Reply-To: <D89FF4B6-675A-4104-BA33-3FEE6B27EB46@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpDQQ-0007MZ-GW 80a1ce43db92a100faf5c2f6a8df6553
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #372: refactor conditional header field descriptions
Archived-At: <http://www.w3.org/mid/4FFE765C.4070305@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14102
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 2012-07-12 06:14, Mark Nottingham wrote:
> +1

Thanks; in the meantime I came to the conclusion that the definition of 
"condition met" for If-None-Match needs to be reversed. (The text was 
consistent, but in a confusing way). I also made the two definitions 
more consistent.

Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/372/372.2.diff>

The definition for "condition met" on If-Match would be:

    The If-Match condition is met if and only if any of the entity-tags
    listed in the If-Match field value match the entity-tag of the
    selected representation for the target resource (as per
    Section 2.3.2), or if "*" is given and any current representation
    exists for the target resource.

For If-None-Match:

    The If-None-Match condition is met if and only if none of the entity-
    tags listed in the If-None-Match field value match the entity-tag of
    the selected representation for the target resource (as per
    Section 2.3.2), or if "*" is given and no current representation
    exists for that resource.


Complete text for both header fields:

3.1.  If-Match

    The "If-Match" header field can be used to make a request method
    conditional on the current existence or value of an entity-tag for
    one or more representations of the target resource.

    If-Match is generally useful for resource update requests, such as
    PUT requests, as a means for protecting against accidental overwrites
    when multiple clients are acting in parallel on the same resource
    (i.e., the "lost update" problem).  An If-Match field-value of "*"
    places the precondition on the existence of any current
    representation for the target resource.

      If-Match = "*" / 1#entity-tag

    The If-Match condition is met if and only if any of the entity-tags
    listed in the If-Match field value match the entity-tag of the
    selected representation for the target resource (as per
    Section 2.3.2), or if "*" is given and any current representation
    exists for the target resource.

    If the condition is met, the server MAY perform the request method as
    if the If-Match header field was not present.

    Origin servers MUST NOT perform the requested method if the condition
    is not met; instead they MUST respond with the 412 (Precondition
    Failed) status code.

    Proxy servers using a cached response as the selected representation
    MUST NOT perform the requested method if the condition is not met;
    instead, they MUST forward the request towards the origin server.

    If the request would, without the If-Match header field, result in
    anything other than a 2xx (Successful) or 412 (Precondition Failed)
    status code, then the If-Match header field MUST be ignored.

    Examples:

      If-Match: "xyzzy"
      If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
      If-Match: *

    The result of a request having both an If-Match header field and
    either an If-None-Match or an If-Modified-Since header field is
    undefined by this specification.

3.2.  If-None-Match

    The "If-None-Match" header field can be used to make a request method
    conditional on not matching any of the current entity-tag values for
    representations of the target resource.

    If-None-Match is primarily used in conditional GET requests to enable
    efficient updates of cached information with a minimum amount of
    transaction overhead.  A client that has one or more representations
    previously obtained from the target resource can send If-None-Match
    with a list of the associated entity-tags in the hope of receiving a
    304 (Not Modified) response if at least one of those representations
    matches the selected representation.

    If-None-Match can also be used with a value of "*" to prevent an
    unsafe request method (e.g., PUT) from inadvertently modifying an
    existing representation of the target resource when the client
    believes that the resource does not have a current representation.
    This is a variation on the "lost update" problem that might arise if
    more than one client attempts to create an initial representation for
    the target resource.

      If-None-Match = "*" / 1#entity-tag

    The If-None-Match condition is met if and only if none of the entity-
    tags listed in the If-None-Match field value match the entity-tag of
    the selected representation for the target resource (as per
    Section 2.3.2), or if "*" is given and no current representation
    exists for that resource.

    If the condition is not met, the server MUST NOT perform the
    requested method.  Instead, if the request method was GET or HEAD,
    the server SHOULD respond with a 304 (Not Modified) status code,
    including the cache-related header fields (particularly ETag) of the
    selected representation that has a matching entity-tag.  For all
    other request methods, the server MUST respond with a 412
    (Precondition Failed) status code.

    If the condition is met, the server MAY perform the requested method
    as if the If-None-Match header field did not exist, but MUST also
    ignore any If-Modified-Since header field(s) in the request.  That
    is, if no entity-tags match, then the server MUST NOT return a 304
    (Not Modified) response.

    If the request would, without the If-None-Match header field, result
    in anything other than a 2xx (Successful) or 304 (Not Modified)
    status code, then the If-None-Match header field MUST be ignored.
    (See Section 2.4 for a discussion of server behavior when both If-
    Modified-Since and If-None-Match appear in the same request.)

    Examples:

      If-None-Match: "xyzzy"
      If-None-Match: W/"xyzzy"
      If-None-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
      If-None-Match: W/"xyzzy", W/"r2d2xxxx", W/"c3piozzzz"
      If-None-Match: *

    The result of a request having both an If-None-Match header field and
    either an If-Match or an If-Unmodified-Since header field is
    undefined by this specification.


Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 00:05:36 2012
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 EC6B911E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:05:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.088
X-Spam-Level: 
X-Spam-Status: No, score=-9.088 tagged_above=-999 required=5 tests=[AWL=1.511, BAYES_00=-2.599, 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 d+5qqUcTls4N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:05:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C63711E80C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 00:05:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpDSr-0001KK-FQ for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 07:05:29 +0000
Resent-Date: Thu, 12 Jul 2012 07:05:29 +0000
Resent-Message-Id: <E1SpDSr-0001KK-FQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDSk-0001IQ-Fh for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 07:05:22 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDSf-000660-Md for ietf-http-wg@w3.org; Thu, 12 Jul 2012 07:05:22 +0000
Received: (qmail invoked by alias); 12 Jul 2012 07:04:51 -0000
Received: from p5DD96972.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.105.114] by mail.gmx.net (mp036) with SMTP; 12 Jul 2012 09:04:51 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+niSs1TkynuU0gjjuTpH28otWTTTuPD5GvedSicu BocwkOWj317zs4
Message-ID: <4FFE76E8.90904@gmx.de>
Date: Thu, 12 Jul 2012 09:04:08 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FFD7A86.3030305@gmx.de> <98853A40-F029-4FFD-B4E1-2A761261A7F9@mnot.net>
In-Reply-To: <98853A40-F029-4FFD-B4E1-2A761261A7F9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpDSf-000660-Md 60fb2968d6ad6bbadbb00a6288e8fc6d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #371: If-Modified-Since lacks definition for method != GET
Archived-At: <http://www.w3.org/mid/4FFE76E8.90904@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14103
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 2012-07-12 06:12, Mark Nottingham wrote:
> On 11/07/2012, at 11:07 PM, Julian Reschke wrote:
>
>>  From an off-list WGLC comment:
>>
>>>     3.3. If-Modified-Since
>>>
>>>         The "If-Modified-Since" header field MAY be used to make a request method conditional by modification date: if the selected representation has not been modified since the time specified in this field, then do not perform the request method; instead, respond as detailed below.
>>>
>>> This section doesn't seem to say anything about methods other than GET, yet the text seems to imply that a more general case is also covered below.
>>
>> -> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/371>
>>
>> Indeed, the spec doesn't really say; is it (a) undefined, (b) 304, or (c) 412?
>
>
> My .02 - 304 is clearly not correct.
>
> I'd be inclined to say undefined, as I don't think we want to promote IMS in these uses.

Well, "defining" is not the same thing as "promoting" :-)

Once we properly resolve the evaluation order issue 
(<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241>), the answer to 
this one probably will become more obvious.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 00:09:50 2012
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 5E83521F86D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:09:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.115
X-Spam-Level: 
X-Spam-Status: No, score=-9.115 tagged_above=-999 required=5 tests=[AWL=1.484, BAYES_00=-2.599, 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 7BY6nRjJ+mRl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:09:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 79F9B21F86CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 00:09:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpDWy-0001sW-2r for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 07:09:44 +0000
Resent-Date: Thu, 12 Jul 2012 07:09:44 +0000
Resent-Message-Id: <E1SpDWy-0001sW-2r@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDWq-0001qZ-Tv for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 07:09:36 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDWm-0006JQ-4E for ietf-http-wg@w3.org; Thu, 12 Jul 2012 07:09:36 +0000
Received: (qmail invoked by alias); 12 Jul 2012 07:09:05 -0000
Received: from p5DD96972.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.105.114] by mail.gmx.net (mp012) with SMTP; 12 Jul 2012 09:09:05 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19o3kBh5IdoNtV+Op+JSh1otZty6U+CxZADDUQdUM cejZjto7LH/4qa
Message-ID: <4FFE77E5.6020004@gmx.de>
Date: Thu, 12 Jul 2012 09:08:21 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net>
In-Reply-To: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpDWm-0006JQ-4E 3ce6bb9c580698b67e1d818fa236710d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/4FFE77E5.6020004@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14104
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 2012-07-03 09:37, Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241>
>
> Roy documented the evaluation order for conditional that Apache uses (which, he pointed out, is the only logical way to do it, once you look at it):
>
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241#comment:4>
> ...

I'd like to avoid to include pseudo-code like that *unless* it's really 
needed.

Do we really need to define the evaluation order? In what real-world 
situations well there be more than one condition?

Wouldn't it be simpler to:

1) Formally define the condition expressed by each header field,

and

2) State that all conditions must be met, otherwise a 412 will be 
returned (with the 304 variant special-cased).

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 00:12:27 2012
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 0D3FC21F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:12:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.567
X-Spam-Level: 
X-Spam-Status: No, score=-8.567 tagged_above=-999 required=5 tests=[AWL=2.032, BAYES_00=-2.599, 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 dCXBiPwU7YLi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:12:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5DE2321F86E4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 00:12:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpDZl-0003Uh-QQ for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 07:12:37 +0000
Resent-Date: Thu, 12 Jul 2012 07:12:37 +0000
Resent-Message-Id: <E1SpDZl-0003Uh-QQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpDZe-0003TZ-Tt for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 07:12:30 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpDZZ-0007mc-1k for ietf-http-wg@w3.org; Thu, 12 Jul 2012 07:12:30 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6C7Buq6004722; Thu, 12 Jul 2012 09:11:56 +0200
Date: Thu, 12 Jul 2012 09:11:56 +0200
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120712071156.GF4011@1wt.eu>
References: <4FFC8DF0.1050803@gmx.de> <D89FF4B6-675A-4104-BA33-3FEE6B27EB46@mnot.net> <4FFE765C.4070305@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4FFE765C.4070305@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpDZZ-0007mc-1k e9af615b9fe6f99191d87f78ef009ade
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #372: refactor conditional header field descriptions
Archived-At: <http://www.w3.org/mid/20120712071156.GF4011@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14105
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 Julian,

On Thu, Jul 12, 2012 at 09:01:48AM +0200, Julian Reschke wrote:
> Thanks; in the meantime I came to the conclusion that the definition of 
> "condition met" for If-None-Match needs to be reversed. (The text was 
> consistent, but in a confusing way). I also made the two definitions 
> more consistent.
>
> Proposed patch: 
> <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/372/372.2.diff>
(...)
> Feedback appreciated, Julian

The wording and use cases are very clear to me that way and I think this is
exactly what is needed ! I'd say "please don't change a word".

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 00:14:35 2012
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 7C7F811E80E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:14:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.142
X-Spam-Level: 
X-Spam-Status: No, score=-9.142 tagged_above=-999 required=5 tests=[AWL=1.457, BAYES_00=-2.599, 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 F9aQ+-ljabPD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 00:14:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D04A311E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 00:14:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpDbg-0003ic-5f for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 07:14:36 +0000
Resent-Date: Thu, 12 Jul 2012 07:14:36 +0000
Resent-Message-Id: <E1SpDbg-0003ic-5f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDbZ-0003hr-85 for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 07:14:29 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpDbT-0006WR-De for ietf-http-wg@w3.org; Thu, 12 Jul 2012 07:14:29 +0000
Received: (qmail invoked by alias); 12 Jul 2012 07:13:57 -0000
Received: from p5DD96972.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.105.114] by mail.gmx.net (mp040) with SMTP; 12 Jul 2012 09:13:57 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/TvVZEWMbTxfNKdubWeVcHDHi8l8FmGH8yXkvbDo 4cFeVdWtUqkdsz
Message-ID: <4FFE7907.9090404@gmx.de>
Date: Thu, 12 Jul 2012 09:13:11 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: mike amundsen <mamund@yahoo.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120702122902.23870.61484.idtracker@ietfa.amsl.com> <e1cf81b15824136e840b9325a9593086@treenet.co.nz> <CAPW_8m7rVzQ1zkY+KD3i2iEbeRJ7P-cUYwE46nCpnBS+1=+Tag@mail.gmail.com> <4FF29F26.1060802@gmx.de> <B073DC3E-3DD8-421B-926C-B870B0CE5532@mnot.net> <FFA15E0B-02CB-4172-97BB-B44605E31BAB@mnot.net> <4FF5CD40.50607@gmx.de> <4FF5D6A6.8080606@gmx.de>
In-Reply-To: <4FF5D6A6.8080606@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpDbT-0006WR-De 5a27d05519cea78598307203f139d103
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #364 Capturing more information in the method registry
Archived-At: <http://www.w3.org/mid/4FFE7907.9090404@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14106
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 2012-07-05 20:02, Julian Reschke wrote:
> ...
>> -> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1728>
> ...

I have marked the issue as "incorporated"; if we find out later on that 
one of the classifications was wrong then we can deal with that separately.

And again, please review the classifications in 
draft-ietf-httpbis-method-registrations!

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 03:18:26 2012
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 0906121F8680 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 03:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.51
X-Spam-Level: 
X-Spam-Status: No, score=-8.51 tagged_above=-999 required=5 tests=[AWL=2.089, BAYES_00=-2.599, 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 xif0r986tvgx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 03:18:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38BCB21F863D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 03:18:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpGSS-0002xI-47 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 10:17:16 +0000
Resent-Date: Thu, 12 Jul 2012 10:17:16 +0000
Resent-Message-Id: <E1SpGSS-0002xI-47@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpGSH-0002vW-9j for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 10:17:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpGS7-0006xc-Jb for ietf-http-wg@w3.org; Thu, 12 Jul 2012 10:17:05 +0000
Received: (qmail invoked by alias); 12 Jul 2012 10:16:28 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp031) with SMTP; 12 Jul 2012 12:16:28 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+HqK1kCymHSNt5XOc/uiGtxmoJ+UMFTYsLTxpQvq kZxjJMD90Pe22n
Message-ID: <4FFEA3F8.50108@gmx.de>
Date: Thu, 12 Jul 2012 12:16:24 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <4FFC8DF0.1050803@gmx.de> <D89FF4B6-675A-4104-BA33-3FEE6B27EB46@mnot.net> <4FFE765C.4070305@gmx.de> <20120712071156.GF4011@1wt.eu>
In-Reply-To: <20120712071156.GF4011@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpGS7-0006xc-Jb a8b3f40cc988dc0e1931122136533e88
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #372: refactor conditional header field descriptions
Archived-At: <http://www.w3.org/mid/4FFEA3F8.50108@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14107
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 2012-07-12 09:11, Willy Tarreau wrote:
> Hi Julian,
>
> On Thu, Jul 12, 2012 at 09:01:48AM +0200, Julian Reschke wrote:
>> Thanks; in the meantime I came to the conclusion that the definition of
>> "condition met" for If-None-Match needs to be reversed. (The text was
>> consistent, but in a confusing way). I also made the two definitions
>> more consistent.
>>
>> Proposed patch:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/372/372.2.diff>
> (...)
>> Feedback appreciated, Julian
>
> The wording and use cases are very clear to me that way and I think this is
> exactly what is needed ! I'd say "please don't change a word".
> ...

Your wish is my command: 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1761>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 07:21:22 2012
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 853F621F879A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 07:21:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 RGzzVSW5nldj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 07:21:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C7C7821F876F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 07:21:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpKF2-0006FQ-E8 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 14:19:40 +0000
Resent-Date: Thu, 12 Jul 2012 14:19:40 +0000
Resent-Message-Id: <E1SpKF2-0006FQ-E8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SpKEz-0006Ej-G5 for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 14:19:37 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SpKEu-00081f-Bn for ietf-http-wg@w3.org; Thu, 12 Jul 2012 14:19:37 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 157511069B; Thu, 12 Jul 2012 10:19:35 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 07F8B101A3 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 10:19:29 -0400 (EDT)
Message-ID: <1342102743.16408.74.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 12 Jul 2012 10:19:03 -0400
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SpKEu-00081f-Bn ecb1e807b581a0df67f6d3318d85a978
X-Original-To: ietf-http-wg@w3.org
Subject: Firefox Expression of Interest in HTTP/2.0
Archived-At: <http://www.w3.org/mid/1342102743.16408.74.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14108
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>

This is the Mozilla Firefox HTTP/2 Expression of Interest as per
http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI

The most severe limitations of the HTTP/1 Web transport framework
are poor performance over high latency networks and the routine
invasions of privacy end users endure when servers choose to operate in
plain text. Addressing these two concerns is the minimum bar at which
upsetting the current eco-system with a new protocol becomes worthwhile.

We have been working with SPDY since 2011 and have been pleased that the
result is a protocol that enhances confidentiality during transport 
while still providing performance improvements. In my experience, the 
better performance profile is driven fundamentally from multiplexing a 
large number of transactions concurrently without negatively impacting 
TCP’s congestion control scheme as HTTP/1 connection concurrency can. 
Other features such as prioritization and header compression play 
lesser, but sometimes still important, roles.

Quantifying the performance gains depends on both the composition of the
content and the connection latency. Our experience has been that typical
content and latency will generate whole page transfer time savings on 
the order of 10%, but the worst 20% of all latencies will see 
improvements 4 times as large. As we anticipate increasing 
Bandwidth:Delay products in the future this property of scaling with 
latency is SPDY’s largest contribution.

SPDY makes an excellent, though incomplete, basis for HTTP/2.

In support of this it is worth noting that there has been a lot of
operational experience around SPDY. Firefox has been able to work with
Chrome, Twitter, F5, Jetty, Google.com, Node.js, and many others to
work out operational issues. I believe in running code and what we
learn from it - and this extensive vetting is one of the most
compelling reasons to make this choice.

In addition to learning the strengths of SPDY we’ve learned where it
still needs to evolve. The client side credential infrastructure is
immature, server push holds promise but has solvable issues outstanding
around interaction with both client and third-party caches, and
connection management around mixed http/1 and SPDY environments has
proven to be the source of some frustration that could be alleviated
with standardization.

We have not implemented either draft-montenegro-httpbis-speed-mobility
or draft-tarreau-httpbis-network-friendly. While both are reasonable in
many ways, we don’t see an important compelling advantage of either as
a starting point over SPDY.  We welcome the code Microsoft has published 
in conjunction with their draft as an important contribution - but 
neither alternative proposal has the body of experience that SPDY 
offers. In my opinion they are best used as valued and informed inputs 
to the evolution of SPDY into HTTP/2.

However, if a community of critical mass were interested in
experimenting with a privacy-preserving variant of either we would
support that inquiry with code and data gathering telemetry available to
our testing audience and then decide whether or not to proceed based on 
that result. It is unlikely we would implement or ship any new transport
protocol that was not secure against at least passive eavesdropping
attacks.





From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 08:29:48 2012
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 655B021F86EC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 08:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 okq8yyxq0l5N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 08:29:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E06A921F85F0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 08:29:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpLJt-000714-DJ for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 15:28:45 +0000
Resent-Date: Thu, 12 Jul 2012 15:28:45 +0000
Resent-Message-Id: <E1SpLJt-000714-DJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Rob.Trace@microsoft.com>) id 1SpLJj-00070J-04 for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 15:28:35 +0000
Received: from ch1ehsobe005.messaging.microsoft.com ([216.32.181.185] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Rob.Trace@microsoft.com>) id 1SpLJg-0002Pt-9M for ietf-http-wg@w3.org; Thu, 12 Jul 2012 15:28:34 +0000
Received: from mail107-ch1-R.bigfish.com (10.43.68.245) by CH1EHSOBE010.bigfish.com (10.43.70.60) with Microsoft SMTP Server id 14.1.225.23; Thu, 12 Jul 2012 15:28:04 +0000
Received: from mail107-ch1 (localhost [127.0.0.1])	by mail107-ch1-R.bigfish.com (Postfix) with ESMTP id F20DB2A0418	for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 15:28:03 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -20
X-BigFish: VS-20(zzc85fhzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25hf0ah107ah)
Received-SPF: pass (mail107-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Rob.Trace@microsoft.com; helo=TK5EX14MLTC104.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail107-ch1 (localhost.localdomain [127.0.0.1]) by mail107-ch1 (MessageSwitch) id 1342106881299524_26674; Thu, 12 Jul 2012 15:28:01 +0000 (UTC)
Received: from CH1EHSMHS030.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.231])	by mail107-ch1.bigfish.com (Postfix) with ESMTP id 47A1F1A0043	for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 15:28:01 +0000 (UTC)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS030.bigfish.com (10.43.70.30) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 12 Jul 2012 15:27:59 +0000
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) with Microsoft SMTP Server (TLS) id 14.2.298.5; Thu, 12 Jul 2012 15:27:34 +0000
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) with Microsoft SMTP Server (TLS) id 14.2.309.3; Thu, 12 Jul 2012 08:27:34 -0700
Received: from TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com ([169.254.5.160]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi id 14.02.0309.003; Thu, 12 Jul 2012 08:27:34 -0700
From: Rob Trace <Rob.Trace@microsoft.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: Ac1gQlxOk6pdx4eSQSi8/Ice4asRzg==
Date: Thu, 12 Jul 2012 15:27:33 +0000
Message-ID: <FF649A28BA27384396FD4F7BADF45DDF382BD0F0@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: multipart/alternative; boundary="_000_FF649A28BA27384396FD4F7BADF45DDF382BD0F0TK5EX14MBXW605w_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.185; envelope-from=Rob.Trace@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpLJg-0002Pt-9M 509709cba4e8856c26238a11685b23b2
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/FF649A28BA27384396FD4F7BADF45DDF382BD0F0@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14109
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>

--_000_FF649A28BA27384396FD4F7BADF45DDF382BD0F0TK5EX14MBXW605w_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

This expression of interest supports our HTTP Speed+Mobility proposal as a =
starting point for HTTP 2.0.





"briefly describe your implementation or deployment before giving your feed=
back on all of the proposals"



We have client and server stacks for HTTP 1.1 and associated APIs, with mas=
sive deployment in consumer scenarios, corporate and large organizations, c=
loud, etc. We use HTTP in many different ways and scenarios, including brow=
sers and client apps, web servers and web services, media delivery, cloud a=
pplications, VPN, and many others.



"Have you already implemented / deployed this proposal? Do you intend to?"



We have implemented HTTP S+M, and the prototype is up to date with our late=
st specification release. Please refer to the relevant blog for highlights =
as well as to obtain the prototype, including source code:



http://blogs.msdn.com/b/interoperability/archive/2012/07/05/check-out-the-u=
pdated-http-speed-mobility-open-source-prototype.aspx



"Do you believe it is a good basis for standardization? Why / why not?"



Yes. This proposal addresses the goals that HTTPbis has set for HTTP 2.0 bu=
t does so while rooted on a set of principles we believe to be essential fo=
r the WG, the IETF and general applicability of HTTP: maintain HTTP semanti=
cs, reuse existing standards when possible, be broadly applicable, account =
for modern clients, etc.



For a summary of those principles please refer to:

http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility-02#secti=
on-1.1



"If it is adopted as the basis for further work, what concerns need to be a=
ddressed?"



Regardless of which of the three proposals is selected as the starting poin=
t, HTTP 2.0 has to address different issues which the WG must discuss and u=
ltimately decide on.



This amounts to a PROBLEM STATEMENT for HTTP 2.0. Our current thinking abou=
t such a problem statement is below. For each of the topics we summarize ou=
r current position, but the main point is that the WG should discuss the is=
sues and arrive at agreed-upon positions for each of these.



Problem Statement for HTTP 2.0.

1.       Negotiation: Setting up an instance of HTTP 2.0.



Our position: We believe in enabling a secure web, but we also believe that=
 to meet the principle of broad applicability, there cannot be a hard depen=
dency on TLS/SSL.  Accordingly, the negotiation must work for both "https" =
(over TLS) and "http" (no TLS).  We use HTTP Upgrade, which was originally =
meant for this purpose.



2.       Session Layer: This defines framing and maintenance of the HTTP 2.=
0 instance.



Our position: Our proposal reuses Websockets binary framing.



3.       Multiplexing Layer: This defines multiplexing HTTP requests over a=
 single TCP connection and maintenance of the multiplexing layer, including=
 flow control.



Our position: We are intrigued by the idea of using multiplexing to enable =
parallel download of multiple resource, to reduce the TCP overhead on conte=
nt servers and to reduce the need for domain sharding. We would like to hav=
e a data-driven discussion of how much actual efficiency can be gained thro=
ugh multiplexing, whether those gains can be obtained with sites that alrea=
dy use sharding, and whether the gains are worth the cost in complexity.

Flow Control: We believe that flow control is necessary with any MUX soluti=
on, but that flow control must be simple and should allow for full bandwidt=
h utilization by default.



4.       HTTP layering: How HTTP messages are layered over the above framin=
g and multiplexing.



Our position: We agree with reducing the overhead of headers in HTTP, eithe=
r through compression or binary encoding. We think that compression is simp=
le to implement but are open to discussing binary encoding methods suggeste=
d by proposals such as draft-tarreau-httpbis-network-friendly-00.

Beyond HTTP 2.0:

-          Server push or Client pull: We are interested in exploring serve=
r push or client pull as a separate specification from HTTP 2.0, one that i=
deally should work for HTTP 1.1 as well.



Thank you,



Rob






--_000_FF649A28BA27384396FD4F7BADF45DDF382BD0F0TK5EX14MBXW605w_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
	{mso-style-priority:1;
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:.5in;
	mso-add-space:auto;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParag=
raphCxSpFirst
	{mso-style-priority:34;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	mso-add-space:auto;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListPar=
agraphCxSpMiddle
	{mso-style-priority:34;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	mso-add-space:auto;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagra=
phCxSpLast
	{mso-style-priority:34;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:.5in;
	mso-add-space:auto;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:160968887;
	mso-list-type:hybrid;
	mso-list-template-ids:968941300 -382692248 67698691 67698693 67698689 6769=
8691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:20.25pt;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:592275368;
	mso-list-type:hybrid;
	mso-list-template-ids:-1038967150 67698703 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNoSpacing"><span style=3D"color:black">This expression of in=
terest supports our HTTP Speed&#43;Mobility proposal as a starting point fo=
r HTTP 2.0.<o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black"><o:p>&nbsp;</o:p></sp=
an></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black"><o:p>&nbsp;</o:p></sp=
an></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">&#8220;briefly descri=
be your implementation or deployment before giving your feedback on all of =
the proposals&#8221;<o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black"><o:p>&nbsp;</o:p></sp=
an></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">We have client and se=
rver stacks for HTTP 1.1 and associated APIs, with massive deployment in co=
nsumer scenarios, corporate and large organizations, cloud, etc. We use HTT=
P in many different ways and scenarios,
 including browsers and client apps, web servers and web services, media de=
livery, cloud applications, VPN, and many others.
<o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">&#8220;Have you alrea=
dy implemented / deployed this proposal? Do you intend to?&#8221;<o:p></o:p=
></span></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">We have implemented HTTP S&#43;M, and the prototy=
pe is up to date with our latest specification release. Please refer to the=
 relevant blog for highlights as well as to obtain the prototype, including=
 source code:<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing"><a href=3D"http://blogs.msdn.com/b/interoperabili=
ty/archive/2012/07/05/check-out-the-updated-http-speed-mobility-open-source=
-prototype.aspx">http://blogs.msdn.com/b/interoperability/archive/2012/07/0=
5/check-out-the-updated-http-speed-mobility-open-source-prototype.aspx</a><=
o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">&#8220;<span style=3D"color:black">Do you believe=
 it is a good basis for standardization? Why / why not?</span>&#8221;<o:p><=
/o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">Yes. This proposal addresses the goals that HTTPb=
is has set for HTTP 2.0 but does so while rooted on a set of principles we =
believe to be essential for the WG, the IETF and general applicability of H=
TTP: maintain HTTP semantics, reuse
 existing standards when possible, be broadly applicable, account for moder=
n clients, etc.<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">For a summary of those principles please refer to=
:<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><a href=3D"http://tools.ietf.org/html/draft-monte=
negro-httpbis-speed-mobility-02#section-1.1">http://tools.ietf.org/html/dra=
ft-montenegro-httpbis-speed-mobility-02#section-1.1</a><o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">&#8220;<span style=3D"color:black">If it is adopt=
ed as the basis for further work, what concerns need to be addressed?&#8221=
;<o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">Regardless of which o=
f the three proposals is selected as the starting point, HTTP 2.0 has to ad=
dress different issues which the WG must discuss and ultimately decide on.<=
o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black"><o:p>&nbsp;</o:p></sp=
an></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">This amounts to a PRO=
BLEM STATEMENT for HTTP 2.0. Our current thinking about such a problem stat=
ement is below. For each of the topics we summarize our current position, b=
ut the main point is that the WG should
 discuss the issues and arrive at agreed-upon positions for each of these.<=
o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><b><span style=3D"color:black"><o:p>&nbsp;</o:p><=
/span></b></p>
<p class=3D"MsoNoSpacing"><b><span style=3D"color:black">Problem Statement =
for HTTP 2.0.<o:p></o:p></span></b></p>
<p class=3D"MsoListParagraphCxSpFirst" style=3D"text-indent:-.25in;mso-list=
:l1 level1 lfo1">
<![if !supportLists]><span style=3D"mso-list:Ignore">1.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Negotiation: Setting up an instance of HTTP 2.0. <o=
:p></o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle">Our position: <span style=3D"line-h=
eight:115%">
We believe in enabling a secure web, but we also believe that to meet the p=
rinciple of broad applicability, there cannot be a hard dependency on TLS/S=
SL.&nbsp; Accordingly, the negotiation must work for both &#8220;https&#822=
1; (over TLS) and &#8220;http&#8221; (no TLS).&nbsp; We use HTTP Upgrade,
 which was originally meant for this purpose.</span><o:p></o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle" style=3D"text-indent:-.25in;mso-lis=
t:l1 level1 lfo1">
<![if !supportLists]><span style=3D"mso-list:Ignore">2.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Session Layer: This defines framing and maintenance=
 of the HTTP 2.0 instance.
<o:p></o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle">Our position: Our proposal reuses W=
ebsockets binary framing.<o:p></o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraphCxSpMiddle" style=3D"text-indent:-.25in;mso-lis=
t:l1 level1 lfo1">
<![if !supportLists]><span style=3D"color:black"><span style=3D"mso-list:Ig=
nore">3.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Multiplexing Layer: This defines multiplexin=
g HTTP requests over a single TCP connection and maintenance of the multipl=
exing layer, including flow control.<span style=3D"color:black"><o:p></o:p>=
</span></p>
<p class=3D"MsoListParagraphCxSpMiddle"><span style=3D"color:black"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoListParagraphCxSpMiddle">Our position: <span style=3D"color:=
black">We are intrigued by the idea of using multiplexing to enable paralle=
l download of multiple resource, to reduce the TCP overhead on content serv=
ers and to reduce the need for domain
 sharding. We would like to have a data-driven discussion of how much actua=
l efficiency can be gained through multiplexing, whether those gains can be=
 obtained with sites that already use sharding, and whether the gains are w=
orth the cost in complexity.
<o:p></o:p></span></p>
<p class=3D"MsoListParagraphCxSpMiddle"><span style=3D"line-height:115%;col=
or:black">Flow Control: We believe that flow control is necessary with any =
MUX solution, but that flow control must be simple and should allow for ful=
l bandwidth utilization by default.<o:p></o:p></span></p>
<p class=3D"MsoListParagraphCxSpMiddle"><span style=3D"line-height:115%;col=
or:black"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraphCxSpMiddle" style=3D"text-indent:-.25in;mso-lis=
t:l1 level1 lfo1">
<![if !supportLists]><span style=3D"line-height:115%;color:black"><span sty=
le=3D"mso-list:Ignore">4.<span style=3D"font:7.0pt &quot;Times New Roman&qu=
ot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>HTTP layering: How HTTP messages are layered=
 over the above framing and multiplexing.
<span style=3D"line-height:115%;color:black"><o:p></o:p></span></p>
<p class=3D"MsoListParagraphCxSpMiddle"><span style=3D"line-height:115%"><o=
:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraphCxSpLast"><span style=3D"line-height:115%">Our =
position: We agree with reducing the overhead of headers in HTTP, either th=
rough compression or binary encoding. We think that compression is simple t=
o implement but are open to discussing
 binary encoding methods suggested by proposals such as draft-tarreau-httpb=
is-network-friendly-00.</span><o:p></o:p></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">Beyond HTTP 2.0:<o:p>=
</o:p></span></p>
<p class=3D"MsoNoSpacing" style=3D"margin-left:20.25pt;text-indent:-.25in;m=
so-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"color:black"><span style=3D"mso-list:Ig=
nore">-<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><b><span style=3D"color:black">Server push o=
r Client pull</span></b><span style=3D"color:black">: We are interested in =
exploring server push or client pull as a separate specification from HTTP =
2.0, one that ideally should work for
 HTTP 1.1 as well.<o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">Thank you,<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">Rob<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black"><o:p>&nbsp;</o:p></sp=
an></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_FF649A28BA27384396FD4F7BADF45DDF382BD0F0TK5EX14MBXW605w_--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 09:20:46 2012
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 00CEF11E808F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:20:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.258
X-Spam-Level: 
X-Spam-Status: No, score=-9.258 tagged_above=-999 required=5 tests=[AWL=1.341, BAYES_00=-2.599, 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 XDM918Vn9jQL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:20:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5BD9221F85AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 09:20:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpM7h-0000di-W9 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 16:20:14 +0000
Resent-Date: Thu, 12 Jul 2012 16:20:13 +0000
Resent-Message-Id: <E1SpM7h-0000di-W9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpM7Z-0000bo-KR for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 16:20:05 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpM7U-0004FL-L1 for ietf-http-wg@w3.org; Thu, 12 Jul 2012 16:20:05 +0000
Received: by wibhm2 with SMTP id hm2so5649352wib.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 09:19:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lMWa4DEI8hmYO1ndGRtUWWdtP5608TMOFlYUjb+SDO4=; b=hFikvT/xJq6kmN+6vfC1S2AHDvRdD9mIT+Uh20NlIOJrugujDFXYseFnMJ+2na8mDl RpBFtBkghJqdr8GkWizEO5fCwpgGhlCZ4oAd1puE/7WxyjFbAip9o7ZPaSa/hgmO353/ LbbVZF9jUCnxIunEuLdQOeK3+GPwYMTIrplarKPNpmzyq82zQQRpqlcXK2nSiHRcPWps TMbGF0qoSCO3eBAcsCad7zBURZwXZNhtYtr7g62OVPxpV8zLyxAx7sn5VTWkRqFIpWi9 k+8Y8rZrii6FHrwJhSxjim/427qvgMSAf4kcLG/W01qL0a0x8Tpt2hgJuW7NWg7OsB1z Yffg==
Received: by 10.180.90.207 with SMTP id by15mr7935730wib.22.1342109974110; Thu, 12 Jul 2012 09:19:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Thu, 12 Jul 2012 09:19:13 -0700 (PDT)
In-Reply-To: <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com> <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 12 Jul 2012 09:19:13 -0700
Message-ID: <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpM7U-0004FL-L1 865304bfe10999f324408e9ce82e3b3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14110
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 Wed, Jul 11, 2012 at 6:51 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> What are the problems inherent in using Content-Integrity as a Trailer?
>
> Do the legacy clients botch chunked encoding?
>
>

Well, it appears that many existing 1.1 client, server and
intermediary implementations have taken the "trailers are optional"
idea to the extreme and either (a) provide no means of appending
trailers to the output, (b) provide no means of accessing trailers
included in the input or make it quite a bit more difficult to get to
them or (c) do not properly forward trailers on as a chunked message
flows from hop-to-hop. It's not clear at this point exactly how
widespread this problem is but it appears pervasive enough to make a
trailer-based content-integrity option problematic at best.

- James

> On Wed, Jul 11, 2012 at 7:44 PM, James M Snell <jasnell@gmail.com> wrote:
>> Phillip, just want to make sure that I'm keeping up with the
>> conversation thus far... Because of the problems inherent in using
>> Content-Integrity as a Trailer, is the idea then that
>> Content-Integrity would be a standard Header and that a new Transfer
>> or Content Encoding would be defined that supports an incremental
>> integrity check as a component of the encoding?
>>
>>   GET /some/uri HTTP/1.1
>>   Host: example.org
>>   TE: integrity
>>
>> For instance... something like...
>>
>>   HTTP/1.1 200 OK
>>   Content-Type: application/octet-stream
>>   Content-Integrity: SHA-256; modifier=123...; param="..."
>>   Transfer-Encoding: integrity
>>
>>   10
>>   {chunk of bytes}
>>   {digest}
>>   10
>>   {chunk of bytes}
>>   {digest}
>>   0
>>
>> - James
>>
>> On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
>>>> I agree that we need something better, and in particular that we ought
>>>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>>>> whence the key?  Also, what should the MAC be applied to?
>>>
>>> The MAC should be applied to the 8-bit clean message content (i.e.
>>> precisely that which is bounded by Content-Length)
>>>
>>> If we are talking about Web Services then the key would be established
>>> through some application layer key exchange (TBS).
>>>
>>> The key requirement from a performance standpoint as I see it is that
>>> the server has to be able to operate in a stateless fashion which
>>> means using a ticket like approach.
>>>
>>>
>>>> Using a MAC, having a shared session key, ties into HTTP
>>>> authentication.  We can definitely have a generic MAC for HTTP and say
>>>> that HTTP authentication mechanisms that can should output session
>>>> keys.  And the HTTP authentication would also have to take care of MAC
>>>> algorithm negotiation.  I'd be quite happy with this approach.
>>>
>>> I think that there is definitely an opportunity to make use of a
>>> ticket mode to tie the HTTP authentication to the HTTP channel.
>>>
>>>
>>>> One issue with this approach is: if we always use TLS (but we might
>>>> not), why do the extra session crypto?  What do we gain?  Do we need
>>>> to worry about content re-writing proxies, say, as in some 3G
>>>> networks?  If we always use TLS then it suffices to ensure that a) TLS
>>>> provides confidentiality protection, b) the server cert remains the
>>>> same for the length of the login session, c) we have a unique,
>>>> unpredictable session ID in the headers (what we might call a cookie,
>>>> though we don't want it to be a cookie as such).
>>>
>>> TLS is very large, very complex and was engineered from the assumption
>>> that there would be public key credentials on the client. Yes, people
>>> can train it to do other tricks, but doing that is a lot more complex
>>> than doing what we need in HTTP.
>>>
>>> In my particular Web Service I am using TLS but still want to have a
>>> transport layer authentication protection because I don't want to do a
>>> TLS public key negotiation on each transaction and I don't want to be
>>> bound to TLS session expiry.
>>>
>>> In a large commercial environment the TLS processing is often
>>> completely offloaded onto an accelerator that strips out the TLS and
>>> hands clean IP packets to the Web Service. Another frequent screw case
>>> is TLS proxies like bluecoat devices.
>>>
>>>
>>> But even in the simplest TLS use case, the TLS security context is
>>> really not exposed to the Web Server or the client in the way you
>>> would need to use it for Web Services authentication in the commonly
>>> used APIs. The problem is that TLS is designed to conceal all the
>>> complexity of crypto from the application. That is why it was called
>>> SSL at the start.
>>>
>>>
>>>> In one post you talked about sequencing and replay protection for
>>>> chunks.  Adding that to the MAC really gets us close to the MIC token
>>>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>>>> talking about having a sequence number.  As you say: this isn't
>>>> difficult; we've been doing this for a loooong time in Kerberos land.
>>>
>>> Heh, you could use a Kerberos token in my Omnibroker protocol if you
>>> wanted to. But since it is an opaque string of bytes as far as the
>>> client is concerned, well there is no reason to tie it to any one
>>> approach.
>>>
>>> People have been using kerberized cookies for years. The problem being
>>> that the cookie is not at all bound to the requests or responses.
>>>
>>>> Note that there's no need for sequence numbers to randomized given
>>>> that we have session keys, but sequence number windows add to the
>>>> state to be kept on the server side -- can we tolerate that? Note that
>>>> while session key state might be kept on the client in an encrypted
>>>> state ticket, session number windows cannot safely be kept that way --
>>>> they must be kept locally.  I tend to think that sequencing and replay
>>>> protection are the responsibility of the application -- all it needs
>>>> to do is add a sequence number to the chunks and manage its own
>>>> [per-resource] sequence number windows.
>>>
>>> The way I was thinking of helping the application was to provide a
>>> feature that allows Content-Integrity header to specify a key modifier
>>> as well as a ticket. The key used to calculate the MAC would then be
>>> the XOR of the modifier and the authentication key associated with the
>>> ticket.
>>>
>>>
>>>> Altogether we need: a session key identifier in the headers (this
>>>> should imply algorithm selection), a direction identifier (or separate
>>>> keys for each direction), a sequence number if we need sequencing
>>>> and/or replay detection, what content to MAC, and the MAC itself.
>>>
>>> Direction is already implicit in HTTP requests/responses.
>>>
>>> I don't think we need sequencing, we do need a modifier capability though.
>>>
>>>> Regarding what to MAC: the direction flag (unless we have diff keys
>>>> for each direction), the channel binding for the TLS channel (if we
>>>> have it), the URL?, some subset of headers? and the body.  Note that
>>>> applying the MAC to any headers requires that we say something about
>>>> canonicalization (e.g., "use the headers exactly as sent") and
>>>> canonical order (if a subset of headers) (e.g., "in the relative order
>>>> of appearance").  Header and body content need to be unambiguously
>>>> separated in the MAC input.  Obviously we can't MAC all headers: some
>>>> might be added by proxies, for example.
>>>
>>> I don't see the need to MAC any headers for a Web Service application.
>>> Put all the information in the content block.
>>>
>>> Otherwise we would have to do the sort of thing that DKIM does to sign
>>> headers and copy them.
>>>
>>>
>>> --
>>> Website: http://hallambaker.com/
>>>
>
>
>
> --
> Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 09:33:22 2012
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 AA37E21F860F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:33:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.028
X-Spam-Level: 
X-Spam-Status: No, score=-8.028 tagged_above=-999 required=5 tests=[AWL=2.571, BAYES_00=-2.599, 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 xaJGoZ80Hcas for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:33:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C5C121F858E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 09:33:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpMK1-00081q-KN for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 16:32:57 +0000
Resent-Date: Thu, 12 Jul 2012 16:32:57 +0000
Resent-Message-Id: <E1SpMK1-00081q-KN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpMJr-0007yl-UC for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 16:32:47 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpMJm-0007e6-Q5 for ietf-http-wg@w3.org; Thu, 12 Jul 2012 16:32:47 +0000
Received: by vcbgb30 with SMTP id gb30so1847164vcb.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 09:32:17 -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=NIKF9UQZeFDo2LlgqZTzyrgqENXS1gTDpBixwbgGSIA=; b=qUsirfo4DHwPSA2q42IrZnEswDTaLGBpbYmVl9MOVJpoW/KqwbF0GTxRlPdJNhV+Pa Vk2oOjd2WEJipjmb5CDG2mUFsWUqbKXo1CUhbip6K5v8sQ3L0RZ+UEan6WLhUNwqYFif 6FNgXgxhlafbZBleezXX70GmYy6B2S65vMcAlTSR9p3+/Ky6nrszwmdUjmLjFMpkBosI hLlZip8UjiB6AlSk2NlHj6/k14l65irwazrRc3s6PNKFBIOjvUXYO5UNUYHMEpm2wE8G zmMCW/EdCc4ZLrtSXKfFWLThqODg/hEdcd327qrlPoWTO7jDChqnTDxrWcOmAmruEuJ9 Qe7g==
MIME-Version: 1.0
Received: by 10.52.26.240 with SMTP id o16mr21865742vdg.20.1342110736723; Thu, 12 Jul 2012 09:32:16 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 12 Jul 2012 09:32:16 -0700 (PDT)
In-Reply-To: <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com> <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com> <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com>
Date: Thu, 12 Jul 2012 12:32:16 -0400
Message-ID: <CAMm+LwhxOD98jpFcPC=YC5QOywKFbesyVsRoL3wvKS1D_16Sog@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SpMJm-0007e6-Q5 de50e280b4d70ef6a805fd3635d384ce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CAMm+LwhxOD98jpFcPC=YC5QOywKFbesyVsRoL3wvKS1D_16Sog@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14111
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 suspected as much, but is 're-invent chunked in HTTP/1.1' any more
practical than 'make chunked worked in HTTP/1.1'.

This might be something that we just need to make happen in HTTP/2.0
as part of multiplexing. I am willing to spend some of my personal
time on that.

>From a Web Services point of view, I think we can manage with an
integrity header for cases where we need to support intermediaries and
restrict trailers to cases where we don't. In most cases we are going
to be layering over TLS in any case.


I am not really proposing this header to compete with TLS. The reason
I want it is to enable a closer binding of the authentication layer to
the content than I can get in TLS. In particular I observe that:

HTTP + JSON + Integrity Header ~= WS-*


I can't run TLS on the type of processor typical in embedded systems
for all sorts of reasons. But I can get a JSON stack and a frame
around it.


On Thu, Jul 12, 2012 at 12:19 PM, James M Snell <jasnell@gmail.com> wrote:
> On Wed, Jul 11, 2012 at 6:51 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> What are the problems inherent in using Content-Integrity as a Trailer?
>>
>> Do the legacy clients botch chunked encoding?
>>
>>
>
> Well, it appears that many existing 1.1 client, server and
> intermediary implementations have taken the "trailers are optional"
> idea to the extreme and either (a) provide no means of appending
> trailers to the output, (b) provide no means of accessing trailers
> included in the input or make it quite a bit more difficult to get to
> them or (c) do not properly forward trailers on as a chunked message
> flows from hop-to-hop. It's not clear at this point exactly how
> widespread this problem is but it appears pervasive enough to make a
> trailer-based content-integrity option problematic at best.
>
> - James
>
>> On Wed, Jul 11, 2012 at 7:44 PM, James M Snell <jasnell@gmail.com> wrote:
>>> Phillip, just want to make sure that I'm keeping up with the
>>> conversation thus far... Because of the problems inherent in using
>>> Content-Integrity as a Trailer, is the idea then that
>>> Content-Integrity would be a standard Header and that a new Transfer
>>> or Content Encoding would be defined that supports an incremental
>>> integrity check as a component of the encoding?
>>>
>>>   GET /some/uri HTTP/1.1
>>>   Host: example.org
>>>   TE: integrity
>>>
>>> For instance... something like...
>>>
>>>   HTTP/1.1 200 OK
>>>   Content-Type: application/octet-stream
>>>   Content-Integrity: SHA-256; modifier=123...; param="..."
>>>   Transfer-Encoding: integrity
>>>
>>>   10
>>>   {chunk of bytes}
>>>   {digest}
>>>   10
>>>   {chunk of bytes}
>>>   {digest}
>>>   0
>>>
>>> - James
>>>
>>> On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>>> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
>>>>> I agree that we need something better, and in particular that we ought
>>>>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>>>>> whence the key?  Also, what should the MAC be applied to?
>>>>
>>>> The MAC should be applied to the 8-bit clean message content (i.e.
>>>> precisely that which is bounded by Content-Length)
>>>>
>>>> If we are talking about Web Services then the key would be established
>>>> through some application layer key exchange (TBS).
>>>>
>>>> The key requirement from a performance standpoint as I see it is that
>>>> the server has to be able to operate in a stateless fashion which
>>>> means using a ticket like approach.
>>>>
>>>>
>>>>> Using a MAC, having a shared session key, ties into HTTP
>>>>> authentication.  We can definitely have a generic MAC for HTTP and say
>>>>> that HTTP authentication mechanisms that can should output session
>>>>> keys.  And the HTTP authentication would also have to take care of MAC
>>>>> algorithm negotiation.  I'd be quite happy with this approach.
>>>>
>>>> I think that there is definitely an opportunity to make use of a
>>>> ticket mode to tie the HTTP authentication to the HTTP channel.
>>>>
>>>>
>>>>> One issue with this approach is: if we always use TLS (but we might
>>>>> not), why do the extra session crypto?  What do we gain?  Do we need
>>>>> to worry about content re-writing proxies, say, as in some 3G
>>>>> networks?  If we always use TLS then it suffices to ensure that a) TLS
>>>>> provides confidentiality protection, b) the server cert remains the
>>>>> same for the length of the login session, c) we have a unique,
>>>>> unpredictable session ID in the headers (what we might call a cookie,
>>>>> though we don't want it to be a cookie as such).
>>>>
>>>> TLS is very large, very complex and was engineered from the assumption
>>>> that there would be public key credentials on the client. Yes, people
>>>> can train it to do other tricks, but doing that is a lot more complex
>>>> than doing what we need in HTTP.
>>>>
>>>> In my particular Web Service I am using TLS but still want to have a
>>>> transport layer authentication protection because I don't want to do a
>>>> TLS public key negotiation on each transaction and I don't want to be
>>>> bound to TLS session expiry.
>>>>
>>>> In a large commercial environment the TLS processing is often
>>>> completely offloaded onto an accelerator that strips out the TLS and
>>>> hands clean IP packets to the Web Service. Another frequent screw case
>>>> is TLS proxies like bluecoat devices.
>>>>
>>>>
>>>> But even in the simplest TLS use case, the TLS security context is
>>>> really not exposed to the Web Server or the client in the way you
>>>> would need to use it for Web Services authentication in the commonly
>>>> used APIs. The problem is that TLS is designed to conceal all the
>>>> complexity of crypto from the application. That is why it was called
>>>> SSL at the start.
>>>>
>>>>
>>>>> In one post you talked about sequencing and replay protection for
>>>>> chunks.  Adding that to the MAC really gets us close to the MIC token
>>>>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>>>>> talking about having a sequence number.  As you say: this isn't
>>>>> difficult; we've been doing this for a loooong time in Kerberos land.
>>>>
>>>> Heh, you could use a Kerberos token in my Omnibroker protocol if you
>>>> wanted to. But since it is an opaque string of bytes as far as the
>>>> client is concerned, well there is no reason to tie it to any one
>>>> approach.
>>>>
>>>> People have been using kerberized cookies for years. The problem being
>>>> that the cookie is not at all bound to the requests or responses.
>>>>
>>>>> Note that there's no need for sequence numbers to randomized given
>>>>> that we have session keys, but sequence number windows add to the
>>>>> state to be kept on the server side -- can we tolerate that? Note that
>>>>> while session key state might be kept on the client in an encrypted
>>>>> state ticket, session number windows cannot safely be kept that way --
>>>>> they must be kept locally.  I tend to think that sequencing and replay
>>>>> protection are the responsibility of the application -- all it needs
>>>>> to do is add a sequence number to the chunks and manage its own
>>>>> [per-resource] sequence number windows.
>>>>
>>>> The way I was thinking of helping the application was to provide a
>>>> feature that allows Content-Integrity header to specify a key modifier
>>>> as well as a ticket. The key used to calculate the MAC would then be
>>>> the XOR of the modifier and the authentication key associated with the
>>>> ticket.
>>>>
>>>>
>>>>> Altogether we need: a session key identifier in the headers (this
>>>>> should imply algorithm selection), a direction identifier (or separate
>>>>> keys for each direction), a sequence number if we need sequencing
>>>>> and/or replay detection, what content to MAC, and the MAC itself.
>>>>
>>>> Direction is already implicit in HTTP requests/responses.
>>>>
>>>> I don't think we need sequencing, we do need a modifier capability though.
>>>>
>>>>> Regarding what to MAC: the direction flag (unless we have diff keys
>>>>> for each direction), the channel binding for the TLS channel (if we
>>>>> have it), the URL?, some subset of headers? and the body.  Note that
>>>>> applying the MAC to any headers requires that we say something about
>>>>> canonicalization (e.g., "use the headers exactly as sent") and
>>>>> canonical order (if a subset of headers) (e.g., "in the relative order
>>>>> of appearance").  Header and body content need to be unambiguously
>>>>> separated in the MAC input.  Obviously we can't MAC all headers: some
>>>>> might be added by proxies, for example.
>>>>
>>>> I don't see the need to MAC any headers for a Web Service application.
>>>> Put all the information in the content block.
>>>>
>>>> Otherwise we would have to do the sort of thing that DKIM does to sign
>>>> headers and copy them.
>>>>
>>>>
>>>> --
>>>> Website: http://hallambaker.com/
>>>>
>>
>>
>>
>> --
>> Website: http://hallambaker.com/



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 09:42:39 2012
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 35A2E21F867A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:42:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.799
X-Spam-Level: 
X-Spam-Status: No, score=-8.799 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_41=0.6, J_CHICKENPOX_42=0.6, J_CHICKENPOX_51=0.6, 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 612NeHQ7EX2U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:42:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 964CA21F8671 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 09:42: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 1SpMTB-00058c-C1 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 16:42:25 +0000
Resent-Date: Thu, 12 Jul 2012 16:42:25 +0000
Resent-Message-Id: <E1SpMTB-00058c-C1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <wseltzer@w3.org>) id 1SpMT4-00057J-7d for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 16:42:18 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <wseltzer@w3.org>) id 1SpMT0-0005YV-8t; Thu, 12 Jul 2012 16:42:18 +0000
Received: from wseltzer by jay.w3.org with local (Exim 4.69) (envelope-from <wseltzer@w3.org>) id 1SpMT0-0004RH-2U; Thu, 12 Jul 2012 12:42:14 -0400
Date: Thu, 12 Jul 2012 12:42:14 -0400
From: Wendy Seltzer <wseltzer@w3.org>
To: Tim Bray <tbray@textuality.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120712164214.GB16521@jay.w3.org>
References: <20120710231600.5776.68143.idtracker@ietfa.amsl.com> <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com>
Organization: W3C
User-Agent: Mutt/1.5.18 (2008-05-17)
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpMT0-0005YV-8t b2a79195790bf53875226d404f1db527
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for 	draft-tbray-http-legally-restricted-status-01.txt
Archived-At: <http://www.w3.org/mid/20120712164214.GB16521@jay.w3.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14112
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 07/10/2012 07:25 PM, Tim Bray wrote:
> Since MNot has put this on the agenda, I thought I should revise one more
> time.  There?s one big change and a bunch of little ones.
> 
> Big: I went and talked to some subject-matter experts at Google who are
> paid to think about this sort of policy stuff, and some others who might
> have to implement it.  I got strong advice that the draft should not talk
> about ?legal restrictions? because this might carry an implication that the
> party emitting the 451 acknowledges that this is in fact a ?restriction?.
>  In fact, many parties get legal demands that they think might well be
> bogus but choose not to go to court for reasons of policy or cost; so
> they?d like to avoid implying that they acknowledge a ?restriction?.  I was
> advised that it was perfectly OK to report that legal ?demands? had been
> made, and eventually became convinced that this was more accurate. The
> Republican Guards call up and demand that you take down some links, and you
> think they might be full of crap, but they?re the Guards, so you can
> accurately report that the *demand* was made.

What about an additional recommendation that, where permitted, servers
should include a link to more information?

A link could provide information about the specific demand or the
general legal context. With Chilling Effects, I'm thinking, from the
other direction, about better standardizing the description and posting
of these demands, so it could be interesting to encourage pointers.

--Wendy


-- 
Wendy Seltzer -- wseltzer@w3.org +1.617.863.0613
http://wendy.seltzer.org/





From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 09:48:05 2012
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 55DB421F85F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:48:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.491
X-Spam-Level: 
X-Spam-Status: No, score=-8.491 tagged_above=-999 required=5 tests=[AWL=-0.315, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, J_CHICKENPOX_42=0.6, J_CHICKENPOX_51=0.6, 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 VIbqlflwhLli for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:48:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 839D621F8463 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 09:48:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpMYZ-0001p3-Ok for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 16:47:59 +0000
Resent-Date: Thu, 12 Jul 2012 16:47:59 +0000
Resent-Message-Id: <E1SpMYZ-0001p3-Ok@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SpMYS-0001lY-4p for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 16:47:52 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SpMYN-0000KL-H3 for ietf-http-wg@w3.org; Thu, 12 Jul 2012 16:47:52 +0000
Received: by obqv19 with SMTP id v19so3720075obq.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 09:47:21 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=oWZtvMsoghzt0ys6VpWw9zP5pEObZuNjIm3y0l6uWAs=; b=I1p9F8sChs+SxIOEMO6SQ7nmejx5fen1+IcTAq+S+2/e4cFNrdwKZMt4oXI93E3zQb juwMTdbfSymzTFjh+9m9GPkzRR8fbQjd6Ge3WwQNQC+qAhtGSjt7GNCVJNxfTfI58Tsp DXs7vVuSB2obIziIBcFzGlFBBm9JfsSKPDEbUZwrUm2va9gOy/Ir0ttM/pzgNmMxxrqG z83hU7rl29PBUXTJcZAF8tC6tCSOzG2jn1FA9XDwGNRQFJ0cbWLrKNV1BEaGw8GVPaNv +4CTivA9spW0PmokZaD3BSDk5jYqvL5i0l3bd5eu9ikS/WIk3Qim0Edvw9qsiyoGT+EK GyvQ==
MIME-Version: 1.0
Received: by 10.182.157.84 with SMTP id wk20mr45114006obb.57.1342111641476; Thu, 12 Jul 2012 09:47:21 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Thu, 12 Jul 2012 09:47:21 -0700 (PDT)
X-Originating-IP: [24.84.212.180]
In-Reply-To: <20120712164214.GB16521@jay.w3.org>
References: <20120710231600.5776.68143.idtracker@ietfa.amsl.com> <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com> <20120712164214.GB16521@jay.w3.org>
Date: Thu, 12 Jul 2012 09:47:21 -0700
Message-ID: <CAHBU6itCPbeuPQvLHm8qj5B8vtSNuvDWM4pO_jPJR+AyN9DZ-w@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Wendy Seltzer <wseltzer@w3.org>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04428b82a39d9404c4a4b7e0
X-Gm-Message-State: ALoCoQmDVi9UWKfWMMFSAfLhd6lfPRx8m5J9+WTS2YbVod9LtQZMmupUTfAyNZP/rLKI6iXMY9cR
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SpMYN-0000KL-H3 0612a8d83facc3aac6b9eed8a02ba54d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-01.txt
Archived-At: <http://www.w3.org/mid/CAHBU6itCPbeuPQvLHm8qj5B8vtSNuvDWM4pO_jPJR+AyN9DZ-w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14113
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>

--f46d04428b82a39d9404c4a4b7e0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hm, the draft now says =93 Responses using this status code SHOULD include =
an
explanation, in the response body, of the details of the legal demand:
which legal authority is making it, and what class of resources it applies
to.=94

These days, I=92d expect that by default such an explanation would be in HT=
ML
and include links; that=92s how I=92d do it, anyhow.  And most organization=
s
deploying this are probably somewhat in cover-their-asses mode & thus would
be incented to link to the primary references.

But of course, proposals to modify drafts are always in order, and since
this one has only had two passes by one person, it=92d be surprising if it
couldn=92t be improved. -T

On Thu, Jul 12, 2012 at 9:42 AM, Wendy Seltzer <wseltzer@w3.org> wrote:

> On 07/10/2012 07:25 PM, Tim Bray wrote:
> > Since MNot has put this on the agenda, I thought I should revise one mo=
re
> > time.  There?s one big change and a bunch of little ones.
> >
> > Big: I went and talked to some subject-matter experts at Google who are
> > paid to think about this sort of policy stuff, and some others who migh=
t
> > have to implement it.  I got strong advice that the draft should not ta=
lk
> > about ?legal restrictions? because this might carry an implication that
> the
> > party emitting the 451 acknowledges that this is in fact a ?restriction=
?.
> >  In fact, many parties get legal demands that they think might well be
> > bogus but choose not to go to court for reasons of policy or cost; so
> > they?d like to avoid implying that they acknowledge a ?restriction?.  I
> was
> > advised that it was perfectly OK to report that legal ?demands? had bee=
n
> > made, and eventually became convinced that this was more accurate. The
> > Republican Guards call up and demand that you take down some links, and
> you
> > think they might be full of crap, but they?re the Guards, so you can
> > accurately report that the *demand* was made.
>
> What about an additional recommendation that, where permitted, servers
> should include a link to more information?
>
> A link could provide information about the specific demand or the
> general legal context. With Chilling Effects, I'm thinking, from the
> other direction, about better standardizing the description and posting
> of these demands, so it could be interesting to encourage pointers.
>
> --Wendy
>
>
> --
> Wendy Seltzer -- wseltzer@w3.org +1.617.863.0613
> http://wendy.seltzer.org/
>
>
>
>

--f46d04428b82a39d9404c4a4b7e0
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hm, the draft now says =93=A0Responses using this status code SHOULD includ=
e an explanation, in the response body, of the details of the legal demand:=
 which legal=A0authority is making it, and what class of resources it appli=
es to.=94 =A0<div>
<br></div><div>These days, I=92d expect that by default such an explanation=
 would be in HTML and include links; that=92s how I=92d do it, anyhow. =A0A=
nd most organizations deploying this are probably somewhat in cover-their-a=
sses mode &amp; thus would be incented to link to the primary references. =
=A0</div>
<div><br></div><div>But of course, proposals to modify drafts are always in=
 order, and since this one has only had two passes by one person, it=92d be=
 surprising if it couldn=92t be improved. -T<br><br><div class=3D"gmail_quo=
te">
On Thu, Jul 12, 2012 at 9:42 AM, Wendy Seltzer <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:wseltzer@w3.org" target=3D"_blank">wseltzer@w3.org</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On 07/10/2012 07:25 PM, Tim Bray wrote:<br>
&gt; Since MNot has put this on the agenda, I thought I should revise one m=
ore<br>
</div>&gt; time. =A0There?s one big change and a bunch of little ones.<br>
<div class=3D"im">&gt;<br>
&gt; Big: I went and talked to some subject-matter experts at Google who ar=
e<br>
&gt; paid to think about this sort of policy stuff, and some others who mig=
ht<br>
&gt; have to implement it. =A0I got strong advice that the draft should not=
 talk<br>
</div>&gt; about ?legal restrictions? because this might carry an implicati=
on that the<br>
&gt; party emitting the 451 acknowledges that this is in fact a ?restrictio=
n?.<br>
<div class=3D"im">&gt; =A0In fact, many parties get legal demands that they=
 think might well be<br>
&gt; bogus but choose not to go to court for reasons of policy or cost; so<=
br>
</div>&gt; they?d like to avoid implying that they acknowledge a ?restricti=
on?. =A0I was<br>
&gt; advised that it was perfectly OK to report that legal ?demands? had be=
en<br>
<div class=3D"im">&gt; made, and eventually became convinced that this was =
more accurate. The<br>
&gt; Republican Guards call up and demand that you take down some links, an=
d you<br>
</div>&gt; think they might be full of crap, but they?re the Guards, so you=
 can<br>
<div class=3D"im">&gt; accurately report that the *demand* was made.<br>
<br>
</div>What about an additional recommendation that, where permitted, server=
s<br>
should include a link to more information?<br>
<br>
A link could provide information about the specific demand or the<br>
general legal context. With Chilling Effects, I&#39;m thinking, from the<br=
>
other direction, about better standardizing the description and posting<br>
of these demands, so it could be interesting to encourage pointers.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--Wendy<br>
<br>
<br>
--<br>
Wendy Seltzer -- <a href=3D"mailto:wseltzer@w3.org">wseltzer@w3.org</a> <a =
href=3D"tel:%2B1.617.863.0613" value=3D"+16178630613">+1.617.863.0613</a><b=
r>
<a href=3D"http://wendy.seltzer.org/" target=3D"_blank">http://wendy.seltze=
r.org/</a><br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>

--f46d04428b82a39d9404c4a4b7e0--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 09:48:16 2012
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 0958E21F8463 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:48:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.191
X-Spam-Level: 
X-Spam-Status: No, score=-7.191 tagged_above=-999 required=5 tests=[AWL=1.608, BAYES_00=-2.599, J_CHICKENPOX_41=0.6, J_CHICKENPOX_42=0.6, J_CHICKENPOX_51=0.6, 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 NsqLv8MSzzDA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 09:48:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 47DDA21F85F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 09:48:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpMYo-0001tI-7O for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 16:48:14 +0000
Resent-Date: Thu, 12 Jul 2012 16:48:14 +0000
Resent-Message-Id: <E1SpMYo-0001tI-7O@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpMYg-0001qM-PK for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 16:48:06 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpMYf-0005nC-KP; Thu, 12 Jul 2012 16:48:06 +0000
Received: by vbbfq11 with SMTP id fq11so1831311vbb.2 for <multiple recipients>; Thu, 12 Jul 2012 09:47:39 -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=9KzljkCO1v7Xz4d5L+7IqP9FZBxMnkgfbpC1roo4jv4=; b=Qk4p5romBQy9YsxX5G+otIfr5JwiI2TKUfGMELXwvzwaumk+9yFDTtBIVjiFT4ed6n 2+Qk8+vOo2n7vHB01C6D858LaoihE66Kw8cD6fxI4xCGU+/m449K+zDKuFmh26jDpS/U 8kOe3QhFl4jh/t346F+0rIBUtuafIT4qgEJKgJLZZRWYEon19IuLgOxtGK7E+XeoOM80 7VsqfcFkjiI/8fwXlgN382P2w340f4PGA4aBfiwMhlUyBv7Hc/T3feqkXDbjjg6Z+iX8 HBRM+fnNmnqymFmZISiFGxJCnIgP/B4ahg4i8cM+MNiiAuwJ+dTIIdCCrAm08jv8ToGz hUiQ==
MIME-Version: 1.0
Received: by 10.52.72.44 with SMTP id a12mr21826532vdv.124.1342111659237; Thu, 12 Jul 2012 09:47:39 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 12 Jul 2012 09:47:39 -0700 (PDT)
In-Reply-To: <20120712164214.GB16521@jay.w3.org>
References: <20120710231600.5776.68143.idtracker@ietfa.amsl.com> <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com> <20120712164214.GB16521@jay.w3.org>
Date: Thu, 12 Jul 2012 12:47:39 -0400
Message-ID: <CAMm+LwjEOBK+hStsedp4g=ixuMErL_Q6uAH_bQtskFU+PKUQXw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Wendy Seltzer <wseltzer@w3.org>
Cc: Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpMYf-0005nC-KP f95ae09a82cb3a45b2f17238c3491c45
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-01.txt
Archived-At: <http://www.w3.org/mid/CAMm+LwjEOBK+hStsedp4g=ixuMErL_Q6uAH_bQtskFU+PKUQXw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14114
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>

A HTTP server can always return content with a status code but it will
only display in the browser if it is HTML or the like.

Formalizing some means of providing a link would be useful but
probably something for HTML rather than HTTP?

On Thu, Jul 12, 2012 at 12:42 PM, Wendy Seltzer <wseltzer@w3.org> wrote:
> On 07/10/2012 07:25 PM, Tim Bray wrote:
>> Since MNot has put this on the agenda, I thought I should revise one more
>> time.  There?s one big change and a bunch of little ones.
>>
>> Big: I went and talked to some subject-matter experts at Google who are
>> paid to think about this sort of policy stuff, and some others who might
>> have to implement it.  I got strong advice that the draft should not talk
>> about ?legal restrictions? because this might carry an implication that the
>> party emitting the 451 acknowledges that this is in fact a ?restriction?.
>>  In fact, many parties get legal demands that they think might well be
>> bogus but choose not to go to court for reasons of policy or cost; so
>> they?d like to avoid implying that they acknowledge a ?restriction?.  I was
>> advised that it was perfectly OK to report that legal ?demands? had been
>> made, and eventually became convinced that this was more accurate. The
>> Republican Guards call up and demand that you take down some links, and you
>> think they might be full of crap, but they?re the Guards, so you can
>> accurately report that the *demand* was made.
>
> What about an additional recommendation that, where permitted, servers
> should include a link to more information?
>
> A link could provide information about the specific demand or the
> general legal context. With Chilling Effects, I'm thinking, from the
> other direction, about better standardizing the description and posting
> of these demands, so it could be interesting to encourage pointers.
>
> --Wendy
>
>
> --
> Wendy Seltzer -- wseltzer@w3.org +1.617.863.0613
> http://wendy.seltzer.org/
>
>
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 10:01:56 2012
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 5B0D221F880E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:01:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.403
X-Spam-Level: 
X-Spam-Status: No, score=-8.403 tagged_above=-999 required=5 tests=[AWL=2.196, BAYES_00=-2.599, 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 UemoLH19c-br for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:01:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0454321F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 10:01:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpMll-00024Z-Nj for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 17:01:37 +0000
Resent-Date: Thu, 12 Jul 2012 17:01:37 +0000
Resent-Message-Id: <E1SpMll-00024Z-Nj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpMld-00021h-4w for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 17:01:29 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpMlW-0006C4-UP for ietf-http-wg@w3.org; Thu, 12 Jul 2012 17:01:29 +0000
Received: by weyx43 with SMTP id x43so1780056wey.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 10:00:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=p7n9P3Amy87oHjNvuu9qI6u8aQoagV4OLiibMPv9xpY=; b=DP/SILBuXDb4iU1RBSkJcc5vuWVdiKkoNqTKtAr5xkIMU3sSz0XAYItK8obWDrHDPX BzhMzqX27esUjP6oHtLcIadrmzb+QON1Pt8YvY7zrSnlAQi0pavueSS/zvUaZHOfvqI8 irdMjpnsXo14k2AYb0qIBPtTT9ZB51vzavE/Bit5CGRNibhYPVmwd5YjCUffiTSqFJFW coqZCUyrsOmYChKLPkd1B5mkXxk2brPJhSVSmu3Q4lB63Q2tnU6/Dt6MBFAXmsk0pmQO j0Hb5tKLbU4iCkuGEcleMlmBd0sxvXvHE3o3ENdaC5c8q0IQdgPqYF4Ow5BxZCPIra7R Zyxw==
Received: by 10.216.221.74 with SMTP id q52mr22859483wep.181.1342112456258; Thu, 12 Jul 2012 10:00:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Thu, 12 Jul 2012 10:00:35 -0700 (PDT)
In-Reply-To: <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com> <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com> <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 12 Jul 2012 10:00:35 -0700
Message-ID: <CABP7Rbd77_dLbFTkQ1zHUzFGQcbE=X5TJtCQ+BQtBnzuNcnF_A@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpMlW-0006C4-UP 9cdb93ad6e23d90fb7d2b6cb552e389e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CABP7Rbd77_dLbFTkQ1zHUzFGQcbE=X5TJtCQ+BQtBnzuNcnF_A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14115
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>

To provide one example... using the servlet API within Apache Tomcat
7... I can easily access trailers included in a post.. but there is no
obvious means of including a trailer in the response...

Given the input...

  POST /Testing/test HTTP/1.1
  Host: localhost
  Transfer-Encoding: chunked
  Content-Type: text/plain
  Trailer: x-foo
  TE: chunked

  4
  ABCD
  6
  EFGHIJ
  0
  x-foo: test

On the server side...

  protected void doPost(
    HttpServletRequest request,
    HttpServletResponse response)
      throws IOException {

    // outputs null since the trailer hasn't been parsed yet...
    System.out.println(request.getHeader("x-foo"));

    // consume the input
    InputStream in = request.getInputStream();
    int r = -1;
    while((r = in.read(new byte[100])) > -1) {}

    // outputs the value of the x-foo trailer... so far so good...
    System.out.println(request.getHeader("x-foo"));

    // let's do a chunked response and try that...
    response.addHeader("Trailer", "x-foo");
    OutputStream out = response.getOutputStream();
    for (int n = 0; n < 10000; n++) {
      out.write('a');
    }
    // x-foo is never included in the response...
    // there is no obvious means of including trailers
    // in chunked responses using the servlet api...
    response.addHeader("x-foo", "response");
  }

To make matters worse, whether or not the x-foo header is included in
the response is dependent entirely on the number of bytes written to
the output stream. If the number of bytes is small enough, tomcat
buffers everything and sends a non-chunked response, dropping x-foo in
as a header, rather than as a trailer, despite the explicit addition
of the "Trailer: x-foo" header. So far, I've been unable to uncover
any simple way of forcing chunked responses.

Now, to be fair, I could be overlooking something in my analysis, but
if tomcat and the servlet api do have a mechanism for sending trailers
in the response, it is, at best, quite non-obvious.

- James

On Thu, Jul 12, 2012 at 9:19 AM, James M Snell <jasnell@gmail.com> wrote:
> On Wed, Jul 11, 2012 at 6:51 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> What are the problems inherent in using Content-Integrity as a Trailer?
>>
>> Do the legacy clients botch chunked encoding?
>>
>>
>
> Well, it appears that many existing 1.1 client, server and
> intermediary implementations have taken the "trailers are optional"
> idea to the extreme and either (a) provide no means of appending
> trailers to the output, (b) provide no means of accessing trailers
> included in the input or make it quite a bit more difficult to get to
> them or (c) do not properly forward trailers on as a chunked message
> flows from hop-to-hop. It's not clear at this point exactly how
> widespread this problem is but it appears pervasive enough to make a
> trailer-based content-integrity option problematic at best.
>
> - James
>
>> On Wed, Jul 11, 2012 at 7:44 PM, James M Snell <jasnell@gmail.com> wrote:
>>> Phillip, just want to make sure that I'm keeping up with the
>>> conversation thus far... Because of the problems inherent in using
>>> Content-Integrity as a Trailer, is the idea then that
>>> Content-Integrity would be a standard Header and that a new Transfer
>>> or Content Encoding would be defined that supports an incremental
>>> integrity check as a component of the encoding?
>>>
>>>   GET /some/uri HTTP/1.1
>>>   Host: example.org
>>>   TE: integrity
>>>
>>> For instance... something like...
>>>
>>>   HTTP/1.1 200 OK
>>>   Content-Type: application/octet-stream
>>>   Content-Integrity: SHA-256; modifier=123...; param="..."
>>>   Transfer-Encoding: integrity
>>>
>>>   10
>>>   {chunk of bytes}
>>>   {digest}
>>>   10
>>>   {chunk of bytes}
>>>   {digest}
>>>   0
>>>
>>> - James
>>>
>>> On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>>> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
>>>>> I agree that we need something better, and in particular that we ought
>>>>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>>>>> whence the key?  Also, what should the MAC be applied to?
>>>>
>>>> The MAC should be applied to the 8-bit clean message content (i.e.
>>>> precisely that which is bounded by Content-Length)
>>>>
>>>> If we are talking about Web Services then the key would be established
>>>> through some application layer key exchange (TBS).
>>>>
>>>> The key requirement from a performance standpoint as I see it is that
>>>> the server has to be able to operate in a stateless fashion which
>>>> means using a ticket like approach.
>>>>
>>>>
>>>>> Using a MAC, having a shared session key, ties into HTTP
>>>>> authentication.  We can definitely have a generic MAC for HTTP and say
>>>>> that HTTP authentication mechanisms that can should output session
>>>>> keys.  And the HTTP authentication would also have to take care of MAC
>>>>> algorithm negotiation.  I'd be quite happy with this approach.
>>>>
>>>> I think that there is definitely an opportunity to make use of a
>>>> ticket mode to tie the HTTP authentication to the HTTP channel.
>>>>
>>>>
>>>>> One issue with this approach is: if we always use TLS (but we might
>>>>> not), why do the extra session crypto?  What do we gain?  Do we need
>>>>> to worry about content re-writing proxies, say, as in some 3G
>>>>> networks?  If we always use TLS then it suffices to ensure that a) TLS
>>>>> provides confidentiality protection, b) the server cert remains the
>>>>> same for the length of the login session, c) we have a unique,
>>>>> unpredictable session ID in the headers (what we might call a cookie,
>>>>> though we don't want it to be a cookie as such).
>>>>
>>>> TLS is very large, very complex and was engineered from the assumption
>>>> that there would be public key credentials on the client. Yes, people
>>>> can train it to do other tricks, but doing that is a lot more complex
>>>> than doing what we need in HTTP.
>>>>
>>>> In my particular Web Service I am using TLS but still want to have a
>>>> transport layer authentication protection because I don't want to do a
>>>> TLS public key negotiation on each transaction and I don't want to be
>>>> bound to TLS session expiry.
>>>>
>>>> In a large commercial environment the TLS processing is often
>>>> completely offloaded onto an accelerator that strips out the TLS and
>>>> hands clean IP packets to the Web Service. Another frequent screw case
>>>> is TLS proxies like bluecoat devices.
>>>>
>>>>
>>>> But even in the simplest TLS use case, the TLS security context is
>>>> really not exposed to the Web Server or the client in the way you
>>>> would need to use it for Web Services authentication in the commonly
>>>> used APIs. The problem is that TLS is designed to conceal all the
>>>> complexity of crypto from the application. That is why it was called
>>>> SSL at the start.
>>>>
>>>>
>>>>> In one post you talked about sequencing and replay protection for
>>>>> chunks.  Adding that to the MAC really gets us close to the MIC token
>>>>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>>>>> talking about having a sequence number.  As you say: this isn't
>>>>> difficult; we've been doing this for a loooong time in Kerberos land.
>>>>
>>>> Heh, you could use a Kerberos token in my Omnibroker protocol if you
>>>> wanted to. But since it is an opaque string of bytes as far as the
>>>> client is concerned, well there is no reason to tie it to any one
>>>> approach.
>>>>
>>>> People have been using kerberized cookies for years. The problem being
>>>> that the cookie is not at all bound to the requests or responses.
>>>>
>>>>> Note that there's no need for sequence numbers to randomized given
>>>>> that we have session keys, but sequence number windows add to the
>>>>> state to be kept on the server side -- can we tolerate that? Note that
>>>>> while session key state might be kept on the client in an encrypted
>>>>> state ticket, session number windows cannot safely be kept that way --
>>>>> they must be kept locally.  I tend to think that sequencing and replay
>>>>> protection are the responsibility of the application -- all it needs
>>>>> to do is add a sequence number to the chunks and manage its own
>>>>> [per-resource] sequence number windows.
>>>>
>>>> The way I was thinking of helping the application was to provide a
>>>> feature that allows Content-Integrity header to specify a key modifier
>>>> as well as a ticket. The key used to calculate the MAC would then be
>>>> the XOR of the modifier and the authentication key associated with the
>>>> ticket.
>>>>
>>>>
>>>>> Altogether we need: a session key identifier in the headers (this
>>>>> should imply algorithm selection), a direction identifier (or separate
>>>>> keys for each direction), a sequence number if we need sequencing
>>>>> and/or replay detection, what content to MAC, and the MAC itself.
>>>>
>>>> Direction is already implicit in HTTP requests/responses.
>>>>
>>>> I don't think we need sequencing, we do need a modifier capability though.
>>>>
>>>>> Regarding what to MAC: the direction flag (unless we have diff keys
>>>>> for each direction), the channel binding for the TLS channel (if we
>>>>> have it), the URL?, some subset of headers? and the body.  Note that
>>>>> applying the MAC to any headers requires that we say something about
>>>>> canonicalization (e.g., "use the headers exactly as sent") and
>>>>> canonical order (if a subset of headers) (e.g., "in the relative order
>>>>> of appearance").  Header and body content need to be unambiguously
>>>>> separated in the MAC input.  Obviously we can't MAC all headers: some
>>>>> might be added by proxies, for example.
>>>>
>>>> I don't see the need to MAC any headers for a Web Service application.
>>>> Put all the information in the content block.
>>>>
>>>> Otherwise we would have to do the sort of thing that DKIM does to sign
>>>> headers and copy them.
>>>>
>>>>
>>>> --
>>>> Website: http://hallambaker.com/
>>>>
>>
>>
>>
>> --
>> Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 10:10:36 2012
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 8394211E80B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:10:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.551
X-Spam-Level: 
X-Spam-Status: No, score=-8.551 tagged_above=-999 required=5 tests=[AWL=2.048, BAYES_00=-2.599, 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 aTXPIw7fBqDb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:10:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 67DD011E8098 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 10:10:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpMuN-000577-9u for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 17:10:31 +0000
Resent-Date: Thu, 12 Jul 2012 17:10:31 +0000
Resent-Message-Id: <E1SpMuN-000577-9u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpMuG-00054q-2U for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 17:10:24 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpMuB-0006V0-NA for ietf-http-wg@w3.org; Thu, 12 Jul 2012 17:10:23 +0000
Received: (qmail invoked by alias); 12 Jul 2012 17:09:49 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp004) with SMTP; 12 Jul 2012 19:09:49 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/N8egvIOTNXfVOLzL7jpRlvGIX2tVB9GzmgeCX8n kQ98UaDJ7QyoCc
Message-ID: <4FFF04D8.8000403@gmx.de>
Date: Thu, 12 Jul 2012 19:09:44 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Phillip Hallam-Baker <hallam@gmail.com>,  Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com> <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com> <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com> <CABP7Rbd77_dLbFTkQ1zHUzFGQcbE=X5TJtCQ+BQtBnzuNcnF_A@mail.gmail.com>
In-Reply-To: <CABP7Rbd77_dLbFTkQ1zHUzFGQcbE=X5TJtCQ+BQtBnzuNcnF_A@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpMuB-0006V0-NA 0ccf4f4cfd5d40c48d9dfa8887c240f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/4FFF04D8.8000403@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14116
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 2012-07-12 19:00, James M Snell wrote:
> To provide one example... using the servlet API within Apache Tomcat
> 7... I can easily access trailers included in a post.. but there is no
> obvious means of including a trailer in the response...
>
> Given the input...
>
>    POST /Testing/test HTTP/1.1
>    Host: localhost
>    Transfer-Encoding: chunked
>    Content-Type: text/plain
>    Trailer: x-foo
>    TE: chunked
>
>    4
>    ABCD
>    6
>    EFGHIJ
>    0
>    x-foo: test
>
> On the server side...
>
>    protected void doPost(
>      HttpServletRequest request,
>      HttpServletResponse response)
>        throws IOException {
>
>      // outputs null since the trailer hasn't been parsed yet...
>      System.out.println(request.getHeader("x-foo"));
>
>      // consume the input
>      InputStream in = request.getInputStream();
>      int r = -1;
>      while((r = in.read(new byte[100])) > -1) {}
>
>      // outputs the value of the x-foo trailer... so far so good...
>      System.out.println(request.getHeader("x-foo"));
>
>      // let's do a chunked response and try that...
>      response.addHeader("Trailer", "x-foo");
>      OutputStream out = response.getOutputStream();
>      for (int n = 0; n < 10000; n++) {
>        out.write('a');
>      }
>      // x-foo is never included in the response...
>      // there is no obvious means of including trailers
>      // in chunked responses using the servlet api...
>      response.addHeader("x-foo", "response");
>    }
> ...


I have to say that I'm surprised that at least it works for trailers in 
a HttpServletRequest...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 10:40:35 2012
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 0D86811E8097 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:40:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.129
X-Spam-Level: 
X-Spam-Status: No, score=-8.129 tagged_above=-999 required=5 tests=[AWL=2.470, BAYES_00=-2.599, 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 LyVSsiRbERvX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:40:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 375C411E8098 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 10:40:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpNMz-0004Gb-6J for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 17:40:05 +0000
Resent-Date: Thu, 12 Jul 2012 17:40:05 +0000
Resent-Message-Id: <E1SpNMz-0004Gb-6J@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpNMq-000314-Fq for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 17:39:56 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpNMp-0007Xb-Aa for ietf-http-wg@w3.org; Thu, 12 Jul 2012 17:39:56 +0000
Received: by vbbfq11 with SMTP id fq11so1874457vbb.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 10:39:29 -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=HWMzxmQKv2PQZne18XIbV6hHoqXYoHG9uSlSsMbQ0tI=; b=yMpIuuFDTZGNf4OUdZaD3Fe9rtwS/RsJhNFcj1Om7WTGFmpgLmEk1j/XpZ/XW1cdZ1 LYdo//TiCLJehFxLBvWP1zXzotbKd1td7rC7bVo6wvbMOPo8iRP95hw5mMAULmBLp4gd MeyXazxJXxTxKJgKz84FCuWAmbc+EjZPwmJwJ4/R7MgY92Z6YrIcb3tDrjmqN91JM2MW xkTP9vkfQVX0MImOHWAyA86ZLNyAcaKDF4+N+k19Mz1nP+7q/chN9SIqY1pHo1XoCTFT qfcS9RmhnHnO+11QPHFsf836qSho0Hb4UemIhJ6i8eN+2hoGrAd6Bp6RG7sKbDG6GMqa D4DQ==
MIME-Version: 1.0
Received: by 10.220.219.7 with SMTP id hs7mr3173190vcb.0.1342114769587; Thu, 12 Jul 2012 10:39:29 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 12 Jul 2012 10:39:29 -0700 (PDT)
In-Reply-To: <4FFF04D8.8000403@gmx.de>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com> <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com> <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com> <CABP7Rbd77_dLbFTkQ1zHUzFGQcbE=X5TJtCQ+BQtBnzuNcnF_A@mail.gmail.com> <4FFF04D8.8000403@gmx.de>
Date: Thu, 12 Jul 2012 13:39:29 -0400
Message-ID: <CAMm+Lwi6X9SsB-wosch=KJ6wrK127s+9KHh8AyXE9KKNQeokww@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: James M Snell <jasnell@gmail.com>, Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpNMp-0007Xb-Aa 5295585a954955fb498b9be2a5dd0592
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CAMm+Lwi6X9SsB-wosch=KJ6wrK127s+9KHh8AyXE9KKNQeokww@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14117
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 am very big on legacy support.

But 'I can't implement this new Web service efficiently unless I
upgrade my server' is a much lower concern for me than 'I can't
implement unless I upgrade' which in turn is much less of a concern
than 'this won't work for granny with her IE4.0'

The ability to put the integrity check at the end is nice, not being
able to do that is not a concern for most Web services where the
transactions are pretty small and easily buffered in memory.

On Thu, Jul 12, 2012 at 1:09 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-07-12 19:00, James M Snell wrote:
>>
>> To provide one example... using the servlet API within Apache Tomcat
>> 7... I can easily access trailers included in a post.. but there is no
>> obvious means of including a trailer in the response...
>>
>> Given the input...
>>
>>    POST /Testing/test HTTP/1.1
>>    Host: localhost
>>    Transfer-Encoding: chunked
>>    Content-Type: text/plain
>>    Trailer: x-foo
>>    TE: chunked
>>
>>    4
>>    ABCD
>>    6
>>    EFGHIJ
>>    0
>>    x-foo: test
>>
>> On the server side...
>>
>>    protected void doPost(
>>      HttpServletRequest request,
>>      HttpServletResponse response)
>>        throws IOException {
>>
>>      // outputs null since the trailer hasn't been parsed yet...
>>      System.out.println(request.getHeader("x-foo"));
>>
>>      // consume the input
>>      InputStream in = request.getInputStream();
>>      int r = -1;
>>      while((r = in.read(new byte[100])) > -1) {}
>>
>>      // outputs the value of the x-foo trailer... so far so good...
>>      System.out.println(request.getHeader("x-foo"));
>>
>>      // let's do a chunked response and try that...
>>      response.addHeader("Trailer", "x-foo");
>>      OutputStream out = response.getOutputStream();
>>      for (int n = 0; n < 10000; n++) {
>>        out.write('a');
>>      }
>>      // x-foo is never included in the response...
>>      // there is no obvious means of including trailers
>>      // in chunked responses using the servlet api...
>>      response.addHeader("x-foo", "response");
>>    }
>> ...
>
>
>
> I have to say that I'm surprised that at least it works for trailers in a
> HttpServletRequest...
>
> Best regards, Julian



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 10:41:00 2012
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 EECAC11E8098 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:40:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.532
X-Spam-Level: 
X-Spam-Status: No, score=-8.532 tagged_above=-999 required=5 tests=[AWL=2.067, BAYES_00=-2.599, 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 iVAY2GYDjsIo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 10:40:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A97EC11E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 10:40:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpNNp-0004Lu-3q for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 17:40:57 +0000
Resent-Date: Thu, 12 Jul 2012 17:40:57 +0000
Resent-Message-Id: <E1SpNNp-0004Lu-3q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpNNg-0004L4-UD for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 17:40:48 +0000
Received: from mail-wg0-f48.google.com ([74.125.82.48]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpNNf-0002Nn-0p for ietf-http-wg@w3.org; Thu, 12 Jul 2012 17:40:48 +0000
Received: by wgbdq11 with SMTP id dq11so1584755wgb.5 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 10:40:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mQOUjH+3JXlH0TxdkUpv3YpaXV+jClAwsxmtWcJHvC0=; b=KJ/o1tLA1eVTNhHtyYvo+5zqO/gCUSuraXVeHtVrZT+OpgLg4kAyHivnLSK9jT9wZQ vdVmovmBoyC/92bIR0BizCu8Y/mvjVyEhs/N1o1NQ9CVZv6wmxbsjALrqEO7yMUGJZ4O bcedkY7cZJsoCSxV2BsJBiSo8CbucJ1nkMFV/bvTJ2tCWP2Au148oLpqZQ5rYE35Ylfe xn8vNxFGV3z4Lowkuw+Sfnb/I/V9J/UPkggzG+ZLFRdhEyrTW1lV9qpu0p9WEZ6YJnc3 eMxDfu/XX4Myjrn6YXvQBMzEWTvkRjxXWQRlYkIXkiQrZ3O2XnOWnIksGAkrzHrvy2kA l+nA==
Received: by 10.216.221.74 with SMTP id q52mr22928468wep.181.1342114820347; Thu, 12 Jul 2012 10:40:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Thu, 12 Jul 2012 10:40:00 -0700 (PDT)
In-Reply-To: <CAMm+LwhxOD98jpFcPC=YC5QOywKFbesyVsRoL3wvKS1D_16Sog@mail.gmail.com>
References: <CAK3OfOiA1LGw6oh_7BO6YAixW4bhz2B9-g=3a47+CSJZq+rfHw@mail.gmail.com> <CAMm+LwjPHYDOqvxLORLCKS9CS7w6ivsqTsb663MQ5PkuK1D_1Q@mail.gmail.com> <CABP7RbfaFTp5w87yzbN_caH5ZjYTYhTqCJhoDmb9TEc1HRHUtg@mail.gmail.com> <CAMm+LwjMRrhb8ou0-oHaUGqbHS4CGg6d5X_NsGgPMxyNMJihhA@mail.gmail.com> <CABP7Rbd43dv_Q7+kH5gQrvw6swGNP+KC4H4gAN7KKSq8A3BNyw@mail.gmail.com> <CAMm+LwhxOD98jpFcPC=YC5QOywKFbesyVsRoL3wvKS1D_16Sog@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 12 Jul 2012 10:40:00 -0700
Message-ID: <CABP7RbeXr6OAT7Cbv2xLUq9WvGiiiGbuTyjnxpOtmhLz-pPttA@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.48; envelope-from=jasnell@gmail.com; helo=mail-wg0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SpNNf-0002Nn-0p 9b155e40b73f41e8b1ebc125eb4573b8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CABP7RbeXr6OAT7Cbv2xLUq9WvGiiiGbuTyjnxpOtmhLz-pPttA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14118
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 Thu, Jul 12, 2012 at 9:32 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> I suspected as much, but is 're-invent chunked in HTTP/1.1' any more
> practical than 'make chunked worked in HTTP/1.1'.
>

Unfortunately no. For 1.1 it would appear that the only practical
approach would be An Ugly Hack at either the content or
content-encoding level, neither of which are great options for many
obvious reasons.

> This might be something that we just need to make happen in HTTP/2.0
> as part of multiplexing. I am willing to spend some of my personal
> time on that.
>

+1 ... I would very much like to see integrity checking added to
http/2.0 as well as a stronger requirement to support trailers in
general.




> From a Web Services point of view, I think we can manage with an
> integrity header for cases where we need to support intermediaries and
> restrict trailers to cases where we don't. In most cases we are going
> to be layering over TLS in any case.
>
>
> I am not really proposing this header to compete with TLS. The reason
> I want it is to enable a closer binding of the authentication layer to
> the content than I can get in TLS. In particular I observe that:
>
> HTTP + JSON + Integrity Header ~= WS-*
>
>
> I can't run TLS on the type of processor typical in embedded systems
> for all sorts of reasons. But I can get a JSON stack and a frame
> around it.
>
>
> On Thu, Jul 12, 2012 at 12:19 PM, James M Snell <jasnell@gmail.com> wrote:
>> On Wed, Jul 11, 2012 at 6:51 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>> What are the problems inherent in using Content-Integrity as a Trailer?
>>>
>>> Do the legacy clients botch chunked encoding?
>>>
>>>
>>
>> Well, it appears that many existing 1.1 client, server and
>> intermediary implementations have taken the "trailers are optional"
>> idea to the extreme and either (a) provide no means of appending
>> trailers to the output, (b) provide no means of accessing trailers
>> included in the input or make it quite a bit more difficult to get to
>> them or (c) do not properly forward trailers on as a chunked message
>> flows from hop-to-hop. It's not clear at this point exactly how
>> widespread this problem is but it appears pervasive enough to make a
>> trailer-based content-integrity option problematic at best.
>>
>> - James
>>
>>> On Wed, Jul 11, 2012 at 7:44 PM, James M Snell <jasnell@gmail.com> wrote:
>>>> Phillip, just want to make sure that I'm keeping up with the
>>>> conversation thus far... Because of the problems inherent in using
>>>> Content-Integrity as a Trailer, is the idea then that
>>>> Content-Integrity would be a standard Header and that a new Transfer
>>>> or Content Encoding would be defined that supports an incremental
>>>> integrity check as a component of the encoding?
>>>>
>>>>   GET /some/uri HTTP/1.1
>>>>   Host: example.org
>>>>   TE: integrity
>>>>
>>>> For instance... something like...
>>>>
>>>>   HTTP/1.1 200 OK
>>>>   Content-Type: application/octet-stream
>>>>   Content-Integrity: SHA-256; modifier=123...; param="..."
>>>>   Transfer-Encoding: integrity
>>>>
>>>>   10
>>>>   {chunk of bytes}
>>>>   {digest}
>>>>   10
>>>>   {chunk of bytes}
>>>>   {digest}
>>>>   0
>>>>
>>>> - James
>>>>
>>>> On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>>>> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams <nico@cryptonector.com> wrote:
>>>>>> I agree that we need something better, and in particular that we ought
>>>>>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>>>>>> whence the key?  Also, what should the MAC be applied to?
>>>>>
>>>>> The MAC should be applied to the 8-bit clean message content (i.e.
>>>>> precisely that which is bounded by Content-Length)
>>>>>
>>>>> If we are talking about Web Services then the key would be established
>>>>> through some application layer key exchange (TBS).
>>>>>
>>>>> The key requirement from a performance standpoint as I see it is that
>>>>> the server has to be able to operate in a stateless fashion which
>>>>> means using a ticket like approach.
>>>>>
>>>>>
>>>>>> Using a MAC, having a shared session key, ties into HTTP
>>>>>> authentication.  We can definitely have a generic MAC for HTTP and say
>>>>>> that HTTP authentication mechanisms that can should output session
>>>>>> keys.  And the HTTP authentication would also have to take care of MAC
>>>>>> algorithm negotiation.  I'd be quite happy with this approach.
>>>>>
>>>>> I think that there is definitely an opportunity to make use of a
>>>>> ticket mode to tie the HTTP authentication to the HTTP channel.
>>>>>
>>>>>
>>>>>> One issue with this approach is: if we always use TLS (but we might
>>>>>> not), why do the extra session crypto?  What do we gain?  Do we need
>>>>>> to worry about content re-writing proxies, say, as in some 3G
>>>>>> networks?  If we always use TLS then it suffices to ensure that a) TLS
>>>>>> provides confidentiality protection, b) the server cert remains the
>>>>>> same for the length of the login session, c) we have a unique,
>>>>>> unpredictable session ID in the headers (what we might call a cookie,
>>>>>> though we don't want it to be a cookie as such).
>>>>>
>>>>> TLS is very large, very complex and was engineered from the assumption
>>>>> that there would be public key credentials on the client. Yes, people
>>>>> can train it to do other tricks, but doing that is a lot more complex
>>>>> than doing what we need in HTTP.
>>>>>
>>>>> In my particular Web Service I am using TLS but still want to have a
>>>>> transport layer authentication protection because I don't want to do a
>>>>> TLS public key negotiation on each transaction and I don't want to be
>>>>> bound to TLS session expiry.
>>>>>
>>>>> In a large commercial environment the TLS processing is often
>>>>> completely offloaded onto an accelerator that strips out the TLS and
>>>>> hands clean IP packets to the Web Service. Another frequent screw case
>>>>> is TLS proxies like bluecoat devices.
>>>>>
>>>>>
>>>>> But even in the simplest TLS use case, the TLS security context is
>>>>> really not exposed to the Web Server or the client in the way you
>>>>> would need to use it for Web Services authentication in the commonly
>>>>> used APIs. The problem is that TLS is designed to conceal all the
>>>>> complexity of crypto from the application. That is why it was called
>>>>> SSL at the start.
>>>>>
>>>>>
>>>>>> In one post you talked about sequencing and replay protection for
>>>>>> chunks.  Adding that to the MAC really gets us close to the MIC token
>>>>>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>>>>>> talking about having a sequence number.  As you say: this isn't
>>>>>> difficult; we've been doing this for a loooong time in Kerberos land.
>>>>>
>>>>> Heh, you could use a Kerberos token in my Omnibroker protocol if you
>>>>> wanted to. But since it is an opaque string of bytes as far as the
>>>>> client is concerned, well there is no reason to tie it to any one
>>>>> approach.
>>>>>
>>>>> People have been using kerberized cookies for years. The problem being
>>>>> that the cookie is not at all bound to the requests or responses.
>>>>>
>>>>>> Note that there's no need for sequence numbers to randomized given
>>>>>> that we have session keys, but sequence number windows add to the
>>>>>> state to be kept on the server side -- can we tolerate that? Note that
>>>>>> while session key state might be kept on the client in an encrypted
>>>>>> state ticket, session number windows cannot safely be kept that way --
>>>>>> they must be kept locally.  I tend to think that sequencing and replay
>>>>>> protection are the responsibility of the application -- all it needs
>>>>>> to do is add a sequence number to the chunks and manage its own
>>>>>> [per-resource] sequence number windows.
>>>>>
>>>>> The way I was thinking of helping the application was to provide a
>>>>> feature that allows Content-Integrity header to specify a key modifier
>>>>> as well as a ticket. The key used to calculate the MAC would then be
>>>>> the XOR of the modifier and the authentication key associated with the
>>>>> ticket.
>>>>>
>>>>>
>>>>>> Altogether we need: a session key identifier in the headers (this
>>>>>> should imply algorithm selection), a direction identifier (or separate
>>>>>> keys for each direction), a sequence number if we need sequencing
>>>>>> and/or replay detection, what content to MAC, and the MAC itself.
>>>>>
>>>>> Direction is already implicit in HTTP requests/responses.
>>>>>
>>>>> I don't think we need sequencing, we do need a modifier capability though.
>>>>>
>>>>>> Regarding what to MAC: the direction flag (unless we have diff keys
>>>>>> for each direction), the channel binding for the TLS channel (if we
>>>>>> have it), the URL?, some subset of headers? and the body.  Note that
>>>>>> applying the MAC to any headers requires that we say something about
>>>>>> canonicalization (e.g., "use the headers exactly as sent") and
>>>>>> canonical order (if a subset of headers) (e.g., "in the relative order
>>>>>> of appearance").  Header and body content need to be unambiguously
>>>>>> separated in the MAC input.  Obviously we can't MAC all headers: some
>>>>>> might be added by proxies, for example.
>>>>>
>>>>> I don't see the need to MAC any headers for a Web Service application.
>>>>> Put all the information in the content block.
>>>>>
>>>>> Otherwise we would have to do the sort of thing that DKIM does to sign
>>>>> headers and copy them.
>>>>>
>>>>>
>>>>> --
>>>>> Website: http://hallambaker.com/
>>>>>
>>>
>>>
>>>
>>> --
>>> Website: http://hallambaker.com/
>
>
>
> --
> Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 11:39:25 2012
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 EB72D21F85F0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 11:39:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.447
X-Spam-Level: 
X-Spam-Status: No, score=-10.447 tagged_above=-999 required=5 tests=[AWL=0.152, BAYES_00=-2.599, 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 tr0VFQIBIQO6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 11:39:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E72BE21F85EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 11:39:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpOI0-0005Zu-Im for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 18:39:00 +0000
Resent-Date: Thu, 12 Jul 2012 18:39:00 +0000
Resent-Message-Id: <E1SpOI0-0005Zu-Im@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SpOHt-0005Yw-0X for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 18:38:53 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a97.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SpOHr-00012v-AY for ietf-http-wg@w3.org; Thu, 12 Jul 2012 18:38:52 +0000
Received: from homiemail-a97.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a97.g.dreamhost.com (Postfix) with ESMTP id 62D64286079; Thu, 12 Jul 2012 11:38:29 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=nU0mQNU6ckudLfVV inY5bnXtRbbNYazpSg1b3wwzfaHTg5Ta3SoWepu1PjbxwBv9YNe7Pbqb7ElRq8KU G/bnSq2dfoIf+N4SHUFBZ3lsYgNzf2be0G+sdb+6t8jPt39ozkuwLc6ZQRxaqwIS PcAVGqBfQ7y4bI8seASPqf+h5fo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=0jbeE9McML39m9+E/1u+gD5q6C8=; b=AGFcWPE+F2OPvX1KhD/xn8hQPMT7 OW1B2oEavyldqIaqPGaFPF8Cs8YOhPGx9zTbAXEd9Lf71rrd4bZjhHOIEBHDQxbB VgbdjMJNlwnLvWy/Z1Z0Irkz3ar5/Pvvsnlpi+T5p3ORy/c2fzLb6rofiDQRkbu1 o7iYWjw2HtPMXYw=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a97.g.dreamhost.com (Postfix) with ESMTPSA id 13626286078; Thu, 12 Jul 2012 11:38:26 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <4FFE77E5.6020004@gmx.de>
Date: Thu, 12 Jul 2012 11:38:26 -0700
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C81CC72-F639-41CF-9405-2210A1549C0C@gbiv.com>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net> <4FFE77E5.6020004@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=208.97.132.74; envelope-from=fielding@gbiv.com; helo=homiemail-a97.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SpOHr-00012v-AY b1bd48a1541b489c823629e91f3a649c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/3C81CC72-F639-41CF-9405-2210A1549C0C@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14119
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 Jul 12, 2012, at 12:08 AM, Julian Reschke wrote:

> On 2012-07-03 09:37, Mark Nottingham wrote:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241>
>>=20
>> Roy documented the evaluation order for conditional that Apache uses =
(which, he pointed out, is the only logical way to do it, once you look =
at it):
>>=20
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241#comment:4>
>> ...
>=20
> I'd like to avoid to include pseudo-code like that *unless* it's =
really needed.

So would I ... the text provided is just the comments from the code.
Once the result is agreed, we can work on text.

> Do we really need to define the evaluation order? In what real-world =
situations well there be more than one condition?
>=20
> Wouldn't it be simpler to:
>=20
> 1) Formally define the condition expressed by each header field,
>=20
> and
>=20
> 2) State that all conditions must be met, otherwise a 412 will be =
returned (with the 304 variant special-cased).

No, because it isn't true in practice (nor desired).  We actually
do want an etag to override last-modified even when IMS is false.

....Roy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 12:46:06 2012
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 523BC21F8690 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 12:46:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.123
X-Spam-Level: 
X-Spam-Status: No, score=-9.123 tagged_above=-999 required=5 tests=[AWL=1.476, BAYES_00=-2.599, 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 9aBwu1uGdFfm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 12:46:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C04C021F861A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 12:46:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpPKN-0007hH-56 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 19:45:31 +0000
Resent-Date: Thu, 12 Jul 2012 19:45:31 +0000
Resent-Message-Id: <E1SpPKN-0007hH-56@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpPKF-000799-5R for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 19:45:23 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpPKE-0003AT-6C for ietf-http-wg@w3.org; Thu, 12 Jul 2012 19:45:23 +0000
Received: (qmail invoked by alias); 12 Jul 2012 19:44:55 -0000
Received: from p5DD9703D.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.112.61] by mail.gmx.net (mp038) with SMTP; 12 Jul 2012 21:44:55 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+LdNRbwq+LOCO3cw7Q6SGPOBTmCpHSwnL0MovejK 8OHaOxm0zGyvX6
Message-ID: <4FFF292F.2080601@gmx.de>
Date: Thu, 12 Jul 2012 21:44:47 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net> <4FFE77E5.6020004@gmx.de> <3C81CC72-F639-41CF-9405-2210A1549C0C@gbiv.com>
In-Reply-To: <3C81CC72-F639-41CF-9405-2210A1549C0C@gbiv.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpPKE-0003AT-6C 5322d45505a90edddfa611093610228d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/4FFF292F.2080601@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14120
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 2012-07-12 20:38, Roy T. Fielding wrote:
> ...
> No, because it isn't true in practice (nor desired).  We actually
> do want an etag to override last-modified even when IMS is false.
> ...

So that use case is a request with both "If-None-Match" and 
"If-Modified-Since", where the Etag condition is true, but the timestamp 
condition is not?

Does this happen frequently in practice? What's the reason for sending 
both header fields when the ETag is available? (Trying to understand...)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 14:18:02 2012
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 DF11D11E80E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 14:18:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 FWxYfK3y9mcI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 14:18:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B2C7211E80DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 14:18:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpQku-0004zF-Rv for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 21:17:00 +0000
Resent-Date: Thu, 12 Jul 2012 21:17:00 +0000
Resent-Message-Id: <E1SpQku-0004zF-Rv@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1SpQkm-0004yU-2e for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 21:16:52 +0000
Received: from giant.haxx.se ([80.67.6.50]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1SpQkk-0006nH-Cu for ietf-http-wg@w3.org; Thu, 12 Jul 2012 21:16:52 +0000
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id q6CLGPCj001829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 12 Jul 2012 23:16:25 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id q6CLGNWl001818; Thu, 12 Jul 2012 23:16:24 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Thu, 12 Jul 2012 23:16:23 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: HTTP Working Group <ietf-http-wg@w3.org>
cc: libcurl hacking <curl-library@cool.haxx.se>
Message-ID: <alpine.DEB.2.00.1207031300240.1379@tvnag.unkk.fr>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
Received-SPF: pass client-ip=80.67.6.50; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpQkk-0006nH-Cu 4759dd0a050858c15d0fa41487a8de0c
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest: curl
Archived-At: <http://www.w3.org/mid/alpine.DEB.2.00.1207031300240.1379@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14121
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

This is a response to the call for expressions of interest:
http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI

BACKGROUND

I am the project leader and maintainer of the curl project[1]. We are the open 
source project that makes libcurl, the transfer library and curl the command 
line tool. It is among many things a client-side implementation of HTTP and 
HTTPS (and some dozen other application layer protocols). libcurl is very 
portable and there exist around 40 different bindings to libcurl for virtually 
all languages/enviornments imaginable. We estimate we might have upwards 500 
million users or so[2]. We're entirely voluntary driven without any paid 
developers or particular company backing.

HTTP/1.1 problems I'd like to see adressed

Pipelining - I can see how something that better deals with increasing 
bandwidths with stagnated RTT can improve the end users' experience. It is not 
easy to implement in a nice manner and provide in a library like ours.

Many connections - to avoid problems with pipelining and queueing on the 
connections, many connections are used and and it seems like a general waste 
that can be improved.

HTTP/2.0

We've implemented HTTP/1.1 and we intend to continue to implement any and all 
widely deployed transport layer protocols for data transfers that appear on 
the Internet. This includes HTTP/2.0 and similar related protocols.

curl has not yet implemented SPDY support, but fully intends to do so. The 
current plan is to provide SPDY support with the help of spindly[3], a 
separate SPDY library project that I lead.

We've selected to support SPDY due to the momentum it has and the multiple 
existing implementaions that A) have multi-company backing and B) prove it to 
be a truly working concept. SPDY seems to address HTTP's pipelining and many- 
connections problems in a decent way that appears to work in reality too. I 
believe SPDY keeps enough HTTP paradigms to be easily upgraded to for most 
parties, and yet the ones who can't or won't can remain with HTTP/1.1 without 
too much pain. Also, while Spindly is not production-ready, it has still given 
me the sense that implementing a SPDY protocol engine is not rocket science 
and that the existing protocol specs are good.

By relying on external libs for protocol and implementation details, my hopes 
is that we should be able to add support for other potentially coming 
HTTP/2.0-ish protocols that gets deployed and used in the wild. In the curl 
project we're unfortunately rarely able to be very pro-active due to the 
nature of our contributors, which tends to make us follow the rest and 
implement and go with what others have already decided to go with.

I'm not aware of any competitors to SPDY that is deployed or used to any 
particular and notable extent on the public internet so therefore no other 
"HTTP/2.0 protocol" has been considered by us. The two biggest protocol 
details people will keep mention that speak against SPDY is SSL and the 
compression requirements, yet I like both of them.

I intend to continue to participate in dicussions and technical arguments on 
the ietf-http-wg mailing list on HTTP details for as long as I have time and 
energy.

HTTP AUTH

curl currently supports Basic, Digest, NTLM and Negotiate for both host and 
proxy.

Similar to the HTTP protocol, we intend to support any widely adopted 
authentication protocols. The HOBA, SCRAM and Mutual auth suggestions all seem 
perfectly doable and fine in my perspective.

However, if there's no proper logout mechanism provided for HTTP auth I don't 
forsee any particular desire from browser vendor or web site creators to use 
any of these just like they don't use the older ones either to any significant 
extent. And for automatic (non-browser) uses only, I'm not sure there's 
motivation enough to add new auth protocols to HTTP as at least historically 
we seem to rarely be able to pull anything through that isn't pushed for by at 
least one of the major browsers.

The "updated HTTP auth" work should be kept outside of the HTTP/2.0 work as 
far as possible and similar to how RFC2617 is separate from RFC2616 it should 
be this time around too. The auth mechnism should not be too tightly knit to 
the HTTP protocol.

The day we can clense connection-oriented authentications like NTLM from the 
HTTP world will be a happy day, as it's state awareness is a pain to deal with 
in a generic HTTP library and code.

[1] = http://curl.haxx.se/
[2] = http://daniel.haxx.se/blog/2012/05/16/300m-users/
[3] = http://spindly.haxx.se/

-- 

  / daniel.haxx.se


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 15:19:21 2012
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 1EC5F21F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 15:19:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 bivlggLsjdNc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 15:19:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8F41B21F85C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 15:19:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpRiW-0007e9-03 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 22:18:36 +0000
Resent-Date: Thu, 12 Jul 2012 22:18:36 +0000
Resent-Message-Id: <E1SpRiW-0007e9-03@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SpRiO-0007dI-8T for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 22:18:28 +0000
Received: from prod-mail-xrelay05.akamai.com ([96.6.114.97]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SpRiM-0000IU-B5 for ietf-http-wg@w3.org; Thu, 12 Jul 2012 22:18:28 +0000
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id DC2961C48A9; Thu, 12 Jul 2012 22:17:59 +0000 (GMT)
Received: from prod-mail-relay04.akamai.com (prod-mail-relay04.akamai.com [172.27.8.27]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id CD3DC1C4803; Thu, 12 Jul 2012 22:17:59 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub7.dfw01.corp.akamai.com [172.27.33.73]) by prod-mail-relay04.akamai.com (Postfix) with ESMTP id C550147BD2; Thu, 12 Jul 2012 22:17:59 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub7.dfw01.corp.akamai.com ([172.27.33.73]) with mapi; Thu, 12 Jul 2012 17:17:59 -0500
From: "Ludin, Stephen" <sludin@akamai.com>
To: James M Snell <jasnell@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>
CC: Nico Williams <nico@cryptonector.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 12 Jul 2012 17:17:39 -0500
Thread-Topic: MACing HTTP requests/responses (Re: Content-Integrity header)
Thread-Index: Ac1gfDHQ63jhaAsJTvye/PlwtKXNyQ==
Message-ID: <CC249AE2.5ADD1%sludin@akamai.com>
In-Reply-To: <CABP7RbeXr6OAT7Cbv2xLUq9WvGiiiGbuTyjnxpOtmhLz-pPttA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.97; envelope-from=sludin@akamai.com; helo=prod-mail-xrelay05.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpRiM-0000IU-B5 18d411b19bc9e39f0ceb28417cd1a04c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MACing HTTP requests/responses (Re: Content-Integrity header)
Archived-At: <http://www.w3.org/mid/CC249AE2.5ADD1%25sludin@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14122
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 have lost track of which tendril of this thread has gone where, but put
me down as another +1 for Phillip's suggestion.

-stephen

On 7/12/12 10:40 AM, "James M Snell" <jasnell@gmail.com> wrote:

>On Thu, Jul 12, 2012 at 9:32 AM, Phillip Hallam-Baker <hallam@gmail.com>
>wrote:
>> I suspected as much, but is 're-invent chunked in HTTP/1.1' any more
>> practical than 'make chunked worked in HTTP/1.1'.
>>
>
>Unfortunately no. For 1.1 it would appear that the only practical
>approach would be An Ugly Hack at either the content or
>content-encoding level, neither of which are great options for many
>obvious reasons.
>
>> This might be something that we just need to make happen in HTTP/2.0
>> as part of multiplexing. I am willing to spend some of my personal
>> time on that.
>>
>
>+1 ... I would very much like to see integrity checking added to
>http/2.0 as well as a stronger requirement to support trailers in
>general.
>
>
>
>
>> From a Web Services point of view, I think we can manage with an
>> integrity header for cases where we need to support intermediaries and
>> restrict trailers to cases where we don't. In most cases we are going
>> to be layering over TLS in any case.
>>
>>
>> I am not really proposing this header to compete with TLS. The reason
>> I want it is to enable a closer binding of the authentication layer to
>> the content than I can get in TLS. In particular I observe that:
>>
>> HTTP + JSON + Integrity Header ~=3D WS-*
>>
>>
>> I can't run TLS on the type of processor typical in embedded systems
>> for all sorts of reasons. But I can get a JSON stack and a frame
>> around it.
>>
>>
>> On Thu, Jul 12, 2012 at 12:19 PM, James M Snell <jasnell@gmail.com>
>>wrote:
>>> On Wed, Jul 11, 2012 at 6:51 PM, Phillip Hallam-Baker
>>><hallam@gmail.com> wrote:
>>>> What are the problems inherent in using Content-Integrity as a
>>>>Trailer?
>>>>
>>>> Do the legacy clients botch chunked encoding?
>>>>
>>>>
>>>
>>> Well, it appears that many existing 1.1 client, server and
>>> intermediary implementations have taken the "trailers are optional"
>>> idea to the extreme and either (a) provide no means of appending
>>> trailers to the output, (b) provide no means of accessing trailers
>>> included in the input or make it quite a bit more difficult to get to
>>> them or (c) do not properly forward trailers on as a chunked message
>>> flows from hop-to-hop. It's not clear at this point exactly how
>>> widespread this problem is but it appears pervasive enough to make a
>>> trailer-based content-integrity option problematic at best.
>>>
>>> - James
>>>
>>>> On Wed, Jul 11, 2012 at 7:44 PM, James M Snell <jasnell@gmail.com>
>>>>wrote:
>>>>> Phillip, just want to make sure that I'm keeping up with the
>>>>> conversation thus far... Because of the problems inherent in using
>>>>> Content-Integrity as a Trailer, is the idea then that
>>>>> Content-Integrity would be a standard Header and that a new Transfer
>>>>> or Content Encoding would be defined that supports an incremental
>>>>> integrity check as a component of the encoding?
>>>>>
>>>>>   GET /some/uri HTTP/1.1
>>>>>   Host: example.org
>>>>>   TE: integrity
>>>>>
>>>>> For instance... something like...
>>>>>
>>>>>   HTTP/1.1 200 OK
>>>>>   Content-Type: application/octet-stream
>>>>>   Content-Integrity: SHA-256; modifier=3D123...; param=3D"..."
>>>>>   Transfer-Encoding: integrity
>>>>>
>>>>>   10
>>>>>   {chunk of bytes}
>>>>>   {digest}
>>>>>   10
>>>>>   {chunk of bytes}
>>>>>   {digest}
>>>>>   0
>>>>>
>>>>> - James
>>>>>
>>>>> On Wed, Jul 11, 2012 at 4:07 PM, Phillip Hallam-Baker
>>>>><hallam@gmail.com> wrote:
>>>>>> On Wed, Jul 11, 2012 at 2:43 PM, Nico Williams
>>>>>><nico@cryptonector.com> wrote:
>>>>>>> I agree that we need something better, and in particular that we
>>>>>>>ought
>>>>>>> to have a MAC instead of a plain hash.  The problem with a MAC is:
>>>>>>> whence the key?  Also, what should the MAC be applied to?
>>>>>>
>>>>>> The MAC should be applied to the 8-bit clean message content (i.e.
>>>>>> precisely that which is bounded by Content-Length)
>>>>>>
>>>>>> If we are talking about Web Services then the key would be
>>>>>>established
>>>>>> through some application layer key exchange (TBS).
>>>>>>
>>>>>> The key requirement from a performance standpoint as I see it is
>>>>>>that
>>>>>> the server has to be able to operate in a stateless fashion which
>>>>>> means using a ticket like approach.
>>>>>>
>>>>>>
>>>>>>> Using a MAC, having a shared session key, ties into HTTP
>>>>>>> authentication.  We can definitely have a generic MAC for HTTP and
>>>>>>>say
>>>>>>> that HTTP authentication mechanisms that can should output session
>>>>>>> keys.  And the HTTP authentication would also have to take care of
>>>>>>>MAC
>>>>>>> algorithm negotiation.  I'd be quite happy with this approach.
>>>>>>
>>>>>> I think that there is definitely an opportunity to make use of a
>>>>>> ticket mode to tie the HTTP authentication to the HTTP channel.
>>>>>>
>>>>>>
>>>>>>> One issue with this approach is: if we always use TLS (but we might
>>>>>>> not), why do the extra session crypto?  What do we gain?  Do we
>>>>>>>need
>>>>>>> to worry about content re-writing proxies, say, as in some 3G
>>>>>>> networks?  If we always use TLS then it suffices to ensure that a)
>>>>>>>TLS
>>>>>>> provides confidentiality protection, b) the server cert remains the
>>>>>>> same for the length of the login session, c) we have a unique,
>>>>>>> unpredictable session ID in the headers (what we might call a
>>>>>>>cookie,
>>>>>>> though we don't want it to be a cookie as such).
>>>>>>
>>>>>> TLS is very large, very complex and was engineered from the
>>>>>>assumption
>>>>>> that there would be public key credentials on the client. Yes,
>>>>>>people
>>>>>> can train it to do other tricks, but doing that is a lot more
>>>>>>complex
>>>>>> than doing what we need in HTTP.
>>>>>>
>>>>>> In my particular Web Service I am using TLS but still want to have a
>>>>>> transport layer authentication protection because I don't want to
>>>>>>do a
>>>>>> TLS public key negotiation on each transaction and I don't want to
>>>>>>be
>>>>>> bound to TLS session expiry.
>>>>>>
>>>>>> In a large commercial environment the TLS processing is often
>>>>>> completely offloaded onto an accelerator that strips out the TLS and
>>>>>> hands clean IP packets to the Web Service. Another frequent screw
>>>>>>case
>>>>>> is TLS proxies like bluecoat devices.
>>>>>>
>>>>>>
>>>>>> But even in the simplest TLS use case, the TLS security context is
>>>>>> really not exposed to the Web Server or the client in the way you
>>>>>> would need to use it for Web Services authentication in the commonly
>>>>>> used APIs. The problem is that TLS is designed to conceal all the
>>>>>> complexity of crypto from the application. That is why it was called
>>>>>> SSL at the start.
>>>>>>
>>>>>>
>>>>>>> In one post you talked about sequencing and replay protection for
>>>>>>> chunks.  Adding that to the MAC really gets us close to the MIC
>>>>>>>token
>>>>>>> features/design from RFCs 1964/4121 (Kerberos GSS mech).  We're
>>>>>>> talking about having a sequence number.  As you say: this isn't
>>>>>>> difficult; we've been doing this for a loooong time in Kerberos
>>>>>>>land.
>>>>>>
>>>>>> Heh, you could use a Kerberos token in my Omnibroker protocol if you
>>>>>> wanted to. But since it is an opaque string of bytes as far as the
>>>>>> client is concerned, well there is no reason to tie it to any one
>>>>>> approach.
>>>>>>
>>>>>> People have been using kerberized cookies for years. The problem
>>>>>>being
>>>>>> that the cookie is not at all bound to the requests or responses.
>>>>>>
>>>>>>> Note that there's no need for sequence numbers to randomized given
>>>>>>> that we have session keys, but sequence number windows add to the
>>>>>>> state to be kept on the server side -- can we tolerate that? Note
>>>>>>>that
>>>>>>> while session key state might be kept on the client in an encrypted
>>>>>>> state ticket, session number windows cannot safely be kept that
>>>>>>>way --
>>>>>>> they must be kept locally.  I tend to think that sequencing and
>>>>>>>replay
>>>>>>> protection are the responsibility of the application -- all it
>>>>>>>needs
>>>>>>> to do is add a sequence number to the chunks and manage its own
>>>>>>> [per-resource] sequence number windows.
>>>>>>
>>>>>> The way I was thinking of helping the application was to provide a
>>>>>> feature that allows Content-Integrity header to specify a key
>>>>>>modifier
>>>>>> as well as a ticket. The key used to calculate the MAC would then be
>>>>>> the XOR of the modifier and the authentication key associated with
>>>>>>the
>>>>>> ticket.
>>>>>>
>>>>>>
>>>>>>> Altogether we need: a session key identifier in the headers (this
>>>>>>> should imply algorithm selection), a direction identifier (or
>>>>>>>separate
>>>>>>> keys for each direction), a sequence number if we need sequencing
>>>>>>> and/or replay detection, what content to MAC, and the MAC itself.
>>>>>>
>>>>>> Direction is already implicit in HTTP requests/responses.
>>>>>>
>>>>>> I don't think we need sequencing, we do need a modifier capability
>>>>>>though.
>>>>>>
>>>>>>> Regarding what to MAC: the direction flag (unless we have diff keys
>>>>>>> for each direction), the channel binding for the TLS channel (if we
>>>>>>> have it), the URL?, some subset of headers? and the body.  Note
>>>>>>>that
>>>>>>> applying the MAC to any headers requires that we say something
>>>>>>>about
>>>>>>> canonicalization (e.g., "use the headers exactly as sent") and
>>>>>>> canonical order (if a subset of headers) (e.g., "in the relative
>>>>>>>order
>>>>>>> of appearance").  Header and body content need to be unambiguously
>>>>>>> separated in the MAC input.  Obviously we can't MAC all headers:
>>>>>>>some
>>>>>>> might be added by proxies, for example.
>>>>>>
>>>>>> I don't see the need to MAC any headers for a Web Service
>>>>>>application.
>>>>>> Put all the information in the content block.
>>>>>>
>>>>>> Otherwise we would have to do the sort of thing that DKIM does to
>>>>>>sign
>>>>>> headers and copy them.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Website: http://hallambaker.com/
>>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Website: http://hallambaker.com/
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>



From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 16:08:43 2012
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 E161721F863D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 16:08:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 FoD4GatTFtPf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 16:08:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 660EC21F8637 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 16:08:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpSUV-000266-WA for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 23:08:12 +0000
Resent-Date: Thu, 12 Jul 2012 23:08:11 +0000
Resent-Message-Id: <E1SpSUV-000266-WA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1SpSUN-00025P-TQ for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 23:08:03 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1SpSUM-0005y6-R2 for ietf-http-wg@w3.org; Thu, 12 Jul 2012 23:08:03 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 26C7E50A74; Thu, 12 Jul 2012 19:07:40 -0400 (EDT)
Date: Thu, 12 Jul 2012 17:07:28 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <20120712170728.9e578bfa.eric@bisonsystems.net>
In-Reply-To: <4FFF292F.2080601@gmx.de>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net> <4FFE77E5.6020004@gmx.de> <3C81CC72-F639-41CF-9405-2210A1549C0C@gbiv.com> <4FFF292F.2080601@gmx.de>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpSUM-0005y6-R2 547bda2a830d91e420da447ca0d6b1fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/20120712170728.9e578bfa.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14123
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>

Julian Reschke wrote:
>
> What's the reason for sending both header fields when the ETag is
> available? (Trying to understand...)
> 

HTTP 1.0 intermediary back-compat, so I've heard.

-Eric


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 16:50:10 2012
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 DF78711E80BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 16:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 TLTsv9RqSANW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 16:50:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 64B1511E80BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 16:50:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpT84-00030f-E2 for ietf-http-wg-dist@listhub.w3.org; Thu, 12 Jul 2012 23:49:04 +0000
Resent-Date: Thu, 12 Jul 2012 23:49:04 +0000
Resent-Message-Id: <E1SpT84-00030f-E2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpT7l-0002zl-HJ for ietf-http-wg@listhub.w3.org; Thu, 12 Jul 2012 23:48:45 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpT7j-0007F8-DS for ietf-http-wg@w3.org; Thu, 12 Jul 2012 23:48:45 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 6AD483B764 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 23:48:21 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6CNmK72041678 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 23:48:21 GMT (envelope-from phk@phk.freebsd.dk)
To: HTTP Working Group <ietf-http-wg@w3.org>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 12 Jul 2012 23:48:20 +0000
Message-ID: <41677.1342136900@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpT7j-0007F8-DS cc4cd2398bbf1e4cc3b3caa16e74d66c
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/41677.1342136900@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14124
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>

This is Varnish' response to the call for expression of interest
in HTTP/2[1].

Varnish
-------

Presently Varnish[2] only implements a subset of HTTP/1.1 consistent
with its hybrid/dual "http-server" / "http-proxy" role.

I cannot at this point say much about what Varnish will or will
not implement protocol wise in the future.

Our general policy is to only add protocols if we can do a better
job than the alternative, which is why we have not implemented HTTPS
for instance.

Should the outcome of the HTTP/2.0 effort result in a protocol which
gains traction, Varnish will probably implement it, but we are
unlikely to become an early implementation, given the current
proposals at the table.


Why I'm not impressed
---------------------

I have read all, and participated in one, of the three proposals
presently on the table.

Overall, I find all three proposals are focused on solving yesteryears
problems, rather than on creating a protocol that stands a chance
to last us the next 20 years.

Each proposal comes out of a particular "camp" and therefore
all seem to suffer a certain amount from tunnel-vision.

It is my considered opinion that none of the proposals have what
it will take to replace HTTP/1.1 in practice.


What if they made a new protocol, and nobody used it ?
------------------------------------------------------

We have learned, painfully, that an IPv6 which is only marginally
better than IPv4 and which offers no tangible benefit for the people
who have the cost/trouble of the upgrade, does not penetrate the
network on its own, and barely even on goverments mandate.

We have also learned that a protocol which delivers the goods can
replace all competition in virtually no time.

See for instance how SSH replaced TELNET, REXEC, RSH, SUPDUP, and
to a large extent KERBEROS, in a matter of a few years.

Or I might add, how HTTP replaced GOPHER[3].

HTTP/1.1 is arguably in the top-five most used protocols, after
IP, TCP, UDP and, sadly, ICMP, and therefore coming up with a
replacement should be approached humbly.


Beating HTTP/1.1
----------------

Fortunately, there are many ways to improve over HTTP/1.1, which
lacks support for several widely used features, and sports many
trouble-causing weeds, both of which are ripe for HTTP/2.0 to pounce
on.

Most notably HTTP/1.1 lacks a working session/endpoint-identity
facility, a shortcoming which people have pasted over with the
ill-conceived Cookie hack.

Cookies are, as the EU commision correctly noted, fundamentally
flawed, because they store potentially sensitive information on
whatever computer the user happens to use, and as a result of various
abuses and incompetences, EU felt compelled to legislate a "notice
and announce" policy for HTTP-cookies.

But it doesn't stop there:  The information stored in cookies have
potentialiiy very high value for the HTTP server, and because the
server has no control over the integrity of the storage, we are now
seing cookies being crypto-signed, to prevent forgeries.

The term "bass ackwards" comes to mind.

Cookies are also one of the main wasters of bandwidth, disabling
caching by default, sending lots of cookies were they are are not
needed, which made many sites register separate domains for image
content, to "save" bandwidth by avoiding cookies.

The term "not really helping" also comes to mind.

In my view, HTTP/2.0 should kill Cookies as a concept, and replace
it with a session/identity facility, which makes it easier to
do things right with HTTP/2.0 than with HTTP/1.1.

Being able to be "automatically in compliance" by using HTTP/2.0
no matter how big dick-heads your advertisers are or how incompetent
your web-developers are, would be a big selling point for HTTP/2.0
over HTTP/1.1.

However, as I read them, none of the three proposals try to address,
much less remedy, this situation, nor for that matter any of the
many other issues or troubles with HTTP/1.x.

What's even worse, they are all additive proposals, which add a
new layer of complexity without removing any of the old complexity
from the protocol.

My conclusion is that HTTP/2.0 is really just a grandiose name for
HTTP/1.2:  An attempt to smoothe out some sharp corners, to save a
bit of bandwidth, but not get anywhere near all the architectural
problems of HTTP/1.1 and to preserve faithfully its heritage of
badly thought out sedimentary hacks.

And therefore, I don't see much chance that the current crop of
HTTP/2.0 proposals will fare significantly better than IPv6 with
respect to adoption.


HTTP Routers
------------

One particular hot-spot in the HTTP world these days is the
"load-balancer" or as I prefer to call it, the "HTTP router".

These boxes sit at the DNS resolved IP numbers and distributes
client requests to a farm of HTTP servers, based on simple criteria
such as "Host:", URI patterns and/or server availability, sometimes
with an added twist of geo-location[4].

HTTP routers see very high traffic densities, the highest traffic
densities, because they are the focal point of DoS mitigation, flash
mobs and special event traffic spikes.

In the time frame where HTTP/2.0 will become standardized, HTTP
routers will routinely deal with 40Gbit/s traffic and people will
start to arcitect for 1Tbit/s traffic.

HTTP routers are usually only interested in a small part of the
HTTP request and barely in the response at all, usually only the
status code.

The demands for bandwidth efficiency has made makers of these devices
take many unwarranted shortcuts, for instance assuming that requests
always start on a packet boundary, "nulling out" HTTP headers by
changing the first character and so on.

Whatever HTTP/2.0 becomes, I strongly urge IETF and the WG to
formally recognize the role of HTTP routers, and to actively design
the protocol to make life easier for HTTP routers, so that they can
fulfill their job, while being standards compliant.

The need for HTTP routers does not disappear just because HTTPS is
employed, and serious thought should be turned to the question of
mixing HTTP and HTTPS traffic on the same TCP connection, while
allowing a HTTP router on the server side to correctly distribute
requests to different servers.

One simple way to gain a lot of benefit for little cost in this
area, would be to assign "flow-labels" which each are restricted
to one particular Host: header, allowing HTTP routers to only examine
the first request on each flow.


SPDY
----

SPDY has come a long way, and has served as a very worthwhile proof
of concept prototype, to document that there are gains to be had.

But as Frederick P. Brooks admonishes us:  Always throw the prototype
away and start over, because you will throw it away eventually, and
doing so early saves time and effort.

Overall, I find the design approach taken in SPDY deeply flawed.

For instance identifying the standardized HTTP headers, by a 4-byte
length and textual name, and then applying a deflate compressor to
save bandwidth is totally at odds with the job of HTTP routers which
need to quickly extract the Host: header in order to route the
traffic, preferably without committing extensive resources to each
request.

It is also not at all clear if the built-in dictionary is well
researched or just happens to work well for some subset of present
day websites, and at the very least some kind of versioning of this
dictionary should be incorporated.

It is still unclear for me if or how SPDY can be used on TCP port
80 or if it will need a WKS allocation of its own, which would open
a ton of issues with firewalling, filtering and proxying during
deployment.

(This is one of the things which makes it hard to avoid the feeling
that SPDY really wants to do away with all the "middle-men")

With my security-analyst hat on, I see a lot of DoS potential in
the SPDY protocol, many ways in which the client can make the server
expend resources, and foresee a lot of complexity in implementing
the server side to mitigate and deflect malicious traffic.

Server Push breaks the HTTP transaction model, and opens a pile of
cans of security and privacy issues, which whould not be sneaked
in during the design of a transport-encoding for HTTP/1+ traffic,
but rather be standardized as an independent and well analysed
extension to HTTP in general.


HTTP Speed+Mobility
-------------------

Is really just SPDY with WebSockets underneath.

I'm really not sure I see any benefit to that, execept that the
encoding chosen is marginally more efficient to implement in
hardware than SPDY.

I have not understood why it has "mobility" in the name, a word
which only makes an appearance in the ID as part of the name.

If the use of the word "mobility" only refers only to bandwidth
usage, I would call its use borderline-deceptive.

If it covers session stability across IP# changes for mobile
devices, I have missed it in my reading.


draft-tarreau-httpbis-network-friendly-00
-----------------------------------------

I have participated a little bit in this draft initially, but it
uses a number of concepts which I think are very problematic for
high performance (as in 1Tbit/s) implementations, for instance
variant-size length fields etc.

I do think the proposal is much better than the other two, taking
a much more fundamental view of the task, and if for no other reason,
because it takes an approach to bandwidth-saving based on enumeration
and repeat markers, rather than throwing everything after deflate
and hope for a miracle.

I think this protocol is the best basis to start from, but like
the other two, it has a long way to go, before it can truly 
earn the name HTTP/2.0.


Conclusion
----------

Overall, I don't see any of the three proposals offer anything that
will make the majority of web-sites go "Ohh we've been waiting for
that!"

Bigger sites will be entised by small bandwidth savings, but the
majority of the HTTP users will see scant or no net positive benefit
if one or more of these three proposals were to become HTTP/2.0

Considering how sketchy the HTTP/1.1 interop is described it is hard
to estimate how much trouble (as in: "Why doesn't this website work ?")
their deployment will cause, nor is it entirely clear to what extent
the experience with SPDY is representative of a wider deployment or
only of 'flying under the radar' with respect to people with an
interest in intercepting HTTP traffic.

Given the role of HTTP/1.1 in the net, I fear that the current rush
to push out a HTTP/2.0 by purely additive means is badly misguided,
and approaching a critical mass which will delay or prevent adoption
on its own.

At the end of the day, a HTTP request or a HTTP response is just
some metadata and an optional chunk of bytes as body, and if it
already takes 700 pages to standardize that, and HTTP/2.0 will add
another 100 pages to it, we're clearly doing something wrong.

I think it would be far better to start from scratch, look at what
HTTP/2.0 should actually do, and then design a simple, efficient
and future proof protocol to do just that, and leave behind all
the aggregations of badly thought out hacks of HTTP/1.1.

But to the extent that the WG produces a HTTP/2.0 protocol which
people will start to use, the Varnish project will be interested.


Poul-Henning Kamp
Author of Varnish


[1] http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI
[2] http://varnish-cache.org/
[3] Yes, I'm that old.
[4] Which is really a transport level job, but it was left out of IPv6
    along with other useful features, to not delay adoption[5].
[5] No, I'm not kidding.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 19:24:21 2012
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 4261011E8085 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 19:24:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 9jYFTXDQDT2i for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 19:24:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A781D11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 19:24:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpVWy-000872-SS for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 02:22:56 +0000
Resent-Date: Fri, 13 Jul 2012 02:22:56 +0000
Resent-Message-Id: <E1SpVWy-000872-SS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SpVWr-00086H-LD for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 02:22:49 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SpVWq-0003Ur-ND for ietf-http-wg@w3.org; Fri, 13 Jul 2012 02:22:49 +0000
Received: by vcbgb30 with SMTP id gb30so2210367vcb.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 19:22:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XyPKGVUgafPKslu9ev0zp/M4ntKHHS4CvQ+AKmhvXaU=; b=StVDKFL6i8WkmxfDdz+klJoNBkWnzXK6Yg1iULab6YmyltbvPcK/ZtOq79+ewQoGxH 7v1IepQzMXRO4D3FYFVM9Ot+HG2Vq/w1ch8rQXbZAioCqgfWvTAc0UcCApMjYCc+t0gH Tdi7H9rWLgCyse3bnKku9dHTRaflm4xT7vm4EdAcCaeCTcIkllOl5SvGAdAzReE39Fn4 1gK0dmlSeJoM5sBenLprF9BDYtKcuW5c2hczc0bB5EGLRD4CxbQHsAYzq+EUm3riJp3+ U1FqWHnJ+QH+AdFVVDRA909r67vw2XTRjhgmhDjgyWuefUA9ydt5q+2CbzN0qW3F8v4o 09CA==
MIME-Version: 1.0
Received: by 10.221.11.197 with SMTP id pf5mr285597vcb.29.1342146142850; Thu, 12 Jul 2012 19:22:22 -0700 (PDT)
Received: by 10.58.244.196 with HTTP; Thu, 12 Jul 2012 19:22:22 -0700 (PDT)
Date: Thu, 12 Jul 2012 19:22:22 -0700
Message-ID: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com>
From: Paul Hoffman <paul.hoffman@gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.220.171; envelope-from=paul.hoffman@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SpVWq-0003Ur-ND 0592784dcf4ded5a0340627b81d54d79
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14125
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>

Greetings again. I am not an implementer or a deployer. I am making
this statement of interest as Just Some Person. Please take these
comments in that light relative to those from implementers and
deployers.

Given what we know about users inability to choose good passwords and
their lack of ability to use good passwords that are chosen for them,
it is incredibly important that a non-password authentication
mechanism be described for HTTP 2. Thus, I support HOBA or something
HOBA-like. The HOBA proposal as it stands has a lot of significant
issues, but the idea of portable origin-bound certificates for HTTP
clients is the correct way to do non-password authentication for HTTP.
draft-williams-rest-gss relies on GSSAPI, which has thin adoption even
after many years. draft-montenegro-httpbis-multilegged-auth is an
interesting way to get non-password authentication (and NTLM!) into
HTTP, but I suspect that not having a mandatory authentication
mechanism that is widely supported will mean that this document will
go unimplemented.

At least one password-based authentication mechanism should also be
standardized for HTTP 2. Of these, draft-oiwa-httpbis-mutualauth and
draft-oiwa-httpbis-auth-extension seem to solve more of the problems
with passwords than draft-melnikov-httpbis-scram-auth.

I am willing to contribute to and review proposals for non-password
authentication. I am willing to provide a bit of late review to a
password-based proposal.

--Paul Hoffman


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 22:18:31 2012
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 CDFCF21F86B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:18:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level: 
X-Spam-Status: No, score=-7.104 tagged_above=-999 required=5 tests=[AWL=2.873, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 aJ047sOlwi-a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:18:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7766B21F86C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 22:18:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpYFr-0001jO-KU for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 05:17:27 +0000
Resent-Date: Fri, 13 Jul 2012 05:17:27 +0000
Resent-Message-Id: <E1SpYFr-0001jO-KU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpYFj-0001id-WA for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 05:17:20 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a65.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpYFi-00054k-ME for ietf-http-wg@w3.org; Fri, 13 Jul 2012 05:17:19 +0000
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id 4B5227E4062 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 22:16:57 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=UJ02V/sGqassoBMG5AY5x whCuhrlFVp3+6cEekwPFhe+8kEJtrkJQjiVy43BPs9anCkPricetaSjThFNsfs66 8PQodBMA0IW10Mor8LQDyzaaVCgsjH+gtnPGqB+33NxlzZHX1Tp37KHWqQ687Oe9 ZgyNwwpbNxB7AThGWtRZpg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=iKw/fMdBpQrlsilhkmzw LPzEVAU=; b=lCQBuxlFxoakWtM0nsCiAr57cKqKrz5zv2llyFDzwjs0N3KTowGh 2GhVrqWHsx4r7OlW0T+OrQC67bMVsodqRSt4xL/vGYo+wEhracTGo3vpzPzzkbId 8wCOvw/p4ZQWO3+NYpNn2onEl1+31qFP9Bzi4XPkuLcX+y5OUf+H2aw=
Received: from mail-gg0-f171.google.com (mail-gg0-f171.google.com [209.85.161.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id 2C8B47E4056 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 22:16:57 -0700 (PDT)
Received: by ggmi1 with SMTP id i1so3286974ggm.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 22:16:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.75.168 with SMTP id d8mr2051835paw.63.1342156616188; Thu, 12 Jul 2012 22:16:56 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Thu, 12 Jul 2012 22:16:56 -0700 (PDT)
In-Reply-To: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com>
Date: Fri, 13 Jul 2012 00:16:56 -0500
Message-ID: <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Paul Hoffman <paul.hoffman@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.74; envelope-from=nico@cryptonector.com; helo=homiemail-a65.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SpYFi-00054k-ME 67e5d773ab4abd4124deae02d466bb22
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14126
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 Thu, Jul 12, 2012 at 9:22 PM, Paul Hoffman <paul.hoffman@gmail.com> wrote:
> draft-williams-rest-gss relies on GSSAPI, which has thin adoption even
> after many years. [...]

If you consider that the SSPI is very similar to the GSS-API, and
wire-compatible with it anyways, then that assertion is quite clearly
incorrect.  SSPI is extremely widely used, both in proprietary
application protocols and standard ones (including TLS, since SSPI is
the interface to TLS in Windows).

The GSS-API has had a dearth of mechanisms for it deployed, but this
is beginning to change.  We now have all of these standardized and/or
deployed:

 - Kerberos (including IAKERB)
 - GSS-EAP (see ABFAB WG)
 - SCRAM
 - Microsoft's PKU2U (PKI, based on Kerberos w/ PKINIT)
 - the GSI mechanism that is really just TLS repackaged as GSS

   (See again how SSPI is the interface to TLS in Windows.
    It's also the interface to SASL.)

 - OAuth and SAML-based mechanisms are in the works as well.

It's easy enough to add new GSS-API mechanisms, but between GSS-EAP,
Kerberos (particularly with trust routing and bootstrapping
enhancements), PKU2U, OAuth, and SAML I think we have most needs
covered.  A ZKPP mechanism or three should be added, but unless that's
done in a way that federates then I think it's best to make sure that
GSS-EAP can use ZKPP EAP methods and Kerberos can use ZKPP
pre-authentication mechanisms.

The biggest Internet protocol users of the GSS-API are SSHv2 (yes,
really, SSHv2 w/ GSS and Kerberos is widely deployed in corporate
networks), LDAP (see again Windows), and NFS.  But also IMAP (see
Exchange), DNS (GSS-TSIG, see Active Directory and Windows) and
others.  There's also widely deployed non-Internet standards-track
protocols, such as SMB, as well as many proprietary protocols.  And
then there's HTTP/Negotiate -- how could I forget!  (though to be sure
I don't really like HTTP/Negotiate, otherwise I might just have
proposed that.)

Nico
--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 22:38:19 2012
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 A5E6921F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:38:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.109
X-Spam-Level: 
X-Spam-Status: No, score=-8.109 tagged_above=-999 required=5 tests=[AWL=2.490, BAYES_00=-2.599, 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 S0hIARy1zeJA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:38:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C1AF21F84FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 22:38:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpYZO-0000pf-0D for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 05:37:38 +0000
Resent-Date: Fri, 13 Jul 2012 05:37:38 +0000
Resent-Message-Id: <E1SpYZO-0000pf-0D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpYZG-0000oO-9P for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 05:37:30 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpYZE-0001Ro-VE for ietf-http-wg@w3.org; Fri, 13 Jul 2012 05:37:30 +0000
Received: by vbbfq11 with SMTP id fq11so2242424vbb.2 for <ietf-http-wg@w3.org>; Thu, 12 Jul 2012 22:37:03 -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=jLwEU56V9JMWBqqjACKV6LB6CQNq6I9mTXMf75gfA5A=; b=Q6a5Dv3w7fPa1Ofje9nOJ1BscxrdIQOsn7rX7Apu3EgoKuAxb9nrp8peCiplXyMuUj BuGpSTcYH3mTFASJ3vz7PaI7lTftBiUzKjIOjwzXj5gAz7ccWEcTOmKaIsq2ivJPl/Jl AaZaS0Dsfftt5EYE9gPNhzvVVOFjpe16ljeGSKGsCROY7pny71vXkyND5gw2ayz1FLTr WFjv5OfRxddeatQR++wLqwAIcDfNrEEWmzNh7eSNSJg0Yq/ve9v2I+AQ+qUROTKNknXR 6HMRPOdpd6v97xX4LKAKKOa2+cBcM9cRxLa99L8mnnaMd+iboI5RSGzzIXm2zdhoH8B7 +nmw==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr413321vdc.101.1342157822868; Thu, 12 Jul 2012 22:37:02 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 12 Jul 2012 22:37:02 -0700 (PDT)
In-Reply-To: <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com>
Date: Fri, 13 Jul 2012 01:37:02 -0400
Message-ID: <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SpYZE-0001Ro-VE 3600667310255bbd082f6ecb047fc7ce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14127
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 really dislike the idea of having a platform inside a platform

TLS is way too big for comfort. GSSAPI has mechanism on mechanism.


I don't want a choice of fifty ways to authenticate. I want exactly
one mechanism to support each type of authentication. I certainly
don't want a choice of crypto protocols to verify passwords. In fact I
don't want passwords to be flowing over the net at all. The proper use
of a password is to unlock the user's credential on their
authentication device.

SAML and OAUTH and the rest already define an interaction with HTTP.
If we want to adopt those as mechanisms we should adopt them directly
into HTTP and not introduce a platform step.

But even there we should not accept the whole of either spec. Much of
the argument in SAML went into the design of a mechanism that could be
used with legacy Web browsers. Same for OAUTH. Now it will certainly
be necessary to consider how we transition to HTTP 2.0 but I would
want to jettison the entire transition structure once we get there.


But really we have a much smaller set of concerns. In particular we
should distinguish between the different things that are called
'authentication' and we should not incorporate any mechanism into the
spec that is incompletely specified. By which I mean relying on out of
band configuration or exchange of credentials.

Specifically we have the following activities that are all known as
'authentication':

CREDENTIAL-Authentication Is this the user claiming to be the owner of
account 'X' the same user who was issuedaccount 'X'

RE-Authentication: Is this the same user that authenticated previously?

FED-Authentication: Is the user claiming to be acct:user@example.com
the same user that other sites accept as acct:user@example.com


Now credential authentication is a strict subset of the federated case
so it may not be desirable to distinguish the two on an ongoing basis
but RE-Authentication is something rather different.



On Fri, Jul 13, 2012 at 1:16 AM, Nico Williams <nico@cryptonector.com> wrote:
> On Thu, Jul 12, 2012 at 9:22 PM, Paul Hoffman <paul.hoffman@gmail.com> wrote:
>> draft-williams-rest-gss relies on GSSAPI, which has thin adoption even
>> after many years. [...]
>
> If you consider that the SSPI is very similar to the GSS-API, and
> wire-compatible with it anyways, then that assertion is quite clearly
> incorrect.  SSPI is extremely widely used, both in proprietary
> application protocols and standard ones (including TLS, since SSPI is
> the interface to TLS in Windows).
>
> The GSS-API has had a dearth of mechanisms for it deployed, but this
> is beginning to change.  We now have all of these standardized and/or
> deployed:
>
>  - Kerberos (including IAKERB)
>  - GSS-EAP (see ABFAB WG)
>  - SCRAM
>  - Microsoft's PKU2U (PKI, based on Kerberos w/ PKINIT)
>  - the GSI mechanism that is really just TLS repackaged as GSS
>
>    (See again how SSPI is the interface to TLS in Windows.
>     It's also the interface to SASL.)
>
>  - OAuth and SAML-based mechanisms are in the works as well.
>
> It's easy enough to add new GSS-API mechanisms, but between GSS-EAP,
> Kerberos (particularly with trust routing and bootstrapping
> enhancements), PKU2U, OAuth, and SAML I think we have most needs
> covered.  A ZKPP mechanism or three should be added, but unless that's
> done in a way that federates then I think it's best to make sure that
> GSS-EAP can use ZKPP EAP methods and Kerberos can use ZKPP
> pre-authentication mechanisms.
>
> The biggest Internet protocol users of the GSS-API are SSHv2 (yes,
> really, SSHv2 w/ GSS and Kerberos is widely deployed in corporate
> networks), LDAP (see again Windows), and NFS.  But also IMAP (see
> Exchange), DNS (GSS-TSIG, see Active Directory and Windows) and
> others.  There's also widely deployed non-Internet standards-track
> protocols, such as SMB, as well as many proprietary protocols.  And
> then there's HTTP/Negotiate -- how could I forget!  (though to be sure
> I don't really like HTTP/Negotiate, otherwise I might just have
> proposed that.)
>
> Nico
> --
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 12 22:42:36 2012
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 8271821F8767 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:42:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.485
X-Spam-Level: 
X-Spam-Status: No, score=-10.485 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, 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 E3AK6iAldq3L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 12 Jul 2012 22:42:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D04A521F8762 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 12 Jul 2012 22:42:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpYeD-0002Qx-3G for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 05:42:37 +0000
Resent-Date: Fri, 13 Jul 2012 05:42:37 +0000
Resent-Message-Id: <E1SpYeD-0002Qx-3G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SpYe5-0002Q7-L9 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 05:42:29 +0000
Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83] helo=homiemail-a16.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SpYe4-0001ZZ-4T for ietf-http-wg@w3.org; Fri, 13 Jul 2012 05:42:29 +0000
Received: from homiemail-a16.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTP id 079F550806E; Thu, 12 Jul 2012 22:42:07 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=x9BuHoFKrLiLdNSZ seUJQsLUgUI9OrE99dBU/nx97HPnbtPkjbCguR8M1cIRuTtD1CyTT0SKSm/lx34+ JzgsauYdS8tErdwhDgXyCBlQjIo00McUkBkxSeKVr/J4gdi824uR+ddAWmou+0FO Z+Ia0DcdY/z6iJ+VmO0LsZJQnJI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=JrkBG/QvuxhSU6zVvPQJkT9Itpc=; b=rLE6AGSbM/E1kw4ZiaiylGbYojYc i46QMQAnc5HuFLkudDD5xCEH36j8zJmWshw3Jx6p9HNbbCnxv1Vubd9yttLVeXAK s4dq3PT7v2E68RBGTFo2PHIUrYgOOAB+WNKt2TTeLglP9EP21AaoZB/pf+3yvQJI EYZZrVJWMO2QuT8=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTPSA id D58EA508069; Thu, 12 Jul 2012 22:42:06 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <20120712170728.9e578bfa.eric@bisonsystems.net>
Date: Thu, 12 Jul 2012 22:42:08 -0700
Cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <FB6102C9-9302-4D36-92C9-1BF099DC1B7E@gbiv.com>
References: <EB018B00-882E-4E3F-A7F0-ED9BD9C30F44@mnot.net> <4FFE77E5.6020004@gmx.de> <3C81CC72-F639-41CF-9405-2210A1549C0C@gbiv.com> <4FFF292F.2080601@gmx.de> <20120712170728.9e578bfa.eric@bisonsystems.net>
To: Eric J. Bowman <eric@bisonsystems.net>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=208.97.132.83; envelope-from=fielding@gbiv.com; helo=homiemail-a16.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SpYe4-0001ZZ-4T e8808934d62f97be3b264365207dbc95
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #241: clarify eval order/interaction of conditional headers
Archived-At: <http://www.w3.org/mid/FB6102C9-9302-4D36-92C9-1BF099DC1B7E@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14128
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 Jul 12, 2012, at 4:07 PM, Eric J. Bowman wrote:

> Julian Reschke wrote:
>> 
>> What's the reason for sending both header fields when the ETag is
>> available? (Trying to understand...)
>> 
> 
> HTTP 1.0 intermediary back-compat, so I've heard.
> 
> -Eric

Yep, and for 1.1 intermediaries that do not implement If-None-Match
for reasons unknown.

....Roy


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 03:31:41 2012
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 3C27821F86D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 03:31:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.799
X-Spam-Level: 
X-Spam-Status: No, score=-8.799 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_41=0.6, J_CHICKENPOX_42=0.6, J_CHICKENPOX_51=0.6, 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 oJhISlcx5JG3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 03:31:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2833621F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 03:31:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spd8i-0001sQ-ES for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 10:30:24 +0000
Resent-Date: Fri, 13 Jul 2012 10:30:24 +0000
Resent-Message-Id: <E1Spd8i-0001sQ-ES@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <wseltzer@w3.org>) id 1Spd8b-0001rf-5J for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 10:30:17 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <wseltzer@w3.org>) id 1Spd8X-0003uu-0j; Fri, 13 Jul 2012 10:30:17 +0000
Received: from wseltzer by jay.w3.org with local (Exim 4.69) (envelope-from <wseltzer@w3.org>) id 1Spd8W-0003Ci-6z; Fri, 13 Jul 2012 06:30:12 -0400
Date: Fri, 13 Jul 2012 06:30:12 -0400
From: Wendy Seltzer <wseltzer@w3.org>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Message-ID: <20120713103012.GA11984@jay.w3.org>
References: <20120710231600.5776.68143.idtracker@ietfa.amsl.com> <CAHBU6iu4uBQp=fwg6_KXfSvtt7YhGi1gw4Lm6A+q+LkfJdRqdA@mail.gmail.com> <20120712164214.GB16521@jay.w3.org> <CAMm+LwjEOBK+hStsedp4g=ixuMErL_Q6uAH_bQtskFU+PKUQXw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+LwjEOBK+hStsedp4g=ixuMErL_Q6uAH_bQtskFU+PKUQXw@mail.gmail.com>
Organization: W3C
User-Agent: Mutt/1.5.18 (2008-05-17)
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spd8X-0003uu-0j 375843d0dd768c7f7c0097064d342dd0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for 	draft-tbray-http-legally-restricted-status-01.txt
Archived-At: <http://www.w3.org/mid/20120713103012.GA11984@jay.w3.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14129
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 07/12/2012 12:47 PM, Phillip Hallam-Baker wrote:
> A HTTP server can always return content with a status code but it will
> only display in the browser if it is HTML or the like.
> 
> Formalizing some means of providing a link would be useful but
> probably something for HTML rather than HTTP?

It's been suggested to me that RFC 5988 link-relation headers might be
useful in this context. http://tools.ietf.org/html/rfc5988

A standard location and relation (e.g. "legal-demand") for such links
could make it easier for independent reviewers to find and aggregate
takedown information.

--Wendy

> 
> On Thu, Jul 12, 2012 at 12:42 PM, Wendy Seltzer <wseltzer@w3.org> wrote:
>> On 07/10/2012 07:25 PM, Tim Bray wrote:
>>> Since MNot has put this on the agenda, I thought I should revise one more
>>> time.  There?s one big change and a bunch of little ones.
>>>
>>> Big: I went and talked to some subject-matter experts at Google who are
>>> paid to think about this sort of policy stuff, and some others who might
>>> have to implement it.  I got strong advice that the draft should not talk
>>> about ?legal restrictions? because this might carry an implication that the
>>> party emitting the 451 acknowledges that this is in fact a ?restriction?.
>>>  In fact, many parties get legal demands that they think might well be
>>> bogus but choose not to go to court for reasons of policy or cost; so
>>> they?d like to avoid implying that they acknowledge a ?restriction?.  I was
>>> advised that it was perfectly OK to report that legal ?demands? had been
>>> made, and eventually became convinced that this was more accurate. The
>>> Republican Guards call up and demand that you take down some links, and you
>>> think they might be full of crap, but they?re the Guards, so you can
>>> accurately report that the *demand* was made.
>>
>> What about an additional recommendation that, where permitted, servers
>> should include a link to more information?
>>
>> A link could provide information about the specific demand or the
>> general legal context. With Chilling Effects, I'm thinking, from the
>> other direction, about better standardizing the description and posting
>> of these demands, so it could be interesting to encourage pointers.
>>
>> --Wendy
>>
>>
>> --
>> Wendy Seltzer -- wseltzer@w3.org +1.617.863.0613
>> http://wendy.seltzer.org/
>>
>>
>>
>>
> 
> 
> 


-- 
Wendy Seltzer -- wseltzer@w3.org +1.617.863.0613
http://wendy.seltzer.org/





From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 03:41:54 2012
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 6666F21F8628 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 03:41:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, 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 DE5JX8dkWsNB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 03:41:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 526EB21F86B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 03:41:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpdJ8-00054K-BT for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 10:41:10 +0000
Resent-Date: Fri, 13 Jul 2012 10:41:10 +0000
Resent-Message-Id: <E1SpdJ8-00054K-BT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SpdJ0-00053Z-Hr for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 10:41:02 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SpdIr-0001RS-Rx for ietf-http-wg@w3.org; Fri, 13 Jul 2012 10:41:02 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 90ADC171512; Fri, 13 Jul 2012 11:40:32 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1342176032; bh=4lSH3x9TitWP/w SKW/i5dtXJcnoBI9jMnaSO9OkHFbg=; b=lqKvsNgA5OxzKpAfnoEMZMy/91lN1Z L7S1sNXR3yJhJfcH18z1U9866u/XCUAWaEmFIWpsKjGMejz7jOa1GkjLHH5tT2vA Bl5mWNnjzVssvmS0NqQGakNkFEjjprhGommVRG38/l/iIXouE1RMguUE6NcKl8g7 sJKUVwGcP+mjNBaujO8dS8j6Zw3vZ47zvrESzMAoQbYXyXRkHet76CxtZngTiPtw cLjrUvJ1ghwP+gy95XE89IMnUBqQiaj+JZt8O8NR4zGyQiuZjFYm+t6e/cPIKJf1 bwmcMSuNPqf6DcmGs24wetyCjMej7KUgyaPmcmZ3crYjwe8VD0JMnXqA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id x1ptAzXM7voT; Fri, 13 Jul 2012 11:40:32 +0100 (IST)
Received: from [IPv6:2001:770:10:203:256d:260a:c650:4b1] (unknown [IPv6:2001:770:10:203:256d:260a:c650:4b1]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id AB9F4153C5E; Fri, 13 Jul 2012 11:40:29 +0100 (IST)
Message-ID: <4FFFFB1E.7080008@cs.tcd.ie>
Date: Fri, 13 Jul 2012 11:40:30 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Daniel Stenberg <daniel@haxx.se>
CC: HTTP Working Group <ietf-http-wg@w3.org>,  libcurl hacking <curl-library@cool.haxx.se>
References: <alpine.DEB.2.00.1207031300240.1379@tvnag.unkk.fr>
In-Reply-To: <alpine.DEB.2.00.1207031300240.1379@tvnag.unkk.fr>
X-Enigmail-Version: 1.4.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpdIr-0001RS-Rx a30c3cf7d5b86ce71f788cfb37169fe9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest: curl
Archived-At: <http://www.w3.org/mid/4FFFFB1E.7080008@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14130
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 Daniel,

On 07/12/2012 10:16 PM, Daniel Stenberg wrote:
> 
> Similar to the HTTP protocol, we intend to support any widely adopted
> authentication protocols. The HOBA, SCRAM and Mutual auth suggestions
> all seem perfectly doable and fine in my perspective.

Great.

> However, if there's no proper logout mechanism provided for HTTP auth I
> don't forsee any particular desire from browser vendor or web site
> creators to use any of these just like they don't use the older ones
> either to any significant extent. 

This may be my ignorance but what'd be a "proper logout mechanism"?
Maybe someone's documented requirements or a wish-list somewhere?

I put in a bit on this in the hoba draft, (but to be honest, without
really understanding much about it:-), so I'd love to know a bit more
about what's needed, e.g. how ought it affect cookies, TLS session
resume, etc. etc.

Ta,
S.




From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 04:01:45 2012
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 3349021F8694 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 04:01:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.674
X-Spam-Level: 
X-Spam-Status: No, score=-8.674 tagged_above=-999 required=5 tests=[AWL=1.925, BAYES_00=-2.599, 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 OS-lUMML5BMU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 04:01:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 875E021F8681 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 04:01:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spdce-0005ds-CF for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 11:01:20 +0000
Resent-Date: Fri, 13 Jul 2012 11:01:20 +0000
Resent-Message-Id: <E1Spdce-0005ds-CF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpdcV-0005ck-S0 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 11:01:11 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpdcQ-00023y-Ix for ietf-http-wg@w3.org; Fri, 13 Jul 2012 11:01:11 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6DB0hNd014202 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 13:00:43 +0200
Date: Fri, 13 Jul 2012 13:00:43 +0200
From: Willy Tarreau <w@1wt.eu>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120713110043.GA13480@1wt.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpdcQ-00023y-Ix 9b7f76332b009398b497861bf47d8256
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest : haproxy
Archived-At: <http://www.w3.org/mid/20120713110043.GA13480@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14131
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,

as the project maintainer of the haproxy load balancer[1], I'm facing a
number of issues in HTTP/1.1 that I would like to see addressed in HTTP/2.

A little background first. In HTTP terminology, Haproxy is a gateway, and
its role could more precisely be described as an "HTTP router" as PHK calls
this type of devices. It is most commonly placed at the front of hosting
sites where it serves two main purposes : split incoming traffic based on
a number of criteria (most commonly Host, part of URI, Cookie or Upgrade
header), and balance the load among a server farm using cookies when
stickiness is required. As such, it commonly is the first entry point of
high traffic sites.

On this type of devices, admins have to finely balance performance and
features, and sometimes they adapt their web architecture to maximize the
capacity per CPU (for instance, some decide to use different Host values
for different farms and only process the first request of each connection).

Admins generally prefer not to deploy too many load balancers because the
ability to smooth the load and to maintain QoS drops as the number of LBs
increase. Also, with todays cloud-based hosting infrastructures everywhere,
CPU usage and machines have an operating cost that needs to be kept low.

Connection rates of 20-40000 per second and per core are fairly common, and
users facing DDoS have reached up to 160k connections per second per node
in order to sustain 10 million connections per second attacks[2].

At these rates, the load balancer still has to strictly parse incoming
traffic and route it to the proper destination (or drop it), and the
choice must be made very quickly with the lowest possible per-request
and per-connection overhead.

Here comes the issue with HTTP/1.1. Parsing HTTP/1.1 is expensive, very
expensive. Most of the time is spent parsing useless and redundant
information. Another important amount of CPU cycles are spent updating
the Connection header field and dealing with session-related information
such as looking up a stickiness cookie. Ensuring request integrity is
very expensive too. For instance, checking for unicity of the Content-Length
field is expensive as it implies checking all header fields for it.

Load balancers such as haproxy would benefit a lot from a better layered
HTTP model which distinguishes user session, connection and transaction.
Such products also need a much lower request processing cost and connection
processing cost, since DDoS are often made of one request per connection.
For normal traffic, it is absolutely critical to be able to forward data
with the least possible overhead : for instance, having to forward images
chunked at 4kB definitely kills performance on todays 10 Gbps gateways, as
the cost of processing a chunk is much higher than the cost of forwarding
the 4kB it contains.

Now concerning the proposals.


draft-mbelshe-httpbis-spdy-00
-----------------------------

SPDY is a very interesting work which has gained a lot of experience in
field. It undoubtly is the most advanced proposal. It is aimed at improving
end user experience with little software changes on the server side. As I
once told Mike, I view it as a much improved transport layer for HTTP. It
correctly does what it aims to do and as such it's a success. It addresses
some of the parsing issues HTTP/1.1 has. By prefixing header names and
values with their sizes, it saves some parsing to the recipient. It will
not save all of it to SPDY->1.1 gateways which will still need to check
for validity in names and values in order not to transport dangerous
character sequences such as CRLF + name + colon in values for instance.
Still it helps for most situations.

The few issues that I am having with SPDY have already been explained to
great extents here on the list and are simple :
  - no plan to reuse existing deployed infrastructure on port 80
  - extra processing cost due to header compression without addressing the 
    HTTP/1.1 issues (which is normal in order to transport 1.1).

For haproxy, I'm much concerned about the compression overhead. It requires
memory copies and cache-inefficient lookups, and still maintains expensive
header validation costs. For haproxy, checking a Host header or a cookie
value in a compressed stream requires important additional work which
significantly reduces performance. Adding a Set-Cookie header into a
response or remapping a URI and Location header will require even more
processing. And dealing with DDoSes is embarrassing with compressed
traffic, as it improves the client/server strength ratio by one or two
orders of magnitude, which is critical in DDoS fighting.

We must absolutely do something about the transported protocol. At the
moment it is HTTP/1.1, but it does not seem reasonable to still require
the whole spec we already have plus a new one to ensure safe
implementations.

Some users have already asked if haproxy will implement SPDY, and I replied
that due to the lack of time, it will not implement a draft at this point
in time and would rather implement HTTP/2 once we get an idea about it.

If in the end SPDY becomes HTTP/2, haproxy would implement it without
outgoing header compression in order to limit the performance losses.

Last, the SPDY draft suggests use of TLS without apparently mandating it
(since the framing may rely on anything). While it is important to be able
to benefit from TLS, it is equally important not to make it a necessity.
Many places which use haproxy distribute content which does not affect
user privacy and which need to be delivered quickly with low processing
overhead. Mandating use of TLS would also further deteriorate the current
state of affairs abount certificate management and would discriminate the
two HTTP worlds (1 and 2) on corporate proxies which need to analyse
requests and contents. However we need a way to let the user choose between
accepted corporate filtering and total privacy (see below).


draft-montenegro-httpbis-speed-mobility-02
------------------------------------------

This draft addresses a concern I've had for the last few months : HTTP and
WebSocket are used together and each of them defines its own framing, its
own compression and own multiplexing. I think that the idea of relying on a
single transport layer for both to unify efforts and reduce code duplication
is a good one. I personally am concerned about the 3 layers it involves to
process HTTP/2 :
  - HTTP/1.1 (for upgrade)
  - WebSocket handshake
  - then HTTP/2

However this can probably be addressed with some work. I think that this
draft reminds us that we absolutely need to find a common transport layer
for both HTTP and WebSocket, and that the work on the transport layer and
the work on header encoding may be two independant parallel tasks.


draft-tarreau-httpbis-network-friendly-00
-----------------------------------------

Being one of the authors of this draft, my opinion is certainly viewed as
biased. However, my goal with this draft was not to compete with other ones
but to try to address specific points which were not addressed in the other
ones. It should be seen as a parallel work aiming at improving the situation
for high speed HTTP routers without trading off the end-user benefits that
SPDY has proven to provide.

This draft does not pretend to offer a complete solution (eg: flow control
is not addressed despite absolutely necessary if multiplexing is involved),
but it seeks optimal framing and encoding for very low processing overhead,
making it easier to perform in hardware if needed, and discusses a method
to reuse existing HTTP with multiplexing and without the initial round trip
that is known to kill performance in mobile environments.

The main focus consists in using a bit stronger typing for header entities
(eg: fields transporting a date are not necessarily encoded the same way as
cookies). A number of points still need to be addressed there, such as how
to efficiently discriminate a list of values and a value containing a
comma, etc. I'm personally convinced that stronger typing will implicitly
remove some of the dangerous and complex ambiguities we have with HTTP/1.1.

Amos Jeffries is currently working on a library which will hopefully make
it possible to have a real world implementation soon. I hope that some of
the concepts raised in this draft will be discussed if any of the other
drafts is retained.


Remaining issues not addressed in proposals
-------------------------------------------

Despite our disgust for this fact, HTTP has become a de-facto standard
transport protocol for many purposes. WebSocket is a proof of this, it was
born to address the dirty bidirectional mechanisms that were appearing
everywhere. A wide number of tools are able of using the HTTP CONNECT
method over a proxy to reach a point on the net (for VPNs, SSH, etc...).
HTTP has brought what TCP lacks : user authentication and bouncing over
proxies even in non-routable environments.

I would very much welcome a solution which either maintains the existing
Upgrade mechanism and clarifies it, or provides sort of a sub-protocol
knowledge (where HTTP/1.1 might very well be one of them).

The second issue is the lack of transparency for end users concerning
corporate proxies. Corporate filtering proxies are a necessity. They stop
a lot of malware and are used (eg in schools) to protect visitors from
unexpected contents. They are also used to avoid too much distraction at
some places, and to enforce law where needed.

The problem is that right now the migration to HTTPS for many sites has
caused increased need for HTTPS content analysis, and a large number of
products are now used to spoof certificates and control everything. This
is not acceptable (technically speaking, and from the user's privacy
respect). We absolutely need the new HTTP standard to make it possible
for end users to choose if their contents may be analysed by the proxy
or not. We have already suggested the notion of "GET https://" for proxy
requests as opposed to "CONNECT", and I think that having this or an
equivalent in the new standard will solve the issue. Corporate proxies
will then be able to analyse contents passing over "GET https://" and
will apply per-site policy for CONNECT (eg: OK for banks, NOK for
webmails).

Another point concerns protocol limits. I'm used to see developers do
whatever with HTTP, especially on the backend side. For instance, passing a
complete file in a header field and then complain that Apache or Haproxy in
the middle of the chain has blocked the request when the file is too large!
At least we should suggest some "common use" limits on the total header
size, the number of fields and a field size.


Authentication
--------------

I have not reviewed the proposed authentication schemes yet. I think that
it is a subject which should be dealt with once we clearly define session
management and how to protect privacy of exchanges between users and
proxies. Right now the state of affairs is terrible when it comes to
proxy auth since most (browser,proxy) combinations do not allow any form
of protection for the user's credentials, resulting in the ugly tricks
already described on the WG which deteriorate the browsing experience
and break access to the Web for most components (including software
upgrades).

The logout feature is still missing everywhere and would probably be
addressed once we correctly define how to manage a session, by simply
destroying the session and all associated contents.

As a last point, I'd like that we don't conflate authentication with
authorization. A few components need to validate authentication, but
past the one which validates authentication, only authorization is
commonly needed. This probably means that a user identifier still needs
to be passed along the chain to trusted parties.


Regards,
Willy

[1] http://haproxy.1wt.eu/
[2] http://www.mail-archive.com/haproxy@formilux.org/msg05448.html



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 08:03:57 2012
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 8525B21F8659 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 08:03:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.515
X-Spam-Level: 
X-Spam-Status: No, score=-9.515 tagged_above=-999 required=5 tests=[AWL=0.462, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Y7QoOHJEJiCA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 08:03:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 83EBE21F8472 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 08:03:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SphO8-0005hf-PE for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 15:02:36 +0000
Resent-Date: Fri, 13 Jul 2012 15:02:36 +0000
Resent-Message-Id: <E1SphO8-0005hf-PE@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SphO0-0005gp-K3 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 15:02:28 +0000
Received: from na3sys010aog110.obsmtp.com ([74.125.245.88]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SphNq-0002KN-FO for ietf-http-wg@w3.org; Fri, 13 Jul 2012 15:02:28 +0000
Received: from mail-gg0-f177.google.com ([209.85.161.177]) (using TLSv1) by na3sys010aob110.postini.com ([74.125.244.12]) with SMTP ID DSNKUAA4ZId7bhrOI1A4OmLQaHtpxHOyKBCt@postini.com; Fri, 13 Jul 2012 08:02:18 PDT
Received: by ggcs5 with SMTP id s5so4317198ggc.8 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 08:01:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tSgcAVPm2dmHFfjDsZ3SMOPCAfwp/G4t7a3NiGNrfiA=; b=E5ifRdR/b6HNAXF3smWB6IaCJQLncHmLjYKK3Fm0O4e5B/CVezQn4QX3s3VJK9kP7E PD+9v8tVcY8jfzArDKovlOxx70JbNNhSTrg914SsZsDzitgWtspzJAAwc3noJ3ukPqAf m0idSpdDXm89c5nFVW9FmDOsa19pgxMDVgEAM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=tSgcAVPm2dmHFfjDsZ3SMOPCAfwp/G4t7a3NiGNrfiA=; b=j7SkuyJBnThA0Zwj+mNPpypZz5sK5uOQ8tKWI0qMzM+AjegvWOpfRid4YKpiTTHc6u RU8crSVvFfInYe5qnuh1k9tz81f+wXFHM25p7xtguXCyuAS12HE9V2TVOINL6WaMR2m7 OdFFLzmzTz/+bmi2f8ZZKKYjBkHQFeZM+CaRQJ36NUVgmI8LrMn3hweWCrehxOCO2XlS q034QHVT7FiyDFYvvxVJzzEPjJwM2Gw171DZiJzmcGwnF4Zad79iXs5g+jszqWbLC0oa 9JTzWgXkAnksfQ9K24d9xpqd67+kryUX1G0dN9fsUZrh7M/5u1+zao2WPbh5Fay7nu3m 1RLA==
Received: by 10.50.161.198 with SMTP id xu6mr1627980igb.69.1342191715594; Fri, 13 Jul 2012 08:01:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Fri, 13 Jul 2012 08:01:35 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.00.1207031300240.1379@tvnag.unkk.fr>
References: <alpine.DEB.2.00.1207031300240.1379@tvnag.unkk.fr>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Sat, 14 Jul 2012 00:01:35 +0900
Message-ID: <CAMeZVwtV4H8tNAAfGiXLw_sHcnaRCqfrHzCBAtyBTeiDmefO3g@mail.gmail.com>
To: Daniel Stenberg <daniel@haxx.se>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, libcurl hacking <curl-library@cool.haxx.se>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQkGitccTgKUvINpbCxy1YfmBUh+tZ6JGhmXvaLsAHWQM8Yul1UKYZNNTlFS0fwRlBGy53Ab
Received-SPF: pass client-ip=74.125.245.88; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog110.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SphNq-0002KN-FO ac0f6f3bdf892a0b01caea3f666bb981
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest: curl
Archived-At: <http://www.w3.org/mid/CAMeZVwtV4H8tNAAfGiXLw_sHcnaRCqfrHzCBAtyBTeiDmefO3g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14132
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>

Dear Daniel,

2012/7/13 Daniel Stenberg <daniel@haxx.se>:
> HTTP AUTH
>
> curl currently supports Basic, Digest, NTLM and Negotiate for both host and
> proxy.
>
> Similar to the HTTP protocol, we intend to support any widely adopted
> authentication protocols. The HOBA, SCRAM and Mutual auth suggestions all
> seem perfectly doable and fine in my perspective.

Great, too.

> However, if there's no proper logout mechanism provided for HTTP auth I
> don't forsee any particular desire from browser vendor or web site creators
> to use any of these just like they don't use the older ones either to any
> significant extent. And for automatic (non-browser) uses only, I'm not sure
> there's motivation enough to add new auth protocols to HTTP as at least
> historically we seem to rarely be able to pull anything through that isn't
> pushed for by at least one of the major browsers.

I agree that lack of logon control features is one of critical issues
for deploying http authentication to World Wide Web systems.
In my set of proposals, the problem is addressed in the
separate draft called draft-oiwa-httpbis-auth-extension-00.
It may be not directly related to your project, but if you have any
feedback or a comment about the protocol design of that draft,
it will be greatly appreciated.


Regards,

Yutaka

-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 09:02:44 2012
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 B2CCD21F87F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 09:02:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Ab2jGxZhxGh3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 09:02:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1EC1C21F87F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 09:02:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpiJX-0008FX-1P for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 16:01:55 +0000
Resent-Date: Fri, 13 Jul 2012 16:01:55 +0000
Resent-Message-Id: <E1SpiJX-0008FX-1P@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <chgoss@gmail.com>) id 1SpiJM-0008EL-7b for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 16:01:44 +0000
Received: from mail-pb0-f43.google.com ([209.85.160.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <chgoss@gmail.com>) id 1SpiJL-0007c6-4E for ietf-http-wg@w3.org; Fri, 13 Jul 2012 16:01:44 +0000
Received: by pbcwz7 with SMTP id wz7so5798477pbc.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 09:01:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Eg4FOJBwWg5ZUKd4IADLrK6TkNh1+JrXDg89ZtE89MY=; b=Q4pOvbEHvsk562a4qzxI1YSqlPX3vHw/CSJ8Tn5cRiI1efWGOq31i0rwlP7dfwMv3U 1yq2lj7T88K544oImcBBtOh6jqVAe2Vj1KPQ4jGFkMSH/cw7KX9i3PWcPJwNIssDiSAe 1ySFfNBmilvyaidgQeWb28V7qwe9A4vg+7nA1MWQu48e4l82oQ+7uE5jMoHHKfSKyrCE J+dumPm2ucJe3itZJ9jMxib2fe+Dw7tky7FDhQUzhh40UW5BnVk5a7WxWw83GFftq35c DYugR8Mv81399Q2hpOAMP42/mVMFpSBHI1KnRqKOB+R9Wn7sQ7WG8GTp04GAHDOPlh+V odjA==
MIME-Version: 1.0
Received: by 10.68.203.40 with SMTP id kn8mr4383222pbc.162.1342195276670; Fri, 13 Jul 2012 09:01:16 -0700 (PDT)
Received: by 10.66.86.168 with HTTP; Fri, 13 Jul 2012 09:01:16 -0700 (PDT)
Date: Fri, 13 Jul 2012 12:01:16 -0400
Message-ID: <CABDykiC8-XSxJWMCXFgLo1Z1si02m4dG6R1-2q8Dxun4zf6fbQ@mail.gmail.com>
From: Chad Goss <chgoss@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=047d7b15a51daf65e804c4b830c4
Received-SPF: pass client-ip=209.85.160.43; envelope-from=chgoss@gmail.com; helo=mail-pb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpiJL-0007c6-4E db310e4f7e970546b8dd443817a77d5f
X-Original-To: ietf-http-wg@w3.org
Subject: Explicit Proxy (draft-rpeon-httpbis-exproxy)
Archived-At: <http://www.w3.org/mid/CABDykiC8-XSxJWMCXFgLo1Z1si02m4dG6R1-2q8Dxun4zf6fbQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14133
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>

--047d7b15a51daf65e804c4b830c4
Content-Type: text/plain; charset=ISO-8859-1

Hi,
I have read the draft, the primary question I had was what is the mechanism
to transfer the decryption key material from user-agent to configured-proxy
in a secure, authenticated and trusted manner immediately after tunnel
establishment, and how are you going to do that prior to any traffic
traversing the tunnel?

thanks
-chad

--047d7b15a51daf65e804c4b830c4
Content-Type: text/html; charset=ISO-8859-1

Hi,<div>I have read the draft, the primary question I had was w<span style>hat is the
mechanism to transfer the decryption key material from user-agent to
configured-proxy in a secure, authenticated and trusted manner immediately after tunnel establishment, and how are you going to do that prior to any traffic traversing the tunnel?</span></div><div><span style><br></span></div>
<div><span style>thanks</span></div><div><span style>-chad</span></div><p class="MsoListParagraph" style><span style="color:#1f497d"></span></p>

--047d7b15a51daf65e804c4b830c4--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 09:48:30 2012
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 CBA3D21F8587 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 09:48:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 wsMr163r7oyT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 09:48:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 17A4921F84C8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 09:48:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spj1z-0007tQ-VY for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 16:47:52 +0000
Resent-Date: Fri, 13 Jul 2012 16:47:51 +0000
Resent-Message-Id: <E1Spj1z-0007tQ-VY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Spj1s-0007rn-Ct for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 16:47:44 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Spj1r-00014H-56 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 16:47:44 +0000
Received: by wgbds1 with SMTP id ds1so730314wgb.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 09:47:16 -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=avPufe6wKtTh2GVjPUrawinL6bnoKX9m3NucrVEsBHs=; b=efCJaQ5/LicupktHQ4hsNGdXDyShLgxFzGOu94tbzJnyaXKxEkE9K2LKJmUchqOtyf 7d+TJGOK2o1CvqQWUZRdnIC3Ah+cx3lXxMAu6g/scekMTlur/FKadiLvTpckv+kXJ0rV WUUoKbo/3P3tcqf/rBVat1+pPROH9GT+8xp7k9XeJxbPoGI5uaGiE3BQ7pG1NQ0nxXFi BfR0K60EK3UCQAxh0iwxBFMEj+XVKOxnm/Yuv7a1bE/ubWzsc/qIEbIwqU7Xe798c+p3 qLcLZm7NhZ4Kuo3LFj2h3Ued48xDVtB7qOIRf04vWg3sJh/HOXh275TZ6+4CIm0wCI68 Serw==
MIME-Version: 1.0
Received: by 10.180.100.35 with SMTP id ev3mr4091725wib.10.1342198036528; Fri, 13 Jul 2012 09:47:16 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Fri, 13 Jul 2012 09:47:16 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Fri, 13 Jul 2012 09:47:16 -0700 (PDT)
In-Reply-To: <CABDykiC8-XSxJWMCXFgLo1Z1si02m4dG6R1-2q8Dxun4zf6fbQ@mail.gmail.com>
References: <CABDykiC8-XSxJWMCXFgLo1Z1si02m4dG6R1-2q8Dxun4zf6fbQ@mail.gmail.com>
Date: Fri, 13 Jul 2012 09:47:16 -0700
Message-ID: <CAP+FsNdGbx-b_xSpyXOuNw6XOdN1OVU1eTZZQX37sdLhWwnWdw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Chad Goss <chgoss@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d044282a62f7f2e04c4b8d50f
Received-SPF: pass client-ip=74.125.82.41; envelope-from=grmocg@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Spj1r-00014H-56 686ba2e8d296d6dde6e467f96d32b64e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Explicit Proxy (draft-rpeon-httpbis-exproxy)
Archived-At: <http://www.w3.org/mid/CAP+FsNdGbx-b_xSpyXOuNw6XOdN1OVU1eTZZQX37sdLhWwnWdw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14134
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>

--f46d044282a62f7f2e04c4b8d50f
Content-Type: text/plain; charset=ISO-8859-1

On Jul 13, 2012 9:03 AM, "Chad Goss" <chgoss@gmail.com> wrote:
>
> Hi,
> I have read the draft, the primary question I had was what is the
mechanism to transfer the decryption key material from user-agent to
configured-proxy in a secure, authenticated and trusted manner immediately
after tunnel establishment, and how are you going to do that prior to any
traffic traversing the tunnel?

The draft is light on those details, to say the least. We'd have to define
a field (of a headers frame ) or frame that transported that information.
Since the client is configured to do this, it knows to emit that frame as
soon as the TLS tunnel has been established.

-=R

>
> thanks
> -chad
On Jul 13, 2012 9:03 AM, "Chad Goss" <chgoss@gmail.com> wrote:

> Hi,
> I have read the draft, the primary question I had was what is the
> mechanism to transfer the decryption key material from user-agent to
> configured-proxy in a secure, authenticated and trusted manner immediately
> after tunnel establishment, and how are you going to do that prior to any
> traffic traversing the tunnel?
>
> thanks
> -chad
>
>

--f46d044282a62f7f2e04c4b8d50f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 13, 2012 9:03 AM, &quot;Chad Goss&quot; &lt;<a href=3D"mailto:chgoss=
@gmail.com">chgoss@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt; I have read the draft, the primary question I had was what is the mech=
anism to transfer the decryption key material from user-agent to configured=
-proxy in a secure, authenticated and trusted manner immediately after tunn=
el establishment, and how are you going to do that prior to any traffic tra=
versing the tunnel?</p>

<p dir=3D"ltr">The draft is light on those details, to say the least. We&#3=
9;d have to define a field (of a headers frame ) or frame that transported =
that information.<br>
 Since the client is configured to do this, it knows to emit that frame as =
soon as the TLS tunnel has been established.</p>
<p dir=3D"ltr">-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt; thanks<br>
&gt; -chad</p>
<div class=3D"gmail_quote">On Jul 13, 2012 9:03 AM, &quot;Chad Goss&quot; &=
lt;<a href=3D"mailto:chgoss@gmail.com">chgoss@gmail.com</a>&gt; wrote:<br t=
ype=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div>I have read the draft, the primary question I had was w<span>hat is=
 the
mechanism to transfer the decryption key material from user-agent to
configured-proxy in a secure, authenticated and trusted manner immediately =
after tunnel establishment, and how are you going to do that prior to any t=
raffic traversing the tunnel?</span></div><div><span><br></span></div>

<div><span>thanks</span></div><div><span>-chad</span></div><p><span style=
=3D"color:#1f497d"></span></p>
</blockquote></div>

--f46d044282a62f7f2e04c4b8d50f--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:10:51 2012
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 678A921F8680 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:10:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.162
X-Spam-Level: 
X-Spam-Status: No, score=-8.162 tagged_above=-999 required=5 tests=[AWL=2.437, BAYES_00=-2.599, 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 FblcPVNEac+P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:10:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 92EF321F8675 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:10:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpjNp-0000mt-Jt for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:10:25 +0000
Resent-Date: Fri, 13 Jul 2012 17:10:25 +0000
Resent-Message-Id: <E1SpjNp-0000mt-Jt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpjNh-0000lp-Lw for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:10:17 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpjNg-0006T6-5O for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:10:17 +0000
Received: by vcbgb30 with SMTP id gb30so2844515vcb.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:09:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=MN2B/9w7BObPpJaklmxUf+DPTcpCrzoto/wCUeTbv6c=; b=JurT/59xJo7Xy32WoZTCv3opPdnBrVqZnzFL/1C8Aoj/QgjlAyYn1d7PnaOfHS39Z6 7C4Ei8bi2fJmthVPR8+wVuWre43rg2J01NPvarFm2ZK22lqW0ra1KYwc9sy9A8kCBajo irSUnOtD5TZK3L2ZPhbfhCQBRMMz37qlqXv0pBYVJEYk24gT+4pRN/vn0iDGPGE60L6c bDhBIhSxqGaiIfV618y0jCtePAeVJFQtHp/Ntjh9G0O4YzBV6I4zM2lFCmRP3nN0cwNU qVMkkff97bzLMJkGPSYFUWpFuFGKU3Kgt2WecV6IErUVgxNwNo9RqV8r6XRSHYSYBfw3 PcTg==
MIME-Version: 1.0
Received: by 10.221.10.73 with SMTP id oz9mr959900vcb.33.1342199390327; Fri, 13 Jul 2012 10:09:50 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Fri, 13 Jul 2012 10:09:50 -0700 (PDT)
Date: Fri, 13 Jul 2012 13:09:50 -0400
Message-ID: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpjNg-0006T6-5O a92a1c6231d2e3bbaa532a8e9ff53752
X-Original-To: ietf-http-wg@w3.org
Subject: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14135
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>

This is a personal expression of interest in HTTP 2.0 which may or may
not be the opinion of my employer.

Although my recent interest has been focused on security, I have been
involved in development of HTTP since 1992. Some observations.

1) Deployability

Defining a new capability is not the hard part. We have had great
schemes for multiplexing and security for decades. The devil is in the
deployment. I rather liked Henryk's scheme and Rohit's and really
liked a few of mine.

Any new capability has to find a niche that can attract some self
supporting early adopters. Deploying new capabilities in browsers is
hard because everyone has to think about the legacy. Web services is a
much easier area to get traction as there are new web services being
developed every week and the people deploying them can and will choose
the platforms that best meet their needs.

So I would strongly urge people to think about solving at least some
of the problems of the Web Services world as that is the best bet we
have to find a killer app for HTTP 2.0. If the code is used for web
services it will get pulled along into the browser chain much faster.


2) Code budget

Before going anywhere, ask how many bytes the browsers might commit to
these proposals. I would be very surprised if they would allow more
than 100Kb for the whole of HTTP/2.0.

Ergo anyone proposing integrating their favorite API with a 500Kb dll
is pushing a total non-starter. In fact I think that any scheme that
cannot be implemented in fifty or so pages of self-contained code is a
non-starter.


3) Boat Anchors

This is not an opportunity for people to get the HTTP world to pull
through deployment of their standard that they have been trying to get
traction with for 20 years. This is called getting someone else to
carry your boat anchor. I have seen the strategy tried time and again
by people who didn't think through the deployment issue.

GSS-API was considered in 1995 and found to be too big, slow and
difficult to understand. I don't think it should be reconsidered
unless it has been drastically reduced in size since. I believe the
opposite to be the case.


4) Frameworks

HTTP is a framework and frameworks should not be built on other frameworks.

Making Kerberos or NTLM or SAML or whatever work better with HTTP is
fine provided that the framework specific code is no more than a
header or two and preferably even less.

Making support for Kerberos, SAML, or whatever boat anchor you want to
name a requirement of HTTP 2.0 is a non starter.

And yes, I am talking about GSS-API again.


5) Complexity

Complexity is the enemy of security. TLS and GSSAPI and IPSEC all have
far too many moving parts to be 100% confident about the security.

5a) The TLS-HTTP gap

Now as far as HTTP is concerned, headers have security implications
and so HTTP is not going to be acceptably secure without either
transport layer or packet layer security. Since IPSEC never got its
key exchange act together that leaves TLS as the only game in town for
that.

TLS itself is solid but when you try to work out the interaction
between HTTP and TLS, well it just isn't possible to be 100% confident
that nothing falls through the cracks.

My conclusion is that going forward we should plan on the basis of
expecting cryptographic security at the HTTP layer AND the Transport
layer and expect them to provide different controls.

In 1995 even symmetric cryptography was expensive and the idea of
using more than one layer when you didn't need to was quite an
overhead. Modern machines are more than capable of supporting belt and
braces security.

5b) The HTTP-HTML gap

Another place that security breaks down is in the interface between
HTTP and HTML. In particular running passwords en-clair is really a
HTML issue rather than a HTTP issue.


6) Authentication

I have been involved in many authentication schemes over the years. I
don't think any of them is 100% right. But I would urge HTTP 2.0 to
NOT use SAML or OAUTH authentication as the basis for HTTP/2.0

The reason for this is that the main design constrain in SAML, OAUTH,
OPenID or any other scheme you name was how to work around the legacy
browser and server infrastructure. HTTP 2.0 can help us remove.

I think one of the reasons for confusion is that there are actually
three distinct processes that are referred to as 'authentication'.
Another is that the authentication schemes on offer tended to punt on
the idea of a federated identifier space because various commercial
interests backing the authentication schemes to date all rather
fancied themselves as being in charge of it.

This is the Internet so we use DNS as the federated naming repository.
Holders of DNS names will then issue accounts under them. Ergo an
Internet account name will be normalized as username@domain.tld end of
story (ok give it a urn, acct:username@domain.tld). If people want to
do XRI or OSI or whatever, that is outside core HTTP. The concept of
vanity crypto is well understood in the security area. Vanity
namespaces deserve the same derision.

In this particular scheme a local, non federated name is simply an
account with an implicit domain component of localhost, .local or
whatever. If we want to integrate Windows domain accounts into this
scheme we would use either the DNS name of the domain controller as
the account name or reserve _windows.local or the like for the
purpose.


The processes I see are:

1) Validation: Is the holder of account name 'x' the authoritative
holder of that account name

    e.g. to Validate 'alice@example.com' we might:
        * Send an email callback challenge
        * Check a service such as OAUTH or OpenID supported by example.com
        * Do a PKI protocol based on a CA issued certificate issued to
 'alice@example.com'
        * Do nothing at all
        * other TBS

So in this scheme the only identifiers are implicitly federated as
they all contain domain names. We address the real world corner cases
by accepting that there are degrees of validation ranging from strong
(a statement coming from the authoritative name holder) to
non-existent (don't check the name at all) and by allowing for the use
of the parts of the federated DNS namespace that do not guarantee a
unique authoritative nameholder.


2) Initial-Authentication: A user authenticates themselves to a
destination on a particular device.

This is what is generally considered as 'authentication' today. To log
in to battle.net I provide my username and password. Then I can go
beat up daemons.

Now one of the reasons passwords are so hard to get rid of is that
they are a very simple and convenient means of enabling account
portability from one device to another. A separate hardware token like
the OTP token battle.net sells or a USB key is nowhere near as
convenient as just a password. And as for the idea of moving
certificates from one machine to another...

This is currently done at the HTML layer and not in HTTP.

If we are going to replace passwords we have to provide a scheme that
is at least as convenient as passwords. I am not getting a battle.net
token and I was one of the people who wrote OATH. The only approach
that is as convenient for the user is to leverage some cloud based
service.


3) Re-Authentication: Having performed an initial authentication, a
stored credential is used to authenticate additional transactions.

This is a part that is currently performed by HTTP albeit using
cookies which provide a weak cryptographic binding to the channel and
give rise to all sorts of privacy horrors.

A cryptographic scheme would mean the client a per-session ticket (50
bytes), secret key and binding parameters and the client and server
performing some form of simple mutual authentication on each
transaction. This is actually quite easy and fast if you use symmetric
key.


If you look at the problems involved you will see that there is a lot
of real-world variation in approaches to the first, rather less on the
second and practically none on the third.

We can define a very simple mechanism for re-authentication in HTTP
2/0 that can then be used by any of the authentication frameworks that
care to use it. That approach can even be made to support features
like global sign-off in a framework neutral way.

There may be value to addressing at least some parts of initial
authentication in HTTP 2.0 but this needs to be addressed with a
careful eye on the code budget. I will return to that in another post.
There are quite a few moving parts. There does need to be a bridge
from the initial authentication to the re-authentication and none of
the legacy mechanisms is going to be satisfactory as they were all
constrained by HTTP 1.1. the justification for redoing this in HTTP
2.0 is that we have the opportunity to put the crypto where it will do
us the most good.

The first part, validation should be left to site policy and be out of scope.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:25:05 2012
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 BE3E621F8710 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.152
X-Spam-Level: 
X-Spam-Status: No, score=-7.152 tagged_above=-999 required=5 tests=[AWL=2.825, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 V-EN6rRVmAXH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:25:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38B3B21F8680 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:25:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpjbV-00071M-3p for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:24:33 +0000
Resent-Date: Fri, 13 Jul 2012 17:24:33 +0000
Resent-Message-Id: <E1SpjbV-00071M-3p@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpjbN-00070a-RL for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:24:25 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a90.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpjbM-0006tG-Ga for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:24:25 +0000
Received: from homiemail-a90.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a90.g.dreamhost.com (Postfix) with ESMTP id 64C2E2AC06A for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:24:03 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=zAtld7FjUJnnXeP79vTT1 2lnRhEnB+Lh5p3nRkBT42p5IC7x+RtJKwXO/fA1uQB7fXgC27Cyf0XE36wGYNblD uKXYLcDSsTN/o1lFoFDKSQgWtTDQkdAc0xHpaqftPo8986n3QTIYii3ILATh6crQ +xQwdDBV1S9qoU6lyb6kEQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=46WGoZ7mwvmgWpgVQ/v1 2dF3miQ=; b=wv49cMexkgcPLMyiUvyIwIQ10lBlgm/bbx2eiiRtAXr5z8QW1m50 iKSRn/9m9qEx0SwShmiE2Rol+hmRrNnzW68vm4+xF2AvJ+Ki/TcMlCRn3wi+PHwY yHhYX6lGVWalKRQGha35+bYM+W9HeWdQeeCeohSulrh7eADPqvo8DRE=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 37A102AC064 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:24:03 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so5899228pbc.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:24:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.222.40 with SMTP id qj8mr4916913pbc.139.1342200242706; Fri, 13 Jul 2012 10:24:02 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 10:24:02 -0700 (PDT)
In-Reply-To: <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com> <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
Date: Fri, 13 Jul 2012 12:24:02 -0500
Message-ID: <CAK3OfOinX+XM6bDDDWWW+shCrVforUx18aZe8upNpxXYpjSXPg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.74; envelope-from=nico@cryptonector.com; helo=homiemail-a90.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SpjbM-0006tG-Ga 125f18777e5d63b2707d971259340ee8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAK3OfOinX+XM6bDDDWWW+shCrVforUx18aZe8upNpxXYpjSXPg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14136
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 Fri, Jul 13, 2012 at 12:37 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> I really dislike the idea of having a platform inside a platform
>
> TLS is way too big for comfort. GSSAPI has mechanism on mechanism.

I'm not sure I understand.  The GSS-API is just an API.  It defines a
tiny bit of protocol.  To give you an idea of just how little
"mechanism on mechanism" the GSS-API has just consider the fact that
SSPI is teh interface to TLS on Windows, and that the GSI TLS
mechanism for GSS is wire-compatible with TLS even though it's being
invoked from the GSS-API!

> I don't want a choice of fifty ways to authenticate. I want exactly
> one mechanism to support each type of authentication. I certainly

Good luck coming up with a single mechanism that works on an Internet
scale, on corporate networks, with BYOD, with IT-managed desktops, ..
and that meets the requirements of all those involved.  And as if that
were not hard enough, you'll have to come up with one mechanism that
manages to use the existing infrastructures that people already have
or else makes it real economic (read: *CHEAP*) to replace those.

I think we need protocols that work with the types of credentials that
people have *already* deployed, whether those be smartcards,
passwords, OTPs, two-factor, or whether the infrastructures be based
on RADIUS, Kerberos, ...

There are large investments in these things already made.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:38:01 2012
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 0C6FA21F8741 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:38:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 x762qo4X9QHd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:38:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 79F1421F870E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:38:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpjoR-0004SK-LX for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:37:55 +0000
Resent-Date: Fri, 13 Jul 2012 17:37:55 +0000
Resent-Message-Id: <E1SpjoR-0004SK-LX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpjoK-0004Qx-Ap for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:37:48 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpjoI-0007Tf-BL for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:37:48 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 9658F3B75F; Fri, 13 Jul 2012 17:37:24 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DHbNcR045244; Fri, 13 Jul 2012 17:37:24 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 13:09:50 -0400." <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 17:37:23 +0000
Message-ID: <45243.1342201043@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpjoI-0007Tf-BL a07e8587d22a18d1accaea029fc690c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45243.1342201043@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14137
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>

In message <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
, Phillip Hallam-Baker writes:

>5a) The TLS-HTTP gap
>
>Now as far as HTTP is concerned, headers have security implications
>and so HTTP is not going to be acceptably secure without either
>transport layer or packet layer security. 

I disagree.

What HTTP lacks is a clear distinction between "envelope" and "body"
the way SMTP and NNTP have it.

HTTP/2.0 would enable a lot more sites to run with cryptographic
security, if there were an unprotected envelope for load-balancers
to act on.

I also think it should be possible to mix protected and unprotected
requests on the same TCP session.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:40:37 2012
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 E0DAE21F878B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:40:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.213
X-Spam-Level: 
X-Spam-Status: No, score=-8.213 tagged_above=-999 required=5 tests=[AWL=2.386, BAYES_00=-2.599, 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 sw8teOnkddaZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:40:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D1E0B21F8786 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:40:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpjrA-0006A6-1N for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:40:44 +0000
Resent-Date: Fri, 13 Jul 2012 17:40:44 +0000
Resent-Message-Id: <E1SpjrA-0006A6-1N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Spjr2-00069C-FH for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:40:36 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Spjr1-0002u6-97 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:40:36 +0000
Received: by vcbgb30 with SMTP id gb30so2866670vcb.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:40:09 -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=d5H5HiNpDbUO6+jcmqfKDD8zJJwLLa6/4HDmjI6npKE=; b=j32U3u9LEE0/veACintGyqajEHYdFuwxT0GVyN/V/UqeOMmw/tn/LFMBdJe3I3Rvz/ JOhW22qcRK19SE0hLk5wwu/axMiTGGG1XbxCuJSOuhmccw6ydAoK/hsP72UiDJCCDz3W iK9cl43h0Kh2Vq7jOF7Zm9KDN5GCzcHbKvBWz7XNDxFbffdmkRdRPrh30rrhT3WJUFZ3 tsqmzuG1xf1nOFKR4fe9Sxm4zuS7Mng5BLQepfi7AqAkcHsas9USYAV4xgEpA2EO7zpQ RLv5BC1WGOFFQDhJxOnC/aPTUBf8NsD9KyJmCyHTvczuycEwS1i0zTYcUD4CUhXn9Ljk eRhA==
MIME-Version: 1.0
Received: by 10.52.64.146 with SMTP id o18mr876264vds.55.1342201209214; Fri, 13 Jul 2012 10:40:09 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Fri, 13 Jul 2012 10:40:09 -0700 (PDT)
In-Reply-To: <CAK3OfOinX+XM6bDDDWWW+shCrVforUx18aZe8upNpxXYpjSXPg@mail.gmail.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com> <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com> <CAK3OfOinX+XM6bDDDWWW+shCrVforUx18aZe8upNpxXYpjSXPg@mail.gmail.com>
Date: Fri, 13 Jul 2012 13:40:09 -0400
Message-ID: <CAMm+LwiD5wwz=YkDoeV7K8MVvmwkSqKHjtRfvxR0hXM=qMEqfg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Spjr1-0002u6-97 cbbb81fd6480c0d5a790257b09109de2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwiD5wwz=YkDoeV7K8MVvmwkSqKHjtRfvxR0hXM=qMEqfg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14138
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 Fri, Jul 13, 2012 at 1:24 PM, Nico Williams <nico@cryptonector.com> wrote:
> On Fri, Jul 13, 2012 at 12:37 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> I really dislike the idea of having a platform inside a platform
>>
>> TLS is way too big for comfort. GSSAPI has mechanism on mechanism.
>
> I'm not sure I understand.  The GSS-API is just an API.

Which makes it a non-starter as HTTP is a protocol. How does a
protocol interact with an API?

> It defines a
> tiny bit of protocol.  To give you an idea of just how little
> "mechanism on mechanism" the GSS-API has just consider the fact that
> SSPI is teh interface to TLS on Windows, and that the GSI TLS
> mechanism for GSS is wire-compatible with TLS even though it's being
> invoked from the GSS-API!

I have no way to parse or make sense of what you are trying to say.

A protocol and an API are two different things.

If its not bits on the wire or describing the state at either end then
it isn't a protocol and if it isn't a protocol it has no place in HTTP
spec.


>> I don't want a choice of fifty ways to authenticate. I want exactly
>> one mechanism to support each type of authentication. I certainly
>
> Good luck coming up with a single mechanism that works on an Internet
> scale, on corporate networks, with BYOD, with IT-managed desktops, ..
> and that meets the requirements of all those involved.  And as if that
> were not hard enough, you'll have to come up with one mechanism that
> manages to use the existing infrastructures that people already have
> or else makes it real economic (read: *CHEAP*) to replace those.

Been there, done that. I was editor of SAML 1.0. I think I know the
range of complexity out there.

But HTTP 2.0 should not be SAML either. We have an opportunity here to
address the central problems that SAML, OpenID and OAUTH have to work
around all the time.


> I think we need protocols that work with the types of credentials that
> people have *already* deployed, whether those be smartcards,
> passwords, OTPs, two-factor, or whether the infrastructures be based
> on RADIUS, Kerberos, ...
>
> There are large investments in these things already made.

Nowhere near as large as the investment in HTTP and we are proposing
to change that.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:42:12 2012
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 D1D6621F8798 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:42:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.914
X-Spam-Level: 
X-Spam-Status: No, score=-8.914 tagged_above=-999 required=5 tests=[AWL=1.062, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 IuTB-kP+Ipb4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:42:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A13CB21F877B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:42:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spjsg-0006qS-WE for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:42:19 +0000
Resent-Date: Fri, 13 Jul 2012 17:42:18 +0000
Resent-Message-Id: <E1Spjsg-0006qS-WE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SpjsZ-0006lb-FX for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:42:11 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SpjsY-0002wM-9p for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:42:11 +0000
Received: by yenq11 with SMTP id q11so4198472yen.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:41:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=cdxsfH2PDbF0UgYnkMGKI170WIQ2VaDhRuVbtZ0v9f4=; b=YsVdFNHRDKEEJ9ITT1BnQv/qflyZffgpHpKoJ5zNyL5XY5aQ1aCRKOXUaCoeiYBHMx zzT6n8bNnqwZz8mTI+K4GEgRLcLvSLr7b2kl+n2mhjnP4mjM4UM1fux8uOgIgxmxu/tx pHB+7Vdsy5sN/Qlvqw0iEtxzfft08uiaqDbcigZA2Q3rVkHmf1ZBTCkuclG4Dqq7Fyzr 665nwYrAQzpMofYh1EH9JeReZ/pAXvIPSJ3BTcDlI8HKbPoMEU4JdwH8PlMFOg7JHwSQ VDHRThTQOpHEAJE/GMmE/YenL8FHAg4c419n1NnVSj74RerpD4de5/WJgblPABlcuygR Qi1A==
MIME-Version: 1.0
Received: by 10.60.31.237 with SMTP id d13mr2872690oei.27.1342201304388; Fri, 13 Jul 2012 10:41:44 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Fri, 13 Jul 2012 10:41:44 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <45243.1342201043@critter.freebsd.dk>
References: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com> <45243.1342201043@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 10:41:44 -0700
Message-ID: <CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f647b3df715e304c4b997e8
X-Gm-Message-State: ALoCoQlEDtianpNd7QW1wma1HWPg0Qh2CKTY/j9pCRx4fZNu7dI5rqoZbUgEXKPSU0T5dAXPFV4G
Received-SPF: none client-ip=209.85.213.171; envelope-from=tbray@textuality.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SpjsY-0002wM-9p 6b09cba8ce1f6044604941f083d8d7ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14139
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>

--e89a8f647b3df715e304c4b997e8
Content-Type: text/plain; charset=ISO-8859-1

How much information needs to be in the unprotected envelope?  Because one
of the benefits of transport-level security is that a snooper, for example
a government tracking dissidents, knows little/nothing about my traffic
aside from the routing.  Not a rhetorical question.  -Tim

On Fri, Jul 13, 2012 at 10:37 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <
> CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
> >5a) The TLS-HTTP gap
> >
> >Now as far as HTTP is concerned, headers have security implications
> >and so HTTP is not going to be acceptably secure without either
> >transport layer or packet layer security.
>
> I disagree.
>
> What HTTP lacks is a clear distinction between "envelope" and "body"
> the way SMTP and NNTP have it.
>
> HTTP/2.0 would enable a lot more sites to run with cryptographic
> security, if there were an unprotected envelope for load-balancers
> to act on.
>
> I also think it should be possible to mix protected and unprotected
> requests on the same TCP session.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--e89a8f647b3df715e304c4b997e8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

How much information needs to be in the unprotected envelope? =A0Because on=
e of the benefits of transport-level security is that a snooper, for exampl=
e a government tracking dissidents, knows little/nothing about my traffic a=
side from the routing. =A0Not a rhetorical question. =A0-Tim<br>
<br><div class=3D"gmail_quote">On Fri, Jul 13, 2012 at 10:37 AM, Poul-Henni=
ng Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" target=
=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
In message &lt;<a href=3D"mailto:CAMm%2BLwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvK=
Z%2BT_Hr9L%2Bhw@mail.gmail.com">CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T=
_Hr9L+hw@mail.gmail.com</a>&gt;<br>
<div class=3D"im">, Phillip Hallam-Baker writes:<br>
<br>
&gt;5a) The TLS-HTTP gap<br>
&gt;<br>
&gt;Now as far as HTTP is concerned, headers have security implications<br>
&gt;and so HTTP is not going to be acceptably secure without either<br>
&gt;transport layer or packet layer security.<br>
<br>
</div>I disagree.<br>
<br>
What HTTP lacks is a clear distinction between &quot;envelope&quot; and &qu=
ot;body&quot;<br>
the way SMTP and NNTP have it.<br>
<br>
HTTP/2.0 would enable a lot more sites to run with cryptographic<br>
security, if there were an unprotected envelope for load-balancers<br>
to act on.<br>
<br>
I also think it should be possible to mix protected and unprotected<br>
requests on the same TCP session.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</font></span></blockquote></div><br>

--e89a8f647b3df715e304c4b997e8--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:42:38 2012
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 A284521F87A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:42:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.261
X-Spam-Level: 
X-Spam-Status: No, score=-8.261 tagged_above=-999 required=5 tests=[AWL=2.338, BAYES_00=-2.599, 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 wsyF5RR7OQXL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:42:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F31421F877B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:42:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spjt6-0006uc-Vg for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:42:44 +0000
Resent-Date: Fri, 13 Jul 2012 17:42:44 +0000
Resent-Message-Id: <E1Spjt6-0006uc-Vg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Spjsz-0006rk-E4 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:42:37 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Spjsy-0002xJ-8D for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:42:37 +0000
Received: by vcbgb30 with SMTP id gb30so2868174vcb.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 10:42:10 -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=K32xlhwYIXY3eUPO0r6lN/38oEheyOEu6NVowW1B57o=; b=zK/G84o0zMOWKdgOQOjj30mopufkTmWf4eUSIXwCBAPgRGqYYPzs6SWjo6PDL2AbCZ 3qpYNKrhJy7uZeOeWhylv/p7LCXLgnOAEG3fMghKTqdAVWAQpfH1S2ZPa/IHwDdOJ1Dn XICVEocJFsHVw+DW+2WgsGkg4aX4+BFYr+yIVWgcEBEfkV/hc/ovxppADutT3qZjHM6B 7jHSwggbS3jaUTH/TkBsnbkSetoScmC2q+vLEB/z00K5aFk4+P7SjcsIcJSvay8OAbF+ prnQuQ1s1ITRfm84OW7zEh25gc+/tbV3WKDp5pcSVu3TFb2RRU3qqZ1WXcC7sIsn4pCN 2uow==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr872235vdg.94.1342201330454; Fri, 13 Jul 2012 10:42:10 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Fri, 13 Jul 2012 10:42:10 -0700 (PDT)
In-Reply-To: <45243.1342201043@critter.freebsd.dk>
References: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com> <45243.1342201043@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 13:42:10 -0400
Message-ID: <CAMm+LwgQRnXsjvFkg42Tm3qZmY=M34-n1WM1W9V9oF-=udnBQQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Spjsy-0002xJ-8D 61499858d1463a6c7fb811a08edc1301
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAMm+LwgQRnXsjvFkg42Tm3qZmY=M34-n1WM1W9V9oF-=udnBQQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14140
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>

OK HTTP is not going to be acceptably secure for the types of
application TLS is typically used today.

But that is still only 1% or so of traffic. that leaves quite a gap.


On Fri, Jul 13, 2012 at 1:37 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>5a) The TLS-HTTP gap
>>
>>Now as far as HTTP is concerned, headers have security implications
>>and so HTTP is not going to be acceptably secure without either
>>transport layer or packet layer security.
>
> I disagree.
>
> What HTTP lacks is a clear distinction between "envelope" and "body"
> the way SMTP and NNTP have it.
>
> HTTP/2.0 would enable a lot more sites to run with cryptographic
> security, if there were an unprotected envelope for load-balancers
> to act on.
>
> I also think it should be possible to mix protected and unprotected
> requests on the same TCP session.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:54:18 2012
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 9ACD811E80AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:54:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.77
X-Spam-Level: 
X-Spam-Status: No, score=-8.77 tagged_above=-999 required=5 tests=[AWL=1.829, BAYES_00=-2.599, 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 dhDYGXaA0rP8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:54:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB2C011E80B5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:54:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spk4A-0003a5-HG for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:54:10 +0000
Resent-Date: Fri, 13 Jul 2012 17:54:10 +0000
Resent-Message-Id: <E1Spk4A-0003a5-HG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Spk42-0003ZK-8u for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:54:02 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Spk41-0007xd-3m for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:54:02 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6DHrZU6015964; Fri, 13 Jul 2012 19:53:35 +0200
Date: Fri, 13 Jul 2012 19:53:35 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120713175335.GB15494@1wt.eu>
References: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com> <45243.1342201043@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <45243.1342201043@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Spk41-0007xd-3m 54bd43a67a58546c7c3a977e3b36005b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/20120713175335.GB15494@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14141
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 Fri, Jul 13, 2012 at 05:37:23PM +0000, Poul-Henning Kamp wrote:
> In message <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
> , Phillip Hallam-Baker writes:
> 
> >5a) The TLS-HTTP gap
> >
> >Now as far as HTTP is concerned, headers have security implications
> >and so HTTP is not going to be acceptably secure without either
> >transport layer or packet layer security. 
> 
> I disagree.
> 
> What HTTP lacks is a clear distinction between "envelope" and "body"
> the way SMTP and NNTP have it.
> 
> HTTP/2.0 would enable a lot more sites to run with cryptographic
> security, if there were an unprotected envelope for load-balancers
> to act on.
> 
> I also think it should be possible to mix protected and unprotected
> requests on the same TCP session.

+1 on all these points !

Also, in some environments, the need for clear-text but signed exchanges
is common in order to avoid tampering and to ensure transported data is
safe. As amazing as it may seem, I first noticed this requirement in
banking environments. There are places like this where most of the
transported data has no direct user information but needs to be easy to
control and process. In all these situations, dealing with a clear-text
envelope is by far the best solution.

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 10:59:46 2012
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 A2EF911E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:59:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 zp9em-AhQXHi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 10:59:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1AC8811E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 10:59:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spk9W-0005Jt-VS for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 17:59:43 +0000
Resent-Date: Fri, 13 Jul 2012 17:59:42 +0000
Resent-Message-Id: <E1Spk9W-0005Jt-VS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spk9P-0005I3-QP for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 17:59:35 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spk9O-0003V9-QO for ietf-http-wg@w3.org; Fri, 13 Jul 2012 17:59:35 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 6A1063B771; Fri, 13 Jul 2012 17:59:13 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DHxCGm045363; Fri, 13 Jul 2012 17:59:13 GMT (envelope-from phk@phk.freebsd.dk)
To: Tim Bray <tbray@textuality.com>
cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 10:41:44 MST." <CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 17:59:12 +0000
Message-ID: <45362.1342202352@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spk9O-0003V9-QO 2f755cff0613b402f24bcd37acfcc487
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45362.1342202352@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14142
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>

In message <CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com>
, Tim Bray writes:

>How much information needs to be in the unprotected envelope?  Because one
>of the benefits of transport-level security is that a snooper, for example
>a government tracking dissidents, knows little/nothing about my traffic
>aside from the routing.  Not a rhetorical question.  -Tim

And this is exactly about the routing.

The three fields that today should be part of the envelope is
"Host:", URI (Sans query part) and Session-Nonce.  (Since we don't
actually have a session-nonce, today people route on cookies.)

And like all other message transfer systems from snail-mail and
forward, the envelope need not give anything away, because what you
put on it only have to get the message to the right place, it doesn't
have to _be_ the message.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:00:50 2012
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 36F9011E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:00:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 NfZCUtM5cjuJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:00:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8824311E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:00:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpkAg-0001aD-VT for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:00:55 +0000
Resent-Date: Fri, 13 Jul 2012 18:00:54 +0000
Resent-Message-Id: <E1SpkAg-0001aD-VT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpkAZ-0001ZJ-QH for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:00:47 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpkAY-0008C7-R0 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:00:47 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0BE3E3B771; Fri, 13 Jul 2012 18:00:26 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DI0P59045392; Fri, 13 Jul 2012 18:00:25 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 13:42:10 -0400." <CAMm+LwgQRnXsjvFkg42Tm3qZmY=M34-n1WM1W9V9oF-=udnBQQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 18:00:25 +0000
Message-ID: <45391.1342202425@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpkAY-0008C7-R0 faf2adf0505c00f64682f9cfacd51d81
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45391.1342202425@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14143
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>

In message <CAMm+LwgQRnXsjvFkg42Tm3qZmY=M34-n1WM1W9V9oF-=udnBQQ@mail.gmail.com>
, Phillip Hallam-Baker writes:

>OK HTTP is not going to be acceptably secure for the types of
>application TLS is typically used today.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:02:15 2012
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 C129F11E80BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:02:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 eNK+9gijs56h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:02:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 49B1511E80B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:02:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpkCK-0001sK-KI for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:02:36 +0000
Resent-Date: Fri, 13 Jul 2012 18:02:36 +0000
Resent-Message-Id: <E1SpkCK-0001sK-KI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpkCD-0001rY-GX for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:02:29 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpkCB-0003cj-9d for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:02:29 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id BDA1B3B758; Fri, 13 Jul 2012 18:02:05 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DI251X045400; Fri, 13 Jul 2012 18:02:05 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 13:42:10 -0400." <CAMm+LwgQRnXsjvFkg42Tm3qZmY=M34-n1WM1W9V9oF-=udnBQQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 18:02:05 +0000
Message-ID: <45399.1342202525@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpkCB-0003cj-9d b5b6bda2c98cd0f1b6a11670df65d284
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45399.1342202525@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14144
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>

In message <CAMm+LwgQRnXsjvFkg42Tm3qZmY=M34-n1WM1W9V9oF-=udnBQQ@mail.gmail.com>
, Phillip Hallam-Baker writes:

>OK HTTP is not going to be acceptably secure for the types of
>application TLS is typically used today.

(Sorry, email misfire there).

I think you're wrong about that.

TLS already today leaks a lot of information to an eavesdropper, and
adding a convenient routing-envelope will not increase that leakage
if it is done correctly, but it will make it a lot easier for HTTP
server side to implement and handle protected traffic at high
traffic densities.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:11:17 2012
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 0456811E8079 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:11:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.407
X-Spam-Level: 
X-Spam-Status: No, score=-9.407 tagged_above=-999 required=5 tests=[AWL=1.192, BAYES_00=-2.599, 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 uAWmQLz+hX4S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:11:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3C6D21F85F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:11:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpkKX-0006KV-G5 for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:11:05 +0000
Resent-Date: Fri, 13 Jul 2012 18:11:05 +0000
Resent-Message-Id: <E1SpkKX-0006KV-G5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpkKP-0006J2-04 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:10:57 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpkKN-0000Bl-Md for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:10:56 +0000
Received: by wibhq4 with SMTP id hq4so744331wib.8 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 11:10:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dNAB2MmZGANFKyJGHxl6KND8F6E0XOd7NxO3ez1iTko=; b=qH2l+89PVA9PIF3X8xv4ohd8ZPzkxQE+tDg9MGVWayw75cApXcoI1btLknyB+137Qy wTJblnJtsIrUZdIkUqZCJPDWRwEvyY3FDXeKWE6HsuP5Re2wTy/dBXcZKcot1Obat/Tg BqlV/PTnumBw8HTlIq1FMC8LAzwHQyR/DLQ7e3ezYxYPX1lcSTUUwO1g42tEVmT2mNWX Ype4OYOAXzFlPdTxJ/M6KOEYINofPDBtXDYwJjLFM18AcFTMDg1emmWATGhqFqps6HnW teQOkTjGzUl2gRyAWm1qikj1V1JVU568zfwpUw6J3t+KUZb7NrGsAYsVUpKONdGOmo4r hW9w==
Received: by 10.180.19.162 with SMTP id g2mr4503591wie.22.1342203029176; Fri, 13 Jul 2012 11:10:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 13 Jul 2012 11:10:08 -0700 (PDT)
In-Reply-To: <CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com>
References: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com> <45243.1342201043@critter.freebsd.dk> <CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 13 Jul 2012 11:10:08 -0700
Message-ID: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpkKN-0000Bl-Md 25f2fe46f38608b49f46d479aabac7d1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14145
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>

Definitely a tricky thing here because of the competing interests and
requirements at play. Transport-layer secure provides the necessary
protection against snoopers but makes the efficient routing and
handling of the communication via intermediaries far more difficult.
Given the revised framing allowed in SPDY, is conceivable that two
distinct layers of security can be utilized here... one protecting the
envelope and another protecting the data end to end. The question then
becomes: which information is part of the envelope and which is part
of the payload... the fact that intermediaries need to be able to
route based on request URI and cookies is what makes this question
difficult to answer.

Perhaps something along the following lines would work:

1. Allow for an additional set of control frames that allow for the
negotiation of keys for use with encrypted streams...
2. Once established, a SYN_STREAM can be sent in the clear containing
ONLY the information the sender is willing to share "in the clear"
with the intermediary. This may or may not include cookie and request
URI details. The intermediary can determine, based on what is shared,
whether it is capable of properly handling the request with the
information given. If it's not, it can refuse the stream. The
intermediary could also potentially send it's own control frame
indicating which information it requires in order to do it's job.
Either end can choose to accept or reject the stream based on the
stated requirements.
3. Assuming the stream is accepted, either end can choose to send
encrypted data frames interleaved with clear text data frames.
encrypted data frames would include the ID of the negotiated key.
4. A sender can choose to send an unencrypted data frame if the frame
contains information that it feels is ok for the intermediary to see
and operate on. At any time, if the intermediary feels it does not
have sufficient access to the data in the stream to do it's job, it
can reject the stream.
5. With this Transport Layer Security can continue to be used. At the
intermediary level, it would only need to deal with encryption at the
TLS level, while leaving it to the client and server to deal with the
stream-level encryption.

This definitely adds an additional layer of complexity to the whole
process but I think the benefits would be worth it. For one, done
properly, it would allow two endpoints to negotiate encryption of the
data on the fly based on individual requests, even when transport
layer security is not being used... and encrypted data could be sent
interleaved with non-encrypted data on the same connection... even
within the same stream...

- James

On Fri, Jul 13, 2012 at 10:41 AM, Tim Bray <tbray@textuality.com> wrote:
> How much information needs to be in the unprotected envelope?  Because one
> of the benefits of transport-level security is that a snooper, for example a
> government tracking dissidents, knows little/nothing about my traffic aside
> from the routing.  Not a rhetorical question.  -Tim
>
>
> On Fri, Jul 13, 2012 at 10:37 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>
> wrote:
>>
>> In message
>> <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
>> , Phillip Hallam-Baker writes:
>>
>> >5a) The TLS-HTTP gap
>> >
>> >Now as far as HTTP is concerned, headers have security implications
>> >and so HTTP is not going to be acceptably secure without either
>> >transport layer or packet layer security.
>>
>> I disagree.
>>
>> What HTTP lacks is a clear distinction between "envelope" and "body"
>> the way SMTP and NNTP have it.
>>
>> HTTP/2.0 would enable a lot more sites to run with cryptographic
>> security, if there were an unprotected envelope for load-balancers
>> to act on.
>>
>> I also think it should be possible to mix protected and unprotected
>> requests on the same TCP session.
>>
>> --
>> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>> phk@FreeBSD.ORG         | TCP/IP since RFC 956
>> FreeBSD committer       | BSD since 4.3-tahoe
>> Never attribute to malice what can adequately be explained by
>> incompetence.
>>
>


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:22:07 2012
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 A457621F867E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:22:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 UR4RFFrkP4Fk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:22:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 989A821F867A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:22:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpkV7-0004t3-1f for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:22:01 +0000
Resent-Date: Fri, 13 Jul 2012 18:22:01 +0000
Resent-Message-Id: <E1SpkV7-0004t3-1f@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpkUz-0004qi-PV for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:21:53 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpkUy-0004Hd-LO for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:21:53 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 227D53B6B9; Fri, 13 Jul 2012 18:21:31 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DILUnv045485; Fri, 13 Jul 2012 18:21:30 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Tim Bray <tbray@textuality.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 11:10:08 MST." <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 18:21:30 +0000
Message-ID: <45484.1342203690@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpkUy-0004Hd-LO 4dcfb0ec695eb835d4790522176e52fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45484.1342203690@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14146
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>

In message <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com>
, James M Snell writes:

>Definitely a tricky thing here because of the competing interests and
>requirements at play. Transport-layer secure provides the necessary
>protection against snoopers but makes the efficient routing and
>handling of the communication via intermediaries far more difficult.

I still don't agree.

The envelope is where you write who you want your adversary to think
you are communicating with.

This may or may not be who you actually are communicating with.

TLS communication today already have an envelope consisting of
IP# + TCP port numbers, and unless your adversary is totally
incompetent, he also has the DNS lookup that gave you that IP#.

QED: Putting the "Host:" in the HTTP envelope does not leak any
information your adversary doesn't already have or can guess.

Even if we stopped here, it would be a major benefit over TLS
in terms of enabling websites to roll out protection for their
customers.

To make it better, we need to add a session identifier, but today
we pretend HTTP is stateless so we don't have one (so people
hack it with cookies).

Finally, to do what people do today we would need to include the
URI, but that is by far the most troublesome of the three fields.

I belive, but it should be seriously investigated, that if we add
a session-concept to HTTP2, the envelope would just need to be Host:
+ session-nonce.

In difference from TLS, that would allow us to mix protected and
unprotected traffic on the same TCP connection, thus avoiding
the extra TCP for protection upgrade, and making life much
easier and efficient for proxies.

It also means that you do not need to put your certificate on
the HTTP router/load-balancer, but can put it on the specific
webservers which host the protected stuff.

SSL/TLS was a quick hack to protect HTTP, one of the far too
many quick hacks in HTTP world.  We should try to eliminate
them.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:31:57 2012
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 913A211E80BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:31:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level: 
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[AWL=3.688, BAYES_00=-2.599, 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 hydOdLrkugH1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:31:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 160DD11E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:31:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spked-00024V-2t for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:31:51 +0000
Resent-Date: Fri, 13 Jul 2012 18:31:51 +0000
Resent-Message-Id: <E1Spked-00024V-2t@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SpkeV-00021y-GY for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:31:43 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SpkeU-0000re-F9 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:31:43 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1342204305; d=isode.com; s=selector; i=@isode.com; bh=qByQHbVpPBGP1Z9o2H8EyyF6etS7oPek9eSAAl6c8lw=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=tSB7U6Bb9qiXW01wxTV+edj7GMvVamPYaSCw+V7YYukNu9LOfBnTm7qIZa7SIO43ZFf4e4 2ArRgCD29DLtfRBb1AbTrOXf9erJ7nkd6mUASEvGqlkL9mIY9jMpzBj9bD6qMFUfsdKx8H Q6odQLjIcA601tKcsYg4obneCL2XjVA=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <UABpkQAkRAKN@waldorf.isode.com>; Fri, 13 Jul 2012 19:31:45 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <50006994.5090101@isode.com>
Date: Fri, 13 Jul 2012 19:31:48 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
To: HTTP Working Group <ietf-http-wg@w3.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpkeU-0000re-F9 044badaa122f1d87d3587e8ffd821c16
X-Original-To: ietf-http-wg@w3.org
Subject: Number of round trips in draft-melnikov-httpbis-scram-auth-00
Archived-At: <http://www.w3.org/mid/50006994.5090101@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14147
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>

As somebody asked me about this privately and this seems to be an 
important topic: it would be possible to reduce the number of round 
trips by 1 on reauthentication, same as for Digest or 
draft-oiwa-httpbis-mutualauth. I just didn't document this as I was a 
bit short on time.



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:36:49 2012
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 2D4EA11E80B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:36:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.647
X-Spam-Level: 
X-Spam-Status: No, score=-8.647 tagged_above=-999 required=5 tests=[AWL=1.952, BAYES_00=-2.599, 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 CFfQwI2rFFNI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:36:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4659811E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:36:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spkjb-00045K-2z for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:36:59 +0000
Resent-Date: Fri, 13 Jul 2012 18:36:59 +0000
Resent-Message-Id: <E1Spkjb-00045K-2z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpkjT-00042X-92 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:36:51 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpkjS-0001D6-5v for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:36:51 +0000
Received: by wgbdt14 with SMTP id dt14so3106693wgb.26 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 11:36:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/zYBk4iFVi5RkC4Im5/ZBqiTRuenw28D8OSz9D0axIE=; b=0gdIYHGkujP1AtfnTVPC/s+NXTp2pCFVYNlpZeDj9t4WN8XNYJUy7srbP1KwbqiU3v NXqfh/UEWEUe1QVQmJZEBuyUO0l3DqaAk1nvn7iPujs/pec2RzlZC+dYO4A3gn+IxIJE gJlavvkhpsZfAAVD0SN5JTdgps0t9zl7voNtBDWP4gTwN2R7gxkj6uGaswVSu+LKXzN2 HPzeqJzlopTLFmmFLCXCLBcxl2DDpWwUXjlb/rRafwmWk5zQmbbMTG+oeWwuPSEfn6hk RE2DiQpZesdK/nhwtSEuLRvhpOPykCZ60oxdCZ3KMzPesQbGRARl3Rc9qlkMblQtQrJu AmMw==
Received: by 10.180.103.136 with SMTP id fw8mr4653543wib.20.1342204583636; Fri, 13 Jul 2012 11:36:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 13 Jul 2012 11:36:03 -0700 (PDT)
In-Reply-To: <45484.1342203690@critter.freebsd.dk>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 13 Jul 2012 11:36:03 -0700
Message-ID: <CABP7Rbeg-1+Pmdj-AHGYX7fM4X-EVC06amixq7bQzPnYrYkeyw@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Tim Bray <tbray@textuality.com>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpkjS-0001D6-5v 9ed0310f34f3d737dfaa4a32da394693
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CABP7Rbeg-1+Pmdj-AHGYX7fM4X-EVC06amixq7bQzPnYrYkeyw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14148
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>

Sounds like we're generally in agreement on most aspects then. I agree
that TLS would not be strictly necessary if we have effective
stream-level security, and I definitely agree that a session
identifier at the stream-level would be highly beneficial. In the
scheme I described, sending a SYN_STREAM with the host and session-id
ONLY, in clear-text, and then encrypting subsequent data frames on the
stream, including the request-uri in an encrypted HEADERS frame,
SHOULD provide for the overwhelming majority of cases. As I said, if a
particular intermediary needs to perform request-uri based routing and
the request-uri is not included in the SYN_STREAM, it has the option
of rejecting the stream, in which case the sender can choose it's next
course of action.

Like I said, it appears to me that we are in agreement but if I am
misreading it, please let me know :-)

- James

On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com>
> , James M Snell writes:
>
>>Definitely a tricky thing here because of the competing interests and
>>requirements at play. Transport-layer secure provides the necessary
>>protection against snoopers but makes the efficient routing and
>>handling of the communication via intermediaries far more difficult.
>
> I still don't agree.
>
> The envelope is where you write who you want your adversary to think
> you are communicating with.
>
> This may or may not be who you actually are communicating with.
>
> TLS communication today already have an envelope consisting of
> IP# + TCP port numbers, and unless your adversary is totally
> incompetent, he also has the DNS lookup that gave you that IP#.
>
> QED: Putting the "Host:" in the HTTP envelope does not leak any
> information your adversary doesn't already have or can guess.
>
> Even if we stopped here, it would be a major benefit over TLS
> in terms of enabling websites to roll out protection for their
> customers.
>
> To make it better, we need to add a session identifier, but today
> we pretend HTTP is stateless so we don't have one (so people
> hack it with cookies).
>
> Finally, to do what people do today we would need to include the
> URI, but that is by far the most troublesome of the three fields.
>
> I belive, but it should be seriously investigated, that if we add
> a session-concept to HTTP2, the envelope would just need to be Host:
> + session-nonce.
>
> In difference from TLS, that would allow us to mix protected and
> unprotected traffic on the same TCP connection, thus avoiding
> the extra TCP for protection upgrade, and making life much
> easier and efficient for proxies.
>
> It also means that you do not need to put your certificate on
> the HTTP router/load-balancer, but can put it on the specific
> webservers which host the protected stuff.
>
> SSL/TLS was a quick hack to protect HTTP, one of the far too
> many quick hacks in HTTP world.  We should try to eliminate
> them.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:41:22 2012
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 4A3AF21F86C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:41:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 0Fbg4puJ7qVn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:41:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4C0421F85DD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:41:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spknp-0005zJ-Fs for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:41:21 +0000
Resent-Date: Fri, 13 Jul 2012 18:41:21 +0000
Resent-Message-Id: <E1Spknp-0005zJ-Fs@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spkni-0005yY-5v for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:41:14 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spknh-00055y-4T for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:41:14 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E39043B763; Fri, 13 Jul 2012 18:40:51 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DIepx3045572; Fri, 13 Jul 2012 18:40:51 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Tim Bray <tbray@textuality.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 11:36:03 MST." <CABP7Rbeg-1+Pmdj-AHGYX7fM4X-EVC06amixq7bQzPnYrYkeyw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 18:40:51 +0000
Message-ID: <45571.1342204851@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spknh-00055y-4T 845186ff9910d541236e22331bfa18a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45571.1342204851@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14149
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>

In message <CABP7Rbeg-1+Pmdj-AHGYX7fM4X-EVC06amixq7bQzPnYrYkeyw@mail.gmail.com>
, James M Snell writes:

>Sounds like we're generally in agreement on most aspects then. 

I think we agree about the broad outline, and that's the important
thing for me :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 11:41:22 2012
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 879B621F85DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:41:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.976
X-Spam-Level: 
X-Spam-Status: No, score=-6.976 tagged_above=-999 required=5 tests=[AWL=3.623, BAYES_00=-2.599, 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 NhueNCI78RmJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 11:41:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C04F221F86C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 11:41:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spko1-000607-Me for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 18:41:33 +0000
Resent-Date: Fri, 13 Jul 2012 18:41:33 +0000
Resent-Message-Id: <E1Spko1-000607-Me@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1Spknu-0005zM-GC for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 18:41:26 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1Spknt-00056e-GK for ietf-http-wg@w3.org; Fri, 13 Jul 2012 18:41:26 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1342204888; d=isode.com; s=selector; i=@isode.com; bh=RIFcuRIQPM2SDD+LwFHaoLFCVQhKXgNQRaFAZcXN5Rk=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=MR4pnsIIlptVPj2gSIHBsNPckMxeqDGrnPEFJdRstqBYLK0ib0RkASWlZErrMAaAsuR60w UCY0nzOSxDeE3oe/X/rQ0UWjb8mKBn0goDo6cZB2P+5OlehK+KIMqDldai1PHGxptCFxer vQ4uECV+6T4qwZxPX5JAHw0bzN+clkc=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <UABr2AAkREac@waldorf.isode.com>; Fri, 13 Jul 2012 19:41:28 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <50006BDC.4020200@isode.com>
Date: Fri, 13 Jul 2012 19:41:32 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
To: Nico Williams <nico@cryptonector.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAK3OfOi4VNRYrF31=DasKP=YHyRJ3e0y1X54q7UCiiywgxYFJQ@mail.gmail.com> <4FFC5933.20702@isode.com> <CAK3OfOjHxXT8X+oUoD+NnA4Ej02c==kUQ+HHcNRC8Q=97xeZiA@mail.gmail.com>
In-Reply-To: <CAK3OfOjHxXT8X+oUoD+NnA4Ej02c==kUQ+HHcNRC8Q=97xeZiA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spknt-00056e-GK ac0fca754d9b6de3a2923a027b21ce61
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/50006BDC.4020200@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14150
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 10/07/2012 18:45, Nico Williams wrote:
> On Tue, Jul 10, 2012 at 11:32 AM, Alexey Melnikov
> <alexey.melnikov@isode.com> wrote:
>> You REST-GSS approach has some benefits over currently existing web
>> authentication, so I am looking forward to discussing with the WG whether
>> this should be the basis for all future web authentication mechanisms.
> Thanks.  I may be biased but I tend to agree :)
>
> What benefits do you see?

You use existing HTTP features, so hopefully that would be easier to 
implement than extensions to existing HTTP authentication framework.

There is also a benefit for not reusing WWW-Authenticate/Authorisation 
headers for multileg authentication, because it is not entirely clear 
how existing clients would handle unrecognized authentication 
mechanisms. So not needing to deal with backward compatibility might be 
a plus.



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 12:28:19 2012
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 0B3A421F859A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:28:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 TE+NHb52-hlr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:28:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E2D5F21F8596 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 12:28:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SplWU-0005Gb-FA for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 19:27:30 +0000
Resent-Date: Fri, 13 Jul 2012 19:27:30 +0000
Resent-Message-Id: <E1SplWU-0005Gb-FA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1SplWG-0005Cj-So for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 19:27:16 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1SplWF-0006Xl-Nf for ietf-http-wg@w3.org; Fri, 13 Jul 2012 19:27:16 +0000
Received: by wibhq4 with SMTP id hq4so794319wib.8 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:26:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=zJ8WTThIUfni7AX6rj0dIwBMgxsYeke5T3Tvl4WPaP4=; b=W9IDk+aBX6GwWBaGMWTufkVHeF/M001TAP6OIa/yZVNrufgQiaTENxn12x1Equ5rh4 orQcKEN1s24KBUiJtNI8MJEY99kZFRec00wYh0dZ6gsUL1B1k5oqHzzBFcBm4x5/ZJ3O s/aZNsJm+3HcYR0gL+CLV7UwV2iiJr2/QetxpGbtqQp97IZbY9ouagVtKJGK9dPYj6T4 1diboTQEYG/run24xdn8P4JVzjUc1lQ6MubnUgHKFSs4Yy7U/rEy0dNnOa46BZ6F2X0g LogKHO0E5Xog/eG94qUpqh24c4tcdFGSbaYf7fGZqwwn3auU3KiiEQdvxUSN6xeOScCi SgRA==
MIME-Version: 1.0
Received: by 10.180.105.163 with SMTP id gn3mr102909wib.2.1342207609133; Fri, 13 Jul 2012 12:26:49 -0700 (PDT)
Received: by 10.217.5.198 with HTTP; Fri, 13 Jul 2012 12:26:49 -0700 (PDT)
X-Originating-IP: [166.147.93.184]
In-Reply-To: <45362.1342202352@critter.freebsd.dk>
References: <CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com> <45362.1342202352@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 12:26:49 -0700
Message-ID: <CAAbTgTv4QxwyBy5Fp5xg7A_WAQ2BAxrK=Ui932amJrXZ2iA50A@mail.gmail.com>
From: Brian Pane <brianp@brianp.net>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04428466c1daf104c4bb0fb6
X-Gm-Message-State: ALoCoQnU5JtYxXeDUGWC5hrXaW50u+Oe9TMxgcuTdlh0acUby+xfzhizHKW81LXRTzOpNYtzPgmC
Received-SPF: none client-ip=209.85.212.179; envelope-from=brianp@brianp.net; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SplWF-0006Xl-Nf 4b6c32c27cd9495b89291eddce9dcda8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAAbTgTv4QxwyBy5Fp5xg7A_WAQ2BAxrK=Ui932amJrXZ2iA50A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14151
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>

--f46d04428466c1daf104c4bb0fb6
Content-Type: text/plain; charset=ISO-8859-1

On Friday, July 13, 2012, Poul-Henning Kamp wrote:

> In message <
> CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.gmail.com<javascript:;>
> >
> , Tim Bray writes:
>
> >How much information needs to be in the unprotected envelope?  Because one
> >of the benefits of transport-level security is that a snooper, for example
> >a government tracking dissidents, knows little/nothing about my traffic
> >aside from the routing.  Not a rhetorical question.  -Tim
>
> And this is exactly about the routing.
>
> The three fields that today should be part of the envelope is
> "Host:", URI (Sans query part) and Session-Nonce.  (Since we don't
> actually have a session-nonce, today people route on cookies.)


>From the perspective of a load balancer, having just those three fields in
cleartext isn't sufficient. Sending a request to the proper upstream
destination may require information from Cookie, X-Forwarded-For, and more.

And because there's an overlap between the fields often needed for load
balancing and the fields that contain PII, trying to put the former in a
cleartext envelope Is a tricky proposition.

I'm not too concerned about load balancers having to decrypt messages,
though: SSL termination has been a key selling point for load balancers for
many years.

-Brian

--f46d04428466c1daf104c4bb0fb6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Friday, July 13, 2012, Poul-Henning Kamp  wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">In message &lt;<a href=3D"javascript:;" onclick=3D"_e(event, &#3=
9;cvml&#39;, &#39;CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.=
gmail.com&#39;)">CAHBU6itLXj1W2uGEFvMEemi5hBrYjmaeYq-8b0oJvzKdvCh34Q@mail.g=
mail.com</a>&gt;<br>

, Tim Bray writes:<br>
<br>
&gt;How much information needs to be in the unprotected envelope? =A0Becaus=
e one<br>
&gt;of the benefits of transport-level security is that a snooper, for exam=
ple<br>
&gt;a government tracking dissidents, knows little/nothing about my traffic=
<br>
&gt;aside from the routing. =A0Not a rhetorical question. =A0-Tim<br>
<br>
And this is exactly about the routing.<br>
<br>
The three fields that today should be part of the envelope is<br>
&quot;Host:&quot;, URI (Sans query part) and Session-Nonce. =A0(Since we do=
n&#39;t<br>
actually have a session-nonce, today people route on cookies.)</blockquote>=
<div><br></div><div>From the perspective of a load balancer, having just th=
ose three fields in cleartext isn&#39;t sufficient. Sending a request to th=
e proper upstream destination may require information from Cookie, X-Forwar=
ded-For, and more.<span></span></div>
<div><br></div><div>And because there&#39;s an overlap between the fields o=
ften needed for load balancing and the fields that contain PII, trying to p=
ut the former in a cleartext envelope Is a tricky proposition.</div><div>
<br></div>I&#39;m not too concerned about load balancers having to decrypt =
messages, though: SSL termination has been a key selling point for load bal=
ancers for many years.<div><br></div><div>-Brian</div>

--f46d04428466c1daf104c4bb0fb6--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 12:28:42 2012
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 144F421F87F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:28:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.198
X-Spam-Level: 
X-Spam-Status: No, score=-7.198 tagged_above=-999 required=5 tests=[AWL=2.779, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 3etMTdd11ZsO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:28:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EA0FE21F87F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 12:28:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SplXZ-0005QF-Ba for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 19:28:37 +0000
Resent-Date: Fri, 13 Jul 2012 19:28:37 +0000
Resent-Message-Id: <E1SplXZ-0005QF-Ba@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SplXR-0005LB-2P for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 19:28:29 +0000
Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a86.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SplXP-0006aH-Pu for ietf-http-wg@w3.org; Fri, 13 Jul 2012 19:28:29 +0000
Received: from homiemail-a86.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a86.g.dreamhost.com (Postfix) with ESMTP id D28E1360072 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:28:06 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=fecDH5hdrZdNbe859mJYl p7mOp/QbFldutA6q/a0I4/fhpn0bZpBiEumT1jV1N0awId0t0zi61HPvvnWRTNsL Tf22JXSi6c97OuI1Rb2bKtUUhw+KDODoNOJRjf8pdNs9l0if+TdGRv8o4Z+X9Kfj NuKMaWwBKr6aZqVzwwf1mc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=9ZF30gMwkP8mcGCsCrD4 SvQB8qY=; b=KbcYDyMtukeFXkcXvGD6gyMrJmn7hVjc54MYWRyEelj/C9iPbkBi enGQZ53P4AYcfueShGZPOsB4SQFS4lDs6dG8ZTQWLssOCGhEKeIIn9SVihNUIn2/ oGjBXbA1dJ9Bku2PI2szmrAJYsCRJJNfnfKHZggoLQJziG8aDQVKZx0=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a86.g.dreamhost.com (Postfix) with ESMTPSA id B352636006A for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:28:06 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so6050716pbc.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:28:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.223.138 with SMTP id qu10mr6039194pbc.50.1342207686163; Fri, 13 Jul 2012 12:28:06 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 12:28:06 -0700 (PDT)
In-Reply-To: <CAMm+LwiD5wwz=YkDoeV7K8MVvmwkSqKHjtRfvxR0hXM=qMEqfg@mail.gmail.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com> <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com> <CAK3OfOinX+XM6bDDDWWW+shCrVforUx18aZe8upNpxXYpjSXPg@mail.gmail.com> <CAMm+LwiD5wwz=YkDoeV7K8MVvmwkSqKHjtRfvxR0hXM=qMEqfg@mail.gmail.com>
Date: Fri, 13 Jul 2012 14:28:06 -0500
Message-ID: <CAK3OfOgW57TT8j-QtAba6EzPvhpSGfVjcjKs_be=TGh8QtfJeA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.177; envelope-from=nico@cryptonector.com; helo=homiemail-a86.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SplXP-0006aH-Pu 2ee61d83225dbd01a6c06aef0e2bfaef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAK3OfOgW57TT8j-QtAba6EzPvhpSGfVjcjKs_be=TGh8QtfJeA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14152
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 Fri, Jul 13, 2012 at 12:40 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> On Fri, Jul 13, 2012 at 1:24 PM, Nico Williams <nico@cryptonector.com> wrote:
>> On Fri, Jul 13, 2012 at 12:37 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>> I really dislike the idea of having a platform inside a platform
>>>
>>> TLS is way too big for comfort. GSSAPI has mechanism on mechanism.
>>
>> I'm not sure I understand.  The GSS-API is just an API.
>
> Which makes it a non-starter as HTTP is a protocol. How does a
> protocol interact with an API?

GSS-API is an API to a protocol.  The protocol is the selected GSS-API
*mechanism*.  "Mechanism" here means: Kerberos, ABFAB, whatever --
that which defines the format of authentication messages.  GSS is
*not* a mechanism, just an interface to them.

Just two[*] GSS-API functions are enough to implement a REST-GSS
client: GSS_Import_name() and GSS_Init_sec_context().  It's *really*
easy to write a simple GSS client application.  Moreover, because the
GSS-API comes with an *abstract* API it's also easy to specify an
application protocol that uses GSS in a very precise (and therefore
more likely to interop) way.

[*] four when you add the two corresponding destructors, six
altogether when you add the ability to select a client credential from
among several.

>> It defines a
>> tiny bit of protocol.  To give you an idea of just how little
>> "mechanism on mechanism" the GSS-API has just consider the fact that
>> SSPI is teh interface to TLS on Windows, and that the GSI TLS
>> mechanism for GSS is wire-compatible with TLS even though it's being
>> invoked from the GSS-API!
>
> I have no way to parse or make sense of what you are trying to say.
>
> A protocol and an API are two different things.

The GSS-API is an API to a protocol where the *form* of the protocol
is the same for all mechanisms but the *specific details* of each
mechanism are specified by the mechanisms themselves.

The *form* of the protocol is trivial: first there's an exchange of
"security context tokens" that authenticate the peers and exchange
session keys, then there's "per-message" tokens that the application
can use in any way it wants to provide confidentiality and/or
integrity protection to the application's data.  The per-message token
choices are quite rich in semantics, allowing for applications that
want octet streams and applications that want datagrams.

The GSS-API specifies a tiny bit of on-the-wire bits: optional token
headers that *standard* mechanisms must have but that others need not.

> If its not bits on the wire or describing the state at either end then
> it isn't a protocol and if it isn't a protocol it has no place in HTTP
> spec.

See above.

>> I think we need protocols that work with the types of credentials that
>> people have *already* deployed, whether those be smartcards,
>> passwords, OTPs, two-factor, or whether the infrastructures be based
>> on RADIUS, Kerberos, ...
>>
>> There are large investments in these things already made.
>
> Nowhere near as large as the investment in HTTP and we are proposing
> to change that.

Apples and oranges.

HTTP on the web mostly doesn't do anything for authentication.
There's no investment there to protect.  But there *is* authentication
elsewhere (in HTTP on corporate networks, and above HTTP on the web),
and that investment is really a great deal of inertia.  There is also
an enormous investment in HTTP, but I challenge you to show me how my
proposal fails to be orthogonal to it.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 12:32:00 2012
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 B523D11E80D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:32:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 v4N72iLEueMR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:31:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84B6111E80C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 12:31:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Splb2-0002Gd-1e for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 19:32:12 +0000
Resent-Date: Fri, 13 Jul 2012 19:32:12 +0000
Resent-Message-Id: <E1Splb2-0002Gd-1e@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paulle@microsoft.com>) id 1Splat-0002Fs-Il for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 19:32:03 +0000
Received: from co1ehsobe004.messaging.microsoft.com ([216.32.180.187] helo=co1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <paulle@microsoft.com>) id 1Splas-0002pk-1q for ietf-http-wg@w3.org; Fri, 13 Jul 2012 19:32:03 +0000
Received: from mail111-co1-R.bigfish.com (10.243.78.231) by CO1EHSOBE009.bigfish.com (10.243.66.72) with Microsoft SMTP Server id 14.1.225.23; Fri, 13 Jul 2012 19:31:35 +0000
Received: from mail111-co1 (localhost [127.0.0.1])	by mail111-co1-R.bigfish.com (Postfix) with ESMTP id 8A5BD14040E;	Fri, 13 Jul 2012 19:31:35 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: 2
X-BigFish: VS2(zz98dI9371I617I542M1432Izz1202hzz8275bh8275dh838bsz2fh2a8h668h839h944hd25hf0ah107ah)
Received-SPF: pass (mail111-co1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=paulle@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail111-co1 (localhost.localdomain [127.0.0.1]) by mail111-co1 (MessageSwitch) id 1342207893614540_26050; Fri, 13 Jul 2012 19:31:33 +0000 (UTC)
Received: from CO1EHSMHS002.bigfish.com (unknown [10.243.78.233])	by mail111-co1.bigfish.com (Postfix) with ESMTP id 94040CC0044;	Fri, 13 Jul 2012 19:31:33 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by CO1EHSMHS002.bigfish.com (10.243.66.12) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 13 Jul 2012 19:31:31 +0000
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14HUBC104.redmond.corp.microsoft.com (157.54.80.25) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 13 Jul 2012 19:31:30 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi id 14.02.0309.003; Fri, 13 Jul 2012 12:31:30 -0700
From: Paul Leach <paulle@microsoft.com>
To: Phillip Hallam-Baker <hallam@gmail.com>, Nico Williams <nico@cryptonector.com>
CC: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: AQHNYJ63U8tOQ103RU6NyrfrtTh11pcnIYwAgAAFngCAAG0poA==
Date: Fri, 13 Jul 2012 19:31:29 +0000
Message-ID: <526415708D2AD940845C43B7A6BE7CE80E9F7C9B@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com> <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
In-Reply-To: <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.187; envelope-from=paulle@microsoft.com; helo=co1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Splas-0002pk-1q 17e537eb3aeeeed406ab3313ec665835
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/526415708D2AD940845C43B7A6BE7CE80E9F7C9B@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14153
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'd like to quibble a little with the description of the "authentication ac=
tivities"; they all have the same flaw which can be illustrated by a propos=
ed modification to the first one:

	CREDENTIAL-Authentication: Is this the user _who sent this HTTP request_ a=
nd claiming to be the owner of account 'X' the same user who was issued acc=
ount 'X'?

Why is the change necessary? Because one of the biggest problems with curre=
nt security mechanisms at the HTTP layer is that there is very little bindi=
ng between the identity of the user making the connection and the request c=
oming over the connection. None of the existing in use mechanisms except Di=
gest even tries, and Digest usually only binds the request URI and method o=
f the request to the authenticated identity. As a result, any MITM can almo=
st completely change the request, so that knowledge of who sent the Authent=
ication header is basically irrelevant if real security is needed.

As a further result, the only time that HTTP layer authentication has any r=
eal security value is when it is tunneled inside of TLS, and _has its chann=
el bound_ to the authentication.

Note that Digest also (in a less-used feature) has a way to bind the reques=
t body and the response body to the identity of the requesting user. Unfort=
unately, it doesn't bind the rest of request and response headers; that's b=
ecause proxy servers are allowed to rearrange them, and coming up with a ca=
nonical form that allowed for that seemed intractable. Also, Digest doesn't=
 support chunked encoding, so that very large or indefinite length entity b=
odies are at best problematic.=20

Also note that Digest has an "MD5-sess" mode that provides for the "RE-auth=
entication" mode that Phillip defines.

(The biggest problem with Digest is that the construction of the keys it us=
es from the password does not specify how to handle any character set other=
 than ASCII. I was clueless about that in those days.)


-----Original Message-----
From: Phillip Hallam-Baker [mailto:hallam@gmail.com]=20
Sent: Thursday, July 12, 2012 10:37 PM
To: Nico Williams
Cc: Paul Hoffman; ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest

I really dislike the idea of having a platform inside a platform

TLS is way too big for comfort. GSSAPI has mechanism on mechanism.


I don't want a choice of fifty ways to authenticate. I want exactly one mec=
hanism to support each type of authentication. I certainly don't want a cho=
ice of crypto protocols to verify passwords. In fact I don't want passwords=
 to be flowing over the net at all. The proper use of a password is to unlo=
ck the user's credential on their authentication device.

SAML and OAUTH and the rest already define an interaction with HTTP.
If we want to adopt those as mechanisms we should adopt them directly into =
HTTP and not introduce a platform step.

But even there we should not accept the whole of either spec. Much of the a=
rgument in SAML went into the design of a mechanism that could be used with=
 legacy Web browsers. Same for OAUTH. Now it will certainly be necessary to=
 consider how we transition to HTTP 2.0 but I would want to jettison the en=
tire transition structure once we get there.


But really we have a much smaller set of concerns. In particular we should =
distinguish between the different things that are called 'authentication' a=
nd we should not incorporate any mechanism into the spec that is incomplete=
ly specified. By which I mean relying on out of band configuration or excha=
nge of credentials.

Specifically we have the following activities that are all known as
'authentication':

CREDENTIAL-Authentication Is this the user claiming to be the owner of acco=
unt 'X' the same user who was issuedaccount 'X'

RE-Authentication: Is this the same user that authenticated previously?

FED-Authentication: Is the user claiming to be acct:user@example.com the sa=
me user that other sites accept as acct:user@example.com


Now credential authentication is a strict subset of the federated case so i=
t may not be desirable to distinguish the two on an ongoing basis but RE-Au=
thentication is something rather different.



On Fri, Jul 13, 2012 at 1:16 AM, Nico Williams <nico@cryptonector.com> wrot=
e:
> On Thu, Jul 12, 2012 at 9:22 PM, Paul Hoffman <paul.hoffman@gmail.com> wr=
ote:
>> draft-williams-rest-gss relies on GSSAPI, which has thin adoption=20
>> even after many years. [...]
>
> If you consider that the SSPI is very similar to the GSS-API, and=20
> wire-compatible with it anyways, then that assertion is quite clearly=20
> incorrect.  SSPI is extremely widely used, both in proprietary=20
> application protocols and standard ones (including TLS, since SSPI is=20
> the interface to TLS in Windows).
>
> The GSS-API has had a dearth of mechanisms for it deployed, but this=20
> is beginning to change.  We now have all of these standardized and/or
> deployed:
>
>  - Kerberos (including IAKERB)
>  - GSS-EAP (see ABFAB WG)
>  - SCRAM
>  - Microsoft's PKU2U (PKI, based on Kerberos w/ PKINIT)
>  - the GSI mechanism that is really just TLS repackaged as GSS
>
>    (See again how SSPI is the interface to TLS in Windows.
>     It's also the interface to SASL.)
>
>  - OAuth and SAML-based mechanisms are in the works as well.
>
> It's easy enough to add new GSS-API mechanisms, but between GSS-EAP,=20
> Kerberos (particularly with trust routing and bootstrapping=20
> enhancements), PKU2U, OAuth, and SAML I think we have most needs=20
> covered.  A ZKPP mechanism or three should be added, but unless that's=20
> done in a way that federates then I think it's best to make sure that=20
> GSS-EAP can use ZKPP EAP methods and Kerberos can use ZKPP=20
> pre-authentication mechanisms.
>
> The biggest Internet protocol users of the GSS-API are SSHv2 (yes,=20
> really, SSHv2 w/ GSS and Kerberos is widely deployed in corporate=20
> networks), LDAP (see again Windows), and NFS.  But also IMAP (see=20
> Exchange), DNS (GSS-TSIG, see Active Directory and Windows) and=20
> others.  There's also widely deployed non-Internet standards-track=20
> protocols, such as SMB, as well as many proprietary protocols.  And=20
> then there's HTTP/Negotiate -- how could I forget!  (though to be sure=20
> I don't really like HTTP/Negotiate, otherwise I might just have=20
> proposed that.)
>
> Nico
> --
>



--
Website: http://hallambaker.com/





From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 12:51:45 2012
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 62D9411E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 CmWk03VL9R6U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:51:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7884521F8577 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 12:51:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpltR-0002ax-Jm for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 19:51:13 +0000
Resent-Date: Fri, 13 Jul 2012 19:51:13 +0000
Resent-Message-Id: <E1SpltR-0002ax-Jm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpltK-0002a7-72 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 19:51:06 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpltJ-0003Yp-A9 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 19:51:06 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id CAE043B751; Fri, 13 Jul 2012 19:50:43 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DJoh7a045819; Fri, 13 Jul 2012 19:50:43 GMT (envelope-from phk@phk.freebsd.dk)
To: Brian Pane <brianp@brianp.net>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 12:26:49 MST." <CAAbTgTv4QxwyBy5Fp5xg7A_WAQ2BAxrK=Ui932amJrXZ2iA50A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 19:50:43 +0000
Message-ID: <45818.1342209043@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpltJ-0003Yp-A9 37a527e2f8f65ba4543520335bb6d41d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/45818.1342209043@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14154
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>

In message <CAAbTgTv4QxwyBy5Fp5xg7A_WAQ2BAxrK=Ui932amJrXZ2iA50A@mail.gmail.com>
, Brian Pane writes:

>>From the perspective of a load balancer, having just those three fields in
>cleartext isn't sufficient. Sending a request to the proper upstream
>destination may require information from Cookie, X-Forwarded-For, and more.

(X-)F-F makes sense.

Cookies: not so, whenever people use cookies, they are working around
lack of session concept in HTTP.  HTTP/2.0 should fix that, so cookies
go away.

>I'm not too concerned about load balancers having to decrypt messages,
>though: SSL termination has been a key selling point for load balancers for
>many years.

That's not the same as it being a good idea.

Hosting providers are often unable to deploy load-balancers and
DoS mitigation, exactly because it would require them to have all
their hosted clients certificates.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 12:59:41 2012
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 628FC11E8102 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:59:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.243
X-Spam-Level: 
X-Spam-Status: No, score=-7.243 tagged_above=-999 required=5 tests=[AWL=2.734, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 2j2HxV7X0mPj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 12:59:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4499511E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 12:59:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spm1O-0004GI-2v for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 19:59:26 +0000
Resent-Date: Fri, 13 Jul 2012 19:59:26 +0000
Resent-Message-Id: <E1Spm1O-0004GI-2v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spm1G-0004F7-O2 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 19:59:18 +0000
Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a98.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spm1F-0007fR-Ab for ietf-http-wg@w3.org; Fri, 13 Jul 2012 19:59:18 +0000
Received: from homiemail-a98.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTP id 9D0EC2C2081 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:58:56 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :date:message-id:subject:from:to:content-type; q=dns; s= cryptonector.com; b=KU6vIlEiFcooDCMJ6KG86NCMMb2IJ673WYssurTDbiPE wMzI/DfpK7lj71UkUT3V2K9SgQwy2dKJAFWykSXU4lc0bNiFdxjROpfmxgbBJ7dT EDC8hX24yZqcPsHZGZngQox0MacqgElCQUZDO5OIWPJPlWTxlL9aHRBW9Kv1vAs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=RsZAUzHy6F+sQxG7HOfphMXcDRs=; b=Oo8T189kP/q aN34IELKN403aNY6aezv5HjixCWANM5Ntm9zAp3hVKzrUbPuggx9H1tI6woN9b7D E65WGVy9Z7M9mLAh6V+feK1RcirFWFM1zYoXZT/ryJLMvuoK6Xrh/PCuURSVeYwk V7GblAh+ZDVxzujhUSxOudcj2/1DM+Cs=
Received: from mail-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTPSA id 7BB092C2060 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:58:56 -0700 (PDT)
Received: by ghy10 with SMTP id 10so4348311ghy.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 12:58:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.83.39 with SMTP id n7mr4318630pay.82.1342209535661; Fri, 13 Jul 2012 12:58:55 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 12:58:55 -0700 (PDT)
Date: Fri, 13 Jul 2012 14:58:55 -0500
Message-ID: <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.81; envelope-from=nico@cryptonector.com; helo=homiemail-a98.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=1.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_12LTRDOM=3.499, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Spm1F-0007fR-Ab 3c1e547a4f760f0f87c674846758f215
X-Original-To: ietf-http-wg@w3.org
Subject: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14155
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 wanted to clear up some misconceptions about the GSS-API I saw here
over the last 24 hours, and repeatedly elsewhere over the last decade.

0) The GSS-API is really just an abstract interface to authentication
protocols.  The authentication protocols are termed "mechanisms" in
GSS-API terminology.  The GSS-API does not specify a protocol so much
as a form of protocol that is really quite standard: first there's a
synchronous exchange of messages that provide authentication and/or
key exchange, then there's what TLS calls the application record
layer, but which GSS calls "per-message tokens".  GSS-API application
record semantics are richer still than DTLS' but easily supports octet
stream applications.

There are three parts to the GSS-API: an abstract API used for
describing the form of the protocols, an actual API specification
(with C, Java, other bindings) that need not be used, but is
convenient, and the concrete security mechanisms.  The last specify
the bits on the wire.  An application that uses the API can be written
such that it can use *any* mechanism, which makes the API *pluggable*,
which means that the choice of mechanism is not dictated by the IETF
but by users in the field and the authentication infrastructures that
they have already deployed.

1) The GSS-API is -in fact- widely deployed and used.  The SSPI is a
very similar API that provides access to GSS mechanisms.  The SSPI is
one of the most widely used security APIs ever.

2) Implementors need not implement the GSS-API in order to
use/implement GSS security mechanisms.  That's because the mechanisms
are the protocols, and the API is just an API.

3) The GSS-API is a very large API, yes, but typical applications use
only a very small subset of the available GSS functions.  A simple
client application can use as few as two functions (not counting
destructors).  Do not let the size of the API scare you.  It's large
because complete, not because complicated.  To be sure, it is possible
to design applications that can use large numbers of GSS-API
functions, but REST-GSS is designed to be quite a simple GSS
application.

Note by the way that REST-GSS uses SASL, not GSS, but it uses GSS
mechanisms through SASL/GS2.  SASL/GS2 is a trivial SASL layer above
GSS.  There's a reason for this: it's simpler for those implementors
who wish to use GSS security mechanisms without using the API, while
not really making implementation more difficult for those who have and
want to use a GSS-API implementation.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 13:37:38 2012
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 EFCF411E810F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 13:37:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.966
X-Spam-Level: 
X-Spam-Status: No, score=-7.966 tagged_above=-999 required=5 tests=[AWL=2.033, BAYES_00=-2.599, J_CHICKENPOX_43=0.6, 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 Q8SiQkEHmsIm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 13:37:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31DEE11E810E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 13:37: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 1Spmbf-0006HC-ER for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 20:36:55 +0000
Resent-Date: Fri, 13 Jul 2012 20:36:55 +0000
Resent-Message-Id: <E1Spmbf-0006HC-ER@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SpmbX-0006Ed-V8 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 20:36:48 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SpmbW-0004vL-U5 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 20:36:47 +0000
Received: by qcad1 with SMTP id d1so2603202qca.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 13:36:21 -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=K5Z+zD+AE/glBGh6uDDh2mp9/FG6fFixKrDF7Fwgjck=; b=QUdH62435CJ5uyMWeXKZF0M/oAhHx/hAQdxog9J1d3yJpg1pfB65bzJVM6f3s/3b0l fYA7FvyJGjy/TdnYC8lLZbkl25CC3Ec0xB5VF73owhZmSWbxzErXOjZPAqP+Hr/3pcSL KHeQjihvydQjQjaBaDn3Ikd11KFZy5+tBm17Cza2NRqYWhEY0VSBZKaX21OasG0oMlvt Z8aJdw3lGxRrK9ohZQAVu+Mf/mkxHB3Q26OaOId9z9PCUM7s2/iT3OcjRh4IaN6RNyPT r/vfBTgAFZ82fGZiK2Ziu4uxmGHxTvWK7wSHV3Cq1EHlfftm96p5D6dt//7OQ5AhrO4a YeDg==
MIME-Version: 1.0
Received: by 10.229.135.16 with SMTP id l16mr1405350qct.126.1342211781176; Fri, 13 Jul 2012 13:36:21 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Fri, 13 Jul 2012 13:36:21 -0700 (PDT)
In-Reply-To: <45818.1342209043@critter.freebsd.dk>
References: <CAAbTgTv4QxwyBy5Fp5xg7A_WAQ2BAxrK=Ui932amJrXZ2iA50A@mail.gmail.com> <45818.1342209043@critter.freebsd.dk>
Date: Sat, 14 Jul 2012 05:36:21 +0900
Message-ID: <CAGipQFk4dCEAhsoc5Cv7ZKNine__rG65kGc7tX8FRXnUjnCSTQ@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Brian Pane <brianp@brianp.net>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=lef.mutualauth@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpmbW-0004vL-U5 83c03726f49c2b0c31aea9d071e09aa9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAGipQFk4dCEAhsoc5Cv7ZKNine__rG65kGc7tX8FRXnUjnCSTQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14156
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>

Dear Poul-Henning,

(disclaimer, I am one of the authors of http-mutual authentication I-D.)
IHMO(not authors. only me.),
HTTP Authentication (ex. Digest) has the state that I can call a session.

I think that this becomes the materials of this discussion.
"HTTP router" is very well put.
I want to know how the HTTP Authentication is handled on it.

Do you have any opinion about this?

-- 
HAYASHI, Tatsuya
Lepidum Co. Ltd.

On Sat, Jul 14, 2012 at 4:50 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAAbTgTv4QxwyBy5Fp5xg7A_WAQ2BAxrK=Ui932amJrXZ2iA50A@mail.gmail.com>
> , Brian Pane writes:
>
>>>From the perspective of a load balancer, having just those three fields in
>>cleartext isn't sufficient. Sending a request to the proper upstream
>>destination may require information from Cookie, X-Forwarded-For, and more.
>
> (X-)F-F makes sense.
>
> Cookies: not so, whenever people use cookies, they are working around
> lack of session concept in HTTP.  HTTP/2.0 should fix that, so cookies
> go away.
>
>>I'm not too concerned about load balancers having to decrypt messages,
>>though: SSL termination has been a key selling point for load balancers for
>>many years.
>
> That's not the same as it being a good idea.
>
> Hosting providers are often unable to deploy load-balancers and
> DoS mitigation, exactly because it would require them to have all
> their hosted clients certificates.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 13:38:18 2012
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 BEE6911E810A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 13:38:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 CsCslk+1eKH2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 13:38:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3141D11E80C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 13:38:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spmd2-0008Mt-G6 for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 20:38:20 +0000
Resent-Date: Fri, 13 Jul 2012 20:38:20 +0000
Resent-Message-Id: <E1Spmd2-0008Mt-G6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spmcv-0008Kn-6G for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 20:38:13 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spmcu-0000Nl-9c for ietf-http-wg@w3.org; Fri, 13 Jul 2012 20:38:13 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id EC7873B75F; Fri, 13 Jul 2012 20:37:50 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DKbnSq046147; Fri, 13 Jul 2012 20:37:50 GMT (envelope-from phk@phk.freebsd.dk)
To: Nico Williams <nico@cryptonector.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 14:58:55 EST." <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 20:37:49 +0000
Message-ID: <46146.1342211869@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spmcu-0000Nl-9c 7466b87eb3661aeea7561aab1311e875
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/46146.1342211869@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14157
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>

In message <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
, Nico Williams writes:

>3) The GSS-API is a very large API, yes, but typical applications use
>only a very small subset of the available GSS functions.

Just out of curiosity:

Does that really sound like good security engineering for a
narrow-scope protocol like HTTP/2 to you ?

It certainly sounds wrong to me.

It almost certainly IS wrong, if the goal is to get as many mediocre
programmers as possible to implement protection correctly.

One of the main reasons Varnish does not support HTTPS is the the
quality of the APIs available, and the elephantine amounts of
needless generality behind them.

I know crypto is never simple, but arguing that it comes with a lot
of complexity that most users don't need, is not a winning argument
in my book.

Crypto for HTTP/2.0 should be specified in a way which is very hard
to do wrong, not very hard to do right.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:05:41 2012
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 20CC711E80FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:05:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.287
X-Spam-Level: 
X-Spam-Status: No, score=-7.287 tagged_above=-999 required=5 tests=[AWL=2.690, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 4mG6g-PDUiYl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:05:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2348911E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:05:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spn32-0004AH-Tr for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:05:12 +0000
Resent-Date: Fri, 13 Jul 2012 21:05:12 +0000
Resent-Message-Id: <E1Spn32-0004AH-Tr@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spn2v-00048r-8C for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:05:05 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a32.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spn2t-0005eB-Uz for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:05:05 +0000
Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id C7EA258406E for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:04:42 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=wCN0SnSJl++YdC15m+M2s 9TStX/+viGcTamhHCuAyZd+L9WylfsyMsYorbChDR0dHe2Ezr8qwE4O2lS3wIcH/ HaeRzKTodi5dkqeX/Gqa7Ltk4hqPKgMXCOEK7nUFA8j8nCFQjqqEtsdwmsR4mDS3 5aEuH+8hkgGqAYhGgLI72Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=XLTDKhPZ8rqiQGVP6fAO y+GEGPc=; b=ZnjO9e9mqtrD5jCGOoMF5pWAxzxrzJsiKeMaTMld7q/5/bg12/Pk AgdhVousOD++tAp7zHQnt4/iyJX99IMRvXO8bnWcY4MY/WeInnp1aSeob31JmqvV PG0Qhj79LSfanpQiIvaW94fUO4fQdBN8/WulLtfUTYnw6FnUB1iP8VA=
Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.213.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id A9CCE584065 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:04:42 -0700 (PDT)
Received: by yenq11 with SMTP id q11so4404112yen.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:04:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.83.200 with SMTP id s8mr4952209pay.10.1342213481845; Fri, 13 Jul 2012 14:04:41 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 14:04:41 -0700 (PDT)
In-Reply-To: <46146.1342211869@critter.freebsd.dk>
References: <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com> <46146.1342211869@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 16:04:41 -0500
Message-ID: <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.74; envelope-from=nico@cryptonector.com; helo=homiemail-a32.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Spn2t-0005eB-Uz 220a11e49708f2f8743be44bf778ffce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14158
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 Fri, Jul 13, 2012 at 3:37 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
> , Nico Williams writes:
>
>>3) The GSS-API is a very large API, yes, but typical applications use
>>only a very small subset of the available GSS functions.
>
> Just out of curiosity:
>
> Does that really sound like good security engineering for a
> narrow-scope protocol like HTTP/2 to you ?
>
> It certainly sounds wrong to me.
>
> It almost certainly IS wrong, if the goal is to get as many mediocre
> programmers as possible to implement protection correctly.

There are many enormous APIs out there where only a small subset is
necessary for common applications.  The functions that most GSS
applications don't need are not functions that you can shoot your feet
off with.  It sounds to me like you're not familiar with the GSS-API.

> One of the main reasons Varnish does not support HTTPS is the the
> quality of the APIs available, and the elephantine amounts of
> needless generality behind them.

APIs like OpenSSL's are awful, I give you that.  If you used the
GSS-API as an interface to TLS you'd have a very trivial client,
particularly for anonymous clients.  You'd only need these functions:

 - GSS_Import_name(), which you'd call to get a NAME object
corresponding to the server's hostname
 - GSS_Init_sec_context(), which you'd call with that NAME object, the
mechanism OID for TLS, and all default arguments
 - GSS_Wrap() and GSS_Unwrap() to implement the application record layer
 - GSS_Release_name(), GSS_Deleset_sec_context(), and
GSS_Release_buffer() to release resources

That's *it* (oh, and GSS_Display_status() to get printable errors).
All the complexity of validating the server cert and ensuring that it
is good for the given hostname would be buried in the mechanism.  If
you need to specify different trust anchor sets for different hosts
that would require one more function (though the GSI TLS mechanism
doesn't support it, but I could make sure it gets added...).

> I know crypto is never simple, but arguing that it comes with a lot
> of complexity that most users don't need, is not a winning argument
> in my book.

It really pains me to see you say this about GSS -- you don't know,
you can't know, because you'd not say that if you knew it.  OpenSSL's
APIs are an utter usability disaster.  GSS' aren't.

> Crypto for HTTP/2.0 should be specified in a way which is very hard
> to do wrong, not very hard to do right.

I agree violently.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:09:04 2012
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 64AAF11E80C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:09:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.284
X-Spam-Level: 
X-Spam-Status: No, score=-8.284 tagged_above=-999 required=5 tests=[AWL=2.315, BAYES_00=-2.599, 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 XKhkLrIjROkQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:09:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E1F1E11E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:09:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spn6f-0004Xz-SK for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:08:57 +0000
Resent-Date: Fri, 13 Jul 2012 21:08:57 +0000
Resent-Message-Id: <E1Spn6f-0004Xz-SK@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Spn6X-0004WA-I5 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:08:49 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Spn6V-00016G-Px for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:08:49 +0000
Received: by obqv19 with SMTP id v19so5795348obq.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:08:21 -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=+AK/VXhYPNPsoUIofeR7r/OOLcWmtm2gHGCVmeq4yPw=; b=Qbp04yYrDLNK/0NYZU/iUg796Q8nV4hkdtwIw+1cLxB9bRt5AREozErC2V4ibB2S// 7/wlD4agWRFQQa+PqhSrCF8bJ+EO98dHS1gsQ480A+SeZ9S9fdAzKmz4xDIwrEza2kQ8 0qPu/vi6eTF/hMmWPfr/xpdIMlAKzjjrwCpk1di+pScgaNo5MspMmx2mNAjrGnAoacbJ wyN3iKsGrymc+lDOkifii8CRIhuxvWNzsj9ACqrAXCyANrdxVzQ1LWjMaFaohB2QUuVD wgrVrB197WF+vj2AWgeckIpjz/4vhVCTSChumKW+zeuE+xFPTFRpbWST2cyI0++TtVr7 BQIw==
MIME-Version: 1.0
Received: by 10.182.43.71 with SMTP id u7mr3808045obl.13.1342213701519; Fri, 13 Jul 2012 14:08:21 -0700 (PDT)
Received: by 10.76.120.110 with HTTP; Fri, 13 Jul 2012 14:08:21 -0700 (PDT)
In-Reply-To: <526415708D2AD940845C43B7A6BE7CE80E9F7C9B@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <CAPik8ybB-pzn8M3JVJJtpZK-DHEW8amsw_kjbLNQSNQ4dkjeLQ@mail.gmail.com> <CAK3OfOiKSrSLYrq9cSMKf=8ujK5Y5jgCws0HrCY8gO6+Vscf_w@mail.gmail.com> <CAMm+LwhDewyKn9GRLdPZtNc+unPuAMHpwzpvhr6Dr0CYNLPB-Q@mail.gmail.com> <526415708D2AD940845C43B7A6BE7CE80E9F7C9B@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Date: Fri, 13 Jul 2012 17:08:21 -0400
Message-ID: <CAMm+LwgSCMa3o4WyxvU3ajentJsZ5esOXuKc0qeJFMWPCSfAqA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Leach <paulle@microsoft.com>
Cc: Nico Williams <nico@cryptonector.com>, Paul Hoffman <paul.hoffman@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Spn6V-00016G-Px ca333f2d46227609b71f61bca772503d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwgSCMa3o4WyxvU3ajentJsZ5esOXuKc0qeJFMWPCSfAqA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14159
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>

+1

Also note that the major constraint on the design of DIGEST was that
it had to be open and unencumbered which meant not using RSA or
Diffie-Hellman at the time.

We knew better at the time we made the original proposal. The problem
was that we could not do things the way we wanted.

The KGB has an interesting doctrine, every message has to be secured
by two independent mechanisms that have to independently provide for
complete protection of the message based on different principles. [As
a result they ended up killing a few dozen cipher clerks with ionizing
radiation generators in their enclosures prompting the defection of
one of their top crypto people. But that is another issue]

What I am saying is that adding security at the HTTP layer is really
orthogonal to the need for TLS or not. More to the point, even if we
got rid of TLS there would still be a need to authenticate servers and
thus a need for some form of open authentication infrastructure for
servers which means a CA-like entity.


If you want HTTP messages to tunnel through proxies then you are going
to need to be realistic about the practicality of securing headers. If
you don't need that capability (and I haven't used a proxy
intentionally for 15 years) then you can be more aggressive.

If we want to secure anything more than the content in HTTP 2.0 then
we probably need to think about ways to separate out headers that are
content metadata and thus should be inside the security envelope from
routing headers which ain't.

On Fri, Jul 13, 2012 at 3:31 PM, Paul Leach <paulle@microsoft.com> wrote:
> I'd like to quibble a little with the description of the "authentication =
activities"; they all have the same flaw which can be illustrated by a prop=
osed modification to the first one:
>
>         CREDENTIAL-Authentication: Is this the user _who sent this HTTP r=
equest_ and claiming to be the owner of account 'X' the same user who was i=
ssued account 'X'?
>
> Why is the change necessary? Because one of the biggest problems with cur=
rent security mechanisms at the HTTP layer is that there is very little bin=
ding between the identity of the user making the connection and the request=
 coming over the connection. None of the existing in use mechanisms except =
Digest even tries, and Digest usually only binds the request URI and method=
 of the request to the authenticated identity. As a result, any MITM can al=
most completely change the request, so that knowledge of who sent the Authe=
ntication header is basically irrelevant if real security is needed.
>
> As a further result, the only time that HTTP layer authentication has any=
 real security value is when it is tunneled inside of TLS, and _has its cha=
nnel bound_ to the authentication.
>
> Note that Digest also (in a less-used feature) has a way to bind the requ=
est body and the response body to the identity of the requesting user. Unfo=
rtunately, it doesn't bind the rest of request and response headers; that's=
 because proxy servers are allowed to rearrange them, and coming up with a =
canonical form that allowed for that seemed intractable. Also, Digest doesn=
't support chunked encoding, so that very large or indefinite length entity=
 bodies are at best problematic.
>
> Also note that Digest has an "MD5-sess" mode that provides for the "RE-au=
thentication" mode that Phillip defines.
>
> (The biggest problem with Digest is that the construction of the keys it =
uses from the password does not specify how to handle any character set oth=
er than ASCII. I was clueless about that in those days.)
>
>
> -----Original Message-----
> From: Phillip Hallam-Baker [mailto:hallam@gmail.com]
> Sent: Thursday, July 12, 2012 10:37 PM
> To: Nico Williams
> Cc: Paul Hoffman; ietf-http-wg@w3.org
> Subject: Re: HTTP2 Expression of Interest
>
> I really dislike the idea of having a platform inside a platform
>
> TLS is way too big for comfort. GSSAPI has mechanism on mechanism.
>
>
> I don't want a choice of fifty ways to authenticate. I want exactly one m=
echanism to support each type of authentication. I certainly don't want a c=
hoice of crypto protocols to verify passwords. In fact I don't want passwor=
ds to be flowing over the net at all. The proper use of a password is to un=
lock the user's credential on their authentication device.
>
> SAML and OAUTH and the rest already define an interaction with HTTP.
> If we want to adopt those as mechanisms we should adopt them directly int=
o HTTP and not introduce a platform step.
>
> But even there we should not accept the whole of either spec. Much of the=
 argument in SAML went into the design of a mechanism that could be used wi=
th legacy Web browsers. Same for OAUTH. Now it will certainly be necessary =
to consider how we transition to HTTP 2.0 but I would want to jettison the =
entire transition structure once we get there.
>
>
> But really we have a much smaller set of concerns. In particular we shoul=
d distinguish between the different things that are called 'authentication'=
 and we should not incorporate any mechanism into the spec that is incomple=
tely specified. By which I mean relying on out of band configuration or exc=
hange of credentials.
>
> Specifically we have the following activities that are all known as
> 'authentication':
>
> CREDENTIAL-Authentication Is this the user claiming to be the owner of ac=
count 'X' the same user who was issuedaccount 'X'
>
> RE-Authentication: Is this the same user that authenticated previously?
>
> FED-Authentication: Is the user claiming to be acct:user@example.com the =
same user that other sites accept as acct:user@example.com
>
>
> Now credential authentication is a strict subset of the federated case so=
 it may not be desirable to distinguish the two on an ongoing basis but RE-=
Authentication is something rather different.
>
>
>
> On Fri, Jul 13, 2012 at 1:16 AM, Nico Williams <nico@cryptonector.com> wr=
ote:
>> On Thu, Jul 12, 2012 at 9:22 PM, Paul Hoffman <paul.hoffman@gmail.com> w=
rote:
>>> draft-williams-rest-gss relies on GSSAPI, which has thin adoption
>>> even after many years. [...]
>>
>> If you consider that the SSPI is very similar to the GSS-API, and
>> wire-compatible with it anyways, then that assertion is quite clearly
>> incorrect.  SSPI is extremely widely used, both in proprietary
>> application protocols and standard ones (including TLS, since SSPI is
>> the interface to TLS in Windows).
>>
>> The GSS-API has had a dearth of mechanisms for it deployed, but this
>> is beginning to change.  We now have all of these standardized and/or
>> deployed:
>>
>>  - Kerberos (including IAKERB)
>>  - GSS-EAP (see ABFAB WG)
>>  - SCRAM
>>  - Microsoft's PKU2U (PKI, based on Kerberos w/ PKINIT)
>>  - the GSI mechanism that is really just TLS repackaged as GSS
>>
>>    (See again how SSPI is the interface to TLS in Windows.
>>     It's also the interface to SASL.)
>>
>>  - OAuth and SAML-based mechanisms are in the works as well.
>>
>> It's easy enough to add new GSS-API mechanisms, but between GSS-EAP,
>> Kerberos (particularly with trust routing and bootstrapping
>> enhancements), PKU2U, OAuth, and SAML I think we have most needs
>> covered.  A ZKPP mechanism or three should be added, but unless that's
>> done in a way that federates then I think it's best to make sure that
>> GSS-EAP can use ZKPP EAP methods and Kerberos can use ZKPP
>> pre-authentication mechanisms.
>>
>> The biggest Internet protocol users of the GSS-API are SSHv2 (yes,
>> really, SSHv2 w/ GSS and Kerberos is widely deployed in corporate
>> networks), LDAP (see again Windows), and NFS.  But also IMAP (see
>> Exchange), DNS (GSS-TSIG, see Active Directory and Windows) and
>> others.  There's also widely deployed non-Internet standards-track
>> protocols, such as SMB, as well as many proprietary protocols.  And
>> then there's HTTP/Negotiate -- how could I forget!  (though to be sure
>> I don't really like HTTP/Negotiate, otherwise I might just have
>> proposed that.)
>>
>> Nico
>> --
>>
>
>
>
> --
> Website: http://hallambaker.com/
>
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:11:43 2012
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 7AC6A11E80C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:11:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 m3NuCXunspTa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:11:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BEFE111E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:11:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spn9T-00069c-0j for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:11:51 +0000
Resent-Date: Fri, 13 Jul 2012 21:11:51 +0000
Resent-Message-Id: <E1Spn9T-00069c-0j@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spn9L-00068v-P5 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:11:43 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spn9K-0001BS-P2 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:11:43 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id A1A7C3B6B9; Fri, 13 Jul 2012 21:11:21 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DLBLvv046278; Fri, 13 Jul 2012 21:11:21 GMT (envelope-from phk@phk.freebsd.dk)
To: Nico Williams <nico@cryptonector.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 16:04:41 EST." <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 21:11:21 +0000
Message-ID: <46277.1342213881@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spn9K-0001BS-P2 6a720431f13cb94b5463e9ac4a7f17e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/46277.1342213881@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14160
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>

In message <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
, Nico Williams writes:

>> One of the main reasons Varnish does not support HTTPS is the the
>> quality of the APIs available, and the elephantine amounts of
>> needless generality behind them.
>
>APIs like OpenSSL's are awful, I give you that.  If you used the
>GSS-API as an interface to TLS you'd have a very trivial client,
>particularly for anonymous clients.  You'd only need these functions:

You seem to overlook half of my argument:  It is both a matter of
API design *AND* lugging around tons of unnecessary code.

>> Crypto for HTTP/2.0 should be specified in a way which is very hard
>> to do wrong, not very hard to do right.
>
>I agree violently.

So lets start from there, if we ever get a chance.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:19:37 2012
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 6563211E8109 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:19:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.329
X-Spam-Level: 
X-Spam-Status: No, score=-8.329 tagged_above=-999 required=5 tests=[AWL=2.270, BAYES_00=-2.599, 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 oqWNu7oj3xJb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:19:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F2CD611E8108 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:19:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpnGu-00025O-Qp for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:19:32 +0000
Resent-Date: Fri, 13 Jul 2012 21:19:32 +0000
Resent-Message-Id: <E1SpnGu-00025O-Qp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpnGn-00023r-46 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:19:25 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SpnGl-0001Kf-Qx for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:19:25 +0000
Received: by obqv19 with SMTP id v19so5808963obq.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:18:57 -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=AHXT4J4A6Id9LDqobvgk30ofgIumWdy9r21tHwB6tow=; b=z1WzwXiCpfftPMbZU/rEWzfEoYVkqV70Dci264++Zk6hANRIYJxRdKKzlp5CMUNw6S o/bHvjOZOPZMic1v8hggXY1iOxzdemgJFjIT68rpQpqtoDlxQgSPkL70PcL+NuBvXzAU Qenxo3lCXy/05Nq2hJfVtiq4Nr3pCyTLxgYQLhEXaJrVpcUvosmtL4llwQjtUqzO/hpf eyMyYFmaCoNFmVzsHLsPdUl/OoQI+DvcGJtkni5y+1TC2SVzsPQ9Q5UuksxwRkbyXFjf 7Ndrz2QFL3U9IA96dnsJimXlb3+mRBH4kCKLO4yCwdAjLeB3o2hGy4GwwivxR4fYwioN DXPg==
MIME-Version: 1.0
Received: by 10.60.18.168 with SMTP id x8mr3726199oed.18.1342214337376; Fri, 13 Jul 2012 14:18:57 -0700 (PDT)
Received: by 10.76.120.110 with HTTP; Fri, 13 Jul 2012 14:18:57 -0700 (PDT)
In-Reply-To: <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
References: <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com> <46146.1342211869@critter.freebsd.dk> <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
Date: Fri, 13 Jul 2012 17:18:57 -0400
Message-ID: <CAMm+LwjZSxpbO97f8C8z4PO=uo9DA8-7SuDC-8ZRVGHeqmQO+A@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SpnGl-0001Kf-Qx dd3f850804327c7d34d25e46bcea1c43
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/CAMm+LwjZSxpbO97f8C8z4PO=uo9DA8-7SuDC-8ZRVGHeqmQO+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14161
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 Fri, Jul 13, 2012 at 5:04 PM, Nico Williams <nico@cryptonector.com> wrote:
> On Fri, Jul 13, 2012 at 3:37 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>
>> It certainly sounds wrong to me.
>>
>> It almost certainly IS wrong, if the goal is to get as many mediocre
>> programmers as possible to implement protection correctly.
>
> There are many enormous APIs out there where only a small subset is
> necessary for common applications.  The functions that most GSS
> applications don't need are not functions that you can shoot your feet
> off with.  It sounds to me like you're not familiar with the GSS-API.

And intend to remain so unless you can identify the small subset that
is needed and separate it out from all the rest.

Oh and explain the whole project in terms of bits on the wire rather
than multi-tiered abstractions that mean something to people with
decades of experience of GSS-API but nothing to the rest of us.

I have been in the business of Web Security twenty years as of
September. In all that time the only people who have ever brought up
the issue of support for it have been GSS-API developers. I have never
once had a customer ask for it.



> APIs like OpenSSL's are awful, I give you that.  If you used the
> GSS-API as an interface to TLS you'd have a very trivial client,
> particularly for anonymous clients.  You'd only need these functions:
>
>  - GSS_Import_name(), which you'd call to get a NAME object
> corresponding to the server's hostname

You still don't get our point. How does this call relate to HTTP? What
data objects are produced? What do they look like on the wire? How
does it affect protocol state?

What you have there is not a protocol, it is an implementation.

>  - GSS_Init_sec_context(), which you'd call with that NAME object, the
> mechanism OID for TLS, and all default arguments
>  - GSS_Wrap() and GSS_Unwrap() to implement the application record layer
>  - GSS_Release_name(), GSS_Deleset_sec_context(), and
> GSS_Release_buffer() to release resources
>
> That's *it* (oh, and GSS_Display_status() to get printable errors).
> All the complexity of validating the server cert and ensuring that it
> is good for the given hostname would be buried in the mechanism.  If
> you need to specify different trust anchor sets for different hosts
> that would require one more function (though the GSI TLS mechanism
> doesn't support it, but I could make sure it gets added...).

Assuming that we embed your library into all the clients and servers.

>> I know crypto is never simple, but arguing that it comes with a lot
>> of complexity that most users don't need, is not a winning argument
>> in my book.
>
> It really pains me to see you say this about GSS -- you don't know,
> you can't know, because you'd not say that if you knew it.  OpenSSL's
> APIs are an utter usability disaster.  GSS' aren't.

This is about the choice of a protocol, not an API.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:20:01 2012
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 A51EE11E8121 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.75
X-Spam-Level: 
X-Spam-Status: No, score=-8.75 tagged_above=-999 required=5 tests=[AWL=1.849, BAYES_00=-2.599, 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 yef2qB2mRN+V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:20:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BBD611E8109 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:20:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpnHa-0003Ng-S2 for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:20:14 +0000
Resent-Date: Fri, 13 Jul 2012 21:20:14 +0000
Resent-Message-Id: <E1SpnHa-0003Ng-S2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpnHS-0003KN-GV for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:20:06 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpnHQ-0001LY-Tx for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:20:06 +0000
Received: by weyx43 with SMTP id x43so2733582wey.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:19:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=SeunyvjZErV20gmf5qe2HlIw/kaps1AL+/DtlHYoovw=; b=QSlyuiVrF085x01u5rFAh9Y1GLGOIKYEvQvfEofpA+IVHqS3X1ZMGQD0UPOtS/ouC+ xudEJezW+7PhfWWRSQAVA+Ivb+/iCcarIjBPl4FDcM0dtMt2npHsqWiV27exiw3q3Pif nDq46fL0gxYZyPdfHHl7iulieiXE+dc+Kz6w2KAv0eVK77VJQxDQfbUmtunIFWItfOqG 1hN3x4GXFukVQ9rUrmCtHTtCwmHXppPW4IqI5+DO3OvMjQ9Ia/OlDHronA+isxVUcFhv UMU3P7fwT9mA0HnA7GBvkeU/OlCGToRClPMQ8BLMoE1V5j8sL6zddUwe9aMmwHHHrl7T rwCg==
Received: by 10.216.221.74 with SMTP id q52mr1350789wep.181.1342214378478; Fri, 13 Jul 2012 14:19:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 13 Jul 2012 14:19:17 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Fri, 13 Jul 2012 14:19:17 -0700
Message-ID: <CABP7RbdPeq43Gz8HHCcDSu=BNSLUiFkXyJCZ6hvPRjTLyZBwzA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SpnHQ-0001LY-Tx d22786ae3162af04f0a79d91cc52dd07
X-Original-To: ietf-http-wg@w3.org
Subject: KEY_NEGO within SPDY (was: Re: Response to HTTP2 expresions of interest)
Archived-At: <http://www.w3.org/mid/CABP7RbdPeq43Gz8HHCcDSu=BNSLUiFkXyJCZ6hvPRjTLyZBwzA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14162
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>

This idea was born in a separate thread, wanted to pull it out here so
as not to sidetrack the other discussion too much and to get the idea
out for discussion. This is, more or less, a data dump of sorts. May
be a bit disorganized but, again, the idea is just to get things
rolling for discussion purposes.

Side note: I am currently engaged in this discussion as an individual
and the ideas expressed here should be considered to be based on my
own personal thoughts and opinions and not those of my employer. As
yet, my employer has not yet officially weighed in the discussions
around HTTP/2.0.

Basic Premise: The revised framing model used with SPDY provides us
with an opportunity to provide support for stream-level protection of
data without requiring TLS. Doing so helps routers and intermediaries
do their job more efficiently while protecting the confidentiality of
data in transit. The proposal below introduces the concept of a new
KEY_NEGO frame for SPDY and proposes modified Data and Headers Frame
formats to support in-stream, per-frame encryption.

KEY_NEGO Control Frame

   +----------------------------------+
   |1|   version |     KEY_NEGO       |
   +----------------------------------+
   | Flags (8)  |  Length (24 bits)   |
   +----------------------------------+
   | ID | ALG_ID |      Data          |
   +----------------------------------+

KEY_NEGO Frames are used to negotiate keys for use within a SPDY session.

The ID is an 8-bit identifier uniquely identifying the negotiated key
within the session.

KEY_NEGO Frames initiated by the server must have an even ID
KEY_NEGO Frames initiated by the client must have an odd ID

If client receives a KEY_NEGO Frame containing an odd ID that it did
not initiate, it must ignore the KEY_NEGO frame

Likewise, if server receives a KEY_NEGO Frame containing an even ID
that it did not  initiate, it must ignore the KEY_NEGO frame

The ID does NOT recycle... once the range of key IDs available for a
given connection have been exhausted, no further key_negotiation is
possible.

It is possible for a particular Key ID to be renegotiated...

The ALG_ID is an unsigned 16-bit identifier specifying the specific
key negotiation algorithm in use. If the value is 0x1, then an
extension algorithm is being used (see below). All other values > 0x1
shall identify specifically registered key negotiation algorithms. The
structure of the Data field depends entirely on the ALG_ID.

If ALG_ID == 0x1, then the structure of Data is:

 +-----------------------------+
 | Name Length (int32) | Name  |
 +-----------------------------+
 |            Data             |
 +-----------------------------+

Where the Name Length is the length, in octets of the Name field. The
Name field specifies the name of key negotiation algorithm. The
Remaining Data field contains the detail specific to the type of key
negotiation. This approach allows us to optimize for the most common
cases while supporting extension mechanisms as well.

Once the Key Negotiation is complete, the ID of the KEY_NEGO frame
becomes the identifier for the Key whenever used within the SPDY
session.

If Key Negotiation involves multiple steps, each subsequent KEY_NEGO
frame will use the same ID. The specific number of KEY_NEGO frames
necessary to negotiate a single Key depends on the algorithm used.

 For each data or control frame, the flag 0x4 indicates that the frame
is encrypted. An additional, optional KEY_ID field would need to be
added to each frame that supports encryption. Candidates are:


 Encryption-Supported Data Frame:

   +----------------------------------+
   |C|       Stream-ID (31bits)       |
   +----------------------------------+
   | Flags (8) | KEY_ID | Length (24) |
   +----------------------------------+
   |               Data               |
   +----------------------------------+

 Encryption-Supported Headers Frame:

   +------------------------------------+
   |1|   version     |          8       |
   +------------------------------------+
   | Flags (8)  |  KEY_ID | Length (24) |
   +------------------------------------+
   |X|          Stream-ID (31bits)      |
   +------------------------------------+
   | Number of Name/Value pairs (int32) |   <+
   +------------------------------------+    |
   |     Length of name (int32)         |    | This section is the "Name/Value
   +------------------------------------+    | Header Block", and is compressed.
   |           Name (string)            |    |
   +------------------------------------+    |
   |     Length of value  (int32)       |    |
   +------------------------------------+    |
   |          Value   (string)          |    |
   +------------------------------------+    |
   |           (repeats)                |   <+

The KEY_ID is the 8-bit identifier of the key previously negotiated
using a KEY_NEGO frame.

If a frame uses a KEY_ID that has not yet been negotiated fully,
decryption of the frame becomes impossible and the receiver can reject
it.. possibly by closing the stream.

Example: Assume a preshared key is being used, identified using the
name "ourkey", assume ALG_ID=2 means "pre-shared key", where Data is
the US-ASCII encoded name of the key.

[Connection is opened]
[Client sends a KEY_NEGO with ID=1,ALG_ID=2,Data="ourkey"]
[Client sends SYN_STREAM to open the stream]
[Client sends Encrypted Data Frame referencing KEY_ID=1]
[Server sends Encrypted Data Frame referencing KEY_ID=1]
[Connection is closed]

Any intermediary in the flow can participate in the Key Negotiation.
For example, suppose client A opens a connection with Server C via
intermediary B. Assume that A and B have a preshared key

[A opens a connection with B]
[A sends a KEY_NEGO with ID=1, ALG_ID=2,Data="ourkey"]
[A sends SYN_STREAM to open the stream]
[B routes SYN_STREAM to C]
[A sends encrypted header and data frames to B referencing KEY_ID=1]
[B decrypts the frames, and forwards the frames in clear text to C]

This provides us with the same basic benefits as TLS termination at
intermediaries. One key question that arises is how B would know that
it should decrypt the frame and send it to C in plain text rather than
simply forwarding it on in an encrypted state. What I imagine is that
would largely just be a matter of configuration for each route.

There are a variety of additional advantages to this approach...

1. When a user-agent requires the ability to communicate with two
hosts at the same location, and chooses to do so using a single
connection, it is possible for the user-agent to negotiate a unique
key for each host while still interleaving frames for each host within
the same multiplexed connection.

Example:
[Connection is opened]
[Client sends KEY_NEGO with ID=1, ALG_ID=2,Data="host_1_key"]
[Client sends KEY_NEGO with ID=2, ALG_ID=2,Data="host_2_key"]
[Client sends SYN_STREAM to open the stream with Host_1]
[Client sends SYN_STREAM to open the stream with Host_2]
[Client sends encrypted header and data frames to Host_1 referencing KEY_ID=1]
[Client sends encrypted header and data frames to Host_2 referencing KEY_ID=2]
[Host_1 sends encrypted header and data frames to Client referencing KEY_ID=1]
[Host_2 sends encrypted header and data frames to Client referencing KEY_ID=2]
[Connection is Closed]

2. Encrypted-content over Unsecured Transport... For example: a user
is accessing his bank account using their mobile device. The
user-agent opens a single unsecured connection to the banks server,
over which requests for unsecured static resources are retrieved. The
user needs to securely log in to their account. Using KEY_NEGO, the
user-agent can negotiate a secured stream using the same connection,
passing the encrypted authentication credentials along without the
need to set up an expensive, separate TLS-secured connection.

Example:
[Connection is opened]
[Client sends SYN_STREAM to open Stream_1]
[Client sends clear-text header and data frames over Stream_1]
[Client sends KEY_NEGO with ID=1, ALG_ID=2,Data="ourkey"]
[Client sends SYN_STREAM to open Stream_2]
[Client sends clear-text header and data frames over Stream_1]
[Client sends encrypted header and data frames over Stream_2
referencing KEY_ID=1]
[Connection is Closed]

3. Keys can be renegotiated on the fly without tearing down and
reestablishing the connection or requiring a new connection to be
established. For example, suppose a server or client determines that a
particular type of request requires a greater level of encryption than
what was originally established for the stream. The intermediary can
attempt to renegotiate the key or negotiate a new key to handle the
new requirements.

Example:
[Connection is opened]
[Client sends SYN_STREAM to open Stream_1]
[Client sends clear-text header and data frames over Stream_1]
[Server sends KEY_NEGO with ID=1, ALG_ID=2,Data="ourkey"]
[Server sends clear-text header and data frames over Stream_1 to client]
[Connection is Closed]

4. Depending on the specific details of the Key_Nego algorithm used,
Key negotiation frames can be interleaved with data and control
frames. For instance, suppose that a particular Key_nego algorithm
requires multiple steps... to use a simple example, let's just say
we're using DH for the key_nego, the sender can perform their half of
the key_nego and prepare an encrypted data frame... sending it along
with the KEY_NEGO for the receiver to process.

Example: (Assume ALG_ID=3 refers to something like DH Key nego)
[Connection is opened]
[Client sends SYN_STREAM to open Stream]
[Client sends KEY_NEGO with ID=1, ALG_ID=3,Data={key nego params}]
[Client sends encrypted header and data frames referencing KEY_ID=1]
[Server sends KEY_NEGO with ID=1, ALG_ID=3,Data={key nego response params}]
[Server sends encrypted header and data frames referencing KEY_ID=1]
[Connection is Closed]

5. Multiple keys with different strengths can be negotiated within a
single connection, allowing for higher-priority frames to use stronger
protection than lower-priority frames.

Example: For example, suppose that the second Data frame contains
financial transaction information that requires higher security
[Connection is opened]
[Client sends a KEY_NEGO with ID=1,ALG_ID=2,Data="weakkey"]
[Client sends a KEY_NEGO with ID=2,ALG_ID=2,Data="strongkey"]
[Client sends SYN_STREAM to open the stream]
[Client sends Encrypted Data Frame referencing KEY_ID=1]
[Client sends Encrypted Data Frame referencing KEY_ID=2]
[Connection is closed]

6. With this approach, for many scenarios, use of TLS/SSL could
potentially be eliminated altogether.

As always, thoughts/opinions/gripes/praise are welcome...

- James


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:21:09 2012
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 BBA7C11E8109 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.329
X-Spam-Level: 
X-Spam-Status: No, score=-7.329 tagged_above=-999 required=5 tests=[AWL=2.648, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 SyJsPMXLg+nO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:21:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDB2011E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:21:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpnIY-0003d6-RQ for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:21:14 +0000
Resent-Date: Fri, 13 Jul 2012 21:21:14 +0000
Resent-Message-Id: <E1SpnIY-0003d6-RQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpnIR-0003cL-Aq for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:21:07 +0000
Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a30.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpnIQ-00064S-BD for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:21:07 +0000
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id 6373021DE59 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:20:45 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=Ccmh+dme4o56FwAYVR4K7 oVFGNr3f/U4ItO+B7NSiMdq5ViQVR/CCiGBODcNXUDz1GtLNvmTaxnfR6NqrWz5s ZPFu70UHS6IoPHMwZJpOtU3XNu0D1q4J3xn5SLKy8pIYeq9ZWb4aPlyXTZeKb05l jwViI9EW8cmAhrzuYIpUYk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=McmGQRBoY50XArqCd+SV Afa0hMM=; b=E+9QZvXInDVsCKymRGQ1MLRhS3V2Wbl5l/XsM/iF2ycxhkAYrguL 7nOk55sGJvO72kmBWNxF2LaJUXdVQ3A+jxZ4ieZOi4GDS6FJTpulV+RKeuNMmgSd TH8JzdgT6Z2SUascSowIIg9KmfTzBR9Q6CvN1Ly1WzmUqbzlqp3EQ8w=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 400B321DE57 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:20:45 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so6186678pbc.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:20:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.221.227 with SMTP id qh3mr6774834pbc.115.1342214444840; Fri, 13 Jul 2012 14:20:44 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 14:20:44 -0700 (PDT)
In-Reply-To: <46277.1342213881@critter.freebsd.dk>
References: <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com> <46277.1342213881@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 16:20:44 -0500
Message-ID: <CAK3OfOio4HCRkV+dcxFG8-D646mmSPjvDBBfL2NGfe=Lsj1F6w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.81; envelope-from=nico@cryptonector.com; helo=homiemail-a30.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SpnIQ-00064S-BD 554ed1534d4918e07cd11a957c43255f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/CAK3OfOio4HCRkV+dcxFG8-D646mmSPjvDBBfL2NGfe=Lsj1F6w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14163
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 Fri, Jul 13, 2012 at 4:11 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com>
> , Nico Williams writes:
>
> You seem to overlook half of my argument:  It is both a matter of
> API design *AND* lugging around tons of unnecessary code.

Who said you have to?  You don't even need to use the GSS-API itself
to access GSS mechanisms.

I'm using the GSS-API in REST-GSS not because I expect apps to "lug
around" complete GSS implementations, but because it helps produce a
more formal specification.  I'm using the *abstract* API.
Implementors are free to not use the API at all yet still interop.

>>> Crypto for HTTP/2.0 should be specified in a way which is very hard
>>> to do wrong, not very hard to do right.
>>
>>I agree violently.
>
> So lets start from there, if we ever get a chance.

See the above.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:32:48 2012
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 0D71A21F8600 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:32:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.842
X-Spam-Level: 
X-Spam-Status: No, score=-8.842 tagged_above=-999 required=5 tests=[AWL=1.757, BAYES_00=-2.599, 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 9DPkZ7j0zA3x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:32:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0A9E21F85FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:32:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpnTi-0000ej-JX for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:32:46 +0000
Resent-Date: Fri, 13 Jul 2012 21:32:46 +0000
Resent-Message-Id: <E1SpnTi-0000ej-JX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpnTb-0000dt-M7 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:32:39 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpnTa-0006Nn-N1 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:32:39 +0000
Received: by weyx43 with SMTP id x43so2739254wey.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:32:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=msA2IYOZie1GNckfbC93hrxASxI4yGlleSMnLYGzctw=; b=qtmKyWVRnNcYnh1DLbCie3DxzMqq4oi5YtPBZPAX4YSCrU2AZNuNoZv/CWYSbNlEIJ IvYyOxvWyvl13P8VyJzaRILxSBKDUTewifqGw/XOUe6kKE3KjJeWFpdVOI7+eJg3RVvr AlWc/wk2lrX1UW707UuVjsdYvSg/o2AvpWSHqEo47f+0FU3WpWsEt+YOPxj9eUA/FH1k J42gsUNUjKKPb4jhXRhQktzKWGv2jPEu86JfOagmI8Xlzu2CTEPUIhdZ830hXmj1pxtt uHeOae67Hd5k6otFFr/Tagn2GQmAjg55ukKHzNyBoGr9L2EmsKTGeV9/a2RFhtnON23Z 80YA==
Received: by 10.180.19.162 with SMTP id g2mr624709wie.22.1342215132427; Fri, 13 Jul 2012 14:32:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 13 Jul 2012 14:31:52 -0700 (PDT)
In-Reply-To: <CABP7RbdPeq43Gz8HHCcDSu=BNSLUiFkXyJCZ6hvPRjTLyZBwzA@mail.gmail.com>
References: <CABP7RbdPeq43Gz8HHCcDSu=BNSLUiFkXyJCZ6hvPRjTLyZBwzA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 13 Jul 2012 14:31:52 -0700
Message-ID: <CABP7RbezyRQ1DbCKvA4YmBb21GSOEy0chD44T8o-TvUhARrfiA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SpnTa-0006Nn-N1 ac2dcc56b36174605c00868fc2ef9e69
X-Original-To: ietf-http-wg@w3.org
Subject: Re: KEY_NEGO within SPDY (was: Re: Response to HTTP2 expresions of interest)
Archived-At: <http://www.w3.org/mid/CABP7RbezyRQ1DbCKvA4YmBb21GSOEy0chD44T8o-TvUhARrfiA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14164
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>

My apologies the example for Item #3 should have been....

 Example:
 [Connection is opened]
 [Client sends SYN_STREAM to open the stream]
 [Client sends clear-text header and data frames1]
 [Server sends KEY_NEGO with ID=1, ALG_ID=2,Data="ourkey"]
 [Server sends encrypted header and data frames to client referencing KEY_ID=1]
 [Connection is Closed]

- James


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:44:06 2012
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 EEF7E11E80C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:44:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.106
X-Spam-Level: 
X-Spam-Status: No, score=-9.106 tagged_above=-999 required=5 tests=[AWL=1.493, BAYES_00=-2.599, 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 3l0PcwlboPAc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:44:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 571BA11E80BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:44:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpneS-00041E-Pa for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:43:52 +0000
Resent-Date: Fri, 13 Jul 2012 21:43:52 +0000
Resent-Message-Id: <E1SpneS-00041E-Pa@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpneL-00040R-Ga for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:43:45 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SpneK-0006mt-GU for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:43:45 +0000
Received: (qmail invoked by alias); 13 Jul 2012 21:43:17 -0000
Received: from p5DD95F99.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.95.153] by mail.gmx.net (mp028) with SMTP; 13 Jul 2012 23:43:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18NmVoZmHQNnSDMMadjvdDtR3/p2GiGm6PSf/2v4B ihH10ay8tpxisy
Message-ID: <50009674.6080800@gmx.de>
Date: Fri, 13 Jul 2012 23:43:16 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <41677.1342136900@critter.freebsd.dk>
In-Reply-To: <41677.1342136900@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpneK-0006mt-GU d7eef6409da7be3e9a718afd3144d2d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/50009674.6080800@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14165
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 2012-07-13 01:48, Poul-Henning Kamp wrote:
> ...
> At the end of the day, a HTTP request or a HTTP response is just
> some metadata and an optional chunk of bytes as body, and if it
> already takes 700 pages to standardize that, and HTTP/2.0 will add
> another 100 pages to it, we're clearly doing something wrong.
> ...

Out of curiosity, how do you arrive at the "700 pages" estimate?

I see something like 15000 lines of text, and that includes all the 
change logs that we're going to remove before publication. So, do you 
have pages with 20 lines of text each???

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 14:53:35 2012
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 C7B6F21F86DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:53:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.369
X-Spam-Level: 
X-Spam-Status: No, score=-7.369 tagged_above=-999 required=5 tests=[AWL=2.608, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 0YC9Wyutu0qT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 14:53:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D7A3021F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 14:53:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spnny-0001dq-4A for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 21:53:42 +0000
Resent-Date: Fri, 13 Jul 2012 21:53:42 +0000
Resent-Message-Id: <E1Spnny-0001dq-4A@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spnnq-0001ch-94 for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 21:53:34 +0000
Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a64.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spnno-0002Dl-NJ for ietf-http-wg@w3.org; Fri, 13 Jul 2012 21:53:34 +0000
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id B664E43807F for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:53:11 -0700 (PDT)
Received: from mail-yw0-f43.google.com (mail-yw0-f43.google.com [209.85.213.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 8E62A43807E for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:53:11 -0700 (PDT)
Received: by yhl10 with SMTP id 10so4541431yhl.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 14:53:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.75.225 with SMTP id f1mr5051406paw.35.1342216390568; Fri, 13 Jul 2012 14:53:10 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 14:53:10 -0700 (PDT)
In-Reply-To: <CAMm+LwjZSxpbO97f8C8z4PO=uo9DA8-7SuDC-8ZRVGHeqmQO+A@mail.gmail.com>
References: <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com> <46146.1342211869@critter.freebsd.dk> <CAK3OfOh7P1pdf91UFA8xj6nxj+c0__Bg11HZHy83mAbbBwFmgg@mail.gmail.com> <CAMm+LwjZSxpbO97f8C8z4PO=uo9DA8-7SuDC-8ZRVGHeqmQO+A@mail.gmail.com>
Date: Fri, 13 Jul 2012 16:53:10 -0500
Message-ID: <CAK3OfOheTgCchv=9bZiLEdktcH27+c6+Lhx0RwNBEQ+DTSz4Yg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.145; envelope-from=nico@cryptonector.com; helo=homiemail-a64.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Spnno-0002Dl-NJ 0ff0e130ccfa7c3089cfd42c4a71d781
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/CAK3OfOheTgCchv=9bZiLEdktcH27+c6+Lhx0RwNBEQ+DTSz4Yg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14166
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 Fri, Jul 13, 2012 at 4:18 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> On Fri, Jul 13, 2012 at 5:04 PM, Nico Williams <nico@cryptonector.com> wrote:
>> There are many enormous APIs out there where only a small subset is
>> necessary for common applications.  The functions that most GSS
>> applications don't need are not functions that you can shoot your feet
>> off with.  It sounds to me like you're not familiar with the GSS-API.
>
> And intend to remain so unless you can identify the small subset that
> is needed and separate it out from all the rest.

I can commit to writing an I-D in short order describing "profiles" of
the API, but I'd expect you to read it :)

> Oh and explain the whole project in terms of bits on the wire rather
> than multi-tiered abstractions that mean something to people with
> decades of experience of GSS-API but nothing to the rest of us.

Well, different audiences will want different points of view.  I could
try several approaches.

> I have been in the business of Web Security twenty years as of
> September. In all that time the only people who have ever brought up
> the issue of support for it have been GSS-API developers. I have never
> once had a customer ask for it.

Did they ever ask for HTTP/Negotiate?  Did they ever ask for SSPI?

>
>
>> APIs like OpenSSL's are awful, I give you that.  If you used the
>> GSS-API as an interface to TLS you'd have a very trivial client,
>> particularly for anonymous clients.  You'd only need these functions:
>>
>>  - GSS_Import_name(), which you'd call to get a NAME object
>> corresponding to the server's hostname
>
> You still don't get our point. How does this call relate to HTTP? What
> data objects are produced? What do they look like on the wire? How
> does it affect protocol state?

See my I-D!  It has figures, with bits on the wire.  Textual bits on
the wire!  My examples use SCRAM, which is all-text, with only a tiny
bit of base-64 encoding of binary data.  Here:

http://tools.ietf.org/html/draft-williams-rest-gss-01#section-3

BTW, my classification I-D also has examples of what several possible
approaches might look like:

http://tools.ietf.org/html/draft-williams-httpbis-auth-classification-01#section-3.3

> What you have there is not a protocol, it is an implementation.

No.  It's a protocol.  The use of the API is strictly for
specification purposes.  Implementors can use or not use the API.

>>  - GSS_Init_sec_context(), which you'd call with that NAME object, the
>> mechanism OID for TLS, and all default arguments
>>  - GSS_Wrap() and GSS_Unwrap() to implement the application record layer
>>  - GSS_Release_name(), GSS_Deleset_sec_context(), and
>> GSS_Release_buffer() to release resources
>>
>> That's *it* (oh, and GSS_Display_status() to get printable errors).
>> All the complexity of validating the server cert and ensuring that it
>> is good for the given hostname would be buried in the mechanism.  If
>> you need to specify different trust anchor sets for different hosts
>> that would require one more function (though the GSI TLS mechanism
>> doesn't support it, but I could make sure it gets added...).
>
> Assuming that we embed your library into all the clients and servers.

Nope.  See my reply to Poul-Henning Kamp.  The API is NOT required for
implementing.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:06:03 2012
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 5142511E811A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:06:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 NCOnC3VqNJzH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:06:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6916C11E811B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:06:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spnzh-0000qR-DW for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:05:49 +0000
Resent-Date: Fri, 13 Jul 2012 22:05:49 +0000
Resent-Message-Id: <E1Spnzh-0000qR-DW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpnzZ-0000m9-Jx for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:05:41 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpnzY-0002WH-HD for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:05:41 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 09A7E3B76A; Fri, 13 Jul 2012 22:05:19 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DM5IGs046510; Fri, 13 Jul 2012 22:05:18 GMT (envelope-from phk@phk.freebsd.dk)
To: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Brian Pane <brianp@brianp.net>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sat, 14 Jul 2012 05:36:21 +0900." <CAGipQFk4dCEAhsoc5Cv7ZKNine__rG65kGc7tX8FRXnUjnCSTQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 22:05:18 +0000
Message-ID: <46509.1342217118@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpnzY-0002WH-HD 7149497604a4b6eda34de106dfcf3991
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/46509.1342217118@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14167
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>

In message <CAGipQFk4dCEAhsoc5Cv7ZKNine__rG65kGc7tX8FRXnUjnCSTQ@mail.gmail.com>
, "HAYASHI, Tatsuya" writes:


>Do you have any opinion about this?

Not really at this point, but given a chance to think about it
I'm sure that both I and many others will have.

I my ideal world, we would start by spending some months deciding
what services HTTP/2.0 should actually provide, and try to find the
best, small, easy to understand set of primitives that do that.

That may be a good deal tricker than people think.

For instance the fact that several major web-commerce sites 
prominently display stuff like:

	Hello Poul-Henning (Not Poul-Henning ? Press Here)

clearly indicates how broken the current protection crap really is...

The protection issues are particularly thorny because many people
think they can enforce their political agendas using protocol design
and specifications, as exemplified in the "end-to-end privacy" wars.

The only thing you get if you try to do that, is that people will
make workarounds for the "banned" practices, such as wild-card
certificates for legally mandated interception, and cookies as
session-hacks and so on.

A much better strategy is to make these practices possible
and detectable, so that the users know when they are subject
to them.

If I should give a first cut on the protection primitives I would
expect from HTTP/2.0 it would be:

* Get other ends proffered proof of identity (aka: its certificate)

* Request privacy protected session/channel

* Identify first privacy endpoint
  Ie: do we have end to end privacy, and if not, who am the first
  entity I must trust ?
  Amongst perfectly valid and reasonable answers: 
	The corporate firewall.
	The prisons legal intercept.
	The countrys censorship institution.

But I am sure that there are people better than me to perform
that analysis, and I really wish the WG would engage some of
them, rather than rush headlong into protocol redesign...


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:10:36 2012
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 E4D4911E8102 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:10:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.409
X-Spam-Level: 
X-Spam-Status: No, score=-7.409 tagged_above=-999 required=5 tests=[AWL=2.568, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 G7oYDo8mNnfw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:10:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 48F7B11E8123 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:10:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spo4H-0002Z9-BN for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:10:33 +0000
Resent-Date: Fri, 13 Jul 2012 22:10:33 +0000
Resent-Message-Id: <E1Spo4H-0002Z9-BN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spo48-0002YJ-Po for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:10:24 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a77.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Spo46-0007Rx-3S for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:10:23 +0000
Received: from homiemail-a77.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTP id 4102994065 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:10:01 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to: content-type; q=dns; s=cryptonector.com; b=ciVGyX0B8dMvj1Oau4862 WGr4FdA9lCq+EIR1RcauePRwIwXRlWC07pdjSI/ss2ix2/A5kM0RL2f3z0t+xUnF 9VXx0ZysWuZ6TcEQ51pgegc9BpYYRUDInDvF8FH0qnwwQgupWhq3OZE4KaxZsLGM oNALj+ulY2CtGtflDAdCgg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:content-type; s=cryptonector.com; bh=65oBkQDvAh7rpiOAJFlsT1s e2bw=; b=Xhzji2MqKbVt9J2kvNxIo7nWWGpLOShDgkz47QkN9XRxoNczhxyfS7i +nhrE1cNQW6l9K2fdG7sZeZxGN+MF7lUccx1XPkCvCoEXx6FPsM7yvt1GQK33XZP rG/FjSkz4F9l24lCkV/RM54dnZNYHfu031Wb3UGOmOqiPiuJE5mM=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTPSA id 17F4F9405E for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:10:00 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so6245065pbc.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:10:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.135.201 with SMTP id pu9mr6590747pbb.146.1342217400453; Fri, 13 Jul 2012 15:10:00 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 15:10:00 -0700 (PDT)
In-Reply-To: <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
References: <CAK3OfOhrjOTa5miWJdDd4_gEHHCD4rODwjwtEQz248yfqfjueg@mail.gmail.com>
Date: Fri, 13 Jul 2012 17:10:00 -0500
Message-ID: <CAK3OfOgkmOXnLwehgVzmwwy8AX3au_u7Ojn_Kse72viHTV-U9Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.207; envelope-from=nico@cryptonector.com; helo=homiemail-a77.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Spo46-0007Rx-3S 526864c863c36c03b2a9f4164132392e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misconceptions about the GSS-API
Archived-At: <http://www.w3.org/mid/CAK3OfOgkmOXnLwehgVzmwwy8AX3au_u7Ojn_Kse72viHTV-U9Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14168
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>

Maybe we should rename the bloody thing...  One more misconception
seems to be that "API" means you must have a library and use _it_.
But GSS is an *abstract* API and there's no need to either have a
complete implementation, nor to have C or any other bindings of the
abstract API.  Microsoft, for example, has been using SSPI instead of
GSS for ages, yet interops on the wire.  Samba has implemented GSS
without using the API at all.  Those are existence proofs...

We created SASL/GS2 (which is what REST-GSS actually uses) in large
part to simplify things.  I should have called it REST-SASL..  Maybe I
still can!

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:17:32 2012
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 F2AA211E8102 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:17:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.526
X-Spam-Level: 
X-Spam-Status: No, score=-9.526 tagged_above=-999 required=5 tests=[AWL=1.072, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 paqL-FZuJ5wl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:17:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72C4711E8107 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:17:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpoB2-0006oy-HL for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:17:32 +0000
Resent-Date: Fri, 13 Jul 2012 22:17:32 +0000
Resent-Message-Id: <E1SpoB2-0006oy-HL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpoAu-0006o9-6p for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:17:24 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SpoAs-0007b9-Db for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:17:24 +0000
Received: by wibhq4 with SMTP id hq4so889051wib.8 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:16:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=bnQvXAUGqtDpKXE5Gp/vGSOqjN9e97j6QiyoeZhkIGM=; b=rt1U/2P8LX7I5zUfyrEInF0CdtcNci6SMhg1qZmNBh1OZILencyfv4Ee1urTiIn0Ck jRO8fgvXP+4yLLXrLxsNAGnK5W1lgZ3xm4oontIErJSavqxI9kTFpa2qnXesw1lmOf7l TzyrHAJsWrwy6/Xzopp6pw2EDLcnL2gOD81F2Wd2mU3H+gesk4FTfWSC7IgWAsVVG0wg 5L+v2SoREvjCPAkspiF9QJwGcKFYSL+u3kLIXeGDZf90x13YcK4Cl/+3kncmUw7ZtxR/ lDsoCiTImauMttNaL68qIezO8gvdhlSYnUhLTN0THfmtI5vwHMNTslASARm1OMZS0oNz dPIw==
Received: by 10.180.78.99 with SMTP id a3mr887680wix.15.1342217816033; Fri, 13 Jul 2012 15:16:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 13 Jul 2012 15:16:35 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Fri, 13 Jul 2012 15:16:35 -0700
Message-ID: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0438904122c91f04c4bd703c
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SpoAs-0007b9-Db d0e323e3fc7f634fa0720961407e7267
X-Original-To: ietf-http-wg@w3.org
Subject: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14169
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>

--f46d0438904122c91f04c4bd703c
Content-Type: text/plain; charset=UTF-8

This note is intended to provide some additional thoughts for discussion
around the design and use of SPDY as the possible basis for HTTP/2.0. The
intent is to provide fuel for discussion... comments are definitely welcome.

As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
been mentioned several times in discussion on list, handling of headers
within the current SPDY framing, and in particular the layering of HTTP/1.1
messages into SPDY frames is less than optimal. There is significant wasted
space, duplication, etc that -- strictly speaking -- really isn't
necessary. While I recognize that the following increases the basic
complexity of the protocol, it allows fairly significant optimization
following the same basic lines of reasoning expressed in
draft-tarreau-httpbis-network-friendly-00.

Section 2.6.1 of the SPDY draft defines header blocks using the following
format:

   +------------------------------------+
   | Number of Name/Value pairs (int32) |
   +------------------------------------+
   |     Length of name (int32)         |
   +------------------------------------+
   |           Name (string)            |
   +------------------------------------+
   |     Length of value  (int32)       |
   +------------------------------------+
   |          Value   (string)          |
   +------------------------------------+
   |           (repeats)                |

This structure is used within SYN_STREAM and HEADERS frames.

What I propose is the following revised structure:

   +------------------------------------+
   |     Number of Headers (int32)      |
   +------------------------------------+
   |T| Flags (7) |     Length (24)      |
   +------------------------------------+
   |              Data                  |
   +------------------------------------+
   |T| Flags (7) |     Length (24)      |
   +-------------------------------------
   |              Data                  |
   +-------------------------------------
   |             (repeats)              |

T is a single bit identifying the Header Type. There are two types..
REGISTERED (0) and EXTENSION (1)

Flags provides flags for the specific header field. The flag 0x1 indicates
that the header value contains Character Data. If not set, the value is
assumed to consist of raw octets. 0x2 indicates that the value is
compressed.

Length is an unsigned 24-bit value specifying the number of octets after
the length field.

When the T bit is NOT set, the Header field is a REGISTERED Header, the
structure of which is:

   +------------------------------------+
   |0| Flags (7) |     Length (24)      |
   +------------------------------------+
   | ID | Value Length (int32) |Value...|
   +------------------------------------+

The ID is a 32-bit number uniquely identifying the registered field. Each
is assigned by the registrar. For instance, the "Host" field could have a
registered value of "1", the "Accept-Lang" field could have a registered
value of "6", and so forth.

The Value Length is a 32-bit value indicating the length of the value.

If Flag 0x1 is set, the value is assumed to contain character data. When
set, the value MUST be preceded by a single unsigned 8-bit integer
identifying the character encoding utilized. The values are assigned by the
registrar. For instance, US-ASCII could have a registered value of "1",
while "UTF-8" could have a registered value of "2".

For example:

   +------------------------------------+
   |0| 0000001 |     24                 |
   +------------------------------------+
   | 1 | 16 | 1 |    www.example.org    |
   +------------------------------------+

This Header record indicates a REGISTERED header containing character
content, the header ID = 1, the charset used is US-ASCII and the value is "
www.example.org". The header is expressed with a total of 28 bytes.

When the T bit IS set, the Header field is an EXTENSION Header, the
structure of which is:

   +------------------------------------+
   |0| Flags (7) |     Length (24)      |
   +------------------------------------+
   |      Length of name (int32)        |
   +------------------------------------+
   |           Name (string)            |
   +------------------------------------+
   |      Length of value (int32)       |
   +------------------------------------+
   |              Value                 |
   +------------------------------------+

For example.. an extension header that contains raw binary data...

   +------------------------------------+
   |0| 0000000 |       Length (24)      |
   +------------------------------------+
   |                5                   |
   +------------------------------------+
   |              x-foo                 |
   +------------------------------------+
   |                4                   |
   +------------------------------------+
   |           {raw bytes}              |
   +------------------------------------+

The header is expressed with a total of 21 bytes.

The same flags apply. 0x1 indicates that the value is character data. If
0x1 is not set, the value contains raw octets. The key difference is that
there is a 32-bit name length and variable length name field in place of
the 32-bit ID field in the REGISTERED header. All other details remain the
same.

As is currently the case in SPDY, if a single header value contains
multiple values, each can be separated using a single NUL (0) byte.

There are several advantages to this approach:

1. Commonly used header names are omitted in favor of registered, known
numeric IDs, saving space and making it more efficient to scan over
commonly used headers. For instance, intermediaries that route requests
based on common headers such as Host etc could choose to ignore EXTENSION
header fields entirely, and scan only for the ID's of the fields they are
interested in, rather than having to parse the entire bag of header names.

2. Header values can be expressed as raw octets or character data.
Currently, mechanisms within HTTP require developers to muck around with
Base64 encoding or other encodings when including detail within a header.
This approach would eliminate that extra step. For instance, if I wanted to
have a Content-Integrity header whose value is an hmac digest, I would be
able to drop the raw bytes of the digest into the header value rather than
base64 or hex encoding it into an ASCII string, saving CPU cycles and
reducing the amount of data that must be transmitted.

3. Header values that contain character data would not be limited to
US-ASCII. Multiple charset encodings would be allowed... obviously this has
a whole slew of issues associated with it that need to be carefully
considered. The charset encoding flag could be dropped, if necessary, from
this proposal.

For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to a
known, registered HTTP/1.1 header, allowing one to one translation from the
optimized form to the HTTP/1.1 form. Binary values would be base64-encoded.
If a particular header does not allow for Base64 encoded values under
HTTP/1.1, the down-level recipient would have the option of responding with
an appropriate 404 response.

That's it for now. There are additional considerations to be given to the
specific selection of header fields to include within the SYN_STREAM vs.
follow-on HEADERS frames but that's a separate conversation. As always,
feedback is welcome...

- James

--f46d0438904122c91f04c4bd703c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new, monospace">This note is intended to provide some=
 additional thoughts for discussion around the design and use of SPDY as th=
e possible basis for HTTP/2.0. The intent is to provide fuel for discussion=
... comments are definitely welcome.<br>

<br>As discussed within draft-tarreau-httpbis-network-friendly-00, and as h=
as been mentioned several times in discussion on list, handling of headers =
within the current SPDY framing, and in particular the layering of HTTP/1.1=
 messages into SPDY frames is less than optimal. There is significant waste=
d space, duplication, etc that -- strictly speaking -- really isn&#39;t nec=
essary. While I recognize that the following increases the basic complexity=
 of the protocol, it allows fairly significant optimization following the s=
ame basic lines of reasoning expressed in draft-tarreau-httpbis-network-fri=
endly-00.</font><div>

<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">Section 2.6.1 of the SPDY draft defines header block=
s using the following format:</font></div><div><font face=3D"courier new, m=
onospace"><br>

</font></div><div><font face=3D"courier new, monospace"><div>=C2=A0 =C2=A0+=
------------------------------------+</div><div>=C2=A0 =C2=A0| Number of Na=
me/Value pairs (int32) |</div><div>=C2=A0 =C2=A0+--------------------------=
----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of name (int32) =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>

<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-------------------------=
-----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of value =C2=A0(=
int32) =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+---------------------=
---------------+</div>

<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Value =C2=A0 (string)=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+--------------=
----------------------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div><br></div><div>This structure is used within SYN_STREAM and =
HEADERS frames.=C2=A0</div>

<div><br></div><div>What I propose is the following revised structure:</div=
><div><br></div><div><div>=C2=A0 =C2=A0+-----------------------------------=
-+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Number of Headers (int32) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div>

<div>=C2=A0 =C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div>=
<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=
=C2=A0 =C2=A0+------------------------------------+</div></div><div>=C2=A0 =
=C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>

<div>=C2=A0 =C2=A0+-------------------------------------</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-=
------------------------------------</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div>

<div>T is a single bit identifying the Header Type. There are two types.. R=
EGISTERED (0) and EXTENSION (1)</div><div><br></div><div>Flags provides fla=
gs for the specific header field. The flag 0x1 indicates that the header va=
lue contains Character Data. If not set, the value is assumed to consist of=
 raw octets. 0x2 indicates that the value is compressed.</div>

<div><br></div><div>Length is an unsigned 24-bit value specifying the numbe=
r of octets after the length field.</div><div><br></div><div>When the T bit=
 is NOT set, the Header field is a REGISTERED Header, the structure of whic=
h is:</div>

<div><br></div><div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0|0| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0| ID | Value Length (int32) |Value...|</div>

<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>The ID is a 32-bit number uniquely identifying the registered =
field. Each is assigned by the registrar. For instance, the &quot;Host&quot=
; field could have a registered value of &quot;1&quot;, the &quot;Accept-La=
ng&quot; field could have a registered value of &quot;6&quot;, and so forth=
.=C2=A0</div>

<div><br></div><div>The Value Length is a 32-bit value indicating the lengt=
h of the value.</div><div><br></div><div>If Flag 0x1 is set, the value is a=
ssumed to contain character data. When set, the value MUST be preceded by a=
 single unsigned 8-bit integer identifying the character encoding utilized.=
 The values are assigned by the registrar. For instance, US-ASCII could hav=
e a registered value of &quot;1&quot;, while &quot;UTF-8&quot; could have a=
 registered value of &quot;2&quot;.</div>

<div><br></div><div>For example:</div><div><br></div><div><div>=C2=A0 =C2=
=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| 000000=
1 | =C2=A0 =C2=A0 24 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+</div><d=
iv>=C2=A0 =C2=A0| 1 | 16 | 1 | =C2=A0 =C2=A0<a href=3D"http://www.example.o=
rg">www.example.org</a> =C2=A0 =C2=A0|</div>

<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>This Header record indicates a REGISTERED header containing ch=
aracter content, the header ID =3D 1, the charset used is US-ASCII and the =
value is &quot;<a href=3D"http://www.example.org">www.example.org</a>&quot;=
. The header is expressed with a total of 28 bytes.</div>

<div><br></div><div>When the T bit IS set, the Header field is an EXTENSION=
 Header, the structure of which is:</div><div><br></div><div><div>=C2=A0 =
=C2=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| Fla=
gs (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>

<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div><di=
v>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+---------------=
---------------------+</div>

<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0Length of value (int32) =C2=A0 =C2=
=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+<=
/div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Va=
lue =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=
=A0 =C2=A0+------------------------------------+</div></div><div><br>

</div><div>For example.. an extension header that contains raw binary data.=
..</div><div><br></div></font><div style=3D"font-family:&#39;courier new&#3=
9;,monospace">=C2=A0 =C2=A0+------------------------------------+</div><div=
 style=3D"font-family:&#39;courier new&#39;,monospace">

=C2=A0 =C2=A0|0| 0000000 | =C2=A0 =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=
=A0 =C2=A0+------------------------------------+</div><div style=3D"font-fa=
mily:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 |</div>

<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0+--=
----------------------------------+</div><div style=3D"font-family:&#39;cou=
rier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0x-foo =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">

=C2=A0 =C2=A0+------------------------------------+</div><div style=3D"font=
-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div style=3D"font-family:&#39;courier n=
ew&#39;,monospace">=C2=A0 =C2=A0+------------------------------------+</div=
>

<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {raw bytes} =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|</div><font face=3D"courier new, monospace"><div>=C2=
=A0 =C2=A0+------------------------------------+=C2=A0 =C2=A0</div><div><br=
></div><div>The header is expressed with a total of 21 bytes.</div>

<div><br></div><div>The same flags apply. 0x1 indicates that the value is c=
haracter data. If 0x1 is not set, the value contains raw octets. The key di=
fference is that there is a 32-bit name length and variable length name fie=
ld in place of the 32-bit ID field in the REGISTERED header. All other deta=
ils remain the same.=C2=A0</div>

<div><br></div><div>As is currently the case in SPDY, if a single header va=
lue contains multiple values, each can be separated using a single NUL (0) =
byte.</div><div><br></div><div>There are several advantages to this approac=
h:</div>

<div><br></div><div>1. Commonly used header names are omitted in favor of r=
egistered, known numeric IDs, saving space and making it more efficient to =
scan over commonly used headers. For instance, intermediaries that route re=
quests based on common headers such as Host etc could choose to ignore EXTE=
NSION header fields entirely, and scan only for the ID&#39;s of the fields =
they are interested in, rather than having to parse the entire bag of heade=
r names.</div>

<div><br></div><div>2. Header values can be expressed as raw octets or char=
acter data. Currently, mechanisms within HTTP require developers to muck ar=
ound with Base64 encoding or other encodings when including detail within a=
 header. This approach would eliminate that extra step. For instance, if I =
wanted to have a Content-Integrity header whose value is an hmac digest, I =
would be able to drop the raw bytes of the digest into the header value rat=
her than base64 or hex encoding it into an ASCII string, saving CPU cycles =
and reducing the amount of data that must be transmitted.=C2=A0</div>

<div><br></div><div>3. Header values that contain character data would not =
be limited to US-ASCII. Multiple charset encodings would be allowed... obvi=
ously this has a whole slew of issues associated with it that need to be ca=
refully considered. The charset encoding flag could be dropped, if necessar=
y, from this proposal.</div>

<div><br></div><div>For HTTP/1.1 Compatibility, each REGISTERED Header woul=
d be mapped to a known, registered HTTP/1.1 header, allowing one to one tra=
nslation from the optimized form to the HTTP/1.1 form. Binary values would =
be base64-encoded. If a particular header does not allow for Base64 encoded=
 values under HTTP/1.1, the down-level recipient would have the option of r=
esponding with an appropriate 404 response.</div>

<div><br></div><div>That&#39;s it for now. There are additional considerati=
ons to be given to the specific selection of header fields to include withi=
n the SYN_STREAM vs. follow-on HEADERS frames but that&#39;s a separate con=
versation. As always, feedback is welcome...</div>

<div><br></div><div>- James</div><div><br></div></font></div>

--f46d0438904122c91f04c4bd703c--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:28:21 2012
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 365FB21F85D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:28:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 5MrNRelAxWUQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:28:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 412E121F85CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:28:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpoL3-0001U9-Jy for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:27:53 +0000
Resent-Date: Fri, 13 Jul 2012 22:27:53 +0000
Resent-Message-Id: <E1SpoL3-0001U9-Jy@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpoKv-0001TO-1F for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:27:45 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpoKu-000305-2r for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:27:44 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id DE6293B764; Fri, 13 Jul 2012 22:27:22 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DMRMMB046667; Fri, 13 Jul 2012 22:27:22 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 15:16:35 MST." <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 22:27:22 +0000
Message-ID: <46666.1342218442@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpoKu-000305-2r cef6decdeac58fb691e1da462a8254bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/46666.1342218442@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14170
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>

In message <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
, James M Snell writes:

>As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
>been mentioned several times in discussion on list, handling of headers
>within the current SPDY framing, and in particular the layering of HTTP/1.1
>messages into SPDY frames is less than optimal. [...]

While I appreciate your willingness to keep trying to modify SPDY,
I think it is premature to do so, certainly until we know what
HTTP/2.0 should actually do and how it should do it.

For instance if we decide to do the envelope/substance split,
(probably envelope/metadata/substance actually), that has pretty big
implications for the requirements to the actual protocol.

Such fundamental questions should be resolved before we waste time
trying to fine-tune representations.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:35:13 2012
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 770B411E80E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:35:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 CmuJ7NNaXWSX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:35:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9736A11E80EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:35:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpoRx-0005HW-DM for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:35:01 +0000
Resent-Date: Fri, 13 Jul 2012 22:35:01 +0000
Resent-Message-Id: <E1SpoRx-0005HW-DM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fenix@google.com>) id 1SpoRp-0005Eg-1F for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:34:53 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fenix@google.com>) id 1SpoRo-00087b-2A for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:34:52 +0000
Received: by yenq11 with SMTP id q11so4461774yen.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:34:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-system-of-record; bh=9fudYuvpYNq0euPvnZ5JtvBxL7xVdFECfROVon4MfMM=; b=oYVckmwVGmYZ342hOWIt59FkYOYDhmIwo8DvBMC7pZbolL47V4HxJflIOmDYdy7nAu Sd9xqD2jKtgykluTC6YK15xy9sU69yTcVBqdZS2l2IwSrK0o+di+xcoPdGpsXn5rRI3t fd8nv8zOzt0bdYuR/00By8oxCgKdC5DUaP8bac9ES+5HAIcGxodzmFygfltBvD2TFKHT jIkMB3KPupG7ExCzq9PIb2NxFse2f3G1qfL7FkxrpDDL17KjBn5r8VdYCAZbwOKwgNjx /P4jv13LiPPSH130MXewUqEeDM6sjTDYys/ctZ1qONBRyTKmdSYQ8MHWfu+i3RJrDOtI cHKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-system-of-record:x-gm-message-state; bh=9fudYuvpYNq0euPvnZ5JtvBxL7xVdFECfROVon4MfMM=; b=CA8zULkpzL66lT7d2eDThdlBou7lv33HP40ODDzc2o5+/WhnMFCAdYYYPXG9uxPQFs D8FjXRRQxurjSgJVquEZzx0u580zlwEIiThpFdVXRnFT/rYvNII2uxY5Q9YyZO5V7ZGR p+InRc39UJKxM0O5VzpdECZfXGqzOWLH/ntiAgHDWNG873mMgzjBJZjzzJkRKrCX3Hex nEJ/cSErBdC9a4H/8DW2efyLSD8uRYZaD4ufSvN4PG86kZBjZUlrxMTa3uKFi5+512cq fBso32ObY+4SndSwaVf2F2EXFeruj4BpMyLBh5g5NP6+j2xlsJMui/Ir32rkcnK7iRFs nujQ==
Received: by 10.50.11.202 with SMTP id s10mr350646igb.4.1342218865564; Fri, 13 Jul 2012 15:34:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.11.202 with SMTP id s10mr350638igb.4.1342218865439; Fri, 13 Jul 2012 15:34:25 -0700 (PDT)
Received: by 10.50.82.6 with HTTP; Fri, 13 Jul 2012 15:34:25 -0700 (PDT)
Date: Fri, 13 Jul 2012 15:34:25 -0700
Message-ID: <CAGzyod4-yCkd4i9cwr3GdiTgUNve0UjaRUEPuVeXaC1rXpHEiw@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f646c1baf728f04c4bdaefd
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmttpVV3yv/yOKwPCxrC0wa5mHokcURrp4+gztBdBk0TabiEWhKmfuRkGWvFp5o1WRFHzotg7Sq7KnQRq+jL5qmaB7TzaP7Jsk2lcSH2DEXBYa4KXi38rLhJGfWzeNipueVRlXu7gAAdaWPrXvdMQ8JprAmq5l0rMPwthy+DVNOoJg1FhgU4XusZQLrD7us0Wm5iJlf
Received-SPF: pass client-ip=209.85.213.171; envelope-from=fenix@google.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpoRo-00087b-2A 6c1463a638df820361048aa4dfc7dbab
X-Original-To: ietf-http-wg@w3.org
Subject: Expression of Interest in HTTP/2.0
Archived-At: <http://www.w3.org/mid/CAGzyod4-yCkd4i9cwr3GdiTgUNve0UjaRUEPuVeXaC1rXpHEiw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14171
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>

--e89a8f646c1baf728f04c4bdaefd
Content-Type: text/plain; charset=ISO-8859-1

This is Google's Expression of Interest in HTTP/2.0.

Google has roughly three years SPDY implementation experience, both
server-side and client-side.
During this time, Google has helped foster open participation, provided
open-source implementations, tools, documentation, and support sufficient
for many other parties to develop completely separate interoperable
solutions.

Google is interested in sharing its experience, seeing ideas expressed in
SPDY incorporated into HTTP/2.0, and in ensuring that they remain useful by
guarding against modifications that increase latency, decrease reliability,
or negatively affect user security.

Google supports any modification to SPDY in support of HTTP/2.0 that:
decreases complexity, decreases latency, increases efficiency, or eases
deployment.

-=R

--e89a8f646c1baf728f04c4bdaefd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div style=3D"font-family:arial,sans-serif;font-size:13px">This is Google&#=
39;s Expression of Interest in HTTP/2.0.</div><div style=3D"font-family:ari=
al,sans-serif;font-size:13px"><br></div><div style=3D"font-family:arial,san=
s-serif;font-size:13px">
Google has roughly three years SPDY implementation experience, both server-=
side and client-side.</div><div style=3D"font-family:arial,sans-serif;font-=
size:13px">During this time, Google has helped foster open participation, p=
rovided open-source implementations, tools, documentation, and support suff=
icient for many other parties to develop completely separate interoperable =
solutions.=A0</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">Google is interested i=
n sharing its experience, seeing ideas expressed in SPDY incorporated into =
HTTP/2.0, and in ensuring that they remain useful by guarding against modif=
ications that increase latency, decrease reliability, or negatively affect =
user security.<br>
</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div>=
<div style=3D"font-family:arial,sans-serif;font-size:13px"><div>Google supp=
orts any modification to SPDY in support of HTTP/2.0 that: decreases comple=
xity, decreases latency, increases efficiency, or eases deployment.</div>
<div><br></div><div>-=3DR</div><div><br></div></div>

--e89a8f646c1baf728f04c4bdaefd--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:40:47 2012
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 9150F11E80E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:40:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.447
X-Spam-Level: 
X-Spam-Status: No, score=-7.447 tagged_above=-999 required=5 tests=[AWL=2.530, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 2f4vej41h5qq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:40:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9513911E80CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:40:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpoXM-0000ON-IR for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:40:36 +0000
Resent-Date: Fri, 13 Jul 2012 22:40:36 +0000
Resent-Message-Id: <E1SpoXM-0000ON-IR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpoXE-0000La-VX for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:40:29 +0000
Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a90.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1SpoXD-0008Kh-VX for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:40:28 +0000
Received: from homiemail-a90.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a90.g.dreamhost.com (Postfix) with ESMTP id D18D42AC072 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:40:03 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=wc7j1X6F6CoiTaJs9Z/EB wMkGjHeXex7GBfwQaQWgqPHAP3z6gBhNcjt954GARj3wsbsk1K9OMWDkUiFmgM+E w4D3VNye+299uZjVCn1RmJ9oDVu84SH223eBZg3fti5FiUsRxcvG5r9r2Ii1z5oW GRQ3dJMn5kOW4H42E/9GBw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=d+nDtWCKV3DCu3s3lVHq AOy4RZY=; b=FLYV8GbD3+5Q/ooiNAu2R+rrJG8LhDo/FnUKz3Iv/A3nva47HVTd X3d5PxG3oJA53AI3nwx4x+LsAl5CZf5aSS8osmkd3twwXo5a6h+YanU4+L+ok9Ay jV4ygbQ3WmTWq4usDBNAQ2DgMqJT3wv/MtJqLwieSkRcA/RdmzvArsg=
Received: from mail-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a90.g.dreamhost.com (Postfix) with ESMTPSA id AA6912AC06E for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:40:03 -0700 (PDT)
Received: by ghy10 with SMTP id 10so4468664ghy.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 15:40:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.75.225 with SMTP id f1mr5249983paw.35.1342219202883; Fri, 13 Jul 2012 15:40:02 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Fri, 13 Jul 2012 15:40:02 -0700 (PDT)
In-Reply-To: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
References: <CAMm+Lwgr1cnM3-iz_quKhN9N_dS1d6qdv26kSvKZ+T_Hr9L+hw@mail.gmail.com>
Date: Fri, 13 Jul 2012 17:40:02 -0500
Message-ID: <CAK3OfOhUhtGWBGA54Lt1C8sFc5fmEDYY+Lk-U7ZT6nHJOqCpww@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.5; envelope-from=nico@cryptonector.com; helo=homiemail-a90.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SpoXD-0008Kh-VX 0825849574df8146c1ddbd0d21262189
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAK3OfOhUhtGWBGA54Lt1C8sFc5fmEDYY+Lk-U7ZT6nHJOqCpww@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14172
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 Fri, Jul 13, 2012 at 12:09 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> 2) Code budget
>
> Before going anywhere, ask how many bytes the browsers might commit to
> these proposals. I would be very surprised if they would allow more
> than 100Kb for the whole of HTTP/2.0.
>
> Ergo anyone proposing integrating their favorite API with a 500Kb dll
> is pushing a total non-starter. In fact I think that any scheme that
> cannot be implemented in fifty or so pages of self-contained code is a
> non-starter.
[...]
> GSS-API was considered in 1995 and found to be too big, slow and
> difficult to understand. I don't think it should be reconsidered
> unless it has been drastically reduced in size since. I believe the
> opposite to be the case.

Once more, with feeling: :) There's no need to use the GSS-API in
order to use GSS mechanisms.

The portion of GSS security mechanisms that a REST-GSS client would
have to implement can be quite minimized compared to a full
implementation.  For a mechanism like SCRAM the total size should be
quite small (especially if you don't count HMAC nor the hash function,
because those are probably to be shared with other parts of the client
application).  For a ZKPP it's probably a little bigger.  For a ZKPP
mechanism with federation support with the server doing all the
infrastructure messaging work the code should be about the same size.

*Kerberos* code is going to be huge, largely because of ASN.1/DER and
a much heavier crypto footprint (there's a number of ciphersuites).
But that's another story.  I'm not proposing Kerberos.  I'm proposing
that HTTP/2.0 auth be pluggable.

Nico
--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:46:16 2012
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 7ACF611E80E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 AyThw8d5D1DM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:46:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C7DB11E80CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:46:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spock-0004M5-Tc for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:46:10 +0000
Resent-Date: Fri, 13 Jul 2012 22:46:10 +0000
Resent-Message-Id: <E1Spock-0004M5-Tc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spocd-0004LN-Gh for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:46:03 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spocc-0008Sv-IH for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:46:03 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 9D6D63B6B9; Fri, 13 Jul 2012 22:45:41 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DMjfTa046754; Fri, 13 Jul 2012 22:45:41 GMT (envelope-from phk@phk.freebsd.dk)
To: Julian Reschke <julian.reschke@gmx.de>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 23:43:16 +0200." <50009674.6080800@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 22:45:41 +0000
Message-ID: <46753.1342219541@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Spocc-0008Sv-IH 63dcc36a4a8c27c239ce33a695503fc7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/46753.1342219541@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14173
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>

In message <50009674.6080800@gmx.de>, Julian Reschke writes:

>Out of curiosity, how do you arrive at the "700 pages" estimate?

It comes from a friend who was tasked with identifying all applicable
specifications for their ecommerce site, except those where they
could rely on vendors ISO-9000 certification to ensure compliance.

HTTPS in particular pulls in a metric shitload of stuff.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:49:29 2012
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 AA88811E812F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:49:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.28
X-Spam-Level: 
X-Spam-Status: No, score=-6.28 tagged_above=-999 required=5 tests=[AWL=3.719, BAYES_00=-2.599, J_CHICKENPOX_63=0.6, 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 bGogydZjWR18 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:49:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC42A11E812D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:49:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spog2-0004gO-G0 for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:49:34 +0000
Resent-Date: Fri, 13 Jul 2012 22:49:34 +0000
Resent-Message-Id: <E1Spog2-0004gO-G0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Spofu-0004fX-VY for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:49:26 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Spoft-0003ZG-Mv for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:49:26 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 2F7D817150C; Fri, 13 Jul 2012 23:49:03 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1342219742; bh=TuA+2HaWcilYEQ 0ACOQaZYRS7Mi3DUIsbaN4q2vGo60=; b=lACY2WI+1tj4/OwVB4osxwcTd+DueE knToYc69Q17N6662B1EItvYyXx8wTpeegapMUU1ROzdNj0Brv/MIi9z7YAz2uiaf OhaLEJGTJ2XYrceMdXMK4QhHMQhgvnT2qxfJqWEPeiKzcsmNaZZl5xB1XXv/GEb6 Vbg+WjJ/pDFi8WpMLPJCkqw4Rb1J/JAU5QhGWwDg6gDX1rnZFUkZTh0M858Uwfaz ZEhhaQ1UgFBqnKbENPFmWYvxCiqnEC+9T9dr9Br+J/U0HVCs9e+z/hEjMmLnps/G b3zvE+BkEgKBjZSdDqqgQf5fGQCq0kpYZ6ZZvPQI0DzXON1YHvXxu6kA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id Oah6QkK9Hmbq; Fri, 13 Jul 2012 23:49:02 +0100 (IST)
Received: from [10.87.48.11] (unknown [86.42.25.101]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id E47EB1714F0; Fri, 13 Jul 2012 23:48:59 +0100 (IST)
Message-ID: <5000A5DA.8090006@cs.tcd.ie>
Date: Fri, 13 Jul 2012 23:48:58 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Brian Pane <brianp@brianp.net>
References: <46509.1342217118@critter.freebsd.dk>
In-Reply-To: <46509.1342217118@critter.freebsd.dk>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spoft-0003ZG-Mv 29125b086a949dfbc275586f42dbd3c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/5000A5DA.8090006@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14174
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 07/13/2012 11:05 PM, Poul-Henning Kamp wrote:
> A much better strategy is to make these practices possible
> and detectable, so that the users know when they are subject
> to them.

It *might* be a better strategy if there were a way
to do it that didn't trivially expose the client
to just about any bad actor, or else make the client
captive to some (possibly bad) actor.

I suspect that a lot of proposals along those lines
will come a cropper like that, e.g. because they
require a client to trust some unprotected signal
from the network or else they require all clients to
have some configured entity that they'll just
believe about all this stuff.

So that's just not easily solved. Perhaps even
beyond the state of the art in the general case.
But who knows. There are many smart folks involved
here. I'll not hold my breath though to be honest.

Having said that, the earlier discussion about
having some few bits of information (host and
a new session id) in an unencrypted but perhaps
signed'MAC'd envelope sounds like it might help
with a bunch of this. So at a high level that
does sound promising.

Though I guess not for the "corporate censor"
part. I dunno what can be done about that.

Anyway, interesting challenges ahead all right!

S.





From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:51:34 2012
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 6286F11E8116 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:51:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.857
X-Spam-Level: 
X-Spam-Status: No, score=-8.857 tagged_above=-999 required=5 tests=[AWL=1.742, BAYES_00=-2.599, 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 Nag6ZjdsO6rK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:51:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B99B611E80CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:51:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spoi0-00069s-Dr for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:51:36 +0000
Resent-Date: Fri, 13 Jul 2012 22:51:36 +0000
Resent-Message-Id: <E1Spoi0-00069s-Dr@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Spohs-000697-Uq for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:51:28 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Spohr-0003cS-KS for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:51:28 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6DMp4et017110; Sat, 14 Jul 2012 00:51:04 +0200
Date: Sat, 14 Jul 2012 00:51:04 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20120713225104.GK16256@1wt.eu>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <46666.1342218442@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <46666.1342218442@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spohr-0003cS-KS e663d489407d507a6b5db0b45b56c7a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/20120713225104.GK16256@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14175
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 Poul-Henning,

On Fri, Jul 13, 2012 at 10:27:22PM +0000, Poul-Henning Kamp wrote:
> In message <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
> , James M Snell writes:
> 
> >As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
> >been mentioned several times in discussion on list, handling of headers
> >within the current SPDY framing, and in particular the layering of HTTP/1.1
> >messages into SPDY frames is less than optimal. [...]
> 
> While I appreciate your willingness to keep trying to modify SPDY,
> I think it is premature to do so, certainly until we know what
> HTTP/2.0 should actually do and how it should do it.
> 
> For instance if we decide to do the envelope/substance split,
> (probably envelope/metadata/substance actually), that has pretty big
> implications for the requirements to the actual protocol.
> 
> Such fundamental questions should be resolved before we waste time
> trying to fine-tune representations.

I think such contributions here on the WG are useful. As you probably
have noticed when we spent countless hours rotating bits in every
possible combinations, starting from a blank page is extremely difficult,
and most of the progress comes from contributors who are able to comment
on what they like or don't like in the design.

Whatever will be retained as a basis for HTTP/2.0, this exercise is
useful and may incite other users to provide very valuable feedback.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 15:55:25 2012
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 014EE11E8133 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:55:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Na9AE94krP-f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 15:55:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 130F311E80CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 15:55:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spolo-0007xa-03 for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 22:55:32 +0000
Resent-Date: Fri, 13 Jul 2012 22:55:32 +0000
Resent-Message-Id: <E1Spolo-0007xa-03@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spolg-0007wt-Nj for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 22:55:24 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spolf-0003hz-Mr for ietf-http-wg@w3.org; Fri, 13 Jul 2012 22:55:24 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7B8853B76F; Fri, 13 Jul 2012 22:55:02 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DMt1mo046863; Fri, 13 Jul 2012 22:55:01 GMT (envelope-from phk@phk.freebsd.dk)
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
cc: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Brian Pane <brianp@brianp.net>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 23:48:58 +0100." <5000A5DA.8090006@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 22:55:01 +0000
Message-ID: <46862.1342220101@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spolf-0003hz-Mr b4b0dcdf14e11b9aa4e953139cc00c64
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/46862.1342220101@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14176
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>

In message <5000A5DA.8090006@cs.tcd.ie>, Stephen Farrell writes:

>So that's just not easily solved.

Absolutely not.

But I don't the pretending that it isn't an issue works out too
well either, as evidenced by the current cleanup of unwisely issued
certificates.

>Though I guess not for the "corporate censor"
>part. I dunno what can be done about that.

Allowing you to send "GET https://...." to a proxy will go a long
way for quite a lot of these cases.

>Anyway, interesting challenges ahead all right!

Indeed, but only if the WG decides to actually do something about them.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 16:01:58 2012
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 9840F11E80D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 pEKzrDHxlOuv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:01:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CEBE911E8088 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 16:01:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sporp-00034l-2L for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 23:01:45 +0000
Resent-Date: Fri, 13 Jul 2012 23:01:45 +0000
Resent-Message-Id: <E1Sporp-00034l-2L@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sporh-00033z-Tz for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 23:01:37 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sporg-0000Q4-Vm for ietf-http-wg@w3.org; Fri, 13 Jul 2012 23:01:37 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id C7F493B751; Fri, 13 Jul 2012 23:01:15 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6DN1FRb046924; Fri, 13 Jul 2012 23:01:15 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sat, 14 Jul 2012 00:51:04 +0200." <20120713225104.GK16256@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 13 Jul 2012 23:01:15 +0000
Message-ID: <46923.1342220475@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sporg-0000Q4-Vm 997d5064ae7e010d6566af3d6a5003b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/46923.1342220475@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14177
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>

In message <20120713225104.GK16256@1wt.eu>, Willy Tarreau writes:

>Whatever will be retained as a basis for HTTP/2.0, this exercise is
>useful and may incite other users to provide very valuable feedback.

I think it is premature, because it obscures and prevents the much
needed high-level design of HTTP/2.0.

And that is exactly why I think the current approach and timeline
is a road to nowhere fast.

The fact that we just saw Google say they would get behind any
improvement, as long as it is SPDY pretty much dooms the HTTP/2.0
effort right there and then:  All that's on the table is minor
rearrangements of the deckchairs, there is no opening for
changing the course.

And with that, over and out.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 16:04:37 2012
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 AA86221F85AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:04:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.954
X-Spam-Level: 
X-Spam-Status: No, score=-6.954 tagged_above=-999 required=5 tests=[AWL=3.645, BAYES_00=-2.599, 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 kvk+luvpuIs5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:04:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AC94021F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 16:04: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 1Spoum-0003Hg-23 for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 23:04:48 +0000
Resent-Date: Fri, 13 Jul 2012 23:04:48 +0000
Resent-Message-Id: <E1Spoum-0003Hg-23@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Spoua-0003Gq-Hm for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 23:04:36 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SpouZ-0003tq-HW for ietf-http-wg@w3.org; Fri, 13 Jul 2012 23:04:36 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id D001417150C; Sat, 14 Jul 2012 00:04:14 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1342220654; bh=Ui3pC/CpYa6zu7 gVZBmqM7ujd8FILInQNXDkFJXrvNA=; b=yGUVqrNxN1F/w5bdXBg8Vomof6ASRa NIW/HQKJ7OeKmx04e0aVq6R+T7x9rvQPNrxjMFVdhBd8LF44cLUAvHpOpkgBbyMr dsGn2t/rHGlPMmDrUCwg/cE4Ye4q+e/uRk1V4MUScbaC6X9AkHUG+C5rbT3fNn3x SYqjjaHJ1QGkqPi+HAclYSxo4ZzBhUEg53SwCKuYE5ds0vG/l9TTHvS+e8HNJ8+2 JIDaYu0Uh2ex9EM/CivoKSAbW0uvePQNgw+pzIk2qt3b1jTADvGpzDX3iwq2IWfK x31o89Fd/dzrjIl0MAg2cWOSLQv23a6AtLKzfrg+nHsJ3WYekCfO/LVg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id HucGP494yGQz; Sat, 14 Jul 2012 00:04:14 +0100 (IST)
Received: from [10.87.48.11] (unknown [86.42.25.101]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 7E43F1714F0; Sat, 14 Jul 2012 00:04:14 +0100 (IST)
Message-ID: <5000A96E.3060405@cs.tcd.ie>
Date: Sat, 14 Jul 2012 00:04:14 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <46862.1342220101@critter.freebsd.dk>
In-Reply-To: <46862.1342220101@critter.freebsd.dk>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpouZ-0003tq-HW 7d50ebef2fd53a22d3c29ae82bba9e58
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/5000A96E.3060405@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14178
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 07/13/2012 11:55 PM, Poul-Henning Kamp wrote:
>>Anyway, interesting challenges ahead all right!

> Indeed, but only if the WG decides to actually do something about them.

Well, the process of deciding has been interesting
already:-)

S.





From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 16:11:09 2012
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 37EFF11E80CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:11:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.876
X-Spam-Level: 
X-Spam-Status: No, score=-9.876 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 9enaa49nFT8s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:11:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A558411E80B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 16:11:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spp0h-0006MK-VL for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 23:10:55 +0000
Resent-Date: Fri, 13 Jul 2012 23:10:55 +0000
Resent-Message-Id: <E1Spp0h-0006MK-VL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Spp0Y-0006LZ-6R for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 23:10:46 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Spp0X-0000g8-1j for ietf-http-wg@w3.org; Fri, 13 Jul 2012 23:10:46 +0000
Received: by lbom4 with SMTP id m4so5339129lbo.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 16:10:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=gtWM+PARLzamoiE5l2lvWJ6tctUIhENsn9ZacSw8Dk8=; b=JtOpqNvfeEyfrD8VITwgXiVBPEB8HXPibXP+khNAuwNjyO3O1NpWO4ubahi+30rrMU uKyIzA7Mhx2Lu/go71Ig98mdACJfa6308piD02GIJKcxx1PU4agcO1VlQNP74UO1Lb29 tCe6Q8WqVvZileQClFwqRatV7u3s92rSJPNTEab67rOiHZXDGuWQkiF5XHtouvmqGB2T d3P4IqpqnOvTyQrE8xqYJrW5Sr7AFTv/FwxxqUVXSeMABfH4XGA3IwURqbz4JpGtjrVA ykMU7QvCPX3CjjNAPcpOH48ZosVtBOoIf9ZErtBAwv88puT9plUU8bkY19YbUuxf3HUr Ffvg==
MIME-Version: 1.0
Received: by 10.152.136.18 with SMTP id pw18mr3190357lab.17.1342221018166; Fri, 13 Jul 2012 16:10:18 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Fri, 13 Jul 2012 16:10:18 -0700 (PDT)
In-Reply-To: <46923.1342220475@critter.freebsd.dk>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 16:10:18 -0700
Message-ID: <CABaLYCsqLKV4WjOn4AZh3Cd3XErMGyK6an0gf-jitiM0Pf0HJw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d042f927aff757204c4be2ed3
X-Gm-Message-State: ALoCoQm2+kE0X4GLq744HM5xJD6w1Om45C2BA/zkwV3gTkIpS3moSClA/KlmI6jEupYNl9VDYlKz
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Spp0X-0000g8-1j 5fdb7de92390790c08d15be02180cac3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABaLYCsqLKV4WjOn4AZh3Cd3XErMGyK6an0gf-jitiM0Pf0HJw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14179
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>

--f46d042f927aff757204c4be2ed3
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jul 13, 2012 at 4:01 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <20120713225104.GK16256@1wt.eu>, Willy Tarreau writes:
>
> >Whatever will be retained as a basis for HTTP/2.0, this exercise is
> >useful and may incite other users to provide very valuable feedback.
>
> I think it is premature, because it obscures and prevents the much
> needed high-level design of HTTP/2.0.
>
> And that is exactly why I think the current approach and timeline
> is a road to nowhere fast.
>







>
> The fact that we just saw Google say they would get behind any
> improvement, as long as it is SPDY pretty much dooms the HTTP/2.0
>


For the record, Google did not say that.

Such negative biases really don't help the discussion.

Mike





> effort right there and then:  All that's on the table is minor
> rearrangements of the deckchairs, there is no opening for
> changing the course.
>
> And with that, over and out.
>
>


> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d042f927aff757204c4be2ed3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Fri, Jul 13, 2012 at 4:01 PM, Poul-He=
nning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" targ=
et=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"im">In message &lt;<a href=3D"mailto:20120713225104.GK16256@1=
wt.eu">20120713225104.GK16256@1wt.eu</a>&gt;, Willy Tarreau writes:<br>
<br>
&gt;Whatever will be retained as a basis for HTTP/2.0, this exercise is<br>
&gt;useful and may incite other users to provide very valuable feedback.<br=
>
<br>
</div>I think it is premature, because it obscures and prevents the much<br=
>
needed high-level design of HTTP/2.0.<br>
<br>
And that is exactly why I think the current approach and timeline<br>
is a road to nowhere fast.<br></blockquote><div><br></div><div><br></div><d=
iv><br></div><div><br></div><div><br></div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

<br>
The fact that we just saw Google say they would get behind any<br>
improvement, as long as it is SPDY pretty much dooms the HTTP/2.0<br></bloc=
kquote><div><br></div><div><br></div><div>For the record, Google did not sa=
y that. =A0=A0</div><div><br></div><div>Such negative biases really don&#39=
;t help the discussion.</div>
<div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div>=
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
effort right there and then: =A0All that&#39;s on the table is minor<br>
rearrangements of the deckchairs, there is no opening for<br>
changing the course.<br>
<br>
And with that, over and out.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"=
><div class=3D"h5">

--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br>

--f46d042f927aff757204c4be2ed3--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 16:28:08 2012
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 7C8E111E80EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:28:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level: 
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[AWL=3.800, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 H7dleR7Zxkhh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:28:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 946B011E80E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 16:28:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SppGs-0003xb-SV for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 23:27:38 +0000
Resent-Date: Fri, 13 Jul 2012 23:27:38 +0000
Resent-Message-Id: <E1SppGs-0003xb-SV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SppGk-0003wp-ME for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 23:27:30 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SppGj-0004Nu-M2 for ietf-http-wg@w3.org; Fri, 13 Jul 2012 23:27:30 +0000
Received: by vcbgb30 with SMTP id gb30so3067119vcb.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 16:27:03 -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=HOkrzLB0Dz7hwG6QE8ygf/tpH6jHg3GPTUayiaT5ocA=; b=QIe8rgXR7/u6TpeWBPyO0u4uFFEtPasmgD5BZ7i1tDmgZ21F5ZoElVOiOVx/8nzyRN 1rGTargdC5LyTDwenLaZQ/HaAHzVn/Va/Ns/KaubJ7o+BYqgG0QKmYrpIgYzraC2KN8H sMlSDLkTqYwEWtuJJqM6UwNAdFFU799yFlORV6U/6c7CGdqqH/6DLC7iiePrOxHcSAzw E/cp35UNzLl3LN3TkbbfE0B2DI9eFRvwrUzGBFJAWPUkuln6T/Gcwhf8tBC2JXUC0jAC sajKxBCoRX9mlplS2SOahw3RXUMD2ZnbKMsYoJ97O5ImIHACW8UYtTiJWddBA1sv1lYW Vqtg==
MIME-Version: 1.0
Received: by 10.220.218.133 with SMTP id hq5mr1450206vcb.60.1342222023871; Fri, 13 Jul 2012 16:27:03 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Fri, 13 Jul 2012 16:27:03 -0700 (PDT)
In-Reply-To: <CABaLYCsqLKV4WjOn4AZh3Cd3XErMGyK6an0gf-jitiM0Pf0HJw@mail.gmail.com>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk> <CABaLYCsqLKV4WjOn4AZh3Cd3XErMGyK6an0gf-jitiM0Pf0HJw@mail.gmail.com>
Date: Fri, 13 Jul 2012 16:27:03 -0700
Message-ID: <CAAPAK-7LOv_k1dmFeb+h9GYRsvb2qNvCdS37NA5-SA9S+GbWPw@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>, James M Snell <jasnell@gmail.com>,  ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=14dae9cfc770f14dfa04c4be6a8c
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SppGj-0004Nu-M2 ddcdca21f43f73cd2758de9de61befb7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAAPAK-7LOv_k1dmFeb+h9GYRsvb2qNvCdS37NA5-SA9S+GbWPw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14180
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>

--14dae9cfc770f14dfa04c4be6a8c
Content-Type: text/plain; charset=ISO-8859-1

I remembered when you called someone "bot".

No, it did not help at all. We need not enumerate reactions.

On Fri, Jul 13, 2012 at 4:10 PM, Mike Belshe <mike@belshe.com> wrote:

>
>
> On Fri, Jul 13, 2012 at 4:01 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:
>
>> In message <20120713225104.GK16256@1wt.eu>, Willy Tarreau writes:
>>
>> >Whatever will be retained as a basis for HTTP/2.0, this exercise is
>> >useful and may incite other users to provide very valuable feedback.
>>
>> I think it is premature, because it obscures and prevents the much
>> needed high-level design of HTTP/2.0.
>>
>> And that is exactly why I think the current approach and timeline
>> is a road to nowhere fast.
>>
>
>
>
>
>
>
>
>>
>> The fact that we just saw Google say they would get behind any
>> improvement, as long as it is SPDY pretty much dooms the HTTP/2.0
>>
>
>
> For the record, Google did not say that.
>
> Such negative biases really don't help the discussion.
>
> Mike
>
>
>
>
>
>> effort right there and then:  All that's on the table is minor
>> rearrangements of the deckchairs, there is no opening for
>> changing the course.
>>
>> And with that, over and out.
>>
>>
>
>
>> --
>> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>> phk@FreeBSD.ORG         | TCP/IP since RFC 956
>> FreeBSD committer       | BSD since 4.3-tahoe
>> Never attribute to malice what can adequately be explained by
>> incompetence.
>>
>>
>

--14dae9cfc770f14dfa04c4be6a8c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I remembered when you called someone &quot;bot&quot;.<div><br></div><div>No=
, it did not help at all. We need not enumerate reactions.<br><br><div clas=
s=3D"gmail_quote">On Fri, Jul 13, 2012 at 4:10 PM, Mike Belshe <span dir=3D=
"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.=
com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br><br><div class=3D"gmail_quote"><div clas=
s=3D"im">On Fri, Jul 13, 2012 at 4:01 PM, Poul-Henning Kamp <span dir=3D"lt=
r">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.free=
bsd.dk</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div>In message &lt;<a href=3D"mailto:20120713225104.GK16256@1wt.eu" target=
=3D"_blank">20120713225104.GK16256@1wt.eu</a>&gt;, Willy Tarreau writes:<br=
>
<br>
&gt;Whatever will be retained as a basis for HTTP/2.0, this exercise is<br>
&gt;useful and may incite other users to provide very valuable feedback.<br=
>
<br>
</div>I think it is premature, because it obscures and prevents the much<br=
>
needed high-level design of HTTP/2.0.<br>
<br>
And that is exactly why I think the current approach and timeline<br>
is a road to nowhere fast.<br></blockquote><div><br></div><div><br></div><d=
iv><br></div><div><br></div><div><br></div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">


<br>
The fact that we just saw Google say they would get behind any<br>
improvement, as long as it is SPDY pretty much dooms the HTTP/2.0<br></bloc=
kquote><div><br></div><div><br></div></div><div>For the record, Google did =
not say that. =A0=A0</div><div><br></div><div>Such negative biases really d=
on&#39;t help the discussion.</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div class=3D"im"><div><br></di=
v><div><br></div><div><br></div><div>=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
effort right there and then: =A0All that&#39;s on the table is minor<br>
rearrangements of the deckchairs, there is no opening for<br>
changing the course.<br>
<br>
And with that, over and out.<br>
<div><div><br></div></div></blockquote><div><br></div><div>=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><div><div>

--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div></div><br>
</blockquote></div><br></div>

--14dae9cfc770f14dfa04c4be6a8c--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 16:36:55 2012
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 172C911E80EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:36:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 YDZO1iy1IePD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 16:36:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D482911E80E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 16:36:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SppPb-0008Uu-Ss for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Jul 2012 23:36:39 +0000
Resent-Date: Fri, 13 Jul 2012 23:36:39 +0000
Resent-Message-Id: <E1SppPb-0008Uu-Ss@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <roland@zinks.de>) id 1SppPT-0008Sd-Et for ietf-http-wg@listhub.w3.org; Fri, 13 Jul 2012 23:36:31 +0000
Received: from mo-p00-ob.rzone.de ([81.169.146.161]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <roland@zinks.de>) id 1SppPQ-0004bi-VZ for ietf-http-wg@w3.org; Fri, 13 Jul 2012 23:36:31 +0000
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJU2mlIkBC0t1G+0bSVECAiLzTv5ZFpawUjjrvGzQyMB04JpIwvg==
X-RZG-CLASS-ID: mo00
Received: from [IPv6:2001:4dd0:ff67:0:b40b:86cb:3af6:5e51] ([2001:4dd0:ff67:0:b40b:86cb:3af6:5e51]) by smtp.strato.de (jored mo4) (RZmta 29.19 AUTH) with ESMTPA id h07707o6DNQLSW for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 01:36:06 +0200 (CEST)
Message-ID: <5000B0E5.9000103@zinks.de>
Date: Sat, 14 Jul 2012 01:36:05 +0200
From: Roland Zink <roland@zinks.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
In-Reply-To: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------080708090805080508090300"
Received-SPF: none client-ip=81.169.146.161; envelope-from=roland@zinks.de; helo=mo-p00-ob.rzone.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SppPQ-0004bi-VZ 5b3af700118de1792199b9bafc9dab42
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/5000B0E5.9000103@zinks.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14181
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>

This is a multi-part message in MIME format.
--------------080708090805080508090300
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

A similar binary encoding for HTTP headers is used in the WAP (Wireless 
Application Protocol). The goal there was to reduce the number of bytes 
so there are more optimization on size but skipping of values is a bit 
more difficult. If anybody is interested the full specification can be 
found at 
http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf. 
The header encoding is in section 8.4.

Regards,
Roland


On 14.07.2012 00:16, James M Snell wrote:
> This note is intended to provide some additional thoughts for 
> discussion around the design and use of SPDY as the possible basis for 
> HTTP/2.0. The intent is to provide fuel for discussion... comments are 
> definitely welcome.
>
> As discussed within draft-tarreau-httpbis-network-friendly-00, and as 
> has been mentioned several times in discussion on list, handling of 
> headers within the current SPDY framing, and in particular the 
> layering of HTTP/1.1 messages into SPDY frames is less than optimal. 
> There is significant wasted space, duplication, etc that -- strictly 
> speaking -- really isn't necessary. While I recognize that the 
> following increases the basic complexity of the protocol, it allows 
> fairly significant optimization following the same basic lines of 
> reasoning expressed in draft-tarreau-httpbis-network-friendly-00.
>
> Section 2.6.1 of the SPDY draft defines header blocks using the 
> following format:
>
>    +------------------------------------+
>    | Number of Name/Value pairs (int32) |
>    +------------------------------------+
>    |     Length of name (int32)         |
>    +------------------------------------+
>    |           Name (string)            |
>    +------------------------------------+
>    |     Length of value  (int32)       |
>    +------------------------------------+
>    |          Value   (string)          |
>    +------------------------------------+
>    |           (repeats)                |
>
> This structure is used within SYN_STREAM and HEADERS frames.
>
> What I propose is the following revised structure:
>
>    +------------------------------------+
>    |     Number of Headers (int32)      |
>    +------------------------------------+
>    |T| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    |              Data                  |
>    +------------------------------------+
>    |T| Flags (7) |     Length (24)      |
>    +-------------------------------------
>    |              Data                  |
>    +-------------------------------------
>    |             (repeats)              |
>
> T is a single bit identifying the Header Type. There are two types.. 
> REGISTERED (0) and EXTENSION (1)
>
> Flags provides flags for the specific header field. The flag 0x1 
> indicates that the header value contains Character Data. If not set, 
> the value is assumed to consist of raw octets. 0x2 indicates that the 
> value is compressed.
>
> Length is an unsigned 24-bit value specifying the number of octets 
> after the length field.
>
> When the T bit is NOT set, the Header field is a REGISTERED Header, 
> the structure of which is:
>
>    +------------------------------------+
>    |0| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    | ID | Value Length (int32) |Value...|
>    +------------------------------------+
>
> The ID is a 32-bit number uniquely identifying the registered field. 
> Each is assigned by the registrar. For instance, the "Host" field 
> could have a registered value of "1", the "Accept-Lang" field could 
> have a registered value of "6", and so forth.
>
> The Value Length is a 32-bit value indicating the length of the value.
>
> If Flag 0x1 is set, the value is assumed to contain character data. 
> When set, the value MUST be preceded by a single unsigned 8-bit 
> integer identifying the character encoding utilized. The values are 
> assigned by the registrar. For instance, US-ASCII could have a 
> registered value of "1", while "UTF-8" could have a registered value 
> of "2".
>
> For example:
>
>    +------------------------------------+
>    |0| 0000001 |     24                 |
>    +------------------------------------+
>    | 1 | 16 | 1 | www.example.org <http://www.example.org>    |
>    +------------------------------------+
>
> This Header record indicates a REGISTERED header containing character 
> content, the header ID = 1, the charset used is US-ASCII and the value 
> is "www.example.org <http://www.example.org>". The header is expressed 
> with a total of 28 bytes.
>
> When the T bit IS set, the Header field is an EXTENSION Header, the 
> structure of which is:
>
>    +------------------------------------+
>    |0| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    |      Length of name (int32)        |
>    +------------------------------------+
>    |           Name (string)            |
>    +------------------------------------+
>    |      Length of value (int32)       |
>    +------------------------------------+
>    |              Value                 |
>    +------------------------------------+
>
> For example.. an extension header that contains raw binary data...
>
>  +------------------------------------+
>    |0| 0000000 |       Length (24)      |
>  +------------------------------------+
>    |      5                   |
>  +------------------------------------+
>    |    x-foo                 |
>    +------------------------------------+
>    |      4                   |
>  +------------------------------------+
>    | {raw bytes}              |
>    +------------------------------------+
>
> The header is expressed with a total of 21 bytes.
>
> The same flags apply. 0x1 indicates that the value is character data. 
> If 0x1 is not set, the value contains raw octets. The key difference 
> is that there is a 32-bit name length and variable length name field 
> in place of the 32-bit ID field in the REGISTERED header. All other 
> details remain the same.
>
> As is currently the case in SPDY, if a single header value contains 
> multiple values, each can be separated using a single NUL (0) byte.
>
> There are several advantages to this approach:
>
> 1. Commonly used header names are omitted in favor of registered, 
> known numeric IDs, saving space and making it more efficient to scan 
> over commonly used headers. For instance, intermediaries that route 
> requests based on common headers such as Host etc could choose to 
> ignore EXTENSION header fields entirely, and scan only for the ID's of 
> the fields they are interested in, rather than having to parse the 
> entire bag of header names.
>
> 2. Header values can be expressed as raw octets or character data. 
> Currently, mechanisms within HTTP require developers to muck around 
> with Base64 encoding or other encodings when including detail within a 
> header. This approach would eliminate that extra step. For instance, 
> if I wanted to have a Content-Integrity header whose value is an hmac 
> digest, I would be able to drop the raw bytes of the digest into the 
> header value rather than base64 or hex encoding it into an ASCII 
> string, saving CPU cycles and reducing the amount of data that must be 
> transmitted.
>
> 3. Header values that contain character data would not be limited to 
> US-ASCII. Multiple charset encodings would be allowed... obviously 
> this has a whole slew of issues associated with it that need to be 
> carefully considered. The charset encoding flag could be dropped, if 
> necessary, from this proposal.
>
> For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to 
> a known, registered HTTP/1.1 header, allowing one to one translation 
> from the optimized form to the HTTP/1.1 form. Binary values would be 
> base64-encoded. If a particular header does not allow for Base64 
> encoded values under HTTP/1.1, the down-level recipient would have the 
> option of responding with an appropriate 404 response.
>
> That's it for now. There are additional considerations to be given to 
> the specific selection of header fields to include within the 
> SYN_STREAM vs. follow-on HEADERS frames but that's a separate 
> conversation. As always, feedback is welcome...
>
> - James
>



--------------080708090805080508090300
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">A similar binary encoding for HTTP
      headers is used in the WAP (Wireless Application Protocol). The
      goal there was to reduce the number of bytes so there are more
      optimization on size but skipping of values is a bit more
      difficult. If anybody is interested the full specification can be
      found at
<a class="moz-txt-link-freetext" href="http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf">http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf</a>.
      The header encoding is in section 8.4.<br>
      <br>
      Regards,<br>
      Roland<br>
      <br>
      <br>
      On 14.07.2012 00:16, James M Snell wrote:<br>
    </div>
    <blockquote
cite="mid:CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com"
      type="cite"><font face="courier new, monospace">This note is
        intended to provide some additional thoughts for discussion
        around the design and use of SPDY as the possible basis for
        HTTP/2.0. The intent is to provide fuel for discussion...
        comments are definitely welcome.<br>
        <br>
        As discussed within draft-tarreau-httpbis-network-friendly-00,
        and as has been mentioned several times in discussion on list,
        handling of headers within the current SPDY framing, and in
        particular the layering of HTTP/1.1 messages into SPDY frames is
        less than optimal. There is significant wasted space,
        duplication, etc that -- strictly speaking -- really isn't
        necessary. While I recognize that the following increases the
        basic complexity of the protocol, it allows fairly significant
        optimization following the same basic lines of reasoning
        expressed in draft-tarreau-httpbis-network-friendly-00.</font>
      <div>
        <font face="courier new, monospace"><br>
        </font></div>
      <div><font face="courier new, monospace">Section 2.6.1 of the SPDY
          draft defines header blocks using the following format:</font></div>
      <div><font face="courier new, monospace"><br>
        </font></div>
      <div><font face="courier new, monospace">
          <div>   +------------------------------------+</div>
          <div>   | Number of Name/Value pairs (int32) |</div>
          <div>   +------------------------------------+</div>
          <div>   |     Length of name (int32)         |</div>
          <div>   +------------------------------------+</div>
          <div>   |           Name (string)            |</div>
          <div>   +------------------------------------+</div>
          <div>   |     Length of value  (int32)       |</div>
          <div>   +------------------------------------+</div>
          <div>   |          Value   (string)          |</div>
          <div>   +------------------------------------+</div>
          <div>   |           (repeats)                |</div>
          <div><br>
          </div>
          <div>This structure is used within SYN_STREAM and HEADERS
            frames. </div>
          <div><br>
          </div>
          <div>What I propose is the following revised structure:</div>
          <div><br>
          </div>
          <div>
            <div>   +------------------------------------+</div>
            <div>   |     Number of Headers (int32)      |</div>
            <div>   +------------------------------------+</div>
            <div>   |T| Flags (7) |     Length (24)      |</div>
            <div>   +------------------------------------+</div>
            <div>   |              Data                  |</div>
            <div>   +------------------------------------+</div>
          </div>
          <div>   |T| Flags (7) |     Length (24)      |</div>
          <div>   +-------------------------------------</div>
          <div>   |              Data                  |</div>
          <div>   +-------------------------------------</div>
          <div>   |             (repeats)              |</div>
          <div><br>
          </div>
          <div>T is a single bit identifying the Header Type. There are
            two types.. REGISTERED (0) and EXTENSION (1)</div>
          <div><br>
          </div>
          <div>Flags provides flags for the specific header field. The
            flag 0x1 indicates that the header value contains Character
            Data. If not set, the value is assumed to consist of raw
            octets. 0x2 indicates that the value is compressed.</div>
          <div><br>
          </div>
          <div>Length is an unsigned 24-bit value specifying the number
            of octets after the length field.</div>
          <div><br>
          </div>
          <div>When the T bit is NOT set, the Header field is a
            REGISTERED Header, the structure of which is:</div>
          <div><br>
          </div>
          <div>
            <div>   +------------------------------------+</div>
            <div>   |0| Flags (7) |     Length (24)      |</div>
            <div>   +------------------------------------+</div>
            <div>   | ID | Value Length (int32) |Value...|</div>
            <div>   +------------------------------------+</div>
          </div>
          <div><br>
          </div>
          <div>The ID is a 32-bit number uniquely identifying the
            registered field. Each is assigned by the registrar. For
            instance, the "Host" field could have a registered value of
            "1", the "Accept-Lang" field could have a registered value
            of "6", and so forth. </div>
          <div><br>
          </div>
          <div>The Value Length is a 32-bit value indicating the length
            of the value.</div>
          <div><br>
          </div>
          <div>If Flag 0x1 is set, the value is assumed to contain
            character data. When set, the value MUST be preceded by a
            single unsigned 8-bit integer identifying the character
            encoding utilized. The values are assigned by the registrar.
            For instance, US-ASCII could have a registered value of "1",
            while "UTF-8" could have a registered value of "2".</div>
          <div><br>
          </div>
          <div>For example:</div>
          <div><br>
          </div>
          <div>
            <div>   +------------------------------------+</div>
            <div>   |0| 0000001 |     24                 |</div>
            <div>   +------------------------------------+</div>
            <div>   | 1 | 16 | 1 |    <a moz-do-not-send="true"
                href="http://www.example.org">www.example.org</a>    |</div>
            <div>   +------------------------------------+</div>
          </div>
          <div><br>
          </div>
          <div>This Header record indicates a REGISTERED header
            containing character content, the header ID = 1, the charset
            used is US-ASCII and the value is "<a moz-do-not-send="true"
              href="http://www.example.org">www.example.org</a>". The
            header is expressed with a total of 28 bytes.</div>
          <div><br>
          </div>
          <div>When the T bit IS set, the Header field is an EXTENSION
            Header, the structure of which is:</div>
          <div><br>
          </div>
          <div>
            <div>   +------------------------------------+</div>
            <div>   |0| Flags (7) |     Length (24)      |</div>
            <div>   +------------------------------------+</div>
            <div>   |      Length of name (int32)        |</div>
            <div>   +------------------------------------+</div>
            <div>   |           Name (string)            |</div>
            <div>   +------------------------------------+</div>
            <div>   |      Length of value (int32)       |</div>
            <div>   +------------------------------------+</div>
            <div>   |              Value                 |</div>
            <div>   +------------------------------------+</div>
          </div>
          <div><br>
          </div>
          <div>For example.. an extension header that contains raw
            binary data...</div>
          <div><br>
          </div>
        </font>
        <div style="font-family:'courier new',monospace"> 
           +------------------------------------+</div>
        <div style="font-family:'courier new',monospace">
             |0| 0000000 |       Length (24)      |</div>
        <div style="font-family:'courier new',monospace"> 
           +------------------------------------+</div>
        <div style="font-family:'courier new',monospace">   |          
               5                   |</div>
        <div style="font-family:'courier new',monospace"> 
           +------------------------------------+</div>
        <div style="font-family:'courier new',monospace">   |          
             x-foo                 |</div>
        <div style="font-family:'courier new',monospace">
             +------------------------------------+</div>
        <div style="font-family:'courier new',monospace">   |          
               4                   |</div>
        <div style="font-family:'courier new',monospace"> 
           +------------------------------------+</div>
        <div style="font-family:'courier new',monospace">   |          
          {raw bytes}              |</div>
        <font face="courier new, monospace">
          <div>   +------------------------------------+   </div>
          <div><br>
          </div>
          <div>The header is expressed with a total of 21 bytes.</div>
          <div><br>
          </div>
          <div>The same flags apply. 0x1 indicates that the value is
            character data. If 0x1 is not set, the value contains raw
            octets. The key difference is that there is a 32-bit name
            length and variable length name field in place of the 32-bit
            ID field in the REGISTERED header. All other details remain
            the same. </div>
          <div><br>
          </div>
          <div>As is currently the case in SPDY, if a single header
            value contains multiple values, each can be separated using
            a single NUL (0) byte.</div>
          <div><br>
          </div>
          <div>There are several advantages to this approach:</div>
          <div><br>
          </div>
          <div>1. Commonly used header names are omitted in favor of
            registered, known numeric IDs, saving space and making it
            more efficient to scan over commonly used headers. For
            instance, intermediaries that route requests based on common
            headers such as Host etc could choose to ignore EXTENSION
            header fields entirely, and scan only for the ID's of the
            fields they are interested in, rather than having to parse
            the entire bag of header names.</div>
          <div><br>
          </div>
          <div>2. Header values can be expressed as raw octets or
            character data. Currently, mechanisms within HTTP require
            developers to muck around with Base64 encoding or other
            encodings when including detail within a header. This
            approach would eliminate that extra step. For instance, if I
            wanted to have a Content-Integrity header whose value is an
            hmac digest, I would be able to drop the raw bytes of the
            digest into the header value rather than base64 or hex
            encoding it into an ASCII string, saving CPU cycles and
            reducing the amount of data that must be transmitted. </div>
          <div><br>
          </div>
          <div>3. Header values that contain character data would not be
            limited to US-ASCII. Multiple charset encodings would be
            allowed... obviously this has a whole slew of issues
            associated with it that need to be carefully considered. The
            charset encoding flag could be dropped, if necessary, from
            this proposal.</div>
          <div><br>
          </div>
          <div>For HTTP/1.1 Compatibility, each REGISTERED Header would
            be mapped to a known, registered HTTP/1.1 header, allowing
            one to one translation from the optimized form to the
            HTTP/1.1 form. Binary values would be base64-encoded. If a
            particular header does not allow for Base64 encoded values
            under HTTP/1.1, the down-level recipient would have the
            option of responding with an appropriate 404 response.</div>
          <div><br>
          </div>
          <div>That's it for now. There are additional considerations to
            be given to the specific selection of header fields to
            include within the SYN_STREAM vs. follow-on HEADERS frames
            but that's a separate conversation. As always, feedback is
            welcome...</div>
          <div><br>
          </div>
          <div>- James</div>
          <div><br>
          </div>
        </font></div>
    </blockquote>
    <br>
    <br>
  </body>
</html>

--------------080708090805080508090300--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 17:13:59 2012
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 79CD221F858E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 17:13:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.698
X-Spam-Level: 
X-Spam-Status: No, score=-8.698 tagged_above=-999 required=5 tests=[AWL=1.900, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 U3YkdJUXMK7C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 17:13:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 01F6321F84FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 17:13:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sppyi-0004dl-DL for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 00:12:56 +0000
Resent-Date: Sat, 14 Jul 2012 00:12:56 +0000
Resent-Message-Id: <E1Sppyi-0004dl-DL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SppyP-0004cF-5d for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 00:12:37 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SppyN-0002DT-Bv for ietf-http-wg@w3.org; Sat, 14 Jul 2012 00:12:37 +0000
Received: by vcbgb30 with SMTP id gb30so3081508vcb.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 17:12:09 -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=iaP5PlZEWgXeNJdLpPYUBKtWTgpNpFo52t5myNc2E2g=; b=DSo3KhLGSqKpCQtUYQ+X6736AZU5EqYfpWNaRG/FE5pw4DzPgV2ZlExyeQPmA2Uy7Y NUjOaxFxRomixx3o3cO390TQw8G3wbQpnPAqJucNee3Yal9/D0bE5t+BpNCUTZZ/BjZ3 ljNlhgwZSZX25C8ulT4KbWWqkJnMichF56gzVaZ2aY8raniFcV1iBTaKBBJ9MZ38zXOm UYBiGKz1HlrjHZVcT98HLYoea8jYsx/kLH8QTlDntVHi6hcLTv015Y4z29v0Adr/QNC2 pALSTSoQvs4YZGTZrYHi6vesVgD0Pl5Lyc01QAsC+cmfnSHEbY0O3vRIwal32hGV/L0b V4GQ==
MIME-Version: 1.0
Received: by 10.52.29.176 with SMTP id l16mr1309666vdh.80.1342224729408; Fri, 13 Jul 2012 17:12:09 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Fri, 13 Jul 2012 17:12:09 -0700 (PDT)
In-Reply-To: <5000B0E5.9000103@zinks.de>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <5000B0E5.9000103@zinks.de>
Date: Fri, 13 Jul 2012 17:12:09 -0700
Message-ID: <CAAPAK-76qiRiAOg_wYBQYAb1yMUuR-A4JVcT+OjwgyM5nuS6qg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Roland Zink <roland@zinks.de>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf3078151a34857704c4bf0c0e
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SppyN-0002DT-Bv 920f4191b9b97f1b66955d1eb731fed1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAAPAK-76qiRiAOg_wYBQYAb1yMUuR-A4JVcT+OjwgyM5nuS6qg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14182
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>

--20cf3078151a34857704c4bf0c0e
Content-Type: text/plain; charset=ISO-8859-1

Maybe it's not quite intuitive enough, especially when we cross-reference
the similarities of that WAP binary encode with JPEG2000's binary encode,
the MIME types specifically: http://www.faqs.org/rfcs/rfc3745.html (and
more)

I haven't seen any patent that extends those MIME types with either the
static index or dynamic index value, which accomplishes the compressed
header desired in HTTP2. Sorry, I have no sample for this post.

On Fri, Jul 13, 2012 at 4:36 PM, Roland Zink <roland@zinks.de> wrote:

>  A similar binary encoding for HTTP headers is used in the WAP (Wireless
> Application Protocol). The goal there was to reduce the number of bytes so
> there are more optimization on size but skipping of values is a bit more
> difficult. If anybody is interested the full specification can be found at
> http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf.
> The header encoding is in section 8.4.
>
> Regards,
> Roland
>
>
>
> On 14.07.2012 00:16, James M Snell wrote:
>
> This note is intended to provide some additional thoughts for discussion
> around the design and use of SPDY as the possible basis for HTTP/2.0. The
> intent is to provide fuel for discussion... comments are definitely welcome.
>
> As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
> been mentioned several times in discussion on list, handling of headers
> within the current SPDY framing, and in particular the layering of HTTP/1.1
> messages into SPDY frames is less than optimal. There is significant wasted
> space, duplication, etc that -- strictly speaking -- really isn't
> necessary. While I recognize that the following increases the basic
> complexity of the protocol, it allows fairly significant optimization
> following the same basic lines of reasoning expressed in
> draft-tarreau-httpbis-network-friendly-00.
>
>  Section 2.6.1 of the SPDY draft defines header blocks using the
> following format:
>
>     +------------------------------------+
>    | Number of Name/Value pairs (int32) |
>    +------------------------------------+
>    |     Length of name (int32)         |
>    +------------------------------------+
>    |           Name (string)            |
>    +------------------------------------+
>    |     Length of value  (int32)       |
>    +------------------------------------+
>    |          Value   (string)          |
>    +------------------------------------+
>    |           (repeats)                |
>
>  This structure is used within SYN_STREAM and HEADERS frames.
>
>  What I propose is the following revised structure:
>
>     +------------------------------------+
>    |     Number of Headers (int32)      |
>    +------------------------------------+
>    |T| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    |              Data                  |
>    +------------------------------------+
>     |T| Flags (7) |     Length (24)      |
>    +-------------------------------------
>    |              Data                  |
>    +-------------------------------------
>    |             (repeats)              |
>
>  T is a single bit identifying the Header Type. There are two types..
> REGISTERED (0) and EXTENSION (1)
>
>  Flags provides flags for the specific header field. The flag 0x1
> indicates that the header value contains Character Data. If not set, the
> value is assumed to consist of raw octets. 0x2 indicates that the value is
> compressed.
>
>  Length is an unsigned 24-bit value specifying the number of octets after
> the length field.
>
>  When the T bit is NOT set, the Header field is a REGISTERED Header, the
> structure of which is:
>
>     +------------------------------------+
>    |0| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    | ID | Value Length (int32) |Value...|
>    +------------------------------------+
>
>  The ID is a 32-bit number uniquely identifying the registered field.
> Each is assigned by the registrar. For instance, the "Host" field could
> have a registered value of "1", the "Accept-Lang" field could have a
> registered value of "6", and so forth.
>
>  The Value Length is a 32-bit value indicating the length of the value.
>
>  If Flag 0x1 is set, the value is assumed to contain character data. When
> set, the value MUST be preceded by a single unsigned 8-bit integer
> identifying the character encoding utilized. The values are assigned by the
> registrar. For instance, US-ASCII could have a registered value of "1",
> while "UTF-8" could have a registered value of "2".
>
>  For example:
>
>     +------------------------------------+
>    |0| 0000001 |     24                 |
>    +------------------------------------+
>    | 1 | 16 | 1 |    www.example.org    |
>    +------------------------------------+
>
>  This Header record indicates a REGISTERED header containing character
> content, the header ID = 1, the charset used is US-ASCII and the value is "
> www.example.org". The header is expressed with a total of 28 bytes.
>
>  When the T bit IS set, the Header field is an EXTENSION Header, the
> structure of which is:
>
>     +------------------------------------+
>    |0| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    |      Length of name (int32)        |
>    +------------------------------------+
>    |           Name (string)            |
>    +------------------------------------+
>    |      Length of value (int32)       |
>    +------------------------------------+
>    |              Value                 |
>    +------------------------------------+
>
>  For example.. an extension header that contains raw binary data...
>
>     +------------------------------------+
>     |0| 0000000 |       Length (24)      |
>    +------------------------------------+
>    |                5                   |
>    +------------------------------------+
>    |              x-foo                 |
>     +------------------------------------+
>    |                4                   |
>    +------------------------------------+
>    |           {raw bytes}              |
>     +------------------------------------+
>
>  The header is expressed with a total of 21 bytes.
>
>  The same flags apply. 0x1 indicates that the value is character data. If
> 0x1 is not set, the value contains raw octets. The key difference is that
> there is a 32-bit name length and variable length name field in place of
> the 32-bit ID field in the REGISTERED header. All other details remain the
> same.
>
>  As is currently the case in SPDY, if a single header value contains
> multiple values, each can be separated using a single NUL (0) byte.
>
>  There are several advantages to this approach:
>
>  1. Commonly used header names are omitted in favor of registered, known
> numeric IDs, saving space and making it more efficient to scan over
> commonly used headers. For instance, intermediaries that route requests
> based on common headers such as Host etc could choose to ignore EXTENSION
> header fields entirely, and scan only for the ID's of the fields they are
> interested in, rather than having to parse the entire bag of header names.
>
>  2. Header values can be expressed as raw octets or character data.
> Currently, mechanisms within HTTP require developers to muck around with
> Base64 encoding or other encodings when including detail within a header.
> This approach would eliminate that extra step. For instance, if I wanted to
> have a Content-Integrity header whose value is an hmac digest, I would be
> able to drop the raw bytes of the digest into the header value rather than
> base64 or hex encoding it into an ASCII string, saving CPU cycles and
> reducing the amount of data that must be transmitted.
>
>  3. Header values that contain character data would not be limited to
> US-ASCII. Multiple charset encodings would be allowed... obviously this has
> a whole slew of issues associated with it that need to be carefully
> considered. The charset encoding flag could be dropped, if necessary, from
> this proposal.
>
>  For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to a
> known, registered HTTP/1.1 header, allowing one to one translation from the
> optimized form to the HTTP/1.1 form. Binary values would be base64-encoded.
> If a particular header does not allow for Base64 encoded values under
> HTTP/1.1, the down-level recipient would have the option of responding with
> an appropriate 404 response.
>
>  That's it for now. There are additional considerations to be given to
> the specific selection of header fields to include within the SYN_STREAM
> vs. follow-on HEADERS frames but that's a separate conversation. As always,
> feedback is welcome...
>
>  - James
>
>
>
>

--20cf3078151a34857704c4bf0c0e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Maybe it&#39;s not quite intuitive enough, especially when we cross-referen=
ce the=A0similarities=A0of that WAP binary encode with JPEG2000&#39;s binar=
y encode, the MIME types specifically:=A0<a href=3D"http://www.faqs.org/rfc=
s/rfc3745.html">http://www.faqs.org/rfcs/rfc3745.html</a>=A0(and more)<div>
<br></div><div>I haven&#39;t seen any patent that extends those MIME types =
with either the static index or dynamic index value, which accomplishes the=
 compressed header desired in HTTP2. Sorry, I have no sample for this post.=
</div>
<div><br></div><div><div class=3D"gmail_quote">On Fri, Jul 13, 2012 at 4:36=
 PM, Roland Zink <span dir=3D"ltr">&lt;<a href=3D"mailto:roland@zinks.de" t=
arget=3D"_blank">roland@zinks.de</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>A similar binary encoding for HTTP
      headers is used in the WAP (Wireless Application Protocol). The
      goal there was to reduce the number of bytes so there are more
      optimization on size but skipping of values is a bit more
      difficult. If anybody is interested the full specification can be
      found at
<a href=3D"http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-ws=
p-20010705-a.pdf" target=3D"_blank">http://www.openmobilealliance.org/tech/=
affiliates/wap/wap-230-wsp-20010705-a.pdf</a>.
      The header encoding is in section 8.4.<br>
      <br>
      Regards,<br>
      Roland<div><div class=3D"h5"><br>
      <br>
      <br>
      On 14.07.2012 00:16, James M Snell wrote:<br>
    </div></div></div><div><div class=3D"h5">
    <blockquote type=3D"cite"><font face=3D"courier new, monospace">This no=
te is
        intended to provide some additional thoughts for discussion
        around the design and use of SPDY as the possible basis for
        HTTP/2.0. The intent is to provide fuel for discussion...
        comments are definitely welcome.<br>
        <br>
        As discussed within draft-tarreau-httpbis-network-friendly-00,
        and as has been mentioned several times in discussion on list,
        handling of headers within the current SPDY framing, and in
        particular the layering of HTTP/1.1 messages into SPDY frames is
        less than optimal. There is significant wasted space,
        duplication, etc that -- strictly speaking -- really isn&#39;t
        necessary. While I recognize that the following increases the
        basic complexity of the protocol, it allows fairly significant
        optimization following the same basic lines of reasoning
        expressed in draft-tarreau-httpbis-network-friendly-00.</font>
      <div>
        <font face=3D"courier new, monospace"><br>
        </font></div>
      <div><font face=3D"courier new, monospace">Section 2.6.1 of the SPDY
          draft defines header blocks using the following format:</font></d=
iv>
      <div><font face=3D"courier new, monospace"><br>
        </font></div>
      <div><font face=3D"courier new, monospace">
          <div>=A0 =A0+------------------------------------+</div>
          <div>=A0 =A0| Number of Name/Value pairs (int32) |</div>
          <div>=A0 =A0+------------------------------------+</div>
          <div>=A0 =A0| =A0 =A0 Length of name (int32) =A0 =A0 =A0 =A0 |</d=
iv>
          <div>=A0 =A0+------------------------------------+</div>
          <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 Name (string) =A0 =A0 =A0 =A0 =
=A0 =A0|</div>
          <div>=A0 =A0+------------------------------------+</div>
          <div>=A0 =A0| =A0 =A0 Length of value =A0(int32) =A0 =A0 =A0 |</d=
iv>
          <div>=A0 =A0+------------------------------------+</div>
          <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0Value =A0 (string) =A0 =A0 =A0 =
=A0 =A0|</div>
          <div>=A0 =A0+------------------------------------+</div>
          <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 (repeats) =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0|</div>
          <div><br>
          </div>
          <div>This structure is used within SYN_STREAM and HEADERS
            frames.=A0</div>
          <div><br>
          </div>
          <div>What I propose is the following revised structure:</div>
          <div><br>
          </div>
          <div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| =A0 =A0 Number of Headers (int32) =A0 =A0 =A0|</d=
iv>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0|T| Flags (7) | =A0 =A0 Length (24) =A0 =A0 =A0|</d=
iv>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0Data =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0|</div>
            <div>=A0 =A0+------------------------------------+</div>
          </div>
          <div>=A0 =A0|T| Flags (7) | =A0 =A0 Length (24) =A0 =A0 =A0|</div=
>
          <div>=A0 =A0+-------------------------------------</div>
          <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0Data =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0|</div>
          <div>=A0 =A0+-------------------------------------</div>
          <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 (repeats) =A0 =A0 =A0 =A0 =
=A0 =A0 =A0|</div>
          <div><br>
          </div>
          <div>T is a single bit identifying the Header Type. There are
            two types.. REGISTERED (0) and EXTENSION (1)</div>
          <div><br>
          </div>
          <div>Flags provides flags for the specific header field. The
            flag 0x1 indicates that the header value contains Character
            Data. If not set, the value is assumed to consist of raw
            octets. 0x2 indicates that the value is compressed.</div>
          <div><br>
          </div>
          <div>Length is an unsigned 24-bit value specifying the number
            of octets after the length field.</div>
          <div><br>
          </div>
          <div>When the T bit is NOT set, the Header field is a
            REGISTERED Header, the structure of which is:</div>
          <div><br>
          </div>
          <div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0|0| Flags (7) | =A0 =A0 Length (24) =A0 =A0 =A0|</d=
iv>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| ID | Value Length (int32) |Value...|</div>
            <div>=A0 =A0+------------------------------------+</div>
          </div>
          <div><br>
          </div>
          <div>The ID is a 32-bit number uniquely identifying the
            registered field. Each is assigned by the registrar. For
            instance, the &quot;Host&quot; field could have a registered va=
lue of
            &quot;1&quot;, the &quot;Accept-Lang&quot; field could have a r=
egistered value
            of &quot;6&quot;, and so forth.=A0</div>
          <div><br>
          </div>
          <div>The Value Length is a 32-bit value indicating the length
            of the value.</div>
          <div><br>
          </div>
          <div>If Flag 0x1 is set, the value is assumed to contain
            character data. When set, the value MUST be preceded by a
            single unsigned 8-bit integer identifying the character
            encoding utilized. The values are assigned by the registrar.
            For instance, US-ASCII could have a registered value of &quot;1=
&quot;,
            while &quot;UTF-8&quot; could have a registered value of &quot;=
2&quot;.</div>
          <div><br>
          </div>
          <div>For example:</div>
          <div><br>
          </div>
          <div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0|0| 0000001 | =A0 =A0 24 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |</div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| 1 | 16 | 1 | =A0 =A0<a href=3D"http://www.example=
.org" target=3D"_blank">www.example.org</a> =A0 =A0|</div>
            <div>=A0 =A0+------------------------------------+</div>
          </div>
          <div><br>
          </div>
          <div>This Header record indicates a REGISTERED header
            containing character content, the header ID =3D 1, the charset
            used is US-ASCII and the value is &quot;<a href=3D"http://www.e=
xample.org" target=3D"_blank">www.example.org</a>&quot;. The
            header is expressed with a total of 28 bytes.</div>
          <div><br>
          </div>
          <div>When the T bit IS set, the Header field is an EXTENSION
            Header, the structure of which is:</div>
          <div><br>
          </div>
          <div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0|0| Flags (7) | =A0 =A0 Length (24) =A0 =A0 =A0|</d=
iv>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| =A0 =A0 =A0Length of name (int32) =A0 =A0 =A0 =A0=
|</div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 Name (string) =A0 =A0 =A0 =A0=
 =A0 =A0|</div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| =A0 =A0 =A0Length of value (int32) =A0 =A0 =A0 |<=
/div>
            <div>=A0 =A0+------------------------------------+</div>
            <div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0Value =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 |</div>
            <div>=A0 =A0+------------------------------------+</div>
          </div>
          <div><br>
          </div>
          <div>For example.. an extension header that contains raw
            binary data...</div>
          <div><br>
          </div>
        </font>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0
          =A0+------------------------------------+</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">
          =A0 =A0|0| 0000000 | =A0 =A0 =A0 Length (24) =A0 =A0 =A0|</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0
          =A0+------------------------------------+</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0|=
 =A0 =A0 =A0 =A0 =A0
          =A0 =A0 =A05 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0
          =A0+------------------------------------+</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0|=
 =A0 =A0 =A0 =A0 =A0
          =A0 =A0x-foo =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">
          =A0 =A0+------------------------------------+</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0|=
 =A0 =A0 =A0 =A0 =A0
          =A0 =A0 =A04 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0
          =A0+------------------------------------+</div>
        <div style=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0|=
 =A0 =A0 =A0 =A0 =A0
          {raw bytes} =A0 =A0 =A0 =A0 =A0 =A0 =A0|</div>
        <font face=3D"courier new, monospace">
          <div>=A0 =A0+------------------------------------+=A0 =A0</div>
          <div><br>
          </div>
          <div>The header is expressed with a total of 21 bytes.</div>
          <div><br>
          </div>
          <div>The same flags apply. 0x1 indicates that the value is
            character data. If 0x1 is not set, the value contains raw
            octets. The key difference is that there is a 32-bit name
            length and variable length name field in place of the 32-bit
            ID field in the REGISTERED header. All other details remain
            the same.=A0</div>
          <div><br>
          </div>
          <div>As is currently the case in SPDY, if a single header
            value contains multiple values, each can be separated using
            a single NUL (0) byte.</div>
          <div><br>
          </div>
          <div>There are several advantages to this approach:</div>
          <div><br>
          </div>
          <div>1. Commonly used header names are omitted in favor of
            registered, known numeric IDs, saving space and making it
            more efficient to scan over commonly used headers. For
            instance, intermediaries that route requests based on common
            headers such as Host etc could choose to ignore EXTENSION
            header fields entirely, and scan only for the ID&#39;s of the
            fields they are interested in, rather than having to parse
            the entire bag of header names.</div>
          <div><br>
          </div>
          <div>2. Header values can be expressed as raw octets or
            character data. Currently, mechanisms within HTTP require
            developers to muck around with Base64 encoding or other
            encodings when including detail within a header. This
            approach would eliminate that extra step. For instance, if I
            wanted to have a Content-Integrity header whose value is an
            hmac digest, I would be able to drop the raw bytes of the
            digest into the header value rather than base64 or hex
            encoding it into an ASCII string, saving CPU cycles and
            reducing the amount of data that must be transmitted.=A0</div>
          <div><br>
          </div>
          <div>3. Header values that contain character data would not be
            limited to US-ASCII. Multiple charset encodings would be
            allowed... obviously this has a whole slew of issues
            associated with it that need to be carefully considered. The
            charset encoding flag could be dropped, if necessary, from
            this proposal.</div>
          <div><br>
          </div>
          <div>For HTTP/1.1 Compatibility, each REGISTERED Header would
            be mapped to a known, registered HTTP/1.1 header, allowing
            one to one translation from the optimized form to the
            HTTP/1.1 form. Binary values would be base64-encoded. If a
            particular header does not allow for Base64 encoded values
            under HTTP/1.1, the down-level recipient would have the
            option of responding with an appropriate 404 response.</div>
          <div><br>
          </div>
          <div>That&#39;s it for now. There are additional considerations t=
o
            be given to the specific selection of header fields to
            include within the SYN_STREAM vs. follow-on HEADERS frames
            but that&#39;s a separate conversation. As always, feedback is
            welcome...</div>
          <div><br>
          </div>
          <div>- James</div>
          <div><br>
          </div>
        </font></div>
    </blockquote>
    <br>
    <br>
  </div></div></div>

</blockquote></div><br></div>

--20cf3078151a34857704c4bf0c0e--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 20:22:50 2012
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 3EA6D11E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 20:22:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 69441ApbjVTf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 20:22:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 150D511E8088 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 20:22:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpsvL-0006mJ-9R for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 03:21:39 +0000
Resent-Date: Sat, 14 Jul 2012 03:21:39 +0000
Resent-Message-Id: <E1SpsvL-0006mJ-9R@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SpsvD-0006lY-8s for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 03:21:31 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SpsvB-0002RE-Ub for ietf-http-wg@w3.org; Sat, 14 Jul 2012 03:21:31 +0000
Received: by obqv19 with SMTP id v19so6238993obq.2 for <ietf-http-wg@w3.org>; Fri, 13 Jul 2012 20:21:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=kEIlpzYHiawX6TRx+E0ucitnuDi0umBeGi/uDGSO3No=; b=bP8rR3EOc21sgupH5ky/pXv5KQtXqoCGYdss2eAlDFA2xoQC0GMpHbGGiCJzqmtzgD 8qlr9lKqmrLuG4gX4ifLs29Oq4ilCWyWDezUP6KvtziQopNqjdmLk7404VBHoO8aaf/y Xuzg9MCFI5CVmgTfd/as/IoDVxU1dSlVwUIAKih3wrVionpagwV/SgLAFtMcVUPV+znJ X4fiIjGABMdBaMpocV5ErFOEuTkmSfG8m5HHxe9jKN9pXqpvCgHlLiK/Bk22F5JamAS0 qI25lo1xRTX+O8BflDhHp1eREDqDBiKYhubxeKe7F2Lko8B2NE+CBow2mC2NCGftGqmK uSDw==
MIME-Version: 1.0
Received: by 10.60.28.162 with SMTP id c2mr4880160oeh.3.1342236063764; Fri, 13 Jul 2012 20:21:03 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Fri, 13 Jul 2012 20:21:03 -0700 (PDT)
X-Originating-IP: [208.54.36.146]
In-Reply-To: <45484.1342203690@critter.freebsd.dk>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk>
Date: Fri, 13 Jul 2012 20:21:03 -0700
Message-ID: <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: James M Snell <jasnell@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8ff1c762c90eee04c4c1afcf
X-Gm-Message-State: ALoCoQkHIgE5Df3RFdXmKg3+DaObPIpFcCTXOhEnUF1/TjLAfm8Qv5MAMEBHtxWVoUKcUjJZ4K72
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SpsvB-0002RE-Ub aaf19e40e27db7025e52efd2cd1567aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14183
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>

--e89a8ff1c762c90eee04c4c1afcf
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wro=
te:


> TLS communication today already have an envelope consisting of
> IP# + TCP port numbers, and unless your adversary is totally
> incompetent, he also has the DNS lookup that gave you that IP#.
>
> QED: Putting the "Host:" in the HTTP envelope does not leak any
> information your adversary doesn't already have or can guess.
>

That=92s just not true.  There are lots of ways to get to a particular orig=
in
server, and I would think that for a malicious person in the middle, the
Host header would be more interesting than the ostensible IP address.  On
the other hand, I do understand why a payload-oblivious load balancer would
need to see that header.  It is simply the case that we have two objectives
which are apparently in conflict. No, I don=92t have a solution (or even a
strong opinion, yet, although I=92m inclined to err on the side of protecti=
ng
user privacy at the expense of almost all else).  -Tim


>
> Even if we stopped here, it would be a major benefit over TLS
> in terms of enabling websites to roll out protection for their
> customers.
>
> To make it better, we need to add a session identifier, but today
> we pretend HTTP is stateless so we don't have one (so people
> hack it with cookies).
>
> Finally, to do what people do today we would need to include the
> URI, but that is by far the most troublesome of the three fields.
>
> I belive, but it should be seriously investigated, that if we add
> a session-concept to HTTP2, the envelope would just need to be Host:
> + session-nonce.
>
> In difference from TLS, that would allow us to mix protected and
> unprotected traffic on the same TCP connection, thus avoiding
> the extra TCP for protection upgrade, and making life much
> easier and efficient for proxies.
>
> It also means that you do not need to put your certificate on
> the HTTP router/load-balancer, but can put it on the specific
> webservers which host the protected stuff.
>
> SSL/TLS was a quick hack to protect HTTP, one of the far too
> many quick hacks in HTTP world.  We should try to eliminate
> them.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetenc=
e.
>

--e89a8ff1c762c90eee04c4c1afcf
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <span dir=3D"ltr">&lt;<=
a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</=
a>&gt;</span> wrote:<br><div class=3D"gmail_quote"><div>=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">

TLS communication today already have an envelope consisting of<br>
IP# + TCP port numbers, and unless your adversary is totally<br>
incompetent, he also has the DNS lookup that gave you that IP#.<br>
<br>
QED: Putting the &quot;Host:&quot; in the HTTP envelope does not leak any<b=
r>
information your adversary doesn&#39;t already have or can guess.<br></bloc=
kquote><div><br></div><div>That=92s just not true. =A0There are lots of way=
s to get to a particular origin server, and I would think that for a malici=
ous person in the middle, the Host header would be more interesting than th=
e ostensible IP address. =A0On the other hand, I do understand why a payloa=
d-oblivious load balancer would need to see that header. =A0It is simply th=
e case that we have two objectives which are apparently in conflict. No, I =
don=92t have a solution (or even a strong opinion, yet, although I=92m incl=
ined to err on the side of protecting user privacy at the expense of almost=
 all else). =A0-Tim</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
Even if we stopped here, it would be a major benefit over TLS<br>
in terms of enabling websites to roll out protection for their<br>
customers.<br>
<br>
To make it better, we need to add a session identifier, but today<br>
we pretend HTTP is stateless so we don&#39;t have one (so people<br>
hack it with cookies).<br>
<br>
Finally, to do what people do today we would need to include the<br>
URI, but that is by far the most troublesome of the three fields.<br>
<br>
I belive, but it should be seriously investigated, that if we add<br>
a session-concept to HTTP2, the envelope would just need to be Host:<br>
+ session-nonce.<br>
<br>
In difference from TLS, that would allow us to mix protected and<br>
unprotected traffic on the same TCP connection, thus avoiding<br>
the extra TCP for protection upgrade, and making life much<br>
easier and efficient for proxies.<br>
<br>
It also means that you do not need to put your certificate on<br>
the HTTP router/load-balancer, but can put it on the specific<br>
webservers which host the protected stuff.<br>
<br>
SSL/TLS was a quick hack to protect HTTP, one of the far too<br>
many quick hacks in HTTP world. =A0We should try to eliminate<br>
them.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--e89a8ff1c762c90eee04c4c1afcf--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 22:31:22 2012
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 6ECF021F8646 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 22:31:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.936
X-Spam-Level: 
X-Spam-Status: No, score=-8.936 tagged_above=-999 required=5 tests=[AWL=1.663, BAYES_00=-2.599, 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 evudLrcbFY04 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 22:31:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 68A2421F8549 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 22:31:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spuvg-0007V2-DB for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 05:30:08 +0000
Resent-Date: Sat, 14 Jul 2012 05:30:08 +0000
Resent-Message-Id: <E1Spuvg-0007V2-DB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpuvY-0004ox-3Z for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 05:30:00 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpuvW-0002S0-U8 for ietf-http-wg@w3.org; Sat, 14 Jul 2012 05:30:00 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6E5TXFJ018056; Sat, 14 Jul 2012 07:29:33 +0200
Date: Sat, 14 Jul 2012 07:29:33 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20120714052933.GL16256@1wt.eu>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <46923.1342220475@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SpuvW-0002S0-U8 deebfff9d07194bd29c265cc7315b5ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/20120714052933.GL16256@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14184
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 Fri, Jul 13, 2012 at 11:01:15PM +0000, Poul-Henning Kamp wrote:
> In message <20120713225104.GK16256@1wt.eu>, Willy Tarreau writes:
> 
> >Whatever will be retained as a basis for HTTP/2.0, this exercise is
> >useful and may incite other users to provide very valuable feedback.
> 
> I think it is premature, because it obscures and prevents the much
> needed high-level design of HTTP/2.0.
> 
> And that is exactly why I think the current approach and timeline
> is a road to nowhere fast.

On a personal taste, I find it fast too. 4 months to provide proposals
to replace the 15-year old HTTP/1, and 4 others to review them is short
in my opinion. Roy did not even have the time to publish the Waka spec
which could have brought a lot of fuel to the discussion !

> The fact that we just saw Google say they would get behind any
> improvement, as long as it is SPDY pretty much dooms the HTTP/2.0
> effort right there and then:  All that's on the table is minor
> rearrangements of the deckchairs, there is no opening for
> changing the course.

If you're talking about Roberto's mail, I read quite the opposite in
fact. It was said that Google was open to have anything provided that
the concepts raised in SPDY were preserved. By this I understand that
they want something that offers similar end user experience. I find
it much more open than how you read it.

I have talked long hours with the SPDY team at IETF83. They have running
code, users and data. Some of us (including me) don't like the way they
addressed certain things, especially in the context of HTTP/2. They
clearly said they were open to changes. What else do you want ? That's
why we're working on selected points that we think need to be addressed
instead of reinventing the wheel from scratch.

With more time, it would probably make sense to discuss every single point
here on the WG as was done for WebSocket with nothing stabilizing for 1
year, because a group-designed protocol should be much better than the one
designed by a small team to address a specific issue. But I think it still
makes sense to use the proposals as a basis for new work, eventhough some
concepts are missing from all of them (eg: user session).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 22:45:48 2012
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 D4F7B21F865C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 22:45:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.008
X-Spam-Level: 
X-Spam-Status: No, score=-9.008 tagged_above=-999 required=5 tests=[AWL=1.591, BAYES_00=-2.599, 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 Yt-5kvYug7CG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 22:45:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D1B5821F8659 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 22:45:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpvAF-0005pe-NB for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 05:45:11 +0000
Resent-Date: Sat, 14 Jul 2012 05:45:11 +0000
Resent-Message-Id: <E1SpvAF-0005pe-NB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpvA7-0004aN-Th for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 05:45:03 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpvA6-0005kX-CC for ietf-http-wg@w3.org; Sat, 14 Jul 2012 05:45:03 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6E5ifvs018119; Sat, 14 Jul 2012 07:44:41 +0200
Date: Sat, 14 Jul 2012 07:44:41 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roland Zink <roland@zinks.de>
Cc: ietf-http-wg@w3.org
Message-ID: <20120714054441.GM16256@1wt.eu>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <5000B0E5.9000103@zinks.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5000B0E5.9000103@zinks.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpvA6-0005kX-CC 14fcaf4d1f44b8743a17f98f710a373c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/20120714054441.GM16256@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14185
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 Sat, Jul 14, 2012 at 01:36:05AM +0200, Roland Zink wrote:
> A similar binary encoding for HTTP headers is used in the WAP (Wireless 
> Application Protocol). The goal there was to reduce the number of bytes 
> so there are more optimization on size but skipping of values is a bit 
> more difficult. If anybody is interested the full specification can be 
> found at 
> http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf. 
> The header encoding is in section 8.4.

Wow, very instructive, thanks Roland! Much more work has been done there
than what we proposed in our draft. And this one was implemented in many
ridiculously powered devices, which means that it's not that complicated
to implement. With a bit of refreshing, that could be used as a basis for
future encoding works.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 22:53:39 2012
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 3B09721F86A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 22:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.475
X-Spam-Level: 
X-Spam-Status: No, score=-8.475 tagged_above=-999 required=5 tests=[AWL=0.924, BAYES_00=-2.599, J_CHICKENPOX_31=0.6, J_CHICKENPOX_41=0.6, 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 IXzVCXmQf5x4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 22:53:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F5C421F867B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 22:53:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpvIA-0002GY-KH for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 05:53:22 +0000
Resent-Date: Sat, 14 Jul 2012 05:53:22 +0000
Resent-Message-Id: <E1SpvIA-0002GY-KH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpvI3-0002Fm-5W for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 05:53:15 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SpvI2-0005vl-1Z for ietf-http-wg@w3.org; Sat, 14 Jul 2012 05:53:15 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6E5qoNM018143; Sat, 14 Jul 2012 07:52:50 +0200
Date: Sat, 14 Jul 2012 07:52:50 +0200
From: Willy Tarreau <w@1wt.eu>
To: Tim Bray <tbray@textuality.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120714055250.GN16256@1wt.eu>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpvI2-0005vl-1Z 42983a240f39f5b6746048b83ebfb021
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/20120714055250.GN16256@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14186
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 Fri, Jul 13, 2012 at 08:21:03PM -0700, Tim Bray wrote:
> On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:
> 
> 
> > TLS communication today already have an envelope consisting of
> > IP# + TCP port numbers, and unless your adversary is totally
> > incompetent, he also has the DNS lookup that gave you that IP#.
> >
> > QED: Putting the "Host:" in the HTTP envelope does not leak any
> > information your adversary doesn't already have or can guess.
> >
> 
> That?s just not true.  There are lots of ways to get to a particular origin
> server, and I would think that for a malicious person in the middle, the
> Host header would be more interesting than the ostensible IP address.  On
> the other hand, I do understand why a payload-oblivious load balancer would
> need to see that header.  It is simply the case that we have two objectives
> which are apparently in conflict. No, I don?t have a solution (or even a
> strong opinion, yet, although I?m inclined to err on the side of protecting
> user privacy at the expense of almost all else).  -Tim

Well, TLS offers SNI which also reveals the Host header in clear text, so
your extreme view of privacy doesn't seem to be shared as much wich even
these guys. Also, building a protocol fortress that prevents anyone from
implementing it in real life is an effective way of protecting user privacy
since the user won't have access to anything and thus won't reveal his
intents. Maybe some people would even consider that revealing they have
access to the internet affects their privacy so they need an invisible
connection... At one point a limit must be set, otherwise it becomes
totally non-sense. Host and IP are reasonably interchangeable, are used
for routing the protocol to its destination, and if someone doesn't want
to show what host he's going to, he'd better leave the net. And if even
the TLS guys accept this, then I think this is a much acceptable limit.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 23:29:53 2012
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 5112021F86A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 23:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 G6faw54NXD3m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 23:29:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3700C21F86A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 23:29:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spvqj-0007PH-0N for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 06:29:05 +0000
Resent-Date: Sat, 14 Jul 2012 06:29:05 +0000
Resent-Message-Id: <E1Spvqj-0007PH-0N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpvqZ-0007NW-Qs for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 06:28:55 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SpvqY-0006ky-Q1 for ietf-http-wg@w3.org; Sat, 14 Jul 2012 06:28:55 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 203CC3B6B9; Sat, 14 Jul 2012 06:27:53 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6E6Rq2F048385; Sat, 14 Jul 2012 06:27:52 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Willy Tarreau <w@1wt.eu>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 13 Jul 2012 16:10:18 MST." <CABaLYCsqLKV4WjOn4AZh3Cd3XErMGyK6an0gf-jitiM0Pf0HJw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sat, 14 Jul 2012 06:27:52 +0000
Message-ID: <48384.1342247272@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpvqY-0006ky-Q1 7fd2901bd5c0796290ff297459101067
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/48384.1342247272@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14187
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>

In message <CABaLYCsqLKV4WjOn4AZh3Cd3XErMGyK6an0gf-jitiM0Pf0HJw@mail.gmail.com>
, Mike Belshe writes:

>> The fact that we just saw Google say they would get behind any
>> improvement, as long as it is SPDY pretty much dooms the HTTP/2.0
>
>
>For the record, Google did not say that.

Yes, Google did in fact say that, in Roberto Peon's email, which very
clearly and unmistakably didn't even acknowledge the existence of
any other proposal but SPDY.

You don't have to be a rocket scientist to figure out that the 500
pound gorilla is going to get what it wants, no matter what this
WG decides or not, as evidenced by the fact that they have rolled
out SPDY to the extent it is already.

And let me acknowledge that Google would be foolish if they just
dropped three years of work on SPDY, if nothing else it would
negatively impact their image as the web technology leader to be
told by some random dude in Denmark that their amazing protocol
isn't.

But it doesn't change the fact that SPDY will not be the simple and
efficient protocol we can live with and build on for the next 20
years.

HTTP2.0 should require less code to implement than HTTP/1.1, and
less pages of RFC to define.

Anything else is a fiasco.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 13 23:43:11 2012
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 3370321F849B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 23:43:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 ohCOv6rijqKh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Jul 2012 23:43:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C6D8721F8499 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Jul 2012 23:43:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spw3v-0005gU-Gx for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 06:42:43 +0000
Resent-Date: Sat, 14 Jul 2012 06:42:43 +0000
Resent-Message-Id: <E1Spw3v-0005gU-Gx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spw3m-0005fd-Nu for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 06:42:34 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spw3k-0007G2-WD for ietf-http-wg@w3.org; Sat, 14 Jul 2012 06:42:34 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 4FC373B74C; Sat, 14 Jul 2012 06:42:11 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6E6gAJ4048516; Sat, 14 Jul 2012 06:42:10 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sat, 14 Jul 2012 07:29:33 +0200." <20120714052933.GL16256@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sat, 14 Jul 2012 06:42:10 +0000
Message-ID: <48515.1342248130@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spw3k-0007G2-WD 7b2dc0d0220b89b62283840e0077c398
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/48515.1342248130@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14188
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>

In message <20120714052933.GL16256@1wt.eu>, Willy Tarreau writes:

>If you're talking about Roberto's mail, I read quite the opposite in
>fact. It was said that Google was open to have anything provided that
>the concepts raised in SPDY were preserved. 

Well, which way is it Roberto ?

Care to clarify ?

>I have talked long hours with the SPDY team at IETF83. [...] They
>clearly said they were open to changes. What else do you want ?

I want a sensible and ethical engineering process, one that doesn't
dive headlong into serialization of HTTP headers until we have
established what problems HTTP/2.0 should solve.

Sneaking things like server-push through the backdoor is simply not
acceptable, without structured decision to give up on HTTP's strict
request-response model.

It may be that we want to loose the strict R-R model, it may be
that we do not.

But making the HTTP/2.0 process a matter of "who already has a ready
ID" is not the way to decide a question like that.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 00:16:10 2012
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 BA3BC21F864C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 00:16:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 XxIh83ZmHyAq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 00:16:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FA1E21F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 00:16:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpwZA-0002a6-EO for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 07:15:00 +0000
Resent-Date: Sat, 14 Jul 2012 07:15:00 +0000
Resent-Message-Id: <E1SpwZA-0002a6-EO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SpwZ2-0002Yv-AO for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 07:14:52 +0000
Received: from mail-wg0-f48.google.com ([74.125.82.48]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SpwZ0-0008AW-Nf for ietf-http-wg@w3.org; Sat, 14 Jul 2012 07:14:52 +0000
Received: by wgbdq11 with SMTP id dq11so2562697wgb.5 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 00:14:24 -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=m8i3zFXMhO4ZYMwAy5SY3njOb9P9pgz+Mwsda9w2ZcE=; b=kaDiyr0gFWBDqJhPxPX54PR9E9mGlBWRC1GGt4CBKs4hvaGyBj7a2Sf4aw1bLWY2cd n5N5YWYkrbHOYK7eif6PHIi2pL2L+tW31Efp58YpK8AH4KxCslRbgIuVJY9qdpDxfE/l YsRW8LTG7Ok4Fvm706PO9NZrE5geBdripe+LB/j3/llSPzrZg35tjg0R+Up0bzWkz1cC qPAMhzWLutdU31M08QsYGNqty4tPnyHEQiwW1BJxc9uhaSVrjNoJ+sw59Rv9X1XpK6BN W0Vrh/BtxTqJ+By8cJJ2WDIKKctbScA/uW9XZLIvLJqFDAIsLyEVVEkIS0mdMbNOLivX 95xQ==
MIME-Version: 1.0
Received: by 10.180.106.137 with SMTP id gu9mr3478710wib.20.1342250063977; Sat, 14 Jul 2012 00:14:23 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sat, 14 Jul 2012 00:14:23 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sat, 14 Jul 2012 00:14:23 -0700 (PDT)
In-Reply-To: <48515.1342248130@critter.freebsd.dk>
References: <20120714052933.GL16256@1wt.eu> <48515.1342248130@critter.freebsd.dk>
Date: Sat, 14 Jul 2012 00:14:23 -0700
Message-ID: <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
Content-Type: multipart/alternative; boundary=e89a8f3babc1435c5f04c4c4f2e4
Received-SPF: pass client-ip=74.125.82.48; envelope-from=grmocg@gmail.com; helo=mail-wg0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SpwZ0-0008AW-Nf 2eca0d203f232eb52a64806c6b778365
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14189
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>

--e89a8f3babc1435c5f04c4c4f2e4
Content-Type: text/plain; charset=ISO-8859-1

On Jul 13, 2012 11:44 PM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
>
> In message <20120714052933.GL16256@1wt.eu>, Willy Tarreau writes:
>
> >If you're talking about Roberto's mail, I read quite the opposite in
> >fact. It was said that Google was open to have anything provided that
> >the concepts raised in SPDY were preserved.
>
> Well, which way is it Roberto ?
>
> Care to clarify ?
>

Willy has it right.

-=R

> >I have talked long hours with the SPDY team at IETF83. [...] They
> >clearly said they were open to changes. What else do you want ?
>
> I want a sensible and ethical engineering process, one that doesn't
> dive headlong into serialization of HTTP headers until we have
> established what problems HTTP/2.0 should solve.
>
> Sneaking things like server-push through the backdoor is simply not
> acceptable, without structured decision to give up on HTTP's strict
> request-response model.
>
> It may be that we want to loose the strict R-R model, it may be
> that we do not.
>
> But making the HTTP/2.0 process a matter of "who already has a ready
> ID" is not the way to decide a question like that.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
incompetence.
>
 On Jul 13, 2012 11:44 PM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <20120714052933.GL16256@1wt.eu>, Willy Tarreau writes:
>
> >If you're talking about Roberto's mail, I read quite the opposite in
> >fact. It was said that Google was open to have anything provided that
> >the concepts raised in SPDY were preserved.
>
> Well, which way is it Roberto ?
>
> Care to clarify ?
>
> >I have talked long hours with the SPDY team at IETF83. [...] They
> >clearly said they were open to changes. What else do you want ?
>
> I want a sensible and ethical engineering process, one that doesn't
> dive headlong into serialization of HTTP headers until we have
> established what problems HTTP/2.0 should solve.
>
> Sneaking things like server-push through the backdoor is simply not
> acceptable, without structured decision to give up on HTTP's strict
> request-response model.
>
> It may be that we want to loose the strict R-R model, it may be
> that we do not.
>
> But making the HTTP/2.0 process a matter of "who already has a ready
> ID" is not the way to decide a question like that.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--e89a8f3babc1435c5f04c4c4f2e4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 13, 2012 11:44 PM, &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mail=
to:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt; wrote:<br>
&gt;<br>
&gt; In message &lt;<a href=3D"mailto:20120714052933.GL16256@1wt.eu">201207=
14052933.GL16256@1wt.eu</a>&gt;, Willy Tarreau writes:<br>
&gt;<br>
&gt; &gt;If you&#39;re talking about Roberto&#39;s mail, I read quite the o=
pposite in<br>
&gt; &gt;fact. It was said that Google was open to have anything provided t=
hat<br>
&gt; &gt;the concepts raised in SPDY were preserved.<br>
&gt;<br>
&gt; Well, which way is it Roberto ?<br>
&gt;<br>
&gt; Care to clarify ?<br>
&gt;<br></p>
<p dir=3D"ltr">Willy has it right.</p>
<p dir=3D"ltr">-=3DR</p>
<p dir=3D"ltr">&gt; &gt;I have talked long hours with the SPDY team at IETF=
83. [...] They<br>
&gt; &gt;clearly said they were open to changes. What else do you want ?<br=
>
&gt;<br>
&gt; I want a sensible and ethical engineering process, one that doesn&#39;=
t<br>
&gt; dive headlong into serialization of HTTP headers until we have<br>
&gt; established what problems HTTP/2.0 should solve.<br>
&gt;<br>
&gt; Sneaking things like server-push through the backdoor is simply not<br=
>
&gt; acceptable, without structured decision to give up on HTTP&#39;s stric=
t<br>
&gt; request-response model.<br>
&gt;<br>
&gt; It may be that we want to loose the strict R-R model, it may be<br>
&gt; that we do not.<br>
&gt;<br>
&gt; But making the HTTP/2.0 process a matter of &quot;who already has a re=
ady<br>
&gt; ID&quot; is not the way to decide a question like that.<br>
&gt;<br>
&gt; --<br>
&gt; Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
&gt; phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
&gt; FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
&gt; Never attribute to malice what can adequately be explained by incompet=
ence.<br>
&gt;<br>
</p>
<div class=3D"gmail_quote">On Jul 13, 2012 11:44 PM, &quot;Poul-Henning Kam=
p&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt=
; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;<a href=3D"mailto:20120714052933.GL16256@1wt.eu">20120714052=
933.GL16256@1wt.eu</a>&gt;, Willy Tarreau writes:<br>
<br>
&gt;If you&#39;re talking about Roberto&#39;s mail, I read quite the opposi=
te in<br>
&gt;fact. It was said that Google was open to have anything provided that<b=
r>
&gt;the concepts raised in SPDY were preserved.<br>
<br>
Well, which way is it Roberto ?<br>
<br>
Care to clarify ?<br>
<br>
&gt;I have talked long hours with the SPDY team at IETF83. [...] They<br>
&gt;clearly said they were open to changes. What else do you want ?<br>
<br>
I want a sensible and ethical engineering process, one that doesn&#39;t<br>
dive headlong into serialization of HTTP headers until we have<br>
established what problems HTTP/2.0 should solve.<br>
<br>
Sneaking things like server-push through the backdoor is simply not<br>
acceptable, without structured decision to give up on HTTP&#39;s strict<br>
request-response model.<br>
<br>
It may be that we want to loose the strict R-R model, it may be<br>
that we do not.<br>
<br>
But making the HTTP/2.0 process a matter of &quot;who already has a ready<b=
r>
ID&quot; is not the way to decide a question like that.<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote></div>

--e89a8f3babc1435c5f04c4c4f2e4--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 00:17:52 2012
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 2867C21F864C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 00:17:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 0pPwjDU+XKag for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 00:17:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E5E821F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 00:17:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Spwc5-0006LJ-0M for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 07:18:01 +0000
Resent-Date: Sat, 14 Jul 2012 07:18:01 +0000
Resent-Message-Id: <E1Spwc5-0006LJ-0M@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spwbx-0006KY-CF for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 07:17:53 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Spwbw-0008Fa-CX for ietf-http-wg@w3.org; Sat, 14 Jul 2012 07:17:53 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B3E303B75F; Sat, 14 Jul 2012 07:17:30 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6E7HUDp048734; Sat, 14 Jul 2012 07:17:30 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sat, 14 Jul 2012 00:14:23 MST." <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sat, 14 Jul 2012 07:17:30 +0000
Message-ID: <48733.1342250250@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Spwbw-0008Fa-CX 26fbb513baedb1103aa701ce22460cce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/48733.1342250250@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14190
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>

In message <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
, Roberto Peon writes:

>> In message <20120714052933.GL16256@1wt.eu>, Willy Tarreau writes:
>>
>> >If you're talking about Roberto's mail, I read quite the opposite in
>> >fact. It was said that Google was open to have anything provided that
>> >the concepts raised in SPDY were preserved.
>>
>> Well, which way is it Roberto ?
>>
>> Care to clarify ?
>>
>
>Willy has it right.
>
>-=R

Thanks.

Does that include server-push ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 01:02:03 2012
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 1383621F86D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 01:02:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.933
X-Spam-Level: 
X-Spam-Status: No, score=-8.933 tagged_above=-999 required=5 tests=[AWL=1.349, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 Z2hhiyru+YOa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 01:01:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E491121F86D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 01:01:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SpxHv-0000u8-Tj for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 08:01:15 +0000
Resent-Date: Sat, 14 Jul 2012 08:01:15 +0000
Resent-Message-Id: <E1SpxHv-0000u8-Tj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1SpxHl-0000sd-1d for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 08:01:05 +0000
Received: from am1ehsobe001.messaging.microsoft.com ([213.199.154.204] helo=am1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1SpxHh-0001G5-Ls for ietf-http-wg@w3.org; Sat, 14 Jul 2012 08:01:05 +0000
Received: from mail74-am1-R.bigfish.com (10.3.201.239) by AM1EHSOBE003.bigfish.com (10.3.204.23) with Microsoft SMTP Server id 14.1.225.23; Sat, 14 Jul 2012 08:00:33 +0000
Received: from mail74-am1 (localhost [127.0.0.1])	by mail74-am1-R.bigfish.com (Postfix) with ESMTP id 063B41A0236	for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 08:00:33 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC105.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -24
X-BigFish: VS-24(zzc85fhzz1202hz31iz1033IL8275bh8275dh186Mz2fh2a8h683h839hd25hf0ah107ah)
Received-SPF: pass (mail74-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=jsilvera@microsoft.com; helo=TK5EX14HUBC105.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail74-am1 (localhost.localdomain [127.0.0.1]) by mail74-am1 (MessageSwitch) id 1342252830963505_17103; Sat, 14 Jul 2012 08:00:30 +0000 (UTC)
Received: from AM1EHSMHS002.bigfish.com (unknown [10.3.201.233])	by mail74-am1.bigfish.com (Postfix) with ESMTP id E92BA440043	for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 08:00:30 +0000 (UTC)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS002.bigfish.com (10.3.207.102) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 14 Jul 2012 08:00:30 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.80.48) with Microsoft SMTP Server (TLS) id 14.2.309.3; Sat, 14 Jul 2012 08:00:27 +0000
Received: from mail15-co1-R.bigfish.com (10.243.78.248) by CO1EHSOBE010.bigfish.com (10.243.66.73) with Microsoft SMTP Server id 14.1.225.23; Sat, 14 Jul 2012 08:00:27 +0000
Received: from mail15-co1 (localhost [127.0.0.1])	by mail15-co1-R.bigfish.com (Postfix) with ESMTP id 5AE00B400CD	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Sat, 14 Jul 2012 08:00:27 +0000 (UTC)
Received: from mail15-co1 (localhost.localdomain [127.0.0.1]) by mail15-co1 (MessageSwitch) id 1342252824743702_28654; Sat, 14 Jul 2012 08:00:24 +0000 (UTC)
Received: from CO1EHSMHS007.bigfish.com (unknown [10.243.78.233])	by mail15-co1.bigfish.com (Postfix) with ESMTP id B3F086C0048	for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 08:00:24 +0000 (UTC)
Received: from SN2PRD0310HT002.namprd03.prod.outlook.com (157.56.234.5) by CO1EHSMHS007.bigfish.com (10.243.66.17) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 14 Jul 2012 08:00:24 +0000
Received: from SN2PRD0310MB360.namprd03.prod.outlook.com ([169.254.4.230]) by SN2PRD0310HT002.namprd03.prod.outlook.com ([10.255.112.37]) with mapi id 14.16.0175.005; Sat, 14 Jul 2012 08:00:23 +0000
From: Jonathan Silvera <jsilvera@microsoft.com>
To: "'ietf-http-wg@w3.org'" <ietf-http-wg@w3.org>
CC: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Paul Leach <paulle@microsoft.com>
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: Ac1hlapNjCSBVsS6QOC/aPrJQlfWQA==
Date: Sat, 14 Jul 2012 08:00:22 +0000
Message-ID: <4A6008CA493DD743AF241A465C01F15F16272863@SN2PRD0310MB360.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [71.227.191.49]
Content-Type: multipart/alternative; boundary="_000_4A6008CA493DD743AF241A465C01F15F16272863SN2PRD0310MB360_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT002.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC105.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC105.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.204; envelope-from=jsilvera@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SpxHh-0001G5-Ls 786c7cbad7daef0d0a5a3d82c748293e
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/4A6008CA493DD743AF241A465C01F15F16272863@SN2PRD0310MB360.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14191
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>

--_000_4A6008CA493DD743AF241A465C01F15F16272863SN2PRD0310MB360_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The purpose of this EOI is to endorse the "Multilegged Authentication for H=
TTP Multiplexing<http://tools.ietf.org/html/draft-montenegro-httpbis-multil=
egged-auth>" proposal:
http://tools.ietf.org/html/draft-montenegro-httpbis-multilegged-auth-01
"Briefly describe your implementation or deployment before giving your feed=
back on all of the proposals":

We have client and server stacks for HTTP 1.1 and associated APIs, with mas=
sive deployment in consumer scenarios, corporate and large organizations, c=
loud, etc. We use HTTP in many different ways and scenarios, including brow=
sers and client apps, web servers and web services, media delivery, cloud a=
pplications, VPN, and many others.
 "Have you already implemented / deployed this proposal? Do you intend to? =
"
Microsoft has partially implemented the Multilegged Authentication for HTTP=
 Multiplexing<http://tools.ietf.org/html/draft-montenegro-httpbis-multilegg=
ed-auth> proposal, specifically adding the Persistent-auth header to disamb=
iguate when Kerberos results in connection-based authentication or request-=
based authentication:
http://msdn.microsoft.com/en-us/library/dd341152(v=3DPROT.10).aspx

We have no plans at the moment to implement other proposed authentication p=
roposals. It would be beneficial to create a high level summary of the spec=
ific problem or inefficiency that each authentication scheme addresses. We =
can use this summary to compare each authentication scheme with the other p=
roposed ones, as well as the existing authentication schemes.





"Do you believe it is a good basis for standardization? Why / why not?"



HTTP multiplexing is more than likely going to be included in HTTP2.0, whic=
h will break deployments relying on connection-based authentication schemes=
. This proposal provides a mechanism to ensure compatibility between HTTP m=
ultiplexing and connection-based authentication schemes. Furthermore, this =
proposal is backwards compatible with HTTP 1.1.
"If it is adopted as the basis for further work, what concerns need to be a=
ddressed?"
Without a doubt, we will have to do something to ensure connection-based au=
thentication schemes continue to work with HTTP 2.0.
There are concerns that connection-based authentication schemes are not com=
pliant with HTTP 1.1 and some advocate eliminating them completely from the=
 protocol. Unfortunately, this cannot be done without negatively affecting =
millions of users, and eliminating reply attacks at the HTTP layer becomes =
difficult without connection orientation. We would like to hear specific fe=
edback from the WG on how to improve the proposal in a way that best aligns=
 with the core HTTP 2.0 spec, so that we can modify it prior to formal stan=
dards submission.
As we discussed our feedback for this Expression of Interest, a couple of a=
dditional ideas came to mind. These do not appear in any formal HTTP 2.0 au=
thentication proposal, but we feel that they are small enough and compellin=
g enough to warrant discussion for potential inclusion as part of the HTTP =
2.0 authentication work to be chartered within HTTPbis:

1.       Lightweight "probe" for POSTs and PUTs.  Initial PUTs and POSTs wi=
th long entity bodies will cause problems because of the extra round trip r=
equired by authentication. ("Initial" means when first request on a connect=
ion is PUT or POST). If the body is indefinite length, it may not be able t=
o be recreated. This is a problem with any multi-legged authentication sche=
me in HTTP. It could be avoided if there were a guaranteed benign request t=
ype that could be used to force authentication if needed before doing the P=
UT or POST.

2.       Update Digest. One major issue with Digest is the fact that it rel=
ies on the broken and old MD5, so an update could start by adding crypto ag=
ility and a much stronger default MUST implement hash. Other potential item=
s for an updated digest include making it work properly with chunks and/or =
requiring channel binding with its use. The use of channel binding should b=
e considered for other authentication schemes as well.



The following are some open questions that we believe should be brought up =
for discussion in the WG:



1.       How to properly perform authentication with large POST requests an=
d indefinite length PUT requests? See above.

2.       Update digest? See above.

3.       How can we modify HTTP authentication to work better with connecti=
on-based authentication schemes.

4.       Real security is hard to do at the HTTP layer. Would we get more v=
alue by moving away from attempting to solve security at the HTTP Layer and=
 instead focusing on Channel Binding + TLS/SSL?

5.       Would it be useful to create a Best Current Practices (BCP) docume=
nt for authentication to include:

a.       Step by step instructions for securing resources using HTTP authen=
tication using request-based schemes.

b.      Step by step instructions for securing resources using HTTP authent=
ication using connection-based schemes.

c.       Step by step instructions for how to use cookies for authenticatio=
n.
Thanks

-Jonathan Silvera

--_000_4A6008CA493DD743AF241A465C01F15F16272863SN2PRD0310MB360_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
	{mso-style-priority:1;
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1041785331;
	mso-list-type:hybrid;
	mso-list-template-ids:577557194 682399806 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:1.75in;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.25in;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.75in;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:3.25in;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.75in;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.25in;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:4.75in;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:1155948789;
	mso-list-type:hybrid;
	mso-list-template-ids:-1581357778 -7194838 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:Calibri;
	mso-hansi-font-family:Calibri;
	mso-bidi-font-family:Calibri;}
@list l1:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:black">The purpose of this EOI is to endorse =
the &#8220;</span><a href=3D"http://tools.ietf.org/html/draft-montenegro-ht=
tpbis-multilegged-auth">Multilegged Authentication
 for HTTP Multiplexing</a><span style=3D"color:black">&#8221; proposal:<o:p=
></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><a href=3D"http://tools.ietf.org/html/draft-montenegro-httpbis-mul=
tilegged-auth-01">http://tools.ietf.org/html/draft-montenegro-httpbis-multi=
legged-auth-01</a><span style=3D"color:black"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&#8220;Briefly describe your implementation or deployment before g=
iving your feedback on all of the proposals&#8221;:
<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">We have client and se=
rver stacks for HTTP 1.1 and associated APIs, with massive deployment in co=
nsumer scenarios, corporate and large organizations, cloud, etc. We use HTT=
P in many different ways and scenarios,
 including browsers and client apps, web servers and web services, media de=
livery, cloud applications, VPN, and many others.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:black">&nbsp;&#8220;Have you already implemen=
ted / deployed this proposal? Do you intend to? &#8220;<o:p></o:p></span></=
p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:black">Microsoft has partially implemented th=
e
</span><a href=3D"http://tools.ietf.org/html/draft-montenegro-httpbis-multi=
legged-auth">Multilegged Authentication for HTTP Multiplexing</a><span styl=
e=3D"color:black"> proposal, specifically adding the Persistent-auth header=
 to disambiguate when Kerberos results
 in connection-based authentication or request-based authentication:<o:p></=
o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><a href=3D"http://msdn.microsoft.com/en-us/library/dd341152(v=3DPR=
OT.10).aspx">http://msdn.microsoft.com/en-us/library/dd341152(v=3DPROT.10).=
aspx</a><span style=3D"color:black">&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">We have no plans at t=
he moment to implement other proposed authentication proposals.
</span>It would be beneficial to create a high level summary of the specifi=
c problem or inefficiency that each authentication scheme addresses. We can=
 use this summary to compare each authentication scheme with the other prop=
osed ones, as well as the existing
 authentication schemes.<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNoSpacing">&#8220;Do you believe it is a good basis for stan=
dardization? Why / why not?&#8221;
<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black"><o:p>&nbsp;</o:p></sp=
an></p>
<p class=3D"MsoNoSpacing"><span style=3D"color:black">HTTP multiplexing is =
more than likely going to be included in HTTP2.0, which will break deployme=
nts relying on connection-based authentication schemes. This proposal provi=
des a mechanism to ensure compatibility
 between HTTP multiplexing and connection-based authentication schemes. Fur=
thermore, this proposal is backwards compatible with HTTP 1.1.<o:p></o:p></=
span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:black">&#8220;If it is adopted as the basis f=
or further work, what concerns need to be addressed?&#8221;<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Without a doubt, we will have to do something to ensure connection=
-based authentication schemes continue to work with HTTP 2.0.
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">There are concerns that connection-based authentication schemes ar=
e not compliant with HTTP 1.1 and some advocate eliminating them completely=
 from the protocol. Unfortunately, this
 cannot be done without negatively affecting millions of users, and elimina=
ting reply attacks at the HTTP layer becomes difficult without connection o=
rientation. We would like to hear specific feedback from the WG on how to i=
mprove the proposal in a way that
 best aligns with the core HTTP 2.0 spec, so that we can modify it prior to=
 formal standards submission.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">As we discussed our feedback for this Expression of Interest, a co=
uple of additional ideas came to mind. These do not appear in any formal HT=
TP 2.0 authentication proposal, but
 we feel that they are small enough and compelling enough to warrant discus=
sion for potential inclusion as part of the HTTP 2.0 authentication work to=
 be chartered within HTTPbis:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">1.<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;
</span></span><![endif]>Lightweight &#8220;probe&#8221; for POSTs and PUTs.=
&nbsp; Initial PUTs and POSTs with long entity bodies will cause problems b=
ecause of the extra round trip required by authentication. (&#8220;Initial&=
#8221; means when first request on a connection is PUT or POST).
 If the body is indefinite length, it may not be able to be recreated. This=
 is a problem with any multi-legged authentication scheme in HTTP. It could=
 be avoided if there were a guaranteed benign request type that could be us=
ed to force authentication if needed
 before doing the PUT or POST.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">2.<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;
</span></span><![endif]>Update Digest. One major issue with Digest is the f=
act that it relies on the broken and old MD5, so an update could start by a=
dding crypto agility and a much stronger default MUST implement hash. Other=
 potential items for an updated
 digest include making it work properly with chunks and/or requiring channe=
l binding with its use. The use of channel binding should be considered for=
 other authentication schemes as well.<o:p></o:p></p>
<p class=3D"MsoListParagraph"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNoSpacing">The following are some open questions that we bel=
ieve should be brought up for discussion in the WG:<o:p></o:p></p>
<p class=3D"MsoNoSpacing"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.25in;text-indent:-.25in=
;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">1.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>How to properly perform authentication with large P=
OST requests and indefinite length PUT requests? See above.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.25in;text-indent:-.25in=
;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">2.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Update digest? See above. <o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.25in;text-indent:-.25in=
;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">3.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>How can we modify HTTP authentication to work bette=
r with connection-based authentication schemes.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.25in;text-indent:-.25in=
;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">4.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Real security is hard to do at the HTTP layer. Woul=
d we get more value by moving away from attempting to solve security at the=
 HTTP Layer and instead focusing on Channel Binding &#43; TLS/SSL?<o:p></o:=
p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.25in;text-indent:-.25in=
;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">5.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Would it be useful to create a Best Current Practic=
es (BCP) document for authentication to include:
<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.75in;text-indent:-.25in=
;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">a.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Step by step instructions for securing resources us=
ing HTTP authentication using request-based schemes.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.75in;text-indent:-.25in=
;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style=3D"mso-list:Ignore">b.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Step by step instructions for securing resources us=
ing HTTP authentication using connection-based schemes.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"mso-margin-top-alt:auto;mso-margin-b=
ottom-alt:auto;margin-left:.75in;text-indent:-.25in;mso-list:l0 level2 lfo2=
">
<![if !supportLists]><span style=3D"mso-list:Ignore">c.<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Step by step instructions for how to use cookies fo=
r authentication.<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">-Jonathan Silvera<o:p></o:p></p>
</div>
</body>
</html>

--_000_4A6008CA493DD743AF241A465C01F15F16272863SN2PRD0310MB360_--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 11:22:24 2012
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 1F1B921F861E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 11:22:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.248
X-Spam-Level: 
X-Spam-Status: No, score=-9.248 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_52=0.6, 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 8Vc+O9Ek6ZG0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 11:22:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2DD4721F8617 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 11:22:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq6xZ-00009l-1C for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 18:20:53 +0000
Resent-Date: Sat, 14 Jul 2012 18:20:53 +0000
Resent-Message-Id: <E1Sq6xZ-00009l-1C@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sq6xP-00008h-UB for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 18:20:43 +0000
Received: from na3sys010aog102.obsmtp.com ([74.125.245.72]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sq6xO-0001Bv-Bd for ietf-http-wg@w3.org; Sat, 14 Jul 2012 18:20:43 +0000
Received: from mail-gg0-f180.google.com ([209.85.161.180]) (using TLSv1) by na3sys010aob102.postini.com ([74.125.244.12]) with SMTP ID DSNKUAG4YeItWjj/6QrXpWCG6LE42bKrn7oS@postini.com; Sat, 14 Jul 2012 11:20:39 PDT
Received: by ggnf1 with SMTP id f1so4730882ggn.11 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 11:20:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7N79HPgiZ4FvnaEkIXKjsQnPIk1CvuIDZTaYbTUkBXc=; b=hVRUwFxpa59z8vEahH2qu5vBMeKdCJTe1H3XKnqM95NMNVgp8fewL2kRQKunLC3vh5 J/OBtM3YguZ50xqn4ngOgVxTxRNfmKfMQJ/GYJqV6LSiFdu8aGfPNViWjBnxKYq+9nYQ i+IOoQMg5Z0xodzsA2re+tuXIngPQh9h8Bpso=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=7N79HPgiZ4FvnaEkIXKjsQnPIk1CvuIDZTaYbTUkBXc=; b=hRytgeBOqI9aDR8MOuoXxQV7XVFOAX/Jg6g/hDMBeLu6sEfS7EmwKJs/2jKIG/RWt0 /PJqRSZ/C1da3Fh523qgTihz0TWv5N8xYsR8uK+btqS6ZRHrQ65lwl4m3UJG++NUNNfk Hl6d9l8mGb5Vmkak13x6PoiBDP/Dj9hDk8IJui99fnOq+4rM3saE0m+x0wrQuXShWMiB B/fIiRBI8HQVsmqmimepAE5+GiD+KR5zD5Xws4uOb9iFBrtsGvyc7lJdYLSI7EB2Fent 8hUwYa5ovuXZbbYVq6j+VwuSMB4+VyIrcaV7iY4ng8F5mzWRo+ORKjTn73aGZyRDMGb0 e8Pg==
Received: by 10.50.140.70 with SMTP id re6mr1952953igb.23.1342290016230; Sat, 14 Jul 2012 11:20:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Sat, 14 Jul 2012 11:19:56 -0700 (PDT)
In-Reply-To: <4A6008CA493DD743AF241A465C01F15F10AD99A9@SN2PRD0310MB360.namprd03.prod.outlook.com>
References: <3457BA4E-A64A-4A3B-99B3-45F06CF89284@isode.com> <CAMeZVwtLXcbA_hih2H60wokyQqZfvw_Paru3haMSrhusw914fw@mail.gmail.com> <4FFB1239.9010406@isode.com> <4A6008CA493DD743AF241A465C01F15F10AD1073@SN2PRD0310MB360.namprd03.prod.outlook.com> <0258B01C-6FA6-4E12-97DE-F5F332FEB481@mnot.net> <4A6008CA493DD743AF241A465C01F15F10AD99A9@SN2PRD0310MB360.namprd03.prod.outlook.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Sun, 15 Jul 2012 03:19:56 +0900
Message-ID: <CAMeZVwvgfJzpm=ojeCo7wBLHnmBF3T=wfz5V+tmOuJFORJ_y8Q@mail.gmail.com>
To: Jonathan Silvera <jsilvera@microsoft.com>
Cc: Mark Nottingham <mnot@mnot.net>, Alexey Melnikov <alexey.melnikov@isode.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQkUWLdpe3thnhrLovkQ7vdSKmC3/x2QyXRlAhLmo9CVml1m80NY6MqtjP9SztRKk3sFtJfR
Received-SPF: pass client-ip=74.125.245.72; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog102.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sq6xO-0001Bv-Bd 571b89d73f2e525aa9c8882c25ede249
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-montenegro-httpbis-multilegged-auth-01
Archived-At: <http://www.w3.org/mid/CAMeZVwvgfJzpm=ojeCo7wBLHnmBF3T=wfz5V+tmOuJFORJ_y8Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14192
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>

Dear Jonathan,

for my understanding, your main purpose of proposing is to accept existing,
already deployed "connection-based" authentication schemes onto
possible HTTP/2.0.  Is it correct?

Then, my questions are twofold:
1. are there some specific reasons for implementations of
these authentication schemes to be strictly connection-based
(here the connection means TCP/IP)?  In other words,
are there some implementation restrictions which prevent
such authentication mechanisms from being used with
multiple underlying connections?
2. if the above answer is NO, is there strong intent to
keep them connection-based?  Or, if it can be deployed easily,
are you open to make it more friendly to HTTP/1.1 (and HTTP/2.0, likely)
message-based semantics?

Background of my questions is as follows:
Your proposal seems to be trying to keep them "connection-based" on HTTP/2.0
including proxy'ed requests.  Key-exchanges before successful authentication are
changed to be message-based by Auth-ID, but after successful authentication,
if original HTTP1 method is connection-based, it will be still connection-based.
This is typically expressed in Section 4.1 of your proposal as follows:
> [...] Proxies MUST bind
> the client-to-proxy and proxy-to-server connections.

However, at least Curl people already expressed concern with
connection-based authentication as follows:
 > The day we can clense connection-oriented authentications like NTLM
 > from the HTTP world will be a happy day, as it's state awareness is
 > a pain to deal with in a generic HTTP library and code.
And currently, your proposal seems not to solve their problem.

I will NOT say "we should cleanse out NTLM from Web", but
I want to explore possibilities for removing connection-dependency of
successfully-authenticated sessions of such schemes.
And I foresee that, if there are no implementation-dependent restrictions,
theoretically it is possible in a similar way as your proposal's style,
i.e. an amendment to existing HTTP/1.1 authentication schemes
when these are used with HTTP/2.0.  Even your framework of Auth-ID
can be reused for such changes.

Thanks,

Yutaka

-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 11:33:34 2012
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 38C9021F8623 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 11:33:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.174
X-Spam-Level: 
X-Spam-Status: No, score=-8.174 tagged_above=-999 required=5 tests=[AWL=1.225, BAYES_00=-2.599, J_CHICKENPOX_31=0.6, J_CHICKENPOX_41=0.6, 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 qkpX7gK1eT9O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 11:33:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5A2B621F84BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 11:33:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq79C-0004xr-WF for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 18:32:55 +0000
Resent-Date: Sat, 14 Jul 2012 18:32:54 +0000
Resent-Message-Id: <E1Sq79C-0004xr-WF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1Sq793-0004rw-Mt for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 18:32:45 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1Sq792-0002i8-Cv for ietf-http-wg@w3.org; Sat, 14 Jul 2012 18:32:45 +0000
Received: by qcad1 with SMTP id d1so2900805qca.2 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 11:32:18 -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=aZCVM60ayNo2Xtw2HU4bTkS90zPDOJ/qwgg7TLRZsu0=; b=OtGKvg7Zf4fQGXmWxzB8jIFt7yqHGdVue24lsClIa8LvmWW37Q5uKNkNtZrvDzCIE8 dQdRPzpoJaz3uiNNX1bUp8usbEKvsuR3QqDQwaGEibOQrO6RR7YDkmitAKcQUozQvbmj sSUyGE6r4+FjzW1RttUkuV9EGsQi+DWFgG2NcHPGhWf0J04pcpRHX5wBrb+ivc3XBiMx kH5UQgzQI5JsjQI2Fr26pM0C7VXvunj2FRsujUL3klawzFe630q8wjV1mF1HBhfbr8Oq P/PK+PMQwAPC9XPPJoYbeOTtahBCeoycFC9GxfLI5UqPfAWKBfIFzfnLMarJ+TFGxxSR m8Ww==
MIME-Version: 1.0
Received: by 10.229.137.76 with SMTP id v12mr3125631qct.64.1342290738419; Sat, 14 Jul 2012 11:32:18 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Sat, 14 Jul 2012 11:32:18 -0700 (PDT)
In-Reply-To: <20120714055250.GN16256@1wt.eu>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu>
Date: Sun, 15 Jul 2012 03:32:18 +0900
Message-ID: <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, Tim Bray <tbray@textuality.com>, James M Snell <jasnell@gmail.com>,  Phillip Hallam-Baker <hallam@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=lef.mutualauth@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sq792-0002i8-Cv 7bb0ea7a1831afa5a27f70bb6b51e33e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14193
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>

PHK's ideal world, I also share it.

However, it is not understood whether it is contained in the present
WG charter.
I still think that our goal is ambiguous.

To speak of extremes, we have a two targets.

1)
Efficiency is improved. and compatibility is maintained as much as possible.
2)
The ideal which deserves HTTP/2.0 and which can be used for 20 years
or more is aimed at.

These are not contrary.
We have to pursue the both as much as possible.
But, The semantics must not change.

I think that the name of HTTP/2.0 is making a goal difficultly.

I thinking...
ex) HTTP layer Session is necessity?
  If it is HTTP/1.1tris?
  If it is HTTP/1.2?
  and If it is HTTP/2.0?

We need to deepen an concrete discussion more.

--
HAYASHI, Tatsuya
Lepidum Co. Ltd.

On Sat, Jul 14, 2012 at 2:52 PM, Willy Tarreau <w@1wt.eu> wrote:
> On Fri, Jul 13, 2012 at 08:21:03PM -0700, Tim Bray wrote:
>> On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:
>>
>>
>> > TLS communication today already have an envelope consisting of
>> > IP# + TCP port numbers, and unless your adversary is totally
>> > incompetent, he also has the DNS lookup that gave you that IP#.
>> >
>> > QED: Putting the "Host:" in the HTTP envelope does not leak any
>> > information your adversary doesn't already have or can guess.
>> >
>>
>> That?s just not true.  There are lots of ways to get to a particular origin
>> server, and I would think that for a malicious person in the middle, the
>> Host header would be more interesting than the ostensible IP address.  On
>> the other hand, I do understand why a payload-oblivious load balancer would
>> need to see that header.  It is simply the case that we have two objectives
>> which are apparently in conflict. No, I don?t have a solution (or even a
>> strong opinion, yet, although I?m inclined to err on the side of protecting
>> user privacy at the expense of almost all else).  -Tim
>
> Well, TLS offers SNI which also reveals the Host header in clear text, so
> your extreme view of privacy doesn't seem to be shared as much wich even
> these guys. Also, building a protocol fortress that prevents anyone from
> implementing it in real life is an effective way of protecting user privacy
> since the user won't have access to anything and thus won't reveal his
> intents. Maybe some people would even consider that revealing they have
> access to the internet affects their privacy so they need an invisible
> connection... At one point a limit must be set, otherwise it becomes
> totally non-sense. Host and IP are reasonably interchangeable, are used
> for routing the protocol to its destination, and if someone doesn't want
> to show what host he's going to, he'd better leave the net. And if even
> the TLS guys accept this, then I think this is a much acceptable limit.
>
> Regards,
> Willy
>
>


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 11:57:01 2012
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 50EAF21F865A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 11:57:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.019
X-Spam-Level: 
X-Spam-Status: No, score=-9.019 tagged_above=-999 required=5 tests=[AWL=1.580, BAYES_00=-2.599, 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 Qj8X4OwHAw-f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 11:57:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4EB621F8650 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 11:57:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq7WI-0005Yd-Fh for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 18:56:46 +0000
Resent-Date: Sat, 14 Jul 2012 18:56:46 +0000
Resent-Message-Id: <E1Sq7WI-0005Yd-Fh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1Sq7WA-0005X7-AV for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 18:56:38 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1Sq7W9-0003U1-6a for ietf-http-wg@w3.org; Sat, 14 Jul 2012 18:56:38 +0000
Received: by qcad1 with SMTP id d1so2905834qca.2 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 11:56: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=N7zSnaIvMVRLOM4bNk+cCPhWfDUpNla6/XBOQd8BgCk=; b=vxQXMg8NaXF5GFS43vkqCO2jauqEGHP5ZamD6N/JHHzFXR4eGRoFEO0hl4LNLAUvQM zpHa+//ohFqT7n+snM+zzOcCRF+Bcqb7zgACcDcWzb3lAokX3CMiTD3fPQwIoGyNakdr vhFl+J68gwSzVRbj42YBPfiRzoXt7zEiMgCQynWq2afNOwFySceqwl6kQXOqZfe19Juu 4CBWtZFg8LL+AqsYPXl5FWNovl3VLjV3B0gvwGjk2FXf9aEl47hcXjDj66cTAtOaa76e Vt+3altnhdF8KLqu7GcLmpChVBRItk9mx4gF0UapqtD226If5trnsm7CyfsiGFSTqEfK 6RLA==
MIME-Version: 1.0
Received: by 10.229.135.8 with SMTP id l8mr699737qct.126.1342292171337; Sat, 14 Jul 2012 11:56:11 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Sat, 14 Jul 2012 11:56:11 -0700 (PDT)
In-Reply-To: <20120714052933.GL16256@1wt.eu>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk> <20120714052933.GL16256@1wt.eu>
Date: Sun, 15 Jul 2012 03:56:11 +0900
Message-ID: <CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: ietf-http-wg@w3.org, Willy Tarreau <w@1wt.eu>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=lef.mutualauth@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sq7W9-0003U1-6a f31e0a8b1f10524bb72a5361e63b3523
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14194
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>

Response inline.

On Sat, Jul 14, 2012 at 2:29 PM, Willy Tarreau <w@1wt.eu> wrote:
> On Fri, Jul 13, 2012 at 11:01:15PM +0000, Poul-Henning Kamp wrote:
>> In message <20120713225104.GK16256@1wt.eu>, Willy Tarreau writes:
>>
>> >Whatever will be retained as a basis for HTTP/2.0, this exercise is
>> >useful and may incite other users to provide very valuable feedback.
>>
>> I think it is premature, because it obscures and prevents the much
>> needed high-level design of HTTP/2.0.
>>
>> And that is exactly why I think the current approach and timeline
>> is a road to nowhere fast.
>
> On a personal taste, I find it fast too. 4 months to provide proposals
> to replace the 15-year old HTTP/1, and 4 others to review them is short
> in my opinion. Roy did not even have the time to publish the Waka spec
> which could have brought a lot of fuel to the discussion !

+1.
I think that it is an important point.
Should we make what is replaced with HTTP1?
(Of course, compatibility is absolutely required.)
Or is something added on HTTP1?

It may be the same.
However, the goal may change.

--
HAYASHI, Tatsuya
Lepidum Co. Ltd.


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 12:24:11 2012
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 ACFCD21F85A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 12:24:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.112
X-Spam-Level: 
X-Spam-Status: No, score=-9.112 tagged_above=-999 required=5 tests=[AWL=1.487, BAYES_00=-2.599, 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 qlLC0mXynXss for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 12:24:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2325B21F85A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 12:24:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq7vV-0007sd-Ul for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 19:22:49 +0000
Resent-Date: Sat, 14 Jul 2012 19:22:49 +0000
Resent-Message-Id: <E1Sq7vV-0007sd-Ul@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sq7vN-0007rr-RJ for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 19:22:41 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sq7vM-0002pt-O1 for ietf-http-wg@w3.org; Sat, 14 Jul 2012 19:22:41 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6EJMFKd020218; Sat, 14 Jul 2012 21:22:15 +0200
Date: Sat, 14 Jul 2012 21:22:15 +0200
From: Willy Tarreau <w@1wt.eu>
To: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
Cc: ietf-http-wg@w3.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>
Message-ID: <20120714192215.GT16256@1wt.eu>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk> <20120714052933.GL16256@1wt.eu> <CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sq7vM-0002pt-O1 a9f9493a2e8e016c563f4b5de45b9502
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/20120714192215.GT16256@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14195
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 Sun, Jul 15, 2012 at 03:56:11AM +0900, HAYASHI, Tatsuya wrote:
> Response inline.
> 
> On Sat, Jul 14, 2012 at 2:29 PM, Willy Tarreau <w@1wt.eu> wrote:
> > On Fri, Jul 13, 2012 at 11:01:15PM +0000, Poul-Henning Kamp wrote:
> >> In message <20120713225104.GK16256@1wt.eu>, Willy Tarreau writes:
> >>
> >> >Whatever will be retained as a basis for HTTP/2.0, this exercise is
> >> >useful and may incite other users to provide very valuable feedback.
> >>
> >> I think it is premature, because it obscures and prevents the much
> >> needed high-level design of HTTP/2.0.
> >>
> >> And that is exactly why I think the current approach and timeline
> >> is a road to nowhere fast.
> >
> > On a personal taste, I find it fast too. 4 months to provide proposals
> > to replace the 15-year old HTTP/1, and 4 others to review them is short
> > in my opinion. Roy did not even have the time to publish the Waka spec
> > which could have brought a lot of fuel to the discussion !
> 
> +1.
> I think that it is an important point.
> Should we make what is replaced with HTTP1?

I'm not sure what you mean.

> (Of course, compatibility is absolutely required.)

Yes it is, but not necessarily on the wire.

> Or is something added on HTTP1?

We're not adding on top of HTTP1 but redesigning the on-wire protocol
which is why it will not be called 1.x.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 13:18:02 2012
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 BB39121F85E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 13:18:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 3HaK2if8+nle for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 13:18:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B0CD621F85D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 13:18:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq8mQ-0003ZF-4o for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 20:17:30 +0000
Resent-Date: Sat, 14 Jul 2012 20:17:30 +0000
Resent-Message-Id: <E1Sq8mQ-0003ZF-4o@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <roland@zinks.de>) id 1Sq8mH-0003YY-Cr for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 20:17:21 +0000
Received: from mo-p00-ob.rzone.de ([81.169.146.160]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <roland@zinks.de>) id 1Sq8mF-0005IF-NY for ietf-http-wg@w3.org; Sat, 14 Jul 2012 20:17:21 +0000
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJU2mlIkBC0t1G+0bSVECAiLyIl+Mgs/D9zJZeIVvs3PKDYzZo7w==
X-RZG-CLASS-ID: mo00
Received: from [IPv6:2001:4dd0:ff67:0:9562:134c:c792:2f40] ([2001:4dd0:ff67:0:9562:134c:c792:2f40]) by smtp.strato.de (joses mo68) (RZmta 29.19 AUTH) with ESMTPA id 30318fo6EF6ZGZ ; Sat, 14 Jul 2012 22:16:57 +0200 (CEST)
Message-ID: <5001D3B7.4070706@zinks.de>
Date: Sat, 14 Jul 2012 22:16:55 +0200
From: Roland Zink <roland@zinks.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: ietf-http-wg@w3.org
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <5000B0E5.9000103@zinks.de> <20120714054441.GM16256@1wt.eu>
In-Reply-To: <20120714054441.GM16256@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=81.169.146.160; envelope-from=roland@zinks.de; helo=mo-p00-ob.rzone.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Sq8mF-0005IF-NY a1e106db5dc75877a350d9fb4f5b2b3b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/5001D3B7.4070706@zinks.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14196
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>

You are welcome. From implementing a WAP gateway the server part seem to 
work as well, although the traffic was not as high as today's requirements.

Interestingly there was also a multiplexing implemented in the layer 
below (Wireless Transaction Protocol working over UDP) and the gateway 
had to translate this to HTTP.

Regards,
Roland


On 14.07.2012 07:44, Willy Tarreau wrote:
> On Sat, Jul 14, 2012 at 01:36:05AM +0200, Roland Zink wrote:
>> A similar binary encoding for HTTP headers is used in the WAP (Wireless
>> Application Protocol). The goal there was to reduce the number of bytes
>> so there are more optimization on size but skipping of values is a bit
>> more difficult. If anybody is interested the full specification can be
>> found at
>> http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf.
>> The header encoding is in section 8.4.
> Wow, very instructive, thanks Roland! Much more work has been done there
> than what we proposed in our draft. And this one was implemented in many
> ridiculously powered devices, which means that it's not that complicated
> to implement. With a bit of refreshing, that could be used as a basis for
> future encoding works.
>
> Regards,
> Willy
>




From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 13:55:55 2012
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 7457D21F8599 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 13:55:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.506
X-Spam-Level: 
X-Spam-Status: No, score=-10.506 tagged_above=-999 required=5 tests=[AWL=0.092, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 K70hWhgWnBzw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 13:55:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8E07921F84DE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 13:55:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq9Me-0002pT-PL for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 20:54:56 +0000
Resent-Date: Sat, 14 Jul 2012 20:54:56 +0000
Resent-Message-Id: <E1Sq9Me-0002pT-PL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sq9MX-0002oi-6h for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 20:54:49 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sq9MV-0006Cl-Tk for ietf-http-wg@w3.org; Sat, 14 Jul 2012 20:54:49 +0000
Received: by wibhq4 with SMTP id hq4so1367439wib.8 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 13:54:21 -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=VsP5MBxW9Wzrukr4TSyLY4HIdNXgD2AxHp9Q5HWKPSY=; b=j9w/v17MYW7ZQGXU9UZBZ4m+NwwauWYor+2vW771v+M5sozUr0wX3CXHpPuJphFTNy VtW6Cbk9ug7pOXDINRwmycJsvXyqXCv0yglwx66LCfppdqBGZIt0p5AIII8rAuf0g1Ia snJyI4n49GIztGluW2NJBNkveKUgN64Bm1elXq0Hn1AxhUAS4LhcVspyfsp3GHiBCAPB uClbmeBhLT7rJ5VgdjuncE/2G5N0u6YmisSvYIZp31p2NNOp4GPrnwXotoVI7IKit4Id 8NlI9MQGWpJ696jHqDC9eHZLuNEz1tTLPv+R2wUs4ySwWJbPHsCOqUwuiskbVVZcpHEn cH5A==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr7049514wib.20.1342299261009; Sat, 14 Jul 2012 13:54:21 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sat, 14 Jul 2012 13:54:20 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sat, 14 Jul 2012 13:54:20 -0700 (PDT)
In-Reply-To: <48733.1342250250@critter.freebsd.dk>
References: <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com> <48733.1342250250@critter.freebsd.dk>
Date: Sat, 14 Jul 2012 13:54:20 -0700
Message-ID: <CAP+FsNcZKtGLyWEsdnJfELtjc4GQMk31O6v1v_ebO=1RHGTuxg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04430446a27e1404c4d066a2
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sq9MV-0006Cl-Tk ff70e601c67e062fc5f374add465e105
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAP+FsNcZKtGLyWEsdnJfELtjc4GQMk31O6v1v_ebO=1RHGTuxg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14197
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>

--f46d04430446a27e1404c4d066a2
Content-Type: text/plain; charset=ISO-8859-1

It is difficult for me to make assertions about something that people have
not yet had time to play with. I'm of the school that believes that good
design is a byproduct of experience and refinement, and rarely comes from
vacuum or achieves perfection on the first imagining.

So, I don't know yet.
-=R
On Jul 14, 2012 12:17 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <
> CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
> , Roberto Peon writes:
>
> >> In message <20120714052933.GL16256@1wt.eu>, Willy Tarreau writes:
> >>
> >> >If you're talking about Roberto's mail, I read quite the opposite in
> >> >fact. It was said that Google was open to have anything provided that
> >> >the concepts raised in SPDY were preserved.
> >>
> >> Well, which way is it Roberto ?
> >>
> >> Care to clarify ?
> >>
> >
> >Willy has it right.
> >
> >-=R
>
> Thanks.
>
> Does that include server-push ?
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d04430446a27e1404c4d066a2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
It is difficult for me to make assertions about something that people have =
not yet had time to play with. I&#39;m of the school that believes that goo=
d design is a byproduct of experience and refinement, and rarely comes from=
 vacuum or achieves perfection on the first imagining.</p>

<p dir=3D"ltr">So, I don&#39;t know yet.<br>
-=3DR</p>
<div class=3D"gmail_quote">On Jul 14, 2012 12:17 AM, &quot;Poul-Henning Kam=
p&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt=
; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;<a href=3D"mailto:CAP%2BFsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0p=
EXhDvEgD00Q@mail.gmail.com">CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEg=
D00Q@mail.gmail.com</a>&gt;<br>
, Roberto Peon writes:<br>
<br>
&gt;&gt; In message &lt;<a href=3D"mailto:20120714052933.GL16256@1wt.eu">20=
120714052933.GL16256@1wt.eu</a>&gt;, Willy Tarreau writes:<br>
&gt;&gt;<br>
&gt;&gt; &gt;If you&#39;re talking about Roberto&#39;s mail, I read quite t=
he opposite in<br>
&gt;&gt; &gt;fact. It was said that Google was open to have anything provid=
ed that<br>
&gt;&gt; &gt;the concepts raised in SPDY were preserved.<br>
&gt;&gt;<br>
&gt;&gt; Well, which way is it Roberto ?<br>
&gt;&gt;<br>
&gt;&gt; Care to clarify ?<br>
&gt;&gt;<br>
&gt;<br>
&gt;Willy has it right.<br>
&gt;<br>
&gt;-=3DR<br>
<br>
Thanks.<br>
<br>
Does that include server-push ?<br>
<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</blockquote></div>

--f46d04430446a27e1404c4d066a2--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 14:01:57 2012
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 491EC21F860D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 14:01:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.772
X-Spam-Level: 
X-Spam-Status: No, score=-7.772 tagged_above=-999 required=5 tests=[AWL=1.627, BAYES_00=-2.599, J_CHICKENPOX_31=0.6, J_CHICKENPOX_41=0.6, 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 6cB-F52zDDEQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 14:01:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 268D121F8609 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 14:01:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sq9T3-0007LI-VV for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 21:01:33 +0000
Resent-Date: Sat, 14 Jul 2012 21:01:33 +0000
Resent-Message-Id: <E1Sq9T3-0007LI-VV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sq9Sv-0007KS-Iv for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 21:01:25 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sq9Su-0006Ln-CP for ietf-http-wg@w3.org; Sat, 14 Jul 2012 21:01:25 +0000
Received: by vbbfq11 with SMTP id fq11so3334657vbb.2 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 14:00:58 -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=ZAPUVWhZc1ZP4evpzqdUsoxjAo2fvqqckiDeVEp4zI0=; b=zMD23qWdQvqWzDm/+VgD/VyU3Ehq4J3G9l2rdAcoYbfb54VqS9Q2i2LosS7bD1eMms mjE3mWoChYHoTfMAWlHU3hulYvKr4bjCMcMoSRn36OGovxFc9/YZgx4vDETAvlarxit8 NCZ6UycRpobJgzxXHGmjZL+JQOM4leS0TYwhLwQcUSLHAHd2nQM8deHqWYzPOo7qypvk iiueA9jlSCPdJEjzl9zmPH3PoDS8ea1C/NX0dcDWjAsqRE95Gt2J7D63DMhdM1zfono6 7BGjkfCBBFVBU3ptqZ7bTOHU7vJ2WdOTEMIIwDFTbEK5E8qHbdQFogZsVtlmtI0Qtu3T 2mnw==
MIME-Version: 1.0
Received: by 10.220.40.11 with SMTP id i11mr2707379vce.50.1342299658461; Sat, 14 Jul 2012 14:00:58 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Sat, 14 Jul 2012 14:00:58 -0700 (PDT)
In-Reply-To: <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu> <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com>
Date: Sat, 14 Jul 2012 17:00:58 -0400
Message-ID: <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  Tim Bray <tbray@textuality.com>, James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sq9Su-0006Ln-CP 4b255fe7bc1e0ba0e72893f94598e1f9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14198
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>

If this is worth doing at all it is something that can be most easily
performed in a HTTP/2.0 context where the whole legacy question
becomes moot-ish



On Sat, Jul 14, 2012 at 2:32 PM, HAYASHI, Tatsuya
<lef.mutualauth@gmail.com> wrote:
> PHK's ideal world, I also share it.
>
> However, it is not understood whether it is contained in the present
> WG charter.
> I still think that our goal is ambiguous.
>
> To speak of extremes, we have a two targets.
>
> 1)
> Efficiency is improved. and compatibility is maintained as much as possible.
> 2)
> The ideal which deserves HTTP/2.0 and which can be used for 20 years
> or more is aimed at.
>
> These are not contrary.
> We have to pursue the both as much as possible.
> But, The semantics must not change.
>
> I think that the name of HTTP/2.0 is making a goal difficultly.
>
> I thinking...
> ex) HTTP layer Session is necessity?
>   If it is HTTP/1.1tris?
>   If it is HTTP/1.2?
>   and If it is HTTP/2.0?
>
> We need to deepen an concrete discussion more.
>
> --
> HAYASHI, Tatsuya
> Lepidum Co. Ltd.
>
> On Sat, Jul 14, 2012 at 2:52 PM, Willy Tarreau <w@1wt.eu> wrote:
>> On Fri, Jul 13, 2012 at 08:21:03PM -0700, Tim Bray wrote:
>>> On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:
>>>
>>>
>>> > TLS communication today already have an envelope consisting of
>>> > IP# + TCP port numbers, and unless your adversary is totally
>>> > incompetent, he also has the DNS lookup that gave you that IP#.
>>> >
>>> > QED: Putting the "Host:" in the HTTP envelope does not leak any
>>> > information your adversary doesn't already have or can guess.
>>> >
>>>
>>> That?s just not true.  There are lots of ways to get to a particular origin
>>> server, and I would think that for a malicious person in the middle, the
>>> Host header would be more interesting than the ostensible IP address.  On
>>> the other hand, I do understand why a payload-oblivious load balancer would
>>> need to see that header.  It is simply the case that we have two objectives
>>> which are apparently in conflict. No, I don?t have a solution (or even a
>>> strong opinion, yet, although I?m inclined to err on the side of protecting
>>> user privacy at the expense of almost all else).  -Tim
>>
>> Well, TLS offers SNI which also reveals the Host header in clear text, so
>> your extreme view of privacy doesn't seem to be shared as much wich even
>> these guys. Also, building a protocol fortress that prevents anyone from
>> implementing it in real life is an effective way of protecting user privacy
>> since the user won't have access to anything and thus won't reveal his
>> intents. Maybe some people would even consider that revealing they have
>> access to the internet affects their privacy so they need an invisible
>> connection... At one point a limit must be set, otherwise it becomes
>> totally non-sense. Host and IP are reasonably interchangeable, are used
>> for routing the protocol to its destination, and if someone doesn't want
>> to show what host he's going to, he'd better leave the net. And if even
>> the TLS guys accept this, then I think this is a much acceptable limit.
>>
>> Regards,
>> Willy
>>
>>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 15:02:48 2012
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 A1C9321F863E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 15:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.301
X-Spam-Level: 
X-Spam-Status: No, score=-9.301 tagged_above=-999 required=5 tests=[AWL=-0.525, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_31=0.6, J_CHICKENPOX_41=0.6, 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 CQJY1o9EhL-E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 15:02:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 69BCE21F8629 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 15:02:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqAP5-0005di-AH for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 22:01:31 +0000
Resent-Date: Sat, 14 Jul 2012 22:01:31 +0000
Resent-Message-Id: <E1SqAP5-0005di-AH@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqAOw-0005cx-LU for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 22:01:22 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqAOu-0006tn-KU for ietf-http-wg@w3.org; Sat, 14 Jul 2012 22:01:22 +0000
Received: by lbom4 with SMTP id m4so6074599lbo.2 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 15:00:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=nEDDY4nTMFB3qKel5y9A7rMlJguitt05sZCvw52IQLk=; b=PCLlwHiS7PjykC2frHFsqvEu8z7OvQYEMn8kUcfuzpgkki0K8tvtQFv3T95AtUal9c /GI2xnk5vOS2LwXax4u2LT1j9mc6Hp/JtjPjpZf0PLblFHj2uNTEmKEeNHPUJO93sx8g FMAaA4S/Xz/Lb2WbmLnnx1OxPchwI2fDdrHkp2EX9YhBk5fUP/J/iJYTFStoEjLdOUYB XaIVsJGO/hVcMSDPAEfJbUpK5wBxa6EVUGtyp3BqbjBRNAydZSzZnzKbYv2szNFfFz+s ai7tHmky0G1v1e07Ud9XYPK3VakgL1f/MpKdzL8G6UKkjGgLpOSdIX3dUh/BkY94+/vz o4gg==
MIME-Version: 1.0
Received: by 10.152.104.77 with SMTP id gc13mr6050734lab.31.1342303253552; Sat, 14 Jul 2012 15:00:53 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sat, 14 Jul 2012 15:00:53 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sat, 14 Jul 2012 15:00:53 -0700 (PDT)
In-Reply-To: <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu> <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com> <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com>
Date: Sat, 14 Jul 2012 15:00:53 -0700
Message-ID: <CABaLYCsurdopPbkG1_w+pykEW=mQcTDkJrQMBR=kPN8FzXXERQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>,  "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04083adb9bdeac04c4d15440
X-Gm-Message-State: ALoCoQklvxu02ZdRSujzRiq+6CTc/FaISNg0UO+z8ggj5og+YqT3EoonlbfiliyIJabKvzh4lmUO
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SqAOu-0006tn-KU c5a4ada47f44e7e68cef4cc90fdfb0b3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CABaLYCsurdopPbkG1_w+pykEW=mQcTDkJrQMBR=kPN8FzXXERQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14199
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>

--f46d04083adb9bdeac04c4d15440
Content-Type: text/plain; charset=ISO-8859-1

I disagree with the claim that the current http charter is not designed for
the next 20 years. It is, and spdy is.

I have yet to see any proposals of something better or missing from the
current proposals. If there are better ideas, by all means raise them.
Please be detailed and offer proof where possible.

Mike
On Jul 14, 2012 2:02 PM, "Phillip Hallam-Baker" <hallam@gmail.com> wrote:

> If this is worth doing at all it is something that can be most easily
> performed in a HTTP/2.0 context where the whole legacy question
> becomes moot-ish
>
>
>
> On Sat, Jul 14, 2012 at 2:32 PM, HAYASHI, Tatsuya
> <lef.mutualauth@gmail.com> wrote:
> > PHK's ideal world, I also share it.
> >
> > However, it is not understood whether it is contained in the present
> > WG charter.
> > I still think that our goal is ambiguous.
> >
> > To speak of extremes, we have a two targets.
> >
> > 1)
> > Efficiency is improved. and compatibility is maintained as much as
> possible.
> > 2)
> > The ideal which deserves HTTP/2.0 and which can be used for 20 years
> > or more is aimed at.
> >
> > These are not contrary.
> > We have to pursue the both as much as possible.
> > But, The semantics must not change.
> >
> > I think that the name of HTTP/2.0 is making a goal difficultly.
> >
> > I thinking...
> > ex) HTTP layer Session is necessity?
> >   If it is HTTP/1.1tris?
> >   If it is HTTP/1.2?
> >   and If it is HTTP/2.0?
> >
> > We need to deepen an concrete discussion more.
> >
> > --
> > HAYASHI, Tatsuya
> > Lepidum Co. Ltd.
> >
> > On Sat, Jul 14, 2012 at 2:52 PM, Willy Tarreau <w@1wt.eu> wrote:
> >> On Fri, Jul 13, 2012 at 08:21:03PM -0700, Tim Bray wrote:
> >>> On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <
> phk@phk.freebsd.dk>wrote:
> >>>
> >>>
> >>> > TLS communication today already have an envelope consisting of
> >>> > IP# + TCP port numbers, and unless your adversary is totally
> >>> > incompetent, he also has the DNS lookup that gave you that IP#.
> >>> >
> >>> > QED: Putting the "Host:" in the HTTP envelope does not leak any
> >>> > information your adversary doesn't already have or can guess.
> >>> >
> >>>
> >>> That?s just not true.  There are lots of ways to get to a particular
> origin
> >>> server, and I would think that for a malicious person in the middle,
> the
> >>> Host header would be more interesting than the ostensible IP address.
>  On
> >>> the other hand, I do understand why a payload-oblivious load balancer
> would
> >>> need to see that header.  It is simply the case that we have two
> objectives
> >>> which are apparently in conflict. No, I don?t have a solution (or even
> a
> >>> strong opinion, yet, although I?m inclined to err on the side of
> protecting
> >>> user privacy at the expense of almost all else).  -Tim
> >>
> >> Well, TLS offers SNI which also reveals the Host header in clear text,
> so
> >> your extreme view of privacy doesn't seem to be shared as much wich even
> >> these guys. Also, building a protocol fortress that prevents anyone from
> >> implementing it in real life is an effective way of protecting user
> privacy
> >> since the user won't have access to anything and thus won't reveal his
> >> intents. Maybe some people would even consider that revealing they have
> >> access to the internet affects their privacy so they need an invisible
> >> connection... At one point a limit must be set, otherwise it becomes
> >> totally non-sense. Host and IP are reasonably interchangeable, are used
> >> for routing the protocol to its destination, and if someone doesn't want
> >> to show what host he's going to, he'd better leave the net. And if even
> >> the TLS guys accept this, then I think this is a much acceptable limit.
> >>
> >> Regards,
> >> Willy
> >>
> >>
>
>
>
> --
> Website: http://hallambaker.com/
>
>

--f46d04083adb9bdeac04c4d15440
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>I disagree with the claim that the current http charter is not designed =
for the next 20 years. It is, and spdy is.</p>
<p>I have yet to see any proposals of something better or missing from the =
current proposals. If there are better ideas, by all means raise them. Plea=
se be detailed and offer proof where possible.</p>
<p>Mike</p>
<div class=3D"gmail_quote">On Jul 14, 2012 2:02 PM, &quot;Phillip Hallam-Ba=
ker&quot; &lt;<a href=3D"mailto:hallam@gmail.com">hallam@gmail.com</a>&gt; =
wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If this is worth doing at all it is something that can be most easily<br>
performed in a HTTP/2.0 context where the whole legacy question<br>
becomes moot-ish<br>
<br>
<br>
<br>
On Sat, Jul 14, 2012 at 2:32 PM, HAYASHI, Tatsuya<br>
&lt;<a href=3D"mailto:lef.mutualauth@gmail.com">lef.mutualauth@gmail.com</a=
>&gt; wrote:<br>
&gt; PHK&#39;s ideal world, I also share it.<br>
&gt;<br>
&gt; However, it is not understood whether it is contained in the present<b=
r>
&gt; WG charter.<br>
&gt; I still think that our goal is ambiguous.<br>
&gt;<br>
&gt; To speak of extremes, we have a two targets.<br>
&gt;<br>
&gt; 1)<br>
&gt; Efficiency is improved. and compatibility is maintained as much as pos=
sible.<br>
&gt; 2)<br>
&gt; The ideal which deserves HTTP/2.0 and which can be used for 20 years<b=
r>
&gt; or more is aimed at.<br>
&gt;<br>
&gt; These are not contrary.<br>
&gt; We have to pursue the both as much as possible.<br>
&gt; But, The semantics must not change.<br>
&gt;<br>
&gt; I think that the name of HTTP/2.0 is making a goal difficultly.<br>
&gt;<br>
&gt; I thinking...<br>
&gt; ex) HTTP layer Session is necessity?<br>
&gt; =A0 If it is HTTP/1.1tris?<br>
&gt; =A0 If it is HTTP/1.2?<br>
&gt; =A0 and If it is HTTP/2.0?<br>
&gt;<br>
&gt; We need to deepen an concrete discussion more.<br>
&gt;<br>
&gt; --<br>
&gt; HAYASHI, Tatsuya<br>
&gt; Lepidum Co. Ltd.<br>
&gt;<br>
&gt; On Sat, Jul 14, 2012 at 2:52 PM, Willy Tarreau &lt;<a href=3D"mailto:w=
@1wt.eu">w@1wt.eu</a>&gt; wrote:<br>
&gt;&gt; On Fri, Jul 13, 2012 at 08:21:03PM -0700, Tim Bray wrote:<br>
&gt;&gt;&gt; On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp &lt;<a hre=
f=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; TLS communication today already have an envelope consisti=
ng of<br>
&gt;&gt;&gt; &gt; IP# + TCP port numbers, and unless your adversary is tota=
lly<br>
&gt;&gt;&gt; &gt; incompetent, he also has the DNS lookup that gave you tha=
t IP#.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; QED: Putting the &quot;Host:&quot; in the HTTP envelope d=
oes not leak any<br>
&gt;&gt;&gt; &gt; information your adversary doesn&#39;t already have or ca=
n guess.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That?s just not true. =A0There are lots of ways to get to a pa=
rticular origin<br>
&gt;&gt;&gt; server, and I would think that for a malicious person in the m=
iddle, the<br>
&gt;&gt;&gt; Host header would be more interesting than the ostensible IP a=
ddress. =A0On<br>
&gt;&gt;&gt; the other hand, I do understand why a payload-oblivious load b=
alancer would<br>
&gt;&gt;&gt; need to see that header. =A0It is simply the case that we have=
 two objectives<br>
&gt;&gt;&gt; which are apparently in conflict. No, I don?t have a solution =
(or even a<br>
&gt;&gt;&gt; strong opinion, yet, although I?m inclined to err on the side =
of protecting<br>
&gt;&gt;&gt; user privacy at the expense of almost all else). =A0-Tim<br>
&gt;&gt;<br>
&gt;&gt; Well, TLS offers SNI which also reveals the Host header in clear t=
ext, so<br>
&gt;&gt; your extreme view of privacy doesn&#39;t seem to be shared as much=
 wich even<br>
&gt;&gt; these guys. Also, building a protocol fortress that prevents anyon=
e from<br>
&gt;&gt; implementing it in real life is an effective way of protecting use=
r privacy<br>
&gt;&gt; since the user won&#39;t have access to anything and thus won&#39;=
t reveal his<br>
&gt;&gt; intents. Maybe some people would even consider that revealing they=
 have<br>
&gt;&gt; access to the internet affects their privacy so they need an invis=
ible<br>
&gt;&gt; connection... At one point a limit must be set, otherwise it becom=
es<br>
&gt;&gt; totally non-sense. Host and IP are reasonably interchangeable, are=
 used<br>
&gt;&gt; for routing the protocol to its destination, and if someone doesn&=
#39;t want<br>
&gt;&gt; to show what host he&#39;s going to, he&#39;d better leave the net=
. And if even<br>
&gt;&gt; the TLS guys accept this, then I think this is a much acceptable l=
imit.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Willy<br>
&gt;&gt;<br>
&gt;&gt;<br>
<br>
<br>
<br>
--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</blockquote></div>

--f46d04083adb9bdeac04c4d15440--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 15:06:22 2012
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 8F07E21F8629 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 15:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.282
X-Spam-Level: 
X-Spam-Status: No, score=-9.282 tagged_above=-999 required=5 tests=[AWL=1.317, BAYES_00=-2.599, 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 JjaZdGgqAdAF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 15:06:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E900D21F860F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 15:06:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqATV-0007P2-8W for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 22:06:05 +0000
Resent-Date: Sat, 14 Jul 2012 22:06:05 +0000
Resent-Message-Id: <E1SqATV-0007P2-8W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SqATN-0007OH-I4 for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 22:05:57 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SqATM-0006z2-LO for ietf-http-wg@w3.org; Sat, 14 Jul 2012 22:05:57 +0000
Received: by qcad1 with SMTP id d1so2944470qca.2 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 15:05:31 -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=b/6+rkQfFHJKiCgW7QFRHqBJeHJO6xZC3uudC8feH5o=; b=W6z0DHA8HT/qJcGJbSDujRNN44RqKudryXCx5IIOSVKUXXYdd0R7gUVh1vxXKa5EE/ gnTzMahse90wQIIAJQpXPWKN8EsK/ud3eoYsiaO45QUqxVKPcyx9W1sfuT6A7j3I6Eds 2uO3bJO49Fk2xA00pGAGgNJ5mFtrC+yssgTMBKmNtFOofnK6BDrn7wK+z7ySsTgcs8S5 ndw8UWku4KvmF5yG6I/mMZRw3+uq8936eqMm/HtzQi4BQN36KY+ht2zYZQy2cdL3s3Y+ M07xZk55QKLEoPmw6nLrtlU0Hes4996YSeIeHGbrMTbu8bdX2E8TrrY5ut/0ybXgP4sa ZLmQ==
MIME-Version: 1.0
Received: by 10.224.177.1 with SMTP id bg1mr11990556qab.68.1342303530843; Sat, 14 Jul 2012 15:05:30 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Sat, 14 Jul 2012 15:05:30 -0700 (PDT)
In-Reply-To: <20120714192215.GT16256@1wt.eu>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk> <20120714052933.GL16256@1wt.eu> <CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com> <20120714192215.GT16256@1wt.eu>
Date: Sun, 15 Jul 2012 07:05:30 +0900
Message-ID: <CAGipQFm8EA+4i+1g-6+uwnYR0j3nLsXP6kBekKxkHqDW2Mgu3w@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: ietf-http-wg@w3.org, Poul-Henning Kamp <phk@phk.freebsd.dk>,  James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=lef.mutualauth@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqATM-0006z2-LO 25173fe04571f5c4dfa3f49af89f5a06
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAGipQFm8EA+4i+1g-6+uwnYR0j3nLsXP6kBekKxkHqDW2Mgu3w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14200
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>

Dear Willy,

Response inline.

On Sun, Jul 15, 2012 at 4:22 AM, Willy Tarreau <w@1wt.eu> wrote:
>> > On a personal taste, I find it fast too. 4 months to provide proposals
>> > to replace the 15-year old HTTP/1, and 4 others to review them is short
>> > in my opinion. Roy did not even have the time to publish the Waka spec
>> > which could have brought a lot of fuel to the discussion !
>>
>> +1.
>> I think that it is an important point.
>> Should we make what is replaced with HTTP1?
>
> I'm not sure what you mean.

Sorry.
"HTTP/2.0" are the marks of a big change for me.
Probably it is the same also for many Web programmers.
For example, big change excited like "Waka".
I had imagined "Version Number" such.
So, My "replaced" was putting it.
In this short time, I think that it is difficult.

>> (Of course, compatibility is absolutely required.)
>
> Yes it is, but not necessarily on the wire.

I see.

>> Or is something added on HTTP1?
>
> We're not adding on top of HTTP1 but redesigning the on-wire protocol
> which is why it will not be called 1.x.

I understood.
Your opinion is also right.
My viewpoint was partial.

Neither SPDY nor other proposals are big change for many Web programmers.
They do not need to be conscious although it is important, of course.
But, Surely it is not called 1.x.

Hummmm...

Thanks!
Sincerely,
--
HAYASHI, Tatsuya
Lepidum Co. Ltd.


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 16:03:34 2012
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 DC4E721F85C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 16:03:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.87
X-Spam-Level: 
X-Spam-Status: No, score=-8.87 tagged_above=-999 required=5 tests=[AWL=0.529, BAYES_00=-2.599, J_CHICKENPOX_31=0.6, J_CHICKENPOX_41=0.6, 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 7ASu5+nGMfWF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 16:03:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0DDC321F850D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 16:03:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqBMF-0004E1-TL for ietf-http-wg-dist@listhub.w3.org; Sat, 14 Jul 2012 23:02:39 +0000
Resent-Date: Sat, 14 Jul 2012 23:02:39 +0000
Resent-Message-Id: <E1SqBMF-0004E1-TL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SqBM6-0004DE-Gy for ietf-http-wg@listhub.w3.org; Sat, 14 Jul 2012 23:02:30 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SqBM5-00006D-6D for ietf-http-wg@w3.org; Sat, 14 Jul 2012 23:02:30 +0000
Received: by qadb33 with SMTP id b33so1068268qad.2 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 16:02:03 -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=EPViG4IPbOoDwdL+wyxpWhtzLn0+szIr/h3twRy4v4U=; b=fDL+Vx9S0XtvbMFHWk2BqXianB1nqywI+5lzmPIWaYCeM9B2c8FrH9t+FcUu9dC4wD /MyhYZzgTFub/qMFQ7GaOEQmoJaHKWbzMKPUCzss5koNqrU9eOak4rjh6s1Tr5Ku1fMO 4nBrn0wfOa0IiItQEvL10EpvN1nPfG/VEOmXbfnlq0OSQd5ybYSzsuVhEXEEWMwVkpfL 3KcnD79EFNNEKGbbJekjJsQI0PLypD850dqwUHred97kVpI9BPeHszVdt066SCgMSmQi MH+wUoIdlXy7/TcyrIpu9BaAEYCwvN2cb+8eu6xvddTD0efO+QtPpd9IDsndN0N5jXMG vt6Q==
MIME-Version: 1.0
Received: by 10.224.177.1 with SMTP id bg1mr12185949qab.68.1342306923362; Sat, 14 Jul 2012 16:02:03 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Sat, 14 Jul 2012 16:02:03 -0700 (PDT)
In-Reply-To: <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu> <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com> <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com>
Date: Sun, 15 Jul 2012 08:02:03 +0900
Message-ID: <CAGipQFkFqeKoP8bD6Bhovo2K8-Wv2RxC0BrbvfERNEjBr9okRQ@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  Tim Bray <tbray@textuality.com>, James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.43; envelope-from=lef.mutualauth@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqBM5-00006D-6D 94a7041b09a3ab95e9b84f63c58d10a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/CAGipQFkFqeKoP8bD6Bhovo2K8-Wv2RxC0BrbvfERNEjBr9okRQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14201
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>

Hummm.
I think that it is right.

Thanks.

On Sun, Jul 15, 2012 at 6:00 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> If this is worth doing at all it is something that can be most easily
> performed in a HTTP/2.0 context where the whole legacy question
> becomes moot-ish
>
>
>
> On Sat, Jul 14, 2012 at 2:32 PM, HAYASHI, Tatsuya
> <lef.mutualauth@gmail.com> wrote:
>> PHK's ideal world, I also share it.
>>
>> However, it is not understood whether it is contained in the present
>> WG charter.
>> I still think that our goal is ambiguous.
>>
>> To speak of extremes, we have a two targets.
>>
>> 1)
>> Efficiency is improved. and compatibility is maintained as much as possible.
>> 2)
>> The ideal which deserves HTTP/2.0 and which can be used for 20 years
>> or more is aimed at.
>>
>> These are not contrary.
>> We have to pursue the both as much as possible.
>> But, The semantics must not change.
>>
>> I think that the name of HTTP/2.0 is making a goal difficultly.
>>
>> I thinking...
>> ex) HTTP layer Session is necessity?
>>   If it is HTTP/1.1tris?
>>   If it is HTTP/1.2?
>>   and If it is HTTP/2.0?
>>
>> We need to deepen an concrete discussion more.
>>
>> --
>> HAYASHI, Tatsuya
>> Lepidum Co. Ltd.
>>
>> On Sat, Jul 14, 2012 at 2:52 PM, Willy Tarreau <w@1wt.eu> wrote:
>>> On Fri, Jul 13, 2012 at 08:21:03PM -0700, Tim Bray wrote:
>>>> On Fri, Jul 13, 2012 at 11:21 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:
>>>>
>>>>
>>>> > TLS communication today already have an envelope consisting of
>>>> > IP# + TCP port numbers, and unless your adversary is totally
>>>> > incompetent, he also has the DNS lookup that gave you that IP#.
>>>> >
>>>> > QED: Putting the "Host:" in the HTTP envelope does not leak any
>>>> > information your adversary doesn't already have or can guess.
>>>> >
>>>>
>>>> That?s just not true.  There are lots of ways to get to a particular origin
>>>> server, and I would think that for a malicious person in the middle, the
>>>> Host header would be more interesting than the ostensible IP address.  On
>>>> the other hand, I do understand why a payload-oblivious load balancer would
>>>> need to see that header.  It is simply the case that we have two objectives
>>>> which are apparently in conflict. No, I don?t have a solution (or even a
>>>> strong opinion, yet, although I?m inclined to err on the side of protecting
>>>> user privacy at the expense of almost all else).  -Tim
>>>
>>> Well, TLS offers SNI which also reveals the Host header in clear text, so
>>> your extreme view of privacy doesn't seem to be shared as much wich even
>>> these guys. Also, building a protocol fortress that prevents anyone from
>>> implementing it in real life is an effective way of protecting user privacy
>>> since the user won't have access to anything and thus won't reveal his
>>> intents. Maybe some people would even consider that revealing they have
>>> access to the internet affects their privacy so they need an invisible
>>> connection... At one point a limit must be set, otherwise it becomes
>>> totally non-sense. Host and IP are reasonably interchangeable, are used
>>> for routing the protocol to its destination, and if someone doesn't want
>>> to show what host he's going to, he'd better leave the net. And if even
>>> the TLS guys accept this, then I think this is a much acceptable limit.
>>>
>>> Regards,
>>> Willy
>>>
>>>
>
>
>
> --
> Website: http://hallambaker.com/

--
HAYASHI, Tatsuya
Lepidum Co. Ltd.


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 17:23:10 2012
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 04EC421F84B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 17:23:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.145
X-Spam-Level: 
X-Spam-Status: No, score=-9.145 tagged_above=-999 required=5 tests=[AWL=1.454, BAYES_00=-2.599, 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 QePQ84jDR0p4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 17:23:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B696D21F8460 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 17:23:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqCb6-0001lr-3a for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 00:22:04 +0000
Resent-Date: Sun, 15 Jul 2012 00:22:04 +0000
Resent-Message-Id: <E1SqCb6-0001lr-3a@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqCao-0001jm-1I for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 00:21:46 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqCam-0002xI-J5 for ietf-http-wg@w3.org; Sun, 15 Jul 2012 00:21:45 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2AC8522E1F4 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 20:21:21 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Date: Sun, 15 Jul 2012 10:21:18 +1000
References: <CA+pLO_h6wTyu+x5bcZrkVaBHMpE1DPpim9FdRhL3tgpHd1XJzw@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <CC798B0E-F613-4758-96EE-BC32957A09AD@mnot.net>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqCam-0002xI-J5 18e08d361e0f8ad6a641bf51758934ab
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: HTTP2 Expression of Interest [twitter]
Archived-At: <http://www.w3.org/mid/CC798B0E-F613-4758-96EE-BC32957A09AD@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14202
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>

Begin forwarded message:

> From: Jeff Pinner <jpinner@twitter.com>
> Subject: HTTP2 Expression of Interest
> Date: 14 July 2012 11:35:06 AM AEST
> To: mnot@mnot.net
> 
> Hi Mark,
> 
> Below is Twitter's response to the HTTP/2.0 Expression of Interest.
> Could you please forward it to the HTTPbis working group list.
> 
> Sincerely,
> Jeff Pinner
> Twitter, Inc.
> 
> 
> This is Twitter's response to the call for expressions of interest:
> http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI
> 
> 1. Introduction
> 
> Twitter brings people closer to the things they care about.
> 
> Twitter has implemented, deployed, and open sourced both the SPDY/v2
> and SPDY/v3 protocols and is interested in sharing our experience as
> well as participating in the development and eventual standardization
> of HTTP/2.0.
> 
> 2. Criteria for HTTP/2.0
> 
> 2.1 Multiplexing
> 
> In order to improve the performance of HTTP, we believe that
> multiplexing should be incorporated into the HTTP/2.0 specification.
> The performance gains achievable by the reduction in connection
> overhead, the pipelining of requests, and the ability to deliver
> responses out of order address many of the limitations of the HTTP/1.1
> specification. Multiplexing also helps alleviate the need for complex
> performance optimizations that attempt to work around these
> limitations.
> 
> 2.2 Encryption
> 
> Twitter strongly believes that the HTTP/2.0 specification should
> mandate transport layer encryption. The exchange of personal
> information across the web is only expected to increase, and the
> privacy and security afforded by encryption at the transport layer
> outweighs any difficulties in the implementation.
> 
> Twitter aims to secure all communication with its users, and is doing
> so using commodity hardware and openly-available software. We believe
> that the various reasons provided for not requiring protocol
> encryption are poor security practice, and that the necessary
> improvements to TLS and the CA model should not prevent encryption
> from being mandated in HTTP/2.0. Requiring encryption in the protocol
> is a step that protects against insecure design via omission or
> oversight.
> 
> 3. Assessment of the SPDY Protocol
> 
> 3.1 Multiplexing
> 
> SPDY provides multiplexing support that allows for both request
> pipelining and out-of-order response delivery. Coupled with request
> priority and per-stream flow control, this provides an effective
> mechanism to overcome many performance limitations of the HTTP/1.1
> specification.
> 
> 3.2 Compression
> 
> SPDY mandates the use of compression for the HTTP headers. We have
> found significant performance improvements due to the resulting
> reduction in message size and recommend that compression be mandated
> in the HTTP/2.0 specification. However, the additional benefit
> achieved through the use of the compression dictionary appears to only
> affect the initial message and thus does not seem to outweigh the
> additional complexity. We recommend that its adoption be more
> carefully considered.
> 
> 3.3 Versioning
> 
> The versioning scheme in the SPDY protocol is incomplete and is
> redundant when using NPN to negotiate the protocol.
> 
> 3.4 TLS
> 
> The SPDY protocol does not mandate the use of TLS, however most
> implementations negotiate the protocol using the NPN TLS extension. We
> recommend that the use of TLS be mandated and that the protocol be
> made compatible with the SNI TLS extension.
> 
> 4. Summary
> 
> Twitter recommends that the SPDY protocol be used as the basis for
> further work and eventual standardization as the HTTP/2.0
> specification with the additional requirement that transport layer
> encryption be mandated.

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





From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 20:40:39 2012
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 F3B5621F84FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 20:40:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 2QKrieQoewp5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 20:40:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 01B8A21F84FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 20:40: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 1SqFfr-0000ON-TN for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 03:39:11 +0000
Resent-Date: Sun, 15 Jul 2012 03:39:11 +0000
Resent-Message-Id: <E1SqFfr-0000ON-TN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <doug@fb.com>) id 1SqFfj-0000Nc-8W for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 03:39:03 +0000
Received: from mx0a-00082601.pphosted.com ([67.231.145.42]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <doug@fb.com>) id 1SqFfh-0007QE-71 for ietf-http-wg@w3.org; Sun, 15 Jul 2012 03:39:03 +0000
Received: from pps.filterd (m0004346 [127.0.0.1]) by mx0a-00082601.pphosted.com (8.14.4/8.14.4) with SMTP id q6F3Y3V8001481 for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 20:38:38 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=facebook; bh=cjMdaUUd/S0Qsaqxm1HKa6CEU/ydNf9eK3jVmIYgXag=; b=Z8FAYuYsi0J8zmKCZji4KZcpiLVq7RhFwFH6e7MnkpHQv2bfcNObLavLUZNI4hLxJhkU DHIJrKbeT4Uwgpkoej3dvA+1L1qVtoSj890BaPz41tcl2/eDiRPIcYn0Qkn3/ZVvMXLg Y5tW9mdhCWjLHB9WGtpr5uOo2lNgmAhjlqY= 
Received: from mail.thefacebook.com (corpout1.snc1.tfbnw.net [66.220.144.38]) by mx0a-00082601.pphosted.com with ESMTP id 163hwv0cwn-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <ietf-http-wg@w3.org>; Sat, 14 Jul 2012 20:38:38 -0700
Received: from SC-MBX02-1.TheFacebook.com ([fe80::e543:4f2a:16b1:b828]) by sc-hub04.TheFacebook.com ([192.168.18.212]) with mapi id 14.02.0283.003; Sat, 14 Jul 2012 20:38:36 -0700
From: Doug Beaver <doug@fb.com>
To: "'ietf-http-wg@w3.org'" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: Ac1iOpqx4DFzpXgsRBy8qFt4jRKlkg==
Date: Sun, 15 Jul 2012 03:38:35 +0000
Message-ID: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.168.18.252]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.260,0.0.0000 definitions=2012-07-14_05:2012-07-13,2012-07-14,1970-01-01 signatures=0
X-Proofpoint-Spam-Reason: safe
Received-SPF: pass client-ip=67.231.145.42; envelope-from=doug@fb.com; helo=mx0a-00082601.pphosted.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqFfh-0007QE-71 ea70a01cc1fde4904fdc1044976e969e
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14203
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>

This is Facebook's response to the call for expressions of interest
in HTTP/2.0: http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI

1. Introduction

Facebook's mission is to give people the power to share and make the
world more open and connected. =A0Our web and mobile applications are
used by well over 900 million users worldwide.

At Facebook, we serve HTTP/1.1 from a globally distributed
infrastructure that operates at large scales. =A0We are interested in
sharing our experiences and plan to actively participate in the
development of HTTP/2.0.

We currently are implementing SPDY/v2, due to the availability of
browser support and the immediate gains we expect to reap. =A0Although
we have not run SPDY in production yet, our implementation is almost
complete and we feel qualified to comment on SPDY from the
implementor's perspective.  We are planning to deploy SPDY widely at
large scale and will share our deployment experiences as we gain them.

The remainder of this response presents a protocol-neutral summary of
what we need in the next generation of HTTP, followed by an assessment
of each of the three current HTTP/2.0 proposals.

2. Criteria for the Next Version of HTTP

In order to provide faster and more secure online services to our
users, the features we need in HTTP/2.0 are:

=A0 * Multiplexing
=A0 * Transport layer encryption
=A0 * Zero-latency upgrade
=A0 * Per-request flow control
=A0 * Server push

2.1 Multiplexing

Like many large web companies, we have invested in content packaging
mechanisms to reduce the number of round trips required to download a
web page. =A0While this has worked reasonably well for us, we see two
problems:

=A0 * Many of the best practices in web performance optimization - for
=A0 =A0 example, image spriting and domain sharding - are workarounds for
=A0 =A0 HTTP 1.1's lack of widely-usable pipelining. =A0The next version of
=A0 =A0 the HTTP should fix that.
=A0 * The complexity of these workarounds has limited their adoption.
=A0 =A0 We want the whole web to be faster, not just our own site.

Thus we recently rebuilt our internal HTTP framework to support
multiplexing of many independent requests per connection, and we plan
to use this framework to support SPDY and the eventual HTTP/2.0
standard.

2.2 Transport layer encryption

We feel strongly that HTTP/2.0 should require transport encryption,
and we acknowledge that this position is potentially controversial.

RFC 2616 likely will be at least 15 years old by the time HTTP/2.0 is
ratified. =A0Comparing the Internet of today to the Internet of the late
1990s, two trends stand out:

=A0 * The sophistication and surface area of attacks have grown
=A0 =A0 dramatically.
=A0 * The Internet user community has grown steadily, from a niche
=A0 =A0 in 1999 to a third of the world's population in 2012.

We can't forecast what the Web will look like in 10-15 years, but
based on history we can assume that more and more personal information
will be flowing between users and applications, and that the user
population will continue to grow.

Mandating transport layer encryption will make things harder for
implementors such as ourselves, but in return it will offer greater
privacy and safety to the billions of people who use the Web today and
in the years to come. =A0We think this is a good thing.

At present, TLS is the pragmatic choice for encrypting the transport
due to its widespread implementation in the existing Web
infrastructure. We do not see the need to mandate TLS itself; if there
is an improved protocol in the future that supports both
authentication and encryption, that would be fine to use as well.

Regarding our deployment experience, we have deployed TLS at a large
scale using both hardware and software load balancers. We have found
that modern software-based TLS implementations running on commodity
CPUs are fast enough to handle heavy HTTPS traffic load without
needing to resort to dedicated cryptographic hardware. We serve all of
our HTTPS traffic using software running on commodity hardware.

2.3 Zero-latency upgrade

Some of the current HTTP/2.0 proposals use the HTTP/1.1 Upgrade header
to negotiate the use of HTTP/2.0. =A0We prefer the TLS NPN extension,
because it allows the immediate use of HTTP/2.0 on a newly established
TLS connection without an additional network round trip for the
upgrade.

2.4 Per-request flow control

HTTP proxying is an inherent part of our large, distributed
infrastructure. =A0The ability to multiplex HTTP streams from many
clients into a shared upstream transport is good for performance,
especially if there is a high network latency between the proxy and
the upstream server. =A0But different clients will produce and consume
data at different rates, so it is important to have per-stream flow
control.

2.5 Server push

We provide real-time, user-to-user text messaging on multiple
platforms via multiple protocols. =A0For HTTP clients, we use long
polling and streamed, chunked responses (one chunk per message) as a
lowest common denominator solution. =A0This solution works, but it moves
a lot of protocol processing complexity into client-side JavaScript.
We are interested in the development of a standardized server push
mechanism to replace long polling in HTTP/2.0

A subtle but important requirement for applications such as web-based
chat is that data sent from the server must be pushed without delay.
We would like to see the inclusion in HTTP/2.0 of a "no buffering"
flag at either the message or the chunk level, to indicate to the
recipient and any intermediaries that the flagged content should not
be delayed for buffering or I/O-coalescing purposes.

3. Assessment of the HTTP/2.0 Proposals

3.1 SPDY

We are implementing SPDY and plan to deploy it widely in two roles:
speaking HTTP directly to users, and enabling faster communication
between geographically distant web servers on our network. Of the
three proposals, we believe it is the best basis for further work due
to the variety of client and server implementations, its proven usage
at large scale, and its full support for our HTTP 2.0 criteria.

Assessment using our criteria:

=A0 * Multiplexing: supported
=A0 * Transport layer encryption: While SPDY currently does not
=A0 =A0 require an encrypted transport, current client implementations
=A0 =A0 implement SPDY over TLS.
=A0 * Zero latency upgrade: TLS NPN -- not required by the current
=A0 =A0 SPDY draft, but used by current implementations -- allows the
=A0 =A0 negotiation of SPDY or HTTP/1.1 with no extra network round
=A0 =A0 trips.
=A0 * Per-request flow control: supported in SPDY/3
=A0 * Server push: supported

Additional considerations:

Of the three HTTP/2.0 proposals, SPDY currently is the one with the
largest user base, due to its inclusion in Firefox 13 and Chrome.

SPDY's header compression is a good, general-purpose solution, and
gzip is a good starting point, but we would prefer to see a more
lightweight compression algorithm for the HTTP/2.0 standard.

3.2 HTTP Speed+Mobility

We have not implemented HTTP Speed+Mobility, and we currently do not
plan to implement it. There is no sizable deployment of either clients
or servers, and it is missing features we feel are required.

Assessment using our criteria:

=A0 * Multiplexing: supported
=A0 * Transport layer encryption: missing
=A0 * Zero latency upgrade: missing
=A0 * Per-request flow control: supported
=A0 * Server push: missing, but highlighted as a recommended area
=A0 =A0 for additional development

Additional considerations:

HTTP Speed+Mobility's dependence on the HTTP Upgrade header is a
problem for us because it adds an additional network round trip in a
very common use case: loading several small, static resources from a
CDN. =A0Section 1.4 of the HTTP Speed+Mobility proposal notes the need
to tunnel the WebSockets stream over TLS when there is an
"incompatible proxy" (i.e. a proxy not known to support HTTP/2.0)
between the client and server. =A0We agree, and therefore the following
comparison uses TLS:

=A0 * SPDY: 4 x RTT minimum elapsed time to fetch N resources on a
=A0 =A0 new connection (without TLS session resumption or False Start) :
=A0 =A0 TCP handshake plus 2 RTT for TLS handshake with NPN, plus
=A0 =A0 1 RTT to fetch the resources.
=A0 * HTTP Speed+Mobility: 5 x RTT minimum elapsed time: TCP handshake,
=A0 =A0 2 RTT for TLS handshake, 1 RTT to fetch the first resource via
=A0 =A0 HTTP/1.1 with "Upgrade: websocket," and 1 RTT to fetch the
=A0 =A0 remaining N-1 resources.

3.3 Network-Friendly HTTP Upgrade

We have not implemented Network-Friendly HTTP Upgrade, and we
currently do not plan to implement it, due to the incompleteness of
the specification and the lack of client implementations.

Assessment using our criteria:

=A0 * Multiplexing: supported
=A0 * Transport layer encryption: missing
=A0 * Zero latency upgrade: missing
=A0 * Per-request flow control: missing; Section 2 suggests that
=A0 =A0 this is a TBD item
=A0 * Server push: missing

Additional considerations:

Network-Friendly HTTP Upgrade uses a Transport Header Frame to
communicate headers that will be the same for every request on the
connection. =A0While this is a good solution for the connection between
a browser and a load balancer it does not work between the load
balancer and an upstream web server, where requests from different
clients may be multiplexed onto the same connection.

The use of a registry for well-known header field names would allow
for compact encoding of those names, but we foresee interoperability
problems as new fields are added. =A0A client will not be able to use
the assigned numeric code for a new field without knowing whether the
server also knows about it.

4.0 Summary

We at Facebook are enthusiastic about the potential for an HTTP/2.0
standard that will deliver enhanced speed and safety for Web users.

Of the three proposals, we recommend the use of SPDY as the basis for
development of the HTTP/2.0 specification, but feel that the
requirement for a secure transport must be added. We plan to continue
developing and optimizing our HTTP, TLS, and SPDY implementations and
are deploying them on a global scale. We look forward to sharing our
experiences with the community.


From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 23:37:09 2012
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 55A0F21F84EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 23:37:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.169
X-Spam-Level: 
X-Spam-Status: No, score=-9.169 tagged_above=-999 required=5 tests=[AWL=1.430, BAYES_00=-2.599, 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 MMmcXcfTIbl6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 23:37:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 063B921F84EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 23:37:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqIQx-0004R9-Vl for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 06:35:59 +0000
Resent-Date: Sun, 15 Jul 2012 06:35:59 +0000
Resent-Message-Id: <E1SqIQx-0004R9-Vl@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqIQo-0004QJ-VL for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 06:35:50 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqIQn-0002hT-DB for ietf-http-wg@w3.org; Sun, 15 Jul 2012 06:35:50 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6F6Z4Uc021526; Sun, 15 Jul 2012 08:35:04 +0200
Date: Sun, 15 Jul 2012 08:35:04 +0200
From: Willy Tarreau <w@1wt.eu>
To: Doug Beaver <doug@fb.com>
Cc: "'ietf-http-wg@w3.org'" <ietf-http-wg@w3.org>
Message-ID: <20120715063504.GU16256@1wt.eu>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqIQn-0002hT-DB 8a39a4535f1af50819f8c3662ab09f49
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/20120715063504.GU16256@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14204
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>

Hello Doug,

I have a few comments and questions below.

On Sun, Jul 15, 2012 at 03:38:35AM +0000, Doug Beaver wrote:
> 2.2 Transport layer encryption
> 
> We feel strongly that HTTP/2.0 should require transport encryption,
> and we acknowledge that this position is potentially controversial.
> 
> RFC 2616 likely will be at least 15 years old by the time HTTP/2.0 is
> ratified.  Comparing the Internet of today to the Internet of the late
> 1990s, two trends stand out:
> 
>   * The sophistication and surface area of attacks have grown
>     dramatically.
>   * The Internet user community has grown steadily, from a niche
>     in 1999 to a third of the world's population in 2012.
> 
> We can't forecast what the Web will look like in 10-15 years, but
> based on history we can assume that more and more personal information
> will be flowing between users and applications, and that the user
> population will continue to grow.
> 
> Mandating transport layer encryption will make things harder for
> implementors such as ourselves, but in return it will offer greater
> privacy and safety to the billions of people who use the Web today and
> in the years to come.  We think this is a good thing.

I don't want to start the encryption debate in this thread, but since you
have a fairly balanced approach, I'd like to note that at the moment, almost
100% of stolen user information is been done on encryption-protected services,
whether it is bank account credentials or webmail credentials or information.
The issue always comes from malware running on the PC, infecting the browser
and stealing the information at the human interface. However, users feel
safer because they see the SSL lock. And it's not always the browser, as
there was a report of stolen webmail information in TLS traffic in a certain
country when a CA was broken and new certs for a number of large sites were
emitted.

Also, you said that it could make things harder for you, but did you
evaluate only the front access or also the protocol used between your
load balancers and backend servers ? I'm asking because there is a
difference between mandating the use of encryption in browsers and
designing the protocol based on this. For instance, WebSocket has the
masking flag mandatory on upstream traffic but the protocol supports
not having it between servers.

Basically, since all sensible sites already make use of TLS, I don't think
we can make them safer by mandating use of TLS for them. However mandating
use of TLS will make it harder to work on the backend, it will very often
be a counter-productive effort which increases costs a lot (cert managing,
troubleshooting, etc) with no added benefit.

(...)
> 2.5 Server push
> 
> We provide real-time, user-to-user text messaging on multiple
> platforms via multiple protocols.  For HTTP clients, we use long
> polling and streamed, chunked responses (one chunk per message) as a
> lowest common denominator solution.  This solution works, but it moves
> a lot of protocol processing complexity into client-side JavaScript.
> We are interested in the development of a standardized server push
> mechanism to replace long polling in HTTP/2.0
> 
> A subtle but important requirement for applications such as web-based
> chat is that data sent from the server must be pushed without delay.
> We would like to see the inclusion in HTTP/2.0 of a "no buffering"
> flag at either the message or the chunk level, to indicate to the
> recipient and any intermediaries that the flagged content should not
> be delayed for buffering or I/O-coalescing purposes.

I think that what you're describing here precisely is what WebSocket
offers, but I may be wrong, depending on your precise use-cases. It
implicitly offers server push in the sense you're describing it (push
of any data, not HTTP objects), and automatically offers the no-buffering
flag because when HTTP gateways switch to WebSocket, they know this
is interactive traffic and stop buffering. I think your description
confirms the need to unify the transport layer to support both HTTP
and WS at the same time in the same connection.

> 3. Assessment of the HTTP/2.0 Proposals
> 3.3 Network-Friendly HTTP Upgrade
> 
> We have not implemented Network-Friendly HTTP Upgrade, and we
> currently do not plan to implement it, due to the incompleteness of
> the specification and the lack of client implementations.

Note that its incompleteness was intentional as it was not meant to be
a complete proposal but just to study alternative compression and upgrade
schemes only.

> Assessment using our criteria:
> 
>   * Multiplexing: supported
>   * Transport layer encryption: missing

Encryption only relies on the transport layer here so that we can still
support non-encrypted traffic between servers (think webservices etc...).

>   * Zero latency upgrade: missing

A solution for this is presented in paragraph 5 of the spec. Zero latency
upgrade is mandatory in my opinion, we cannot afford to waste one round
trip on mobile terminals. As it is suggested, the protocol also supports
zero-latency fallback, which is equally important in the many environments
which won't support HTTP/2 at the beginning : you don't want to waste a
round trip to retry on HTTP/1 when you see the HTTP/2 connection has failed.

> Additional considerations:
> 
> Network-Friendly HTTP Upgrade uses a Transport Header Frame to
> communicate headers that will be the same for every request on the
> connection.  While this is a good solution for the connection between
> a browser and a load balancer it does not work between the load
> balancer and an upstream web server, where requests from different
> clients may be multiplexed onto the same connection.

In recent works, we have noted that this offers minimal benefit. Basically,
you'd have only the Via and Host headers, which is useless. However, we
also know that what flows between a load balancer and a server is much
less sensible to latency. Right now this is almost always 1 or 10 Gbps
connectivity through a single switch. Our recent experiments have shown
that we can get rid of this transport header classification without making
a compromise on performance.

> The use of a registry for well-known header field names would allow
> for compact encoding of those names, but we foresee interoperability
> problems as new fields are added.  A client will not be able to use
> the assigned numeric code for a new field without knowing whether the
> server also knows about it.

It's just a matter of protocol versioning. We already have a registry of
HTTP headers and it works well enough. An HTTP version would mandate one
encoding and clients would respect this encoding. For tentatively new
headers, they would be sent in clear text form until the connection
suggests that the version is high enough to send them in raw form. Also,
it has apparently worked well for WAP and I think that we could restart
from this encoding instead of reinventing a fresh new one (maybe it needs
a bit of refreshing though).

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sat Jul 14 23:39:10 2012
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 ACE6121F852A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 23:39:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.889
X-Spam-Level: 
X-Spam-Status: No, score=-9.889 tagged_above=-999 required=5 tests=[AWL=0.710, BAYES_00=-2.599, 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 Kdyod7QUjDUr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 14 Jul 2012 23:39:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 16D6721F84EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 14 Jul 2012 23:39:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqITb-0004f5-Uz for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 06:38:43 +0000
Resent-Date: Sun, 15 Jul 2012 06:38:43 +0000
Resent-Message-Id: <E1SqITb-0004f5-Uz@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqITU-0004c3-6e for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 06:38:36 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqITI-0002pp-OY for ietf-http-wg@w3.org; Sun, 15 Jul 2012 06:38:34 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 3F34FE6F91 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 18:37:51 +1200 (NZST)
Message-ID: <50026533.9060502@treenet.co.nz>
Date: Sun, 15 Jul 2012 18:37:39 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk> <20120714052933.GL16256@1wt.eu> <CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com> <20120714192215.GT16256@1wt.eu> <CAGipQFm8EA+4i+1g-6+uwnYR0j3nLsXP6kBekKxkHqDW2Mgu3w@mail.gmail.com>
In-Reply-To: <CAGipQFm8EA+4i+1g-6+uwnYR0j3nLsXP6kBekKxkHqDW2Mgu3w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqITI-0002pp-OY c3864018e60820547858e070d4e41ea1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50026533.9060502@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14205
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/07/2012 10:05 a.m., HAYASHI, Tatsuya wrote:
> Dear Willy,
>
> Response inline.
>
> On Sun, Jul 15, 2012 at 4:22 AM, Willy Tarreau <w@1wt.eu> wrote:
>>>> On a personal taste, I find it fast too. 4 months to provide proposals
>>>> to replace the 15-year old HTTP/1, and 4 others to review them is short
>>>> in my opinion. Roy did not even have the time to publish the Waka spec
>>>> which could have brought a lot of fuel to the discussion !
>>> +1.
>>> I think that it is an important point.
>>> Should we make what is replaced with HTTP1?
>> I'm not sure what you mean.
> Sorry.
> "HTTP/2.0" are the marks of a big change for me.
> Probably it is the same also for many Web programmers.
> For example, big change excited like "Waka".
> I had imagined "Version Number" such.
> So, My "replaced" was putting it.
> In this short time, I think that it is difficult.

"Big change", but in what way? ....

If the next protocol were to be called HTTP/1.2 we would be forced to:
- use plain text lines limited toASCII charset ending in CRLF
- use full-name headers in human readable format
- support all the human-readable date formats, mime type formats, 
options names etc.
- use strict one request message followed by one response body stateless 
sequence

In short, we would be forced to NOT fix any of the real performance 
problems visible in HTTP/1.


"2.0" is a BIG change for the incoming stream parsers and outgoing byte 
packers. Flow control, input validation, messaging and potential future 
extensions are also affected in a big way. With just binary framing 
change, no new features, no new headers, no new anything else but framing.

Hopefully the result will be a BIG change towards simplicity. But only 
time will tell about that.

AYJ


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 00:24:09 2012
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 D116721F8585 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 00:24:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 4FKvAyQaZULt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 00:24:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4AE2C21F8582 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 00:24:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqJAj-00050U-Nd for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 07:23:17 +0000
Resent-Date: Sun, 15 Jul 2012 07:23:17 +0000
Resent-Message-Id: <E1SqJAj-00050U-Nd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqJAc-0004zj-EI for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 07:23:10 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqJAY-0003jN-QV for ietf-http-wg@w3.org; Sun, 15 Jul 2012 07:23:08 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id AB72C3B767; Sun, 15 Jul 2012 07:22:44 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6F77A98053011; Sun, 15 Jul 2012 07:07:13 GMT (envelope-from phk@phk.freebsd.dk)
To: Amos Jeffries <squid3@treenet.co.nz>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 15 Jul 2012 18:37:39 +1200." <50026533.9060502@treenet.co.nz>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sun, 15 Jul 2012 07:07:10 +0000
Message-ID: <53010.1342336030@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqJAY-0003jN-QV c3fd4e109a4bdb41c88444f4a677a75c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/53010.1342336030@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14206
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>

In message <50026533.9060502@treenet.co.nz>, Amos Jeffries writes:

>Hopefully the result will be a BIG change towards simplicity. But only 
>time will tell about that.

I don't see any signs of that anywhere, care to elaborate what you
base your hope on ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 00:29:38 2012
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 732E321F85A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 00:29:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.623
X-Spam-Level: 
X-Spam-Status: No, score=-9.623 tagged_above=-999 required=5 tests=[AWL=0.975, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 VnqSqw8-EM+Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 00:29:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6A41321F84B9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 00:29:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqJGi-0006ro-TX for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 07:29:28 +0000
Resent-Date: Sun, 15 Jul 2012 07:29:28 +0000
Resent-Message-Id: <E1SqJGi-0006ro-TX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SqJGa-0006r3-QJ for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 07:29:20 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SqJGV-0003sl-UJ for ietf-http-wg@w3.org; Sun, 15 Jul 2012 07:29:18 +0000
Received: by wibhm6 with SMTP id hm6so1520135wib.8 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 00:28:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HEOvkrsPfwGS4ZR0IpzKRxajip1gSOQTKaVnHw+ocxQ=; b=uPXqwlDn/FN8KVfW7Tikjkq8bQHc530Ih0S4xyxhHW0L4Xmh44e0tGUTLVAHYgItBJ bNrcQTNsr1R3WXzqejBqoSaW4Of0xZnhQk/vprgeApEdKI6Ms0vxYyY/JOx8KNNbcBLk KD8QHgCbSChauzOYZN4f8YA0/1ZE6QbCDwgcmVGFF1pGckG2ujMNX4hl8FRSRLuO0jyC oXiXV6Vs41ADLMYC+Sw8jUBygDt4kmXWWfMpsPXzMDs1Rk0+HMYLI+rxGlopLO3sNIeX GduDt37GmTJ6ObfsJZkJrGcES0pVPByF9LjNzohskFSp6lPJIkWDwRWmb72ZPhBcogOp tSUA==
Received: by 10.216.237.193 with SMTP id y43mr3888517weq.75.1342337329303; Sun, 15 Jul 2012 00:28:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Sun, 15 Jul 2012 00:28:29 -0700 (PDT)
In-Reply-To: <20120715063504.GU16256@1wt.eu>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu>
From: James M Snell <jasnell@gmail.com>
Date: Sun, 15 Jul 2012 00:28:29 -0700
Message-ID: <CABP7Rbc2RYbo_eXLQM8gWbhoRkEZ_ewBsJN864ZyjR=3x0+L8Q@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0015175774feae91c204c4d94304
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqJGV-0003sl-UJ 429cb8eb413e45ec009d8e6d710f8327
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABP7Rbc2RYbo_eXLQM8gWbhoRkEZ_ewBsJN864ZyjR=3x0+L8Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14207
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>

--0015175774feae91c204c4d94304
Content-Type: text/plain; charset=UTF-8

On Sat, Jul 14, 2012 at 11:35 PM, Willy Tarreau <w@1wt.eu> wrote:

> [snip]
>
> > The use of a registry for well-known header field names would allow
> > for compact encoding of those names, but we foresee interoperability
> > problems as new fields are added.  A client will not be able to use
> > the assigned numeric code for a new field without knowing whether the
> > server also knows about it.
>
> It's just a matter of protocol versioning. We already have a registry of
> HTTP headers and it works well enough. An HTTP version would mandate one
> encoding and clients would respect this encoding. For tentatively new
> headers, they would be sent in clear text form until the connection
> suggests that the version is high enough to send them in raw form. Also,
> it has apparently worked well for WAP and I think that we could restart
> from this encoding instead of reinventing a fresh new one (maybe it needs
> a bit of refreshing though).
>
>
For the sake of discussion, use of a numeric code does not necessarily
introduce an interop challenge if must-ignore semantics are employed and
clearly spelled out. Assume, just for illustrative purposes, that we have
an IANA registry of headers. Each is assigned a numeric value and a code
page, represented by a single 16-bit integer. The first 4-bits represent
the code page, the remaining 12-bits represent the specific registered
header within the page. This should give us WAY more than enough room for
growth for new headers

 [0000] [0000 0000 0000]
  (CP)        (ID)

Let's also assume that the registrar is responsible for assigning the
specific ids to the header on a first-come-first-serve basis (unlike the
current scheme employed for status codes where spec authors just kind of
guess at one to use).

Now, let's say that code page 0 represents Registered "Must Understand"
headers. These are ones that tend to be critical to the basic operation of
the protocol, where failure to properly handle them could cause significant
issues. Code pages 1-9 represent registered "Must Ignore" headers... these
are ones that are known to be safe to ignore if they are not understood.
Code pages 10-15 are private use, with 10 being reserved for "Must
Understand" Private headers and the rest being must ignore. Everything in
the >= 10 range does not get registered, but applications would run the
risk of conflicts.

Suppose an application sends a message that contains a new CP#1 header that
the recipient does not understand. Seeing that it's CP#1, and seeing that
it's incapable of understanding the header, the server can reject the
message. However, suppose the application sends a message containing a new
CP#2-9 header or CP#11-15 header. If the server doesn't understand the new
header, it simply ignores it. If the application sends a new CP#10 header
that the server doesn't understand, the server rejects it.

Following such a scheme, clients or servers would be able to make use of
new header id's without having to know in advance if the header is
supported. There are, of course, a number of issues that could arise out of
this kind of scheme, but overall it should demonstrate that the use of
numeric codes does not necessarily impede interoperability.

The one significant area where it could fall apart is on
HTTP/2.0<==>HTTP/1.1 conversion, where the intermediary has to be able to
map the numeric identifiers to specific text labels. If the intermediary
sees a new CP#1 header that it doesn't understand and can't map, it would
have no choice but to return an error. If, however, it sees a header within
a must-ignore CP, and it's not able to map that header, it could either (a)
drop it silently or (b) provide some alternative generic encoding for that
header and let the recipient attempt to sort it out.

- James



> Best regards,
> Willy
>
>
>

--0015175774feae91c204c4d94304
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Sat, Jul 14, 2012 at 11:35 PM, Willy Tarr=
eau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1=
wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

[snip]<br>
<div class=3D"im"><br>
&gt; The use of a registry for well-known header field names would allow<br=
>
&gt; for compact encoding of those names, but we foresee interoperability<b=
r>
&gt; problems as new fields are added. =C2=A0A client will not be able to u=
se<br>
&gt; the assigned numeric code for a new field without knowing whether the<=
br>
&gt; server also knows about it.<br>
<br>
</div>It&#39;s just a matter of protocol versioning. We already have a regi=
stry of<br>
HTTP headers and it works well enough. An HTTP version would mandate one<br=
>
encoding and clients would respect this encoding. For tentatively new<br>
headers, they would be sent in clear text form until the connection<br>
suggests that the version is high enough to send them in raw form. Also,<br=
>
it has apparently worked well for WAP and I think that we could restart<br>
from this encoding instead of reinventing a fresh new one (maybe it needs<b=
r>
a bit of refreshing though).<br>
<br></blockquote><div><br></div><div>For the sake of discussion, use of a n=
umeric code does not necessarily introduce an interop challenge if must-ign=
ore semantics are employed and clearly spelled out. Assume, just for illust=
rative purposes, that we have an IANA registry of headers. Each is assigned=
 a numeric value and a code page, represented by a single 16-bit integer. T=
he first 4-bits represent the code page, the remaining 12-bits represent th=
e specific registered header within the page. This should give us WAY more =
than enough room for growth for new headers</div>

<div><br></div><div><font face=3D"courier new, monospace">=C2=A0[0000] [000=
0 0000 0000]</font></div><div><font face=3D"courier new, monospace">=C2=A0 =
(CP) =C2=A0 =C2=A0 =C2=A0 =C2=A0(ID)</font></div><div><br></div><div>Let&#3=
9;s also assume that the registrar is responsible for assigning the specifi=
c ids to the header on a first-come-first-serve basis (unlike the current s=
cheme employed for status codes where spec authors just kind of guess at on=
e to use).</div>

<div><br></div><div>Now, let&#39;s say that code page 0 represents Register=
ed &quot;Must Understand&quot; headers. These are ones that tend to be crit=
ical to the basic operation of the protocol, where failure to properly hand=
le them could cause significant issues. Code pages 1-9 represent registered=
 &quot;Must Ignore&quot; headers... these are ones that are known to be saf=
e to ignore if they are not understood. Code pages 10-15 are private use, w=
ith 10 being reserved for &quot;Must Understand&quot; Private headers and t=
he rest being must ignore. Everything in the &gt;=3D 10 range does not get =
registered, but applications would run the risk of conflicts.=C2=A0</div>

<div><br></div><div>Suppose an application sends a message that contains a =
new CP#1 header that the recipient does not understand. Seeing that it&#39;=
s CP#1, and seeing that it&#39;s incapable of understanding the header, the=
 server can reject the message. However, suppose the application sends a me=
ssage containing a new CP#2-9 header or CP#11-15 header. If the server does=
n&#39;t understand the new header, it simply ignores it. If the application=
 sends a new CP#10 header that the server doesn&#39;t understand, the serve=
r rejects it.</div>

<div><br></div><div>Following such a scheme, clients or servers would be ab=
le to make use of new header id&#39;s without having to know in advance if =
the header is supported. There are, of course, a number of issues that coul=
d arise out of this kind of scheme, but overall it should demonstrate that =
the use of numeric codes does not necessarily impede interoperability.</div=
>

<div><br></div><div>The one significant area where it could fall apart is o=
n HTTP/2.0&lt;=3D=3D&gt;HTTP/1.1 conversion, where the intermediary has to =
be able to map the numeric identifiers to specific text labels. If the inte=
rmediary sees a new CP#1 header that it doesn&#39;t understand and can&#39;=
t map, it would have no choice but to return an error. If, however, it sees=
 a header within a must-ignore CP, and it&#39;s not able to map that header=
, it could either (a) drop it silently or (b) provide some alternative gene=
ric encoding for that header and let the recipient attempt to sort it out.<=
/div>

<div><br></div><div>- James</div><div><br></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
Best regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>

--0015175774feae91c204c4d94304--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 01:16:35 2012
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 C835521F85CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 01:16:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.736
X-Spam-Level: 
X-Spam-Status: No, score=-8.736 tagged_above=-999 required=5 tests=[AWL=1.862, BAYES_00=-2.599, 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 4kgLPSnpiGuF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 01:16:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9D99121F85A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 01:16:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqJzs-0003Nx-VG for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 08:16:08 +0000
Resent-Date: Sun, 15 Jul 2012 08:16:08 +0000
Resent-Message-Id: <E1SqJzs-0003Nx-VG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SqJzl-0003N7-23 for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 08:16:01 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SqJzj-00057E-VA for ietf-http-wg@w3.org; Sun, 15 Jul 2012 08:16:01 +0000
Received: (qmail invoked by alias); 15 Jul 2012 08:15:33 -0000
Received: from p54BB3236.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.50.54] by mail.gmx.net (mp039) with SMTP; 15 Jul 2012 10:15:33 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18C5gNICBoCKg/GTEQxOfGHpQhEe1dN0WkcbPHO57 GEpvEaUB7Yfb8z
Message-ID: <50027C23.80603@gmx.de>
Date: Sun, 15 Jul 2012 10:15:31 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Phillip Hallam-Baker <hallam@gmail.com>, Willy Tarreau <w@1wt.eu>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>,  "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu> <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com> <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com> <CABaLYCsurdopPbkG1_w+pykEW=mQcTDkJrQMBR=kPN8FzXXERQ@mail.gmail.com>
In-Reply-To: <CABaLYCsurdopPbkG1_w+pykEW=mQcTDkJrQMBR=kPN8FzXXERQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqJzj-00057E-VA 11ac4f1e280a16d73eeffafa8482f85e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/50027C23.80603@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14208
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 2012-07-15 00:00, Mike Belshe wrote:
> I disagree with the claim that the current http charter is not designed
> for the next 20 years. It is, and spdy is.
>
> I have yet to see any proposals of something better or missing from the
> current proposals. If there are better ideas, by all means raise them.
> Please be detailed and offer proof where possible.
> ...

Oh, to find something "missing" is simple. For instance, SPDY does not 
fix the header character encoding issue that we have in 1.1.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 02:00:05 2012
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 394C121F85D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 02:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.978
X-Spam-Level: 
X-Spam-Status: No, score=-9.978 tagged_above=-999 required=5 tests=[AWL=0.621, BAYES_00=-2.599, 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 szf3s5MCaYvu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 02:00:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9930021F85BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 02:00:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqKfu-0002jZ-Sn for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 08:59:34 +0000
Resent-Date: Sun, 15 Jul 2012 08:59:34 +0000
Resent-Message-Id: <E1SqKfu-0002jZ-Sn@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqKfm-0002io-Go for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 08:59:26 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqKfl-0006Az-IF for ietf-http-wg@w3.org; Sun, 15 Jul 2012 08:59:26 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 25B09E6F91; Sun, 15 Jul 2012 20:58:59 +1200 (NZST)
Message-ID: <5002864C.6050209@treenet.co.nz>
Date: Sun, 15 Jul 2012 20:58:52 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: ietf-http-wg@w3.org
References: <53010.1342336030@critter.freebsd.dk>
In-Reply-To: <53010.1342336030@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqKfl-0006Az-IF e4dcbda06e09fc24bb87bba380b32740
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/5002864C.6050209@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14209
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/07/2012 7:07 p.m., Poul-Henning Kamp wrote:
> In message <50026533.9060502@treenet.co.nz>, Amos Jeffries writes:
>
>> Hopefully the result will be a BIG change towards simplicity. But only
>> time will tell about that.
> I don't see any signs of that anywhere, care to elaborate what you
> base your hope on ?
>

"Hope is hope. If we had reasons, it'd be called surety" - Anonymous.

We have the opportunity for reducing the HTTPbis specs into one spec 
which describeds the framing for HTTP/2 and flor controls. Leaving the 
rest of the protocol features out as separate optional extensions. There 
is hope, slim maybe, but hope.

AYJ



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 02:00:05 2012
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 C9D8B21F85BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 02:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.047
X-Spam-Level: 
X-Spam-Status: No, score=-10.047 tagged_above=-999 required=5 tests=[AWL=0.552, BAYES_00=-2.599, 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 PNVkx6x-9fFy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 02:00:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2753C21F85CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 02:00:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqKgB-0002lM-TN for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 08:59:51 +0000
Resent-Date: Sun, 15 Jul 2012 08:59:51 +0000
Resent-Message-Id: <E1SqKgB-0002lM-TN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqKg4-0002jg-JN for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 08:59:44 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqKg3-0006BF-JH for ietf-http-wg@w3.org; Sun, 15 Jul 2012 08:59:44 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 023ACE70BD; Sun, 15 Jul 2012 20:59:19 +1200 (NZST)
Message-ID: <50028661.9050105@treenet.co.nz>
Date: Sun, 15 Jul 2012 20:59:13 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: ietf-http-wg@w3.org
References: <53010.1342336030@critter.freebsd.dk>
In-Reply-To: <53010.1342336030@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqKg3-0006BF-JH 35d68ac5af64f12ac703a7c0d4dfdbd9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50028661.9050105@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14210
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/07/2012 7:07 p.m., Poul-Henning Kamp wrote:
> In message <50026533.9060502@treenet.co.nz>, Amos Jeffries writes:
>
>> Hopefully the result will be a BIG change towards simplicity. But only
>> time will tell about that.
> I don't see any signs of that anywhere, care to elaborate what you
> base your hope on ?
>

"Hope is hope. If we had reasons, it'd be called surety" - Anonymous.

We have the opportunity for reducing the HTTPbis specs into one spec 
which describes the framing for HTTP/2 and flow controls. Leaving the 
rest of the protocol features out as separate optional extensions. There 
is hope, slim maybe, but hope.

AYJ



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 03:03:34 2012
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 5A38621F8494 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:03:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.102
X-Spam-Level: 
X-Spam-Status: No, score=-10.102 tagged_above=-999 required=5 tests=[AWL=0.497, BAYES_00=-2.599, 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 LajA4BAtW5o8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:03:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6968D21F848F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 03:03:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqLf9-0003rj-NP for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 10:02:51 +0000
Resent-Date: Sun, 15 Jul 2012 10:02:51 +0000
Resent-Message-Id: <E1SqLf9-0003rj-NP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqLf1-0003qy-ID for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 10:02:43 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqLey-0007kO-Sa for ietf-http-wg@w3.org; Sun, 15 Jul 2012 10:02:43 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 75CE6E6F91 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 22:02:16 +1200 (NZST)
Message-ID: <50029522.5030705@treenet.co.nz>
Date: Sun, 15 Jul 2012 22:02:10 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqLey-0007kO-Sa 6d04215b94e40559521ce94b9185f839
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/50029522.5030705@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14211
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>

As the current Squid proxy maintainer this is my expression of interest 
in HTTP/2.0. It is made as an individual submission with a mind for the 
Squid Project and user community needs but due to the collaborative 
nature of the Squid Project does not represent the Project as a whole.


The Squid Project implements a general-use HTTP proxy with capabilities 
including but not limited to; caching, content adaptation, content 
generation and assembly, content filtering, access control, HTTP 
routing, HTTP and HTTPS interception, HTTP traffic quality of service 
flow controls, and traffic optimization.

The development of improved HTTP protocol in all forms is of high 
interest to the Squid Project. Fast and efficient proxy operations are 
of paramount interest for the Squid user community.


HTTP/1.1 issues

The Squid Project developers are aware of numerous issues surrounding 
syntax parsing and processing which complex handling limits the 
throughput capacity of proxy installations. These syntax parsing 
inefficiencies are directly impacting on the user community goal of high 
performance.

The Squid Project community has often expressed feedback complaints 
which after investigation turn out to be based on HTTP connection 
capabilities, largely inherited from HTTP/1.0 default connections-close 
behaviours but which also remain within HTTP/1.1 due to dynamic content 
and limitations with pipelining failure recovery. Improved connection 
multiplexing and pipelining is seen as a desirable behaviour for better 
performance by many within the Squid community.

HTTP/1 contains a few signalling issues which have on occasion led to 
inefficient designs being implemented to avoid problems. The 1XX status 
feature of HTTP/1 goes some way towards this. However a more efficient 
signalling feature is needed to raise the overall efficiency of HTTP.

HTTP/1 is implicitly limited to TCP-like stream transports. There have 
been user community proposals for extension to transmit HTTP over other 
protocols. These are echoed by a number of RFC proposals for alternative 
protocols to transfer the same resources over other datagram and 
security-oriented transfer protocols. The Squid user community includes 
groups with particular interests in such additional protocol underlays 
for HTTP and seeing any future deployments more flexible than the 
current infrastructure.


HTTP/2 interest

The Squid proxy implementation is driven by community contributions, 
with guidance from a group of core developers maintaining Project focus 
and consistency. As such I cannot speak for certain about whether Squid 
Project will (or not) implement any particular proposal in the future.


draft-mbelshe-httpbis-spdy-00
-----------------------------

The SPDY proposal appears to offer an alternative to HTTPS, but is 
tightly tied to TCP and TLS infrastructure. As such it cannot meet the 
transport portability and message transparency requirements several 
groups within the Squid user community have as mandatory features for 
both operational and legal reasons. Nor can it efficiently support the 
interception and transformation needs of a large portion of the community.

There have been community requests for implementation of the SPDY 
protocol within Squid. However as yet none of the community have been 
willing to produce an implementation. Also, due to lack of 
implementation for SPDY connection to proxies from Browsers the public 
implementation focus of SPDY within Squid community has been limited to 
discussions of whether SPDY could be intercepted and translated back 
into HTTP/1, and for implementing a SPDY gateway with any efficiency.

There are also a number of semantic feature extensions above and beyond 
HTTP/1 included in this specification. This may or may not be an issue 
for implementation, but it seems early to spring new semantics

My view is that SPDY layering should be separated and the non-HTTP layer 
considered as an alternative transport for HTTP similar to TCP, UDP, 
STCP, CoAP and HTCP which all seek to relay HTTP messages. Only the HTTP 
specific syntax and framing improvements should be considered by the WG 
as input to HTTP/2 specifications.


draft-montenegro-httpbis-speed-mobility-02
------------------------------------------

This proposal lacks a measure of support for HTTP/1 features. A gateway 
definition for translation of HTTP/1 features into the mobility frames 
is sadly lacking.

Since this proposal uses WebSocket framing; there have been no comments 
or requests from the Squid user community or developers towards 
implementing WebSockets in Squid. The developer projects to my knowledge 
are limited to intercepting WebSockets and translating as much as 
possible into HTTP/1 traffic.

My view is that the introductory sections of this draft should be 
considered as important requirements input to the WG designs.


draft-tarreau-httpbis-network-friendly-00
-----------------------------------------

This proposal has been designed with the SPDY improvements and many of 
the problems identified by the Squid community and developers in mind. 
It contains mandatory functionality which are seen by the Squid user 
community as beneficial for high-performance proxying; multiplexing and 
pipelining, flow control (implied, not stated specifically), and 
efficient HTTP-specific header compression. While leaving optional all 
features which are beneficial only to specific groups within the Squid 
user community and HTTP environment as a whole; security, 
authentication, data integrity, push/pull, and sessions.

As co-author of this proposal I have been working on an implementation 
for use within the Squid code and use by other projects.

My view on this is naturally biased, that the WG should take this draft 
as an outline on which to adapt the framing specifics and integrate the 
HTTP/2 requirements.


Overall Perspecitive:

I look forward to working with the HTTPbis working group on combining 
the designs from all these proposals into a final HTTP/2 specification. 
As specified currently none of the proposals are suitable for large 
scale implementation, but all have some small measure of support from 
within the user community.



Amos Jeffries
Squid Project



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 03:20:36 2012
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 3C08E21F85D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:20:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 dkJgXmKXnj9O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:20:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CC44A21F8535 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 03:20:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqLw2-000335-P4 for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 10:20:18 +0000
Resent-Date: Sun, 15 Jul 2012 10:20:18 +0000
Resent-Message-Id: <E1SqLw2-000335-P4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1SqLvu-000323-2k for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 10:20:10 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1SqLvs-000821-HL for ietf-http-wg@w3.org; Sun, 15 Jul 2012 10:20:10 +0000
Received: by ghy10 with SMTP id 10so4816733ghy.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 03:19:42 -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=47vb44QULotmWGR0rTD2yEPOvkBPe8rCCkwjTyiYqbQ=; b=fSluYocR1Sf5fc7t2QazgcfQqr8qtiW5j8SSnQmnku+/VLlKbgMvvhc1gUcYQCwpMc EaRzXQK68xXmzq76gtB0QkWWEoOh9xasrLBJm0Am5YUhryM1sUzBKCyjrAbvBZ1M8Lbk HZiwKpCwv84+xikcjwv5LRQK9oLCPdjDzlprOCvVuGAAgkSpKjZu9zzhC77+pYMCs4et CeYHSeu+wZVNtYmwa6uoxb698JYaeGcoKfqclexU/Kjsi3ukNCqe8stZTy8IFA3uEf28 D6MCFdlXsaeisnyCGj0/pomkqI4AsQFzGRnLf/rablspHpwexhXoDA4M2+Dty0X/RAor CaQw==
MIME-Version: 1.0
Received: by 10.236.195.72 with SMTP id o48mr6291764yhn.37.1342347582743; Sun, 15 Jul 2012 03:19:42 -0700 (PDT)
Received: by 10.147.182.4 with HTTP; Sun, 15 Jul 2012 03:19:42 -0700 (PDT)
In-Reply-To: <50029522.5030705@treenet.co.nz>
References: <50029522.5030705@treenet.co.nz>
Date: Sun, 15 Jul 2012 18:19:42 +0800
Message-ID: <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com>
From: tom <zs68j2ee@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf305e2581d5a5f404c4dba6d1
Received-SPF: pass client-ip=209.85.160.171; envelope-from=zs68j2ee@gmail.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqLvs-000821-HL a65501249bb18b63e6e84dac6c9e0433
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14212
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>

--20cf305e2581d5a5f404c4dba6d1
Content-Type: text/plain; charset=UTF-8

Support on "My view is that SPDY layering should be separated and the
non-HTTP layer considered as an alternative transport for HTTP similar to
TCP, UDP, STCP, CoAP and HTCP which all seek to relay HTTP messages. Only
the HTTP specific syntax and framing improvements should be considered by
the WG as input to HTTP/2 specifications."

BTW, we have been running HTTP over UDP (scheme as HTTP) successfully.

Best regards
  Tom

On Sun, Jul 15, 2012 at 6:02 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> As the current Squid proxy maintainer this is my expression of interest in
> HTTP/2.0. It is made as an individual submission with a mind for the Squid
> Project and user community needs but due to the collaborative nature of the
> Squid Project does not represent the Project as a whole.
>
>
> The Squid Project implements a general-use HTTP proxy with capabilities
> including but not limited to; caching, content adaptation, content
> generation and assembly, content filtering, access control, HTTP routing,
> HTTP and HTTPS interception, HTTP traffic quality of service flow controls,
> and traffic optimization.
>
> The development of improved HTTP protocol in all forms is of high interest
> to the Squid Project. Fast and efficient proxy operations are of paramount
> interest for the Squid user community.
>
>
> HTTP/1.1 issues
>
> The Squid Project developers are aware of numerous issues surrounding
> syntax parsing and processing which complex handling limits the throughput
> capacity of proxy installations. These syntax parsing inefficiencies are
> directly impacting on the user community goal of high performance.
>
> The Squid Project community has often expressed feedback complaints which
> after investigation turn out to be based on HTTP connection capabilities,
> largely inherited from HTTP/1.0 default connections-close behaviours but
> which also remain within HTTP/1.1 due to dynamic content and limitations
> with pipelining failure recovery. Improved connection multiplexing and
> pipelining is seen as a desirable behaviour for better performance by many
> within the Squid community.
>
> HTTP/1 contains a few signalling issues which have on occasion led to
> inefficient designs being implemented to avoid problems. The 1XX status
> feature of HTTP/1 goes some way towards this. However a more efficient
> signalling feature is needed to raise the overall efficiency of HTTP.
>
> HTTP/1 is implicitly limited to TCP-like stream transports. There have
> been user community proposals for extension to transmit HTTP over other
> protocols. These are echoed by a number of RFC proposals for alternative
> protocols to transfer the same resources over other datagram and
> security-oriented transfer protocols. The Squid user community includes
> groups with particular interests in such additional protocol underlays for
> HTTP and seeing any future deployments more flexible than the current
> infrastructure.
>
>
> HTTP/2 interest
>
> The Squid proxy implementation is driven by community contributions, with
> guidance from a group of core developers maintaining Project focus and
> consistency. As such I cannot speak for certain about whether Squid Project
> will (or not) implement any particular proposal in the future.
>
>
> draft-mbelshe-httpbis-spdy-00
> -----------------------------
>
> The SPDY proposal appears to offer an alternative to HTTPS, but is tightly
> tied to TCP and TLS infrastructure. As such it cannot meet the transport
> portability and message transparency requirements several groups within the
> Squid user community have as mandatory features for both operational and
> legal reasons. Nor can it efficiently support the interception and
> transformation needs of a large portion of the community.
>
> There have been community requests for implementation of the SPDY protocol
> within Squid. However as yet none of the community have been willing to
> produce an implementation. Also, due to lack of implementation for SPDY
> connection to proxies from Browsers the public implementation focus of SPDY
> within Squid community has been limited to discussions of whether SPDY
> could be intercepted and translated back into HTTP/1, and for implementing
> a SPDY gateway with any efficiency.
>
> There are also a number of semantic feature extensions above and beyond
> HTTP/1 included in this specification. This may or may not be an issue for
> implementation, but it seems early to spring new semantics
>
> My view is that SPDY layering should be separated and the non-HTTP layer
> considered as an alternative transport for HTTP similar to TCP, UDP, STCP,
> CoAP and HTCP which all seek to relay HTTP messages. Only the HTTP specific
> syntax and framing improvements should be considered by the WG as input to
> HTTP/2 specifications.
>
>
> draft-montenegro-httpbis-**speed-mobility-02
> ------------------------------**------------
>
> This proposal lacks a measure of support for HTTP/1 features. A gateway
> definition for translation of HTTP/1 features into the mobility frames is
> sadly lacking.
>
> Since this proposal uses WebSocket framing; there have been no comments or
> requests from the Squid user community or developers towards implementing
> WebSockets in Squid. The developer projects to my knowledge are limited to
> intercepting WebSockets and translating as much as possible into HTTP/1
> traffic.
>
> My view is that the introductory sections of this draft should be
> considered as important requirements input to the WG designs.
>
>
> draft-tarreau-httpbis-network-**friendly-00
> ------------------------------**-----------
>
> This proposal has been designed with the SPDY improvements and many of the
> problems identified by the Squid community and developers in mind. It
> contains mandatory functionality which are seen by the Squid user community
> as beneficial for high-performance proxying; multiplexing and pipelining,
> flow control (implied, not stated specifically), and efficient
> HTTP-specific header compression. While leaving optional all features which
> are beneficial only to specific groups within the Squid user community and
> HTTP environment as a whole; security, authentication, data integrity,
> push/pull, and sessions.
>
> As co-author of this proposal I have been working on an implementation for
> use within the Squid code and use by other projects.
>
> My view on this is naturally biased, that the WG should take this draft as
> an outline on which to adapt the framing specifics and integrate the HTTP/2
> requirements.
>
>
> Overall Perspecitive:
>
> I look forward to working with the HTTPbis working group on combining the
> designs from all these proposals into a final HTTP/2 specification. As
> specified currently none of the proposals are suitable for large scale
> implementation, but all have some small measure of support from within the
> user community.
>
>
>
> Amos Jeffries
> Squid Project
>
>
>

--20cf305e2581d5a5f404c4dba6d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Support on=C2=A0&quot;<span class=3D"Apple-style-span" style=3D"font-size:1=
3px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(2=
55,255,255)">My view is that SPDY layering should be separated and the non-=
HTTP layer considered as an alternative transport for HTTP similar to TCP, =
UDP, STCP, CoAP and HTCP which all seek to relay HTTP messages. Only the HT=
TP specific syntax and framing improvements should be considered by the WG =
as input to HTTP/2 specifications.</span>&quot;<div>
<div><br></div><div>BTW, we have been running HTTP over UDP (scheme as HTTP=
) successfully.</div><div><br></div><div>Best regards</div><div>=C2=A0 Tom<=
br><br><div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 6:02 PM, Amos Jef=
fries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">As the current Squid proxy maintainer this i=
s my expression of interest in HTTP/2.0. It is made as an individual submis=
sion with a mind for the Squid Project and user community needs but due to =
the collaborative nature of the Squid Project does not represent the Projec=
t as a whole.<br>

<br>
<br>
The Squid Project implements a general-use HTTP proxy with capabilities inc=
luding but not limited to; caching, content adaptation, content generation =
and assembly, content filtering, access control, HTTP routing, HTTP and HTT=
PS interception, HTTP traffic quality of service flow controls, and traffic=
 optimization.<br>

<br>
The development of improved HTTP protocol in all forms is of high interest =
to the Squid Project. Fast and efficient proxy operations are of paramount =
interest for the Squid user community.<br>
<br>
<br>
HTTP/1.1 issues<br>
<br>
The Squid Project developers are aware of numerous issues surrounding synta=
x parsing and processing which complex handling limits the throughput capac=
ity of proxy installations. These syntax parsing inefficiencies are directl=
y impacting on the user community goal of high performance.<br>

<br>
The Squid Project community has often expressed feedback complaints which a=
fter investigation turn out to be based on HTTP connection capabilities, la=
rgely inherited from HTTP/1.0 default connections-close behaviours but whic=
h also remain within HTTP/1.1 due to dynamic content and limitations with p=
ipelining failure recovery. Improved connection multiplexing and pipelining=
 is seen as a desirable behaviour for better performance by many within the=
 Squid community.<br>

<br>
HTTP/1 contains a few signalling issues which have on occasion led to ineff=
icient designs being implemented to avoid problems. The 1XX status feature =
of HTTP/1 goes some way towards this. However a more efficient signalling f=
eature is needed to raise the overall efficiency of HTTP.<br>

<br>
HTTP/1 is implicitly limited to TCP-like stream transports. There have been=
 user community proposals for extension to transmit HTTP over other protoco=
ls. These are echoed by a number of RFC proposals for alternative protocols=
 to transfer the same resources over other datagram and security-oriented t=
ransfer protocols. The Squid user community includes groups with particular=
 interests in such additional protocol underlays for HTTP and seeing any fu=
ture deployments more flexible than the current infrastructure.<br>

<br>
<br>
HTTP/2 interest<br>
<br>
The Squid proxy implementation is driven by community contributions, with g=
uidance from a group of core developers maintaining Project focus and consi=
stency. As such I cannot speak for certain about whether Squid Project will=
 (or not) implement any particular proposal in the future.<br>

<br>
<br>
draft-mbelshe-httpbis-spdy-00<br>
-----------------------------<br>
<br>
The SPDY proposal appears to offer an alternative to HTTPS, but is tightly =
tied to TCP and TLS infrastructure. As such it cannot meet the transport po=
rtability and message transparency requirements several groups within the S=
quid user community have as mandatory features for both operational and leg=
al reasons. Nor can it efficiently support the interception and transformat=
ion needs of a large portion of the community.<br>

<br>
There have been community requests for implementation of the SPDY protocol =
within Squid. However as yet none of the community have been willing to pro=
duce an implementation. Also, due to lack of implementation for SPDY connec=
tion to proxies from Browsers the public implementation focus of SPDY withi=
n Squid community has been limited to discussions of whether SPDY could be =
intercepted and translated back into HTTP/1, and for implementing a SPDY ga=
teway with any efficiency.<br>

<br>
There are also a number of semantic feature extensions above and beyond HTT=
P/1 included in this specification. This may or may not be an issue for imp=
lementation, but it seems early to spring new semantics<br>
<br>
My view is that SPDY layering should be separated and the non-HTTP layer co=
nsidered as an alternative transport for HTTP similar to TCP, UDP, STCP, Co=
AP and HTCP which all seek to relay HTTP messages. Only the HTTP specific s=
yntax and framing improvements should be considered by the WG as input to H=
TTP/2 specifications.<br>

<br>
<br>
draft-montenegro-httpbis-<u></u>speed-mobility-02<br>
------------------------------<u></u>------------<br>
<br>
This proposal lacks a measure of support for HTTP/1 features. A gateway def=
inition for translation of HTTP/1 features into the mobility frames is sadl=
y lacking.<br>
<br>
Since this proposal uses WebSocket framing; there have been no comments or =
requests from the Squid user community or developers towards implementing W=
ebSockets in Squid. The developer projects to my knowledge are limited to i=
ntercepting WebSockets and translating as much as possible into HTTP/1 traf=
fic.<br>

<br>
My view is that the introductory sections of this draft should be considere=
d as important requirements input to the WG designs.<br>
<br>
<br>
draft-tarreau-httpbis-network-<u></u>friendly-00<br>
------------------------------<u></u>-----------<br>
<br>
This proposal has been designed with the SPDY improvements and many of the =
problems identified by the Squid community and developers in mind. It conta=
ins mandatory functionality which are seen by the Squid user community as b=
eneficial for high-performance proxying; multiplexing and pipelining, flow =
control (implied, not stated specifically), and efficient HTTP-specific hea=
der compression. While leaving optional all features which are beneficial o=
nly to specific groups within the Squid user community and HTTP environment=
 as a whole; security, authentication, data integrity, push/pull, and sessi=
ons.<br>

<br>
As co-author of this proposal I have been working on an implementation for =
use within the Squid code and use by other projects.<br>
<br>
My view on this is naturally biased, that the WG should take this draft as =
an outline on which to adapt the framing specifics and integrate the HTTP/2=
 requirements.<br>
<br>
<br>
Overall Perspecitive:<br>
<br>
I look forward to working with the HTTPbis working group on combining the d=
esigns from all these proposals into a final HTTP/2 specification. As speci=
fied currently none of the proposals are suitable for large scale implement=
ation, but all have some small measure of support from within the user comm=
unity.<span class=3D"HOEnZb"><font color=3D"#888888"><br>

<br>
<br>
<br>
Amos Jeffries<br>
Squid Project<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>

--20cf305e2581d5a5f404c4dba6d1--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 03:21:39 2012
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 60B2421F85D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:21:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 RZZZB3aQ1XJ3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:21:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B809921F8535 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 03:21:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqLxX-0003CE-Sl for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 10:21:51 +0000
Resent-Date: Sun, 15 Jul 2012 10:21:51 +0000
Resent-Message-Id: <E1SqLxX-0003CE-Sl@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1SqLxP-00038V-FQ for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 10:21:43 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1SqLxO-000846-07 for ietf-http-wg@w3.org; Sun, 15 Jul 2012 10:21:43 +0000
Received: by ghy10 with SMTP id 10so4816872ghy.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 03:21:16 -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=m+sL88Z728TXjHDEJULZm68wC5sd9jMtjYLjh5CSbk0=; b=j53/X9UMz9sbabUi+ZUb3NRBnFpPE3EekoVK1UbjoG2tKiDEYrkv7xOcSVql38LZ4r BtRdW5w+3XFV9zA+Y50bjtnYcBEHxYtasY/ygW0jgrZeK0BJY9Xk71+d0PxdGLTDwLCf TraNZ24XoTM7hxvx8xq608tWHq3MMBNDNfHlHDB8NqzDiNSOUlcYyLtHJHwlHxberrla ACcPzvyPb30/lMO3FIkt9Q0ulfYQpQL6llnB+rCytpTYMTpxm8pYLoVNwh2rxuE4syJQ ypvvTb3u0ZbtI7gy5InuHQEMT0FoVRlY1Buagmjka8C4CiveJLRf2O3kFRWmy7J3z//b 6XuQ==
MIME-Version: 1.0
Received: by 10.236.78.1 with SMTP id f1mr6430316yhe.109.1342347676239; Sun, 15 Jul 2012 03:21:16 -0700 (PDT)
Received: by 10.147.182.4 with HTTP; Sun, 15 Jul 2012 03:21:16 -0700 (PDT)
In-Reply-To: <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com>
Date: Sun, 15 Jul 2012 18:21:16 +0800
Message-ID: <CAEXHauoVjrBTQQpmVzsKrt7S6UsmchaMPLCM5giqQhrajhPagA@mail.gmail.com>
From: tom <zs68j2ee@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf300fab096848e104c4dbacbf
Received-SPF: pass client-ip=209.85.160.171; envelope-from=zs68j2ee@gmail.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqLxO-000846-07 09063c5163c5f3bb6b523929c1660b63
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAEXHauoVjrBTQQpmVzsKrt7S6UsmchaMPLCM5giqQhrajhPagA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14213
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>

--20cf300fab096848e104c4dbacbf
Content-Type: text/plain; charset=UTF-8

Support on "My view is that SPDY layering should be separated and the
non-HTTP layer considered as an alternative transport for HTTP similar to
TCP, UDP, STCP, CoAP and HTCP which all seek to relay HTTP messages. Only
the HTTP specific syntax and framing improvements should be considered by
the WG as input to HTTP/2 specifications."

BTW, we have been running HTTP over UDP (scheme as HTTPP) successfully.

Best regards
  Tom

On Sun, Jul 15, 2012 at 6:19 PM, tom <zs68j2ee@gmail.com> wrote:

>
> On Sun, Jul 15, 2012 at 6:02 PM, Amos Jeffries <squid3@treenet.co.nz>wrote:
>
>> As the current Squid proxy maintainer this is my expression of interest
>> in HTTP/2.0. It is made as an individual submission with a mind for the
>> Squid Project and user community needs but due to the collaborative nature
>> of the Squid Project does not represent the Project as a whole.
>>
>>
>> The Squid Project implements a general-use HTTP proxy with capabilities
>> including but not limited to; caching, content adaptation, content
>> generation and assembly, content filtering, access control, HTTP routing,
>> HTTP and HTTPS interception, HTTP traffic quality of service flow controls,
>> and traffic optimization.
>>
>> The development of improved HTTP protocol in all forms is of high
>> interest to the Squid Project. Fast and efficient proxy operations are of
>> paramount interest for the Squid user community.
>>
>>
>> HTTP/1.1 issues
>>
>> The Squid Project developers are aware of numerous issues surrounding
>> syntax parsing and processing which complex handling limits the throughput
>> capacity of proxy installations. These syntax parsing inefficiencies are
>> directly impacting on the user community goal of high performance.
>>
>> The Squid Project community has often expressed feedback complaints which
>> after investigation turn out to be based on HTTP connection capabilities,
>> largely inherited from HTTP/1.0 default connections-close behaviours but
>> which also remain within HTTP/1.1 due to dynamic content and limitations
>> with pipelining failure recovery. Improved connection multiplexing and
>> pipelining is seen as a desirable behaviour for better performance by many
>> within the Squid community.
>>
>> HTTP/1 contains a few signalling issues which have on occasion led to
>> inefficient designs being implemented to avoid problems. The 1XX status
>> feature of HTTP/1 goes some way towards this. However a more efficient
>> signalling feature is needed to raise the overall efficiency of HTTP.
>>
>> HTTP/1 is implicitly limited to TCP-like stream transports. There have
>> been user community proposals for extension to transmit HTTP over other
>> protocols. These are echoed by a number of RFC proposals for alternative
>> protocols to transfer the same resources over other datagram and
>> security-oriented transfer protocols. The Squid user community includes
>> groups with particular interests in such additional protocol underlays for
>> HTTP and seeing any future deployments more flexible than the current
>> infrastructure.
>>
>>
>> HTTP/2 interest
>>
>> The Squid proxy implementation is driven by community contributions, with
>> guidance from a group of core developers maintaining Project focus and
>> consistency. As such I cannot speak for certain about whether Squid Project
>> will (or not) implement any particular proposal in the future.
>>
>>
>> draft-mbelshe-httpbis-spdy-00
>> -----------------------------
>>
>> The SPDY proposal appears to offer an alternative to HTTPS, but is
>> tightly tied to TCP and TLS infrastructure. As such it cannot meet the
>> transport portability and message transparency requirements several groups
>> within the Squid user community have as mandatory features for both
>> operational and legal reasons. Nor can it efficiently support the
>> interception and transformation needs of a large portion of the community.
>>
>> There have been community requests for implementation of the SPDY
>> protocol within Squid. However as yet none of the community have been
>> willing to produce an implementation. Also, due to lack of implementation
>> for SPDY connection to proxies from Browsers the public implementation
>> focus of SPDY within Squid community has been limited to discussions of
>> whether SPDY could be intercepted and translated back into HTTP/1, and for
>> implementing a SPDY gateway with any efficiency.
>>
>> There are also a number of semantic feature extensions above and beyond
>> HTTP/1 included in this specification. This may or may not be an issue for
>> implementation, but it seems early to spring new semantics
>>
>> My view is that SPDY layering should be separated and the non-HTTP layer
>> considered as an alternative transport for HTTP similar to TCP, UDP, STCP,
>> CoAP and HTCP which all seek to relay HTTP messages. Only the HTTP specific
>> syntax and framing improvements should be considered by the WG as input to
>> HTTP/2 specifications.
>>
>>
>> draft-montenegro-httpbis-**speed-mobility-02
>> ------------------------------**------------
>>
>> This proposal lacks a measure of support for HTTP/1 features. A gateway
>> definition for translation of HTTP/1 features into the mobility frames is
>> sadly lacking.
>>
>> Since this proposal uses WebSocket framing; there have been no comments
>> or requests from the Squid user community or developers towards
>> implementing WebSockets in Squid. The developer projects to my knowledge
>> are limited to intercepting WebSockets and translating as much as possible
>> into HTTP/1 traffic.
>>
>> My view is that the introductory sections of this draft should be
>> considered as important requirements input to the WG designs.
>>
>>
>> draft-tarreau-httpbis-network-**friendly-00
>> ------------------------------**-----------
>>
>> This proposal has been designed with the SPDY improvements and many of
>> the problems identified by the Squid community and developers in mind. It
>> contains mandatory functionality which are seen by the Squid user community
>> as beneficial for high-performance proxying; multiplexing and pipelining,
>> flow control (implied, not stated specifically), and efficient
>> HTTP-specific header compression. While leaving optional all features which
>> are beneficial only to specific groups within the Squid user community and
>> HTTP environment as a whole; security, authentication, data integrity,
>> push/pull, and sessions.
>>
>> As co-author of this proposal I have been working on an implementation
>> for use within the Squid code and use by other projects.
>>
>> My view on this is naturally biased, that the WG should take this draft
>> as an outline on which to adapt the framing specifics and integrate the
>> HTTP/2 requirements.
>>
>>
>> Overall Perspecitive:
>>
>> I look forward to working with the HTTPbis working group on combining the
>> designs from all these proposals into a final HTTP/2 specification. As
>> specified currently none of the proposals are suitable for large scale
>> implementation, but all have some small measure of support from within the
>> user community.
>>
>>
>>
>> Amos Jeffries
>> Squid Project
>>
>>
>>
>

--20cf300fab096848e104c4dbacbf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<span class=3D"Apple-style-span" style=3D"color:rgb(34,34,34);font-family:a=
rial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Support o=
n=C2=A0&quot;</span><span style=3D"color:rgb(34,34,34);font-family:arial,sa=
ns-serif;font-size:13px;background-color:rgb(255,255,255)">My view is that =
SPDY layering should be separated and the non-HTTP layer considered as an a=
lternative transport for HTTP similar to TCP, UDP, STCP, CoAP and HTCP whic=
h all seek to relay HTTP messages. Only the HTTP specific syntax and framin=
g improvements should be considered by the WG as input to HTTP/2 specificat=
ions.</span><span class=3D"Apple-style-span" style=3D"color:rgb(34,34,34);f=
ont-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255=
)">&quot;</span><div style=3D"color:rgb(34,34,34);font-family:arial,sans-se=
rif;font-size:13px;background-color:rgb(255,255,255)">
<div><br></div><div>BTW, we have been running HTTP over UDP (scheme as HTTP=
P) successfully.</div><div><br></div><div>Best regards</div><div>=C2=A0 Tom=
</div></div><br><div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 6:19 PM,=
 tom <span dir=3D"ltr">&lt;<a href=3D"mailto:zs68j2ee@gmail.com" target=3D"=
_blank">zs68j2ee@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div><div><div class=3D"h5"><br><div cl=
ass=3D"gmail_quote">On Sun, Jul 15, 2012 at 6:02 PM, Amos Jeffries <span di=
r=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">squ=
id3@treenet.co.nz</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">As the current Squid proxy maintainer this i=
s my expression of interest in HTTP/2.0. It is made as an individual submis=
sion with a mind for the Squid Project and user community needs but due to =
the collaborative nature of the Squid Project does not represent the Projec=
t as a whole.<br>


<br>
<br>
The Squid Project implements a general-use HTTP proxy with capabilities inc=
luding but not limited to; caching, content adaptation, content generation =
and assembly, content filtering, access control, HTTP routing, HTTP and HTT=
PS interception, HTTP traffic quality of service flow controls, and traffic=
 optimization.<br>


<br>
The development of improved HTTP protocol in all forms is of high interest =
to the Squid Project. Fast and efficient proxy operations are of paramount =
interest for the Squid user community.<br>
<br>
<br>
HTTP/1.1 issues<br>
<br>
The Squid Project developers are aware of numerous issues surrounding synta=
x parsing and processing which complex handling limits the throughput capac=
ity of proxy installations. These syntax parsing inefficiencies are directl=
y impacting on the user community goal of high performance.<br>


<br>
The Squid Project community has often expressed feedback complaints which a=
fter investigation turn out to be based on HTTP connection capabilities, la=
rgely inherited from HTTP/1.0 default connections-close behaviours but whic=
h also remain within HTTP/1.1 due to dynamic content and limitations with p=
ipelining failure recovery. Improved connection multiplexing and pipelining=
 is seen as a desirable behaviour for better performance by many within the=
 Squid community.<br>


<br>
HTTP/1 contains a few signalling issues which have on occasion led to ineff=
icient designs being implemented to avoid problems. The 1XX status feature =
of HTTP/1 goes some way towards this. However a more efficient signalling f=
eature is needed to raise the overall efficiency of HTTP.<br>


<br>
HTTP/1 is implicitly limited to TCP-like stream transports. There have been=
 user community proposals for extension to transmit HTTP over other protoco=
ls. These are echoed by a number of RFC proposals for alternative protocols=
 to transfer the same resources over other datagram and security-oriented t=
ransfer protocols. The Squid user community includes groups with particular=
 interests in such additional protocol underlays for HTTP and seeing any fu=
ture deployments more flexible than the current infrastructure.<br>


<br>
<br>
HTTP/2 interest<br>
<br>
The Squid proxy implementation is driven by community contributions, with g=
uidance from a group of core developers maintaining Project focus and consi=
stency. As such I cannot speak for certain about whether Squid Project will=
 (or not) implement any particular proposal in the future.<br>


<br>
<br>
draft-mbelshe-httpbis-spdy-00<br>
-----------------------------<br>
<br>
The SPDY proposal appears to offer an alternative to HTTPS, but is tightly =
tied to TCP and TLS infrastructure. As such it cannot meet the transport po=
rtability and message transparency requirements several groups within the S=
quid user community have as mandatory features for both operational and leg=
al reasons. Nor can it efficiently support the interception and transformat=
ion needs of a large portion of the community.<br>


<br>
There have been community requests for implementation of the SPDY protocol =
within Squid. However as yet none of the community have been willing to pro=
duce an implementation. Also, due to lack of implementation for SPDY connec=
tion to proxies from Browsers the public implementation focus of SPDY withi=
n Squid community has been limited to discussions of whether SPDY could be =
intercepted and translated back into HTTP/1, and for implementing a SPDY ga=
teway with any efficiency.<br>


<br>
There are also a number of semantic feature extensions above and beyond HTT=
P/1 included in this specification. This may or may not be an issue for imp=
lementation, but it seems early to spring new semantics<br>
<br>
My view is that SPDY layering should be separated and the non-HTTP layer co=
nsidered as an alternative transport for HTTP similar to TCP, UDP, STCP, Co=
AP and HTCP which all seek to relay HTTP messages. Only the HTTP specific s=
yntax and framing improvements should be considered by the WG as input to H=
TTP/2 specifications.<br>


<br>
<br>
draft-montenegro-httpbis-<u></u>speed-mobility-02<br>
------------------------------<u></u>------------<br>
<br>
This proposal lacks a measure of support for HTTP/1 features. A gateway def=
inition for translation of HTTP/1 features into the mobility frames is sadl=
y lacking.<br>
<br>
Since this proposal uses WebSocket framing; there have been no comments or =
requests from the Squid user community or developers towards implementing W=
ebSockets in Squid. The developer projects to my knowledge are limited to i=
ntercepting WebSockets and translating as much as possible into HTTP/1 traf=
fic.<br>


<br>
My view is that the introductory sections of this draft should be considere=
d as important requirements input to the WG designs.<br>
<br>
<br>
draft-tarreau-httpbis-network-<u></u>friendly-00<br>
------------------------------<u></u>-----------<br>
<br>
This proposal has been designed with the SPDY improvements and many of the =
problems identified by the Squid community and developers in mind. It conta=
ins mandatory functionality which are seen by the Squid user community as b=
eneficial for high-performance proxying; multiplexing and pipelining, flow =
control (implied, not stated specifically), and efficient HTTP-specific hea=
der compression. While leaving optional all features which are beneficial o=
nly to specific groups within the Squid user community and HTTP environment=
 as a whole; security, authentication, data integrity, push/pull, and sessi=
ons.<br>


<br>
As co-author of this proposal I have been working on an implementation for =
use within the Squid code and use by other projects.<br>
<br>
My view on this is naturally biased, that the WG should take this draft as =
an outline on which to adapt the framing specifics and integrate the HTTP/2=
 requirements.<br>
<br>
<br>
Overall Perspecitive:<br>
<br>
I look forward to working with the HTTPbis working group on combining the d=
esigns from all these proposals into a final HTTP/2 specification. As speci=
fied currently none of the proposals are suitable for large scale implement=
ation, but all have some small measure of support from within the user comm=
unity.<span><font color=3D"#888888"><br>


<br>
<br>
<br>
Amos Jeffries<br>
Squid Project<br>
<br>
<br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br>

--20cf300fab096848e104c4dbacbf--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 03:30:39 2012
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 D031F21F85A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:30:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.801
X-Spam-Level: 
X-Spam-Status: No, score=-8.801 tagged_above=-999 required=5 tests=[AWL=1.798, BAYES_00=-2.599, 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 5XPdCgycnbfe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:30:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C6A721F85A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 03:30:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqM5z-0007dH-NX for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 10:30:35 +0000
Resent-Date: Sun, 15 Jul 2012 10:30:35 +0000
Resent-Message-Id: <E1SqM5z-0007dH-NX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SqM5s-0007cR-3Q for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 10:30:28 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SqM5r-0008DO-2e for ietf-http-wg@w3.org; Sun, 15 Jul 2012 10:30:28 +0000
Received: (qmail invoked by alias); 15 Jul 2012 10:30:00 -0000
Received: from p54BB3236.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.50.54] by mail.gmx.net (mp034) with SMTP; 15 Jul 2012 12:30:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18zgJsHp5UzJHUcez1kNR6XsZx21ugVKvjcg+yBdb Rba0uQSEEAAmIX
Message-ID: <50029BA2.5020606@gmx.de>
Date: Sun, 15 Jul 2012 12:29:54 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: tom <zs68j2ee@gmail.com>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com>
In-Reply-To: <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqM5r-0008DO-2e 386e481eebf7fd414fec712411b2e28f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/50029BA2.5020606@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14214
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 2012-07-15 12:19, tom wrote:
> Support on "My view is that SPDY layering should be separated and the
> non-HTTP layer considered as an alternative transport for HTTP similar
> to TCP, UDP, STCP, CoAP and HTCP which all seek to relay HTTP messages.
> Only the HTTP specific syntax and framing improvements should be
> considered by the WG as input to HTTP/2 specifications."
 > ...

+1

> BTW, we have been running HTTP over UDP (scheme as HTTP) successfully.
> ...

Out of curiosity: who is "we"?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 05:10:44 2012
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 46D1C21F85C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 05:10:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.402
X-Spam-Level: 
X-Spam-Status: No, score=-8.402 tagged_above=-999 required=5 tests=[AWL=2.197, BAYES_00=-2.599, 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 5ZDE1dYTYfj9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 05:10:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B9EC021F85BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 05:10:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqNdd-0008Tc-Gp for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 12:09:25 +0000
Resent-Date: Sun, 15 Jul 2012 12:09:25 +0000
Resent-Message-Id: <E1SqNdd-0008Tc-Gp@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqNdU-0008SU-Q1 for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 12:09:16 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqNdS-0002L0-KY for ietf-http-wg@w3.org; Sun, 15 Jul 2012 12:09:16 +0000
Received: by vcbgb30 with SMTP id gb30so3527936vcb.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 05:08:48 -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=phEhVWSwx3EJTft66oiALOxDF839774P4wDjs+J1s90=; b=ijybMebZHBmmJ462DyhSb3tHkBZrH/UoZm3E/e4ljMsT+0Ryt/fjPls66KKZRTl/ki mDhCcorFVkybpLRbP9Ewk5QbcnSQqxzXoDRQ6tJmGkWRqrEwZEeTDeGAcjG/UyVZcxPx YWRQd29CQqs9UZfpPV/Yw59Av+vFOOwlpGqevJ8uk1jGNXMGcma/holwk10FQpUJvK3J +Jy8f4EgiqE86jz15G7rEJ2g9zSCpWaDAHTMLDc7QY7G3eJQNyq2fxHZd2we6kwJ1ikl q5airf0+Ev2GoxIv4M1KBDALyqnVgZReUT/2SXPR7GExcStnUQ88ogl5ANZ1Rmtenlli jj1A==
MIME-Version: 1.0
Received: by 10.220.242.76 with SMTP id lh12mr3558461vcb.65.1342354128394; Sun, 15 Jul 2012 05:08:48 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Sun, 15 Jul 2012 05:08:48 -0700 (PDT)
In-Reply-To: <20120715063504.GU16256@1wt.eu>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu>
Date: Sun, 15 Jul 2012 08:08:48 -0400
Message-ID: <CAMm+LwjYUjpELfi=t3UAOXBYUWWuFD08df58rPvg3Wx=fBrNzQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqNdS-0002L0-KY e586c3c01306bf53940ca0015721ac2a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwjYUjpELfi=t3UAOXBYUWWuFD08df58rPvg3Wx=fBrNzQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14215
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 can't see a value to mandating use of TLS in HTTP/2.0. There might
be an argument for requiring support for TLS but even that represents
a layer violation. But almost no Web browsers lack support for TLS.
Mandating use of or support for TLS in HTTP/2.0 is only going to have
a coercive effect if people are forced to stop using HTTP/1.1 which
isn't possible.

TLS is only as secure as the credentials used to secure it. If you
have weak credentials you have weak security. The strength of a
credential really depends on whether the credential is making a
statement about the real-world holder: Is this facebook.ru certificate
really for a corporation with officers that would be on the hook if
they did something criminal or was it issued to the Russian maffia who
have grabbed the local domain name?

Confidentiality is actually a very minor direct requirement in most
security sensitive systems. Having the Russian maffia look at my bank
account matters much less to me than having them modify it.


The underlying concern here seems to be that we need to move from a
situation where security is optional on the Internet to where security
is the default. I very much endorse that requirement but simply
mandating TLS in HTTP/2.0 does not get us there unless clients have a
way to know that a site is offering  HTTP/2.0

In short what we really need is a policy mechanism that enables a
client to know whether a site supports TLS and/or HTTP/2.0. This is
what I have been working on with my Omnibroker proposal and my DNS
security policy extensions.

Using the DNS to effect security policy means opening up a can of
worms. Even though the DNS is the authoritative source for making
statements about DNS names, direct access to the unfiltered DNS is not
available on many networks. DNSSEC has still to prove it is more than
a science project. We need to define the right policy statements and
it might take us more than one try. And finally, and most importantly,
authoritative DNS statements are not necessarily safe ones. I do not
want my browser to visit sites controlled by the Russian maffia even
if they did pay ICANN for their domain name.

That is why I have developed Omnibroker which allows the client to use
a simple, stable interface that does not require it to do more than
ask a service 'how should I connect to site X with protocol Y'. The
question is then answered by a service chosen by the user to meet
their security concerns.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 05:28:58 2012
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 3519821F859B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 05:28:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 2bgpDIsFTW6m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 05:28:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB12821F8516 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 05:28:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqNw4-0008Cy-5e for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 12:28:28 +0000
Resent-Date: Sun, 15 Jul 2012 12:28:28 +0000
Resent-Message-Id: <E1SqNw4-0008Cy-5e@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqNvw-0008CD-A5 for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 12:28:20 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqNvv-0002tB-6i for ietf-http-wg@w3.org; Sun, 15 Jul 2012 12:28:20 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 6DF743B751; Sun, 15 Jul 2012 12:27:57 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6FCRuGi054029; Sun, 15 Jul 2012 12:27:56 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 15 Jul 2012 08:08:48 -0400." <CAMm+LwjYUjpELfi=t3UAOXBYUWWuFD08df58rPvg3Wx=fBrNzQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sun, 15 Jul 2012 12:27:56 +0000
Message-ID: <54028.1342355276@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqNvv-0002tB-6i 8e6a234983b380458724c85a45523718
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/54028.1342355276@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14216
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>

In message <CAMm+LwjYUjpELfi=t3UAOXBYUWWuFD08df58rPvg3Wx=fBrNzQ@mail.gmail.com>
, Phillip Hallam-Baker writes:

>I can't see a value to mandating use of TLS in HTTP/2.0. 

Lets move it back one step further:

There is negative value in mandating crypto in HTTP/2.0 because it
will make HTTP/2.0 unattractive to the people who refer to themselves
as "in the multimedia business".

These people deliver about 1/3-1/2 half of all HTTP traffic on the
Internet in a fetching range of skin-tones.

Please don't try to push political agendas, like mandatory encryption,
with technical means.

It doesn't work.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 06:14:32 2012
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 4A1E921F85CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 06:14:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.442
X-Spam-Level: 
X-Spam-Status: No, score=-8.442 tagged_above=-999 required=5 tests=[AWL=2.157, BAYES_00=-2.599, 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 xV3aMB9lnAj5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 06:14:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2B45A21F85C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 06:14:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqOdF-0001wO-69 for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 13:13:05 +0000
Resent-Date: Sun, 15 Jul 2012 13:13:05 +0000
Resent-Message-Id: <E1SqOdF-0001wO-69@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqOd7-0001vG-CO for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 13:12:57 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqOd5-0004F7-UX for ietf-http-wg@w3.org; Sun, 15 Jul 2012 13:12:57 +0000
Received: by vcbgb30 with SMTP id gb30so3542663vcb.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 06:12:30 -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=5PrGRdQXo+04vjnYc0KqYHSXDOw2xZ9lSatuY2WvELw=; b=H45hjJxjEE0bALtmB1TOeQVLVZ1EPe9oLVYpj7phyVGumCNcpNLp0vk/WAdv0QL8cs 7Fg/yTLARCKONIIIOTZAwSnd+j8dTDYc9/KD6UklPzNOW0V7tj1ODiX650k26L3lv+P9 2+YXSaoYa0z2RKPhAlZ3NN8k7S5WxDpfBMSCUEEgn2rWxVriM8c852j3qDLLPLB0sQGo C3mCiLGBluhh9lskeQLL/FZcCfeJZR7H1KGwmvTcLge6ibsRSFNLlESUjDn9i0PIETlu XPJbjwUeZ/4fst634eyO8aw7AgARVPeVze5umWIFYd+OncK5TMs9vzAw19Yrn7vTaFjQ YZrg==
MIME-Version: 1.0
Received: by 10.220.242.6 with SMTP id lg6mr3698259vcb.18.1342357950172; Sun, 15 Jul 2012 06:12:30 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Sun, 15 Jul 2012 06:12:30 -0700 (PDT)
In-Reply-To: <54028.1342355276@critter.freebsd.dk>
References: <CAMm+LwjYUjpELfi=t3UAOXBYUWWuFD08df58rPvg3Wx=fBrNzQ@mail.gmail.com> <54028.1342355276@critter.freebsd.dk>
Date: Sun, 15 Jul 2012 09:12:30 -0400
Message-ID: <CAMm+Lwh44tHq=QmQo_0VXazMHNGaHrd8L0zzjGYScy-=-m6SiA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqOd5-0004F7-UX 8394bdbd1ae8327c2145a1e7f124c120
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+Lwh44tHq=QmQo_0VXazMHNGaHrd8L0zzjGYScy-=-m6SiA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14217
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>

TLS is not an appropriate security solution for the content delivery
people. No question about that.

But they do have security concerns and they could benefit from the
right security solution, one that allows them to use pre-baked crypto.
IE a message layer security solution rather than a transport layer
solution.


Let us imagine that Viacom stores all their movie content in encrypted
and authenticated form. When someone wants to watch one they pull the
encrypted bits from the server, wrap the relevant key so that the
intended recipient can read them and ship them out to the user.

This allows Viacom to protect their intellectual property with almost
no performance impact.

If all we needed for this was the content layer piece it would be a
no-brainer. message level encryption is just another encoding. We
already have a PKI for TLS to provide public keys. The devil comes in
the key exchange to join the two together.


On Sun, Jul 15, 2012 at 8:27 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+LwjYUjpELfi=t3UAOXBYUWWuFD08df58rPvg3Wx=fBrNzQ@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>I can't see a value to mandating use of TLS in HTTP/2.0.
>
> Lets move it back one step further:
>
> There is negative value in mandating crypto in HTTP/2.0 because it
> will make HTTP/2.0 unattractive to the people who refer to themselves
> as "in the multimedia business".
>
> These people deliver about 1/3-1/2 half of all HTTP traffic on the
> Internet in a fetching range of skin-tones.
>
> Please don't try to push political agendas, like mandatory encryption,
> with technical means.
>
> It doesn't work.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 06:28:28 2012
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 9998B21F84F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 06:28:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 KQ2s8hlFCwq9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 06:28:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1926721F84B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 06:28:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqOrn-0008If-05 for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 13:28:07 +0000
Resent-Date: Sun, 15 Jul 2012 13:28:07 +0000
Resent-Message-Id: <E1SqOrn-0008If-05@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqOre-0008Hm-Rh for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 13:27:58 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqOrd-0004VY-Ql for ietf-http-wg@w3.org; Sun, 15 Jul 2012 13:27:58 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 2167C3B751; Sun, 15 Jul 2012 13:27:36 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6FDRZiR054169; Sun, 15 Jul 2012 13:27:35 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 15 Jul 2012 09:12:30 -0400." <CAMm+Lwh44tHq=QmQo_0VXazMHNGaHrd8L0zzjGYScy-=-m6SiA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sun, 15 Jul 2012 13:27:35 +0000
Message-ID: <54168.1342358855@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqOrd-0004VY-Ql 534cec3c62f3392a0e7a983e5fb15782
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/54168.1342358855@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14218
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>

In message <CAMm+Lwh44tHq=QmQo_0VXazMHNGaHrd8L0zzjGYScy-=-m6SiA@mail.gmail.com>
, Phillip Hallam-Baker writes:

>TLS is not an appropriate security solution for the content delivery
>people. No question about that.
>
>But they do have security concerns and they could benefit from the
>right security solution,

Of course HTTP/2.0 should provide good quality crypto solutions.

Forcing people to use them however, would be plain stupid.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 09:14:46 2012
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 03D5021F8666 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 09:14:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 fqF+HXSY4SwX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 09:14:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3779021F865D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 09:14:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqRRi-0004Wa-TN for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 16:13:22 +0000
Resent-Date: Sun, 15 Jul 2012 16:13:22 +0000
Resent-Message-Id: <E1SqRRi-0004Wa-TN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhuzhaoyuan@gmail.com>) id 1SqRRa-0004Vp-S5 for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 16:13:14 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhuzhaoyuan@gmail.com>) id 1SqRRZ-0000z2-Ix for ietf-http-wg@w3.org; Sun, 15 Jul 2012 16:13:14 +0000
Received: by wgbds1 with SMTP id ds1so1862756wgb.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 09:12:47 -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 :content-type; bh=rrjtKYiHD8D41Bnn6q80tn92h/YwsSYmtTzN57BIy9c=; b=kV2DwFYP73MSIUOv4B6epEuaSgwN8LADfTAkUrF1Pl3mzw47EGiu3/aacEkKik+qrH wnkMjMw40PkqMc0rolKN5m9xdu5NTrMxuU5XNCt1kJ22KOASHUjXXkuP+YrD7BjYG8Gz xs8A9vCL7z/42gq9HDcmURXZ62lBOkDHO2S3EibjIHUcBItDoTNyUT4aCPDzxPMFAuSK c8V4NEXsYwlWrF5oAQwo7Nv5GKPbVN+iRGocW7Kesa5pxFWE/tWbwyIHg+M+KVw/xuGQ AxmBgoLVhd4LGMvK4enkv21BcZZGM/wlbAoosXLdMdS9dfGie9+sqWBsQ2xDIf794Wbq HKxA==
MIME-Version: 1.0
Received: by 10.180.86.133 with SMTP id p5mr11893224wiz.17.1342368766936; Sun, 15 Jul 2012 09:12:46 -0700 (PDT)
Received: by 10.223.161.131 with HTTP; Sun, 15 Jul 2012 09:12:46 -0700 (PDT)
In-Reply-To: <CAOKiq2B1jwHAJ9O8dYiSXeKz2SCBP8+VS3Gt3p=K_VPA01+8oQ@mail.gmail.com>
References: <CAOKiq2B1jwHAJ9O8dYiSXeKz2SCBP8+VS3Gt3p=K_VPA01+8oQ@mail.gmail.com>
Date: Mon, 16 Jul 2012 00:12:46 +0800
Message-ID: <CAOKiq2ArJH+1VK3AMhPeQ+ASgwx+kU=UGGr-MeQer3E4pWcC2A@mail.gmail.com>
From: Joshua Zhu <zhuzhaoyuan@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=74.125.82.41; envelope-from=zhuzhaoyuan@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqRRZ-0000z2-Ix 020bfbe34a33f114bfdf475a10bf679a
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest: Alibaba
Archived-At: <http://www.w3.org/mid/CAOKiq2ArJH+1VK3AMhPeQ+ASgwx+kU=UGGr-MeQer3E4pWcC2A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14219
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,

This is Alibaba's response to the call for expression of interest in HTTP/2.0.

Alibaba
-------

Alibaba Group [1] runs the largest e-commerce group in Asia and has
four websites listed on Alexa's Top 100 Sites list: taobao.com (#14),
tmall.com (#61), alibaba.com (#74), alipay.com (#93).

We have our own CDN infrastructure which has pretty heavy traffic (the
peak of last year was about 900Gbits/sec and it is expected to be
about 2Tbits/sec this year).

We are developing a web server [2] based on the Nginx HTTP server.


SPDY
----

Basically, we like the SPDY idea, but with the following exceptions:

1) Mandating use of TLS

We strongly disagree with this requirement, because it causes problems:

*) SSL certificates are not cheap, especially for small websites or
those located in a developing country. We are from a developing
country (China), and we know this well.

*) Encryption and decryption require more hardware investment and for
some content types, for instance, images, it's meaningless to
encrypt/decrypt them.

*) It's difficult to implement and deploy for proxy/cache software
since it's neither secure nor feasible to deploy many certificates on
the proxy who acts as a middle man.

We believe it should be optional.

2) Mandating compression of HTTP headers

This will introduce overhead for HTTP server software, for instance, a
load balancer may have to decompress a full packet to tell which
'Host' a stream is flowing to.

We think it should be modified to allow server to pick out the 'Host'
more easily.


HTTP Speed+Mobility & draft-tarreau-httpbis-network-friendly-00
---------------------------------------------------------------

We have not evaluated these two proposals yet.


Conclusion
----------

We think the SPDY spec should be modified. Now we are looking into the
SPDY implementation of Nginx. We'll test it and share our results once
it's production ready.


[1] http://en.wikipedia.org/wiki/Alibaba_Group
[2] http://tengine.taobao.org


Regards,

--
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao, Alibaba Group


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 10:06:36 2012
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 3653821F8535 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 10:06:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 vekXuhGwnEAY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 10:06:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1624F21F8548 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 10:06:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqSGl-0002c1-CQ for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 17:06:07 +0000
Resent-Date: Sun, 15 Jul 2012 17:06:07 +0000
Resent-Message-Id: <E1SqSGl-0002c1-CQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqSGd-0002av-Am for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 17:05:59 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqSGc-000366-D0 for ietf-http-wg@w3.org; Sun, 15 Jul 2012 17:05:59 +0000
Received: by weyx43 with SMTP id x43so3490478wey.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 10:05:32 -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=K+bZpDLfPtqo+XYd2OcBNFBR5vPeC5oT1qbey2mn3OM=; b=bYcY+EBTXw21Aq2nNwcsTdqorUtch3g39eKmuweQHRdWEUuHLLomIU2FdijApOl9HL KeqnXhsv/67kpXHMKiptMLWdZ+OdAxWgYTuFN+s7pqmInOLw3JD7Uj53Ocy38fZiV5Bl 4b/PlOKBYf2zcChs4i/4DjeaWvTKZTUUVKQq/gTTbNesetEoM7D4tsid6ReH7Kl6VigS +ctomt4+9E95Kz/90zMMqB+DN6Ub5qgHVRpZ7hbs9n9STo7+33tglenfkYd3TLLyThSj ogVkzOOlBDFPW3+YqZKOT3wKoyn8f6HyUHi7D2MzyLDYue6JoXuFvDxxnic+LiYwlBg0 RXuA==
MIME-Version: 1.0
Received: by 10.217.6.194 with SMTP id y44mr1549941wes.27.1342371931856; Sun, 15 Jul 2012 10:05:31 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sun, 15 Jul 2012 10:05:31 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sun, 15 Jul 2012 10:05:31 -0700 (PDT)
In-Reply-To: <50029BA2.5020606@gmx.de>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de>
Date: Sun, 15 Jul 2012 10:05:31 -0700
Message-ID: <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=20cf302acf3c27a11404c4e15241
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqSGc-000366-D0 3f46878a78c07810151cb044c208a0fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14220
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>

--20cf302acf3c27a11404c4e15241
Content-Type: text/plain; charset=ISO-8859-1

Note that, if ever one will wish to implement server push or anything
similar, there are ordering requirements that must be placed on at least
the content delivery of the requested resource and its associated metadata.

It is all cost/benefit tradeoffs, all the way down. :)

-=R
On Jul 15, 2012 3:31 AM, "Julian Reschke" <julian.reschke@gmx.de> wrote:

> On 2012-07-15 12:19, tom wrote:
>
>> Support on "My view is that SPDY layering should be separated and the
>> non-HTTP layer considered as an alternative transport for HTTP similar
>> to TCP, UDP, STCP, CoAP and HTCP which all seek to relay HTTP messages.
>> Only the HTTP specific syntax and framing improvements should be
>> considered by the WG as input to HTTP/2 specifications."
>>
> > ...
>
> +1
>
>  BTW, we have been running HTTP over UDP (scheme as HTTP) successfully.
>> ...
>>
>
> Out of curiosity: who is "we"?
>
> Best regards, Julian
>
>

--20cf302acf3c27a11404c4e15241
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Note that, if ever one will wish to implement server push or=
 anything similar, there are ordering requirements that must be placed on a=
t least the content delivery of the requested resource and its associated m=
etadata.</p>

<p dir=3D"ltr"> It is all cost/benefit tradeoffs, all the way down. :)</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 15, 2012 3:31 AM, &quot;Julian Reschke&qu=
ot; &lt;<a href=3D"mailto:julian.reschke@gmx.de">julian.reschke@gmx.de</a>&=
gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2012-07-15 12:19, tom wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Support on &quot;My view is that SPDY layering should be separated and the<=
br>
non-HTTP layer considered as an alternative transport for HTTP similar<br>
to TCP, UDP, STCP, CoAP and HTCP which all seek to relay HTTP messages.<br>
Only the HTTP specific syntax and framing improvements should be<br>
considered by the WG as input to HTTP/2 specifications.&quot;<br>
</blockquote>
&gt; ...<br>
<br>
+1<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
BTW, we have been running HTTP over UDP (scheme as HTTP) successfully.<br>
...<br>
</blockquote>
<br>
Out of curiosity: who is &quot;we&quot;?<br>
<br>
Best regards, Julian<br>
<br>
</blockquote></div>

--20cf302acf3c27a11404c4e15241--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 10:29:16 2012
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 6EF9A21F8514 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 10:29:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_41=0.6, 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 qdq3Yme0VABb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 10:29:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D028421F84FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 10:29:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqScX-00025j-Ru for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 17:28:37 +0000
Resent-Date: Sun, 15 Jul 2012 17:28:37 +0000
Resent-Message-Id: <E1SqScX-00025j-Ru@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1SqScM-00024l-RM for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 17:28:26 +0000
Received: from mailbackend.panix.com ([166.84.1.89]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1SqScL-0002wW-QG for ietf-http-wg@w3.org; Sun, 15 Jul 2012 17:28:26 +0000
Received: from [129.105.233.63] (socrates.tss.northwestern.edu [129.105.233.63]) by mailbackend.panix.com (Postfix) with ESMTP id D3AF7349DD for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 13:28:04 -0400 (EDT)
Message-ID: <5002FD9D.5040604@panix.com>
Date: Sun, 15 Jul 2012 12:27:57 -0500
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu>
In-Reply-To: <20120714055250.GN16256@1wt.eu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.89; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqScL-0002wW-QG 31c3bc199c962c0c84e34caa08cc550d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/5002FD9D.5040604@panix.com>
To: ietf-http-wg@w3.org
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14221
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 7/14/2012 12:52 AM, Willy Tarreau wrote:
>>> That?s just not true.  There are lots of ways to get to a particular origin
>> server, and I would think that for a malicious person in the middle, the
>> Host header would be more interesting than the ostensible IP address.  On
>> the other hand, I do understand why a payload-oblivious load balancer would
>> need to see that header.
>
> Well, TLS offers SNI which also reveals the Host header in clear text, so
> your extreme view of privacy doesn't seem to be shared as much wich even
> these guys.

Speaking not as a software developer but as former webmaster, I know 
there is a unsatisfied desire to do something like name-based virtual 
hosting with SSL, rather than dedicating an IP address per certificate.

Having something like SNI that revealed the host name up front would be 
an advantage for us, though we couldn't use it until it was widely 
adopted in browsers.

(Access for applicants, parents, alumni, etc. involves a wider range of 
web clients than our office intranets.)

-- 
     Albert Lunde  albert-lunde@northwestern.edu
                   atlunde@panix.com  (address for personal mail)


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 10:29:16 2012
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 8825421F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 10:29:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.222
X-Spam-Level: 
X-Spam-Status: No, score=-9.222 tagged_above=-999 required=5 tests=[AWL=1.377, BAYES_00=-2.599, 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 mQgMIUxd6au0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 10:29:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 04EEB21F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 10:29:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqScg-00026Q-IX for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 17:28:46 +0000
Resent-Date: Sun, 15 Jul 2012 17:28:46 +0000
Resent-Message-Id: <E1SqScg-00026Q-IX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqScU-000255-Up for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 17:28:34 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqScT-0003dL-O6 for ietf-http-wg@w3.org; Sun, 15 Jul 2012 17:28:34 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6FHRpvg022971; Sun, 15 Jul 2012 19:27:51 +0200
Date: Sun, 15 Jul 2012 19:27:51 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Message-ID: <20120715172751.GA22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqScT-0003dL-O6 d90785ad99c20330da0d85ceb47f00d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120715172751.GA22790@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14222
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 Roberto,

On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:
> Note that, if ever one will wish to implement server push or anything
> similar, there are ordering requirements that must be placed on at least
> the content delivery of the requested resource and its associated metadata.

Doug's EOI made me think again about server push. You may remember, we
discussed the subject for countless hours when we met, with the problem
basically being that when a client fetches a page, it also wants the
objects in that page. Doug seems to need server push for instant delivery
to the client of fresh new contents, which is different. And if we look
at how the web is currently changing, we have more and more application
code running on the browser (sometimes a smartphone) which parses contents
delivered by the server. I suspect that once we have MUX in WebSocket, this
new model will become even more prevalent.

All this to say that maybe in the near future, the real need for server
push will be for raw data processed by the application and not that much
about page objects. I may be wrong, but this is probably something to
think about, since in the end it will tell us whether we have to break
the request/response model or not, which has a huge impact on content
filtering BTW.

> It is all cost/benefit tradeoffs, all the way down. :)

Exactly :-)

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 13:18:19 2012
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 7400721F847D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 13:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 K0kp-nIfNuSs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 13:18:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 61ED621F8471 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 13:18:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqVFb-0001X5-QT for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 20:17:07 +0000
Resent-Date: Sun, 15 Jul 2012 20:17:07 +0000
Resent-Message-Id: <E1SqVFb-0001X5-QT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SqVFT-0001WG-Nq for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 20:16:59 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SqVFS-0008IO-7K for ietf-http-wg@w3.org; Sun, 15 Jul 2012 20:16:59 +0000
Received: from [10.15.173.166] ([216.123.55.164]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6FKGMW3022351 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 20:16:30 GMT
From: Karl Dubost <karld@opera.com>
Content-Type: text/plain; charset=us-ascii
Message-Id: <F09D70AF-191F-453A-987C-8A3A5D0315DA@opera.com>
Date: Sun, 15 Jul 2012 16:16:24 -0400
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqVFS-0008IO-7K 0d5e042e587e32a6e73df173da11b536
X-Original-To: ietf-http-wg@w3.org
Subject: Reminder about Opera and SPDY, HTTP/2.0
Archived-At: <http://www.w3.org/mid/F09D70AF-191F-453A-987C-8A3A5D0315DA@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14223
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>

As it might not be clear, and because Opera will not have any =
representatives in Vancouver for this meeting.

Martin Nilsson sent a review of SPDY review at Opera. Opera is in the =
process like everyone else of implementing it on the browser side.

**Not speaking on behalf of Opera management**, I'm pretty confident =
that any new version of the HTTP protocol will be look at thoroughly by =
Opera developers as it is fundamental for Opera infrastructure as well =
as being compatible with the Web.


[1]: http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0498


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 15:01:42 2012
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 12E6421F852C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 15:01:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 ilgJHIJmm6Ce for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 15:01:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9AD3C21F84FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 15:01:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqWri-0007ju-4w for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 22:00:34 +0000
Resent-Date: Sun, 15 Jul 2012 22:00:34 +0000
Resent-Message-Id: <E1SqWri-0007ju-4w@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <samj@samj.net>) id 1SqWrZ-0007j4-FF for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 22:00:25 +0000
Received: from eu1sys200aog109.obsmtp.com ([207.126.144.127]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <samj@samj.net>) id 1SqWrX-0001g5-Nk for ietf-http-wg@w3.org; Sun, 15 Jul 2012 22:00:25 +0000
Received: from mail-vc0-f172.google.com ([209.85.220.172]) (using TLSv1) by eu1sys200aob109.postini.com ([207.126.147.11]) with SMTP ID DSNKUAM9YNHgXFt+pzZHY5SuSSHohek/9rfd@postini.com; Sun, 15 Jul 2012 22:00:23 UTC
Received: by vcbfo14 with SMTP id fo14so2322803vcb.3 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 14:59:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding:x-gm-message-state; bh=4Ap7wTUTyEEWJYr3omJCsgzETEq9aBaOmozZmXzhRl4=; b=R1Rk6zpo4hPCnvHQyyU4aW7rOiREZ1IMwheF7Qr2YPLOCqvTAsTcvcE+Aw5i42xzmO eOBGcX9xVR4D8vc68rmIp6OiCcFiQ/oZzXazGEKkw+fVjoUe+lnn6RdbT7ocB9GXGDO5 KpmTj2xWTGfYPbiMgcoqOaO0O0P6/v9+t6djZXIEPXyHScxgqQ6JycFwr8GIl0GylbdD DtawSmygk7jA+vUTIZUEyZzT933BvXLggt40HMwPrv1jHH+RU4Qs/jBOGIDVTioY96aA FhthkjjKgRzzePXFs2vn4qnD6OgLrvvr19l6gIXqevpsqijwQ9kk2+Sq/gzhvaHF1TWt WXYg==
Received: by 10.220.115.81 with SMTP id h17mr4186815vcq.66.1342389599050; Sun, 15 Jul 2012 14:59:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.17.52 with HTTP; Sun, 15 Jul 2012 14:59:38 -0700 (PDT)
From: Sam Johnston <samj@samj.net>
Date: Sun, 15 Jul 2012 23:59:38 +0200
Message-ID: <CAKTR03_AL=EhKqzHKiTAYd5zP4TwfW377g8jCcwNFYzQW_c1cg@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnmYCtpLWnZuA+h9vj7BNzMfMOiYmjKvWRl979QjVWUBcuOtpmarE5YBPxlZPgw+37bQz9U
Received-SPF: pass client-ip=207.126.144.127; envelope-from=samj@samj.net; helo=eu1sys200aog109.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqWrX-0001g5-Nk 8d5a036dab6ab321048143de8fdb147f
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAKTR03_AL=EhKqzHKiTAYd5zP4TwfW377g8jCcwNFYzQW_c1cg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14224
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>

[The views expressed in this submission are mine alone and not
(necessarily) those of Citrix, Google, Equinix or any other current,
former or future client or employer.]

My primary interest is in the consistent application of HTTP to
("cloud") service interfaces, with a view to furthering the goals of
the Open Cloud Initiative (OCI); namely widespread and ideally
consistent interoperability through the use of open standard formats
and interfaces.

In particular, I strongly support the use of the existing metadata
channel (headers) over envelope overlays (SOAP) and
alternative/ancillary representations (typically in JSON/XML) as this
should greatly simplify interfaces while ensuring consistency between
services. The current approach to cloud "standards" calls on vendors
to define their own formats and interfaces and to maintain client
libraries for the myriad languages du jour. In an application calling
on multiple services this can result in a small amount of business
logic calling on various bulky, often poorly written and/or
unmaintained libraries. The usual counter to the interoperability
problems this creates is to write "adapters" (ala ODBC) which expose a
lowest-common-denominator interface, thus hiding functionality and
creating an "impedence mismatch". Ultimately this gives rise to
performance, security, cost and other issues.

By using HTTP as intended it is possible to construct (cloud) services
that can be consumed using nothing more than the built-in, standards
compliant HTTP client. I'm not writing to discuss whether this is a
good idea, but to expose a use case that I would like to see
considered, and one that we have already applied with an amount of
success in the Open Cloud Computing Interface (OCCI).

To illustrate the original scope, versions of HTTP (RFC 2068) included
not only the Link header (recently revived by Mark Nottingham in RFC
5988) but also LINK and UNLINK verbs to manipulate it (recently
proposed for revival by James Snell). Unfortunately hypertext, and in
particular HTML (which includes linking in-band rather than
out-of-band) arguably stole HTTP's thunder, leaving the overwhelming
majority of formats that lack in-band linking (images, documents,
virtual machines, etc.) high and dry and resulting in inconsistent
linking styles (HTML vs XML vs PDF vs DOC etc.). This limited the
extent of web linking as well as the utility of HTTP for innovative
applications including APIs. Indeed HTTP could easily and simply meet
the needs of many "Semantic Web" applications, but that is beyond the
scope of this particular discussion.

To illustrate by way of example, consider the following synthetic
request/response for an image hosting site which incorporates Web
Linking (RFC 5988), Web Categories
(draft-johnston-http-category-header) and Web Attributes (yet to be
published):

GET /1.jpg HTTP/1.0

HTTP/1.0 200 OK
Content-Length: 69730
Content-Type: image/jpeg
Link: <http://creativecommons.org/licenses/by-sa/3.0/>; rel=3D"license"
Link: </2.jpg>; rel=3D"next"
Category: dog; label=3D"Dog"; scheme=3D"http://example.org/animals"
Attribute: name=3D"Spot"

In order to "animate" resources, consider the use of the Link header
to start a virtual machine in the Open Cloud Computing Interface
(OCCI):

Link: </compute/123;action=3Dstart>;
  rel=3D"http://schemas.ogf.org/occi/infrastructure/compute/action#start"

The main objection to the use of the metadata channel in this fashion
(beyond the application of common sense in determining what
constitutes data vs metadata) is implementation issues (e.g. arbitrary
limitations, i18n, handling of multiple headers, etc.) which could be
largely resolved through specification. For example, the (necessary)
use of e.g. RFC 2231 encoding for header values (but not keys) in e.g.
RFC 5988 Web Linking gives rise to unnecessary complexity that may
lead to interoperability, security and other issues which could be
resolved through the specification of Unicode for keys and/or values.
Another concern is the absence of features such as a standardised
ability to return a collection (e.g. multiple responses). I originally
suggested that HTTP 2.0 incorporate such ideas in 2009.

I'll leave the determination of what would ultimately be required for
such applications to the working group (should this use case be
considered interesting by others), and while better support for
performance, scalability and mobility are obviously required this has
already been discussed at length. I strongly support Poul-Henning
Kamp's statement that "I think it would be far better to start from
scratch, look at what HTTP/2.0 should actually do, and then design a
simple, efficient and future proof protocol to do just that, and leave
behind all the aggregations of badly thought out hacks of HTTP/1.1."
(and agree that we should incorporate the concept of a "HTTP Router")
as well as Tim Bray's statement that: "I=92m inclined to err on the side
of protecting user privacy at the expense of almost all else" (and
believe that we should prevent eavesdroppers from learning anything
about an encrypted transaction; something we failed to do with DNSSEC
even given alternatives like dnscurve that ensure confidentiality as
well as integrity).

[post with inline links:
http://samj.net/2012/07/http2-expression-of-interest.html]


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 15:32:37 2012
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 E4CDB21F852C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 15:32:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.014
X-Spam-Level: 
X-Spam-Status: No, score=-10.014 tagged_above=-999 required=5 tests=[AWL=0.585, BAYES_00=-2.599, 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 c-v8xwZEKz5O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 15:32:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2079F21F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 15:32:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqXMJ-0002cY-Uu for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 22:32:11 +0000
Resent-Date: Sun, 15 Jul 2012 22:32:11 +0000
Resent-Message-Id: <E1SqXMJ-0002cY-Uu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqXM8-0002ak-1n for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 22:32:00 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqXM6-00039l-R8 for ietf-http-wg@w3.org; Sun, 15 Jul 2012 22:32:00 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id B87D2E70AF; Mon, 16 Jul 2012 10:31:34 +1200 (NZST)
To: Roberto Peon <grmocg@gmail.com>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 16 Jul 2012 10:31:34 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
In-Reply-To: <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com>
Message-ID: <90889cf941aa1d7ef955afd16e397af8@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqXM6-00039l-R8 3e069473e6abee4aae065505406ba608
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/90889cf941aa1d7ef955afd16e397af8@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14225
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 16.07.2012 05:05, Roberto Peon wrote:
> Note that, if ever one will wish to implement server push or anything
> similar, there are ordering requirements that must be placed on at 
> least
> the content delivery of the requested resource and its associated 
> metadata.
>
> It is all cost/benefit tradeoffs, all the way down. :)

Aye, we left this out of the network-friendly draft -00 due to being 
undecided and push discussions being up in the air.

But after reading the other proposals (WebSockets RFC and Montenegro 
draft specifically) I have come up with a nice way within the 
network-friendly framing syntax to perform user sessions and server-push 
*without* baking either of those features into the transport frame 
syntax directly. This meets the gateway to HTTP/1 requirements fror 
immediate implementation rollouts and allows those features to be easily 
added as extensions once we have more migration away from HTTP/1.
  In a similar way to how we have the messaging design and layout in the 
current HTTPbis drafts, with Ranges, Auth and Caching as separate 
followup drafts/sections.

AYJ



>
> -=R
> On Jul 15, 2012 3:31 AM, "Julian Reschke" wrote:
>
>> On 2012-07-15 12:19, tom wrote:
>>
>>> Support on "My view is that SPDY layering should be separated and 
>>> the
>>> non-HTTP layer considered as an alternative transport for HTTP 
>>> similar
>>> to TCP, UDP, STCP, CoAP and HTCP which all seek to relay HTTP 
>>> messages.
>>> Only the HTTP specific syntax and framing improvements should be
>>> considered by the WG as input to HTTP/2 specifications."
>>>
>> > ...
>>
>> +1
>>
>>  BTW, we have been running HTTP over UDP (scheme as HTTP) 
>> successfully.
>>> ...
>>>
>>
>> Out of curiosity: who is "we"?
>>
>> Best regards, Julian
>>
>>



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 15:52:28 2012
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 A3E3721F84DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 15:52:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 GzHqtPihGbVZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 15:52:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DAF1D21F84DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 15:52: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 1SqXfd-0002RD-Al for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 22:52:09 +0000
Resent-Date: Sun, 15 Jul 2012 22:52:09 +0000
Resent-Message-Id: <E1SqXfd-0002RD-Al@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqXfV-0002QS-5c for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 22:52:01 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqXfT-0003q9-KF for ietf-http-wg@w3.org; Sun, 15 Jul 2012 22:52:01 +0000
Received: by weyx43 with SMTP id x43so3598426wey.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 15:51:33 -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=yR00zaJ8bUMVQkekVQWv5eJ5ttfZibaEuo2uG3Awhls=; b=BhuxiAB6cnuE7LtVU2X7nLM4QTtnaLKkfyEzSnyX2Kuybg/lniE9lR51pX579KgxE4 qUHHG/Bm7BDD6stpQ5AmddofQI6ggUoZTg4dj3mVT9/4+jSQG482MPQJ6+5ddtDyN7Gv c8C/5ewX4NWpsXi5YAdXNuYlrZayzVC4RYxUDrloZs+sE0crsdIEi19KQR+vN0kIv7HX fGs1Q31LpLqwZYnA0woQoU8TuiUcIzp9n7KWIq4VeJgs3u/hBixiVkUHMN1TbhNUBZ9K vgzQkulDd/0TvN8EcgKmaNAnOp5PY4LP3z2nhrytCkguLBnqUpLs3GO1vKKdAaHl7xJG F1JQ==
MIME-Version: 1.0
Received: by 10.180.94.163 with SMTP id dd3mr13501910wib.10.1342392693091; Sun, 15 Jul 2012 15:51:33 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sun, 15 Jul 2012 15:51:33 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sun, 15 Jul 2012 15:51:33 -0700 (PDT)
In-Reply-To: <20120715172751.GA22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu>
Date: Sun, 15 Jul 2012 15:51:33 -0700
Message-ID: <CAP+FsNc7i2SjiL33DUuExEC3=QazQQNft6DXNQMyptahi1U9yg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Julian Reschke <julian.reschke@gmx.de>,  HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04462e5e9eef2d04c4e62769
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqXfT-0003q9-KF 9a04bcf88a19e1d60aec20040bc37605
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNc7i2SjiL33DUuExEC3=QazQQNft6DXNQMyptahi1U9yg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14226
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>

--f46d04462e5e9eef2d04c4e62769
Content-Type: text/plain; charset=ISO-8859-1

Server push is a terribly overloaded term.

In my case I'm referring to resources that would have been inlined into the
page. To avoid races, one must advertise that one will push that resource,
and since many pages are generated dynamically, this must be possible to
advertise after the headers have been sent.

The other case is full-duplex bidirectional streams, which is the domain of
the Websocket API, IMHO.

-=R
On Jul 15, 2012 10:27 AM, "Willy Tarreau" <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:
> > Note that, if ever one will wish to implement server push or anything
> > similar, there are ordering requirements that must be placed on at least
> > the content delivery of the requested resource and its associated
> metadata.
>
> Doug's EOI made me think again about server push. You may remember, we
> discussed the subject for countless hours when we met, with the problem
> basically being that when a client fetches a page, it also wants the
> objects in that page. Doug seems to need server push for instant delivery
> to the client of fresh new contents, which is different. And if we look
> at how the web is currently changing, we have more and more application
> code running on the browser (sometimes a smartphone) which parses contents
> delivered by the server. I suspect that once we have MUX in WebSocket, this
> new model will become even more prevalent.
>
> All this to say that maybe in the near future, the real need for server
> push will be for raw data processed by the application and not that much
> about page objects. I may be wrong, but this is probably something to
> think about, since in the end it will tell us whether we have to break
> the request/response model or not, which has a huge impact on content
> filtering BTW.
>
> > It is all cost/benefit tradeoffs, all the way down. :)
>
> Exactly :-)
>
> Cheers,
> Willy
>
>

--f46d04462e5e9eef2d04c4e62769
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Server push is a terribly overloaded term.</p>
<p dir=3D"ltr">In my case I&#39;m referring to resources that would have be=
en inlined into the page. To avoid races, one must advertise that one will =
push that resource, and since many pages are generated dynamically, this mu=
st be possible to advertise after the headers have been sent.</p>

<p dir=3D"ltr">The other case is full-duplex bidirectional streams, which i=
s the domain of the Websocket API, IMHO.</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 15, 2012 10:27 AM, &quot;Willy Tarreau&qu=
ot; &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt; wrote:<br type=3D"attr=
ibution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<br>
On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:<br>
&gt; Note that, if ever one will wish to implement server push or anything<=
br>
&gt; similar, there are ordering requirements that must be placed on at lea=
st<br>
&gt; the content delivery of the requested resource and its associated meta=
data.<br>
<br>
Doug&#39;s EOI made me think again about server push. You may remember, we<=
br>
discussed the subject for countless hours when we met, with the problem<br>
basically being that when a client fetches a page, it also wants the<br>
objects in that page. Doug seems to need server push for instant delivery<b=
r>
to the client of fresh new contents, which is different. And if we look<br>
at how the web is currently changing, we have more and more application<br>
code running on the browser (sometimes a smartphone) which parses contents<=
br>
delivered by the server. I suspect that once we have MUX in WebSocket, this=
<br>
new model will become even more prevalent.<br>
<br>
All this to say that maybe in the near future, the real need for server<br>
push will be for raw data processed by the application and not that much<br=
>
about page objects. I may be wrong, but this is probably something to<br>
think about, since in the end it will tell us whether we have to break<br>
the request/response model or not, which has a huge impact on content<br>
filtering BTW.<br>
<br>
&gt; It is all cost/benefit tradeoffs, all the way down. :)<br>
<br>
Exactly :-)<br>
<br>
Cheers,<br>
Willy<br>
<br>
</blockquote></div>

--f46d04462e5e9eef2d04c4e62769--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 16:27:40 2012
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 0AA1121F84F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 16:27:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.796
X-Spam-Level: 
X-Spam-Status: No, score=-9.796 tagged_above=-999 required=5 tests=[AWL=0.180, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 ULqae59xlE2x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 16:27:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E345721F84F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 16:27:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqYDB-0007GT-Nw for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 23:26:49 +0000
Resent-Date: Sun, 15 Jul 2012 23:26:49 +0000
Resent-Message-Id: <E1SqYDB-0007GT-Nw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqYD3-0007FK-O4 for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 23:26:41 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqYD2-0004f1-EZ for ietf-http-wg@w3.org; Sun, 15 Jul 2012 23:26:41 +0000
Received: by lbom4 with SMTP id m4so6790231lbo.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 16:26:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=rmas+pcWuCLkXtFFpnPaLwS9kqeccpIBdSI62wNIqjs=; b=FApV5DxHs7sJRrZN/wN4kSYGlSCIRfTffKqhHxAZvCHt09GpgebdctHa1B4X8TKyaA ZPS+IYbsOleT5FU+RbHEgG8DLy7IIdtNPI66BNM6yaLABtxQPlnFOvehU6D62YnDmBSS owr+OEiO8Q8wv57fzb4E7vYMiKxi6EWQINqL+wikYJSGqMOt53SSahI6sWvtCFX2BQd3 mrg0HS/P26D2ZxIOq8ROwb9yMkPNuU1+jaJnZ8U7FAmiK/4yzdVTbXD2tSUwRqFS8Lgn xkvYFQRgZN+U4pqm2QjLokbg/xpZL/dh+/lxmunEljxDp2Ki502sjEYvkit25iaWulFv 1awQ==
MIME-Version: 1.0
Received: by 10.152.48.37 with SMTP id i5mr9249189lan.36.1342394773561; Sun, 15 Jul 2012 16:26:13 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sun, 15 Jul 2012 16:26:13 -0700 (PDT)
In-Reply-To: <20120715172751.GA22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu>
Date: Sun, 15 Jul 2012 16:26:13 -0700
Message-ID: <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=bcaec5523980a0626c04c4e6a345
X-Gm-Message-State: ALoCoQmUxT1jtnumR/aciijXIOuxwZHuBdwfiZnmAFbBk/s8PRjXNt3s/lQBE1ep2OjlJOf5t3Yr
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SqYD2-0004f1-EZ a13ee5b7ecfb857fadc5923839dca15f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14227
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>

--bcaec5523980a0626c04c4e6a345
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 15, 2012 at 10:27 AM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:
> > Note that, if ever one will wish to implement server push or anything
> > similar, there are ordering requirements that must be placed on at least
> > the content delivery of the requested resource and its associated
> metadata.
>
> Doug's EOI made me think again about server push. You may remember, we
> discussed the subject for countless hours when we met, with the problem
> basically being that when a client fetches a page, it also wants the
> objects in that page. Doug seems to need server push for instant delivery
> to the client of fresh new contents, which is different. And if we look
> at how the web is currently changing, we have more and more application
> code running on the browser (sometimes a smartphone) which parses contents
> delivered by the server. I suspect that once we have MUX in WebSocket, this
> new model will become even more prevalent.
>

Websockets is at the wrong layer and does not do content delivery - e.g. a
websocket response will never ever land you in the client's cache.


>
> All this to say that maybe in the near future, the real need for server
> push will be for raw data processed by the application and not that much
> about page objects. I may be wrong, but this is probably something to
> think about, since in the end it will tell us whether we have to break
> the request/response model or not, which has a huge impact on content
> filtering BTW.
>

Server push doesn't break the request response model.  You issue a request,
you get a response.  You can't get responses without requests.

As for impact on content filtering, I think you're quite mistaken.  Using
server push allows the content to look like content and makes it much
*easier* to do filtering.  If we do as you proposed above (and move it to
websockets) then it becomes opaque data and much harder to apply common
filtering rules.

Mike



>
> > It is all cost/benefit tradeoffs, all the way down. :)
>
> Exactly :-)
>
> Cheers,
> Willy
>
>
>

--bcaec5523980a0626c04c4e6a345
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 10:27 AM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank"=
>w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<div class=3D"im"><br>
On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:<br>
&gt; Note that, if ever one will wish to implement server push or anything<=
br>
&gt; similar, there are ordering requirements that must be placed on at lea=
st<br>
&gt; the content delivery of the requested resource and its associated meta=
data.<br>
<br>
</div>Doug&#39;s EOI made me think again about server push. You may remembe=
r, we<br>
discussed the subject for countless hours when we met, with the problem<br>
basically being that when a client fetches a page, it also wants the<br>
objects in that page. Doug seems to need server push for instant delivery<b=
r>
to the client of fresh new contents, which is different. And if we look<br>
at how the web is currently changing, we have more and more application<br>
code running on the browser (sometimes a smartphone) which parses contents<=
br>
delivered by the server. I suspect that once we have MUX in WebSocket, this=
<br>
new model will become even more prevalent.<br></blockquote><div><br></div><=
div>Websockets is at the wrong layer and does not do content delivery - e.g=
. a websocket response will never ever land you in the client&#39;s cache. =
=A0</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
All this to say that maybe in the near future, the real need for server<br>
push will be for raw data processed by the application and not that much<br=
>
about page objects. I may be wrong, but this is probably something to<br>
think about, since in the end it will tell us whether we have to break<br>
the request/response model or not, which has a huge impact on content<br>
filtering BTW.<br></blockquote><div><br></div><div>Server push doesn&#39;t =
break the request response model. =A0You issue a request, you get a respons=
e. =A0You can&#39;t get responses without requests. =A0</div><div><br></div=
>
<div>As for impact on content filtering, I think you&#39;re quite mistaken.=
 =A0Using server push allows the content to look like content and makes it =
much *easier* to do filtering. =A0If we do as you proposed above (and move =
it to websockets) then it becomes opaque data and much harder to apply comm=
on filtering rules.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<div class=3D"im"><br>
&gt; It is all cost/benefit tradeoffs, all the way down. :)<br>
<br>
</div>Exactly :-)<br>
<br>
Cheers,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>

--bcaec5523980a0626c04c4e6a345--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 17:23:46 2012
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 E5E8C21F84D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:23:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.331
X-Spam-Level: 
X-Spam-Status: No, score=-9.331 tagged_above=-999 required=5 tests=[AWL=1.267, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 pJJqlJWnZdsR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:23:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 13A3A21F847E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 17:23:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqZ5Z-0003cZ-Ht for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 00:23:01 +0000
Resent-Date: Mon, 16 Jul 2012 00:23:01 +0000
Resent-Message-Id: <E1SqZ5Z-0003cZ-Ht@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SqZ5G-0003bf-Fi for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 00:22:42 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SqZ5F-00068t-6Y for ietf-http-wg@w3.org; Mon, 16 Jul 2012 00:22:42 +0000
Received: by vcbgb30 with SMTP id gb30so3704976vcb.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 17:22:15 -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=9N/86Gn9FLavcNTnwiUQtB7C5pEYzWEsIUvB62GbnVE=; b=qlbMWQ0KtnIR72wMDevs20nl2TljLbdlwRRkhDR2J8nO8ByjmV49A38TdsJZgW5Iox 8HknA2kaeKv+9Y5EQpc4sZKLXzqvfimryocs2lKQMZLX6B7CdREwZnKTrW0i2OsPBXP+ O5eu8FB+KmoetuhgOKWxUlfMX6gchwUchGRpja/pgj8riqLHbioIwkoeowMqkeH4pr5+ D1EkEeE04IPrYyV4bsEk7Ub+i+g56zZrGyG9fPnCfbZBpamNd/cwv4Xrwy/qKJb2jsto AV3lOfahsyfSNbEKQXyNGgzNXc5sG979g9Y/YCmmCcAL+EMNYKrd9lYmRzwy8zUDJIUB +rOw==
MIME-Version: 1.0
Received: by 10.52.98.8 with SMTP id ee8mr3747769vdb.58.1342398135105; Sun, 15 Jul 2012 17:22:15 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Sun, 15 Jul 2012 17:22:15 -0700 (PDT)
In-Reply-To: <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com>
Date: Sun, 15 Jul 2012 17:22:15 -0700
Message-ID: <CAAPAK-6XeWXkeoN6LZ2pMefEaWW2Bu0X=+dxu-3o=wJNxbOP1Q@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=20cf307f33eefd794704c4e76b92
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqZ5F-00068t-6Y f93ef8f5b7a3b4c3a36c58b75bfe70bb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAAPAK-6XeWXkeoN6LZ2pMefEaWW2Bu0X=+dxu-3o=wJNxbOP1Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14228
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>

--20cf307f33eefd794704c4e76b92
Content-Type: text/plain; charset=ISO-8859-1

In an offline study, without any connection to IETF, I (we) found
server-push too costly in HTTP-SMS gateways, which includes upgrades to MMS
That is easily exploited, even with websockets, so that/this becomes one
use-case for implementation of HTTP status 402. Of course, it polls, so
that is the request, and then the server-push happens. We have shown more
elaborate actions in another WG.

While offline, there is no way to resolve the issue except to disable
polls, so maybe that should be the default for 402 from causes like the
use-case.

Tested.

On Sun, Jul 15, 2012 at 4:26 PM, Mike Belshe <mike@belshe.com> wrote:

>
>
> On Sun, Jul 15, 2012 at 10:27 AM, Willy Tarreau <w@1wt.eu> wrote:
>
>> Hi Roberto,
>>
>> On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:
>> > Note that, if ever one will wish to implement server push or anything
>> > similar, there are ordering requirements that must be placed on at least
>> > the content delivery of the requested resource and its associated
>> metadata.
>>
>> Doug's EOI made me think again about server push. You may remember, we
>> discussed the subject for countless hours when we met, with the problem
>> basically being that when a client fetches a page, it also wants the
>> objects in that page. Doug seems to need server push for instant delivery
>> to the client of fresh new contents, which is different. And if we look
>> at how the web is currently changing, we have more and more application
>> code running on the browser (sometimes a smartphone) which parses contents
>> delivered by the server. I suspect that once we have MUX in WebSocket,
>> this
>> new model will become even more prevalent.
>>
>
> Websockets is at the wrong layer and does not do content delivery - e.g. a
> websocket response will never ever land you in the client's cache.
>
>
>>
>> All this to say that maybe in the near future, the real need for server
>> push will be for raw data processed by the application and not that much
>> about page objects. I may be wrong, but this is probably something to
>> think about, since in the end it will tell us whether we have to break
>> the request/response model or not, which has a huge impact on content
>> filtering BTW.
>>
>
> Server push doesn't break the request response model.  You issue a
> request, you get a response.  You can't get responses without requests.
>
> As for impact on content filtering, I think you're quite mistaken.  Using
> server push allows the content to look like content and makes it much
> *easier* to do filtering.  If we do as you proposed above (and move it to
> websockets) then it becomes opaque data and much harder to apply common
> filtering rules.
>
> Mike
>
>
>
>>
>> > It is all cost/benefit tradeoffs, all the way down. :)
>>
>> Exactly :-)
>>
>> Cheers,
>> Willy
>>
>>
>>
>

--20cf307f33eefd794704c4e76b92
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

In an offline study, without any connection to IETF, I (we) found server-pu=
sh too costly in HTTP-SMS gateways, which includes upgrades to MMS That is =
easily exploited, even with websockets, so that/this becomes one use-case f=
or implementation of HTTP status 402. Of course, it polls, so that is the r=
equest, and then the server-push happens. We have shown more elaborate acti=
ons in another WG.<div>
<br></div><div>While offline, there is no way to resolve the issue except t=
o disable polls, so maybe that should be the default for 402 from causes li=
ke the use-case.</div><div><br></div><div>Tested.<br><br><div class=3D"gmai=
l_quote">
On Sun, Jul 15, 2012 at 4:26 PM, Mike Belshe <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</span=
> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
<br><br><div class=3D"gmail_quote"><div class=3D"im">On Sun, Jul 15, 2012 a=
t 10:27 AM, Willy Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu"=
 target=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">

Hi Roberto,<br>
<div><br>
On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:<br>
&gt; Note that, if ever one will wish to implement server push or anything<=
br>
&gt; similar, there are ordering requirements that must be placed on at lea=
st<br>
&gt; the content delivery of the requested resource and its associated meta=
data.<br>
<br>
</div>Doug&#39;s EOI made me think again about server push. You may remembe=
r, we<br>
discussed the subject for countless hours when we met, with the problem<br>
basically being that when a client fetches a page, it also wants the<br>
objects in that page. Doug seems to need server push for instant delivery<b=
r>
to the client of fresh new contents, which is different. And if we look<br>
at how the web is currently changing, we have more and more application<br>
code running on the browser (sometimes a smartphone) which parses contents<=
br>
delivered by the server. I suspect that once we have MUX in WebSocket, this=
<br>
new model will become even more prevalent.<br></blockquote><div><br></div><=
/div><div>Websockets is at the wrong layer and does not do content delivery=
 - e.g. a websocket response will never ever land you in the client&#39;s c=
ache. =A0</div>
<div class=3D"im">
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
All this to say that maybe in the near future, the real need for server<br>
push will be for raw data processed by the application and not that much<br=
>
about page objects. I may be wrong, but this is probably something to<br>
think about, since in the end it will tell us whether we have to break<br>
the request/response model or not, which has a huge impact on content<br>
filtering BTW.<br></blockquote><div><br></div></div><div>Server push doesn&=
#39;t break the request response model. =A0You issue a request, you get a r=
esponse. =A0You can&#39;t get responses without requests. =A0</div><div><br=
>
</div>
<div>As for impact on content filtering, I think you&#39;re quite mistaken.=
 =A0Using server push allows the content to look like content and makes it =
much *easier* to do filtering. =A0If we do as you proposed above (and move =
it to websockets) then it becomes opaque data and much harder to apply comm=
on filtering rules.</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div class=3D"im"><div><br></di=
v><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
&gt; It is all cost/benefit tradeoffs, all the way down. :)<br>
<br>
</div>Exactly :-)<br>
<br>
Cheers,<br>
Willy<br>
<br>
<br>
</blockquote></div></div><br>
</blockquote></div><br></div>

--20cf307f33eefd794704c4e76b92--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 17:24:35 2012
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 B2CD521F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:24:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.537
X-Spam-Level: 
X-Spam-Status: No, score=-9.537 tagged_above=-999 required=5 tests=[AWL=1.062, BAYES_00=-2.599, 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 MxeAi5QIW7Uz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:24:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0594221F84FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 17:24:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqZ7D-00047n-Ps for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 00:24:43 +0000
Resent-Date: Mon, 16 Jul 2012 00:24:43 +0000
Resent-Message-Id: <E1SqZ7D-00047n-Ps@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SqZ75-00046i-2j for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 00:24:35 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1SqZ73-0006CQ-9w for ietf-http-wg@w3.org; Mon, 16 Jul 2012 00:24:35 +0000
Received: by qafl39 with SMTP id l39so1361521qaf.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 17:24:07 -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=At28w/AU+0JDa2TRvl0GTXj84hgXZjV0nBao8JCeqAM=; b=pRfPQil4dOEdn331iLutNyzY8/BM2MN2m9ORhiGxEc+gOkkc0oxzKDcBy5LwD/bgFU EdSWe0BbPZG6UERcxGk70w8DP15WRARSoCjC1Fosuej7lhfsu4QJTXVh1MnfTpHVt5pt U3VHdIpEVMHTSAuew7oQ0Fg04aQIQttJrXZ2jJ7ByBnvctLqPKtr/GnlXVlvkwBYXBbf bl7XGLv8VwuHRRZLAB+8gsTUGvNB2ScECyEXgFlkfjZ1ogyIzjQb699JVAD+zUD7+Isk F6FCrzPYOxGQPQ5a3Wirgtb7MpjMnMLEeT96EUG0xvco9psCY86ovToVnHffiK5123+e ZXsQ==
MIME-Version: 1.0
Received: by 10.229.134.193 with SMTP id k1mr5097106qct.2.1342398247534; Sun, 15 Jul 2012 17:24:07 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Sun, 15 Jul 2012 17:24:07 -0700 (PDT)
In-Reply-To: <50026533.9060502@treenet.co.nz>
References: <20120713225104.GK16256@1wt.eu> <46923.1342220475@critter.freebsd.dk> <20120714052933.GL16256@1wt.eu> <CAGipQFmpX5v_NmcaLqEF6R--g8rj=Qyib2Q-jm=LmmU5ijDtGw@mail.gmail.com> <20120714192215.GT16256@1wt.eu> <CAGipQFm8EA+4i+1g-6+uwnYR0j3nLsXP6kBekKxkHqDW2Mgu3w@mail.gmail.com> <50026533.9060502@treenet.co.nz>
Date: Mon, 16 Jul 2012 09:24:07 +0900
Message-ID: <CAGipQFnmFYdhvXiJObw_d2JS6RXogmTz3f2BkLiitM+sUwtQkQ@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.50; envelope-from=lef.mutualauth@gmail.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqZ73-0006CQ-9w 1ab4525cd78e39a1970e65c89b7a8e06
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAGipQFnmFYdhvXiJObw_d2JS6RXogmTz3f2BkLiitM+sUwtQkQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14229
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>

Responses inline.

On Sun, Jul 15, 2012 at 3:37 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 15/07/2012 10:05 a.m., HAYASHI, Tatsuya wrote:
>>
>> Dear Willy,
>>
>> Response inline.
>>
>> On Sun, Jul 15, 2012 at 4:22 AM, Willy Tarreau <w@1wt.eu> wrote:
>>>>>
>>>>> On a personal taste, I find it fast too. 4 months to provide proposals
>>>>> to replace the 15-year old HTTP/1, and 4 others to review them is short
>>>>> in my opinion. Roy did not even have the time to publish the Waka spec
>>>>> which could have brought a lot of fuel to the discussion !
>>>>
>>>> +1.
>>>> I think that it is an important point.
>>>> Should we make what is replaced with HTTP1?
>>>
>>> I'm not sure what you mean.
>>
>> Sorry.
>> "HTTP/2.0" are the marks of a big change for me.
>> Probably it is the same also for many Web programmers.
>> For example, big change excited like "Waka".
>> I had imagined "Version Number" such.
>> So, My "replaced" was putting it.
>> In this short time, I think that it is difficult.
>
>
> "Big change", but in what way? ....
>
> If the next protocol were to be called HTTP/1.2 we would be forced to:
> - use plain text lines limited toASCII charset ending in CRLF
> - use full-name headers in human readable format
> - support all the human-readable date formats, mime type formats, options
> names etc.
> - use strict one request message followed by one response body stateless
> sequence
>
> In short, we would be forced to NOT fix any of the real performance problems
> visible in HTTP/1.

Sure. I agree.

I think that these parts were the power of HTTP.
And I understand that it is a part of problem of the now and the future.
I am interested in these two balance.

> "2.0" is a BIG change for the incoming stream parsers and outgoing byte
> packers. Flow control, input validation, messaging and potential future
> extensions are also affected in a big way. With just binary framing change,
> no new features, no new headers, no new anything else but framing.

Are these already determination?
If I become so, I will think that I am glad.
I thought that I was discussion for determination.
(Please put me right if I make a mistake...)

> Hopefully the result will be a BIG change towards simplicity. But only time
> will tell about that.

I hope too.

Thanks.
Sincerely,

--
HAYASHI, Tatsuya
Lepidum Co. Ltd.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 17:53:55 2012
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 1F24011E80A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:53:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.705
X-Spam-Level: 
X-Spam-Status: No, score=-9.705 tagged_above=-999 required=5 tests=[AWL=0.893, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 cb6DR1GrBgpE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:53:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 619B011E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 17:53:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqZZ8-0000xV-Mm for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 00:53:34 +0000
Resent-Date: Mon, 16 Jul 2012 00:53:34 +0000
Resent-Message-Id: <E1SqZZ8-0000xV-Mm@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SqZZ0-0000w6-IP for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 00:53:26 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SqZYz-0006Bf-F5 for ietf-http-wg@w3.org; Mon, 16 Jul 2012 00:53:26 +0000
Received: by wibhm6 with SMTP id hm6so1874045wib.8 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 17:52:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lZ8y6I+P0ZXeFEcM/4IlbWBw99oBlUQ23OdT63kTboA=; b=TNs2UQS2szDysn2O5J6kzJPC7l1EOcr8EUm/4w/KgF/ZTVNHf3dCbUYpTSypRliZyV /rwfNkTVGSo4Svl5uoz5WvC/dwiuQW4HAZtRQM7QxAswSaqOlwIkCKf0oTV9b2jLHNXu Cn4/kgosDJYT4ESj2UzhtsLuMKCEYT3mhxyrtSyuGRlnaXvzrRhNXTCVtKPRi3NRC+CX 11DvZ82Ad+rgnWyrV0CyGC0Dx0NnAhnjRfenkSPRD7BlJZkTGRIyF3a9+J02L0HCptNK tiT1rkk86B3FRVpPLnhhzAOfcF3FYzPVa1dFf00UDhStBpUhhs3reNvaluSePYbLKPwP 0boA==
Received: by 10.216.138.200 with SMTP id a50mr4954318wej.155.1342399978780; Sun, 15 Jul 2012 17:52:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Sun, 15 Jul 2012 17:52:37 -0700 (PDT)
In-Reply-To: <5002864C.6050209@treenet.co.nz>
References: <53010.1342336030@critter.freebsd.dk> <5002864C.6050209@treenet.co.nz>
From: James M Snell <jasnell@gmail.com>
Date: Sun, 15 Jul 2012 17:52:37 -0700
Message-ID: <CABP7RbcdA04SJipSQ9iCoV61b73apXHJaLPW3AReiVzaoxO9tA@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d7e737e1b94d04c4e7d957
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqZYz-0006Bf-F5 5b19673ddd27faf1295928e0d695512e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbcdA04SJipSQ9iCoV61b73apXHJaLPW3AReiVzaoxO9tA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14230
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>

--0016e6d7e737e1b94d04c4e7d957
Content-Type: text/plain; charset=UTF-8

On Sun, Jul 15, 2012 at 1:58 AM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 15/07/2012 7:07 p.m., Poul-Henning Kamp wrote:
>
>> In message <50026533.9060502@treenet.co.**nz<50026533.9060502@treenet.co.nz>>,
>> Amos Jeffries writes:
>>
>>  Hopefully the result will be a BIG change towards simplicity. But only
>>> time will tell about that.
>>>
>> I don't see any signs of that anywhere, care to elaborate what you
>> base your hope on ?
>>
>>
> "Hope is hope. If we had reasons, it'd be called surety" - Anonymous.
>
> We have the opportunity for reducing the HTTPbis specs into one spec which
> describeds the framing for HTTP/2 and flor controls. Leaving the rest of
> the protocol features out as separate optional extensions. There is hope,
> slim maybe, but hope.
>
>
While "leaving the rest ... out as separate optional extensions" sounds
great if you're in the business of providing the fundamental architecture,
it's not so great if you're building applications on top that rely on those
"optional" pieces. Simplification is a great thing, but HTTP/2 can't be
ONLY about the framing... it must also address very real issues that exist
elsewhere in the specification.

- James


> AYJ
>
>
>

--0016e6d7e737e1b94d04c4e7d957
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sun, Jul 15, 2012 at 1:58 AM, Amos Jeffries <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.n=
z</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 15/07/2012 7:07 p.m., P=
oul-Henning Kamp wrote:<br>
</div><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;<a href=3D"mailto:50026533.9060502@treenet.co.nz" target=3D"=
_blank">50026533.9060502@treenet.co.<u></u>nz</a>&gt;, Amos Jeffries writes=
:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hopefully the result will be a BIG change towards simplicity. But only<br>
time will tell about that.<br>
</blockquote>
I don&#39;t see any signs of that anywhere, care to elaborate what you<br>
base your hope on ?<br>
<br>
</blockquote>
<br></div><div class=3D"im">
&quot;Hope is hope. If we had reasons, it&#39;d be called surety&quot; - An=
onymous.<br>
<br></div>
We have the opportunity for reducing the HTTPbis specs into one spec which =
describeds the framing for HTTP/2 and flor controls. Leaving the rest of th=
e protocol features out as separate optional extensions. There is hope, sli=
m maybe, but hope.<br>


<br></blockquote><div><br></div><div>While &quot;leaving the rest ... out a=
s separate optional extensions&quot; sounds great if you&#39;re in the busi=
ness of providing the fundamental architecture, it&#39;s not so great if yo=
u&#39;re building applications on top that rely on those &quot;optional&quo=
t; pieces. Simplification is a great thing, but HTTP/2 can&#39;t be ONLY ab=
out the framing... it must also address very real issues that exist elsewhe=
re in the specification.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
AYJ<br>
<br>
<br>
</blockquote></div><br>

--0016e6d7e737e1b94d04c4e7d957--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 17:56:26 2012
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 ADC6111E80A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:56:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.949
X-Spam-Level: 
X-Spam-Status: No, score=-7.949 tagged_above=-999 required=5 tests=[AWL=0.236, BAYES_40=-0.185, 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 n6zMqC1ElsHi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 17:56:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1407B11E8099 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 17:56:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqZbo-0002Yw-Lc for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 00:56:20 +0000
Resent-Date: Mon, 16 Jul 2012 00:56:20 +0000
Resent-Message-Id: <E1SqZbo-0002Yw-Lc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqZbg-0002YB-2Z for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 00:56:12 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqZbe-00074L-5B for ietf-http-wg@w3.org; Mon, 16 Jul 2012 00:56:12 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id F1E0222E1F4; Sun, 15 Jul 2012 20:55:46 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <41677.1342136900@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 10:55:50 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>
References: <41677.1342136900@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqZbe-00074L-5B a0f30ff924987c2a97043aadd20b6c4c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14231
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>

PHK -

Just a clarification or three.

Much of your commentary seems to assume that we're now deciding what =
HTTP/2.0 will be; in fact, we're choosing a starting point for further =
work. I have strong reason to be believe that many of the issues you =
raise will be discussed, and every reason to believe that what comes out =
will have substantial changes. Will the choice we make soon have =
influence over where we end up? Of course, but we have a lot to do =
before then.

You advocate (here and elsewhere) going back to the drawing board and =
doing things from scratch. In my experience (one that I believe is =
shared widely), that flat out doesn't work, and is a sure-fire recipe =
for either a) failing, or b) coming up with a committee-designed =
monstrosity (which is really just (a) drawn out).=20

Finally, HTTP versioning is NOT like software versioning (where the =
driver is often marketing). As pointed out before, we're calling this =
HTTP/2.0 because we're talking about doing things that are incompatible =
with the wire format (not semantics) of HTTP/1.1. Again, see RFC2145.

Regards,

=20
On 13/07/2012, at 9:48 AM, Poul-Henning Kamp wrote:

>=20
> This is Varnish' response to the call for expression of interest
> in HTTP/2[1].
>=20
> Varnish
> -------
>=20
> Presently Varnish[2] only implements a subset of HTTP/1.1 consistent
> with its hybrid/dual "http-server" / "http-proxy" role.
>=20
> I cannot at this point say much about what Varnish will or will
> not implement protocol wise in the future.
>=20
> Our general policy is to only add protocols if we can do a better
> job than the alternative, which is why we have not implemented HTTPS
> for instance.
>=20
> Should the outcome of the HTTP/2.0 effort result in a protocol which
> gains traction, Varnish will probably implement it, but we are
> unlikely to become an early implementation, given the current
> proposals at the table.
>=20
>=20
> Why I'm not impressed
> ---------------------
>=20
> I have read all, and participated in one, of the three proposals
> presently on the table.
>=20
> Overall, I find all three proposals are focused on solving yesteryears
> problems, rather than on creating a protocol that stands a chance
> to last us the next 20 years.
>=20
> Each proposal comes out of a particular "camp" and therefore
> all seem to suffer a certain amount from tunnel-vision.
>=20
> It is my considered opinion that none of the proposals have what
> it will take to replace HTTP/1.1 in practice.
>=20
>=20
> What if they made a new protocol, and nobody used it ?
> ------------------------------------------------------
>=20
> We have learned, painfully, that an IPv6 which is only marginally
> better than IPv4 and which offers no tangible benefit for the people
> who have the cost/trouble of the upgrade, does not penetrate the
> network on its own, and barely even on goverments mandate.
>=20
> We have also learned that a protocol which delivers the goods can
> replace all competition in virtually no time.
>=20
> See for instance how SSH replaced TELNET, REXEC, RSH, SUPDUP, and
> to a large extent KERBEROS, in a matter of a few years.
>=20
> Or I might add, how HTTP replaced GOPHER[3].
>=20
> HTTP/1.1 is arguably in the top-five most used protocols, after
> IP, TCP, UDP and, sadly, ICMP, and therefore coming up with a
> replacement should be approached humbly.
>=20
>=20
> Beating HTTP/1.1
> ----------------
>=20
> Fortunately, there are many ways to improve over HTTP/1.1, which
> lacks support for several widely used features, and sports many
> trouble-causing weeds, both of which are ripe for HTTP/2.0 to pounce
> on.
>=20
> Most notably HTTP/1.1 lacks a working session/endpoint-identity
> facility, a shortcoming which people have pasted over with the
> ill-conceived Cookie hack.
>=20
> Cookies are, as the EU commision correctly noted, fundamentally
> flawed, because they store potentially sensitive information on
> whatever computer the user happens to use, and as a result of various
> abuses and incompetences, EU felt compelled to legislate a "notice
> and announce" policy for HTTP-cookies.
>=20
> But it doesn't stop there:  The information stored in cookies have
> potentialiiy very high value for the HTTP server, and because the
> server has no control over the integrity of the storage, we are now
> seing cookies being crypto-signed, to prevent forgeries.
>=20
> The term "bass ackwards" comes to mind.
>=20
> Cookies are also one of the main wasters of bandwidth, disabling
> caching by default, sending lots of cookies were they are are not
> needed, which made many sites register separate domains for image
> content, to "save" bandwidth by avoiding cookies.
>=20
> The term "not really helping" also comes to mind.
>=20
> In my view, HTTP/2.0 should kill Cookies as a concept, and replace
> it with a session/identity facility, which makes it easier to
> do things right with HTTP/2.0 than with HTTP/1.1.
>=20
> Being able to be "automatically in compliance" by using HTTP/2.0
> no matter how big dick-heads your advertisers are or how incompetent
> your web-developers are, would be a big selling point for HTTP/2.0
> over HTTP/1.1.
>=20
> However, as I read them, none of the three proposals try to address,
> much less remedy, this situation, nor for that matter any of the
> many other issues or troubles with HTTP/1.x.
>=20
> What's even worse, they are all additive proposals, which add a
> new layer of complexity without removing any of the old complexity
> from the protocol.
>=20
> My conclusion is that HTTP/2.0 is really just a grandiose name for
> HTTP/1.2:  An attempt to smoothe out some sharp corners, to save a
> bit of bandwidth, but not get anywhere near all the architectural
> problems of HTTP/1.1 and to preserve faithfully its heritage of
> badly thought out sedimentary hacks.
>=20
> And therefore, I don't see much chance that the current crop of
> HTTP/2.0 proposals will fare significantly better than IPv6 with
> respect to adoption.
>=20
>=20
> HTTP Routers
> ------------
>=20
> One particular hot-spot in the HTTP world these days is the
> "load-balancer" or as I prefer to call it, the "HTTP router".
>=20
> These boxes sit at the DNS resolved IP numbers and distributes
> client requests to a farm of HTTP servers, based on simple criteria
> such as "Host:", URI patterns and/or server availability, sometimes
> with an added twist of geo-location[4].
>=20
> HTTP routers see very high traffic densities, the highest traffic
> densities, because they are the focal point of DoS mitigation, flash
> mobs and special event traffic spikes.
>=20
> In the time frame where HTTP/2.0 will become standardized, HTTP
> routers will routinely deal with 40Gbit/s traffic and people will
> start to arcitect for 1Tbit/s traffic.
>=20
> HTTP routers are usually only interested in a small part of the
> HTTP request and barely in the response at all, usually only the
> status code.
>=20
> The demands for bandwidth efficiency has made makers of these devices
> take many unwarranted shortcuts, for instance assuming that requests
> always start on a packet boundary, "nulling out" HTTP headers by
> changing the first character and so on.
>=20
> Whatever HTTP/2.0 becomes, I strongly urge IETF and the WG to
> formally recognize the role of HTTP routers, and to actively design
> the protocol to make life easier for HTTP routers, so that they can
> fulfill their job, while being standards compliant.
>=20
> The need for HTTP routers does not disappear just because HTTPS is
> employed, and serious thought should be turned to the question of
> mixing HTTP and HTTPS traffic on the same TCP connection, while
> allowing a HTTP router on the server side to correctly distribute
> requests to different servers.
>=20
> One simple way to gain a lot of benefit for little cost in this
> area, would be to assign "flow-labels" which each are restricted
> to one particular Host: header, allowing HTTP routers to only examine
> the first request on each flow.
>=20
>=20
> SPDY
> ----
>=20
> SPDY has come a long way, and has served as a very worthwhile proof
> of concept prototype, to document that there are gains to be had.
>=20
> But as Frederick P. Brooks admonishes us:  Always throw the prototype
> away and start over, because you will throw it away eventually, and
> doing so early saves time and effort.
>=20
> Overall, I find the design approach taken in SPDY deeply flawed.
>=20
> For instance identifying the standardized HTTP headers, by a 4-byte
> length and textual name, and then applying a deflate compressor to
> save bandwidth is totally at odds with the job of HTTP routers which
> need to quickly extract the Host: header in order to route the
> traffic, preferably without committing extensive resources to each
> request.
>=20
> It is also not at all clear if the built-in dictionary is well
> researched or just happens to work well for some subset of present
> day websites, and at the very least some kind of versioning of this
> dictionary should be incorporated.
>=20
> It is still unclear for me if or how SPDY can be used on TCP port
> 80 or if it will need a WKS allocation of its own, which would open
> a ton of issues with firewalling, filtering and proxying during
> deployment.
>=20
> (This is one of the things which makes it hard to avoid the feeling
> that SPDY really wants to do away with all the "middle-men")
>=20
> With my security-analyst hat on, I see a lot of DoS potential in
> the SPDY protocol, many ways in which the client can make the server
> expend resources, and foresee a lot of complexity in implementing
> the server side to mitigate and deflect malicious traffic.
>=20
> Server Push breaks the HTTP transaction model, and opens a pile of
> cans of security and privacy issues, which whould not be sneaked
> in during the design of a transport-encoding for HTTP/1+ traffic,
> but rather be standardized as an independent and well analysed
> extension to HTTP in general.
>=20
>=20
> HTTP Speed+Mobility
> -------------------
>=20
> Is really just SPDY with WebSockets underneath.
>=20
> I'm really not sure I see any benefit to that, execept that the
> encoding chosen is marginally more efficient to implement in
> hardware than SPDY.
>=20
> I have not understood why it has "mobility" in the name, a word
> which only makes an appearance in the ID as part of the name.
>=20
> If the use of the word "mobility" only refers only to bandwidth
> usage, I would call its use borderline-deceptive.
>=20
> If it covers session stability across IP# changes for mobile
> devices, I have missed it in my reading.
>=20
>=20
> draft-tarreau-httpbis-network-friendly-00
> -----------------------------------------
>=20
> I have participated a little bit in this draft initially, but it
> uses a number of concepts which I think are very problematic for
> high performance (as in 1Tbit/s) implementations, for instance
> variant-size length fields etc.
>=20
> I do think the proposal is much better than the other two, taking
> a much more fundamental view of the task, and if for no other reason,
> because it takes an approach to bandwidth-saving based on enumeration
> and repeat markers, rather than throwing everything after deflate
> and hope for a miracle.
>=20
> I think this protocol is the best basis to start from, but like
> the other two, it has a long way to go, before it can truly=20
> earn the name HTTP/2.0.
>=20
>=20
> Conclusion
> ----------
>=20
> Overall, I don't see any of the three proposals offer anything that
> will make the majority of web-sites go "Ohh we've been waiting for
> that!"
>=20
> Bigger sites will be entised by small bandwidth savings, but the
> majority of the HTTP users will see scant or no net positive benefit
> if one or more of these three proposals were to become HTTP/2.0
>=20
> Considering how sketchy the HTTP/1.1 interop is described it is hard
> to estimate how much trouble (as in: "Why doesn't this website work =
?")
> their deployment will cause, nor is it entirely clear to what extent
> the experience with SPDY is representative of a wider deployment or
> only of 'flying under the radar' with respect to people with an
> interest in intercepting HTTP traffic.
>=20
> Given the role of HTTP/1.1 in the net, I fear that the current rush
> to push out a HTTP/2.0 by purely additive means is badly misguided,
> and approaching a critical mass which will delay or prevent adoption
> on its own.
>=20
> At the end of the day, a HTTP request or a HTTP response is just
> some metadata and an optional chunk of bytes as body, and if it
> already takes 700 pages to standardize that, and HTTP/2.0 will add
> another 100 pages to it, we're clearly doing something wrong.
>=20
> I think it would be far better to start from scratch, look at what
> HTTP/2.0 should actually do, and then design a simple, efficient
> and future proof protocol to do just that, and leave behind all
> the aggregations of badly thought out hacks of HTTP/1.1.
>=20
> But to the extent that the WG produces a HTTP/2.0 protocol which
> people will start to use, the Varnish project will be interested.
>=20
>=20
> Poul-Henning Kamp
> Author of Varnish
>=20
>=20
> [1] http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI
> [2] http://varnish-cache.org/
> [3] Yes, I'm that old.
> [4] Which is really a transport level job, but it was left out of IPv6
>    along with other useful features, to not delay adoption[5].
> [5] No, I'm not kidding.
>=20
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by =
incompetence.
>=20

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 18:20:57 2012
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 7616C21F8557 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 18:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.158
X-Spam-Level: 
X-Spam-Status: No, score=-9.158 tagged_above=-999 required=5 tests=[AWL=1.441, BAYES_00=-2.599, 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 MBnbJ8Sit8ZD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 18:20:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31A7E21F8555 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 18:20:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqZzF-0003y5-30 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 01:20:33 +0000
Resent-Date: Mon, 16 Jul 2012 01:20:33 +0000
Resent-Message-Id: <E1SqZzF-0003y5-30@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqZz6-0003xF-T2 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 01:20:24 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqZz5-0007nv-NM for ietf-http-wg@w3.org; Mon, 16 Jul 2012 01:20:24 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A3F2322E1F4 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 21:20:01 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Mon, 16 Jul 2012 11:20:05 +1000
References: <CAHs1KMzY-EVM_AS4bj4upOs89HrcaVvpOeE+SFML5VDdtcUSxA@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <C095A0B7-0410-4120-A563-688C763C03EC@mnot.net>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqZz5-0007nv-NM d4a2216d80c8a2d3e3da4063997b2cbc
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: HTTP/2.0 proposal feedback
Archived-At: <http://www.w3.org/mid/C095A0B7-0410-4120-A563-688C763C03EC@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14232
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>

FYI.

Begin forwarded message:

> From: "James A. Morrison" <jim.morrison@gmail.com>
> Subject: HTTP/2.0 proposal feedback
> Date: 15 July 2012 11:30:14 AM AEST
> To: mnot@mnot.net
> Cc: Mike Belshe <mike@belshe.com>
>=20
> Hi,
>=20
> This is a response to the call for expressions of interest:
> http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI
>=20
> I=92m the developer of the spdy for iPhone library.  I=92m making this
> initial response on behalf of myself, not any previous or current
> employers.  I work for Twist which is currently developing an iPhone
> application.
>=20
> I chose to implement a SPDY client library rather than other HTTP/2.0
> proposals because of existing server support.  Mainly existing support
> through Google for applications running on Google Appengine.  I was
> also familiar with SPDY from previous work at Google.   Along with
> existing server implementations, I built my library as an Objective-C
> wrapper around spdylay.  Spdylay is an existing C spdy library that
> has both a client and server example built already.  The spdylay
> library is mature enough that it transparently supports SPDY/2 and
> SPDY/3.  Neither the Twist code, nor the SPDY for iPhone library
> required changes when Google switched their servers from SPDY/2 to
> SPDY/3.
>=20
> One of the promising features of SPDY is the gzip requirement.  This
> will allow us to save significant upload bandwidth at Twist by
> uploading compressed json blobs instead of the uncompressed json text.
>=20
> The other improvement is multiplexing multiple streams over a single
> connection.  This allows us to keep our api simple by having small
> specific requests for different types instead of creating large
> complicated requests and responses.  The multiplexed streams keeps the
> cost of all the small requests done by limiting the time the requests
> are waiting for a connection to be established.
>=20
> With the spdy for iphone library I have not experimented or used any
> of the flow control features.
>=20
> --=20
> Thanks,
> Jim
> http://phython.blogspot.com

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 18:44:58 2012
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 E106321F84B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 18:44:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.047
X-Spam-Level: 
X-Spam-Status: No, score=-10.047 tagged_above=-999 required=5 tests=[AWL=0.552, BAYES_00=-2.599, 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 zFzdHYBickg0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 18:44:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1D5F921F84AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 18:44:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqaMF-0003ah-1U for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 01:44:19 +0000
Resent-Date: Mon, 16 Jul 2012 01:44:19 +0000
Resent-Message-Id: <E1SqaMF-0003ah-1U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqaM6-0003Za-4v for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 01:44:10 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqaM4-00009l-Gm for ietf-http-wg@w3.org; Mon, 16 Jul 2012 01:44:10 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 0B72CE70AF; Mon, 16 Jul 2012 13:43:43 +1200 (NZST)
To: James M Snell <jasnell@gmail.com>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 16 Jul 2012 13:43:43 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: <ietf-http-wg@w3.org>
In-Reply-To: <CABP7RbcdA04SJipSQ9iCoV61b73apXHJaLPW3AReiVzaoxO9tA@mail.gmail.com>
References: <53010.1342336030@critter.freebsd.dk> <5002864C.6050209@treenet.co.nz> <CABP7RbcdA04SJipSQ9iCoV61b73apXHJaLPW3AReiVzaoxO9tA@mail.gmail.com>
Message-ID: <e9f988d55b29c2e6ae87d0f2815af2dd@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqaM4-00009l-Gm 4d7f22ce603172e516fdc99bbaafa240
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/e9f988d55b29c2e6ae87d0f2815af2dd@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14233
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 16.07.2012 12:52, James M Snell wrote:
> On Sun, Jul 15, 2012 at 1:58 AM, Amos Jeffries wrote:
>
>> On 15/07/2012 7:07 p.m., Poul-Henning Kamp wrote:
>>
>>> Amos Jeffries writes:
>>>
>>>  Hopefully the result will be a BIG change towards simplicity. But 
>>> only
>>>> time will tell about that.
>>>>
>>> I don't see any signs of that anywhere, care to elaborate what you
>>> base your hope on ?
>>>
>>>
>> "Hope is hope. If we had reasons, it'd be called surety" - 
>> Anonymous.
>>
>> We have the opportunity for reducing the HTTPbis specs into one spec 
>> which
>> describeds the framing for HTTP/2 and flor controls. Leaving the 
>> rest of
>> the protocol features out as separate optional extensions. There is 
>> hope,
>> slim maybe, but hope.
>>
>>
> While "leaving the rest ... out as separate optional extensions" 
> sounds
> great if you're in the business of providing the fundamental 
> architecture,
> it's not so great if you're building applications on top that rely on 
> those
> "optional" pieces. Simplification is a great thing, but HTTP/2 can't 
> be
> ONLY about the framing... it must also address very real issues that 
> exist
> elsewhere in the specification.

This sounds like you are arguing that we need to force mandatory Range: 
request support, mandatory caching, mandatory authentication, etc, etc. 
all the way down the stack from the web application which needs it, to 
the simple load balancers or "HTTP router" pushing HTTP/2 around a CDN 
hierarchy.

I agree that application level implementations have a whole bunch of 
things they need to support. Browsers being probably the best example 
here, with have a far wider range of RFCs to support today than even 
just HTTP/1.1. CGI interface libraries not being far behind.


I'm questioning why implementers have to be faced with reading and 
verifying compliance of all this detail as "The HTTP/2.0 Document" when 
the request details are controlled by an application and the reply is 
generated by one. Consider an HTTP server which runs a simple CGI 
library. The server can decode and multiplex the framing, but has no 
need to handle or even implement most of the finer details for features 
the CGI library can cope with. It just needs to pass on the request and 
assemble the response bits (CGI could encoded its specific 
application-level headers easily enough).
  -> the server needs compliance with HTTP/2
  -> the CGI needs compliance with some application feature spec(s) it 
want to implement and HTTP/2


To take this to the extreme case;  Should we also borg the entirety of 
WebDAV (an application feature definition) into the HTTP/2.0 document 
just because web application layer needs it? I think not.
  Neither do I think www-auth should be part of the core HTTP/2 
specification. As opposed to proxy-auth in its role as connection 
authentication which *is* relevant to the transport level for even 
simple load balancers to handle properly.
  The SPDY draft is a good example of creeping the scope out beyond 
transport and the disagreements have *all* been focused around different 
"groups" needs being unmet by that all-in-one spec.


If you read PHKs' arguments about spec page length with a grain of 
salt, these same points are what he is arguing about.

A lot of the features we will be wanting to keep from HTTP/1.x 
(www-auth, ranges, caching etc being good ones). Describing their 
semantics in a separate document pointed at by both HTTP/2 and HTTP/1 
would be a great way to simplify the texts and ensure semantic 
compatibility. New features may well be needing to define HTTP/1 
backward compatibility and this style of specification would make it 
easier to extend 1.1+


Come to think of it, in our network-friendly draft we only specify 
version as far as "HTTP/2", the .x part is left unstated in the frame 
headers and could be added as a capabilities header minor version hint, 
with a finer grain of capability advertisement than then 1.x style of 
1/2/3/4/etc offers.


A lot of the things we want to do are use-case specific wants/needs. I 
simply want the thing calling itself HTTP/2.0 to state "X,Y,Z are 
REQUIRED". That is all. When we have a choice to specify something 
optional elsewhere lets do so.

AYJ


Afterword: WG editors; that opinion goes for the HTTPbis drafts final 
arrangement choices as well.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 21:52:25 2012
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 6F84F21F84FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 21:52:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 SHqKFB2S+LbL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 21:52:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E3AA21F84F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 21:52:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqdH1-0005aB-Mp for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 04:51:07 +0000
Resent-Date: Mon, 16 Jul 2012 04:51:07 +0000
Resent-Message-Id: <E1SqdH1-0005aB-Mp@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jftucker@gmail.com>) id 1SqdGr-0005Yv-Kq for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 04:50:57 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jftucker@gmail.com>) id 1SqdGq-0006DH-BA for ietf-http-wg@w3.org; Mon, 16 Jul 2012 04:50:57 +0000
Received: by ggmi1 with SMTP id i1so5040086ggm.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 21:50:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:date:subject:to :message-id:mime-version:x-mailer; bh=308GywH3n3PbifR//8tu2RgrdRokSicGyZYvrr5HdVU=; b=br4xauf5XvzYj4f6YlXXBcomT0uYdl362StaIe4gv/lwwpKvQae451gHm5JUwcxd2h 9On7w6e8rPMJ9AsX8TIU4740Ee6tyiURmMXywPgjh2Wp5hgst6fGR+IJ1eNC+REs6GGk DAWQ70Rot7Bn93VjtnipF1805RUXmLUphtQM6GExd6zhIOcxBn2qJDKcZbU5hRg0D3JB rlXrAAdvg7SfTwQMqvlfnl/dJMpVkD7/Pw3NPOy49vJxtxuvdM1UZy1OFGm6pWFw22Zj 02NU7tmSyUbeoONxrA7JoOdMcT0qE6RfwVTgtF88/dHUpz1yg9TmUBa55ioPIagkSi1d whuA==
Received: by 10.66.75.225 with SMTP id f1mr19990427paw.35.1342414230164; Sun, 15 Jul 2012 21:50:30 -0700 (PDT)
Received: from [10.0.1.33] (c-67-180-21-214.hsd1.ca.comcast.net. [67.180.21.214]) by mx.google.com with ESMTPS id qd10sm11110721pbb.38.2012.07.15.21.50.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 15 Jul 2012 21:50:29 -0700 (PDT)
From: James Tucker <jftucker@gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sun, 15 Jul 2012 21:50:28 -0700
To: ietf-http-wg@w3.org
Message-Id: <159C6F1E-5B9B-40F5-9EAD-072839E0B8E3@gmail.com>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=209.85.161.171; envelope-from=jftucker@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DECEASED_NO_ML=0.4, 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 1SqdGq-0006DH-BA c5a24f0c7bb6548cf3a981b4212b86d2
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/159C6F1E-5B9B-40F5-9EAD-072839E0B8E3@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14234
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>

HTTP2 Expression of Interest - Rack

Good day,

This is the Rack teams HTTP2 Expression of Interest.

1. Introduction

Rack provides a minimal interface between web servers and web frameworks =
and
applications.

Rack is a Ruby based library for HTTP "glue", similar in purpose to =
WSGI. While
being a Ruby library, Rack has had a significant influence on many =
frameworks in
other languages, with ports and/or strongly related APIs existing in =
every major
and many minor languages in use today.

Rack itself is not a pure expression of HTTP, being strongly influenced =
by CGI
to date. Rack users have expressed strong interest in areas that are =
presently
difficult to implement in HTTP 1.1, and we hope that we can present many =
of
these opinions and challenges on behalf of our users.

Rack does not currently deploy any of the related protocols directly, =
although
there are projects that provide Rack compatible interfaces. There are
significant numbers of Rack deployments globally. Rack is very closely =
related
to HTTP, and with a suitable specification, should come to embody HTTP =
2.0
semantics.

2. Criteria for HTTP/2.0

2.1 Application Transport Performance

While there is much focus on bandwidth specific performance =
optimizations, it is
an equally important requirement that server side performance be =
optimized. At
present, validating HTTP parsers that include parsing and validation for =
the
full subset of data that may be transported over HTTP, are extremely =
expensive.
It should further be noted that many common deployments in fact parse =
HTTP in
upward of 3 locations: Load balancing, Front-End servers, Back-End =
servers. The
parsing efficiency for each location can likely be optimized without =
drastic
impacts to other bandwidth oriented optimizations. In some cases, such =
as the
use of Multipart Form Data, this is in no small part due to the =
dynamically
framed nature of that sub-protocol. It is our desire that any future =
HTTP
standard eradicates the need for such sub-protocols where they are in =
extremely
common use. It is further desired that the replacements be strictly =
framed,
allowing for deterministic parser performance and static optimizations.

2.2 Application Semantics

In particular areas, HTTP 1.1 leaves guesswork to the implementors. =
Specifically
regarding pipelining and idempotency. We believe that these areas of the
specification should be relaxed and/or removed in order to clarify =
specific
intent and viable use cases. Such clarification should aim to increase =
uptake,
and increase the likelihood that any server or client implementation of =
the
protocol is indeed a full implementation of the protocol. The protocol =
should
include as few SHOULD or MAY keywords as possible, and further, should =
attempt
to include those keywords on minimal elements of the protocol. Usage of =
SHOULD
or MAY on large components of the protocol (such as Content-Length, =
Connection,
Encoding and related concepts) leads to compatibility problems. We =
believe that a
sufficiently lightweight chunked semantic for data bodies would be =
appropriate
for all modern use cases.

2.3 Encodings

HTTP 1.1 does not sufficiently specify character encodings throughout =
the
protocol, and this becomes problematic for application authors. The =
problems
become further invasive when spread to other sub-components, =
specifically
Multipart. In these areas we have observed significant variance among =
User
Agents and implementors that causes downstream problems for =
applications.
Declaring both encodings and escape semantics for each segment of the =
protocol
will greatly simplify these problems.

2.4 Files

We strongly recommend that Files, both in downloads and uploads, be =
handled
natively by the protocol. If the protocol is multiplexed then multi-file =
uploads
may be best handled by multiple requests with related identifiers. The =
current
Multipart based implementations are, as already described, problematic =
for a
great many reasons.

2.5 Trailing Headers

HTTP 1.1 provided support for Trailing Headers and while they may be =
useful for
certain data (e.g. Response metrics), they are barely supported. If any =
such
provision is provided by the new protocol, we would encourage their =
support
to be a MUST. In general, this requirement is easily handled by any =
protocol that
has a response completion message of some form, as the lack of such, has =
lead to
complexities with both Pipelining and Trailers in client and server
implementations of prior HTTP versions.

2.6 Security and Resilience

HTTP is presently a very simple protocol. Despite the simplicity of the
protocol, it has proven to be only somewhat resilient to certain =
attacks.
Specifically DDoS attacks can be very difficult to combat for many of =
our users.
We are a little concerned that some of the authors of the existing =
proposals
have a disproportionate volume of resources to handle such problems, and =
as such
are less concerned with complex protocol semantics. In contrast, many of =
our
users will have significant struggles with the plethora of potential new
conditions under which attacks might operate. All areas of the transport =
are
very much more complex, from the raw wire data, right through to the =
application
level memory state, which must also be both more complex and more =
sizable.

2.7 Authentication

Improved session and authentication management is important, however, =
this may
or may not be easily solved within the realms of HTTP. It is our =
observation
that there is a direct consumer conflict between Authentication and =
Anonymity,
and that until this social issue is better understood, solutions may =
struggle.
There has been some discussion around the concept of specifically =
splitting
these two use cases at the protocol level: one sub-protocol for =
authenticated
streams, and one sub-protocol for anonymous streams. The interactions =
between
such streams, particularly at the hyperlink level, would still require =
some
careful thought and guidance in order to be effective. It should be =
noted that
this approach may have UX advantages on both the consumer side, and for =
the
application author.

2.8 Usable defaults

Several of the specifications that have been proposed include large =
volumes of
work focused on improving the bandwidth performance of the Header =
section. It is
our opinion that a selection of common defaults can help significantly =
with this
problem. Character sets, content encodings, accepted encodings, and so =
on. It
might be well worth considering SHOULD clauses that defined recommended =
values
for these fields and SHOULD NOT clauses recommending their omittance =
when those
defaults are acceptable.

2.9 Debugging, Learning and the Power of ASCII

Many of the "original protocols" (or at least, early enough to be part =
of the
internet explosion), are ASCII protocols. This is not because they're =
efficient
or inefficient, it is because they are simple. In the global scheme of
debugging, it is not that uncommon for consumers of the protocol to =
write the
protocol by hand at some point. This will simply no longer be possible =
for a
binary protocol. While that alone may not be a reason for failure, it =
may be
worth considering that one maybe should be able to compose a protocol =
message
from a simple stream of commands. If the protocol is so complex as to =
require a
complex state machine at both ends, it is likely too complex for most =
people to
reason about. This would be damaging in the long run, and potentially =
even for
immediate term uptake, particularly if there are early security =
concerns.

2.10 Server Push

There are already a great deal of complexities within the realms of =
handling IO
multiplexed at the very high level that HTTP 1.x are. Adding push =
capabilities
to the native request/response protocol further muddies these waters, =
and the
concepts of prioritization are almost insurmountable for many general =
purpose
implementations. In our experience it is best to handoff these more =
complex
requirements to dedicated protocols that are better suited to the task. =
These
protocols may be handled on using dedicated code that can be =
independently
verified and controlled.

3. HTTP/2.0 Proposals

The commonality of bandwidth focus in these proposals, rather than =
application
level focus is somewhat alarming. Bandwidth and latency are improving
significantly for all Internet users (with the exception of Buffer Bloat
problems), and as such it seems that HTTPs weaknesses are not really in =
this
area. The lack of a progressive proposal that merely aims to address =
some of the
core application semantic problems in HTTP 1.1 makes the choice of a =
preferred
baseline difficult. Indeed it is in fact our preference to use HTTP 1.1 =
as a
baseline for HTTP 2.0, and to address semantic and framing problems =
within the
scope of the simple ASCII protocol, than to add significantly to runtime
state complexity.

3.1 draft-mbelshe-httpbis-spdy-00

SPDY is an interesting protocol from the point of view of its potential
capabilities as a generic application data transport protocol. It =
certainly
addresses many of the concerns of very large deployments. Primary =
concerns with
SPDY are that it is much too complex, and this poses many risks:
 * Security
 * Scalability for small installations
 * Resilience to poor clients
 * Resilience to poor servers
 * Complexity for debugging

The forced lower casing of header segments is advisable from an =
application
semantic standpoint, as it prevents the need for continual coercive =
construction
of reply headers, and case agnostic lookup of request headers.

Due to the above complexities, it is hard to recommend SPDY as a =
baseline. It
may be well suited for deployments with large expert operational staff, =
however,
it is mirrored to be equally bad for small non-expert staff in =
rest-of-the-world
deployment scenarios.

3.2 draft-montenegro-httpbis-speed-mobility-02

There appears to be very little difference in complexity between SPDY =
and
Speed+Mobility. While initially charming, the concept of reusing the =
Websockets
protocol seems to merely remove many of the advantages that SPDY offers,
specifically at connection setup time. While there is still significant
advantage for web applications, there is questionable advantage for web =
sites.
When the target is for a major change in the protocol, the wrapping =
within prior
versions seems to be a large amount of overhead.

3.3 draft-tarreau-httpbis-network-friendly-00

Marginally more preferred as a starting point from the three available, =
this
protocol proposal appears to have fewer controlling elements. This =
simplicity is
the primary reason for the preference. Entity frames of this nature may =
be able
to be adapted to also handle multiple files with trailers, in a simple =
linear
state machine, requiring less per session resources than SPDY. The frame =
header
indicating trailers is potentially problematic for some applications. If =
the
protocol had a response termination concept, such a concept would =
potentially
allow middleware to add trailers without application knowledge. Grouped =
header
fields are an interesting concept, but may be subject to many subtle =
security
complexities. There is still a complexity with request pipelining for =
the
purposes of multiplexed file uploads, and as mentioned above, it is =
preferred to
avoid multipart to work around such restrictions.

As with Speed+Mobility, the HTTP/1.1 upgrade path may be useful to some =
clients,
but ideally need not be preferred. It is possible that client =
applications might
encode http2 as a concept that could avoid this requirement, and a =
protocol
should take advantage of this to avoid extending the lifetime of HTTP =
1.1
parsers into the next few decades.

4. Apology

Apology for the late entry and related somewhat disconnected, direct and =
less
positive summary reviews. We are very interested to see what comes out =
of the
working group, and will be watching (and implementing) with keen eyes.



Thank you for you time reading,

James Tucker



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 22:40:19 2012
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 5E4D521F8595 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 22:40:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 vww3fpIapTLw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 22:40:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8D9BB21F8593 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 22:40:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqe28-00021g-Cd for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 05:39:48 +0000
Resent-Date: Mon, 16 Jul 2012 05:39:48 +0000
Resent-Message-Id: <E1Sqe28-00021g-Cd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <J.deBorst@F5.com>) id 1Sqe1x-00020u-OE for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 05:39:37 +0000
Received: from mail.f5.com ([208.85.209.139]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <J.deBorst@F5.com>) id 1Sqe1u-0006cw-Ib for ietf-http-wg@w3.org; Mon, 16 Jul 2012 05:39:37 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=f5.com; i=J.deBorst@f5.com; q=dns/txt; s=seattle; t=1342417175; x=1373953175; h=from:to:subject:date:message-id:mime-version; bh=U1K9N0LFNhBBqWTwQ8c26FTjc9efz1hJ+NUmewAhhog=; b=p4GUw85VL2NlKbu88g5FRFIVg5aT7r0zUfbWViU7dP87oVHF51h8EEpd 8v9xJYNfIMwtq/TQ4B8sAiW3DGT8C+tsL6TfSAw0cj9yhltaL9/OONv16 lj9YKmP9WAxJK85fYMnBK2a435EpUfufO9Yjyw9XtK45Jm7T+7HVuYe7C M=;
X-IronPort-AV: E=Sophos;i="4.77,592,1336348800";  d="scan'208,217";a="49041146"
Received: from unknown (HELO exchmail.f5net.com) ([192.168.10.240]) by mail.f5.com with ESMTP/TLS/AES128-SHA; 16 Jul 2012 05:39:06 +0000
Received: from SEAEMBX01.olympus.F5Net.com ([fe80::3440:4256:38f6:d3a0]) by SEAECAS04.olympus.F5Net.com ([::1]) with mapi id 14.02.0283.003; Sun, 15 Jul 2012 22:39:05 -0700
From: Jeroen de Borst <J.deBorst@F5.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP/2 expression of interest: F5
Thread-Index: Ac1jE9JzWSFmwSMSRwGFjEZmVO+z2A==
Date: Mon, 16 Jul 2012 05:39:04 +0000
Message-ID: <445F70104F72BC4CBF0FBDE14145833F274E761A@SEAEMBX01.olympus.F5Net.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.16.250]
Content-Type: multipart/alternative; boundary="_000_445F70104F72BC4CBF0FBDE14145833F274E761ASEAEMBX01olympu_"
MIME-Version: 1.0
Received-SPF: pass client-ip=208.85.209.139; envelope-from=J.deBorst@F5.com; helo=mail.f5.com
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqe1u-0006cw-Ib a4494800c24fa7b1881668c326170f12
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP/2 expression of interest: F5
Archived-At: <http://www.w3.org/mid/445F70104F72BC4CBF0FBDE14145833F274E761A@SEAEMBX01.olympus.F5Net.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14235
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>

--_000_445F70104F72BC4CBF0FBDE14145833F274E761ASEAEMBX01olympu_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

This is F5's expression of interest for HTTP/2.

In the majority of its deployments F5's products sit at the server-end of t=
he protocol (HTTP or other) and relies on features that are implemented by =
the client (browser). Any HTTP related features (HTTP/2 or other) that rece=
ive wide browser support will be considered for support/implementation by F=
5 for (some of) its products, if believed to add value for our customers.

Because of the wide deployment of SPDY in today's browsers (particularly Ch=
rome and Firefox) and the benefits it brings, F5 has implemented the SPDY p=
rotocol. Hence F5 expresses interest in SPDY as starting point for an HTTP/=
2 proposal.

Here is a summary of my personal experience with SPDY so far...

I see the following benefits of SPDY and some related issues:

-          SPDY's multiplexing scheme is a huge improvement over HTTP (pipe=
lining).

-          SPDY's compression greatly reduces request and response headers =
(often to fit a single IP frame). Especially on the request side this helps=
 performance.

o   There are some issues with the compression scheme

-          The use of TLS is desirable.

o   But it complicates the deployment of value-adding proxies.

-          The use of TLS NPN reduces the need for additional end-point and=
/or protocol schemes.

o   There is some confusion around the use of http vs. https, which are har=
d to understand, even by experienced http users.

Some elaboration on the issues I think need to be addressed in HTTP/2:

-          In the SPDY protocol the client chooses the compression window. =
The server is forced allocate a buffer the size of the compression window. =
Today we're forced to allocate 32 Kb per connection for decompression. For =
a high-end implementation this can end up being a constraining factor. It i=
s desirable for the server to be able control this window size.

-          There are certain type of errors that could be communicated to t=
he client without decompressing the request (e.g. 'server is busy'). Curren=
tly the server has to decompress the request (to keep the compression conte=
xt in sync) or disconnect. The former consumes unneeded resources, the seco=
nd can cause the browser to fall back to HTTP or restart a SPDY connection =
(which causes a new TLS handshake, hopefully abbreviated).

-          The use of http and/or https URIs in SPDY is inconsistent and co=
nfusing (and even can render SPDY ineffective when applications generate th=
e wrong absolute URIs). The guidelines for browser and server behavior shou=
ld be part of the spec to assure consistency.

o   During the implementation of a SPDY to HTTP proxy, we found the need fo=
r a separate trust relationship with a proxy (one that translates protocols=
 or manipulates payload).

-          The handling of priorities is unspecified and we've experimented=
 with different implementations.

o   It seems that browser implementers could benefit from knowing how the s=
erver handles priorities.

-          Though NTLM was/is problematic as an HTTP authentication scheme =
and seems incompatible with SPDY. However support for connection oriented a=
uthentication schemes (maybe PAM based) do seem appropriate for SPDY and wo=
uld help accelerate request handling (eliminating per request credentials).

This email cannot be interpreted as a promise of F5 to make SPDY (or any ot=
her HTTP/2 proposal) available in any version of its products. For inquirie=
s/requests of this nature please contact our Product Management organizatio=
n.

Jeroen de Borst
Software Engineer, F5 Networks


--_000_445F70104F72BC4CBF0FBDE14145833F274E761ASEAEMBX01olympu_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1363898275;
	mso-list-type:hybrid;
	mso-list-template-ids:1432109796 1389389450 67698691 67698693 67698689 676=
98691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1669139833;
	mso-list-type:hybrid;
	mso-list-template-ids:1038022704 -2072487390 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2
	{mso-list-id:1678073813;
	mso-list-type:hybrid;
	mso-list-template-ids:-1772847016 994071270 67698691 67698693 67698689 676=
98691 67698693 67698689 67698691 67698693;}
@list l2:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;}
@list l2:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l2:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l2:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">This is F5&#8217;s expression of interest for HTTP/2=
.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the majority of its deployments F5&#8217;s produc=
ts sit at the server-end of the protocol (HTTP or other) and relies on feat=
ures that are implemented by the client (browser). Any HTTP related feature=
s (HTTP/2 or other) that receive wide browser
 support will be considered for support/implementation by F5 for (some of) =
its products, if believed to add value for our customers.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Because of the wide deployment of SPDY in today&#821=
7;s browsers (particularly Chrome and Firefox) and the benefits it brings, =
F5 has implemented the SPDY protocol. Hence F5 expresses interest in SPDY a=
s starting point for an HTTP/2 proposal.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Here is a summary of my personal experience with SPD=
Y so far&#8230;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I see the following benefits of SPDY and some relate=
d issues:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l2 level=
1 lfo3"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>SPDY&#8217;s multiplexing scheme is a huge improvem=
ent over HTTP (pipelining).<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l2 level=
1 lfo3"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>SPDY&#8217;s compression greatly reduces request an=
d response headers (often to fit a single IP frame). Especially on the requ=
est side this helps performance.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:1.0in;text-indent:-.25in=
;mso-list:l2 level2 lfo3">
<![if !supportLists]><span style=3D"font-family:&quot;Courier New&quot;"><s=
pan style=3D"mso-list:Ignore">o<span style=3D"font:7.0pt &quot;Times New Ro=
man&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>There are some issues with the compression s=
cheme<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l2 level=
1 lfo3"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>The use of TLS is desirable.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:1.0in;text-indent:-.25in=
;mso-list:l2 level2 lfo3">
<![if !supportLists]><span style=3D"font-family:&quot;Courier New&quot;"><s=
pan style=3D"mso-list:Ignore">o<span style=3D"font:7.0pt &quot;Times New Ro=
man&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>But it complicates the deployment of value-a=
dding proxies.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l2 level=
1 lfo3"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>The use of TLS NPN reduces the need for additional =
end-point and/or protocol schemes.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:1.0in;text-indent:-.25in=
;mso-list:l2 level2 lfo3">
<![if !supportLists]><span style=3D"font-family:&quot;Courier New&quot;"><s=
pan style=3D"mso-list:Ignore">o<span style=3D"font:7.0pt &quot;Times New Ro=
man&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>There is some confusion around the use of ht=
tp vs. https, which are hard to understand, even by experienced http users.=
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Some elaboration on the issues I think need to be ad=
dressed in HTTP/2:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>In the SPDY protocol the client chooses the compres=
sion window. The server is forced allocate a buffer the size of the compres=
sion window. Today we&#8217;re forced to allocate 32 Kb per connection for =
decompression. For a high-end implementation
 this can end up being a constraining factor. It is desirable for the serve=
r to be able control this window size.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>There are certain type of errors that could be comm=
unicated to the client without decompressing the request (e.g. &#8216;serve=
r is busy&#8217;). Currently the server has to decompress the request (to k=
eep the compression context in sync) or disconnect.
 The former consumes unneeded resources, the second can cause the browser t=
o fall back to HTTP or restart a SPDY connection (which causes a new TLS ha=
ndshake, hopefully abbreviated).<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>The use of http and/or https URIs in SPDY is incons=
istent and confusing (and even can render SPDY ineffective when application=
s generate the wrong absolute URIs). The guidelines for browser and server =
behavior should be part of the spec
 to assure consistency. <o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:1.0in;text-indent:-.25in=
;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style=3D"font-family:&quot;Courier New&quot;"><s=
pan style=3D"mso-list:Ignore">o<span style=3D"font:7.0pt &quot;Times New Ro=
man&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>During the implementation of a SPDY to HTTP =
proxy, we found the need for a separate trust relationship with a proxy (on=
e that translates protocols or manipulates payload).<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>The handling of priorities is unspecified and we&#8=
217;ve experimented with different implementations.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:1.0in;text-indent:-.25in=
;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style=3D"font-family:&quot;Courier New&quot;"><s=
pan style=3D"mso-list:Ignore">o<span style=3D"font:7.0pt &quot;Times New Ro=
man&quot;">&nbsp;&nbsp;
</span></span></span><![endif]>It seems that browser implementers could ben=
efit from knowing how the server handles priorities.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Though NTLM was/is problematic as an HTTP authentic=
ation scheme and seems incompatible with SPDY. However support for connecti=
on oriented authentication schemes (maybe PAM based) do seem appropriate fo=
r SPDY and would help accelerate
 request handling (eliminating per request credentials). <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This email cannot be interpreted as a promise of F5 =
to make SPDY (or any other HTTP/2 proposal) available in any version of its=
 products. For inquiries/requests of this nature please contact our Product=
 Management organization.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Jeroen de Borst<o:p></o:p></p>
<p class=3D"MsoNormal">Software Engineer, F5 Networks<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_445F70104F72BC4CBF0FBDE14145833F274E761ASEAEMBX01olympu_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 22:56:40 2012
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 1405421F85B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 22:56:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.271
X-Spam-Level: 
X-Spam-Status: No, score=-9.271 tagged_above=-999 required=5 tests=[AWL=1.328, BAYES_00=-2.599, 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 LhdPiqxJw7qq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 22:56:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A07621F85A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 22:56:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqeHr-0003NF-8b for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 05:56:03 +0000
Resent-Date: Mon, 16 Jul 2012 05:56:03 +0000
Resent-Message-Id: <E1SqeHr-0003NF-8b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqeHj-0003Lk-5x for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 05:55:55 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqeHh-0008FE-VG for ietf-http-wg@w3.org; Mon, 16 Jul 2012 05:55:55 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6G5tER5024710; Mon, 16 Jul 2012 07:55:14 +0200
Date: Mon, 16 Jul 2012 07:55:14 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Message-ID: <20120716055514.GC22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqeHh-0008FE-VG e9820e46c93def7a54b78caf1f7374a8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120716055514.GC22790@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14236
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 Mike,

On Sun, Jul 15, 2012 at 04:26:13PM -0700, Mike Belshe wrote:
> On Sun, Jul 15, 2012 at 10:27 AM, Willy Tarreau <w@1wt.eu> wrote:
> 
> > Hi Roberto,
> >
> > On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:
> > > Note that, if ever one will wish to implement server push or anything
> > > similar, there are ordering requirements that must be placed on at least
> > > the content delivery of the requested resource and its associated
> > metadata.
> >
> > Doug's EOI made me think again about server push. You may remember, we
> > discussed the subject for countless hours when we met, with the problem
> > basically being that when a client fetches a page, it also wants the
> > objects in that page. Doug seems to need server push for instant delivery
> > to the client of fresh new contents, which is different. And if we look
> > at how the web is currently changing, we have more and more application
> > code running on the browser (sometimes a smartphone) which parses contents
> > delivered by the server. I suspect that once we have MUX in WebSocket, this
> > new model will become even more prevalent.
> >
> 
> Websockets is at the wrong layer and does not do content delivery - e.g. a
> websocket response will never ever land you in the client's cache.

Indeed, this is a good point. I was mostly thinking about dynamic contents
in fact.

> > All this to say that maybe in the near future, the real need for server
> > push will be for raw data processed by the application and not that much
> > about page objects. I may be wrong, but this is probably something to
> > think about, since in the end it will tell us whether we have to break
> > the request/response model or not, which has a huge impact on content
> > filtering BTW.
> >
> 
> Server push doesn't break the request response model.  You issue a request,
> you get a response.  You can't get responses without requests.

OK but some data may end up in the client's cache without having been
requested by him. I don't think it has a high technical impact, but it
may rather be a legal one in some cases. In fact it's a delicate question.

> As for impact on content filtering, I think you're quite mistaken.  Using
> server push allows the content to look like content and makes it much
> *easier* to do filtering.  If we do as you proposed above (and move it to
> websockets) then it becomes opaque data and much harder to apply common
> filtering rules.

Note that I'm not advocating the use of WS to retrieve objects, I was just
observing that more and more contents are delivered as data to applications,
so I'm not saying that I'd prefer to filter them in one form or another.
Concerning filtering, I think that what embarrasses me a bit with server
push is the difficulty of applying URL-based filtering. But maybe this is
just a problems which needs to be carefully addressed so that it is not a
problem at all.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:03:25 2012
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 3968921F850D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:03:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 9kpTTEOf7PvO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:03:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D004821F851E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:03:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqeP2-0007rl-Oa for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:03:28 +0000
Resent-Date: Mon, 16 Jul 2012 06:03:28 +0000
Resent-Message-Id: <E1SqeP2-0007rl-Oa@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SqeOu-0007r0-8C for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:03:20 +0000
Received: from prod-mail-xrelay01.akamai.com ([72.246.2.12]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SqeOs-0007Vq-J1 for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:03:20 +0000
Received: from prod-mail-xrelay01.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id BCDF5CF0CA for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 06:02:52 +0000 (GMT)
Received: from prod-mail-relay02.akamai.com (prod-mail-relay02.akamai.com [172.17.50.21]) by prod-mail-xrelay01.akamai.com (Postfix) with ESMTP id A87F9CF0C9 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 06:02:52 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub7.dfw01.corp.akamai.com [172.27.33.73]) by prod-mail-relay02.akamai.com (Postfix) with ESMTP id 74AC7FE054 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 06:02:52 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub7.dfw01.corp.akamai.com ([172.27.33.73]) with mapi; Mon, 16 Jul 2012 01:02:51 -0500
From: "Ludin, Stephen" <sludin@akamai.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 01:02:29 -0500
Thread-Topic: HTTP/2.0 Expression of Interest: Akamai
Thread-Index: Ac1jGKH3JyoY0wSmQ0Sdin2LoODC2A==
Message-ID: <CC28FB8C.5BC80%sludin@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CC28FB8C5BC80sludinakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=72.246.2.12; envelope-from=sludin@akamai.com; helo=prod-mail-xrelay01.akamai.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqeOs-0007Vq-J1 bccf5852f38a2ca7af64d3151d7c0215
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP/2.0 Expression of Interest: Akamai
Archived-At: <http://www.w3.org/mid/CC28FB8C.5BC80%25sludin@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14237
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>

--_000_CC28FB8C5BC80sludinakamaicom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Akamai has deployed a pervasive, highly-distributed cloud
optimization platform with over 105,000 servers in 78 countries within
over 1,000 networks, and delivers between 15-30% of all HTTP traffic

Akamai is the leading cloud platform for helping enterprises provide
secure, high-performing user experiences on any device, anywhere. At
the core of the company's solutions is the Akamai Intelligent
Platform=99 providing extensive reach, coupled with reliability,
security, visibility, and expertise. Akamai removes the complexities
of connecting the increasingly mobile world, supporting 24/7 consumer
demand, and enabling enterprises to securely leverage the cloud

At Akamai we are thrilled about the opportunity to participate in
developing HTTP/2.0, and share our experience from 14 years of serving
massive loads of HTTP/1.0 and HTTP/1.1 traffic, as well as the
perspective of being a surrogate for a large portion of the worlds web
traffic.

>From the submitted proposals Akamai so far implemented SPDY draft 2.
The reason for implementing SPDY is twofold: testing a new proposal
aimed to address performance needs, as well as wide adoption and
support by significant number of clients/browsers - which enables
real-world testing and evaluation of the protocol.

Criteria for HTTP/2.0: When considering our objectives for HTTP/2.0 we
believe the suggestion should address and improve on the following
aspects which we see as key for today=92s internet:

Performance: Help make HTTP and web applications faster, addressing
existing protocol limitations.

Efficiency: Improve network resource utilization, as
well as client and server efficiency: faster protocol handling, and
eliminating redundant or obsolete features. specifically - when taking
it to scale (see below) - we need to ensure that the protocol can be
efficiently handled and parsed on scale, at large numbers of requests
per server.

Security: The protocol should improve security and make
it easy to use. Security doesn't necessarily means forced encryption
for all traffic, but should provide the means for an end-user to
validate that the server is trusted, and that the content served is
indeed served from the requested server

Scale and serviceability - the suggestion should also take into
consideration the existing network infrastructure used to serve large
sites, as well as overall web platforms: serving content of
potentially thousands of servers, from multiple locations, proxy
servers and multi-tiered architectures, as well as servers serving
hundreds or thousands of different hosts/domains.

Specifically we believe that the protocol should include the following
technologies which helps achieve the above goals:

1. Multiplexing requests on a single connection: Given the fact that
multiple hosts can be served by the same server, we should also
support and cover cases to enable multiplexing requests for multiple
hosts on the same single connection, ensuring the security and privacy
of the served hostnames/domains. This is specifically important for
mobile devices, as we would like to reuse when possible a single
connection for as many domains as possible. This may also call for
additional requirements such as cert push and DNS push over HTTP.

2. Prioritization and flow control of requests within a single
connection

3. Server push

4. Header compression and optimization: eliminate redundancy and
parsing overhead per request, as well as better structuring of some
headers, for improved parsing and header handling.

5. Content integrity: Both for full and partial object.  TCP payload
corruption happens and not all of them are caught by the TCP checksum.


Aside from the techniques called out in the different proposals, there
are some additional requirements we think are critical in order to
take things to scale:

1. TLS should not be a requirement: Though it certainly greatly
simplifies protocol adoption while generally raising the security
level, TLS will put an unnecessary and significant burden on
infrastructure.  Computing costs for symmetric encryption tend to be
between 10-20% over non-encrypted traffic.  This additional cost is
potentially a blocker to adoption of a protocol that requires all
traffic to go over TLS as medium to large server deployments will need
to scale accordingly.

2. Requiring SNI support (or equivalent) - Whether TLS is a
requirement or not, SNI should be called out as a requirement of TLS.
without SNI, offering TLS for a domain requires a dedicated IP
address. with the limitation of IPv4 addresses, it becomes a necessity
to serve multiple certs on a single IP address in order to scale SSL
at a large scale. We believe supporting SNI should be a requirement,
and shouldn't be optional.

3. Easy detection of host header for efficient load balancing and
service handling.

4. Control server mapping and optimizing other layers, such as
certificate handling and DNS/host mapping for end users. Specifically
- pushing to user-agents DNS data and certificates. In a world where
request multiplexing is supported, and long-living connections are the
standard, mechanisms to better handle connections on the server level
are required. For instance, gracefully handing over a connection to an
alternate server - for load management or to ensure better
performance/reduced connection latency. Traditionally these would be
handled by DNS or other protocols, but we believe it is required to
add control for that directly between the server and client.

Evaluation of the existing alternatives: So far we have implemented
SPDY - as clients are publicly available at scale.  We haven't
implemented other proposals as there was no widely deployed client
implementation that we could test with.




--_000_CC28FB8C5BC80sludinakamaicom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"color: rgb(0, 0, 0); font-size: 14px; font-famil=
y: Calibri, sans-serif; word-wrap: break-word; -webkit-nbsp-mode: space; -w=
ebkit-line-break: after-white-space; "><div><div><div>Akamai has deployed a=
 pervasive, highly-distributed cloud</div><div>optimization platform with o=
ver 105,000 servers in 78 countries within</div><div>over 1,000 networks, a=
nd delivers between 15-30% of all HTTP traffic</div><div><br></div><div>Aka=
mai is the leading cloud platform for helping enterprises provide</div><div=
>secure, high-performing user experiences on any device, anywhere. At</div>=
<div>the core of the company's solutions is the Akamai Intelligent</div><di=
v>Platform=99 providing extensive reach, coupled with reliability,</div><di=
v>security, visibility, and expertise. Akamai removes the complexities</div=
><div>of connecting the increasingly mobile world, supporting 24/7 consumer=
</div><div>demand, and enabling enterprises to securely leverage the cloud<=
/div><div><br></div><div>At Akamai we are thrilled about the opportunity to=
 participate in</div><div>developing HTTP/2.0, and share our experience fro=
m 14 years of serving</div><div>massive loads of HTTP/1.0 and HTTP/1.1 traf=
fic, as well as the</div><div>perspective of being a surrogate for a large =
portion of the worlds web</div><div>traffic.</div><div><br></div><div>From =
the submitted proposals Akamai so far implemented SPDY draft 2.&nbsp;</div>=
<div>The reason for implementing SPDY is twofold: testing a new proposal</d=
iv><div>aimed to address performance needs, as well as wide adoption and</d=
iv><div>support by significant number of clients/browsers - which enables</=
div><div>real-world testing and evaluation of the protocol.</div><div><br><=
/div><div>Criteria for HTTP/2.0: When considering our objectives for HTTP/2=
.0 we</div><div>believe the suggestion should address and improve on the fo=
llowing</div><div>aspects which we see as key for today=92s internet:&nbsp;=
</div><div><br></div><div>Performance: Help make HTTP and web applications =
faster, addressing</div><div>existing protocol limitations.</div><div><br><=
/div><div>Efficiency: Improve network resource utilization, as</div><div>we=
ll as client and server efficiency: faster protocol handling, and</div><div=
>eliminating redundant or obsolete features. specifically - when taking</di=
v><div>it to scale (see below) - we need to ensure that the protocol can be=
</div><div>efficiently handled and parsed on scale, at large numbers of req=
uests</div><div>per server. &nbsp;</div><div><br></div><div>Security: The p=
rotocol should improve security and make</div><div>it easy to use. Security=
 doesn't necessarily means forced encryption</div><div>for all traffic, but=
 should provide the means for an end-user to</div><div>validate that the se=
rver is trusted, and that the content served is</div><div>indeed served fro=
m the requested server&nbsp;</div><div><br></div><div>Scale and serviceabil=
ity - the suggestion should also take into</div><div>consideration the exis=
ting network infrastructure used to serve large</div><div>sites, as well as=
 overall web platforms: serving content of</div><div>potentially thousands =
of servers, from multiple locations, proxy</div><div>servers and multi-tier=
ed architectures, as well as servers serving</div><div>hundreds or thousand=
s of different hosts/domains.</div><div><br></div><div>Specifically we beli=
eve that the protocol should include the following</div><div>technologies w=
hich helps achieve the above goals:</div><div><br></div><div>1. Multiplexin=
g requests on a single connection: Given the fact that</div><div>multiple h=
osts can be served by the same server, we should also</div><div>support and=
 cover cases to enable multiplexing requests for multiple</div><div>hosts o=
n the same single connection, ensuring the security and privacy</div><div>o=
f the served hostnames/domains. This is specifically important for</div><di=
v>mobile devices, as we would like to reuse when possible a single</div><di=
v>connection for as many domains as possible. This may also call for</div><=
div>additional requirements such as cert push and DNS push over HTTP.</div>=
<div><br></div><div>2. Prioritization and flow control of requests within a=
 single</div><div>connection</div><div><br></div><div>3. Server push</div><=
div><br></div><div>4. Header compression and optimization: eliminate redund=
ancy and</div><div>parsing overhead per request, as well as better structur=
ing of some</div><div>headers, for improved parsing and header handling.</d=
iv><div><br></div><div>5. Content integrity: Both for full and partial obje=
ct. &nbsp;TCP payload</div><div>corruption happens and not all of them are =
caught by the TCP checksum.</div><div><br></div><div><br></div><div>Aside f=
rom the techniques called out in the different proposals, there</div><div>a=
re some additional requirements we think are critical in order to</div><div=
>take things to scale:</div><div><br></div><div>1. TLS should not be a requ=
irement: Though it certainly greatly</div><div>simplifies protocol adoption=
 while generally raising the security</div><div>level, TLS will put an unne=
cessary and significant burden on</div><div>infrastructure. &nbsp;Computing=
 costs for symmetric encryption tend to be</div><div>between 10-20% over no=
n-encrypted traffic. &nbsp;This additional cost is</div><div>potentially a =
blocker to adoption of a protocol that requires all</div><div>traffic to go=
 over TLS as medium to large server deployments will need</div><div>to scal=
e accordingly.</div><div><br></div><div>2. Requiring SNI support (or equiva=
lent) - Whether TLS is a</div><div>requirement or not, SNI should be called=
 out as a requirement of TLS.</div><div>without SNI, offering TLS for a dom=
ain requires a dedicated IP</div><div>address. with the limitation of IPv4 =
addresses, it becomes a necessity</div><div>to serve multiple certs on a si=
ngle IP address in order to scale SSL</div><div>at a large scale. We believ=
e supporting SNI should be a requirement,</div><div>and shouldn't be option=
al.</div><div><br></div><div>3. Easy detection of host header for efficient=
 load balancing and</div><div>service handling.</div><div><br></div><div>4.=
 Control server mapping and optimizing other layers, such as</div><div>cert=
ificate handling and DNS/host mapping for end users. Specifically</div><div=
>- pushing to user-agents DNS data and certificates. In a world where</div>=
<div>request multiplexing is supported, and long-living connections are the=
</div><div>standard, mechanisms to better handle connections on the server =
level</div><div>are required. For instance, gracefully handing over a conne=
ction to an</div><div>alternate server - for load management or to ensure b=
etter</div><div>performance/reduced connection latency. Traditionally these=
 would be</div><div>handled by DNS or other protocols, but we believe it is=
 required to</div><div>add control for that directly between the server and=
 client.</div><div>&nbsp;</div><div>Evaluation of the existing alternatives=
: So far we have implemented</div><div>SPDY - as clients are publicly avail=
able at scale. &nbsp;We haven't</div><div>implemented other proposals as th=
ere was no widely deployed client</div><div>implementation that we could te=
st with.</div><div><br></div><div><br></div><div><br></div></div></div></bo=
dy></html>

--_000_CC28FB8C5BC80sludinakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:05:30 2012
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 8208D21F85D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:05:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.168
X-Spam-Level: 
X-Spam-Status: No, score=-9.168 tagged_above=-999 required=5 tests=[AWL=1.431, BAYES_00=-2.599, 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 yO3UUhWD0MEy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:05:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D6D021F85CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:05:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqeRO-0000vw-Sv for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:05:54 +0000
Resent-Date: Mon, 16 Jul 2012 06:05:54 +0000
Resent-Message-Id: <E1SqeRO-0000vw-Sv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqeRG-0000v6-Ln for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:05:46 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqeRB-0007Zu-1O for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:05:46 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D1F5A22E253 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 02:05:18 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <650E8D4B-7911-42EB-BECC-DAA6FB9E51AF@mnot.net>
Date: Mon, 16 Jul 2012 16:05:13 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <DAC98E13-8161-4F12-BFF7-E164EC53B419@mnot.net>
References: <4F7F485F.4020106@oracle.com> <3A818D3D-704E-44F6-B1BC-E1EA412835EE@mnot.net> <650E8D4B-7911-42EB-BECC-DAA6FB9E51AF@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqeRB-0007Zu-1O cfa90f6142b53d52954913ac34b40948
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #350: WGLC Issue for p4: Optionality of Conditional Request Support
Archived-At: <http://www.w3.org/mid/DAC98E13-8161-4F12-BFF7-E164EC53B419@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14238
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 haven't heard anything else about this, so I've marked the proposal =
below for incorporation.


On 05/07/2012, at 1:00 PM, Mark Nottingham wrote:

>=20
> On 25/06/2012, at 1:48 PM, Mark Nottingham wrote:
>>>=20
>>> 3.  Precondition Header Fields
>>>=20
>>> This section defines the syntax and semantics of HTTP/1.1 header
>>> fields for applying preconditions on requests.  <new>If an origin =
server
>>> supplies a Validator for a resources, the origin server MUST support =
the
>>> corresponding conditionals.</new>
>>=20
>> That looks reasonable, but I think it'd be clearer if this were =
stated in the sections that define the validators. E.g., in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#entity.tag.generation>, add:
>>=20
>> """
>> Origin servers that generate ETags for a resource MUST support the =
If-Match precondition [ref] on all subsequent unsafe requests to that =
resource, and SHOULD support it for subsequent safe requests.
>> """
>>=20
>> ... and likewise for Last-Modified / If-Unmodified-Since. Thoughts?
>=20
>=20
> A slight refinement.
>=20
> """
> Origin servers that include ETags in responses for a resource MUST =
honour the If-Match precondition [ref] when sending a successful =
response to any subsequent unsafe requests, and ought to support it for =
subsequent safe requests.
> """
>=20
> ... and likewise for Last-Modified / If-Unmodified-Since.
>=20
> The one thing this doesn't catch is:
>=20
> If-None-Match: *
>=20
> because a client can send that to indicate that it only wants to PUT =
something (for example) when there's nothing already there =
(theoretically, If-Match: * is like this too).
>=20
> This is a bit awkward; without this caveat, we could make p4 a =
self-contained optional extension (since LM and ETags are both defined =
here too).
>=20
> My inclination here is to document this requirement in PUTs =
definition, and advise new methods to document whether they require it =
too.
>=20
> Thoughts?
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:06:48 2012
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 46D3321F85D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.826
X-Spam-Level: 
X-Spam-Status: No, score=-9.826 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 H3celUMajX4T for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:06:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D5C3021F85D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:06:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqeSU-000140-D6 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:07:02 +0000
Resent-Date: Mon, 16 Jul 2012 06:07:02 +0000
Resent-Message-Id: <E1SqeSU-000140-D6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqeSL-00013F-Sr for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:06:53 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqeSK-0000JW-F5 for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:06:53 +0000
Received: by lbom4 with SMTP id m4so7047321lbo.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 23:06:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=CfVwTFsQgDfmB0WroPzMuSK3UX2BEkWrTDqTB5zrigc=; b=XTlNcIg4cDOGU6P+2bFqxPWHqGa2j7pk10WXK43y49j76pJL17+b9YNXLvlVfCknN6 Y0zWhce/kh265bAnCOYpLHBObS/3Ti/TRIuDBeKB6+CgtNJoKGQezWnf0bYUQo67fjv6 bICwirh4xZuWwNMi7YOpaa8pCL3ttFV026hytWAAiu6gbIBw3w/afmru6KRajqlNXSJQ Ut/M8wfIhTCkKwFSl1ULZ2UikGHSZWc3DWID6h9XG8i3+/6R8d30aeuRhh+FQPAHDied 3X03h2nKZghkWR1etkkFVreh2bDiG4It/h0qMUCiTJUIuKSahx90nCW6X3tyt43T0h1J zDzQ==
MIME-Version: 1.0
Received: by 10.112.83.169 with SMTP id r9mr4595415lby.66.1342418785609; Sun, 15 Jul 2012 23:06:25 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sun, 15 Jul 2012 23:06:25 -0700 (PDT)
In-Reply-To: <20120716055514.GC22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu>
Date: Sun, 15 Jul 2012 23:06:25 -0700
Message-ID: <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=f46d0401fc43db28c304c4ec3aa9
X-Gm-Message-State: ALoCoQnBWDSzjvue6MUhdDuKXrbe3sHRNExPrZXmCOI4F/KwkuEp+aI7PwfAe7i1VcW5h3Wl1Ay9
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SqeSK-0000JW-F5 9b892ebc1a731295027a1606f84e2ae2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14239
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>

--f46d0401fc43db28c304c4ec3aa9
Content-Type: text/plain; charset=ISO-8859-1

Hi Willy,

On Sun, Jul 15, 2012 at 10:55 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Mike,
>
> On Sun, Jul 15, 2012 at 04:26:13PM -0700, Mike Belshe wrote:
> > On Sun, Jul 15, 2012 at 10:27 AM, Willy Tarreau <w@1wt.eu> wrote:
> >
> > > Hi Roberto,
> > >
> > > On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:
> > > > Note that, if ever one will wish to implement server push or anything
> > > > similar, there are ordering requirements that must be placed on at
> least
> > > > the content delivery of the requested resource and its associated
> > > metadata.
> > >
> > > Doug's EOI made me think again about server push. You may remember, we
> > > discussed the subject for countless hours when we met, with the problem
> > > basically being that when a client fetches a page, it also wants the
> > > objects in that page. Doug seems to need server push for instant
> delivery
> > > to the client of fresh new contents, which is different. And if we look
> > > at how the web is currently changing, we have more and more application
> > > code running on the browser (sometimes a smartphone) which parses
> contents
> > > delivered by the server. I suspect that once we have MUX in WebSocket,
> this
> > > new model will become even more prevalent.
> > >
> >
> > Websockets is at the wrong layer and does not do content delivery - e.g.
> a
> > websocket response will never ever land you in the client's cache.
>
> Indeed, this is a good point. I was mostly thinking about dynamic contents
> in fact.
>
> > > All this to say that maybe in the near future, the real need for server
> > > push will be for raw data processed by the application and not that
> much
> > > about page objects. I may be wrong, but this is probably something to
> > > think about, since in the end it will tell us whether we have to break
> > > the request/response model or not, which has a huge impact on content
> > > filtering BTW.
> > >
> >
> > Server push doesn't break the request response model.  You issue a
> request,
> > you get a response.  You can't get responses without requests.
>
> OK but some data may end up in the client's cache without having been
> requested by him. I don't think it has a high technical impact, but it
> may rather be a legal one in some cases. In fact it's a delicate question.
>

Let's not pretend that browsers behave differently than they do.  With HTTP
today,  browsers download subresources - whether you use IE or Chrome or
Opera or Safari.  All server push does is allow the server to optionally
send the secondary resources without waiting for a second request from the
client.  Servers that think this is illegal don't have to do it.  Clients
that don't want it (these don't exist!) can cancel them.  Sending resources
the browser won't use are no-ops and won't impact anything (except make
your web page load slower, so don't do it).



> > As for impact on content filtering, I think you're quite mistaken.  Using
> > server push allows the content to look like content and makes it much
> > *easier* to do filtering.  If we do as you proposed above (and move it to
> > websockets) then it becomes opaque data and much harder to apply common
> > filtering rules.
>
> Note that I'm not advocating the use of WS to retrieve objects, I was just
> observing that more and more contents are delivered as data to
> applications,
> so I'm not saying that I'd prefer to filter them in one form or another.
> Concerning filtering, I think that what embarrasses me a bit with server
> push is the difficulty of applying URL-based filtering. But maybe this is
> just a problems which needs to be carefully addressed so that it is not a
> problem at all.
>

URL based filters will work great with server push, as every pushed
response has a unique URL.

Mike



>
> Regards,
> Willy
>
>

--f46d0401fc43db28c304c4ec3aa9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Willy,<br><br><div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 10:55 P=
M, Willy Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=
=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
Hi Mike,<br>
<div class=3D"im"><br>
On Sun, Jul 15, 2012 at 04:26:13PM -0700, Mike Belshe wrote:<br>
&gt; On Sun, Jul 15, 2012 at 10:27 AM, Willy Tarreau &lt;<a href=3D"mailto:=
w@1wt.eu">w@1wt.eu</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi Roberto,<br>
&gt; &gt;<br>
&gt; &gt; On Sun, Jul 15, 2012 at 10:05:31AM -0700, Roberto Peon wrote:<br>
&gt; &gt; &gt; Note that, if ever one will wish to implement server push or=
 anything<br>
&gt; &gt; &gt; similar, there are ordering requirements that must be placed=
 on at least<br>
&gt; &gt; &gt; the content delivery of the requested resource and its assoc=
iated<br>
&gt; &gt; metadata.<br>
&gt; &gt;<br>
&gt; &gt; Doug&#39;s EOI made me think again about server push. You may rem=
ember, we<br>
&gt; &gt; discussed the subject for countless hours when we met, with the p=
roblem<br>
&gt; &gt; basically being that when a client fetches a page, it also wants =
the<br>
&gt; &gt; objects in that page. Doug seems to need server push for instant =
delivery<br>
&gt; &gt; to the client of fresh new contents, which is different. And if w=
e look<br>
&gt; &gt; at how the web is currently changing, we have more and more appli=
cation<br>
&gt; &gt; code running on the browser (sometimes a smartphone) which parses=
 contents<br>
&gt; &gt; delivered by the server. I suspect that once we have MUX in WebSo=
cket, this<br>
&gt; &gt; new model will become even more prevalent.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Websockets is at the wrong layer and does not do content delivery - e.=
g. a<br>
&gt; websocket response will never ever land you in the client&#39;s cache.=
<br>
<br>
</div>Indeed, this is a good point. I was mostly thinking about dynamic con=
tents<br>
in fact.<br>
<div class=3D"im"><br>
&gt; &gt; All this to say that maybe in the near future, the real need for =
server<br>
&gt; &gt; push will be for raw data processed by the application and not th=
at much<br>
&gt; &gt; about page objects. I may be wrong, but this is probably somethin=
g to<br>
&gt; &gt; think about, since in the end it will tell us whether we have to =
break<br>
&gt; &gt; the request/response model or not, which has a huge impact on con=
tent<br>
&gt; &gt; filtering BTW.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Server push doesn&#39;t break the request response model. =A0You issue=
 a request,<br>
&gt; you get a response. =A0You can&#39;t get responses without requests.<b=
r>
<br>
</div>OK but some data may end up in the client&#39;s cache without having =
been<br>
requested by him. I don&#39;t think it has a high technical impact, but it<=
br>
may rather be a legal one in some cases. In fact it&#39;s a delicate questi=
on.<br></blockquote><div><br></div><div>Let&#39;s not pretend that browsers=
 behave differently than they do. =A0With HTTP today,=A0 browsers download =
subresources - whether you use IE or Chrome or Opera or Safari. =A0All serv=
er push does is allow the server to optionally send the secondary resources=
 without waiting for a second request from the client. =A0Servers that thin=
k this is illegal don&#39;t have to do it. =A0Clients that don&#39;t want i=
t (these don&#39;t exist!) can cancel them. =A0Sending resources the browse=
r won&#39;t use are no-ops and won&#39;t impact anything (except make your =
web page load slower, so don&#39;t do it).</div>
<div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; As for impact on content filtering, I think you&#39;re quite mistaken.=
 =A0Using<br>
&gt; server push allows the content to look like content and makes it much<=
br>
&gt; *easier* to do filtering. =A0If we do as you proposed above (and move =
it to<br>
&gt; websockets) then it becomes opaque data and much harder to apply commo=
n<br>
&gt; filtering rules.<br>
<br>
</div>Note that I&#39;m not advocating the use of WS to retrieve objects, I=
 was just<br>
observing that more and more contents are delivered as data to applications=
,<br>
so I&#39;m not saying that I&#39;d prefer to filter them in one form or ano=
ther.<br>
Concerning filtering, I think that what embarrasses me a bit with server<br=
>
push is the difficulty of applying URL-based filtering. But maybe this is<b=
r>
just a problems which needs to be carefully addressed so that it is not a<b=
r>
problem at all.<br></blockquote><div><br></div><div>URL based filters will =
work great with server push, as every pushed response has a unique URL.=A0<=
/div><div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">

<br>
Regards,<br>
Willy<br>
<br>
</blockquote></div><br>

--f46d0401fc43db28c304c4ec3aa9--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:16:31 2012
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 450FD21F85A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:16:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.317
X-Spam-Level: 
X-Spam-Status: No, score=-9.317 tagged_above=-999 required=5 tests=[AWL=1.282, BAYES_00=-2.599, 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 8J6oXCBgJGEw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:16:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 75F6A21F8593 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:16:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqebs-00073w-S0 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:16:44 +0000
Resent-Date: Mon, 16 Jul 2012 06:16:44 +0000
Resent-Message-Id: <E1Sqebs-00073w-S0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sqebk-00073B-NK for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:16:36 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sqebj-0000eJ-Jo for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:16:36 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6G6G2gH024782; Mon, 16 Jul 2012 08:16:02 +0200
Date: Mon, 16 Jul 2012 08:16:02 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Message-ID: <20120716061602.GE22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sqebj-0000eJ-Jo 60054ff1ea4693a41a9ad099af6b0ff2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120716061602.GE22790@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14240
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 Sun, Jul 15, 2012 at 11:06:25PM -0700, Mike Belshe wrote:
> > > Server push doesn't break the request response model.  You issue a request,
> > > you get a response.  You can't get responses without requests.
> >
> > OK but some data may end up in the client's cache without having been
> > requested by him. I don't think it has a high technical impact, but it
> > may rather be a legal one in some cases. In fact it's a delicate question.
> >
> 
> Let's not pretend that browsers behave differently than they do.  With HTTP
> today,  browsers download subresources - whether you use IE or Chrome or
> Opera or Safari.  All server push does is allow the server to optionally
> send the secondary resources without waiting for a second request from the
> client.  Servers that think this is illegal don't have to do it.  Clients
> that don't want it (these don't exist!) can cancel them.  Sending resources
> the browser won't use are no-ops and won't impact anything (except make
> your web page load slower, so don't do it).

You forgot the proxy between the client and the server :-)
Typically the one which at my company and my customers prevents me from
accessing a number of websites based on URL classification.

> > > As for impact on content filtering, I think you're quite mistaken.  Using
> > > server push allows the content to look like content and makes it much
> > > *easier* to do filtering.  If we do as you proposed above (and move it to
> > > websockets) then it becomes opaque data and much harder to apply common
> > > filtering rules.
> >
> > Note that I'm not advocating the use of WS to retrieve objects, I was just
> > observing that more and more contents are delivered as data to
> > applications,
> > so I'm not saying that I'd prefer to filter them in one form or another.
> > Concerning filtering, I think that what embarrasses me a bit with server
> > push is the difficulty of applying URL-based filtering. But maybe this is
> > just a problems which needs to be carefully addressed so that it is not a
> > problem at all.
> >
> 
> URL based filters will work great with server push, as every pushed
> response has a unique URL.

OK. But what if the server pretends this URL being anything else (including
random) ? Well anyway this is too early to discuss this now. From a technical
point of view I'm convinced about the efficiency of server push, my concerns
are only about efficient deployments, so I think this will be discussed to
great extents later. Let's not pollute the EOI threads with this.

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:19:37 2012
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 71C7021F847D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:19:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.179
X-Spam-Level: 
X-Spam-Status: No, score=-9.179 tagged_above=-999 required=5 tests=[AWL=1.420, BAYES_00=-2.599, 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 KMHKrNNht2xA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:19:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 69D9621F847E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:19: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 1Sqees-0007Z7-RR for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:19:50 +0000
Resent-Date: Mon, 16 Jul 2012 06:19:50 +0000
Resent-Message-Id: <E1Sqees-0007Z7-RR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sqeek-0007Xg-8q for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:19:42 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sqeej-0000lr-3f for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:19:42 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C4E5422E256; Mon, 16 Jul 2012 02:19:18 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 16 Jul 2012 16:19:15 +1000
Message-Id: <C6EA22C4-F1F7-473B-8E92-DBFF387F64A6@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
To: Klaas Wierenga <klaas@cisco.com>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sqeej-0000lr-3f 6ded8dc3ccffda34d780fed1c0a5d3c7
X-Original-To: ietf-http-wg@w3.org
Subject: #365: Conditional Request Security Considerations
Archived-At: <http://www.w3.org/mid/C6EA22C4-F1F7-473B-8E92-DBFF387F64A6@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14241
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>

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/365>:

> To start with the Security Considerations (section 6), there aren't
> any..... or rather, section 6 refers to the security considerations of
> part 1 and states that the security considerations are the same as for
> HTTP in general. IMO that is a bit too easy, for example throughout
> the text there is discussion about clock synchronization, evaluation
> of weak conditionals, hashes etc. All of those can lead to the client
> having a "wrong" view of the resource. I would expect some discussion
> as to what that could mean and what measures could be taken to avoid =
that.

Perhaps. However, when used for validation, the worst case scenario is =
that validation will fail, leading to transfer of more bytes. I.e., an =
optimisation will fail, but the protocol will still operate "correctly."

In the case of a preconditional request - e.g., If-Match on a PUT - =
again, the request may fail, but the result will be conservative; i.e., =
the operation will not succeed. The only case that's interesting from a =
security standpoint, I think, is if an attacker modifies ETags (for =
example) in such a way that a request that would have failed succeeds, =
thereby "losing" an update by another author.=20

However, I do think that this is covered by the security considerations =
in general; i.e., if you're operating HTTP in the clear, people can do =
all sorts of things to your messages.

> Also, in part 1, security considerations 8.5 there is some discussion
> about MitM attacks and evil proxies, and the general statement is made
> that proxies should not be trusted anymore than the person who
> operates it. Whereas it is true that everyone in the path can change
> the transmitted information at will, I could imagine that with ETags
> one could actually implement some rsort of integrity protection by
> using ETags that are signed hashes of the content that is
> transfered.... thinking out loud... anyway, my bottom line is that I
> am not sure that the security properties of the system as a whole
> don't change by introducing conditionals.

ETags are absolutely not used for integrity protection; they are only an =
identifier for a particular message; hashes are mentioned as one way to =
generate that identifier, but they're vehemently opaque to the consumer.

Does this satisfy your concerns? If so, we'll close the issue. If not, =
perhaps you could suggest some text?

Regards,




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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:25:55 2012
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 DE65911E8079 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:25:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.847
X-Spam-Level: 
X-Spam-Status: No, score=-9.847 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 vfQzWfjVvH8v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:25:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E250221F84A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:25:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqeky-0002GF-MZ for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:26:08 +0000
Resent-Date: Mon, 16 Jul 2012 06:26:08 +0000
Resent-Message-Id: <E1Sqeky-0002GF-MZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sqekm-0002FP-Ax for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:25:56 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sqekk-00087R-Ps for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:25:56 +0000
Received: by lbom4 with SMTP id m4so7062489lbo.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 23:25:28 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=rtwZu1cIFN1nG5+HNLPwvAOQI4fTG+RzI/r3KLo44CA=; b=KsPdcMWFuCmmcJJWpudVYpsX8RDLzJXUaAesqb95Xenr5biexO+SV9eHdWqDKr8F76 ZcbhkXsIB60Ei09GqqkaTq4MPgMM+ku4cQRx5RQeyzRRey3lPXe0URAl02/b52twxhm2 nupj0hrCMRcO1N+aCg44lu9tDtjsgXFOhDwHdJy4yJs/l2MOKol08q96/gzTxo5Dz04N NZ1WPVxo6+3xu531TnRK7Ain76BEI47sbJ7q5VW3jOuEnZGBIEkTQh1wAvdAdm7BEtpP byDtFu6dsLLOPzkRnCUVmVRUfH0IoqqwSpJKits6VoQ3vdQWpkeSIwXhe5vvZ72NtzOZ Ts0Q==
MIME-Version: 1.0
Received: by 10.152.48.37 with SMTP id i5mr10151804lan.36.1342419927895; Sun, 15 Jul 2012 23:25:27 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sun, 15 Jul 2012 23:25:27 -0700 (PDT)
In-Reply-To: <20120716061602.GE22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com> <20120716061602.GE22790@1wt.eu>
Date: Sun, 15 Jul 2012 23:25:27 -0700
Message-ID: <CABaLYCt6Dm1pwSP6h=Z=7CCdSAdmAaaN4YQTcFYnXf1xZfxAUQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=bcaec5523980f10fc304c4ec7e51
X-Gm-Message-State: ALoCoQlLZvJqQp293nxFGFxB01y6FPhszC6c8xmUJpdEFjVMMjY2qpyrQcojAV8FeNVHy04mSTvG
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sqekk-00087R-Ps 1fea38efb3291eebb47dd9f268c76621
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCt6Dm1pwSP6h=Z=7CCdSAdmAaaN4YQTcFYnXf1xZfxAUQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14242
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>

--bcaec5523980f10fc304c4ec7e51
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 15, 2012 at 11:16 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Sun, Jul 15, 2012 at 11:06:25PM -0700, Mike Belshe wrote:
> > > > Server push doesn't break the request response model.  You issue a
> request,
> > > > you get a response.  You can't get responses without requests.
> > >
> > > OK but some data may end up in the client's cache without having been
> > > requested by him. I don't think it has a high technical impact, but it
> > > may rather be a legal one in some cases. In fact it's a delicate
> question.
> > >
> >
> > Let's not pretend that browsers behave differently than they do.  With
> HTTP
> > today,  browsers download subresources - whether you use IE or Chrome or
> > Opera or Safari.  All server push does is allow the server to optionally
> > send the secondary resources without waiting for a second request from
> the
> > client.  Servers that think this is illegal don't have to do it.  Clients
> > that don't want it (these don't exist!) can cancel them.  Sending
> resources
> > the browser won't use are no-ops and won't impact anything (except make
> > your web page load slower, so don't do it).
>
> You forgot the proxy between the client and the server :-)
> Typically the one which at my company and my customers prevents me from
> accessing a number of websites based on URL classification.
>

No, I didn't forget this :-)  The proxy has full visibility to the server
push urls and can filter them too.  Also, server push requires that clients
and servers abide by the same-origin policy.  So you can't push resources
from random domains.



>
> > > > As for impact on content filtering, I think you're quite mistaken.
>  Using
> > > > server push allows the content to look like content and makes it much
> > > > *easier* to do filtering.  If we do as you proposed above (and move
> it to
> > > > websockets) then it becomes opaque data and much harder to apply
> common
> > > > filtering rules.
> > >
> > > Note that I'm not advocating the use of WS to retrieve objects, I was
> just
> > > observing that more and more contents are delivered as data to
> > > applications,
> > > so I'm not saying that I'd prefer to filter them in one form or
> another.
> > > Concerning filtering, I think that what embarrasses me a bit with
> server
> > > push is the difficulty of applying URL-based filtering. But maybe this
> is
> > > just a problems which needs to be carefully addressed so that it is
> not a
> > > problem at all.
> > >
> >
> > URL based filters will work great with server push, as every pushed
> > response has a unique URL.
>
> OK. But what if the server pretends this URL being anything else (including
> random) ?


This is possible with or without server push - proxies can do this today.
 This is why we need to make sure proxies can't tamper content.



> Well anyway this is too early to discuss this now. From a technical
> point of view I'm convinced about the efficiency of server push, my
> concerns
> are only about efficient deployments, so I think this will be discussed to
> great extents later. Let's not pollute the EOI threads with this.
>

ok

mike


>
> Cheers,
> Willy
>
>

--bcaec5523980f10fc304c4ec7e51
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 11:16 PM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank"=
>w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On Sun, Jul 15, 2012 at 11:06:25PM -0700, Mike Belshe wro=
te:<br>
&gt; &gt; &gt; Server push doesn&#39;t break the request response model. =
=A0You issue a request,<br>
&gt; &gt; &gt; you get a response. =A0You can&#39;t get responses without r=
equests.<br>
&gt; &gt;<br>
&gt; &gt; OK but some data may end up in the client&#39;s cache without hav=
ing been<br>
&gt; &gt; requested by him. I don&#39;t think it has a high technical impac=
t, but it<br>
&gt; &gt; may rather be a legal one in some cases. In fact it&#39;s a delic=
ate question.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Let&#39;s not pretend that browsers behave differently than they do. =
=A0With HTTP<br>
&gt; today, =A0browsers download subresources - whether you use IE or Chrom=
e or<br>
&gt; Opera or Safari. =A0All server push does is allow the server to option=
ally<br>
&gt; send the secondary resources without waiting for a second request from=
 the<br>
&gt; client. =A0Servers that think this is illegal don&#39;t have to do it.=
 =A0Clients<br>
&gt; that don&#39;t want it (these don&#39;t exist!) can cancel them. =A0Se=
nding resources<br>
&gt; the browser won&#39;t use are no-ops and won&#39;t impact anything (ex=
cept make<br>
&gt; your web page load slower, so don&#39;t do it).<br>
<br>
</div>You forgot the proxy between the client and the server :-)<br>
Typically the one which at my company and my customers prevents me from<br>
accessing a number of websites based on URL classification.<br></blockquote=
><div><br></div><div>No, I didn&#39;t forget this :-) =A0The proxy has full=
 visibility to the server push urls and can filter them too. =A0Also, serve=
r push requires that clients and servers abide by the same-origin policy. =
=A0So you can&#39;t push resources from random domains.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; &gt; &gt; As for impact on content filtering, I think you&#39;re quite=
 mistaken. =A0Using<br>
&gt; &gt; &gt; server push allows the content to look like content and make=
s it much<br>
&gt; &gt; &gt; *easier* to do filtering. =A0If we do as you proposed above =
(and move it to<br>
&gt; &gt; &gt; websockets) then it becomes opaque data and much harder to a=
pply common<br>
&gt; &gt; &gt; filtering rules.<br>
&gt; &gt;<br>
&gt; &gt; Note that I&#39;m not advocating the use of WS to retrieve object=
s, I was just<br>
&gt; &gt; observing that more and more contents are delivered as data to<br=
>
&gt; &gt; applications,<br>
&gt; &gt; so I&#39;m not saying that I&#39;d prefer to filter them in one f=
orm or another.<br>
&gt; &gt; Concerning filtering, I think that what embarrasses me a bit with=
 server<br>
&gt; &gt; push is the difficulty of applying URL-based filtering. But maybe=
 this is<br>
&gt; &gt; just a problems which needs to be carefully addressed so that it =
is not a<br>
&gt; &gt; problem at all.<br>
&gt; &gt;<br>
&gt;<br>
&gt; URL based filters will work great with server push, as every pushed<br=
>
&gt; response has a unique URL.<br>
<br>
</div>OK. But what if the server pretends this URL being anything else (inc=
luding<br>
random) ? </blockquote><div><br></div><div>This is possible with or without=
 server push - proxies can do this today. =A0This is why we need to make su=
re proxies can&#39;t tamper content.=A0</div><div><br></div><div>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
Well anyway this is too early to discuss this now. From a technical<br>
point of view I&#39;m convinced about the efficiency of server push, my con=
cerns<br>
are only about efficient deployments, so I think this will be discussed to<=
br>
great extents later. Let&#39;s not pollute the EOI threads with this.<br></=
blockquote><div><br></div><div>ok</div><div><br></div><div>mike</div><div>=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">

<br>
Cheers,<br>
Willy<br>
<br>
</blockquote></div><br>

--bcaec5523980f10fc304c4ec7e51--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:28:18 2012
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 3F29621F848F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:28:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.189
X-Spam-Level: 
X-Spam-Status: No, score=-9.189 tagged_above=-999 required=5 tests=[AWL=1.410, BAYES_00=-2.599, 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 Jyxyfm4YiYW7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:28:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84F1621F8467 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:28:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqenL-0002Uq-7z for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:28:35 +0000
Resent-Date: Mon, 16 Jul 2012 06:28:35 +0000
Resent-Message-Id: <E1SqenL-0002Uq-7z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqenD-0002U5-8G for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:28:27 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqenC-0008Bt-0r for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:28:27 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0636822E256 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 02:28:03 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 16 Jul 2012 16:28:01 +1000
Message-Id: <C7D8C6AF-1788-4661-B655-6846E15DD5B9@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqenC-0008Bt-0r 3774929a5018ac76ef17c76a05ad2c3a
X-Original-To: ietf-http-wg@w3.org
Subject: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/C7D8C6AF-1788-4661-B655-6846E15DD5B9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14243
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>

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/375>

> If an HTTP header field incorrectly carries a date value with a time =
zone other than GMT, it must be converted into GMT using the most =
conservative possible conversion.

What does "most conservative" mean?

"Earliest" makes sense for Expires and Date, but Last-Modified it would =
seem that "latest" is the most conservative.=20

I really don't want to create a registry -- or even another aspect that =
each header has to define -- here.

Maybe just a few examples would help?

Regards,


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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:34:37 2012
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 F073221F85DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:34:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.925
X-Spam-Level: 
X-Spam-Status: No, score=-8.925 tagged_above=-999 required=5 tests=[AWL=1.673, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 0AAUheInvPwz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:34:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 11FB621F85DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:34: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 1SqetB-0005eS-CN for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:34:37 +0000
Resent-Date: Mon, 16 Jul 2012 06:34:37 +0000
Resent-Message-Id: <E1SqetB-0005eS-CN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sqet3-0005dT-4D for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:34:29 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sqet2-0008Tn-0L for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:34:29 +0000
Received: by weyx43 with SMTP id x43so3736117wey.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 23:34:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8d/8pcEXTo5gFNGbnUDRHzmXa4c/Evu3PuDchCvQHsE=; b=Odsn4SsC/g9N3/2dD5TTJ55RxRWnXGbcnZgt5fHYsvKB9HN67Y7Fw7OH92kXadCEW6 Me2q59+oflaShtyQkpnpmqf240/xeGq0kbUP+sk9msAi5LFEB9SQmhCGfyuZNal2OLWt E7w4Xgfx/UJmR2d6FrA4RZBZFlGNyZHrtcuVV1RdHdDLeyttyi17w6UtlvpGA4KGJ9A2 YBNDBKtOCbP4IBysvYy3juMiSo8K5KTYiiKTv8XgQPBzoTETTd5mdsw3NrxPr+1PljE2 4iyAwCgtPRo7GNNuhYP7bWqgQKJh1+dbn6RMAsSt+R88m2qLuJnyH3/at4N3CfZ/R7u3 Bicw==
Received: by 10.216.138.200 with SMTP id a50mr5377482wej.155.1342420441095; Sun, 15 Jul 2012 23:34:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Sun, 15 Jul 2012 23:33:40 -0700 (PDT)
In-Reply-To: <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Sun, 15 Jul 2012 23:33:40 -0700
Message-ID: <CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=0016e6d7e73787e03404c4ec9d1d
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sqet2-0008Tn-0L 1da2c62c146d80a763c40b166a09353d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14244
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>

--0016e6d7e73787e03404c4ec9d1d
Content-Type: text/plain; charset=UTF-8

On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <mike@belshe.com> wrote:

> [snip]
>> OK but some data may end up in the client's cache without having been
>> requested by him. I don't think it has a high technical impact, but it
>> may rather be a legal one in some cases. In fact it's a delicate question.
>>
>
> Let's not pretend that browsers behave differently than they do.  With
> HTTP today,  browsers download subresources - whether you use IE or Chrome
> or Opera or Safari.  All server push does is allow the server to optionally
> send the secondary resources without waiting for a second request from the
> client.  Servers that think this is illegal don't have to do it.  Clients
> that don't want it (these don't exist!) can cancel them.  Sending resources
> the browser won't use are no-ops and won't impact anything (except make
> your web page load slower, so don't do it).
>
>
One possibility to throw in here would be a simple requirement that the
server has to ask the client before it pushes... a reverse 100-Continue if
you will... require the server to tell the client what content it is trying
to push and give the client the opportunity to say No.... intervening
proxies, such as a corporate firewall, would be capable of answering on the
users behalf.

- James

--0016e6d7e73787e03404c4ec9d1d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><div><div class=
=3D"h5"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">

<div>[snip]
</div>OK but some data may end up in the client&#39;s cache without having =
been<br>
requested by him. I don&#39;t think it has a high technical impact, but it<=
br>
may rather be a legal one in some cases. In fact it&#39;s a delicate questi=
on.<br></blockquote><div><br></div></div></div><div>Let&#39;s not pretend t=
hat browsers behave differently than they do. =C2=A0With HTTP today,=C2=A0 =
browsers download subresources - whether you use IE or Chrome or Opera or S=
afari. =C2=A0All server push does is allow the server to optionally send th=
e secondary resources without waiting for a second request from the client.=
 =C2=A0Servers that think this is illegal don&#39;t have to do it. =C2=A0Cl=
ients that don&#39;t want it (these don&#39;t exist!) can cancel them. =C2=
=A0Sending resources the browser won&#39;t use are no-ops and won&#39;t imp=
act anything (except make your web page load slower, so don&#39;t do it).</=
div>

<div class=3D"im">
<div><br></div></div></div></blockquote><div><br></div><div>One possibility=
 to throw in here would be a simple requirement that the server has to ask =
the client before it pushes... a reverse 100-Continue if you will... requir=
e the server to tell the client what content it is trying to push and give =
the client the opportunity to say No.... intervening proxies, such as a cor=
porate firewall, would be capable of answering on the users behalf.=C2=A0</=
div>

<div><br></div><div>- James</div></div>

--0016e6d7e73787e03404c4ec9d1d--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:35:53 2012
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 256B421F85DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:35:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.863
X-Spam-Level: 
X-Spam-Status: No, score=-9.863 tagged_above=-999 required=5 tests=[AWL=0.112, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 7f6A5Q1lqu52 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:35:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5AB6821F85D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:35:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqeuj-0007P9-E0 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:36:13 +0000
Resent-Date: Mon, 16 Jul 2012 06:36:13 +0000
Resent-Message-Id: <E1Sqeuj-0007P9-E0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sqeub-0007Kx-Bs for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:36:05 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqeuY-00008e-EA for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:36:05 +0000
Received: by lbom4 with SMTP id m4so7070984lbo.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 23:35:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=vD3gyF2J91DfdsCclvjQl3uftUDkHwP0UwAOuOUkyt8=; b=iuSH+bEHyUfju2z+x1jTTyeOe+ghT1tTpmhP8l28ENanTgQkI/3ikMJPsrJgRy/cuw QyEnrjUkq0WbBlLKSwnLJuY48fNYFI0qhPzmbzajROg1GnGub1jUFDnPbRB+xFe42nl2 +1hj4Wa1yRikPT0GTDsnt40wIHE6Jf+hjHuTtzBdphHq8gdJCDtmTtBisXSl0uz/6+Kg cPVzEiWZD7qIBFswQ266h9TzgYAaiycYK+bM9opymXpCnzSZXB1ASsl+6iwvWJ9myM9B Gvg7+1BGy9ksyxaN/YRqiwjHOAo+Kghb8UCyCVAby3n3Yn2w1Xxg93SVSzpBvb9bdQ/9 fJKQ==
MIME-Version: 1.0
Received: by 10.152.131.37 with SMTP id oj5mr10183735lab.14.1342420535607; Sun, 15 Jul 2012 23:35:35 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sun, 15 Jul 2012 23:35:35 -0700 (PDT)
In-Reply-To: <CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com> <CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com>
Date: Sun, 15 Jul 2012 23:35:35 -0700
Message-ID: <CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=f46d042c6b8d2a028804c4eca39c
X-Gm-Message-State: ALoCoQnC9ADYkQIc53PVQhdoke8afP8SjW1FOM6ig4DLTK1tGmoeeNGe1exfppIMFZwHn+gAYGD/
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SqeuY-00008e-EA 1dbc7c29d5e5fdeb8ca67b600bce8f35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14245
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>

--f46d042c6b8d2a028804c4eca39c
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 15, 2012 at 11:33 PM, James M Snell <jasnell@gmail.com> wrote:

>
>
> On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <mike@belshe.com> wrote:
>
>> [snip]
>>> OK but some data may end up in the client's cache without having been
>>> requested by him. I don't think it has a high technical impact, but it
>>> may rather be a legal one in some cases. In fact it's a delicate
>>> question.
>>>
>>
>> Let's not pretend that browsers behave differently than they do.  With
>> HTTP today,  browsers download subresources - whether you use IE or Chrome
>> or Opera or Safari.  All server push does is allow the server to optionally
>> send the secondary resources without waiting for a second request from the
>> client.  Servers that think this is illegal don't have to do it.  Clients
>> that don't want it (these don't exist!) can cancel them.  Sending resources
>> the browser won't use are no-ops and won't impact anything (except make
>> your web page load slower, so don't do it).
>>
>>
> One possibility to throw in here would be a simple requirement that the
> server has to ask the client before it pushes... a reverse 100-Continue if
> you will... require the server to tell the client what content it is trying
> to push and give the client the opportunity to say No.... intervening
> proxies, such as a corporate firewall, would be capable of answering on the
> users behalf.
>

If you have a proxy, the proxy receives the pushes (not the client), so the
proxy can do whatever it would do in the non push case.

mike


>
> - James
>

--f46d042c6b8d2a028804c4eca39c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 11:33 PM, James =
M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=
=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</=
span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><div><div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">


<div>[snip]
</div><div class=3D"im">OK but some data may end up in the client&#39;s cac=
he without having been<br>
requested by him. I don&#39;t think it has a high technical impact, but it<=
br>
may rather be a legal one in some cases. In fact it&#39;s a delicate questi=
on.<br></div></blockquote><div><br></div></div></div><div class=3D"im"><div=
>Let&#39;s not pretend that browsers behave differently than they do. =A0Wi=
th HTTP today,=A0 browsers download subresources - whether you use IE or Ch=
rome or Opera or Safari. =A0All server push does is allow the server to opt=
ionally send the secondary resources without waiting for a second request f=
rom the client. =A0Servers that think this is illegal don&#39;t have to do =
it. =A0Clients that don&#39;t want it (these don&#39;t exist!) can cancel t=
hem. =A0Sending resources the browser won&#39;t use are no-ops and won&#39;=
t impact anything (except make your web page load slower, so don&#39;t do i=
t).</div>


<div>
<div><br></div></div></div></div></blockquote><div><br></div><div>One possi=
bility to throw in here would be a simple requirement that the server has t=
o ask the client before it pushes... a reverse 100-Continue if you will... =
require the server to tell the client what content it is trying to push and=
 give the client the opportunity to say No.... intervening proxies, such as=
 a corporate firewall, would be capable of answering on the users behalf.=
=A0</div>
</div></blockquote><div><br></div><div>If you have a proxy, the proxy recei=
ves the pushes (not the client), so the proxy can do whatever it would do i=
n the non push case. =A0</div><div><br></div><div>mike</div><div>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<div class=3D"gmail_quote"><span class=3D"HOEnZb"><font color=3D"#888888">

<div><br></div><div>- James</div></font></span></div>
</blockquote></div><br>

--f46d042c6b8d2a028804c4eca39c--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:37:12 2012
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 A418C21F85D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:37:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.519
X-Spam-Level: 
X-Spam-Status: No, score=-10.519 tagged_above=-999 required=5 tests=[AWL=0.079, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 RTJ0B1ZJP2sw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:37:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 336B221F85DD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:37:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqew2-0007d1-9C for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:37:34 +0000
Resent-Date: Mon, 16 Jul 2012 06:37:34 +0000
Resent-Message-Id: <E1Sqew2-0007d1-9C@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sqevt-0007YM-Na for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:37:25 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sqevs-0000As-IX for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:37:25 +0000
Received: by wibhm6 with SMTP id hm6so1995255wib.8 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 23:36:58 -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=4TudNeXzbSBOmKoMDW0gxuc2kaxAiv9rJtDeWttcthM=; b=Nf+sLxc3S/8gI4wLyBgRQkAxV0/MHt/OFMPGf/V666PZccrgbsw0ihBwZxxA32bAFp DC7Z4o80N1rX4tdC5x7jlajOokZ6x8d26W7oqSVRvrQU5hZa9N2dnMS6+mOtAXjU4nc2 stkLJnbTRstnI+I1FImooopUuik/wxa0VkmsN8V/oEHzfDk1M2nRXovoNCzTam6Z/Elc 2piOmuI4q3NPZsLh0DENUp0me5wTv+YNzDBER3YMta9WxWAe7w8AdIa2kFP2ZcKOWfGd 5Uqoeh/KE9UJBA3wxz84eTow4qIPsgCuidEXXJJTGYlB9ExfoS3MjCgTzHkE4Is5oTGn RfTA==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr15568710wib.20.1342420618035; Sun, 15 Jul 2012 23:36:58 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sun, 15 Jul 2012 23:36:57 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Sun, 15 Jul 2012 23:36:57 -0700 (PDT)
In-Reply-To: <CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com> <CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com>
Date: Sun, 15 Jul 2012 23:36:57 -0700
Message-ID: <CAP+FsNcV-QrveziO3y5Jp1=HoZ9RjrCqWJyVYbzVFNLaOM600A@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>,  HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>,  Julian Reschke <julian.reschke@gmx.de>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=f46d0443044613c3a104c4eca8a1
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sqevs-0000As-IX 2727b1f9383e728f98570881b6a24b18
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNcV-QrveziO3y5Jp1=HoZ9RjrCqWJyVYbzVFNLaOM600A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14246
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>

--f46d0443044613c3a104c4eca8a1
Content-Type: text/plain; charset=ISO-8859-1

That would be pretty pointless-- at that point the browser should just send
the data. The model in SPDY is push and let cancel.
Server push is just better inlining.

Let's discuss this in  a separate thread...

-=R
On Jul 15, 2012 11:34 PM, "James M Snell" <jasnell@gmail.com> wrote:

>
>
> On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <mike@belshe.com> wrote:
>
>> [snip]
>>> OK but some data may end up in the client's cache without having been
>>> requested by him. I don't think it has a high technical impact, but it
>>> may rather be a legal one in some cases. In fact it's a delicate
>>> question.
>>>
>>
>> Let's not pretend that browsers behave differently than they do.  With
>> HTTP today,  browsers download subresources - whether you use IE or Chrome
>> or Opera or Safari.  All server push does is allow the server to optionally
>> send the secondary resources without waiting for a second request from the
>> client.  Servers that think this is illegal don't have to do it.  Clients
>> that don't want it (these don't exist!) can cancel them.  Sending resources
>> the browser won't use are no-ops and won't impact anything (except make
>> your web page load slower, so don't do it).
>>
>>
> One possibility to throw in here would be a simple requirement that the
> server has to ask the client before it pushes... a reverse 100-Continue if
> you will... require the server to tell the client what content it is trying
> to push and give the client the opportunity to say No.... intervening
> proxies, such as a corporate firewall, would be capable of answering on the
> users behalf.
>
> - James
>

--f46d0443044613c3a104c4eca8a1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">That would be pretty pointless-- at that point the browser s=
hould just send the data. The model in SPDY is push and let cancel.<br>
Server push is just better inlining.</p>
<p dir=3D"ltr">Let&#39;s discuss this in=A0 a separate thread...</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 15, 2012 11:34 PM, &quot;James M Snell&qu=
ot; &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrot=
e:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</=
span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><div><div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">


<div>[snip]
</div>OK but some data may end up in the client&#39;s cache without having =
been<br>
requested by him. I don&#39;t think it has a high technical impact, but it<=
br>
may rather be a legal one in some cases. In fact it&#39;s a delicate questi=
on.<br></blockquote><div><br></div></div></div><div>Let&#39;s not pretend t=
hat browsers behave differently than they do. =A0With HTTP today,=A0 browse=
rs download subresources - whether you use IE or Chrome or Opera or Safari.=
 =A0All server push does is allow the server to optionally send the seconda=
ry resources without waiting for a second request from the client. =A0Serve=
rs that think this is illegal don&#39;t have to do it. =A0Clients that don&=
#39;t want it (these don&#39;t exist!) can cancel them. =A0Sending resource=
s the browser won&#39;t use are no-ops and won&#39;t impact anything (excep=
t make your web page load slower, so don&#39;t do it).</div>


<div>
<div><br></div></div></div></blockquote><div><br></div><div>One possibility=
 to throw in here would be a simple requirement that the server has to ask =
the client before it pushes... a reverse 100-Continue if you will... requir=
e the server to tell the client what content it is trying to push and give =
the client the opportunity to say No.... intervening proxies, such as a cor=
porate firewall, would be capable of answering on the users behalf.=A0</div=
>


<div><br></div><div>- James</div></div>
</blockquote></div>

--f46d0443044613c3a104c4eca8a1--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:43:29 2012
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 5B52321F8541 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:43:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 aAgpegZTwHBy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:43:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A334D21F853B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:43:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqf20-0001E1-NR for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:43:44 +0000
Resent-Date: Mon, 16 Jul 2012 06:43:44 +0000
Resent-Message-Id: <E1Sqf20-0001E1-NR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqf1s-0001Cf-Qm for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:43:36 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqf1r-0000Na-0W for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:43:36 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7F5523B74B; Mon, 16 Jul 2012 06:43:13 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6G6hCmY057498; Mon, 16 Jul 2012 06:43:12 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 10:55:50 +1000." <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 06:43:12 +0000
Message-ID: <57497.1342420992@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqf1r-0000Na-0W 31998041298f5451520fc6716c6fdc5e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/57497.1342420992@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14247
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>

In message <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>, Mark Nottingham wri
tes:

>Much of your commentary seems to assume that we're now deciding what 
>HTTP/2.0 will be; in fact, we're choosing a starting point for further 
>work. 

No, my commentary is based on the experience that if you pick
a starting point, without first defining the problem(s) you are
trying to solve and the goal(s) you are trying to reach, then
that starting point is where you are going to end up. 

>You advocate (here and elsewhere) going back to the drawing board and 
>doing things from scratch.

No, I advocate starting out deciding what problems and goals HTTP/2.0
should address, what HTTP/1 did right and what it did wrong.

Only once we have a consensus about that, can we judge the
proposals fairly.

What the WG is engaged in right now is a popularity contest, it is
not engineering, and because of the inertia of popularity, it will
be impossible to change anything dramatically, no matter how wrong
it turns out to be.

That alone, in my mind, is reason to not chose SPDY as the starting
point:  The installed volume will deprive the WG of any real
influence.

Yes, I belive in rough consensus and all that, but I don't belive
you should always say yes to the first boy who invites you to the
dance.

>Finally, HTTP versioning is NOT like software versioning (where the 
>driver is often marketing).

I wish you good luck with keeping marketing and numerological
expectations away from the very head-line inviting "HTTP/2.0"
monicker.

lf I were you, I'd start to think about how I can explain HTTP/2.0
to journalists from the Daily Mail in a way that doesn't result in
"Boffins to close the web for upgrade" or "Web doesn't work says
head boffin" headlines.

I don't know if you have considered it, but it might be a much
better idea to standardize SPDY as "SPDY", and not roll out the
"HTTP/2.0" headline, until you have something real to show for it.

Given the total lack of interoperability between SPDY and HTTP/1,
that would also make a lot more technical sense.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 15 23:56:52 2012
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 6340A11E8089 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:56:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 VxTOB1dhQJMX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 23:56:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84C3D11E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 23:56:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqfEG-00081L-Sp for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 06:56:24 +0000
Resent-Date: Mon, 16 Jul 2012 06:56:24 +0000
Resent-Message-Id: <E1SqfEG-00081L-Sp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SqfE7-00080V-97 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 06:56:15 +0000
Received: from mail-pb0-f43.google.com ([209.85.160.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SqfE5-0000oi-5F for ietf-http-wg@w3.org; Mon, 16 Jul 2012 06:56:15 +0000
Received: by pbcwz7 with SMTP id wz7so9527548pbc.2 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 23:55:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=ermffLxgkTzXX/FuByZcVuDPjRpIS2SzbHJkPbKaxls=; b=KNxZfy9HApoYuD5eHziR4nSp7XgfJ7mmwXWusTTBTzMRYHAnD46zm8yooM2/uYCZkA sBFpib3BXFG1tCNFiY6MkVTVNJIzp0wXc/U7zNmRPlrh1X6uGmCGFnJ3lRjXiYfsen4Q kOUokII1oa3wZGnEzJSXzeKTlW0ImZll9D4A2UrOseOzZ18x3CiTygGDa0H95xswszvQ F2Spe15bl4/IMLhZaifhmmbhcbGzvTlcOrciVOOfVlAjAySLsyehpD9gxdYPwpaf3fir tEat/ctdkfyDUKYYAIAA74dTzlJj9pmk4taYvM9D9MQtYJnqCp1fwMTWmG7jc5AVwUHI xpgQ==
MIME-Version: 1.0
Received: by 10.68.237.105 with SMTP id vb9mr24522725pbc.103.1342421746820; Sun, 15 Jul 2012 23:55:46 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.143.145.12 with HTTP; Sun, 15 Jul 2012 23:55:46 -0700 (PDT)
In-Reply-To: <CAG47hGYdoUX79qWkx+VFCB8+rVqk8Mhhj639pCOb_3WRbo=bWQ@mail.gmail.com>
References: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net> <57497.1342420992@critter.freebsd.dk> <CAG47hGYdoUX79qWkx+VFCB8+rVqk8Mhhj639pCOb_3WRbo=bWQ@mail.gmail.com>
Date: Mon, 16 Jul 2012 16:55:46 +1000
X-Google-Sender-Auth: PLtWzQpbnyhCW_QKN4E_egBhRYI
Message-ID: <CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.43; envelope-from=grahameg@gmail.com; helo=mail-pb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqfE5-0000oi-5F 918204cca5f0210ad3e3f17531153c8e
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14248
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>

+1

I'm just part of the long tail of http implementers. I don't
represent any large installed base, I've just written a few
http servers and clients because it's easy. One of the
reasons for the success of http/1.x is because you can
knock out a working server in a day.

All the proposals here seem very far from that. "Major
Web Companies lock down the web" seems more apt
as an inflammatory headline.. but perhaps the easy
problems have been solved easily, and only the hard
ones are left, and a two-speed web is the right way to go?

But it would be a shame to provide no cleaner simple http.

So +1 for defining the goals.

Grahame


On Mon, Jul 16, 2012 at 4:43 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>, Mark Nottingham wri
> tes:
>
>>Much of your commentary seems to assume that we're now deciding what
>>HTTP/2.0 will be; in fact, we're choosing a starting point for further
>>work.
>
> No, my commentary is based on the experience that if you pick
> a starting point, without first defining the problem(s) you are
> trying to solve and the goal(s) you are trying to reach, then
> that starting point is where you are going to end up.
>
>>You advocate (here and elsewhere) going back to the drawing board and
>>doing things from scratch.
>
> No, I advocate starting out deciding what problems and goals HTTP/2.0
> should address, what HTTP/1 did right and what it did wrong.
>
> Only once we have a consensus about that, can we judge the
> proposals fairly.
>
> What the WG is engaged in right now is a popularity contest, it is
> not engineering, and because of the inertia of popularity, it will
> be impossible to change anything dramatically, no matter how wrong
> it turns out to be.
>
> That alone, in my mind, is reason to not chose SPDY as the starting
> point:  The installed volume will deprive the WG of any real
> influence.
>
> Yes, I belive in rough consensus and all that, but I don't belive
> you should always say yes to the first boy who invites you to the
> dance.
>
>>Finally, HTTP versioning is NOT like software versioning (where the
>>driver is often marketing).
>
> I wish you good luck with keeping marketing and numerological
> expectations away from the very head-line inviting "HTTP/2.0"
> monicker.
>
> lf I were you, I'd start to think about how I can explain HTTP/2.0
> to journalists from the Daily Mail in a way that doesn't result in
> "Boffins to close the web for upgrade" or "Web doesn't work says
> head boffin" headlines.
>
> I don't know if you have considered it, but it might be a much
> better idea to standardize SPDY as "SPDY", and not roll out the
> "HTTP/2.0" headline, until you have something real to show for it.
>
> Given the total lack of interoperability between SPDY and HTTP/1,
> that would also make a lot more technical sense.
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>



--
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au


-- 
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 00:09:28 2012
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 9711F21F84E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 00:09:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.001
X-Spam-Level: 
X-Spam-Status: No, score=-9.001 tagged_above=-999 required=5 tests=[AWL=1.597, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 91W3ZNnkX26F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 00:09:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B5EF321F84E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 00:09: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 1SqfQe-0004yq-QP for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 07:09:12 +0000
Resent-Date: Mon, 16 Jul 2012 07:09:12 +0000
Resent-Message-Id: <E1SqfQe-0004yq-QP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SqfQW-0004y4-JZ for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 07:09:04 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SqfQP-0002oo-CO for ietf-http-wg@w3.org; Mon, 16 Jul 2012 07:09:04 +0000
Received: by weyx43 with SMTP id x43so3750837wey.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 00:08:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HpX0X43mi+pdUYLS6h3EyhnPrjRgAAjzEhJybrk4WDk=; b=FByfAwPmWN5yI56Tpvs6HVXx6QUiWrv7QwfkMOSHvFQNa/eY82fxRExYnwRdsqruBv 7xAzkGv3Apw0LSFIxykIHwsW9zVnWpoOU7YpAG3BgO+3GGYoguDyYf+1LQ5fBrEQWJki e9RRDpV2RGuxOb5kCVOmQPwyxcT6xXrXTsEKF1rkR6LdlGXISGcwg+Vn1DzVaQ1wAKoD /hbntjZfvLIe86Amu92tVj0qgDtv91z9uPfprwhY+TsvncHxJcdLrNILnjrhEwLEAGu1 5aIx0cSCaVEu122k51BXbKjh5YQ0YVAbmgVI2FIPJIJemRMMueK/SarjSl6hksKMKMcd 3U/w==
Received: by 10.180.86.106 with SMTP id o10mr15730013wiz.22.1342422510661; Mon, 16 Jul 2012 00:08:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Mon, 16 Jul 2012 00:08:10 -0700 (PDT)
In-Reply-To: <57497.1342420992@critter.freebsd.dk>
References: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net> <57497.1342420992@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 16 Jul 2012 00:08:10 -0700
Message-ID: <CABP7Rbfqwn-gE2oKHdwG4pQ4VvRE36YWyesR0E0w8j-keH0fEQ@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04182752e2eebe04c4ed1888
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqfQP-0002oo-CO 49b0e873c25f0019c0ba19f1c147ef9c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CABP7Rbfqwn-gE2oKHdwG4pQ4VvRE36YWyesR0E0w8j-keH0fEQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14249
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>

--f46d04182752e2eebe04c4ed1888
Content-Type: text/plain; charset=UTF-8

I would definitely have to +1 on this... My personal view of SPDY is that
it serves as an excellent place to at least start experimenting with
various options, testing ideas, getting our collective heads around what
types of things we could and should do before we define the actual solution
-- which may or may not look anything like SPDY in the end.

- James

On Sun, Jul 15, 2012 at 11:43 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> [snip]
> No, I advocate starting out deciding what problems and goals HTTP/2.0
> should address, what HTTP/1 did right and what it did wrong.
>
> Only once we have a consensus about that, can we judge the
> proposals fairly.
>
> What the WG is engaged in right now is a popularity contest, it is
> not engineering, and because of the inertia of popularity, it will
> be impossible to change anything dramatically, no matter how wrong
> it turns out to be.
>
> That alone, in my mind, is reason to not chose SPDY as the starting
> point:  The installed volume will deprive the WG of any real
> influence.
>
> Yes, I belive in rough consensus and all that, but I don't belive
> you should always say yes to the first boy who invites you to the
> dance.
>
> >Finally, HTTP versioning is NOT like software versioning (where the
> >driver is often marketing).
>
> I wish you good luck with keeping marketing and numerological
> expectations away from the very head-line inviting "HTTP/2.0"
> monicker.
>
> lf I were you, I'd start to think about how I can explain HTTP/2.0
> to journalists from the Daily Mail in a way that doesn't result in
> "Boffins to close the web for upgrade" or "Web doesn't work says
> head boffin" headlines.
>
> I don't know if you have considered it, but it might be a much
> better idea to standardize SPDY as "SPDY", and not roll out the
> "HTTP/2.0" headline, until you have something real to show for it.
>
> Given the total lack of interoperability between SPDY and HTTP/1,
> that would also make a lot more technical sense.
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d04182752e2eebe04c4ed1888
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I would definitely have to +1 on this.=
.. My personal view of SPDY is that it serves as an excellent place to at l=
east start experimenting with various options, testing ideas, getting our c=
ollective heads around what types of things we could and should do before w=
e define the actual solution -- which may or may not look anything like SPD=
Y in the end.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Su=
n, Jul 15, 2012 at 11:43 PM, Poul-Henning Kamp <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</a>&gt=
;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">[snip]
</div>No, I advocate starting out deciding what problems and goals HTTP/2.0=
<br>
should address, what HTTP/1 did right and what it did wrong.<br>
<br>
Only once we have a consensus about that, can we judge the<br>
proposals fairly.<br>
<br>
What the WG is engaged in right now is a popularity contest, it is<br>
not engineering, and because of the inertia of popularity, it will<br>
be impossible to change anything dramatically, no matter how wrong<br>
it turns out to be.<br>
<br>
That alone, in my mind, is reason to not chose SPDY as the starting<br>
point: =C2=A0The installed volume will deprive the WG of any real<br>
influence.<br>
<br>
Yes, I belive in rough consensus and all that, but I don&#39;t belive<br>
you should always say yes to the first boy who invites you to the<br>
dance.<br>
<div class=3D"im"><br></div></blockquote><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v class=3D"im">
&gt;Finally, HTTP versioning is NOT like software versioning (where the<br>
&gt;driver is often marketing).<br>
<br>
</div>I wish you good luck with keeping marketing and numerological<br>
expectations away from the very head-line inviting &quot;HTTP/2.0&quot;<br>
monicker.<br>
<br>
lf I were you, I&#39;d start to think about how I can explain HTTP/2.0<br>
to journalists from the Daily Mail in a way that doesn&#39;t result in<br>
&quot;Boffins to close the web for upgrade&quot; or &quot;Web doesn&#39;t w=
ork says<br>
head boffin&quot; headlines.<br>
<br>
I don&#39;t know if you have considered it, but it might be a much<br>
better idea to standardize SPDY as &quot;SPDY&quot;, and not roll out the<b=
r>
&quot;HTTP/2.0&quot; headline, until you have something real to show for it=
.<br>
<br>
Given the total lack of interoperability between SPDY and HTTP/1,<br>
that would also make a lot more technical sense.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br></div>

--f46d04182752e2eebe04c4ed1888--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 00:23:12 2012
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 4CE5F21F8503 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 00:23:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.655
X-Spam-Level: 
X-Spam-Status: No, score=-9.655 tagged_above=-999 required=5 tests=[AWL=0.944, BAYES_00=-2.599, 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 r1-kmsRlBLlH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 00:23:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4FC7221F844E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 00:23:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqfe8-0003pG-0P for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 07:23:08 +0000
Resent-Date: Mon, 16 Jul 2012 07:23:08 +0000
Resent-Message-Id: <E1Sqfe8-0003pG-0P@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1Sqfe0-0003oI-3k for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 07:23:00 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lef.mutualauth@gmail.com>) id 1Sqfdz-0001pi-6B for ietf-http-wg@w3.org; Mon, 16 Jul 2012 07:23:00 +0000
Received: by qadb33 with SMTP id b33so1460842qad.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 00:22:33 -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=AJMN81XrU7aO6Jpze89Edv2frwQU1Xevrzeo+ck1QYc=; b=LDJWC67RyK///+bFxQ/sSXBthGy+N/fgHZi3wqrfIgRgJYmaqal6tDaaw4/ulLF4XM ZgoCj+AOQfHjvjXe5WzsBXyEHGxu7SdAsCuXJW8Q0PhPPbCEj2joTf23N/h0zcrsaVdn Msb7vY9fIzL/AnTAA1D2Uoytr/TY1UjoHZ/mSQwc2RJJL3mQQyBH2eYuackT0g0HFtLc /wvnDYrUf8YYog8OPMzf5tnhS7maeWjTynwbVIvCWw1PBQcs5aL0usbW+DI+6YT2+fAp GinKDr8bS6HsvnjUrbkBy0+Hm8rXj+N/ph/TJQouidUZHqgOTY49wOMOxcuV9HWhEIpA Hahw==
MIME-Version: 1.0
Received: by 10.224.106.138 with SMTP id x10mr19524442qao.1.1342423353190; Mon, 16 Jul 2012 00:22:33 -0700 (PDT)
Received: by 10.229.35.209 with HTTP; Mon, 16 Jul 2012 00:22:33 -0700 (PDT)
In-Reply-To: <CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com>
References: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net> <57497.1342420992@critter.freebsd.dk> <CAG47hGYdoUX79qWkx+VFCB8+rVqk8Mhhj639pCOb_3WRbo=bWQ@mail.gmail.com> <CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com>
Date: Mon, 16 Jul 2012 16:22:33 +0900
Message-ID: <CAGipQFnwFXSgOraMCJ56AGwWFBrsZPTjnaR1vcnUNFBNbw_D3A@mail.gmail.com>
From: "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
To: grahame@healthintersections.com.au
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.43; envelope-from=lef.mutualauth@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sqfdz-0001pi-6B b42075b9447f990ca8c107e0e23da6e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAGipQFnwFXSgOraMCJ56AGwWFBrsZPTjnaR1vcnUNFBNbw_D3A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14250
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 Mon, Jul 16, 2012 at 3:55 PM, Grahame Grieve <grahame@kestral.com.au> wrote:
> So +1 for defining the goals.

+1.
I think so too.

--
HAYASHI, Tatsuya
Lepidum Co. Ltd.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 01:00:24 2012
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 3343921F85E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:00:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.199
X-Spam-Level: 
X-Spam-Status: No, score=-9.199 tagged_above=-999 required=5 tests=[AWL=1.400, BAYES_00=-2.599, 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 6OsRmaBUVfTv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:00:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C562321F85E5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 01:00:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqgDa-0002s9-OZ for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 07:59:46 +0000
Resent-Date: Mon, 16 Jul 2012 07:59:46 +0000
Resent-Message-Id: <E1SqgDa-0002s9-OZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqgDS-0002rS-CU for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 07:59:38 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqgDQ-0003CR-Ul for ietf-http-wg@w3.org; Mon, 16 Jul 2012 07:59:38 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BA56B22E256; Mon, 16 Jul 2012 03:59:13 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <57497.1342420992@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 17:59:10 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>
References: <57497.1342420992@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqgDQ-0003CR-Ul efb5e051ab183d1ef75c1f9929b55a68
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14251
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 16/07/2012, at 4:43 PM, Poul-Henning Kamp wrote:

> In message <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>, Mark =
Nottingham wri
> tes:
>=20
>> Much of your commentary seems to assume that we're now deciding what=20=

>> HTTP/2.0 will be; in fact, we're choosing a starting point for =
further=20
>> work.=20
>=20
> No, my commentary is based on the experience that if you pick
> a starting point, without first defining the problem(s) you are
> trying to solve and the goal(s) you are trying to reach, then
> that starting point is where you are going to end up.=20

The goals were defined in our current charter:
  http://datatracker.ietf.org/wg/httpbis/charter/

In particular:

"""
To do this, the Working Group will solicit candidates for this work from=20=

the community, to be submitted as Internet-Drafts. Expected focus areas=20=

for candidates include:=20

* Significantly improved perceived performance in common use cases=20
(e.g., browsers, mobile)=20
* More efficient use of network resources; in particular, reducing the=20=

need to use multiple TCP connections=20
* Ability to be deployed on today's Internet, using IPv4 and IPv6, in =
the=20
presence of NATs=20
* Maintaining HTTP's ease of deployment=20
* Reflecting modern security requirements and practices=20
"""

and

"""
The Working Group will then select a starting point for the new work=20
based upon the following criteria:=20

* Compatibility with HTTP/1.1 semantics; i.e., it must be possible to=20
pass through a HTTP/1.1 message with reasonable fidelity=20
* Broad implementer interest (e.g., from Web browsers, "back-end"=20
or "web api" uses of HTTP, servers, intermediaries, CDNs, etc.)=20
"""

This was based upon discussion earlier this year. The time and place to =
argue our process was several months ago, not now.


>> You advocate (here and elsewhere) going back to the drawing board and=20=

>> doing things from scratch.
>=20
> No, I advocate starting out deciding what problems and goals HTTP/2.0
> should address, what HTTP/1 did right and what it did wrong.
>=20
> Only once we have a consensus about that, can we judge the
> proposals fairly.

Again, we're already there. You're complaining about a decision that, =
effectively, the rest of the industry made months ago.


> What the WG is engaged in right now is a popularity contest, it is
> not engineering, and because of the inertia of popularity, it will
> be impossible to change anything dramatically, no matter how wrong
> it turns out to be.

That's a lot of assumptions to make in one paragraph.=20


> That alone, in my mind, is reason to not chose SPDY as the starting
> point:  The installed volume will deprive the WG of any real
> influence.
>=20
> Yes, I belive in rough consensus and all that, but I don't belive
> you should always say yes to the first boy who invites you to the
> dance.

And that's why we're going through this process.


>> Finally, HTTP versioning is NOT like software versioning (where the=20=

>> driver is often marketing).
>=20
> I wish you good luck with keeping marketing and numerological
> expectations away from the very head-line inviting "HTTP/2.0"
> monicker.
>=20
> lf I were you, I'd start to think about how I can explain HTTP/2.0
> to journalists from the Daily Mail in a way that doesn't result in
> "Boffins to close the web for upgrade" or "Web doesn't work says
> head boffin" headlines.

Poul-Henning, you've waved your hands about regarding the press more =
than once now; it's getting old. Please tone down the rhetoric.


> I don't know if you have considered it, but it might be a much
> better idea to standardize SPDY as "SPDY", and not roll out the
> "HTTP/2.0" headline, until you have something real to show for it.

Indeed, this was considered. However, it was felt that having SPDY =
become a de facto HTTP/2.0 outside the IETF process would be a worse =
outcome than having everyone at the table here, discussing it and other =
proposals, because it'll be a lot harder to change in the few years that =
would take -- to the point where it probably wouldn't be worth the =
effort.

Will HTTP/2.0 be perfect? I very much doubt it, and that's fine. What it =
will be is something that is better for HTTP/1.1 for most uses, for most =
people, in most situations -- or we won't do it. The process we're using =
now gives you -- a gateway / intermediary / "HTTP router" implementer -- =
a certain amount of influence over the outcome; influence that you =
wouldn't necessarily have over a separate effort. It doesn't give you =
the ability to stop the entire effort, nor to railroad everyone else =
down the path you've chosen (just as these aren't options open for any =
other single entity).

So, we need as many implementers and deployers constructively working =
together. So far, the folks who have made the proposals have taken pains =
to point out that they're willing to change, willing to negotiate, etc., =
as long as the changes are backed up by solid engineering. I'd ask you =
to work with us as well; the points you've made are good, and will be =
discussed, but the frustration you express so often isn't constructive, =
and indeed I don't think it's really necessary.=20


> Given the total lack of interoperability between SPDY and HTTP/1,
> that would also make a lot more technical sense.

Please substantiate that claim, because it's apt to be taken out of =
context by the press whom you're so concerned about.


Kind regards,

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






From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 01:47:11 2012
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 73CBC21F866A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:47:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.147
X-Spam-Level: 
X-Spam-Status: No, score=-10.147 tagged_above=-999 required=5 tests=[AWL=0.452, BAYES_00=-2.599, 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 gAmEKZRF5XYe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:47:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E70CE21F8667 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 01:47:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqgwb-0003pK-Sv for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 08:46:17 +0000
Resent-Date: Mon, 16 Jul 2012 08:46:17 +0000
Resent-Message-Id: <E1Sqgwb-0003pK-Sv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqgwU-0003oU-2O for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 08:46:10 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqgwP-0004Yr-9K for ietf-http-wg@w3.org; Mon, 16 Jul 2012 08:46:10 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 3D86A10EB9F for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 20:45:39 +1200 (NZST)
Message-ID: <5003D4A7.2070002@treenet.co.nz>
Date: Mon, 16 Jul 2012 20:45:27 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <C7D8C6AF-1788-4661-B655-6846E15DD5B9@mnot.net>
In-Reply-To: <C7D8C6AF-1788-4661-B655-6846E15DD5B9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqgwP-0004Yr-9K bb67b5ddd37f69bb4fa91c60bac33bab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/5003D4A7.2070002@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14252
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 16/07/2012 6:28 p.m., Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/375>
>
>> If an HTTP header field incorrectly carries a date value with a time zone other than GMT, it must be converted into GMT using the most conservative possible conversion.
> What does "most conservative" mean?
>
> "Earliest" makes sense for Expires and Date, but Last-Modified it would seem that "latest" is the most conservative.

Precisely. Is any different view of "conservative" possible?


>
> I really don't want to create a registry -- or even another aspect that each header has to define -- here.
>
> Maybe just a few examples would help?

Or moving the error recovery into the header definitions with 
appropriate differences? As you note there is no one fix that fits all 
date usages.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 01:54:54 2012
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 2F87821F8518 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.289
X-Spam-Level: 
X-Spam-Status: No, score=-10.289 tagged_above=-999 required=5 tests=[AWL=0.310, BAYES_00=-2.599, 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 38G2Upj1627z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:54:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7C6FD21F84A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 01:54:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqh4c-0005kN-A0 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 08:54:34 +0000
Resent-Date: Mon, 16 Jul 2012 08:54:34 +0000
Resent-Message-Id: <E1Sqh4c-0005kN-A0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sqh4T-0005jc-S4 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 08:54:25 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sqh4N-0006yX-E6 for ietf-http-wg@w3.org; Mon, 16 Jul 2012 08:54:25 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6G8r4Rd005053; Mon, 16 Jul 2012 11:53:43 +0300
X-CheckPoint: {5003D4BC-1-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Mon, 16 Jul 2012 11:51:31 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Mark Nottingham <mnot@mnot.net>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 11:51:31 +0300
Thread-Topic: HTTP/2 Expression of luke-warm interest: Varnish
Thread-Index: Ac1jMDI6FSdUmqKKRZyOYfq/uNu11Q==
Message-ID: <528618F4-CF04-4028-BCA0-88436507FC3B@checkpoint.com>
References: <57497.1342420992@critter.freebsd.dk> <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>
In-Reply-To: <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sqh4N-0006yX-E6 9fd0408f70d56f9a27bd0df00d0abfdc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/528618F4-CF04-4028-BCA0-88436507FC3B@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14253
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 Jul 16, 2012, at 10:59 AM, Mark Nottingham wrote:

>=20
> On 16/07/2012, at 4:43 PM, Poul-Henning Kamp wrote:
>=20
>> In message <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net>, Mark Notting=
ham wri
>> tes:
>>=20
>>> Much of your commentary seems to assume that we're now deciding what=20
>>> HTTP/2.0 will be; in fact, we're choosing a starting point for further=
=20
>>> work.=20
>>=20
>> No, my commentary is based on the experience that if you pick
>> a starting point, without first defining the problem(s) you are
>> trying to solve and the goal(s) you are trying to reach, then
>> that starting point is where you are going to end up.=20
>=20
> The goals were defined in our current charter:
>  http://datatracker.ietf.org/wg/httpbis/charter/

Those are not goals. Quoting the first part of this:

   There is emerging implementation experience and interest in a protocol t=
hat=20
   retains the semantics of HTTP, without the legacy of HTTP/1.x message fr=
aming=20
   and syntax, which have been identified as hampering performance and enco=
uraging=20
   misuse of the underlying transport.=20

   As such, there is an opportunity to create a new major=20
   (non-wire-compatible) version of HTTP.=20

   To do this, the Working Group will solicit candidates for this work from=
=20
   the community, to be submitted as Internet-Drafts=85

It doesn't say what these HTTP/2 candidates are supposed to do. All it says=
 is:
 - they must retain HTTP semantics
 - they don't have to keep the message framing and syntax

Those are constraints, not goals. The charter doesn't even go so far as to =
specify "make web pages load faster" as a goal, or "better use of bandwidth=
", or even "prioritization of resources"

While we all seem to be working on the assumption that those are the goals,=
 they're not stated anywhere. This is why we keep having discussions about =
whether server push is a MUST or a MUST NOT, and whether we need transport =
layer of application layer security, and whether those should be part of th=
is proposal.

The popularity contest is not all bad. It gives us a much lower chance of f=
ailure, but PHK is right. Once we accept SPDY as the starting point of HTTP=
/2, changes are going to be minimal, because of all the running code and in=
stall base. While Chrome and Firefox update often, many servers hardly ever=
 get updated. We'd need a very good reason for any departure from what SPDY=
/3 currently is, especially for any change that is not backwards compatible=
 with the current SPDY.

Yoav



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 01:54:54 2012
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 3DA4221F8659 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.305
X-Spam-Level: 
X-Spam-Status: No, score=-10.305 tagged_above=-999 required=5 tests=[AWL=0.293, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 VaIkfmiLiFuD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:54:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 94BDD21F84E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 01:54:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqh52-0005lU-Ah for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 08:55:00 +0000
Resent-Date: Mon, 16 Jul 2012 08:55:00 +0000
Resent-Message-Id: <E1Sqh52-0005lU-Ah@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sqh4u-0005ke-EV for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 08:54:52 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sqh4t-0004oa-4g for ietf-http-wg@w3.org; Mon, 16 Jul 2012 08:54:52 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6G8sLd1005558; Mon, 16 Jul 2012 11:54:21 +0300
X-CheckPoint: {5003D509-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Mon, 16 Jul 2012 11:54:12 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: James M Snell <jasnell@gmail.com>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 11:54:11 +0300
Thread-Topic: HTTP/2 Expression of luke-warm interest: Varnish
Thread-Index: Ac1jMJHA2ILCVshXQgyv1QW37iRfIQ==
Message-ID: <35059651-E836-45D2-AA68-C12440C9CC42@checkpoint.com>
References: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net> <57497.1342420992@critter.freebsd.dk> <CABP7Rbfqwn-gE2oKHdwG4pQ4VvRE36YWyesR0E0w8j-keH0fEQ@mail.gmail.com>
In-Reply-To: <CABP7Rbfqwn-gE2oKHdwG4pQ4VvRE36YWyesR0E0w8j-keH0fEQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: multipart/alternative; boundary="_000_35059651E83645D2AA68C12440C9CC42checkpointcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqh4t-0004oa-4g 236242a5c32ff8dea6229af08dd7f290
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/35059651-E836-45D2-AA68-C12440C9CC42@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14254
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>

--_000_35059651E83645D2AA68C12440C9CC42checkpointcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


On Jul 16, 2012, at 10:08 AM, James M Snell wrote:

I would definitely have to +1 on this... My personal view of SPDY is that i=
t serves as an excellent place to at least start experimenting with various=
 options, testing ideas, getting our collective heads around what types of =
things we could and should do before we define the actual solution -- which=
 may or may not look anything like SPDY in the end.

I also agree with this. However, by the time we experiment with various opt=
ions, half the web browsers and a good portion of the web (Google+facebook+=
several others >10%) will be running SPDY, making it the de-facto next-gene=
ration HTTP

Yoav


--_000_35059651E83645D2AA68C12440C9CC42checkpointcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 16, 2=
012, at 10:08 AM, James M Snell wrote:</div><br class=3D"Apple-interchange-=
newline"><blockquote type=3D"cite"><font face=3D"courier new,monospace">I w=
ould definitely have to +1 on this... My personal view of SPDY is that it s=
erves as an excellent place to at least start experimenting with various op=
tions, testing ideas, getting our collective heads around what types of thi=
ngs we could and should do before we define the actual solution -- which ma=
y or may not look anything like SPDY in the end.</font></blockquote><br></d=
iv><div>I also agree with this. However, by the time we experiment with var=
ious options, half the web browsers and a good portion of the web (Google+f=
acebook+several others &gt;10%) will be running SPDY, making it the de-fact=
o next-generation HTTP</div><div><br></div><div>Yoav</div><br></body></html=
>=

--_000_35059651E83645D2AA68C12440C9CC42checkpointcom_--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 01:58:38 2012
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 4104021F8665 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:58:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.32
X-Spam-Level: 
X-Spam-Status: No, score=-10.32 tagged_above=-999 required=5 tests=[AWL=0.279, BAYES_00=-2.599, 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 m4At4dc7eDP7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 01:58:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC9BE21F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 01:58:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqh8j-0007kr-6i for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 08:58:49 +0000
Resent-Date: Mon, 16 Jul 2012 08:58:49 +0000
Resent-Message-Id: <E1Sqh8j-0007kr-6i@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sqh8b-0007k6-Bf for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 08:58:41 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sqh8X-0004vp-3X for ietf-http-wg@w3.org; Mon, 16 Jul 2012 08:58:41 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6G8w87r006408; Mon, 16 Jul 2012 11:58:09 +0300
X-CheckPoint: {5003D5EB-2-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Mon, 16 Jul 2012 11:58:07 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 11:58:07 +0300
Thread-Topic: HTTP/2 Expression of luke-warm interest: Varnish
Thread-Index: Ac1jMR4nyfsAS36KSQeeNmJ+H6jzxQ==
Message-ID: <5998FA71-7D06-46D6-8558-A434C301E85B@checkpoint.com>
References: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net> <57497.1342420992@critter.freebsd.dk> <CAG47hGYdoUX79qWkx+VFCB8+rVqk8Mhhj639pCOb_3WRbo=bWQ@mail.gmail.com> <CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com>
In-Reply-To: <CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqh8X-0004vp-3X 37d85689f7e7c4dd66518fb6d75bdb65
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/5998FA71-7D06-46D6-8558-A434C301E85B@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14255
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>

We may want to add to the requirements the definition of a "minimal impleme=
ntation", such that supports only one concurrent stream, no server push, an=
d default values for all tweakable parameters. Ideally we could test if suc=
h an implementation can be programmed in a day using a basic TCP library (f=
or extra credit use just C and libC)

Yoav

On Jul 16, 2012, at 9:55 AM, Grahame Grieve wrote:

> +1
>=20
> I'm just part of the long tail of http implementers. I don't
> represent any large installed base, I've just written a few
> http servers and clients because it's easy. One of the
> reasons for the success of http/1.x is because you can
> knock out a working server in a day.
>=20
> All the proposals here seem very far from that. "Major
> Web Companies lock down the web" seems more apt
> as an inflammatory headline.. but perhaps the easy
> problems have been solved easily, and only the hard
> ones are left, and a two-speed web is the right way to go?
>=20
> But it would be a shame to provide no cleaner simple http.
>=20
> So +1 for defining the goals.
>=20
> Grahame



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 02:18:08 2012
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 D784821F8627 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 02:18:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 TWOZz9xCEqhV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 02:18:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 474B621F861F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 02:18:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqhQn-0000yg-F0 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 09:17:29 +0000
Resent-Date: Mon, 16 Jul 2012 09:17:29 +0000
Resent-Message-Id: <E1SqhQn-0000yg-F0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqhQf-0000xv-0e for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 09:17:21 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqhQY-0005QO-Of for ietf-http-wg@w3.org; Mon, 16 Jul 2012 09:17:20 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 272313B599; Mon, 16 Jul 2012 09:16:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6G9GpTE058129; Mon, 16 Jul 2012 09:16:51 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 17:59:10 +1000." <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 09:16:51 +0000
Message-ID: <58128.1342430211@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqhQY-0005QO-Of 1f58b57ebf42ea2398df4c45256fdf15
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/58128.1342430211@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14256
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>

In message <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>, Mark Nottingham w
rites:

Mark,

The goals you point to are however goals for a WG, and I think they
are good goals for a WG, but they are not goals for a protocol.

Goals for a protocol would sound more like:

* "90% of all first requests fit in one packet on 1500 byte MTU"
* "request-reponse model." / "peer-to-peer model"
* "All protocol elements must be fixed size or length prefixed."
* "Must have multiplexing and pipelining"
* "Cryptographic protection is included/optional/mandatory"
* "Has (no) out-of-protection routing envelope"
* "Can (not) mix protected and unprotected requests on same connection"
* "No-extra-RT upgrade from HTTP/1 to HTTP/2"
* "Must demonstrate 10Gbit/sec load-balancer implementation on COTS PC"
* "Client must offer unique device or user identifier"
* "Not allow cookies or other server initiated tagging of client."
* "Replace User-agent with something of finite size and preferably usable."

and so on (examples only!)

Picking what you call "a starting point" -- no matter which of the three
you pick -- will put many of these decisions outside the reach of the WG.

Poul-Henning

PS: Your argument that it's better to have SPDY inside pissing out
than outside pissing in, is just capitulation by a different name.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 02:29:24 2012
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 D36BC21F86C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 02:29:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.209
X-Spam-Level: 
X-Spam-Status: No, score=-9.209 tagged_above=-999 required=5 tests=[AWL=1.390, BAYES_00=-2.599, 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 bnTW2nfjBGbO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 02:29:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EBE1A21F86C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 02:29:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqhcE-0004Ux-Ca for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 09:29:18 +0000
Resent-Date: Mon, 16 Jul 2012 09:29:18 +0000
Resent-Message-Id: <E1SqhcE-0004Ux-Ca@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sqhc6-0004UG-1N for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 09:29:10 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sqhc4-00080b-Ui for ietf-http-wg@w3.org; Mon, 16 Jul 2012 09:29:09 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 5AA7E22E25B; Mon, 16 Jul 2012 05:28:45 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <58128.1342430211@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 19:28:42 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4CFC0DFB-FF73-43F9-BAE9-D536072C3B50@mnot.net>
References: <58128.1342430211@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sqhc4-00080b-Ui 3320ccd881115178ed37021693f45309
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/4CFC0DFB-FF73-43F9-BAE9-D536072C3B50@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14257
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>

We've agreed to how we're proceeding after extensive discussion =
previously.=20

Changing that plan would require re-chartering, and while I hear a few =
people agreeing with you, I hear a lot more people who are committed to =
the path we're on. So, extra words from you at this point aren't going =
to do it; I need to hear broad consensus among people who implement and =
deploy HTTP to even consider this.=20

Thanks,


On 16/07/2012, at 7:16 PM, Poul-Henning Kamp wrote:

> In message <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>, Mark =
Nottingham w
> rites:
>=20
> Mark,
>=20
> The goals you point to are however goals for a WG, and I think they
> are good goals for a WG, but they are not goals for a protocol.
>=20
> Goals for a protocol would sound more like:
>=20
> * "90% of all first requests fit in one packet on 1500 byte MTU"
> * "request-reponse model." / "peer-to-peer model"
> * "All protocol elements must be fixed size or length prefixed."
> * "Must have multiplexing and pipelining"
> * "Cryptographic protection is included/optional/mandatory"
> * "Has (no) out-of-protection routing envelope"
> * "Can (not) mix protected and unprotected requests on same =
connection"
> * "No-extra-RT upgrade from HTTP/1 to HTTP/2"
> * "Must demonstrate 10Gbit/sec load-balancer implementation on COTS =
PC"
> * "Client must offer unique device or user identifier"
> * "Not allow cookies or other server initiated tagging of client."
> * "Replace User-agent with something of finite size and preferably =
usable."
>=20
> and so on (examples only!)
>=20
> Picking what you call "a starting point" -- no matter which of the =
three
> you pick -- will put many of these decisions outside the reach of the =
WG.
>=20
> Poul-Henning
>=20
> PS: Your argument that it's better to have SPDY inside pissing out
> than outside pissing in, is just capitulation by a different name.
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.

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






From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 02:41:12 2012
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 9FB8821F86EC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 02:41:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.219
X-Spam-Level: 
X-Spam-Status: No, score=-9.219 tagged_above=-999 required=5 tests=[AWL=1.380, BAYES_00=-2.599, 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 QIij55V7w7Jc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 02:41:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2D0C21F86EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 02:41:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqhnb-0003L3-4K for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 09:41:03 +0000
Resent-Date: Mon, 16 Jul 2012 09:41:03 +0000
Resent-Message-Id: <E1Sqhnb-0003L3-4K@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqhnS-0003KD-Lg for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 09:40:54 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqhnR-0000A9-Gv for ietf-http-wg@w3.org; Mon, 16 Jul 2012 09:40:54 +0000
Received: from mnot-air.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C146F22E1F4; Mon, 16 Jul 2012 05:40:31 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <391378D7-41C6-4075-B055-43EE3A4A31E1@cisco.com>
Date: Mon, 16 Jul 2012 19:40:31 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8C7DDC18-6D04-4B84-AECD-30D2CF4032C9@mnot.net>
References: <C6EA22C4-F1F7-473B-8E92-DBFF387F64A6@mnot.net> <391378D7-41C6-4075-B055-43EE3A4A31E1@cisco.com>
To: Klaas Wierenga <klaas@cisco.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqhnR-0000A9-Gv 0987453105f79d914ffdc4f973af21e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #365: Conditional Request Security Considerations
Archived-At: <http://www.w3.org/mid/8C7DDC18-6D04-4B84-AECD-30D2CF4032C9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14258
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 think that's workable.

Thanks,


On 16/07/2012, at 6:16 PM, Klaas Wierenga wrote:

> Hi Mark,
>=20
> On Jul 16, 2012, at 8:19 AM, Mark Nottingham wrote:
>=20
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/365>:
>>=20
>>> To start with the Security Considerations (section 6), there aren't
>>> any..... or rather, section 6 refers to the security considerations =
of
>>> part 1 and states that the security considerations are the same as =
for
>>> HTTP in general. IMO that is a bit too easy, for example throughout
>>> the text there is discussion about clock synchronization, evaluation
>>> of weak conditionals, hashes etc. All of those can lead to the =
client
>>> having a "wrong" view of the resource. I would expect some =
discussion
>>> as to what that could mean and what measures could be taken to avoid =
that.
>>=20
>> Perhaps. However, when used for validation, the worst case scenario =
is that validation will fail, leading to transfer of more bytes. I.e., =
an optimisation will fail, but the protocol will still operate =
"correctly."
>>=20
>> In the case of a preconditional request - e.g., If-Match on a PUT - =
again, the request may fail, but the result will be conservative; i.e., =
the operation will not succeed. The only case that's interesting from a =
security standpoint, I think, is if an attacker modifies ETags (for =
example) in such a way that a request that would have failed succeeds, =
thereby "losing" an update by another author.=20
>>=20
>> However, I do think that this is covered by the security =
considerations in general; i.e., if you're operating HTTP in the clear, =
people can do all sorts of things to your messages.
>>=20
>>> Also, in part 1, security considerations 8.5 there is some =
discussion
>>> about MitM attacks and evil proxies, and the general statement is =
made
>>> that proxies should not be trusted anymore than the person who
>>> operates it. Whereas it is true that everyone in the path can change
>>> the transmitted information at will, I could imagine that with ETags
>>> one could actually implement some rsort of integrity protection by
>>> using ETags that are signed hashes of the content that is
>>> transfered.... thinking out loud... anyway, my bottom line is that I
>>> am not sure that the security properties of the system as a whole
>>> don't change by introducing conditionals.
>>=20
>> ETags are absolutely not used for integrity protection; they are only =
an identifier for a particular message; hashes are mentioned as one way =
to generate that identifier, but they're vehemently opaque to the =
consumer.
>>=20
>> Does this satisfy your concerns? If so, we'll close the issue. If =
not, perhaps you could suggest some text?
>=20
> I would prefer if you would put the wording about attackers modifying =
ETags above in the security considerations, apart from that I am fine =
with your comments.
>=20
> Klaas

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






From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 04:00:23 2012
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 6B7A221F87A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 04:00:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 7X43-WkWaeJ9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 04:00:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E205821F879E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 04:00:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqj1H-0001z9-VS for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 10:59:15 +0000
Resent-Date: Mon, 16 Jul 2012 10:59:15 +0000
Resent-Message-Id: <E1Sqj1H-0001z9-VS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqj19-0001y1-PY for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 10:59:07 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqj13-0000QF-Qk for ietf-http-wg@w3.org; Mon, 16 Jul 2012 10:59:07 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0B5A23B5A7; Mon, 16 Jul 2012 10:58:38 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GAwck9058498; Mon, 16 Jul 2012 10:58:38 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 19:28:42 +1000." <4CFC0DFB-FF73-43F9-BAE9-D536072C3B50@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 10:58:37 +0000
Message-ID: <58497.1342436317@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqj13-0000QF-Qk 1df9b94609d8f55a3dcbffdce8c5dfd6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/58497.1342436317@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14259
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>

Mark,

When you issued a call for interest, you were inviting "extra words".

That you got.

It's quite clear from those extra words that SPDY is going to happen,
simply as a matter of sheer corporate power.

That doesn't mean it is a good idea, or even the best idea.

Enjoy,

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 04:44:08 2012
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 74B0421F879B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 04:44:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.598
X-Spam-Level: 
X-Spam-Status: No, score=-5.598 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 2yYtExFr-REK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 04:44:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3F72A21F878E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 04:44:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqjiL-00053q-2P for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 11:43:45 +0000
Resent-Date: Mon, 16 Jul 2012 11:43:45 +0000
Resent-Message-Id: <E1SqjiL-00053q-2P@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SqjiB-000535-Do for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 11:43:35 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sqji9-0001vC-6q for ietf-http-wg@w3.org; Mon, 16 Jul 2012 11:43:35 +0000
Received: From [192.168.1.25] (unverified [122.57.158.235]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019141154@smtp.qbik.com>; Mon, 16 Jul 2012 23:43:07 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Mike Belshe" <mike@belshe.com>, "James M Snell" <jasnell@gmail.com>
Cc: "Willy Tarreau" <w@1wt.eu>, "Roberto Peon" <grmocg@gmail.com>, "Julian Reschke" <julian.reschke@gmx.de>, "Amos Jeffries" <squid3@treenet.co.nz>, "HTTP Working Group" <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Date: Mon, 16 Jul 2012 11:42:13 +0000
Content-Type: multipart/alternative; boundary="------=_MB8C68B246-C76C-457D-9E2B-056F45FBC7EC"
In-Reply-To: <CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com>
Message-Id: <em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqji9-0001vC-6q 328eefa54411130800a3a615abd18a21
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14260
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>

--------=_MB8C68B246-C76C-457D-9E2B-056F45FBC7EC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8

=EF=BB=BF
Hi Mike

there must be some sort of context associated between the client and=20
the server for the push, otherwise what is the server pushing at?

This context would be established first by some request?  E.g.=20

Shouldn't the client request server push, and transmit a context that=20
the server can use to associate the many responses.

That then also allows an intermediary to track what is going on (e.g.=20
demux on a shared connection), and allows the client to decide whether=20
server push happens or not.

Adrien

------ Original Message ------
From: "Mike Belshe" <mike@belshe.com>
To: "James M Snell" <jasnell@gmail.com>
Cc: "Willy Tarreau" <w@1wt.eu>;"Roberto Peon"=20
<grmocg@gmail.com>;"Julian Reschke" <julian.reschke@gmx.de>;"Amos=20
Jeffries" <squid3@treenet.co.nz>;"HTTP Working Group"=20
<ietf-http-wg@w3.org>;"tom" <zs68j2ee@gmail.com>
Sent: 16/07/2012 6:35:35 p.m.
Subject: Re: HTTP2 Expression of Interest : Squid
>
>
>On Sun, Jul 15, 2012 at 11:33 PM, James M Snell <jasnell@gmail.com> wrote:
>=20
>=20
> On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <mike@belshe.com> wrote:
>   [snip]=20
>   OK but some data may end up in the client's cache without having=20
>   been
>   requested by him. I don't think it has a high technical impact, but=20
>   it
>   may rather be a legal one in some cases. In fact it's a delicate=20
>   question.
  =20
   Let's not pretend that browsers behave differently than they do. =20
   With HTTP today,  browsers download subresources - whether you use=20
   IE or Chrome or Opera or Safari.  All server push does is allow the=20
   server to optionally send the secondary resources without waiting=20
   for a second request from the client.  Servers that think this is=20
   illegal don't have to do it.  Clients that don't want it (these=20
   don't exist!) can cancel them.  Sending resources the browser won't=20
   use are no-ops and won't impact anything (except make your web page=20
   load slower, so don't do it).
  =20
 =20
  One possibility to throw in here would be a simple requirement that=20
  the server has to ask the client before it pushes... a reverse=20
  100-Continue if you will... require the server to tell the client=20
  what content it is trying to push and give the client the opportunity=20
  to say No.... intervening proxies, such as a corporate firewall,=20
  would be capable of answering on the users behalf.=20
=20
 If you have a proxy, the proxy receives the pushes (not the client),=20
 so the proxy can do whatever it would do in the non push case. =20
=20
 mike

 =20
  - James
=20

--------=_MB8C68B246-C76C-457D-9E2B-056F45FBC7EC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#01037ccb037c47bba46ec9de2cd484f8 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#01037ccb037c47bba46ec9de2cd484f8 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#01037ccb037c47bba46ec9de2cd484f8=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#01037ccb037c47bba46ec9de2cd484f8 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>Hi Mike</DIV>
<DIV>&nbsp;</DIV>
<DIV>there must be some sort of context associated between the client and=
 the server for the push, otherwise what is the server pushing at?</DIV>
<DIV>&nbsp;</DIV>
<DIV>This context would be established first by some request?&nbsp; E.g.=
 </DIV>
<DIV>&nbsp;</DIV>
<DIV>Shouldn't the client request server push, and transmit a context that=
 the server can use to associate the many responses.</DIV>
<DIV>&nbsp;</DIV>
<DIV>That then also allows an intermediary to track what is going on (e.g.=
 demux on a shared connection), and allows the client to decide whether =
server push happens or not.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV><BR>------ Original Message ------<BR>From: "Mike Belshe" &lt;mike@bel=
she.com&gt;<BR>To: "James M Snell" &lt;jasnell@gmail.com&gt;<BR>Cc: "Willy=
 Tarreau" &lt;w@1wt.eu&gt;;"Roberto Peon" &lt;grmocg@gmail.com&gt;;"Julian=
 Reschke" &lt;julian.reschke@gmx.de&gt;;"Amos Jeffries" &lt;squid3@treenet.=
co.nz&gt;;"HTTP Working Group" &lt;ietf-http-wg@w3.org&gt;;"tom" &lt;zs68j2=
ee@gmail.com&gt;<BR>Sent: 16/07/2012 6:35:35 p.m.<BR>Subject: Re: HTTP2 =
Expression of Interest : Squid<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=
=3Du9NQSLQ@mail.gmail.com type=3D"cite">
<DIV id=3D01037ccb037c47bba46ec9de2cd484f8><BR><BR>
<DIV class=3Dgmail_quote>On Sun, Jul 15, 2012 at 11:33 PM, James M Snell=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:jasnell@gmail.com"><A href=3D"mailto=
:jasnell@gmail.com">jasnell@gmail.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><FONT face=3D"courier new,monospac=
e"><BR></FONT><BR>
<DIV class=3Dgmail_quote>On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <SPA=
N dir=3Dltr>&lt;<A href=3D"mailto:mike@belshe.com"><A href=3D"mailto:mike@b=
elshe.com">mike@belshe.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV class=3Dgmail_quote>
<DIV>
<DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>[snip] </DIV>
<DIV class=3Dim>OK but some data may end up in the client's cache without=
 having been<BR>requested by him. I don't think it has a high technical =
impact, but it<BR>may rather be a legal one in some cases. In fact it's =
a delicate question.<BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV></DIV></DIV>
<DIV class=3Dim>
<DIV>Let's not pretend that browsers behave differently than they do. &nbsp=
;With HTTP today,&nbsp; browsers download subresources - whether you use=
 IE or Chrome or Opera or Safari. &nbsp;All server push does is allow the=
 server to optionally send the secondary resources without waiting for a=
 second request from the client. &nbsp;Servers that think this is illegal=
 don't have to do it. &nbsp;Clients that don't want it (these don't exist!)=
 can cancel them. &nbsp;Sending resources the browser won't use are no-ops=
 and won't impact anything (except make your web page load slower, so don't=
 do it).</DIV>
<DIV>
<DIV><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>One possibility to throw in here would be a simple requirement that=
 the server has to ask the client before it pushes... a reverse 100-Continu=
e if you will... require the server to tell the client what content it is=
 trying to push and give the client the opportunity to say No.... interveni=
ng proxies, such as a corporate firewall, would be capable of answering =
on the users behalf.&nbsp;</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>If you have a proxy, the proxy receives the pushes (not the client),=
 so the proxy can do whatever it would do in the non push case. &nbsp;</DIV=
>
<DIV><BR></DIV>
<DIV>mike</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV class=3Dgmail_quote><SPAN class=3DHOEnZb><FONT color=3D#888888>
<DIV><BR></DIV>
<DIV>- James</DIV></FONT></SPAN></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQ=
UOTE></BODY></HTML>
--------=_MB8C68B246-C76C-457D-9E2B-056F45FBC7EC--



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 05:01:17 2012
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 17ECA21F8738 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 05:01:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.48
X-Spam-Level: 
X-Spam-Status: No, score=-8.48 tagged_above=-999 required=5 tests=[AWL=2.119, BAYES_00=-2.599, 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 FZ5cOzObrylz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 05:01:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3EB2C21F8778 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 05:01:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqjym-0006E5-LQ for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 12:00:44 +0000
Resent-Date: Mon, 16 Jul 2012 12:00:44 +0000
Resent-Message-Id: <E1Sqjym-0006E5-LQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sqjyd-0006CP-Oe for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 12:00:35 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqjyV-0002Ri-Fc for ietf-http-wg@w3.org; Mon, 16 Jul 2012 12:00:35 +0000
Received: by vcbgb30 with SMTP id gb30so3955244vcb.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 05:00:01 -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=GR8WLK/djM8G9MdoaKRkTzPFmvrsssWY6Tjlt5D7Yuc=; b=L/WEP4i2AXFatsDJYX6i+LlwIPoOIVcPmUbqN9n4VQqdp2ycb64N5M50MycuCiBkHl vsO2zJRghDbSosjmY7h5gjy1nCvR0wkegU7psc3SRzZnITXpppJHM6O2FzAaACigfHJB awvIdyz4wCetrx54XYpdNl7gGef5ZWUQQ1k43H3HR13XuqJXwT1XRpdBPMCHuyUHQwgS jBhrM0ATFInPh1SHNH3CjhFKlspSwxkXjg0mrzXWwtGC7OanEjg6CVz8Y0yRWrraz79Q 4kfw124SaCv0iFyP8ELz9M6apJraIOfb+9LbjWAj6nZleklUeaIljJo2Fzw4Njm18Qj7 y3oQ==
MIME-Version: 1.0
Received: by 10.220.242.76 with SMTP id lh12mr5141047vcb.65.1342440001494; Mon, 16 Jul 2012 05:00:01 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Mon, 16 Jul 2012 05:00:01 -0700 (PDT)
In-Reply-To: <5998FA71-7D06-46D6-8558-A434C301E85B@checkpoint.com>
References: <4C9C45EE-57B6-49FE-A475-B46BE192A221@mnot.net> <57497.1342420992@critter.freebsd.dk> <CAG47hGYdoUX79qWkx+VFCB8+rVqk8Mhhj639pCOb_3WRbo=bWQ@mail.gmail.com> <CAG47hGbxfT0qkyfWq_kQurteyufih6G75FMjGzJ4T+K1Ro5p1g@mail.gmail.com> <5998FA71-7D06-46D6-8558-A434C301E85B@checkpoint.com>
Date: Mon, 16 Jul 2012 08:00:01 -0400
Message-ID: <CAMm+LwipATe4eanbJr_9ToH8cPdy2ENU17n0Dfyw3h6Qm1j7Ng@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SqjyV-0002Ri-Fc 86a7b94aa9bb575ab67a6545a96619ab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAMm+LwipATe4eanbJr_9ToH8cPdy2ENU17n0Dfyw3h6Qm1j7Ng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14261
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>

Lock in is certainly an issue. There are many features in HTTP/1.0
that remained the way they were because we were already a captive of
the deployed base.

But there are different types of lock in. Deployment at Facebook or
Google would not worry me very much because they are services. They
can move on to a new version of the software as quickly as they rolled
out SPDY.

What would worry me more on the server side is a sizable deployment
based on Apache or IIS. In particular takeup by the Web Hosting
companies.

On the client side, Chrome and firefox auto update, no real concern
there, Safari on an iphone 3 does not. So game over.


I would suggest though that the WG not commit to backwards
compatibility with SPDY. Instead I would argue for 'dont break without
a good purpose'.


On Mon, Jul 16, 2012 at 4:58 AM, Yoav Nir <ynir@checkpoint.com> wrote:
> We may want to add to the requirements the definition of a "minimal imple=
mentation", such that supports only one concurrent stream, no server push, =
and default values for all tweakable parameters. Ideally we could test if s=
uch an implementation can be programmed in a day using a basic TCP library =
(for extra credit use just C and libC)
>
> Yoav
>
> On Jul 16, 2012, at 9:55 AM, Grahame Grieve wrote:
>
>> +1
>>
>> I'm just part of the long tail of http implementers. I don't
>> represent any large installed base, I've just written a few
>> http servers and clients because it's easy. One of the
>> reasons for the success of http/1.x is because you can
>> knock out a working server in a day.
>>
>> All the proposals here seem very far from that. "Major
>> Web Companies lock down the web" seems more apt
>> as an inflammatory headline.. but perhaps the easy
>> problems have been solved easily, and only the hard
>> ones are left, and a two-speed web is the right way to go?
>>
>> But it would be a shame to provide no cleaner simple http.
>>
>> So +1 for defining the goals.
>>
>> Grahame
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 05:02:37 2012
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 A354D21F8778 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 05:02:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.849
X-Spam-Level: 
X-Spam-Status: No, score=-5.849 tagged_above=-999 required=5 tests=[AWL=3.750, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 a8uUl+EnpN8Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 05:02:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6DFD421F8738 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 05:02: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 1Sqk0v-0006OU-Pb for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 12:02:57 +0000
Resent-Date: Mon, 16 Jul 2012 12:02:57 +0000
Resent-Message-Id: <E1Sqk0v-0006OU-Pb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sqk0m-0006LT-FA for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 12:02:48 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sqk0h-0002Vb-Pi for ietf-http-wg@w3.org; Mon, 16 Jul 2012 12:02:48 +0000
Received: From [192.168.1.25] (unverified [122.57.158.235]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019141175@smtp.qbik.com>; Tue, 17 Jul 2012 00:02:21 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Mark Nottingham" <mnot@mnot.net>, "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 12:02:14 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <4CFC0DFB-FF73-43F9-BAE9-D536072C3B50@mnot.net>
Message-Id: <em6fa1c92c-a323-4428-a438-b94ad38c745d@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqk0h-0002Vb-Pi b12ae10f26f05340881580cde2eb32cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/em6fa1c92c-a323-4428-a438-b94ad38c745d@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14262
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 all

After reading the reviews posted by/on behalf of twitter and facebook=20
endorsing SPDY as-is (were they written by the same author?) I have to=20
admit to getting the feeling we were going round in circles.

We had a long thread a few months back about whether encryption can be=20
mandatory or not.  My understanding was that general consensus was=20
achieved that it could not be mandatory, and that's why SPDY made it=20
optional.  I suspect that deployment / interop issues with existing=20
infrastructure play a large part in the desire to use NPN in TLS to=20
establish support for SPDY or not, which provides a big incentive to=20
push for TLS.  Frankly I don't believe it would actually improve=20
security overall in the longer term.

Anyway, I would have a really big problem with any attempt to make=20
encryption mandatory in the spec, and I think I (and others) already=20
expressed the reasons before, so I won't repeat them here.  In the=20
absense of any out-of-band negotiation of HTTP/2.0 support, and with=20
the desire to not lose a R-T, we only really have 1 palatable option=20
(other than using another port number which I still think may be=20
preferable), and that's the Upgrade header.

Forgive me also for saying it looked like the FB and Twitter=20
endorsements started from a position of having already decided SPDY was=20
the way to go, and trying to justify that.  I can understand that, from=20
their POV SPDY is really compelling, not the least because it is=20
deployed and tested and has real benefits now.

And I don't have anything against SPDY, but I don't consider it to be=20
HTTP. I see it as a transport / middle-layer which adds some nice=20
features to transportation of HTTP/1.1 messages, but doesn't actually=20
semantically change them (except for proposed server push, which AFAIK=20
is still not really used?)

I'd like to see something that resolves some of the issues in HTTP=20
itself, regardles of whether it goes over a multiplexed compressed=20
encrypted connection or not.

>From a coding POV, I'd like to see=20

* something that no longer requires parsing of strings or embedding of=20
escapes to avoid conflicts with string-based token delimiters. =20
* support from the ground-up for unicode
* less bloat

Also I'd like to see

* simplified caching controls that web developers can understand and=20
use properly
* support for notifications
* support for scanning at an intermediary

overall maybe desire for simplification is a bit naive, but it still=20
feels to me like there are a bunch of things that were patched on=20
afterwards and had to be hacks.

Adrien




------ Original Message ------
From: "Mark Nottingham" <mnot@mnot.net>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
Sent: 16/07/2012 9:28:42 p.m.
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
>We've agreed to how we're proceeding after extensive discussion previously=
.
>
>Changing that plan would require re-chartering, and while I hear a few =
people agreeing with you, I hear a lot more people who are committed to =
the path we're on. So, extra words from you at this point aren't going to=
 do it; I need to hear broad consensus among people who implement and deplo=
y HTTP to even consider this.
>
>Thanks,
>
>
>On 16/07/2012, at 7:16 PM, Poul-Henning Kamp wrote:
>
>
>>
>>In message <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>, Mark Nottingh=
am w
>>rites:
>>
>>Mark,
>>
>>The goals you point to are however goals for a WG, and I think they
>>are good goals for a WG, but they are not goals for a protocol.
>>
>>Goals for a protocol would sound more like:
>>
>>* "90% of all first requests fit in one packet on 1500 byte MTU"
>>* "request-reponse model." / "peer-to-peer model"
>>* "All protocol elements must be fixed size or length prefixed."
>>* "Must have multiplexing and pipelining"
>>* "Cryptographic protection is included/optional/mandatory"
>>* "Has (no) out-of-protection routing envelope"
>>* "Can (not) mix protected and unprotected requests on same connection"
>>* "No-extra-RT upgrade from HTTP/1 to HTTP/2"
>>* "Must demonstrate 10Gbit/sec load-balancer implementation on COTS PC"
>>* "Client must offer unique device or user identifier"
>>* "Not allow cookies or other server initiated tagging of client."
>>* "Replace User-agent with something of finite size and preferably usable=
."
>>
>>and so on (examples only!)
>>
>>Picking what you call "a starting point" -- no matter which of the three
>>you pick -- will put many of these decisions outside the reach of the =
WG.
>>
>>Poul-Henning
>>
>>PS: Your argument that it's better to have SPDY inside pissing out
>>than outside pissing in, is just capitulation by a different name.
>>
>>--
>>Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>>phk@FreeBSD.ORG         | TCP/IP since RFC 956
>>FreeBSD committer       | BSD since 4.3-tahoe
>>Never attribute to malice what can adequately be explained by incompetenc=
e.
>>
>
>
>--
>Mark Nottingham
>http://www.mnot.net/
>
>
>
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 05:32:50 2012
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 3911021F87FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 05:32:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 9Z22dJlzYgHy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 05:32:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 87E0D21F87FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 05:32:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqkTF-0002mA-T2 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 12:32:13 +0000
Resent-Date: Mon, 16 Jul 2012 12:32:13 +0000
Resent-Message-Id: <E1SqkTF-0002mA-T2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SqkTD-0002lU-4r for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 12:32:11 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SqkT7-0003gU-Dl for ietf-http-wg@w3.org; Mon, 16 Jul 2012 12:32:11 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id C1DA21069A; Mon, 16 Jul 2012 08:31:41 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 2F230101A3; Mon, 16 Jul 2012 08:31:33 -0400 (EDT)
Message-ID: <1342441888.16408.127.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Mike Belshe <mike@belshe.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Date: Mon, 16 Jul 2012 08:31:28 -0400
In-Reply-To: <20120716055514.GC22790@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SqkT7-0003gU-Dl c7353d5f971b5cd27c5e5b969e75b62d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/1342441888.16408.127.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14263
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 Mon, 2012-07-16 at 07:55 +0200, Willy Tarreau wrote:

> OK but some data may end up in the client's cache without having been
> requested by him. I don't think it has a high technical impact, but it
> may rather be a legal one in some cases. In fact it's a delicate question.

I hesitate to comment, because I've only got a partial push
implementation for firefox (and that's on hold right now just due to
other priorities) - but the approach I've taken helps I think. Pushed
resources are kept in a partitioned cache that is scoped to just the 1
"associated-to" resource that triggered the push. When the associated-to
resource goes away so does the pushed cache (and is never persisted to
disk). Documents are promoted out of this micro cache into the real
profile-wide cache when a request is made for them as a sub-resource of
the associated-to resource and they "hit" in the micro cache.

maybe that helps.

-Patrick




From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 06:14:37 2012
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 00DD721F87E8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:14:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 ErEA2J69Lo4W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:14:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C02821F87C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 06:14: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 1Sql7L-00055Z-Vg for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 13:13:40 +0000
Resent-Date: Mon, 16 Jul 2012 13:13:39 +0000
Resent-Message-Id: <E1Sql7L-00055Z-Vg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Sql7J-00054c-8a for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 13:13:37 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Sql7I-0007g8-2I for ietf-http-wg@w3.org; Mon, 16 Jul 2012 13:13:37 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id D29741069B; Mon, 16 Jul 2012 09:13:13 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 7E14F1068C for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:13:05 -0400 (EDT)
Message-ID: <1342444380.16408.149.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 09:13:00 -0400
In-Reply-To: <58497.1342436317@critter.freebsd.dk>
References: <58497.1342436317@critter.freebsd.dk>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1Sql7I-0007g8-2I a042251ab6f97f2c1b98746239cf179d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/1342444380.16408.149.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14264
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 Mon, 2012-07-16 at 10:58 +0000, Poul-Henning Kamp wrote:

> It's quite clear from those extra words that SPDY is going to happen,
> simply as a matter of sheer corporate power.
> 

>From a very early point with spdy google has been open about its content
and open to input on it. At first that wasn't very thorough or organized
but that was more for lack of interest among any third parties - as more
people were willing to engage them the more effort they put into that
work. At this point spdy, as non-ietf work, has a busy public mailing
list full of technical discussion along with the results of actual
running code, working documents in public repositories, an engaged
editor (no longer even employed by google), and a vibrant forum for both
interop work and discussion on future development. In short, it works
better as an open process than 90% of IETF WGs do in practice.

What it lacks of course is governance. A structure like the IETF
guarantees continued open input in a way that a corporate structure
cannot. Google is conducting themselves admirably on this front, but a
company simply cannot make that guarantee alone.

Mozilla has been talking with Mike and team at Google for years before
we went ahead with this approach. Every time we had this discussion we
would push for an IETF process. Their response was consistent: as soon
as other organizations were ready to be part of that process they were
ready to dedicate resources to the IETF path. And here we are today -
with the protocol offered as the basis of a next step (and embraced by
many because it provably improves things), but open to the scrutiny of
all.

So rather than an exercise of "sheer corporate power" I think we're
seeing an excellent example of open consensus and running code.

-Patrick




From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 06:26:47 2012
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 9258121F87B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:26:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 ytzV-2JA8J6f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:26:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8268C21F8731 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 06:26:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqlJk-0004CK-Vb for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 13:26:29 +0000
Resent-Date: Mon, 16 Jul 2012 13:26:28 +0000
Resent-Message-Id: <E1SqlJk-0004CK-Vb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mcmanus@ducksong.com>) id 1SqlJi-0004Bi-8O for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 13:26:26 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mcmanus@ducksong.com>) id 1SqlJh-000894-BW for ietf-http-wg@w3.org; Mon, 16 Jul 2012 13:26:26 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 01DCC1069A; Mon, 16 Jul 2012 09:26:04 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 7ECF9101A3; Mon, 16 Jul 2012 09:25:55 -0400 (EDT)
Message-ID: <1342445151.16408.161.camel@ds9>
From: Patrick McManus <mcmanus@ducksong.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Mark Nottingham <mnot@mnot.net>, Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 16 Jul 2012 09:25:51 -0400
In-Reply-To: <528618F4-CF04-4028-BCA0-88436507FC3B@checkpoint.com>
References: <57497.1342420992@critter.freebsd.dk> <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net> <528618F4-CF04-4028-BCA0-88436507FC3B@checkpoint.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=mcmanus@ducksong.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqlJh-000894-BW 810f4c7289684db88d8f6fc526131015
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/1342445151.16408.161.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14265
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 Mon, 2012-07-16 at 11:51 +0300, Yoav Nir wrote:
>  While Chrome and Firefox update often, many servers hardly ever get
> updated. We'd need a very good reason for any departure from what
> SPDY/3 currently is, especially for any change that is not backwards
> compatible with the current SPDY.
> 

This is an important topic, and I think you have it (understandably)
wrong. Go ahead and break spdy/3 radically if that is right thing to
technically do!

SPDY is an experiment undergoing rapid change and standardization is
definitely part of that transition. If you cannot keep up with that
change you shouldn't be deploying it at this early stage of development.

I have spent a lot of time talking with many of the server side
implementations of spdy explaining that spdy/2 will be pushed off the
network from firefox probably at the time of deploying spdy/4...
followed by spdy/3 being pushed out by spdy/5, etc.. Nobody believes
that spdy is mature enough that we want it to be a defacto standard
forever.

At IETF-paris the chrome team and I had this discussion as well - I
can't speak for them or their algorithm but I can say in our discussion
they were even more adamant this general point than I am here. This
thing is totally breakable without leaving a trail of N versions to
support in its wake. That would be a disaster.

The realities of NPN deployment of SPDY make this easy during
standardization. Right now everyone running SPDY is running both HTTP/1
and some set of {spdy/2, spdy/3}.. If you had a (http/1 and spdy/2)
server that did not get any spdy updates by the time firefox dropped
spdy/2 support http/1 would silently be negotiated in its place. So
interop at least would continue.

-Patrick




From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 06:44:17 2012
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 E307821F885B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:44:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.518
X-Spam-Level: 
X-Spam-Status: No, score=-8.518 tagged_above=-999 required=5 tests=[AWL=2.081, BAYES_00=-2.599, 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 SKo0LyrzC5fA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:44:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A8EA421F8855 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 06:44:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqlaT-0003Vt-52 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 13:43:45 +0000
Resent-Date: Mon, 16 Jul 2012 13:43:45 +0000
Resent-Message-Id: <E1SqlaT-0003Vt-52@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqlaL-0003V8-8l for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 13:43:37 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SqlaJ-0000LF-TJ for ietf-http-wg@w3.org; Mon, 16 Jul 2012 13:43:37 +0000
Received: by vcbgb30 with SMTP id gb30so4031949vcb.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 06:43:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nMlPgeMNUEULMQ20C3b+p6k73Sr+JKLt+S8Vv3M+u14=; b=mBZJKiOoIxQo/ukjlmGq0HRpq1dREwAwZ9iZB6QQIGXFOmncgTXSQacobxef5CTcq5 xjjRsfhowahrXHfk0/Gu+GQtU8zg3oT/9hhYQlvZehMi+X46m4i4QE7FnTuynBY7Za2H 7MkGmEhOnixgkk0NGeuvwPkMxdN+0xywS5fvdC14zY6d1vRPoz1OD6k6muykqEuLsAjE ASdM9bhjqUW91TTnvHAcwrBoEt0pAGHdfSMYtV51OV/jUGlSpJbmmNYF3AeTpDRkA0ax HP2CvSwtnCJkNUqTGbS/F/Ho527om85MUdaQJT3eSF5TcGQbknqTE+MVll35dr8yaH23 bqtQ==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr4436563vdc.101.1342446189821; Mon, 16 Jul 2012 06:43:09 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Mon, 16 Jul 2012 06:43:09 -0700 (PDT)
Date: Mon, 16 Jul 2012 09:43:09 -0400
Message-ID: <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqlaJ-0000LF-TJ 095b85173405f71d57d6143197ad2d47
X-Original-To: ietf-http-wg@w3.org
Subject: Implementing SPDY, is a day a meaningful criteria?
Archived-At: <http://www.w3.org/mid/CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14266
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>

How easy is it to implement SPDY, does the 'implement in a day'
criteria make any sense?

I have written a LOT of HTTP clients and more than a few servers. I
know that it is possible to hack 'something' together in a day and
that implementing a full HTTP/1.1 will take considerably longer. So
(1) what level of implementation are we talking about and (2) what
support libraries are we including?

Implementing a text based protocol like HTTP is easy in C because
stdlib gives you 70% of the code ready made. Implementing HTTP in Perl
or the like is even easier as it provides the parsing ready made.

Take away those support libraries and implementation takes longer, a
lot longer. Give people a similar library for SPDY and maybe the
difficulty of implementation becomes equal. It might become easier.


What I really care about is not how long it takes to code HTTP/2.0.
There are going to be so many libraries floating about that it does
not matter much. What I care about is not how long it takes to
implement but if I can implement on restricted chips like embedded
control systems. So code footprint is more important to me than
time-to-implement. And I think it is a more objectively fair test.



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 06:48:06 2012
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 682BD21F880E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:48:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.557
X-Spam-Level: 
X-Spam-Status: No, score=-9.557 tagged_above=-999 required=5 tests=[AWL=0.420, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 OYPCOZ-g4DDP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:48:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6661021F8790 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 06:48:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqlej-0007wE-08 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 13:48:09 +0000
Resent-Date: Mon, 16 Jul 2012 13:48:09 +0000
Resent-Message-Id: <E1Sqlej-0007wE-08@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sqlea-0007vT-4y for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 13:48:00 +0000
Received: from na3sys010aog112.obsmtp.com ([74.125.245.92]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SqleY-0000Sj-Bw for ietf-http-wg@w3.org; Mon, 16 Jul 2012 13:48:00 +0000
Received: from mail-yw0-f45.google.com ([209.85.213.45]) (using TLSv1) by na3sys010aob112.postini.com ([74.125.244.12]) with SMTP ID DSNKUAQbeE4caYblVfAPWgheVS7D23goeZpN@postini.com; Mon, 16 Jul 2012 06:47:58 PDT
Received: by yhpp34 with SMTP id p34so3536035yhp.32 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 06:47:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7DnLdw8K3x9LfeDD7YeYrpniBiP1GY5vQGhiyFNSZrU=; b=cYaY7I1OK41K4fZVOxREhMxOpQ7Sdb3Ok+6JMAL5+RoiRmkCNVf3236KeHEJlwCehj p39t16vaREpWOO0r8sHm/kfRhP9R6K9ik4vJBqx60JTBi9PuyB5Kr6VPC2g3alo49Pb3 44qixyFD8/wOHvHpSAzTXbhjGlHJuh936xlyQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=7DnLdw8K3x9LfeDD7YeYrpniBiP1GY5vQGhiyFNSZrU=; b=B9EKme/N5cXWQG7p2WXxJHi3cYFPhnLYuNzBxGlfxZENUPTu8282RxSj+/9epBZdze dcQEbALLA5S8qNw2BlZhscal9/dnqIAIYGy2LAXOwl4HInArqyhR81NFIbPlVGHtRMUG arxbdr/jvNu8lCNSFce0MPLmhVd9T58F+f1kVZPATnpyWVmvpzG6FSgwDeKlefsvL5CQ /YU7IiF3GJevP/UDGx21I782py2fC6Bdx+QhwbEYbVYuIm/n61d0mcrIwTT0J2/HJ3da vnrXdB9GLtt7UwzHaCsVOuaBa4yP6JqcmX9wggNZD59bieTnaVCMGlwb9s5vmPtsYrqi 5vcA==
Received: by 10.50.202.102 with SMTP id kh6mr5200309igc.69.1342446455244; Mon, 16 Jul 2012 06:47:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Mon, 16 Jul 2012 06:47:15 -0700 (PDT)
In-Reply-To: <C7D8C6AF-1788-4661-B655-6846E15DD5B9@mnot.net>
References: <C7D8C6AF-1788-4661-B655-6846E15DD5B9@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Mon, 16 Jul 2012 22:47:15 +0900
Message-ID: <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQlfcYazNWV0E9LmswV57SQ5YZ6pTyNCCvlEnRntujRyxOzQxZd/bxtsZqq0utcu3V2jMMaO
Received-SPF: pass client-ip=74.125.245.92; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog112.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqleY-0000Sj-Bw 6960a46355b6027f7772099423b50658
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14267
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>

Dear Mark and Amos,

2012/7/16 Mark Nottingham <mnot@mnot.net>:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/375>
>
>> If an HTTP header field incorrectly carries a date value with a time zone other than GMT, it must be converted into GMT using the most conservative possible conversion.
>
> What does "most conservative" mean?
>
> "Earliest" makes sense for Expires and Date, but Last-Modified it would seem that "latest" is the most conservative.

For Expires, I agree.  For the latter two cases it seems to be
depending on further application contexts.

Also, I argue how to determine possible choices from which the
"conservative" one is chosen.
If some implementers are willing to follow the "must be" request,
should they have
tables of all possible time-zone conversions and conflicts like below?

CST: American Central Standard Time (-6) or China Standard Time (+8)
and two more
EST: American Eastern Standard Time (-5) or Australian Eastern
Standard Time (+10)
(much more conflicts exist)

# http://www.timeanddate.com/library/abbreviations/timezones/ lists up
# 4 different offsets for CST, 3 for IST, CDT and WST, and 2 for many symbols.

My personal proposal is instead of adding any examples, state it like "it may be
converted to GMT using whatever methods they think appropriate", emphasizing
senders' responsibility for sending GMT times.  This text still allows
implementers
to convert CST to either -5 or -6 or +8 or +9.30 according to their
applications'
nature or request IP address or whatever information available,
or to choose the "appropriately conservative" one between -5 and +9.30.

-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 06:50:49 2012
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 9051E21F8842 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:50:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 9QY571P22MaS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 06:50:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 77B6921F8815 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 06:50:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqlhJ-00011p-HV for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 13:50:49 +0000
Resent-Date: Mon, 16 Jul 2012 13:50:49 +0000
Resent-Message-Id: <E1SqlhJ-00011p-HV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SqlhG-00010l-MZ for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 13:50:46 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SqlhC-0000Z1-VC for ietf-http-wg@w3.org; Mon, 16 Jul 2012 13:50:46 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 4BA9B1069A; Mon, 16 Jul 2012 09:50:20 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id DCFCD101A3; Mon, 16 Jul 2012 09:50:13 -0400 (EDT)
Message-ID: <1342446609.16408.168.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>,  Julian Reschke <julian.reschke@gmx.de>, Mike Belshe <mike@belshe.com>
Date: Mon, 16 Jul 2012 09:50:09 -0400
In-Reply-To: <CAP+FsNcV-QrveziO3y5Jp1=HoZ9RjrCqWJyVYbzVFNLaOM600A@mail.gmail.com>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <CABaLYCviaX6ssXekgrEphNCX=_AgurO4giqPc_4_xD5rMXZ16Q@mail.gmail.com> <CABP7RbebPbezCoPweze8cxDx6293auazZLOwhdFPFyrnTNEPbg@mail.gmail.com> <CAP+FsNcV-QrveziO3y5Jp1=HoZ9RjrCqWJyVYbzVFNLaOM600A@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SqlhC-0000Z1-VC f45e802ebca9c8995f0de6f8933c4b4d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/1342446609.16408.168.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14268
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 Sun, 2012-07-15 at 23:36 -0700, Roberto Peon wrote:
> That would be pretty pointless-- at that point the browser should just
> send the data. The model in SPDY is push and let cancel.
> Server push is just better inlining.
> 

fwiw .. The middle ground is use of flow control to limit the amount of
data that can be pushed.. that way small pushes that are rtt bound still
get performance benefits and bigger pushes have a limited amount of
bandwidth they can consume before being validated by a url
filter. (and of course from a browser pov the leading bytes of a
response are more interesting than the trailing bytes, so even this
partial push before the window-update rtt after going through the filter
is quite valuable).

I intend to experiment with that approach.


> Let's discuss this in  a separate thread...
> 
> -=R
> 
> On Jul 15, 2012 11:34 PM, "James M Snell" <jasnell@gmail.com> wrote:
>         

>         
>         
>         One possibility to throw in here would be a simple requirement
>         that the server has to ask the client before it pushes... a
>         reverse 100-Continue if you will... require the server to tell
>         the client what content it is trying to push and give the
>         client the opportunity to say No.... intervening proxies, such
>         as a corporate firewall, would be capable of answering on the
>         users behalf. 
>         
>         
>         - James




From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 07:19:38 2012
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 DC77B11E80C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:19:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 hpj6qLnjGXWA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:19:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3B92311E80C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 07:19:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqm8y-0004RO-0g for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 14:19:24 +0000
Resent-Date: Mon, 16 Jul 2012 14:19:24 +0000
Resent-Message-Id: <E1Sqm8y-0004RO-0g@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqm8q-0004Qh-1y for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 14:19:16 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqm8k-0001bA-7C for ietf-http-wg@w3.org; Mon, 16 Jul 2012 14:19:16 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 5F77E3B74B; Mon, 16 Jul 2012 14:18:48 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GEIl1b059035; Mon, 16 Jul 2012 14:18:48 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 09:43:09 -0400." <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 14:18:47 +0000
Message-ID: <59034.1342448327@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sqm8k-0001bA-7C 793fda882356da6959cbc76615c0f738
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Implementing SPDY, is a day a meaningful criteria?
Archived-At: <http://www.w3.org/mid/59034.1342448327@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14269
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>

In message <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
, Phillip Hallam-Baker writes:

>What I care about is not how long it takes to
>implement but if I can implement on restricted chips like embedded
>control systems. So code footprint is more important to me than
>time-to-implement. And I think it is a more objectively fair test.

I think it is a good point, if we have any hope of getting rid of
HTTP/1.0, HTTP/2.0 must penetrate all the way down into access points,
home routers and other embedded consumer products.

NIST has used similar criteria for AES and SHA3 beauty-contests.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 07:19:58 2012
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 A84AF11E80C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:19:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.876
X-Spam-Level: 
X-Spam-Status: No, score=-9.876 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 pVs9rpR4FkWP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:19:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C292511E80C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 07:19:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqm9r-0005lN-VF for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 14:20:20 +0000
Resent-Date: Mon, 16 Jul 2012 14:20:19 +0000
Resent-Message-Id: <E1Sqm9r-0005lN-VF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sqm9i-0005jC-PS for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 14:20:10 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sqm9b-0007hW-Ma for ietf-http-wg@w3.org; Mon, 16 Jul 2012 14:20:10 +0000
Received: by lbom4 with SMTP id m4so7552717lbo.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 07:19:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=CuPtkQMVUzxhXk4OcIO0Ac5UfRXUK2L91siRd+kr95s=; b=LIAevs0nzpepViIjQTBI1ahJUJl1hr26fbN8uRUv1oj+ayzcnDFFShCdjlNHwaoTdG 0SN9uyJtxT7ocOGz9f/QHDeh4RDyqUyuTULOc9MxEy++Q13vQhZmv8vYEc8tJVN70qqv 7eFIEBcOHxRQ1YrwmyN4xzzNueKU2tjdturJ9gMGf4cr8zVFEvdtbMbIZRTykK9Lr0C2 zoW25vtLcwpWXr9Cs7TYjx6ZQhx1KbLcOInKxgLLEqSN4UK8j0dbrM4Z+LpZlMLDehh+ zidhaU3c2Gzlt5PTql9wT9JXSTJFHT8Qt4USIHwLLFIdyTCeI8sutiAEXDac8mzMzkXt 1l0w==
MIME-Version: 1.0
Received: by 10.112.29.131 with SMTP id k3mr5538784lbh.53.1342448376327; Mon, 16 Jul 2012 07:19:36 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 16 Jul 2012 07:19:36 -0700 (PDT)
In-Reply-To: <em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist>
References: <CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com> <em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist>
Date: Mon, 16 Jul 2012 07:19:36 -0700
Message-ID: <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Adrien de Croy <adrien@qbik.com>
Cc: James M Snell <jasnell@gmail.com>, Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>,  Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>,  HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=bcaec554d60699add204c4f31eda
X-Gm-Message-State: ALoCoQloRhO3CVoY9UNn9HnY0/1Y9aSQq/d6OsevZsbADpMbl+MdjdtiWy6f+3DCNZqGPA9Qv5Js
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sqm9b-0007hW-Ma b8c51cd939cb9edb5eb4e5b4dc0fe361
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14270
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>

--bcaec554d60699add204c4f31eda
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 4:42 AM, Adrien de Croy <adrien@qbik.com> wrote:

>
> Hi Mike
>
> there must be some sort of context associated between the client and the
> server for the push, otherwise what is the server pushing at?
>

Correct; in the spdy protocol this is the associated stream id.  Further,
the scope and lifetime of the associated stream id is carefully crafted so
that they are finite - you can't keep pushing additional associated
resources after you've finished the primary resource.


> This context would be established first by some request?  E.g.
>
>
Shouldn't the client request server push, and transmit a context that the
> server can use to associate the many responses.
>
>

Yes, it does.  When I fetch http://www.microsoft.com/ I'm setting up the
context, and www.microsoft.com may optionally decide to associate
'style.css' into that context.



> That then also allows an intermediary to track what is going on (e.g.
> demux on a shared connection), and allows the client to decide whether
> server push happens or not.
>

I strongly advise against client-side push enabling.  We've seen that movie
before, such as when the client decides whether or not the server can
compress or when the client decides whether or not the server can use
pipelining.  Making it a client decision kills the feature entirely.  We
need to either support push or not support it.  But seriously, who are
these clients which will reject the pushes?  You can't push random data.
 You can only push in-domain data.  If the browser doesn't need it, you
only hurt yourself.  Seriously, why would any browser block the push?

Mike



> Adrien
>
> ------ Original Message ------
> From: "Mike Belshe" <mike@belshe.com>
> To: "James M Snell" <jasnell@gmail.com>
> Cc: "Willy Tarreau" <w@1wt.eu>;"Roberto Peon" <grmocg@gmail.com>;"Julian
> Reschke" <julian.reschke@gmx.de>;"Amos Jeffries" <squid3@treenet.co.nz>;"HTTP
> Working Group" <ietf-http-wg@w3.org>;"tom" <zs68j2ee@gmail.com>
> Sent: 16/07/2012 6:35:35 p.m.
> Subject: Re: HTTP2 Expression of Interest : Squid
>
>
>
> On Sun, Jul 15, 2012 at 11:33 PM, James M Snell < <jasnell@gmail.com>
> jasnell@gmail.com> wrote:
>
>>
>>
>> On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe < <mike@belshe.com>
>> mike@belshe.com> wrote:
>>
>>>   [snip]
>>>> OK but some data may end up in the client's cache without having been
>>>> requested by him. I don't think it has a high technical impact, but it
>>>> may rather be a legal one in some cases. In fact it's a delicate
>>>> question.
>>>>
>>>
>>>  Let's not pretend that browsers behave differently than they do.  With
>>> HTTP today,  browsers download subresources - whether you use IE or Chrome
>>> or Opera or Safari.  All server push does is allow the server to optionally
>>> send the secondary resources without waiting for a second request from the
>>> client.  Servers that think this is illegal don't have to do it.  Clients
>>> that don't want it (these don't exist!) can cancel them.  Sending resources
>>> the browser won't use are no-ops and won't impact anything (except make
>>> your web page load slower, so don't do it).
>>>
>>>
>> One possibility to throw in here would be a simple requirement that the
>> server has to ask the client before it pushes... a reverse 100-Continue if
>> you will... require the server to tell the client what content it is trying
>> to push and give the client the opportunity to say No.... intervening
>> proxies, such as a corporate firewall, would be capable of answering on the
>> users behalf.
>>
>
> If you have a proxy, the proxy receives the pushes (not the client), so
> the proxy can do whatever it would do in the non push case.
>
> mike
>
>
>>
>> - James
>>
>
>

--bcaec554d60699add204c4f31eda
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 4:42 AM, Adrien =
de Croy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=3D"=
_blank">adrien@qbik.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">



<div>
<div>=A0</div>
<div>Hi Mike</div>
<div>=A0</div>
<div>there must be some sort of context associated between the client and t=
he server for the push, otherwise what is the server pushing at?</div></div=
></blockquote><div><br></div><div>Correct; in the spdy protocol this is the=
 associated stream id. =A0Further, the scope and lifetime of the associated=
 stream id is carefully crafted so that they are finite - you can&#39;t kee=
p pushing additional associated resources after you&#39;ve finished the pri=
mary resource.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>=A0</div>
<div>This context would be established first by some request?=A0 E.g. </div=
>
<div>=A0=A0</div></div></blockquote><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><di=
v>Shouldn&#39;t the client request server push, and transmit a context that=
 the server can use to associate the many responses.</div>

<div>=A0</div></div></blockquote><div><br></div><div>Yes, it does. =A0When =
I fetch <a href=3D"http://www.microsoft.com/">http://www.microsoft.com/</a>=
 I&#39;m setting up the context, and <a href=3D"http://www.microsoft.com">w=
ww.microsoft.com</a> may optionally decide to associate &#39;style.css&#39;=
 into that context.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>That then also allows an intermediary to track what is going on (e.g. =
demux on a shared connection), and allows the client to decide whether serv=
er push happens or not.</div></div></blockquote><div><br></div><div>I stron=
gly advise against client-side push enabling. =A0We&#39;ve seen that movie =
before, such as when the client decides whether or not the server can compr=
ess or when the client decides whether or not the server can use pipelining=
. =A0Making it a client decision kills the feature entirely. =A0We need to =
either support push or not support it. =A0But seriously, who are these clie=
nts which will reject the pushes? =A0You can&#39;t push random data. =A0You=
 can only push in-domain data. =A0If the browser doesn&#39;t need it, you o=
nly hurt yourself. =A0Seriously, why would any browser block the push?</div=
>
<div><br></div><div>Mike</div><div><br></div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><div><span class=3D"HOEnZb"><font color=3D"#888888">
<div>=A0</div>
<div>Adrien</div></font></span><div><div class=3D"h5">
<div><br>------ Original Message ------<br>From: &quot;Mike Belshe&quot; &l=
t;<a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&=
gt;<br>To: &quot;James M Snell&quot; &lt;<a href=3D"mailto:jasnell@gmail.co=
m" target=3D"_blank">jasnell@gmail.com</a>&gt;<br>
Cc: &quot;Willy Tarreau&quot; &lt;<a href=3D"mailto:w@1wt.eu" target=3D"_bl=
ank">w@1wt.eu</a>&gt;;&quot;Roberto Peon&quot; &lt;<a href=3D"mailto:grmocg=
@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;;&quot;Julian Reschke=
&quot; &lt;<a href=3D"mailto:julian.reschke@gmx.de" target=3D"_blank">julia=
n.reschke@gmx.de</a>&gt;;&quot;Amos Jeffries&quot; &lt;<a href=3D"mailto:sq=
uid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.nz</a>&gt;;&quot;HT=
TP Working Group&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D=
"_blank">ietf-http-wg@w3.org</a>&gt;;&quot;tom&quot; &lt;<a href=3D"mailto:=
zs68j2ee@gmail.com" target=3D"_blank">zs68j2ee@gmail.com</a>&gt;<br>
Sent: 16/07/2012 6:35:35 p.m.<br>Subject: Re: HTTP2 Expression of Interest =
: Squid<br></div>
<blockquote cite=3D"http://CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=3Du9=
NQSLQ@mail.gmail.com" type=3D"cite">
<div><br><br>
<div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 11:33 PM, James M Snell =
<span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank=
"></a><a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.=
com</a>&gt;</span> wrote:<br>

<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote"><font face=3D"courier new,monospace">=
<br></font><br>
<div class=3D"gmail_quote">On Sun, Jul 15, 2012 at 11:06 PM, Mike Belshe <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=3D"_blank"></=
a><a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&=
gt;</span> wrote:<br>

<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div class=3D"gmail_quote">
<div>
<div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>[snip] </div>
<div>OK but some data may end up in the client&#39;s cache without having b=
een<br>requested by him. I don&#39;t think it has a high technical impact, =
but it<br>may rather be a legal one in some cases. In fact it&#39;s a delic=
ate question.<br>
</div></blockquote>
<div><br></div></div></div>
<div>
<div>Let&#39;s not pretend that browsers behave differently than they do. =
=A0With HTTP today,=A0 browsers download subresources - whether you use IE =
or Chrome or Opera or Safari. =A0All server push does is allow the server t=
o optionally send the secondary resources without waiting for a second requ=
est from the client. =A0Servers that think this is illegal don&#39;t have t=
o do it. =A0Clients that don&#39;t want it (these don&#39;t exist!) can can=
cel them. =A0Sending resources the browser won&#39;t use are no-ops and won=
&#39;t impact anything (except make your web page load slower, so don&#39;t=
 do it).</div>

<div>
<div><br></div></div></div></div></blockquote>
<div><br></div>
<div>One possibility to throw in here would be a simple requirement that th=
e server has to ask the client before it pushes... a reverse 100-Continue i=
f you will... require the server to tell the client what content it is tryi=
ng to push and give the client the opportunity to say No.... intervening pr=
oxies, such as a corporate firewall, would be capable of answering on the u=
sers behalf.=A0</div>
</div></blockquote>
<div><br></div>
<div>If you have a proxy, the proxy receives the pushes (not the client), s=
o the proxy can do whatever it would do in the non push case. =A0</div>
<div><br></div>
<div>mike</div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div class=3D"gmail_quote"><span><font color=3D"#888888">
<div><br></div>
<div>- James</div></font></span></div></blockquote></div><br></div></blockq=
uote></div></div></div></blockquote></div><br>

--bcaec554d60699add204c4f31eda--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 07:23:35 2012
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 BD5FA21F864C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:23:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 ERTo1afWQ7n6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:23:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A464B21F8720 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 07:23:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqmDI-0006EG-I1 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 14:23:52 +0000
Resent-Date: Mon, 16 Jul 2012 14:23:52 +0000
Resent-Message-Id: <E1SqmDI-0006EG-I1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqmDA-0006CY-IS for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 14:23:44 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqmD2-0007qx-Ps for ietf-http-wg@w3.org; Mon, 16 Jul 2012 14:23:44 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B76883B753; Mon, 16 Jul 2012 14:23:15 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GENE0l059062; Mon, 16 Jul 2012 14:23:15 GMT (envelope-from phk@phk.freebsd.dk)
To: Yutaka OIWA <y.oiwa@aist.go.jp>
cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 22:47:15 +0900." <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 14:23:14 +0000
Message-ID: <59061.1342448594@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqmD2-0007qx-Ps 8bd7f71c702659d036e940ac6c7713ea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/59061.1342448594@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14271
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>

In message <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
, Yutaka OIWA writes:

>>> If an HTTP header field incorrectly carries a date value with a time zone other than GMT, it must be converted into GMT using the most conservative possible conversion.
>>
>> What does "most conservative" mean?


>My personal proposal is instead of adding any examples, state it like "it may be
>converted to GMT using whatever methods they think appropriate", 

As a time-geek, I would caution against that, because names of timezones
are politically chosen and both their definition and naming is highly
fragile in various parts of the world.

Given that it is a class-A fuckup to send wrong dates, I will advocate
that such timestamps SHOULD be ignored, but CAN be interpreted on a
best-effort basis.

Ohh, and also:  GMT is (maybe!) what parliament decides in the UK, the
correct "independent" timescale is called UTC.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 07:50:48 2012
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 9D8D321F86B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:50:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.886
X-Spam-Level: 
X-Spam-Status: No, score=-9.886 tagged_above=-999 required=5 tests=[AWL=0.090, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 xD1K1x-pGjmy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:50:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 986F321F86A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 07:50:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqmcl-0003GU-MW for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 14:50:11 +0000
Resent-Date: Mon, 16 Jul 2012 14:50:11 +0000
Resent-Message-Id: <E1Sqmcl-0003GU-MW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sqmcc-0002Yr-TJ for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 14:50:02 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqmcX-0000Vo-Dm for ietf-http-wg@w3.org; Mon, 16 Jul 2012 14:50:02 +0000
Received: by lbom4 with SMTP id m4so7590280lbo.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 07:49:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=bkeIIk6eji9yxHI5QyapS/Y4tEpmdvVnD7eqXbPRR88=; b=IgiMh6nv4QTKejqzWeN+eIGdBEUr8+2NXtck1IxQFD/xl5Sw/anyTttkREqXf7htsU xLDezTH15TLoX0hY7fTh//3eAH6IZkNFWuDR0n1zjNxPIM69isOtz/GDo+of2rzMM73n Ol6+e3IZERg9pL+cJGBU/ce1os1dfYJIBx+DuJ9JkBNSkL1XNMcjYGo4FfYwWW4QpMAs UttVl+HHj7OqQSwlZa/siWLO8LNSa8Pu9f+DsM68mp/Cl2J9dZmjcOa+c7a8uAqHw6jH g4k6KOaVFEjGOzgO4qsaRnynwRvg+gdO38Rv1dRdlYvUTb1/88kIR9/BTAuX/VFOBtod evVg==
MIME-Version: 1.0
Received: by 10.112.39.135 with SMTP id p7mr5432552lbk.78.1342450170554; Mon, 16 Jul 2012 07:49:30 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 16 Jul 2012 07:49:30 -0700 (PDT)
In-Reply-To: <58128.1342430211@critter.freebsd.dk>
References: <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net> <58128.1342430211@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 07:49:30 -0700
Message-ID: <CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8US_w@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=485b390f7a768b6a7a04c4f3891e
X-Gm-Message-State: ALoCoQl8CAsfveO5qbvT/PRw5dLeJAYeRuzVf7elzOQnD4gGgRVHaDpbc8eG7pJybTskMvqlfUwG
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SqmcX-0000Vo-Dm 7313b0c847262a02abd623cccbdb1a9d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8US_w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14272
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>

--485b390f7a768b6a7a04c4f3891e
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 2:16 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net>, Mark
> Nottingham w
> rites:
>
> Mark,
>
> The goals you point to are however goals for a WG, and I think they
> are good goals for a WG, but they are not goals for a protocol.
>
> Goals for a protocol would sound more like:
>
> * "90% of all first requests fit in one packet on 1500 byte MTU"
> * "request-reponse model." / "peer-to-peer model"
> * "All protocol elements must be fixed size or length prefixed."
> * "Must have multiplexing and pipelining"
> * "Cryptographic protection is included/optional/mandatory"
> * "Has (no) out-of-protection routing envelope"
> * "Can (not) mix protected and unprotected requests on same connection"
> * "No-extra-RT upgrade from HTTP/1 to HTTP/2"
> * "Must demonstrate 10Gbit/sec load-balancer implementation on COTS PC"
> * "Client must offer unique device or user identifier"
> * "Not allow cookies or other server initiated tagging of client."
> * "Replace User-agent with something of finite size and preferably usable."
>
>
These are not goals.  These are requirements.   Goals generally have some
form of user benefit to them, like "reduce latency by 25%".  Your example
of "90% fit in one packet" is a requirement to achieve a goal.



> and so on (examples only!)
>
> Picking what you call "a starting point" -- no matter which of the three
> you pick -- will put many of these decisions outside the reach of the WG.
>
> Poul-Henning
>
> PS: Your argument that it's better to have SPDY inside pissing out
> than outside pissing in, is just capitulation by a different name.
>
>

This is a pessimistic (and insulting) point of view.  You've got it in your
head that a the people that started on this work are idiots and unopen to
public debate.  We're not.  Do you think the other companies - from
Facebook to Twitter to Firefox would have ever built a protocol that they
thought was a Google proprietary special?  The answer is no - they want
this in all browsers and they are not dummies. They wouldn't invest into
SPDY if they thought it was Google only or had no chance of open
collaboration.  They only built it after meeting with me and others from
Google and getting  strong assurances that SPDY was headed for the
standardization process.

Anyway, I share Mark's views about the current process. It's going fine.
 From a practical standpoint, SPDY is the only proposal with any noteworthy
adoption.  But, that doesn't mean it can't change, and it doesn't mean
there aren't other things that need to be done.

I'm tired of hearing your anti-everything stance and direct attacks against
Google and SPDY.  We're here for a reason - to make something great and to
get agreement on it. What are you here for?

Starting with SPDY would not be "capitulation".  It would be starting with
the experience of at least 12 implementors from different vendors.  Which
other starting point offers you that?

Thanks,
Mike







> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--485b390f7a768b6a7a04c4f3891e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 2:16 AM, Poul-He=
nning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" targ=
et=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
In message &lt;<a href=3D"mailto:504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.=
net">504E861E-C63B-466B-8E81-E6FC67DDDC7B@mnot.net</a>&gt;, Mark Nottingham=
 w<br>
rites:<br>
<br>
Mark,<br>
<br>
The goals you point to are however goals for a WG, and I think they<br>
are good goals for a WG, but they are not goals for a protocol.<br>
<br>
Goals for a protocol would sound more like:<br>
<br>
* &quot;90% of all first requests fit in one packet on 1500 byte MTU&quot;<=
br>
* &quot;request-reponse model.&quot; / &quot;peer-to-peer model&quot;<br>
* &quot;All protocol elements must be fixed size or length prefixed.&quot;<=
br>
* &quot;Must have multiplexing and pipelining&quot;<br>
* &quot;Cryptographic protection is included/optional/mandatory&quot;<br>
* &quot;Has (no) out-of-protection routing envelope&quot;<br>
* &quot;Can (not) mix protected and unprotected requests on same connection=
&quot;<br>
* &quot;No-extra-RT upgrade from HTTP/1 to HTTP/2&quot;<br>
* &quot;Must demonstrate 10Gbit/sec load-balancer implementation on COTS PC=
&quot;<br>
* &quot;Client must offer unique device or user identifier&quot;<br>
* &quot;Not allow cookies or other server initiated tagging of client.&quot=
;<br>
* &quot;Replace User-agent with something of finite size and preferably usa=
ble.&quot;<br>
<br></blockquote><div><br></div><div>These are not goals. =A0These are requ=
irements. =A0 Goals generally have some form of user benefit to them, like =
&quot;reduce latency by 25%&quot;. =A0Your example of &quot;90% fit in one =
packet&quot; is a requirement to achieve a goal.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and so on (examples only!)<br>
<br>
Picking what you call &quot;a starting point&quot; -- no matter which of th=
e three<br>
you pick -- will put many of these decisions outside the reach of the WG.<b=
r><br></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"HOEnZb"><f=
ont color=3D"#888888">
Poul-Henning<br>
</font></span><br>
PS: Your argument that it&#39;s better to have SPDY inside pissing out<br>
than outside pissing in, is just capitulation by a different name.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br></div><div><br></div><div><div>This is a pessimistic (and insulting) poi=
nt of view. =A0You&#39;ve got it in your head that a the people that starte=
d on this work are idiots and unopen to public debate. =A0We&#39;re not. =
=A0Do you think the other companies - from Facebook to Twitter to Firefox w=
ould have ever built a protocol that they thought was a Google proprietary =
special? =A0The answer is no - they want this in all browsers and they are =
not dummies. They wouldn&#39;t invest into SPDY if they thought it was Goog=
le only or had no chance of open collaboration. =A0They only built it after=
 meeting with me and others from Google and getting =A0strong assurances th=
at SPDY was headed for the standardization process. =A0=A0</div>
<div><br></div><div>Anyway, I share Mark&#39;s views about the current proc=
ess. It&#39;s going fine. =A0From a practical standpoint, SPDY is the only =
proposal with any noteworthy adoption. =A0But, that doesn&#39;t mean it can=
&#39;t change, and it doesn&#39;t mean there aren&#39;t other things that n=
eed to be done. =A0</div>
<div><br></div><div>I&#39;m tired of hearing your anti-everything stance an=
d direct attacks against Google and SPDY. =A0We&#39;re here for a reason - =
to make something great and to get agreement on it. What are you here for?<=
/div>
<div><br></div><div>Starting with SPDY would not be &quot;capitulation&quot=
;. =A0It would be starting with the experience of at least 12 implementors =
from different vendors. =A0Which other starting point offers you that?</div=
>
<div><br></div><div>Thanks,</div><div>Mike</div><br class=3D"Apple-intercha=
nge-newline"></div><div><br></div><div><br></div><div><br></div><div><br></=
div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br>

--485b390f7a768b6a7a04c4f3891e--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 07:54:14 2012
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 5798F21F86B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:54:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 SSS1jaeInKpc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:54:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA6EF21F8737 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 07:54:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqmgX-0003aL-S2 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 14:54:05 +0000
Resent-Date: Mon, 16 Jul 2012 14:54:05 +0000
Resent-Message-Id: <E1SqmgX-0003aL-S2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqmgP-0003YX-Ga for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 14:53:57 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqmgJ-00035r-Kh for ietf-http-wg@w3.org; Mon, 16 Jul 2012 14:53:57 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 1310C3B745; Mon, 16 Jul 2012 14:53:30 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GErOol059171; Mon, 16 Jul 2012 14:53:24 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 07:19:36 MST." <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 14:53:24 +0000
Message-ID: <59170.1342450404@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqmgJ-00035r-Kh 5a33418a75bcf2c4ddee4520ca72f0cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/59170.1342450404@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14273
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>

In message <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com>
, Mike Belshe writes:

>But seriously, who are these clients which will reject the pushes?

I think this may be asking the wrong question.

Yes, there will be clients which reject server-push, either because
they only implemented the easy part of the specs, or because the
voices from the tinfoil hat tells them to, but they are not
important.

The people who will have a problem with server-push are the
security people, and the people who have to deal with the
complexity it introduces.

As I understand the desire for server-push it basically is this:

	Client:
		Give me "index.html"
	Server:
		Here it comes, and here are "style.css" and
		"logo.png" which you'll also need.

That makes a lot of sense, but I would solve it this way:

	Client:
		Give me "index.html"
	Server:
		Here is "index.zip" which contains "index.html"
		and some other objects you'll need.

No protocol complexity, the objects are bound together and we
get compression too.  (.zip is just an example though, there
may be better designs, as I assume interleaving might be
desired ?)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 07:59:42 2012
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 8DBE421F8764 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:59:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.583
X-Spam-Level: 
X-Spam-Status: No, score=-9.583 tagged_above=-999 required=5 tests=[AWL=0.394, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 BHXl76lv0UAJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 07:59:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9229721F873E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 07:59:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqmm4-0007Du-VB for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 14:59:49 +0000
Resent-Date: Mon, 16 Jul 2012 14:59:48 +0000
Resent-Message-Id: <E1Sqmm4-0007Du-VB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sqmlw-0007CG-9j for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 14:59:40 +0000
Received: from na3sys010aog114.obsmtp.com ([74.125.245.96]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1Sqmls-0003cN-13 for ietf-http-wg@w3.org; Mon, 16 Jul 2012 14:59:40 +0000
Received: from mail-yx0-f173.google.com ([209.85.213.173]) (using TLSv1) by na3sys010aob114.postini.com ([74.125.244.12]) with SMTP ID DSNKUAQsQsEt8SmDQfvYXh/9w8xbTJ/FStHM@postini.com; Mon, 16 Jul 2012 07:59:35 PDT
Received: by yenl1 with SMTP id l1so5636227yen.4 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 07:59:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=C2eCIM/GotRI+00S5MwLAdALK5fAQWL+lw0mY0VfH1k=; b=FLOBQZ71p4Pr3jn3tS/P4V/7n7Y/l46B/b3lOVlhNd9Bokm5oMpejJv0Z5k7SDgNqA bVxu9DTtP+qg1afFH479byKltUhLtZFVo/RPu/xLZd0W4I6AMXOsVypW7EBmj8pjioD2 WEXOfkP0jRIzZ9DPyyDxfDKtsHxEvVq+Wigts=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=C2eCIM/GotRI+00S5MwLAdALK5fAQWL+lw0mY0VfH1k=; b=KEYnsMGqTqpS3i97M+wbbjbrR77IdRSDeIy3nJp8cbbnwKx96Wu05+b7YaYDCn58mv TpKBJilwHNdV6TGxgaen5ivDvivnKS1iXSzl+GOx4gVnJS7KwgX8FS+QzCPdZw/xuoWh d41rsUUZxB40Kx2AVNTf0x48FQWgKrc4C9Dk1NC1raZzz9N5+zhFp209xGzQcH1dFyos 8B8SZ24dyYDK55tidPgJ24O6jfgNzRah4fXfUH8EeThnVliaYQtpn3WEUorqa4DPtCd3 PzrEl9tHfjXFlOr1SN2AAuWNSIMZpmfSuZtOla0sVayb6taQR4r2Orf+JHne3jCywA1F CxHg==
Received: by 10.50.87.227 with SMTP id bb3mr5335727igb.57.1342450753266; Mon, 16 Jul 2012 07:59:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Mon, 16 Jul 2012 07:58:53 -0700 (PDT)
In-Reply-To: <59061.1342448594@critter.freebsd.dk>
References: <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com> <59061.1342448594@critter.freebsd.dk>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Mon, 16 Jul 2012 23:58:53 +0900
Message-ID: <CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmFnhK46FGJH+1Mb5OEfLGxutrvS5iNgm9yXm0EGxs09FV5GZWidfTaeF3UEpGAl05zASi+
Received-SPF: pass client-ip=74.125.245.96; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog114.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sqmls-0003cN-13 8d8d7c345acae76a66efd9afc2e3b504
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14274
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>

Dear Poul,

2012/7/16 Poul-Henning Kamp <phk@phk.freebsd.dk>:
> In message <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
> , Yutaka OIWA writes:
>
>>>> If an HTTP header field incorrectly carries a date value with a time zone other than GMT, it must be converted into GMT using the most conservative possible conversion.
>>>
>>> What does "most conservative" mean?
>
>
>>My personal proposal is instead of adding any examples, state it like "it may be
>>converted to GMT using whatever methods they think appropriate",
>
> As a time-geek, I would caution against that, because names of timezones
> are politically chosen and both their definition and naming is highly
> fragile in various parts of the world.

Yes, that's why I am proposing to remove any clauses that
morally require people to parse wrong dates "correctly".
I think my proposal is along with, not against your suggested direction.
# The original text requests people to parse these appropriately and
conservatively.

> Given that it is a class-A fuckup to send wrong dates, I will advocate
> that such timestamps SHOULD be ignored, but CAN be interpreted on a
> best-effort basis.

+1 on default to ignore.  That's one step further beyond my proposal and
it makes sense.
But I am not sure, are there any HTTP date-related headers for which
ignoring is more dangerous than guessing?

> Ohh, and also:  GMT is (maybe!) what parliament decides in the UK, the
> correct "independent" timescale is called UTC.

This is very historic :-)  In HTTP, GMT *is* the mnemonic for the Universal
Coordinated Time, independent from any local time standards of UK.

-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 08:12:43 2012
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 9BBF521F8760 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 08:12:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 FsazYhjWqd2k for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 08:12:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E40B21F8707 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 08:12:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqmy7-0000dt-Dk for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 15:12:15 +0000
Resent-Date: Mon, 16 Jul 2012 15:12:15 +0000
Resent-Message-Id: <E1Sqmy7-0000dt-Dk@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <subbu@subbu.org>) id 1Sqmxz-0000bu-Ak for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 15:12:07 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <subbu@subbu.org>) id 1Sqmxt-0004H8-Nc for ietf-http-wg@w3.org; Mon, 16 Jul 2012 15:12:07 +0000
Received: by ggmi1 with SMTP id i1so5483563ggm.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 08:11:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=eXbVnBEXciYyQeSIxYEjtDzmbHQptPbI5yobVOaq0js=; b=Jq4cpyQze68aPsuBpIEHtajSvPvY6ds2/DcamEkKyyaiE4lHp3HDTNBb4UXXFj8jo9 QBdfl2ScwzMr6waqucr17FoRv5B+1Uf5tx1GWQO7sFu1/70841y+7QhbVB7GlsGmWTZz /bE59wSXiyfuDed+16z4N8KzVezIQ/q4DdQf85FUU32CtJZVN4okX/txK+ufzI5cnYu0 uxWUUQW8QbV2pFlm7cqJhucvpK3CRc4hpjrmqchfHKNtBHyPZjOR3GB8z6juk8ryOFAW CbCJbHPv61dqgrcGFsGgFodV4Iir2I4jl+F/sVMTPN7PqaPyqZab1JQwr95iCw9FGUu0 mB3Q==
MIME-Version: 1.0
Received: by 10.236.179.42 with SMTP id g30mr9461455yhm.77.1342451492444; Mon, 16 Jul 2012 08:11:32 -0700 (PDT)
Received: by 10.236.136.198 with HTTP; Mon, 16 Jul 2012 08:11:32 -0700 (PDT)
In-Reply-To: <1342444380.16408.149.camel@ds9>
References: <58497.1342436317@critter.freebsd.dk> <1342444380.16408.149.camel@ds9>
Date: Mon, 16 Jul 2012 08:11:32 -0700
Message-ID: <CALYNQmntVDK3kZFy+yah3NgAJjxbmWZ1Ckho4YKt_i4z-bMK+A@mail.gmail.com>
From: Subbu Allamaraju <subbu@subbu.org>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf303ddbdc55db0e04c4f3d8b0
X-Gm-Message-State: ALoCoQmKr0HlVMDuJgLmcJrLUaN6xfpPL9IWW9RDyDrd3jkUDup7qEFn6uuiDvqLs3/pDghgn1rP
Received-SPF: pass client-ip=209.85.161.171; envelope-from=subbu@subbu.org; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sqmxt-0004H8-Nc f9bea0ea9423ec6e135362a356531c99
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CALYNQmntVDK3kZFy+yah3NgAJjxbmWZ1Ckho4YKt_i4z-bMK+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14275
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>

--20cf303ddbdc55db0e04c4f3d8b0
Content-Type: text/plain; charset=ISO-8859-1

>
> So rather than an exercise of "sheer corporate power" I think we're
> seeing an excellent example of open consensus and running code.
>
>
Well said.

Subbu

--20cf303ddbdc55db0e04c4f3d8b0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So rather than an=
 exercise of &quot;sheer corporate power&quot; I think we&#39;re<br>
seeing an excellent example of open consensus and running code.<br><br></bl=
ockquote><div><br></div><div>Well said.</div><div><br></div><div>Subbu=A0</=
div></div><br>

--20cf303ddbdc55db0e04c4f3d8b0--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 08:16:15 2012
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 687B121F8683 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 08:16:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 VzX53d6gHxab for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 08:16:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A9C9621F8680 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 08:16:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqn2M-00067b-Fz for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 15:16:38 +0000
Resent-Date: Mon, 16 Jul 2012 15:16:38 +0000
Resent-Message-Id: <E1Sqn2M-00067b-Fz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqn2E-00066T-GH for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 15:16:30 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqn28-0004Ru-Ir for ietf-http-wg@w3.org; Mon, 16 Jul 2012 15:16:30 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id D13823B599; Mon, 16 Jul 2012 15:16:02 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GFG2kp059255; Mon, 16 Jul 2012 15:16:02 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 07:49:30 MST." <CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8US_w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 15:16:02 +0000
Message-ID: <59254.1342451762@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sqn28-0004Ru-Ir d11d9a68b41b2e2e4bc15b2773635f15
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/59254.1342451762@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14276
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>

In message <CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8US_w@mail.gmail.com>
, Mike Belshe writes:

>You've got it in your
>head that a the people that started on this work are idiots and unopen to
>public debate.

No, I'm very impressed by what the SPDY has done, I've said so
repeatedly.

>Do you think the other companies - from Facebook to Twitter [...]

I think they are all very big companies with world wide distribution
of http-server facilities.

Most websites have only one geographical location.

This "we're everywhere" bias showed up in the initial release of
SPDY numbers, which looked wonderful, thanks the the fact that Google
has low RTT to anybody in the world, and thus could "afford" the
TLS-RTT penalty, a luxury not many websites have.

But my major problem with SPDY is simply that it is additive,
it just adds another 50 pages of sediment to the pile of RFCs
necessary to implement HTTP.

SPDY does nothing to address problems like User-Agent, Cookie,
ASCII representation of timestamps, it just throws it all
into deflate and hopes for the best.

Take the discussion going on about "non-GMT" timestamps right
now as example:  Resolving that is probably going to add another
20 lines of text to clarify.

If HTTP/2.0 defines all timestamps as a POSIX::time_t binary
timestamp, you can rip out the entire section 8 out of part2, 
eliminate tons of weird error-cases and their handling, and
everybody in the HTTP-chain will save cpu cycles.

That is the sort of improvement I expect from HTTP/1 to HTTP/2
and SPDY does not deliver it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 08:18:31 2012
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 E944411E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 08:18:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 d+6Yj47EP375 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 08:18:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6AFC011E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 08:18:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqn4T-0006OF-FA for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 15:18:49 +0000
Resent-Date: Mon, 16 Jul 2012 15:18:49 +0000
Resent-Message-Id: <E1Sqn4T-0006OF-FA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqn4L-0006NU-3X for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 15:18:41 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqn4F-0002UW-7W for ietf-http-wg@w3.org; Mon, 16 Jul 2012 15:18:41 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 430E63B599; Mon, 16 Jul 2012 15:18:14 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GFIEfu059282; Mon, 16 Jul 2012 15:18:14 GMT (envelope-from phk@phk.freebsd.dk)
To: Yutaka OIWA <y.oiwa@aist.go.jp>
cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 23:58:53 +0900." <CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 15:18:14 +0000
Message-ID: <59281.1342451894@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqn4F-0002UW-7W a885ffebc18b9a52c478e3cdf0331eb4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/59281.1342451894@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14277
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>

In message <CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com>
, Yutaka OIWA writes:

>+1 on default to ignore.  That's one step further beyond my proposal and
>it makes sense.
>But I am not sure, are there any HTTP date-related headers for which
>ignoring is more dangerous than guessing?

I would hope so, that would increase the chance of people noticing
and fixing the bugs.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:21:43 2012
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 6E77D21F8570 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:21:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 CWDCqQXkIGo3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:21:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B19121F855A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:21:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqo2e-0005xB-2o for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:21:00 +0000
Resent-Date: Mon, 16 Jul 2012 16:21:00 +0000
Resent-Message-Id: <E1Sqo2e-0005xB-2o@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sqo2V-0005wL-L1 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:20:51 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sqo2O-0004vJ-LA for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:20:51 +0000
Received: by wgbdt14 with SMTP id dt14so4849564wgb.26 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:20:18 -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=51gYkGvuRTOsLaWqcQ+AbWbCIvNmHqrD1j/1WLx3UEY=; b=qJ3VjmWe1Z40Eku+ECkbjHLCES5AaqJnMgISkgqH11HQqAZIbq6GfgQ1s4GrSmooof /2qQtDHTh+MYQj4ErGfkXZ2z0Tmrmrmvrh4VUXcKgnunxD7cuefc/NbB+XonWLgSYKrD qeohwgF3Z4rRpYkvIK/K1Sh0Dmgp1MLfKpMHosOCcPUQ7LPImzUodCKr/7OBBrbYH7+Z xnUYhx1JHWWeUcOi/GBEEtefDcFwuEedVE71QLuN62q7B6UaFTjNpCbcxG/3xxFaA7Ns UlIQxYbDVC40gNVtsuytHvy/y2pzwcS8aILthH5WcHiFYQ5XQoXM3jKQapGQisHnoisV 4YUQ==
MIME-Version: 1.0
Received: by 10.216.163.196 with SMTP id a46mr6569585wel.212.1342455618043; Mon, 16 Jul 2012 09:20:18 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Mon, 16 Jul 2012 09:20:17 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Mon, 16 Jul 2012 09:20:17 -0700 (PDT)
In-Reply-To: <59170.1342450404@critter.freebsd.dk>
References: <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com> <59170.1342450404@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 09:20:17 -0700
Message-ID: <CAP+FsNcoyx7=EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>,  Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>,  Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=0016367fb06f3d812604c4f4cebc
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sqo2O-0004vJ-LA f0e9fdced9c8e5d099d1890148a6bf46
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNcoyx7=EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14278
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>

--0016367fb06f3d812604c4f4cebc
Content-Type: text/plain; charset=ISO-8859-1

Bundling has combinatorial explosion problems. It is basically an alternate
server push mechanism.

If we say that we're supposed to look inside the envelope of the bundle,
you end up doing the same as the resource-defined server push that is
implemented in spdy, but you must know about all possible resources that
the dynamic page will generate at the time you create the bundle. This is
basically impossible. You must still advertise which resources will be sent
in the bundle before the user-agent interprets the section of the main
resource which refers to it, else suffer races where the user-agent has
requested an object which is being pushed but has not yet arrived at the
user-agent.

If we don't look in the envelope,  security becomes more difficult. It
becomes costly to do filtering or caching.

Because everything is in one resource, you may not be able to reject
resources as you can with individually identified pushed resources.

-=R
On Jul 16, 2012 7:53 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=
> RJe8wD51Z-B-UH2A@mail.gmail.com>
> , Mike Belshe writes:
>
> >But seriously, who are these clients which will reject the pushes?
>
> I think this may be asking the wrong question.
>
> Yes, there will be clients which reject server-push, either because
> they only implemented the easy part of the specs, or because the
> voices from the tinfoil hat tells them to, but they are not
> important.
>
> The people who will have a problem with server-push are the
> security people, and the people who have to deal with the
> complexity it introduces.
>
> As I understand the desire for server-push it basically is this:
>
>         Client:
>                 Give me "index.html"
>         Server:
>                 Here it comes, and here are "style.css" and
>                 "logo.png" which you'll also need.
>
> That makes a lot of sense, but I would solve it this way:
>
>         Client:
>                 Give me "index.html"
>         Server:
>                 Here is "index.zip" which contains "index.html"
>                 and some other objects you'll need.
>
> No protocol complexity, the objects are bound together and we
> get compression too.  (.zip is just an example though, there
> may be better designs, as I assume interleaving might be
> desired ?)
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--0016367fb06f3d812604c4f4cebc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Bundling has combinatorial explosion problems. It is basical=
ly an alternate server push mechanism.</p>
<p dir=3D"ltr">If we say that we&#39;re supposed to look inside the envelop=
e of the bundle, you end up doing the same as the resource-defined server p=
ush that is implemented in spdy, but you must know about all possible resou=
rces that the dynamic page will generate at the time you create the bundle.=
 This is basically impossible. You must still advertise which resources wil=
l be sent in the bundle before the user-agent interprets the section of the=
 main resource which refers to it, else suffer races where the user-agent h=
as requested an object which is being pushed but has not yet arrived at the=
 user-agent.</p>

<p dir=3D"ltr">If we don&#39;t look in the envelope,=A0 security becomes mo=
re difficult. It becomes costly to do filtering or caching.</p>
<p dir=3D"ltr">Because everything is in one resource, you may not be able t=
o reject resources as you can with individually identified pushed resources=
.<br></p>
<p dir=3D"ltr">-=3DR<br></p>
<div class=3D"gmail_quote">On Jul 16, 2012 7:53 AM, &quot;Poul-Henning Kamp=
&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=3D<a href=3D"mailto:RJe8w=
D51Z-B-UH2A@mail.gmail.com">RJe8wD51Z-B-UH2A@mail.gmail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
&gt;But seriously, who are these clients which will reject the pushes?<br>
<br>
I think this may be asking the wrong question.<br>
<br>
Yes, there will be clients which reject server-push, either because<br>
they only implemented the easy part of the specs, or because the<br>
voices from the tinfoil hat tells them to, but they are not<br>
important.<br>
<br>
The people who will have a problem with server-push are the<br>
security people, and the people who have to deal with the<br>
complexity it introduces.<br>
<br>
As I understand the desire for server-push it basically is this:<br>
<br>
=A0 =A0 =A0 =A0 Client:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Give me &quot;index.html&quot;<br>
=A0 =A0 =A0 =A0 Server:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Here it comes, and here are &quot;style.css=
&quot; and<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 &quot;logo.png&quot; which you&#39;ll also =
need.<br>
<br>
That makes a lot of sense, but I would solve it this way:<br>
<br>
=A0 =A0 =A0 =A0 Client:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Give me &quot;index.html&quot;<br>
=A0 =A0 =A0 =A0 Server:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Here is &quot;index.zip&quot; which contain=
s &quot;index.html&quot;<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 and some other objects you&#39;ll need.<br>
<br>
No protocol complexity, the objects are bound together and we<br>
get compression too. =A0(.zip is just an example though, there<br>
may be better designs, as I assume interleaving might be<br>
desired ?)<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</blockquote></div>

--0016367fb06f3d812604c4f4cebc--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:24:21 2012
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 99AFD21F858D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:24:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.553
X-Spam-Level: 
X-Spam-Status: No, score=-8.553 tagged_above=-999 required=5 tests=[AWL=2.046, BAYES_00=-2.599, 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 Jv1hS8c6SloJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:24:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AACAE21F861D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:24:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqo5h-0006LX-Hk for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:24:09 +0000
Resent-Date: Mon, 16 Jul 2012 16:24:09 +0000
Resent-Message-Id: <E1Sqo5h-0006LX-Hk@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sqo5Z-0006K2-0C for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:24:01 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sqo5T-00050S-Tn for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:24:00 +0000
Received: by vbbfq11 with SMTP id fq11so4149030vbb.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:23:30 -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=tS6IM/6F976BN5yDbYn0e8qMQj1l0FE3GgkF5xhXgjI=; b=n3cl3ptF44sOUyLf/7HzXi/r4Wu1D2kCKpkm+nU3Qu4xB7ambsv4NI2XT0ur7ys4E3 gwIZW/PU0JxQfTyWUJBAymwNaljFCaCLbyb1EDu/alj+KQzJXg7wUj5rqb83RVcyGYlZ uwNg07ySyvfmy0e7XoO4OcwuNYwCqtCM+hR0g1Eu6NdYFa+Q23g8XkPejcdhSyUmxAiG We7XUGq0Zjaq5X9k/vSBLd1tFmf3LmXWr8DfZ9SmKwql8fxZnzJVwjhfvvQUOSPfCd08 UNe/tlpr2gnwpmCZLeGxd2Fbl7LnQx3MGvfBbVu3UcA3EcO7q3EGmJLJghmPVuGfOQyD yHYA==
MIME-Version: 1.0
Received: by 10.52.64.146 with SMTP id o18mr4821108vds.55.1342455809957; Mon, 16 Jul 2012 09:23:29 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Mon, 16 Jul 2012 09:23:29 -0700 (PDT)
In-Reply-To: <59034.1342448327@critter.freebsd.dk>
References: <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com> <59034.1342448327@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 12:23:29 -0400
Message-ID: <CAMm+Lwg_rO1SHc1n69vyV+FhLk7apycx6Q-auFyY-BCHKYZBJg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sqo5T-00050S-Tn 719a276de1bd203f0d65a01016994f2b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Implementing SPDY, is a day a meaningful criteria?
Archived-At: <http://www.w3.org/mid/CAMm+Lwg_rO1SHc1n69vyV+FhLk7apycx6Q-auFyY-BCHKYZBJg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14279
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>

Also looking at the SDPY spec it looks like it is actually two specs:

1) A Transport layer spec defining a framing scheme
2) Extensions to HTTP

Now the two proposals are tightly coupled in SPDY as they are
inter-dependent. But a spec needs to be layered to support
mix-n-match.

In particular, folk who are doing real-time video feeds are going to
be best served if they can have a HTTP that sits upon an API that is
presenting two connections, a bilateral connection based on TCP for
control and a multicast connection for the content.


It is also a fair question to ask how TLS is going to fit into this
scheme and whether we want to consider whether a future version of TLS
and SPDY might eventually converge. That does not mean doing that
right out of the gate but it is something we might want to work
towards.


An X.0 version of a spec has deployment concerns that are in many ways
opposite to the usual concerns.  The way I look at it is that you put
out a 1.0 version of a spec, people add and extend based on that
platform for a decade or so, trying to minimize the impact of each
incremental change. Each extension is simple by itself but the
cumulative effect is a large increase in complexity as the extensions
interact in unexpected ways.

A 2.0 version of HTTP would be an opportunity to scrape away some of
the barnacles that have been added to the spec and to establish a new
baseline expectation.


For example, I think that HTTP/2.0 should use SRV records to establish
the service connection (unless a port is explicitly specified). That
is the type of change that has a large potential value if everyone
does it but won't if support is spotty.


On Mon, Jul 16, 2012 at 10:18 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>What I care about is not how long it takes to
>>implement but if I can implement on restricted chips like embedded
>>control systems. So code footprint is more important to me than
>>time-to-implement. And I think it is a more objectively fair test.
>
> I think it is a good point, if we have any hope of getting rid of
> HTTP/1.0, HTTP/2.0 must penetrate all the way down into access points,
> home routers and other embedded consumer products.
>
> NIST has used similar criteria for AES and SHA3 beauty-contests.
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:41:47 2012
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 13DF411E8134 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:41:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 WgHMHBeQAHYD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:41:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 943C411E8139 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:41:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoMd-0001rE-L4 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:41:39 +0000
Resent-Date: Mon, 16 Jul 2012 16:41:39 +0000
Resent-Message-Id: <E1SqoMd-0001rE-L4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqoMV-0001pv-5R for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:41:31 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqoMO-0005tX-MC for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:41:31 +0000
Received: by wgbdt14 with SMTP id dt14so4866169wgb.26 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:40:58 -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=ZGuKy0bXEzND6922Woks8djGM19ZsQoX8xQGNQDRN6I=; b=wyjdqEIdUHEjXEMXu+KFFm3cY7uigbHwCdsFG1KWCPgW8bUNNVkKizqa38MjdpSmDs qNe9Ao3hhjyhkIUJ6txd1ek/XqNuqE8b73cap6pwv19D4L4siGG1OZ1D9kDmlBsKjBOH fwBCcNZjRb3hE4hOO9c2wxlQ+zNoT5fJMBjaYS5musU5iAHH9uTU7k78A8P7gGjF/aEq 4PO72ABipJfLfWuSwW7UzNPJNo9ilrTPnoo0SdaycTKspQADaN3ZZmCMynduSNy0QThx n6kO6WDQA1IUDx+KsMSW9zMAy8r1vtyeQ4Wpu5I4XY4yO3mV/outkgwS29x/5EMonug3 OodA==
MIME-Version: 1.0
Received: by 10.216.163.196 with SMTP id a46mr6608095wel.212.1342456858019; Mon, 16 Jul 2012 09:40:58 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Mon, 16 Jul 2012 09:40:57 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Mon, 16 Jul 2012 09:40:57 -0700 (PDT)
In-Reply-To: <59254.1342451762@critter.freebsd.dk>
References: <CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8US_w@mail.gmail.com> <59254.1342451762@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 09:40:57 -0700
Message-ID: <CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQKrwVCg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=0016367fb06f2609e104c4f51894
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqoMO-0005tX-MC 4034b73d016bdee32558d45c2c6a7ba9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQKrwVCg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14280
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>

--0016367fb06f2609e104c4f51894
Content-Type: text/plain; charset=ISO-8859-1

On Jul 16, 2012 8:17 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
>
> This "we're everywhere" bias showed up in the initial release of
> SPDY numbers, which looked wonderful, thanks the the fact that Google
> has low RTT to anybody in the world, and thus could "afford" the
> TLS-RTT penalty, a luxury not many websites have.

That is backwards for much content -- something which multiplexes is more
beneficial to things experiencing higher RTT.

Basically the expectation was that less optimized sites (either code or
location) would benefit more from SPDY than sites which were already well
connected and whose pages are well optimized

>
> But my major problem with SPDY is simply that it is additive,
> it just adds another 50 pages of sediment to the pile of RFCs
> necessary to implement HTTP.
>
> SPDY does nothing to address problems like User-Agent, Cookie,
> ASCII representation of timestamps, it just throws it all
> into deflate and hopes for the best.

It is just a start. If we'd attempted all of that in the beginning I think
we'd have a failed effort by now.

I'm happy to get changed whatever we can so long as it improved things and
is deployable. This has always been the mantra, but at this venue and at
this period in time the scope if then changes which can be considered has
broadened.

>
> Take the discussion going on about "non-GMT" timestamps right
> now as example:  Resolving that is probably going to add another
> 20 lines of text to clarify.
>
> If HTTP/2.0 defines all timestamps as a POSIX::time_t binary
> timestamp, you can rip out the entire section 8 out of part2,
> eliminate tons of weird error-cases and their handling, and
> everybody in the HTTP-chain will save cpu cycles.
>
> That is the sort of improvement I expect from HTTP/1 to HTTP/2
> and SPDY does not deliver it.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
incompetence.
>
 On Jul 16, 2012 8:17 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <
> CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8US_w@mail.gmail.com>
> , Mike Belshe writes:
>
> >You've got it in your
> >head that a the people that started on this work are idiots and unopen to
> >public debate.
>
> No, I'm very impressed by what the SPDY has done, I've said so
> repeatedly.
>
> >Do you think the other companies - from Facebook to Twitter [...]
>
> I think they are all very big companies with world wide distribution
> of http-server facilities.
>
> Most websites have only one geographical location.
>
> This "we're everywhere" bias showed up in the initial release of
> SPDY numbers, which looked wonderful, thanks the the fact that Google
> has low RTT to anybody in the world, and thus could "afford" the
> TLS-RTT penalty, a luxury not many websites have.
>
> But my major problem with SPDY is simply that it is additive,
> it just adds another 50 pages of sediment to the pile of RFCs
> necessary to implement HTTP.
>
> SPDY does nothing to address problems like User-Agent, Cookie,
> ASCII representation of timestamps, it just throws it all
> into deflate and hopes for the best.
>
> Take the discussion going on about "non-GMT" timestamps right
> now as example:  Resolving that is probably going to add another
> 20 lines of text to clarify.
>
> If HTTP/2.0 defines all timestamps as a POSIX::time_t binary
> timestamp, you can rip out the entire section 8 out of part2,
> eliminate tons of weird error-cases and their handling, and
> everybody in the HTTP-chain will save cpu cycles.
>
> That is the sort of improvement I expect from HTTP/1 to HTTP/2
> and SPDY does not deliver it.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--0016367fb06f2609e104c4f51894
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 16, 2012 8:17 AM, &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mailt=
o:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt; wrote:<br>
&gt;<br>
&gt; This &quot;we&#39;re everywhere&quot; bias showed up in the initial re=
lease of<br>
&gt; SPDY numbers, which looked wonderful, thanks the the fact that Google<=
br>
&gt; has low RTT to anybody in the world, and thus could &quot;afford&quot;=
 the<br>
&gt; TLS-RTT penalty, a luxury not many websites have.</p>
<p dir=3D"ltr">That is backwards for much content -- something which multip=
lexes is more beneficial to things experiencing higher RTT.</p>
<p dir=3D"ltr">Basically the expectation was that less optimized sites (eit=
her code or location) would benefit more from SPDY than sites which were al=
ready well connected and whose pages are well optimized</p>
<p dir=3D"ltr">&gt;<br>
&gt; But my major problem with SPDY is simply that it is additive,<br>
&gt; it just adds another 50 pages of sediment to the pile of RFCs<br>
&gt; necessary to implement HTTP.<br>
&gt;<br>
&gt; SPDY does nothing to address problems like User-Agent, Cookie,<br>
&gt; ASCII representation of timestamps, it just throws it all<br>
&gt; into deflate and hopes for the best.</p>
<p dir=3D"ltr">It is just a start. If we&#39;d attempted all of that in the=
 beginning I think we&#39;d have a failed effort by now. </p>
<p dir=3D"ltr">I&#39;m happy to get changed whatever we can so long as it i=
mproved things and is deployable. This has always been the mantra, but at t=
his venue and at this period in time the scope if then changes which can be=
 considered has broadened.</p>

<p dir=3D"ltr">&gt;<br>
&gt; Take the discussion going on about &quot;non-GMT&quot; timestamps righ=
t<br>
&gt; now as example: =A0Resolving that is probably going to add another<br>
&gt; 20 lines of text to clarify.<br>
&gt;<br>
&gt; If HTTP/2.0 defines all timestamps as a POSIX::time_t binary<br>
&gt; timestamp, you can rip out the entire section 8 out of part2,<br>
&gt; eliminate tons of weird error-cases and their handling, and<br>
&gt; everybody in the HTTP-chain will save cpu cycles.<br>
&gt;<br>
&gt; That is the sort of improvement I expect from HTTP/1 to HTTP/2<br>
&gt; and SPDY does not deliver it.<br>
&gt;<br>
&gt; --<br>
&gt; Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
&gt; phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
&gt; FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
&gt; Never attribute to malice what can adequately be explained by incompet=
ence.<br>
&gt;<br>
</p>
<div class=3D"gmail_quote">On Jul 16, 2012 8:17 AM, &quot;Poul-Henning Kamp=
&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;<a href=3D"mailto:CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe%2B7uLJ0=
RD2wY_8US_w@mail.gmail.com">CABaLYCswvXipBNsjFDnmEUR2AbVow6uLe+7uLJ0RD2wY_8=
US_w@mail.gmail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
&gt;You&#39;ve got it in your<br>
&gt;head that a the people that started on this work are idiots and unopen =
to<br>
&gt;public debate.<br>
<br>
No, I&#39;m very impressed by what the SPDY has done, I&#39;ve said so<br>
repeatedly.<br>
<br>
&gt;Do you think the other companies - from Facebook to Twitter [...]<br>
<br>
I think they are all very big companies with world wide distribution<br>
of http-server facilities.<br>
<br>
Most websites have only one geographical location.<br>
<br>
This &quot;we&#39;re everywhere&quot; bias showed up in the initial release=
 of<br>
SPDY numbers, which looked wonderful, thanks the the fact that Google<br>
has low RTT to anybody in the world, and thus could &quot;afford&quot; the<=
br>
TLS-RTT penalty, a luxury not many websites have.<br>
<br>
But my major problem with SPDY is simply that it is additive,<br>
it just adds another 50 pages of sediment to the pile of RFCs<br>
necessary to implement HTTP.<br>
<br>
SPDY does nothing to address problems like User-Agent, Cookie,<br>
ASCII representation of timestamps, it just throws it all<br>
into deflate and hopes for the best.<br>
<br>
Take the discussion going on about &quot;non-GMT&quot; timestamps right<br>
now as example: =A0Resolving that is probably going to add another<br>
20 lines of text to clarify.<br>
<br>
If HTTP/2.0 defines all timestamps as a POSIX::time_t binary<br>
timestamp, you can rip out the entire section 8 out of part2,<br>
eliminate tons of weird error-cases and their handling, and<br>
everybody in the HTTP-chain will save cpu cycles.<br>
<br>
That is the sort of improvement I expect from HTTP/1 to HTTP/2<br>
and SPDY does not deliver it.<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote></div>

--0016367fb06f2609e104c4f51894--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:44:40 2012
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 41D4F21F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.894
X-Spam-Level: 
X-Spam-Status: No, score=-9.894 tagged_above=-999 required=5 tests=[AWL=0.082, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 CE5jxPKmu7ph for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:44:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 711E521F865E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:44: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 1SqoPe-0002PG-E9 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:44:46 +0000
Resent-Date: Mon, 16 Jul 2012 16:44:46 +0000
Resent-Message-Id: <E1SqoPe-0002PG-E9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqoPV-0002Nl-Gy for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:44:37 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqoPO-00062E-MG for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:44:37 +0000
Received: by lbom4 with SMTP id m4so7734140lbo.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:44:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=+DkLzoEf8w0q2pXQqjgmo1/DixRsV+WrGp2xYDBSIc8=; b=eQaEv676pxPWi1rQQAF/qBnGaLWQ3lOXIC2BzT7iZ000Cl1yIOW8cD0SNqt6iMG4XR ENfyTOLAqHAklOFZ4QN6DkRUkuauVVJ4hDxMTsCmH2qeTRK1gprG+XX67ALeXNLCT3RN oI0epYxYTroHiVXCWCjfzJkPO9Kr/3TipHkSvoBxbLWWE4D+VxGzoHgkRFq/qv72a6ky clt9gGxq2Ow2kJm/UU00OBUO2nGhP8R8rVU9sPJdy6aePJCvb72NG8iynBbQoqklD+eE cyv/hj0AOe7aI0Y6qjAGFURlm5h0rAzAEGFBDIiL1ZYAEk9aBN+EYKhP+52gqVr2djpG YTZw==
MIME-Version: 1.0
Received: by 10.112.84.168 with SMTP id a8mr5532543lbz.92.1342457043718; Mon, 16 Jul 2012 09:44:03 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 16 Jul 2012 09:44:03 -0700 (PDT)
In-Reply-To: <59170.1342450404@critter.freebsd.dk>
References: <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com> <59170.1342450404@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 09:44:03 -0700
Message-ID: <CABaLYCtX1mGkcFcciH3bdixmCQxtprLjfkuA1xZMo=vL5NvBXA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Willy Tarreau <w@1wt.eu>,  Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04016cad37912104c4f52342
X-Gm-Message-State: ALoCoQmrt/ezHEtpbhmNri5mXOKzWPwVMe08kL/AXPgDmVi2jodki6vbtpWSgzBPYXhZ0hmaEKlF
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SqoPO-00062E-MG 32c8051b590b4452c861b321db17c7b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCtX1mGkcFcciH3bdixmCQxtprLjfkuA1xZMo=vL5NvBXA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14281
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>

--f46d04016cad37912104c4f52342
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 7:53 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=
> RJe8wD51Z-B-UH2A@mail.gmail.com>
> , Mike Belshe writes:
>
> >But seriously, who are these clients which will reject the pushes?
>
> I think this may be asking the wrong question.
>
> Yes, there will be clients which reject server-push, either because
> they only implemented the easy part of the specs, or because the
> voices from the tinfoil hat tells them to, but they are not
> important.
>

That's why you can't make it optional :-)


>
> The people who will have a problem with server-push are the
> security people, and the people who have to deal with the
> complexity it introduces.
>

Let me know if you have a specific security question to raise.


>
> As I understand the desire for server-push it basically is this:
>
>         Client:
>                 Give me "index.html"
>         Server:
>                 Here it comes, and here are "style.css" and
>                 "logo.png" which you'll also need.
>
> That makes a lot of sense, but I would solve it this way:
>
>         Client:
>                 Give me "index.html"
>         Server:
>                 Here is "index.zip" which contains "index.html"
>                 and some other objects you'll need.
>
> No protocol complexity, the objects are bound together and we
> get compression too.  (.zip is just an example though, there
> may be better designs, as I assume interleaving might be
> desired ?)
>

OK - we did consider this approach, but it has real problems as you now
have multiple URLs which contain index.html, style.css and logo.png.  It
makes it very difficult to find items in your cache if you allow multiple
URLs to address the same resource.  But worse, it means that you lose the
per-resource response headers that you had before.  So now all 3 of those
items have a single set of cache control headers, which is undesirable.

You could define the zip in a 'smart' way, so that the URLs are preserved
and the client pulls them all apart, but you quickly get into a new
multi-part format which has a lot of subtle nuance (see mime!).

BTW - what you've just described here is basically what 'spriting' does -
combine items in a non-individually addressable way.

Mike



>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d04016cad37912104c4f52342
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 7:53 AM, Poul-He=
nning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" targ=
et=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
In message &lt;CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=3D<a href=3D"mailto:RJe8w=
D51Z-B-UH2A@mail.gmail.com">RJe8wD51Z-B-UH2A@mail.gmail.com</a>&gt;<br>
<div class=3D"im">, Mike Belshe writes:<br>
<br>
&gt;But seriously, who are these clients which will reject the pushes?<br>
<br>
</div>I think this may be asking the wrong question.<br>
<br>
Yes, there will be clients which reject server-push, either because<br>
they only implemented the easy part of the specs, or because the<br>
voices from the tinfoil hat tells them to, but they are not<br>
important.<br></blockquote><div><br></div><div>That&#39;s why you can&#39;t=
 make it optional :-)</div><div>=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The people who will have a problem with server-push are the<br>
security people, and the people who have to deal with the<br>
complexity it introduces.<br></blockquote><div><br></div><div>Let me know i=
f you have a specific security question to raise.=A0</div><div>=A0</div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">

<br>
As I understand the desire for server-push it basically is this:<br>
<br>
=A0 =A0 =A0 =A0 Client:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Give me &quot;index.html&quot;<br>
=A0 =A0 =A0 =A0 Server:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Here it comes, and here are &quot;style.css=
&quot; and<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 &quot;logo.png&quot; which you&#39;ll also =
need.<br>
<br>
That makes a lot of sense, but I would solve it this way:<br>
<br>
=A0 =A0 =A0 =A0 Client:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Give me &quot;index.html&quot;<br>
=A0 =A0 =A0 =A0 Server:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Here is &quot;index.zip&quot; which contain=
s &quot;index.html&quot;<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 and some other objects you&#39;ll need.<br>
<br>
No protocol complexity, the objects are bound together and we<br>
get compression too. =A0(.zip is just an example though, there<br>
may be better designs, as I assume interleaving might be<br>
desired ?)<br></blockquote><div><br></div><div>OK - we did consider this ap=
proach, but it has real problems as you now have multiple URLs which contai=
n index.html, style.css and logo.png. =A0It makes it very difficult to find=
 items in your cache if you allow multiple URLs to address the same resourc=
e. =A0But worse, it means that you lose the per-resource response headers t=
hat you had before. =A0So now all 3 of those items have a single set of cac=
he control headers, which is undesirable.</div>
<div><br></div><div>You could define the zip in a &#39;smart&#39; way, so t=
hat the URLs are preserved and the client pulls them all apart, but you qui=
ckly get into a new multi-part format which has a lot of subtle nuance (see=
 mime!).</div>
<div><br>BTW - what you&#39;ve just described here is basically what &#39;s=
priting&#39; does - combine items in a non-individually addressable way.</d=
iv><div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</font></span></blockquote></div><br>

--f46d04016cad37912104c4f52342--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:50:07 2012
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 6935411E80C8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:50:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.529
X-Spam-Level: 
X-Spam-Status: No, score=-6.529 tagged_above=-999 required=5 tests=[AWL=4.070, BAYES_00=-2.599, 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 y4VcW6MUeVqK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:49:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 34EE111E80CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:49:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoUs-0000cT-5H for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:50:10 +0000
Resent-Date: Mon, 16 Jul 2012 16:50:10 +0000
Resent-Message-Id: <E1SqoUs-0000cT-5H@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoUk-0007x9-0r for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:50:02 +0000
Received: from mail.ietf.org ([12.22.58.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoUe-0008K1-7X for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:50:01 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60F5921F8643 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:48:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 ji-QXWCiflKY; Mon, 16 Jul 2012 09:48:44 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 895C921F8667; Mon, 16 Jul 2012 09:48:44 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716164844.32334.72961.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:48:44 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqoUe-0008K1-7X e9900aaff283ba646eff826083eca5b9
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p1-messaging-20.txt
Archived-At: <http://www.w3.org/mid/20120716164844.32334.72961.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14282
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 1: Message Routing and Syntax"
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p1-messaging-20.txt
	Pages           : 94
	Date            : 2012-07-16

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  HTTP has been in use by the World Wide Web global
   information initiative since 1990.  This document provides an
   overview of HTTP architecture and its associated terminology, defines
   the "http" and "https" Uniform Resource Identifier (URI) schemes,
   defines the HTTP/1.1 message syntax and parsing requirements, and
   describes general security concerns for implementations.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p1-messaging

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p1-messaging-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:51:15 2012
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 586E311E80DB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:51:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.537
X-Spam-Level: 
X-Spam-Status: No, score=-6.537 tagged_above=-999 required=5 tests=[AWL=4.062, BAYES_00=-2.599, 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 YIVbH6Qm-yTb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:51:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71ACB11E80CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:51:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoWC-00010j-Er for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:51:32 +0000
Resent-Date: Mon, 16 Jul 2012 16:51:32 +0000
Resent-Message-Id: <E1SqoWC-00010j-Er@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoW4-0000wk-FA for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:51:24 +0000
Received: from mail.ietf.org ([12.22.58.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoVz-0006Ns-Ie for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:51:24 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBC3211E8140 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:50:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 SZDGCS4HA8Om; Mon, 16 Jul 2012 09:49:57 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04AC611E80F8; Mon, 16 Jul 2012 09:49:57 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716164957.1158.43940.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:49:57 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqoVz-0006Ns-Ie d095245e6ede024b2e0b8992d5625b62
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p2-semantics-20.txt
Archived-At: <http://www.w3.org/mid/20120716164957.1158.43940.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14283
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 2: Semantics and Payloads
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p2-semantics-20.txt
	Pages           : 108
	Date            : 2012-07-16

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines the semantics of HTTP/1.1 messages,
   as expressed by request methods, request header fields, response
   status codes, and response header fields, along with the payload of
   messages (metadata and body content) and mechanisms for content
   negotiation.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p2-semantics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p2-semantics-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:51:35 2012
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 AC7C511E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:51:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.545
X-Spam-Level: 
X-Spam-Status: No, score=-6.545 tagged_above=-999 required=5 tests=[AWL=4.054, BAYES_00=-2.599, 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 JP+lNcbQEYLm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:51:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1963311E80C8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:51:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoWk-00017E-FP for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:52:06 +0000
Resent-Date: Mon, 16 Jul 2012 16:52:06 +0000
Resent-Message-Id: <E1SqoWk-00017E-FP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoWc-00013i-H2 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:51:58 +0000
Received: from mail.ietf.org ([12.22.58.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoWb-0008QQ-Dd for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:51:58 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B28311E80CE for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:50:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 XgyEZfGyE55y; Mon, 16 Jul 2012 09:50:45 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C81D11E80E9; Mon, 16 Jul 2012 09:50:45 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716165044.4197.41359.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:50:44 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqoWb-0008QQ-Dd 33e26683f8efc816f1fb54b22f3f9200
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p3-payload-20.txt
Archived-At: <http://www.w3.org/mid/20120716165044.4197.41359.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14284
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 3: Message Payload and Content Negotiation
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p3-payload-20.txt
	Pages           : 3
	Date            : 2012-07-16

Abstract:
   This part is now obsolete.  Please see HTTPbis, Part 2.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p3-payload

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p3-payload-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:52:33 2012
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 63B7E11E8141 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:52:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.553
X-Spam-Level: 
X-Spam-Status: No, score=-6.553 tagged_above=-999 required=5 tests=[AWL=4.046, BAYES_00=-2.599, 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 D4q1W0+UEMsR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:52:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2A6011E813F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:52:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoXc-0001Pc-SH for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:53:00 +0000
Resent-Date: Mon, 16 Jul 2012 16:53:00 +0000
Resent-Message-Id: <E1SqoXc-0001Pc-SH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoXU-0001MI-MX for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:52:52 +0000
Received: from mail.ietf.org ([12.22.58.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoXT-0006SX-4h for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:52:52 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E4EF11E8141 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:51:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 SwYqWGa3mK-p; Mon, 16 Jul 2012 09:51:39 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75A7D11E80CE; Mon, 16 Jul 2012 09:51:39 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716165139.5562.74002.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:51:39 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqoXT-0006SX-4h e34cef49e3b1496f504b154946577422
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p4-conditional-20.txt
Archived-At: <http://www.w3.org/mid/20120716165139.5562.74002.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14285
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 4: Conditional Requests
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p4-conditional-20.txt
	Pages           : 26
	Date            : 2012-07-16

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines HTTP/1.1 conditional requests,
   including metadata header fields for indicating state changes,
   request header fields for making preconditions on such state, and
   rules for constructing the responses to a conditional request when
   one or more preconditions evaluate to false.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p4-conditional

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p4-conditional-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:53:53 2012
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 5983411E814F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:53:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.561
X-Spam-Level: 
X-Spam-Status: No, score=-6.561 tagged_above=-999 required=5 tests=[AWL=4.038, BAYES_00=-2.599, 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 orkq5ZhsjBgq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:53:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C296711E8131 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:53:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoYq-0001j2-EL for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:54:16 +0000
Resent-Date: Mon, 16 Jul 2012 16:54:16 +0000
Resent-Message-Id: <E1SqoYq-0001j2-EL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoYh-0001eu-Jc for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:54:07 +0000
Received: from mail.ietf.org ([12.22.58.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoYd-0006Vf-Dh for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:54:07 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B57F11E814D for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:52:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 wGOXOmXoIVrX; Mon, 16 Jul 2012 09:52:51 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B7FB11E814B; Mon, 16 Jul 2012 09:52:51 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716165251.9596.94973.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:52:51 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqoYd-0006Vf-Dh d7f76042f02651c73376e1ddaea209e8
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p5-range-20.txt
Archived-At: <http://www.w3.org/mid/20120716165251.9596.94973.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14286
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 5: Range Requests
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p5-range-20.txt
	Pages           : 24
	Date            : 2012-07-16

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines range requests and the rules for
   constructing and combining responses to those requests.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p5-range

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p5-range-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:54:43 2012
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 38F8121F85D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:54:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.569
X-Spam-Level: 
X-Spam-Status: No, score=-6.569 tagged_above=-999 required=5 tests=[AWL=4.030, BAYES_00=-2.599, 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 l9cxCm3G23I9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:54:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2146321F85D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:54:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoZi-0003Eo-5v for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:55:10 +0000
Resent-Date: Mon, 16 Jul 2012 16:55:10 +0000
Resent-Message-Id: <E1SqoZi-0003Eo-5v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoZa-0001wz-1x for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:55:02 +0000
Received: from mail.ietf.org ([12.22.58.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoZU-0006Xc-Al for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:55:01 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A26A11E8156 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:53:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 fVCV5JW3qncj; Mon, 16 Jul 2012 09:53:44 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A693A11E812A; Mon, 16 Jul 2012 09:53:44 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716165344.11788.22964.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:53:44 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqoZU-0006Xc-Al 63d5af0fd08ae4fb739bb0862416d082
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p6-cache-20.txt
Archived-At: <http://www.w3.org/mid/20120716165344.11788.22964.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14287
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 6: Caching
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Mark Nottingham
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p6-cache-20.txt
	Pages           : 43
	Date            : 2012-07-16

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines requirements on HTTP caches and the
   associated header fields that control cache behavior or indicate
   cacheable response messages.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p6-cache

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p6-cache-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 09:55:31 2012
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 0E57A21F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:55:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.577
X-Spam-Level: 
X-Spam-Status: No, score=-6.577 tagged_above=-999 required=5 tests=[AWL=4.022, BAYES_00=-2.599, 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 utbJ3deUd37e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 09:55:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7530421F86F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 09:55:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqoaV-0003Sn-VA for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 16:55:59 +0000
Resent-Date: Mon, 16 Jul 2012 16:55:59 +0000
Resent-Message-Id: <E1SqoaV-0003Sn-VA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoaN-0003Pa-UK for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 16:55:51 +0000
Received: from mail.ietf.org ([12.22.58.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqoaI-00009P-8V for ietf-http-wg@w3.org; Mon, 16 Jul 2012 16:55:51 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A98F21F86E5 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 09:54:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 BFoqYsNyXeMH; Mon, 16 Jul 2012 09:54:33 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7058E21F85C2; Mon, 16 Jul 2012 09:54:33 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716165433.13212.4762.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 09:54:33 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqoaI-00009P-8V 00cb59144da8e3344a9776583bc8018f
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p7-auth-20.txt
Archived-At: <http://www.w3.org/mid/20120716165433.13212.4762.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14288
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : HTTP/1.1, part 7: Authentication
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p7-auth-20.txt
	Pages           : 19
	Date            : 2012-07-16

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypermedia information
   systems.  This document defines the HTTP Authentication framework.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p7-auth

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-20

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p7-auth-20


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 10:10:00 2012
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 A48C921F879F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 10:10:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.585
X-Spam-Level: 
X-Spam-Status: No, score=-6.585 tagged_above=-999 required=5 tests=[AWL=4.014, BAYES_00=-2.599, 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 yvHpMhsmENDh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 10:09:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDCC021F87B5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 10:09:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqono-00032m-Ss for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 17:09:44 +0000
Resent-Date: Mon, 16 Jul 2012 17:09:44 +0000
Resent-Message-Id: <E1Sqono-00032m-Ss@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1Sqong-00030X-NA for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 17:09:36 +0000
Received: from mail.ietf.org ([12.22.58.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1SqonX-0000vB-Ni for ietf-http-wg@w3.org; Mon, 16 Jul 2012 17:09:36 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5F0F21F8793 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 10:08:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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 Or7x1Pg-Wmqk; Mon, 16 Jul 2012 10:08:15 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C507D21F8780; Mon, 16 Jul 2012 10:08:14 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.30p3
Message-ID: <20120716170814.6784.3433.idtracker@ietfa.amsl.com>
Date: Mon, 16 Jul 2012 10:08:14 -0700
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqonX-0000vB-Ni 3f220181a18bf7ed69611073f1f6dd47
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-method-registrations-09.txt
Archived-At: <http://www.w3.org/mid/20120716170814.6784.3433.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14289
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Initial Hypertext Transfer Protocol (HTTP) Method Regist=
rations
	Author(s)       : Julian F. Reschke
	Filename        : draft-ietf-httpbis-method-registrations-09.txt
	Pages           : 7
	Date            : 2012-07-16

Abstract:
   This document registers those Hypertext Transfer Protocol (HTTP)
   methods which have been defined in standards-track RFCs before the
   IANA HTTP Method Registry was established.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-method-registrations

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-09

A diff from previous version is available at:
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-method-registration=
s-09


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 11:03:34 2012
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 47AA121F8698 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 11:03:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.553
X-Spam-Level: 
X-Spam-Status: No, score=-8.553 tagged_above=-999 required=5 tests=[AWL=2.046, BAYES_00=-2.599, 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 ET7qexaQNC04 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 11:03:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5BE5E21F8692 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 11:03:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqpdK-0006km-15 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 18:02:58 +0000
Resent-Date: Mon, 16 Jul 2012 18:02:58 +0000
Resent-Message-Id: <E1SqpdK-0006km-15@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SqpdB-0006k5-Td for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 18:02:49 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sqpd5-000347-CK for ietf-http-wg@w3.org; Mon, 16 Jul 2012 18:02:49 +0000
Received: (qmail invoked by alias); 16 Jul 2012 17:28:51 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp040) with SMTP; 16 Jul 2012 19:28:51 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/YezdzjjHYn9OqG/uetRp3w3NTzDNRi86gHnWdec E0oEO01FgToZy4
Message-ID: <50044F4A.6010409@gmx.de>
Date: Mon, 16 Jul 2012 19:28:42 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sqpd5-000347-CK 279734224c7883ea386c379695049b00
X-Original-To: ietf-http-wg@w3.org
Subject: httpbis -20 drafts
Archived-At: <http://www.w3.org/mid/50044F4A.6010409@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14290
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 there,

we just published the -20 drafts of Part 1 through 7 which reflect the
progress we made since that Paris IETF.

Overviews are in the appendices:

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-20.html#changes.since.19>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-20.html#changes.since.19>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p3-payload-20.html> 
-- this part has been merged into Part 2

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p4-conditional-20.html#changes.since.19>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-20.html#changes.since.19>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p6-cache-20.html#changes.since.19>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p7-auth-20.html#changes.since.19>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-method-registrations-09.html#changes.since.08> 


Diffs:

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p1-messaging/draft-ietf-httpbis-p1-messaging-20-from-19.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p2-semantics/draft-ietf-httpbis-p2-semantics-20-from-19.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p3-payload/draft-ietf-httpbis-p3-payload-20-from-19.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p4-conditional/draft-ietf-httpbis-p4-conditional-20-from-19.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p5-range/draft-ietf-httpbis-p5-range-20-from-19.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p6-cache/draft-ietf-httpbis-p6-cache-20-from-19.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p7-auth/draft-ietf-httpbis-p7-auth-20-from-19.diff.html>

Note that the HTML versions:

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/20/p1-messaging.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/20/p2-semantics.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/20/p4-conditional.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/20/p5-range.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/20/p6-cache.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/20/p7-auth.html

come with feedback links that should make it really simple to provide
quick comments.

Mark Nottingham, our WG chair, will follow up with a list of tickets
we'd like to close as fixed soonish.

Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 12:26:06 2012
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 CC74C21F88D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 12:26:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 OXc8NXUQGX8J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 12:26:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2BB3A21F88CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 12:26:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqqux-0002qd-SA for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 19:25:15 +0000
Resent-Date: Mon, 16 Jul 2012 19:25:15 +0000
Resent-Message-Id: <E1Sqqux-0002qd-SA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqqup-0002ps-Hl for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 19:25:07 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqqun-00047A-Pm for ietf-http-wg@w3.org; Mon, 16 Jul 2012 19:25:07 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id A2F383B767; Mon, 16 Jul 2012 19:24:43 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GJOf5c059948; Mon, 16 Jul 2012 19:24:41 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>, Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>, Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mike Belshe <mike@belshe.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 09:20:17 MST." <CAP+FsNcoyx7=EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 19:24:41 +0000
Message-ID: <59947.1342466681@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqqun-00047A-Pm 02cfb9339f4f182a07dddfba6599011e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/59947.1342466681@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14291
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>

In message <CAP+FsNcoyx7=EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.gmail.com>
, Roberto Peon writes:

>but you must know about all possible resources that
>the dynamic page will generate at the time you create the bundle.

Building a zip(-like) archive on the fly has the same complexity
as building the server-push stream, but the benefit of not making
life complex for everybody else.

But yes, it's not without problems, which is why I think we should
stick to the strict request-response model.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 12:31:05 2012
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 52A6711E80BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 12:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 TYa5aq3dAVBp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 12:31:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A006221F8927 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 12:31:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqr0c-0006uN-1a for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 19:31:06 +0000
Resent-Date: Mon, 16 Jul 2012 19:31:06 +0000
Resent-Message-Id: <E1Sqr0c-0006uN-1a@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqr0U-0006tX-5n for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 19:30:58 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqr0T-0004Iy-43 for ietf-http-wg@w3.org; Mon, 16 Jul 2012 19:30:58 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E93143B767; Mon, 16 Jul 2012 19:30:35 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GJUZ0h059972; Mon, 16 Jul 2012 19:30:35 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 09:40:57 MST." <CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQKrwVCg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 19:30:35 +0000
Message-ID: <59971.1342467035@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqr0T-0004Iy-43 7f93d3b90a644c75d1819e5e18bc492e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/59971.1342467035@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14292
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>

In message <CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQKrwVCg@mail.gmail.com>
, Roberto Peon writes:

>> SPDY does nothing to address problems like User-Agent, Cookie,
>> ASCII representation of timestamps, it just throws it all
>> into deflate and hopes for the best.
>
>It is just a start. If we'd attempted all of that in the beginning I think
>we'd have a failed effort by now.

Which is why I applaud SPDY as a damn good prototype, which taught us
a lot, for instance that shoving everything into deflate showed that
it matters how big requests are, and that there are significant gains
to be had.

What we should do now is throw the prototype away, and design a
serialization of HTTP which is as if not more efficient than deflate,
and which is less hostile to HTTP routers less prone to DoS
exploitation, and takes less memory footprint (code&data) to implement.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 13:04:55 2012
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 DA81311E814C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:04:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.029
X-Spam-Level: 
X-Spam-Status: No, score=-8.029 tagged_above=-999 required=5 tests=[AWL=-2.431, BAYES_00=-2.599, GB_SUMOF=5, HTML_MESSAGE=0.001, 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 330CY1SOUs+y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:04:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B632011E812B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 13:04:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqrWo-0003ZK-Qs for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 20:04:22 +0000
Resent-Date: Mon, 16 Jul 2012 20:04:22 +0000
Resent-Message-Id: <E1SqrWo-0003ZK-Qs@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqrWf-0003YZ-Hx for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 20:04:13 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqrWd-0007KK-VU for ietf-http-wg@w3.org; Mon, 16 Jul 2012 20:04:13 +0000
Received: by wibhm2 with SMTP id hm2so2776609wib.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 13:03:45 -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=R/yRh8Nrmcl9hNvw/JkMESBmalFlpDPB8X46OELCJjc=; b=EixKiD8Sq+zRJdJ/lLqTO3IehX1piQxCmsXKnnP5juQapLpb8zovXPuA7Gb6NGmweH FY4ywP9GMq6mUl2V8uCnBgO/CEkeCOvGfv9J+cI6brHZFUpewx7gK49Zlnioz2T+amMQ hKhZlnRM4xiqXvl3XXhcbFLEcSIU/DU0L8Hkqf3RQaEHdbGfizv4hHCA/QPWIw+gF5U7 Zs6T8DLHSNN+bpTWWQ9GxpnRoikmwdMdL/tLDRdk2SPp1q7+MKlufMkt9PlGg/iF4t7W g+FFFCKWUZ+rqNB88TbiwRyPZzyEZRJgxkFmBwfPJe2Thv+WeG9x++fN0jsiOIT3fzO3 8Raw==
MIME-Version: 1.0
Received: by 10.216.213.37 with SMTP id z37mr7063433weo.132.1342469025269; Mon, 16 Jul 2012 13:03:45 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Mon, 16 Jul 2012 13:03:45 -0700 (PDT)
In-Reply-To: <59947.1342466681@critter.freebsd.dk>
References: <CAP+FsNcoyx7=EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.gmail.com> <59947.1342466681@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 13:03:45 -0700
Message-ID: <CAP+FsNchS6gK_acwryTrRi_TiUcbs60Gs1ZvzSkDRQFwC-Zu5g@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>,  Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>,  Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=0016e6dab1405f87cc04c4f7ed01
Received-SPF: pass client-ip=209.85.212.169; envelope-from=grmocg@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqrWd-0007KK-VU e8236f8aba79cb215f561f5c1207761c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNchS6gK_acwryTrRi_TiUcbs60Gs1ZvzSkDRQFwC-Zu5g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14293
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>

--0016e6dab1405f87cc04c4f7ed01
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 12:24 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <CAP+FsNcoyx7=
> EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.gmail.com>
> , Roberto Peon writes:
>
> >but you must know about all possible resources that
> >the dynamic page will generate at the time you create the bundle.
>
> Building a zip(-like) archive on the fly has the same complexity
> as building the server-push stream, but the benefit of not making
> life complex for everybody else.
>

With a zip-like archive, you'd not be able to interleave delivery, thus you
cannot change your mind about what should be pushed (if, for instance, one
discovers that multiple things require subresource A and only one thing
requires subresource B), the user-agent cannot cancel receipt/delivery of
the streams, and so instead of potentially wasting at most a BDP's worth of
bytes, we waste potentially the sum of the size of all objects within the
zip-like archive.

I see a significant loss of flexibility and am unclear on the gain.
So, how does a zip-like archive make life easier, and what are the
tradeoffs? What am I missing?



> But yes, it's not without problems, which is why I think we should
> stick to the strict request-response model.
>

We know that the trend towards higher available bandwidth continues across
a broad spectrum of the 'net and we know that the speed of light hasn't
appreciably changed.
So, basically, we know that what we have today is significantly imperfect
in a latency sense and getting worse and worse.

We can acknowledge that it is a problem and engineer a solution, or we can
decide to not solve this problem, in which case we'll be forcing everyone
to inline everything all the time. Bleh. Inlining is easy to mess up and
when messed up, can slow down page rendering time horribly.

I see a problem which exists today where we can engineer a solution that
will allow the infrastructure to do the right thing on behalf of the site
developers, which gives much better fine-grained control over which
resources arrive in what order (which is important for above-the-fold user
experience), and which solves the 'empty pipe' problem that currently
exists with HTTP. I'm not in favor of punting on this simply because the
problem is difficult. :)

-=R


> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--0016e6dab1405f87cc04c4f7ed01
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 12:24 PM, Poul-H=
enning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" tar=
get=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
In message &lt;CAP+FsNcoyx7=3D<a href=3D"mailto:EfXLezzHGq-3_%2BBWTwhLQj8dG=
ObvKpSsHMMarg@mail.gmail.com">EfXLezzHGq-3_+BWTwhLQj8dGObvKpSsHMMarg@mail.g=
mail.com</a>&gt;<br>
<div class=3D"im">, Roberto Peon writes:<br>
<br>
&gt;but you must know about all possible resources that<br>
&gt;the dynamic page will generate at the time you create the bundle.<br>
<br>
</div>Building a zip(-like) archive on the fly has the same complexity<br>
as building the server-push stream, but the benefit of not making<br>
life complex for everybody else.<br></blockquote><div><br></div><div>With a=
 zip-like archive, you&#39;d not be able to interleave delivery, thus you c=
annot change your mind about what should be pushed (if, for instance, one d=
iscovers that multiple things require subresource A and only one thing requ=
ires subresource B), the user-agent cannot cancel receipt/delivery of the s=
treams, and so instead of potentially wasting at most a BDP&#39;s worth of =
bytes, we waste potentially the sum of the size of all objects within the z=
ip-like archive.</div>
<div><br></div><div>I see a significant loss of flexibility and am unclear =
on the gain.</div><div><div>So, how does a zip-like archive make life easie=
r, and what are the tradeoffs? What am I missing?</div><div><br></div></div=
>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
<br>
But yes, it&#39;s not without problems, which is why I think we should<br>
stick to the strict request-response model.<br></blockquote><div><br></div>=
<div>We know that the trend towards higher available bandwidth continues ac=
ross a broad spectrum of the &#39;net and we know that the speed of light h=
asn&#39;t appreciably changed.</div>
<div>So, basically, we know that what we have today is significantly imperf=
ect in a latency sense and getting worse and worse.</div><div><br></div><di=
v>We can acknowledge that it is a problem and engineer a solution, or=A0we =
can decide to not solve this problem, in which case we&#39;ll be forcing ev=
eryone to inline everything all the time. Bleh. Inlining is easy to mess up=
 and when messed up, can slow down page rendering time horribly.</div>
<div><br></div><div>I see a problem which exists today where we can enginee=
r a solution that will allow the infrastructure to do the right thing on be=
half of the site developers, which gives much better fine-grained control o=
ver which resources arrive in what order (which is important for above-the-=
fold user experience), and which solves the &#39;empty pipe&#39; problem th=
at currently exists with HTTP. I&#39;m not in favor of punting on this simp=
ly because the problem is difficult. :)</div>
<div><br></div><div>-=3DR</div><div><br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--0016e6dab1405f87cc04c4f7ed01--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 13:05:31 2012
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 1878411E814C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:05:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.259
X-Spam-Level: 
X-Spam-Status: No, score=-10.259 tagged_above=-999 required=5 tests=[AWL=0.339, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 UopyEGTrXtde for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:05:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5ED5F11E8088 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 13:05:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqrY6-000503-ES for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 20:05:42 +0000
Resent-Date: Mon, 16 Jul 2012 20:05:42 +0000
Resent-Message-Id: <E1SqrY6-000503-ES@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqrXy-0004xS-9I for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 20:05:34 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SqrXw-0007Mb-Gz for ietf-http-wg@w3.org; Mon, 16 Jul 2012 20:05:34 +0000
Received: by wibhm6 with SMTP id hm6so2579615wib.8 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 13:05:06 -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=iJvwJ/jwWgTQxYRje0nFyvYzhXtcMWCUfix5+djUxEs=; b=EOfvjEwSaDq2erN/stJ0Q4HEFQoLfy6OoW/TaNu3QBXHuXDLZZqBNHsLYtZ4f9vnWP ZcslfxfltqzJbU/7qmsZVQTWUN34IFK3uk5TgJVTZt6gwJQU+mCGpTYWu5qTA7dLF1IK mHdU49ibE4SaoOnQUN4F6wEBkFHQgnBUDng3UW+oBIQZLF364h/KJqYgKB0z4wJIJU4z ZuZcdV/M7buj4qEj1yiwPu+1xNCRqNaer49ryj8Mr16HJQo2YCTt4tbDLUrd299nnhfR Z79Iz+SpHdY/JSR0y2B7npkWQh6F+qHXFWFcNCkFuOC++wdS0CB7YsJ5Tpn2froDw3Xt 7bHA==
MIME-Version: 1.0
Received: by 10.180.83.106 with SMTP id p10mr20723444wiy.21.1342469105835; Mon, 16 Jul 2012 13:05:05 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Mon, 16 Jul 2012 13:05:05 -0700 (PDT)
In-Reply-To: <59971.1342467035@critter.freebsd.dk>
References: <CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQKrwVCg@mail.gmail.com> <59971.1342467035@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 13:05:05 -0700
Message-ID: <CAP+FsNdJciE+r6PiyBzh4tgpDj0Vg6+9UkuF_7c+9ZMjgzo7Yg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=f46d04428de82cde6704c4f7f258
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SqrXw-0007Mb-Gz aa941ae1ef502efc76980d8223e9ed52
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAP+FsNdJciE+r6PiyBzh4tgpDj0Vg6+9UkuF_7c+9ZMjgzo7Yg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14294
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>

--f46d04428de82cde6704c4f7f258
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 12:30 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <
> CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQKrwVCg@mail.gmail.com>
> , Roberto Peon writes:
>
> >> SPDY does nothing to address problems like User-Agent, Cookie,
> >> ASCII representation of timestamps, it just throws it all
> >> into deflate and hopes for the best.
> >
> >It is just a start. If we'd attempted all of that in the beginning I think
> >we'd have a failed effort by now.
>
> Which is why I applaud SPDY as a damn good prototype, which taught us
> a lot, for instance that shoving everything into deflate showed that
> it matters how big requests are, and that there are significant gains
> to be had.
>
> What we should do now is throw the prototype away, and design a
> serialization of HTTP which is as if not more efficient than deflate,
> and which is less hostile to HTTP routers less prone to DoS
> exploitation, and takes less memory footprint (code&data) to implement.
>


We're all here to try to do that, as far as I know.   :)
-=R


>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d04428de82cde6704c4f7f258
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 12:30 PM, Poul-H=
enning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" tar=
get=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
In message &lt;<a href=3D"mailto:CAP%2BFsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ=
%2BKYKQKrwVCg@mail.gmail.com">CAP+FsNfBaUGyrynwkWtNA6u-7P43kr0xrs3JZgJ+KYKQ=
KrwVCg@mail.gmail.com</a>&gt;<br>
<div class=3D"im">, Roberto Peon writes:<br>
<br>
&gt;&gt; SPDY does nothing to address problems like User-Agent, Cookie,<br>
&gt;&gt; ASCII representation of timestamps, it just throws it all<br>
&gt;&gt; into deflate and hopes for the best.<br>
&gt;<br>
&gt;It is just a start. If we&#39;d attempted all of that in the beginning =
I think<br>
&gt;we&#39;d have a failed effort by now.<br>
<br>
</div>Which is why I applaud SPDY as a damn good prototype, which taught us=
<br>
a lot, for instance that shoving everything into deflate showed that<br>
it matters how big requests are, and that there are significant gains<br>
to be had.<br>
<br>
What we should do now is throw the prototype away, and design a<br>
serialization of HTTP which is as if not more efficient than deflate,<br>
and which is less hostile to HTTP routers less prone to DoS<br>
exploitation, and takes less memory footprint (code&amp;data) to implement.=
<br></blockquote><div><br></div><div><br></div><div>We&#39;re all here to t=
ry to do that, as far as I know. =A0 :)</div><div>-=3DR</div><div>=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--f46d04428de82cde6704c4f7f258--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 13:14:29 2012
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 2B4CE21F8718 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:14:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 bsr4cDpnzXu2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:14:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ACCDB21F86FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 13:14:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqrgn-0007F8-ED for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 20:14:41 +0000
Resent-Date: Mon, 16 Jul 2012 20:14:41 +0000
Resent-Message-Id: <E1Sqrgn-0007F8-ED@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqrgf-0007ER-71 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 20:14:33 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sqrge-00060B-AP for ietf-http-wg@w3.org; Mon, 16 Jul 2012 20:14:33 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E57663B751; Mon, 16 Jul 2012 20:14:10 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GKE9nF060167; Mon, 16 Jul 2012 20:14:09 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 13:05:05 MST." <CAP+FsNdJciE+r6PiyBzh4tgpDj0Vg6+9UkuF_7c+9ZMjgzo7Yg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 20:14:09 +0000
Message-ID: <60166.1342469649@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sqrge-00060B-AP 7e6968b5dd5eeb90804520c398113d57
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/60166.1342469649@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14295
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>

In message <CAP+FsNdJciE+r6PiyBzh4tgpDj0Vg6+9UkuF_7c+9ZMjgzo7Yg@mail.gmail.com>
, Roberto Peon writes:

>> What we should do now is throw the prototype away, and design a
>> serialization of HTTP which is as if not more efficient than deflate,
>> and which is less hostile to HTTP routers less prone to DoS
>> exploitation, and takes less memory footprint (code&data) to implement.
>
>We're all here to try to do that, as far as I know.   :)

Well, that's not the vibe that transmits all the way over here, from
here it sounds like: "adopt SPDY as the starting point, rearrange
the deck-chairs a bit then call it HTTP/2.0"

But the proof is in the pudding:  The best way to shut me up is to do
a damn good job.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 13:48:14 2012
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 0DC0A21F86F4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:48:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.36
X-Spam-Level: 
X-Spam-Status: No, score=-9.36 tagged_above=-999 required=5 tests=[AWL=1.239, BAYES_00=-2.599, 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 I99m0TpTRSJi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:48:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 07C7221F867C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 13:48:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqsCa-0007ck-G6 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 20:47:32 +0000
Resent-Date: Mon, 16 Jul 2012 20:47:32 +0000
Resent-Message-Id: <E1SqsCa-0007ck-G6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqsCR-0007by-33 for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 20:47:23 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqsCP-0000Wm-Nj for ietf-http-wg@w3.org; Mon, 16 Jul 2012 20:47:23 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6GKkogP029948; Mon, 16 Jul 2012 22:46:50 +0200
Date: Mon, 16 Jul 2012 22:46:50 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
Message-ID: <20120716204650.GI27010@1wt.eu>
References: <CAP+FsNdJciE+r6PiyBzh4tgpDj0Vg6+9UkuF_7c+9ZMjgzo7Yg@mail.gmail.com> <60166.1342469649@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <60166.1342469649@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqsCP-0000Wm-Nj fc9426c67559a9ce7d4a2a1ad1686b6f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/20120716204650.GI27010@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14296
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 Mon, Jul 16, 2012 at 08:14:09PM +0000, Poul-Henning Kamp wrote:
> In message <CAP+FsNdJciE+r6PiyBzh4tgpDj0Vg6+9UkuF_7c+9ZMjgzo7Yg@mail.gmail.com>
> , Roberto Peon writes:
> 
> >> What we should do now is throw the prototype away, and design a
> >> serialization of HTTP which is as if not more efficient than deflate,
> >> and which is less hostile to HTTP routers less prone to DoS
> >> exploitation, and takes less memory footprint (code&data) to implement.
> >
> >We're all here to try to do that, as far as I know.   :)
> 
> Well, that's not the vibe that transmits all the way over here, from
> here it sounds like: "adopt SPDY as the starting point, rearrange
> the deck-chairs a bit then call it HTTP/2.0"
> 
> But the proof is in the pudding:  The best way to shut me up is to do
> a damn good job.

Poul-Henning, we're *really* here to improve this, I mean *really*.

When we started with Amos, I said "let's not waste our time redesigning
flow control, SPDY already has it, let's address what we don't agree with
first". We worked hard to improve a few points. The result is that we don't
have a complete proposal but something to experiment with, a PoC (and a
lib almost ready in Amos' bag).

I don't care a dime *whose* proposal is used as a basis, leave this to the
press who only sees a fight between google and microsoft to own HTTP/2. Facts
are that SPDY has the most experience. Others brought different ideas. I like
Gabriel's idea of trying to build a common layer for WS and HTTP eventhough I
don't like much the first proposal. I like the experiments we have done
consecutive to our draft eventhough I don't like at all how it's proposed
right now. I liked a lot Roy's presentation of Waka and am terribly sad it's
still not in a draft.

This is about making progress through experimentation. I mean, even if in
the end we adopt 100% of SPDY after all other attempts have failed, then we
will know it was the best tradeoff. Right now I'm far from being convinced
of that and that's why I'm motivated in experimenting with other tracks.
And I'd say even the SPDY guys are open to this.

So we're here to make engineering work, to vigorously defend our ideas,
fears and expectations, but only on technical grounds.

It's perfectly expected that some early adopters report a big success.
We should just consider this with a grain of salt when they're dealing
with monster datacenters, but they represent a valid use case. Even some
early adopters had mixed opinions, that's expected too. Some developers
have fears that are expected. All what happens here is normal and it's
not because 3-4 very satisfied implementers support one protocol that
it suddenly the protocol of everyone. However it could become de facto
if the WG cannot make progress to standardize something !

We're not here to win anything, we're here to improve HTTP so that we
don't have to implement something which causes more issues than it solves,
because in the end, we will *all* have to implement HTTP/2.0, so we must
like it first. *This* is what I'm doing here and what I hope most of us
are doing here.

It's also why I'm afraid of the timing BTW, some of us difficultly have
more time to spend on this and it's a shame because some experiments are
needed.

I also remember that in private with a few of us you proposed a draft
that you never published. There were very valid concerns here. Why do
you not share it so that good ideas can be picked from it ? It would
help a lot more than attacking the proposal that already gets support
for already being deployed at some places.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 13:50:29 2012
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 85C4811E824F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:50:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 pHGk783xp-2J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 13:50:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 898B211E813B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 13:50:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqsFN-0000lX-0X for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 20:50:25 +0000
Resent-Date: Mon, 16 Jul 2012 20:50:25 +0000
Resent-Message-Id: <E1SqsFN-0000lX-0X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SqsFE-0000kW-Qs for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 20:50:16 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SqsFD-0000cI-Hm for ietf-http-wg@w3.org; Mon, 16 Jul 2012 20:50:16 +0000
Received: by vcbgb30 with SMTP id gb30so4412111vcb.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 13:49:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=onKwNKQUQdLB5KVdo38sMy7TbazOs/ctXWhppFt/f6w=; b=wMmhwZtOrJApVrqnY+niwUa/ZGnrgeZNMQz912YJgj3QONCNPIWRYttfReGQsY5R7s I4ZKWpJs3ZHMMwZJVsDrU6/rL3ImKEV0V2LKvVcbiswSueZPGi821JDMNtMorwHBAOYY 6ke1rz6m6HphFSYMgzAPRmoYZmS6PLfHpP4rR+DzqL7ZzaQRhmES0YTs/zn9oxqWnOUM x+yzN2rnVwU77FqRrfKumpZrNlk2ya520ZxyaBKMz6LYpPAQGbytwslZH8fTLUl5i5W4 UBqmh/1SPZo4tOcvENOvIEl8Pwt2gsnYNlMXXKOLDY8voEPFmwh7YgGw7JuNphJY/ahf okvQ==
MIME-Version: 1.0
Received: by 10.221.11.197 with SMTP id pf5mr6038749vcb.29.1342471789747; Mon, 16 Jul 2012 13:49:49 -0700 (PDT)
Received: by 10.58.244.196 with HTTP; Mon, 16 Jul 2012 13:49:49 -0700 (PDT)
Date: Mon, 16 Jul 2012 13:49:49 -0700
Message-ID: <CAPik8yZG5NWLWEsbW9g+1ZjcXxGD3WRS3t-R3hrNotP9beN0GQ@mail.gmail.com>
From: Paul Hoffman <paul.hoffman@gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.220.171; envelope-from=paul.hoffman@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SqsFD-0000cI-Hm 60fbc72bdc99258cb7e967b8cf5d99f0
X-Original-To: ietf-http-wg@w3.org
Subject: New version of draft-farrell-httpbis-hoba
Archived-At: <http://www.w3.org/mid/CAPik8yZG5NWLWEsbW9g+1ZjcXxGD3WRS3t-R3hrNotP9beN0GQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14297
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>

Greetings again. Stephen Farrell and I teamed up on the -01 for
draft-farrell-httpbis-hoba. It has some major changes that might
interest this WG as we decide which authentication mechanism(s) to
adopt for HTTP 2. The proposed mechanism has changed from "TLS inside
of HTTP" to a simple challenge-response with a signed response. Also,
we propose using a .well-known URL scheme for the authentication
assistance features such as sign-up and logout. We retain the basic
property that this is an alternative to using passwords.

--Paul Hoffman

A new version of I-D, draft-farrell-httpbis-hoba-01.txt
has been successfully submitted by Paul Hoffman and posted to the
IETF repository.

Filename:	 draft-farrell-httpbis-hoba
Revision:	 01
Title:		 HTTP Origin-Bound Authentication (HOBA)
Creation date:	 2012-07-16
WG ID:		 Individual Submission
Number of pages: 11
URL:
http://www.ietf.org/internet-drafts/draft-farrell-httpbis-hoba-01.txt
Status:          http://datatracker.ietf.org/doc/draft-farrell-httpbis-hoba
Htmlized:        http://tools.ietf.org/html/draft-farrell-httpbis-hoba-01
Diff:
http://tools.ietf.org/rfcdiff?url2=draft-farrell-httpbis-hoba-01

Abstract:
  HTTP Origin-Bound Authentication (HOBA) is an HTTP authentication
  method with credentials that are not vulnerable to simple phishing
  attacks, and that does not require a server-side password database.
  It is an alternative to HTTP authentication that requires passwords
  and all the negative attributes that come with password-based
  systems.  HOBA can be integrated with account management and other
  applications running over HTTP and supports portability, so a user
  can associate more than one device or origin-bound certificate with
  the same service.  HOBA has many other useful features such as a
  mechanism to handle state-loss if one of a user's credentials is lost
  and a logout mechanism.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 14:20:17 2012
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 1F31511E826D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 14:20:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 TLOoSdqUrDqs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 14:20:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AF7A611E8241 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 14:20:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqshQ-0003yN-AZ for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 21:19:24 +0000
Resent-Date: Mon, 16 Jul 2012 21:19:24 +0000
Resent-Message-Id: <E1SqshQ-0003yN-AZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqshI-0003xX-0C for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 21:19:16 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqshF-0000R9-Ou for ietf-http-wg@w3.org; Mon, 16 Jul 2012 21:19:15 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0DEBB3B5A7; Mon, 16 Jul 2012 21:18:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6GLIpRX060439; Mon, 16 Jul 2012 21:18:51 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 22:46:50 +0200." <20120716204650.GI27010@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 16 Jul 2012 21:18:51 +0000
Message-ID: <60438.1342473531@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SqshF-0000R9-Ou f352c57f18a3ee24e7223e0307637200
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/60438.1342473531@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14298
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>

In message <20120716204650.GI27010@1wt.eu>, Willy Tarreau writes:

>I also remember that in private with a few of us you proposed a draft
>that you never published. There were very valid concerns here. Why do
>you not share it so that good ideas can be picked from it ?

The main reason that it never made it to ID, is that there quite
clearly is no room in the timeplan for the kind of fundamental
contemplation I wanted to inspire, so it seemed a waste of both
my own and everybody elses time.

There's nothing secret about it, and I don't think there is anything
in it which havn't already been mentioned in emails too:

   http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.txt

Please disregard any strangeness in the boilerplate, I may not
thrown all the right spells at xml2rfc, and also note that I have
subsequently changed my mind on certain subjects, most notably
Cookies which should simply be exterminated from HTTP/2.0, and
replaced with a stable session/identity concept which does not make
it possible or necessary for servers to store data on the clients.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 15:05:17 2012
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 DBE3D11E82B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 15:05:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.4
X-Spam-Level: 
X-Spam-Status: No, score=-9.4 tagged_above=-999 required=5 tests=[AWL=1.199, BAYES_00=-2.599, 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 zwd2gmQFuRG5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 15:05:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B0A011E82AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 15:05:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqtPH-0007DI-GL for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 22:04:43 +0000
Resent-Date: Mon, 16 Jul 2012 22:04:43 +0000
Resent-Message-Id: <E1SqtPH-0007DI-GL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqtP8-0007CX-9m for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 22:04:34 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SqtP6-00032W-NC for ietf-http-wg@w3.org; Mon, 16 Jul 2012 22:04:34 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6GM45SW030401; Tue, 17 Jul 2012 00:04:05 +0200
Date: Tue, 17 Jul 2012 00:04:05 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Mike Belshe <mike@belshe.com>
Message-ID: <20120716220405.GM27010@1wt.eu>
References: <20120716204650.GI27010@1wt.eu> <60438.1342473531@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <60438.1342473531@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqtP6-00032W-NC 03a37d99c3e420a838d7596518196619
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/20120716220405.GM27010@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14299
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 Mon, Jul 16, 2012 at 09:18:51PM +0000, Poul-Henning Kamp wrote:
> In message <20120716204650.GI27010@1wt.eu>, Willy Tarreau writes:
> 
> >I also remember that in private with a few of us you proposed a draft
> >that you never published. There were very valid concerns here. Why do
> >you not share it so that good ideas can be picked from it ?
> 
> The main reason that it never made it to ID, is that there quite
> clearly is no room in the timeplan for the kind of fundamental
> contemplation I wanted to inspire, so it seemed a waste of both
> my own and everybody elses time.
> 
> There's nothing secret about it, and I don't think there is anything
> in it which havn't already been mentioned in emails too:
> 
>    http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.txt

Thank you.

> Please disregard any strangeness in the boilerplate, I may not
> thrown all the right spells at xml2rfc, and also note that I have
> subsequently changed my mind on certain subjects, most notably
> Cookies which should simply be exterminated from HTTP/2.0, and
> replaced with a stable session/identity concept which does not make
> it possible or necessary for servers to store data on the clients.

It's normal to change one's mind. We're designing. I changed mine
several times on some subject and am not ashamed of this. You even
made me change my mind about some points on the encoding. That's fine.

That's a point where I agree with Mike when he constantly repeats
"show me the data". Of course producing data take a huge amount of
time but in the end we know why we want the things one way or another.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 16:57:07 2012
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 A445021F86A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 16:57:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.192
X-Spam-Level: 
X-Spam-Status: No, score=-9.192 tagged_above=-999 required=5 tests=[AWL=1.407, BAYES_00=-2.599, 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 q7UzUXRSxDuS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 16:57:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3C60F21F86AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 16:57:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqv9G-00075A-0V for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jul 2012 23:56:18 +0000
Resent-Date: Mon, 16 Jul 2012 23:56:18 +0000
Resent-Message-Id: <E1Sqv9G-00075A-0V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sqv95-000741-Kw for ietf-http-wg@listhub.w3.org; Mon, 16 Jul 2012 23:56:07 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sqv94-00071B-Ha for ietf-http-wg@w3.org; Mon, 16 Jul 2012 23:56:07 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 09B1822E1F4; Mon, 16 Jul 2012 19:55:43 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
Date: Tue, 17 Jul 2012 09:55:40 +1000
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <CE89FDDA-804C-4839-9075-0DDB7B4A3816@mnot.net>
References: <CAMm+LwhkvtPOVV=hi2TcYQ9F46Pf459m4Pj309VkHg6NOOYqyg@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sqv94-00071B-Ha c23863c4ee79b98cd81df289b3330fa1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Implementing SPDY, is a day a meaningful criteria?
Archived-At: <http://www.w3.org/mid/CE89FDDA-804C-4839-9075-0DDB7B4A3816@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14300
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>

Phillip,

I gave my feedback on that way back when we started all of this, in =
<http://www.w3.org/mid/0C615921-7EE0-4E53-93F9-8B406D1561A1@mnot.net> (I =
see we're rehashing that thread in more ways than once now).

Regards,


On 16/07/2012, at 11:43 PM, Phillip Hallam-Baker wrote:

> How easy is it to implement SPDY, does the 'implement in a day'
> criteria make any sense?
>=20
> I have written a LOT of HTTP clients and more than a few servers. I
> know that it is possible to hack 'something' together in a day and
> that implementing a full HTTP/1.1 will take considerably longer. So
> (1) what level of implementation are we talking about and (2) what
> support libraries are we including?
>=20
> Implementing a text based protocol like HTTP is easy in C because
> stdlib gives you 70% of the code ready made. Implementing HTTP in Perl
> or the like is even easier as it provides the parsing ready made.
>=20
> Take away those support libraries and implementation takes longer, a
> lot longer. Give people a similar library for SPDY and maybe the
> difficulty of implementation becomes equal. It might become easier.
>=20
>=20
> What I really care about is not how long it takes to code HTTP/2.0.
> There are going to be so many libraries floating about that it does
> not matter much. What I care about is not how long it takes to
> implement but if I can implement on restricted chips like embedded
> control systems. So code footprint is more important to me than
> time-to-implement. And I think it is a more objectively fair test.
>=20
>=20
>=20
> --=20
> Website: http://hallambaker.com/
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 17:22:08 2012
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 7B15211E811A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 17:22:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.202
X-Spam-Level: 
X-Spam-Status: No, score=-9.202 tagged_above=-999 required=5 tests=[AWL=1.397, BAYES_00=-2.599, 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 p0QrW3CQv9gd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 17:22:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1D41011E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 17:22:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqvXm-0001ue-3N for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 00:21:38 +0000
Resent-Date: Tue, 17 Jul 2012 00:21:38 +0000
Resent-Message-Id: <E1SqvXm-0001ue-3N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqvXc-0001sg-Tx for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 00:21:28 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SqvXb-0007ks-HG for ietf-http-wg@w3.org; Tue, 17 Jul 2012 00:21:28 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C3DCF22E253; Mon, 16 Jul 2012 20:21:04 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com>
Date: Tue, 17 Jul 2012 10:21:01 +1000
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <12427051-01B9-4FDA-9E94-99B01CC5893B@mnot.net>
References: <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com> <59061.1342448594@critter.freebsd.dk> <CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqvXb-0007ks-HG ce15e037909dd2c5055cd8c57875710d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/12427051-01B9-4FDA-9E94-99B01CC5893B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14301
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 17/07/2012, at 12:58 AM, Yutaka OIWA wrote:

> Dear Poul,
>=20
> 2012/7/16 Poul-Henning Kamp <phk@phk.freebsd.dk>:
>> In message =
<CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
>> , Yutaka OIWA writes:
>>=20
>>>>> If an HTTP header field incorrectly carries a date value with a =
time zone other than GMT, it must be converted into GMT using the most =
conservative possible conversion.
>>>>=20
>>>> What does "most conservative" mean?
>>=20
>>=20
>>> My personal proposal is instead of adding any examples, state it =
like "it may be
>>> converted to GMT using whatever methods they think appropriate",
>>=20
>> As a time-geek, I would caution against that, because names of =
timezones
>> are politically chosen and both their definition and naming is highly
>> fragile in various parts of the world.
>=20
> Yes, that's why I am proposing to remove any clauses that
> morally require people to parse wrong dates "correctly".
> I think my proposal is along with, not against your suggested =
direction.
> # The original text requests people to parse these appropriately and
> conservatively.
>=20
>> Given that it is a class-A fuckup to send wrong dates, I will =
advocate
>> that such timestamps SHOULD be ignored, but CAN be interpreted on a
>> best-effort basis.
>=20
> +1 on default to ignore.  That's one step further beyond my proposal =
and
> it makes sense.
> But I am not sure, are there any HTTP date-related headers for which
> ignoring is more dangerous than guessing?


Perhaps the simplest thing, then, is to change the requirement to:

    HTTP header fields with time zones other than "GMT" SHOULD be =
considered invalid.

Our approach to conformance already allows implementations to try to =
recover an invalid field, but the responsibility (and risk) is upon them =
when doing so.

Expires can't be ignored, but it already defines what to do when it's =
invalid;

> A cache must treat other invalid date formats, especially including =
the value "0", as in the past (i.e., "already expired").

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 20:32:42 2012
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 4FBE511E8086 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 20:32:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.901
X-Spam-Level: 
X-Spam-Status: No, score=-9.901 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 m5p0ff-pjjiZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 20:32:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 613CB11E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 20:32:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqyV5-0004Nt-9F for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 03:31:03 +0000
Resent-Date: Tue, 17 Jul 2012 03:31:03 +0000
Resent-Message-Id: <E1SqyV5-0004Nt-9F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqyUv-0004Mn-Ec for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 03:30:53 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SqyUt-0005er-L2 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 03:30:53 +0000
Received: by lbom4 with SMTP id m4so49757lbo.2 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 20:30:24 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=s1+iHuGg4SXHwOAYw01+zAJyRcEr2SXxAnbJN6uEBAw=; b=LciROxuEN4Jf85yyzPLwuXFZeKy5H5maHqK+R1QVk9D0KIH27femBMBlIU4/NIiwot OzI6cuxBQVd2pMrIXSPrvpKHmQT386LKkRMEEpNLCyNRLO/Y3BeO8Y9Zud+EVc/epQMQ wLC1aHKDktZCQBjgo/+lO/8YFDiA+wzsp8QobEvE/YDt+IMPhiHpx9ARN0GsBF8dAJT8 Z4INpXYFGpP7cixt0IneOvkhJGcESU+Yy7zoCzGP3Vh4uhEYs2uvW8JtVRu6EKN6w1d5 UMzWJXSR1liKGHQ7UEzS9XZnSGP6OGwYcDwjW4m6rePovZ3gklBaoY6DMpsdwzNVDpA6 JcgQ==
MIME-Version: 1.0
Received: by 10.112.29.131 with SMTP id k3mr442476lbh.53.1342495824272; Mon, 16 Jul 2012 20:30:24 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 16 Jul 2012 20:30:24 -0700 (PDT)
In-Reply-To: <60438.1342473531@critter.freebsd.dk>
References: <20120716204650.GI27010@1wt.eu> <60438.1342473531@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 20:30:24 -0700
Message-ID: <CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_WohVxA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>,  Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=bcaec554d606b7dda704c4fe2ace
X-Gm-Message-State: ALoCoQk2g+Po6ctarcDrAinbOjbhPJiVEN4CQ4jzSRNguXVFqYHUAtyTBNZ7aigy8nwD/EjoBtAm
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SqyUt-0005er-L2 07c2c8c12c5c79f048408cd1cc2d0091
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_WohVxA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14302
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>

--bcaec554d606b7dda704c4fe2ace
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 2:18 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <20120716204650.GI27010@1wt.eu>, Willy Tarreau writes:
>
> >I also remember that in private with a few of us you proposed a draft
> >that you never published. There were very valid concerns here. Why do
> >you not share it so that good ideas can be picked from it ?
>
> The main reason that it never made it to ID, is that there quite
> clearly is no room in the timeplan for the kind of fundamental
> contemplation I wanted to inspire, so it seemed a waste of both
> my own and everybody elses time.
>
> There's nothing secret about it, and I don't think there is anything
> in it which havn't already been mentioned in emails too:
>
>
> http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.txt


This is not a spec - you can't implement anything from this.

It's just a long winded, I-D resembling rant against SPDY.

As usual from this author, it does not cite data, evidence or
implementation experience.

Sigh.

Mike



>
>
> Please disregard any strangeness in the boilerplate, I may not
> thrown all the right spells at xml2rfc, and also note that I have
> subsequently changed my mind on certain subjects, most notably
> Cookies which should simply be exterminated from HTTP/2.0, and
> replaced with a stable session/identity concept which does not make
> it possible or necessary for servers to store data on the clients.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--bcaec554d606b7dda704c4fe2ace
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 2:18 PM, Poul-He=
nning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" targ=
et=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"im">In message &lt;<a href=3D"mailto:20120716204650.GI27010@1=
wt.eu">20120716204650.GI27010@1wt.eu</a>&gt;, Willy Tarreau writes:<br>
<br>
&gt;I also remember that in private with a few of us you proposed a draft<b=
r>
&gt;that you never published. There were very valid concerns here. Why do<b=
r>
&gt;you not share it so that good ideas can be picked from it ?<br>
<br>
</div>The main reason that it never made it to ID, is that there quite<br>
clearly is no room in the timeplan for the kind of fundamental<br>
contemplation I wanted to inspire, so it seemed a waste of both<br>
my own and everybody elses time.<br>
<br>
There&#39;s nothing secret about it, and I don&#39;t think there is anythin=
g<br>
in it which havn&#39;t already been mentioned in emails too:<br>
<br>
=A0 =A0<a href=3D"http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-arc=
hitecture-01.txt" target=3D"_blank">http://phk.freebsd.dk/misc/draft-kamp-h=
ttpbis-http-20-architecture-01.txt</a></blockquote><div><br></div><div>This=
 is not a spec - you can&#39;t implement anything from this.</div>
<div><br></div><div>It&#39;s just a long winded, I-D resembling rant agains=
t SPDY. =A0</div><div><br></div><div>As usual from this author, it does not=
 cite data, evidence or implementation experience. =A0</div><div><br></div>
<div>Sigh.</div><div><br></div><div>Mike</div><div><br></div><div>=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
<br>
Please disregard any strangeness in the boilerplate, I may not<br>
thrown all the right spells at xml2rfc, and also note that I have<br>
subsequently changed my mind on certain subjects, most notably<br>
Cookies which should simply be exterminated from HTTP/2.0, and<br>
replaced with a stable session/identity concept which does not make<br>
it possible or necessary for servers to store data on the clients.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--bcaec554d606b7dda704c4fe2ace--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 22:04:21 2012
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 7802121F8616 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 22:04:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 klvHYQJPy+34 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 22:04:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A62DD21F8615 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 22:04:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sqzwc-0001lN-IJ for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 05:03:34 +0000
Resent-Date: Tue, 17 Jul 2012 05:03:34 +0000
Resent-Message-Id: <E1Sqzwc-0001lN-IJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqzwS-0001kc-Nv for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 05:03:24 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SqzwR-0000gg-9M for ietf-http-wg@w3.org; Tue, 17 Jul 2012 05:03:24 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 3CD3D3B745; Tue, 17 Jul 2012 05:03:01 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H52xE1061933; Tue, 17 Jul 2012 05:03:00 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 20:30:24 MST." <CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_WohVxA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 05:02:59 +0000
Message-ID: <61932.1342501379@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SqzwR-0000gg-9M 9192fdaabc90a98990903ed1b55f64ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/61932.1342501379@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14303
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>

In message <CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_WohVxA@mail.gmail.com>
, Mike Belshe writes:

>> http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.txt
>
>This is not a spec - you can't implement anything from this.

Which part of
	"Before rushing into standardization of HTTP/2.0 based on
	past experience and grievances with HTTP/1.1, we should
	examine what the architecture underlying the next 10-20
	years of web-browsing must do for us."

Didn't you understand ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 22:57:36 2012
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 7404021F85AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 22:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.437
X-Spam-Level: 
X-Spam-Status: No, score=-9.437 tagged_above=-999 required=5 tests=[AWL=1.162, BAYES_00=-2.599, 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 WqkHzGk-51aF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 22:57:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D53D021F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 22:57:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr0mV-00036O-Ls for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 05:57:11 +0000
Resent-Date: Tue, 17 Jul 2012 05:57:11 +0000
Resent-Message-Id: <E1Sr0mV-00036O-Ls@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sr0mN-00035d-FH for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 05:57:03 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sr0mM-0002Re-7R for ietf-http-wg@w3.org; Tue, 17 Jul 2012 05:57:03 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6H5uJRX032032; Tue, 17 Jul 2012 07:56:19 +0200
Date: Tue, 17 Jul 2012 07:56:19 +0200
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Mike Belshe <mike@belshe.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Message-ID: <20120717055619.GA30530@1wt.eu>
References: <50029522.5030705@treenet.co.nz> <CAEXHauqA-UmE7BQ6vn2BmojMUSG0kV9LsgE1RkTHxbYEu_wWiA@mail.gmail.com> <50029BA2.5020606@gmx.de> <CAP+FsNfse7cfejvuL+dtAp98BhEzy01dBVa8SwnvJtFdctFsVg@mail.gmail.com> <20120715172751.GA22790@1wt.eu> <CABaLYCuO9qokPH9XpFeg7ZdiN1EVH=hMyTTf+f3VfHZ_z60e6g@mail.gmail.com> <20120716055514.GC22790@1wt.eu> <1342441888.16408.127.camel@ds9>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1342441888.16408.127.camel@ds9>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr0mM-0002Re-7R 50c42c67d03974c7cca22504da773a3b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120717055619.GA30530@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14305
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 Pat,

On Mon, Jul 16, 2012 at 08:31:28AM -0400, Patrick McManus wrote:
> On Mon, 2012-07-16 at 07:55 +0200, Willy Tarreau wrote:
> 
> > OK but some data may end up in the client's cache without having been
> > requested by him. I don't think it has a high technical impact, but it
> > may rather be a legal one in some cases. In fact it's a delicate question.
> 
> I hesitate to comment, because I've only got a partial push
> implementation for firefox (and that's on hold right now just due to
> other priorities) - but the approach I've taken helps I think. Pushed
> resources are kept in a partitioned cache that is scoped to just the 1
> "associated-to" resource that triggered the push. When the associated-to
> resource goes away so does the pushed cache (and is never persisted to
> disk). Documents are promoted out of this micro cache into the real
> profile-wide cache when a request is made for them as a sub-resource of
> the associated-to resource and they "hit" in the micro cache.

It seems to make sense indeed and it's probably the easiest way to
implement it.

Thanks for the insights,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 22:57:36 2012
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 89B9C21F85A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 22:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.861
X-Spam-Level: 
X-Spam-Status: No, score=-8.861 tagged_above=-999 required=5 tests=[AWL=1.738, BAYES_00=-2.599, 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 dZpkvSAM8qNg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 22:57:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED02921F85AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 22:57:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr0mL-00035a-IU for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 05:57:01 +0000
Resent-Date: Tue, 17 Jul 2012 05:57:01 +0000
Resent-Message-Id: <E1Sr0mL-00035a-IU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr0mC-00034k-OH for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 05:56:52 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr0mB-0002RN-5j for ietf-http-wg@w3.org; Tue, 17 Jul 2012 05:56:52 +0000
Received: (qmail invoked by alias); 17 Jul 2012 05:56:22 -0000
Received: from p54BB2248.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.34.72] by mail.gmx.net (mp039) with SMTP; 17 Jul 2012 07:56:22 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/kRB8VnYTkLC7f/hEs1OE4CdsC9pzvYYyqFfvEXK kLtadbvCz2bvrH
Message-ID: <5004FE7E.9010300@gmx.de>
Date: Tue, 17 Jul 2012 07:56:14 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Yutaka OIWA <y.oiwa@aist.go.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>
References: <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com> <59061.1342448594@critter.freebsd.dk> <CAMeZVwuXo8L6yOKzbVWT9bXNO02oEpv4Hwu6pqFht4Ax52hXXw@mail.gmail.com> <12427051-01B9-4FDA-9E94-99B01CC5893B@mnot.net>
In-Reply-To: <12427051-01B9-4FDA-9E94-99B01CC5893B@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr0mB-0002RN-5j ebfe99b76e2552ba765faa7e7948761a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/5004FE7E.9010300@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14304
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 2012-07-17 02:21, Mark Nottingham wrote:
> On 17/07/2012, at 12:58 AM, Yutaka OIWA wrote:
>
>> Dear Poul,
>>
>> 2012/7/16 Poul-Henning Kamp <phk@phk.freebsd.dk>:
>>> In message <CAMeZVwscuX986t9KMD0eXou-fgHUG8DBBkx2++AbJAt0gDs+Ng@mail.gmail.com>
>>> , Yutaka OIWA writes:
>>>
>>>>>> If an HTTP header field incorrectly carries a date value with a time zone other than GMT, it must be converted into GMT using the most conservative possible conversion.
>>>>>
>>>>> What does "most conservative" mean?
>>>
>>>
>>>> My personal proposal is instead of adding any examples, state it like "it may be
>>>> converted to GMT using whatever methods they think appropriate",
>>>
>>> As a time-geek, I would caution against that, because names of timezones
>>> are politically chosen and both their definition and naming is highly
>>> fragile in various parts of the world.
>>
>> Yes, that's why I am proposing to remove any clauses that
>> morally require people to parse wrong dates "correctly".
>> I think my proposal is along with, not against your suggested direction.
>> # The original text requests people to parse these appropriately and
>> conservatively.
>>
>>> Given that it is a class-A fuckup to send wrong dates, I will advocate
>>> that such timestamps SHOULD be ignored, but CAN be interpreted on a
>>> best-effort basis.
>>
>> +1 on default to ignore.  That's one step further beyond my proposal and
>> it makes sense.
>> But I am not sure, are there any HTTP date-related headers for which
>> ignoring is more dangerous than guessing?
>
>
> Perhaps the simplest thing, then, is to change the requirement to:
>
>      HTTP header fields with time zones other than "GMT" SHOULD be considered invalid.
>
> Our approach to conformance already allows implementations to try to recover an invalid field, but the responsibility (and risk) is upon them when doing so.
>
> Expires can't be ignored, but it already defines what to do when it's invalid;
> ...

Sounds right to me.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 23:21:55 2012
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 7366021F857A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:21:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 RV4+lc9oXtK1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:21:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9552421F854E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 23:21:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr1A7-0006zm-U6 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 06:21:35 +0000
Resent-Date: Tue, 17 Jul 2012 06:21:35 +0000
Resent-Message-Id: <E1Sr1A7-0006zm-U6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr19z-0006yc-Mc for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 06:21:27 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr19t-0003Ga-PY for ietf-http-wg@w3.org; Tue, 17 Jul 2012 06:21:23 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E27FA3B5A7; Tue, 17 Jul 2012 06:20:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H6KwJj062128; Tue, 17 Jul 2012 06:20:58 GMT (envelope-from phk@phk.freebsd.dk)
To: Julian Reschke <julian.reschke@gmx.de>
cc: Mark Nottingham <mnot@mnot.net>, Yutaka OIWA <y.oiwa@aist.go.jp>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 07:56:14 +0200." <5004FE7E.9010300@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 06:20:58 +0000
Message-ID: <62127.1342506058@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr19t-0003Ga-PY cd7a1f515cb62ed85494d7dc57cd77ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/62127.1342506058@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14306
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>

In message <5004FE7E.9010300@gmx.de>, Julian Reschke writes:
>On 2012-07-17 02:21, Mark Nottingham wrote:

>> Perhaps the simplest thing, then, is to change the requirement to:
>>
>>      HTTP header fields with time zones other than "GMT" SHOULD be considered invalid.
>>
>> Our approach to conformance already allows implementations to try to recover an invalid field, but the responsibility (and risk) is upon them when doing so.
>>
>> Expires can't be ignored, but it already defines what to do when it's invalid;
>> ...
>
>Sounds right to me.

And me too.

... even though it pains my inner time-nut that "UTC" would not
be an acceptable alias for UTC in this case :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 23:24:22 2012
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 AD5DD11E80B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:24:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 UZwTlcWBUZnL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:24:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1BB6D11E80B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 23:24:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr1D8-0007Qo-0D for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 06:24:42 +0000
Resent-Date: Tue, 17 Jul 2012 06:24:42 +0000
Resent-Message-Id: <E1Sr1D8-0007Qo-0D@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr1Cz-0007OJ-O1 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 06:24:33 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr1Cy-0003y3-SZ for ietf-http-wg@w3.org; Tue, 17 Jul 2012 06:24:33 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id A5B873B5A7; Tue, 17 Jul 2012 06:24:11 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H6OAGV062160; Tue, 17 Jul 2012 06:24:10 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Patrick McManus <pmcmanus@mozilla.com>, Mike Belshe <mike@belshe.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 07:56:19 +0200." <20120717055619.GA30530@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 06:24:10 +0000
Message-ID: <62159.1342506250@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr1Cy-0003y3-SZ 05f9b1f51e6d0bdde39b15bcf1f0ed6c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/62159.1342506250@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14307
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>

In message <20120717055619.GA30530@1wt.eu>, Willy Tarreau writes:
>On Mon, Jul 16, 2012 at 08:31:28AM -0400, Patrick McManus wrote:

>> I hesitate to comment, because I've only got a partial push
>> implementation for firefox (and that's on hold right now just due to
>> other priorities) - but the approach I've taken helps I think. Pushed
>> resources are kept in a partitioned cache that is scoped to just the 1
>> "associated-to" resource that triggered the push. When the associated-to
>> resource goes away so does the pushed cache (and is never persisted to
>> disk). Documents are promoted out of this micro cache into the real
>> profile-wide cache when a request is made for them as a sub-resource of
>> the associated-to resource and they "hit" in the micro cache.
>
>It seems to make sense indeed and it's probably the easiest way to
>implement it.

Uhm, doesn't this lead to incredible cache-bloat ?

	index.html + {style.css, logo.png...}
	article.html?art=1 + {style.css, logo.png...}
	article.html?art=2 + {style.css, logo.png...}
	article.html?art=3 + {style.css, logo.png...}
	...

Or did I misunderstand something ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 23:33:37 2012
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 224AB11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:33:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Q3uq-6hq1wo8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:33:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2681521F859E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 23:33: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 1Sr1LS-00051i-SU for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 06:33:18 +0000
Resent-Date: Tue, 17 Jul 2012 06:33:18 +0000
Resent-Message-Id: <E1Sr1LS-00051i-SU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1Sr1LK-0004yN-6v for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 06:33:10 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1Sr1L9-0003kK-4q for ietf-http-wg@w3.org; Tue, 17 Jul 2012 06:33:00 +0000
Received: by wgbdt14 with SMTP id dt14so52624wgb.26 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 23:32:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=nBQe4hl45Yv15Ho4DRKwAp1u0Fh0JsHohy5NU+/hoCY=; b=MKuuguZ/h5xQMWI9DTpR+fPdp+FzVTTjq08Jg32mksfRlMGoWJsF35SSLmULHZH2yv nuGgyu/zVSHQQOrt1sjkRTQ9eCpBo0nNor2pjVDQ18L/j3K2PM0+eepWWX0QMYHAxGb3 9ekjPWKcHgHmm+4LlPsh1T4WimpGXDekqtuJBvpGwc/NcvkMHp5eNkqRBs2ls+PO6HHX giZOj2Y2UL5qLqqKYqCO982RuU/kLXyjJPaFPc3VPL/mvv9ojPwU/u+i5NhZlyYWkJNf OiMKLhL1gPaoLRNYHmCdI5clMDXgRH7GlRiTbLG6ZfANEmHjEq/u6dvAfgV2C18KcgSG qvYg==
MIME-Version: 1.0
Received: by 10.180.109.195 with SMTP id hu3mr1385591wib.8.1342506330625; Mon, 16 Jul 2012 23:25:30 -0700 (PDT)
Received: by 10.217.5.198 with HTTP; Mon, 16 Jul 2012 23:25:30 -0700 (PDT)
X-Originating-IP: [216.243.35.32]
In-Reply-To: <60438.1342473531@critter.freebsd.dk>
References: <20120716204650.GI27010@1wt.eu> <60438.1342473531@critter.freebsd.dk>
Date: Mon, 16 Jul 2012 23:25:30 -0700
Message-ID: <CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
From: Brian Pane <brianp@brianp.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQlSY3rZxHzxouGxT5BbnUIifbQ2/4+4KusNfILP4bFbWdHyvQ+GR2srKFYpvkdSbLjwQnqP
Received-SPF: none client-ip=74.125.82.45; envelope-from=brianp@brianp.net; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sr1L9-0003kK-4q 46cf6a9d69f1abefb444da3d39015662
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14308
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 Mon, Jul 16, 2012 at 2:18 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <20120716204650.GI27010@1wt.eu>, Willy Tarreau writes:
>
>>I also remember that in private with a few of us you proposed a draft
>>that you never published. There were very valid concerns here. Why do
>>you not share it so that good ideas can be picked from it ?
>
> The main reason that it never made it to ID, is that there quite
> clearly is no room in the timeplan for the kind of fundamental
> contemplation I wanted to inspire, so it seemed a waste of both
> my own and everybody elses time.
>
> There's nothing secret about it, and I don't think there is anything
> in it which havn't already been mentioned in emails too:
>
>    http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.txt

Thanks for sharing this.  Here are some thoughts on it, from my
perspective as a person who develops load balancers for a living:

My key takeaway from your draft is that you're advocating for HTTP/2.0
to have a wire format that can be parsed with efficiency much closer
to TCP (fixed-sized fields, binary values, both the code and the data
can fit in a small number of cache lines) than to HTTP/1.1
(variable-length fields with nontrivial delimiter semantics, ASCII
values, not-at-all-compact data, parsing code ends up being large and
full of conditional branches).

On one hand, that concept has a definite appeal.  In ever web server,
proxy, and load balancer on which I've ever worked, HTTP parsing has
been embarrassingly expensive.  On the other hand, that embarrassingly
expensive parsing cost still tends to be only a single-digit
percentage of total CPU usage in real-world proxies.  So is it
worthwhile to reduce that parsing cost?  Well, it depends on the
tradeoffs we have to make in the process.

Section 9.1 defines a very small set of message components that are
available to the "HTTP router" in an efficient representation.  An
HTTP router will have fast access to the requested path, the requested
hostname, and a session ID, plus everything in the L3 and L4 headers.
That's a proper subset of the things a load balancer can use to choose
a destination.  It's an adequate subset for some sites, but not for
others.  In my own experience working at websites ranging from tiny to
very large, the ones with very high traffic also had complicated load
balancing rules - e.g., routing traffic based on cookies that
persisted across sessions, routing based on query parameters, and even
routing based on custom headers inserted by a previous hop in a
multi-tier hierarchy.  In the terminology of section 9.2, the larger
sites needed "regular HTTP proxies."  In my terminology, they needed
load balancers.  In marketing terminology, they needed Application
Delivery Controllers.

But that's just my experience.  In general, the concept of
representing a few commonly-referenced message components in a
lightweight, cheap-to-parse format might be useful to people, and it's
something that could be added into a design like SPDY or HTTP
Speed+Mobility.

I think it would be illuminating to hear from some people who have
sites with 1) very high traffic (big enough to care about high-speed
request parsing and routing), 2) complicated enough load balancing
needs that they're doing L7 rather than L4 load balancing, and 3)
simple enough load balancing needs that the fields outlined in section
9.1 would suffice.  Those folks may have some good empirical data to
help show whether there's a general need for an "HTTP-router-friendly"
optimization in HTTP/2.0.

-Brian


From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 23:37:12 2012
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 E523F11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:37:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.472
X-Spam-Level: 
X-Spam-Status: No, score=-9.472 tagged_above=-999 required=5 tests=[AWL=1.127, BAYES_00=-2.599, 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 E9Kn+Q1BvIJ4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:37:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4811811E80BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 23:37:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr1PX-0007Lj-QA for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 06:37:31 +0000
Resent-Date: Tue, 17 Jul 2012 06:37:31 +0000
Resent-Message-Id: <E1Sr1PX-0007Lj-QA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sr1PO-0007Jv-Rz for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 06:37:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sr1PN-0004Ud-99 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 06:37:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6H6alal032255; Tue, 17 Jul 2012 08:36:47 +0200
Date: Tue, 17 Jul 2012 08:36:47 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Mike Belshe <mike@belshe.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
Message-ID: <20120717063647.GC30530@1wt.eu>
References: <20120717055619.GA30530@1wt.eu> <62159.1342506250@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <62159.1342506250@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr1PN-0004Ud-99 00e619bbee9b6d7399218872724946b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120717063647.GC30530@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14309
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 Tue, Jul 17, 2012 at 06:24:10AM +0000, Poul-Henning Kamp wrote:
> In message <20120717055619.GA30530@1wt.eu>, Willy Tarreau writes:
> >On Mon, Jul 16, 2012 at 08:31:28AM -0400, Patrick McManus wrote:
> 
> >> I hesitate to comment, because I've only got a partial push
> >> implementation for firefox (and that's on hold right now just due to
> >> other priorities) - but the approach I've taken helps I think. Pushed
> >> resources are kept in a partitioned cache that is scoped to just the 1
> >> "associated-to" resource that triggered the push. When the associated-to
> >> resource goes away so does the pushed cache (and is never persisted to
> >> disk). Documents are promoted out of this micro cache into the real
> >> profile-wide cache when a request is made for them as a sub-resource of
> >> the associated-to resource and they "hit" in the micro cache.
> >
> >It seems to make sense indeed and it's probably the easiest way to
> >implement it.
> 
> Uhm, doesn't this lead to incredible cache-bloat ?
> 
> 	index.html + {style.css, logo.png...}
> 	article.html?art=1 + {style.css, logo.png...}
> 	article.html?art=2 + {style.css, logo.png...}
> 	article.html?art=3 + {style.css, logo.png...}
> 	...
> 
> Or did I misunderstand something ?

You're right, I remember we discussed this point with Robert in Paris.
I think that there should be a way for the client to tell the server
either that it already has some objects (though that's not easy). One
point was that the client can abort the retrieval in one round trip,
so in the end, the worst that may happen is that the download link is
filled with data you already have during one RTT, which means you
download up to the BDP extra data. It can be a concern with overloaded
uplinks though.

I tried to think about ways to avoid this using some date headers in
requests but there is no way you can tell you're up to date with just
this. The referrer might help the server guess you don't need some
shared objects though.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jul 16 23:52:42 2012
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 39B4F21F85A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:52:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.773
X-Spam-Level: 
X-Spam-Status: No, score=-9.773 tagged_above=-999 required=5 tests=[AWL=0.825, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 yG4--+5QpgG2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jul 2012 23:52:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2AC9721F857A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jul 2012 23:52:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr1e4-00073Z-TS for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 06:52:32 +0000
Resent-Date: Tue, 17 Jul 2012 06:52:32 +0000
Resent-Message-Id: <E1Sr1e4-00073Z-TS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr1du-00072R-Ro for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 06:52:22 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr1dp-0005Af-F5 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 06:52:22 +0000
Received: by wibhm6 with SMTP id hm6so2877008wib.8 for <ietf-http-wg@w3.org>; Mon, 16 Jul 2012 23:51:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=WWEpZLSzUPvxC07mSlAWvphVdRao78HIBZZMfQodERU=; b=yDXR7clHagmk9jiSgPqiA9K1HYuGkwfSVA9aZG8XLKUt/h31M1t4Ql1HkQyF53+pu+ lx/tx/BjihjW5YNFOOP6hSQpb3Niy31FCf2GQrNDhzzKTaGwyJNNQlm7qMtVNiJx7ZNK kdgUa36wz8A37zGEFXIQgXmjUJ/y8sB9hSAKWtEIVJBfrLsT1jTNuq4JYyhPpJl7URH2 GtNLCQHBJpf4mqSDdMvd+HomP+FQHNEUUMctnTQSVE/ac0YpTF+ltkQCVPk8V/6/0aS3 fovT5Jl0y27mBwTFjQpwOBniJSTMEWNGxU5O2bx2lazeHu2pH/ekI+HmfoXIXEN1pJuf dFlw==
Received: by 10.216.237.193 with SMTP id y43mr740735weq.75.1342507910796; Mon, 16 Jul 2012 23:51:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Mon, 16 Jul 2012 23:51:30 -0700 (PDT)
In-Reply-To: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 16 Jul 2012 23:51:30 -0700
Message-ID: <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0015175774fe2194e704c500fb3d
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr1dp-0005Af-F5 ef2dbd83f506d362e01145986a7edec9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14310
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>

--0015175774fe2194e704c500fb3d
Content-Type: text/plain; charset=UTF-8

Ok... spent some time this evening playing around with the header frame
syntax a bit more to see what further optimizations could be made and to
see if the binary encoded header id's made any noticeable difference in
size and ease of processing.

Here's the revised structure I played around with...

1. Within a HEADER block, I assume two possible types of headers,
REGISTERED and EXTENSION. A REGISTERED header is one that would be known to
the registrar and assigned a numeric id and a codepage. If the codepage is
0, the implication is that the header is MUST UNDERSTAND and is considered
one of the core headers for the basic operation of the protocol. Codepages
1-9 are MUST-IGNORE... that is, if a user-agent or server comes across a
header on these code pages that is not understood, the header can simply be
ignored. Codepages 10-14 are PRIVATE USE, with Codepage 10 being reserved
for MUST UNDERSTAND PRIVATE USE headers. EXTENSION headers are simple name
value pairs essentially as they exist today.

2. Within extension headers, the name portion MUST be ASCII and MUST NOT be
longer than 255 bytes (quite generous really).

3. Values may be binary or character based, as indicated by a flags field.
Values may be up to max(int32) in length.

4. Registered HTTP Methods can be identified by numeric value. Extension
Methods can be identified by character value.

5. The structure for REGISTERED HEADERS is...

  +------------------------------+
  |0| id (15-bit)| flags(8-bit)  |
  +------------------------------+
  | len (32-bit) |     value     |
  +------------------------------+

6. The structure for EXTENSION HEADERS is...

  +------------------------------+
  |1| flags(7-bit) | namelen (8) |
  +------------------------------+
  | name | val len (32) | value  |
  +------------------------------+

Assuming the following registered headers...

  public static final short VERSION = 1;
  public static final short METHOD = 2;
  public static final short HOST = 3;
  public static final short SESSION = 4;
  public static final short CHARSET = 5;
  public static final short REQUEST_URI = 6;
  public static final short ACCEPT_LANG = 4097;

And the following registered methods...

  public static final byte GET = 1;
  public static final byte POST = 2;
  public static final byte PUT = 3;
  public static final byte DELETE = 4;
  public static final byte PATCH = 5;
  public static final byte HEAD = 6;
  public static final byte OPTIONS = 7;

Let's assume that what we want to to encode a HTTP GET for resource:
  http://www.example.org/this/is/the/request?is=it&not=beautiful

With a session identifier of "session_key", ACCEPT_LANG = en-US and default
charset encoding for all character based header values is "US-ASCII"...
Let's also add an extension header "ext" with value "foo"...

The Version header can be encoded as:
  {0, 1, 0, 0, 0, 0, 2, 2, 0}

The GET Method header can be encoded as:
  {0, 2, 0, 0, 0, 0, 1, 1}

The Host header would be encoded as:
  {  0,   3,   1,  0,   0,   0,  15, 119, 119, 119,
    46, 101, 120, 97, 109, 112, 108, 101,  46, 111,
   114, 103}

The Accept-Lang header would be encoded as:
  {16, 1, 1, 0, 0, 0, 5, 'e', 'n', '-', 'U', 'S'}

The Extension header ext: foo would be encoded as:
  {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}

The entire header block is encoded into a structure of 145 bytes in length;

[8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, 0, 3, 1, 0, 0, 0,
15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, 46, 111, 114, 103,
0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 115, 47, 116, 104,
101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115, 61, 105, 116, 38,
110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117, 108, 0, 5, 1, 0,
0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0, 0, 0, 11, 115,
101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, 0, 0, 0, 5, 101,
110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111]

By comparison, the same structure encoded using the existing SPDY HEADER
block would require 208 bytes sans compression.

After applying compression of the block using the SPDY dictionary, the
block compresses into 6 compact bytes.

[120, 63, -29, -58, -89, -62]
Assuming this structure was used within a SPDY_STREAM message, unencrypted,
a proxy/router that is scanning the headers to determine where to route the
SYN_STREAM too would need only to look at the first two bytes of each
header to determine if the header is either the HOST, METHOD, REQUEST_URI,
VERSION or SESSION identifier. This scheme should prove to be significantly
faster to scan and perform operations on than the current all-text-key-pair
model. As always, tho, your mileage may vary.

/end-experiment

- James

On Fri, Jul 13, 2012 at 3:16 PM, James M Snell <jasnell@gmail.com> wrote:

> This note is intended to provide some additional thoughts for discussion
> around the design and use of SPDY as the possible basis for HTTP/2.0. The
> intent is to provide fuel for discussion... comments are definitely welcome.
>
> As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
> been mentioned several times in discussion on list, handling of headers
> within the current SPDY framing, and in particular the layering of HTTP/1.1
> messages into SPDY frames is less than optimal. There is significant wasted
> space, duplication, etc that -- strictly speaking -- really isn't
> necessary. While I recognize that the following increases the basic
> complexity of the protocol, it allows fairly significant optimization
> following the same basic lines of reasoning expressed in
> draft-tarreau-httpbis-network-friendly-00.
>
> Section 2.6.1 of the SPDY draft defines header blocks using the following
> format:
>
>    +------------------------------------+
>    | Number of Name/Value pairs (int32) |
>    +------------------------------------+
>    |     Length of name (int32)         |
>    +------------------------------------+
>    |           Name (string)            |
>    +------------------------------------+
>    |     Length of value  (int32)       |
>    +------------------------------------+
>    |          Value   (string)          |
>    +------------------------------------+
>    |           (repeats)                |
>
> This structure is used within SYN_STREAM and HEADERS frames.
>
> What I propose is the following revised structure:
>
>    +------------------------------------+
>    |     Number of Headers (int32)      |
>    +------------------------------------+
>    |T| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    |              Data                  |
>    +------------------------------------+
>    |T| Flags (7) |     Length (24)      |
>    +-------------------------------------
>    |              Data                  |
>    +-------------------------------------
>    |             (repeats)              |
>
> T is a single bit identifying the Header Type. There are two types..
> REGISTERED (0) and EXTENSION (1)
>
> Flags provides flags for the specific header field. The flag 0x1 indicates
> that the header value contains Character Data. If not set, the value is
> assumed to consist of raw octets. 0x2 indicates that the value is
> compressed.
>
> Length is an unsigned 24-bit value specifying the number of octets after
> the length field.
>
> When the T bit is NOT set, the Header field is a REGISTERED Header, the
> structure of which is:
>
>    +------------------------------------+
>    |0| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    | ID | Value Length (int32) |Value...|
>    +------------------------------------+
>
> The ID is a 32-bit number uniquely identifying the registered field. Each
> is assigned by the registrar. For instance, the "Host" field could have a
> registered value of "1", the "Accept-Lang" field could have a registered
> value of "6", and so forth.
>
> The Value Length is a 32-bit value indicating the length of the value.
>
> If Flag 0x1 is set, the value is assumed to contain character data. When
> set, the value MUST be preceded by a single unsigned 8-bit integer
> identifying the character encoding utilized. The values are assigned by the
> registrar. For instance, US-ASCII could have a registered value of "1",
> while "UTF-8" could have a registered value of "2".
>
> For example:
>
>    +------------------------------------+
>    |0| 0000001 |     24                 |
>    +------------------------------------+
>    | 1 | 16 | 1 |    www.example.org    |
>    +------------------------------------+
>
> This Header record indicates a REGISTERED header containing character
> content, the header ID = 1, the charset used is US-ASCII and the value is "
> www.example.org". The header is expressed with a total of 28 bytes.
>
> When the T bit IS set, the Header field is an EXTENSION Header, the
> structure of which is:
>
>    +------------------------------------+
>    |0| Flags (7) |     Length (24)      |
>    +------------------------------------+
>    |      Length of name (int32)        |
>    +------------------------------------+
>    |           Name (string)            |
>    +------------------------------------+
>    |      Length of value (int32)       |
>    +------------------------------------+
>    |              Value                 |
>    +------------------------------------+
>
> For example.. an extension header that contains raw binary data...
>
>    +------------------------------------+
>    |0| 0000000 |       Length (24)      |
>    +------------------------------------+
>    |                5                   |
>    +------------------------------------+
>    |              x-foo                 |
>    +------------------------------------+
>    |                4                   |
>    +------------------------------------+
>    |           {raw bytes}              |
>    +------------------------------------+
>
> The header is expressed with a total of 21 bytes.
>
> The same flags apply. 0x1 indicates that the value is character data. If
> 0x1 is not set, the value contains raw octets. The key difference is that
> there is a 32-bit name length and variable length name field in place of
> the 32-bit ID field in the REGISTERED header. All other details remain the
> same.
>
> As is currently the case in SPDY, if a single header value contains
> multiple values, each can be separated using a single NUL (0) byte.
>
> There are several advantages to this approach:
>
> 1. Commonly used header names are omitted in favor of registered, known
> numeric IDs, saving space and making it more efficient to scan over
> commonly used headers. For instance, intermediaries that route requests
> based on common headers such as Host etc could choose to ignore EXTENSION
> header fields entirely, and scan only for the ID's of the fields they are
> interested in, rather than having to parse the entire bag of header names.
>
> 2. Header values can be expressed as raw octets or character data.
> Currently, mechanisms within HTTP require developers to muck around with
> Base64 encoding or other encodings when including detail within a header.
> This approach would eliminate that extra step. For instance, if I wanted to
> have a Content-Integrity header whose value is an hmac digest, I would be
> able to drop the raw bytes of the digest into the header value rather than
> base64 or hex encoding it into an ASCII string, saving CPU cycles and
> reducing the amount of data that must be transmitted.
>
> 3. Header values that contain character data would not be limited to
> US-ASCII. Multiple charset encodings would be allowed... obviously this has
> a whole slew of issues associated with it that need to be carefully
> considered. The charset encoding flag could be dropped, if necessary, from
> this proposal.
>
> For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to a
> known, registered HTTP/1.1 header, allowing one to one translation from the
> optimized form to the HTTP/1.1 form. Binary values would be base64-encoded.
> If a particular header does not allow for Base64 encoded values under
> HTTP/1.1, the down-level recipient would have the option of responding with
> an appropriate 404 response.
>
> That's it for now. There are additional considerations to be given to the
> specific selection of header fields to include within the SYN_STREAM vs.
> follow-on HEADERS frames but that's a separate conversation. As always,
> feedback is welcome...
>
> - James
>
>

--0015175774fe2194e704c500fb3d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Ok... spent some time this evening pla=
ying around with the header frame syntax a bit more to see what further opt=
imizations could be made and to see if the binary encoded header id&#39;s m=
ade any noticeable difference in size and ease of processing.=C2=A0</font><=
div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Here&#39;s the revised structure I played around with.=
..</font></div><div><br></div><div><font face=3D"courier new,monospace">1. =
Within a HEADER block, I assume two possible types of headers, REGISTERED a=
nd EXTENSION. A REGISTERED header is one that would be known to the registr=
ar and assigned a numeric id and a codepage. If the codepage is 0, the impl=
ication is that the header is MUST UNDERSTAND and is considered one of the =
core headers for the basic operation of the protocol. Codepages 1-9 are MUS=
T-IGNORE... that is, if a user-agent or server comes across a header on the=
se code pages that is not understood, the header can simply be ignored. Cod=
epages 10-14 are PRIVATE USE, with Codepage 10 being reserved for MUST UNDE=
RSTAND PRIVATE USE headers. EXTENSION headers are simple name value pairs e=
ssentially as they exist today.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">2. Within extension headers, the name portion MU=
ST be ASCII and MUST NOT be longer than 255 bytes (quite generous really).<=
/font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">3. Values may be binary or character based, as i=
ndicated by a flags field. Values may be up to max(int32) in length.=C2=A0<=
/font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">4. Registered HTTP Methods can be identified by =
numeric value. Extension Methods can be identified by character value.</fon=
t></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">5. The structure for REGISTERED HEADERS is...</f=
ont></div><div><font face=3D"courier new,monospace"><br></font></div><div><=
font face=3D"courier new,monospace">=C2=A0 +------------------------------+=
</font></div>

<div><font face=3D"courier new,monospace">=C2=A0 |0| id (15-bit)| flags(8-b=
it) =C2=A0|</font></div><div><font face=3D"courier new,monospace">=C2=A0 +-=
-----------------------------+</font></div><div><font face=3D"courier new,m=
onospace">=C2=A0 | len (32-bit) | =C2=A0 =C2=A0 value =C2=A0 =C2=A0 |</font=
></div>

<div><font face=3D"courier new,monospace">=C2=A0 +-------------------------=
-----+</font></div><div><font face=3D"courier new,monospace"><br></font></d=
iv><div><font face=3D"courier new,monospace">6. The structure for EXTENSION=
 HEADERS is...</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">=C2=A0 +------------------------------+</font></=
div><div><font face=3D"courier new,monospace">=C2=A0 |1| flags(7-bit) | nam=
elen (8) |</font></div>

<div><font face=3D"courier new,monospace">=C2=A0 +-------------------------=
-----+</font></div><div><font face=3D"courier new,monospace">=C2=A0 | name =
| val len (32) | value =C2=A0|</font></div><div><font face=3D"courier new, =
monospace">=C2=A0 +------------------------------+</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Assuming the following registered headers...</fo=
nt></div><div><font face=3D"courier new,monospace"><br></font></div><div><f=
ont face=3D"courier new,monospace"><div>

<div>=C2=A0 public static final short VERSION =3D 1;</div><div>=C2=A0 publi=
c static final short METHOD =3D 2;</div><div>=C2=A0 public static final sho=
rt HOST =3D 3;</div><div>=C2=A0 public static final short SESSION =3D 4;</d=
iv><div>=C2=A0 public static final short CHARSET =3D 5;</div>

<div>=C2=A0 public static final short REQUEST_URI =3D 6;</div><div>=C2=A0 p=
ublic static final short ACCEPT_LANG =3D 4097;</div></div><div><br></div><d=
iv>And the following registered methods...</div><div><br></div><div><div>=
=C2=A0 public static final byte GET =3D 1;</div>

<div>=C2=A0 public static final byte POST =3D 2;</div><div>=C2=A0 public st=
atic final byte PUT =3D 3;</div><div>=C2=A0 public static final byte DELETE=
 =3D 4;</div><div>=C2=A0 public static final byte PATCH =3D 5;</div><div>=
=C2=A0 public static final byte HEAD =3D 6;</div>

<div>=C2=A0 public static final byte OPTIONS =3D 7;</div></div><div><br></d=
iv><div>Let&#39;s assume that what we want to to encode a HTTP GET for reso=
urce:=C2=A0</div><div>=C2=A0 <a href=3D"http://www.example.org/this/is/the/=
request?is=3Dit&amp;not=3Dbeautiful">http://www.example.org/this/is/the/req=
uest?is=3Dit&amp;not=3Dbeautiful</a></div>

<div><br></div><div>With a session identifier of &quot;session_key&quot;, A=
CCEPT_LANG =3D en-US and default charset encoding for all character based h=
eader values is &quot;US-ASCII&quot;... Let&#39;s also add an extension hea=
der &quot;ext&quot; with value &quot;foo&quot;...</div>

<div><br></div><div>The Version header can be encoded as:</div><div>=C2=A0=
=C2=A0{0, 1, 0, 0, 0, 0, 2, 2, 0}</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The GET Method hea=
der can be encoded as:</div><div>=C2=A0=C2=A0{0, 2, 0, 0, 0, 0, 1, 1}=C2=A0=
</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The Host header wo=
uld be encoded as:</div><div>=C2=A0 { =C2=A00, =C2=A0 3, =C2=A0 1, =C2=A00,=
 =C2=A0 0, =C2=A0 0, =C2=A015, 119, 119, 119,=C2=A0</div><div>=C2=A0 =C2=A0=
 46, 101, 120, 97, 109, 112, 108, 101, =C2=A046, 111,=C2=A0</div>

<div>=C2=A0 =C2=A0114, 103}</div><div><br></div><div>The Accept-Lang header=
 would be encoded as:</div><div>=C2=A0 {16, 1, 1, 0, 0, 0, 5, <span class=
=3D"s1">&#39;e&#39;</span>, <span class=3D"s1">&#39;n&#39;</span>, <span cl=
ass=3D"s1">&#39;-&#39;</span>, <span class=3D"s1">&#39;U&#39;</span>, <span=
 class=3D"s1">&#39;S&#39;</span>}</div>

<div><br></div><div>The Extension header ext: foo would be encoded as:</div=
><div>=C2=A0 {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}</div><d=
iv><br></div><div>The entire header block is encoded into a structure of 14=
5 bytes in length;</div>

<div><br></div><div>[8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, =
0, 3, 1, 0, 0, 0, 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, =
46, 111, 114, 103, 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 1=
15, 47, 116, 104, 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115,=
 61, 105, 116, 38, 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117,=
 108, 0, 5, 1, 0, 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0,=
 0, 0, 11, 115, 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, =
0, 0, 0, 5, 101, 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 10=
2, 111, 111]</div>

<div><br></div><div>By comparison, the same structure encoded using the exi=
sting SPDY HEADER block would require 208 bytes sans compression.</div><div=
><br></div><div>After applying compression of the block using the SPDY dict=
ionary, the block compresses into 6 compact bytes.</div>

<div>







<p class=3D"p1">[120, 63, -29, -58, -89, -62]</p></div><div>Assuming this s=
tructure was used within a SPDY_STREAM message, unencrypted, a proxy/router=
 that is scanning the headers to determine where to route the SYN_STREAM to=
o would need only to look at the first two bytes of each header to determin=
e if the header is either the HOST, METHOD, REQUEST_URI, VERSION or SESSION=
 identifier. This scheme should prove to be significantly faster to scan an=
d perform operations on than the current all-text-key-pair model. As always=
, tho, your mileage may vary.=C2=A0</div>

<div><br></div><div>/end-experiment</div><div><br></div><div>- James</div><=
/font></div><div><br><div class=3D"gmail_quote">On Fri, Jul 13, 2012 at 3:1=
6 PM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.c=
om" target=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new, monospace">This n=
ote is intended to provide some additional thoughts for discussion around t=
he design and use of SPDY as the possible basis for HTTP/2.0. The intent is=
 to provide fuel for discussion... comments are definitely welcome.<br>


<br>As discussed within draft-tarreau-httpbis-network-friendly-00, and as h=
as been mentioned several times in discussion on list, handling of headers =
within the current SPDY framing, and in particular the layering of HTTP/1.1=
 messages into SPDY frames is less than optimal. There is significant waste=
d space, duplication, etc that -- strictly speaking -- really isn&#39;t nec=
essary. While I recognize that the following increases the basic complexity=
 of the protocol, it allows fairly significant optimization following the s=
ame basic lines of reasoning expressed in draft-tarreau-httpbis-network-fri=
endly-00.</font><div>


<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">Section 2.6.1 of the SPDY draft defines header block=
s using the following format:</font></div><div><font face=3D"courier new, m=
onospace"><br>


</font></div><div><font face=3D"courier new, monospace"><div>=C2=A0 =C2=A0+=
------------------------------------+</div><div>=C2=A0 =C2=A0| Number of Na=
me/Value pairs (int32) |</div><div>=C2=A0 =C2=A0+--------------------------=
----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of name (int32) =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>


<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-------------------------=
-----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of value =C2=A0(=
int32) =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+---------------------=
---------------+</div>


<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Value =C2=A0 (string)=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+--------------=
----------------------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div><br></div><div>This structure is used within SYN_STREAM and =
HEADERS frames.=C2=A0</div>


<div><br></div><div>What I propose is the following revised structure:</div=
><div><br></div><div><div>=C2=A0 =C2=A0+-----------------------------------=
-+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Number of Headers (int32) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div>


<div>=C2=A0 =C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div>=
<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=
=C2=A0 =C2=A0+------------------------------------+</div></div><div>=C2=A0 =
=C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>


<div>=C2=A0 =C2=A0+-------------------------------------</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-=
------------------------------------</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div>


<div>T is a single bit identifying the Header Type. There are two types.. R=
EGISTERED (0) and EXTENSION (1)</div><div><br></div><div>Flags provides fla=
gs for the specific header field. The flag 0x1 indicates that the header va=
lue contains Character Data. If not set, the value is assumed to consist of=
 raw octets. 0x2 indicates that the value is compressed.</div>


<div><br></div><div>Length is an unsigned 24-bit value specifying the numbe=
r of octets after the length field.</div><div><br></div><div>When the T bit=
 is NOT set, the Header field is a REGISTERED Header, the structure of whic=
h is:</div>


<div><br></div><div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0|0| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0| ID | Value Length (int32) |Value...|</div>


<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>The ID is a 32-bit number uniquely identifying the registered =
field. Each is assigned by the registrar. For instance, the &quot;Host&quot=
; field could have a registered value of &quot;1&quot;, the &quot;Accept-La=
ng&quot; field could have a registered value of &quot;6&quot;, and so forth=
.=C2=A0</div>


<div><br></div><div>The Value Length is a 32-bit value indicating the lengt=
h of the value.</div><div><br></div><div>If Flag 0x1 is set, the value is a=
ssumed to contain character data. When set, the value MUST be preceded by a=
 single unsigned 8-bit integer identifying the character encoding utilized.=
 The values are assigned by the registrar. For instance, US-ASCII could hav=
e a registered value of &quot;1&quot;, while &quot;UTF-8&quot; could have a=
 registered value of &quot;2&quot;.</div>


<div><br></div><div>For example:</div><div><br></div><div><div>=C2=A0 =C2=
=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| 000000=
1 | =C2=A0 =C2=A0 24 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+</div><d=
iv>=C2=A0 =C2=A0| 1 | 16 | 1 | =C2=A0 =C2=A0<a href=3D"http://www.example.o=
rg" target=3D"_blank">www.example.org</a> =C2=A0 =C2=A0|</div>


<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>This Header record indicates a REGISTERED header containing ch=
aracter content, the header ID =3D 1, the charset used is US-ASCII and the =
value is &quot;<a href=3D"http://www.example.org" target=3D"_blank">www.exa=
mple.org</a>&quot;. The header is expressed with a total of 28 bytes.</div>


<div><br></div><div>When the T bit IS set, the Header field is an EXTENSION=
 Header, the structure of which is:</div><div><br></div><div><div>=C2=A0 =
=C2=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| Fla=
gs (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>


<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div><di=
v>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+---------------=
---------------------+</div>


<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0Length of value (int32) =C2=A0 =C2=
=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+<=
/div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Va=
lue =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=
=A0 =C2=A0+------------------------------------+</div></div><div><br>


</div><div>For example.. an extension header that contains raw binary data.=
..</div><div><br></div></font><div style=3D"font-family:&#39;courier new&#3=
9;,monospace">=C2=A0 =C2=A0+------------------------------------+</div><div=
 style=3D"font-family:&#39;courier new&#39;,monospace">


=C2=A0 =C2=A0|0| 0000000 | =C2=A0 =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=
=A0 =C2=A0+------------------------------------+</div><div style=3D"font-fa=
mily:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 |</div>


<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0+--=
----------------------------------+</div><div style=3D"font-family:&#39;cou=
rier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0x-foo =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">


=C2=A0 =C2=A0+------------------------------------+</div><div style=3D"font=
-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div style=3D"font-family:&#39;courier n=
ew&#39;,monospace">=C2=A0 =C2=A0+------------------------------------+</div=
>


<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {raw bytes} =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|</div><font face=3D"courier new, monospace"><div>=C2=
=A0 =C2=A0+------------------------------------+=C2=A0 =C2=A0</div><div><br=
></div><div>The header is expressed with a total of 21 bytes.</div>


<div><br></div><div>The same flags apply. 0x1 indicates that the value is c=
haracter data. If 0x1 is not set, the value contains raw octets. The key di=
fference is that there is a 32-bit name length and variable length name fie=
ld in place of the 32-bit ID field in the REGISTERED header. All other deta=
ils remain the same.=C2=A0</div>


<div><br></div><div>As is currently the case in SPDY, if a single header va=
lue contains multiple values, each can be separated using a single NUL (0) =
byte.</div><div><br></div><div>There are several advantages to this approac=
h:</div>


<div><br></div><div>1. Commonly used header names are omitted in favor of r=
egistered, known numeric IDs, saving space and making it more efficient to =
scan over commonly used headers. For instance, intermediaries that route re=
quests based on common headers such as Host etc could choose to ignore EXTE=
NSION header fields entirely, and scan only for the ID&#39;s of the fields =
they are interested in, rather than having to parse the entire bag of heade=
r names.</div>


<div><br></div><div>2. Header values can be expressed as raw octets or char=
acter data. Currently, mechanisms within HTTP require developers to muck ar=
ound with Base64 encoding or other encodings when including detail within a=
 header. This approach would eliminate that extra step. For instance, if I =
wanted to have a Content-Integrity header whose value is an hmac digest, I =
would be able to drop the raw bytes of the digest into the header value rat=
her than base64 or hex encoding it into an ASCII string, saving CPU cycles =
and reducing the amount of data that must be transmitted.=C2=A0</div>


<div><br></div><div>3. Header values that contain character data would not =
be limited to US-ASCII. Multiple charset encodings would be allowed... obvi=
ously this has a whole slew of issues associated with it that need to be ca=
refully considered. The charset encoding flag could be dropped, if necessar=
y, from this proposal.</div>


<div><br></div><div>For HTTP/1.1 Compatibility, each REGISTERED Header woul=
d be mapped to a known, registered HTTP/1.1 header, allowing one to one tra=
nslation from the optimized form to the HTTP/1.1 form. Binary values would =
be base64-encoded. If a particular header does not allow for Base64 encoded=
 values under HTTP/1.1, the down-level recipient would have the option of r=
esponding with an appropriate 404 response.</div>


<div><br></div><div>That&#39;s it for now. There are additional considerati=
ons to be given to the specific selection of header fields to include withi=
n the SYN_STREAM vs. follow-on HEADERS frames but that&#39;s a separate con=
versation. As always, feedback is welcome...</div>

<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>- James</div><div><br></div></font></span></font></div>
</blockquote></div><br></div>

--0015175774fe2194e704c500fb3d--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:09:14 2012
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 E880611E8083 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:09:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 abHxCUZs1BAv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:09:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3725111E8095 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:09:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr1th-0005cd-QO for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:08:41 +0000
Resent-Date: Tue, 17 Jul 2012 07:08:41 +0000
Resent-Message-Id: <E1Sr1th-0005cd-QO@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr1tY-0005bV-TI for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:08:32 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr1tX-0005nD-KW for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:08:32 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7BB1D3B75E; Tue, 17 Jul 2012 07:08:09 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H788ox062321; Tue, 17 Jul 2012 07:08:09 GMT (envelope-from phk@phk.freebsd.dk)
To: Brian Pane <brianp@brianp.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 23:25:30 MST." <CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 07:08:08 +0000
Message-ID: <62320.1342508888@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr1tX-0005nD-KW 90c18e6cf601509aea04772c5e042170
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/62320.1342508888@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14311
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>

In message <CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
, Brian Pane writes:

>My key takeaway from your draft is that you're advocating for HTTP/2.0
>to have a wire format that can be parsed with efficiency much closer
>to TCP [...]

Yes, at least for the routing envelope.

The metadata and content should probably be squeezed as hard as we
reasonably can.

>Section 9.1 defines a very small set of message components that are
>available to the "HTTP router" in an efficient representation. 

This is one of the places where I've changed my mind a fair bit
since I wrote this, in particular with respect to URI, and cookies,
but the general idea still holds.

>e.g., routing traffic based on cookies that
>persisted across sessions, routing based on query parameters, and even
>routing based on custom headers inserted by a previous hop in a
>multi-tier hierarchy.

(Cookies are gone in my vision of HTTP/2.0 by now, instead you'll
have a client created and supplied session identifier.)

Yes, there are times and places where you need more detailed
routing, and if so, you'll have to pay the cost of taking it
all apart.

But a very large fraction of all HTTP-routing is by "Host:" header
only, and if you add URI and session-id to that, I wouldn't be
surprised if you have covered 90% of all HTTP routing based on the
request.  (Obviously a lot of routing happens on the basis of server
availability, but that is unaffected by the protocol.)

There is a significant gain to be had for all routing, also the
more complex kind you mention, if the multiplex-ID/stream-ID can
double as a flow-label for routing, so the router only have to
examine the first request on each stream, and let all subsequent
requests follow the same decision.

One further optimization from there, could be to only send the
envelope when you open a new stream/mux-channel, but I'm not
sure if that would be a net pessimization or optimization.

>I think it would be illuminating to hear from some people who have
>sites with 1) very high traffic (big enough to care about high-speed
>request parsing and routing), 

I'd much rather ask a VHDL/Verilog wizard: "How would you
route HTTP requests at 1Tbit/s in an FPGA ?"

The routable envelope is meant to be a hedge for the future: We
might be able to route 10 or even 40Gbit/s on todays silicon, but
if we want to do it to 1Tbit/s on tomorrows silicon, I am sure need
to make the task easier, because the silicon isn't getting faster,
it's just getting wider.

But as I hope is clear:  This was intended as food for long-range
thought, not as a concrete proposal.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:10:31 2012
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 A1A7711E8083 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:10:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.907
X-Spam-Level: 
X-Spam-Status: No, score=-9.907 tagged_above=-999 required=5 tests=[AWL=0.069, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 9kWsraplZJ62 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:10:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B6B2011E8095 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:10:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr1vV-0007RT-IE for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:10:33 +0000
Resent-Date: Tue, 17 Jul 2012 07:10:33 +0000
Resent-Message-Id: <E1Sr1vV-0007RT-IE@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sr1vI-0007PW-PN for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:10:20 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sr1vH-0005q4-B7 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:10:20 +0000
Received: by lbom4 with SMTP id m4so235668lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 00:09:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=+WIIlTTwSHYYENXTJoBkZ5YjQWPdpdIyneVDGCFKb/M=; b=bVz8iUOJW0SDInCmZs8UYCGWNpJ2KiJ88ce8M3eAPYeopzSe01r52ocnSBIsgZhjJm vJMggqEGXBMqTm0MmvUVcq6FvTWhTYrIXsA9kJhtH/VEwfIpmRBIb8jLikJp5Ngvi2ac +jztk0w/ORcFJ/mHVXg1frIca4Dicq2HV/Z0MrCsU+doKYylBTWsgf63OHHOxpMkuum2 YFJlheglyvZEq/gV1G0PD3FpquqUmRFZkxSgg1gRhgbFdNf7vmQcOw0/wNgxBiYW83Q8 9+87eCzn3pRptsU5zxx8sRwaoXTQb7Ys1GeyrYW3Kz+KcK7DbwCkDu0fJ2rSzknUhhpd LtJw==
MIME-Version: 1.0
Received: by 10.112.83.169 with SMTP id r9mr668477lby.66.1342508992507; Tue, 17 Jul 2012 00:09:52 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 00:09:52 -0700 (PDT)
In-Reply-To: <61932.1342501379@critter.freebsd.dk>
References: <CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_WohVxA@mail.gmail.com> <61932.1342501379@critter.freebsd.dk>
Date: Tue, 17 Jul 2012 00:09:52 -0700
Message-ID: <CABaLYCu=uUL2VV7wKeONO5s4LoHXc6q-jzVcnY-XPKD5RRZNfQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>,  Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=f46d0401fc439b2f2f04c5013bc0
X-Gm-Message-State: ALoCoQnwyyaUN6wMR2j1SUyvl6YvQNawBlWDeJwJo+L31/wdnuuqZUVe4mgnLG2FJi4693CzbUJm
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Sr1vH-0005q4-B7 d2c77eb794b4d59d076361cc5046a035
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CABaLYCu=uUL2VV7wKeONO5s4LoHXc6q-jzVcnY-XPKD5RRZNfQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14312
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>

--f46d0401fc439b2f2f04c5013bc0
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Jul 16, 2012 at 10:02 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <
> CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_WohVxA@mail.gmail.com>
> , Mike Belshe writes:
>
> >>
> http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.txt
> >
> >This is not a spec - you can't implement anything from this.
>
> Which part of
>         "Before rushing into standardization of HTTP/2.0 based on
>         past experience and grievances with HTTP/1.1, we should
>         examine what the architecture underlying the next 10-20
>         years of web-browsing must do for us."
>
> Didn't you understand ?
>

SPDY's concepts are not new or revolutionary.  None of the concepts haven't
been seen before in other protocols (multiplexing, prioritization,
compression, etc).  We just assembled them in a coherent way that a lot of
people have advocated for a very long time and that have now been proven to
work well for HTTP.

There is no rushing going on here - these are tried and true techniques
that are ready for the next generation of HTTP now, and they've already
been in development for 3 years.  This is not a prototype.  This is the
real deal.  It will change, of course, but its a very solid starting point.

So its not that I didn't understand anything you said, it's just that
you're still trying to catch up. :-)

Mike


>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d0401fc439b2f2f04c5013bc0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 10:02 PM, Poul-H=
enning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" tar=
get=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
In message &lt;<a href=3D"mailto:CABaLYCuk4o-mTJ%2BUsfBfqnbo-xVZysjAjrS8JMW=
8rnV_WohVxA@mail.gmail.com">CABaLYCuk4o-mTJ+UsfBfqnbo-xVZysjAjrS8JMW8rnV_Wo=
hVxA@mail.gmail.com</a>&gt;<br>
<div class=3D"im">, Mike Belshe writes:<br>
<br>
&gt;&gt; <a href=3D"http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-a=
rchitecture-01.txt" target=3D"_blank">http://phk.freebsd.dk/misc/draft-kamp=
-httpbis-http-20-architecture-01.txt</a><br>
&gt;<br>
&gt;This is not a spec - you can&#39;t implement anything from this.<br>
<br>
</div>Which part of<br>
=A0 =A0 =A0 =A0 &quot;Before rushing into standardization of HTTP/2.0 based=
 on<br>
=A0 =A0 =A0 =A0 past experience and grievances with HTTP/1.1, we should<br>
=A0 =A0 =A0 =A0 examine what the architecture underlying the next 10-20<br>
=A0 =A0 =A0 =A0 years of web-browsing must do for us.&quot;<br>
<br>
Didn&#39;t you understand ?<br></blockquote><div><br></div><div>SPDY&#39;s =
concepts are not new or revolutionary. =A0None of the concepts haven&#39;t =
been seen before in other protocols (multiplexing, prioritization, compress=
ion, etc). =A0We just assembled them in a coherent way that a lot of people=
 have advocated for a very long time and that have now been proven to work =
well for HTTP. =A0</div>
<div><br></div><div>There is no rushing going on here - these are tried and=
 true techniques that are ready for the next generation of HTTP now, and th=
ey&#39;ve already been in development for 3 years. =A0This is not a prototy=
pe. =A0This is the real deal. =A0It will change, of course, but its a very =
solid starting point.=A0</div>
<div><br></div><div>So its not that I didn&#39;t understand anything you sa=
id, it&#39;s just that you&#39;re still trying to catch up. :-)</div><div><=
br></div><div>Mike</div><div>=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--f46d0401fc439b2f2f04c5013bc0--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:19:09 2012
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 BBB9021F8599 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:19:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.912
X-Spam-Level: 
X-Spam-Status: No, score=-9.912 tagged_above=-999 required=5 tests=[AWL=0.064, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 PlF5+4eUnTyB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:19:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6A1121F8597 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:19:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr23Z-0002Nf-UM for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:18:53 +0000
Resent-Date: Tue, 17 Jul 2012 07:18:53 +0000
Resent-Message-Id: <E1Sr23Z-0002Nf-UM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sr23P-0002Mt-OB for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:18:43 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sr23C-0005Tl-J5 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:18:39 +0000
Received: by lbom4 with SMTP id m4so244355lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 00:18:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=+sAjMjHl69P1pIL8ZbQDohAZZMyau7S9y81/NS9AP9Y=; b=b64M9w3zyHQpeKEJ99J4QXLM3S3D1j9N/A/HN2douIfuJ77h+Fr+PX6XfyziaRwv7J 22A1QAdbW5ANWytCQm9WUPcHW/ojsASZCp2XvX+SuPNrQjGRjDATkcd+Gj/lVioC4zdV jwjIVveumgZQQkyDRMrkpIoEIQSv/d82gCevyajezHLvMCthq4h2w8ZZ8l8cpd3occFn Mha6gI2dRwKaeSD9feIJu+65o8/sVCutsl6V7n0PQrRIo77nha2ZDbEAAm3wnuTG/XAe yeci6mAVOFwdlpeifl5wZWD/rc3zLIF5WfCqRSqxVDfZAFRDkRZi0xAOPqwOnn7mhxR3 Kg6A==
MIME-Version: 1.0
Received: by 10.152.131.37 with SMTP id oj5mr1385214lab.14.1342509483711; Tue, 17 Jul 2012 00:18:03 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 00:18:03 -0700 (PDT)
In-Reply-To: <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
Date: Tue, 17 Jul 2012 00:18:03 -0700
Message-ID: <CABaLYCswjWjNsBmFgJOWSCUZ+Nxu90NyRc+H_CRym9L7QX7ysg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d042c6b8de25b4204c501589e
X-Gm-Message-State: ALoCoQmOI+k7UcsMOzNa7mV6opIv8cK8FJXTK2Z1j86jRKEIh8RCju7kqD1XvPBvyrH3jLJugvFe
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sr23C-0005Tl-J5 e84d2b1e28e22253f0f05466087ef943
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABaLYCswjWjNsBmFgJOWSCUZ+Nxu90NyRc+H_CRym9L7QX7ysg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14313
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>

--f46d042c6b8de25b4204c501589e
Content-Type: text/plain; charset=ISO-8859-1

i like the direction of this.  a good blend of a registry and extension
headers.

i wasn't quite sure how you got to the 6 byte compressed header, tho.

mike


On Mon, Jul 16, 2012 at 11:51 PM, James M Snell <jasnell@gmail.com> wrote:

> Ok... spent some time this evening playing around with the header frame
> syntax a bit more to see what further optimizations could be made and to
> see if the binary encoded header id's made any noticeable difference in
> size and ease of processing.
>
> Here's the revised structure I played around with...
>
> 1. Within a HEADER block, I assume two possible types of headers,
> REGISTERED and EXTENSION. A REGISTERED header is one that would be known to
> the registrar and assigned a numeric id and a codepage. If the codepage is
> 0, the implication is that the header is MUST UNDERSTAND and is considered
> one of the core headers for the basic operation of the protocol. Codepages
> 1-9 are MUST-IGNORE... that is, if a user-agent or server comes across a
> header on these code pages that is not understood, the header can simply be
> ignored. Codepages 10-14 are PRIVATE USE, with Codepage 10 being reserved
> for MUST UNDERSTAND PRIVATE USE headers. EXTENSION headers are simple name
> value pairs essentially as they exist today.
>
> 2. Within extension headers, the name portion MUST be ASCII and MUST NOT
> be longer than 255 bytes (quite generous really).
>
> 3. Values may be binary or character based, as indicated by a flags field.
> Values may be up to max(int32) in length.
>
> 4. Registered HTTP Methods can be identified by numeric value. Extension
> Methods can be identified by character value.
>
> 5. The structure for REGISTERED HEADERS is...
>
>   +------------------------------+
>   |0| id (15-bit)| flags(8-bit)  |
>   +------------------------------+
>   | len (32-bit) |     value     |
>   +------------------------------+
>
> 6. The structure for EXTENSION HEADERS is...
>
>   +------------------------------+
>   |1| flags(7-bit) | namelen (8) |
>   +------------------------------+
>   | name | val len (32) | value  |
>   +------------------------------+
>
> Assuming the following registered headers...
>
>   public static final short VERSION = 1;
>   public static final short METHOD = 2;
>   public static final short HOST = 3;
>   public static final short SESSION = 4;
>   public static final short CHARSET = 5;
>   public static final short REQUEST_URI = 6;
>   public static final short ACCEPT_LANG = 4097;
>
> And the following registered methods...
>
>   public static final byte GET = 1;
>   public static final byte POST = 2;
>   public static final byte PUT = 3;
>   public static final byte DELETE = 4;
>   public static final byte PATCH = 5;
>   public static final byte HEAD = 6;
>   public static final byte OPTIONS = 7;
>
> Let's assume that what we want to to encode a HTTP GET for resource:
>   http://www.example.org/this/is/the/request?is=it&not=beautiful
>
> With a session identifier of "session_key", ACCEPT_LANG = en-US and
> default charset encoding for all character based header values is
> "US-ASCII"... Let's also add an extension header "ext" with value "foo"...
>
> The Version header can be encoded as:
>   {0, 1, 0, 0, 0, 0, 2, 2, 0}
>
> The GET Method header can be encoded as:
>   {0, 2, 0, 0, 0, 0, 1, 1}
>
> The Host header would be encoded as:
>   {  0,   3,   1,  0,   0,   0,  15, 119, 119, 119,
>     46, 101, 120, 97, 109, 112, 108, 101,  46, 111,
>    114, 103}
>
> The Accept-Lang header would be encoded as:
>   {16, 1, 1, 0, 0, 0, 5, 'e', 'n', '-', 'U', 'S'}
>
> The Extension header ext: foo would be encoded as:
>   {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}
>
> The entire header block is encoded into a structure of 145 bytes in length;
>
> [8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, 0, 3, 1, 0, 0, 0,
> 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, 46, 111, 114, 103,
> 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 115, 47, 116, 104,
> 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115, 61, 105, 116, 38,
> 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117, 108, 0, 5, 1, 0,
> 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0, 0, 0, 11, 115,
> 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, 0, 0, 0, 5, 101,
> 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111]
>
> By comparison, the same structure encoded using the existing SPDY HEADER
> block would require 208 bytes sans compression.
>
> After applying compression of the block using the SPDY dictionary, the
> block compresses into 6 compact bytes.
>
> [120, 63, -29, -58, -89, -62]
> Assuming this structure was used within a SPDY_STREAM message,
> unencrypted, a proxy/router that is scanning the headers to determine where
> to route the SYN_STREAM too would need only to look at the first two bytes
> of each header to determine if the header is either the HOST, METHOD,
> REQUEST_URI, VERSION or SESSION identifier. This scheme should prove to be
> significantly faster to scan and perform operations on than the current
> all-text-key-pair model. As always, tho, your mileage may vary.
>
> /end-experiment
>
> - James
>
> On Fri, Jul 13, 2012 at 3:16 PM, James M Snell <jasnell@gmail.com> wrote:
>
>> This note is intended to provide some additional thoughts for discussion
>> around the design and use of SPDY as the possible basis for HTTP/2.0. The
>> intent is to provide fuel for discussion... comments are definitely welcome.
>>
>> As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
>> been mentioned several times in discussion on list, handling of headers
>> within the current SPDY framing, and in particular the layering of HTTP/1.1
>> messages into SPDY frames is less than optimal. There is significant wasted
>> space, duplication, etc that -- strictly speaking -- really isn't
>> necessary. While I recognize that the following increases the basic
>> complexity of the protocol, it allows fairly significant optimization
>> following the same basic lines of reasoning expressed in
>> draft-tarreau-httpbis-network-friendly-00.
>>
>> Section 2.6.1 of the SPDY draft defines header blocks using the following
>> format:
>>
>>    +------------------------------------+
>>    | Number of Name/Value pairs (int32) |
>>    +------------------------------------+
>>    |     Length of name (int32)         |
>>    +------------------------------------+
>>    |           Name (string)            |
>>    +------------------------------------+
>>    |     Length of value  (int32)       |
>>    +------------------------------------+
>>    |          Value   (string)          |
>>    +------------------------------------+
>>    |           (repeats)                |
>>
>> This structure is used within SYN_STREAM and HEADERS frames.
>>
>> What I propose is the following revised structure:
>>
>>    +------------------------------------+
>>    |     Number of Headers (int32)      |
>>    +------------------------------------+
>>    |T| Flags (7) |     Length (24)      |
>>    +------------------------------------+
>>    |              Data                  |
>>    +------------------------------------+
>>    |T| Flags (7) |     Length (24)      |
>>    +-------------------------------------
>>    |              Data                  |
>>    +-------------------------------------
>>    |             (repeats)              |
>>
>> T is a single bit identifying the Header Type. There are two types..
>> REGISTERED (0) and EXTENSION (1)
>>
>> Flags provides flags for the specific header field. The flag 0x1
>> indicates that the header value contains Character Data. If not set, the
>> value is assumed to consist of raw octets. 0x2 indicates that the value is
>> compressed.
>>
>> Length is an unsigned 24-bit value specifying the number of octets after
>> the length field.
>>
>> When the T bit is NOT set, the Header field is a REGISTERED Header, the
>> structure of which is:
>>
>>    +------------------------------------+
>>    |0| Flags (7) |     Length (24)      |
>>    +------------------------------------+
>>    | ID | Value Length (int32) |Value...|
>>    +------------------------------------+
>>
>> The ID is a 32-bit number uniquely identifying the registered field. Each
>> is assigned by the registrar. For instance, the "Host" field could have a
>> registered value of "1", the "Accept-Lang" field could have a registered
>> value of "6", and so forth.
>>
>> The Value Length is a 32-bit value indicating the length of the value.
>>
>> If Flag 0x1 is set, the value is assumed to contain character data. When
>> set, the value MUST be preceded by a single unsigned 8-bit integer
>> identifying the character encoding utilized. The values are assigned by the
>> registrar. For instance, US-ASCII could have a registered value of "1",
>> while "UTF-8" could have a registered value of "2".
>>
>> For example:
>>
>>    +------------------------------------+
>>    |0| 0000001 |     24                 |
>>    +------------------------------------+
>>    | 1 | 16 | 1 |    www.example.org    |
>>    +------------------------------------+
>>
>> This Header record indicates a REGISTERED header containing character
>> content, the header ID = 1, the charset used is US-ASCII and the value is "
>> www.example.org". The header is expressed with a total of 28 bytes.
>>
>> When the T bit IS set, the Header field is an EXTENSION Header, the
>> structure of which is:
>>
>>    +------------------------------------+
>>    |0| Flags (7) |     Length (24)      |
>>    +------------------------------------+
>>    |      Length of name (int32)        |
>>    +------------------------------------+
>>    |           Name (string)            |
>>    +------------------------------------+
>>    |      Length of value (int32)       |
>>    +------------------------------------+
>>    |              Value                 |
>>    +------------------------------------+
>>
>> For example.. an extension header that contains raw binary data...
>>
>>    +------------------------------------+
>>    |0| 0000000 |       Length (24)      |
>>    +------------------------------------+
>>    |                5                   |
>>    +------------------------------------+
>>    |              x-foo                 |
>>    +------------------------------------+
>>    |                4                   |
>>    +------------------------------------+
>>    |           {raw bytes}              |
>>    +------------------------------------+
>>
>> The header is expressed with a total of 21 bytes.
>>
>> The same flags apply. 0x1 indicates that the value is character data. If
>> 0x1 is not set, the value contains raw octets. The key difference is that
>> there is a 32-bit name length and variable length name field in place of
>> the 32-bit ID field in the REGISTERED header. All other details remain the
>> same.
>>
>> As is currently the case in SPDY, if a single header value contains
>> multiple values, each can be separated using a single NUL (0) byte.
>>
>> There are several advantages to this approach:
>>
>> 1. Commonly used header names are omitted in favor of registered, known
>> numeric IDs, saving space and making it more efficient to scan over
>> commonly used headers. For instance, intermediaries that route requests
>> based on common headers such as Host etc could choose to ignore EXTENSION
>> header fields entirely, and scan only for the ID's of the fields they are
>> interested in, rather than having to parse the entire bag of header names.
>>
>> 2. Header values can be expressed as raw octets or character data.
>> Currently, mechanisms within HTTP require developers to muck around with
>> Base64 encoding or other encodings when including detail within a header.
>> This approach would eliminate that extra step. For instance, if I wanted to
>> have a Content-Integrity header whose value is an hmac digest, I would be
>> able to drop the raw bytes of the digest into the header value rather than
>> base64 or hex encoding it into an ASCII string, saving CPU cycles and
>> reducing the amount of data that must be transmitted.
>>
>> 3. Header values that contain character data would not be limited to
>> US-ASCII. Multiple charset encodings would be allowed... obviously this has
>> a whole slew of issues associated with it that need to be carefully
>> considered. The charset encoding flag could be dropped, if necessary, from
>> this proposal.
>>
>> For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to a
>> known, registered HTTP/1.1 header, allowing one to one translation from the
>> optimized form to the HTTP/1.1 form. Binary values would be base64-encoded.
>> If a particular header does not allow for Base64 encoded values under
>> HTTP/1.1, the down-level recipient would have the option of responding with
>> an appropriate 404 response.
>>
>> That's it for now. There are additional considerations to be given to the
>> specific selection of header fields to include within the SYN_STREAM vs.
>> follow-on HEADERS frames but that's a separate conversation. As always,
>> feedback is welcome...
>>
>> - James
>>
>>
>

--f46d042c6b8de25b4204c501589e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

i like the direction of this. =A0a good blend of a registry and extension h=
eaders.<div><br></div><div>i wasn&#39;t quite sure how you got to the 6 byt=
e compressed header, tho.<br><div><br></div><div>mike</div><div><br><br><di=
v class=3D"gmail_quote">
On Mon, Jul 16, 2012 at 11:51 PM, James M Snell <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face=3D"courier new,monospace">Ok... spent some time this evening pla=
ying around with the header frame syntax a bit more to see what further opt=
imizations could be made and to see if the binary encoded header id&#39;s m=
ade any noticeable difference in size and ease of processing.=A0</font><div=
>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Here&#39;s the revised structure I played around with.=
..</font></div><div><br></div><div><font face=3D"courier new,monospace">1. =
Within a HEADER block, I assume two possible types of headers, REGISTERED a=
nd EXTENSION. A REGISTERED header is one that would be known to the registr=
ar and assigned a numeric id and a codepage. If the codepage is 0, the impl=
ication is that the header is MUST UNDERSTAND and is considered one of the =
core headers for the basic operation of the protocol. Codepages 1-9 are MUS=
T-IGNORE... that is, if a user-agent or server comes across a header on the=
se code pages that is not understood, the header can simply be ignored. Cod=
epages 10-14 are PRIVATE USE, with Codepage 10 being reserved for MUST UNDE=
RSTAND PRIVATE USE headers. EXTENSION headers are simple name value pairs e=
ssentially as they exist today.</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">2. Within extension headers, the name portion MU=
ST be ASCII and MUST NOT be longer than 255 bytes (quite generous really).<=
/font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">3. Values may be binary or character based, as i=
ndicated by a flags field. Values may be up to max(int32) in length.=A0</fo=
nt></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">4. Registered HTTP Methods can be identified by =
numeric value. Extension Methods can be identified by character value.</fon=
t></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">5. The structure for REGISTERED HEADERS is...</f=
ont></div><div><font face=3D"courier new,monospace"><br></font></div><div><=
font face=3D"courier new,monospace">=A0 +------------------------------+</f=
ont></div>


<div><font face=3D"courier new,monospace">=A0 |0| id (15-bit)| flags(8-bit)=
 =A0|</font></div><div><font face=3D"courier new,monospace">=A0 +----------=
--------------------+</font></div><div><font face=3D"courier new,monospace"=
>=A0 | len (32-bit) | =A0 =A0 value =A0 =A0 |</font></div>


<div><font face=3D"courier new,monospace">=A0 +----------------------------=
--+</font></div><div><font face=3D"courier new,monospace"><br></font></div>=
<div><font face=3D"courier new,monospace">6. The structure for EXTENSION HE=
ADERS is...</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">=A0 +------------------------------+</font></div=
><div><font face=3D"courier new,monospace">=A0 |1| flags(7-bit) | namelen (=
8) |</font></div>


<div><font face=3D"courier new,monospace">=A0 +----------------------------=
--+</font></div><div><font face=3D"courier new,monospace">=A0 | name | val =
len (32) | value =A0|</font></div><div><font face=3D"courier new, monospace=
">=A0 +------------------------------+</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Assuming the following registered headers...</fo=
nt></div><div><font face=3D"courier new,monospace"><br></font></div><div><f=
ont face=3D"courier new,monospace"><div>


<div>=A0 public static final short VERSION =3D 1;</div><div>=A0 public stat=
ic final short METHOD =3D 2;</div><div>=A0 public static final short HOST =
=3D 3;</div><div>=A0 public static final short SESSION =3D 4;</div><div>=A0=
 public static final short CHARSET =3D 5;</div>


<div>=A0 public static final short REQUEST_URI =3D 6;</div><div>=A0 public =
static final short ACCEPT_LANG =3D 4097;</div></div><div><br></div><div>And=
 the following registered methods...</div><div><br></div><div><div>=A0 publ=
ic static final byte GET =3D 1;</div>


<div>=A0 public static final byte POST =3D 2;</div><div>=A0 public static f=
inal byte PUT =3D 3;</div><div>=A0 public static final byte DELETE =3D 4;</=
div><div>=A0 public static final byte PATCH =3D 5;</div><div>=A0 public sta=
tic final byte HEAD =3D 6;</div>


<div>=A0 public static final byte OPTIONS =3D 7;</div></div><div><br></div>=
<div>Let&#39;s assume that what we want to to encode a HTTP GET for resourc=
e:=A0</div><div>=A0 <a href=3D"http://www.example.org/this/is/the/request?i=
s=3Dit&amp;not=3Dbeautiful" target=3D"_blank">http://www.example.org/this/i=
s/the/request?is=3Dit&amp;not=3Dbeautiful</a></div>


<div><br></div><div>With a session identifier of &quot;session_key&quot;, A=
CCEPT_LANG =3D en-US and default charset encoding for all character based h=
eader values is &quot;US-ASCII&quot;... Let&#39;s also add an extension hea=
der &quot;ext&quot; with value &quot;foo&quot;...</div>


<div><br></div><div>The Version header can be encoded as:</div><div>=A0=A0{=
0, 1, 0, 0, 0, 0, 2, 2, 0}</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The GET Method hea=
der can be encoded as:</div><div>=A0=A0{0, 2, 0, 0, 0, 0, 1, 1}=A0</div></f=
ont>







<font face=3D"courier new,monospace"><div><br></div><div>The Host header wo=
uld be encoded as:</div><div>=A0 { =A00, =A0 3, =A0 1, =A00, =A0 0, =A0 0, =
=A015, 119, 119, 119,=A0</div><div>=A0 =A0 46, 101, 120, 97, 109, 112, 108,=
 101, =A046, 111,=A0</div>


<div>=A0 =A0114, 103}</div><div><br></div><div>The Accept-Lang header would=
 be encoded as:</div><div>=A0 {16, 1, 1, 0, 0, 0, 5, <span>&#39;e&#39;</spa=
n>, <span>&#39;n&#39;</span>, <span>&#39;-&#39;</span>, <span>&#39;U&#39;</=
span>, <span>&#39;S&#39;</span>}</div>


<div><br></div><div>The Extension header ext: foo would be encoded as:</div=
><div>=A0 {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}</div><div>=
<br></div><div>The entire header block is encoded into a structure of 145 b=
ytes in length;</div>


<div><br></div><div>[8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, =
0, 3, 1, 0, 0, 0, 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, =
46, 111, 114, 103, 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 1=
15, 47, 116, 104, 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115,=
 61, 105, 116, 38, 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117,=
 108, 0, 5, 1, 0, 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0,=
 0, 0, 11, 115, 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, =
0, 0, 0, 5, 101, 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 10=
2, 111, 111]</div>


<div><br></div><div>By comparison, the same structure encoded using the exi=
sting SPDY HEADER block would require 208 bytes sans compression.</div><div=
><br></div><div>After applying compression of the block using the SPDY dict=
ionary, the block compresses into 6 compact bytes.</div>


<div>







<p>[120, 63, -29, -58, -89, -62]</p></div><div>Assuming this structure was =
used within a SPDY_STREAM message, unencrypted, a proxy/router that is scan=
ning the headers to determine where to route the SYN_STREAM too would need =
only to look at the first two bytes of each header to determine if the head=
er is either the HOST, METHOD, REQUEST_URI, VERSION or SESSION identifier. =
This scheme should prove to be significantly faster to scan and perform ope=
rations on than the current all-text-key-pair model. As always, tho, your m=
ileage may vary.=A0</div>


<div><br></div><div>/end-experiment</div><span class=3D"HOEnZb"><font color=
=3D"#888888"><div><br></div><div>- James</div></font></span></font></div><d=
iv class=3D"HOEnZb"><div class=3D"h5"><div><br><div class=3D"gmail_quote">O=
n Fri, Jul 13, 2012 at 3:16 PM, James M Snell <span dir=3D"ltr">&lt;<a href=
=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;</=
span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new, monospace">This n=
ote is intended to provide some additional thoughts for discussion around t=
he design and use of SPDY as the possible basis for HTTP/2.0. The intent is=
 to provide fuel for discussion... comments are definitely welcome.<br>



<br>As discussed within draft-tarreau-httpbis-network-friendly-00, and as h=
as been mentioned several times in discussion on list, handling of headers =
within the current SPDY framing, and in particular the layering of HTTP/1.1=
 messages into SPDY frames is less than optimal. There is significant waste=
d space, duplication, etc that -- strictly speaking -- really isn&#39;t nec=
essary. While I recognize that the following increases the basic complexity=
 of the protocol, it allows fairly significant optimization following the s=
ame basic lines of reasoning expressed in draft-tarreau-httpbis-network-fri=
endly-00.</font><div>



<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">Section 2.6.1 of the SPDY draft defines header block=
s using the following format:</font></div><div><font face=3D"courier new, m=
onospace"><br>



</font></div><div><font face=3D"courier new, monospace"><div>=A0 =A0+------=
------------------------------+</div><div>=A0 =A0| Number of Name/Value pai=
rs (int32) |</div><div>=A0 =A0+------------------------------------+</div><=
div>=A0 =A0| =A0 =A0 Length of name (int32) =A0 =A0 =A0 =A0 |</div>



<div>=A0 =A0+------------------------------------+</div><div>=A0 =A0| =A0 =
=A0 =A0 =A0 =A0 Name (string) =A0 =A0 =A0 =A0 =A0 =A0|</div><div>=A0 =A0+--=
----------------------------------+</div><div>=A0 =A0| =A0 =A0 Length of va=
lue =A0(int32) =A0 =A0 =A0 |</div><div>=A0 =A0+----------------------------=
--------+</div>



<div>=A0 =A0| =A0 =A0 =A0 =A0 =A0Value =A0 (string) =A0 =A0 =A0 =A0 =A0|</d=
iv><div>=A0 =A0+------------------------------------+</div><div>=A0 =A0| =
=A0 =A0 =A0 =A0 =A0 (repeats) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</div><div><b=
r></div><div>This structure is used within SYN_STREAM and HEADERS frames.=
=A0</div>



<div><br></div><div>What I propose is the following revised structure:</div=
><div><br></div><div><div>=A0 =A0+------------------------------------+</di=
v><div>=A0 =A0| =A0 =A0 Number of Headers (int32) =A0 =A0 =A0|</div><div>=
=A0 =A0+------------------------------------+</div>



<div>=A0 =A0|T| Flags (7) | =A0 =A0 Length (24) =A0 =A0 =A0|</div><div>=A0 =
=A0+------------------------------------+</div><div>=A0 =A0| =A0 =A0 =A0 =
=A0 =A0 =A0 =A0Data =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</div><div>=A0 =A0+=
------------------------------------+</div></div><div>=A0 =A0|T| Flags (7) =
| =A0 =A0 Length (24) =A0 =A0 =A0|</div>



<div>=A0 =A0+-------------------------------------</div><div>=A0 =A0| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0Data =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</div><div>=
=A0 =A0+-------------------------------------</div><div>=A0 =A0| =A0 =A0 =
=A0 =A0 =A0 =A0 (repeats) =A0 =A0 =A0 =A0 =A0 =A0 =A0|</div><div><br></div>



<div>T is a single bit identifying the Header Type. There are two types.. R=
EGISTERED (0) and EXTENSION (1)</div><div><br></div><div>Flags provides fla=
gs for the specific header field. The flag 0x1 indicates that the header va=
lue contains Character Data. If not set, the value is assumed to consist of=
 raw octets. 0x2 indicates that the value is compressed.</div>



<div><br></div><div>Length is an unsigned 24-bit value specifying the numbe=
r of octets after the length field.</div><div><br></div><div>When the T bit=
 is NOT set, the Header field is a REGISTERED Header, the structure of whic=
h is:</div>



<div><br></div><div><div>=A0 =A0+------------------------------------+</div=
><div>=A0 =A0|0| Flags (7) | =A0 =A0 Length (24) =A0 =A0 =A0|</div><div>=A0=
 =A0+------------------------------------+</div><div>=A0 =A0| ID | Value Le=
ngth (int32) |Value...|</div>



<div>=A0 =A0+------------------------------------+</div></div><div><br></di=
v><div>The ID is a 32-bit number uniquely identifying the registered field.=
 Each is assigned by the registrar. For instance, the &quot;Host&quot; fiel=
d could have a registered value of &quot;1&quot;, the &quot;Accept-Lang&quo=
t; field could have a registered value of &quot;6&quot;, and so forth.=A0</=
div>



<div><br></div><div>The Value Length is a 32-bit value indicating the lengt=
h of the value.</div><div><br></div><div>If Flag 0x1 is set, the value is a=
ssumed to contain character data. When set, the value MUST be preceded by a=
 single unsigned 8-bit integer identifying the character encoding utilized.=
 The values are assigned by the registrar. For instance, US-ASCII could hav=
e a registered value of &quot;1&quot;, while &quot;UTF-8&quot; could have a=
 registered value of &quot;2&quot;.</div>



<div><br></div><div>For example:</div><div><br></div><div><div>=A0 =A0+----=
--------------------------------+</div><div>=A0 =A0|0| 0000001 | =A0 =A0 24=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>=A0 =A0+----------------------=
--------------+</div><div>=A0 =A0| 1 | 16 | 1 | =A0 =A0<a href=3D"http://ww=
w.example.org" target=3D"_blank">www.example.org</a> =A0 =A0|</div>



<div>=A0 =A0+------------------------------------+</div></div><div><br></di=
v><div>This Header record indicates a REGISTERED header containing characte=
r content, the header ID =3D 1, the charset used is US-ASCII and the value =
is &quot;<a href=3D"http://www.example.org" target=3D"_blank">www.example.o=
rg</a>&quot;. The header is expressed with a total of 28 bytes.</div>



<div><br></div><div>When the T bit IS set, the Header field is an EXTENSION=
 Header, the structure of which is:</div><div><br></div><div><div>=A0 =A0+-=
-----------------------------------+</div><div>=A0 =A0|0| Flags (7) | =A0 =
=A0 Length (24) =A0 =A0 =A0|</div>



<div>=A0 =A0+------------------------------------+</div><div>=A0 =A0| =A0 =
=A0 =A0Length of name (int32) =A0 =A0 =A0 =A0|</div><div>=A0 =A0+----------=
--------------------------+</div><div>=A0 =A0| =A0 =A0 =A0 =A0 =A0 Name (st=
ring) =A0 =A0 =A0 =A0 =A0 =A0|</div><div>=A0 =A0+--------------------------=
----------+</div>



<div>=A0 =A0| =A0 =A0 =A0Length of value (int32) =A0 =A0 =A0 |</div><div>=
=A0 =A0+------------------------------------+</div><div>=A0 =A0| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0Value =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>=A0 =
=A0+------------------------------------+</div></div><div><br>



</div><div>For example.. an extension header that contains raw binary data.=
..</div><div><br></div></font><div style=3D"font-family:&#39;courier new&#3=
9;,monospace">=A0 =A0+------------------------------------+</div><div style=
=3D"font-family:&#39;courier new&#39;,monospace">



=A0 =A0|0| 0000000 | =A0 =A0 =A0 Length (24) =A0 =A0 =A0|</div><div style=
=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0+------------------=
------------------+</div><div style=3D"font-family:&#39;courier new&#39;,mo=
nospace">=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A05 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 |</div>



<div style=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0+--------=
----------------------------+</div><div style=3D"font-family:&#39;courier n=
ew&#39;,monospace">=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0x-foo =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 |</div><div style=3D"font-family:&#39;courier new&#39;,=
monospace">



=A0 =A0+------------------------------------+</div><div style=3D"font-famil=
y:&#39;courier new&#39;,monospace">=A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
4 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div style=3D"font-family:&#39=
;courier new&#39;,monospace">=A0 =A0+------------------------------------+<=
/div>



<div style=3D"font-family:&#39;courier new&#39;,monospace">=A0 =A0| =A0 =A0=
 =A0 =A0 =A0 {raw bytes} =A0 =A0 =A0 =A0 =A0 =A0 =A0|</div><font face=3D"co=
urier new, monospace"><div>=A0 =A0+------------------------------------+=A0=
 =A0</div><div><br></div><div>The header is expressed with a total of 21 by=
tes.</div>



<div><br></div><div>The same flags apply. 0x1 indicates that the value is c=
haracter data. If 0x1 is not set, the value contains raw octets. The key di=
fference is that there is a 32-bit name length and variable length name fie=
ld in place of the 32-bit ID field in the REGISTERED header. All other deta=
ils remain the same.=A0</div>



<div><br></div><div>As is currently the case in SPDY, if a single header va=
lue contains multiple values, each can be separated using a single NUL (0) =
byte.</div><div><br></div><div>There are several advantages to this approac=
h:</div>



<div><br></div><div>1. Commonly used header names are omitted in favor of r=
egistered, known numeric IDs, saving space and making it more efficient to =
scan over commonly used headers. For instance, intermediaries that route re=
quests based on common headers such as Host etc could choose to ignore EXTE=
NSION header fields entirely, and scan only for the ID&#39;s of the fields =
they are interested in, rather than having to parse the entire bag of heade=
r names.</div>



<div><br></div><div>2. Header values can be expressed as raw octets or char=
acter data. Currently, mechanisms within HTTP require developers to muck ar=
ound with Base64 encoding or other encodings when including detail within a=
 header. This approach would eliminate that extra step. For instance, if I =
wanted to have a Content-Integrity header whose value is an hmac digest, I =
would be able to drop the raw bytes of the digest into the header value rat=
her than base64 or hex encoding it into an ASCII string, saving CPU cycles =
and reducing the amount of data that must be transmitted.=A0</div>



<div><br></div><div>3. Header values that contain character data would not =
be limited to US-ASCII. Multiple charset encodings would be allowed... obvi=
ously this has a whole slew of issues associated with it that need to be ca=
refully considered. The charset encoding flag could be dropped, if necessar=
y, from this proposal.</div>



<div><br></div><div>For HTTP/1.1 Compatibility, each REGISTERED Header woul=
d be mapped to a known, registered HTTP/1.1 header, allowing one to one tra=
nslation from the optimized form to the HTTP/1.1 form. Binary values would =
be base64-encoded. If a particular header does not allow for Base64 encoded=
 values under HTTP/1.1, the down-level recipient would have the option of r=
esponding with an appropriate 404 response.</div>



<div><br></div><div>That&#39;s it for now. There are additional considerati=
ons to be given to the specific selection of header fields to include withi=
n the SYN_STREAM vs. follow-on HEADERS frames but that&#39;s a separate con=
versation. As always, feedback is welcome...</div>


<span><font color=3D"#888888">
<div><br></div><div>- James</div><div><br></div></font></span></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>

--f46d042c6b8de25b4204c501589e--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:21:19 2012
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 276DC21F859A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:21:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.071
X-Spam-Level: 
X-Spam-Status: No, score=-9.071 tagged_above=-999 required=5 tests=[AWL=1.527, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 hI1L1C0YPg52 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:21:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A410821F8599 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:21:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr264-00047B-HX for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:21:28 +0000
Resent-Date: Tue, 17 Jul 2012 07:21:28 +0000
Resent-Message-Id: <E1Sr264-00047B-HX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr25q-00043e-St for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:21:14 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr25G-0005XR-BQ for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:20:46 +0000
Received: by weyx43 with SMTP id x43so64037wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 00:20: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:from:date:message-id:subject:to :content-type; bh=/5wzS6FtVhtQRR5VfHqYZ5dUrKPpYNEalkK4VrmNPXU=; b=ottHzsb1YGV1ADZKvLB5OhGU1gWJuV80wRtZDJsptI8TiCzE2EAs+03nh/wY8OVq6m n4rJ6Lr53VutwqiKCX7Mu5gB1Xu7IwDLK4Z+NAoVOdh9NlXawL3eETjoHRzNSIUwOU03 jyizqWnVn0GNGCSz+z1i+JtFhjw7WnIfKQJCP4HpazB+rdSj6CcLOQJ3vDFixkl7CH8y rSP5pl61C0R/G8sYbxS+YsAiIVILlP6t1vbdjLyMFDBXu4Iwr+ITGhrTPOo9ftsjKba5 XOtJYEypMX+WYEHBvVSSfEbaRsgWg6oNL0Dck9rUG6L3ZLn6RmYVi3PMpeM3IxzPEZYL UtBQ==
Received: by 10.216.237.193 with SMTP id y43mr785667weq.75.1342509611679; Tue, 17 Jul 2012 00:20:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 00:19:51 -0700 (PDT)
In-Reply-To: <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 00:19:51 -0700
Message-ID: <CABP7RbceNba-xhXGL0aR=YopahrCw1_YFMMAdKKTOMqcMWg=dA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0015175774fe83011904c5016006
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr25G-0005XR-BQ 660709f90b9f5d73c1edd3212e6800fe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbceNba-xhXGL0aR=YopahrCw1_YFMMAdKKTOMqcMWg=dA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14314
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>

--0015175774fe83011904c5016006
Content-Type: text/plain; charset=UTF-8

Sigh... I should know better than to write code without coffee or beer in
hand... the actual compressed size of the header block is
128 bytes...

On Mon, Jul 16, 2012 at 11:51 PM, James M Snell <jasnell@gmail.com> wrote:

> Ok... spent some time this evening playing around with the header frame
> syntax a bit more to see what further optimizations could be made and to
> see if the binary encoded header id's made any noticeable difference in
> size and ease of processing.
>
> Here's the revised structure I played around with...
>
> 1. Within a HEADER block, I assume two possible types of headers,
> REGISTERED and EXTENSION. A REGISTERED header is one that would be known to
> the registrar and assigned a numeric id and a codepage. If the codepage is
> 0, the implication is that the header is MUST UNDERSTAND and is considered
> one of the core headers for the basic operation of the protocol. Codepages
> 1-9 are MUST-IGNORE... that is, if a user-agent or server comes across a
> header on these code pages that is not understood, the header can simply be
> ignored. Codepages 10-14 are PRIVATE USE, with Codepage 10 being reserved
> for MUST UNDERSTAND PRIVATE USE headers. EXTENSION headers are simple name
> value pairs essentially as they exist today.
>
> 2. Within extension headers, the name portion MUST be ASCII and MUST NOT
> be longer than 255 bytes (quite generous really).
>
> 3. Values may be binary or character based, as indicated by a flags field.
> Values may be up to max(int32) in length.
>
> 4. Registered HTTP Methods can be identified by numeric value. Extension
> Methods can be identified by character value.
>
> 5. The structure for REGISTERED HEADERS is...
>
>   +------------------------------+
>   |0| id (15-bit)| flags(8-bit)  |
>   +------------------------------+
>   | len (32-bit) |     value     |
>   +------------------------------+
>
> 6. The structure for EXTENSION HEADERS is...
>
>   +------------------------------+
>   |1| flags(7-bit) | namelen (8) |
>   +------------------------------+
>   | name | val len (32) | value  |
>   +------------------------------+
>
> Assuming the following registered headers...
>
>   public static final short VERSION = 1;
>   public static final short METHOD = 2;
>   public static final short HOST = 3;
>   public static final short SESSION = 4;
>   public static final short CHARSET = 5;
>   public static final short REQUEST_URI = 6;
>   public static final short ACCEPT_LANG = 4097;
>
> And the following registered methods...
>
>   public static final byte GET = 1;
>   public static final byte POST = 2;
>   public static final byte PUT = 3;
>   public static final byte DELETE = 4;
>   public static final byte PATCH = 5;
>   public static final byte HEAD = 6;
>   public static final byte OPTIONS = 7;
>
> Let's assume that what we want to to encode a HTTP GET for resource:
>   http://www.example.org/this/is/the/request?is=it&not=beautiful
>
> With a session identifier of "session_key", ACCEPT_LANG = en-US and
> default charset encoding for all character based header values is
> "US-ASCII"... Let's also add an extension header "ext" with value "foo"...
>
> The Version header can be encoded as:
>   {0, 1, 0, 0, 0, 0, 2, 2, 0}
>
> The GET Method header can be encoded as:
>   {0, 2, 0, 0, 0, 0, 1, 1}
>
> The Host header would be encoded as:
>   {  0,   3,   1,  0,   0,   0,  15, 119, 119, 119,
>     46, 101, 120, 97, 109, 112, 108, 101,  46, 111,
>    114, 103}
>
> The Accept-Lang header would be encoded as:
>   {16, 1, 1, 0, 0, 0, 5, 'e', 'n', '-', 'U', 'S'}
>
> The Extension header ext: foo would be encoded as:
>   {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}
>
> The entire header block is encoded into a structure of 145 bytes in length;
>
> [8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, 0, 3, 1, 0, 0, 0,
> 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, 46, 111, 114, 103,
> 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 115, 47, 116, 104,
> 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115, 61, 105, 116, 38,
> 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117, 108, 0, 5, 1, 0,
> 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0, 0, 0, 11, 115,
> 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, 0, 0, 0, 5, 101,
> 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111]
>
> By comparison, the same structure encoded using the existing SPDY HEADER
> block would require 208 bytes sans compression.
>
> After applying compression of the block using the SPDY dictionary, the
> block compresses into 6 compact bytes.
>
> [120, 63, -29, -58, -89, -62]
> Assuming this structure was used within a SPDY_STREAM message,
> unencrypted, a proxy/router that is scanning the headers to determine where
> to route the SYN_STREAM too would need only to look at the first two bytes
> of each header to determine if the header is either the HOST, METHOD,
> REQUEST_URI, VERSION or SESSION identifier. This scheme should prove to be
> significantly faster to scan and perform operations on than the current
> all-text-key-pair model. As always, tho, your mileage may vary.
>
> /end-experiment
>
> - James
>
> On Fri, Jul 13, 2012 at 3:16 PM, James M Snell <jasnell@gmail.com> wrote:
>
>> This note is intended to provide some additional thoughts for discussion
>> around the design and use of SPDY as the possible basis for HTTP/2.0. The
>> intent is to provide fuel for discussion... comments are definitely welcome.
>>
>> As discussed within draft-tarreau-httpbis-network-friendly-00, and as has
>> been mentioned several times in discussion on list, handling of headers
>> within the current SPDY framing, and in particular the layering of HTTP/1.1
>> messages into SPDY frames is less than optimal. There is significant wasted
>> space, duplication, etc that -- strictly speaking -- really isn't
>> necessary. While I recognize that the following increases the basic
>> complexity of the protocol, it allows fairly significant optimization
>> following the same basic lines of reasoning expressed in
>> draft-tarreau-httpbis-network-friendly-00.
>>
>> Section 2.6.1 of the SPDY draft defines header blocks using the following
>> format:
>>
>>    +------------------------------------+
>>    | Number of Name/Value pairs (int32) |
>>    +------------------------------------+
>>    |     Length of name (int32)         |
>>    +------------------------------------+
>>    |           Name (string)            |
>>    +------------------------------------+
>>    |     Length of value  (int32)       |
>>    +------------------------------------+
>>    |          Value   (string)          |
>>    +------------------------------------+
>>    |           (repeats)                |
>>
>> This structure is used within SYN_STREAM and HEADERS frames.
>>
>> What I propose is the following revised structure:
>>
>>    +------------------------------------+
>>    |     Number of Headers (int32)      |
>>    +------------------------------------+
>>    |T| Flags (7) |     Length (24)      |
>>    +------------------------------------+
>>    |              Data                  |
>>    +------------------------------------+
>>    |T| Flags (7) |     Length (24)      |
>>    +-------------------------------------
>>    |              Data                  |
>>    +-------------------------------------
>>    |             (repeats)              |
>>
>> T is a single bit identifying the Header Type. There are two types..
>> REGISTERED (0) and EXTENSION (1)
>>
>> Flags provides flags for the specific header field. The flag 0x1
>> indicates that the header value contains Character Data. If not set, the
>> value is assumed to consist of raw octets. 0x2 indicates that the value is
>> compressed.
>>
>> Length is an unsigned 24-bit value specifying the number of octets after
>> the length field.
>>
>> When the T bit is NOT set, the Header field is a REGISTERED Header, the
>> structure of which is:
>>
>>    +------------------------------------+
>>    |0| Flags (7) |     Length (24)      |
>>    +------------------------------------+
>>    | ID | Value Length (int32) |Value...|
>>    +------------------------------------+
>>
>> The ID is a 32-bit number uniquely identifying the registered field. Each
>> is assigned by the registrar. For instance, the "Host" field could have a
>> registered value of "1", the "Accept-Lang" field could have a registered
>> value of "6", and so forth.
>>
>> The Value Length is a 32-bit value indicating the length of the value.
>>
>> If Flag 0x1 is set, the value is assumed to contain character data. When
>> set, the value MUST be preceded by a single unsigned 8-bit integer
>> identifying the character encoding utilized. The values are assigned by the
>> registrar. For instance, US-ASCII could have a registered value of "1",
>> while "UTF-8" could have a registered value of "2".
>>
>> For example:
>>
>>    +------------------------------------+
>>    |0| 0000001 |     24                 |
>>    +------------------------------------+
>>    | 1 | 16 | 1 |    www.example.org    |
>>    +------------------------------------+
>>
>> This Header record indicates a REGISTERED header containing character
>> content, the header ID = 1, the charset used is US-ASCII and the value is "
>> www.example.org". The header is expressed with a total of 28 bytes.
>>
>> When the T bit IS set, the Header field is an EXTENSION Header, the
>> structure of which is:
>>
>>    +------------------------------------+
>>    |0| Flags (7) |     Length (24)      |
>>    +------------------------------------+
>>    |      Length of name (int32)        |
>>    +------------------------------------+
>>    |           Name (string)            |
>>    +------------------------------------+
>>    |      Length of value (int32)       |
>>    +------------------------------------+
>>    |              Value                 |
>>    +------------------------------------+
>>
>> For example.. an extension header that contains raw binary data...
>>
>>    +------------------------------------+
>>    |0| 0000000 |       Length (24)      |
>>    +------------------------------------+
>>    |                5                   |
>>    +------------------------------------+
>>    |              x-foo                 |
>>    +------------------------------------+
>>    |                4                   |
>>    +------------------------------------+
>>    |           {raw bytes}              |
>>    +------------------------------------+
>>
>> The header is expressed with a total of 21 bytes.
>>
>> The same flags apply. 0x1 indicates that the value is character data. If
>> 0x1 is not set, the value contains raw octets. The key difference is that
>> there is a 32-bit name length and variable length name field in place of
>> the 32-bit ID field in the REGISTERED header. All other details remain the
>> same.
>>
>> As is currently the case in SPDY, if a single header value contains
>> multiple values, each can be separated using a single NUL (0) byte.
>>
>> There are several advantages to this approach:
>>
>> 1. Commonly used header names are omitted in favor of registered, known
>> numeric IDs, saving space and making it more efficient to scan over
>> commonly used headers. For instance, intermediaries that route requests
>> based on common headers such as Host etc could choose to ignore EXTENSION
>> header fields entirely, and scan only for the ID's of the fields they are
>> interested in, rather than having to parse the entire bag of header names.
>>
>> 2. Header values can be expressed as raw octets or character data.
>> Currently, mechanisms within HTTP require developers to muck around with
>> Base64 encoding or other encodings when including detail within a header.
>> This approach would eliminate that extra step. For instance, if I wanted to
>> have a Content-Integrity header whose value is an hmac digest, I would be
>> able to drop the raw bytes of the digest into the header value rather than
>> base64 or hex encoding it into an ASCII string, saving CPU cycles and
>> reducing the amount of data that must be transmitted.
>>
>> 3. Header values that contain character data would not be limited to
>> US-ASCII. Multiple charset encodings would be allowed... obviously this has
>> a whole slew of issues associated with it that need to be carefully
>> considered. The charset encoding flag could be dropped, if necessary, from
>> this proposal.
>>
>> For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to a
>> known, registered HTTP/1.1 header, allowing one to one translation from the
>> optimized form to the HTTP/1.1 form. Binary values would be base64-encoded.
>> If a particular header does not allow for Base64 encoded values under
>> HTTP/1.1, the down-level recipient would have the option of responding with
>> an appropriate 404 response.
>>
>> That's it for now. There are additional considerations to be given to the
>> specific selection of header fields to include within the SYN_STREAM vs.
>> follow-on HEADERS frames but that's a separate conversation. As always,
>> feedback is welcome...
>>
>> - James
>>
>>
>

--0015175774fe83011904c5016006
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div><font face=3D"courier new,monospace">Sigh... I should know better than=
 to write code without coffee or beer in hand... the actual compressed size=
 of the header block is</font><div><font face=3D"courier new,monospace">128=
 bytes...=C2=A0</font></div>

<br><div class=3D"gmail_quote">On Mon, Jul 16, 2012 at 11:51 PM, James M Sn=
ell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_b=
lank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">

<font face=3D"courier new,monospace">Ok... spent some time this evening pla=
ying around with the header frame syntax a bit more to see what further opt=
imizations could be made and to see if the binary encoded header id&#39;s m=
ade any noticeable difference in size and ease of processing.=C2=A0</font><=
div>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Here&#39;s the revised structure I played around with.=
..</font></div><div><br></div><div><font face=3D"courier new,monospace">1. =
Within a HEADER block, I assume two possible types of headers, REGISTERED a=
nd EXTENSION. A REGISTERED header is one that would be known to the registr=
ar and assigned a numeric id and a codepage. If the codepage is 0, the impl=
ication is that the header is MUST UNDERSTAND and is considered one of the =
core headers for the basic operation of the protocol. Codepages 1-9 are MUS=
T-IGNORE... that is, if a user-agent or server comes across a header on the=
se code pages that is not understood, the header can simply be ignored. Cod=
epages 10-14 are PRIVATE USE, with Codepage 10 being reserved for MUST UNDE=
RSTAND PRIVATE USE headers. EXTENSION headers are simple name value pairs e=
ssentially as they exist today.</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">2. Within extension headers, the name portion MU=
ST be ASCII and MUST NOT be longer than 255 bytes (quite generous really).<=
/font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">3. Values may be binary or character based, as i=
ndicated by a flags field. Values may be up to max(int32) in length.=C2=A0<=
/font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">4. Registered HTTP Methods can be identified by =
numeric value. Extension Methods can be identified by character value.</fon=
t></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">5. The structure for REGISTERED HEADERS is...</f=
ont></div><div><font face=3D"courier new,monospace"><br></font></div><div><=
font face=3D"courier new,monospace">=C2=A0 +------------------------------+=
</font></div>


<div><font face=3D"courier new,monospace">=C2=A0 |0| id (15-bit)| flags(8-b=
it) =C2=A0|</font></div><div><font face=3D"courier new,monospace">=C2=A0 +-=
-----------------------------+</font></div><div><font face=3D"courier new,m=
onospace">=C2=A0 | len (32-bit) | =C2=A0 =C2=A0 value =C2=A0 =C2=A0 |</font=
></div>


<div><font face=3D"courier new,monospace">=C2=A0 +-------------------------=
-----+</font></div><div><font face=3D"courier new,monospace"><br></font></d=
iv><div><font face=3D"courier new,monospace">6. The structure for EXTENSION=
 HEADERS is...</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">=C2=A0 +------------------------------+</font></=
div><div><font face=3D"courier new,monospace">=C2=A0 |1| flags(7-bit) | nam=
elen (8) |</font></div>


<div><font face=3D"courier new,monospace">=C2=A0 +-------------------------=
-----+</font></div><div><font face=3D"courier new,monospace">=C2=A0 | name =
| val len (32) | value =C2=A0|</font></div><div><font face=3D"courier new, =
monospace">=C2=A0 +------------------------------+</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Assuming the following registered headers...</fo=
nt></div><div><font face=3D"courier new,monospace"><br></font></div><div><f=
ont face=3D"courier new,monospace"><div>


<div>=C2=A0 public static final short VERSION =3D 1;</div><div>=C2=A0 publi=
c static final short METHOD =3D 2;</div><div>=C2=A0 public static final sho=
rt HOST =3D 3;</div><div>=C2=A0 public static final short SESSION =3D 4;</d=
iv><div>=C2=A0 public static final short CHARSET =3D 5;</div>


<div>=C2=A0 public static final short REQUEST_URI =3D 6;</div><div>=C2=A0 p=
ublic static final short ACCEPT_LANG =3D 4097;</div></div><div><br></div><d=
iv>And the following registered methods...</div><div><br></div><div><div>=
=C2=A0 public static final byte GET =3D 1;</div>


<div>=C2=A0 public static final byte POST =3D 2;</div><div>=C2=A0 public st=
atic final byte PUT =3D 3;</div><div>=C2=A0 public static final byte DELETE=
 =3D 4;</div><div>=C2=A0 public static final byte PATCH =3D 5;</div><div>=
=C2=A0 public static final byte HEAD =3D 6;</div>


<div>=C2=A0 public static final byte OPTIONS =3D 7;</div></div><div><br></d=
iv><div>Let&#39;s assume that what we want to to encode a HTTP GET for reso=
urce:=C2=A0</div><div>=C2=A0 <a href=3D"http://www.example.org/this/is/the/=
request?is=3Dit&amp;not=3Dbeautiful" target=3D"_blank">http://www.example.o=
rg/this/is/the/request?is=3Dit&amp;not=3Dbeautiful</a></div>


<div><br></div><div>With a session identifier of &quot;session_key&quot;, A=
CCEPT_LANG =3D en-US and default charset encoding for all character based h=
eader values is &quot;US-ASCII&quot;... Let&#39;s also add an extension hea=
der &quot;ext&quot; with value &quot;foo&quot;...</div>


<div><br></div><div>The Version header can be encoded as:</div><div>=C2=A0=
=C2=A0{0, 1, 0, 0, 0, 0, 2, 2, 0}</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The GET Method hea=
der can be encoded as:</div><div>=C2=A0=C2=A0{0, 2, 0, 0, 0, 0, 1, 1}=C2=A0=
</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The Host header wo=
uld be encoded as:</div><div>=C2=A0 { =C2=A00, =C2=A0 3, =C2=A0 1, =C2=A00,=
 =C2=A0 0, =C2=A0 0, =C2=A015, 119, 119, 119,=C2=A0</div><div>=C2=A0 =C2=A0=
 46, 101, 120, 97, 109, 112, 108, 101, =C2=A046, 111,=C2=A0</div>


<div>=C2=A0 =C2=A0114, 103}</div><div><br></div><div>The Accept-Lang header=
 would be encoded as:</div><div>=C2=A0 {16, 1, 1, 0, 0, 0, 5, <span>&#39;e&=
#39;</span>, <span>&#39;n&#39;</span>, <span>&#39;-&#39;</span>, <span>&#39=
;U&#39;</span>, <span>&#39;S&#39;</span>}</div>


<div><br></div><div>The Extension header ext: foo would be encoded as:</div=
><div>=C2=A0 {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}</div><d=
iv><br></div><div>The entire header block is encoded into a structure of 14=
5 bytes in length;</div>


<div><br></div><div>[8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, =
0, 3, 1, 0, 0, 0, 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, =
46, 111, 114, 103, 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 1=
15, 47, 116, 104, 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115,=
 61, 105, 116, 38, 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117,=
 108, 0, 5, 1, 0, 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0,=
 0, 0, 11, 115, 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, =
0, 0, 0, 5, 101, 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 10=
2, 111, 111]</div>


<div><br></div><div>By comparison, the same structure encoded using the exi=
sting SPDY HEADER block would require 208 bytes sans compression.</div><div=
><br></div><div>After applying compression of the block using the SPDY dict=
ionary, the block compresses into 6 compact bytes.</div>


<div>







<p>[120, 63, -29, -58, -89, -62]</p></div><div>Assuming this structure was =
used within a SPDY_STREAM message, unencrypted, a proxy/router that is scan=
ning the headers to determine where to route the SYN_STREAM too would need =
only to look at the first two bytes of each header to determine if the head=
er is either the HOST, METHOD, REQUEST_URI, VERSION or SESSION identifier. =
This scheme should prove to be significantly faster to scan and perform ope=
rations on than the current all-text-key-pair model. As always, tho, your m=
ileage may vary.=C2=A0</div>


<div><br></div><div>/end-experiment</div><span class=3D"HOEnZb"><font color=
=3D"#888888"><div><br></div><div>- James</div></font></span></font></div><d=
iv class=3D"HOEnZb"><div class=3D"h5"><div><br><div class=3D"gmail_quote">O=
n Fri, Jul 13, 2012 at 3:16 PM, James M Snell <span dir=3D"ltr">&lt;<a href=
=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;</=
span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new, monospace">This n=
ote is intended to provide some additional thoughts for discussion around t=
he design and use of SPDY as the possible basis for HTTP/2.0. The intent is=
 to provide fuel for discussion... comments are definitely welcome.<br>



<br>As discussed within draft-tarreau-httpbis-network-friendly-00, and as h=
as been mentioned several times in discussion on list, handling of headers =
within the current SPDY framing, and in particular the layering of HTTP/1.1=
 messages into SPDY frames is less than optimal. There is significant waste=
d space, duplication, etc that -- strictly speaking -- really isn&#39;t nec=
essary. While I recognize that the following increases the basic complexity=
 of the protocol, it allows fairly significant optimization following the s=
ame basic lines of reasoning expressed in draft-tarreau-httpbis-network-fri=
endly-00.</font><div>



<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">Section 2.6.1 of the SPDY draft defines header block=
s using the following format:</font></div><div><font face=3D"courier new, m=
onospace"><br>



</font></div><div><font face=3D"courier new, monospace"><div>=C2=A0 =C2=A0+=
------------------------------------+</div><div>=C2=A0 =C2=A0| Number of Na=
me/Value pairs (int32) |</div><div>=C2=A0 =C2=A0+--------------------------=
----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of name (int32) =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>



<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-------------------------=
-----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of value =C2=A0(=
int32) =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+---------------------=
---------------+</div>



<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Value =C2=A0 (string)=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+--------------=
----------------------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div><br></div><div>This structure is used within SYN_STREAM and =
HEADERS frames.=C2=A0</div>



<div><br></div><div>What I propose is the following revised structure:</div=
><div><br></div><div><div>=C2=A0 =C2=A0+-----------------------------------=
-+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Number of Headers (int32) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div>



<div>=C2=A0 =C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div>=
<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=
=C2=A0 =C2=A0+------------------------------------+</div></div><div>=C2=A0 =
=C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>



<div>=C2=A0 =C2=A0+-------------------------------------</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-=
------------------------------------</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div>



<div>T is a single bit identifying the Header Type. There are two types.. R=
EGISTERED (0) and EXTENSION (1)</div><div><br></div><div>Flags provides fla=
gs for the specific header field. The flag 0x1 indicates that the header va=
lue contains Character Data. If not set, the value is assumed to consist of=
 raw octets. 0x2 indicates that the value is compressed.</div>



<div><br></div><div>Length is an unsigned 24-bit value specifying the numbe=
r of octets after the length field.</div><div><br></div><div>When the T bit=
 is NOT set, the Header field is a REGISTERED Header, the structure of whic=
h is:</div>



<div><br></div><div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0|0| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0| ID | Value Length (int32) |Value...|</div>



<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>The ID is a 32-bit number uniquely identifying the registered =
field. Each is assigned by the registrar. For instance, the &quot;Host&quot=
; field could have a registered value of &quot;1&quot;, the &quot;Accept-La=
ng&quot; field could have a registered value of &quot;6&quot;, and so forth=
.=C2=A0</div>



<div><br></div><div>The Value Length is a 32-bit value indicating the lengt=
h of the value.</div><div><br></div><div>If Flag 0x1 is set, the value is a=
ssumed to contain character data. When set, the value MUST be preceded by a=
 single unsigned 8-bit integer identifying the character encoding utilized.=
 The values are assigned by the registrar. For instance, US-ASCII could hav=
e a registered value of &quot;1&quot;, while &quot;UTF-8&quot; could have a=
 registered value of &quot;2&quot;.</div>



<div><br></div><div>For example:</div><div><br></div><div><div>=C2=A0 =C2=
=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| 000000=
1 | =C2=A0 =C2=A0 24 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+</div><d=
iv>=C2=A0 =C2=A0| 1 | 16 | 1 | =C2=A0 =C2=A0<a href=3D"http://www.example.o=
rg" target=3D"_blank">www.example.org</a> =C2=A0 =C2=A0|</div>



<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>This Header record indicates a REGISTERED header containing ch=
aracter content, the header ID =3D 1, the charset used is US-ASCII and the =
value is &quot;<a href=3D"http://www.example.org" target=3D"_blank">www.exa=
mple.org</a>&quot;. The header is expressed with a total of 28 bytes.</div>



<div><br></div><div>When the T bit IS set, the Header field is an EXTENSION=
 Header, the structure of which is:</div><div><br></div><div><div>=C2=A0 =
=C2=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| Fla=
gs (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>



<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div><di=
v>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+---------------=
---------------------+</div>



<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0Length of value (int32) =C2=A0 =C2=
=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+<=
/div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Va=
lue =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=
=A0 =C2=A0+------------------------------------+</div></div><div><br>



</div><div>For example.. an extension header that contains raw binary data.=
..</div><div><br></div></font><div style=3D"font-family:&#39;courier new&#3=
9;,monospace">=C2=A0 =C2=A0+------------------------------------+</div><div=
 style=3D"font-family:&#39;courier new&#39;,monospace">



=C2=A0 =C2=A0|0| 0000000 | =C2=A0 =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=
=A0 =C2=A0+------------------------------------+</div><div style=3D"font-fa=
mily:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 |</div>



<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0+--=
----------------------------------+</div><div style=3D"font-family:&#39;cou=
rier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0x-foo =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">



=C2=A0 =C2=A0+------------------------------------+</div><div style=3D"font=
-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div style=3D"font-family:&#39;courier n=
ew&#39;,monospace">=C2=A0 =C2=A0+------------------------------------+</div=
>



<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {raw bytes} =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|</div><font face=3D"courier new, monospace"><div>=C2=
=A0 =C2=A0+------------------------------------+=C2=A0 =C2=A0</div><div><br=
></div><div>The header is expressed with a total of 21 bytes.</div>



<div><br></div><div>The same flags apply. 0x1 indicates that the value is c=
haracter data. If 0x1 is not set, the value contains raw octets. The key di=
fference is that there is a 32-bit name length and variable length name fie=
ld in place of the 32-bit ID field in the REGISTERED header. All other deta=
ils remain the same.=C2=A0</div>



<div><br></div><div>As is currently the case in SPDY, if a single header va=
lue contains multiple values, each can be separated using a single NUL (0) =
byte.</div><div><br></div><div>There are several advantages to this approac=
h:</div>



<div><br></div><div>1. Commonly used header names are omitted in favor of r=
egistered, known numeric IDs, saving space and making it more efficient to =
scan over commonly used headers. For instance, intermediaries that route re=
quests based on common headers such as Host etc could choose to ignore EXTE=
NSION header fields entirely, and scan only for the ID&#39;s of the fields =
they are interested in, rather than having to parse the entire bag of heade=
r names.</div>



<div><br></div><div>2. Header values can be expressed as raw octets or char=
acter data. Currently, mechanisms within HTTP require developers to muck ar=
ound with Base64 encoding or other encodings when including detail within a=
 header. This approach would eliminate that extra step. For instance, if I =
wanted to have a Content-Integrity header whose value is an hmac digest, I =
would be able to drop the raw bytes of the digest into the header value rat=
her than base64 or hex encoding it into an ASCII string, saving CPU cycles =
and reducing the amount of data that must be transmitted.=C2=A0</div>



<div><br></div><div>3. Header values that contain character data would not =
be limited to US-ASCII. Multiple charset encodings would be allowed... obvi=
ously this has a whole slew of issues associated with it that need to be ca=
refully considered. The charset encoding flag could be dropped, if necessar=
y, from this proposal.</div>



<div><br></div><div>For HTTP/1.1 Compatibility, each REGISTERED Header woul=
d be mapped to a known, registered HTTP/1.1 header, allowing one to one tra=
nslation from the optimized form to the HTTP/1.1 form. Binary values would =
be base64-encoded. If a particular header does not allow for Base64 encoded=
 values under HTTP/1.1, the down-level recipient would have the option of r=
esponding with an appropriate 404 response.</div>



<div><br></div><div>That&#39;s it for now. There are additional considerati=
ons to be given to the specific selection of header fields to include withi=
n the SYN_STREAM vs. follow-on HEADERS frames but that&#39;s a separate con=
versation. As always, feedback is welcome...</div>


<span><font color=3D"#888888">
<div><br></div><div>- James</div><div><br></div></font></span></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--0015175774fe83011904c5016006--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:21:58 2012
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 3853621F85A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:21:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.832
X-Spam-Level: 
X-Spam-Status: No, score=-9.832 tagged_above=-999 required=5 tests=[AWL=0.766, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 J6noSiabrKiw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:21:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BE9221F85A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:21:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr26p-0004F8-Fi for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:22:15 +0000
Resent-Date: Tue, 17 Jul 2012 07:22:15 +0000
Resent-Message-Id: <E1Sr26p-0004F8-Fi@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr26f-0004Ct-Bm for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:22:05 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr26Y-0006No-Gn for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:22:05 +0000
Received: by wibhq4 with SMTP id hq4so78044wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 00:21:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=jhgU3zsDkgir/vxwyOVswtuOiJ84W4eZkXHS8HIxvq0=; b=YjJWYSWzoPdeV8UioVxzuJHlKqhdWMmMuL6hAWcF4CYd/gEshlecnTHIHsrphyWrOL q30fOdwDkp9qH464INNjX9JrX1DniphtbeLnLbMG/MO4ZtSl+mX7Jz7N9xsFYc5k/+Gd tsBO6ilqAxn+3GQt3qAauSb42d/PSygOkSO9KKWnNh3b5FlHbA0ffrZAf+7rXJOyf+RC uCbNPNmZ9cKSnm6ou8JhPpSRfHxxK7bdVG6Y/DVecf3GfS1d4uWb6fuObqYw0ppj81oH YQmN9DcvpP7N9V2pD58Idb3eZwjrGx7g8Ra6wuuKEXiQ8arZM98MW8Q4uqhzRo0S77bl DLLQ==
Received: by 10.180.86.106 with SMTP id o10mr1633891wiz.22.1342509691801; Tue, 17 Jul 2012 00:21:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 00:21:11 -0700 (PDT)
In-Reply-To: <CABaLYCswjWjNsBmFgJOWSCUZ+Nxu90NyRc+H_CRym9L7QX7ysg@mail.gmail.com>
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com> <CABaLYCswjWjNsBmFgJOWSCUZ+Nxu90NyRc+H_CRym9L7QX7ysg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 00:21:11 -0700
Message-ID: <CABP7RbcxomO3oZFpNNthj2if89LtkbKeR6D3_pYvf3drCKVtfA@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d041827524991d404c50165c8
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr26Y-0006No-Gn fa6c4e5821976cd642e4f080094f1ba7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbcxomO3oZFpNNthj2if89LtkbKeR6D3_pYvf3drCKVtfA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14315
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>

--f46d041827524991d404c50165c8
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 12:18 AM, Mike Belshe <mike@belshe.com> wrote:

> i like the direction of this.  a good blend of a registry and extension
> headers.
>
> i wasn't quite sure how you got to the 6 byte compressed header, tho.
>
>
Heh.. chalk that up to temporary idiocy on my part... and a complete lack
of either caffeine or alcohol in my system.


> mike
>
>
> On Mon, Jul 16, 2012 at 11:51 PM, James M Snell <jasnell@gmail.com> wrote:
>
>> Ok... spent some time this evening playing around with the header frame
>> syntax a bit more to see what further optimizations could be made and to
>> see if the binary encoded header id's made any noticeable difference in
>> size and ease of processing.
>>
>> Here's the revised structure I played around with...
>>
>> 1. Within a HEADER block, I assume two possible types of headers,
>> REGISTERED and EXTENSION. A REGISTERED header is one that would be known to
>> the registrar and assigned a numeric id and a codepage. If the codepage is
>> 0, the implication is that the header is MUST UNDERSTAND and is considered
>> one of the core headers for the basic operation of the protocol. Codepages
>> 1-9 are MUST-IGNORE... that is, if a user-agent or server comes across a
>> header on these code pages that is not understood, the header can simply be
>> ignored. Codepages 10-14 are PRIVATE USE, with Codepage 10 being reserved
>> for MUST UNDERSTAND PRIVATE USE headers. EXTENSION headers are simple name
>> value pairs essentially as they exist today.
>>
>> 2. Within extension headers, the name portion MUST be ASCII and MUST NOT
>> be longer than 255 bytes (quite generous really).
>>
>> 3. Values may be binary or character based, as indicated by a flags
>> field. Values may be up to max(int32) in length.
>>
>> 4. Registered HTTP Methods can be identified by numeric value. Extension
>> Methods can be identified by character value.
>>
>> 5. The structure for REGISTERED HEADERS is...
>>
>>   +------------------------------+
>>   |0| id (15-bit)| flags(8-bit)  |
>>   +------------------------------+
>>   | len (32-bit) |     value     |
>>   +------------------------------+
>>
>> 6. The structure for EXTENSION HEADERS is...
>>
>>   +------------------------------+
>>   |1| flags(7-bit) | namelen (8) |
>>   +------------------------------+
>>   | name | val len (32) | value  |
>>   +------------------------------+
>>
>> Assuming the following registered headers...
>>
>>   public static final short VERSION = 1;
>>   public static final short METHOD = 2;
>>   public static final short HOST = 3;
>>   public static final short SESSION = 4;
>>   public static final short CHARSET = 5;
>>   public static final short REQUEST_URI = 6;
>>   public static final short ACCEPT_LANG = 4097;
>>
>> And the following registered methods...
>>
>>   public static final byte GET = 1;
>>   public static final byte POST = 2;
>>   public static final byte PUT = 3;
>>   public static final byte DELETE = 4;
>>   public static final byte PATCH = 5;
>>   public static final byte HEAD = 6;
>>   public static final byte OPTIONS = 7;
>>
>> Let's assume that what we want to to encode a HTTP GET for resource:
>>   http://www.example.org/this/is/the/request?is=it&not=beautiful
>>
>> With a session identifier of "session_key", ACCEPT_LANG = en-US and
>> default charset encoding for all character based header values is
>> "US-ASCII"... Let's also add an extension header "ext" with value "foo"...
>>
>> The Version header can be encoded as:
>>   {0, 1, 0, 0, 0, 0, 2, 2, 0}
>>
>> The GET Method header can be encoded as:
>>   {0, 2, 0, 0, 0, 0, 1, 1}
>>
>> The Host header would be encoded as:
>>   {  0,   3,   1,  0,   0,   0,  15, 119, 119, 119,
>>     46, 101, 120, 97, 109, 112, 108, 101,  46, 111,
>>    114, 103}
>>
>> The Accept-Lang header would be encoded as:
>>   {16, 1, 1, 0, 0, 0, 5, 'e', 'n', '-', 'U', 'S'}
>>
>> The Extension header ext: foo would be encoded as:
>>   {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}
>>
>> The entire header block is encoded into a structure of 145 bytes in
>> length;
>>
>> [8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, 0, 3, 1, 0, 0, 0,
>> 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, 46, 111, 114, 103,
>> 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 115, 47, 116, 104,
>> 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115, 61, 105, 116, 38,
>> 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117, 108, 0, 5, 1, 0,
>> 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0, 0, 0, 11, 115,
>> 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, 0, 0, 0, 5, 101,
>> 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111]
>>
>> By comparison, the same structure encoded using the existing SPDY HEADER
>> block would require 208 bytes sans compression.
>>
>> After applying compression of the block using the SPDY dictionary, the
>> block compresses into 6 compact bytes.
>>
>> [120, 63, -29, -58, -89, -62]
>> Assuming this structure was used within a SPDY_STREAM message,
>> unencrypted, a proxy/router that is scanning the headers to determine where
>> to route the SYN_STREAM too would need only to look at the first two bytes
>> of each header to determine if the header is either the HOST, METHOD,
>> REQUEST_URI, VERSION or SESSION identifier. This scheme should prove to be
>> significantly faster to scan and perform operations on than the current
>> all-text-key-pair model. As always, tho, your mileage may vary.
>>
>> /end-experiment
>>
>> - James
>>
>> On Fri, Jul 13, 2012 at 3:16 PM, James M Snell <jasnell@gmail.com> wrote:
>>
>>> This note is intended to provide some additional thoughts for discussion
>>> around the design and use of SPDY as the possible basis for HTTP/2.0. The
>>> intent is to provide fuel for discussion... comments are definitely welcome.
>>>
>>> As discussed within draft-tarreau-httpbis-network-friendly-00, and as
>>> has been mentioned several times in discussion on list, handling of headers
>>> within the current SPDY framing, and in particular the layering of HTTP/1.1
>>> messages into SPDY frames is less than optimal. There is significant wasted
>>> space, duplication, etc that -- strictly speaking -- really isn't
>>> necessary. While I recognize that the following increases the basic
>>> complexity of the protocol, it allows fairly significant optimization
>>> following the same basic lines of reasoning expressed in
>>> draft-tarreau-httpbis-network-friendly-00.
>>>
>>> Section 2.6.1 of the SPDY draft defines header blocks using the
>>> following format:
>>>
>>>    +------------------------------------+
>>>    | Number of Name/Value pairs (int32) |
>>>    +------------------------------------+
>>>    |     Length of name (int32)         |
>>>    +------------------------------------+
>>>    |           Name (string)            |
>>>    +------------------------------------+
>>>    |     Length of value  (int32)       |
>>>    +------------------------------------+
>>>    |          Value   (string)          |
>>>    +------------------------------------+
>>>    |           (repeats)                |
>>>
>>> This structure is used within SYN_STREAM and HEADERS frames.
>>>
>>> What I propose is the following revised structure:
>>>
>>>    +------------------------------------+
>>>    |     Number of Headers (int32)      |
>>>    +------------------------------------+
>>>    |T| Flags (7) |     Length (24)      |
>>>    +------------------------------------+
>>>    |              Data                  |
>>>    +------------------------------------+
>>>    |T| Flags (7) |     Length (24)      |
>>>    +-------------------------------------
>>>    |              Data                  |
>>>    +-------------------------------------
>>>    |             (repeats)              |
>>>
>>> T is a single bit identifying the Header Type. There are two types..
>>> REGISTERED (0) and EXTENSION (1)
>>>
>>> Flags provides flags for the specific header field. The flag 0x1
>>> indicates that the header value contains Character Data. If not set, the
>>> value is assumed to consist of raw octets. 0x2 indicates that the value is
>>> compressed.
>>>
>>> Length is an unsigned 24-bit value specifying the number of octets after
>>> the length field.
>>>
>>> When the T bit is NOT set, the Header field is a REGISTERED Header, the
>>> structure of which is:
>>>
>>>    +------------------------------------+
>>>    |0| Flags (7) |     Length (24)      |
>>>    +------------------------------------+
>>>    | ID | Value Length (int32) |Value...|
>>>    +------------------------------------+
>>>
>>> The ID is a 32-bit number uniquely identifying the registered field.
>>> Each is assigned by the registrar. For instance, the "Host" field could
>>> have a registered value of "1", the "Accept-Lang" field could have a
>>> registered value of "6", and so forth.
>>>
>>> The Value Length is a 32-bit value indicating the length of the value.
>>>
>>> If Flag 0x1 is set, the value is assumed to contain character data. When
>>> set, the value MUST be preceded by a single unsigned 8-bit integer
>>> identifying the character encoding utilized. The values are assigned by the
>>> registrar. For instance, US-ASCII could have a registered value of "1",
>>> while "UTF-8" could have a registered value of "2".
>>>
>>> For example:
>>>
>>>    +------------------------------------+
>>>    |0| 0000001 |     24                 |
>>>    +------------------------------------+
>>>    | 1 | 16 | 1 |    www.example.org    |
>>>    +------------------------------------+
>>>
>>> This Header record indicates a REGISTERED header containing character
>>> content, the header ID = 1, the charset used is US-ASCII and the value is "
>>> www.example.org". The header is expressed with a total of 28 bytes.
>>>
>>> When the T bit IS set, the Header field is an EXTENSION Header, the
>>> structure of which is:
>>>
>>>    +------------------------------------+
>>>    |0| Flags (7) |     Length (24)      |
>>>    +------------------------------------+
>>>    |      Length of name (int32)        |
>>>    +------------------------------------+
>>>    |           Name (string)            |
>>>    +------------------------------------+
>>>    |      Length of value (int32)       |
>>>    +------------------------------------+
>>>    |              Value                 |
>>>    +------------------------------------+
>>>
>>> For example.. an extension header that contains raw binary data...
>>>
>>>    +------------------------------------+
>>>    |0| 0000000 |       Length (24)      |
>>>    +------------------------------------+
>>>    |                5                   |
>>>    +------------------------------------+
>>>    |              x-foo                 |
>>>    +------------------------------------+
>>>    |                4                   |
>>>    +------------------------------------+
>>>    |           {raw bytes}              |
>>>    +------------------------------------+
>>>
>>> The header is expressed with a total of 21 bytes.
>>>
>>> The same flags apply. 0x1 indicates that the value is character data. If
>>> 0x1 is not set, the value contains raw octets. The key difference is that
>>> there is a 32-bit name length and variable length name field in place of
>>> the 32-bit ID field in the REGISTERED header. All other details remain the
>>> same.
>>>
>>> As is currently the case in SPDY, if a single header value contains
>>> multiple values, each can be separated using a single NUL (0) byte.
>>>
>>> There are several advantages to this approach:
>>>
>>> 1. Commonly used header names are omitted in favor of registered, known
>>> numeric IDs, saving space and making it more efficient to scan over
>>> commonly used headers. For instance, intermediaries that route requests
>>> based on common headers such as Host etc could choose to ignore EXTENSION
>>> header fields entirely, and scan only for the ID's of the fields they are
>>> interested in, rather than having to parse the entire bag of header names.
>>>
>>> 2. Header values can be expressed as raw octets or character data.
>>> Currently, mechanisms within HTTP require developers to muck around with
>>> Base64 encoding or other encodings when including detail within a header.
>>> This approach would eliminate that extra step. For instance, if I wanted to
>>> have a Content-Integrity header whose value is an hmac digest, I would be
>>> able to drop the raw bytes of the digest into the header value rather than
>>> base64 or hex encoding it into an ASCII string, saving CPU cycles and
>>> reducing the amount of data that must be transmitted.
>>>
>>> 3. Header values that contain character data would not be limited to
>>> US-ASCII. Multiple charset encodings would be allowed... obviously this has
>>> a whole slew of issues associated with it that need to be carefully
>>> considered. The charset encoding flag could be dropped, if necessary, from
>>> this proposal.
>>>
>>> For HTTP/1.1 Compatibility, each REGISTERED Header would be mapped to a
>>> known, registered HTTP/1.1 header, allowing one to one translation from the
>>> optimized form to the HTTP/1.1 form. Binary values would be base64-encoded.
>>> If a particular header does not allow for Base64 encoded values under
>>> HTTP/1.1, the down-level recipient would have the option of responding with
>>> an appropriate 404 response.
>>>
>>> That's it for now. There are additional considerations to be given to
>>> the specific selection of header fields to include within the SYN_STREAM
>>> vs. follow-on HEADERS frames but that's a separate conversation. As always,
>>> feedback is welcome...
>>>
>>> - James
>>>
>>>
>>
>

--f46d041827524991d404c50165c8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 12:18 AM, Mike Belshe <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">i like the direction of this. =C2=A0a good b=
lend of a registry and extension headers.<div><br></div><div>i wasn&#39;t q=
uite sure how you got to the 6 byte compressed header, tho.<span class=3D"H=
OEnZb"><font color=3D"#888888"><br>

<div><br></div></font></span></div></blockquote><div><br></div><div>Heh.. c=
halk that up to temporary idiocy on my part... and a complete lack of eithe=
r caffeine or alcohol in my system.=C2=A0</div><div>=C2=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">

<div><span class=3D"HOEnZb"><font color=3D"#888888"><div></div><div>mike</d=
iv></font></span><div><div class=3D"h5"><div><br><br><div class=3D"gmail_qu=
ote">
On Mon, Jul 16, 2012 at 11:51 PM, James M Snell <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">


<font face=3D"courier new,monospace">Ok... spent some time this evening pla=
ying around with the header frame syntax a bit more to see what further opt=
imizations could be made and to see if the binary encoded header id&#39;s m=
ade any noticeable difference in size and ease of processing.=C2=A0</font><=
div>




<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Here&#39;s the revised structure I played around with.=
..</font></div><div><br></div><div><font face=3D"courier new,monospace">1. =
Within a HEADER block, I assume two possible types of headers, REGISTERED a=
nd EXTENSION. A REGISTERED header is one that would be known to the registr=
ar and assigned a numeric id and a codepage. If the codepage is 0, the impl=
ication is that the header is MUST UNDERSTAND and is considered one of the =
core headers for the basic operation of the protocol. Codepages 1-9 are MUS=
T-IGNORE... that is, if a user-agent or server comes across a header on the=
se code pages that is not understood, the header can simply be ignored. Cod=
epages 10-14 are PRIVATE USE, with Codepage 10 being reserved for MUST UNDE=
RSTAND PRIVATE USE headers. EXTENSION headers are simple name value pairs e=
ssentially as they exist today.</font></div>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">2. Within extension headers, the name portion MU=
ST be ASCII and MUST NOT be longer than 255 bytes (quite generous really).<=
/font></div>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">3. Values may be binary or character based, as i=
ndicated by a flags field. Values may be up to max(int32) in length.=C2=A0<=
/font></div>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">4. Registered HTTP Methods can be identified by =
numeric value. Extension Methods can be identified by character value.</fon=
t></div>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">5. The structure for REGISTERED HEADERS is...</f=
ont></div><div><font face=3D"courier new,monospace"><br></font></div><div><=
font face=3D"courier new,monospace">=C2=A0 +------------------------------+=
</font></div>




<div><font face=3D"courier new,monospace">=C2=A0 |0| id (15-bit)| flags(8-b=
it) =C2=A0|</font></div><div><font face=3D"courier new,monospace">=C2=A0 +-=
-----------------------------+</font></div><div><font face=3D"courier new,m=
onospace">=C2=A0 | len (32-bit) | =C2=A0 =C2=A0 value =C2=A0 =C2=A0 |</font=
></div>




<div><font face=3D"courier new,monospace">=C2=A0 +-------------------------=
-----+</font></div><div><font face=3D"courier new,monospace"><br></font></d=
iv><div><font face=3D"courier new,monospace">6. The structure for EXTENSION=
 HEADERS is...</font></div>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">=C2=A0 +------------------------------+</font></=
div><div><font face=3D"courier new,monospace">=C2=A0 |1| flags(7-bit) | nam=
elen (8) |</font></div>




<div><font face=3D"courier new,monospace">=C2=A0 +-------------------------=
-----+</font></div><div><font face=3D"courier new,monospace">=C2=A0 | name =
| val len (32) | value =C2=A0|</font></div><div><font face=3D"courier new, =
monospace">=C2=A0 +------------------------------+</font></div>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Assuming the following registered headers...</fo=
nt></div><div><font face=3D"courier new,monospace"><br></font></div><div><f=
ont face=3D"courier new,monospace"><div>




<div>=C2=A0 public static final short VERSION =3D 1;</div><div>=C2=A0 publi=
c static final short METHOD =3D 2;</div><div>=C2=A0 public static final sho=
rt HOST =3D 3;</div><div>=C2=A0 public static final short SESSION =3D 4;</d=
iv><div>=C2=A0 public static final short CHARSET =3D 5;</div>




<div>=C2=A0 public static final short REQUEST_URI =3D 6;</div><div>=C2=A0 p=
ublic static final short ACCEPT_LANG =3D 4097;</div></div><div><br></div><d=
iv>And the following registered methods...</div><div><br></div><div><div>=
=C2=A0 public static final byte GET =3D 1;</div>




<div>=C2=A0 public static final byte POST =3D 2;</div><div>=C2=A0 public st=
atic final byte PUT =3D 3;</div><div>=C2=A0 public static final byte DELETE=
 =3D 4;</div><div>=C2=A0 public static final byte PATCH =3D 5;</div><div>=
=C2=A0 public static final byte HEAD =3D 6;</div>




<div>=C2=A0 public static final byte OPTIONS =3D 7;</div></div><div><br></d=
iv><div>Let&#39;s assume that what we want to to encode a HTTP GET for reso=
urce:=C2=A0</div><div>=C2=A0 <a href=3D"http://www.example.org/this/is/the/=
request?is=3Dit&amp;not=3Dbeautiful" target=3D"_blank">http://www.example.o=
rg/this/is/the/request?is=3Dit&amp;not=3Dbeautiful</a></div>




<div><br></div><div>With a session identifier of &quot;session_key&quot;, A=
CCEPT_LANG =3D en-US and default charset encoding for all character based h=
eader values is &quot;US-ASCII&quot;... Let&#39;s also add an extension hea=
der &quot;ext&quot; with value &quot;foo&quot;...</div>




<div><br></div><div>The Version header can be encoded as:</div><div>=C2=A0=
=C2=A0{0, 1, 0, 0, 0, 0, 2, 2, 0}</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The GET Method hea=
der can be encoded as:</div><div>=C2=A0=C2=A0{0, 2, 0, 0, 0, 0, 1, 1}=C2=A0=
</div></font>







<font face=3D"courier new,monospace"><div><br></div><div>The Host header wo=
uld be encoded as:</div><div>=C2=A0 { =C2=A00, =C2=A0 3, =C2=A0 1, =C2=A00,=
 =C2=A0 0, =C2=A0 0, =C2=A015, 119, 119, 119,=C2=A0</div><div>=C2=A0 =C2=A0=
 46, 101, 120, 97, 109, 112, 108, 101, =C2=A046, 111,=C2=A0</div>




<div>=C2=A0 =C2=A0114, 103}</div><div><br></div><div>The Accept-Lang header=
 would be encoded as:</div><div>=C2=A0 {16, 1, 1, 0, 0, 0, 5, <span>&#39;e&=
#39;</span>, <span>&#39;n&#39;</span>, <span>&#39;-&#39;</span>, <span>&#39=
;U&#39;</span>, <span>&#39;S&#39;</span>}</div>




<div><br></div><div>The Extension header ext: foo would be encoded as:</div=
><div>=C2=A0 {-128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 102, 111, 111}</div><d=
iv><br></div><div>The entire header block is encoded into a structure of 14=
5 bytes in length;</div>




<div><br></div><div>[8, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, =
0, 3, 1, 0, 0, 0, 15, 119, 119, 119, 46, 101, 120, 97, 109, 112, 108, 101, =
46, 111, 114, 103, 0, 6, 1, 0, 0, 0, 40, 47, 116, 104, 105, 115, 47, 105, 1=
15, 47, 116, 104, 101, 47, 114, 101, 113, 117, 101, 115, 116, 63, 105, 115,=
 61, 105, 116, 38, 110, 111, 116, 61, 98, 101, 97, 117, 116, 105, 102, 117,=
 108, 0, 5, 1, 0, 0, 0, 8, 117, 115, 45, 97, 115, 99, 105, 105, 0, 4, 1, 0,=
 0, 0, 11, 115, 101, 115, 115, 105, 111, 110, 95, 107, 101, 121, 16, 1, 1, =
0, 0, 0, 5, 101, 110, 45, 85, 83, -128, 1, 3, 101, 120, 116, 0, 0, 0, 3, 10=
2, 111, 111]</div>




<div><br></div><div>By comparison, the same structure encoded using the exi=
sting SPDY HEADER block would require 208 bytes sans compression.</div><div=
><br></div><div>After applying compression of the block using the SPDY dict=
ionary, the block compresses into 6 compact bytes.</div>




<div>







<p>[120, 63, -29, -58, -89, -62]</p></div><div>Assuming this structure was =
used within a SPDY_STREAM message, unencrypted, a proxy/router that is scan=
ning the headers to determine where to route the SYN_STREAM too would need =
only to look at the first two bytes of each header to determine if the head=
er is either the HOST, METHOD, REQUEST_URI, VERSION or SESSION identifier. =
This scheme should prove to be significantly faster to scan and perform ope=
rations on than the current all-text-key-pair model. As always, tho, your m=
ileage may vary.=C2=A0</div>




<div><br></div><div>/end-experiment</div><span><font color=3D"#888888"><div=
><br></div><div>- James</div></font></span></font></div><div><div><div><br>=
<div class=3D"gmail_quote">On Fri, Jul 13, 2012 at 3:16 PM, James M Snell <=
span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank"=
>jasnell@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new, monospace">This n=
ote is intended to provide some additional thoughts for discussion around t=
he design and use of SPDY as the possible basis for HTTP/2.0. The intent is=
 to provide fuel for discussion... comments are definitely welcome.<br>





<br>As discussed within draft-tarreau-httpbis-network-friendly-00, and as h=
as been mentioned several times in discussion on list, handling of headers =
within the current SPDY framing, and in particular the layering of HTTP/1.1=
 messages into SPDY frames is less than optimal. There is significant waste=
d space, duplication, etc that -- strictly speaking -- really isn&#39;t nec=
essary. While I recognize that the following increases the basic complexity=
 of the protocol, it allows fairly significant optimization following the s=
ame basic lines of reasoning expressed in draft-tarreau-httpbis-network-fri=
endly-00.</font><div>





<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">Section 2.6.1 of the SPDY draft defines header block=
s using the following format:</font></div><div><font face=3D"courier new, m=
onospace"><br>





</font></div><div><font face=3D"courier new, monospace"><div>=C2=A0 =C2=A0+=
------------------------------------+</div><div>=C2=A0 =C2=A0| Number of Na=
me/Value pairs (int32) |</div><div>=C2=A0 =C2=A0+--------------------------=
----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of name (int32) =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>





<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-------------------------=
-----------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Length of value =C2=A0(=
int32) =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+---------------------=
---------------+</div>





<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Value =C2=A0 (string)=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+--------------=
----------------------+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div><br></div><div>This structure is used within SYN_STREAM and =
HEADERS frames.=C2=A0</div>





<div><br></div><div>What I propose is the following revised structure:</div=
><div><br></div><div><div>=C2=A0 =C2=A0+-----------------------------------=
-+</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 Number of Headers (int32) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div>





<div>=C2=A0 =C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div>=
<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=
=C2=A0 =C2=A0+------------------------------------+</div></div><div>=C2=A0 =
=C2=A0|T| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>





<div>=C2=A0 =C2=A0+-------------------------------------</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Data =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+-=
------------------------------------</div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div>





<div>T is a single bit identifying the Header Type. There are two types.. R=
EGISTERED (0) and EXTENSION (1)</div><div><br></div><div>Flags provides fla=
gs for the specific header field. The flag 0x1 indicates that the header va=
lue contains Character Data. If not set, the value is assumed to consist of=
 raw octets. 0x2 indicates that the value is compressed.</div>





<div><br></div><div>Length is an unsigned 24-bit value specifying the numbe=
r of octets after the length field.</div><div><br></div><div>When the T bit=
 is NOT set, the Header field is a REGISTERED Header, the structure of whic=
h is:</div>





<div><br></div><div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0|0| Flags (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =
=C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+------------------------------------=
+</div><div>=C2=A0 =C2=A0| ID | Value Length (int32) |Value...|</div>





<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>The ID is a 32-bit number uniquely identifying the registered =
field. Each is assigned by the registrar. For instance, the &quot;Host&quot=
; field could have a registered value of &quot;1&quot;, the &quot;Accept-La=
ng&quot; field could have a registered value of &quot;6&quot;, and so forth=
.=C2=A0</div>





<div><br></div><div>The Value Length is a 32-bit value indicating the lengt=
h of the value.</div><div><br></div><div>If Flag 0x1 is set, the value is a=
ssumed to contain character data. When set, the value MUST be preceded by a=
 single unsigned 8-bit integer identifying the character encoding utilized.=
 The values are assigned by the registrar. For instance, US-ASCII could hav=
e a registered value of &quot;1&quot;, while &quot;UTF-8&quot; could have a=
 registered value of &quot;2&quot;.</div>





<div><br></div><div>For example:</div><div><br></div><div><div>=C2=A0 =C2=
=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| 000000=
1 | =C2=A0 =C2=A0 24 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+</div><d=
iv>=C2=A0 =C2=A0| 1 | 16 | 1 | =C2=A0 =C2=A0<a href=3D"http://www.example.o=
rg" target=3D"_blank">www.example.org</a> =C2=A0 =C2=A0|</div>





<div>=C2=A0 =C2=A0+------------------------------------+</div></div><div><b=
r></div><div>This Header record indicates a REGISTERED header containing ch=
aracter content, the header ID =3D 1, the charset used is US-ASCII and the =
value is &quot;<a href=3D"http://www.example.org" target=3D"_blank">www.exa=
mple.org</a>&quot;. The header is expressed with a total of 28 bytes.</div>





<div><br></div><div>When the T bit IS set, the Header field is an EXTENSION=
 Header, the structure of which is:</div><div><br></div><div><div>=C2=A0 =
=C2=A0+------------------------------------+</div><div>=C2=A0 =C2=A0|0| Fla=
gs (7) | =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =C2=A0|</div>





<div>=C2=A0 =C2=A0+------------------------------------+</div><div>=C2=A0 =
=C2=A0| =C2=A0 =C2=A0 =C2=A0Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>=C2=A0 =C2=A0+------------------------------------+</div><di=
v>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>=C2=A0 =C2=A0+---------------=
---------------------+</div>





<div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0Length of value (int32) =C2=A0 =C2=
=A0 =C2=A0 |</div><div>=C2=A0 =C2=A0+------------------------------------+<=
/div><div>=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Va=
lue =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>=C2=
=A0 =C2=A0+------------------------------------+</div></div><div><br>





</div><div>For example.. an extension header that contains raw binary data.=
..</div><div><br></div></font><div style=3D"font-family:&#39;courier new&#3=
9;,monospace">=C2=A0 =C2=A0+------------------------------------+</div><div=
 style=3D"font-family:&#39;courier new&#39;,monospace">





=C2=A0 =C2=A0|0| 0000000 | =C2=A0 =C2=A0 =C2=A0 Length (24) =C2=A0 =C2=A0 =
=C2=A0|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=
=A0 =C2=A0+------------------------------------+</div><div style=3D"font-fa=
mily:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 |</div>





<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0+--=
----------------------------------+</div><div style=3D"font-family:&#39;cou=
rier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0x-foo =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|</div><div style=3D"font-family:&#39;courier new&#39;,monospace">





=C2=A0 =C2=A0+------------------------------------+</div><div style=3D"font=
-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div style=3D"font-family:&#39;courier n=
ew&#39;,monospace">=C2=A0 =C2=A0+------------------------------------+</div=
>





<div style=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0 =C2=A0| =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {raw bytes} =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|</div><font face=3D"courier new, monospace"><div>=C2=
=A0 =C2=A0+------------------------------------+=C2=A0 =C2=A0</div><div><br=
></div><div>The header is expressed with a total of 21 bytes.</div>





<div><br></div><div>The same flags apply. 0x1 indicates that the value is c=
haracter data. If 0x1 is not set, the value contains raw octets. The key di=
fference is that there is a 32-bit name length and variable length name fie=
ld in place of the 32-bit ID field in the REGISTERED header. All other deta=
ils remain the same.=C2=A0</div>





<div><br></div><div>As is currently the case in SPDY, if a single header va=
lue contains multiple values, each can be separated using a single NUL (0) =
byte.</div><div><br></div><div>There are several advantages to this approac=
h:</div>





<div><br></div><div>1. Commonly used header names are omitted in favor of r=
egistered, known numeric IDs, saving space and making it more efficient to =
scan over commonly used headers. For instance, intermediaries that route re=
quests based on common headers such as Host etc could choose to ignore EXTE=
NSION header fields entirely, and scan only for the ID&#39;s of the fields =
they are interested in, rather than having to parse the entire bag of heade=
r names.</div>





<div><br></div><div>2. Header values can be expressed as raw octets or char=
acter data. Currently, mechanisms within HTTP require developers to muck ar=
ound with Base64 encoding or other encodings when including detail within a=
 header. This approach would eliminate that extra step. For instance, if I =
wanted to have a Content-Integrity header whose value is an hmac digest, I =
would be able to drop the raw bytes of the digest into the header value rat=
her than base64 or hex encoding it into an ASCII string, saving CPU cycles =
and reducing the amount of data that must be transmitted.=C2=A0</div>





<div><br></div><div>3. Header values that contain character data would not =
be limited to US-ASCII. Multiple charset encodings would be allowed... obvi=
ously this has a whole slew of issues associated with it that need to be ca=
refully considered. The charset encoding flag could be dropped, if necessar=
y, from this proposal.</div>





<div><br></div><div>For HTTP/1.1 Compatibility, each REGISTERED Header woul=
d be mapped to a known, registered HTTP/1.1 header, allowing one to one tra=
nslation from the optimized form to the HTTP/1.1 form. Binary values would =
be base64-encoded. If a particular header does not allow for Base64 encoded=
 values under HTTP/1.1, the down-level recipient would have the option of r=
esponding with an appropriate 404 response.</div>





<div><br></div><div>That&#39;s it for now. There are additional considerati=
ons to be given to the specific selection of header fields to include withi=
n the SYN_STREAM vs. follow-on HEADERS frames but that&#39;s a separate con=
versation. As always, feedback is welcome...</div>




<span><font color=3D"#888888">
<div><br></div><div>- James</div><div><br></div></font></span></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br>

--f46d041827524991d404c50165c8--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:22:09 2012
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 14F4C21F8599 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:22:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.333
X-Spam-Level: 
X-Spam-Status: No, score=-10.333 tagged_above=-999 required=5 tests=[AWL=0.266, BAYES_00=-2.599, 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 fAHbP4eKwLP8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:22:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 34FAE21F8598 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:22:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr277-0004HE-Ua for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:22:33 +0000
Resent-Date: Tue, 17 Jul 2012 07:22:33 +0000
Resent-Message-Id: <E1Sr277-0004HE-Ua@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sr26x-0004Ft-QH for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:22:23 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sr26w-0006Ol-6l for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:22:23 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6H7LnCi003834; Tue, 17 Jul 2012 10:21:49 +0300
X-CheckPoint: {500510CC-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Tue, 17 Jul 2012 10:21:49 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Brian Pane <brianp@brianp.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Date: Tue, 17 Jul 2012 10:21:49 +0300
Thread-Topic: HTTP/2 Expression of luke-warm interest: Varnish
Thread-Index: Ac1j7NPUEjEuWYDFQP2mMlBq84vvig==
Message-ID: <7FF50F01-73D8-4447-8F48-8E85C2E67078@checkpoint.com>
References: <20120716204650.GI27010@1wt.eu> <60438.1342473531@critter.freebsd.dk> <CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
In-Reply-To: <CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr26w-0006Ol-6l e991bbcbf7c6bc843f2f27961de364ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/7FF50F01-73D8-4447-8F48-8E85C2E67078@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14316
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 Jul 17, 2012, at 9:25 AM, Brian Pane wrote:

> On Mon, Jul 16, 2012 at 2:18 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> w=
rote:
>> In message <20120716204650.GI27010@1wt.eu>, Willy Tarreau writes:
>>=20
>>> I also remember that in private with a few of us you proposed a draft
>>> that you never published. There were very valid concerns here. Why do
>>> you not share it so that good ideas can be picked from it ?
>>=20
>> The main reason that it never made it to ID, is that there quite
>> clearly is no room in the timeplan for the kind of fundamental
>> contemplation I wanted to inspire, so it seemed a waste of both
>> my own and everybody elses time.
>>=20
>> There's nothing secret about it, and I don't think there is anything
>> in it which havn't already been mentioned in emails too:
>>=20
>>   http://phk.freebsd.dk/misc/draft-kamp-httpbis-http-20-architecture-01.=
txt
>=20
> Thanks for sharing this.  Here are some thoughts on it, from my
> perspective as a person who develops load balancers for a living:
>=20
> My key takeaway from your draft is that you're advocating for HTTP/2.0
> to have a wire format that can be parsed with efficiency much closer
> to TCP (fixed-sized fields, binary values, both the code and the data
> can fit in a small number of cache lines) than to HTTP/1.1
> (variable-length fields with nontrivial delimiter semantics, ASCII
> values, not-at-all-compact data, parsing code ends up being large and
> full of conditional branches).
>=20
> On one hand, that concept has a definite appeal.  In ever web server,
> proxy, and load balancer on which I've ever worked, HTTP parsing has
> been embarrassingly expensive.  On the other hand, that embarrassingly
> expensive parsing cost still tends to be only a single-digit
> percentage of total CPU usage in real-world proxies. =20

OK. The suspense is killing me. Where do the rest of the CPU cycles go. Rea=
ding PHK's draft, the router reads a request, parses it, and forwards it (a=
lmost as is) to another TCP stream. I can see how parsing takes some CPU cy=
cles. Where does the rest go?

Thanks

Yoav




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:27:46 2012
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 2ACE621F85AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:27:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 59DOkU0rFTBH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:27:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8D27121F85AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:27:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2CD-0006O8-W4 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:27:50 +0000
Resent-Date: Tue, 17 Jul 2012 07:27:49 +0000
Resent-Message-Id: <E1Sr2CD-0006O8-W4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr2C5-0006Md-NC for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:27:41 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr2C1-0006dE-95 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:27:41 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 10D943B599; Tue, 17 Jul 2012 07:27:16 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H7RFML062393; Tue, 17 Jul 2012 07:27:15 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 16 Jul 2012 23:51:30 MST." <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 07:27:15 +0000
Message-ID: <62392.1342510035@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr2C1-0006dE-95 57635cb7e101752dd94ef2a479c89f95
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/62392.1342510035@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14317
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>

In message <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com>
, James M Snell writes:

>3. Values may be binary or character based, as indicated by a flags field.
>Values may be up to max(int32) in length.

Allowing such large fields is counterproductive in my opinion.

No implementation can have a limit that large without becoming
a sitting duck for DoS attacks.

It would be far better to put a realistic, but still generous size
restriction.  Not sure if 16 bits is always enough, but the advantage
will likely outweigh any disadvantages.

>The entire header block is encoded into a structure of 145 bytes in length;
>
[...]
>
>By comparison, the same structure encoded using the existing SPDY HEADER
>block would require 208 bytes sans compression.
>
>After applying compression of the block using the SPDY dictionary, the
>block compresses into 6 compact bytes.
>
>[120, 63, -29, -58, -89, -62]

This is where I think we should be careful about what we measure
and optimize for.

Those six bytes will take a lot more CPU effort to unpack than
your 145 bytes (I think your proposed encoding is quite bloated
btw, but that's not an argument I need to carry for this point).

The really important metric is that most requests fit in a single
MTU.  Inside that limit, expending bytes to gain parsing speed can
be both a good and necessary (for HTTP-routers) tradeoff.

In that view, the difference between six and 208 bytes is not
terribly significant on its own, whereas a difference between
1400 and 1602 bytes would be.

The main and almost only reason requests don't fit in one MTU is
cookies, with a minor side-order of URI and User-Agent,
so if we can design away the need for cookies, we (almost)
don't need the computational complexity of deflate.

And there is another aspect which has me very worried about
deflate at this point in the protocol:  Has anybody tried
to see how big a deflate output they can produce with
a single MTU of input ?

My guestimate is well north of a 1MB.

That's a lot of DoS leverage for a single packet.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:45:34 2012
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 7614A21F8642 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:45:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.835
X-Spam-Level: 
X-Spam-Status: No, score=-4.835 tagged_above=-999 required=5 tests=[AWL=5.464, 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 FFxlN+gbCfhK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:45:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B88421F863D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:45:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2TO-00088D-RF for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:45:34 +0000
Resent-Date: Tue, 17 Jul 2012 07:45:34 +0000
Resent-Message-Id: <E1Sr2TO-00088D-RF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sr2T8-00086S-2N for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:45:18 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sr2T2-0007b0-ED for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:45:18 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6H7ihPA025549 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:44:43 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 7fbf_91e7_461b3992_cfe3_11e1_bd94_001d096c566a; Tue, 17 Jul 2012 16:44:43 +0900
Received: from [IPv6:::1] ([133.2.210.1]:51288) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E3492> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Tue, 17 Jul 2012 16:44:48 +0900
Message-ID: <500517E7.60404@it.aoyama.ac.jp>
Date: Tue, 17 Jul 2012 16:44:39 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
In-Reply-To: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr2T2-0007b0-ED 581cf2dd1151513d080b205cb4f067f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/500517E7.60404@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14319
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>

Hello James,

On 2012/07/14 7:16, James M Snell wrote:

>     +------------------------------------+
>     |0| Flags (7) |     Length (24)      |
>     +------------------------------------+
>     | ID | Value Length (int32) |Value...|
>     +------------------------------------+
>
> The ID is a 32-bit number uniquely identifying the registered field. Each
> is assigned by the registrar. For instance, the "Host" field could have a
> registered value of "1", the "Accept-Lang" field could have a registered
> value of "6", and so forth.
>
> The Value Length is a 32-bit value indicating the length of the value.

I agree with Poul-Henning that this is way too long.

> If Flag 0x1 is set, the value is assumed to contain character data. When
> set, the value MUST be preceded by a single unsigned 8-bit integer
> identifying the character encoding utilized. The values are assigned by the
> registrar. For instance, US-ASCII could have a registered value of "1",
> while "UTF-8" could have a registered value of "2".

The IANA charset registry already has MIBenum numbers. It would reduce 
registry effort a lot if these could be reused. More than one number for 
one and the same thing will create confusion. Unfortunately, theese 
numbers are in the range of 0-3000 or so, which doesn't fit into 8 bits.

But a much, much better solution in this day and age is to only allow 
one encoding, UTF-8. That by definition includes US-ASCII, covers all 
the world's characters, and is what HTML is moving towards (with quite 
surprising speed these days). And while in HTML (and other content 
formats), non-ASCII is extremely widespread, in HTTP, it is not, and 
having more than one encoding is needlessly complicated.

Regards,    Martin.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:45:35 2012
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 11A8821F863D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:45:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.883
X-Spam-Level: 
X-Spam-Status: No, score=-9.883 tagged_above=-999 required=5 tests=[AWL=0.715, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 552wvEFWuz8A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:45:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BC6A21F863E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:45:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2TE-00087m-Pf for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:45:24 +0000
Resent-Date: Tue, 17 Jul 2012 07:45:24 +0000
Resent-Message-Id: <E1Sr2TE-00087m-Pf@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr2T5-00086C-CI for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:45:15 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr2T0-0007az-4B for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:45:15 +0000
Received: by wibhq4 with SMTP id hq4so92692wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 00:44:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4OmentTU+QGo2AWdvRKWXIQoAN0nY0nf9Jw7p9IZgfg=; b=mSwvzeNcAwW0xiJjnXKNvkdUyvsWJV0mt6SKPq/VmOweWtPv8cNxggi/FRhOHSnaKm TTMFHKArv4D4nNB3qfxuD0x8GP5X2nukklimyjSoQ3aefrP2swXFquc3UAyBjWt07CPN cp9pjCCslhD/m8yvORipNIMBGFbDUEEJ+16y7i0nbUVEGauYtfVJN8SvrhHDnN7VPRQ0 RCZhOZfTbbHUrbk2Mjj6QaFO/Bj1I9FwFpqJ2qS2lLmWXIbTXEeP+rdnE+YPkLBgxZMh a0Pc5D63OuKdYOwM2DPggmH95WGH19ubEzG9DXeWn/GLEIVNLLRWtdYdpIWpaI5KJs1B jH4g==
Received: by 10.180.84.104 with SMTP id x8mr1791561wiy.20.1342511083543; Tue, 17 Jul 2012 00:44:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 00:44:23 -0700 (PDT)
In-Reply-To: <62392.1342510035@critter.freebsd.dk>
References: <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com> <62392.1342510035@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 00:44:23 -0700
Message-ID: <CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043bd7583ddcd004c501b830
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr2T0-0007az-4B 20481313f22ca42038eb212df2c59ea9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14318
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>

--f46d043bd7583ddcd004c501b830
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 12:27 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=
> 68g@mail.gmail.com>
> , James M Snell writes:
>
> >3. Values may be binary or character based, as indicated by a flags field.
> >Values may be up to max(int32) in length.
>
> Allowing such large fields is counterproductive in my opinion.
>
> No implementation can have a limit that large without becoming
> a sitting duck for DoS attacks.
>
> It would be far better to put a realistic, but still generous size
> restriction.  Not sure if 16 bits is always enough, but the advantage
> will likely outweigh any disadvantages.
>

i tend to agree but I think we need to test out a variety of scenarios
before we limit too much. Instinct tells me that 16-bits is likely going to
be more than enough.


>
> >The entire header block is encoded into a structure of 145 bytes in
> length;
> >
> [...]
> >
> >By comparison, the same structure encoded using the existing SPDY HEADER
> >block would require 208 bytes sans compression.
> >
> >After applying compression of the block using the SPDY dictionary, the
> >block compresses into 6 compact bytes.
> >
> >[120, 63, -29, -58, -89, -62]
>
> This is where I think we should be careful about what we measure
> and optimize for.
>
> Those six bytes will take a lot more CPU effort to unpack than
> your 145 bytes (I think your proposed encoding is quite bloated
> btw, but that's not an argument I need to carry for this point).
>
>
Yeah.. um.. ignore that compression ratio, lol... that was an oopsie on my
part. The actual value is 128-bytes compressed using the SPDY dictionary
and optimizing for size. And yes, looking at the ratio (the..um.. real
one), i'm not convinced that the compression is completely worth the
additional cost. As the SPDY spec itself acknowledges, it is counter
productive to compress already compressed data; so if our header encoding
is compact enough without it, why spend the additional cycles to save 20
bytes or so.

I am interested in hearing what further optimizations could be made to the
structure. At this point I would definitely hesitate to call this a
"proposal" in the formal sense. It's an exercise to experiment with
alternative header encodings to see what benefits we can reap, if any. If
the exercise proves valuable and bears fruit, I'll draft up a proposal.


> The really important metric is that most requests fit in a single
> MTU.  Inside that limit, expending bytes to gain parsing speed can
> be both a good and necessary (for HTTP-routers) tradeoff.
>
> In that view, the difference between six and 208 bytes is not
> terribly significant on its own, whereas a difference between
> 1400 and 1602 bytes would be.
>
> The main and almost only reason requests don't fit in one MTU is
> cookies, with a minor side-order of URI and User-Agent,
> so if we can design away the need for cookies, we (almost)
> don't need the computational complexity of deflate.
>

I'm all for eliminating or reducing the use of cookies. A Session header is
an excellent suggestion, IMHO, and something that reasonably should have
been done a long time ago. The more I look at it (assuming just for the
sake of discussion we're using SPDY)... the more I want to limit the number
of HTTP Request headers we drop into SYN_STREAM. SYN_STREAM should be kept
minimal, consisting of the version, method, host, request-uri and session.
All additional request headers can be pushed into one or more HEADER frames
following the SYN_STREAM and sized so that things easily fit into one MTU.

- James


>
> And there is another aspect which has me very worried about
> deflate at this point in the protocol:  Has anybody tried
> to see how big a deflate output they can produce with
> a single MTU of input ?
>
> My guestimate is well north of a 1MB.
>
> That's a lot of DoS leverage for a single packet.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d043bd7583ddcd004c501b830
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 12:27 AM, Poul-Henning Kamp <span dir=3D"ltr">&=
lt;<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.=
dk</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;CABP7RbdZPYYqtDFWUprrAmGQ8Geh=
OTh-LvXq9gizXGUJg4=3D<a href=3D"mailto:68g@mail.gmail.com">68g@mail.gmail.c=
om</a>&gt;<br>


<div class=3D"im">, James M Snell writes:<br>
<br>
</div><div class=3D"im">&gt;3. Values may be binary or character based, as =
indicated by a flags field.<br>
&gt;Values may be up to max(int32) in length.<br>
<br>
</div>Allowing such large fields is counterproductive in my opinion.<br>
<br>
No implementation can have a limit that large without becoming<br>
a sitting duck for DoS attacks.<br>
<br>
It would be far better to put a realistic, but still generous size<br>
restriction. =C2=A0Not sure if 16 bits is always enough, but the advantage<=
br>
will likely outweigh any disadvantages.<br></blockquote><div><br></div><div=
>i tend to agree but I think we need to test out a variety of scenarios bef=
ore we limit too much. Instinct tells me that 16-bits is likely going to be=
 more than enough.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt;The entire header block is encoded into a structure of 145 bytes in len=
gth;<br>
&gt;<br>
</div>[...]<br>
<div class=3D"im">&gt;<br>
&gt;By comparison, the same structure encoded using the existing SPDY HEADE=
R<br>
&gt;block would require 208 bytes sans compression.<br>
&gt;<br>
&gt;After applying compression of the block using the SPDY dictionary, the<=
br>
&gt;block compresses into 6 compact bytes.<br>
&gt;<br>
&gt;[120, 63, -29, -58, -89, -62]<br>
<br>
</div>This is where I think we should be careful about what we measure<br>
and optimize for.<br>
<br>
Those six bytes will take a lot more CPU effort to unpack than<br>
your 145 bytes (I think your proposed encoding is quite bloated<br>
btw, but that&#39;s not an argument I need to carry for this point).<br>
<br></blockquote><div><br></div><div>Yeah.. um.. ignore that compression ra=
tio, lol... that was an oopsie on my part. The actual value is 128-bytes co=
mpressed using the SPDY dictionary and optimizing for size. And yes, lookin=
g at the ratio (the..um.. real one), i&#39;m not convinced that the compres=
sion is completely worth the additional cost. As the SPDY spec itself ackno=
wledges, it is counter productive to compress already compressed data; so i=
f our header encoding is compact enough without it, why spend the additiona=
l cycles to save 20 bytes or so.</div>

<div><br></div><div>I am interested in hearing what further optimizations c=
ould be made to the structure. At this point I would definitely hesitate to=
 call this a &quot;proposal&quot; in the formal sense. It&#39;s an exercise=
 to experiment with alternative header encodings to see what benefits we ca=
n reap, if any. If the exercise proves valuable and bears fruit, I&#39;ll d=
raft up a proposal.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
The really important metric is that most requests fit in a single<br>
MTU. =C2=A0Inside that limit, expending bytes to gain parsing speed can<br>
be both a good and necessary (for HTTP-routers) tradeoff.<br>
<br>
In that view, the difference between six and 208 bytes is not<br>
terribly significant on its own, whereas a difference between<br>
1400 and 1602 bytes would be.<br>
<br>
The main and almost only reason requests don&#39;t fit in one MTU is<br>
cookies, with a minor side-order of URI and User-Agent,<br>
so if we can design away the need for cookies, we (almost)<br>
don&#39;t need the computational complexity of deflate.<br></blockquote><di=
v><br></div><div>I&#39;m all for eliminating or reducing the use of cookies=
. A Session header is an excellent suggestion, IMHO, and something that rea=
sonably should have been done a long time ago. The more I look at it (assum=
ing just for the sake of discussion we&#39;re using SPDY)... the more I wan=
t to limit the number of HTTP Request headers we drop into SYN_STREAM. SYN_=
STREAM should be kept minimal, consisting of the version, method, host, req=
uest-uri and session. All additional request headers can be pushed into one=
 or more HEADER frames following the SYN_STREAM and sized so that things ea=
sily fit into one MTU.=C2=A0</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<br>
And there is another aspect which has me very worried about<br>
deflate at this point in the protocol: =C2=A0Has anybody tried<br>
to see how big a deflate output they can produce with<br>
a single MTU of input ?<br>
<br>
My guestimate is well north of a 1MB.<br>
<br>
That&#39;s a lot of DoS leverage for a single packet.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--f46d043bd7583ddcd004c501b830--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:47:54 2012
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 0FC9F21F864B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:47:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.198
X-Spam-Level: 
X-Spam-Status: No, score=-8.198 tagged_above=-999 required=5 tests=[AWL=2.400, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 QXdf0DwXb7Om for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:47:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BD1321F8646 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:47:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2W0-00008O-0I for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:48:16 +0000
Resent-Date: Tue, 17 Jul 2012 07:48:16 +0000
Resent-Message-Id: <E1Sr2W0-00008O-0I@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sr2Vn-00007c-2t for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:48:03 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sr2Vi-0007i1-7y for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:48:03 +0000
Received: from [10.5.67.46] (unknown [72.32.115.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A556322E253 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 03:47:35 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B292A3CE-54DF-43F2-B1AE-9F7429A81BA5"
Date: Tue, 17 Jul 2012 17:47:32 +1000
References: <CC2AF150.1BB7E%kent.alstad@strangeloopnetworks.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <09BEE96E-A450-4ACF-B87F-A5B3B20E4468@mnot.net>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr2Vi-0007i1-7y d9f6f7c90cc9f203b1a1f840bdb9c543
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: SPDY Feedback
Archived-At: <http://www.w3.org/mid/09BEE96E-A450-4ACF-B87F-A5B3B20E4468@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14320
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>

--Apple-Mail=_B292A3CE-54DF-43F2-B1AE-9F7429A81BA5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

FYI


Begin forwarded message:
> From: Kent Alstad <kent.alstad@strangeloopnetworks.com>
> Subject: SPDY Feedback
> Date: 17 July 2012 5:39:12 PM AEST
> To: "mnot@mnot.net" <mnot@mnot.net>
>=20

> It=92s clear that over the years, HTTP/1.1 has come to be a =
less-than-optimal protocol for the modern web.  Its core inefficiencies =
are now well understood and include the lack of true request =
multiplexing, a poor concurrency model, poor use of the transport layer, =
and serialized messaging, among others.  HTTP/2.0 must be able to solve =
these problems.  As such, a model that utilizes a single long-lived TCP =
connection with support for pipelining, out-of-order requests/responses, =
response interleaving to overcome head-of-line blocking, and efficient =
use of the transport (e.g. elimination of redundant headers, header =
compression, etc) is desired.  These and other similar issues are core =
problems that the next version of the protocol must address.  At the =
same time, the proliferation of HTTP/1.1 has left us with a huge global =
infrastructure of clients, servers, and intermediary proxies (CDNs, load =
balancers, security devices, and other forward and reverse surrogates) =
and the next version of the protocol must enable a smooth transition for =
this infrastructure.  Maintaining the core semantics of HTTP is one way =
to ensure smooth integration with existing infrastructure.
>=20
> Our experience with proposed HTTP/2.0 frameworks has only been limited =
to SPDY.  However, lessons learned from SPDY can hopefully assist in =
decisions as we move forward with HTTP/2.0.  SPDY has shown great =
promise and success through the following:
>=20
> using a single, long-lasting TCP connection striving to reach the =
maximum bandwidth potential of the connection.
> providing a framework for true out-of-order pipelining with response =
interleaving, all of which allow non-serialized communication between =
two endpoints with less possibilities for head-of-line blocking over the =
single connection
> compressed headers to save bandwidth, with the ability to avoid header =
redundancy across multiple requests/responses.
> Google=92s backing of the protocol and Chrome=92s support for it has =
certainly allowed for quicker collection of real world data; the promise =
of new browsers and services supporting SPDY also helps its deployment.
> the promise of server push, which would allow a server to proactively =
send responses to a client
> request prioritization, provided the client is well behaved
>=20
> at the same time, SPDY deployment caused us various challenges that =
we=92d hope are addressed within the HTTP/2.0 framework.  These include:
>=20
> as a device that was often positioned behind reverse proxies and load =
balancers, the Strangeloop Site Optimizer was often unable to terminate =
client TCP connections (CDNs, load balancers, security devices and other =
such reverse proxies were usually doing the terminating).  This severely =
limited the deployments in which SPDY could be used.  SPDY=92s use of =
SSL as transport didn=92t help the issue since these proxies and load =
balancers often expect pure HTTP over the SSL transport.  HTTP/2.0 =
should strive to make these types of deployments (where not all =
infrastructure is compliant) easier.
> the requirement to always use TLS-secured connections with SPDY =
creates severe troubleshooting barriers.  SPDY makes a strong case for =
its =93everything secure=94 mandate.  But, we cannot ignore the needs of =
network operators and those who are tasked with troubleshooting an =
already complex infrastructure. An always-secure HTTP/2.0 framework =
would bring massive, and arguably unnecessary, challenges to these =
disciplines.  Security is likely best left out of HTTP/2.0=92s scope, =
allowing the protocol to operate either over clear text or TLS, as HTTP =
does today.  Then the onus falls back to content providers and website =
owners who would now have a choice over the security model governing =
their content.
> As the speed+mobility spec argues, it could be conceivable that server =
push can fall outside the scope of the protocol.  Though incredibly =
useful at its core, the challenge has, and continues to be, the meta =
information necessary to determine what to push.  Although this leaves =
room for innovation, the protocol itself should strive to provide a =
flexible framework for these types of capabilities.  It=92s unclear what =
those are at this time, but a model, for example, that allows servers to =
communicate to clients the same way clients communicate to servers (with =
bidirectional feedback) can allow for more flexibility since it would =
allow active participation by both endpoints in determining what content =
should proactively be sent to a client.
>=20
> SPDY is a successful protocol which has field-proven methods that =
solve some of HTTP=92s largest current issues.  It has shown tangible =
benefits in real-world deployments proving that it=92s time for a new =
generation of HTTP to arrive.  The lessons learned from SPDY so far =
should be able to greatly inform upcoming decisions in regards to =
HTTP/2.0.  Coupling SPDY=92s successful techniques with a model that =
provides for consistent semantics, compatibility with existing =
infrastructure, and ease of troubleshooting will surely help us build a =
great next version of HTTP and ensure its future success.

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




--Apple-Mail=_B292A3CE-54DF-43F2-B1AE-9F7429A81BA5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">FYI<div><br><div><br><div>Begin forwarded =
message:</div><div><blockquote type=3D"cite"><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span =
style=3D"font-family: Helvetica; font-size: medium; color: rgb(0, 0, 0); =
"><b>From:&nbsp;</b></span><span style=3D"font-family: Helvetica; =
font-size: medium; ">Kent Alstad &lt;<a =
href=3D"mailto:kent.alstad@strangeloopnetworks.com">kent.alstad@strangeloo=
pnetworks.com</a>&gt;<br></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span =
style=3D"font-family: Helvetica; font-size: medium; color: rgb(0, 0, 0); =
"><b>Subject:&nbsp;</b></span><span style=3D"font-family: Helvetica; =
font-size: medium; "><b>SPDY Feedback</b><br></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><span style=3D"font-family: Helvetica; font-size: =
medium; color: rgb(0, 0, 0); "><b>Date:&nbsp;</b></span><span =
style=3D"font-family: Helvetica; font-size: medium; ">17 July 2012 =
5:39:12 PM AEST<br></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span =
style=3D"font-family: Helvetica; font-size: medium; color: rgb(0, 0, 0); =
"><b>To:&nbsp;</b></span><span style=3D"font-family: Helvetica; =
font-size: medium; ">"<a href=3D"mailto:mnot@mnot.net">mnot@mnot.net</a>" =
&lt;<a =
href=3D"mailto:mnot@mnot.net">mnot@mnot.net</a>&gt;</span></div></blockquo=
te><blockquote type=3D"cite"><br></blockquote></div></div><div><blockquote=
 type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span =
class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-serif; =
font-size: 14px; "><b id=3D"internal-source-marker_0.77664526225999" =
style=3D"color: rgb(0, 0, 0); font-family: Times; font-size: medium; =
font-style: normal; font-variant: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
font-weight: normal; "><span style=3D"font-size: 15px; font-family: =
Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: =
normal; font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">It=92s clear that =
over the years, HTTP/1.1 has come to be a less-than-optimal protocol for =
the modern web. &nbsp;Its core inefficiencies are now well understood =
and include the lack of true request multiplexing, a poor concurrency =
model, poor use of the transport layer, and serialized messaging, among =
others. &nbsp;HTTP/2.0 must be able to solve these problems. &nbsp;As =
such, a model that utilizes a single long-lived TCP connection with =
support for pipelining, out-of-order requests/responses, response =
interleaving to overcome head-of-line blocking, and efficient use of the =
transport (e.g. elimination of redundant headers, header compression, =
etc) is desired. &nbsp;These and other similar issues are core problems =
that the next version of the protocol must address. &nbsp;At the same =
time, the proliferation of HTTP/1.1 has left us with a huge global =
infrastructure of clients, servers, and intermediary proxies (CDNs, load =
balancers, security devices, and other forward and reverse surrogates) =
and the next version of the protocol must enable a smooth transition for =
this infrastructure. &nbsp;Maintaining the core semantics of HTTP is one =
way to ensure smooth integration with existing =
infrastructure.</span><br><span style=3D"font-size: 15px; font-family: =
Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: =
normal; font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; "></span><br><span =
style=3D"font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); =
background-color: transparent; font-weight: normal; font-style: normal; =
font-variant: normal; text-decoration: none; vertical-align: baseline; =
white-space: pre-wrap; ">Our experience with proposed HTTP/2.0 =
frameworks has only been limited to SPDY. &nbsp;However, lessons learned =
from SPDY can hopefully assist in decisions as we move forward with =
HTTP/2.0. &nbsp;SPDY has shown great promise and success through the =
following:</span><br><span style=3D"font-size: 15px; font-family: Arial; =
color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; "></span><br><ul =
style=3D"margin-top: 0pt; margin-bottom: 0pt; "><li =
style=3D"list-style-type: disc; font-size: 15px; font-family: Arial; =
color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; "><span style=3D"font-size: 15px; font-family: =
Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: =
normal; font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">using a single, =
long-lasting TCP connection striving to reach the maximum bandwidth =
potential of the connection.</span></li><li style=3D"list-style-type: =
disc; font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); =
background-color: transparent; font-weight: normal; font-style: normal; =
font-variant: normal; text-decoration: none; vertical-align: baseline; =
"><span style=3D"font-size: 15px; font-family: Arial; color: rgb(0, 0, =
0); background-color: transparent; font-weight: normal; font-style: =
normal; font-variant: normal; text-decoration: none; vertical-align: =
baseline; white-space: pre-wrap; ">providing a framework for true =
out-of-order pipelining with response interleaving, all of which allow =
non-serialized communication between two endpoints with less =
possibilities for head-of-line blocking over the single =
connection</span></li><li style=3D"list-style-type: disc; font-size: =
15px; font-family: Arial; color: rgb(0, 0, 0); background-color: =
transparent; font-weight: normal; font-style: normal; font-variant: =
normal; text-decoration: none; vertical-align: baseline; "><span =
style=3D"font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); =
background-color: transparent; font-weight: normal; font-style: normal; =
font-variant: normal; text-decoration: none; vertical-align: baseline; =
white-space: pre-wrap; ">compressed headers to save bandwidth, with the =
ability to avoid header redundancy across multiple =
requests/responses.</span></li><li style=3D"list-style-type: disc; =
font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); =
background-color: transparent; font-weight: normal; font-style: normal; =
font-variant: normal; text-decoration: none; vertical-align: baseline; =
"><span style=3D"font-size: 15px; font-family: Arial; color: rgb(0, 0, =
0); background-color: transparent; font-weight: normal; font-style: =
normal; font-variant: normal; text-decoration: none; vertical-align: =
baseline; white-space: pre-wrap; ">Google=92s backing of the protocol =
and Chrome=92s support for it has certainly allowed for quicker =
collection of real world data; the promise of new browsers and services =
supporting SPDY also helps its deployment.</span></li><li =
style=3D"list-style-type: disc; font-size: 15px; font-family: Arial; =
color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; "><span style=3D"font-size: 15px; font-family: =
Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: =
normal; font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">the promise of server =
push, which would allow a server to proactively send responses to a =
client</span></li><li style=3D"list-style-type: disc; font-size: 15px; =
font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; =
font-weight: normal; font-style: normal; font-variant: normal; =
text-decoration: none; vertical-align: baseline; "><span =
style=3D"font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); =
background-color: transparent; font-weight: normal; font-style: normal; =
font-variant: normal; text-decoration: none; vertical-align: baseline; =
white-space: pre-wrap; ">request prioritization, provided the client is =
well behaved</span></li></ul><span style=3D"font-size: 15px; =
font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; =
font-weight: normal; font-style: normal; font-variant: normal; =
text-decoration: none; vertical-align: baseline; white-space: pre-wrap; =
"></span><br><span style=3D"font-size: 15px; font-family: Arial; color: =
rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">at the same time, =
SPDY deployment caused us various challenges that we=92d hope are =
addressed within the HTTP/2.0 framework. &nbsp;These =
include:</span><br><span style=3D"font-size: 15px; font-family: Arial; =
color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; "></span><br><ul =
style=3D"margin-top: 0pt; margin-bottom: 0pt; "><li =
style=3D"list-style-type: disc; font-size: 15px; font-family: Arial; =
color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; "><span style=3D"font-size: 15px; font-family: =
Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: =
normal; font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">as a device that was =
often positioned behind reverse proxies and load balancers, the =
Strangeloop Site Optimizer was often unable to terminate client TCP =
connections (CDNs, load balancers, security devices and other such =
reverse proxies were usually doing the terminating). &nbsp;This severely =
limited the deployments in which SPDY could be used. &nbsp;SPDY=92s use =
of SSL as transport didn=92t help the issue since these proxies and load =
balancers often expect pure HTTP over the SSL transport. &nbsp;HTTP/2.0 =
should strive to make these types of deployments (where not all =
infrastructure is compliant) easier.</span></li><li =
style=3D"list-style-type: disc; font-size: 15px; font-family: Arial; =
color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; "><span style=3D"font-size: 15px; font-family: =
Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: =
normal; font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">the requirement to =
always use TLS-secured connections with SPDY creates severe =
troubleshooting barriers. &nbsp;SPDY makes a strong case for its =
=93everything secure=94 mandate. &nbsp;But, we cannot ignore the needs =
of network operators and those who are tasked with troubleshooting an =
already complex infrastructure. An always-secure HTTP/2.0 framework =
would bring massive, and arguably unnecessary, challenges to these =
disciplines. &nbsp;Security is likely best left out of HTTP/2.0=92s =
scope, allowing the protocol to operate either over clear text or TLS, =
as HTTP does today. &nbsp;Then the onus falls back to content providers =
and website owners who would now have a choice over the security model =
governing their content.</span></li><li style=3D"list-style-type: disc; =
font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); =
background-color: transparent; font-weight: normal; font-style: normal; =
font-variant: normal; text-decoration: none; vertical-align: baseline; =
"><span style=3D"font-size: 15px; font-family: Arial; color: rgb(0, 0, =
0); background-color: transparent; font-weight: normal; font-style: =
normal; font-variant: normal; text-decoration: none; vertical-align: =
baseline; white-space: pre-wrap; ">As the speed+mobility spec argues, it =
could be conceivable that server push can fall outside the scope of the =
protocol. &nbsp;Though incredibly useful at its core, the challenge has, =
and continues to be, the meta information necessary to determine what to =
push. &nbsp;Although this leaves room for innovation, the protocol =
itself should strive to provide a flexible framework for these types of =
capabilities. &nbsp;It=92s unclear what those are at this time, but a =
model, for example, that allows servers to communicate to clients the =
same way clients communicate to servers (with bidirectional feedback) =
can allow for more flexibility since it would allow active participation =
by both endpoints in determining what content should proactively be sent =
to a client.</span></li></ul><span style=3D"font-size: 15px; =
font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; =
font-weight: normal; font-style: normal; font-variant: normal; =
text-decoration: none; vertical-align: baseline; white-space: pre-wrap; =
"></span><br><span style=3D"font-size: 15px; font-family: Arial; color: =
rgb(0, 0, 0); background-color: transparent; font-weight: normal; =
font-style: normal; font-variant: normal; text-decoration: none; =
vertical-align: baseline; white-space: pre-wrap; ">SPDY is a successful =
protocol which has field-proven methods that solve some of HTTP=92s =
largest current issues. &nbsp;It has shown tangible benefits in =
real-world deployments proving that it=92s time for a new generation of =
HTTP to arrive. &nbsp;The lessons learned from SPDY so far should be =
able to greatly inform upcoming decisions in regards to HTTP/2.0. =
&nbsp;Coupling SPDY=92s successful techniques with a model that provides =
for consistent semantics, compatibility with existing infrastructure, =
and ease of troubleshooting will surely help us build a great next =
version of HTTP and ensure its future =
success.</span></b></span></span></blockquote></div><br><div =
apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; =
"><div>--</div><div>Mark Nottingham &nbsp; <a =
href=3D"http://www.mnot.net/">http://www.mnot.net/</a></div><div><br></div=
></span><br class=3D"Apple-interchange-newline">
</div>
<br></div></body></html>=

--Apple-Mail=_B292A3CE-54DF-43F2-B1AE-9F7429A81BA5--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:51:10 2012
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 04A6C21F8567 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.293
X-Spam-Level: 
X-Spam-Status: No, score=-10.293 tagged_above=-999 required=5 tests=[AWL=0.305, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ljis-vvqCEp9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:51:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C99A321F8569 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:51:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2Yx-0001nl-SQ for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:51:19 +0000
Resent-Date: Tue, 17 Jul 2012 07:51:19 +0000
Resent-Message-Id: <E1Sr2Yx-0001nl-SQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr2Yo-0001it-GU for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:51:10 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr2Yg-0007nf-UK for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:51:10 +0000
Received: by wibhq4 with SMTP id hq4so96400wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 00:50:36 -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=5PqN4Zyrc6NEygwjrg6c95yk+AunYbxUO19KV00JPBE=; b=MgTYdDRi+D3Si5xKx0ve+f/MFupgloZT8AcMlDft7IwHfN0nIuUFGGfFgojHuEZjuW 2zRzioG0ddM5hqWEGUlKUcb3sBbVHapxw+QtP3a0smdgekiSFNDGIuaDdW02elNSkoSJ mSd8r232PP1kfehW0SBUGoWJTMt0mGkyqI+/bHsf8pdKjeo4UsUjrn2m+Nhsctc16k+n FlLRm1A3aQK6KYdnEXaVyGqnvC5XcHjI1ZLyg2jhHd8EBFLmfg4+3TWxyV7O653TbUe5 FV8fOi4prJvflHGFkuVEDW6cNRLipYqVNW4UrR/fk3AWJ6Bru4GUWOkCl/8A18W12QDy A+1g==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr1838604wib.20.1342511436545; Tue, 17 Jul 2012 00:50:36 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 00:50:36 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 00:50:36 -0700 (PDT)
In-Reply-To: <62320.1342508888@critter.freebsd.dk>
References: <CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com> <62320.1342508888@critter.freebsd.dk>
Date: Tue, 17 Jul 2012 00:50:36 -0700
Message-ID: <CAP+FsNetP9uhjrNXwXkJgZNGXMbbj0U8WfJfbyHK6jBF0TnKrw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Brian Pane <brianp@brianp.net>
Content-Type: multipart/alternative; boundary=f46d04430446483d2f04c501cdea
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr2Yg-0007nf-UK 8c368b217cc484c7f270fd8ea9a4a859
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/CAP+FsNetP9uhjrNXwXkJgZNGXMbbj0U8WfJfbyHK6jBF0TnKrw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14321
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>

--f46d04430446483d2f04c501cdea
Content-Type: text/plain; charset=ISO-8859-1

On Jul 17, 2012 12:10 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
>
> In message <
CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO9g3rHsq2A@mail.gmail.com>
> , Brian Pane writes:
>
> >My key takeaway from your draft is that you're advocating for HTTP/2.0
> >to have a wire format that can be parsed with efficiency much closer
> >to TCP [...]
>
> Yes, at least for the routing envelope.
>
> The metadata and content should probably be squeezed as hard as we
> reasonably can.
>
> >Section 9.1 defines a very small set of message components that are
> >available to the "HTTP router" in an efficient representation.
>
> This is one of the places where I've changed my mind a fair bit
> since I wrote this, in particular with respect to URI, and cookies,
> but the general idea still holds.
>
> >e.g., routing traffic based on cookies that
> >persisted across sessions, routing based on query parameters, and even
> >routing based on custom headers inserted by a previous hop in a
> >multi-tier hierarchy.
>
> (Cookies are gone in my vision of HTTP/2.0 by now, instead you'll
> have a client created and supplied session identifier.)
>
> Yes, there are times and places where you need more detailed
> routing, and if so, you'll have to pay the cost of taking it
> all apart.
>
> But a very large fraction of all HTTP-routing is by "Host:" header
> only, and if you add URI and session-id to that, I wouldn't be
> surprised if you have covered 90% of all HTTP routing based on the
> request.  (Obviously a lot of routing happens on the basis of server
> availability, but that is unaffected by the protocol.)
>
> There is a significant gain to be had for all routing, also the
> more complex kind you mention, if the multiplex-ID/stream-ID can
> double as a flow-label for routing, so the router only have to
> examine the first request on each stream, and let all subsequent
> requests follow the same decision.
>
> One further optimization from there, could be to only send the
> envelope when you open a new stream/mux-channel, but I'm not
> sure if that would be a net pessimization or optimization.
>
> >I think it would be illuminating to hear from some people who have
> >sites with 1) very high traffic (big enough to care about high-speed
> >request parsing and routing),

I have experience with such. Mapping URL space and determining routing is a
huge pain in the posterior, but the problem is more social than
technological. :/

Parsing the same crud over and over again (and, more specifically doing the
memory management associated with such) is the most bothersome component at
this layer. Being informed only when things change is probably a better
idea and one which will be fun and interesting to pursue.

>
> I'd much rather ask a VHDL/Verilog wizard: "How would you
> route HTTP requests at 1Tbit/s in an FPGA ?"

The base problem isn't the technology-- I bet that we could get something
in software going at line rate, limited mainly by bus speeds if the
configuration space for the mapping (call it route discovery) were simple
enough.

The holdup is that users have bookmarks, external links, etc. and so sites
are reasonably reluctant to change their (unfortunately complex and
potentially order dependent rule) mappings when doing so might lose them
traffic.
Ignoring bookmarks and other links, it is still problematic to get a site
to change the mappings because they'll have to support both the HTTP/2
stuff and the http/1 stuff. They're not likely to do it. It would take a
massive effort to make such a thing happen.

It gets worse when one considers pieces of hardware which are not
upgradable and have url-space hardwired into their firmware. One must wait
until most such devices and appliances have reached their end-of-life, and
pray that none have replaced it using similar designs with different fixed
url-space.

So, the problem is that we're stuck with this for the foreseeable future, I
believe.

We could define a new approach that was useful separately by encoding some
other, non-human readable information into the URL or equivalent, but... we
could already do that but don't.

If we wish to improve this part of the problem, the question is why we
don't bother to use mechanisms that already enabled with today's
tech/feature set.
Any ideas as to how to reprogram site designers/authors? :)

>
> The routable envelope is meant to be a hedge for the future: We
> might be able to route 10 or even 40Gbit/s on todays silicon, but
> if we want to do it to 1Tbit/s on tomorrows silicon, I am sure need
> to make the task easier, because the silicon isn't getting faster,
> it's just getting wider.
>
> But as I hope is clear:  This was intended as food for long-range
> thought, not as a concrete proposal.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
incompetence.
>

--f46d04430446483d2f04c501cdea
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 17, 2012 12:10 AM, &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mail=
to:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt; wrote:<br>
&gt;<br>
&gt; In message &lt;<a href=3D"mailto:CAAbTgTs78uxYKuc0LFDLG1M%2Byq4xS2eL1U=
AL13dtO9g3rHsq2A@mail.gmail.com">CAAbTgTs78uxYKuc0LFDLG1M+yq4xS2eL1UAL13dtO=
9g3rHsq2A@mail.gmail.com</a>&gt;<br>
&gt; , Brian Pane writes:<br>
&gt;<br>
&gt; &gt;My key takeaway from your draft is that you&#39;re advocating for =
HTTP/2.0<br>
&gt; &gt;to have a wire format that can be parsed with efficiency much clos=
er<br>
&gt; &gt;to TCP [...]<br>
&gt;<br>
&gt; Yes, at least for the routing envelope.<br>
&gt;<br>
&gt; The metadata and content should probably be squeezed as hard as we<br>
&gt; reasonably can.<br>
&gt;<br>
&gt; &gt;Section 9.1 defines a very small set of message components that ar=
e<br>
&gt; &gt;available to the &quot;HTTP router&quot; in an efficient represent=
ation.<br>
&gt;<br>
&gt; This is one of the places where I&#39;ve changed my mind a fair bit<br=
>
&gt; since I wrote this, in particular with respect to URI, and cookies,<br=
>
&gt; but the general idea still holds.<br>
&gt;<br>
&gt; &gt;e.g., routing traffic based on cookies that<br>
&gt; &gt;persisted across sessions, routing based on query parameters, and =
even<br>
&gt; &gt;routing based on custom headers inserted by a previous hop in a<br=
>
&gt; &gt;multi-tier hierarchy.<br>
&gt;<br>
&gt; (Cookies are gone in my vision of HTTP/2.0 by now, instead you&#39;ll<=
br>
&gt; have a client created and supplied session identifier.)<br>
&gt;<br>
&gt; Yes, there are times and places where you need more detailed<br>
&gt; routing, and if so, you&#39;ll have to pay the cost of taking it<br>
&gt; all apart.<br>
&gt;<br>
&gt; But a very large fraction of all HTTP-routing is by &quot;Host:&quot; =
header<br>
&gt; only, and if you add URI and session-id to that, I wouldn&#39;t be<br>
&gt; surprised if you have covered 90% of all HTTP routing based on the<br>
&gt; request. =A0(Obviously a lot of routing happens on the basis of server=
<br>
&gt; availability, but that is unaffected by the protocol.)<br>
&gt;<br>
&gt; There is a significant gain to be had for all routing, also the<br>
&gt; more complex kind you mention, if the multiplex-ID/stream-ID can<br>
&gt; double as a flow-label for routing, so the router only have to<br>
&gt; examine the first request on each stream, and let all subsequent<br>
&gt; requests follow the same decision.<br>
&gt;<br>
&gt; One further optimization from there, could be to only send the<br>
&gt; envelope when you open a new stream/mux-channel, but I&#39;m not<br>
&gt; sure if that would be a net pessimization or optimization.<br>
&gt;<br>
&gt; &gt;I think it would be illuminating to hear from some people who have=
<br>
&gt; &gt;sites with 1) very high traffic (big enough to care about high-spe=
ed<br>
&gt; &gt;request parsing and routing),</p>
<p dir=3D"ltr">I have experience with such. Mapping URL space and determini=
ng routing is a huge pain in the posterior, but the problem is more social =
than technological. :/</p>
<p dir=3D"ltr">Parsing the same crud over and over again (and, more specifi=
cally doing the memory management associated with such) is the most bothers=
ome component at this layer. Being informed only when things change is prob=
ably a better idea and one which will be fun and interesting to pursue.</p>

<p dir=3D"ltr">&gt;<br>
&gt; I&#39;d much rather ask a VHDL/Verilog wizard: &quot;How would you<br>
&gt; route HTTP requests at 1Tbit/s in an FPGA ?&quot;<br></p>
<p dir=3D"ltr">The base problem isn&#39;t the technology-- I bet that we co=
uld get something in software going at line rate, limited mainly by bus spe=
eds if the configuration space for the mapping (call it route discovery) we=
re simple enough.</p>

<p dir=3D"ltr">The holdup is that users have bookmarks, external links, etc=
. and so sites are reasonably reluctant to change their (unfortunately comp=
lex and potentially order dependent rule) mappings when doing so might lose=
 them traffic.<br>

Ignoring bookmarks and other links, it is still problematic to get a site t=
o change the mappings because they&#39;ll have to support both the HTTP/2 s=
tuff and the http/1 stuff. They&#39;re not likely to do it. It would take a=
 massive effort to make such a thing happen.</p>

<p dir=3D"ltr">It gets worse when one considers pieces of hardware which ar=
e not upgradable and have url-space hardwired into their firmware. One must=
 wait until most such devices and appliances have reached their end-of-life=
, and pray that none have replaced it using similar designs with different =
fixed url-space.</p>

<p dir=3D"ltr">So, the problem is that we&#39;re stuck with this for the fo=
reseeable future, I believe.</p>
<p dir=3D"ltr">We could define a new approach that was useful separately by=
 encoding some other, non-human readable information into the URL or equiva=
lent, but... we could already do that but don&#39;t.</p>
<p dir=3D"ltr">If we wish to improve this part of the problem, the question=
 is why we don&#39;t bother to use mechanisms that already enabled with tod=
ay&#39;s tech/feature set.<br>
Any ideas as to how to reprogram site designers/authors? :)</p>
<p dir=3D"ltr">&gt;<br>
&gt; The routable envelope is meant to be a hedge for the future: We<br>
&gt; might be able to route 10 or even 40Gbit/s on todays silicon, but<br>
&gt; if we want to do it to 1Tbit/s on tomorrows silicon, I am sure need<br=
>
&gt; to make the task easier, because the silicon isn&#39;t getting faster,=
<br>
&gt; it&#39;s just getting wider.<br>
&gt;<br>
&gt; But as I hope is clear: =A0This was intended as food for long-range<br=
>
&gt; thought, not as a concrete proposal.<br>
&gt;<br>
&gt; --<br>
&gt; Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
&gt; phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
&gt; FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
&gt; Never attribute to malice what can adequately be explained by incompet=
ence.<br>
&gt;<br>
</p>

--f46d04430446483d2f04c501cdea--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 00:58:00 2012
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 E817C21F8601 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:58:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.767
X-Spam-Level: 
X-Spam-Status: No, score=-8.767 tagged_above=-999 required=5 tests=[AWL=1.532, 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 gBOFYCGLtTMN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 00:58:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7080021F85FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 00:58:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2fQ-000418-Ki for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 07:58:00 +0000
Resent-Date: Tue, 17 Jul 2012 07:58:00 +0000
Resent-Message-Id: <E1Sr2fQ-000418-Ki@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr2fH-0003zL-HX for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 07:57:51 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr2fD-00088u-JA for ietf-http-wg@w3.org; Tue, 17 Jul 2012 07:57:51 +0000
Received: (qmail invoked by alias); 17 Jul 2012 07:56:06 -0000
Received: from p54BB2248.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.34.72] by mail.gmx.net (mp030) with SMTP; 17 Jul 2012 09:56:06 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19keatk7Rtk9VbQbwCYA33hu83ibLCf5ofgqyePLa KcO/AWHQM6DybB
Message-ID: <50051A91.1010401@gmx.de>
Date: Tue, 17 Jul 2012 09:56:01 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
CC: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
References: <CABP7RbepWH4ahSPHDU_M_w0tRVz_RRm1FV-jM_Y72=YHCVqO0g@mail.gmail.com> <500517E7.60404@it.aoyama.ac.jp>
In-Reply-To: <500517E7.60404@it.aoyama.ac.jp>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr2fD-00088u-JA 463f161a939bbe1e4c0cc18a698e50d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50051A91.1010401@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14322
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 2012-07-17 09:44, "Martin J. Dürst" wrote:
> ...
> But a much, much better solution in this day and age is to only allow
> one encoding, UTF-8. That by definition includes US-ASCII, covers all
> the world's characters, and is what HTML is moving towards (with quite
> surprising speed these days). And while in HTML (and other content
> formats), non-ASCII is extremely widespread, in HTTP, it is not, and
> having more than one encoding is needlessly complicated.
> ...

*If* we make a breaking change with respect to character encoding 
schemes, this is indeed the change to make.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 01:00:12 2012
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 B081B21F8601 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:00:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Gm33e+3EjIgW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:00:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 132EB21F857F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 01:00:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2hw-0007hC-Gw for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 08:00:36 +0000
Resent-Date: Tue, 17 Jul 2012 08:00:36 +0000
Resent-Message-Id: <E1Sr2hw-0007hC-Gw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr2hk-0007fq-87 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 08:00:24 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr2ha-0008EZ-5D for ietf-http-wg@w3.org; Tue, 17 Jul 2012 08:00:24 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E48F43B77A; Tue, 17 Jul 2012 07:59:51 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H7xnko062551; Tue, 17 Jul 2012 07:59:49 GMT (envelope-from phk@phk.freebsd.dk)
To: Julian Reschke <julian.reschke@gmx.de>
cc: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 09:56:01 +0200." <50051A91.1010401@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 07:59:49 +0000
Message-ID: <62550.1342511989@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr2ha-0008EZ-5D 987f65a9b0a90f0660066ad5392c6d9b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/62550.1342511989@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14323
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>

In message <50051A91.1010401@gmx.de>, Julian Reschke writes:
>On 2012-07-17 09:44, "Martin J. Dürst" wrote:
>> ...
>> But a much, much better solution in this day and age is to only allow
>> one encoding, UTF-8. That by definition includes US-ASCII, covers all
>> the world's characters, and is what HTML is moving towards (with quite
>> surprising speed these days). And while in HTML (and other content
>> formats), non-ASCII is extremely widespread, in HTTP, it is not, and
>> having more than one encoding is needlessly complicated.
>> ...
>
>*If* we make a breaking change with respect to character encoding 
>schemes, this is indeed the change to make.

Indeed, and a change I think HTTP/2.0 should make, in light of a
20 year design lifetime.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 01:00:52 2012
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 839B921F8601 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:00:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Rb61kEiJVmMb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:00:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2600B21F857F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 01:00:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2iT-0007nj-4c for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 08:01:09 +0000
Resent-Date: Tue, 17 Jul 2012 08:01:09 +0000
Resent-Message-Id: <E1Sr2iT-0007nj-4c@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr2iG-0007jr-7U for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 08:00:56 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr2i3-0007QS-Ca for ietf-http-wg@w3.org; Tue, 17 Jul 2012 08:00:54 +0000
Received: by wgbdt14 with SMTP id dt14so115940wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 01:00:17 -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=V/trZFWG4DgBWwI2CJigY48hicc9zNr2fYyQLGZgea8=; b=BqHZ7yU8xbUGuDlGG+CESsljrJlRb36zXUKeHU0b2H0sN4qiJ7fq5VRajGij1kucgI JW/6LsAEgXCYfZ6jJREZBC4Xwsp2A/qJVPp/NtMr+X8G0Wq1B+317LO/LraAPR0zo0kd 8z1xNTzK5l/cw4TWcEaRyjJ+P0dYUfZS/1VGWregnlwOp+Jn2SWAumiAE2zUNbyf3XtJ pVAJu0aJSUlz4WJ6moPu4GqScpSp1Xp8ZbDbXKln1zwctmfGtRsP0et3we2HDMcQEFAj ssGXmVoCGuThmFP10iQ3lggEmfjhZU3/86VhGNa5f9QxTyoJz12dAV53s+ZRLGFgTakB ytOA==
MIME-Version: 1.0
Received: by 10.180.97.106 with SMTP id dz10mr1901266wib.21.1342512016772; Tue, 17 Jul 2012 01:00:16 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 01:00:16 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 01:00:16 -0700 (PDT)
In-Reply-To: <62392.1342510035@critter.freebsd.dk>
References: <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=68g@mail.gmail.com> <62392.1342510035@critter.freebsd.dk>
Date: Tue, 17 Jul 2012 01:00:16 -0700
Message-ID: <CAP+FsNchmj8iLCsbPrk+Af3XVog69ZoKvP3eBVq2NtQ+ptygRw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
Content-Type: multipart/alternative; boundary=f46d0442712eddcd5704c501ef70
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr2i3-0007QS-Ca 9215f4e29d9043a1336aa3bb96be9527
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAP+FsNchmj8iLCsbPrk+Af3XVog69ZoKvP3eBVq2NtQ+ptygRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14324
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>

--f46d0442712eddcd5704c501ef70
Content-Type: text/plain; charset=ISO-8859-1

The max theoretical compression with a perfect deflate implementation is
1024 to one, according to documentation.
Thankfully, the zlib reference implementation allows stream decompression
and thus allows you to specify the max amount of bytes one allows the
incoming stream to inflate into. In other words, memory usage is bounded
and you can reject stuff that is overly large before it causes any problems.

I'm not particularly enamored of the deflate stuff as a whole solution. I
think it is just part of a whole solution in a solution space than needs
more exploration.
I'll be putting something out about this shortly, actually... just have to
stop responding here so I have time to finish writing it up (and then get
to work simulating and experimenting)!

-=R
On Jul 17, 2012 12:28 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=
> 68g@mail.gmail.com>
> , James M Snell writes:
>
> >3. Values may be binary or character based, as indicated by a flags field.
> >Values may be up to max(int32) in length.
>
> Allowing such large fields is counterproductive in my opinion.
>
> No implementation can have a limit that large without becoming
> a sitting duck for DoS attacks.
>
> It would be far better to put a realistic, but still generous size
> restriction.  Not sure if 16 bits is always enough, but the advantage
> will likely outweigh any disadvantages.
>
> >The entire header block is encoded into a structure of 145 bytes in
> length;
> >
> [...]
> >
> >By comparison, the same structure encoded using the existing SPDY HEADER
> >block would require 208 bytes sans compression.
> >
> >After applying compression of the block using the SPDY dictionary, the
> >block compresses into 6 compact bytes.
> >
> >[120, 63, -29, -58, -89, -62]
>
> This is where I think we should be careful about what we measure
> and optimize for.
>
> Those six bytes will take a lot more CPU effort to unpack than
> your 145 bytes (I think your proposed encoding is quite bloated
> btw, but that's not an argument I need to carry for this point).
>
> The really important metric is that most requests fit in a single
> MTU.  Inside that limit, expending bytes to gain parsing speed can
> be both a good and necessary (for HTTP-routers) tradeoff.
>
> In that view, the difference between six and 208 bytes is not
> terribly significant on its own, whereas a difference between
> 1400 and 1602 bytes would be.
>
> The main and almost only reason requests don't fit in one MTU is
> cookies, with a minor side-order of URI and User-Agent,
> so if we can design away the need for cookies, we (almost)
> don't need the computational complexity of deflate.
>
> And there is another aspect which has me very worried about
> deflate at this point in the protocol:  Has anybody tried
> to see how big a deflate output they can produce with
> a single MTU of input ?
>
> My guestimate is well north of a 1MB.
>
> That's a lot of DoS leverage for a single packet.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d0442712eddcd5704c501ef70
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">The max theoretical compression with a perfect deflate imple=
mentation is 1024 to one, according to documentation. <br>
Thankfully, the zlib reference implementation allows stream decompression a=
nd thus allows you to specify the max amount of bytes one allows the incomi=
ng stream to inflate into. In other words, memory usage is bounded and you =
can reject stuff that is overly large before it causes any problems.</p>

<p dir=3D"ltr">I&#39;m not particularly enamored of the deflate stuff as a =
whole solution. I think it is just part of a whole solution in a solution s=
pace than needs more exploration.<br>
 I&#39;ll be putting something out about this shortly, actually... just hav=
e to stop responding here so I have time to finish writing it up (and then =
get to work simulating and experimenting)!</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 17, 2012 12:28 AM, &quot;Poul-Henning Kam=
p&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt=
; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;CABP7RbdZPYYqtDFWUprrAmGQ8GehOTh-LvXq9gizXGUJg4=3D<a href=3D=
"mailto:68g@mail.gmail.com">68g@mail.gmail.com</a>&gt;<br>
, James M Snell writes:<br>
<br>
&gt;3. Values may be binary or character based, as indicated by a flags fie=
ld.<br>
&gt;Values may be up to max(int32) in length.<br>
<br>
Allowing such large fields is counterproductive in my opinion.<br>
<br>
No implementation can have a limit that large without becoming<br>
a sitting duck for DoS attacks.<br>
<br>
It would be far better to put a realistic, but still generous size<br>
restriction. =A0Not sure if 16 bits is always enough, but the advantage<br>
will likely outweigh any disadvantages.<br>
<br>
&gt;The entire header block is encoded into a structure of 145 bytes in len=
gth;<br>
&gt;<br>
[...]<br>
&gt;<br>
&gt;By comparison, the same structure encoded using the existing SPDY HEADE=
R<br>
&gt;block would require 208 bytes sans compression.<br>
&gt;<br>
&gt;After applying compression of the block using the SPDY dictionary, the<=
br>
&gt;block compresses into 6 compact bytes.<br>
&gt;<br>
&gt;[120, 63, -29, -58, -89, -62]<br>
<br>
This is where I think we should be careful about what we measure<br>
and optimize for.<br>
<br>
Those six bytes will take a lot more CPU effort to unpack than<br>
your 145 bytes (I think your proposed encoding is quite bloated<br>
btw, but that&#39;s not an argument I need to carry for this point).<br>
<br>
The really important metric is that most requests fit in a single<br>
MTU. =A0Inside that limit, expending bytes to gain parsing speed can<br>
be both a good and necessary (for HTTP-routers) tradeoff.<br>
<br>
In that view, the difference between six and 208 bytes is not<br>
terribly significant on its own, whereas a difference between<br>
1400 and 1602 bytes would be.<br>
<br>
The main and almost only reason requests don&#39;t fit in one MTU is<br>
cookies, with a minor side-order of URI and User-Agent,<br>
so if we can design away the need for cookies, we (almost)<br>
don&#39;t need the computational complexity of deflate.<br>
<br>
And there is another aspect which has me very worried about<br>
deflate at this point in the protocol: =A0Has anybody tried<br>
to see how big a deflate output they can produce with<br>
a single MTU of input ?<br>
<br>
My guestimate is well north of a 1MB.<br>
<br>
That&#39;s a lot of DoS leverage for a single packet.<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote></div>

--f46d0442712eddcd5704c501ef70--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 01:04:00 2012
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 3E25321F85C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:04:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 7C4oNUcKU5-U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:03:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A838821F85AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 01:03:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2lc-0008VH-EN for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 08:04:24 +0000
Resent-Date: Tue, 17 Jul 2012 08:04:24 +0000
Resent-Message-Id: <E1Sr2lc-0008VH-EN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr2lT-0008Th-19 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 08:04:15 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr2lN-0008Nx-BV for ietf-http-wg@w3.org; Tue, 17 Jul 2012 08:04:14 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7ADB63B5A7; Tue, 17 Jul 2012 08:03:48 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H83mRS062590; Tue, 17 Jul 2012 08:03:48 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 01:00:16 MST." <CAP+FsNchmj8iLCsbPrk+Af3XVog69ZoKvP3eBVq2NtQ+ptygRw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 08:03:48 +0000
Message-ID: <62589.1342512228@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr2lN-0008Nx-BV 75c367416650e7efdf2449d14928c174
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/62589.1342512228@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14325
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>

In message <CAP+FsNchmj8iLCsbPrk+Af3XVog69ZoKvP3eBVq2NtQ+ptygRw@mail.gmail.com>
, Roberto Peon writes:

>I'm not particularly enamored of the deflate stuff as a whole solution. I
>think it is just part of a whole solution in a solution space than needs
>more exploration.

To be honest:  If I were trying to see and measure benefits from smaller
HTTP requests, I would probably also start out with deflate, just to get
some numbers in, but as a permanent solution it's clearly a no-go.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 01:05:06 2012
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 F1FC621F85E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:05:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.964
X-Spam-Level: 
X-Spam-Status: No, score=-4.964 tagged_above=-999 required=5 tests=[AWL=5.335, 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 ADBhCnPMA4HH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:05:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 34E7E21F85E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 01:05:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2ml-0001XE-Ga for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 08:05:35 +0000
Resent-Date: Tue, 17 Jul 2012 08:05:35 +0000
Resent-Message-Id: <E1Sr2ml-0001XE-Ga@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sr2mY-0001UU-Vw for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 08:05:23 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sr2mR-0007Zc-3m for ietf-http-wg@w3.org; Tue, 17 Jul 2012 08:05:22 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6H84lT3007140 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 17:04:47 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 7fc1_a71a_133df7f0_cfe6_11e1_9168_001d096c566a; Tue, 17 Jul 2012 17:04:46 +0900
Received: from [IPv6:::1] ([133.2.210.1]:36339) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E34C4> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Tue, 17 Jul 2012 17:04:50 +0900
Message-ID: <50051C99.20105@it.aoyama.ac.jp>
Date: Tue, 17 Jul 2012 17:04:41 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: Mike Belshe <mike@belshe.com>, Phillip Hallam-Baker <hallam@gmail.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>, "HAYASHI, Tatsuya" <lef.mutualauth@gmail.com>
References: <CABP7RbcVOEfnzg1A+x8NsOu+Gp2OtnHnVvWmLyQUM+QUMLNsUw@mail.gmail.com> <45484.1342203690@critter.freebsd.dk> <CAHBU6iu8n_RV+oaJy=BAR5PXi1TGqvurpS14aH_4uwFLVf9QuA@mail.gmail.com> <20120714055250.GN16256@1wt.eu> <CAGipQF=d+EU6gysBtNaWryTRQEn1-dO0vgZzS-rizvOp6gK75g@mail.gmail.com> <CAMm+LwjaxwGeVHCJ0wXrUCwy9r7xvcg-1_0Bhq6fSc_rmzz83w@mail.gmail.com> <CABaLYCsurdopPbkG1_w+pykEW=mQcTDkJrQMBR=kPN8FzXXERQ@mail.gmail.com> <50027C23.80603@gmx.de>
In-Reply-To: <50027C23.80603@gmx.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr2mR-0007Zc-3m 2a73fa8a9cebe7e61742688b97bde937
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Response to HTTP2 expresions of interest
Archived-At: <http://www.w3.org/mid/50051C99.20105@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14326
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 2012/07/15 17:15, Julian Reschke wrote:
> On 2012-07-15 00:00, Mike Belshe wrote:

>> I have yet to see any proposals of something better or missing from the
>> current proposals. If there are better ideas, by all means raise them.
>> Please be detailed and offer proof where possible.
>> ...
>
> Oh, to find something "missing" is simple. For instance, SPDY does not
> fix the header character encoding issue that we have in 1.1.

How would you like it fixed? As I just wrote in another mail, I think 
UTF-8 is the way to go.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 01:19:34 2012
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 B357A21F863D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:19:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.965
X-Spam-Level: 
X-Spam-Status: No, score=-8.965 tagged_above=-999 required=5 tests=[AWL=1.634, BAYES_00=-2.599, 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 gFBnaWwMCGT7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 01:19:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 74DFA21F8631 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 01:19:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr2zs-0000ZD-J6 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 08:19:08 +0000
Resent-Date: Tue, 17 Jul 2012 08:19:08 +0000
Resent-Message-Id: <E1Sr2zs-0000ZD-J6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr2zk-0000YR-D1 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 08:19:00 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr2zg-0000Qz-7i for ietf-http-wg@w3.org; Tue, 17 Jul 2012 08:19:00 +0000
Received: (qmail invoked by alias); 17 Jul 2012 08:08:26 -0000
Received: from p54BB2248.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.34.72] by mail.gmx.net (mp002) with SMTP; 17 Jul 2012 10:08:26 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/ZkEN4IZfZYOk3AhHS46wyTOevV9VwV5Zh9nlLKK 3pdFQWabnXBYOY
Message-ID: <50051D6D.1010209@gmx.de>
Date: Tue, 17 Jul 2012 10:08:13 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: =?ISO-8859-1?Q?=22Martin_J=2E_D=FCrst=22?= <duerst@it.aoyama.ac.jp>,  James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
References: <62550.1342511989@critter.freebsd.dk>
In-Reply-To: <62550.1342511989@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr2zg-0000Qz-7i 3d0b77921485af72e73094e3def6614c
X-Original-To: ietf-http-wg@w3.org
Subject: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50051D6D.1010209@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14327
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 2012-07-17 09:59, Poul-Henning Kamp wrote:
> In message <50051A91.1010401@gmx.de>, Julian Reschke writes:
>> On 2012-07-17 09:44, "Martin J. Dürst" wrote:
>>> ...
>>> But a much, much better solution in this day and age is to only allow
>>> one encoding, UTF-8. That by definition includes US-ASCII, covers all
>>> the world's characters, and is what HTML is moving towards (with quite
>>> surprising speed these days). And while in HTML (and other content
>>> formats), non-ASCII is extremely widespread, in HTTP, it is not, and
>>> having more than one encoding is needlessly complicated.
>>> ...
>>
>> *If* we make a breaking change with respect to character encoding
>> schemes, this is indeed the change to make.
>
> Indeed, and a change I think HTTP/2.0 should make, in light of a
> 20 year design lifetime.

As far as I can tell, the only thing that makes this hard is the desire 
to be able to tunnel arbitrary HTTP/1.1 through HTTP/2.0.

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 02:06:12 2012
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 A995521F86A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:06:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 NWF5Vt2GxjtD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:06:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D38BC21F869E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 02:06:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr3j0-0006z9-HQ for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 09:05:46 +0000
Resent-Date: Tue, 17 Jul 2012 09:05:46 +0000
Resent-Message-Id: <E1Sr3j0-0006z9-HQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr3ir-0006yH-Lp for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 09:05:37 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr3ia-0001NH-MC for ietf-http-wg@w3.org; Tue, 17 Jul 2012 09:05:30 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E6A303B745; Tue, 17 Jul 2012 09:04:57 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H94vro062784; Tue, 17 Jul 2012 09:04:57 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>, Brian Pane <brianp@brianp.net>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 00:50:36 MST." <CAP+FsNetP9uhjrNXwXkJgZNGXMbbj0U8WfJfbyHK6jBF0TnKrw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 09:04:57 +0000
Message-ID: <62783.1342515897@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr3ia-0001NH-MC 21a93100c1e731304e361def69d333d2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/62783.1342515897@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14328
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>

In message <CAP+FsNetP9uhjrNXwXkJgZNGXMbbj0U8WfJfbyHK6jBF0TnKrw@mail.gmail.com>
, Roberto Peon writes:

>The holdup is that users have bookmarks, external links, etc. and so sites
>are reasonably reluctant to change their (unfortunately complex and
>potentially order dependent rule) mappings when doing so might lose them
>traffic.

Fortunately 1Tbit/s isn't going to happen over night either.

>It gets worse when one considers pieces of hardware which are not
>upgradable and have url-space hardwired into their firmware. 

I don't think there is any realistic prospect of retiring HTTP/1.x
entirely in the next 10 years.   In 15 years maybe.

But if we do HTTP/2 right, the amount of traffic left on HTTP/1.x
would be cut in half about three years after HTTP/2.0 ratification.

If we do a good job, in particular on HTTP/1->HTTP/2 connection
upgrades, it will happen even sooner than that.

>Any ideas as to how to reprogram site designers/authors? :)

Is it important or even necessary to do so ?

If they work for a site where performance matters, there will
be a local feedback loop to steer them in the right direction.

If they work a place where performance doesn't matter, they would
be wasting time by optimizing for performance in the first place.

But delivering a simpler to understand protocol would certainly
help, for instance many webdesigners have only very sketchy ideas
about how cookies and authentication actually work.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 02:14:32 2012
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 66C3621F8698 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:14:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, J_CHICKENPOX_38=0.6, J_CHICKENPOX_42=0.6, 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 MEcIJMnWmsYo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:14:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D418D21F867A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 02:14:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr3rN-0001Lr-Ss for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 09:14:25 +0000
Resent-Date: Tue, 17 Jul 2012 09:14:25 +0000
Resent-Message-Id: <E1Sr3rN-0001Lr-Ss@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr3rF-0001Ki-2I for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 09:14:17 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr3rB-0002j0-0h for ietf-http-wg@w3.org; Tue, 17 Jul 2012 09:14:17 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0E4F73B758; Tue, 17 Jul 2012 09:13:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H9DpUD062820; Tue, 17 Jul 2012 09:13:51 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 00:44:23 MST." <CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 09:13:51 +0000
Message-ID: <62819.1342516431@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr3rB-0002j0-0h 4d805f110e02edb6e6982640e65ecf04
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/62819.1342516431@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14329
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>

In message <CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
, James M Snell writes:

>Yeah.. um.. ignore that compression ratio, lol...

I would have checked it but I have become allergic to dissecting
gzip files after implementing ESI:includes on gzip'ed files in
Varnish :-)

>[...]so if our header encoding is compact enough without it, why spend
>the additional cycles to save 20 bytes or so.

Indeed.

Speaking of which:  I was surprised to find that the SPDY dictionary
didn't contain any fodder for compressing User-Agent ?

Was this future-proofing/neutrality, to avoid trademark issues or
because there were no reasonable general benefit to be had ?

(And what DO we do with User-Agent in HTTP/2.0, it must be possible
to come up with something actually usable... ?

>I am interested in hearing what further optimizations could be made to the
>structure.

I take it that you have read draft-tarreau-httpbis-network-friendly-00 ?

It has a lot of good ideas...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 02:50:54 2012
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 B2D5021F85D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:50:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.587
X-Spam-Level: 
X-Spam-Status: No, score=-10.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, 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 oqG1m2oh0Meh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 02:50:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2181E21F86A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 02:50:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr4QC-0003Mq-T5 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 09:50:24 +0000
Resent-Date: Tue, 17 Jul 2012 09:50:24 +0000
Resent-Message-Id: <E1Sr4QC-0003Mq-T5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr4Q4-0003M1-Dc for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 09:50:16 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr4Py-0004H0-F1 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 09:50:16 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id AD2683B74B; Tue, 17 Jul 2012 09:49:48 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6H9nl8u074397; Tue, 17 Jul 2012 09:49:48 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 00:09:52 MST." <CABaLYCu=uUL2VV7wKeONO5s4LoHXc6q-jzVcnY-XPKD5RRZNfQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 09:49:47 +0000
Message-ID: <74396.1342518587@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr4Py-0004H0-F1 5119040715504f67017ba293f4d9236a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Expression of luke-warm interest: Varnish
Archived-At: <http://www.w3.org/mid/74396.1342518587@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14330
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>

In message <CABaLYCu=uUL2VV7wKeONO5s4LoHXc6q-jzVcnY-XPKD5RRZNfQ@mail.gmail.com>
, Mike Belshe writes:

Mike,

Could you please stop taking my critique of SPDY as a personal affront ?

I have nothing against you (or anybody else here) as persons.

We cleary disagree what constitutes a "prototype" vs. "the real deal"
but that has nothing to do with you or me as persons.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:06:26 2012
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 3E8D421F86CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:06:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, 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 ZUVDGy0eDIJ9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:06:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 024D521F86D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:06:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr4el-00026k-RN for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:05:27 +0000
Resent-Date: Tue, 17 Jul 2012 10:05:27 +0000
Resent-Message-Id: <E1Sr4el-00026k-RN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr4eZ-00025T-Ho for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:05:15 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr4eT-0003pj-8r for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:05:15 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 5D53F3B75E; Tue, 17 Jul 2012 10:04:47 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HA4kGM074449; Tue, 17 Jul 2012 10:04:46 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Patrick McManus <pmcmanus@mozilla.com>, Mike Belshe <mike@belshe.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>, tom <zs68j2ee@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 08:36:47 +0200." <20120717063647.GC30530@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 10:04:46 +0000
Message-ID: <74448.1342519486@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr4eT-0003pj-8r e98344f5a0363870d35364d8576e37c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/74448.1342519486@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14331
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>

In message <20120717063647.GC30530@1wt.eu>, Willy Tarreau writes:
>On Tue, Jul 17, 2012 at 06:24:10AM +0000, Poul-Henning Kamp wrote:

>> Uhm, doesn't this lead to incredible cache-bloat ?
>> 
>> 	index.html + {style.css, logo.png...}
>> 	article.html?art=1 + {style.css, logo.png...}
>
>You're right, [...]

That's quite a bummer.

In the scenario where the user-agent has accessed this particular
website previously, there is a very good chance that it has already
cached the extra resources, whereas the first time it accesses
a website, it knows for sure that it hasn't.

That indicates to me that we should put the client in charge.

So why don't we simply give HTTP/2.0 a new primitive, which we
for historical continuity can call "MGET" meaning "send me all
you think I'll need", vs. "GET" meaning "give me just this one" ?

The response to MGET would be perfectly normal objects in all
other respects (but we need to stick their URI in the reponse
somehow.) so caching and all that works normally.

That puts the client squarely in charge of enabling server-push,
makes it trivially easy to avoid it (bots, scripts etc) and
will give the user-agent writers a chance to compete on the
best logic for chosing MGET vs. GET ?

Heck, you could even do that in HTTP/1.1:

	MGET /index.html HTTP/1.1
	Host: example.com
	[...]

	1xx Multiple objects coming your way
	Mget-Object: uri=/style.css, size=23132
	Mget-Object: uri=/index.html size=213123
	Mget-Object: uri=/logo.png size=2394

	200 OK
	[style.css reply]

	200 OK
	[index.html reply]

	200 OK
	[logo.png reply]

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:20:45 2012
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 01B2921F8694 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:20:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.185
X-Spam-Level: 
X-Spam-Status: No, score=-10.185 tagged_above=-999 required=5 tests=[AWL=0.414, BAYES_00=-2.599, 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 bIY7XFsoHqxI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:20:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 19D6A21F8525 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:20:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr4tV-00016t-VT for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:20:41 +0000
Resent-Date: Tue, 17 Jul 2012 10:20:41 +0000
Resent-Message-Id: <E1Sr4tV-00016t-VT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sr4tJ-00013m-A6 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:20:29 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sr4tD-0005Kv-5v for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:20:29 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 717E8E6F45 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:19:58 +1200 (NZST)
Message-ID: <50053C45.6050602@treenet.co.nz>
Date: Tue, 17 Jul 2012 22:19:49 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de>
In-Reply-To: <50051D6D.1010209@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr4tD-0005Kv-5v 81db9660c8eefcd50af530a281a65987
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50053C45.6050602@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14332
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 17/07/2012 8:08 p.m., Julian Reschke wrote:
> On 2012-07-17 09:59, Poul-Henning Kamp wrote:
>> In message <50051A91.1010401@gmx.de>, Julian Reschke writes:
>>> On 2012-07-17 09:44, "Martin J. Dürst" wrote:
>>>> ...
>>>> But a much, much better solution in this day and age is to only allow
>>>> one encoding, UTF-8. That by definition includes US-ASCII, covers all
>>>> the world's characters, and is what HTML is moving towards (with quite
>>>> surprising speed these days). And while in HTML (and other content
>>>> formats), non-ASCII is extremely widespread, in HTTP, it is not, and
>>>> having more than one encoding is needlessly complicated.
>>>> ...
>>>
>>> *If* we make a breaking change with respect to character encoding
>>> schemes, this is indeed the change to make.
>>
>> Indeed, and a change I think HTTP/2.0 should make, in light of a
>> 20 year design lifetime.
>
> As far as I can tell, the only thing that makes this hard is the 
> desire to be able to tunnel arbitrary HTTP/1.1 through HTTP/2.0.

There is hope though. Clients will be forced to begin new connections 
with HTTP/1.1 syntax Upgrade request (hopefully with zero-cost as in 
network-friendly) for the next 5-15 years or so until HTTP/1 dies out.

This means there is a server response along with path details known to 
both ends of the connection before any HTTP/2 non-ASCII character 
encoding can come into effect. Via header is already mandatory, and from 
this datum we can gather the path software versions (good luck to those 
who hide their HTTP compliance level). Which tells both server and 
client whether they can assume safe use of non-ASCII characters or if 
they have to mangle things down to the HTTP/1 compatible headers.

This is only relevnt to endpoints which want/need to use non-ASCII. We 
have two aternatives:
  1) mandate receivers accept UTF-8 HTTP/2, mandate senders generate 
ASCII in the 2.0 spec for later opening up in 2.1 or so.
  2) advise senders to always use ASCII characters within UTF-8 possible 
range, but not forbid non-ASCII.

Either way mandating receivers to accept UTF-8 is a long overdue MUST in 
my books for HTTP/2.

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:27:33 2012
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 C112621F86E8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:27:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.217
X-Spam-Level: 
X-Spam-Status: No, score=-10.217 tagged_above=-999 required=5 tests=[AWL=0.382, BAYES_00=-2.599, 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 953sdfW3-ZQs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:27:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F406C21F86E5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:27:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr4zg-0002s8-0Q for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:27:04 +0000
Resent-Date: Tue, 17 Jul 2012 10:27:04 +0000
Resent-Message-Id: <E1Sr4zg-0002s8-0Q@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sr4zX-0002rN-Bj for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:26:55 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sr4zS-0005Yw-RI for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:26:55 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 8C135E6F45 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:26:27 +1200 (NZST)
Message-ID: <50053DCA.9050200@treenet.co.nz>
Date: Tue, 17 Jul 2012 22:26:18 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <74448.1342519486@critter.freebsd.dk>
In-Reply-To: <74448.1342519486@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr4zS-0005Yw-RI f948524f3c26d46197a9c918e1085897
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/50053DCA.9050200@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14333
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 17/07/2012 10:04 p.m., Poul-Henning Kamp wrote:
> In message <20120717063647.GC30530@1wt.eu>, Willy Tarreau writes:
>> On Tue, Jul 17, 2012 at 06:24:10AM +0000, Poul-Henning Kamp wrote:
>>> Uhm, doesn't this lead to incredible cache-bloat ?
>>>
>>> 	index.html + {style.css, logo.png...}
>>> 	article.html?art=1 + {style.css, logo.png...}
>> You're right, [...]
> That's quite a bummer.
>
> In the scenario where the user-agent has accessed this particular
> website previously, there is a very good chance that it has already
> cached the extra resources, whereas the first time it accesses
> a website, it knows for sure that it hasn't.
>
> That indicates to me that we should put the client in charge.
>
> So why don't we simply give HTTP/2.0 a new primitive, which we
> for historical continuity can call "MGET" meaning "send me all
> you think I'll need", vs. "GET" meaning "give me just this one" ?

Or "PULL"?  as in "Pull this resource plus associated", "the client-pull 
feature".


>
> The response to MGET would be perfectly normal objects in all
> other respects (but we need to stick their URI in the reponse
> somehow.) so caching and all that works normally.
>
> That puts the client squarely in charge of enabling server-push,
> makes it trivially easy to avoid it (bots, scripts etc) and
> will give the user-agent writers a chance to compete on the
> best logic for chosing MGET vs. GET ?
>
> Heck, you could even do that in HTTP/1.1:
>
> 	MGET /index.html HTTP/1.1
> 	Host: example.com
> 	[...]
>
> 	1xx Multiple objects coming your way
> 	Mget-Object: uri=/style.css, size=23132
> 	Mget-Object: uri=/index.html size=213123
> 	Mget-Object: uri=/logo.png size=2394
>
> 	200 OK
> 	[style.css reply]
>
> 	200 OK
> 	[index.html reply]
>
> 	200 OK
> 	[logo.png reply]

Now *that* would be an HTTP/1.2 feature. Existing HTTP/1.1 caches would 
relay the 1xx and cache the first 200 under that request. Assigning the 
second 200 to the second pipelined request... and poof. There goes the 
cache integrity.

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:32:23 2012
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 2D3BE21F86EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:32:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.07
X-Spam-Level: 
X-Spam-Status: No, score=-6.07 tagged_above=-999 required=5 tests=[AWL=3.529, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 BOc9lnD1INMR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:32:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 42BE721F86EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:32:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr550-0006wj-Id for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:32:34 +0000
Resent-Date: Tue, 17 Jul 2012 10:32:34 +0000
Resent-Message-Id: <E1Sr550-0006wj-Id@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sr54r-0006vt-PM for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:32:25 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sr54m-0004sX-Lm for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:32:25 +0000
Received: From [192.168.1.25] (unverified [122.57.154.179]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019143321@smtp.qbik.com>; Tue, 17 Jul 2012 22:31:57 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 17 Jul 2012 10:31:57 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <50053DCA.9050200@treenet.co.nz>
Message-Id: <em264a739a-df76-4365-be1c-3dd9649ec57a@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr54m-0004sX-Lm 5be260a9e3e787acde5715165ce4c39f
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/em264a739a-df76-4365-be1c-3dd9649ec57a@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14334
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>

=EF=BB=BF
you could maybe just do it with a multipart response.

But IMO limiting server push to only providing associated resources is=20
a waste of potential.

Real-time notifications is something I find quite interesting, and that=20
would only really work if requested by the client, but then at any=20
stage until the connection is closed or whatever, messages could be=20
sent.  May not be cachable, but that would make no sense anyway for a=20
notification.

Adrien


------ Original Message ------
From: "Amos Jeffries" <squid3@treenet.co.nz>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 17/07/2012 10:26:18 p.m.
Subject: Re: HTTP2 Expression of Interest : Squid
>On 17/07/2012 10:04 p.m., Poul-Henning Kamp wrote:=20
>>In message <20120717063647.GC30530@1wt.eu>, Willy Tarreau writes:=20
>>>On Tue, Jul 17, 2012 at 06:24:10AM +0000, Poul-Henning Kamp wrote:=20
>>>>Uhm, doesn't this lead to incredible cache-bloat ?=20
>>>>
>>>> index.html + {style.css, logo.png...}=20
>>>> article.html?art=3D1 + {style.css, logo.png...}=20
>>>You're right, [...]=20
>>That's quite a bummer.=20
>>
>>In the scenario where the user-agent has accessed this particular=20
>>website previously, there is a very good chance that it has already=20
>>cached the extra resources, whereas the first time it accesses=20
>>a website, it knows for sure that it hasn't.=20
>>
>>That indicates to me that we should put the client in charge.=20
>>
>>So why don't we simply give HTTP/2.0 a new primitive, which we=20
>>for historical continuity can call "MGET" meaning "send me all=20
>>you think I'll need", vs. "GET" meaning "give me just this one" ?=20
>
>Or "PULL"? as in "Pull this resource plus associated", "the=20
>client-pull feature".=20
>
>
>>
>>The response to MGET would be perfectly normal objects in all=20
>>other respects (but we need to stick their URI in the reponse=20
>>somehow.) so caching and all that works normally.=20
>>
>>That puts the client squarely in charge of enabling server-push,=20
>>makes it trivially easy to avoid it (bots, scripts etc) and=20
>>will give the user-agent writers a chance to compete on the=20
>>best logic for chosing MGET vs. GET ?=20
>>
>>Heck, you could even do that in HTTP/1.1:=20
>>
>> MGET /index.html HTTP/1.1=20
>> Host: example.com=20
>> [...]=20
>>
>> 1xx Multiple objects coming your way=20
>> Mget-Object: uri=3D/style.css, size=3D23132=20
>> Mget-Object: uri=3D/index.html size=3D213123=20
>> Mget-Object: uri=3D/logo.png size=3D2394=20
>>
>> 200 OK=20
>> [style.css reply]=20
>>
>> 200 OK=20
>> [index.html reply]=20
>>
>> 200 OK=20
>> [logo.png reply]=20
>
>Now *that* would be an HTTP/1.2 feature. Existing HTTP/1.1 caches=20
>would relay the 1xx and cache the first 200 under that request.=20
>Assigning the second 200 to the second pipelined request... and poof.=20
>There goes the cache integrity.=20
>
>AYJ=20
>



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:36:36 2012
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 91B3321F86EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:36:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, 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 vk+APl29h0yz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:36:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E4F9E21F86C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:36:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr59E-00009f-HK for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:36:56 +0000
Resent-Date: Tue, 17 Jul 2012 10:36:56 +0000
Resent-Message-Id: <E1Sr59E-00009f-HK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr592-00008X-Gy for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:36:44 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr591-0005yE-IT for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:36:44 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 515CF3B745; Tue, 17 Jul 2012 10:36:22 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HAaLW6074602; Tue, 17 Jul 2012 10:36:21 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien de Croy" <adrien@qbik.com>
cc: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 10:31:57 GMT." <em264a739a-df76-4365-be1c-3dd9649ec57a@reboist>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 10:36:21 +0000
Message-ID: <74601.1342521381@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr591-0005yE-IT 39c57f74f0d4ef28f310da3bca302a49
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/74601.1342521381@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14335
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>

In message <em264a739a-df76-4365-be1c-3dd9649ec57a@reboist>, "Adrien de Croy" w
rites:

>Real-time notifications is something I find quite interesting, and that 
>would only really work if requested by the client, but then at any 
>stage until the connection is closed or whatever, messages could be 
>sent.  May not be cachable, but that would make no sense anyway for a 
>notification.

But that you can already do, and many apps do: chunked encoding
that just somehow fails to get to the end...

But I think it is imperative that nothing gets sent unless asked
for first, explicitl, by the client.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:41:36 2012
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 6F47B21F86C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:41:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.266
X-Spam-Level: 
X-Spam-Status: No, score=-6.266 tagged_above=-999 required=5 tests=[AWL=3.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 v8+9RgHgMsjB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:41:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D8C1321F8678 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:41:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr5E5-0001zf-Tk for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:41:57 +0000
Resent-Date: Tue, 17 Jul 2012 10:41:57 +0000
Resent-Message-Id: <E1Sr5E5-0001zf-Tk@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sr5Dx-0001yu-9J for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:41:49 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Sr5Dk-0005M3-VV for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:41:49 +0000
Received: From [192.168.1.25] (unverified [122.57.154.179]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019143333@smtp.qbik.com>; Tue, 17 Jul 2012 22:41:14 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 17 Jul 2012 10:41:13 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <74601.1342521381@critter.freebsd.dk>
Message-Id: <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr5Dk-0005M3-VV f802bb8ab92920ea5da00778300250fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re[4]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14336
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>

------ Original Message ------
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
>In message <em264a739a-df76-4365-be1c-3dd9649ec57a@reboist>, "Adrien de=
 Croy" w
>rites:
>
>
>>
>>Real-time notifications is something I find quite interesting, and that
>>would only really work if requested by the client, but then at any
>>stage until the connection is closed or whatever, messages could be
>>sent.  May not be cachable, but that would make no sense anyway for a
>>notification.
>>
>
>
>But that you can already do, and many apps do: chunked encoding
>that just somehow fails to get to the end...
>

problem is you can't tell if an intermediary will rechunk or spool=20
until it thinks it has an entire message.

So allowing multiple messages on the stream after a push request by the=20
client would allow an intermediary to perform message processing in a=20
more deterministic manner.


>
>
>But I think it is imperative that nothing gets sent unless asked
>for first, explicitl, by the client.
>

I agree, and actually I'd be keen to apply this philosphy in both=20
directions, where no significant resource is transmitted in either=20
direction without the recipient indicating prior willingness (either by=20
requesting it, or indicating willingness).  What I'm getting at here is=20
large POST / PUT requests.  Currently it's a mess esp with auth in the=20
mix.

Adrien



>
>
>
>--
>Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>phk@FreeBSD.ORG         | TCP/IP since RFC 956
>FreeBSD committer       | BSD since 4.3-tahoe
>Never attribute to malice what can adequately be explained by incompetence=
.
>
>



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 03:49:32 2012
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 321BE21F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:49:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, 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 8NCEkcSYsDSM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 03:49:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 02F5D21F86C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 03:49:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr5LS-000583-Su for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 10:49:34 +0000
Resent-Date: Tue, 17 Jul 2012 10:49:34 +0000
Resent-Message-Id: <E1Sr5LS-000583-Su@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr5LK-00056v-51 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 10:49:26 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr5LJ-0005fA-52 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 10:49:26 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 9D7A63B758; Tue, 17 Jul 2012 10:49:03 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HAn33p074653; Tue, 17 Jul 2012 10:49:03 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien de Croy" <adrien@qbik.com>
cc: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 10:41:13 GMT." <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 10:49:03 +0000
Message-ID: <74652.1342522143@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr5LJ-0005fA-52 1b954887a6f21e5fd110df78a6ba9c24
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[4]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/74652.1342522143@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14337
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>

In message <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist>, "Adrien de Croy" w
rites:

>I agree, and actually I'd be keen to apply this philosphy in both=20
>directions, where no significant resource is transmitted in either=20
>direction without the recipient indicating prior willingness (either by=20
>requesting it, or indicating willingness).  What I'm getting at here is=20
>large POST / PUT requests.  Currently it's a mess esp with auth in the=20
>mix.

Assuming HTTP/2.0 gets good mux/pipe-lining, I would like to propose
a default limit of max one connection from each client to each server,
until the server transmit a permission to open multiple parallel
connections.

This would take serious steam out of DoS attaks, without affecting
legitimate users.

A similar approach could be used for request body size:  A default
hard limit of X bytes, until the server gives you permission for more.

I know of no web services where you send a 4GB POST point blank, and
certainly none where doing an intial "HEAD /" would be an unbearble
cost.

This would also seriously disarm the DoS bots.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 06:26:23 2012
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 2603721F86D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:26:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.998
X-Spam-Level: 
X-Spam-Status: No, score=-9.998 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6, J_CHICKENPOX_42=0.6, 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 3ZF-awbgO4t0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:26:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 40D5121F86D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 06:26:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr7m1-0003QG-6X for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 13:25:09 +0000
Resent-Date: Tue, 17 Jul 2012 13:25:09 +0000
Resent-Message-Id: <E1Sr7m1-0003QG-6X@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr7lo-00029q-5T for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 13:24:56 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sr7lj-00041G-Mb for ietf-http-wg@w3.org; Tue, 17 Jul 2012 13:24:56 +0000
Received: by wgbdt14 with SMTP id dt14so362614wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 06:24: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; bh=DmuVeaFl9ydriFA1GjQUoE0UUF+1oLeYu4YwFlBUshk=; b=0cDs47tpnfETxY+8bG7cXoUPteGQdbXdp1MZ5eJFux8EXHk3gdZxUa5oNmUKNOw3Qi tEiPwmxO/NLNTIMdasX8njsVfXXbjmKmg/RQKjQKZDHeyg8msbJPtkn7nwBKK8ebM1Bs IF9Y6fNbYsJMWxB1tbhOlS5yZhOwvPqbcqApf2p8Oj/Ez5EXox5Isfk/JV0CT0hrQS5r tGSDavZFqstKB4L+GYwOL1VI8EOIWEZgdB1H5hKbnwrsWKhq008U2OrwO8yQTXKNNZPl O6UY/uv8JAYIs6hLK/3RnjJbyPxCsN1lqNn01W2fn8sjUvNuL9xb0yLIu9XiqMmuEcdK UCDg==
MIME-Version: 1.0
Received: by 10.180.92.129 with SMTP id cm1mr4314773wib.10.1342531465026; Tue, 17 Jul 2012 06:24:25 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 06:24:24 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 06:24:24 -0700 (PDT)
In-Reply-To: <62819.1342516431@critter.freebsd.dk>
References: <CABP7Rbfg6nf=qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com> <62819.1342516431@critter.freebsd.dk>
Date: Tue, 17 Jul 2012 06:24:24 -0700
Message-ID: <CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
Content-Type: multipart/alternative; boundary=f46d043c7d14129dc104c5067764
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr7lj-00041G-Mb a1851fe0a033ca1beee5b4f4aa7995ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14338
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>

--f46d043c7d14129dc104c5067764
Content-Type: text/plain; charset=ISO-8859-1

On Jul 17, 2012 2:15 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
>
> In message <CABP7Rbfg6nf=
qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
> , James M Snell writes:
>
> >Yeah.. um.. ignore that compression ratio, lol...
>
> I would have checked it but I have become allergic to dissecting
> gzip files after implementing ESI:includes on gzip'ed files in
> Varnish :-)
>
> >[...]so if our header encoding is compact enough without it, why spend
> >the additional cycles to save 20 bytes or so.
>
> Indeed.
>
> Speaking of which:  I was surprised to find that the SPDY dictionary
> didn't contain any fodder for compressing User-Agent ?
>
> Was this future-proofing/neutrality, to avoid trademark issues or
> because there were no reasonable general benefit to be had ?

A combination of future proofing and neutrality, as you've guessed.

We didn't want to provide any motivation for people to lie about user-agent
any more than they do today, and having something in the dictionary would
have provided such a motivation.
We also didn't want the protocol to "choose" any favorites, i.e. we wished
it to be neutral.
-=R

>
> (And what DO we do with User-Agent in HTTP/2.0, it must be possible
> to come up with something actually usable... ?
>
> >I am interested in hearing what further optimizations could be made to
the
> >structure.
>
> I take it that you have read draft-tarreau-httpbis-network-friendly-00 ?
>
> It has a lot of good ideas...
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
incompetence.
>
 On Jul 17, 2012 2:15 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <CABP7Rbfg6nf=
> qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.gmail.com>
> , James M Snell writes:
>
> >Yeah.. um.. ignore that compression ratio, lol...
>
> I would have checked it but I have become allergic to dissecting
> gzip files after implementing ESI:includes on gzip'ed files in
> Varnish :-)
>
> >[...]so if our header encoding is compact enough without it, why spend
> >the additional cycles to save 20 bytes or so.
>
> Indeed.
>
> Speaking of which:  I was surprised to find that the SPDY dictionary
> didn't contain any fodder for compressing User-Agent ?
>
> Was this future-proofing/neutrality, to avoid trademark issues or
> because there were no reasonable general benefit to be had ?
>
> (And what DO we do with User-Agent in HTTP/2.0, it must be possible
> to come up with something actually usable... ?
>
> >I am interested in hearing what further optimizations could be made to the
> >structure.
>
> I take it that you have read draft-tarreau-httpbis-network-friendly-00 ?
>
> It has a lot of good ideas...
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d043c7d14129dc104c5067764
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 17, 2012 2:15 AM, &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mailt=
o:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt; wrote:<br>
&gt;<br>
&gt; In message &lt;CABP7Rbfg6nf=3D<a href=3D"mailto:qJOSAyC8mGcfDQxFmxREOq=
mb88_fSqiyc5Kv%2BQ@mail.gmail.com">qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@m=
ail.gmail.com</a>&gt;<br>
&gt; , James M Snell writes:<br>
&gt;<br>
&gt; &gt;Yeah.. um.. ignore that compression ratio, lol...<br>
&gt;<br>
&gt; I would have checked it but I have become allergic to dissecting<br>
&gt; gzip files after implementing ESI:includes on gzip&#39;ed files in<br>
&gt; Varnish :-)<br>
&gt;<br>
&gt; &gt;[...]so if our header encoding is compact enough without it, why s=
pend<br>
&gt; &gt;the additional cycles to save 20 bytes or so.<br>
&gt;<br>
&gt; Indeed.<br>
&gt;<br>
&gt; Speaking of which: =A0I was surprised to find that the SPDY dictionary=
<br>
&gt; didn&#39;t contain any fodder for compressing User-Agent ?<br>
&gt;<br>
&gt; Was this future-proofing/neutrality, to avoid trademark issues or<br>
&gt; because there were no reasonable general benefit to be had ?</p>
<p dir=3D"ltr">A combination of future proofing and neutrality, as you&#39;=
ve guessed.</p>
<p dir=3D"ltr"> We didn&#39;t want to provide any motivation for people to =
lie about user-agent any more than they do today, and having something in t=
he dictionary would have provided such a motivation. <br>
We also didn&#39;t want the protocol to &quot;choose&quot; any favorites, i=
.e. we wished it to be neutral.<br>
-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt; (And what DO we do with User-Agent in HTTP/2.0, it must be possible<br=
>
&gt; to come up with something actually usable... ?<br>
&gt;<br>
&gt; &gt;I am interested in hearing what further optimizations could be mad=
e to the<br>
&gt; &gt;structure.<br>
&gt;<br>
&gt; I take it that you have read draft-tarreau-httpbis-network-friendly-00=
 ?<br>
&gt;<br>
&gt; It has a lot of good ideas...<br>
&gt;<br>
&gt; --<br>
&gt; Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
&gt; phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
&gt; FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
&gt; Never attribute to malice what can adequately be explained by incompet=
ence.<br>
&gt;<br>
</p>
<div class=3D"gmail_quote">On Jul 17, 2012 2:15 AM, &quot;Poul-Henning Kamp=
&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;CABP7Rbfg6nf=3D<a href=3D"mailto:qJOSAyC8mGcfDQxFmxREOqmb88_=
fSqiyc5Kv%2BQ@mail.gmail.com">qJOSAyC8mGcfDQxFmxREOqmb88_fSqiyc5Kv+Q@mail.g=
mail.com</a>&gt;<br>
, James M Snell writes:<br>
<br>
&gt;Yeah.. um.. ignore that compression ratio, lol...<br>
<br>
I would have checked it but I have become allergic to dissecting<br>
gzip files after implementing ESI:includes on gzip&#39;ed files in<br>
Varnish :-)<br>
<br>
&gt;[...]so if our header encoding is compact enough without it, why spend<=
br>
&gt;the additional cycles to save 20 bytes or so.<br>
<br>
Indeed.<br>
<br>
Speaking of which: =A0I was surprised to find that the SPDY dictionary<br>
didn&#39;t contain any fodder for compressing User-Agent ?<br>
<br>
Was this future-proofing/neutrality, to avoid trademark issues or<br>
because there were no reasonable general benefit to be had ?<br>
<br>
(And what DO we do with User-Agent in HTTP/2.0, it must be possible<br>
to come up with something actually usable... ?<br>
<br>
&gt;I am interested in hearing what further optimizations could be made to =
the<br>
&gt;structure.<br>
<br>
I take it that you have read draft-tarreau-httpbis-network-friendly-00 ?<br=
>
<br>
It has a lot of good ideas...<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote></div>

--f46d043c7d14129dc104c5067764--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 06:39:02 2012
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 CA71A21F86C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:39:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, 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 OMuYtrAJYt19 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:39:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E1BB621F86B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 06:39:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr7z7-0002Fw-BD for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 13:38:41 +0000
Resent-Date: Tue, 17 Jul 2012 13:38:41 +0000
Resent-Message-Id: <E1Sr7z7-0002Fw-BD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr7yy-0002EH-OO for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 13:38:32 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr7yq-000583-Og for ietf-http-wg@w3.org; Tue, 17 Jul 2012 13:38:32 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id D2AFB3B767; Tue, 17 Jul 2012 13:38:02 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HDc2oh075151; Tue, 17 Jul 2012 13:38:02 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 06:24:24 MST." <CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 13:38:02 +0000
Message-ID: <75150.1342532282@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sr7yq-000583-Og b20980d17d6590c4c9414cae485a7839
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/75150.1342532282@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14339
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>

In message <CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
, Roberto Peon writes:

[lack of dictionary support for user-agent]

>A combination of future proofing and neutrality, as you've guessed.

Yeah, I can understand that.

Still sucks though.

The WURFL database contains what ?  17.000 entires ?

and that's just mobile devices.

There must be a smarter way than "User-Agent:"...


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 06:49:03 2012
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 29E2B21F86B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:49:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.563
X-Spam-Level: 
X-Spam-Status: No, score=-8.563 tagged_above=-999 required=5 tests=[AWL=2.036, BAYES_00=-2.599, 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 O4MysXymTi8e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:49:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A3DB021F86B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 06:49:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr891-0008Je-LZ for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 13:48:55 +0000
Resent-Date: Tue, 17 Jul 2012 13:48:55 +0000
Resent-Message-Id: <E1Sr891-0008Je-LZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sr88t-0008Io-36 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 13:48:47 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sr88r-0005Di-VC for ietf-http-wg@w3.org; Tue, 17 Jul 2012 13:48:47 +0000
Received: by vbbfq11 with SMTP id fq11so281220vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 06:48:20 -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=ESvSlYsDEYnVk0d+NYPDZRo+VciwJg+IolVVgGPGWlc=; b=rgbHEi8RO0pnQJmOexOigqoO9ptaW/lfDP2yLl1ejUZy/m0OeYXaISxciiB3v2iS+4 3LpVhe/be+vG6ZtaiRURtLuhtRGk1tBvtiO3305UICZG9EmP7d/qTU67t4oyqV/oFB2q aWGx2lInwhplf0Lciw4Z5xOJ1D5D5cRq1634SimAkFGPiaYu4ER6q4LTsthIWufoc9D7 /8SFVOsjikVC7NMw1ixDA2zFbEf7ZG1JMKYxENOtuY3mHgurYc5ycYFNd8xFhJePTcCQ j7E1YXTnZ1UDZcATyXvnXzWXM15ui0FPNXmbv+ML5KJKWuM0Nfr2RHkOU97dYw7tlkXY AEpg==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr1028243vdg.94.1342532899924; Tue, 17 Jul 2012 06:48:19 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 06:48:19 -0700 (PDT)
In-Reply-To: <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
References: <20120714052933.GL16256@1wt.eu> <48515.1342248130@critter.freebsd.dk> <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com>
Date: Tue, 17 Jul 2012 09:48:19 -0400
Message-ID: <CAMm+LwgmNAoy_6xZjsCL+mtAjfUtWRdjwKCMN_s0i4xD+nUdUg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Sr88r-0005Di-VC 2e6062fcc06840fe7ea9d03ff26ad7f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CAMm+LwgmNAoy_6xZjsCL+mtAjfUtWRdjwKCMN_s0i4xD+nUdUg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14340
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>

Could I just point out that when you have a problem with an almost
infinite scope for minor variations, having a strawman on the table is
an essential pre-condition for success?

SPDY is not the first attempt to do multiplexing. Jim Gettys and
Henryk Nielsen worked on a similar scheme in '95. Before that Simon
Spero developed HTTP-NG. What is different this time round is that
there is at least one 500 pound gorilla who wants the banana.

Anyone can bikeshed the names, semantics of new headers. What really
interests me is questions such as:

* How will the new proposal be layered onto the Transport and
Application layers?
* Will the new scheme take advantage of multicast?
* What security will be provided?
* How robust will the new scheme be?

There are design issues in SPDY that I find a little troubling. I much
prefer using a compact encoding for headers over compression. A
compact encoding is easier to implement and much easier to debug. It
is also more robust as single bit errors are less likely to lead to
catastrophe.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 06:49:24 2012
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 5224621F86BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:49:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.591
X-Spam-Level: 
X-Spam-Status: No, score=-8.591 tagged_above=-999 required=5 tests=[AWL=2.008, BAYES_00=-2.599, 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 jsfmssZgZRr3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 06:49:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C7DB421F86B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 06:49:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr89s-0008N6-SG for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 13:49:48 +0000
Resent-Date: Tue, 17 Jul 2012 13:49:48 +0000
Resent-Message-Id: <E1Sr89s-0008N6-SG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr89g-0008Kg-Dw for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 13:49:36 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr89f-0005X2-3b for ietf-http-wg@w3.org; Tue, 17 Jul 2012 13:49:36 +0000
Received: (qmail invoked by alias); 17 Jul 2012 13:49:08 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp027) with SMTP; 17 Jul 2012 15:49:08 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18oCXRJQyQomdYkW6U2CUzD3EXKCyjplvbTYRwu9K AtwBW0vrbS4rpK
Message-ID: <50056D42.6000207@gmx.de>
Date: Tue, 17 Jul 2012 15:48:50 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Roberto Peon <grmocg@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>, James M Snell <jasnell@gmail.com>
References: <75150.1342532282@critter.freebsd.dk>
In-Reply-To: <75150.1342532282@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr89f-0005X2-3b 7d242ac96999111d503e469a8f1e3b1b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50056D42.6000207@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14341
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 2012-07-17 15:38, Poul-Henning Kamp wrote:
> In message <CAP+FsNfvUxmWdR2304QXxQMDwVRC5SVimJFSvStjd6KpGxQaOQ@mail.gmail.com>
> , Roberto Peon writes:
>
> [lack of dictionary support for user-agent]
>
>> A combination of future proofing and neutrality, as you've guessed.
>
> Yeah, I can understand that.
>
> Still sucks though.
>
> The WURFL database contains what ?  17.000 entires ?
>
> and that's just mobile devices.
>
> There must be a smarter way than "User-Agent:"...

Actually one nice potential optimization is if the server can declare 
that it's not interested in the User-Agent at all; see 
<http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03#section-5.7>

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 07:10:48 2012
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 B548721F86F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 07:10:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.597
X-Spam-Level: 
X-Spam-Status: No, score=-8.597 tagged_above=-999 required=5 tests=[AWL=2.002, BAYES_00=-2.599, 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 USlL5uKwflPC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 07:10:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E28821F86F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 07:10:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr8U3-0002gL-C8 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 14:10:39 +0000
Resent-Date: Tue, 17 Jul 2012 14:10:39 +0000
Resent-Message-Id: <E1Sr8U3-0002gL-C8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sr8Tu-0002ea-Uo for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 14:10:30 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sr8Tm-0006Tn-Ry for ietf-http-wg@w3.org; Tue, 17 Jul 2012 14:10:30 +0000
Received: by vcbgb30 with SMTP id gb30so307777vcb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 07:09:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=V9TcdxS6tEqp1i+0aT6L28eo4ewuDhRHA21DDY77HJY=; b=XSLak8WjzQUZZ6Lpylls75teddCz/77RYTPPTWFbDqdW1/jB8fH6U5QLGfoOTvAkZY uzVcQlY9NVDfE7HoSCPhrmn8CVrKw3Oyu/xc2E/R0f+njaPZ5d8BNtd66IOL0Iu/mReY hbA7Fb9ZPR1m1HIlXH7PTxgIh06bfAPsJEFZ/vNs3MDYSU8rOFpNvRe0D2koQF/4ljV8 He5Pm66P+MF6FAUQ9Z5Yb991wZLHUOhlenreQzZWZFIG3St4BjLRev0fvqYEPe0693Kv 5nCl+LmkEk08Q92JybhVWeKbuFvg0frt4+VrXHOJ+RWDVFytH+DeH7oOSDB58l1j714K wwhg==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr1016886vdc.101.1342534196863; Tue, 17 Jul 2012 07:09:56 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 07:09:56 -0700 (PDT)
Date: Tue, 17 Jul 2012 10:09:56 -0400
Message-ID: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Sr8Tm-0006Tn-Ry 682036373411ccf601d430c6ea83aca8
X-Original-To: ietf-http-wg@w3.org
Subject: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14342
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>

One of the design choices I find a little troubling in SPDY is the use
of header compression over a compact representation.

Compression algorithms worry me because the only way I can implement
them is to call someone's library. I can write my own code to
implement RFC822 header parsing. In fact I have done so a dozen times
at least.

ASN.1 and XML schemas are undoubtedly how to do a protocol 'right' in
the academic sense of get some good abstractions in there. But they
both come with hideous baggage. ASN.1 started too large and has been
tweaked endlessly until it became nonsense. XML encoding is bloated
and XML Schema drags in the whole SGML legacy that the WG was meant to
chuck in the dustbin. I dare you to use a model group in your next XML
spec.


But JSON proves that it does not have to be that way. Over the past
couple of months I have put together what amounts to a schema compiler
for JSON. I am currently working on putting the compiler and the tools
used to build it out on Github under an open source license.

Unlike your regular schema compiler, this one makes it easy to
retarget the code generation at a different language. Writing a JSON
back end for C# took me about a week (and I was developing the tool at
the same time). I could modify that code to generate C in a day. Want
python, perl, Java, no problem.

The JSON protocol synthesizer is built using the Goedel
meta-synthesizer (which is of course written in itself). Comodo owns
the protocol synth, I own the meta-synth. They should both be up on
github under an MIT license in a few weeks.


It seems to me that it would be useful to have a compiler for RFC822
style headers. The basic strategy being similar to a 'jack up' house
renovation. First we jack up the level of abstraction in the HTTP spec
by defining the headers in terms of a schema that is designed for that
specific purpose. Then we build in the new ground floor (aka encoding)
underneath it.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 07:37:34 2012
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 2C30C21F863E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 07:37:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.928
X-Spam-Level: 
X-Spam-Status: No, score=-9.928 tagged_above=-999 required=5 tests=[AWL=0.670, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 opTL0qkYI0Jq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 07:37:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B4C721F8533 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 07:37:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr8th-0002Iz-Ap for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 14:37:09 +0000
Resent-Date: Tue, 17 Jul 2012 14:37:09 +0000
Resent-Message-Id: <E1Sr8th-0002Iz-Ap@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr8tU-0002A4-58 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 14:36:56 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr8tM-0007rE-VP for ietf-http-wg@w3.org; Tue, 17 Jul 2012 14:36:56 +0000
Received: by wibhq4 with SMTP id hq4so390553wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 07:36:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SkM1o7c3vA18F3bKd2omtIB4aCRvrHZFAEakdRzrcFQ=; b=GmAQpDWotE0yCSTs7cUEwZyjbSWJSFdJGdudNVT2qSsuY9MCmvsjmzJ+ojKi3TTb8c 6bo6g0Mbjpl6H71Hbs2RrRT43ErGI/lZyydVASiRDtYIKSQwparLN4NIGwcl39nWdlW6 hXMKnhl28zIuIuOZqMHu0EiDvtzwGGaQP4BLzSc4a7ufMr7RtxTFhhsbIm6qjQQvv9ki nEjoBzX/EID318Tr3i3P0KOD+TpbOoqkDBYazRGcj5rAFvNJ3tVw/cYCEqzvFxN/c/v9 hBdfn0EFviFNkUz0JpxTOtfAB1Jgmnj5oc4/EQR68LlX/t0J9+OP3O2JAX9OQgOWo2LX mbaQ==
Received: by 10.216.138.200 with SMTP id a50mr1575646wej.155.1342535782281; Tue, 17 Jul 2012 07:36:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 07:36:02 -0700 (PDT)
In-Reply-To: <CAMm+LwgmNAoy_6xZjsCL+mtAjfUtWRdjwKCMN_s0i4xD+nUdUg@mail.gmail.com>
References: <20120714052933.GL16256@1wt.eu> <48515.1342248130@critter.freebsd.dk> <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com> <CAMm+LwgmNAoy_6xZjsCL+mtAjfUtWRdjwKCMN_s0i4xD+nUdUg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 07:36:02 -0700
Message-ID: <CABP7Rbc9QqfmVCGvmMCYDNHC5WSoC+A9HRqSLfJq1ayNdnd3qA@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6d7e73766b0ce04c5077854
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr8tM-0007rE-VP 2986066cefa31acd4cef95417dca942c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7Rbc9QqfmVCGvmMCYDNHC5WSoC+A9HRqSLfJq1ayNdnd3qA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14343
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>

--0016e6d7e73766b0ce04c5077854
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 6:48 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> [snip]
> There are design issues in SPDY that I find a little troubling. I much
> prefer using a compact encoding for headers over compression. A
> compact encoding is easier to implement and much easier to debug. It
> is also more robust as single bit errors are less likely to lead to
> catastrophe.
>

I definitely have to agree with preferring the compact encoding over
compression. At the moment, I'm just not seeing the benefit of applying the
compression.

FWIW, I made a few additional tweaks to my test.. namely, reducing the
header value size to max(int16), and eliminating the charset header with
the assumption everything would be UTF-8 and the header block becomes a
simple 116 bytes in length. The compressed size (done properly this time,
albeit using the existing SPDY dictionary that obviously would need to be
tweaked to account for the new structure) comes out to only 114 bytes...

Just for fun, I added in my chrome browser's user-agent string, swelling
the encoded size to 237 bytes... compressed at 220. Again, Not enough of a
savings to justify the additional cost.... and yeah, let's definitely see
what we can do about fixing the whole user-agent crap-fest.

- James

--0016e6d7e73766b0ce04c5077854
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 6:48 AM, Phillip Hallam-Baker <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:hallam@gmail.com" target=3D"_blank">hallam@gmail.com=
</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">[snip]<br>
There are design issues in SPDY that I find a little troubling. I much<br>
prefer using a compact encoding for headers over compression. A<br>
compact encoding is easier to implement and much easier to debug. It<br>
is also more robust as single bit errors are less likely to lead to<br>
catastrophe.<br>
</blockquote></div><br><div>I definitely have to agree with preferring the =
compact encoding over compression. At the moment, I&#39;m just not seeing t=
he benefit of applying the compression.</div><div><br></div><div>FWIW, I ma=
de a few additional tweaks to my test.. namely, reducing the header value s=
ize to max(int16), and eliminating the charset header with the assumption e=
verything would be UTF-8 and the header block becomes a simple 116 bytes in=
 length. The compressed size (done properly this time, albeit using the exi=
sting SPDY dictionary that obviously would need to be tweaked to account fo=
r the new structure) comes out to only 114 bytes...=C2=A0</div>

<div><br></div><div>Just for fun, I added in my chrome browser&#39;s user-a=
gent string, swelling the encoded size to 237 bytes... compressed at 220. A=
gain, Not enough of a savings to justify the additional cost.... and yeah, =
let&#39;s definitely see what we can do about fixing the whole user-agent c=
rap-fest.</div>

<div><br></div><div>- James</div>

--0016e6d7e73766b0ce04c5077854--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 07:49:42 2012
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 89E2B21F86EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 07:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.134
X-Spam-Level: 
X-Spam-Status: No, score=-9.134 tagged_above=-999 required=5 tests=[AWL=1.464, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 0mfGRRyhQh8r for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 07:49:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BD2D21F861C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 07:49:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr95U-0001We-O6 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 14:49:20 +0000
Resent-Date: Tue, 17 Jul 2012 14:49:20 +0000
Resent-Message-Id: <E1Sr95U-0001We-O6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr95I-0001Vo-UO for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 14:49:08 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr95A-00009M-79 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 14:49:08 +0000
Received: by wgbdt14 with SMTP id dt14so440100wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 07:48:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GkJ5XvJIRqkI7kpPXaV6dnY/AZW6zepBvnaUwsl8MpQ=; b=hHGzogLVDgMAO/64m5B6nV1DaMp1GeYh+Gy1mFSxXKGb7ZGe9RYS0jKg7iP44WqB3p zxpQRsht8S4/ocAiBKF4KUvU42FBkz9xTEG4RzzXNjR9kANiHmMk98HnejFkEqyUWUsU nnhNqvfwdwQlXSfIEX+G2IVrZTKHRYq9hJ/k089RbqG58Mu8MD347Nukf2ulvVO4j6Os rYawAb9BNCxHiuAuBQ+n9HjPntl1Tq1NEKdmVrqZ00mQAnvJKjIE/s28WbI6/FPQuakt X32E0GIfWySrTnR1qU9LRwntEXKk4JA/0bB0tSB09SZA2C6ekGF+dVxOWP1MXQAjnATy bIUQ==
Received: by 10.180.84.104 with SMTP id x8mr4868168wiy.20.1342536513686; Tue, 17 Jul 2012 07:48:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 07:48:13 -0700 (PDT)
In-Reply-To: <50053C45.6050602@treenet.co.nz>
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de> <50053C45.6050602@treenet.co.nz>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 07:48:13 -0700
Message-ID: <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043bd758ff0cf504c507a399
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sr95A-00009M-79 5eb52108ea181d65cf53622a7e7bc8b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14344
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>

--f46d043bd758ff0cf504c507a399
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Tunneling 1.1 traffic via 2.0 would likely be the easy part; it's the
possibility of having to downgrade from 2.0 to 1.1 mid stream that would
make this difficult. Declaring that all header values must be UTF-8 would
essentially make it impossible to reliably bridge 2.0 traffic to 1.1
because whichever component is doing that bridging would have to know
exactly how to translate every header into it's appropriate us-ascii
equivalent. For some of the well-known "registered" headers, that's not a
major problem but it obviously falls down completely when we start talking
about extension headers.

Of course, we face the exact same problem if we allow for purely binary
header values (as I have also suggested).

The one thing we need to determine is: how critical is the ability to
support seamless down-level conversion from 2.0 to 1.1 within a request? Is
it acceptable for us to say that while 2.0 can be used to transport 1.1
messages, the reverse is not possible.

- James

On Tue, Jul 17, 2012 at 3:19 AM, Amos Jeffries <squid3@treenet.co.nz> wrote=
:

> On 17/07/2012 8:08 p.m., Julian Reschke wrote:
>
>> On 2012-07-17 09:59, Poul-Henning Kamp wrote:
>>
>>> In message <50051A91.1010401@gmx.de>, Julian Reschke writes:
>>>
>>>> On 2012-07-17 09:44, "Martin J. D=C3=BCrst" wrote:
>>>>
>>>>> ...
>>>>> But a much, much better solution in this day and age is to only allow
>>>>> one encoding, UTF-8. That by definition includes US-ASCII, covers all
>>>>> the world's characters, and is what HTML is moving towards (with quit=
e
>>>>> surprising speed these days). And while in HTML (and other content
>>>>> formats), non-ASCII is extremely widespread, in HTTP, it is not, and
>>>>> having more than one encoding is needlessly complicated.
>>>>> ...
>>>>>
>>>>
>>>> *If* we make a breaking change with respect to character encoding
>>>> schemes, this is indeed the change to make.
>>>>
>>>
>>> Indeed, and a change I think HTTP/2.0 should make, in light of a
>>> 20 year design lifetime.
>>>
>>
>> As far as I can tell, the only thing that makes this hard is the desire
>> to be able to tunnel arbitrary HTTP/1.1 through HTTP/2.0.
>>
>
> There is hope though. Clients will be forced to begin new connections wit=
h
> HTTP/1.1 syntax Upgrade request (hopefully with zero-cost as in
> network-friendly) for the next 5-15 years or so until HTTP/1 dies out.
>
> This means there is a server response along with path details known to
> both ends of the connection before any HTTP/2 non-ASCII character encodin=
g
> can come into effect. Via header is already mandatory, and from this datu=
m
> we can gather the path software versions (good luck to those who hide the=
ir
> HTTP compliance level). Which tells both server and client whether they c=
an
> assume safe use of non-ASCII characters or if they have to mangle things
> down to the HTTP/1 compatible headers.
>
> This is only relevnt to endpoints which want/need to use non-ASCII. We
> have two aternatives:
>  1) mandate receivers accept UTF-8 HTTP/2, mandate senders generate ASCII
> in the 2.0 spec for later opening up in 2.1 or so.
>  2) advise senders to always use ASCII characters within UTF-8 possible
> range, but not forbid non-ASCII.
>
> Either way mandating receivers to accept UTF-8 is a long overdue MUST in
> my books for HTTP/2.
>
> AYJ
>
>

--f46d043bd758ff0cf504c507a399
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Tunneling 1.1 traffic via 2.0 would li=
kely be the easy part; it&#39;s the possibility of having to downgrade from=
 2.0 to 1.1 mid stream that would make this difficult. Declaring that all h=
eader values must be UTF-8 would essentially make it impossible to reliably=
 bridge 2.0 traffic to 1.1 because whichever component is doing that bridgi=
ng would have to know exactly how to translate every header into it&#39;s a=
ppropriate us-ascii equivalent. For some of the well-known &quot;registered=
&quot; headers, that&#39;s not a major problem but it obviously falls down =
completely when we start talking about extension headers.=C2=A0</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Of course, we face the exact same problem if we allow =
for purely binary header values (as I have also suggested).</font></div><di=
v>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">The one thing we need to determine is: how critical is=
 the ability to support seamless down-level conversion from 2.0 to 1.1 with=
in a request? Is it acceptable for us to say that while 2.0 can be used to =
transport 1.1 messages, the reverse is not possible.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">- James<br></font><br><div class=3D"gmail_quote"=
>On Tue, Jul 17, 2012 at 3:19 AM, Amos Jeffries <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.nz</=
a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On 1=
7/07/2012 8:08 p.m., Julian Reschke wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On 2012-07-17 09:59, Poul-Henning Kamp wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message &lt;<a href=3D"mailto:50051A91.1010401@gmx.de" target=3D"_blank"=
>50051A91.1010401@gmx.de</a>&gt;, Julian Reschke writes:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On 2012-07-17 09:44, &quot;Martin J. D=C3=BCrst&quot; wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
...<br>
But a much, much better solution in this day and age is to only allow<br>
one encoding, UTF-8. That by definition includes US-ASCII, covers all<br>
the world&#39;s characters, and is what HTML is moving towards (with quite<=
br>
surprising speed these days). And while in HTML (and other content<br>
formats), non-ASCII is extremely widespread, in HTTP, it is not, and<br>
having more than one encoding is needlessly complicated.<br>
...<br>
</blockquote>
<br>
*If* we make a breaking change with respect to character encoding<br>
schemes, this is indeed the change to make.<br>
</blockquote>
<br>
Indeed, and a change I think HTTP/2.0 should make, in light of a<br>
20 year design lifetime.<br>
</blockquote>
<br>
As far as I can tell, the only thing that makes this hard is the desire to =
be able to tunnel arbitrary HTTP/1.1 through HTTP/2.0.<br>
</blockquote>
<br></div></div>
There is hope though. Clients will be forced to begin new connections with =
HTTP/1.1 syntax Upgrade request (hopefully with zero-cost as in network-fri=
endly) for the next 5-15 years or so until HTTP/1 dies out.<br>
<br>
This means there is a server response along with path details known to both=
 ends of the connection before any HTTP/2 non-ASCII character encoding can =
come into effect. Via header is already mandatory, and from this datum we c=
an gather the path software versions (good luck to those who hide their HTT=
P compliance level). Which tells both server and client whether they can as=
sume safe use of non-ASCII characters or if they have to mangle things down=
 to the HTTP/1 compatible headers.<br>


<br>
This is only relevnt to endpoints which want/need to use non-ASCII. We have=
 two aternatives:<br>
=C2=A01) mandate receivers accept UTF-8 HTTP/2, mandate senders generate AS=
CII in the 2.0 spec for later opening up in 2.1 or so.<br>
=C2=A02) advise senders to always use ASCII characters within UTF-8 possibl=
e range, but not forbid non-ASCII.<br>
<br>
Either way mandating receivers to accept UTF-8 is a long overdue MUST in my=
 books for HTTP/2.<br>
<br>
AYJ<br>
<br>
</blockquote></div><br></div>

--f46d043bd758ff0cf504c507a399--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 08:00:49 2012
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 2D1D321F85A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:00:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.627
X-Spam-Level: 
X-Spam-Status: No, score=-8.627 tagged_above=-999 required=5 tests=[AWL=1.972, BAYES_00=-2.599, 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 hAvoZWVDzVqm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:00:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1D5B521F8565 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 08:00:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr9GL-0000y6-Oc for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 15:00:33 +0000
Resent-Date: Tue, 17 Jul 2012 15:00:33 +0000
Resent-Message-Id: <E1Sr9GL-0000y6-Oc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr9G9-0000wy-C5 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 15:00:21 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sr9Fz-0000X4-ME for ietf-http-wg@w3.org; Tue, 17 Jul 2012 15:00:21 +0000
Received: (qmail invoked by alias); 17 Jul 2012 14:59:44 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 17 Jul 2012 16:59:44 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+2VR4fP6e2uTJyfC8DDDnZQgWAq9Yw7ZPIanVyCg eSVVboG8uXOPUx
Message-ID: <50057DC5.7070704@gmx.de>
Date: Tue, 17 Jul 2012 16:59:17 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de> <50053C45.6050602@treenet.co.nz> <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com>
In-Reply-To: <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr9Fz-0000X4-ME 0d546ffa1f75d6755fe4f6a3d9323c35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50057DC5.7070704@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14345
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 2012-07-17 16:48, James M Snell wrote:
> Tunneling 1.1 traffic via 2.0 would likely be the easy part; it's the

Not even that. Given an HTTP/1.1 message containing non-ASCII octets in 
header field value, you simply don't know what unicode characters to map 
them to.

This is not theoretical; some UAs process UTF-8 in Content-Disposition, 
some use the installation's locale character set.

Yes, this is a mess, but it's not clear to me how to break out of it 
without breaking *some* setups that currently "work".

> ...
> The one thing we need to determine is: how critical is the ability to
> support seamless down-level conversion from 2.0 to 1.1 within a request?
> Is it acceptable for us to say that while 2.0 can be used to transport
> 1.1 messages, the reverse is not possible.
> ...

So how do you transport a 1.1 message inside 2.0 if it contains 
non-ASCII? Treat the header field value as binary?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 08:06:19 2012
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 2940B21F86DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:06:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.193
X-Spam-Level: 
X-Spam-Status: No, score=-9.193 tagged_above=-999 required=5 tests=[AWL=1.405, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 C2L+PtqrznUk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:06:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 66B5521F85BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 08:06:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sr9M5-0002l4-KC for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 15:06:29 +0000
Resent-Date: Tue, 17 Jul 2012 15:06:29 +0000
Resent-Message-Id: <E1Sr9M5-0002l4-KC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr9Lw-0002jx-RR for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 15:06:20 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sr9Lp-0000kf-VZ for ietf-http-wg@w3.org; Tue, 17 Jul 2012 15:06:20 +0000
Received: by wgbdt14 with SMTP id dt14so456586wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 08:05:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=pe1OIVfaTVZ5g4Yq52nnc54gjYUW9dyvUfINGJjczLc=; b=wm/KiII4T53CI8OLzD85LUP54JWWow/xpZJ5XYSsH4wpyVOtzek3igSOPDf2SkpnLm vhfgvY9idOHj3mSbiqYoucNipwlhpqJGh6V9K2PAhBZxT+qAw1h8SebqPlJ/rsOHcxMM Zp3BAp4t0bbsMd5JfWEwPsOoc1QVvroWj2zBAj0vsGuoeTYPSag+HOpQ+t6DMZLDXNIt tNb+YfvADJRwgc+X4w8vtgo034JBmG9qPYL2BMhS3jGfyc2/mpteqlVtpBPnp09+vbrL UlfrEkUSlYmMKkB5EchnE5gdd4VUw1/DhQNmLhDmk+2NNlM/NXrZq7r74XVCjx97HgRO 5Dkg==
Received: by 10.180.84.104 with SMTP id x8mr4978574wiy.20.1342537547567; Tue, 17 Jul 2012 08:05:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 08:05:27 -0700 (PDT)
In-Reply-To: <50057DC5.7070704@gmx.de>
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de> <50053C45.6050602@treenet.co.nz> <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com> <50057DC5.7070704@gmx.de>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 08:05:27 -0700
Message-ID: <CABP7RbfSMfNJBOkqRzsqdCOJ9Yi=9ZvjEOyW7efz0OwZOzgSzw@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043bd7589ed1ad04c507e1c0
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sr9Lp-0000kf-VZ 157ccbc398d6454baca4d053d2b34fa2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbfSMfNJBOkqRzsqdCOJ9Yi=9ZvjEOyW7efz0OwZOzgSzw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14346
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>

--f46d043bd7589ed1ad04c507e1c0
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 7:59 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2012-07-17 16:48, James M Snell wrote:
>
>> Tunneling 1.1 traffic via 2.0 would likely be the easy part; it's the
>>
>
> Not even that. Given an HTTP/1.1 message containing non-ASCII octets in
> header field value, you simply don't know what unicode characters to map
> them to.
>
> This is not theoretical; some UAs process UTF-8 in Content-Disposition,
> some use the installation's locale character set.
>
> Yes, this is a mess, but it's not clear to me how to break out of it
> without breaking *some* setups that currently "work".
>
>
+1 ... there are quite a few issues that I would like to see HTTP/2.0
resolve that fall into the same issue. Some breakage will occur and I'm
good with that.


>  ...
>>
>> The one thing we need to determine is: how critical is the ability to
>> support seamless down-level conversion from 2.0 to 1.1 within a request?
>> Is it acceptable for us to say that while 2.0 can be used to transport
>> 1.1 messages, the reverse is not possible.
>> ...
>>
>
> So how do you transport a 1.1 message inside 2.0 if it contains non-ASCII?
> Treat the header field value as binary?
>
>
That's my initial thought but still noodling over it. I'm open to
suggestions but really want to keep the header encoding as compact as
possible.

- James


> Best regards, Julian
>

--f46d043bd7589ed1ad04c507e1c0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 7:59 AM, Julian Reschke <span dir=3D"ltr">&lt;<=
a href=3D"mailto:julian.reschke@gmx.de" target=3D"_blank">julian.reschke@gm=
x.de</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 2012-07-17 16:48, James=
 M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Tunneling 1.1 traffic via 2.0 would likely be the easy part; it&#39;s the<b=
r>
</blockquote>
<br></div>
Not even that. Given an HTTP/1.1 message containing non-ASCII octets in hea=
der field value, you simply don&#39;t know what unicode characters to map t=
hem to.<br>
<br>
This is not theoretical; some UAs process UTF-8 in Content-Disposition, som=
e use the installation&#39;s locale character set.<br>
<br>
Yes, this is a mess, but it&#39;s not clear to me how to break out of it wi=
thout breaking *some* setups that currently &quot;work&quot;.<br>
<br></blockquote><div><br></div><div>+1 ... there are quite a few issues th=
at I would like to see HTTP/2.0 resolve that fall into the same issue. Some=
 breakage will occur and I&#39;m good with that.</div><div>=C2=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
...<div class=3D"im"><br>
The one thing we need to determine is: how critical is the ability to<br>
support seamless down-level conversion from 2.0 to 1.1 within a request?<br=
>
Is it acceptable for us to say that while 2.0 can be used to transport<br>
1.1 messages, the reverse is not possible.<br></div>
...<br>
</blockquote>
<br>
So how do you transport a 1.1 message inside 2.0 if it contains non-ASCII? =
Treat the header field value as binary?<br>
<br></blockquote><div><br></div><div>That&#39;s my initial thought but stil=
l noodling over it. I&#39;m open to suggestions but really want to keep the=
 header encoding as compact as possible.</div><div><br></div><div>- James</=
div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
Best regards, Julian<br>
</blockquote></div><br>

--f46d043bd7589ed1ad04c507e1c0--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 08:48:03 2012
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 99F4B21F86F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:48:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, 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 EbvS2JVvtBjI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:48:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F373121F86D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 08:48:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrA09-0007jB-6w for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 15:47:53 +0000
Resent-Date: Tue, 17 Jul 2012 15:47:53 +0000
Resent-Message-Id: <E1SrA09-0007jB-6w@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrA00-0007gf-5Q for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 15:47:44 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sr9zy-0002hd-Vi for ietf-http-wg@w3.org; Tue, 17 Jul 2012 15:47:44 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 3A6EB3B599; Tue, 17 Jul 2012 15:47:21 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HFlGhQ075665; Tue, 17 Jul 2012 15:47:16 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 08:05:27 MST." <CABP7RbfSMfNJBOkqRzsqdCOJ9Yi=9ZvjEOyW7efz0OwZOzgSzw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 15:47:16 +0000
Message-ID: <75664.1342540036@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sr9zy-0002hd-Vi 5508d4a6344434e314316891dbfc13bc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/75664.1342540036@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14347
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>

In message <CABP7RbfSMfNJBOkqRzsqdCOJ9Yi=9ZvjEOyW7efz0OwZOzgSzw@mail.gmail.com>
, James M Snell writes:

>> So how do you transport a 1.1 message inside 2.0 if it contains non-ASCII?
>> Treat the header field value as binary?

I think we should try to avoid mixing 1.1 and 2.0 that way.

It will require amazing amounts of verbiage to specify, and the
requirement of 2.0->1.1 downgrade will serverely curtail any attempt
at improvement in User-Agent, Cookie and other hacks.

If we take an approach where you cannot send 1.1 messages once you
upgrade a connection to 2.0 and cannot send 2.0 messages over
a 1.1 connection, what are the consequences ?

For direct client-server connections ?  No trouble.

A 1.1+2.0 dualmode server with 1.1+2.0 dualmode proxies/gateways/routers
in front of it ?  No trouble.

A 1.1+2.0 dualmode client with a 1.1+2.0 dual mode proxy and an
unknown server ?  Problem: The client cannot know if it can send
2.0 the proxy, because if the server can only do 1.1, it's stuck.

Solution 1:  Require a WKS record for HTTP/2.0, then the client
will know.  Works.  Some Well Known Downsides.  Not pretty.

Solution 2:  Make first request always be 1.1, tag reponse to
indicate tha 2.0 end-to-end is availble.  Works, but backwards
relative to end-goal, and prevents 1.1 from being killed off.

Solution 3:  Have the proxy return 2.0 status-code that says non
2.0-end-to-end-path available, client reissues request as 1.1 (on
diffenent connection) to proxy.  Works, but cost of (local) RTT's
first time (client can cache "no-2.0" bit for Host: value.)

Solution 4:  Always send first request in "pidgin-2.0" which
is a subset for which a trivial conversion to 1.1 can be defined.

Solution 5:  Give 2.0 a special verb "Encapsulated 1.1 request",
use this to send 1.1 request to proxy as binary blob.  If 2.0-e2e
not available, response will be (similarly encapsulated) 1.1 reponse.
If 2.0-e2e is available, reponse will be 2.0 plain reponse, and
client can send plain 2.0 thereafter.

I think I prefer solution 5.  It's easy to specify and implement,
and leaves us full freedom to make 2.0 better than 1.1.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 08:58:55 2012
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 5729F21F8615 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:58:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 rn0p+ebhMTPx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 08:58:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B0E6E21F8446 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 08:58:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrAAk-0002hi-31 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 15:58:50 +0000
Resent-Date: Tue, 17 Jul 2012 15:58:50 +0000
Resent-Message-Id: <E1SrAAk-0002hi-31@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1SrAAb-0002gW-AY for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 15:58:41 +0000
Received: from bh2.myhostedexchange.com ([69.50.2.88]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1SrAAV-0002va-F2 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 15:58:41 +0000
Received: from ex10.myhostedexchange.com ([69.50.2.88]) by bh2.myhostedexchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 17 Jul 2012 08:58:13 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
Date: Tue, 17 Jul 2012 08:57:55 -0700
Message-ID: <F1962646D3B64642B7C9A06068EE1E6415F17159@ex10.hostedexchange.local>
In-Reply-To: <50057DC5.7070704@gmx.de>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: character encoding in header fields, was: SPDY Header Frames
Thread-Index: Ac1kLRFB3NYjrxkhTnKX0VvqJD2R1QABx84w
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de> <50053C45.6050602@treenet.co.nz> <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com> <50057DC5.7070704@gmx.de>
From: "Robert Brewer" <fumanchu@aminus.org>
To: "Julian Reschke" <julian.reschke@gmx.de>, "James M Snell" <jasnell@gmail.com>
Cc: "Amos Jeffries" <squid3@treenet.co.nz>, <ietf-http-wg@w3.org>
X-OriginalArrivalTime: 17 Jul 2012 15:58:13.0987 (UTC) FILETIME=[F8DC3330:01CD6434]
Received-SPF: none client-ip=69.50.2.88; envelope-from=fumanchu@aminus.org; helo=bh2.myhostedexchange.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SrAAV-0002va-F2 ff5db30273e783eb3553e7ec942e7fe5
X-Original-To: ietf-http-wg@w3.org
Subject: RE: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/F1962646D3B64642B7C9A06068EE1E6415F17159@ex10.hostedexchange.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14348
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>

SnVsaWFuIFJlc2Noa2Ugd3JvdGU6DQo+IE9uIDIwMTItMDctMTcgMTY6NDgsIEphbWVzIE0gU25l
bGwgd3JvdGU6DQo+ID4gVHVubmVsaW5nIDEuMSB0cmFmZmljIHZpYSAyLjAgd291bGQgbGlrZWx5
IGJlIHRoZSBlYXN5IHBhcnQ7IGl0J3MgdGhlDQo+IA0KPiBOb3QgZXZlbiB0aGF0LiBHaXZlbiBh
biBIVFRQLzEuMSBtZXNzYWdlIGNvbnRhaW5pbmcgbm9uLUFTQ0lJIG9jdGV0cyBpbg0KPiBoZWFk
ZXIgZmllbGQgdmFsdWUsIHlvdSBzaW1wbHkgZG9uJ3Qga25vdyB3aGF0IHVuaWNvZGUgY2hhcmFj
dGVycyB0bw0KPiBtYXANCj4gdGhlbSB0by4NCj4gDQo+IFRoaXMgaXMgbm90IHRoZW9yZXRpY2Fs
OyBzb21lIFVBcyBwcm9jZXNzIFVURi04IGluIENvbnRlbnQtRGlzcG9zaXRpb24sDQo+IHNvbWUg
dXNlIHRoZSBpbnN0YWxsYXRpb24ncyBsb2NhbGUgY2hhcmFjdGVyIHNldC4NCj4gDQo+IFllcywg
dGhpcyBpcyBhIG1lc3MsIGJ1dCBpdCdzIG5vdCBjbGVhciB0byBtZSBob3cgdG8gYnJlYWsgb3V0
IG9mIGl0DQo+IHdpdGhvdXQgYnJlYWtpbmcgKnNvbWUqIHNldHVwcyB0aGF0IGN1cnJlbnRseSAi
d29yayIuDQo+IA0KPiA+IC4uLg0KPiA+IFRoZSBvbmUgdGhpbmcgd2UgbmVlZCB0byBkZXRlcm1p
bmUgaXM6IGhvdyBjcml0aWNhbCBpcyB0aGUgYWJpbGl0eSB0bw0KPiA+IHN1cHBvcnQgc2VhbWxl
c3MgZG93bi1sZXZlbCBjb252ZXJzaW9uIGZyb20gMi4wIHRvIDEuMSB3aXRoaW4gYQ0KPiByZXF1
ZXN0Pw0KPiA+IElzIGl0IGFjY2VwdGFibGUgZm9yIHVzIHRvIHNheSB0aGF0IHdoaWxlIDIuMCBj
YW4gYmUgdXNlZCB0bw0KPiB0cmFuc3BvcnQNCj4gPiAxLjEgbWVzc2FnZXMsIHRoZSByZXZlcnNl
IGlzIG5vdCBwb3NzaWJsZS4NCj4gPiAuLi4NCj4gDQo+IFNvIGhvdyBkbyB5b3UgdHJhbnNwb3J0
IGEgMS4xIG1lc3NhZ2UgaW5zaWRlIDIuMCBpZiBpdCBjb250YWlucw0KPiBub24tQVNDSUk/IFRy
ZWF0IHRoZSBoZWFkZXIgZmllbGQgdmFsdWUgYXMgYmluYXJ5Pw0KDQpKdXN0IHRvIHNoYXJlIGEg
ZmllbGQgbm90ZTogVGhlIFB5dGhvbiB3ZWIgY29tbXVuaXR5IGRlYWx0IHdpdGggdGhpcyBleGFj
dCBwcm9ibGVtIHJlY2VudGx5IHdpdGggdGhlIGFkdmVudCBvZiBQeXRob24gMywgd2hpY2ggZWxl
dmF0ZWQgVW5pY29kZSBxdWl0ZSBhIGJpdCBhbmQgZXhwb3NlZCB0aGlzIHByb2JsZW0gbW9yZSBj
bGVhcmx5IHRvIG1hbnkuIFRoZSBjaG9zZW4gc29sdXRpb24gd2FzIHRvIHRha2UgdGhlIGJ5dGVz
LW9mLXVua25vd24tZW5jb2RpbmcgYW5kIGRlY29kZSB0aGVtIGFzIElTTy04ODU5LTEgKHdoaWNo
IGF0IGxlYXN0IHdvbid0IGVycm9yIG9uIGFueSBieXRlIHNlcXVlbmNlKSwgYW5kIGxlYXZlIHRo
YXQgbWVzcyBmb3IgYSBoaWdoZXIgbGF5ZXIgKHdoaWNoIHByZXN1bWFibHkgd291bGQgaGF2ZSBt
b3JlIGNvbnRleHQpIHRvIHJlLWVuY29kZS9kZWNvZGUgaWYgdGhleSBsaWtlZC4gTm90IGEgcGVy
ZmVjdCBzb2x1dGlvbiBidXQgYmV0dGVyIHRoYW4gbm90aGluZy4NCg0KDQpSb2JlcnQgQnJld2Vy
DQpmdW1hbmNodUBhbWludXMub3JnDQoNCg0K


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 09:19:08 2012
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 DC5BE21F8686 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.247
X-Spam-Level: 
X-Spam-Status: No, score=-9.247 tagged_above=-999 required=5 tests=[AWL=1.351, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 NQjfmhzA-MVR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:19:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0A48621F8638 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 09:19:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrAUN-00008g-7v for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 16:19:07 +0000
Resent-Date: Tue, 17 Jul 2012 16:19:07 +0000
Resent-Message-Id: <E1SrAUN-00008g-7v@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrAUD-0008Uz-RG for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 16:18:57 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrAU7-0003fc-3Q for ietf-http-wg@w3.org; Tue, 17 Jul 2012 16:18:57 +0000
Received: by wgbds1 with SMTP id ds1so3511141wgb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 09:18:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZdgaaptscagxatZMACgzBoGToy+1YNgD4hpvQYv3vd4=; b=ZC643sWixNjAp2J2AbawAvYOXvBoEnEozONddg4e4JD298JBIvTNitlHoxWOl4ST5X St3NuouDK5kTJejOaP9pQ9mhGVUPYzvHDftNkYmafHBxvtHcBJNTb9rN7cupYQ5G+PKU TwaXEWdpXAG+thA8ePemViP1evZOzct5pEqcQCb9/dJ8QRFyKh/FNIgGHkU7NqTdbxTX yaPgiG68K3Dcv67FwuHsCrswUFXqOVyo0FbM+fpInUGSQfO9hcMKM8K+QBM6UD7RQDVT NNZpQZ2RJ9icQqQptdFkWs3ObaDQDtPak3MGe9hoWD5znU0+9j6PXab1dfugz6E5zAK9 R8wQ==
Received: by 10.216.237.193 with SMTP id y43mr1848360weq.75.1342541904554; Tue, 17 Jul 2012 09:18:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 09:18:04 -0700 (PDT)
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E6415F17159@ex10.hostedexchange.local>
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de> <50053C45.6050602@treenet.co.nz> <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com> <50057DC5.7070704@gmx.de> <F1962646D3B64642B7C9A06068EE1E6415F17159@ex10.hostedexchange.local>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 09:18:04 -0700
Message-ID: <CABP7RbcdRj8HePkXcpevPbm-Y3tsnBzFJi0CFNcek=1GyiJfoA@mail.gmail.com>
To: Robert Brewer <fumanchu@aminus.org>
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0015175774fe512b6004c508e53f
Received-SPF: pass client-ip=74.125.82.41; envelope-from=jasnell@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrAU7-0003fc-3Q b93c374cc90a4813433715f86ed6234c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbcdRj8HePkXcpevPbm-Y3tsnBzFJi0CFNcek=1GyiJfoA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14349
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>

--0015175774fe512b6004c508e53f
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 8:57 AM, Robert Brewer <fumanchu@aminus.org> wrote:

> Julian Reschke wrote:
> >[snip]
> > So how do you transport a 1.1 message inside 2.0 if it contains
> > non-ASCII? Treat the header field value as binary?
>
> Just to share a field note: The Python web community dealt with this exact
> problem recently with the advent of Python 3, which elevated Unicode quite
> a bit and exposed this problem more clearly to many. The chosen solution
> was to take the bytes-of-unknown-encoding and decode them as ISO-8859-1
> (which at least won't error on any byte sequence), and leave that mess for
> a higher layer (which presumably would have more context) to
> re-encode/decode if they liked. Not a perfect solution but better than
> nothing.
>
>
>
I suspect that we'll simply have to take the same approach here. I think I
would lean more towards not doing any decoding at all. Simply treat the
header value as a bag of octets and let the application figure it out from
there.

The one mechanism we should key off of, of course, is the Version header.
If we specify version 1.1, then the assumption is that the rather undefined
semantics of 1.1 are at play with regards to header values. Binary header
values would be disallowed for anything other than the core headers (host,
version, method, etc) and it would largely be up to the application to
figure things out. If we specify version 2.0, then the assumption is that
binary header values are allowed and all character-based header values are
UTF-8. This, at least, allows us to be no worse off than we are currently
with 1.1 but still allow improvement in 2.0.

It would just need to be understood that a down-level conversion from 2.0
to 1.1 (e.g. a 2.0-enabled client making a request against a 1.1-enabled
server) would be a necessarily lossy conversion.

- James


> Robert Brewer
> fumanchu@aminus.org
>
>
>

--0015175774fe512b6004c508e53f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 8:57 AM, Robert Brewer <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:fumanchu@aminus.org" target=3D"_blank">fumanchu@aminus.org</a>&=
gt;</span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">

<div class=3D"HOEnZb"><div class=3D"h5">Julian Reschke wrote:<br>&gt;[snip]=
<br>
&gt; So how do you transport a 1.1 message inside 2.0 if it contains<br>
&gt; non-ASCII? Treat the header field value as binary?<br>
<br>
</div></div>Just to share a field note: The Python web community dealt with=
 this exact problem recently with the advent of Python 3, which elevated Un=
icode quite a bit and exposed this problem more clearly to many. The chosen=
 solution was to take the bytes-of-unknown-encoding and decode them as ISO-=
8859-1 (which at least won&#39;t error on any byte sequence), and leave tha=
t mess for a higher layer (which presumably would have more context) to re-=
encode/decode if they liked. Not a perfect solution but better than nothing=
.<br>


<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br></font></span></blockquote><div><br></div><div>I suspect that we&#39;ll=
 simply have to take the same approach here. I think I would lean more towa=
rds not doing any decoding at all. Simply treat the header value as a bag o=
f octets and let the application figure it out from there.=C2=A0</div>

<div><br></div><div>The one mechanism we should key off of, of course, is t=
he Version header. If we specify version 1.1, then the assumption is that t=
he rather undefined semantics of 1.1 are at play with regards to header val=
ues. Binary header values would be disallowed for anything other than the c=
ore headers (host, version, method, etc) and it would largely be up to the =
application to figure things out. If we specify version 2.0, then the assum=
ption is that binary header values are allowed and all character-based head=
er values are UTF-8. This, at least, allows us to be no worse off than we a=
re currently with 1.1 but still allow improvement in 2.0.=C2=A0</div>

<div><br></div><div>It would just need to be understood that a down-level c=
onversion from 2.0 to 1.1 (e.g. a 2.0-enabled client making a request again=
st a 1.1-enabled server) would be a necessarily lossy conversion.=C2=A0</di=
v>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><span class=3D"HOEnZb"><font color=3D"#888888">
Robert Brewer<br>
<a href=3D"mailto:fumanchu@aminus.org">fumanchu@aminus.org</a><br>
<br>
<br>
</font></span></blockquote></div><br>

--0015175774fe512b6004c508e53f--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 09:23:36 2012
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 ED36021F867F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:23:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 2cSVp3Yai0mA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:23:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38D4221F867C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 09:23:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrAYv-0003Fa-Kh for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 16:23:49 +0000
Resent-Date: Tue, 17 Jul 2012 16:23:49 +0000
Resent-Message-Id: <E1SrAYv-0003Fa-Kh@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrAYs-0003Eu-Bx for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 16:23:46 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrAYk-0003rs-Ga for ietf-http-wg@w3.org; Tue, 17 Jul 2012 16:23:46 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 21EA11068C; Tue, 17 Jul 2012 12:23:16 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 6A09E101A3; Tue, 17 Jul 2012 12:23:07 -0400 (EDT)
Message-ID: <1342542182.30417.9.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: James M Snell <jasnell@gmail.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Roberto Peon <grmocg@gmail.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Tue, 17 Jul 2012 12:23:02 -0400
In-Reply-To: <CABP7Rbc9QqfmVCGvmMCYDNHC5WSoC+A9HRqSLfJq1ayNdnd3qA@mail.gmail.com>
References: <20120714052933.GL16256@1wt.eu> <48515.1342248130@critter.freebsd.dk> <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com> <CAMm+LwgmNAoy_6xZjsCL+mtAjfUtWRdjwKCMN_s0i4xD+nUdUg@mail.gmail.com> <CABP7Rbc9QqfmVCGvmMCYDNHC5WSoC+A9HRqSLfJq1ayNdnd3qA@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SrAYk-0003rs-Ga 5a2661e30fcb83a04006f6ea811b8110
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/1342542182.30417.9.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14350
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>

when comparing against deflate you need to consider all the transactions
after the first one too. They compress much more effectively than the
first. (generally > 90% ratios). In a stream of ~80 requests, the first
one is only part of the story[*].

-P

[*] I didn't say it was an unimportant part :)

On Tue, 2012-07-17 at 07:36 -0700, James M Snell wrote:
> 
> 
> On Tue, Jul 17, 2012 at 6:48 AM, Phillip Hallam-Baker
> <hallam@gmail.com> wrote:
>         [snip]
>         There are design issues in SPDY that I find a little
>         troubling. I much
>         prefer using a compact encoding for headers over compression.
>         A
>         compact encoding is easier to implement and much easier to
>         debug. It
>         is also more robust as single bit errors are less likely to
>         lead to
>         catastrophe.
> 
> I definitely have to agree with preferring the compact encoding over
> compression. At the moment, I'm just not seeing the benefit of
> applying the compression.
> 
> 
> FWIW, I made a few additional tweaks to my test.. namely, reducing the
> header value size to max(int16), and eliminating the charset header
> with the assumption everything would be UTF-8 and the header block
> becomes a simple 116 bytes in length. The compressed size (done
> properly this time, albeit using the existing SPDY dictionary that
> obviously would need to be tweaked to account for the new structure)
> comes out to only 114 bytes... 
> 
> 
> Just for fun, I added in my chrome browser's user-agent string,
> swelling the encoded size to 237 bytes... compressed at 220. Again,
> Not enough of a savings to justify the additional cost.... and yeah,
> let's definitely see what we can do about fixing the whole user-agent
> crap-fest.
> 
> 
> - James




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 09:39:17 2012
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 5255C21F860B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.662
X-Spam-Level: 
X-Spam-Status: No, score=-8.662 tagged_above=-999 required=5 tests=[AWL=1.937, BAYES_00=-2.599, 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 iod-BIbaA9CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:39:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C02F221F8505 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 09:39:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrAnr-0004sY-Ra for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 16:39:15 +0000
Resent-Date: Tue, 17 Jul 2012 16:39:15 +0000
Resent-Message-Id: <E1SrAnr-0004sY-Ra@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrAnh-0004pI-6u for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 16:39:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrAnc-0004Z0-Kc for ietf-http-wg@w3.org; Tue, 17 Jul 2012 16:39:05 +0000
Received: (qmail invoked by alias); 17 Jul 2012 16:38:26 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp019) with SMTP; 17 Jul 2012 18:38:26 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19dNjR1SfpdFlrxfdXP//K6J9RfWwNtrcd6Y1EE+A mHCwS0Lwiz0hJq
Message-ID: <500594ED.4050705@gmx.de>
Date: Tue, 17 Jul 2012 18:38:05 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Robert Brewer <fumanchu@aminus.org>
CC: James M Snell <jasnell@gmail.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <62550.1342511989@critter.freebsd.dk> <50051D6D.1010209@gmx.de> <50053C45.6050602@treenet.co.nz> <CABP7Rbdv706-jUunX4k+m87Zznc6TPMFo+m040g4ExTmTrpwMw@mail.gmail.com> <50057DC5.7070704@gmx.de> <F1962646D3B64642B7C9A06068EE1E6415F17159@ex10.hostedexchange.local>
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E6415F17159@ex10.hostedexchange.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrAnc-0004Z0-Kc 6b10e1f75433ae576bf7ad47608e3406
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/500594ED.4050705@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14351
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 2012-07-17 17:57, Robert Brewer wrote:
> Julian Reschke wrote:
>> On 2012-07-17 16:48, James M Snell wrote:
>>> Tunneling 1.1 traffic via 2.0 would likely be the easy part; it's the
>>
>> Not even that. Given an HTTP/1.1 message containing non-ASCII octets in
>> header field value, you simply don't know what unicode characters to
>> map
>> them to.
>>
>> This is not theoretical; some UAs process UTF-8 in Content-Disposition,
>> some use the installation's locale character set.
>>
>> Yes, this is a mess, but it's not clear to me how to break out of it
>> without breaking *some* setups that currently "work".
>>
>>> ...
>>> The one thing we need to determine is: how critical is the ability to
>>> support seamless down-level conversion from 2.0 to 1.1 within a
>> request?
>>> Is it acceptable for us to say that while 2.0 can be used to
>> transport
>>> 1.1 messages, the reverse is not possible.
>>> ...
>>
>> So how do you transport a 1.1 message inside 2.0 if it contains
>> non-ASCII? Treat the header field value as binary?
>
> Just to share a field note: The Python web community dealt with this exact problem recently with the advent of Python 3, which elevated Unicode quite a bit and exposed this problem more clearly to many. The chosen solution was to take the bytes-of-unknown-encoding and decode them as ISO-8859-1 (which at least won't error on any byte sequence), and leave that mess for a higher layer (which presumably would have more context) to re-encode/decode if they liked. Not a perfect solution but better than nothing.

That's also what APIs like XMLHTTPRequest and the servlet API are doing.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 09:57:18 2012
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 B205E21F86A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:57:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.574
X-Spam-Level: 
X-Spam-Status: No, score=-9.574 tagged_above=-999 required=5 tests=[AWL=1.025, BAYES_00=-2.599, 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 A-AakeZNap21 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 09:57:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1532221F8621 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 09:57:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrB55-0007AN-UW for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 16:57:03 +0000
Resent-Date: Tue, 17 Jul 2012 16:57:03 +0000
Resent-Message-Id: <E1SrB55-0007AN-UW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SrB4r-000790-B9 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 16:56:49 +0000
Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14] helo=tx2outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SrB4q-0005ZL-1f for ietf-http-wg@w3.org; Tue, 17 Jul 2012 16:56:49 +0000
Received: from mail183-tx2-R.bigfish.com (10.9.14.246) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.23; Tue, 17 Jul 2012 16:56:21 +0000
Received: from mail183-tx2 (localhost [127.0.0.1])	by mail183-tx2-R.bigfish.com (Postfix) with ESMTP id 3BD6338014F;	Tue, 17 Jul 2012 16:56:21 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: 0
X-BigFish: VS0(zzzz1202hzzz2fh2a8h668h839h944hd25hf0ah107ah)
Received-SPF: pass (mail183-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Gabriel.Montenegro@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail183-tx2 (localhost.localdomain [127.0.0.1]) by mail183-tx2 (MessageSwitch) id 1342544178677488_28418; Tue, 17 Jul 2012 16:56:18 +0000 (UTC)
Received: from TX2EHSMHS017.bigfish.com (unknown [10.9.14.243])	by mail183-tx2.bigfish.com (Postfix) with ESMTP id A1962E016F;	Tue, 17 Jul 2012 16:56:18 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS017.bigfish.com (10.9.99.117) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 17 Jul 2012 16:56:18 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC104.redmond.corp.microsoft.com (157.54.80.25) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 17 Jul 2012 16:56:17 +0000
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 17 Jul 2012 09:56:17 -0700
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi id 14.02.0309.003; Tue, 17 Jul 2012 09:56:17 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>
CC: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Re[2]: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZAgBHmu36Wdu+kGiw7d1EpUVf5ctr+Hw
Date: Tue, 17 Jul 2012 16:56:16 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAE9D@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: Your message of "Tue, 17 Jul 2012 10:31:57 GMT." <em264a739a-df76-4365-be1c-3dd9649ec57a@reboist> <74601.1342521381@critter.freebsd.dk>
In-Reply-To: <74601.1342521381@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=65.55.88.14; envelope-from=Gabriel.Montenegro@microsoft.com; helo=tx2outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrB4q-0005ZL-1f 374037e80c44e04280a403b773de32c5
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C11480AAE9D@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14352
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>

> From: Poul-Henning Kamp [mailto:phk@phk.freebsd.dk]
> But I think it is imperative that nothing gets sent unless asked for firs=
t,
> explicitl, by the client.


Similar thoughts led us to a client-pull proposal which should also be cons=
idered in this space.




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 10:00:25 2012
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 2DF9B21F86B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:00:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.297
X-Spam-Level: 
X-Spam-Status: No, score=-9.297 tagged_above=-999 required=5 tests=[AWL=1.301, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 suBSyRHgzff0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:00:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 412AA21F86AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 10:00:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrB8R-00048s-Hi for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 17:00:31 +0000
Resent-Date: Tue, 17 Jul 2012 17:00:31 +0000
Resent-Message-Id: <E1SrB8R-00048s-Hi@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrB8H-000353-PI for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 17:00:21 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrB8B-0005iF-DF for ietf-http-wg@w3.org; Tue, 17 Jul 2012 17:00:21 +0000
Received: by weyx43 with SMTP id x43so446954wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 09:59:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sQ5Gn1CjwNV1Kg8ibUm2BNaDqdKWR3f9cVefcOgFxHg=; b=Ir4z0Vsxec5XuXLF4/Lvv5V7z0RgcY4uo6MPY/JNZ0xRXLW1yegSN2NAm9oVV9w+bU CKz7YgavDvJkf29X4URypFuuvfhYd/TcGob/BPh9M+QFM9NACa9e3gUkwwKNKQaPblou Iy3n/rABDRVzy1xnZmdvt6URYfflB1iLV85zsqnsfVuM4jWQkWS5jYeGJQsSN5/G7ys9 ebqhd1HCKM8M7YSKyEeUi+JcOmELwF3bppNI/CqWzSqmQx+EbcSh9SMiVqeGa66qB+tD i0M6PGOK+u1DEjl/YRs8ZtzH463bo3XpBg3akB8D/M3t3Qmw3ZBaOnNg89Vi5GX1wl+A EpaA==
Received: by 10.180.100.136 with SMTP id ey8mr5756005wib.15.1342544388829; Tue, 17 Jul 2012 09:59:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 09:59:27 -0700 (PDT)
In-Reply-To: <1342542182.30417.9.camel@ds9>
References: <20120714052933.GL16256@1wt.eu> <48515.1342248130@critter.freebsd.dk> <CAP+FsNdDNNQBk1Bx1goW50Yqer1uuqhqhOpxT0pEXhDvEgD00Q@mail.gmail.com> <CAMm+LwgmNAoy_6xZjsCL+mtAjfUtWRdjwKCMN_s0i4xD+nUdUg@mail.gmail.com> <CABP7Rbc9QqfmVCGvmMCYDNHC5WSoC+A9HRqSLfJq1ayNdnd3qA@mail.gmail.com> <1342542182.30417.9.camel@ds9>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 09:59:27 -0700
Message-ID: <CABP7Rbc=Mr-wj1C3FVWpi-FnEVXnOQcm8QVXK+Ycs9kbStPxHQ@mail.gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Roberto Peon <grmocg@gmail.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0444ec9964321904c5097902
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrB8B-0005iF-DF d94572b53efac486c183be9970462e39
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7Rbc=Mr-wj1C3FVWpi-FnEVXnOQcm8QVXK+Ycs9kbStPxHQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14353
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>

--f46d0444ec9964321904c5097902
Content-Type: text/plain; charset=UTF-8

Noted and certainly understood. I'm still not convinced... assuming we can
come up with optimized binary encodings for the overwhelming majority of
the most common headers, eliminate redundant headers across requests, and
deal properly with the Crap that is Cookies and User-Agent headers, the
header block can be made to be very compact without applying any
compression.

If anything, I think I'm leaning more towards limiting the headers included
in the SYN_STREAM and SYN_REPLY frames to only a core set of uncompressed,
optimized headers but allowing HEADERS frames to optionally apply
compression. Doing so provides a reasonable balance between the two
approaches while reducing the amount of work routing intermediaries have to
do.

- james

On Tue, Jul 17, 2012 at 9:23 AM, Patrick McManus <pmcmanus@mozilla.com>wrote:

> when comparing against deflate you need to consider all the transactions
> after the first one too. They compress much more effectively than the
> first. (generally > 90% ratios). In a stream of ~80 requests, the first
> one is only part of the story[*].
>
> -P
>
> [*] I didn't say it was an unimportant part :)
>
> On Tue, 2012-07-17 at 07:36 -0700, James M Snell wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 6:48 AM, Phillip Hallam-Baker
> > <hallam@gmail.com> wrote:
> >         [snip]
> >         There are design issues in SPDY that I find a little
> >         troubling. I much
> >         prefer using a compact encoding for headers over compression.
> >         A
> >         compact encoding is easier to implement and much easier to
> >         debug. It
> >         is also more robust as single bit errors are less likely to
> >         lead to
> >         catastrophe.
> >
> > I definitely have to agree with preferring the compact encoding over
> > compression. At the moment, I'm just not seeing the benefit of
> > applying the compression.
> >
> >
> > FWIW, I made a few additional tweaks to my test.. namely, reducing the
> > header value size to max(int16), and eliminating the charset header
> > with the assumption everything would be UTF-8 and the header block
> > becomes a simple 116 bytes in length. The compressed size (done
> > properly this time, albeit using the existing SPDY dictionary that
> > obviously would need to be tweaked to account for the new structure)
> > comes out to only 114 bytes...
> >
> >
> > Just for fun, I added in my chrome browser's user-agent string,
> > swelling the encoded size to 237 bytes... compressed at 220. Again,
> > Not enough of a savings to justify the additional cost.... and yeah,
> > let's definitely see what we can do about fixing the whole user-agent
> > crap-fest.
> >
> >
> > - James
>
>
>

--f46d0444ec9964321904c5097902
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Noted and certainly understood. I&#39;=
m still not convinced... assuming we can come up with optimized binary enco=
dings for the overwhelming majority of the most common headers, eliminate r=
edundant headers across requests, and deal properly with the Crap that is C=
ookies and User-Agent headers, the header block can be made to be very comp=
act without applying any compression.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">If anything, I think I&#39;m leaning more towards limi=
ting the headers included in the SYN_STREAM and SYN_REPLY frames to only a =
core set of uncompressed, optimized headers but allowing HEADERS frames to =
optionally apply compression. Doing so provides a reasonable balance betwee=
n the two approaches while reducing the amount of work routing intermediari=
es have to do.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">- james<br></font><br><div class=3D"gmail_quote"=
>On Tue, Jul 17, 2012 at 9:23 AM, Patrick McManus <span dir=3D"ltr">&lt;<a =
href=3D"mailto:pmcmanus@mozilla.com" target=3D"_blank">pmcmanus@mozilla.com=
</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">when comparing against deflate you need to c=
onsider all the transactions<br>
after the first one too. They compress much more effectively than the<br>
first. (generally &gt; 90% ratios). In a stream of ~80 requests, the first<=
br>
one is only part of the story[*].<br>
<br>
-P<br>
<br>
[*] I didn&#39;t say it was an unimportant part :)<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On Tue, 2012-07-17 at 07:36 -0700, James M Snell wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 6:48 AM, Phillip Hallam-Baker<br>
&gt; &lt;<a href=3D"mailto:hallam@gmail.com">hallam@gmail.com</a>&gt; wrote=
:<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 [snip]<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 There are design issues in SPDY that I fin=
d a little<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 troubling. I much<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 prefer using a compact encoding for header=
s over compression.<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 A<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 compact encoding is easier to implement an=
d much easier to<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 debug. It<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 is also more robust as single bit errors a=
re less likely to<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 lead to<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 catastrophe.<br>
&gt;<br>
&gt; I definitely have to agree with preferring the compact encoding over<b=
r>
&gt; compression. At the moment, I&#39;m just not seeing the benefit of<br>
&gt; applying the compression.<br>
&gt;<br>
&gt;<br>
&gt; FWIW, I made a few additional tweaks to my test.. namely, reducing the=
<br>
&gt; header value size to max(int16), and eliminating the charset header<br=
>
&gt; with the assumption everything would be UTF-8 and the header block<br>
&gt; becomes a simple 116 bytes in length. The compressed size (done<br>
&gt; properly this time, albeit using the existing SPDY dictionary that<br>
&gt; obviously would need to be tweaked to account for the new structure)<b=
r>
&gt; comes out to only 114 bytes...<br>
&gt;<br>
&gt;<br>
&gt; Just for fun, I added in my chrome browser&#39;s user-agent string,<br=
>
&gt; swelling the encoded size to 237 bytes... compressed at 220. Again,<br=
>
&gt; Not enough of a savings to justify the additional cost.... and yeah,<b=
r>
&gt; let&#39;s definitely see what we can do about fixing the whole user-ag=
ent<br>
&gt; crap-fest.<br>
&gt;<br>
&gt;<br>
&gt; - James<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--f46d0444ec9964321904c5097902--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 10:03:04 2012
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 4CABB21F86B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:03:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.758
X-Spam-Level: 
X-Spam-Status: No, score=-9.758 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, 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 N3V0UOP6Jk6H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:03:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9F30121F86A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 10:03:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrBB6-0004Y7-NB for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 17:03:16 +0000
Resent-Date: Tue, 17 Jul 2012 17:03:16 +0000
Resent-Message-Id: <E1SrBB6-0004Y7-NB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SrBAx-0004XF-JX for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 17:03:07 +0000
Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13] helo=tx2outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SrBAw-0005RU-Ax for ietf-http-wg@w3.org; Tue, 17 Jul 2012 17:03:07 +0000
Received: from mail142-tx2-R.bigfish.com (10.9.14.241) by TX2EHSOBE006.bigfish.com (10.9.40.26) with Microsoft SMTP Server id 14.1.225.23; Tue, 17 Jul 2012 17:02:40 +0000
Received: from mail142-tx2 (localhost [127.0.0.1])	by mail142-tx2-R.bigfish.com (Postfix) with ESMTP id EA61A40187;	Tue, 17 Jul 2012 17:02:39 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: 0
X-BigFish: VS0(zzzz1202hzz8275dhz2fh2a8h668h839h93fhd25hf0ah107ah)
Received-SPF: pass (mail142-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Gabriel.Montenegro@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail142-tx2 (localhost.localdomain [127.0.0.1]) by mail142-tx2 (MessageSwitch) id 1342544557861379_3812; Tue, 17 Jul 2012 17:02:37 +0000 (UTC)
Received: from TX2EHSMHS021.bigfish.com (unknown [10.9.14.247])	by mail142-tx2.bigfish.com (Postfix) with ESMTP id CD65230004B;	Tue, 17 Jul 2012 17:02:37 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS021.bigfish.com (10.9.99.121) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 17 Jul 2012 17:02:37 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14MLTC103.redmond.corp.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Tue, 17 Jul 2012 17:02:25 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Tue, 17 Jul 2012 10:02:25 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Re[4]: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZAjg1ytOn805mUadyLmAHqzkD5ctspdg
Date: Tue, 17 Jul 2012 17:02:24 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist>
In-Reply-To: <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=65.55.88.13; envelope-from=Gabriel.Montenegro@microsoft.com; helo=tx2outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrBAw-0005RU-Ax af43a17214de157929c4d4fb842b8ac3
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Re[4]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14354
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>

PiBGcm9tOiBBZHJpZW4gZGUgQ3JveSBbbWFpbHRvOmFkcmllbkBxYmlrLmNvbV0NCi4uLg0KPiBJ
IGFncmVlLCBhbmQgYWN0dWFsbHkgSSdkIGJlIGtlZW4gdG8gYXBwbHkgdGhpcyBwaGlsb3NwaHkg
aW4gYm90aCBkaXJlY3Rpb25zLA0KPiB3aGVyZSBubyBzaWduaWZpY2FudCByZXNvdXJjZSBpcyB0
cmFuc21pdHRlZCBpbiBlaXRoZXIgZGlyZWN0aW9uIHdpdGhvdXQgdGhlDQo+IHJlY2lwaWVudCBp
bmRpY2F0aW5nIHByaW9yIHdpbGxpbmduZXNzIChlaXRoZXIgYnkgcmVxdWVzdGluZyBpdCwgb3Ig
aW5kaWNhdGluZw0KPiB3aWxsaW5nbmVzcykuICBXaGF0IEknbSBnZXR0aW5nIGF0IGhlcmUgaXMg
bGFyZ2UgUE9TVCAvIFBVVCByZXF1ZXN0cy4gIEN1cnJlbnRseQ0KPiBpdCdzIGEgbWVzcyBlc3Ag
d2l0aCBhdXRoIGluIHRoZSBtaXguDQoNCkFsb25nIHRoZXNlIGxpbmVzLCB0byBoZWxwIHdpdGgg
YSAgUE9TVC9QVVQgd2l0aCBhdXRoIGluIHRoZSBtaXggd2UgbWVudGlvbmVkIGFuIGlkZWEgaW4g
b3VyIGF1dGhlbnRpY2F0aW9uIEVvSSBvZiBhIGxpZ2h0d2VpZ2h0IHByb2JlOg0KDQpodHRwOi8v
bGlzdHMudzMub3JnL0FyY2hpdmVzL1B1YmxpYy9pZXRmLWh0dHAtd2cvMjAxMkp1bFNlcC8wMjM5
Lmh0bWw6DQoNCjEuICAgICAgIExpZ2h0d2VpZ2h0ICJwcm9iZSIgZm9yIFBPU1RzIGFuZCBQVVRz
LiAgSW5pdGlhbCBQVVRzIGFuZCBQT1NUcyB3aXRoIGxvbmcgZW50aXR5IGJvZGllcyB3aWxsIGNh
dXNlIHByb2JsZW1zIGJlY2F1c2Ugb2YgdGhlIGV4dHJhIHJvdW5kIHRyaXAgcmVxdWlyZWQgYnkg
YXV0aGVudGljYXRpb24uICgiSW5pdGlhbCIgbWVhbnMgd2hlbiBmaXJzdCByZXF1ZXN0IG9uIGEg
Y29ubmVjdGlvbiBpcyBQVVQgb3IgUE9TVCkuIElmIHRoZSBib2R5IGlzIGluZGVmaW5pdGUgbGVu
Z3RoLCBpdCBtYXkgbm90IGJlIGFibGUgdG8gYmUgcmVjcmVhdGVkLiBUaGlzIGlzIGEgcHJvYmxl
bSB3aXRoIGFueSBtdWx0aS1sZWdnZWQgYXV0aGVudGljYXRpb24gc2NoZW1lIGluIEhUVFAuIEl0
IGNvdWxkIGJlIGF2b2lkZWQgaWYgdGhlcmUgd2VyZSBhIGd1YXJhbnRlZWQgYmVuaWduIHJlcXVl
c3QgdHlwZSB0aGF0IGNvdWxkIGJlIHVzZWQgdG8gZm9yY2UgYXV0aGVudGljYXRpb24gaWYgbmVl
ZGVkIGJlZm9yZSBkb2luZyB0aGUgUFVUIG9yIFBPU1QuDQo=



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 10:18:49 2012
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 A6BB611E8080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:18:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.625
X-Spam-Level: 
X-Spam-Status: No, score=-8.625 tagged_above=-999 required=5 tests=[AWL=1.974, BAYES_00=-2.599, 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 nLZSWJN8-JEP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:18:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 291B411E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 10:18:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrBQE-0004me-A5 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 17:18:54 +0000
Resent-Date: Tue, 17 Jul 2012 17:18:54 +0000
Resent-Message-Id: <E1SrBQE-0004me-A5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrBQ5-0004lr-Ce for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 17:18:45 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrBQ4-0005y7-5F for ietf-http-wg@w3.org; Tue, 17 Jul 2012 17:18:45 +0000
Received: (qmail invoked by alias); 17 Jul 2012 17:18:17 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp034) with SMTP; 17 Jul 2012 19:18:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+79JYnzHi7LNYjYfwSEE4X/oM+1WkIVsljTpoNQr 5XFltP1rPWsqaa
Message-ID: <50059E45.9090604@gmx.de>
Date: Tue, 17 Jul 2012 19:17:57 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
CC: Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrBQ4-0005y7-5F b786be40140af6b077d17a1132ddd9da
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/50059E45.9090604@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14355
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 2012-07-17 19:02, Gabriel Montenegro wrote:
>> From: Adrien de Croy [mailto:adrien@qbik.com]
> ...
>> I agree, and actually I'd be keen to apply this philosphy in both directions,
>> where no significant resource is transmitted in either direction without the
>> recipient indicating prior willingness (either by requesting it, or indicating
>> willingness).  What I'm getting at here is large POST / PUT requests.  Currently
>> it's a mess esp with auth in the mix.
>
> Along these lines, to help with a  POST/PUT with auth in the mix we mentioned an idea in our authentication EoI of a lightweight probe:
>
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239.html:
>
> 1.       Lightweight "probe" for POSTs and PUTs.  Initial PUTs and POSTs with long entity bodies will cause problems because of the extra round trip required by authentication. ("Initial" means when first request on a connection is PUT or POST). If the body is indefinite length, it may not be able to be recreated. This is a problem with any multi-legged authentication scheme in HTTP. It could be avoided if there were a guaranteed benign request type that could be used to force authentication if needed before doing the PUT or POST.

We have

   Expect: 100-continue

for that, no?

Best regards, Julian






From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 10:57:16 2012
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 8156321F86B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.967
X-Spam-Level: 
X-Spam-Status: No, score=-9.967 tagged_above=-999 required=5 tests=[AWL=0.631, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 DyPR4hCaNioA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 10:57:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72AE621F86B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 10:57:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrC13-0006NA-3f for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 17:56:57 +0000
Resent-Date: Tue, 17 Jul 2012 17:56:57 +0000
Resent-Message-Id: <E1SrC13-0006NA-3f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrC0t-0006MP-Fg for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 17:56:47 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrC0r-0007Uf-V3 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 17:56:47 +0000
Received: by wibhq4 with SMTP id hq4so556451wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 10:56:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wK6svbOGseRmUNRSNopjL9tVgUn7Yvu9sahqAa3WNFA=; b=lXoZWLLqyyGvXuo3v9Mxo2rR1i9QhhrWBCL/EG2Kqs9Je893jRjxMoSyX4d9YKBN+d NmAaRJQWr096eUw48jgCRDHYrUViRbmvxmRfakyr8oyHggCE69gN3iG8iBVEGWBNaaK6 rMx8zAFEs5wLHigsLoyJEFGVo1xFbuWF40fhzp07792mHgupzjW+AR99y4ESsK1qde6P A6G6YBr3IWlNQgzqzUua9edz8Mf3M+KOcGgqjNy63ept3gJS/JqpTsteQUjbFsdKCOgE IOxBU7tlNGZFuISulMQPybuns3HF7ilthMMonTRmqLKyXCT1nfiXot6MQSULCG+Rt92x 4I8g==
Received: by 10.216.237.193 with SMTP id y43mr2012591weq.75.1342547779406; Tue, 17 Jul 2012 10:56:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 10:55:59 -0700 (PDT)
In-Reply-To: <50059E45.9090604@gmx.de>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 10:55:59 -0700
Message-ID: <CABP7RbcxEYuq+4nSKP2NNpFojosOZmfbX2Uw_azYZoFuWGY7RQ@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0015175774fe7c4c1104c50a43e2
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrC0r-0007Uf-V3 3bb83fe58e154d2a8e943c875fc80d3e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABP7RbcxEYuq+4nSKP2NNpFojosOZmfbX2Uw_azYZoFuWGY7RQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14356
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>

--0015175774fe7c4c1104c50a43e2
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 10:17 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2012-07-17 19:02, Gabriel Montenegro wrote:
>
>> From: Adrien de Croy [mailto:adrien@qbik.com]
>>>
>> ...
>>
>>> I agree, and actually I'd be keen to apply this philosphy in both
>>> directions,
>>> where no significant resource is transmitted in either direction without
>>> the
>>> recipient indicating prior willingness (either by requesting it, or
>>> indicating
>>> willingness).  What I'm getting at here is large POST / PUT requests.
>>>  Currently
>>> it's a mess esp with auth in the mix.
>>>
>>
>> Along these lines, to help with a  POST/PUT with auth in the mix we
>> mentioned an idea in our authentication EoI of a lightweight probe:
>>
>> http://lists.w3.org/Archives/**Public/ietf-http-wg/**2012JulSep/0239.html<http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239.html>
>> :
>>
>> 1.       Lightweight "probe" for POSTs and PUTs.  Initial PUTs and POSTs
>> with long entity bodies will cause problems because of the extra round trip
>> required by authentication. ("Initial" means when first request on a
>> connection is PUT or POST). If the body is indefinite length, it may not be
>> able to be recreated. This is a problem with any multi-legged
>> authentication scheme in HTTP. It could be avoided if there were a
>> guaranteed benign request type that could be used to force authentication
>> if needed before doing the PUT or POST.
>>
>
> We have
>
>   Expect: 100-continue
>
> for that, no?
>
>
Heh... I suggested that yesterday and was told that I was being silly.

I've been kicking around the idea of a new PUSH* method whose semantics,
quite literally, are: Here's a bag of bits I want to send you. (*My
instinct is that POST could work just as well). The PUSH would consist
initially of a HEADERS frame containing a basic manifest of the content the
sender wishes to send... Once the manifest is sent, the send sends each bit
of content preceded by a HEADERS frame that provides the detail of the
content... essentially a form of multipart entity that uses HEADERS and
DATA frames for delineation. The HEADERS frame for each piece of content
would provide information such as ETag, Last-Modified, Content-Location,
Content-Type and Cache-control for each individual piece of content
delivered. If the recipient determines that it either already has a
particular piece of content or doesn't want it for whatever reason, the
recipient has the option of canceling out of the stream at any time.

Example.. sender wants to push two items... recipient oks the transfer ...
note that the sender doesn't have to wait for the SYN_REPLY to begin
sending the data...

=> SYN_STREAM (:method=PUSH)
=> HEADERS (
     Content:[
       (Content-Location: ..., ETag: ...),
       (Content-Location: ....,ETag: ...)
   )

<= SYN_REPLY (:status: OK)

=> HEADERS (
     Content-Location: ...,
     Content-Type: ...,
     ETag: ....,
     Last-Modified: ....)

=> DATA
=> DATA
=> DATA

=> HEADERS (
     Content-Location: ...,
     Content-Type: ...,
     ETag: ....,
     Last-Modified: ....)

=> DATA
=> DATA
=> DATA (fin)

<= DATA (fin)

This approach work in both directions... e.g. server-push and client-push
(uploading files). It also provides the recipient with enough additional
information to handle caching, and gives the recipient the opportunity to
tell the sender no. To be useful, the manifest would need to have enough
useful information to allow the recipient to determine if it needs the
content or not (e.g. is the same version already cached?).

Yes, this adds significant complexity to the problem so I'm not sure if
this strategy would work or not but I'm experimenting with it at least.

Server push is good, but the client needs to be allowed to opt out at any
time.

- James


Best regards, Julian
>
>
>
>
>
>

--0015175774fe7c4c1104c50a43e2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 10:17 AM, Julian Reschke <span dir=3D"ltr">&lt;=
<a href=3D"mailto:julian.reschke@gmx.de" target=3D"_blank">julian.reschke@g=
mx.de</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On 2=
012-07-17 19:02, Gabriel Montenegro wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Adrien de Croy [mailto:<a href=3D"mailto:adrien@qbik.com" target=3D"_=
blank">adrien@qbik.com</a>]<br>
</blockquote>
...<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I agree, and actually I&#39;d be keen to apply this philosphy in both direc=
tions,<br>
where no significant resource is transmitted in either direction without th=
e<br>
recipient indicating prior willingness (either by requesting it, or indicat=
ing<br>
willingness). =C2=A0What I&#39;m getting at here is large POST / PUT reques=
ts. =C2=A0Currently<br>
it&#39;s a mess esp with auth in the mix.<br>
</blockquote>
<br>
Along these lines, to help with a =C2=A0POST/PUT with auth in the mix we me=
ntioned an idea in our authentication EoI of a lightweight probe:<br>
<br>
<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239=
.html" target=3D"_blank">http://lists.w3.org/Archives/<u></u>Public/ietf-ht=
tp-wg/<u></u>2012JulSep/0239.html</a>:<br>
<br>
1. =C2=A0 =C2=A0 =C2=A0 Lightweight &quot;probe&quot; for POSTs and PUTs. =
=C2=A0Initial PUTs and POSTs with long entity bodies will cause problems be=
cause of the extra round trip required by authentication. (&quot;Initial&qu=
ot; means when first request on a connection is PUT or POST). If the body i=
s indefinite length, it may not be able to be recreated. This is a problem =
with any multi-legged authentication scheme in HTTP. It could be avoided if=
 there were a guaranteed benign request type that could be used to force au=
thentication if needed before doing the PUT or POST.<br>


</blockquote>
<br></div></div>
We have<br>
<br>
=C2=A0 Expect: 100-continue<br>
<br>
for that, no?<br>
<br></blockquote><div><br></div><div>Heh... I suggested that yesterday and =
was told that I was being silly.=C2=A0</div><div><br></div><div>I&#39;ve be=
en kicking around the idea of a new PUSH* method whose semantics, quite lit=
erally, are: Here&#39;s a bag of bits I want to send you. (*My instinct is =
that POST could work just as well). The PUSH would consist initially of a H=
EADERS frame containing a basic manifest of the content the sender wishes t=
o send... Once the manifest is sent, the send sends each bit of content pre=
ceded by a HEADERS frame that provides the detail of the content... essenti=
ally a form of multipart entity that uses HEADERS and DATA frames for delin=
eation. The HEADERS frame for each piece of content would provide informati=
on such as ETag, Last-Modified, Content-Location, Content-Type and Cache-co=
ntrol for each individual piece of content delivered. If the recipient dete=
rmines that it either already has a particular piece of content or doesn&#3=
9;t want it for whatever reason, the recipient has the option of canceling =
out of the stream at any time.</div>

<div><br></div><div>Example.. sender wants to push two items... recipient o=
ks the transfer ... note that the sender doesn&#39;t have to wait for the S=
YN_REPLY to begin sending the data...=C2=A0</div><div><br></div><div>=3D&gt=
; SYN_STREAM (:method=3DPUSH)</div>

<div>=3D&gt; HEADERS (</div><div>=C2=A0 =C2=A0 =C2=A0Content:[</div><div>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0(Content-Location: ..., ETag: ...),</div><div>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0(Content-Location: ....,ETag: ...)</div><div>=C2=
=A0 =C2=A0)</div><div><br></div><div>&lt;=3D SYN_REPLY (:status: OK)</div>

<div><br></div><div>=3D&gt; HEADERS (</div><div>=C2=A0 =C2=A0 =C2=A0Content=
-Location: ...,</div><div>=C2=A0 =C2=A0 =C2=A0Content-Type: ...,</div><div>=
=C2=A0 =C2=A0 =C2=A0ETag: ....,</div><div>=C2=A0 =C2=A0 =C2=A0Last-Modified=
: ....)</div><div><br></div><div>=3D&gt; DATA</div><div>=3D&gt; DATA</div>

<div>=3D&gt; DATA</div><div><br></div><div><div>=3D&gt; HEADERS (</div><div=
>=C2=A0 =C2=A0 =C2=A0Content-Location: ...,</div><div>=C2=A0 =C2=A0 =C2=A0C=
ontent-Type: ...,</div><div>=C2=A0 =C2=A0 =C2=A0ETag: ....,</div><div>=C2=
=A0 =C2=A0 =C2=A0Last-Modified: ....)</div><div><br></div><div>

=3D&gt; DATA</div><div>=3D&gt; DATA</div><div>=3D&gt; DATA (fin)</div></div=
><div><br></div><div>&lt;=3D DATA (fin)</div><div>=C2=A0</div><div>This app=
roach work in both directions... e.g. server-push and client-push (uploadin=
g files). It also provides the recipient with enough additional information=
 to handle caching, and gives the recipient the opportunity to tell the sen=
der no. To be useful, the manifest would need to have enough useful informa=
tion to allow the recipient to determine if it needs the content or not (e.=
g. is the same version already cached?).=C2=A0</div>

<div><br></div><div>Yes, this adds significant complexity to the problem so=
 I&#39;m not sure if this strategy would work or not but I&#39;m experiment=
ing with it at least.=C2=A0</div><div><br></div><div>Server push is good, b=
ut the client needs to be allowed to opt out at any time.</div>

<div><br></div><div>- James</div><div><br></div><div><br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
Best regards, Julian<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--0015175774fe7c4c1104c50a43e2--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 11:52:07 2012
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 B188D21F85D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 11:52:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 c88ooVCdG+n2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 11:52:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B3A7321F85F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 11:52:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrCrs-0001Qz-LT for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 18:51:32 +0000
Resent-Date: Tue, 17 Jul 2012 18:51:32 +0000
Resent-Message-Id: <E1SrCrs-0001Qz-LT@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrCrk-0001P7-5k for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 18:51:24 +0000
Received: from smtpout1.laposte.net ([193.253.67.226] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrCri-0001a2-NA for ietf-http-wg@w3.org; Tue, 17 Jul 2012 18:51:24 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8501-out with ME id bWqu1j00H4WQcrc03WqvmW; Tue, 17 Jul 2012 20:50:55 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id A2CE22E38D4; Tue, 17 Jul 2012 20:50:54 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zAow_b3sLZ2A; Tue, 17 Jul 2012 20:50:41 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 17 Jul 2012 20:50:41 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 17 Jul 2012 20:50:41 +0200
Message-ID: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org>
Date: Tue, 17 Jul 2012 20:50:41 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.226; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrCri-0001a2-NA 741593744cc38af3804f07316db0ccfd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14357
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>

Julian Reschke <julian.reschke@...> writes:

>
> On 2012-07-17 15:38, Poul-Henning Kamp wrote:

> > There must be a smarter way than "User-Agent:"...
>
> Actually one nice potential optimization is if the server can declare
> that it's not interested in the User-Agent at all; see
> <http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03#section-5.7>

The server may not be interested by intermediaries may still be

(while ugly user-agent special-casing is quite useful for proxy operators
that have to contend with web clients that were never really tested with
proxies and misbehave big way)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 12:04:45 2012
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 6C6AF21F8638 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:04:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.813
X-Spam-Level: 
X-Spam-Status: No, score=-8.813 tagged_above=-999 required=5 tests=[AWL=1.786, BAYES_00=-2.599, 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 Phkqk4t9MEuz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:04:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DC6B021F862B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 12:04:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrD4Y-0000Lj-Ih for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 19:04:38 +0000
Resent-Date: Tue, 17 Jul 2012 19:04:38 +0000
Resent-Message-Id: <E1SrD4Y-0000Lj-Ih@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrD4P-0000Kt-Ow for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 19:04:29 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrD4N-0001b8-Oi for ietf-http-wg@w3.org; Tue, 17 Jul 2012 19:04:29 +0000
Received: (qmail invoked by alias); 17 Jul 2012 19:03:27 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp001) with SMTP; 17 Jul 2012 21:03:27 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/0n6YGKs70R3JgtBiKlH8GvokOH9H/28FwLrRxH2 Kmqes5f1bZphfj
Message-ID: <5005B6FD.2030706@gmx.de>
Date: Tue, 17 Jul 2012 21:03:25 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org>
In-Reply-To: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrD4N-0001b8-Oi 3591b4d75d40cbacbd079d24eb6272e3
X-Original-To: ietf-http-wg@w3.org
Subject: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/5005B6FD.2030706@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14358
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 2012-07-17 20:50, Nicolas Mailhot wrote:
> Julian Reschke <julian.reschke@...> writes:
>
>>
>> On 2012-07-17 15:38, Poul-Henning Kamp wrote:
>
>>> There must be a smarter way than "User-Agent:"...
>>
>> Actually one nice potential optimization is if the server can declare
>> that it's not interested in the User-Agent at all; see
>> <http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03#section-5.7>
>
> The server may not be interested by intermediaries may still be
>
> (while ugly user-agent special-casing is quite useful for proxy operators
> that have to contend with web clients that were never really tested with
> proxies and misbehave big way)

Could you elaborate? What kind of misbehavior are you referring to?

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 12:05:44 2012
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 8288221F865C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:05:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 x5oCRPboADMj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:05:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EBC4221F863D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 12:05:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrD5m-0001mC-JC for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 19:05:54 +0000
Resent-Date: Tue, 17 Jul 2012 19:05:54 +0000
Resent-Message-Id: <E1SrD5m-0001mC-JC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrD5e-0001lR-1X for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 19:05:46 +0000
Received: from smtpout1.laposte.net ([193.253.67.226] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrD5c-0001cz-Sk for ietf-http-wg@w3.org; Tue, 17 Jul 2012 19:05:46 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8501-out with ME id bX5J1j0014WQcrc03X5JjX; Tue, 17 Jul 2012 21:05:18 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id AAB9E2E38D5; Tue, 17 Jul 2012 21:05:17 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hiEBlq4-YqHg; Tue, 17 Jul 2012 21:05:04 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 17 Jul 2012 21:05:03 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 17 Jul 2012 21:05:03 +0200
Message-ID: <05ba5d67b08c2e9c87c21ed0571c145f.squirrel@arekh.dyndns.org>
Date: Tue, 17 Jul 2012 21:05:03 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "James M Snell" <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.226; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrD5c-0001cz-Sk 8976b4b2a2526601c275492c6c3c5fcc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: character encoding in header fields, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/05ba5d67b08c2e9c87c21ed0571c145f.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14359
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>

> The one thing we need to determine is: how critical is the ability to
> support seamless down-level conversion from 2.0 to 1.1 within a request?
> Is it acceptable for us to say that while 2.0 can be used to transport
> 1.1 messages, the reverse is not possible.

If HTTP/2 is friendlier to mobile clients and to intermediaries, I'm quite
sure proxy implementers will want to talk to their clients in HTTP/2 only,
and CDNs like Akamai will want to translate legacy http/1 sites to modern
mobile clients (if they're not doing already that with spdy)

OTOH an HTTP/1 site will almost always expect only ascii in headers, and
for those that don't and for some reason are not ready to upgrade
protocols, it's probably acceptable to define a new way to encode i18n
strings in http/1 (prefix header values with utf8: magic prefix or
something like that). That would be a simple enough change it could be
implemented on top of existing http/1 stacks without deep changes.

(ie define a transitional http/1.2 profile close enough to current
http/1.1 it can be easily implemented, without all the warts that would
make trasformation to/from http/2 hard)

Regards,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 12:24:42 2012
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 EFEC921F8621 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:24:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_63=0.6, 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 D5WDH-Hy7UsN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:24:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3A31021F85E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 12:24:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrDNk-00016x-5X for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 19:24:28 +0000
Resent-Date: Tue, 17 Jul 2012 19:24:28 +0000
Resent-Message-Id: <E1SrDNk-00016x-5X@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrDNa-00016C-SU for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 19:24:18 +0000
Received: from smtpout1.laposte.net ([193.253.67.226] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrDNZ-0002aB-9S for ietf-http-wg@w3.org; Tue, 17 Jul 2012 19:24:18 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8501-out with ME id bXPq1j0054WQcrc03XPqn8; Tue, 17 Jul 2012 21:23:50 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 13FC12E38D4; Tue, 17 Jul 2012 21:23:50 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dt1N_uKUR5gE; Tue, 17 Jul 2012 21:23:36 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 17 Jul 2012 21:23:36 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 17 Jul 2012 21:23:36 +0200
Message-ID: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
In-Reply-To: <5005B6FD.2030706@gmx.de>
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org> <5005B6FD.2030706@gmx.de>
Date: Tue, 17 Jul 2012 21:23:36 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "HTTP Working Group" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.226; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrDNZ-0002aB-9S 7bea1e2a202b364f571594837894bc38
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14360
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>

Le Mar 17 juillet 2012 21:03, Julian Reschke a écrit :
> On 2012-07-17 20:50, Nicolas Mailhot wrote:
>> Julian Reschke <julian.reschke@...> writes:
>>
>>>
>>> On 2012-07-17 15:38, Poul-Henning Kamp wrote:
>>
>>>> There must be a smarter way than "User-Agent:"...
>>>
>>> Actually one nice potential optimization is if the server can declare
>>> that it's not interested in the User-Agent at all; see
>>> <http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03#section-5.7>
>>
>> The server may not be interested by intermediaries may still be
>>
>> (while ugly user-agent special-casing is quite useful for proxy
>> operators
>> that have to contend with web clients that were never really tested with
>> proxies and misbehave big way)
>
> Could you elaborate? What kind of misbehavior are you referring to?

Typical misbehaviour is inability to cope with intermediary-inserted
redirect and error codes, and retrying in a loop (because the developer
could not bother to write error handling code, considers that all errors
on the Internet are transient, so with enough retrying he will get
whatever he expected to get at first)

Then you get the web clients that try to interpret error pages as if they
were whatever they expected to get at first, with sometimes weird results.

Then you get the 'pump as much as you can' web client that will starve
everything else.

It's usually less invasive to blacklist or limit just the specific
troublesome client instead of targeting the URLs it tries to access or the
system it runs on (because the buggy part is the web client,the user who
installed it may do legitimate work with other web clients at the same
time, the broken web client will misbehave the same way tomorrow with
other web sites, and this way the protection is in place before other
systems are infected with brokenware)

I really hope HTTP/2 makes intermediaries first-call citizens and
clarifies intermediary/web client signalling so such things happen less
often in the http/2 future (though bugs will always exist, so a client
signature to home on is nice)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 12:31:09 2012
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 070DC21F85AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:31:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.556
X-Spam-Level: 
X-Spam-Status: No, score=-10.556 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, 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 xl1Yc9Dr5uQT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:31:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 50D6321F854B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 12:31:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrDUW-00064t-PF for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 19:31:28 +0000
Resent-Date: Tue, 17 Jul 2012 19:31:28 +0000
Resent-Message-Id: <E1SrDUW-00064t-PF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrDUN-00063P-5C for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 19:31:19 +0000
Received: from smtpout1.laposte.net ([193.253.67.226] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrDUM-0002uy-7C for ietf-http-wg@w3.org; Tue, 17 Jul 2012 19:31:19 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8501-out with ME id bXWs1j0014WQcrc03XWsCP; Tue, 17 Jul 2012 21:30:52 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 1ED842E38D4; Tue, 17 Jul 2012 21:30:52 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 399c0G4voxhf; Tue, 17 Jul 2012 21:30:40 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 17 Jul 2012 21:30:39 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 17 Jul 2012 21:30:40 +0200
Message-ID: <1f9e7e35e62febbf139b97c5a1b61a7e.squirrel@arekh.dyndns.org>
In-Reply-To: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org> <5005B6FD.2030706@gmx.de> <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
Date: Tue, 17 Jul 2012 21:30:40 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.226; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrDUM-0002uy-7C f90a441112d3028ee0912ca4f42cde8f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/1f9e7e35e62febbf139b97c5a1b61a7e.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14361
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>

Le Mar 17 juillet 2012 21:23, Nicolas Mailhot a écrit :
>
> Le Mar 17 juillet 2012 21:03, Julian Reschke a écrit :

>> Could you elaborate? What kind of misbehavior are you referring to?
>
> Typical misbehaviour is inability to cope with intermediary-inserted
> redirect and error codes, and retrying in a loop (because the developer
> could not bother to write error handling code, considers that all errors
> on the Internet are transient, so with enough retrying he will get
> whatever he expected to get at first)
>
> Then you get the web clients that try to interpret error pages as if they
> were whatever they expected to get at first, with sometimes weird results.
>
> Then you get the 'pump as much as you can' web client that will starve
> everything else.

(lastly in a corporate environment systems are locked down, apps are
supposed to only come in versions the heldesk know to deal with, which has
not stopped ISVs from multiplying the web updaters that run sneakily in
the background and try to pump new buggy updates no one requested. When we
find the user agent of such a beast it ends in the blacklist directly –
much less trouble than trying to follow which update web site they use
this week)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 12:46:06 2012
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 75F3E21F8525 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:46:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.558
X-Spam-Level: 
X-Spam-Status: No, score=-10.558 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, 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 YdhqAgMdKEaZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:46:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B3FA721F85F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 12:46:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrDiX-0005IV-2m for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 19:45:57 +0000
Resent-Date: Tue, 17 Jul 2012 19:45:57 +0000
Resent-Message-Id: <E1SrDiX-0005IV-2m@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1SrDiN-0004wj-5m for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 19:45:47 +0000
Received: from ch1ehsobe006.messaging.microsoft.com ([216.32.181.186] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1SrDiJ-0004ho-On for ietf-http-wg@w3.org; Tue, 17 Jul 2012 19:45:47 +0000
Received: from mail102-ch1-R.bigfish.com (10.43.68.232) by CH1EHSOBE009.bigfish.com (10.43.70.59) with Microsoft SMTP Server id 14.1.225.23; Tue, 17 Jul 2012 19:45:16 +0000
Received: from mail102-ch1 (localhost [127.0.0.1])	by mail102-ch1-R.bigfish.com (Postfix) with ESMTP id DDE35340132;	Tue, 17 Jul 2012 19:45:15 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zz98dI9371I936eI542M1432Izz1202hzz8275dhz2fh2a8h668h839h93fhd25hf0ah107ah)
Received-SPF: pass (mail102-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=OSAMAM@microsoft.com; helo=TK5EX14HUBC103.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail102-ch1 (localhost.localdomain [127.0.0.1]) by mail102-ch1 (MessageSwitch) id 1342554314308990_7540; Tue, 17 Jul 2012 19:45:14 +0000 (UTC)
Received: from CH1EHSMHS015.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242])	by mail102-ch1.bigfish.com (Postfix) with ESMTP id 493B62A017F;	Tue, 17 Jul 2012 19:45:14 +0000 (UTC)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS015.bigfish.com (10.43.70.15) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 17 Jul 2012 19:45:12 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC103.redmond.corp.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 17 Jul 2012 19:45:11 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Tue, 17 Jul 2012 12:45:11 -0700
From: Osama Mazahir <OSAMAM@microsoft.com>
To: Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
CC: Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZEBdQ3SeKuKFpUqhZgQdGMlY05ct2LOQ
Date: Tue, 17 Jul 2012 19:45:11 +0000
Message-ID: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de>
In-Reply-To: <50059E45.9090604@gmx.de>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.186; envelope-from=OSAMAM@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrDiJ-0004ho-On c15657077ac24cf307f2c37b95bed869
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14362
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>

QXMgaXQgaXMgY3VycmVudGx5LCAxMDAtY29udGludWUgaXMgcHJvYmxlbWF0aWMuICBUaGUgc2l0
dWF0aW9uIGlzIHRyaWNreSBiZWNhdXNlIHRoZSBjbGllbnQgaXMgbm90IGZvcmNlZCB0byB3YWl0
IGZvciB0aGUgMTAwLzQxNy80eHggKGkuZS4gY2xpZW50IGlzIGFsbG93ZWQgdG8gdGltZW91dCBh
bmQgc2VuZCB0aGUgZW50aXR5IGJvZHkpLiAgVGh1cywgdGhlIHNlcnZlciBkb2VzIG5vdCBoYXZl
IGEgZGV0ZXJtaW5pc3RpYyB3YXkgdG8gbm93IGlmIHRoZSBuZXh0IGJ5dGUgYWZ0ZXIgdGhlIGRv
dWJsZSBDUkxGIGlzIHRoZSBmaXJzdCBieXRlIG9mIHRoZSBuZXh0IHJlcXVlc3Qgb3IgdGhlIGZp
cnN0IGJ5dGUgb2YgdGhlIGVudGl0eSBib2R5IChvZiB0aGUgaW5pdGlhbCByZXF1ZXN0KS4gIFRo
aXMgcmVzdWx0cyBpbiBjb25uZWN0aW9ucyBnZXR0aW5nIGNsb3NlZCBpbiB2YXJpb3VzIGVkZ2Uv
ZXJyb3IgY2FzZXMuDQoNCjEwMC1jb250aW51ZSBpcyBhbG1vc3QgdGhlcmUgYnV0IGlmIHdlIHdh
bnRlZCB0byB1c2UgaXQgaW4gYSByb2J1c3QgbWFubmVyIGluIEhUVFAyIHRoZW4gSSB0aGluayB3
ZSB3b3VsZCBoYXZlIHRvIHJldmlzaXQgaXRzIHNwZWNpZmljYXRpb24uDQoNCi0tLS0tT3JpZ2lu
YWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBKdWxpYW4gUmVzY2hrZSBbbWFpbHRvOmp1bGlhbi5yZXNj
aGtlQGdteC5kZV0gDQpTZW50OiBUdWVzZGF5LCBKdWx5IDE3LCAyMDEyIDEwOjE4IEFNDQpUbzog
R2FicmllbCBNb250ZW5lZ3JvDQpDYzogQWRyaWVuIGRlIENyb3k7IFBvdWwtSGVubmluZyBLYW1w
OyBBbW9zIEplZmZyaWVzOyBpZXRmLWh0dHAtd2dAdzMub3JnDQpTdWJqZWN0OiBSZTogSFRUUDIg
RXhwcmVzc2lvbiBvZiBJbnRlcmVzdCA6IFNxdWlkDQoNCk9uIDIwMTItMDctMTcgMTk6MDIsIEdh
YnJpZWwgTW9udGVuZWdybyB3cm90ZToNCj4+IEZyb206IEFkcmllbiBkZSBDcm95IFttYWlsdG86
YWRyaWVuQHFiaWsuY29tXQ0KPiAuLi4NCj4+IEkgYWdyZWUsIGFuZCBhY3R1YWxseSBJJ2QgYmUg
a2VlbiB0byBhcHBseSB0aGlzIHBoaWxvc3BoeSBpbiBib3RoIA0KPj4gZGlyZWN0aW9ucywgd2hl
cmUgbm8gc2lnbmlmaWNhbnQgcmVzb3VyY2UgaXMgdHJhbnNtaXR0ZWQgaW4gZWl0aGVyIA0KPj4g
ZGlyZWN0aW9uIHdpdGhvdXQgdGhlIHJlY2lwaWVudCBpbmRpY2F0aW5nIHByaW9yIHdpbGxpbmdu
ZXNzIChlaXRoZXIgDQo+PiBieSByZXF1ZXN0aW5nIGl0LCBvciBpbmRpY2F0aW5nIHdpbGxpbmdu
ZXNzKS4gIFdoYXQgSSdtIGdldHRpbmcgYXQgDQo+PiBoZXJlIGlzIGxhcmdlIFBPU1QgLyBQVVQg
cmVxdWVzdHMuICBDdXJyZW50bHkgaXQncyBhIG1lc3MgZXNwIHdpdGggYXV0aCBpbiB0aGUgbWl4
Lg0KPg0KPiBBbG9uZyB0aGVzZSBsaW5lcywgdG8gaGVscCB3aXRoIGEgIFBPU1QvUFVUIHdpdGgg
YXV0aCBpbiB0aGUgbWl4IHdlIG1lbnRpb25lZCBhbiBpZGVhIGluIG91ciBhdXRoZW50aWNhdGlv
biBFb0kgb2YgYSBsaWdodHdlaWdodCBwcm9iZToNCj4NCj4gaHR0cDovL2xpc3RzLnczLm9yZy9B
cmNoaXZlcy9QdWJsaWMvaWV0Zi1odHRwLXdnLzIwMTJKdWxTZXAvMDIzOS5odG1sOg0KPg0KPiAx
LiAgICAgICBMaWdodHdlaWdodCAicHJvYmUiIGZvciBQT1NUcyBhbmQgUFVUcy4gIEluaXRpYWwg
UFVUcyBhbmQgUE9TVHMgd2l0aCBsb25nIGVudGl0eSBib2RpZXMgd2lsbCBjYXVzZSBwcm9ibGVt
cyBiZWNhdXNlIG9mIHRoZSBleHRyYSByb3VuZCB0cmlwIHJlcXVpcmVkIGJ5IGF1dGhlbnRpY2F0
aW9uLiAoIkluaXRpYWwiIG1lYW5zIHdoZW4gZmlyc3QgcmVxdWVzdCBvbiBhIGNvbm5lY3Rpb24g
aXMgUFVUIG9yIFBPU1QpLiBJZiB0aGUgYm9keSBpcyBpbmRlZmluaXRlIGxlbmd0aCwgaXQgbWF5
IG5vdCBiZSBhYmxlIHRvIGJlIHJlY3JlYXRlZC4gVGhpcyBpcyBhIHByb2JsZW0gd2l0aCBhbnkg
bXVsdGktbGVnZ2VkIGF1dGhlbnRpY2F0aW9uIHNjaGVtZSBpbiBIVFRQLiBJdCBjb3VsZCBiZSBh
dm9pZGVkIGlmIHRoZXJlIHdlcmUgYSBndWFyYW50ZWVkIGJlbmlnbiByZXF1ZXN0IHR5cGUgdGhh
dCBjb3VsZCBiZSB1c2VkIHRvIGZvcmNlIGF1dGhlbnRpY2F0aW9uIGlmIG5lZWRlZCBiZWZvcmUg
ZG9pbmcgdGhlIFBVVCBvciBQT1NULg0KDQpXZSBoYXZlDQoNCiAgIEV4cGVjdDogMTAwLWNvbnRp
bnVlDQoNCmZvciB0aGF0LCBubz8NCg0KQmVzdCByZWdhcmRzLCBKdWxpYW4NCg0KDQoNCg0KDQoN
Cg==



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 12:50:12 2012
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 F3AC521F86A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:50:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, 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 3me6+yXO3rrZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 12:50:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 54DF921F8621 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 12:50:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrDmx-0007Je-5k for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 19:50:31 +0000
Resent-Date: Tue, 17 Jul 2012 19:50:31 +0000
Resent-Message-Id: <E1SrDmx-0007Je-5k@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrDmo-0007I3-Ry for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 19:50:22 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrDmn-000574-FF for ietf-http-wg@w3.org; Tue, 17 Jul 2012 19:50:22 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E27A63B753; Tue, 17 Jul 2012 19:49:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HJnx4d013870; Tue, 17 Jul 2012 19:49:59 GMT (envelope-from phk@phk.freebsd.dk)
To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
cc: "Julian Reschke" <julian.reschke@gmx.de>, "HTTP Working Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 21:23:36 +0200." <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 19:49:59 +0000
Message-ID: <13869.1342554599@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrDmn-000574-FF 1c5148e4b1e9210c7e1d60495a7c5baf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/13869.1342554599@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14363
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>

In message <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>, "Nicol
as Mailhot" writes:

>so a client signature to home on is nice.

Agreed, we can't do without some form of User-Agent, if nothing else
then for debug purposes, but if we could make it less of landfill
and more meaningfull that would be A Good Thing.

Anybody know what WAP did for this ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:06:44 2012
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 BB24411E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:06:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Au3SHsFdsZZL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:06:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2313A21F85F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:06:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrE2v-0007GR-5K for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:07:01 +0000
Resent-Date: Tue, 17 Jul 2012 20:07:01 +0000
Resent-Message-Id: <E1SrE2v-0007GR-5K@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrE2m-0007FJ-Mn for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:06:52 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrE2l-0005Lv-7H for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:06:52 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6HK6KgL001561 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jul 2012 20:06:22 GMT
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org> <5005B6FD.2030706@gmx.de> <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
In-Reply-To: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <70BDCBB5-7DED-40D8-8349-B5DD454F28E0@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Tue, 17 Jul 2012 16:06:19 -0400
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrE2l-0005Lv-7H 385580327cf31656bcaeee9a30cf1e7c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/70BDCBB5-7DED-40D8-8349-B5DD454F28E0@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14365
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>

Nicolas,=20

interesting but I would like to understand the issues you are having.


Le 17 juil. 2012 =E0 15:23, Nicolas Mailhot a =E9crit :
> Le Mar 17 juillet 2012 21:03, Julian Reschke a =E9crit :
>> Could you elaborate? What kind of misbehavior are you referring to?
>=20
> Typical misbehaviour is inability to cope with intermediary-inserted =
redirect and error codes, and retrying in a loop=20

Do you have a precise example of such an issue?


> Then you get the web clients that try to interpret error pages

which clients?


> Then you get the 'pump as much as you can' web client that will starve =
everything else.

which clients, which circumstances?



> It's usually less invasive to blacklist or limit just the specific
> troublesome client

seen from the client side. Note that it happens quite often that people =
use a "regular user agent" to run a spambot. So the user agent string is =
not an absolute signature of the user agent behind.


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:06:44 2012
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 EDFDD21F85F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:06:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.344
X-Spam-Level: 
X-Spam-Status: No, score=-9.344 tagged_above=-999 required=5 tests=[AWL=1.254, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 svmXD9s7oiGd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:06:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3612121F86F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:06:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrE2L-0007Dz-30 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:06:25 +0000
Resent-Date: Tue, 17 Jul 2012 20:06:25 +0000
Resent-Message-Id: <E1SrE2L-0007Dz-30@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrE2B-0007A3-PY for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:06:15 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrE2A-0005qr-CW for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:06:15 +0000
Received: by weyx43 with SMTP id x43so553214wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 13:05:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=aRgoj72Af/PjE+ULHPIIivfzrdE2cZqZLmIgiPkt3v0=; b=ltqS43ZG5eKFsNy5sQu0Lvh1jtV+YivelzeFOWsAe6qvzyGSRr0Iq+nxvb9Wsqqj49 E925RywE58yCKkALYICAeD4eYYGyW2YQZA1xtLfwH3LToQyRIU9F0nzxJ23SlpnrYfAw J0dy0iszT3MBTlig0JdlhzFBZdD1PZS0VXyH9w50FGKIButMyVYc8vGUaXdjRCLC3G11 s5fSt4GzUHo7WgAIeQbL+CQcVnSssGoFQhWOCzRsB5WTmiTl0WS/twTRZcUSVPpknPYc IuA9ZehETGa2iL4zh0V/MHNxqxYXUtg0SjTaID+L76O7CFMlrc8jEdcR6cHpEegQO3oO cosw==
Received: by 10.216.221.74 with SMTP id q52mr138814wep.181.1342555547639; Tue, 17 Jul 2012 13:05:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 13:05:27 -0700 (PDT)
In-Reply-To: <13869.1342554599@critter.freebsd.dk>
References: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org> <13869.1342554599@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 13:05:27 -0700
Message-ID: <CABP7RbftZjB3dKTroubA1xGtrGX5dh9+=Y1T-s=s72OcMKcYjQ@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, Julian Reschke <julian.reschke@gmx.de>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca821f0d04c50c12d8
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrE2A-0005qr-CW 162c8adfa10ca6653ef9e73d3d7e8bfe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbftZjB3dKTroubA1xGtrGX5dh9+=Y1T-s=s72OcMKcYjQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14364
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>

--0016e6471bca821f0d04c50c12d8
Content-Type: text/plain; charset=UTF-8

Not sure what WAP's strategy for this is but, off the top of my head, given
how User-Agent's are currently used (and abuse), one approach may be to
redefine User-Agent to limit it to a single product token and version, and
define a new Capabilities header whose value is a list of meaningful tokens
that identify stuff the user-agent is able to support.

  User-Agent: Foo/1.0
  Capabilities: u, mobile, something-else

Using the revised header structure I've suggested, it would be something
like...

  [0, 9, 1, 0, 7, 'F', 'o', 'o', '/', '1', '.', '0']

  [16, 2, 1, 23, 'u', 0, 'm', 'o', 'b', 'i', 'l', 'e',
    0, 's', 'o', 'm', 'e', 't', 'h', 'i', 'n', 'g', '-',
   'e', 'l', 's', 'e']

This definitely won't stop folks from lying about their user agents, but by
providing a clear location for "capabilities", perhaps we can stem many of
the ugly hacks that user-agent strings are currently used for.

- James

On Tue, Jul 17, 2012 at 12:49 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>,
> "Nicol
> as Mailhot" writes:
>
> >so a client signature to home on is nice.
>
> Agreed, we can't do without some form of User-Agent, if nothing else
> then for debug purposes, but if we could make it less of landfill
> and more meaningfull that would be A Good Thing.
>
> Anybody know what WAP did for this ?
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--0016e6471bca821f0d04c50c12d8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Not sure what WAP&#39;s strategy for t=
his is but, off the top of my head, given how User-Agent&#39;s are currentl=
y used (and abuse), one approach may be to redefine User-Agent to limit it =
to a single product token and version, and define a new Capabilities header=
 whose value is a list of meaningful tokens that identify stuff the user-ag=
ent is able to support.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">=C2=A0 User-Agent: Foo/1.0</font></div><div><font face=
=3D"courier new,monospace">=C2=A0 Capabilities: u, mobile, something-else</=
font></div>
<div>
<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Using the revised header structure I&#39;ve suggested,=
 it would be something like...</font></div><div><font face=3D"courier new,m=
onospace"><br>

</font></div><div><font face=3D"courier new,monospace">=C2=A0 [0, 9, 1, 0, =
7, &#39;F&#39;, &#39;o&#39;, &#39;o&#39;, &#39;/&#39;, &#39;1&#39;, &#39;.&=
#39;, &#39;0&#39;]</font></div><div><font face=3D"courier new,monospace"><b=
r></font></div>

<div><font face=3D"courier new,monospace">=C2=A0 [16, 2, 1, 23, &#39;u&#39;=
, 0, &#39;m&#39;, &#39;o&#39;, &#39;b&#39;, &#39;i&#39;, &#39;l&#39;, &#39;=
e&#39;,</font></div><div><font face=3D"courier new,monospace">=C2=A0 =C2=A0=
 0, &#39;s&#39;, &#39;o&#39;, &#39;m&#39;, &#39;e&#39;, &#39;t&#39;, &#39;h=
&#39;, &#39;i&#39;, &#39;n&#39;, &#39;g&#39;, &#39;-&#39;,</font></div>

<div><font face=3D"courier new,monospace">=C2=A0 =C2=A0&#39;e&#39;, &#39;l&=
#39;, &#39;s&#39;, &#39;e&#39;]</font></div><div><font face=3D"courier new,=
monospace"><br></font></div><div><font face=3D"courier new,monospace">This =
definitely won&#39;t stop folks from lying about their user agents, but by =
providing a clear location for &quot;capabilities&quot;, perhaps we can ste=
m many of the ugly hacks that user-agent strings are currently used for.=C2=
=A0</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">- James<br></font><br><div class=3D"gmail_quote"=
>On Tue, Jul 17, 2012 at 12:49 PM, Poul-Henning Kamp <span dir=3D"ltr">&lt;=
<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk<=
/a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;<a href=3D"mailto:39a908269ae=
d0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org">39a908269aed0fec3d0456ce7f=
7f38b2.squirrel@arekh.dyndns.org</a>&gt;, &quot;Nicol<br>


as Mailhot&quot; writes:<br>
<br>
&gt;so a client signature to home on is nice.<br>
<br>
Agreed, we can&#39;t do without some form of User-Agent, if nothing else<br=
>
then for debug purposes, but if we could make it less of landfill<br>
and more meaningfull that would be A Good Thing.<br>
<br>
Anybody know what WAP did for this ?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</font></span></blockquote></div><br></div>

--0016e6471bca821f0d04c50c12d8--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:16:16 2012
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 42E9A21F8669 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:16:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 jJqK+dH6CW2W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:16:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 75FBB21F8621 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:16:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEC7-0005Rk-SB for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:16:31 +0000
Resent-Date: Tue, 17 Jul 2012 20:16:31 +0000
Resent-Message-Id: <E1SrEC7-0005Rk-SB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <roland@zinks.de>) id 1SrEBy-0005Ob-Aa for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:16:22 +0000
Received: from mo-p00-ob.rzone.de ([81.169.146.161]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <roland@zinks.de>) id 1SrEBw-0006Bg-P2 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:16:22 +0000
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJU2mlIkBC0t1G+0bSVECAiLzXVLTYqinn18mvPA8wvUokYL6G2w==
X-RZG-CLASS-ID: mo00
Received: from [IPv6:2001:4dd0:ff67:0:f482:570e:3646:1daa] ([2001:4dd0:ff67:0:f482:570e:3646:1daa]) by smtp.strato.de (josoe mo53) (RZmta 29.19 AUTH) with ESMTPA id 207e6do6HJor8g for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:15:58 +0200 (CEST)
Message-ID: <5005C7FC.8010405@zinks.de>
Date: Tue, 17 Jul 2012 22:15:56 +0200
From: Roland Zink <roland@zinks.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <13869.1342554599@critter.freebsd.dk>
In-Reply-To: <13869.1342554599@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=81.169.146.161; envelope-from=roland@zinks.de; helo=mo-p00-ob.rzone.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SrEBw-0006Bg-P2 d8982ccb84c2df0684cadc13db93c981
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/5005C7FC.8010405@zinks.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14366
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>

WAP did stick with the user-agent header. WAP has an extension named 
user agent profile sending a device profile URL in a header. This allows 
vendors to place an XML description of the clients capabilities on the 
Internet, see 
http://www.openmobilealliance.org/Technical/release_program/uap_v2_0.aspx. 
The client is able to add/overwrite properties using the 
x-wap-profile-diff header.

Regards,
Roland


On 17.07.2012 21:49, Poul-Henning Kamp wrote:
> In message <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>, "Nicol
> as Mailhot" writes:
>
>> so a client signature to home on is nice.
> Agreed, we can't do without some form of User-Agent, if nothing else
> then for debug purposes, but if we could make it less of landfill
> and more meaningfull that would be A Good Thing.
>
> Anybody know what WAP did for this ?
>




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:18:28 2012
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 555EF21F85AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:18:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, 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 81tR3ZqQzKza for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:18:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C7EFF21F858E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:18: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 1SrEEJ-0005oD-ON for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:18:47 +0000
Resent-Date: Tue, 17 Jul 2012 20:18:47 +0000
Resent-Message-Id: <E1SrEEJ-0005oD-ON@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrEEA-0005nS-8s for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:18:38 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrEE8-0005lQ-KZ for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:18:38 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 158AC3B080; Tue, 17 Jul 2012 20:18:15 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HKIEi9055006; Tue, 17 Jul 2012 20:18:14 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 13:05:27 MST." <CABP7RbftZjB3dKTroubA1xGtrGX5dh9+=Y1T-s=s72OcMKcYjQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 20:18:14 +0000
Message-ID: <55005.1342556294@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrEE8-0005lQ-KZ 6ef48a7eb3e9f39919d0014b837db9c0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/55005.1342556294@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14367
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>

In message <CABP7RbftZjB3dKTroubA1xGtrGX5dh9+=Y1T-s=s72OcMKcYjQ@mail.gmail.com>
, James M Snell writes:

>redefine User-Agent to limit it to a single product token and version, and
>define a new Capabilities header whose value is a list of meaningful tokens
>that identify stuff the user-agent is able to support.
>
>  User-Agent: Foo/1.0
>  Capabilities: u, mobile, something-else

Isn't that just moving the problem to a different header ?

I guess making the Capabilities a Registry could stem the tide
a bit, but do we (in this WG) even have a clue about what
capabilities make sense for the initial set ?

I guess the WURFL database can be used for a clue about what
capabilities would be interesting, but without any slight or malice
intended, it seems slightly overengineered, in that good old german
fashion we all love in cars and cameras.

Is that a task we could fork out to another more web-app centric
WG or maybe W3c ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:25:05 2012
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 5589121F862B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:25:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 0htiiir+SNel for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:25:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6515521F8622 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:25:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEKT-0000Wj-Ln for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:25:09 +0000
Resent-Date: Tue, 17 Jul 2012 20:25:09 +0000
Resent-Message-Id: <E1SrEKT-0000Wj-Ln@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrEKG-0007go-Qj for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:24:56 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrEKF-0005wb-LF for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:24:56 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6HKOP9g004459 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jul 2012 20:24:27 GMT
References: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org> <13869.1342554599@critter.freebsd.dk> <CABP7RbftZjB3dKTroubA1xGtrGX5dh9+=Y1T-s=s72OcMKcYjQ@mail.gmail.com>
In-Reply-To: <CABP7RbftZjB3dKTroubA1xGtrGX5dh9+=Y1T-s=s72OcMKcYjQ@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <481B7FF5-863C-440B-9D78-DB1B7D35C756@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Tue, 17 Jul 2012 16:24:24 -0400
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrEKF-0005wb-LF a331209470541a8f0ca537392df25cf4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/481B7FF5-863C-440B-9D78-DB1B7D35C756@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14368
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>

Le 17 juil. 2012 =E0 16:05, James M Snell a =E9crit :
> given how User-Agent's are currently used (and abuse),

I have plenty of horror stories, if you want me to share and help =
understand the problem space. (It's partly my daily job to deal with =
those.)

> define a new Capabilities header whose value is a list of meaningful =
tokens that identify stuff the user-agent is able to support.
>=20
>   User-Agent: Foo/1.0
>   Capabilities: u, mobile, something-else

I have the feeling that will not really work.=20
In the browser world, the way we recommend to do things lately is =
feature detection [1]. APIs are complex and not always implemented fully =
at the same time. So Javascript developers can programmatically =
determine if the device has this or that capability, down sometimes to =
one specific property of an API.

The "Capabilities" would become huge if we wanted to it an exact picture =
of the user agent capabilities. So that would not really scale.

On the other side, I see another reason why "user agent maker" will want =
to keep their identity visible: market shares statistics (Faust). Don't =
want to be put apart/Want to have an existence.


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:26:47 2012
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 F41FA21F86A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:26:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 oooc2BW666Zp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:26:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 847E621F86BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:26:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEMX-0000sD-Lh for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:27:17 +0000
Resent-Date: Tue, 17 Jul 2012 20:27:17 +0000
Resent-Message-Id: <E1SrEMX-0000sD-Lh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrEMP-0000rS-36 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:27:09 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrEMN-0006Tw-Tt for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:27:09 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6HKQbBU005117 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jul 2012 20:26:39 GMT
References: <55005.1342556294@critter.freebsd.dk>
In-Reply-To: <55005.1342556294@critter.freebsd.dk>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <195B951C-AF28-40D8-84A2-1A2C04B1F244@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Tue, 17 Jul 2012 16:26:37 -0400
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrEMN-0006Tw-Tt 5314c3ccb9a86247f4df86a1af8cc544
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/195B951C-AF28-40D8-84A2-1A2C04B1F244@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14370
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>

Le 17 juil. 2012 =E0 16:18, Poul-Henning Kamp a =E9crit :
> I guess the WURFL database can be used for a clue about what
> capabilities=20

Any user agent capabilities Databases are future fail.


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:27:01 2012
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 7858221F871D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:27:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, 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 QS9t-xdJu9W5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:27:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 13B1721F86D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:26:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEMK-0000qz-Uq for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:27:05 +0000
Resent-Date: Tue, 17 Jul 2012 20:27:04 +0000
Resent-Message-Id: <E1SrEMK-0000qz-Uq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrEMC-0000qD-DJ for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:26:56 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrEMB-0006Tg-80 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:26:56 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 3D4AC3B767; Tue, 17 Jul 2012 20:26:34 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HKQXdk057906; Tue, 17 Jul 2012 20:26:34 GMT (envelope-from phk@phk.freebsd.dk)
To: Roland Zink <roland@zinks.de>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 22:15:56 +0200." <5005C7FC.8010405@zinks.de>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 20:26:33 +0000
Message-ID: <57905.1342556793@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrEMB-0006Tg-80 02279f997aaad9e710769482e88585a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/57905.1342556793@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14369
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>

In message <5005C7FC.8010405@zinks.de>, Roland Zink writes:

>WAP has an extension named 
>user agent profile sending a device profile URL in a header. This allows 
>vendors to place an XML description of the clients capabilities on the 
>Internet, see 
>http://www.openmobilealliance.org/Technical/release_program/uap_v2_0.aspx. 
>The client is able to add/overwrite properties using the 
>x-wap-profile-diff header.

I like it.

Lets replace
	 "User-Agent: <sedimentary garbage>"
with
	 "Capabilities: <url>"

And fork of the job of defining what's at the end of the URL
to somebody else (WG/W3C) already now.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:31:37 2012
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 CDCF821F8597 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.861
X-Spam-Level: 
X-Spam-Status: No, score=-8.861 tagged_above=-999 required=5 tests=[AWL=1.738, BAYES_00=-2.599, 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 LaHumOYjlFyk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:31:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2399321F8532 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:31:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrER4-0006xD-IH for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:31:58 +0000
Resent-Date: Tue, 17 Jul 2012 20:31:58 +0000
Resent-Message-Id: <E1SrER4-0006xD-IH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrEQw-0006wS-1U for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:31:50 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrEQu-0006hO-Iy for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:31:50 +0000
Received: (qmail invoked by alias); 17 Jul 2012 20:31:14 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp020) with SMTP; 17 Jul 2012 22:31:14 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/mWqQ2GU7m4oDXARYvd798oKmv7oPYqYJBWFlrzQ fBarzfwpwC6iOq
Message-ID: <5005CB8C.2000802@gmx.de>
Date: Tue, 17 Jul 2012 22:31:08 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Osama Mazahir <OSAMAM@microsoft.com>
CC: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
In-Reply-To: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrEQu-0006hO-Iy 1ca0f6d9ca995c0c7b9227227d3ee7aa
X-Original-To: ietf-http-wg@w3.org
Subject: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/5005CB8C.2000802@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14371
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 2012-07-17 21:45, Osama Mazahir wrote:
> As it is currently, 100-continue is problematic.  The situation is tricky because the client is not forced to wait for the 100/417/4xx (i.e. client is allowed to timeout and send the entity body).  Thus, the server does not have a deterministic way to now if the next byte after the double CRLF is the first byte of the next request or the first byte of the entity body (of the initial request).  This results in connections getting closed in various edge/error cases.
>
> 100-continue is almost there but if we wanted to use it in a robust manner in HTTP2 then I think we would have to revisit its specification.
> ...

Well, we are revising RFC 2616, and if something is broken here we 
should consider to fix it. Or, minimally, document the problem.

If I understand correctly, this will happen if the client sends "Expect: 
100-continue", the server is slow to return an error status, and the 
client decides to give up waiting for the 100 status, and continues?

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:34:40 2012
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 BFC9421F8627 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:34:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.561
X-Spam-Level: 
X-Spam-Status: No, score=-10.561 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, 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 z8FmjYduLqom for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:34:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0F1D321F8623 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:34:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEU2-0007Xu-Dp for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:35:02 +0000
Resent-Date: Tue, 17 Jul 2012 20:35:02 +0000
Resent-Message-Id: <E1SrEU2-0007Xu-Dp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrETt-0007Iy-81 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:34:53 +0000
Received: from smtpout7.laposte.net ([193.253.67.232] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrETr-0006v7-Km for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:34:53 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8514-out with ME id bYaP1j00B4WQcrc03YaPQo; Tue, 17 Jul 2012 22:34:24 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 7BF632E38C4; Tue, 17 Jul 2012 22:34:23 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qxqpP-TccUYJ; Tue, 17 Jul 2012 22:34:07 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 17 Jul 2012 22:34:07 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 17 Jul 2012 22:34:07 +0200
Message-ID: <23ec05d25c37cb07b6159ee725ee29ca.squirrel@arekh.dyndns.org>
In-Reply-To: <70BDCBB5-7DED-40D8-8349-B5DD454F28E0@opera.com>
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org> <5005B6FD.2030706@gmx.de> <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org> <70BDCBB5-7DED-40D8-8349-B5DD454F28E0@opera.com>
Date: Tue, 17 Jul 2012 22:34:07 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Karl Dubost" <karld@opera.com>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "HTTP Working Group" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.232; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrETr-0006v7-Km 07a00315b83d6e87c1f2f309c71216a0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/23ec05d25c37cb07b6159ee725ee29ca.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14372
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>

Le Mar 17 juillet 2012 22:06, Karl Dubost a écrit :
> Nicolas,
>
> interesting but I would like to understand the issues you are having.
>
>
> Le 17 juil. 2012 à 15:23, Nicolas Mailhot a écrit :
>> Le Mar 17 juillet 2012 21:03, Julian Reschke a écrit :
>>> Could you elaborate? What kind of misbehavior are you referring to?
>>
>> Typical misbehaviour is inability to cope with intermediary-inserted
>> redirect and error codes, and retrying in a loop
>
> Do you have a precise example of such an issue?

we have seen broken web clients trying to get the proxy to proxify its own
auth portal (messy loop especially when the load balancer moved the client
to another proxy, so the proxies started looping over one another, fat web
client written in delphi or another obsolete windows tech, we protect
against this pattern now), clients that retried the same access several
thousand times a second all day round (stuffed our logs and made resolving
an actual incident that happened concurrently hard) infra load-testing
when akamai launched its hd service and users pushed us to he limit (still
investigating how to best block the akamai P2P video downloader), some
google chrome service that really could not accept the proxy refusal (not
chrome itself), windows widgets that thought wall-time was better queried
over the internet (it's nice to learn a computer can't emulate a basic
clock without the web) etc

Though most offenders do not bother to declare a user-agent at all which
is why I'm currently getting trying to get approval to block any access
attempt without user agent header

>> It's usually less invasive to blacklist or limit just the specific
>> troublesome client
>
> seen from the client side. Note that it happens quite often that people
> use a "regular user agent" to run a spambot. So the user agent string is
> not an absolute signature of the user agent behind.

spambots either do not know how to authentify over the proxy (not because
of the evil way we do proxy auth, for lack of a good standard, but because
they don't know the user password), are caught by its anti-malware
scanning (for http), the IPS probes, or the evil-sites list provided by
the manufacturer (that's why full-url-in-clear is useful at the
intermediary level, with only the ip or hostname security equipments would
not catch bot access patterns)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:41:20 2012
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 8C46821F8644 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:41:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.907
X-Spam-Level: 
X-Spam-Status: No, score=-8.907 tagged_above=-999 required=5 tests=[AWL=1.692, BAYES_00=-2.599, 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 QYhIvyMdSQiZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:41:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7F7821F8627 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:41:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEaG-0003pq-Fb for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:41:28 +0000
Resent-Date: Tue, 17 Jul 2012 20:41:28 +0000
Resent-Message-Id: <E1SrEaG-0003pq-Fb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrEa7-0003ne-Lr for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:41:19 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrEa6-0007C7-A1 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:41:19 +0000
Received: (qmail invoked by alias); 17 Jul 2012 20:40:50 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp041) with SMTP; 17 Jul 2012 22:40:50 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/OxasZWeXO/R/ExhhfoXPvKzNBvgjU8+Tk10eLeI 2608OfNqPS4eRK
Message-ID: <5005CDCF.6030806@gmx.de>
Date: Tue, 17 Jul 2012 22:40:47 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Roland Zink <roland@zinks.de>
CC: ietf-http-wg@w3.org
References: <13869.1342554599@critter.freebsd.dk> <5005C7FC.8010405@zinks.de>
In-Reply-To: <5005C7FC.8010405@zinks.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrEa6-0007C7-A1 22f0671bd5b3fc2d63ceb8a196be9372
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/5005CDCF.6030806@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14373
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 2012-07-17 22:15, Roland Zink wrote:
> WAP did stick with the user-agent header. WAP has an extension named
> user agent profile sending a device profile URL in a header. This allows
> vendors to place an XML description of the clients capabilities on the
> Internet, see
> http://www.openmobilealliance.org/Technical/release_program/uap_v2_0.aspx.
> The client is able to add/overwrite properties using the
> x-wap-profile-diff header.
> ...

OMG; that sounds so sane that the only thing I can complain about is the 
"x-" prefixed header field :-)


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:43:14 2012
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 0BBE221F851E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:43:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.538
X-Spam-Level: 
X-Spam-Status: No, score=-10.538 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 m-FgrFb5XIXw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:43:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDE6721F84C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:43:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEcJ-0004CO-Ef for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:43:35 +0000
Resent-Date: Tue, 17 Jul 2012 20:43:35 +0000
Resent-Message-Id: <E1SrEcJ-0004CO-Ef@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrEc9-0004BY-MU for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:43:25 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrEc8-0006wM-7P for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:43:25 +0000
Received: by wgbdt14 with SMTP id dt14so690153wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 13:42:57 -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=mecOKljeLvjjuoEG4VkyyrlM2tr1KUDjFcGsztjAPY0=; b=KrAD0bf4s0JFqzNdYHx9pPp3NiAk0TM0aMKPM8nzOJMYmiC1obvCR+JLYbrOxWIKbE RO/ajOhAJddylaMiGySawkISRCqFHO8Eidp/g1tNFFqdGytajb4pgKe2mMR7iUNlaCIB BwQO7vT8GJM3FU6UOTbOi7/vbeFpeVI/UyWwUFCjIpapCfGMQDWeTHuT6iUN3zTKMkzh Zzy44Keo1hkwCxwKTxV49z4YDW4PuJVa2kNHqT21x/qWlsIA91yNE3mPVo1VVorRHWAi HNbG+dCpzV1Nmn8DtJxoy96gH899KYyQLRc8k+nWnf+Gkuov9JWAP9B/ystlDbclX8k1 mCkw==
MIME-Version: 1.0
Received: by 10.217.6.194 with SMTP id y44mr192788wes.27.1342557777575; Tue, 17 Jul 2012 13:42:57 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 13:42:57 -0700 (PDT)
In-Reply-To: <50059E45.9090604@gmx.de>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de>
Date: Tue, 17 Jul 2012 13:42:57 -0700
Message-ID: <CAP+FsNfx9imtbPex_2tgiY5LxSMcrUe15B-qFGsqjdHsOxK0EA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf302acf3c6c409304c50c9731
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrEc8-0006wM-7P 1e9f5a855e56448b7570142b36e6df23
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNfx9imtbPex_2tgiY5LxSMcrUe15B-qFGsqjdHsOxK0EA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14374
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>

--20cf302acf3c6c409304c50c9731
Content-Type: text/plain; charset=ISO-8859-1

The 100-continue stuff is really poor flow control, from my perspective.
Also, I've yet to meet an implementor who even likes 100-continue because
it messes with the idea of a request-response model. It should be metadata
and was a nasty nasty hack. Phooey! :)

The idea of MGET vs GET amounts to making something optional.

If you do that there will be clients that didn't implement it because
they're lazy.

I have little desire to cater to lazy client implementors and incomplete
spec implementations-- They can stick with HTTP/1.1.
I care strongly about the user and the user experience.
I fight (and create, blah blah) for the users!

If we make this optional, one of these is likely to happen
1) We increase the amount of inlining that people do, because it is the
easiest way to deal with cold page load time, especially for mobile devices.
2) Nobody implements the feature because optional features are often poorly
tested and the cost/benefit causes this to converge in a negative feedback
loop. The feature becomes unused.
3) Latency is worse than it could be across a number of different use
cases, one interesting one is a redirect.

If anyone is under the illusion that the client has any control over what
it receives, I'd like to disabuse them now.
Any content creator can put whatever they want into any resource, making it
whatever size they'd like at any time.
The client gets to decide to call recv() or not. It controls what resource
it requests. That is it, really. It can't call close() unless it wishes to
abandon the resource it is loading which in the inlining case would be the
main resource.

Thusfar with server-push, we're proposing to give the client another knob--
it can tell the server to stop sending stuff it doesn't like. It gives
clients and proxies more flexibility to identify and filter.
It can do so without causing the session to restart, which is important.
Restarting the session is costly in terms of latency to the client, battery
to the device, and CPU to the server.

The idea that the client can announce whether or not it wants a push does
not end with the scenario where the client just gets object A. It results
in a scenario where the client gets object A with mix-ins from B,C,D..N as
unidentifiable, difficult to filter and impossible to  blobs.

Sites and content-providers are not incented to get this wrong, but doing
it the way we have today makes the problem of optimizing pages far, far
more difficult that it should be.


-=R

On Tue, Jul 17, 2012 at 10:17 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2012-07-17 19:02, Gabriel Montenegro wrote:
>
>> From: Adrien de Croy [mailto:adrien@qbik.com]
>>>
>> ...
>>
>>> I agree, and actually I'd be keen to apply this philosphy in both
>>> directions,
>>> where no significant resource is transmitted in either direction without
>>> the
>>> recipient indicating prior willingness (either by requesting it, or
>>> indicating
>>> willingness).  What I'm getting at here is large POST / PUT requests.
>>>  Currently
>>> it's a mess esp with auth in the mix.
>>>
>>
>> Along these lines, to help with a  POST/PUT with auth in the mix we
>> mentioned an idea in our authentication EoI of a lightweight probe:
>>
>> http://lists.w3.org/Archives/**Public/ietf-http-wg/**2012JulSep/0239.html<http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239.html>
>> :
>>
>> 1.       Lightweight "probe" for POSTs and PUTs.  Initial PUTs and POSTs
>> with long entity bodies will cause problems because of the extra round trip
>> required by authentication. ("Initial" means when first request on a
>> connection is PUT or POST). If the body is indefinite length, it may not be
>> able to be recreated. This is a problem with any multi-legged
>> authentication scheme in HTTP. It could be avoided if there were a
>> guaranteed benign request type that could be used to force authentication
>> if needed before doing the PUT or POST.
>>
>
> We have
>
>   Expect: 100-continue
>
> for that, no?
>
> Best regards, Julian
>
>
>
>
>
>

--20cf302acf3c6c409304c50c9731
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The 100-continue stuff is really poor flow control, from my perspective. Al=
so, I&#39;ve yet to meet an implementor who even likes 100-continue because=
 it messes with the idea of a request-response model. It should be metadata=
 and was a nasty nasty hack. Phooey! :)<div>

<div><br></div><div>The idea of MGET vs GET amounts to making something opt=
ional.</div><div><br></div><div>If you do that there will be clients that d=
idn&#39;t implement it because they&#39;re lazy.</div><div><br></div><div>

I have little desire to cater to lazy client implementors and incomplete sp=
ec implementations-- They can stick with HTTP/1.1.</div><div><div>I care st=
rongly about the user and the user experience.</div></div><div>I fight (and=
 create, blah blah) for the users!</div>

<div><br></div><div>If we make this optional, one of these is likely to hap=
pen</div><div>1) We increase the amount of inlining that people do, because=
 it is the easiest way to deal with cold page load time, especially for mob=
ile devices.</div>

<div>2) Nobody implements the feature because optional features are often p=
oorly tested and the cost/benefit causes this to converge in a negative fee=
dback loop. The feature becomes unused.</div><div>3) Latency is worse than =
it could be across a number of different use cases, one interesting one is =
a redirect.</div>

<div><br></div><div>If anyone is under the illusion that the client has any=
 control over what it receives, I&#39;d like to disabuse them now.</div><di=
v>Any content creator can put whatever they want into any resource, making =
it whatever size they&#39;d like at any time.</div>

<div>The client gets to decide to call recv() or not. It controls what reso=
urce it requests. That is it, really. It can&#39;t call close() unless it w=
ishes to abandon the resource it is loading which in the inlining case woul=
d be the main resource.</div>

<div><br></div><div>Thusfar with server-push, we&#39;re proposing to give t=
he client another knob-- it can tell the server to stop sending stuff it do=
esn&#39;t like. It gives clients and proxies more flexibility to identify a=
nd filter.</div>

<div>It can do so without causing the session to restart, which is importan=
t. Restarting the session is costly in terms of latency to the client, batt=
ery to the device, and CPU to the server.</div><div><br></div><div>The idea=
 that the client can announce whether or not it wants a push does not end w=
ith the scenario where the client just gets object A. It results in a scena=
rio where the client gets object A with mix-ins from B,C,D..N as unidentifi=
able, difficult to filter and impossible to =A0blobs.</div>

<div><br></div><div>Sites and content-providers are not incented to get thi=
s wrong, but doing it the way we have today makes the problem of optimizing=
 pages far, far more difficult that it should be.</div><div><br></div>
<div>
<br></div><div>-=3DR</div><br><div class=3D"gmail_quote">On Tue, Jul 17, 20=
12 at 10:17 AM, Julian Reschke <span dir=3D"ltr">&lt;<a href=3D"mailto:juli=
an.reschke@gmx.de" target=3D"_blank">julian.reschke@gmx.de</a>&gt;</span> w=
rote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div>On 2012-07-17 19:02, Gabriel Monte=
negro wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Adrien de Croy [mailto:<a href=3D"mailto:adrien@qbik.com" target=3D"_=
blank">adrien@qbik.com</a>]<br>
</blockquote>
...<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I agree, and actually I&#39;d be keen to apply this philosphy in both direc=
tions,<br>
where no significant resource is transmitted in either direction without th=
e<br>
recipient indicating prior willingness (either by requesting it, or indicat=
ing<br>
willingness). =A0What I&#39;m getting at here is large POST / PUT requests.=
 =A0Currently<br>
it&#39;s a mess esp with auth in the mix.<br>
</blockquote>
<br>
Along these lines, to help with a =A0POST/PUT with auth in the mix we menti=
oned an idea in our authentication EoI of a lightweight probe:<br>
<br>
<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239=
.html" target=3D"_blank">http://lists.w3.org/Archives/<u></u>Public/ietf-ht=
tp-wg/<u></u>2012JulSep/0239.html</a>:<br>
<br>
1. =A0 =A0 =A0 Lightweight &quot;probe&quot; for POSTs and PUTs. =A0Initial=
 PUTs and POSTs with long entity bodies will cause problems because of the =
extra round trip required by authentication. (&quot;Initial&quot; means whe=
n first request on a connection is PUT or POST). If the body is indefinite =
length, it may not be able to be recreated. This is a problem with any mult=
i-legged authentication scheme in HTTP. It could be avoided if there were a=
 guaranteed benign request type that could be used to force authentication =
if needed before doing the PUT or POST.<br>


</blockquote>
<br></div></div>
We have<br>
<br>
=A0 Expect: 100-continue<br>
<br>
for that, no?<br>
<br>
Best regards, Julian<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--20cf302acf3c6c409304c50c9731--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:51:02 2012
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 E275311E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.543
X-Spam-Level: 
X-Spam-Status: No, score=-10.543 tagged_above=-999 required=5 tests=[AWL=0.055, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ZJjIOD5YYNWN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:51:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6066411E80A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:51:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEjk-0001GQ-2l for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:51:16 +0000
Resent-Date: Tue, 17 Jul 2012 20:51:16 +0000
Resent-Message-Id: <E1SrEjk-0001GQ-2l@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrEja-0001Fc-1U for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:51:06 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrEjY-0007Y0-2b for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:51:05 +0000
Received: by wgbds1 with SMTP id ds1so3687446wgb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 13:50:37 -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=V6FvWoIvmyJMMEjmCjcQmYA1+12n4m2ZZ0adjWt1Rzg=; b=lt9eP2I+mkdIrB2xJEhxx67RqqNh0GT+8o8J+1E8QebSQ2osOZCWH1cqjC5v4cPVoL Ipnmx9Pc2LPDq0Pd4jBOuiNWiunANA0FlDN9veae+ncDjf0ZXPbIp3BiYWflRXJLpewZ KCFwvtfYU6e+/SzqpdHEG3dFUT32+vqu7F61EfULSVGL1cmS4l7xLGt93jJd2OIfnmkT QO65wNljYozRsPxfhjUQtE8BKs+ZnBKUFaZkTyFGAtog77HGVtUZZs/umiNUG4EAMACV HzFKUaXgse7SbmlazqboFDTyx0qGNpBhdRfF8n43IDDwVWNzneiEqYMhGLURYZFsYO9+ FwJg==
MIME-Version: 1.0
Received: by 10.217.6.194 with SMTP id y44mr203633wes.27.1342558237255; Tue, 17 Jul 2012 13:50:37 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 13:50:37 -0700 (PDT)
In-Reply-To: <CABP7RbcxEYuq+4nSKP2NNpFojosOZmfbX2Uw_azYZoFuWGY7RQ@mail.gmail.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <CABP7RbcxEYuq+4nSKP2NNpFojosOZmfbX2Uw_azYZoFuWGY7RQ@mail.gmail.com>
Date: Tue, 17 Jul 2012 13:50:37 -0700
Message-ID: <CAP+FsNeUdUU+mzHjr0k=xOEJaP0A07-41wmXPuE7Q_65yANsLw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf302acf3cd2673b04c50cb2a0
Received-SPF: pass client-ip=74.125.82.41; envelope-from=grmocg@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrEjY-0007Y0-2b eae3e3dcece0ffc6eef0044e3a20be68
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNeUdUU+mzHjr0k=xOEJaP0A07-41wmXPuE7Q_65yANsLw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14375
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>

--20cf302acf3cd2673b04c50cb2a0
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 10:55 AM, James M Snell <jasnell@gmail.com> wrote:

>
>
> On Tue, Jul 17, 2012 at 10:17 AM, Julian Reschke <julian.reschke@gmx.de>wrote:
>
>> On 2012-07-17 19:02, Gabriel Montenegro wrote:
>>
>>> From: Adrien de Croy [mailto:adrien@qbik.com]
>>>>
>>> ...
>>>
>>>> I agree, and actually I'd be keen to apply this philosphy in both
>>>> directions,
>>>> where no significant resource is transmitted in either direction
>>>> without the
>>>> recipient indicating prior willingness (either by requesting it, or
>>>> indicating
>>>> willingness).  What I'm getting at here is large POST / PUT requests.
>>>>  Currently
>>>> it's a mess esp with auth in the mix.
>>>>
>>>
>>> Along these lines, to help with a  POST/PUT with auth in the mix we
>>> mentioned an idea in our authentication EoI of a lightweight probe:
>>>
>>> http://lists.w3.org/Archives/**Public/ietf-http-wg/**
>>> 2012JulSep/0239.html<http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239.html>
>>> :
>>>
>>> 1.       Lightweight "probe" for POSTs and PUTs.  Initial PUTs and POSTs
>>> with long entity bodies will cause problems because of the extra round trip
>>> required by authentication. ("Initial" means when first request on a
>>> connection is PUT or POST). If the body is indefinite length, it may not be
>>> able to be recreated. This is a problem with any multi-legged
>>> authentication scheme in HTTP. It could be avoided if there were a
>>> guaranteed benign request type that could be used to force authentication
>>> if needed before doing the PUT or POST.
>>>
>>
>> We have
>>
>>   Expect: 100-continue
>>
>> for that, no?
>>
>>
> Heh... I suggested that yesterday and was told that I was being silly.
>
>
You've roughly described the first server push that we played with! :)

The problems we found with this:
1) Often servers will begin sending data before they've computed the
dynamic bit. As a result, you'll need to be able to mention at any time,
that you're going to promise to push something. You can't assume you'll
know the entire list of resources at any point until the request is done,
and you'll wanting to be stuffing bits into the pipe before that happens if
there is dead air.
2) You'll want to promise a push without bloating the fetch latency for the
requested resource. This means that you'll want to send as little as is
possible to identify to the browser what is to be pushed, and after the
main resource has been sent, then begin pushing the rest.
3) Sometimes, you'll want to change your mind. You were pushing a number of
images that the user is going to use, but you discovered that they need
some essential javascript instead. You should be able to interrupt the
lower priority data with the higher priority data so that you soften or
eliminate the effect of non-optimal mentions or ordering of resources in
the page.
4) For some content, sending the first N bytes with a higher priority than
the rest of the resource results in a usable page far sooner. This is very
interesting for many .jpgs and similar resources that can refine as more
data is pushed.

I've been kicking around the idea of a new PUSH* method whose semantics,
> quite literally, are: Here's a bag of bits I want to send you. (*My
> instinct is that POST could work just as well). The PUSH would consist
> initially of a HEADERS frame containing a basic manifest of the content the
> sender wishes to send... Once the manifest is sent, the send sends each bit
> of content preceded by a HEADERS frame that provides the detail of the
> content... essentially a form of multipart entity that uses HEADERS and
> DATA frames for delineation. The HEADERS frame for each piece of content
> would provide information such as ETag, Last-Modified, Content-Location,
> Content-Type and Cache-control for each individual piece of content
> delivered. If the recipient determines that it either already has a
> particular piece of content or doesn't want it for whatever reason, the
> recipient has the option of canceling out of the stream at any time.
>
> Example.. sender wants to push two items... recipient oks the transfer ...
> note that the sender doesn't have to wait for the SYN_REPLY to begin
> sending the data...
>
> => SYN_STREAM (:method=PUSH)
> => HEADERS (
>      Content:[
>        (Content-Location: ..., ETag: ...),
>        (Content-Location: ....,ETag: ...)
>    )
>
> <= SYN_REPLY (:status: OK)
>
> => HEADERS (
>      Content-Location: ...,
>      Content-Type: ...,
>      ETag: ....,
>      Last-Modified: ....)
>
> => DATA
> => DATA
> => DATA
>
> => HEADERS (
>      Content-Location: ...,
>      Content-Type: ...,
>      ETag: ....,
>      Last-Modified: ....)
>
> => DATA
> => DATA
> => DATA (fin)
>
> <= DATA (fin)
>
> This approach work in both directions... e.g. server-push and client-push
> (uploading files). It also provides the recipient with enough additional
> information to handle caching, and gives the recipient the opportunity to
> tell the sender no. To be useful, the manifest would need to have enough
> useful information to allow the recipient to determine if it needs the
> content or not (e.g. is the same version already cached?).
>
> Yes, this adds significant complexity to the problem so I'm not sure if
> this strategy would work or not but I'm experimenting with it at least.
>

cool!


>
> Server push is good, but the client needs to be allowed to opt out at any
> time.
>

Why?
-=R


>
> - James
>
>
> Best regards, Julian
>>
>>
>>
>>
>>
>>
>

--20cf302acf3cd2673b04c50cb2a0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 10:55 AM, James =
M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=
=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te"><div><div class=3D"h5">On Tue, Jul 17, 2012 at 10:17 AM, Julian Reschke=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:julian.reschke@gmx.de" target=3D"_=
blank">julian.reschke@gmx.de</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div>On 2012-07-17 19:02, Gabriel Monte=
negro wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Adrien de Croy [mailto:<a href=3D"mailto:adrien@qbik.com" target=3D"_=
blank">adrien@qbik.com</a>]<br>
</blockquote>
...<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I agree, and actually I&#39;d be keen to apply this philosphy in both direc=
tions,<br>
where no significant resource is transmitted in either direction without th=
e<br>
recipient indicating prior willingness (either by requesting it, or indicat=
ing<br>
willingness). =A0What I&#39;m getting at here is large POST / PUT requests.=
 =A0Currently<br>
it&#39;s a mess esp with auth in the mix.<br>
</blockquote>
<br>
Along these lines, to help with a =A0POST/PUT with auth in the mix we menti=
oned an idea in our authentication EoI of a lightweight probe:<br>
<br>
<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239=
.html" target=3D"_blank">http://lists.w3.org/Archives/<u></u>Public/ietf-ht=
tp-wg/<u></u>2012JulSep/0239.html</a>:<br>
<br>
1. =A0 =A0 =A0 Lightweight &quot;probe&quot; for POSTs and PUTs. =A0Initial=
 PUTs and POSTs with long entity bodies will cause problems because of the =
extra round trip required by authentication. (&quot;Initial&quot; means whe=
n first request on a connection is PUT or POST). If the body is indefinite =
length, it may not be able to be recreated. This is a problem with any mult=
i-legged authentication scheme in HTTP. It could be avoided if there were a=
 guaranteed benign request type that could be used to force authentication =
if needed before doing the PUT or POST.<br>



</blockquote>
<br></div></div>
We have<br>
<br>
=A0 Expect: 100-continue<br>
<br>
for that, no?<br>
<br></blockquote><div><br></div></div></div><div>Heh... I suggested that ye=
sterday and was told that I was being silly.=A0</div><div><br></div></div><=
/blockquote><div><br></div><div>You&#39;ve roughly described the first serv=
er push that we played with! :)</div>
<div><br></div><div>The problems we found with this:</div><div>1) Often ser=
vers will begin sending data before they&#39;ve computed the dynamic bit. A=
s a result, you&#39;ll need to be able to mention at any time, that you&#39=
;re going to promise to push something. You can&#39;t assume you&#39;ll kno=
w the entire list of resources at any point until the request is done, and =
you&#39;ll wanting to be stuffing bits into the pipe before that happens if=
 there is dead air.</div>
<div>2) You&#39;ll want to promise a push without bloating the fetch latenc=
y for the requested resource. This means that you&#39;ll want to send as li=
ttle as is possible to identify to the browser what is to be pushed, and af=
ter the main resource has been sent, then begin pushing the rest.</div>
<div>3) Sometimes, you&#39;ll want to change your mind. You were pushing a =
number of images that the user is going to use, but you discovered that the=
y need some essential javascript instead. You should be able to interrupt t=
he lower priority data with the higher priority data so that you soften or =
eliminate the effect of non-optimal mentions or ordering of resources in th=
e page.=A0</div>
<div>4) For some content, sending the first N bytes with a higher priority =
than the rest of the resource results in a usable page far sooner. This is =
very interesting for many .jpgs and similar resources that can refine as mo=
re data is pushed.=A0</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><d=
iv></div><div>I&#39;ve been kicking around the idea of a new PUSH* method w=
hose semantics, quite literally, are: Here&#39;s a bag of bits I want to se=
nd you. (*My instinct is that POST could work just as well). The PUSH would=
 consist initially of a HEADERS frame containing a basic manifest of the co=
ntent the sender wishes to send... Once the manifest is sent, the send send=
s each bit of content preceded by a HEADERS frame that provides the detail =
of the content... essentially a form of multipart entity that uses HEADERS =
and DATA frames for delineation. The HEADERS frame for each piece of conten=
t would provide information such as ETag, Last-Modified, Content-Location, =
Content-Type and Cache-control for each individual piece of content deliver=
ed. If the recipient determines that it either already has a particular pie=
ce of content or doesn&#39;t want it for whatever reason, the recipient has=
 the option of canceling out of the stream at any time.</div>


<div><br></div><div>Example.. sender wants to push two items... recipient o=
ks the transfer ... note that the sender doesn&#39;t have to wait for the S=
YN_REPLY to begin sending the data...=A0</div><div><br></div><div>=3D&gt; S=
YN_STREAM (:method=3DPUSH)</div>


<div>=3D&gt; HEADERS (</div><div>=A0 =A0 =A0Content:[</div><div>=A0 =A0 =A0=
 =A0(Content-Location: ..., ETag: ...),</div><div>=A0 =A0 =A0 =A0(Content-L=
ocation: ....,ETag: ...)</div><div>=A0 =A0)</div><div><br></div><div>&lt;=
=3D SYN_REPLY (:status: OK)</div>


<div><br></div><div>=3D&gt; HEADERS (</div><div>=A0 =A0 =A0Content-Location=
: ...,</div><div>=A0 =A0 =A0Content-Type: ...,</div><div>=A0 =A0 =A0ETag: .=
...,</div><div>=A0 =A0 =A0Last-Modified: ....)</div><div><br></div><div>=3D=
&gt; DATA</div><div>=3D&gt; DATA</div>


<div>=3D&gt; DATA</div><div><br></div><div><div>=3D&gt; HEADERS (</div><div=
>=A0 =A0 =A0Content-Location: ...,</div><div>=A0 =A0 =A0Content-Type: ...,<=
/div><div>=A0 =A0 =A0ETag: ....,</div><div>=A0 =A0 =A0Last-Modified: ....)<=
/div><div><br></div><div>


=3D&gt; DATA</div><div>=3D&gt; DATA</div><div>=3D&gt; DATA (fin)</div></div=
><div><br></div><div>&lt;=3D DATA (fin)</div><div>=A0</div><div>This approa=
ch work in both directions... e.g. server-push and client-push (uploading f=
iles). It also provides the recipient with enough additional information to=
 handle caching, and gives the recipient the opportunity to tell the sender=
 no. To be useful, the manifest would need to have enough useful informatio=
n to allow the recipient to determine if it needs the content or not (e.g. =
is the same version already cached?).=A0</div>


<div><br></div><div>Yes, this adds significant complexity to the problem so=
 I&#39;m not sure if this strategy would work or not but I&#39;m experiment=
ing with it at least.=A0</div></div></blockquote><div><br></div><div>cool!<=
/div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><di=
v><br></div><div>Server push is good, but the client needs to be allowed to=
 opt out at any time.</div>
</div></blockquote><div><br></div><div>Why?</div><div>-=3DR</div><div>=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote">

<div><br></div><div>- James</div><div><br></div><div><br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
Best regards, Julian<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>
</blockquote></div><br>

--20cf302acf3cd2673b04c50cb2a0--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:58:29 2012
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 CC84F21F8499 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:58:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.548
X-Spam-Level: 
X-Spam-Status: No, score=-10.548 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 moSHoqWLO1kj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:58:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2301721F846F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:58:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEqs-00032u-8D for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 20:58:38 +0000
Resent-Date: Tue, 17 Jul 2012 20:58:38 +0000
Resent-Message-Id: <E1SrEqs-00032u-8D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrEqj-00031i-DC for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 20:58:29 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrEqi-00088a-7d for ietf-http-wg@w3.org; Tue, 17 Jul 2012 20:58:29 +0000
Received: by wgbdt14 with SMTP id dt14so698378wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 13:58:01 -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=GCeebZtR6NHSV2aW+N1eqAA2rwseSEIC9ifVSuF5DmU=; b=g3EgdOS8LsksZxGJKyY4IxwH+XrEdBd1ZNNuR+ckJxzdV3v9WU8Ry5XfMe7zFwQBkm 10VwhRvLUzLaRiO3y8jZD34Fv6N0Zpq1JZQVyFHPqvYmWE4wfrNfePiNkxumk9ZjmA78 LxTTdT1YFt6fjEMzzAbG2cXOggS7ZdwcJ/Gm04MqfR7K/H/kM6VZYWyFP7r5V7NX+YiJ dU5o4XvfxLc44G1Zf8yTqL9OZCdWE8h8+1U/YpPPX3xuZHt/nidzOP8uMEnzP81WVWg4 HHU5wON05zF13xriKj5hvkTf3m2Eqf0Atm5UaoBs5Px4NVm/DHUL27pKpRMfJ8yX/xrE cOgA==
MIME-Version: 1.0
Received: by 10.216.213.37 with SMTP id z37mr231266weo.132.1342558681681; Tue, 17 Jul 2012 13:58:01 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 13:58:01 -0700 (PDT)
In-Reply-To: <5005CB8C.2000802@gmx.de>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de>
Date: Tue, 17 Jul 2012 13:58:01 -0700
Message-ID: <CAP+FsNevVGh0ri7NaFvv5p_1CPxueocFcXFwmBMH+5Y5MT6F=w@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Osama Mazahir <OSAMAM@microsoft.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6dab1404fd11a04c50ccd97
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrEqi-00088a-7d 7b12fc0f1686ba44c0bad2945a856853
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNevVGh0ri7NaFvv5p_1CPxueocFcXFwmBMH+5Y5MT6F=w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14376
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>

--0016e6dab1404fd11a04c50ccd97
Content-Type: text/plain; charset=ISO-8859-1

I don't think the spec itself is broken; it is just difficult to get the
web as a whole to do it right, probably because it totally breaks
request-response assumptions. :(
-=R

On Tue, Jul 17, 2012 at 1:31 PM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2012-07-17 21:45, Osama Mazahir wrote:
>
>> As it is currently, 100-continue is problematic.  The situation is tricky
>> because the client is not forced to wait for the 100/417/4xx (i.e. client
>> is allowed to timeout and send the entity body).  Thus, the server does not
>> have a deterministic way to now if the next byte after the double CRLF is
>> the first byte of the next request or the first byte of the entity body (of
>> the initial request).  This results in connections getting closed in
>> various edge/error cases.
>>
>> 100-continue is almost there but if we wanted to use it in a robust
>> manner in HTTP2 then I think we would have to revisit its specification.
>> ...
>>
>
> Well, we are revising RFC 2616, and if something is broken here we should
> consider to fix it. Or, minimally, document the problem.
>
> If I understand correctly, this will happen if the client sends "Expect:
> 100-continue", the server is slow to return an error status, and the client
> decides to give up waiting for the 100 status, and continues?
>
> Best regards, Julian
>
>
>
>

--0016e6dab1404fd11a04c50ccd97
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I don&#39;t think the spec itself is broken; it is just difficult to get th=
e web as a whole to do it right, probably because it totally breaks request=
-response assumptions. :(<div>-=3DR<br><br><div class=3D"gmail_quote">On Tu=
e, Jul 17, 2012 at 1:31 PM, Julian Reschke <span dir=3D"ltr">&lt;<a href=3D=
"mailto:julian.reschke@gmx.de" target=3D"_blank">julian.reschke@gmx.de</a>&=
gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On 2012-07-17 21:45, Osama Mazahir wrote:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
As it is currently, 100-continue is problematic. =A0The situation is tricky=
 because the client is not forced to wait for the 100/417/4xx (i.e. client =
is allowed to timeout and send the entity body). =A0Thus, the server does n=
ot have a deterministic way to now if the next byte after the double CRLF i=
s the first byte of the next request or the first byte of the entity body (=
of the initial request). =A0This results in connections getting closed in v=
arious edge/error cases.<br>

<br>
100-continue is almost there but if we wanted to use it in a robust manner =
in HTTP2 then I think we would have to revisit its specification.<br>
...<br>
</blockquote>
<br>
Well, we are revising RFC 2616, and if something is broken here we should c=
onsider to fix it. Or, minimally, document the problem.<br>
<br>
If I understand correctly, this will happen if the client sends &quot;Expec=
t: 100-continue&quot;, the server is slow to return an error status, and th=
e client decides to give up waiting for the 100 status, and continues?<br>

<br>
Best regards, Julian<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--0016e6dab1404fd11a04c50ccd97--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 13:59:51 2012
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 99ABC11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:59:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.505
X-Spam-Level: 
X-Spam-Status: No, score=-9.505 tagged_above=-999 required=5 tests=[AWL=1.094, BAYES_00=-2.599, 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 P2N2EHWIE6US for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 13:59:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 036E721F8491 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 13:59:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEsV-0006sQ-1F for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:00:19 +0000
Resent-Date: Tue, 17 Jul 2012 21:00:19 +0000
Resent-Message-Id: <E1SrEsV-0006sQ-1F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrEsK-0006o1-Kp for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:00:08 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrEsF-0008C0-Gi for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:00:08 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6HKxMBN004715; Tue, 17 Jul 2012 22:59:22 +0200
Date: Tue, 17 Jul 2012 22:59:22 +0200
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Osama Mazahir <OSAMAM@microsoft.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120717205922.GA4338@1wt.eu>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5005CB8C.2000802@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrEsF-0008C0-Gi 0bf8172f5224da0481a77528ef64e21c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120717205922.GA4338@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14377
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 Tue, Jul 17, 2012 at 10:31:08PM +0200, Julian Reschke wrote:
> On 2012-07-17 21:45, Osama Mazahir wrote:
> >As it is currently, 100-continue is problematic.  The situation is 
> >tricky because the client is not forced to wait for the 100/417/4xx 
> >(i.e. client is allowed to timeout and send the entity body).  Thus, the 
> >server does not have a deterministic way to now if the next byte after 
> >the double CRLF is the first byte of the next request or the first byte 
> >of the entity body (of the initial request).  This results in 
> >connections getting closed in various edge/error cases.
> >
> >100-continue is almost there but if we wanted to use it in a robust 
> >manner in HTTP2 then I think we would have to revisit its specification.
> >...
> 
> Well, we are revising RFC 2616, and if something is broken here we 
> should consider to fix it. Or, minimally, document the problem.
> 
> If I understand correctly, this will happen if the client sends "Expect: 
> 100-continue", the server is slow to return an error status, and the 
> client decides to give up waiting for the 100 status, and continues?

I don't see how it is possible to send a next request without first sending
the entity body, the message is not complete until it has been sent as a
whole; the problem could only happen if the server wished to reject the
expectation (4xx).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:01:40 2012
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 2659E11E80B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:01:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 pUa-1d3Td7sY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:01:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7A9BF11E80B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:01:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrEuB-00078J-Mp for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:02:03 +0000
Resent-Date: Tue, 17 Jul 2012 21:02:03 +0000
Resent-Message-Id: <E1SrEuB-00078J-Mp@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrEu2-00077X-Tc for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:01:54 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrEu1-0007qg-It for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:01:54 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6HL1Nxw011222 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jul 2012 21:01:25 GMT
References: <13869.1342554599@critter.freebsd.dk> <5005C7FC.8010405@zinks.de> <5005CDCF.6030806@gmx.de>
In-Reply-To: <5005CDCF.6030806@gmx.de>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Tue, 17 Jul 2012 17:01:23 -0400
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrEu1-0007qg-It d097b9436fa36a9526e01501fefffef6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14378
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>

Le 17 juil. 2012 =E0 16:40, Julian Reschke a =E9crit :
> OMG; that sounds so sane that the only thing I can complain about is =
the "x-" prefixed header field :-)

:) wait a minute

GET / HTTP/1.1
Host: www.example.org
Capabilities: <http://example.com/acmeCom/new/shiny/browser/23>

What is happening when example.org meets the client

1.  for the first time, example.org might download the URI which might =
be huge. It means big latency for replying to the client with the right =
content.

2. to avoid that example.org will be clever, they will cache the =
capabilities file and do negotiation on the URI becoming an ID.

3. Some business will start by selling list of URIs and capabilities =
files (the thing which is happening), create Databases.


* Some business will be abandoned. Databases will not be updated. Future =
fail
* The cache system will not be maintained. future fail.
* Some scripts will use the URL-ID (new useragent string) to block, =
filter, redirect.

Basically exactly back to the same situation we have today.


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:05:03 2012
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 F31EE11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:05:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.95
X-Spam-Level: 
X-Spam-Status: No, score=-8.95 tagged_above=-999 required=5 tests=[AWL=1.649, BAYES_00=-2.599, 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 FsgNFiygwzF5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:05:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7126521F84C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:05:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrExJ-0000Ax-1t for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:05:17 +0000
Resent-Date: Tue, 17 Jul 2012 21:05:17 +0000
Resent-Message-Id: <E1SrExJ-0000Ax-1t@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrExA-00009j-6x for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:05:08 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrEx9-0008Ib-2E for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:05:08 +0000
Received: (qmail invoked by alias); 17 Jul 2012 21:04:40 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp019) with SMTP; 17 Jul 2012 23:04:40 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18r8Ew1ZwArvLL/7Iax8Ije0fufC/kx0GIrdsiFyF sUEj/SrN7NckdR
Message-ID: <5005D365.6010307@gmx.de>
Date: Tue, 17 Jul 2012 23:04:37 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Osama Mazahir <OSAMAM@microsoft.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu>
In-Reply-To: <20120717205922.GA4338@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrEx9-0008Ib-2E dce0682dea09a8a4bd7a1fafdefc4ebf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/5005D365.6010307@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14379
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 2012-07-17 22:59, Willy Tarreau wrote:
> On Tue, Jul 17, 2012 at 10:31:08PM +0200, Julian Reschke wrote:
>> On 2012-07-17 21:45, Osama Mazahir wrote:
>>> As it is currently, 100-continue is problematic.  The situation is
>>> tricky because the client is not forced to wait for the 100/417/4xx
>>> (i.e. client is allowed to timeout and send the entity body).  Thus, the
>>> server does not have a deterministic way to now if the next byte after
>>> the double CRLF is the first byte of the next request or the first byte
>>> of the entity body (of the initial request).  This results in
>>> connections getting closed in various edge/error cases.
>>>
>>> 100-continue is almost there but if we wanted to use it in a robust
>>> manner in HTTP2 then I think we would have to revisit its specification.
>>> ...
>>
>> Well, we are revising RFC 2616, and if something is broken here we
>> should consider to fix it. Or, minimally, document the problem.
>>
>> If I understand correctly, this will happen if the client sends "Expect:
>> 100-continue", the server is slow to return an error status, and the
>> client decides to give up waiting for the 100 status, and continues?
>
> I don't see how it is possible to send a next request without first sending
> the entity body, the message is not complete until it has been sent as a
> whole; the problem could only happen if the server wished to reject the
> expectation (4xx).

Exactly. So why, *in practice*, would it take the server so long to 
return the 4xx?

(Just trying to understand whether this is a problem in practice, and if 
it is, what we could do about it -- recommend a minimal timeout?)

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:09:15 2012
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 5712721F84FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:09:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.387
X-Spam-Level: 
X-Spam-Status: No, score=-9.387 tagged_above=-999 required=5 tests=[AWL=1.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 I8j5Wmv2NREz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:09:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C27921F84F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:09:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrF1I-0000ag-J8 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:09:24 +0000
Resent-Date: Tue, 17 Jul 2012 21:09:24 +0000
Resent-Message-Id: <E1SrF1I-0000ag-J8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrF19-0000Zz-HA for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:09:15 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrF18-00081o-2j for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:09:15 +0000
Received: by weyx43 with SMTP id x43so583427wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 14:08:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mGSJycg+Zxwpm3G88Lv/VKD1QY5YV1AKaiD8aGoosRg=; b=AHjKgjcH7rSg7e8ArZ2Cx66WmdmiAIX9Pc/ZBtKHRW+64iMvw8mb4Rzh+sxbuglIw3 /xpZn0LZOOBgrYE8fZRxsEoIQAxqZ7dEZq66zcBsyiwmkrCTVGtOIBpaRh7TuAriS/iZ 7QuN+Sey0vviMZRUVzLCKzmDDhqdpu0JQaxbpn+8nULr8LoQEIhMn1l7hyJSRp6NXAxX AngheetqTcX9ElrqTA6dcXwgVjx3tPNXX2vAHe2Htv0eLDWot9an0azxcfs1Zp/mqZEg aTJRI8o85obNA8WXqDrTmNdjyHnz9BAW2E1qWfHhAQdOsWLb/Gv30iH59cIuEKRDpjbi 8fLg==
Received: by 10.216.221.74 with SMTP id q52mr227339wep.181.1342559317840; Tue, 17 Jul 2012 14:08:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 14:08:17 -0700 (PDT)
In-Reply-To: <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com>
References: <13869.1342554599@critter.freebsd.dk> <5005C7FC.8010405@zinks.de> <5005CDCF.6030806@gmx.de> <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 14:08:17 -0700
Message-ID: <CABP7Rbe_s==22ESQZXkFgzezOTg5ORwtiJzSa9npPOUfZKd5aw@mail.gmail.com>
To: Karl Dubost <karld@opera.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca3ad4a604c50cf391
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrF18-00081o-2j 9449515ee872191b8232769bd9170fb3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7Rbe_s==22ESQZXkFgzezOTg5ORwtiJzSa9npPOUfZKd5aw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14380
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>

--0016e6471bca3ad4a604c50cf391
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

+1... I was getting ready to respond to Julian's post with a "+1 YEAH!" but
then stopped and thought about it... using a URI, while potentially sound
in theory, would likely just end up with a different form of the same mess
we're in now. Reducing the User-Agent field to nothing more than a single
token with a version identifier seems to me to be the Least Bad Option.

- James

On Tue, Jul 17, 2012 at 2:01 PM, Karl Dubost <karld@opera.com> wrote:

>
> Le 17 juil. 2012 =C3=A0 16:40, Julian Reschke a =C3=A9crit :
> > OMG; that sounds so sane that the only thing I can complain about is th=
e
> "x-" prefixed header field :-)
>
> :) wait a minute
>
> GET / HTTP/1.1
> Host: www.example.org
> Capabilities: <http://example.com/acmeCom/new/shiny/browser/23>
>
> What is happening when example.org meets the client
>
> 1.  for the first time, example.org might download the URI which might be
> huge. It means big latency for replying to the client with the right
> content.
>
> 2. to avoid that example.org will be clever, they will cache the
> capabilities file and do negotiation on the URI becoming an ID.
>
> 3. Some business will start by selling list of URIs and capabilities file=
s
> (the thing which is happening), create Databases.
>
>
> * Some business will be abandoned. Databases will not be updated. Future
> fail
> * The cache system will not be maintained. future fail.
> * Some scripts will use the URL-ID (new useragent string) to block,
> filter, redirect.
>
> Basically exactly back to the same situation we have today.
>
>
> --
> Karl Dubost - http://dev.opera.com/
> Developer Relations, Opera Software
>
>
>

--0016e6471bca3ad4a604c50cf391
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">+1... I was getting ready to respond t=
o Julian&#39;s post with a &quot;+1 YEAH!&quot; but then stopped and though=
t about it... using a URI, while potentially sound in theory, would likely =
just end up with a different form of the same mess we&#39;re in now. Reduci=
ng the User-Agent field to nothing more than a single token with a version =
identifier seems to me to be the Least Bad Option.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Tu=
e, Jul 17, 2012 at 2:01 PM, Karl Dubost <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:karld@opera.com" target=3D"_blank">karld@opera.com</a>&gt;</span> wrot=
e:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
Le 17 juil. 2012 =C3=A0 16:40, Julian Reschke a =C3=A9crit :<br>
<div class=3D"im">&gt; OMG; that sounds so sane that the only thing I can c=
omplain about is the &quot;x-&quot; prefixed header field :-)<br>
<br>
</div>:) wait a minute<br>
<br>
GET / HTTP/1.1<br>
Host: <a href=3D"http://www.example.org" target=3D"_blank">www.example.org<=
/a><br>
Capabilities: &lt;<a href=3D"http://example.com/acmeCom/new/shiny/browser/2=
3" target=3D"_blank">http://example.com/acmeCom/new/shiny/browser/23</a>&gt=
;<br>
<br>
What is happening when <a href=3D"http://example.org" target=3D"_blank">exa=
mple.org</a> meets the client<br>
<br>
1. =C2=A0for the first time, <a href=3D"http://example.org" target=3D"_blan=
k">example.org</a> might download the URI which might be huge. It means big=
 latency for replying to the client with the right content.<br>
<br>
2. to avoid that <a href=3D"http://example.org" target=3D"_blank">example.o=
rg</a> will be clever, they will cache the capabilities file and do negotia=
tion on the URI becoming an ID.<br>
<br>
3. Some business will start by selling list of URIs and capabilities files =
(the thing which is happening), create Databases.<br>
<br>
<br>
* Some business will be abandoned. Databases will not be updated. Future fa=
il<br>
* The cache system will not be maintained. future fail.<br>
* Some scripts will use the URL-ID (new useragent string) to block, filter,=
 redirect.<br>
<br>
Basically exactly back to the same situation we have today.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Karl Dubost - <a href=3D"http://dev.opera.com/" target=3D"_blank">http://de=
v.opera.com/</a><br>
Developer Relations, Opera Software<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--0016e6471bca3ad4a604c50cf391--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:10:32 2012
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 2B75521F84FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:10:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, 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 yeE1hFPlopHb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:10:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2BAEC21F84FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:10:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrF2j-00024B-MT for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:10:53 +0000
Resent-Date: Tue, 17 Jul 2012 21:10:53 +0000
Resent-Message-Id: <E1SrF2j-00024B-MT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrF2a-00022y-R0 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:10:44 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrF2Z-00084f-Q9 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:10:44 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7D0BD3B5A7; Tue, 17 Jul 2012 21:10:22 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HLAMvY061429; Tue, 17 Jul 2012 21:10:22 GMT (envelope-from phk@phk.freebsd.dk)
To: Karl Dubost <karld@opera.com>
cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 17:01:23 -0400." <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 21:10:22 +0000
Message-ID: <61428.1342559422@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrF2Z-00084f-Q9 0ca20f92b6ff3171a4411b5434ddd37a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/61428.1342559422@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14381
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>

In message <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com>, Karl Dubost writes
:

>GET / HTTP/1.1
>Host: www.example.org
>Capabilities: <http://example.com/acmeCom/new/shiny/browser/23>

>* Some business will be abandoned. Databases will not be updated.
>  Future fail

Too bad ?  It's not like User-Agent strings are always correct
either...

>* The cache system will not be maintained. future fail.

We cannot out-standardize incompetence.

>* Some scripts will use the URL-ID (new useragent string) to block,
>  filter, redirect.

And what is the harm in this ?  If it works, it works, if it doesn't
work, it only hurts the website which took the shortcut...

>Basically exactly back to the same situation we have today.

With one very big difference:  We stop the User-Agent string
from growing another 10 characters every year...

I still think it is a very superior solution to User-Agent,
but it can obviously be modified in various ways to address
some of the concerns you raise (make it IANA registry, 
make it an ISO OID, make a repository for the files etc.)

But given that there is stuff and standards to levarage from
WAP I think we should just make it an URL and leave the
problems to other people to solve.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:12:43 2012
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 2318811E80AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:12:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.552
X-Spam-Level: 
X-Spam-Status: No, score=-10.552 tagged_above=-999 required=5 tests=[AWL=0.046, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 uiXJWcPnc9aS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:12:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D6A1F21F84FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:12:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrF4t-0002W2-Gr for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:13:07 +0000
Resent-Date: Tue, 17 Jul 2012 21:13:07 +0000
Resent-Message-Id: <E1SrF4t-0002W2-Gr@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrF4k-0002Um-DV for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:12:58 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrF4j-000882-8A for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:12:58 +0000
Received: by weyx43 with SMTP id x43so585050wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 14:12:31 -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=/S5HA6KS4jDhIEGnKXnEE8/KFXLZvr85L+iCWzOLdI0=; b=QH3+REmjSCjfh9SjUo6YoORNl5k4nrio/Pp95QX/wKXPrND/u52jz9uQeKUpA1Iu8r lK/hhNp9IA2URnXI7rXmC30VKfhkcsIBe8lnGHX1xijp/1h3+zv+WvcRlh5Fyeog25OG sA8JVx5CWFE5uTMwbgo/LwR12ZyWESb61q/XtoCmg4Et8OkaDSnkHe+0yN/SCkhd4vlR DKpqW4082NuO6zwpzEw/hAjwjjaSPi233cAjm+01TKUjqvelYgRJAGnDDzi623Ws6GYq Z7afav2aykTcZ3UI243eANgR0xXTkZNWQHHYHykZ6l1lxpiE5tUVnJZLaDa2P+bwd9Cs hycA==
MIME-Version: 1.0
Received: by 10.180.97.106 with SMTP id dz10mr825918wib.21.1342559550893; Tue, 17 Jul 2012 14:12:30 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 14:12:30 -0700 (PDT)
In-Reply-To: <5005D365.6010307@gmx.de>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de>
Date: Tue, 17 Jul 2012 14:12:30 -0700
Message-ID: <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Willy Tarreau <w@1wt.eu>, Osama Mazahir <OSAMAM@microsoft.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0442712e1ef05504c50d0178
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrF4j-000882-8A 94a76fca5c5c086b2a25cfbe7ea90522
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14382
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>

--f46d0442712e1ef05504c50d0178
Content-Type: text/plain; charset=ISO-8859-1

Clients want to have small timeouts when possible, partially because of
poor behavior of NATs when they lose the mapping and begin black holing
traffic.
Its all a race.

-=R

On Tue, Jul 17, 2012 at 2:04 PM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2012-07-17 22:59, Willy Tarreau wrote:
>
>> On Tue, Jul 17, 2012 at 10:31:08PM +0200, Julian Reschke wrote:
>>
>>> On 2012-07-17 21:45, Osama Mazahir wrote:
>>>
>>>> As it is currently, 100-continue is problematic.  The situation is
>>>> tricky because the client is not forced to wait for the 100/417/4xx
>>>> (i.e. client is allowed to timeout and send the entity body).  Thus, the
>>>> server does not have a deterministic way to now if the next byte after
>>>> the double CRLF is the first byte of the next request or the first byte
>>>> of the entity body (of the initial request).  This results in
>>>> connections getting closed in various edge/error cases.
>>>>
>>>> 100-continue is almost there but if we wanted to use it in a robust
>>>> manner in HTTP2 then I think we would have to revisit its specification.
>>>> ...
>>>>
>>>
>>> Well, we are revising RFC 2616, and if something is broken here we
>>> should consider to fix it. Or, minimally, document the problem.
>>>
>>> If I understand correctly, this will happen if the client sends "Expect:
>>> 100-continue", the server is slow to return an error status, and the
>>> client decides to give up waiting for the 100 status, and continues?
>>>
>>
>> I don't see how it is possible to send a next request without first
>> sending
>> the entity body, the message is not complete until it has been sent as a
>> whole; the problem could only happen if the server wished to reject the
>> expectation (4xx).
>>
>
> Exactly. So why, *in practice*, would it take the server so long to return
> the 4xx?
>
> (Just trying to understand whether this is a problem in practice, and if
> it is, what we could do about it -- recommend a minimal timeout?)
>
> Best regards, Julian
>
>
>

--f46d0442712e1ef05504c50d0178
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Clients want to have small timeouts when possible, partially because of poo=
r behavior of NATs when they lose the mapping and begin black holing traffi=
c.<div>Its all a race.</div><div><br></div><div>-=3DR<br><br><div class=3D"=
gmail_quote">
On Tue, Jul 17, 2012 at 2:04 PM, Julian Reschke <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:julian.reschke@gmx.de" target=3D"_blank">julian.reschke@gmx.de=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">On 2012-07-17 22:59, Willy Tarreau =
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Tue, Jul 17, 2012 at 10:31:08PM +0200, Julian Reschke wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On 2012-07-17 21:45, Osama Mazahir wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
As it is currently, 100-continue is problematic. =A0The situation is<br>
tricky because the client is not forced to wait for the 100/417/4xx<br>
(i.e. client is allowed to timeout and send the entity body). =A0Thus, the<=
br>
server does not have a deterministic way to now if the next byte after<br>
the double CRLF is the first byte of the next request or the first byte<br>
of the entity body (of the initial request). =A0This results in<br>
connections getting closed in various edge/error cases.<br>
<br>
100-continue is almost there but if we wanted to use it in a robust<br>
manner in HTTP2 then I think we would have to revisit its specification.<br=
>
...<br>
</blockquote>
<br>
Well, we are revising RFC 2616, and if something is broken here we<br>
should consider to fix it. Or, minimally, document the problem.<br>
<br>
If I understand correctly, this will happen if the client sends &quot;Expec=
t:<br>
100-continue&quot;, the server is slow to return an error status, and the<b=
r>
client decides to give up waiting for the 100 status, and continues?<br>
</blockquote>
<br>
I don&#39;t see how it is possible to send a next request without first sen=
ding<br>
the entity body, the message is not complete until it has been sent as a<br=
>
whole; the problem could only happen if the server wished to reject the<br>
expectation (4xx).<br>
</blockquote>
<br></div></div>
Exactly. So why, *in practice*, would it take the server so long to return =
the 4xx?<br>
<br>
(Just trying to understand whether this is a problem in practice, and if it=
 is, what we could do about it -- recommend a minimal timeout?)<br>
<br>
Best regards, Julian<br>
<br>
<br>
</blockquote></div><br></div>

--f46d0442712e1ef05504c50d0178--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:15:58 2012
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 5D78911E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:15:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 sFca-aiav21Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:15:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4A2F11E80A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:15:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrF7t-0005iK-UU for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:16:13 +0000
Resent-Date: Tue, 17 Jul 2012 21:16:13 +0000
Resent-Message-Id: <E1SrF7t-0005iK-UU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrF7l-0005hd-BK for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:16:05 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrF7j-00006m-P3 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:16:05 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6HLFXUk013685 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jul 2012 21:15:35 GMT
References: <61428.1342559422@critter.freebsd.dk>
In-Reply-To: <61428.1342559422@critter.freebsd.dk>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Tue, 17 Jul 2012 17:15:32 -0400
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrF7j-00006m-P3 a61b1da08c68564026e755b250da99a1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14383
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>

Le 17 juil. 2012 =E0 17:10, Poul-Henning Kamp a =E9crit :
> if it doesn't work, it only hurts the website which took the =
shortcut...

nope. It hurts

1. the users=20
2. then the blocked user agent market share.





--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:27:10 2012
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 4800C11E80B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:27:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, 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 2Bbrr5Fmprca for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:27:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BB68E11E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:27:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrFIU-0000pf-Gq for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:27:10 +0000
Resent-Date: Tue, 17 Jul 2012 21:27:10 +0000
Resent-Message-Id: <E1SrFIU-0000pf-Gq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrFIL-0000op-Vu for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:27:02 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrFIL-0000QF-00 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:27:01 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id C20823B753; Tue, 17 Jul 2012 21:26:39 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6HLQdFs061515; Tue, 17 Jul 2012 21:26:39 GMT (envelope-from phk@phk.freebsd.dk)
To: Karl Dubost <karld@opera.com>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 17:15:32 -0400." <A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 17 Jul 2012 21:26:39 +0000
Message-ID: <61514.1342560399@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrFIL-0000QF-00 3f3230462c80e115e38d609b4d4eee08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/61514.1342560399@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14384
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>

In message <A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com>, Karl Dubost writes
:

>nope. It hurts
>
>1. the users
>2. then the blocked user agent market share.

And this is different from today in what way ?

The problem we are trying to solve is transmission efficiency
not that people are morons od make mistakes...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 14:36:04 2012
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 713C911E80BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:36:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.002
X-Spam-Level: 
X-Spam-Status: No, score=-10.002 tagged_above=-999 required=5 tests=[AWL=0.596, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 2oVfcK60al67 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 14:36:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C2C6C11E80BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 14:36:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrFR9-00065G-KP for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 21:36:07 +0000
Resent-Date: Tue, 17 Jul 2012 21:36:07 +0000
Resent-Message-Id: <E1SrFR9-00065G-KP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrFR0-00063S-NR for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 21:35:58 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrFQz-0000Pg-3A for ietf-http-wg@w3.org; Tue, 17 Jul 2012 21:35:58 +0000
Received: by wibhq4 with SMTP id hq4so676357wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 14:35:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7GUntsKT5Y/01ZcuHTSePU/8B7ClB3yc+lqmDxJq8ms=; b=0jzHR4rZ6WDZJJ61pEvPPfTNNsytkRp2Qjp4JbVqRJF3Z9WK6m+wUQB0MAu7VTbX+1 5P1d6zj0CCkUs4EfslLEBkuV+6BFTdFft90MmRSvZvD07mXi6jZPR8WP0p4cL6fjKXLD kVeFyA0vaVr9cU0xwRWHZdX0OmczSuGrGjrLXCwmJVmkZd3tN1gVYba487O9ucrED62c haUs60Vbn1kcITmFjRh5fKsbPo8Hmeerdhj96+Lhpmd8g74+Mcq68HjL+CFiNB0D+bSZ zGsqTcX1TjnzPMYtQvzPKZ8lHigMeTQavKUBYIdvCRVKWBEGtlVBNRLAphswB1xxN8XX waxw==
Received: by 10.180.84.104 with SMTP id x8mr769053wiy.20.1342560930579; Tue, 17 Jul 2012 14:35:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 14:35:10 -0700 (PDT)
In-Reply-To: <61514.1342560399@critter.freebsd.dk>
References: <A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com> <61514.1342560399@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 14:35:10 -0700
Message-ID: <CABP7RbeUxF811Y_uCSyaTD1-5dTcWPOLUo8ATqm8ifRVYG7amQ@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Karl Dubost <karld@opera.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043bd7585b437b04c50d5354
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrFQz-0000Pg-3A ec39b86c0c0c080064f2fff4bcf11302
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbeUxF811Y_uCSyaTD1-5dTcWPOLUo8ATqm8ifRVYG7amQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14385
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>

--f46d043bd7585b437b04c50d5354
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 2:26 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com>, Karl Dubost
> writes
> :
>
> >nope. It hurts
> >
> >1. the users
> >2. then the blocked user agent market share.
>
> And this is different from today in what way ?
>
> The problem we are trying to solve is transmission efficiency
> not that people are morons od make mistakes...
>
>
If it's only about transmission efficiency, then using a URI doesn't really
help matters much, to be honest. If we specified the use of a URI, more
often than not, the URI would be used as nothing more than an opaque
identifier at best. Dereferencing the URI would quickly become viewed as
Something Not To Do. If an application needs anything more than a simple
identifier, they always have the option of using an extension header.

- James


> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d043bd7585b437b04c50d5354
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 2:26 PM, Poul-Hennin=
g Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" target=
=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

In message &lt;<a href=3D"mailto:A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera=
.com">A48B3FD1-FB28-4057-B2E1-1FBA7F66B3D1@opera.com</a>&gt;, Karl Dubost w=
rites<br>
<div class=3D"im">:<br>
<br>
&gt;nope. It hurts<br>
&gt;<br>
&gt;1. the users<br>
&gt;2. then the blocked user agent market share.<br>
<br>
</div>And this is different from today in what way ?<br>
<br>
The problem we are trying to solve is transmission efficiency<br>
not that people are morons od make mistakes...<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br></div><div>If it&#39;s only about transmission efficiency, then using a =
URI doesn&#39;t really help matters much, to be honest. If we specified the=
 use of a URI, more often than not, the URI would be used as nothing more t=
han an opaque identifier at best. Dereferencing the URI would quickly becom=
e viewed as Something Not To Do. If an application needs anything more than=
 a simple identifier, they always have the option of using an extension hea=
der.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"HOEnZb"><div class=3D"h5">
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br>

--f46d043bd7585b437b04c50d5354--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 15:13:03 2012
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 909F421F8530 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:13:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[AWL=-1.000, BAYES_00=-2.599, J_BACKHAIR_22=1, J_BACKHAIR_24=1, 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 H0d8Q1XmWlE7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:13:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C8CC21F852A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 15:13:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrG0Y-0007HK-Cs for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 22:12:42 +0000
Resent-Date: Tue, 17 Jul 2012 22:12:42 +0000
Resent-Message-Id: <E1SrG0Y-0007HK-Cs@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <prvs=0545d3e59d=doug@fb.com>) id 1SrG0O-0007Fy-5m for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 22:12:32 +0000
Received: from mx0b-00082601.pphosted.com ([67.231.153.30] helo=mx0a-00082601.pphosted.com) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <prvs=0545d3e59d=doug@fb.com>) id 1SrG0M-0001dr-N0 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 22:12:32 +0000
Received: from pps.filterd (m0004060 [127.0.0.1]) by mx0b-00082601.pphosted.com (8.14.4/8.14.4) with SMTP id q6HM98Nu023135; Tue, 17 Jul 2012 15:11:45 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=facebook; bh=LJZ+fOKGkdp96pX4Mq818fqaEBAZE/yqVsYA9kvTarA=; b=m1dpijjfH/YZ3DEL2igL3U7RinFqteToeQuKEZbew3xnp5hxOvWEeVu/wZ1VF9N9wKYi iBxnhTfGcEZN+7AMckV2WWp5P6PCaLM/IV4DXod8EQALDPPEc1LGwCJIlJeWFjSm25SY Fnc5qht+hRDzJUi4ENHAiIVEamDUpC+LdyI= 
Received: from mail.thefacebook.com (corpout1.snc1.tfbnw.net [66.220.144.38]) by mx0b-00082601.pphosted.com with ESMTP id 165dm2gk3d-2 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jul 2012 15:11:45 -0700
Received: from SC-MBX02-1.TheFacebook.com ([fe80::e543:4f2a:16b1:b828]) by sc-hub03.TheFacebook.com ([192.168.18.198]) with mapi id 14.02.0283.003; Tue, 17 Jul 2012 15:11:42 -0700
From: Doug Beaver <doug@fb.com>
To: "'Willy Tarreau'" <w@1wt.eu>
CC: "'ietf-http-wg@w3.org'" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: Ac1iOpqx4DFzpXgsRBy8qFt4jRKlkgAVAlMAAHZa2PA=
Date: Tue, 17 Jul 2012 22:11:41 +0000
Message-ID: <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu>
In-Reply-To: <20120715063504.GU16256@1wt.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.168.18.252]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.260,0.0.0000 definitions=2012-07-17_05:2012-07-17,2012-07-17,1970-01-01 signatures=0
X-Proofpoint-Spam-Reason: safe
Received-SPF: pass client-ip=67.231.153.30; envelope-from=prvs=0545d3e59d=doug@fb.com; helo=mx0a-00082601.pphosted.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrG0M-0001dr-N0 b01df6dccf441dff5172d8cce241fc3d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14386
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 Willy,

Thank you for your reply.

I should note that Facebook's EOI was written by myself and Brian Pane; Bri=
an
is the lead engineer on our SPDY efforts and has been doing a lot of work t=
o
prepare our HTTP stack for multiplexed operation. Brian has thought more ab=
out
some of your protocol questions than I have, so I think he'll step in and
offer his thoughts.

I have some thoughts on the encryption issue which I'll share below. These
thoughts aren't the official position of Facebook, they are my own opinion.

Hopefully my reply will answer most of the questions that have been raised =
on
this thread though.

> I don't want to start the encryption debate in this thread, but since you
> have a fairly balanced approach, I'd like to note that at the moment, alm=
ost
> 100% of stolen user information is been done on encryption-protected
> services, whether it is bank account credentials or webmail credentials o=
r
> information.  The issue always comes from malware running on the PC,
> infecting the browser and stealing the information at the human interface=
.
> However, users feel safer because they see the SSL lock. And it's not alw=
ays
> the browser, as there was a report of stolen webmail information in TLS
> traffic in a certain country when a CA was broken and new certs for a num=
ber
> of large sites were emitted.

Here's my thoughts on mandating transport encryption:

  * The SSL/TLS/CA ecosystem is flawed, but it's the most widely deployed
    system we have for securing web traffic. We shouldn't let the flaws in =
the
    current system stop us from advocating for more user privacy; in fact
    greater pressure on the CA system from a crypto mandate would probably
    lead to reforms there.

  * SSL/TLS doesn't do a lot to address targeted attacks against one user
    (e.g. malware, spear-phishing, etc) but it helps guard against
    surveillance and censorship of large user populations. While there are
    weaknesses with the CA system that make it possible for governments and
    organizations to issue rogue certs in targeted cases, it is very diffic=
ult
    to deploy rogue certs globally for all web traffic for all users. Put
    simply, the more widely that SSL/TLS is used, the greater chance that
    users will have privacy in their online communications.
   =20
  * SSL/TLS stops "helpful" transparent proxies from intercepting your
    unencrypted traffic and doing things with it that you didn't ask them t=
o.
    Encryption keeps these proxies honest, all they can do is choose whethe=
r
    or not to forward your connection.=20

  * Symmetric crypto costs are not much higher; I think Akamai quoted 10-20=
%
    in their response. I think the costs aren't a big deal for major sites;=
 if
    you are large enough to care about performance, you are large enough to
    support session resumption, which cuts out the CPU cost of most
    handshakes. Rather, it's a much more interesting question for the very
    small operators and very small embedded devices. For example, if I have=
 a
    thermostat in my fridge that wants to report temperature and power usag=
e
    information somewhere central, it might be onerous to require it to spe=
ak
    crypto in order to talk to a web server today. I just think that it won=
't
    be onerous tomorrow.

  * Monetary cost of the certs is not an issue. You can get free (or cheap)=
 DV
    certs, so hobbyist sites and non-profits would not be locked out from t=
he
    web due to lack of access to cheap certs, and even if they were, I expe=
ct
    the market will produce a CA whose costs will meet that user demand. Fo=
r
    EV cert prices, I expect that the market will continue to optimize thos=
e;
    there has been a steady decline in EV cert prices over the years. Eithe=
r
    way, if you're large enough to require an EV cert, you have other
    infrastructure costs to bear as well (power, rent, hardware, network
    connectivity, domain registration, etc).

The Internet has always been about the (mostly) free expression of ideas, b=
oth
in terms of monetary cost and personal freedom in what you can say. I actua=
lly
think it's pretty amazing that we have the Internet at all; if you look at =
all
the civilizations that have existed in human history, not many of them woul=
d
have built something that offered so much freedom for people to communicate
with each other and publish their ideas and beliefs. However, we now live i=
n a
time where a sizable fraction of humanity uses the Web to communicate daily=
,
and that makes those people a very lucrative target.

I also think it is useful to understand why people object to the idea of
mandated transport encryption as well. Critiques include the extra resource
usage, the high cost of certs, the extra round trips, and the broken CA sys=
tem
(to name a few), while others react against the idea of forcing a mandate
itself and thus having protocols push political agendas.

I think all those positions can be valid. I just happen to think that even
given all the above, it is still better to mandate encryption and give bett=
er
privacy to Internet users than it is to punt the ball down the field anothe=
r
twenty years.

> Also, you said that it could make things harder for you, but did you
> evaluate only the front access or also the protocol used between your loa=
d
> balancers and backend servers ? I'm asking because there is a difference
> between mandating the use of encryption in browsers and designing the
> protocol based on this. For instance, WebSocket has the masking flag
> mandatory on upstream traffic but the protocol supports not having it
> between servers.

Regarding load balancers and resource usage, we looked at three cases:

  * Traffic between LB and user
  * Traffic between LB and LB
  * Traffic between LB and web server

For the LB<->user case, you can remove a lot of handshakes with session
resumption. We are seeing a 80% hit rate for our session caching deployment
which supports server side session caching and client side session tickets.
Plus, I would expect that multiplexed protocols hold onto their client sock=
ets
longer since you expect a higher probability of reusing that socket later
(since you've gone from N connections to a given domain to just one
connection). So you end up mostly just paying the symmetric cipher cost.

The LB<->LB case happens when you terminate a user on an edge node close to
them (say London) and tunnel their request to a remote datacenter. This spe=
eds
up the TCP and SSL handshakes since those happen over a low RTT link. If yo=
u
advertise HTTPS capability to your users, it's obvious that you want to spe=
ak
HTTPS between the LB in London and the end user in Liverpool. It is perhaps
less obvious that you also need to encrypt the link between your edge LB in
London and your datacenter in the US, since that traffic will travel over
circuits leased from major carriers (unless you lay your own transoceanic
fiber, and even then, there are techniques for tapping undersea traffic
cables).

For the LB<->LB case, you tend to use persistent connections, so the handsh=
ake
cost is low. This is especially true with multiplexed protocols since you c=
an
fit so much traffic on those sockets; much more traffic than you're ever go=
ing
to fit on a single LB<->user connection. So for these connections, you're
mainly paying the cost of the block level cipher versus the more costly
handshake.

Once you get inside the datacenter, encryption is less important since you
don't have to worry as much about third parties intercepting that traffic.
Still, one would imagine that the datacenter load balancer would still
probably keep persistent connections to the web servers it was balancing it=
s
load across and would enjoy similar handshake amortization as the other two
cases.

So I actually think that the sites with the largest request loads have the
hardest time being against TLS on the resource usage front, especially when
you look at the low cost of running TLS on commodity hardware and the expec=
ted
gains in hardware power over the coming years.

I'm more concerned about very small devices that want to use HTTP to report
usage statistics (thermostats, pressure monitors, industrial sensors, etc).
They might not be able to afford the hardware power to perform TLS. I think
any personal communication devices (feature phones, smart phones, tablets,
laptops, desktops, etc) will always have enough CPU to handle crypto, or wi=
ll
have onboard ASICs that they can offload that crypto to.

> Basically, since all sensible sites already make use of TLS, I don't thin=
k
> we can make them safer by mandating use of TLS for them. However mandatin=
g
> use of TLS will make it harder to work on the backend, it will very often=
 be
> a counter- productive effort which increases costs a lot (cert managing,
> troubleshooting, etc) with no added benefit.

Requiring TLS definitely makes backend work more difficult but I think the
tools will come. A side-effect would probably be that web servers and load
balancers would get better instrumentation. I think Varnish has a nice
implementation with its shared memory ring buffer that's used to log events=
;
you can attach tools to that region and read the events in realtime as the
proxy operates. The model is quite good.

Regarding added benefit, it's true that many major sites are forcing HTTPS
already. However, many are not, and there's also a very long tail of
unencrypted sites out there. I argue that the added benefit is quite large.

> I think that what you're describing here precisely is what WebSocket offe=
rs,
> but I may be wrong, depending on your precise use-cases. It implicitly
> offers server push in the sense you're describing it (push of any data, n=
ot
> HTTP objects), and automatically offers the no-buffering flag because whe=
n
> HTTP gateways switch to WebSocket, they know this is interactive traffic =
and
> stop buffering. I think your description confirms the need to unify the
> transport layer to support both HTTP and WS at the same time in the same
> connection.

Brian Pane has thoughts on WebSocket and SPDY, and I think he can better
comment here.

Regards,

Doug



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 15:32:27 2012
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 F32E611E80C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:32:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.373
X-Spam-Level: 
X-Spam-Status: No, score=-8.373 tagged_above=-999 required=5 tests=[AWL=1.604, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 vzjIZYYbaUo2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:32:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7610B11E80BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 15:32:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrGJY-00010w-34 for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 22:32:20 +0000
Resent-Date: Tue, 17 Jul 2012 22:32:20 +0000
Resent-Message-Id: <E1SrGJY-00010w-34@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrGJL-0000zr-LS for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 22:32:07 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrGJK-0002ay-NX for ietf-http-wg@w3.org; Tue, 17 Jul 2012 22:32:07 +0000
Received: by yenq11 with SMTP id q11so1032447yen.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 15:31:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=+6+m0d8++iusnOGIEP8CHDmgnNRBE8SIRFqGPx56Ei4=; b=jHfiXkbzJiPEbW0bmxyi+8+VplJfrOIKaPfCooeT8zgtN+iSVGgFdFQiGQ2FAnLrrk VAcBwKBfWvtacjrex82XuFyu084/OxPvEKEVt9u3KZOOQExhqXyO595bnRGyonzQPVMh CFjT1HiiQS6JG2bPF+qsTyKZ/HFssVBTD0iHz+5EdOyUEe1bfssTCyBTc1b6EBf1cexh wjYNAFjHijyTbVui07WyMk7BXroflX4UKBPWP6ULNJlv+PTHWIiLKDjIoR4UKwczdlR9 miloprMOKyj9wRHm06NL0RW54RrYw9u3rP3IP7YjBo9FZ1payfX7kgoZwU8Ai07555UK aszQ==
MIME-Version: 1.0
Received: by 10.60.19.232 with SMTP id i8mr5828786oee.35.1342564300857; Tue, 17 Jul 2012 15:31:40 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Tue, 17 Jul 2012 15:31:40 -0700 (PDT)
X-Originating-IP: [24.84.208.217]
In-Reply-To: <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com>
Date: Tue, 17 Jul 2012 15:31:40 -0700
Message-ID: <CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Doug Beaver <doug@fb.com>
Cc: Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQm6bE9ehvDxkTZWv2krCsZpH24p+roeggASU7w0jACW+4qWGHp7pVZSckANDk1EZzonvV4P
Received-SPF: none client-ip=209.85.213.171; envelope-from=tbray@textuality.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrGJK-0002ay-NX 263b78c32d7978d33e372f86f40f9608
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14387
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>

Pulling a really important paragraph out of Doug=92s (long) posting, in
the hope that more people will thus read it.

On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver <doug@fb.com> wrote:

> I think all those positions can be valid. I just happen to think that eve=
n
> given all the above, it is still better to mandate encryption and give be=
tter
> privacy to Internet users than it is to punt the ball down the field anot=
her
> twenty years.

What he said. -T


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 15:33:33 2012
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 2B51F11E80A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.578
X-Spam-Level: 
X-Spam-Status: No, score=-10.578 tagged_above=-999 required=5 tests=[AWL=0.020, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 M7kboVybSFGI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:33:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C6D4211E80CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 15:33:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrGKx-0001Cj-2B for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 22:33:47 +0000
Resent-Date: Tue, 17 Jul 2012 22:33:47 +0000
Resent-Message-Id: <E1SrGKx-0001Cj-2B@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1SrGKl-00018H-G7 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 22:33:35 +0000
Received: from ch1ehsobe003.messaging.microsoft.com ([216.32.181.183] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1SrGKh-0002dU-4N for ietf-http-wg@w3.org; Tue, 17 Jul 2012 22:33:35 +0000
Received: from mail29-ch1-R.bigfish.com (10.43.68.225) by CH1EHSOBE012.bigfish.com (10.43.70.62) with Microsoft SMTP Server id 14.1.225.23; Tue, 17 Jul 2012 22:33:03 +0000
Received: from mail29-ch1 (localhost [127.0.0.1])	by mail29-ch1-R.bigfish.com (Postfix) with ESMTP id 75CC82A0214;	Tue, 17 Jul 2012 22:33:03 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -23
X-BigFish: VS-23(zz98dI9371I936eIc85fhzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25hf0ah107ah)
Received-SPF: pass (mail29-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=OSAMAM@microsoft.com; helo=TK5EX14HUBC103.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail29-ch1 (localhost.localdomain [127.0.0.1]) by mail29-ch1 (MessageSwitch) id 1342564381508915_29411; Tue, 17 Jul 2012 22:33:01 +0000 (UTC)
Received: from CH1EHSMHS020.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.239])	by mail29-ch1.bigfish.com (Postfix) with ESMTP id 75B831C004A;	Tue, 17 Jul 2012 22:33:01 +0000 (UTC)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS020.bigfish.com (10.43.70.20) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 17 Jul 2012 22:33:01 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC103.redmond.corp.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 17 Jul 2012 22:33:00 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Tue, 17 Jul 2012 15:32:59 -0700
From: Osama Mazahir <OSAMAM@microsoft.com>
To: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>
CC: Willy Tarreau <w@1wt.eu>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZEBdQ3SeKuKFpUqhZgQdGMlY05ct2LOQgACKVgCAAAfjAIAAAXeAgAACNAD//5KxsA==
Date: Tue, 17 Jul 2012 22:32:58 +0000
Message-ID: <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de>	<20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com>
In-Reply-To: <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: multipart/alternative; boundary="_000_3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3TK5EX14MBXW604w_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.183; envelope-from=OSAMAM@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrGKh-0002dU-4N d8583ddbca414617f16c49ea7d93b243
X-Original-To: ietf-http-wg@w3.org
Subject: RE: usability of 100-continue, was: HTTP2 Expression of Interest :  Squid
Archived-At: <http://www.w3.org/mid/3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14388
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>

--_000_3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3TK5EX14MBXW604w_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

It's not broken as long as we are OK that the connection has to be closed u=
pon expectation rejection (for non-chunked entity-body).

Based on my understanding, the client must close the connection if the serv=
er replied with a 4xx [1] against a non-chunked request.  Which makes sense=
 as it ensures message integrity on a persistent connection [2].  Essential=
ly, we break the ambiguity by having the server assume that the next byte (=
after the CRLFCRLF) will be entity-body.  If the client timed out and blast=
ed the entity-body, then the server can drain it and drop on the floor so a=
s to start parsing the next request.  If the client didn't timeout then it =
can close the connection and start a new one for the next request (or perha=
ps even deliberately send the entity-body if it believes it is cheaper to s=
end the irrelevant entity-body instead of warming a new connection).  If th=
e entity-body was chunked, then the client can 0-terminate it and start the=
 next request [1].

My concern was whether using 100-continue as the mechanism for an auth-prob=
e is really the best approach.  It might make the world simpler if, in HTTP=
/2.0, 100-continue didn't have timeouts, which would also increase connecti=
on persistence (because after server sends 4xx, server would deterministica=
lly know that the next received byte will be the start of the next request =
and the client is not forced close the connection).  Sending a POST with "E=
xpect:100-continue", getting a 401 back and then having to close the connec=
tion seems poor [3].

I don't think we need to design a solution right now, but instead just real=
ize that some solution for auth-probing might be a good idea.

[1] http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6=
.4.2
[2] "In order to remain persistent ...": http://tools.ietf.org/html/draft-i=
etf-httpbis-p1-messaging-20#section-6.3.2.1
[3] I realize this may not be relevant if initiating a new request/stream/c=
hannel/etc is super cheap.

From: Roberto Peon [mailto:grmocg@gmail.com]
Sent: Tuesday, July 17, 2012 2:13 PM
To: Julian Reschke
Cc: Willy Tarreau; Osama Mazahir; Gabriel Montenegro; Adrien de Croy; Poul-=
Henning Kamp; Amos Jeffries; ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest :=
 Squid

Clients want to have small timeouts when possible, partially because of poo=
r behavior of NATs when they lose the mapping and begin black holing traffi=
c.
Its all a race.

-=3DR
On Tue, Jul 17, 2012 at 2:04 PM, Julian Reschke <julian.reschke@gmx.de<mail=
to:julian.reschke@gmx.de>> wrote:
On 2012-07-17 22:59, Willy Tarreau wrote:
On Tue, Jul 17, 2012 at 10:31:08PM +0200, Julian Reschke wrote:
On 2012-07-17 21:45, Osama Mazahir wrote:
As it is currently, 100-continue is problematic.  The situation is
tricky because the client is not forced to wait for the 100/417/4xx
(i.e. client is allowed to timeout and send the entity body).  Thus, the
server does not have a deterministic way to now if the next byte after
the double CRLF is the first byte of the next request or the first byte
of the entity body (of the initial request).  This results in
connections getting closed in various edge/error cases.

100-continue is almost there but if we wanted to use it in a robust
manner in HTTP2 then I think we would have to revisit its specification.
...

Well, we are revising RFC 2616, and if something is broken here we
should consider to fix it. Or, minimally, document the problem.

If I understand correctly, this will happen if the client sends "Expect:
100-continue", the server is slow to return an error status, and the
client decides to give up waiting for the 100 status, and continues?

I don't see how it is possible to send a next request without first sending
the entity body, the message is not complete until it has been sent as a
whole; the problem could only happen if the server wished to reject the
expectation (4xx).

Exactly. So why, *in practice*, would it take the server so long to return =
the 4xx?

(Just trying to understand whether this is a problem in practice, and if it=
 is, what we could do about it -- recommend a minimal timeout?)

Best regards, Julian



--_000_3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3TK5EX14MBXW604w_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">It&#8217;s not broken as =
long as we are OK that the connection has to be closed upon expectation rej=
ection (for non-chunked entity-body).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Based on my understanding=
, the client must close the connection if the server replied with a 4xx [1]=
 against a non-chunked request.&nbsp; Which makes sense as it
 ensures message integrity on a persistent connection [2].&nbsp; Essentiall=
y, we break the ambiguity by having the server assume that the next byte (a=
fter the CRLFCRLF) will be entity-body.&nbsp; If the client timed out and b=
lasted the entity-body, then the server can
 drain it and drop on the floor so as to start parsing the next request.&nb=
sp; If the client didn&#8217;t timeout then it can close the connection and=
 start a new one for the next request (or perhaps even deliberately send th=
e entity-body if it believes it is cheaper
 to send the irrelevant entity-body instead of warming a new connection).&n=
bsp; If the entity-body was chunked, then the client can 0-terminate it and=
 start the next request [1].<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">My concern was whether us=
ing 100-continue as the mechanism for an auth-probe is really the best appr=
oach.&nbsp; It might make the world simpler if, in HTTP/2.0,
 100-continue didn&#8217;t have timeouts, which would also increase connect=
ion persistence (because after server sends 4xx, server would deterministic=
ally know that the next received byte will be the start of the next request=
 and the client is not forced close the
 connection).&nbsp; Sending a POST with &#8220;Expect:100-continue&#8221;, =
getting a 401 back and then having to close the connection seems poor [3].<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I don&#8217;t think we ne=
ed to design a solution right now, but instead just realize that some solut=
ion for auth-probing might be a good idea.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[1]
<a href=3D"http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#se=
ction-6.4.2">
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6.4.2=
</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[2] &#8220;In order to re=
main persistent &#8230;&#8221;:
<a href=3D"http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#se=
ction-6.3.2.1">
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6.3.2=
.1</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[3] I realize this may no=
t be relevant if initiating a new request/stream/channel/etc is super cheap=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Roberto =
Peon [mailto:grmocg@gmail.com]
<br>
<b>Sent:</b> Tuesday, July 17, 2012 2:13 PM<br>
<b>To:</b> Julian Reschke<br>
<b>Cc:</b> Willy Tarreau; Osama Mazahir; Gabriel Montenegro; Adrien de Croy=
; Poul-Henning Kamp; Amos Jeffries; ietf-http-wg@w3.org<br>
<b>Subject:</b> Re: usability of 100-continue, was: HTTP2 Expression of Int=
erest : Squid<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Clients want to have small timeouts when possible, p=
artially because of poor behavior of NATs when they lose the mapping and be=
gin black holing traffic.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">Its all a race.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">-=3DR<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">On Tue, Jul 17, 2012 at 2:04 PM, Julian Reschke &lt;=
<a href=3D"mailto:julian.reschke@gmx.de" target=3D"_blank">julian.reschke@g=
mx.de</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On 2012-07-17 22:59, Willy Tarreau wrote:<o:p></o:p>=
</p>
<p class=3D"MsoNormal">On Tue, Jul 17, 2012 at 10:31:08PM &#43;0200, Julian=
 Reschke wrote:<o:p></o:p></p>
<p class=3D"MsoNormal">On 2012-07-17 21:45, Osama Mazahir wrote:<o:p></o:p>=
</p>
<p class=3D"MsoNormal">As it is currently, 100-continue is problematic. &nb=
sp;The situation is<br>
tricky because the client is not forced to wait for the 100/417/4xx<br>
(i.e. client is allowed to timeout and send the entity body). &nbsp;Thus, t=
he<br>
server does not have a deterministic way to now if the next byte after<br>
the double CRLF is the first byte of the next request or the first byte<br>
of the entity body (of the initial request). &nbsp;This results in<br>
connections getting closed in various edge/error cases.<br>
<br>
100-continue is almost there but if we wanted to use it in a robust<br>
manner in HTTP2 then I think we would have to revisit its specification.<br=
>
...<o:p></o:p></p>
<p class=3D"MsoNormal"><br>
Well, we are revising RFC 2616, and if something is broken here we<br>
should consider to fix it. Or, minimally, document the problem.<br>
<br>
If I understand correctly, this will happen if the client sends &quot;Expec=
t:<br>
100-continue&quot;, the server is slow to return an error status, and the<b=
r>
client decides to give up waiting for the 100 status, and continues?<o:p></=
o:p></p>
<p class=3D"MsoNormal"><br>
I don't see how it is possible to send a next request without first sending=
<br>
the entity body, the message is not complete until it has been sent as a<br=
>
whole; the problem could only happen if the server wished to reject the<br>
expectation (4xx).<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Exactly. So why, *in =
practice*, would it take the server so long to return the 4xx?<br>
<br>
(Just trying to understand whether this is a problem in practice, and if it=
 is, what we could do about it -- recommend a minimal timeout?)<br>
<br>
Best regards, Julian<br>
<br>
<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3TK5EX14MBXW604w_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 15:36:48 2012
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 6AAD711E80B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:36:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 QoN8cVQkPFau for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:36:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D63DC11E80CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 15:36:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrGOH-0002u9-Ik for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 22:37:13 +0000
Resent-Date: Tue, 17 Jul 2012 22:37:13 +0000
Resent-Message-Id: <E1SrGOH-0002u9-Ik@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SrGO8-0002tO-7L for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 22:37:04 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SrGO6-0002Ws-R3 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 22:37:04 +0000
Received: by ggmi1 with SMTP id i1so1035568ggm.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 15:36:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7JR+jAzO6kRPcf26pun+1/C/BCr3JT64Iqgq4Tj9SuQ=; b=GlHKIcf1klXu+AU1g7e2Uu9elcS3FUPvVQYR+iSvYXiOC20GP9oWXmpNfddDYCU57h uNh5KzDVbztwE3ySXyCNQHqz0B3vUGze5NFdfyhDpw8CFA7XCpPrmXW7WusBJ5N7ezpR fSRB9r3eqkUdDcJ0MZi2ynbQEerbghxyh+a0BpE9TqEQhwGC6FvQKzIJioGWi8eD3wK1 qgq3YJ3AatxymCndsP3/gTdNpRvV1VErGcowRJQJfPs7jrunQZ4mrxmWBnn/xM/AoC+F 5SNTWpV3YGExLS9FaRCR/gr+PHniNJDzMaMc00ZXnqej0iQftNgJ0XzGnR7WYeINysFa ExCg==
MIME-Version: 1.0
Received: by 10.66.83.164 with SMTP id r4mr74460pay.18.1342564596802; Tue, 17 Jul 2012 15:36:36 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.143.145.12 with HTTP; Tue, 17 Jul 2012 15:36:36 -0700 (PDT)
In-Reply-To: <CAG47hGYd352UsBdwF0ka0Ve9Wf3Dh+56eDS2DFuAFTs1+F4iWg@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com> <CAG47hGYd352UsBdwF0ka0Ve9Wf3Dh+56eDS2DFuAFTs1+F4iWg@mail.gmail.com>
Date: Wed, 18 Jul 2012 08:36:36 +1000
X-Google-Sender-Auth: BEYjnZbrHegwupKrQvrkOYKJ4h8
Message-ID: <CAG47hGZrzxyWuur46DLcxHT_Vr4x2_eY-aQQ=5H+OgWhN477Tg@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: Tim Bray <tbray@textuality.com>
Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.161.171; envelope-from=grahameg@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrGO6-0002Ws-R3 9f69610d6c1ef338f7064f203ee6b196
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAG47hGZrzxyWuur46DLcxHT_Vr4x2_eY-aQQ=5H+OgWhN477Tg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14389
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 think all those positions can be valid. I just happen to think that even
>> given all the above, it is still better to mandate encryption and give better
>> privacy to Internet users than it is to punt the ball down the field another
>> twenty years.
>
> What he said. -T

 so, even when used in an internal application protocol, it's going to
 be end to end
 encrypted to make it super hard to debug? http is about more than users using
 web browsers.

 Grahame


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 15:48:56 2012
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 AAA1521F84FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.034
X-Spam-Level: 
X-Spam-Status: No, score=-11.034 tagged_above=-999 required=5 tests=[AWL=1.564, BAYES_00=-2.599, GB_I_LETTER=-2, HTML_MESSAGE=0.001, 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 0IN6wwYdYWl6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:48:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76BD121F84FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 15:48:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrGZi-0000Ql-GZ for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 22:49:02 +0000
Resent-Date: Tue, 17 Jul 2012 22:49:02 +0000
Resent-Message-Id: <E1SrGZi-0000Ql-GZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrGZZ-0000Py-Lq for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 22:48:53 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrGZY-0003Hn-GZ for ietf-http-wg@w3.org; Tue, 17 Jul 2012 22:48:53 +0000
Received: by wibhq4 with SMTP id hq4so707667wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 15:48:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=lgiS4lofXnSPBSqE5j/oRYF5yePpY1Xv687TqQ8v4kw=; b=Uea8+BdclGWIQ7Vk3Yes5jEbMn2An4aBqjfExNzRHvL4I8zRh7KYl7rShOg5OFjNGd 4kzas/7hkZ+mpsiyxl/iuJcP6IAwHGrPllV6usPh2mXdupmMViNC8bmRtboLp27VUn16 XvYJ/FERHH0bdkxV1Cjp4f3X6EgCTtt3uehY71ST5vDB0k5irn6krpaRLeF8ZKPbY7E/ 1VOYSr+NrHihjv7u49LOT62hAQkUnKFcZX4MdqR1ZfklFLQVuI+BeFr/Xs7eDZ6nHuAN Xoctby8T1e6FwJRVMrgnqQsRlLC90RXYyDHIhz3NrrpCYRHvEf7X/OL4BiLiL221EuQK FVCw==
Received: by 10.180.19.162 with SMTP id g2mr1380951wie.22.1342565305981; Tue, 17 Jul 2012 15:48:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 15:48:05 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 15:48:05 -0700
Message-ID: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec53d5887269bdc04c50e58bc
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrGZY-0003Hn-GZ 97cf2c057f737b138de67203ad0b7eef
X-Original-To: ietf-http-wg@w3.org
Subject: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14390
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>

--bcaec53d5887269bdc04c50e58bc
Content-Type: text/plain; charset=UTF-8

In several of the ongoing discussions there has been mention of the need
for a Session header to replace the use of Cookies for basic session
management. For HTTP/2.0, this seems like a straight forward and smart
thing to do. To start it off, let's define a new header whose value is a
variable length token.

Within HTTP/1.1, it would be something like "Session:
some-random-string-of-letters"

If we go with the current SPDY header structure, the header name should be
something like ":session".

If we ended up using the binary encoded headers I've suggested, the session
could be encoded as:
  [0, 10, 1, 0, 29, 's', 'o', 'm', 'e', ... ]

The semantics would be simple: the Session header can be set by the Client
or Server and communicates the Session identifier for the Stream. Each
Stream can have exactly one Session identifier. The current Session
identifier in a stream can be changed by sending a new Session header. To
resume a session, the Session header would be added to the SYN_STREAM.

Obviously this does nothing to address the security issues but it, at the
very least, should help us to reduce the reliance on cookies.

- James

--bcaec53d5887269bdc04c50e58bc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">In several of the ongoing discussions =
there has been mention of the need for a Session header to replace the use =
of Cookies for basic session management. For HTTP/2.0, this seems like a st=
raight forward and smart thing to do. To start it off, let&#39;s define a n=
ew header whose value is a variable length token.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Within HTTP/1.1, it would be something like &quot;Sess=
ion: some-random-string-of-letters&quot;</font></div><div><font face=3D"cou=
rier new,monospace"><br>

</font></div><div><font face=3D"courier new, monospace">If we go with the c=
urrent SPDY header structure, the header name should be something like &quo=
t;:session&quot;.=C2=A0</font></div><div><font face=3D"courier new, monospa=
ce"><br>

</font></div><div><font face=3D"courier new, monospace">If we ended up usin=
g the binary encoded headers I&#39;ve suggested, the session could be encod=
ed as:</font></div><div><font face=3D"courier new, monospace">=C2=A0 [0, 10=
, 1, 0, 29, &#39;s&#39;, &#39;o&#39;, &#39;m&#39;, &#39;e&#39;, ... ]</font=
></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">The semantics would be simple: the Session head=
er can be set by the Client or Server and communicates the Session identifi=
er for the Stream. Each Stream can have exactly one Session identifier. The=
 current Session identifier in a stream can be changed by sending a new Ses=
sion header. To resume a session, the Session header would be added to the =
SYN_STREAM.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Obviously this does nothing to address the secu=
rity issues but it, at the very least, should help us to reduce the relianc=
e on cookies.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">- James</font></div>

--bcaec53d5887269bdc04c50e58bc--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 15:54:25 2012
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 1AF4911E80DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:54:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.427
X-Spam-Level: 
X-Spam-Status: No, score=-9.427 tagged_above=-999 required=5 tests=[AWL=1.171, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 8YrUPkIxycr7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 15:54:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E169E11E80CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 15:54:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrGf5-0002F7-OD for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 22:54:35 +0000
Resent-Date: Tue, 17 Jul 2012 22:54:35 +0000
Resent-Message-Id: <E1SrGf5-0002F7-OD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrGew-0002Dy-LZ for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 22:54:26 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrGev-00038h-JD for ietf-http-wg@w3.org; Tue, 17 Jul 2012 22:54:26 +0000
Received: by wgbdt14 with SMTP id dt14so754184wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 15:53:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kxc/458Kjh/fCSgUr3xQEfZTyRi80dzzGCZLBwcP7vA=; b=gKWJs0a7fI6px51psM6xNMurXMbXAvwNjwZbxc81QneXcaq8Ciy5+EeFHSSbWLx0N9 R/U41h6QaA95IyqIZCKXphwkm0eZJrZSQ2Lk+wb/XuYcoh0TMEJqAcv6d3kjRKN4v1l+ pfQDBIFTQDRaaCOh+nKeUMEjMOdH3w36XIENHYa93qckTy/G6nzM69S1833S/GA0Mhwo 1ZVn2EYyDurKRJsGwZhkQqheo9UamVKBDcHh7IYC046TIqRkJtbZ7LoIfU/jkgiZxnQY VuOxvhPklTOkvmKseUwBZAbsTyP83AAJ5FFoYewRJfHitGHvhSNNJeLE5t7bxArbRdO/ 8uZA==
Received: by 10.216.221.74 with SMTP id q52mr380780wep.181.1342565639065; Tue, 17 Jul 2012 15:53:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 15:53:38 -0700 (PDT)
In-Reply-To: <CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 15:53:38 -0700
Message-ID: <CABP7Rbc5fPAz+F2zyRchsFKBP-QnfoVLT8WADte4GSDUOx3jJA@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca010f7204c50e6cd8
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrGev-00038h-JD 42f911bd76ba21003ac601bec97f6e34
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABP7Rbc5fPAz+F2zyRchsFKBP-QnfoVLT8WADte4GSDUOx3jJA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14391
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>

--0016e6471bca010f7204c50e6cd8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Mandatory end-to-end encryption does not make sense. There are countless
scenarios where TLS just isn't necessary. Yes, we can do a better job but
forcing it to be used in scenarios where there is no PII at risk is just
pointless.

- James

On Tue, Jul 17, 2012 at 3:31 PM, Tim Bray <tbray@textuality.com> wrote:

> Pulling a really important paragraph out of Doug=E2=80=99s (long) posting=
, in
> the hope that more people will thus read it.
>
> On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver <doug@fb.com> wrote:
>
> > I think all those positions can be valid. I just happen to think that
> even
> > given all the above, it is still better to mandate encryption and give
> better
> > privacy to Internet users than it is to punt the ball down the field
> another
> > twenty years.
>
> What he said. -T
>
>

--0016e6471bca010f7204c50e6cd8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Mandatory end-to-end encryption does n=
ot make sense. There are countless scenarios where TLS just isn&#39;t neces=
sary. Yes, we can do a better job but forcing it to be used in scenarios wh=
ere there is no PII at risk is just pointless.=C2=A0</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Tu=
e, Jul 17, 2012 at 3:31 PM, Tim Bray <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:tbray@textuality.com" target=3D"_blank">tbray@textuality.com</a>&gt;</spa=
n> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Pulling a really important paragraph out of =
Doug=E2=80=99s (long) posting, in<br>
the hope that more people will thus read it.<br>
<div class=3D"im"><br>
On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver &lt;<a href=3D"mailto:doug@fb.=
com">doug@fb.com</a>&gt; wrote:<br>
<br>
&gt; I think all those positions can be valid. I just happen to think that =
even<br>
&gt; given all the above, it is still better to mandate encryption and give=
 better<br>
&gt; privacy to Internet users than it is to punt the ball down the field a=
nother<br>
&gt; twenty years.<br>
<br>
</div>What he said. -T<br>
<br>
</blockquote></div><br></div>

--0016e6471bca010f7204c50e6cd8--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:09:25 2012
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 D5EB711E80D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:09:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.251
X-Spam-Level: 
X-Spam-Status: No, score=-10.251 tagged_above=-999 required=5 tests=[AWL=0.951, BAYES_00=-2.599, GB_I_LETTER=-2, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, 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 t8rmaCNDFDBB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:09:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A479B11E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:09:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrGt3-000177-UA for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:09:01 +0000
Resent-Date: Tue, 17 Jul 2012 23:09:01 +0000
Resent-Message-Id: <E1SrGt3-000177-UA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrGst-00014S-Ke for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:08:51 +0000
Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a3.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrGsr-0003V8-KD for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:08:51 +0000
Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 779F328406E; Tue, 17 Jul 2012 16:08:28 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=date:subject:from:to :message-id:in-reply-to:mime-version:content-type; q=dns; s= jrn.me.uk; b=jQB9kjx6dn69+k14PV/hp5zRgyID6Zx4ATJcpu/I9n2p3OlzEu3 QaQ2Hepgn4Yi06yywbpYtXgEjNSXRFGIudcnX2AgzNToBeT7rOlglgCzfq+uNYXD MettgrIoS1CN7oYkUlPVfJOUrNKRcdUeurOpoc7llyfklivGup1kates=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=date:subject :from:to:message-id:in-reply-to:mime-version:content-type; s= jrn.me.uk; bh=s9i0TMmHCxyNKJGbNn3bnzwffdY=; b=ZvE1y+qi+z/vMmU7Ak IZDVyH1mE25gmz8PpXuWZoXNeCZSrDPQT6bsxdTv76aDLiqEwydd1E2c6q4WM40/ C37WQK7oGPK6sx04YV//QhwntPPJQRS/M40dQrPcWEymjxqer349RbsHUXSNMUJw U5qbPPJJgj1HTu34HPzE1k2Cs=
Received: from [192.168.1.84] (94-194-232-105.zone8.bethere.co.uk [94.194.232.105]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id 2E25F28406A; Tue, 17 Jul 2012 16:08:24 -0700 (PDT)
User-Agent: Microsoft-MacOutlook/14.2.0.101115
Date: Wed, 18 Jul 2012 00:08:17 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
To: James M Snell <jasnell@gmail.com>, <ietf-http-wg@w3.org>
Message-ID: <CC2BACA6.1C057%jrn@jrn.me.uk>
Thread-Topic: Introducing a Session header...
In-Reply-To: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3425414907_928257"
Received-SPF: none client-ip=208.97.132.66; envelope-from=jrn@jrn.me.uk; helo=homiemail-a3.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SrGsr-0003V8-KD df7644b339fd4a1aa8e22268073601a0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CC2BACA6.1C057%25jrn@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14392
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>

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3425414907_928257
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

Definitely a fan of the idea in principle, but=8A

> Session header can be set by the Client or Server

I can't see a situation in which we want the client dictating a session; a
session should only be started by the server, and only once a session has
been created by the server should the client provide the header on later
streams.


On which note, there's further controls I think we would need; some way of
indicating session maximum lifespan (for example a banking site may want
sessions to expire after 15 minutes even if the browser is now closed) and
scope (for example domain, host, specific paths on host, single URL) are a
must. Security requirements may need to be indicated (TLS only, connections
with a minimum key size, something else)? The ability for the server to
indicate a session is unknown (essentially a mild error case) could be
useful.

There's also the question of logging out; obviously the server could just
forget a session, but it may be useful for it to indicate to the client tha=
t
the session is being dropped and should be forgotten. We may also want to
suggest user agent UI options for logging out (so that there's always a
consistent logout option irrespective of the site).

I'd also be tempted to tighten the definition of a session identifier, to b=
e
a UUID. This may make backwards compatibility trickier, but I think would
encourage use of difficult to guess identifiers by developers who may
otherwise simply hand out sequence numbers, without knowing better.

Thoughts?

Ross

From:  James M Snell <jasnell@gmail.com>
Date:  Tue, 17 Jul 2012 15:48:05 -0700
To:  <ietf-http-wg@w3.org>
Subject:  Introducing a Session header...
Resent-From:  <ietf-http-wg@w3.org>
Resent-Date:  Tue, 17 Jul 2012 22:49:02 +0000

In several of the ongoing discussions there has been mention of the need fo=
r
a Session header to replace the use of Cookies for basic session management=
.
For HTTP/2.0, this seems like a straight forward and smart thing to do. To
start it off, let's define a new header whose value is a variable length
token.

Within HTTP/1.1, it would be something like "Session:
some-random-string-of-letters"

If we go with the current SPDY header structure, the header name should be
something like ":session".

If we ended up using the binary encoded headers I've suggested, the session
could be encoded as:
  [0, 10, 1, 0, 29, 's', 'o', 'm', 'e', ... ]

The semantics would be simple: the Session header can be set by the Client
or Server and communicates the Session identifier for the Stream. Each
Stream can have exactly one Session identifier. The current Session
identifier in a stream can be changed by sending a new Session header. To
resume a session, the Session header would be added to the SYN_STREAM.

Obviously this does nothing to address the security issues but it, at the
very least, should help us to reduce the reliance on cookies.

- James



--B_3425414907_928257
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; "><div style=3D"color: rgb(0, 0, =
0); font-family: 'Times New Roman', sans-serif; font-size: 14px; ">Definitel=
y a fan of the idea in principle, but&#8230;</div><div style=3D"color: rgb(0, =
0, 0); font-family: 'Times New Roman', sans-serif; font-size: 14px; "><br></=
div><div><font class=3D"Apple-style-span" face=3D"Times New Roman,sans-serif">&g=
t; Session header can be set by the Client or Server</font></div><div><font =
class=3D"Apple-style-span" face=3D"Times New Roman,sans-serif"><br></font></div>=
<div><font class=3D"Apple-style-span" face=3D"Times New Roman,sans-serif">I can'=
t see a situation in which we want the client dictating a session; a session=
 should only be started by the server, and only once a session has been crea=
ted by the server should the client provide the header on later streams.</fo=
nt></div><div><font class=3D"Apple-style-span" face=3D"Times New Roman,sans-seri=
f"><br></font></div><div><font class=3D"Apple-style-span" face=3D"Times New Roma=
n,sans-serif"><br></font></div><div><font class=3D"Apple-style-span" face=3D"Tim=
es New Roman,sans-serif">On which note, there's further controls I think we =
would need; some way of indicating session maximum lifespan (for example a b=
anking site may want sessions to expire after 15 minutes even if the browser=
 is now closed) and scope (for example domain, host, specific paths on host,=
 single URL) are a must. Security requirements may need to be indicated (TLS=
 only, connections with a minimum key size, something else)? The ability for=
 the server to indicate a session is unknown (essentially a mild error case)=
 could be useful.</font></div><div><font class=3D"Apple-style-span" face=3D"Time=
s New Roman,sans-serif"><br></font></div><div><font class=3D"Apple-style-span"=
 face=3D"Times New Roman,sans-serif">There's also the question of logging out;=
 obviously the server could just forget a session, but it may be useful for =
it to indicate to the client that the session is being dropped and should be=
 forgotten. We may also want to suggest user agent UI options for logging ou=
t (so that there's always a consistent logout option irrespective of the sit=
e).</font></div><div><font class=3D"Apple-style-span" face=3D"Times New Roman,sa=
ns-serif"><br></font></div><div><font class=3D"Apple-style-span" face=3D"Times N=
ew Roman,sans-serif">I'd also be tempted to tighten the definition of a sess=
ion identifier, to be a UUID. This may make backwards compatibility trickier=
, but I think would encourage use of difficult to guess identifiers by devel=
opers who may otherwise simply hand out sequence numbers, without knowing be=
tter.</font></div><div><font class=3D"Apple-style-span" face=3D"Times New Roman,=
sans-serif"><br></font></div><div><font class=3D"Apple-style-span" face=3D"Times=
 New Roman,sans-serif">Thoughts?</font></div><div><font class=3D"Apple-style-s=
pan" face=3D"Times New Roman,sans-serif"><br></font></div><div><font class=3D"Ap=
ple-style-span" face=3D"Times New Roman,sans-serif">Ross</font></div><div styl=
e=3D"color: rgb(0, 0, 0); font-family: 'Times New Roman', sans-serif; font-siz=
e: 14px; "><br></div><span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0,=
 0); font-size: 14px; font-family: 'Times New Roman', sans-serif; "><div sty=
le=3D"font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDE=
R-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDIN=
G-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT=
: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span=
> James M Snell &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>=
&gt;<br><span style=3D"font-weight:bold">Date: </span> Tue, 17 Jul 2012 15:48:=
05 -0700<br><span style=3D"font-weight:bold">To: </span> &lt;<a href=3D"mailto:i=
etf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br><span style=3D"font-weight:=
bold">Subject: </span> Introducing a Session header...<br><span style=3D"font-=
weight:bold">Resent-From: </span> &lt;<a href=3D"mailto:ietf-http-wg@w3.org">i=
etf-http-wg@w3.org</a>&gt;<br><span style=3D"font-weight:bold">Resent-Date: </=
span> Tue, 17 Jul 2012 22:49:02 +0000<br></div><div><br></div><font face=3D"co=
urier new,monospace">In several of the ongoing discussions there has been me=
ntion of the need for a Session header to replace the use of Cookies for bas=
ic session management. For HTTP/2.0, this seems like a straight forward and =
smart thing to do. To start it off, let's define a new header whose value is=
 a variable length token.</font><div><font face=3D"courier new,monospace"><br>=
</font></div><div><font face=3D"courier new,monospace">Within HTTP/1.1, it wou=
ld be something like "Session: some-random-string-of-letters"</font></div><d=
iv><font face=3D"courier new,monospace"><br></font></div><div><font face=3D"cour=
ier new,monospace">If we go with the current SPDY header structure, the head=
er name should be something like ":session".&nbsp;</font></div><div><font fa=
ce=3D"courier new,monospace"><br></font></div><div><font face=3D"courier new,mon=
ospace">If we ended up using the binary encoded headers I've suggested, the =
session could be encoded as:</font></div><div><font face=3D"courier new,monosp=
ace">&nbsp; [0, 10, 1, 0, 29, 's', 'o', 'm', 'e', ... ]</font></div><div><fo=
nt face=3D"courier new,monospace"><br></font></div><div><font face=3D"courier ne=
w,monospace">The semantics would be simple: the Session header can be set by=
 the Client or Server and communicates the Session identifier for the Stream=
. Each Stream can have exactly one Session identifier. The current Session i=
dentifier in a stream can be changed by sending a new Session header. To res=
ume a session, the Session header would be added to the SYN_STREAM.</font></=
div><div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Obviously this does nothing to address the security=
 issues but it, at the very least, should help us to reduce the reliance on =
cookies.</font></div><div><font face=3D"courier new,monospace"><br></font></di=
v><div><font face=3D"courier new,monospace">- James</font></div></span></body>=
</html>

--B_3425414907_928257--




From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:22:07 2012
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 97F2E21F846F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:22:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.233
X-Spam-Level: 
X-Spam-Status: No, score=-7.233 tagged_above=-999 required=5 tests=[AWL=3.366, BAYES_00=-2.599, 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 LScgIFNCnZJv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:22:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4D8421F846E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:22:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrH5V-0008N6-6Z for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:21:53 +0000
Resent-Date: Tue, 17 Jul 2012 23:21:53 +0000
Resent-Message-Id: <E1SrH5V-0008N6-6Z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SrH5M-0008Lx-Ie for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:21:44 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SrH5L-0004AZ-I5 for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:21:44 +0000
Received: by bkty15 with SMTP id y15so911269bkt.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:21:17 -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=vYDP3ABksi0Mjb0JYheObCeY+bv92EETq4rdC82Oaqc=; b=AlnQzxFle+/lsh3UFvGdpaUajWQqRqINq+9kdaRr2N84v4gRyjP+SY+OxfjznqlV3w Ex9l3brFKOIIQfN03xMYg5KiEM7GaJnKEmFS+4EbT3XiNDxRXOqzQ/hk//SKZqsTjLWC 9QAdErQ+uKHNAd8hufbuKjEnh8CCfgbUCCFJ/bOKUj4Aq02Vv/4IpyiGR0rjXPimpVzs yYY1SXxeyDZ0X220xqIhz4+g35XHN2RjU1Ww+9D67tUGX9/lCUl88xuWjFM9k67NOPu0 iXmp0yel0FmG6X58HqWwmiCC08C3xV2CAStGYW6x7qjgQ3M6R1Pxrc951JQYeIgw8c0B a5Nw==
MIME-Version: 1.0
Received: by 10.204.155.69 with SMTP id r5mr402200bkw.49.1342567276838; Tue, 17 Jul 2012 16:21:16 -0700 (PDT)
Received: by 10.204.66.17 with HTTP; Tue, 17 Jul 2012 16:21:16 -0700 (PDT)
In-Reply-To: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
Date: Tue, 17 Jul 2012 16:21:16 -0700
Message-ID: <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrH5L-0004AZ-I5 ed512fe906bcf1067aa025c0fec1fef4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14393
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 17 July 2012 15:48, James M Snell <jasnell@gmail.com> wrote:
> In several of the ongoing discussions there has been mention of the need for
> a Session header to replace the use of Cookies for basic session management.

Just because everyone does it and wants it, it doesn't mean that it is
suddenly a good idea.

It might end up being a necessary idea, but don't mistake necessary
for good or for compatible with the architecture of HTTP.  If
something like this happens, the goal should be to minimize
crappiness.

All this looks like so far is a constrained syntax Cookie, which is
far less useful than a Cookie and so I see no reason for it to be used
over a Cookie, which you will have to support anyway...

--Martin


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:28:40 2012
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 C742011E80E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:28:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.676
X-Spam-Level: 
X-Spam-Status: No, score=-11.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2, HTML_MESSAGE=0.001, 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 XIHibj9OwlQs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:28:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D835E11E80B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:28:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHCB-0001jH-Bg for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:28:47 +0000
Resent-Date: Tue, 17 Jul 2012 23:28:47 +0000
Resent-Message-Id: <E1SrHCB-0001jH-Bg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ifette@google.com>) id 1SrHC1-0001gT-G4 for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:28:37 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ifette@google.com>) id 1SrHC0-0004R2-CV for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:28:37 +0000
Received: by obqv19 with SMTP id v19so1377259obq.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:28:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-system-of-record; bh=aMGyOoRKCrSQqm9XfmqYrdZf3P8kko3yQdQPM9ozx6o=; b=bxEehsUXM8f6IaUFgtlDBL7YzdownJS2UkFgctnDfv8xzGAw1/JsQ03yFyXdeYh+8a qNc24FNXwsGmt0slXCYN8EarDurlbdICtqYdTwVe40ms71IOwJvX89LR5NRLozuuSdz3 gTw7CrZS1gi7dvV6pOhcDO+6ddQZ6FXNaVmEp0XWlCFZYdaQpt3C0WGpgvRTqkatDdBz OTYAAjm9+T3rViG1YthkYSZMK2ElOs55D1P6bM+Ubo0r5BhbA0DqBVVgpUKC9RDhAAsO 6QeduVnA1lcm2BK0HuPb5uXzvMB/+pu5EsHTgVu/3ae6Ei5Ex8rHO4PPQZyQHSR4im7W YhIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-system-of-record:x-gm-message-state; bh=aMGyOoRKCrSQqm9XfmqYrdZf3P8kko3yQdQPM9ozx6o=; b=PVHcL67wkHG1tnfTyqeYJ0kbLkR9kXnS8Fjsrw8dDkoZCn3y+9aosIv1aFx6s7LXWu TwT8smFoGcFmHGLQenk4hERVPUsUab8Tok1PcK8QHgKw7MEf9VkcBBHjmJAGjQACrNQv MKkIsCiVurpTCQrn/20mLE2w/od5xqf4GhOzrDyjQPRlf0RNspRH4MGdFpRNZQuTksmw TX7G/CaSRJnicrSoVVE0C0AEF7wTUJDWIihPFauClI1+5B/ahD9dJNTnz6D7o7GcL2Xs PZbh8yeVp6w3Xoro6jF4Jd6svV3ZCy6WGciNOvZlQQkUwvDK7rNsaQ0evG8/dbSaRqod 2KJQ==
Received: by 10.182.136.74 with SMTP id py10mr6116535obb.27.1342567689910; Tue, 17 Jul 2012 16:28:09 -0700 (PDT)
Received: by 10.182.136.74 with SMTP id py10mr6116514obb.27.1342567689622; Tue, 17 Jul 2012 16:28:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.80.68 with HTTP; Tue, 17 Jul 2012 16:28:08 -0700 (PDT)
Reply-To: ifette@google.com
In-Reply-To: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
From: =?UTF-8?B?SWFuIEZldHRlICjjgqTjgqLjg7Pjg5Xjgqfjg4Pjg4bjgqMp?= <ifette@google.com>
Date: Tue, 17 Jul 2012 16:28:08 -0700
Message-ID: <CAF4kx8dNpEPgJEjW-j0kXHd7TN859Bwi_O1EUfcziB-twE9oSg@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f5039c83a17fa04c50ee673
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkrwftmfFCejDWYmZRlu4G2aIAXGyhHtc2DesGGQL6NIfzjE1OifBYOtnnLiCyVPiOTKTb0KX54rmkY0zNrpsSDbBa6i8XfRFmTFCH8UlnAJcS9uRqZv6mxF4kgJUxiYLknzwOzqlDKZJDLUBbbu46padUt9Bg6bgsCG4Reg3JLCE62+SKZoQdgwA79V5Blf6/WYyxd
Received-SPF: pass client-ip=209.85.214.171; envelope-from=ifette@google.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrHC0-0004R2-CV b730f89e48c7ee7be885667854ef4729
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAF4kx8dNpEPgJEjW-j0kXHd7TN859Bwi_O1EUfcziB-twE9oSg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14394
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>

--e89a8f5039c83a17fa04c50ee673
Content-Type: text/plain; charset=UTF-8

FWIW many browsers are in the midst of trying to get rid of the notion of a
"session". What does it mean nowadays? If we need to restart the browser to
apply a security update, why should that end a session if we restore the
tabs that the user had open? What does a session mean on mobile, or for
users who leave tabs lingering for a long period of time?

I think it's safe to say we would prefer to axe the notion of "sessions"
rather than further propagate it.

-Ian

On Tue, Jul 17, 2012 at 3:48 PM, James M Snell <jasnell@gmail.com> wrote:

> In several of the ongoing discussions there has been mention of the need
> for a Session header to replace the use of Cookies for basic session
> management. For HTTP/2.0, this seems like a straight forward and smart
> thing to do. To start it off, let's define a new header whose value is a
> variable length token.
>
> Within HTTP/1.1, it would be something like "Session:
> some-random-string-of-letters"
>
> If we go with the current SPDY header structure, the header name should be
> something like ":session".
>
> If we ended up using the binary encoded headers I've suggested, the
> session could be encoded as:
>   [0, 10, 1, 0, 29, 's', 'o', 'm', 'e', ... ]
>
> The semantics would be simple: the Session header can be set by the Client
> or Server and communicates the Session identifier for the Stream. Each
> Stream can have exactly one Session identifier. The current Session
> identifier in a stream can be changed by sending a new Session header. To
> resume a session, the Session header would be added to the SYN_STREAM.
>
> Obviously this does nothing to address the security issues but it, at the
> very least, should help us to reduce the reliance on cookies.
>
> - James
>

--e89a8f5039c83a17fa04c50ee673
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

FWIW many browsers are in the midst of trying to get rid of the notion of a=
 &quot;session&quot;. What does it mean nowadays? If we need to restart the=
 browser to apply a security update, why should that end a session if we re=
store the tabs that the user had open? What does a session mean on mobile, =
or for users who leave tabs lingering for a long period of time?<div>

<br></div><div>I think it&#39;s safe to say we would prefer to axe the noti=
on of &quot;sessions&quot; rather than further propagate it.</div><div><br>=
</div><div>-Ian<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 3=
:48 PM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail=
.com" target=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">In seve=
ral of the ongoing discussions there has been mention of the need for a Ses=
sion header to replace the use of Cookies for basic session management. For=
 HTTP/2.0, this seems like a straight forward and smart thing to do. To sta=
rt it off, let&#39;s define a new header whose value is a variable length t=
oken.</font><div>



<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Within HTTP/1.1, it would be something like &quot;Sess=
ion: some-random-string-of-letters&quot;</font></div><div><font face=3D"cou=
rier new,monospace"><br>



</font></div><div><font face=3D"courier new, monospace">If we go with the c=
urrent SPDY header structure, the header name should be something like &quo=
t;:session&quot;.=C2=A0</font></div><div><font face=3D"courier new, monospa=
ce"><br>



</font></div><div><font face=3D"courier new, monospace">If we ended up usin=
g the binary encoded headers I&#39;ve suggested, the session could be encod=
ed as:</font></div><div><font face=3D"courier new, monospace">=C2=A0 [0, 10=
, 1, 0, 29, &#39;s&#39;, &#39;o&#39;, &#39;m&#39;, &#39;e&#39;, ... ]</font=
></div>



<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">The semantics would be simple: the Session head=
er can be set by the Client or Server and communicates the Session identifi=
er for the Stream. Each Stream can have exactly one Session identifier. The=
 current Session identifier in a stream can be changed by sending a new Ses=
sion header. To resume a session, the Session header would be added to the =
SYN_STREAM.</font></div>



<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Obviously this does nothing to address the secu=
rity issues but it, at the very least, should help us to reduce the relianc=
e on cookies.</font></div>

<span class=3D"HOEnZb"><font color=3D"#888888">

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">- James</font></div>
</font></span></blockquote></div><br></div>

--e89a8f5039c83a17fa04c50ee673--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:45:06 2012
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 D3A9A11E80D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:45:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.916
X-Spam-Level: 
X-Spam-Status: No, score=-9.916 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 vmff+iqDRvlr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:45:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 521A711E80CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:45:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHRF-0001tQ-Ol for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:44:21 +0000
Resent-Date: Tue, 17 Jul 2012 23:44:21 +0000
Resent-Message-Id: <E1SrHRF-0001tQ-Ol@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrHR6-0001qq-Qp for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:44:12 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrHR5-0004jF-Eb for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:44:12 +0000
Received: by lbom4 with SMTP id m4so1409657lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:43:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=Z3oY53LOvhISFHla4KecxcPSe8rPMEmPD82jdW0DrXo=; b=fPnClkGGuezaDBgfv5PKjczW2WYR6ccLh3pBArBTkJRdiWkEiCZqzKMDNLGqs2BP4g xjxT9qbvAhgeC5VyNYze4R5D/SWPpx8mZSGFWO3lTC/8fo+MRjVTiTbtlOBT4KIBgmD+ d2QLHKPKT5Q3OUpvcf5gsdG+/zxgWm9uegldDmLZlBlhXAeRBDzLgEyLQ3RmkdMChEm2 PylDfGIGIJR4agIecA6iwMxJ/9YuQZLqco3Z8/91kl2yggWr5nJDmMbTczicBLe1BeSC cms835yK/tDWSf8kictEE0bJeH98+K66vBo2MEryJ7d0IinPJuvxrTZk/x184k67P7Vg Geyw==
MIME-Version: 1.0
Received: by 10.152.131.37 with SMTP id oj5mr1004423lab.14.1342568624470; Tue, 17 Jul 2012 16:43:44 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 16:43:44 -0700 (PDT)
In-Reply-To: <CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <CAHBU6ishYYY3NCiqviN7LN6eUTxO+pPi=M1brP2h2ADaW8_yqA@mail.gmail.com>
Date: Tue, 17 Jul 2012 16:43:44 -0700
Message-ID: <CABaLYCvho2xFPsqSgTU5zgpRR9CHdc7GEaH3RY4NbGRwSn3Jbg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Tim Bray <tbray@textuality.com>
Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042c6b8df2bc8704c50f1d19
X-Gm-Message-State: ALoCoQme/f+oXflfjlyedYOi0K5SEDDXD7M6IuFh2pStrySlGFNCkRPLmrV/9h5f3WjBHcaWwHfB
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrHR5-0004jF-Eb 76ae8afe861c7724423523ba88476320
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCvho2xFPsqSgTU5zgpRR9CHdc7GEaH3RY4NbGRwSn3Jbg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14395
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>

--f46d042c6b8df2bc8704c50f1d19
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 3:31 PM, Tim Bray <tbray@textuality.com> wrote:

> Pulling a really important paragraph out of Doug=92s (long) posting, in
> the hope that more people will thus read it.
>
> On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver <doug@fb.com> wrote:
>
> > I think all those positions can be valid. I just happen to think that
> even
> > given all the above, it is still better to mandate encryption and give
> better
> > privacy to Internet users than it is to punt the ball down the field
> another
> > twenty years.
>
> What he said. -T
>

+2

--f46d042c6b8df2bc8704c50f1d19
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 3:31 PM, Tim Bra=
y <span dir=3D"ltr">&lt;<a href=3D"mailto:tbray@textuality.com" target=3D"_=
blank">tbray@textuality.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
Pulling a really important paragraph out of Doug=92s (long) posting, in<br>
the hope that more people will thus read it.<br>
<div class=3D"im"><br>
On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver &lt;<a href=3D"mailto:doug@fb.=
com">doug@fb.com</a>&gt; wrote:<br>
<br>
&gt; I think all those positions can be valid. I just happen to think that =
even<br>
&gt; given all the above, it is still better to mandate encryption and give=
 better<br>
&gt; privacy to Internet users than it is to punt the ball down the field a=
nother<br>
&gt; twenty years.<br>
<br>
</div>What he said. -T<br></blockquote><div><br></div><div>+2</div><div>=A0=
</div></div><br>

--f46d042c6b8df2bc8704c50f1d19--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:46:20 2012
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 98C5111E80D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:46:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.977
X-Spam-Level: 
X-Spam-Status: No, score=-11.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2, 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 ptaiNxi+WZYb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:46:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA3FF11E80CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:46:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHSw-0004tw-7Z for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:46:06 +0000
Resent-Date: Tue, 17 Jul 2012 23:46:06 +0000
Resent-Message-Id: <E1SrHSw-0004tw-7Z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dpranke@google.com>) id 1SrHSm-0004qg-Bg for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:45:56 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dpranke@google.com>) id 1SrHSl-0004ma-DJ for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:45:56 +0000
Received: by obqv19 with SMTP id v19so1397927obq.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:45:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-system-of-record; bh=TJwVQzc95Yzg93fyBPp0tyqGRZGEb0hk8u84nq92xkk=; b=nq586hq9ovS2yKJrGCPLUKPpahJ6W3tCQKZZ375iyTSRIzryfOY6uRCbEqoAjnMYeM LiStAFmQJMazAIZalo4H6aTXtZKxI0gVVhM3mHiOu2yh8ul0TItzBznhKXUxfwFfWoZs xIxFp7ILRvFU+9keya5GEvI8YhaywHwGGCGbEESSWx/w8QMOjC0NKdcevI1PHe4GOAw8 dBS7sVG+gawBGwag7L5+98GBWTPzwWeFo9QV0IzQGgS4LbPA3Nrgr51NO2E6s9PBbskL MnsnhnRff5kQONc48tUfNJqgarU2cj7rjdZrmsEnp1aORaenthOzgC4tT7vWS9PPLYSU NWHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-system-of-record:x-gm-message-state; bh=TJwVQzc95Yzg93fyBPp0tyqGRZGEb0hk8u84nq92xkk=; b=lFi270kSETud//7USfnwbHm3pGlBUg2eZuNU7peGFYEiYLZ1hmD7f/NG9GAnYAjaNK gKVwjbhSWJPb09X4diLQr4qx1pi8vS5EBro03x/1nVBXyZcD6c3HqCrBxfvYV8ZnzM3Z gQdsuat2dUbL5zhq8lTt5ipD48dVK1Jlo8EtlxFkLuS4qZQgh/g6Gs2OfcWX62oxFQ/U VWd/BLbBvxqG5OGGyl6nW25U/bHx2JIesGngv4/vNdldGcG/j2iwHd/rKQuYguEDElgc FQ9XspmJoT3sbtZ0SVnN1M1ExY0B+S9whQcpNJvHVozud2EN5MtmqJbDMCKT2Ap68R6W 07zw==
Received: by 10.182.111.74 with SMTP id ig10mr6141133obb.14.1342568729216; Tue, 17 Jul 2012 16:45:29 -0700 (PDT)
Received: by 10.182.111.74 with SMTP id ig10mr6141113obb.14.1342568728924; Tue, 17 Jul 2012 16:45:28 -0700 (PDT)
MIME-Version: 1.0
Sender: dpranke@google.com
Received: by 10.182.52.7 with HTTP; Tue, 17 Jul 2012 16:45:08 -0700 (PDT)
In-Reply-To: <CAF4kx8dNpEPgJEjW-j0kXHd7TN859Bwi_O1EUfcziB-twE9oSg@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CAF4kx8dNpEPgJEjW-j0kXHd7TN859Bwi_O1EUfcziB-twE9oSg@mail.gmail.com>
From: Dirk Pranke <dpranke@chromium.org>
Date: Tue, 17 Jul 2012 16:45:08 -0700
X-Google-Sender-Auth: TrntE31i3ncnr24qs97T2sXvkH4
Message-ID: <CAEoffTB-pemdey6mr15O9D_60X8aeDG5VPAtbV1baA_iZCq4VQ@mail.gmail.com>
To: ifette@google.com
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQneuZXuKX7bYT2I4XY2qN/yjR2WJqkBKST7U74tJYV0bDva4kF+Y9AChCTV4ikIJedwAzCYhqY+Ei3TI3RCYXFhOFu9jCrW+x9xEXGYI51b1I7bMZhY8nwln5HA6dUBIpBNl87BciXgD0ssSIEw3ctLAVLvtMYLPc5eUdArzOXIs0GvjYfJd73+fOqpNSrX2QLibHhN
Received-SPF: pass client-ip=209.85.214.171; envelope-from=dpranke@google.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrHSl-0004ma-DJ 50e8f7ff8f17a014740b4d084c89d8c8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAEoffTB-pemdey6mr15O9D_60X8aeDG5VPAtbV1baA_iZCq4VQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14396
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 think you/we need to be clear(er) about what you mean by "session",
because I suspect there are several different meanings floating around
in this thread.

-- Dirk

On Tue, Jul 17, 2012 at 4:28 PM, Ian Fette (=E3=82=A4=E3=82=A2=E3=83=B3=E3=
=83=95=E3=82=A7=E3=83=83=E3=83=86=E3=82=A3) <ifette@google.com> wrote:
> FWIW many browsers are in the midst of trying to get rid of the notion of=
 a
> "session". What does it mean nowadays? If we need to restart the browser =
to
> apply a security update, why should that end a session if we restore the
> tabs that the user had open? What does a session mean on mobile, or for
> users who leave tabs lingering for a long period of time?
>
> I think it's safe to say we would prefer to axe the notion of "sessions"
> rather than further propagate it.
>
> -Ian
>
>
> On Tue, Jul 17, 2012 at 3:48 PM, James M Snell <jasnell@gmail.com> wrote:
>>
>> In several of the ongoing discussions there has been mention of the need
>> for a Session header to replace the use of Cookies for basic session
>> management. For HTTP/2.0, this seems like a straight forward and smart t=
hing
>> to do. To start it off, let's define a new header whose value is a varia=
ble
>> length token.
>>
>> Within HTTP/1.1, it would be something like "Session:
>> some-random-string-of-letters"
>>
>> If we go with the current SPDY header structure, the header name should =
be
>> something like ":session".
>>
>> If we ended up using the binary encoded headers I've suggested, the
>> session could be encoded as:
>>   [0, 10, 1, 0, 29, 's', 'o', 'm', 'e', ... ]
>>
>> The semantics would be simple: the Session header can be set by the Clie=
nt
>> or Server and communicates the Session identifier for the Stream. Each
>> Stream can have exactly one Session identifier. The current Session
>> identifier in a stream can be changed by sending a new Session header. T=
o
>> resume a session, the Session header would be added to the SYN_STREAM.
>>
>> Obviously this does nothing to address the security issues but it, at th=
e
>> very least, should help us to reduce the reliance on cookies.
>>
>> - James
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:51:16 2012
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 D041C11E80E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:51:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.112
X-Spam-Level: 
X-Spam-Status: No, score=-10.112 tagged_above=-999 required=5 tests=[AWL=0.486, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 UgfoiCeX9Kel for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:51:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB16D11E80D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:51:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHXc-0006un-Gj for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:50:56 +0000
Resent-Date: Tue, 17 Jul 2012 23:50:56 +0000
Resent-Message-Id: <E1SrHXc-0006un-Gj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrHXS-0006u2-Rj for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:50:46 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrHXR-00052q-Ld for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:50:46 +0000
Received: by wibhq4 with SMTP id hq4so732672wib.8 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:50:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Rl0GmpK5VutwHdkqrRKijeQaeUD04iR/SudQjtXm53E=; b=YHwNP6zn6f1hcQWdJ29wCmOQVEZvWq19SfqQNZa1Sa1ufzKpJx1l/RcYvQRsDQ3OTW D4QzRrpqsEObh7j7RqPlc4kLvcFwdBK0MCFhguLcWEdXkT1NyExImmSJM6ZO7MbO9K6t Y3LqBO4c7bfKHB1pyw7Dp07DnK0AMfLVgeMyxBefPMPev/NRxkNQ0c2TCDquSPv0rSeD bJ6KoJliKovfq1l59/b6bUo3LPiB0Sbwg2mu+OVoZPxVAa2n6F7JO/nOdtfLE/aL6MBy +hAVLOKQRbgPmpKyP+plBA4I4AffNt1HZzGsehuq4WLb0ZjuGQVi6hYBzH2/lLDqVKty Mq/g==
Received: by 10.216.221.74 with SMTP id q52mr452139wep.181.1342569019141; Tue, 17 Jul 2012 16:50:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 16:49:58 -0700 (PDT)
In-Reply-To: <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 16:49:58 -0700
Message-ID: <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6471bca78ef4404c50f3590
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrHXR-00052q-Ld 1371c47547dd2d1090b16ea42e1fd3ad
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14397
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>

--0016e6471bca78ef4404c50f3590
Content-Type: text/plain; charset=UTF-8

This moved off list unintentionally...

---------- Forwarded message ----------
From: James M Snell <jasnell@gmail.com>
Date: Tue, Jul 17, 2012 at 4:48 PM
Subject: Re: Introducing a Session header...
To: Martin Thomson <martin.thomson@gmail.com>


This, without question, would be the right approach... assuming we can
successful move people away from using sessions as a whole. The main
motivation for me on this is making it more efficient to package and
process the bits necessary for basic header operation. If we can drop
session-based routing from the picture, then fantastic.

(While we're at it, can we also eliminate routing based on the request-uri?)

On Tue, Jul 17, 2012 at 4:44 PM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 17 July 2012 16:27, James M Snell <jasnell@gmail.com> wrote:
> > I certainly do not disagree. So, given this strawman, and assuming the
> goal
> > is to constrain crappiness and make things easier for http routers to do
> > their job in the process, what would be a better approach to start from?
>
> I think that Ian has it right.  The most sensible approach is to avoid
> entering the quagmire altogether.  By necessity, we will be able to
> transport cookies and people with therefore continue to use them.  For
> everyone else, don't encourage new abuses of the protocol.
>
> BTW, I'm seeing moves to avoid and even remove stateful routing of
> HTTP.  I work with Azure a lot now and the load balancers there
> purposefully round robin requests with no sessions, cookies, or any
> sort of stickiness.  It's a bold move, the right move, and not one
> that they would have gotten away with 5 years ago.  The world is
> slowly learning.
>
> --Martin
>

--0016e6471bca78ef4404c50f3590
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">This moved off list unintentionally...=
<br></font><br><div class=3D"gmail_quote">---------- Forwarded message ----=
------<br>From: <b class=3D"gmail_sendername">James M Snell</b> <span dir=
=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt;=
</span><br>

Date: Tue, Jul 17, 2012 at 4:48 PM<br>Subject: Re: Introducing a Session he=
ader...<br>To: Martin Thomson &lt;<a href=3D"mailto:martin.thomson@gmail.co=
m">martin.thomson@gmail.com</a>&gt;<br><br><br><font face=3D"courier new,mo=
nospace">This, without question, would be the right approach... assuming we=
 can successful move people away from using sessions as a whole. The main m=
otivation for me on this is making it more efficient to package and process=
 the bits necessary for basic header operation. If we can drop session-base=
d routing from the picture, then fantastic.=C2=A0</font><div>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">(While we&#39;re at it, can we also eliminate routing =
based on the request-uri?)<br></font><div><div class=3D"h5"><br><div class=
=3D"gmail_quote">

On Tue, Jul 17, 2012 at 4:44 PM, Martin Thomson <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gma=
il.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>On 17 July 2012 16:27, James M Snell &l=
t;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com<=
/a>&gt; wrote:<br>



&gt; I certainly do not disagree. So, given this strawman, and assuming the=
 goal<br>
&gt; is to constrain crappiness and make things easier for http routers to =
do<br>
&gt; their job in the process, what would be a better approach to start fro=
m?<br>
<br>
</div>I think that Ian has it right. =C2=A0The most sensible approach is to=
 avoid<br>
entering the quagmire altogether. =C2=A0By necessity, we will be able to<br=
>
transport cookies and people with therefore continue to use them. =C2=A0For=
<br>
everyone else, don&#39;t encourage new abuses of the protocol.<br>
<br>
BTW, I&#39;m seeing moves to avoid and even remove stateful routing of<br>
HTTP. =C2=A0I work with Azure a lot now and the load balancers there<br>
purposefully round robin requests with no sessions, cookies, or any<br>
sort of stickiness. =C2=A0It&#39;s a bold move, the right move, and not one=
<br>
that they would have gotten away with 5 years ago. =C2=A0The world is<br>
slowly learning.<br>
<span><font color=3D"#888888"><br>
--Martin<br>
</font></span></blockquote></div><br></div></div></div>
</div><br>

--0016e6471bca78ef4404c50f3590--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 16:57:25 2012
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 5F0EC11E80E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:57:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.315
X-Spam-Level: 
X-Spam-Status: No, score=-7.315 tagged_above=-999 required=5 tests=[AWL=3.284, BAYES_00=-2.599, 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 t875Kdgc3lKn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 16:57:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CF6D711E80D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 16:57:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHdX-0008UY-Eh for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Jul 2012 23:57:03 +0000
Resent-Date: Tue, 17 Jul 2012 23:57:03 +0000
Resent-Message-Id: <E1SrHdX-0008UY-Eh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SrHdO-0008Ti-Jr for ietf-http-wg@listhub.w3.org; Tue, 17 Jul 2012 23:56:54 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SrHdN-0005Fo-IG for ietf-http-wg@w3.org; Tue, 17 Jul 2012 23:56:54 +0000
Received: by bkty15 with SMTP id y15so921305bkt.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 16:56:27 -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=TJx5NUuK59MU9yb/IL5u+R86BhqLr/g48HvUy6nBmbI=; b=Sy2AN+yL1fzQ/3ygUkHqkJgcyoG35df1xVi0JJZR/DEf0ze3Zl7nndv94+kPe49cjF /4lPPCzBzAIClnjZRAj3czG5mx4JQWNidvV/NpTTzn92w4AeSlmpJ0euuXBsxnx+/Vcn OavfvfcjpEJlIZCUDeMmukFiEbjSiLV5qnVhmY1ru6pvrMy4x+SOmlXl+o5yT+wmEeDh OC0xCpboWcRRr8/jls8CP0E8MakVzlPx3S3UqX0bktcU2i+qUHnmg61u6WKvU2sWVPKg 8nWPyfcd1RS6VZAMyBz46nZa3g25VtFaKlbOn04pvB4Wxn0jCo+buonynrsL5QjiIG4l yHmQ==
MIME-Version: 1.0
Received: by 10.205.123.134 with SMTP id gk6mr475971bkc.3.1342569386846; Tue, 17 Jul 2012 16:56:26 -0700 (PDT)
Received: by 10.204.66.17 with HTTP; Tue, 17 Jul 2012 16:56:26 -0700 (PDT)
In-Reply-To: <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com>
Date: Tue, 17 Jul 2012 16:56:26 -0700
Message-ID: <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrHdN-0005Fo-IG 26680df339c382008ed75db4b21f3f15
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14398
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 17 July 2012 16:49, James M Snell <jasnell@gmail.com> wrote:
> This moved off list unintentionally...

Ahh, oops.  I thought it was intentional.

> assuming we can successful move people away from using sessions as a whole

Who are you trying to kid?  Cookies are here to stay.  It's just that
anyone with any sense will avoid them.

> (While we're at it, can we also eliminate routing based on the request-uri?)

Why would you ever want to do that?  That's an important feature.  At
least it is stateless.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:05:47 2012
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 4DF3C21F84F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:05:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.465
X-Spam-Level: 
X-Spam-Status: No, score=-9.465 tagged_above=-999 required=5 tests=[AWL=1.133, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 8ANH-x-CI7yl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:05:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5BAB721F84F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:05:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHll-0004tS-Ll for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:05:33 +0000
Resent-Date: Wed, 18 Jul 2012 00:05:33 +0000
Resent-Message-Id: <E1SrHll-0004tS-Ll@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrHlT-0004sX-Hn for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:05:15 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrHlS-0005Xf-FD for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:05:15 +0000
Received: by wgbdt14 with SMTP id dt14so784677wgb.26 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 17:04:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wi8ZqND6L1iEgQCxR+w8FVRUIgDPiMXFFAksGZnvE68=; b=gO2Goi0cUdO/tp6Qnwkd5OdltThbW2CTO+0s0r+TVVGQBXIXyBdcPcdKfvaGLlpoRF VxrdZr4MqXGXudMjRaF2iNq2yJtmDMtQIWMp0MgH/BHl/MGkq2vL20QqTIWO+yNA2Orz yEEgNqulYGbewyPPAHIo6wVNy0/uE4MBUPfeQmbcUwJ91Dl4E73GYkdzKjXCjS+U4GNr ykcvMvUSdi7B9pih3VqHswTtVDu/1ZrC4kiAgBikNSH+/O1UaLYsCWK+OvDl+zYaqLY3 TQK5JiSrHsvVCjywej8QXRpyEPaDrMKaQO+gImyqen3VoKcIT7AsD4kt4pZoq3+uT/nY RwHQ==
Received: by 10.216.138.200 with SMTP id a50mr491386wej.155.1342569887840; Tue, 17 Jul 2012 17:04:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 17:04:27 -0700 (PDT)
In-Reply-To: <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com> <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 17:04:27 -0700
Message-ID: <CABP7RbcriYiYyWsP4P6EsP_cZw+3bxUesYb36XjsjCGzcUL0Tg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d7e7374039c804c50f69da
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrHlS-0005Xf-FD 42870f0218a24d236fca23102aae7d6c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7RbcriYiYyWsP4P6EsP_cZw+3bxUesYb36XjsjCGzcUL0Tg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14399
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>

--0016e6d7e7374039c804c50f69da
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 4:56 PM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 17 July 2012 16:49, James M Snell <jasnell@gmail.com> wrote:
> > This moved off list unintentionally...
>
> Ahh, oops.  I thought it was intentional.
>
> > assuming we can successful move people away from using sessions as a
> whole
>
> Who are you trying to kid?  Cookies are here to stay.  It's just that
> anyone with any sense will avoid them.
>
>
Yes... sadly, I know. One can dream.


> > (While we're at it, can we also eliminate routing based on the
> request-uri?)
>
> Why would you ever want to do that?  That's an important feature.  At
> least it is stateless.
>

A variety of reasons, really, but nothing that's likely to sway any
opinions ;-) ... by far the more important thing is: IF session-based
routing continues to be a "feature", we should do what we can to break to
reliance on cookies (as much as possible anyway). If, however, the general
movement is (quite thankfully) away from session-based routing, then
beautiful, I'm happy.

- James

--0016e6d7e7374039c804c50f69da
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 4:56 PM, Martin Thomson <span dir=3D"ltr">&lt;<=
a href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson=
@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 17 July 2012 16:49, Jam=
es M Snell &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&g=
t; wrote:<br>


&gt; This moved off list unintentionally...<br>
<br>
</div>Ahh, oops. =C2=A0I thought it was intentional.<br>
<div class=3D"im"><br>
&gt; assuming we can successful move people away from using sessions as a w=
hole<br>
<br>
</div>Who are you trying to kid? =C2=A0Cookies are here to stay. =C2=A0It&#=
39;s just that<br>
anyone with any sense will avoid them.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>Yes... sadly, =
I know. One can dream.</div><div>=C2=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div class=3D"im">


&gt; (While we&#39;re at it, can we also eliminate routing based on the req=
uest-uri?)<br>
<br>
</div>Why would you ever want to do that? =C2=A0That&#39;s an important fea=
ture. =C2=A0At<br>
least it is stateless.<br>
</blockquote></div><br><div>A variety of reasons, really, but nothing that&=
#39;s likely to sway any opinions ;-) ... by far the more important thing i=
s: IF session-based routing continues to be a &quot;feature&quot;, we shoul=
d do what we can to break to reliance on cookies (as much as possible anywa=
y). If, however, the general movement is (quite thankfully) away from sessi=
on-based routing, then beautiful, I&#39;m happy.=C2=A0</div>

<div><br></div><div>- James</div>

--0016e6d7e7374039c804c50f69da--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:07:09 2012
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 393F221F84F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.579
X-Spam-Level: 
X-Spam-Status: No, score=-10.579 tagged_above=-999 required=5 tests=[AWL=-0.021, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, 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 revyaoGIltI4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:07:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71AB021F84F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:07:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHnH-00056X-NW for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:07:07 +0000
Resent-Date: Wed, 18 Jul 2012 00:07:07 +0000
Resent-Message-Id: <E1SrHnH-00056X-NW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paulle@microsoft.com>) id 1SrHn7-00055m-OP for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:06:57 +0000
Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <paulle@microsoft.com>) id 1SrHn6-0005af-JJ for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:06:57 +0000
Received: from mail196-ch1-R.bigfish.com (10.43.68.244) by CH1EHSOBE004.bigfish.com (10.43.70.54) with Microsoft SMTP Server id 14.1.225.23; Wed, 18 Jul 2012 00:06:30 +0000
Received: from mail196-ch1 (localhost [127.0.0.1])	by mail196-ch1-R.bigfish.com (Postfix) with ESMTP id E858B2A0224;	Wed, 18 Jul 2012 00:06:29 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zz98dI9371Ic89bh936eI542M1432Izz1202hzz8275dhz2fh2a8h668h839h93fhd25hf0ah107ah)
Received-SPF: pass (mail196-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=paulle@microsoft.com; helo=TK5EX14HUBC101.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail196-ch1 (localhost.localdomain [127.0.0.1]) by mail196-ch1 (MessageSwitch) id 1342569987733862_18854; Wed, 18 Jul 2012 00:06:27 +0000 (UTC)
Received: from CH1EHSMHS019.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.251])	by mail196-ch1.bigfish.com (Postfix) with ESMTP id B099A6003F;	Wed, 18 Jul 2012 00:06:27 +0000 (UTC)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS019.bigfish.com (10.43.70.19) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 18 Jul 2012 00:06:24 +0000
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.2.309.3; Wed, 18 Jul 2012 00:06:23 +0000
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 17 Jul 2012 17:06:22 -0700
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi id 14.02.0309.003; Tue, 17 Jul 2012 17:06:22 -0700
From: Paul Leach <paulle@microsoft.com>
To: Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
CC: Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZEBdMLzsAnuq40m2HdV29XEPYJcuGyIw
Date: Wed, 18 Jul 2012 00:06:22 +0000
Message-ID: <526415708D2AD940845C43B7A6BE7CE80EA00EBF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de>
In-Reply-To: <50059E45.9090604@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.182; envelope-from=paulle@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrHn6-0005af-JJ 3464b22456555c4d6d6213fe6effd90d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/526415708D2AD940845C43B7A6BE7CE80EA00EBF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14400
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>

T3RoZXIgcGVvcGxlIGhhdmUgY292ZXJlZCBtb3N0IG9mIHRoZSBpc3N1ZXMgaW4gb3RoZXIgcG9z
dHMuIA0KQWxzbywgYXMgUkZDIDI2MTYgc2F5czogDQogICAgICAgIE1hbnkgb2xkZXIgSFRUUC8x
LjAgYW5kIEhUVFAvMS4xIGFwcGxpY2F0aW9ucyBkbyBub3QgdW5kZXJzdGFuZCB0aGUgRXhwZWN0
IGhlYWRlci4NCkhlbmNlLCBldmVuIGlmIEhUVFAvMi4wIGNyZWF0ZXMgYW4gaXJvbmNsYWQgc3Bl
YywgaWYgdGhlIGZpcnN0IHRoaW5nIHRoZSBjbGllbnQgZG9lcyBpcyBhIFBVVCwgdGhlIGNsaWVu
dCB3b27igJl0IGtub3cgdGhhdCBpdCBpc24ndCB0YWxraW5nIHRvIGFuIEhUVFAvMi4wIHNlcnZl
ciB1bnRpbCBpdCBpcyB0b28gbGF0ZS4NCg0KQW4gcXVpY2stYW5kLWRpcnR5ICBleGFtcGxlIG9m
IGFuIGFwcHJvYWNoIEkgaGFkIGluIG1pbmQgdGhhdCBtaWdodCB3b3JrIGlzIGEgbmV3IEFVVEgt
KiBmYW1pbHkgb2YgbWV0aG9kcyB3aXRoIGEgcmVxdWVzdCBsaW5lIHRoYXQgbG9va3MgbGlrZQ0K
ICAgICAgICAgICAgICAgIEFVVEgtbWV0aG9kIFJlcXVlc3QtVVJJIEhUVFAvMS4xIA0KZS5nLg0K
CUFVVEgtUFVUIC9zb21lcmVzb3VyY2UgSFRUUC8xLjENCndoaWNoIHdpbGwgcmV0dXJuIDQwMSBp
ZiBhdXRoZW50aWNhdGlvbiB3b3VsZCBiZSByZXF1aXJlZCBpZiAibWV0aG9kIiB3YXMgaW52b2tl
ZCBvbiB0aGUgUmVxdWVzdC1VUkksIDIwMCBpZiBub3QsIGFuZCA1MDEgaWYgdGhlIHNlcnZlciBk
b2VzbuKAmXQgdW5kZXJzdGFuZCB0aGUgQVVUSC0qIG1ldGhvZHMuDQoNCi0tLS0tT3JpZ2luYWwg
TWVzc2FnZS0tLS0tDQpGcm9tOiBKdWxpYW4gUmVzY2hrZSBbbWFpbHRvOmp1bGlhbi5yZXNjaGtl
QGdteC5kZV0gDQpTZW50OiBUdWVzZGF5LCBKdWx5IDE3LCAyMDEyIDEwOjE4IEFNDQpUbzogR2Fi
cmllbCBNb250ZW5lZ3JvDQpDYzogQWRyaWVuIGRlIENyb3k7IFBvdWwtSGVubmluZyBLYW1wOyBB
bW9zIEplZmZyaWVzOyBpZXRmLWh0dHAtd2dAdzMub3JnDQpTdWJqZWN0OiBSZTogSFRUUDIgRXhw
cmVzc2lvbiBvZiBJbnRlcmVzdCA6IFNxdWlkDQoNCk9uIDIwMTItMDctMTcgMTk6MDIsIEdhYnJp
ZWwgTW9udGVuZWdybyB3cm90ZToNCj4+IEZyb206IEFkcmllbiBkZSBDcm95IFttYWlsdG86YWRy
aWVuQHFiaWsuY29tXQ0KPiAuLi4NCj4+IEkgYWdyZWUsIGFuZCBhY3R1YWxseSBJJ2QgYmUga2Vl
biB0byBhcHBseSB0aGlzIHBoaWxvc3BoeSBpbiBib3RoIA0KPj4gZGlyZWN0aW9ucywgd2hlcmUg
bm8gc2lnbmlmaWNhbnQgcmVzb3VyY2UgaXMgdHJhbnNtaXR0ZWQgaW4gZWl0aGVyIA0KPj4gZGly
ZWN0aW9uIHdpdGhvdXQgdGhlIHJlY2lwaWVudCBpbmRpY2F0aW5nIHByaW9yIHdpbGxpbmduZXNz
IChlaXRoZXIgDQo+PiBieSByZXF1ZXN0aW5nIGl0LCBvciBpbmRpY2F0aW5nIHdpbGxpbmduZXNz
KS4gIFdoYXQgSSdtIGdldHRpbmcgYXQgDQo+PiBoZXJlIGlzIGxhcmdlIFBPU1QgLyBQVVQgcmVx
dWVzdHMuICBDdXJyZW50bHkgaXQncyBhIG1lc3MgZXNwIHdpdGggYXV0aCBpbiB0aGUgbWl4Lg0K
Pg0KPiBBbG9uZyB0aGVzZSBsaW5lcywgdG8gaGVscCB3aXRoIGEgIFBPU1QvUFVUIHdpdGggYXV0
aCBpbiB0aGUgbWl4IHdlIG1lbnRpb25lZCBhbiBpZGVhIGluIG91ciBhdXRoZW50aWNhdGlvbiBF
b0kgb2YgYSBsaWdodHdlaWdodCBwcm9iZToNCj4NCj4gaHR0cDovL2xpc3RzLnczLm9yZy9BcmNo
aXZlcy9QdWJsaWMvaWV0Zi1odHRwLXdnLzIwMTJKdWxTZXAvMDIzOS5odG1sOg0KPg0KPiAxLiAg
ICAgICBMaWdodHdlaWdodCAicHJvYmUiIGZvciBQT1NUcyBhbmQgUFVUcy4gIEluaXRpYWwgUFVU
cyBhbmQgUE9TVHMgd2l0aCBsb25nIGVudGl0eSBib2RpZXMgd2lsbCBjYXVzZSBwcm9ibGVtcyBi
ZWNhdXNlIG9mIHRoZSBleHRyYSByb3VuZCB0cmlwIHJlcXVpcmVkIGJ5IGF1dGhlbnRpY2F0aW9u
LiAoIkluaXRpYWwiIG1lYW5zIHdoZW4gZmlyc3QgcmVxdWVzdCBvbiBhIGNvbm5lY3Rpb24gaXMg
UFVUIG9yIFBPU1QpLiBJZiB0aGUgYm9keSBpcyBpbmRlZmluaXRlIGxlbmd0aCwgaXQgbWF5IG5v
dCBiZSBhYmxlIHRvIGJlIHJlY3JlYXRlZC4gVGhpcyBpcyBhIHByb2JsZW0gd2l0aCBhbnkgbXVs
dGktbGVnZ2VkIGF1dGhlbnRpY2F0aW9uIHNjaGVtZSBpbiBIVFRQLiBJdCBjb3VsZCBiZSBhdm9p
ZGVkIGlmIHRoZXJlIHdlcmUgYSBndWFyYW50ZWVkIGJlbmlnbiByZXF1ZXN0IHR5cGUgdGhhdCBj
b3VsZCBiZSB1c2VkIHRvIGZvcmNlIGF1dGhlbnRpY2F0aW9uIGlmIG5lZWRlZCBiZWZvcmUgZG9p
bmcgdGhlIFBVVCBvciBQT1NULg0KDQpXZSBoYXZlDQoNCiAgIEV4cGVjdDogMTAwLWNvbnRpbnVl
DQoNCmZvciB0aGF0LCBubz8NCg0KQmVzdCByZWdhcmRzLCBKdWxpYW4NCg0KDQoNCg0KDQoNCg==



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:15:13 2012
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 9F3AB11E80EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:15:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.211
X-Spam-Level: 
X-Spam-Status: No, score=-9.211 tagged_above=-999 required=5 tests=[AWL=1.388, BAYES_00=-2.599, 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 aHX7iThxXzFb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:15:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1BD9111E80EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:15:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHug-0007iE-P7 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:14:46 +0000
Resent-Date: Wed, 18 Jul 2012 00:14:46 +0000
Resent-Message-Id: <E1SrHug-0007iE-P7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrHuX-0007hT-5p for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:14:37 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrHuW-0005pc-3Y for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:14:37 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 01F5B22E257; Tue, 17 Jul 2012 20:14:12 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 10:14:08 +1000
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com> <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrHuW-0005pc-3Y 9b18fd868dc017c8d1104a44c955d9b5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14401
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>

James et al,

Just a reminder: We're not here to re-define the semantics of HTTP; our =
current charter is about how it goes across the wire. We can talk about =
HTTP semantics on this list (and often do), but let's not get confused =
about the scope of the current discussion.

I know that it's tempting to say "we're doing HTTP/2, let's throw this =
in...", but if we start doing that, we're never going to finish. Let's =
stay focused. Replacing Cookies is NOT a small task.

Cheers,


On 18/07/2012, at 9:56 AM, Martin Thomson wrote:

> On 17 July 2012 16:49, James M Snell <jasnell@gmail.com> wrote:
>> This moved off list unintentionally...
>=20
> Ahh, oops.  I thought it was intentional.
>=20
>> assuming we can successful move people away from using sessions as a =
whole
>=20
> Who are you trying to kid?  Cookies are here to stay.  It's just that
> anyone with any sense will avoid them.
>=20
>> (While we're at it, can we also eliminate routing based on the =
request-uri?)
>=20
> Why would you ever want to do that?  That's an important feature.  At
> least it is stateless.
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:17:44 2012
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 C97C411E80F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:17:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.5
X-Spam-Level: 
X-Spam-Status: No, score=-9.5 tagged_above=-999 required=5 tests=[AWL=1.098, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 uKJdEF1okX9J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:17:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D086B11E80EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:17:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrHxM-0003T7-Ok for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:17:32 +0000
Resent-Date: Wed, 18 Jul 2012 00:17:32 +0000
Resent-Message-Id: <E1SrHxM-0003T7-Ok@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrHxD-0003SH-4y for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:17:23 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrHxB-0005tK-KQ for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:17:23 +0000
Received: by weyx43 with SMTP id x43so654726wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 17:16:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=R8aMlqYZyMd7crKAnIs5o2eBoxlolfbvrrqEhpmGc+s=; b=uHZaROOBjIp8PkdehxNCiUjS8ICf2RTb1jlbIpH+7P0WIBoeEfbsrpMVl/jm1O/5jo c3zcDQhJNiwGkdpxS0gf+iGVXACe7VqmJEL7cGFRiGCn0HTcsxHnt4p21Z3fwKqvW2BZ tECmvaCD2/gtDKVwDszArvBm4WN/OwEEFby3MjNbvlbnT2g2CPEfb+eNtaugaaL9AYXj MxxvU+66z1WbY6xpSvZ2cVobbBBlmILIRfE8vb55tXbDM96r1DVcBTrIFav9XuKHfkxo e+ifo6oyT64QlQnA8oG1loVEVRlhkVWAR5SZnOLscBHQ/MreIG3wCkGjREVKGG9v94pO wnIg==
Received: by 10.216.138.200 with SMTP id a50mr506874wej.155.1342570614939; Tue, 17 Jul 2012 17:16:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 17:16:33 -0700 (PDT)
In-Reply-To: <526415708D2AD940845C43B7A6BE7CE80EA00EBF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <526415708D2AD940845C43B7A6BE7CE80EA00EBF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 17:16:33 -0700
Message-ID: <CABP7RbcqXN6uv2EVRyZKadSvifpU-8hKnDwn+sVUjMSWSeNQEA@mail.gmail.com>
To: Paul Leach <paulle@microsoft.com>
Cc: Julian Reschke <julian.reschke@gmx.de>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6d7e73796e20604c50f94cc
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrHxB-0005tK-KQ dfe1681dbb6b56c0a0167afae0c3fd25
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABP7RbcqXN6uv2EVRyZKadSvifpU-8hKnDwn+sVUjMSWSeNQEA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14402
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>

--0016e6d7e73796e20604c50f94cc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

AUTH-PUT? Eww... for far too many reasons to list. Using a new method for a
revised content-push/expect/continue type of mechanism does make sense,
however, as it avoids the type of miscommunication that could happen when
attempting to interact with downlevel servers. A single "PUSH" method, as I
described previously, with semantics defined strictly for HTTP/2.0 should
be enough to address the issue.

- James

On Tue, Jul 17, 2012 at 5:06 PM, Paul Leach <paulle@microsoft.com> wrote:

> Other people have covered most of the issues in other posts.
> Also, as RFC 2616 says:
>         Many older HTTP/1.0 and HTTP/1.1 applications do not understand
> the Expect header.
> Hence, even if HTTP/2.0 creates an ironclad spec, if the first thing the
> client does is a PUT, the client won=E2=80=99t know that it isn't talking=
 to an
> HTTP/2.0 server until it is too late.
>
> An quick-and-dirty  example of an approach I had in mind that might work
> is a new AUTH-* family of methods with a request line that looks like
>                 AUTH-method Request-URI HTTP/1.1
> e.g.
>         AUTH-PUT /someresource HTTP/1.1
> which will return 401 if authentication would be required if "method" was
> invoked on the Request-URI, 200 if not, and 501 if the server doesn=E2=80=
=99t
> understand the AUTH-* methods.
>
> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Tuesday, July 17, 2012 10:18 AM
> To: Gabriel Montenegro
> Cc: Adrien de Croy; Poul-Henning Kamp; Amos Jeffries; ietf-http-wg@w3.org
> Subject: Re: HTTP2 Expression of Interest : Squid
>
> On 2012-07-17 19:02, Gabriel Montenegro wrote:
> >> From: Adrien de Croy [mailto:adrien@qbik.com]
> > ...
> >> I agree, and actually I'd be keen to apply this philosphy in both
> >> directions, where no significant resource is transmitted in either
> >> direction without the recipient indicating prior willingness (either
> >> by requesting it, or indicating willingness).  What I'm getting at
> >> here is large POST / PUT requests.  Currently it's a mess esp with aut=
h
> in the mix.
> >
> > Along these lines, to help with a  POST/PUT with auth in the mix we
> mentioned an idea in our authentication EoI of a lightweight probe:
> >
> > http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0239.html:
> >
> > 1.       Lightweight "probe" for POSTs and PUTs.  Initial PUTs and POST=
s
> with long entity bodies will cause problems because of the extra round tr=
ip
> required by authentication. ("Initial" means when first request on a
> connection is PUT or POST). If the body is indefinite length, it may not =
be
> able to be recreated. This is a problem with any multi-legged
> authentication scheme in HTTP. It could be avoided if there were a
> guaranteed benign request type that could be used to force authentication
> if needed before doing the PUT or POST.
>
> We have
>
>    Expect: 100-continue
>
> for that, no?
>
> Best regards, Julian
>
>
>
>
>
>
>

--0016e6d7e73796e20604c50f94cc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">AUTH-PUT? Eww... for far too many reas=
ons to list. Using a new method for a revised content-push/expect/continue =
type of mechanism does make sense, however, as it avoids the type of miscom=
munication that could happen when attempting to interact with downlevel ser=
vers. A single &quot;PUSH&quot; method, as I described previously, with sem=
antics defined strictly for HTTP/2.0 should be enough to address the issue.=
</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Tu=
e, Jul 17, 2012 at 5:06 PM, Paul Leach <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:paulle@microsoft.com" target=3D"_blank">paulle@microsoft.com</a>&gt;</s=
pan> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Other people have covered most of the issues=
 in other posts.<br>
Also, as RFC 2616 says:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Many older HTTP/1.0 and HTTP/1.1 applications d=
o not understand the Expect header.<br>
Hence, even if HTTP/2.0 creates an ironclad spec, if the first thing the cl=
ient does is a PUT, the client won=E2=80=99t know that it isn&#39;t talking=
 to an HTTP/2.0 server until it is too late.<br>
<br>
An quick-and-dirty =C2=A0example of an approach I had in mind that might wo=
rk is a new AUTH-* family of methods with a request line that looks like<br=
>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 AUTH-method Request=
-URI HTTP/1.1<br>
e.g.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 AUTH-PUT /someresource HTTP/1.1<br>
which will return 401 if authentication would be required if &quot;method&q=
uot; was invoked on the Request-URI, 200 if not, and 501 if the server does=
n=E2=80=99t understand the AUTH-* methods.<br>
<div class=3D"im HOEnZb"><br>
-----Original Message-----<br>
From: Julian Reschke [mailto:<a href=3D"mailto:julian.reschke@gmx.de">julia=
n.reschke@gmx.de</a>]<br>
Sent: Tuesday, July 17, 2012 10:18 AM<br>
To: Gabriel Montenegro<br>
Cc: Adrien de Croy; Poul-Henning Kamp; Amos Jeffries; <a href=3D"mailto:iet=
f-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
Subject: Re: HTTP2 Expression of Interest : Squid<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">On 2012-07-17 19:02, Gabriel =
Montenegro wrote:<br>
&gt;&gt; From: Adrien de Croy [mailto:<a href=3D"mailto:adrien@qbik.com">ad=
rien@qbik.com</a>]<br>
&gt; ...<br>
&gt;&gt; I agree, and actually I&#39;d be keen to apply this philosphy in b=
oth<br>
&gt;&gt; directions, where no significant resource is transmitted in either=
<br>
&gt;&gt; direction without the recipient indicating prior willingness (eith=
er<br>
&gt;&gt; by requesting it, or indicating willingness). =C2=A0What I&#39;m g=
etting at<br>
&gt;&gt; here is large POST / PUT requests. =C2=A0Currently it&#39;s a mess=
 esp with auth in the mix.<br>
&gt;<br>
&gt; Along these lines, to help with a =C2=A0POST/PUT with auth in the mix =
we mentioned an idea in our authentication EoI of a lightweight probe:<br>
&gt;<br>
&gt; <a href=3D"http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep=
/0239.html" target=3D"_blank">http://lists.w3.org/Archives/Public/ietf-http=
-wg/2012JulSep/0239.html</a>:<br>
&gt;<br>
&gt; 1. =C2=A0 =C2=A0 =C2=A0 Lightweight &quot;probe&quot; for POSTs and PU=
Ts. =C2=A0Initial PUTs and POSTs with long entity bodies will cause problem=
s because of the extra round trip required by authentication. (&quot;Initia=
l&quot; means when first request on a connection is PUT or POST). If the bo=
dy is indefinite length, it may not be able to be recreated. This is a prob=
lem with any multi-legged authentication scheme in HTTP. It could be avoide=
d if there were a guaranteed benign request type that could be used to forc=
e authentication if needed before doing the PUT or POST.<br>


<br>
We have<br>
<br>
=C2=A0 =C2=A0Expect: 100-continue<br>
<br>
for that, no?<br>
<br>
Best regards, Julian<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--0016e6d7e73796e20604c50f94cc--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:25:27 2012
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 B61D911E80EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:25:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.921
X-Spam-Level: 
X-Spam-Status: No, score=-8.921 tagged_above=-999 required=5 tests=[AWL=1.078, BAYES_00=-2.599, J_CHICKENPOX_63=0.6, 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 gZj0kHY5UR01 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:25:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C1D1E11E80B5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:25:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrI4a-00051R-EM for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:25:00 +0000
Resent-Date: Wed, 18 Jul 2012 00:25:00 +0000
Resent-Message-Id: <E1SrI4a-00051R-EM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrI4R-00050I-2C for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:24:51 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrI4P-00064g-Mx for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:24:51 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D32B222E257; Tue, 17 Jul 2012 20:24:26 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
X-Priority: 3 (Normal)
In-Reply-To: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
Date: Wed, 18 Jul 2012 10:24:22 +1000
Cc: "Julian Reschke" <julian.reschke@gmx.de>, "HTTP Working Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AA365728-A181-4B8B-9693-E63E1EFA6909@mnot.net>
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org> <5005B6FD.2030706@gmx.de> <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrI4P-00064g-Mx 34cb2432311c08822db24c923c4ba29e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/AA365728-A181-4B8B-9693-E63E1EFA6909@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14403
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>

Just a clarification (without commenting on what roles intermediaries =
should play) --

The intent of the small-hdrs hint is NOT to omit the UA header;

=
<http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03#section=
-5.7>

>    o  Description: When true, this hint indicates that clients can =
omit
>       the Accept and Accept-Charset request headers when communicating
>       with the resource, and that they can use a shortened version of
>       the User-Agent header.

This is because browser vendors tend to emit a long (and somewhat =
unnatural) UA header because any significant changes will hurt interop. =
small-hdrs says "don't worry, I'm not doing weird browser sniffing on =
historic UA strings, so send me a compact, simple UA" -- not "don't send =
me a UA".

This may be an opportunity to introduce a profile of the UA header, but =
I didn't attempt that in the current draft (hoping that browser =
implementers can figure out a shorter UA header on their own).

Cheers,



On 18/07/2012, at 5:23 AM, Nicolas Mailhot wrote:

>=20
> Le Mar 17 juillet 2012 21:03, Julian Reschke a =E9crit :
>> On 2012-07-17 20:50, Nicolas Mailhot wrote:
>>> Julian Reschke <julian.reschke@...> writes:
>>>=20
>>>>=20
>>>> On 2012-07-17 15:38, Poul-Henning Kamp wrote:
>>>=20
>>>>> There must be a smarter way than "User-Agent:"...
>>>>=20
>>>> Actually one nice potential optimization is if the server can =
declare
>>>> that it's not interested in the User-Agent at all; see
>>>> =
<http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03#section=
-5.7>
>>>=20
>>> The server may not be interested by intermediaries may still be
>>>=20
>>> (while ugly user-agent special-casing is quite useful for proxy
>>> operators
>>> that have to contend with web clients that were never really tested =
with
>>> proxies and misbehave big way)
>>=20
>> Could you elaborate? What kind of misbehavior are you referring to?
>=20
> Typical misbehaviour is inability to cope with intermediary-inserted
> redirect and error codes, and retrying in a loop (because the =
developer
> could not bother to write error handling code, considers that all =
errors
> on the Internet are transient, so with enough retrying he will get
> whatever he expected to get at first)
>=20
> Then you get the web clients that try to interpret error pages as if =
they
> were whatever they expected to get at first, with sometimes weird =
results.
>=20
> Then you get the 'pump as much as you can' web client that will starve
> everything else.
>=20
> It's usually less invasive to blacklist or limit just the specific
> troublesome client instead of targeting the URLs it tries to access or =
the
> system it runs on (because the buggy part is the web client,the user =
who
> installed it may do legitimate work with other web clients at the same
> time, the broken web client will misbehave the same way tomorrow with
> other web sites, and this way the protection is in place before other
> systems are infected with brokenware)
>=20
> I really hope HTTP/2 makes intermediaries first-call citizens and
> clarifies intermediary/web client signalling so such things happen =
less
> often in the http/2 future (though bugs will always exist, so a client
> signature to home on is nice)
>=20
> --=20
> Nicolas Mailhot
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:45:57 2012
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 2B58411E80F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:45:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.534
X-Spam-Level: 
X-Spam-Status: No, score=-9.534 tagged_above=-999 required=5 tests=[AWL=1.064, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 zp8QEfCvGMxD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:45:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4F32311E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:45:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIO9-0000qn-Fg for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:45:13 +0000
Resent-Date: Wed, 18 Jul 2012 00:45:13 +0000
Resent-Message-Id: <E1SrIO9-0000qn-Fg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrIO0-00089A-9o for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:45:04 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrINz-0006dV-2W for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:45:04 +0000
Received: by weyx43 with SMTP id x43so665104wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 17:44:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=OS8BYegWXtdmwJYKhHtPeCUmFFwkZKEvnrpxh5x5xvA=; b=Wr/agpPi8gCUksb6XCrsw9RM617A+qujz6gnT052OJ9tq7mr05dwnv94z1lWLRVW4/ GEeoSSXuhrbq+x3PUeYP08a7eak3e+8ODn6Opz8iIyhUFqG9OjnqmVQeEIcVX2zW81rr bajiWzOQMCdKl9L204iqGTZsyi/LhidSqYgJMByEfN2LX5YfSetxM2E9iu+/wDufJoFa 4NOVdIG72e496EuGlH+irMPlNEl2P2x2aJ2lY8aBSejdpD6gk9tNxwlE/c3o7dntdjT2 F/rSF2ug1fGPEjH4lVBdwEhe5oRuJUrDqRCLCO7W8XUgKKC2pUCAfeM+HftJJBg4jXra 1POQ==
Received: by 10.180.100.136 with SMTP id ey8mr2029678wib.15.1342572276532; Tue, 17 Jul 2012 17:44:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 17 Jul 2012 17:44:16 -0700 (PDT)
In-Reply-To: <1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com> <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com> <1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 17:44:16 -0700
Message-ID: <CABP7RbezOi3NdmdMtdybjC182ghCN+9WkL3+49vpyrbVpAAjgA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444ec99a0c5f704c50ff715
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrINz-0006dV-2W 3b6c97d59ce453c39b581b5fb756ed6b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7RbezOi3NdmdMtdybjC182ghCN+9WkL3+49vpyrbVpAAjgA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14404
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>

--f46d0444ec99a0c5f704c50ff715
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 5:14 PM, Mark Nottingham <mnot@mnot.net> wrote:

> James et al,
>
> Just a reminder: We're not here to re-define the semantics of HTTP; our
> current charter is about how it goes across the wire. We can talk about
> HTTP semantics on this list (and often do), but let's not get confused
> about the scope of the current discussion.
>
>
Hmm.. I'm not sure I see how discussion about the potential use of optional
headers qualifies as "re-defining the semantics of HTTP".


> I know that it's tempting to say "we're doing HTTP/2, let's throw this
> in...", but if we start doing that, we're never going to finish. Let's stay
> focused. Replacing Cookies is NOT a small task.
>
> Cheers,
>
>
> On 18/07/2012, at 9:56 AM, Martin Thomson wrote:
>
> > On 17 July 2012 16:49, James M Snell <jasnell@gmail.com> wrote:
> >> This moved off list unintentionally...
> >
> > Ahh, oops.  I thought it was intentional.
> >
> >> assuming we can successful move people away from using sessions as a
> whole
> >
> > Who are you trying to kid?  Cookies are here to stay.  It's just that
> > anyone with any sense will avoid them.
> >
> >> (While we're at it, can we also eliminate routing based on the
> request-uri?)
> >
> > Why would you ever want to do that?  That's an important feature.  At
> > least it is stateless.
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>

--f46d0444ec99a0c5f704c50ff715
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 5:14 PM, Mark Nottin=
gham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=3D"_blan=
k">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

James et al,<br>
<br>
Just a reminder: We&#39;re not here to re-define the semantics of HTTP; our=
 current charter is about how it goes across the wire. We can talk about HT=
TP semantics on this list (and often do), but let&#39;s not get confused ab=
out the scope of the current discussion.<br>


<br></blockquote><div><br></div><div><font face=3D"courier new, monospace">=
Hmm.. I&#39;m not sure I see how discussion about the potential use of opti=
onal headers qualifies as &quot;re-defining the semantics of HTTP&quot;.</f=
ont></div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
I know that it&#39;s tempting to say &quot;we&#39;re doing HTTP/2, let&#39;=
s throw this in...&quot;, but if we start doing that, we&#39;re never going=
 to finish. Let&#39;s stay focused. Replacing Cookies is NOT a small task.<=
br>


<br>
Cheers,<br>
<div><div class=3D"h5"><br>
<br>
On 18/07/2012, at 9:56 AM, Martin Thomson wrote:<br>
<br>
&gt; On 17 July 2012 16:49, James M Snell &lt;<a href=3D"mailto:jasnell@gma=
il.com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt;&gt; This moved off list unintentionally...<br>
&gt;<br>
&gt; Ahh, oops. =C2=A0I thought it was intentional.<br>
&gt;<br>
&gt;&gt; assuming we can successful move people away from using sessions as=
 a whole<br>
&gt;<br>
&gt; Who are you trying to kid? =C2=A0Cookies are here to stay. =C2=A0It&#3=
9;s just that<br>
&gt; anyone with any sense will avoid them.<br>
&gt;<br>
&gt;&gt; (While we&#39;re at it, can we also eliminate routing based on the=
 request-uri?)<br>
&gt;<br>
&gt; Why would you ever want to do that? =C2=A0That&#39;s an important feat=
ure. =C2=A0At<br>
&gt; least it is stateless.<br>
&gt;<br>
<br>
</div></div>--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
</blockquote></div><br>

--f46d0444ec99a0c5f704c50ff715--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:53:01 2012
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 8F94B11E810B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.228
X-Spam-Level: 
X-Spam-Status: No, score=-9.228 tagged_above=-999 required=5 tests=[AWL=1.371, BAYES_00=-2.599, 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 dlh7zIoYomss for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:53:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E4F5511E8105 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:53:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIVM-00032k-6C for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:52:40 +0000
Resent-Date: Wed, 18 Jul 2012 00:52:40 +0000
Resent-Message-Id: <E1SrIVM-00032k-6C@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrIVC-00031d-58 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:52:30 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrIVB-0006pJ-5J for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:52:30 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7FB1A22E253; Tue, 17 Jul 2012 20:52:06 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbezOi3NdmdMtdybjC182ghCN+9WkL3+49vpyrbVpAAjgA@mail.gmail.com>
Date: Wed, 18 Jul 2012 10:52:02 +1000
Cc: Martin Thomson <martin.thomson@gmail.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <308A64BF-8E1F-45E8-B370-9DE81117149A@mnot.net>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com> <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com> <1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net> <CABP7RbezOi3NdmdMtdybjC182ghCN+9WkL3+49vpyrbVpAAjgA@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrIVB-0006pJ-5J 618ab485250caee37ab8bfe9ce37465b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/308A64BF-8E1F-45E8-B370-9DE81117149A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14405
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 18/07/2012, at 10:44 AM, James M Snell wrote:

>=20
> On Tue, Jul 17, 2012 at 5:14 PM, Mark Nottingham <mnot@mnot.net> =
wrote:
> James et al,
>=20
> Just a reminder: We're not here to re-define the semantics of HTTP; =
our current charter is about how it goes across the wire. We can talk =
about HTTP semantics on this list (and often do), but let's not get =
confused about the scope of the current discussion.
>=20
>=20
> Hmm.. I'm not sure I see how discussion about the potential use of =
optional headers qualifies as "re-defining the semantics of HTTP".

Re-defining, or adding to them in orthogonal ways. A session header can =
be a separate effort; there's no reason (AFAICT) to tie it to the =
protocol version.=20

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:53:02 2012
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 50CAC11E8105 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:53:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.076
X-Spam-Level: 
X-Spam-Status: No, score=-10.076 tagged_above=-999 required=5 tests=[AWL=0.523, BAYES_00=-2.599, 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 yV74AfVW5-Ru for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:53:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5F58211E810A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:53:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIVU-00035N-Bj for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:52:48 +0000
Resent-Date: Wed, 18 Jul 2012 00:52:48 +0000
Resent-Message-Id: <E1SrIVU-00035N-Bj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrIVH-000320-UE for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:52:35 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrIVG-0006pT-Hg for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:52:35 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id C09B1E700A; Wed, 18 Jul 2012 12:52:10 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 18 Jul 2012 12:52:09 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7RbcriYiYyWsP4P6EsP_cZw+3bxUesYb36XjsjCGzcUL0Tg@mail.gmail.com>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com> <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com> <CABP7RbcriYiYyWsP4P6EsP_cZw+3bxUesYb36XjsjCGzcUL0Tg@mail.gmail.com>
Message-ID: <41b3f5dcf27a09cf9a7f0424b917478f@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrIVG-0006pT-Hg c23514d7f4964517ac6564ce9fac7ccd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/41b3f5dcf27a09cf9a7f0424b917478f@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14406
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 18.07.2012 12:04, James M Snell wrote:
> On Tue, Jul 17, 2012 at 4:56 PM, Martin Thomson wrote:
>
>> On 17 July 2012 16:49, James M Snell wrote:
>> > This moved off list unintentionally...
>>
>> Ahh, oops.  I thought it was intentional.
>>
>> > assuming we can successful move people away from using sessions as 
>> a
>> whole
>>
>> Who are you trying to kid?  Cookies are here to stay.  It's just 
>> that
>> anyone with any sense will avoid them.
>>
>>
> Yes... sadly, I know. One can dream.
>
>
>> > (While we're at it, can we also eliminate routing based on the
>> request-uri?)
>>
>> Why would you ever want to do that?  That's an important feature.  
>> At
>> least it is stateless.
>>
>
> A variety of reasons, really, but nothing that's likely to sway any
> opinions ;-) ... by far the more important thing is: IF session-based
> routing continues to be a "feature", we should do what we can to 
> break to
> reliance on cookies (as much as possible anyway). If, however, the 
> general
> movement is (quite thankfully) away from session-based routing, then
> beautiful, I'm happy.
>
> - James


What I'm getting from this thread is that the proposed "session" is 
just an identifier for some client context.

Essentially meaning a message from the client "I've created a context, 
any context you create for this request needs to associate with this 
ID".

The server is still free to create a traditional Session (or not) at 
its end. Using a different key entirely, just translate from server key 
to client key when talking to the client - and hey thats actually safer 
than todays session cookies. But first-party Cookie data and whatever 
state can be pushed back to the client for inclusion into that context 
without introducing ever-cookie issues around expiring a bunch of 
unassociated data.


NP: If/when this header gets defined it *will* have to traverse 
HTTP/1.x connections so please make the ABNF: 1#(token / quoted-string) 
[';' ... ]

AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:53:23 2012
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 A041E11E8104 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:53:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 bwYdKp9Wwr-1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:53:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2F4F11E8101 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:53:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIW0-00036P-7W for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:53:20 +0000
Resent-Date: Wed, 18 Jul 2012 00:53:20 +0000
Resent-Message-Id: <E1SrIW0-00036P-7W@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SrIVq-00035d-TW for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:53:11 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by aji.keio.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SrIVm-0007kB-Ns for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:53:10 +0000
Received: by vbbfq11 with SMTP id fq11so801609vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 17:51:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=xDeXcCAcpWoZbYNrRQfZ/4txh7udMsrPSPanznaIurk=; b=qhD2r7GgCtR7XDZeI2Pvv5vt6Rd6xaMerHp9Aeeuzm39SNPrrZM7lhm6cYICRnYEV1 t/6qNL1m/Iv2poSZ04Te9KBymZLC/FlwJFZeWosEo1us/7hj7Zga+bkTOy1J6b8bPciM /8YiyGwtp1c0XagJwFs39kChwLqTTGkvyLJFKCneDmmtB8c0BO1P8uK8EPsiih5+VYv9 Y2us3yM8lgtAJBYCQfcyKKS/8kIoApT+tPKRBg9miWcsLZU9k1bgznrAj8/2O9Fo9rUh 52r3n2hiA8gn7QKY2r6qOx5wnt0jkxMmi91YtrIoKCOfTkuGy0D77hWIWy5XLMrLWEUE JdzQ==
MIME-Version: 1.0
Received: by 10.52.28.99 with SMTP id a3mr2022051vdh.68.1342572716199; Tue, 17 Jul 2012 17:51:56 -0700 (PDT)
Received: by 10.58.244.196 with HTTP; Tue, 17 Jul 2012 17:51:56 -0700 (PDT)
Date: Tue, 17 Jul 2012 17:51:56 -0700
Message-ID: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
From: Paul Hoffman <paul.hoffman@gmail.com>
To: grahame@healthintersections.com.au
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.212.43; envelope-from=paul.hoffman@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: aji.keio.w3.org 1SrIVm-0007kB-Ns 9443b49fb0e8a3af9a176b8d14b92643
X-Original-To: ietf-http-wg@w3.org
Subject: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14407
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>

+1 to what seems to be a lot of developers: make TLS mandatory.

>  so, even when used in an internal application protocol, it's going to
>  be end to end
>  encrypted to make it super hard to debug?

In an internal application protocol, why would it be "super hard to
debug"? The client can do an HTTP dump before TLS, the server can do
an HTTP dump after TLS; either of the sides could debug the TLS.

>  http is about more than users using
>  web browsers.

Completely true, and not relevant. Insecure HTTP for non-browser
applications still has the same bad properties, no?


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 17:55:28 2012
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 11D6311E8101 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:55:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.629
X-Spam-Level: 
X-Spam-Status: No, score=-8.629 tagged_above=-999 required=5 tests=[AWL=1.970, BAYES_00=-2.599, 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 rLTQm53CCgNC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 17:55:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8725E11E80C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 17:55: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 1SrIY5-0004vg-IH for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 00:55:29 +0000
Resent-Date: Wed, 18 Jul 2012 00:55:29 +0000
Resent-Message-Id: <E1SrIY5-0004vg-IH@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrIXw-0004uP-8I for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 00:55:20 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by aji.keio.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrIXs-0007lV-7K for ietf-http-wg@w3.org; Wed, 18 Jul 2012 00:55:19 +0000
Received: by vbbfq11 with SMTP id fq11so802605vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 17:54:06 -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=6JhqEwlcFVsPu+3zmx30AfOktERxcLwxT/BgFtZD4XU=; b=TY1Bfpaeukvlj9OxvaciuBVNsdCx2fseO4YTlP/SFEkorrrs+4o2+QCm4XACwa/5+8 bZAp16xDlBuFRDUqnJ5rNBHY8/3lc52tf7fduDY5EW00NbouMfxN7UDoGCsiOlZ46R36 T9VUZ9BlJOASgSVkLsKILaME9J6+vEzucC1h4sSCZM6izdZU+Hqo7AwyjwxekMcd5f1W k4GnFoGho74LXpRZnKn2IY4vHKSpr3QPrABRWd4H4GPW6AXOrc9fc6DPAEVNgNYbT3Gf H1RVZYHBpsfunnLVOlWyZxFs+7+tipFdjqmquGTfVI5IGXMS4TQ4DnriRSjiKlH9+WAj q/rQ==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr1971256vdg.94.1342571027124; Tue, 17 Jul 2012 17:23:47 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 17:23:47 -0700 (PDT)
In-Reply-To: <1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com> <CABP7RbehRg+DmZ9_qYgBggbsh=mC7uFdHUuN9ETmyzPhLWghDg@mail.gmail.com> <CABkgnnWL7fvUvwO_D3LnHqo=9n5axcwJA3pR44e+8U0vSzcrqg@mail.gmail.com> <CABP7Rbf1nf6vx5Cwsi0bmhsc1kQr0PH-mhVDGYNATZLiajNY-Q@mail.gmail.com> <CABP7RbcJ3e-fiHAF4LeBvY6uryz+EwjL37yZXudZBjxjsVvAnQ@mail.gmail.com> <CABkgnnV6V7i9nqnj0V-_OGPDU9EX-bLfT+eBoWxfDynwTkf2OQ@mail.gmail.com> <1900C60A-942F-4AD1-B6DA-B5152C551140@mnot.net>
Date: Tue, 17 Jul 2012 20:23:47 -0400
Message-ID: <CAMm+LwgC2NC1w=W-xZH+LHJn4ZDuMDwc3_kOspbCn6p0oF019Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: aji.keio.w3.org 1SrIXs-0007lV-7K a686da976e780bd5381a9bc6a14fe546
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAMm+LwgC2NC1w=W-xZH+LHJn4ZDuMDwc3_kOspbCn6p0oF019Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14408
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 would like to have a strong session cookie. That is a session cookie
that is bound to some shared secret and a protocol that allows the
client to provide a proof of knowledge of the secret with each
request.

The reason for this is that once the client has performed an initial
authentication to the service (via password, OAUTH, OpenID, sheeps
entrails, whatever) it can re-authenticate at very low cost on every
successive request.

This would be in addition to any authentication mechanism provided by
TLS since TLS authentication is typically client authentication of the
server and that is not server authentication of the client.


This does not solve the HTTP authentication problem but it does break
off a significant chunk for separate work.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 18:01:18 2012
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 1C5DF11E80C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:01:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 nfpo9U8jti3M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:01:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 959CF11E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 18:01:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIdI-000164-HW for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 01:00:52 +0000
Resent-Date: Wed, 18 Jul 2012 01:00:52 +0000
Resent-Message-Id: <E1SrIdI-000164-HW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SrId9-00015J-9P for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 01:00:43 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SrId8-0007Kn-8O for ietf-http-wg@w3.org; Wed, 18 Jul 2012 01:00:43 +0000
Received: by lbom4 with SMTP id m4so1482362lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 18:00:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=CM3YQqvkoevLW5ZOfg+alOWF/4FIFHEkTQ5d3qmOSN8=; b=mHIfaGHcalDvKEvwOUSwKN7hAV3FFun0VGojGNlOUIv1XIYPrPCSog2Is2+W0Z5NH/ u5nF53o3Ru/dySmEbN9rAx/K3w5BiIflNIdmOZVmL0d9Tvj0WWhdlOrMrFwAEcprEDtD q702ANk8cuP9nwcjepQA9GhMROcWJY2wRQVzSpgdguC65sNaurwMHX4Ol06GuwxjZaIV Aep0rkYDAo4C2i+pcHjgMz+c2JpwNHYk1CWsC7ZAOFG00LSvBKiJFl743R9il4JZg6+M 1OAMMYhhQPx6QEXcrTKr+31ytorzTdqs2NwNSUuakt4Htlp8NPQe7eWrL1C8NHryOHlH sKXQ==
MIME-Version: 1.0
Received: by 10.112.49.230 with SMTP id x6mr742451lbn.86.1342573215334; Tue, 17 Jul 2012 18:00:15 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.112.83.68 with HTTP; Tue, 17 Jul 2012 18:00:15 -0700 (PDT)
In-Reply-To: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
Date: Wed, 18 Jul 2012 11:00:15 +1000
X-Google-Sender-Auth: edzn1mKWs3KvhQKcNbZ1f17ORuM
Message-ID: <CAG47hGaHaDsq5zpH5CT96hWYZZ1KatfRfu966eyPf4TyXFJMfA@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: Paul Hoffman <paul.hoffman@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.217.171; envelope-from=grahameg@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrId8-0007Kn-8O 255f197d98c918652b26464e0e2c617d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAG47hGaHaDsq5zpH5CT96hWYZZ1KatfRfu966eyPf4TyXFJMfA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14409
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>

> +1 to what seems to be a lot of developers: make TLS mandatory.
>
>>  so, even when used in an internal application protocol, it's going to
>>  be end to end
>>  encrypted to make it super hard to debug?
>
> In an internal application protocol, why would it be "super hard to
> debug"? The client can do an HTTP dump before TLS, the server can do
> an HTTP dump after TLS; either of the sides could debug the TLS.

yep. they can. But they have to. 3rd parties are shut out. I get that in
some circumstances this is good. But not all. As an example, I spend
quite a bit of my time looking at browser traffic now, to debug why
my servers or clients aren't working they way that a 3rd party
client/server set up is. Unless it's https, in which case.... I have to find
some other way.

>>  http is about more than users using
>>  web browsers.
>
> Completely true, and not relevant. Insecure HTTP for non-browser
> applications still has the same bad properties, no?

but a much wider deployment context, and much harder to work with

Grahame


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 18:05:37 2012
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 88F4211E8102 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:05:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.22
X-Spam-Level: 
X-Spam-Status: No, score=-9.22 tagged_above=-999 required=5 tests=[AWL=1.379, BAYES_00=-2.599, 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 lHjaltklKYcC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:05:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2B88E11E80C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 18:05: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 1SrIhj-0002ge-4k for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 01:05:27 +0000
Resent-Date: Wed, 18 Jul 2012 01:05:27 +0000
Resent-Message-Id: <E1SrIhj-0002ge-4k@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrIhZ-0002ft-QY for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 01:05:17 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SrIhY-0007ET-Pf for ietf-http-wg@w3.org; Wed, 18 Jul 2012 01:05:17 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 03D3522E1F4; Tue, 17 Jul 2012 21:04:53 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <62127.1342506058@critter.freebsd.dk>
Date: Wed, 18 Jul 2012 11:04:49 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, Yutaka OIWA <y.oiwa@aist.go.jp>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E61DB856-EBDD-4D47-8E20-86C09C53A179@mnot.net>
References: <62127.1342506058@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrIhY-0007ET-Pf 9b928955fd26ab9e925075c5f62f10a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/E61DB856-EBDD-4D47-8E20-86C09C53A179@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14410
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>

OK. Marking for incorporation, with a slight change;

  Caches SHOULD consider dates with time zones other than "GMT" invalid.



On 17/07/2012, at 4:20 PM, Poul-Henning Kamp wrote:

> In message <5004FE7E.9010300@gmx.de>, Julian Reschke writes:
>> On 2012-07-17 02:21, Mark Nottingham wrote:
>=20
>>> Perhaps the simplest thing, then, is to change the requirement to:
>>>=20
>>>     HTTP header fields with time zones other than "GMT" SHOULD be =
considered invalid.
>>>=20
>>> Our approach to conformance already allows implementations to try to =
recover an invalid field, but the responsibility (and risk) is upon them =
when doing so.
>>>=20
>>> Expires can't be ignored, but it already defines what to do when =
it's invalid;
>>> ...
>>=20
>> Sounds right to me.
>=20
> And me too.
>=20
> ... even though it pains my inner time-nut that "UTC" would not
> be an acceptable alias for UTC in this case :-)
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.

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





From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 18:16:10 2012
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 2994921F8562 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:16:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.083
X-Spam-Level: 
X-Spam-Status: No, score=-5.083 tagged_above=-999 required=5 tests=[AWL=5.216, 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 3E3MagPjTbel for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:16:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 841A621F855F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 18:16:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIrg-00008a-JX for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 01:15:44 +0000
Resent-Date: Wed, 18 Jul 2012 01:15:44 +0000
Resent-Message-Id: <E1SrIrg-00008a-JX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrIrW-00007i-PR for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 01:15:34 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrIrV-0007X6-7O for ietf-http-wg@w3.org; Wed, 18 Jul 2012 01:15:34 +0000
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6I1F5E9027875 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:15:05 +0900
Received: from (unknown [133.2.206.133]) by scmse02.scbb.aoyama.ac.jp with smtp id 2d04_6b81_01aac0e6_d076_11e1_9347_001d096c5782; Wed, 18 Jul 2012 10:15:04 +0900
Received: from [IPv6:::1] ([133.2.210.1]:55625) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E3AF0> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Wed, 18 Jul 2012 10:15:09 +0900
Message-ID: <50060E13.4080003@it.aoyama.ac.jp>
Date: Wed, 18 Jul 2012 10:14:59 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com> <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com>
In-Reply-To: <CABkgnnUfHDB6fzyydM3StZiusu-AB+Y0bDT6tjhwTkHNs+Bb+w@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrIrV-0007X6-7O fea0b278a73508b328a97eff904428c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/50060E13.4080003@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14411
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 2012/07/18 8:21, Martin Thomson wrote:

> All this looks like so far is a constrained syntax Cookie, which is
> far less useful than a Cookie and so I see no reason for it to be used
> over a Cookie, which you will have to support anyway...

Well, yes. Some Web Application Frameworks (e.g. Rails) already use only 
a single cookie as a session identifier.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 18:17:03 2012
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 DFF6C11E80E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:17:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.196
X-Spam-Level: 
X-Spam-Status: No, score=-5.196 tagged_above=-999 required=5 tests=[AWL=5.103, 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 j1WhiDkjHH09 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:17:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 29FE211E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 18:17:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIsq-0000Ck-2V for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 01:16:56 +0000
Resent-Date: Wed, 18 Jul 2012 01:16:56 +0000
Resent-Message-Id: <E1SrIsq-0000Ck-2V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrIsg-0000AU-UZ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 01:16:46 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrIsf-0007Ye-OK for ietf-http-wg@w3.org; Wed, 18 Jul 2012 01:16:46 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6I1GItO029156 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:16:18 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 3dc5_4ca8_2d864654_d076_11e1_9ba7_001d096c566a; Wed, 18 Jul 2012 10:16:18 +0900
Received: from [IPv6:::1] ([133.2.210.1]:55632) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E3AFB> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Wed, 18 Jul 2012 10:16:22 +0900
Message-ID: <50060E5D.4020203@it.aoyama.ac.jp>
Date: Wed, 18 Jul 2012 10:16:13 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Ross Nicoll <jrn@jrn.me.uk>
CC: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
References: <CC2BACA6.1C057%jrn@jrn.me.uk>
In-Reply-To: <CC2BACA6.1C057%jrn@jrn.me.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrIsf-0007Ye-OK 98de5703455783e75d5fa5763d44333f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/50060E5D.4020203@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14412
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 2012/07/18 8:08, Ross Nicoll wrote:

> I'd also be tempted to tighten the definition of a session identifier, to be
> a UUID. This may make backwards compatibility trickier, but I think would
> encourage use of difficult to guess identifiers by developers who may
> otherwise simply hand out sequence numbers, without knowing better.

Yes. Or simply stick the cookie dough into the Session header :-(.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 18:23:16 2012
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 DB7A511E8107 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:23:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.66
X-Spam-Level: 
X-Spam-Status: No, score=-8.66 tagged_above=-999 required=5 tests=[AWL=1.939, BAYES_00=-2.599, 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 9r+0zosZNBXA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:23:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2059211E8102 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 18:23:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrIyj-00026M-2Y for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 01:23:01 +0000
Resent-Date: Wed, 18 Jul 2012 01:23:01 +0000
Resent-Message-Id: <E1SrIyj-00026M-2Y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrIya-00025b-4b for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 01:22:52 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrIyZ-0007v0-0j for ietf-http-wg@w3.org; Wed, 18 Jul 2012 01:22:52 +0000
Received: by vcdd16 with SMTP id d16so299847vcd.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 18:22: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; bh=F6SksYT+vzim7OstaSS2aPCfdAXrEPs1mqc8EG3mucA=; b=ikXaaoip+L6HR3/Cg7ivvW2oWxSzT+6N36PQTpdTH2nDMijUv7MbryMhkJfk4o3MVj Cay1Bqlr5ZT0yDWzlXaTqvjelCMP4aX2fmD0yKQmwOajdzfbLPP3FBM/O9EtcnVO2qEl UcYlv0C5RKtxjBMIEL8kYU+/fBxqeh/wa2AjySRewg61C8usXmojiFl5+iglgeqhBd8O YK+mkdlBepQaquml9TTcxQtWazbtw72+QMmAJMwu8B0t+R0LSTV8FaJ6VcaMr0GQRTfa voHnA1zDhPZc4yfYuSn5kfFkquN2aeM7iFeHsg+x7xlTEOQey4STYFwKzgRiiPX4Npjr LMAw==
MIME-Version: 1.0
Received: by 10.220.242.6 with SMTP id lg6mr2411047vcb.18.1342574544978; Tue, 17 Jul 2012 18:22:24 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 18:22:24 -0700 (PDT)
In-Reply-To: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
Date: Tue, 17 Jul 2012 21:22:24 -0400
Message-ID: <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Hoffman <paul.hoffman@gmail.com>
Cc: grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrIyZ-0007v0-0j d31e84c083653b5aa13ea421130ca956
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14413
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>

-1

I don't want to have a mandatory requirement unless it is going to
change behavior.

We already have ubiquitous deployment of TLS in browsers. The code is
freely available, everyone knows the benefit.

The only HTTP servers or clients I am aware of that don't have TLS
support are either toolsets that the provider expects to be used with
OpenSSL or the like and embedded systems.

Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
seem to do any good either. It just means that IPv6 is harder to
deploy as implementations are required to support a security layer
almost nobody uses as TLS has proved better.


Making TLS a mandatory requirement seems like a feelgood approach to
security to me. Instead of doing something useful, we pass a
resolution telling people to do what they plan to do anyway.


On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com> wrote:
> +1 to what seems to be a lot of developers: make TLS mandatory.
>
>>  so, even when used in an internal application protocol, it's going to
>>  be end to end
>>  encrypted to make it super hard to debug?
>
> In an internal application protocol, why would it be "super hard to
> debug"? The client can do an HTTP dump before TLS, the server can do
> an HTTP dump after TLS; either of the sides could debug the TLS.
>
>>  http is about more than users using
>>  web browsers.
>
> Completely true, and not relevant. Insecure HTTP for non-browser
> applications still has the same bad properties, no?
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 18:42:46 2012
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 9E91421F8475 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:42:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.305
X-Spam-Level: 
X-Spam-Status: No, score=-5.305 tagged_above=-999 required=5 tests=[AWL=4.994, 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 OgrmyksnzAW1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 18:42:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F0A1A21F8474 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 18:42:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrJHJ-0001l9-0s for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 01:42:13 +0000
Resent-Date: Wed, 18 Jul 2012 01:42:13 +0000
Resent-Message-Id: <E1SrJHJ-0001l9-0s@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrJH9-0001kG-U1 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 01:42:03 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrJH8-0008Mb-0Z for ietf-http-wg@w3.org; Wed, 18 Jul 2012 01:42:03 +0000
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6I1fXWf023817 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:41:33 +0900
Received: from (unknown [133.2.206.133]) by scmse02.scbb.aoyama.ac.jp with smtp id 2d04_73e8_b4505fa0_d079_11e1_9347_001d096c5782; Wed, 18 Jul 2012 10:41:33 +0900
Received: from [IPv6:::1] ([133.2.210.1]:49516) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E3B37> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Wed, 18 Jul 2012 10:41:37 +0900
Message-ID: <50061447.5030109@it.aoyama.ac.jp>
Date: Wed, 18 Jul 2012 10:41:27 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Karl Dubost <karld@opera.com>, Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
References: <13869.1342554599@critter.freebsd.dk> <5005C7FC.8010405@zinks.de> <5005CDCF.6030806@gmx.de> <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com> <CABP7Rbe_s==22ESQZXkFgzezOTg5ORwtiJzSa9npPOUfZKd5aw@mail.gmail.com>
In-Reply-To: <CABP7Rbe_s==22ESQZXkFgzezOTg5ORwtiJzSa9npPOUfZKd5aw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrJH8-0008Mb-0Z c840262e6f9ae6c51d86d022f8687026
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/50061447.5030109@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14414
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 2012/07/18 6:08, James M Snell wrote:
> +1... I was getting ready to respond to Julian's post with a "+1 YEAH!" but
> then stopped and thought about it... using a URI, while potentially sound
> in theory, would likely just end up with a different form of the same mess
> we're in now. Reducing the User-Agent field to nothing more than a single
> token with a version identifier seems to me to be the Least Bad Option.

So why did that not happen up to now, and why is the User-Agent string 
growing as it does?

Because servers/proxies check on substrings in that string, so UAs are 
using the strategy to copy the whole header of some other browser 
(usually the most popular one around at that time) and then tack some 
additional stuff on at the back to make sure they can be uniquely 
identified.

This is a cat-and-mouse game where the servers are as much (or as 
little) to blame as the browsers. As long as each side does what's most 
convenient for them, changing the name of the header, or offloading the 
data to a separate URI, or any such thing, is only a cosmetic change.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 19:05:25 2012
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 D348811E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 19:05:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.441
X-Spam-Level: 
X-Spam-Status: No, score=-6.441 tagged_above=-999 required=5 tests=[AWL=3.157, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 umSlEChzIbup for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 19:05:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 43C5711E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 19:05:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrJch-0004eE-5G for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 02:04:19 +0000
Resent-Date: Wed, 18 Jul 2012 02:04:19 +0000
Resent-Message-Id: <E1SrJch-0004eE-5G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrJcY-0004cg-AZ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 02:04:10 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrJcW-0000sU-A9 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 02:04:10 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019144921@smtp.qbik.com>; Wed, 18 Jul 2012 14:03:43 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "James M Snell" <jasnell@gmail.com>, "Tim Bray" <tbray@textuality.com>
Cc: "Doug Beaver" <doug@fb.com>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 02:03:44 +0000
Content-Type: multipart/alternative; boundary="------=_MB71E6C0E4-1826-4D35-B61F-8C46727620FE"
In-Reply-To: <CABP7Rbc5fPAz+F2zyRchsFKBP-QnfoVLT8WADte4GSDUOx3jJA@mail.gmail.com>
Message-Id: <emd8c534c1-5834-4b4d-b06a-afecd1e19418@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrJcW-0000sU-A9 f9c4d21f41f5f0292486e76d0209d86a
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/emd8c534c1-5834-4b4d-b06a-afecd1e19418@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14415
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>

--------=_MB71E6C0E4-1826-4D35-B61F-8C46727620FE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


If the only down-side to mandating crypto was that some links that=20
didn't really need it had to implement it, I wouldn't be so strongly=20
against it.

But there are scenarios where crypto for HTTP is either impossible,=20
illegal, or highly undesirable.

Mandating it is simply incompatible with reality.



------ Original Message ------
From: "James M Snell" <jasnell@gmail.com>
To: "Tim Bray" <tbray@textuality.com>
Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau"=20
<w@1wt.eu>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 18/07/2012 10:53:38 a.m.
Subject: Re: HTTP2 Expression of Interest
>Mandatory end-to-end encryption does not make sense. There are=20
>countless scenarios where TLS just isn't necessary. Yes, we can do a=20
>better job but forcing it to be used in scenarios where there is no=20
>PII at risk is just pointless.=20
>- James
>
>On Tue, Jul 17, 2012 at 3:31 PM, Tim Bray <tbray@textuality.com> wrote:
> Pulling a really important paragraph out of Doug=E2=80=99s (long) posting=
, in
> the hope that more people will thus read it.
>=20
> On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver <doug@fb.com> wrote:
>=20
> > I think all those positions can be valid. I just happen to think=20
> that even
> > given all the above, it is still better to mandate encryption and=20
> give better
> > privacy to Internet users than it is to punt the ball down the=20
> field another
> > twenty years.
>=20
> What he said. -T
>=20
=20

--------=_MB71E6C0E4-1826-4D35-B61F-8C46727620FE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#75dd108bd65240c7b1a0b8dafb1f3685 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#75dd108bd65240c7b1a0b8dafb1f3685 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#75dd108bd65240c7b1a0b8dafb1f3685=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#75dd108bd65240c7b1a0b8dafb1f3685 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>If the only down-side to mandating crypto was that some links that =
didn't really need it had to implement it, I wouldn't be so strongly agains=
t it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>But there are scenarios where crypto for HTTP is either impossible,=
 illegal, or highly undesirable.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating it is simply incompatible with reality.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>------ Original Message ------<BR>From: "James M Snell" &lt;jasnel=
l@gmail.com&gt;<BR>To: "Tim Bray" &lt;tbray@textuality.com&gt;<BR>Cc: "Doug=
 Beaver" &lt;doug@fb.com&gt;;"Willy Tarreau" &lt;w@1wt.eu&gt;;"ietf-http-wg=
@w3.org" &lt;ietf-http-wg@w3.org&gt;<BR>Sent: 18/07/2012 10:53:38 a.m.<BR>S=
ubject: Re: HTTP2 Expression of Interest<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7Rbc5fPAz+F2zyRchsFKBP-QnfoVLT8WADte4GS=
DUOx3jJA@mail.gmail.com type=3D"cite">
<DIV id=3D75dd108bd65240c7b1a0b8dafb1f3685><FONT face=3D"courier new,monosp=
ace">Mandatory end-to-end encryption does not make sense. There are countle=
ss scenarios where TLS just isn't necessary. Yes, we can do a better job=
 but forcing it to be used in scenarios where there is no PII at risk is=
 just pointless.&nbsp;</FONT>=20
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">- James<BR></FONT><BR>
<DIV class=3Dgmail_quote>On Tue, Jul 17, 2012 at 3:31 PM, Tim Bray <SPAN=
 dir=3Dltr>&lt;<A href=3D"mailto:tbray@textuality.com"><A href=3D"mailto:tb=
ray@textuality.com">tbray@textuality.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>Pulling a really important paragra=
ph out of Doug=E2=80=99s (long) posting, in<BR>the hope that more people=
 will thus read it.<BR>
<DIV class=3Dim><BR>On Tue, Jul 17, 2012 at 3:11 PM, Doug Beaver &lt;<A =
href=3D"mailto:doug@fb.com"><A href=3D"mailto:doug@fb.com">doug@fb.com</A><=
/A>&gt; wrote:<BR><BR>&gt; I think all those positions can be valid. I just=
 happen to think that even<BR>&gt; given all the above, it is still better=
 to mandate encryption and give better<BR>&gt; privacy to Internet users=
 than it is to punt the ball down the field another<BR>&gt; twenty years.<B=
R><BR></DIV>What he said. -T<BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BL=
OCKQUOTE></BODY></HTML>
--------=_MB71E6C0E4-1826-4D35-B61F-8C46727620FE--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 19:31:49 2012
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 EFED511E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 19:31:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.92
X-Spam-Level: 
X-Spam-Status: No, score=-9.92 tagged_above=-999 required=5 tests=[AWL=0.056, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 9dGitOvh++CP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 19:31:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DCC1D11E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 19:31:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrK2P-0000fk-DR for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 02:30:53 +0000
Resent-Date: Wed, 18 Jul 2012 02:30:53 +0000
Resent-Message-Id: <E1SrK2P-0000fk-DR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrK2F-0000et-OJ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 02:30:43 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrK2E-0001dl-4e for ietf-http-wg@w3.org; Wed, 18 Jul 2012 02:30:43 +0000
Received: by lbom4 with SMTP id m4so1565445lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 19:30:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=kxQYx2D0DPkGQPYQb21j4hVz5lRfG5lH+gilqUBEj4E=; b=dL0hqBs/kitFR7o/pxUhDCnBzitTIiyA2Xmf2CmF5voI1QnyRJw59k9gfpmreNocXN 7JBocF0K+BDZSQ9x61QTtZ1j0PlrhBZwNAErAWTr9uhFOE1xaew9YrZcXvgJSbxEWLb5 w92lbGh3tgtqfFoW5eDngNr5GTRkbvPIRkpuZ+jg9TJEEfwzO+LezRlDhm+nIJDgsQo1 ZMql8ddbli26b3PGip128wQrLDfriuctgM4/t62bdWa93p2fLWRZvNOUic2AV1/neA2D U9BnznpUUIvSdNGLbEn8fXxx/HcLp+JtuUN7ivnUjt1ZmPPmaAgBL/7px9T+TFHb1aHb m6Mg==
MIME-Version: 1.0
Received: by 10.152.127.98 with SMTP id nf2mr1468603lab.4.1342578615228; Tue, 17 Jul 2012 19:30:15 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 19:30:15 -0700 (PDT)
In-Reply-To: <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>
Date: Tue, 17 Jul 2012 19:30:15 -0700
Message-ID: <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042d05aa719ab404c5117185
X-Gm-Message-State: ALoCoQms0xNj+y5uoYY3Nkai8+crTEDy0+kMMG33b6y/pPQj4J28v1beVbpP/NW/q2233qPiH5zR
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrK2E-0001dl-4e 86cbea36413061ef5ea27af320cca5b3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14416
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>

--f46d042d05aa719ab404c5117185
Content-Type: text/plain; charset=ISO-8859-1

Mandatory SSL is +1 and very forward thinking.

On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> -1
>
> I don't want to have a mandatory requirement unless it is going to
> change behavior.


I don't think we can change behavior with protocols.  All we can do is
offer new features.  If the features are compelling, people will upgrade.
 If the features are not compelling, they won't.

People used to tell me SPDY would never get people to "upgrade".  Even
after touching a half a billion users, people still tell me that.  I think
the evidence of adoption speaks for itself.


>
> We already have ubiquitous deployment of TLS in browsers. The code is
> freely available, everyone knows the benefit.
>
> The only HTTP servers or clients I am aware of that don't have TLS
> support are either toolsets that the provider expects to be used with
> OpenSSL or the like and embedded systems.
>

I'll ask the google crawler guys to weigh in on this.  They have pretty
good stats.  I believe your assertion is provably false.


>
> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
> seem to do any good either. It just means that IPv6 is harder to
> deploy as implementations are required to support a security layer
> almost nobody uses as TLS has proved better.
>
>
> Making TLS a mandatory requirement seems like a feelgood approach to
> security to me. Instead of doing something useful, we pass a
> resolution telling people to do what they plan to do anyway.
>

You imply there is something else that would be useful - what would it be?
 (don't feel obliged to answer :-)

To me mandating security is a great first step.  Nobody should think this
'fixes' security. But if we believe the net ever needs to be secure, we
need to start taking steps toward that.

Mandating SSL is a simple step we can take which solves most of the
eavesdropping problem right now.  But more importantly, it poises us to
address the next set of security issues, including CA/verification
problems,  distribution of video over ssl, handshake latency, etc.  Until
we start trying to be secure, of course we'll never be secure.

Mike


>
>
> On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com>
> wrote:
> > +1 to what seems to be a lot of developers: make TLS mandatory.
> >
> >>  so, even when used in an internal application protocol, it's going to
> >>  be end to end
> >>  encrypted to make it super hard to debug?
> >
> > In an internal application protocol, why would it be "super hard to
> > debug"? The client can do an HTTP dump before TLS, the server can do
> > an HTTP dump after TLS; either of the sides could debug the TLS.
> >
> >>  http is about more than users using
> >>  web browsers.
> >
> > Completely true, and not relevant. Insecure HTTP for non-browser
> > applications still has the same bad properties, no?
> >
>
>
>
> --
> Website: http://hallambaker.com/
>
>

--f46d042d05aa719ab404c5117185
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Mandatory SSL is +1 and very forward thinking.<br><br><div class=3D"gmail_q=
uote">On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <span dir=3D"lt=
r">&lt;<a href=3D"mailto:hallam@gmail.com" target=3D"_blank">hallam@gmail.c=
om</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">-1<br>
<br>
I don&#39;t want to have a mandatory requirement unless it is going to<br>
change behavior.</blockquote><div><br></div><div>I don&#39;t think we can c=
hange behavior with protocols. =A0All we can do is offer new features. =A0I=
f the features are compelling, people will upgrade. =A0If the features are =
not compelling, they won&#39;t.</div>
<div><br></div><div>People used to tell me SPDY would never get people to &=
quot;upgrade&quot;. =A0Even after touching a half a billion users, people s=
till tell me that. =A0I think the evidence of adoption speaks for itself.</=
div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
We already have ubiquitous deployment of TLS in browsers. The code is<br>
freely available, everyone knows the benefit.<br>
<br>
The only HTTP servers or clients I am aware of that don&#39;t have TLS<br>
support are either toolsets that the provider expects to be used with<br>
OpenSSL or the like and embedded systems.<br></blockquote><div><br></div><d=
iv>I&#39;ll ask the google crawler guys to weigh in on this. =A0They have p=
retty good stats. =A0I believe your assertion is provably false.</div><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<br>
Incidentally, suport for IPSEC is mandatory in IPv6 but that does not<br>
seem to do any good either. It just means that IPv6 is harder to<br>
deploy as implementations are required to support a security layer<br>
almost nobody uses as TLS has proved better.<br>
<br>
<br>
Making TLS a mandatory requirement seems like a feelgood approach to<br>
security to me. Instead of doing something useful, we pass a<br>
resolution telling people to do what they plan to do anyway.<br></blockquot=
e><div><br></div><div>You imply there is something else that would be usefu=
l - what would it be? =A0(don&#39;t feel obliged to answer :-)</div><div>
<br></div><div>To me mandating security is a great first step. =A0Nobody sh=
ould think this &#39;fixes&#39; security. But if we believe the net ever ne=
eds to be secure, we need to start taking steps toward that.=A0</div><div><=
br>
</div><div>Mandating SSL is a simple step we can take which solves most of =
the eavesdropping problem right now. =A0But more importantly, it poises us =
to address the next set of security issues, including CA/verification probl=
ems, =A0distribution of video over ssl, handshake latency, etc. =A0Until we=
 start trying to be secure, of course we&#39;ll never be secure.</div>
<div><br></div><div>Mike</div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman &lt;<a href=3D"mailto:paul.ho=
ffman@gmail.com">paul.hoffman@gmail.com</a>&gt; wrote:<br>
&gt; +1 to what seems to be a lot of developers: make TLS mandatory.<br>
&gt;<br>
&gt;&gt; =A0so, even when used in an internal application protocol, it&#39;=
s going to<br>
&gt;&gt; =A0be end to end<br>
&gt;&gt; =A0encrypted to make it super hard to debug?<br>
&gt;<br>
&gt; In an internal application protocol, why would it be &quot;super hard =
to<br>
&gt; debug&quot;? The client can do an HTTP dump before TLS, the server can=
 do<br>
&gt; an HTTP dump after TLS; either of the sides could debug the TLS.<br>
&gt;<br>
&gt;&gt; =A0http is about more than users using<br>
&gt;&gt; =A0web browsers.<br>
&gt;<br>
&gt; Completely true, and not relevant. Insecure HTTP for non-browser<br>
&gt; applications still has the same bad properties, no?<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</font></span></blockquote></div><br>

--f46d042d05aa719ab404c5117185--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 19:36:50 2012
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 BC40611E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 19:36:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.409
X-Spam-Level: 
X-Spam-Status: No, score=-5.409 tagged_above=-999 required=5 tests=[AWL=4.890, 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 9nm1euU-RGgT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 19:36:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3745711E8088 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 19:36:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrK81-0002MB-MW for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 02:36:41 +0000
Resent-Date: Wed, 18 Jul 2012 02:36:41 +0000
Resent-Message-Id: <E1SrK81-0002MB-MW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrK7s-0002L7-W7 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 02:36:33 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SrK7r-0001jR-Et for ietf-http-wg@w3.org; Wed, 18 Jul 2012 02:36:32 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6I2a3Tp026988 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 11:36:03 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 3dc3_55a8_51434f0a_d081_11e1_8367_001d096c566a; Wed, 18 Jul 2012 11:36:02 +0900
Received: from [IPv6:::1] ([133.2.210.1]:35746) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E3B80> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Wed, 18 Jul 2012 11:36:07 +0900
Message-ID: <5006210D.4020404@it.aoyama.ac.jp>
Date: Wed, 18 Jul 2012 11:35:57 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Doug Beaver <doug@fb.com>
CC: "'Willy Tarreau'" <w@1wt.eu>, "'ietf-http-wg@w3.org'" <ietf-http-wg@w3.org>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com>
In-Reply-To: <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrK7r-0001jR-Et 7c3de6f4064ec2b926231201114c0d58
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/5006210D.4020404@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14417
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>

Hello Doug, everybody,

On 2012/07/18 7:11, Doug Beaver wrote:

>    * Symmetric crypto costs are not much higher; I think Akamai quoted 10-20%
>      in their response. I think the costs aren't a big deal for major sites;

Just a quick question: I think if we could shave off 10-20% of the 
bandwidth with some new technique, we'd all go for it.

So why are we okay with 10-20% more processing costs for everybody, but 
not with 10-20% more bandwidth? What's different between processing 
costs and bandwidth?

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:18:43 2012
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 0570011E80D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:18:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.243
X-Spam-Level: 
X-Spam-Status: No, score=-7.243 tagged_above=-999 required=5 tests=[AWL=3.056, 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 indxKY2UoAnZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:18:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7CEF811E80C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:18:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrKle-0002FF-JU for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:17:38 +0000
Resent-Date: Wed, 18 Jul 2012 03:17:38 +0000
Resent-Message-Id: <E1SrKle-0002FF-JU@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 1SrKlV-0002E5-R9 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:17:29 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SrKlU-0003ET-Ls for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:17:29 +0000
Received: by bkty15 with SMTP id y15so975262bkt.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:17:02 -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=W/95uA2+/Ae+9dqvqhgy0Mpfb3Nv89aUJivn0zovA7c=; b=ht7eyYqcMVEN4pYU9R7xeth3IgYqyoBIb/Ktf/H0ZFhqGKQEwYUbe9XkTq08gaatr+ lJS7W3MkImirmYuLBTZqUwkcqXHmcb9ZghPO8Fr6CakogQ75MgUtJZMOpr/xiHzXvh+1 U7ypWgqFl0C7lejCUZyZ5GL8slmC32fq+iisAVCulP1YxKIp90gEvBQimnxqNNwzArx4 J96yWFU0i/g3lfr9L8+xLcJTfFPcsyk3ZQd7prm5eZ1M9alW1sgom/1NgPF7yA2huM1G ukReIvMa8o9IWrnX6QFGceV0YOQmFkPvI7aUouwmuAbtiJWFH1QoKe4C4hEP6bxqsbHT 04uw==
MIME-Version: 1.0
Received: by 10.204.152.206 with SMTP id h14mr597130bkw.36.1342581421938; Tue, 17 Jul 2012 20:17:01 -0700 (PDT)
Received: by 10.204.66.17 with HTTP; Tue, 17 Jul 2012 20:17:01 -0700 (PDT)
In-Reply-To: <5006210D.4020404@it.aoyama.ac.jp>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp>
Date: Tue, 17 Jul 2012 20:17:01 -0700
Message-ID: <CABkgnnWfCxtEBARW4nVrPMz_HANJti3_e0QrC0=8V-epNtyD6A@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>
Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrKlU-0003ET-Ls e1d878fbb1ea34688dacb4ea231a0065
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABkgnnWfCxtEBARW4nVrPMz_HANJti3_e0QrC0=8V-epNtyD6A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14418
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 17 July 2012 19:35, "Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp> wrot=
e:
> So why are we okay with 10-20% more processing costs for everybody, but n=
ot
> with 10-20% more bandwidth? What's different between processing costs and
> bandwidth?

Personally, I thought that the first optimization was for latency,
with bandwidth as secondary and (obviously) consequential.  Trade-offs
may have to be made.


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:20:54 2012
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 F1C8D11E8105 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:20:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.449
X-Spam-Level: 
X-Spam-Status: No, score=-6.449 tagged_above=-999 required=5 tests=[AWL=2.850, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 i6V5xzLU+CWJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:20:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8704711E80C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:20:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrKoc-0003qH-K2 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:20:42 +0000
Resent-Date: Wed, 18 Jul 2012 03:20:42 +0000
Resent-Message-Id: <E1SrKoc-0003qH-K2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrKoS-0003pZ-Sg for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:20:32 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrKoR-0003Yu-LY for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:20:32 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145007@smtp.qbik.com>; Wed, 18 Jul 2012 15:20:08 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>
Cc: "Doug Beaver" <doug@fb.com>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 03:20:09 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <CABkgnnWfCxtEBARW4nVrPMz_HANJti3_e0QrC0=8V-epNtyD6A@mail.gmail.com>
Message-Id: <em3ef53ccc-759d-41c4-ad36-b61d006bb0cb@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrKoR-0003Yu-LY bb6f55bf8cc522db5abdff9d2eed55f5
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/em3ef53ccc-759d-41c4-ad36-b61d006bb0cb@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14419
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>

=EF=BB=BF
------ Original Message ------
From: "Martin Thomson" <martin.thomson@gmail.com>
>On 17 July 2012 19:35, "Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp> =
wrote:
>
>>
>>So why are we okay with 10-20% more processing costs for everybody, but=
 not
>>with 10-20% more bandwidth? What's different between processing costs =
and
>>bandwidth?
>>
>
>
>Personally, I thought that the first optimization was for latency,
>
How do you optimise latency by adding 3 RTs in a SSL setup?


>
>with bandwidth as secondary and (obviously) consequential.  Trade-offs
>may have to be made.
>
>
>



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:26:20 2012
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 31BEA11E80C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:26:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.077
X-Spam-Level: 
X-Spam-Status: No, score=-7.077 tagged_above=-999 required=5 tests=[AWL=3.206, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 SF9dU5UbTPJc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:26:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED1B021F84FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:26:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrKtU-0005Z1-Jd for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:25:44 +0000
Resent-Date: Wed, 18 Jul 2012 03:25:44 +0000
Resent-Message-Id: <E1SrKtU-0005Z1-Jd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrKtL-0005YF-EZ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:25:35 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrKtJ-0003jm-6j for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:25:35 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145015@smtp.qbik.com>; Wed, 18 Jul 2012 15:25:10 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 03:25:11 +0000
Content-Type: multipart/alternative; boundary="------=_MB9E306271-75A7-4856-BC97-9E74F52F8CB2"
Message-Id: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrKtJ-0003jm-6j 876f78861ed4b926dc388f4083718347
X-Original-To: ietf-http-wg@w3.org
Subject: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14420
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>

--------=_MB9E306271-75A7-4856-BC97-9E74F52F8CB2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


Mandating use of (c.f. support for) crypto in HTTP will prevent it from=20
being deployable in a significant number of scenarios, thereby=20
requiring ongoing use of HTTP/1.1.


DESIRABILITY OF PRIVACY

Proponents of mandatory crypto=20
are making an assumption that privacy is ALWAYS desirable.

It is not ALWAYS desirable.=20

In many cases privacy is undesirable or even illegal.

1. Many states have outlawed use of crypto.  So will this be HTTP only=20
for the "free" societies?  Or is the IETF trying to achieve political=20
change in "repressed" countries?  I've dealt with our equivalent of the=20
NSA on this matter.  Have you?  I know the IETF has a neutral position=20
on enabling wiretapping.  Mandating SSL is not a neutral / apolitical=20
stance.  Steering HTTP into a collision course with governments just=20
doesn't seem like much of a smart idea.

2. Most prisons do not allow inmates to have privacy when it comes to=20
communications.  Would you deny [*] all prisoners access to the web? =20
There are other scenarios where privacy is not expected, permitted or=20
desirable. =20

3. Many situations require communications to be open and visible. =20
Would you rather your network infrastructure phoned home with SSL or=20
HTTP that you can see.

4. Scanning for malware at a gateway.  This requirement is NOT going=20
away, and the SSL will be brute-forced / spoofed etc to achieve this. =20
Mandating SSL will just make it easier for malware to propagate, since=20
you make it harder to scan [**].


COST

Google, Facebook and Twitter don't need to spend much on SSL certs from=20
CAs.  Not in the scheme of things.

What about the other hundreds of millions of us running web servers. =20
You gonna buy us our certs?  I better buy me some shares in Verisign et=20
al..


SECURITY

Mandating SSL on all devices with HTTP stacks (e.g. your home network=20
infrastructure, NAS, Modem etc) cannot be practically done while we=20
rely on CAs to issue certs, and while those certs must be installed,=20
expired, updated etc etc.

Or do you think manufacturers of such hardware should just ship with=20
some default cert?  Self-signed maybe?  And while you're at it, why not=20
get every machine in the world to trust that cert...  Oh dear, do we=20
have a security problem? =20

Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for=20
the world (or more likely consign HTTP/2.0 to relative obscurity).

It's been alluded to that we'd replace the CA infrastructure.  Don't=20
you think it's premature to propose mandatory use of SSL when you=20
haven't proposed what would replace the CA infrastructure yet?  That's=20
like starting building a spaceship for Alpha Centauri based on a rocket=20
engine that hasn't been invented yet.

You'd have to replace CRL and OCSP checking protocols, because they use=20
HTTP, and mandating use of SSL for that would create a paradox (how do=20
you check the cert on the connection used to check the cert ad=20
infinitum).


OTHER

Most people here seem to focus on issues such as CPU load, extra R-Ts=20
introduced by the SSL setup etc.  Those are valid concerns, but they=20
are easier to overcome than the others. They aren't easy to overcome,=20
just easier.


Seems to me it would be a whole lot simpler and more compatible with=20
the actual world we actually live on just to make crypto optional.

Adrien


[*] We can't realistically expect server operators to indefinitely=20
support both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop HTTP/1.1=20
support, and that part of the internet will then become unavailable to=20
those forced to keep using HTTP/1.1, effectively denying those users.

[**] T
here has been some discussion about enabling intermediaries to be able=20
to see plaintext payload by terminating the SSL connection at each end.=20
  This hasn't progressed enough, and the current proposals still=20
basically bypass intermediaries AFAICT.



--------=_MB9E306271-75A7-4856-BC97-9E74F52F8CB2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>BLOCKQUOTE.cite {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
.plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
.plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#ebb3850f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#ebb3850f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#0de50940f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#0de50940f3d8469a9e1c16188bd1816b BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#0de50940f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#0de50940f3d8469a9e1c16188bd1816b UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#0de50940f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#0de50940f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#0de50940f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#2d4ec9d638bf448cb60461bbe0f582be .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#2d4ec9d638bf448cb60461bbe0f582be BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#2d4ec9d638bf448cb60461bbe0f582be #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#2d4ec9d638bf448cb60461bbe0f582be #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b BODY=
 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#2d4ec9d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b BODY=
 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be BODY=
 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #ebb385=
0f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #ebb3850f55884978a7e0d9eb74c32558 .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b BODY=
 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #0de50940f3d8469a9e1c16188bd1816b #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be BODY=
 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #ebb385=
0f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #2d4ec9d638bf448cb60461bbe0f582be #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 BODY=
 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #ebb385=
0f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #ebb385=
0f55884978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #0de509=
40f3d8469a9e1c16188bd1816b #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 UNKNOWN=
 {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #ebb3850f55884978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #ebb3850f55884978a7e0d9eb74c32558 .plain PRE =
{
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b .plain PRE =
{
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b .plain PRE =
{
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b #ebb3850f55884=
978a7e0d9eb74c32558 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b #ebb3850f55884=
978a7e0d9eb74c32558 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#74feb9b0beca46709f035552df8088c8 #e1a467e332b1403bb7eeb36d580f2c89 #2d4ec9=
d638bf448cb60461bbe0f582be #0de50940f3d8469a9e1c16188bd1816b #ebb3850f55884=
978a7e0d9eb74c32558 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
</STYLE>
</HEAD>
<BODY>
<DIV>&nbsp;</DIV>
<DIV>Mandating use of (c.f. support for) crypto in HTTP will prevent it =
from being deployable in a significant number of scenarios, thereby requiri=
ng ongoing use of&nbsp;HTTP/1.1.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>DESIRABILITY OF PRIVACY</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN id=3D0de50940f3d8469a9e1c16188bd1816b>
<DIV><SPAN id=3D2d4ec9d638bf448cb60461bbe0f582be>
<DIV><SPAN id=3D0de50940f3d8469a9e1c16188bd1816b>
<DIV>Proponents of mandatory crypto </SPAN></SPAN>are making an assumption=
 <SPAN id=3De1a467e332b1403bb7eeb36d580f2c89><SPAN id=3D0de50940f3d8469a9e1=
c16188bd1816b>that privacy is ALWAYS desirable.</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN></SPAN></SPAN>&nbsp;</DIV></DIV></DIV>
<DIV>It is not ALWAYS desirable. </DIV></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>In many cases <SPAN id=3Debb3850f55884978a7e0d9eb74c32558>privacy </SP=
AN>is undesirable or even illegal.</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. Many states have outlawed use of crypto.&nbsp; So will this be HTTP=
 only for the "free" societies?&nbsp; Or is the IETF trying to achieve poli=
tical change in "repressed" countries?&nbsp; I've dealt with our equivalent=
 of the NSA on this matter.&nbsp; Have you?&nbsp; I know the IETF has a =
neutral position on enabling wiretapping.&nbsp; Mandating SSL is not a neut=
ral / apolitical stance.&nbsp; Steering HTTP into a collision course with=
 governments just doesn't seem like much of a smart idea.</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. Most prisons do not allow inmates to have privacy when it comes =
to communications.&nbsp; Would you deny [*]&nbsp;all prisoners access to=
 the web?&nbsp; There are other scenarios where privacy is not expected,=
 permitted or desirable.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>3. Many situations require communications to be open and visible.&nbsp=
; Would you rather your network infrastructure phoned home with SSL or HTTP=
 that you can see.</DIV>
<DIV>&nbsp;</DIV>
<DIV>4. Scanning for malware at a gateway.&nbsp; This requirement is NOT=
 going away, and the SSL will be brute-forced / spoofed etc to achieve this=
.&nbsp; Mandating SSL will just make it easier for malware to propagate,=
 since you make it harder to scan [**].</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>COST</DIV>
<DIV>&nbsp;</DIV>
<DIV>Google, Facebook and Twitter don't need to spend much on SSL certs =
from CAs.&nbsp; Not in the scheme of things.</DIV>
<DIV>&nbsp;</DIV>
<DIV>What about the other&nbsp;hundreds of millions&nbsp;of us running web=
 servers.&nbsp; You gonna buy us our certs?&nbsp; I better buy me some shar=
es in Verisign et al..</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SECURITY</DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating SSL on all devices with HTTP stacks (e.g. your home network=
 infrastructure, NAS, Modem etc) cannot be practically done while we rely=
 on CAs to issue certs, and while those certs must be installed, expired,=
 updated etc etc.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Or do you think manufacturers of such hardware should just ship with=
 some default cert?&nbsp; Self-signed maybe?&nbsp; And while you're at it,=
 why not get every machine in the world to trust that cert...&nbsp; Oh dear=
, do we have a security problem?&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL =
for the world (or more likely consign HTTP/2.0 to relative obscurity).</DIV=
>
<DIV>&nbsp;</DIV>
<DIV>It's been alluded to that we'd replace the CA infrastructure.&nbsp;=
 Don't you think it's premature to propose mandatory use of SSL when you=
 haven't proposed what would replace the CA infrastructure yet?&nbsp; That'=
s like starting building a&nbsp;spaceship for&nbsp;Alpha Centauri&nbsp;base=
d on a rocket engine that hasn't been invented yet.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You'd have to replace CRL and OCSP checking protocols, because they=
 use HTTP, and mandating use of SSL for that would create a paradox (how=
 do you check the cert on the connection used to check the cert ad infinitu=
m).</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>OTHER</DIV>
<DIV>&nbsp;</DIV>
<DIV>Most people here seem to focus on issues such as CPU load, extra R-Ts=
 introduced by the SSL setup etc.&nbsp; Those are valid concerns, but they=
 are easier to overcome than the others. They aren't easy to overcome, just=
 easier.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Seems to me it would be a whole lot simpler and more compatible with=
 the actual world we actually live on just to make&nbsp;crypto optional.</D=
IV>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>[*] We can't realistically expect server operators to indefinitely =
support both HTTP/2.0 and HTTP/1.1.&nbsp; Some will inevitably drop HTTP/1.=
1 support, and that part of the internet will then become unavailable to=
 those forced to keep using HTTP/1.1, effectively denying those users.</DIV=
>
<DIV>&nbsp;</DIV>
<DIV><SPAN id=3D74feb9b0beca46709f035552df8088c8>
<DIV>[**] T</SPAN>here has been some discussion about enabling intermediari=
es to be able to see plaintext payload by terminating the SSL connection=
 at each end.&nbsp; This hasn't progressed enough, and the current proposal=
s still basically bypass intermediaries AFAICT.</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
--------=_MB9E306271-75A7-4856-BC97-9E74F52F8CB2--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:29:58 2012
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 6DFB511E80C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:29:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.297
X-Spam-Level: 
X-Spam-Status: No, score=-10.297 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, NO_RDNS_DOTCOM_HELO=0.001, 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 4C6D+WY53gy2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:29:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6D16611E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:29:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrKxP-00062Q-Lr for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:29:47 +0000
Resent-Date: Wed, 18 Jul 2012 03:29:47 +0000
Resent-Message-Id: <E1SrKxP-00062Q-Lr@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1SrKx5-00061I-Up for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:29:27 +0000
Received: from mrout3.yahoo.com ([216.145.54.173]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1SrKx4-0003sc-HM for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:29:27 +0000
Received: from SP2-EX07CAS03.ds.corp.yahoo.com (sp2-ex07cas03.corp.sp2.yahoo.com [98.137.59.35]) by mrout3.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q6I3R0TN096547; Tue, 17 Jul 2012 20:27:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1342582021; bh=zcQXsQBGzZVP6fuPO/GBHAep9lOu85S1F1T+yKdkVY0=; h=From:To:CC:Date:Subject:Message-ID:In-Reply-To:Content-Type: MIME-Version; b=CkN9bcG0whqT3RME88IQYu3MbN1K2zwAxdDlO/Vf31V2MHJCf+IQC1RqUw7WXaQZc LEYPEIiOYl1uTIdciPYb8iXpOFALUn1oNf/csAFnDERTimpEX0yKHjUrxDcDT9SBks s07jiB2rZs6ro4628tOIJzQspJa5Zkya/+eczDqY=
Received: from SP2-EX07VS03.ds.corp.yahoo.com ([98.137.59.32]) by SP2-EX07CAS03.ds.corp.yahoo.com ([98.137.59.35]) with mapi; Tue, 17 Jul 2012 20:27:00 -0700
From: Rajeev Bector <rbector@yahoo-inc.com>
To: "Adrien W. de Croy" <adrien@qbik.com>, Martin Thomson <martin.thomson@gmail.com>, =?iso-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
CC: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 17 Jul 2012 20:26:56 -0700
Thread-Topic: Re[2]: HTTP2 Expression of Interest
Thread-Index: Ac1klTC7Gme5qTvHR6ahf5usArhMJQ==
Message-ID: <CC2B968D.25BEA%rbector@yahoo-inc.com>
In-Reply-To: <em3ef53ccc-759d-41c4-ad36-b61d006bb0cb@bombed>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.14.0.111121
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CC2B968D25BEArbectoryahooinccom_"
MIME-Version: 1.0
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 582020004
Received-SPF: neutral client-ip=216.145.54.173; envelope-from=rbector@yahoo-inc.com; helo=mrout3.yahoo.com
X-W3C-Hub-Spam-Status: No, score=-16.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, NO_RDNS_DOTCOM_HELO=0.823, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779, USER_IN_DEF_WHITELIST=-15
X-W3C-Scan-Sig: lisa.w3.org 1SrKx4-0003sc-HM 67b822e869cf25559b9fefb3f1cff285
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CC2B968D.25BEA%25rbector@yahoo-inc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14421
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>

--_000_CC2B968D25BEArbectoryahooinccom_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Arguably, the cost of 3 Rts is amortized over many many objects that gets t=
ransferred over the session. That said, I am trying to imagine how to do cr=
ypto on my Arduino :-).


From: "Adrien W. de Croy" <adrien@qbik.com<mailto:adrien@qbik.com>>
Reply-To: "Adrien W. de Croy" <adrien@qbik.com<mailto:adrien@qbik.com>>
Date: Tue, 17 Jul 2012 20:20:09 -0700
To: Martin Thomson <martin.thomson@gmail.com<mailto:martin.thomson@gmail.co=
m>>, "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp<mailto:duerst@it.aoyama.ac=
.jp>>
Cc: Doug Beaver <doug@fb.com<mailto:doug@fb.com>>, Willy Tarreau <w@1wt.eu<=
mailto:w@1wt.eu>>, "ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>" <ietf-=
http-wg@w3.org<mailto:ietf-http-wg@w3.org>>
Subject: Re[2]: HTTP2 Expression of Interest


------ Original Message ------
From: "Martin Thomson" <martin.thomson@gmail.com<mailto:martin.thomson@gmai=
l.com>>
On 17 July 2012 19:35, "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp<mailto:d=
uerst@it.aoyama.ac.jp>> wrote:


So why are we okay with 10-20% more processing costs for everybody, but not
with 10-20% more bandwidth? What's different between processing costs and
bandwidth?



Personally, I thought that the first optimization was for latency,

How do you optimise latency by adding 3 RTs in a SSL setup?



with bandwidth as secondary and (obviously) consequential.  Trade-offs
may have to be made.







--_000_CC2B968D25BEArbectoryahooinccom_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-si=
ze: 16px; font-family: Verdana, sans-serif; "><div>Arguably, the cost of 3 =
Rts is amortized over many many objects that gets transferred over the sess=
ion.&nbsp;That said, I am trying to imagine how to do crypto on my Arduino =
:-). &nbsp;&nbsp;</div><div><br></div><div><br></div><span id=3D"OLK_SRC_BO=
DY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text-align:l=
eft; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PAD=
DING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4d=
f 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"fo=
nt-weight:bold">From: </span> "Adrien W. de Croy" &lt;<a href=3D"mailto:adr=
ien@qbik.com">adrien@qbik.com</a>&gt;<br><span style=3D"font-weight:bold">R=
eply-To: </span> "Adrien W. de Croy" &lt;<a href=3D"mailto:adrien@qbik.com"=
>adrien@qbik.com</a>&gt;<br><span style=3D"font-weight:bold">Date: </span> =
Tue, 17 Jul 2012 20:20:09 -0700<br><span style=3D"font-weight:bold">To: </s=
pan> Martin Thomson &lt;<a href=3D"mailto:martin.thomson@gmail.com">martin.=
thomson@gmail.com</a>&gt;, "Martin J. D=FCrst" &lt;<a href=3D"mailto:duerst=
@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt;<br><span style=3D"font-wei=
ght:bold">Cc: </span> Doug Beaver &lt;<a href=3D"mailto:doug@fb.com">doug@f=
b.com</a>&gt;, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&g=
t;, "<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>" &lt;<a=
 href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br><span s=
tyle=3D"font-weight:bold">Subject: </span> Re[2]: HTTP2 Expression of Inter=
est<br></div><div><br></div><div><div><div><br></div><div>------ Original M=
essage ------</div><div>From: "Martin Thomson" &lt;<a href=3D"mailto:martin=
.thomson@gmail.com">martin.thomson@gmail.com</a>&gt;</div><blockquote id=3D=
"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid;=
 PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div>On 17 July 2012 19:35, "Martin J. D=
=FCrst" &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.j=
p</a>&gt; wrote:</div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUT=
ION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MAR=
GIN:0 0 0 5;"><div><br></div><div>So why are we okay with 10-20% more proce=
ssing costs for everybody, but not</div><div>with 10-20% more bandwidth? Wh=
at's different between processing costs and</div><div>bandwidth?</div><div>=
<br></div></blockquote><div><br></div><div><br></div><div>Personally, I tho=
ught that the first optimization was for latency,</div><div><br></div></blo=
ckquote><div>How do you optimise latency by adding 3 RTs in a SSL setup?</d=
iv><div><br></div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_=
BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:=
0 0 0 5;"><div><br></div><div>with bandwidth as secondary and (obviously) c=
onsequential.&nbsp;&nbsp;Trade-offs</div><div>may have to be made.</div><di=
v><br></div><div><br></div><div><br></div></blockquote><div><br></div><div>=
<br></div><div><br></div></div></div></span></body></html>

--_000_CC2B968D25BEArbectoryahooinccom_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:33:20 2012
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 539EC11E8105 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:33:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.69
X-Spam-Level: 
X-Spam-Status: No, score=-8.69 tagged_above=-999 required=5 tests=[AWL=1.909, BAYES_00=-2.599, 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 vxGtq4OIrhKW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:33:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F3B7811E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:33:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrL0Y-0001GA-D3 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:33:02 +0000
Resent-Date: Wed, 18 Jul 2012 03:33:02 +0000
Resent-Message-Id: <E1SrL0Y-0001GA-D3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrL0O-0001Dz-DN for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:32:52 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrL0N-0003m5-3g for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:32:52 +0000
Received: by vcdd16 with SMTP id d16so362554vcd.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:32: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; bh=lEhIia8CMAju9PTEHzhkjLe7/IQxhIYeCFb3o14d7T8=; b=N1AOyFfvo5GfZPiTTf8JlEhesmhoxD15iiTaf0NcnPU33Zk8yOFrz70OUkt2YEQldx I5VtqGH2FZOmzI5KGTYt635HeZ7IJXrRsF8PzZihFbJSdjNAH/ePUa08FmPyqHRfcVYA eHovZ7K+IDRS/QPzLccf9hZPgqYsxfswZZWD3soFWYrWQ/lUv8usNfkkws5RbIYlgovn TWoBZopDv8yhjA2hDKmYd084aJKlxEaVSmsPch6qFAryknDTqxkxYPtBumhNGbQiHOwF 0Uutus95pu/L90AQVYh6Zad29jBC7pRM3TCkwBgoKCCA5ye6r9E3o4xhj4uWtH7Buxzz 7i8A==
MIME-Version: 1.0
Received: by 10.220.241.201 with SMTP id lf9mr2653039vcb.16.1342582345103; Tue, 17 Jul 2012 20:32:25 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 20:32:25 -0700 (PDT)
In-Reply-To: <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com>
Date: Tue, 17 Jul 2012 23:32:25 -0400
Message-ID: <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrL0N-0003m5-3g 3c005d7a563d06e41e89d26595ed3afc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14422
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>

Umm pretty much every Web Server has SSL support, the issue is that
only about 2% of deployments turn it on. Or is the idea that we are
going to mandate turning it on? If so, who is going to define the
trust criteria for accepting certs?

I am a big supporter of TLS. I just don't see anything good coming
from a mandate that is superfluous.

As an example, we have had a mandate in PKIX to check CRLs and/or OCSP
for over a decade and to reject a certificate if the client cannot
perform validation. Most browsers try to check but accept the
certificate if there is no response to the OCSP request. So virtually
every deployed browser has been out of compliance with a fundamental
PKIX control for over a decade despite repeated attempts by the CAs to
persuade the providers to change this.

I can't see how DANE is going to solve anything either since DANE
poses an even more disruptive hard-fail criteria.

I don't want to tie an application layer protocol version to a
transport layer protocol version or vice versa. If you tie HTTP 2.0 to
TLS 1.2 then you are going to have to revise HTTP when you revise TLS.


I don't see any value in a Canute/sea act here.


What would be valuable is to have a suite of standards for a specific
application that could be identified as a set. Something like 'best
practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with
AES+SHA2 + DNSSEC'. It would also be nice to see a similar draft for
best practices for email clients and servers, and yes, support for
STARTTLS would be high on my list of requirements. A draft like that
would be very useful as a contract term for outsourcing Web hosting or
mail service.

But that is a totally different prospect to trying to tie HTTP to a
particular security solution.


Implementing TLS in a product is far from trivial. Getting the code is
easy, selecting trust anchors is not. Is the specification going to
mandate a particular choice of trust anchor? that is not going to
happen. Nor is defining a minimum Certification Policy or locking the
whole HTTP trust infrastructure to the ICANN PKI root by trying to
mandate DNSSEC and DANE as well as TLS.

TLS requires a PKI to work and every PKI comes with a set of policy
and legal questions that have to be understood if the scheme is going
to provide any security.


On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe <mike@belshe.com> wrote:
> Mandatory SSL is +1 and very forward thinking.
>
> On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> -1
>>
>> I don't want to have a mandatory requirement unless it is going to
>> change behavior.
>
>
> I don't think we can change behavior with protocols.  All we can do is offer
> new features.  If the features are compelling, people will upgrade.  If the
> features are not compelling, they won't.
>
> People used to tell me SPDY would never get people to "upgrade".  Even after
> touching a half a billion users, people still tell me that.  I think the
> evidence of adoption speaks for itself.
>
>>
>>
>> We already have ubiquitous deployment of TLS in browsers. The code is
>> freely available, everyone knows the benefit.
>>
>> The only HTTP servers or clients I am aware of that don't have TLS
>> support are either toolsets that the provider expects to be used with
>> OpenSSL or the like and embedded systems.
>
>
> I'll ask the google crawler guys to weigh in on this.  They have pretty good
> stats.  I believe your assertion is provably false.
>
>>
>>
>> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
>> seem to do any good either. It just means that IPv6 is harder to
>> deploy as implementations are required to support a security layer
>> almost nobody uses as TLS has proved better.
>>
>>
>> Making TLS a mandatory requirement seems like a feelgood approach to
>> security to me. Instead of doing something useful, we pass a
>> resolution telling people to do what they plan to do anyway.
>
>
> You imply there is something else that would be useful - what would it be?
> (don't feel obliged to answer :-)
>
> To me mandating security is a great first step.  Nobody should think this
> 'fixes' security. But if we believe the net ever needs to be secure, we need
> to start taking steps toward that.
>
> Mandating SSL is a simple step we can take which solves most of the
> eavesdropping problem right now.  But more importantly, it poises us to
> address the next set of security issues, including CA/verification problems,
> distribution of video over ssl, handshake latency, etc.  Until we start
> trying to be secure, of course we'll never be secure.
>
> Mike
>
>>
>>
>>
>> On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com>
>> wrote:
>> > +1 to what seems to be a lot of developers: make TLS mandatory.
>> >
>> >>  so, even when used in an internal application protocol, it's going to
>> >>  be end to end
>> >>  encrypted to make it super hard to debug?
>> >
>> > In an internal application protocol, why would it be "super hard to
>> > debug"? The client can do an HTTP dump before TLS, the server can do
>> > an HTTP dump after TLS; either of the sides could debug the TLS.
>> >
>> >>  http is about more than users using
>> >>  web browsers.
>> >
>> > Completely true, and not relevant. Insecure HTTP for non-browser
>> > applications still has the same bad properties, no?
>> >
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:34:50 2012
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 57F8211E8105 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:34:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.73
X-Spam-Level: 
X-Spam-Status: No, score=-6.73 tagged_above=-999 required=5 tests=[AWL=2.568, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 ATL3htr4TqDa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:34:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DC0311E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:34:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrL28-0001QH-6F for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:34:40 +0000
Resent-Date: Wed, 18 Jul 2012 03:34:40 +0000
Resent-Message-Id: <E1SrL28-0001QH-6F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrL1z-0001Ml-2V for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:34:31 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrL1x-00047w-9j for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:34:30 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145037@smtp.qbik.com>; Wed, 18 Jul 2012 15:34:07 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>
Cc: "Doug Beaver" <doug@fb.com>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 03:34:07 +0000
Content-Type: multipart/alternative; boundary="------=_MB3F95AD3B-F87E-4E2B-A454-72B75FD66FAC"
In-Reply-To: <CC2B968D.25BEA%rbector@yahoo-inc.com>
Message-Id: <ema7942247-d20a-4cc9-9baf-1f153a84eb55@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrL1x-00047w-9j 18c90dec1ef39299233c1195d92c179f
X-Original-To: ietf-http-wg@w3.org
Subject: Re[4]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/ema7942247-d20a-4cc9-9baf-1f153a84eb55@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14423
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>

--------=_MB3F95AD3B-F87E-4E2B-A454-72B75FD66FAC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


we can already transfer many objects over a single connection with=20
HTTP/1.1

SPDY without SSL would be more speedy than with it.

There may be only a couple R-Ts to get an SSL handshake, but sprinkle=20
on a CRL / OCSP check and you're left eating dust.

So, let's just get this straight for the record.  SSL will not improve=20
latency.  It will make it worse, and for many people (on=20
already-high-latency links) a LOT worse.


------ Original Message ------
From: "Rajeev Bector" <rbector@yahoo-inc.com>
To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson"=20
<martin.thomson@gmail.com>;"Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp>
Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau"=20
<w@1wt.eu>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 18/07/2012 3:26:56 p.m.
Subject: Re: Re[2]: HTTP2 Expression of Interest
>Arguably, the cost of 3 Rts is amortized over many many objects that=20
>gets transferred over the session. That said, I am trying to imagine=20
>how to do crypto on my Arduino :-).  =20
>
>
>From: "Adrien W. de Croy" <adrien@qbik.com>
>Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
>Date: Tue, 17 Jul 2012 20:20:09 -0700
>To: Martin Thomson <martin.thomson@gmail.com>, "Martin J. D=C3=BCrst" <due=
rst@it.aoyama.ac.jp>
>Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.=
org" <ietf-http-wg@w3.org>
>Subject: Re[2]: HTTP2 Expression of Interest
>
>
>------ Original Message ------
>From: "Martin Thomson" <martin.thomson@gmail.com>
> On 17 July 2012 19:35, "Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp>=
 wrote:
>=20
> =20
>  So why are we okay with 10-20% more processing costs for everybody,=20
>  but not
>  with 10-20% more bandwidth? What's different between processing=20
>  costs and
>  bandwidth?
> =20
 =20
 =20
  Personally, I thought that the first optimization was for latency,
 =20
 How do you optimise latency by adding 3 RTs in a SSL setup?
=20
=20
 =20
  with bandwidth as secondary and (obviously) consequential.  Trade-offs
  may have to be made.
 =20
 =20
 =20
=20
=20
=20

--------=_MB3F95AD3B-F87E-4E2B-A454-72B75FD66FAC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#41d292ca86d346e0962c5e5f7557d4ed BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#41d292ca86d346e0962c5e5f7557d4ed .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#41d292ca86d346e0962c5e5f7557d4ed=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#41d292ca86d346e0962c5e5f7557d4ed .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>we can already transfer many objects over a single connection with =
HTTP/1.1</DIV>
<DIV>&nbsp;</DIV>
<DIV>SPDY without SSL&nbsp;would be more speedy than with it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>There may be only a couple R-Ts to get an SSL handshake, but sprinkle=
 on a CRL / OCSP check and you're left&nbsp;eating dust.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, let's just get this straight for the record.&nbsp; SSL will not=
 improve latency.&nbsp; It will make it worse, and for many people (on alre=
ady-high-latency links) a LOT worse.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>------ Original Message ------<BR>From: "Rajeev Bector" &lt;rbecto=
r@yahoo-inc.com&gt;<BR>To: "Adrien W. de Croy" &lt;adrien@qbik.com&gt;;"Mar=
tin Thomson" &lt;martin.thomson@gmail.com&gt;;"Martin J. D=C3=BCrst" &lt;du=
erst@it.aoyama.ac.jp&gt;<BR>Cc: "Doug Beaver" &lt;doug@fb.com&gt;;"Willy=
 Tarreau" &lt;w@1wt.eu&gt;;"ietf-http-wg@w3.org" &lt;ietf-http-wg@w3.org&gt=
;<BR>Sent: 18/07/2012 3:26:56 p.m.<BR>Subject: Re: Re[2]: HTTP2 Expression=
 of Interest<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCC2B968D.25BEA%rbector@yahoo-inc.com type=
=3D"cite">
<DIV style=3D"FONT-FAMILY: Verdana, sans-serif; WORD-WRAP: break-word; COLO=
R: rgb(0,0,0); FONT-SIZE: 16px; -webkit-nbsp-mode: space; -webkit-line-brea=
k: after-white-space" id=3D41d292ca86d346e0962c5e5f7557d4ed>
<DIV>Arguably, the cost of 3 Rts is amortized over many many objects that=
 gets transferred over the session.&nbsp;That said, I am trying to imagine=
 how to do crypto on my Arduino :-). &nbsp;&nbsp;</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV><SPAN id=3DOLK_SRC_BODY_SECTION>
<DIV style=3D"BORDER-BOTTOM: medium none; TEXT-ALIGN: left; BORDER-LEFT:=
 medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in;=
 FONT-FAMILY: Calibri; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #b5c4df=
 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><SPAN style=3D"FON=
T-WEIGHT: bold">From: </SPAN>"Adrien W. de Croy" &lt;<A href=3D"mailto:adri=
en@qbik.com"><A href=3D"mailto:adrien@qbik.com">adrien@qbik.com</A></A>&gt;=
<BR><SPAN style=3D"FONT-WEIGHT: bold">Reply-To: </SPAN>"Adrien W. de Croy"=
 &lt;<A href=3D"mailto:adrien@qbik.com"><A href=3D"mailto:adrien@qbik.com">=
adrien@qbik.com</A></A>&gt;<BR><SPAN style=3D"FONT-WEIGHT: bold">Date: </SP=
AN>Tue, 17 Jul 2012 20:20:09 -0700<BR><SPAN style=3D"FONT-WEIGHT: bold">To:=
 </SPAN>Martin Thomson &lt;<A href=3D"mailto:martin.thomson@gmail.com"><A=
 href=3D"mailto:martin.thomson@gmail.com">martin.thomson@gmail.com</A></A>&=
gt;, "Martin J. D=C3=BCrst" &lt;<A href=3D"mailto:duerst@it.aoyama.ac.jp"><=
A href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</A></A>&gt;=
<BR><SPAN style=3D"FONT-WEIGHT: bold">Cc: </SPAN>Doug Beaver &lt;<A href=
=3D"mailto:doug@fb.com"><A href=3D"mailto:doug@fb.com">doug@fb.com</A></A>&=
gt;, Willy Tarreau &lt;<A href=3D"mailto:w@1wt.eu"><A href=3D"mailto:w@1wt.=
eu">w@1wt.eu</A></A>&gt;, "<A href=3D"mailto:ietf-http-wg@w3.org"><A href=
=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</A></A>" &lt;<A href=
=3D"mailto:ietf-http-wg@w3.org"><A href=3D"mailto:ietf-http-wg@w3.org">ietf=
-http-wg@w3.org</A></A>&gt;<BR><SPAN style=3D"FONT-WEIGHT: bold">Subject:=
 </SPAN>Re[2]: HTTP2 Expression of Interest<BR></DIV>
<DIV><BR></DIV>
<DIV>
<DIV>
<DIV><BR></DIV>
<DIV>------ Original Message ------</DIV>
<DIV>From: "Martin Thomson" &lt;<A href=3D"mailto:martin.thomson@gmail.com"=
><A href=3D"mailto:martin.thomson@gmail.com">martin.thomson@gmail.com</A></=
A>&gt;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #b5c4df 5px solid; PADDING-BOTTOM: 0px;=
 MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TO=
P: 0px" id=3DMAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE>
<DIV>On 17 July 2012 19:35, "Martin J. D=C3=BCrst" &lt;<A href=3D"mailto:du=
erst@it.aoyama.ac.jp"><A href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.a=
oyama.ac.jp</A></A>&gt; wrote:</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #b5c4df 5px solid; PADDING-BOTTOM: 0px;=
 MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TO=
P: 0px" id=3DMAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>So why are we okay with 10-20% more processing costs for everybody,=
 but not</DIV>
<DIV>with 10-20% more bandwidth? What's different between processing costs=
 and</DIV>
<DIV>bandwidth?</DIV>
<DIV><BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Personally, I thought that the first optimization was for latency,</DI=
V>
<DIV><BR></DIV></BLOCKQUOTE>
<DIV>How do you optimise latency by adding 3 RTs in a SSL setup?</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #b5c4df 5px solid; PADDING-BOTTOM: 0px;=
 MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TO=
P: 0px" id=3DMAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>with bandwidth as secondary and (obviously) consequential.&nbsp;&nbsp;=
Trade-offs</DIV>
<DIV>may have to be made.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></DIV></DIV></SPAN></DIV></BLOCKQUOTE></BODY></HTML>
--------=_MB3F95AD3B-F87E-4E2B-A454-72B75FD66FAC--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:43:44 2012
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 D544E11E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:43:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.923
X-Spam-Level: 
X-Spam-Status: No, score=-9.923 tagged_above=-999 required=5 tests=[AWL=0.053, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 2jXKhJDFjKFn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:43:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E402111E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:43:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLB8-00050g-CJ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:43:58 +0000
Resent-Date: Wed, 18 Jul 2012 03:43:58 +0000
Resent-Message-Id: <E1SrLB8-00050g-CJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLAy-0004zq-5l for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:43:48 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLAw-0004Q3-JO for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:43:48 +0000
Received: by lbom4 with SMTP id m4so1629330lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:43:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=TzZKSaeklSFrrbYyESSZZ6a2PhxguyW6EyY0KpK0qmM=; b=G6A6Wb7DaKptiCx7j0kH4VAL95UnYLtDjD1F1z2mCzHHgXUJ8w1Ms/PxUa2w5die5K jychWPF+PNmYRghaCpYoQpJMalB+q2c9YpMNukf2gfT3HRY4JEv0FrTVNfZTlV1AyMUr YScR79yTF9ffmgnnEwCmv2XXzmps8lX1ZIroiWULK7Gc95ZxQ9C+xRZo+llqKzSYSwLc BgEEghi7lH2RwxrQG8dbe4IAkjKhIjymhcjhdRDPywWdRAZzdPwiVsoHFBFP4x9FBLwQ 9mNhriv5eDhDeIVaYs9CiNvrPQDW0LfWmDpnHPuMqyPWwHTa9z/7pVQ3/N3XyBFtBEJH LFKA==
MIME-Version: 1.0
Received: by 10.152.46.6 with SMTP id r6mr1609060lam.7.1342582999681; Tue, 17 Jul 2012 20:43:19 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 20:43:19 -0700 (PDT)
In-Reply-To: <ema7942247-d20a-4cc9-9baf-1f153a84eb55@bombed>
References: <CC2B968D.25BEA%rbector@yahoo-inc.com> <ema7942247-d20a-4cc9-9baf-1f153a84eb55@bombed>
Date: Tue, 17 Jul 2012 20:43:19 -0700
Message-ID: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>,  =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec550ace6c708ba04c51276e6
X-Gm-Message-State: ALoCoQnc0ThuS/i9N6E9OxJBcSgD2QdlobYcqvzkgYtS9VncYzG8njkx3Pit5RPkvIf+88SA1Two
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrLAw-0004Q3-JO 4ae46e1d37263dea447ea9997045d6ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[4]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14424
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>

--bcaec550ace6c708ba04c51276e6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> we can already transfer many objects over a single connection with HTTP/1=
.1
>
> SPDY without SSL would be more speedy than with it.
>
> There may be only a couple R-Ts to get an SSL handshake, but sprinkle on =
a
> CRL / OCSP check and you're left eating dust.
>
> So, let's just get this straight for the record.  SSL will not improve
> latency.  It will make it worse, and for many people (on
> already-high-latency links) a LOT worse.
>

Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all the time,
but yes, OSCP can add a lot, and SSL implementations vary.  But SPDY gains
a lot of this back with fewer connections, multiplexing, and compression.
 Don't forget to implement SSL False Start in your client.  Obviously an
un-optimized SSL stack will have a harder time than an optimized one.

But its not true that every bit of latency is more important than security.

Note that Google has reported overall latency of SPDY + SSL is faster than
HTTP without SSL or SPDY.

Mike


>
>
> ------ Original Message ------
> From: "Rajeev Bector" <rbector@yahoo-inc.com>
> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson" <
> martin.thomson@gmail.com>;"Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau" <w@1wt.eu>;"
> ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 18/07/2012 3:26:56 p.m.
> Subject: Re: Re[2]: HTTP2 Expression of Interest
>
>  Arguably, the cost of 3 Rts is amortized over many many objects that
> gets transferred over the session. That said, I am trying to imagine how =
to
> do crypto on my Arduino :-).
>
>
> From: "Adrien W. de Croy" < <adrien@qbik.com>adrien@qbik.com>
> Reply-To: "Adrien W. de Croy" < <adrien@qbik.com>adrien@qbik.com>
> Date: Tue, 17 Jul 2012 20:20:09 -0700
> To: Martin Thomson < <martin.thomson@gmail.com>martin.thomson@gmail.com>,
> "Martin J. D=FCrst" < <duerst@it.aoyama.ac.jp>duerst@it.aoyama.ac.jp>
> Cc: Doug Beaver < <doug@fb.com>doug@fb.com>, Willy Tarreau < <w@1wt.eu>
> w@1wt.eu>, " <ietf-http-wg@w3.org>ietf-http-wg@w3.org" <<ietf-http-wg@w3.=
org>
> ietf-http-wg@w3.org>
> Subject: Re[2]: HTTP2 Expression of Interest
>
>
> ------ Original Message ------
> From: "Martin Thomson" < <martin.thomson@gmail.com>
> martin.thomson@gmail.com>
>
> On 17 July 2012 19:35, "Martin J. D=FCrst" < <duerst@it.aoyama.ac.jp>
> duerst@it.aoyama.ac.jp> wrote:
>
>
> So why are we okay with 10-20% more processing costs for everybody, but n=
ot
> with 10-20% more bandwidth? What's different between processing costs and
> bandwidth?
>
>
>
> Personally, I thought that the first optimization was for latency,
>
> How do you optimise latency by adding 3 RTs in a SSL setup?
>
>
>
> with bandwidth as secondary and (obviously) consequential.  Trade-offs
> may have to be made.
>
>
>
>
>
>
>

--bcaec550ace6c708ba04c51276e6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:34 PM, Adrien =
W. de Croy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=
=3D"_blank">adrien@qbik.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">



<div>
<div>=A0</div>
<div>we can already transfer many objects over a single connection with HTT=
P/1.1</div>
<div>=A0</div>
<div>SPDY without SSL=A0would be more speedy than with it.</div>
<div>=A0</div>
<div>There may be only a couple R-Ts to get an SSL handshake, but sprinkle =
on a CRL / OCSP check and you&#39;re left=A0eating dust.</div>
<div>=A0</div>
<div>So, let&#39;s just get this straight for the record.=A0 SSL will not i=
mprove latency.=A0 It will make it worse, and for many people (on already-h=
igh-latency links) a LOT worse.</div></div></blockquote><div><br></div><div=
>
Of course, no-SSL is lower latency than SSL. =A0It&#39;s not 3 RTs all the =
time, but yes, OSCP can add a lot, and SSL implementations vary. =A0But SPD=
Y gains a lot of this back with fewer connections, multiplexing, and compre=
ssion. =A0Don&#39;t forget to implement SSL False Start in your client. =A0=
Obviously an un-optimized SSL stack will have a harder time than an optimiz=
ed one.</div>
<div><br></div><div>But its not true that every bit of latency is more impo=
rtant than security.</div><div><br></div><div>Note that Google has reported=
 overall latency of SPDY + SSL is faster than HTTP without SSL or SPDY. =A0=
</div>
<div><br></div><div>Mike</div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div>
<div>=A0</div>
<div><div class=3D"im"><br>------ Original Message ------<br>From: &quot;Ra=
jeev Bector&quot; &lt;<a href=3D"mailto:rbector@yahoo-inc.com" target=3D"_b=
lank">rbector@yahoo-inc.com</a>&gt;<br>To: &quot;Adrien W. de Croy&quot; &l=
t;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&=
gt;;&quot;Martin Thomson&quot; &lt;<a href=3D"mailto:martin.thomson@gmail.c=
om" target=3D"_blank">martin.thomson@gmail.com</a>&gt;;&quot;Martin J. D=FC=
rst&quot; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"_blank">d=
uerst@it.aoyama.ac.jp</a>&gt;<br>
Cc: &quot;Doug Beaver&quot; &lt;<a href=3D"mailto:doug@fb.com" target=3D"_b=
lank">doug@fb.com</a>&gt;;&quot;Willy Tarreau&quot; &lt;<a href=3D"mailto:w=
@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;;&quot;<a href=3D"mailto:ietf-ht=
tp-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a href=
=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&g=
t;<br>
</div><div><div class=3D"h5">Sent: 18/07/2012 3:26:56 p.m.<br>Subject: Re: =
Re[2]: HTTP2 Expression of Interest<br></div></div></div><div><div class=3D=
"h5">
<blockquote type=3D"cite">
<div style=3D"font-size:16px;font-family:Verdana,sans-serif;word-wrap:break=
-word">
<div>Arguably, the cost of 3 Rts is amortized over many many objects that g=
ets transferred over the session.=A0That said, I am trying to imagine how t=
o do crypto on my Arduino :-). =A0=A0</div>
<div><br></div>
<div><br></div><span>
<div style=3D"border-right:medium none;padding-right:0in;padding-left:0in;p=
adding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;fon=
t-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-lef=
t:medium none">
<span style=3D"FONT-WEIGHT:bold">From: </span>&quot;Adrien W. de Croy&quot;=
 &lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"ma=
ilto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;<br><span st=
yle=3D"FONT-WEIGHT:bold">Reply-To: </span>&quot;Adrien W. de Croy&quot; &lt=
;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"mailto=
:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Date: </span>Tue, 17 Jul 2012 20:20:09 -07=
00<br><span style=3D"FONT-WEIGHT:bold">To: </span>Martin Thomson &lt;<a hre=
f=3D"mailto:martin.thomson@gmail.com" target=3D"_blank"></a><a href=3D"mail=
to:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>=
&gt;, &quot;Martin J. D=FCrst&quot; &lt;<a href=3D"mailto:duerst@it.aoyama.=
ac.jp" target=3D"_blank"></a><a href=3D"mailto:duerst@it.aoyama.ac.jp" targ=
et=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Cc: </span>Doug Beaver &lt;<a href=3D"mail=
to:doug@fb.com" target=3D"_blank"></a><a href=3D"mailto:doug@fb.com" target=
=3D"_blank">doug@fb.com</a>&gt;, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.=
eu" target=3D"_blank"></a><a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1=
wt.eu</a>&gt;, &quot;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blan=
k"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-w=
g@w3.org</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_bl=
ank"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http=
-wg@w3.org</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Subject: </span>Re[2]: HTTP2 Expression of=
 Interest<br></div>
<div><br></div>
<div>
<div>
<div><br></div>
<div>------ Original Message ------</div>
<div>From: &quot;Martin Thomson&quot; &lt;<a href=3D"mailto:martin.thomson@=
gmail.com" target=3D"_blank"></a><a href=3D"mailto:martin.thomson@gmail.com=
" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div>On 17 July 2012 19:35, &quot;Martin J. D=FCrst&quot; &lt;<a href=3D"ma=
ilto:duerst@it.aoyama.ac.jp" target=3D"_blank"></a><a href=3D"mailto:duerst=
@it.aoyama.ac.jp" target=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt; wrote:</=
div>
<div><br></div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div><br></div>
<div>So why are we okay with 10-20% more processing costs for everybody, bu=
t not</div>
<div>with 10-20% more bandwidth? What&#39;s different between processing co=
sts and</div>
<div>bandwidth?</div>
<div><br></div></blockquote>
<div><br></div>
<div><br></div>
<div>Personally, I thought that the first optimization was for latency,</di=
v>
<div><br></div></blockquote>
<div>How do you optimise latency by adding 3 RTs in a SSL setup?</div>
<div><br></div>
<div><br></div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div><br></div>
<div>with bandwidth as secondary and (obviously) consequential.=A0=A0Trade-=
offs</div>
<div>may have to be made.</div>
<div><br></div>
<div><br></div>
<div><br></div></blockquote>
<div><br></div>
<div><br></div>
<div><br></div></div></div></span></div></blockquote></div></div></div></bl=
ockquote></div><br>

--bcaec550ace6c708ba04c51276e6--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:44:12 2012
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 EFA9311E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:44:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.776
X-Spam-Level: 
X-Spam-Status: No, score=-9.776 tagged_above=-999 required=5 tests=[AWL=-0.100, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 8XVY-lEe7Y+O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:44:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56DEF11E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:44:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLBu-000597-1X for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:44:46 +0000
Resent-Date: Wed, 18 Jul 2012 03:44:46 +0000
Resent-Message-Id: <E1SrLBu-000597-1X@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLBl-00056Y-7U for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:44:37 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLBk-0004Q3-5U for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:44:37 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so1629330lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:44:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=S983EFUHdTjf+HiftC3WjB91R7U4GA3IjvNOFdHoREA=; b=B/XyCsdkku2qGEbiWJFMgk6ar0S2zF1FQm0j9d314XQPV0IQFXS1w/gC83DpdXbkWD I0mf+2resLv9JdA364zHlNMuTvb1ly65FdQpxqvW1n6sK6u66DcL4LK4rMDNmn4Pb2MB jZhU+8tl4OUH54T8WMHo5hjGRujcDuvfstTdjQlp5mQeMVFM5chSv1OUZf4cnu6J4Rsp QrFw7eoSl/bVh6uWKq/BNZPESEGppnHAzcPcXArB+IeJHCGoF9jwawgphkEoCeQZKEt4 AmyUCawuVF4Zoyp9Vb1hlXQjKtrj2zU6VcASAjvML8BrNwaorgVhVP33f2JLIvM+62xZ 7fWA==
MIME-Version: 1.0
Received: by 10.152.136.18 with SMTP id pw18mr1555226lab.17.1342583055421; Tue, 17 Jul 2012 20:44:15 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 20:44:15 -0700 (PDT)
In-Reply-To: <5006210D.4020404@it.aoyama.ac.jp>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp>
Date: Tue, 17 Jul 2012 20:44:15 -0700
Message-ID: <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042f927a19907104c5127acd
X-Gm-Message-State: ALoCoQmywzx8B6/QvlHCAypoaxcR82GK8i5R47WuW90u+F92c3ykYh76YLmFithNrb4toiwORVh2
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrLBk-0004Q3-5U eb25d27dfc89538abb7f6547a7a8aef9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14425
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>

--f46d042f927a19907104c5127acd
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 7:35 PM, "Martin J. D=FCrst"
<duerst@it.aoyama.ac.jp>wrote:

> Hello Doug, everybody,
>
>
> On 2012/07/18 7:11, Doug Beaver wrote:
>
>     * Symmetric crypto costs are not much higher; I think Akamai quoted
>> 10-20%
>>      in their response. I think the costs aren't a big deal for major
>> sites;
>>
>
> Just a quick question: I think if we could shave off 10-20% of the
> bandwidth with some new technique, we'd all go for it.
>

Symmetric crypto (RC4) is super super cheap - a couple of XORs - definitely
not 10-20% of CPU.  I'd like to see that measured again before taking
action upon it.  Obviously, if you use expensive crypto (presumably because
you want it), some algorithms take more CPU

mike


>
> So why are we okay with 10-20% more processing costs for everybody, but
> not with 10-20% more bandwidth? What's different between processing costs
> and bandwidth?
>
> Regards,   Martin.
>
>

--f46d042f927a19907104c5127acd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 7:35 PM, &quot;M=
artin J. D=FCrst&quot; <span dir=3D"ltr">&lt;<a href=3D"mailto:duerst@it.ao=
yama.ac.jp" target=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">
Hello Doug, everybody,<div class=3D"im"><br>
<br>
On 2012/07/18 7:11, Doug Beaver wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
=A0 =A0* Symmetric crypto costs are not much higher; I think Akamai quoted =
10-20%<br>
=A0 =A0 =A0in their response. I think the costs aren&#39;t a big deal for m=
ajor sites;<br>
</blockquote>
<br></div>
Just a quick question: I think if we could shave off 10-20% of the bandwidt=
h with some new technique, we&#39;d all go for it.<br></blockquote><div><br=
></div><div><span style=3D"background-color:rgb(255,255,255);color:rgb(34,3=
4,34);font-family:arial,sans-serif;font-size:12.727272033691406px">Symmetri=
c crypto (RC4) is super super cheap - a couple of XORs - definitely not 10-=
20% of CPU. =A0I&#39;d like to see that measured again before taking action=
 upon it. =A0Obviously, if you use expensive crypto (presumably because you=
 want it), some algorithms take more CPU</span></div>
<div><br></div><div>mike</div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So why are we okay with 10-20% more processing costs for everybody, but not=
 with 10-20% more bandwidth? What&#39;s different between processing costs =
and bandwidth?<br>
<br>
Regards, =A0 Martin.<br>
<br>
</blockquote></div><br>

--f46d042f927a19907104c5127acd--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:50:23 2012
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 181D411E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:50:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.992
X-Spam-Level: 
X-Spam-Status: No, score=-6.992 tagged_above=-999 required=5 tests=[AWL=2.606, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 ze88aUZB1vWF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:50:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5CF8111E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:50:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLHd-0002hV-Kk for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:50:41 +0000
Resent-Date: Wed, 18 Jul 2012 03:50:41 +0000
Resent-Message-Id: <E1SrLHd-0002hV-Kk@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrLHT-0002gU-D0 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:50:31 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrLHR-0004bz-C1 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:50:31 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145071@smtp.qbik.com>; Wed, 18 Jul 2012 15:50:07 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Mike Belshe" <mike@belshe.com>
Cc: "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 03:50:07 +0000
Content-Type: multipart/alternative; boundary="------=_MBAC1A9A0B-1762-44EB-8A63-F16F3EE3536F"
In-Reply-To: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com>
Message-Id: <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrLHR-0004bz-C1 3162bfb9f0154a154f0d6ecd43952bfc
X-Original-To: ietf-http-wg@w3.org
Subject: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14426
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>

--------=_MBAC1A9A0B-1762-44EB-8A63-F16F3EE3536F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Original Message ------
From: "Mike Belshe" mike@belshe.com
>
>
>On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com> wrote=
:

> we can already transfer many objects over a single connection with=20
> HTTP/1.1

> SPDY without SSL would be more speedy than with it.

> There may be only a couple R-Ts to get an SSL handshake, but sprinkle=20
> on a CRL / OCSP check and you're left eating dust.

> So, let's just get this straight for the record.  SSL will not=20
> improve latency.  It will make it worse, and for many people (on=20
> already-high-latency links) a LOT worse.
=20
 Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all the=20
 time, but yes, OSCP can add a lot, and SSL implementations vary.  But=20
 SPDY gains a lot of this back with fewer connections, multiplexing,=20
 and compression.  Don't forget to implement SSL False Start in your=20
 client.  Obviously an un-optimized SSL stack will have a harder time=20
 than an optimized one.
=20
 But its not true that every bit of latency is more important than=20
 security.
I'm just not convinced this would be a security win in the end.

How many CAs are there?  We may as well right now deprecate OCSP / CRL=20
checks, because you have 200 million sites using a cert from one=20
vendor, you take out their OCSP server(s), and you've taken down 200=20
million sites.

Way to go amplifying DOS effectiveness.
Becoming a CA is non-trivial.  If we suddenly need a million more of=20
them to cope with cert load, how do you anticipate that will improve=20
security?  I think it will make for a disaster.

>
>Note that Google has reported overall latency of SPDY + SSL is faster=20
>than HTTP without SSL or SPDY. =20
you saying SPDY + SSL faster than SPDY (presumably without SSL)? =20
Doesn't seem possible.

I have no problem accepting SPDY + SSL would be faster than HTTP.  But=20
we're talking about adding a bunch of things to HTTP that would provide=20
the same benefits that SPDY currently enjoys.




>
>Mike


>=20
> ------ Original Message ------
> From: "Rajeev Bector" <rbector@yahoo-inc.com>
> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson" <martin.thomso=
n@gmail.com>;"Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp>
> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau" <w@1wt.eu>;"ietf-http-wg@=
w3.org" <ietf-http-wg@w3.org>
> Sent: 18/07/2012 3:26:56 p.m.
> Subject: Re: Re[2]: HTTP2 Expression of Interest
> >Arguably, the cost of 3 Rts is amortized over many many objects that=20
> >gets transferred over the session. That said, I am trying to imagine=20
> >how to do crypto on my Arduino :-).  =20
> >
> >
> >From: "Adrien W. de Croy" <adrien@qbik.com>
> >Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
> >Date: Tue, 17 Jul 2012 20:20:09 -0700
> >To: Martin Thomson <martin.thomson@gmail.com>, "Martin J. D=C3=BCrst"=
 <duerst@it.aoyama.ac.jp>
> >Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w=
3.org" <ietf-http-wg@w3.org>
> >Subject: Re[2]: HTTP2 Expression of Interest
> >
> >
> >------ Original Message ------
> >From: "Martin Thomson" <martin.thomson@gmail.com>
> > On 17 July 2012 19:35, "Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp>=
 wrote:
> >=20
> > =20
> >  So why are we okay with 10-20% more processing costs for=20
> >  everybody, but not
> >  with 10-20% more bandwidth? What's different between processing=20
> >  costs and
> >  bandwidth?
> > =20
 > =20
 > =20
 >  Personally, I thought that the first optimization was for latency,
 > =20
>  How do you optimise latency by adding 3 RTs in a SSL setup?
> =20
> =20
>  =20
>   with bandwidth as secondary and (obviously) consequential. =20
>   Trade-offs
>   may have to be made.
>  =20
>  =20
>  =20
  =20
  =20
  =20
=20

--------=_MBAC1A9A0B-1762-44EB-8A63-F16F3EE3536F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#63cb844ed08140038a2bb6490cd444da BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#63cb844ed08140038a2bb6490cd444da .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#63cb844ed08140038a2bb6490cd444da=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#63cb844ed08140038a2bb6490cd444da .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Mike=
 Belshe" <A href=3D"mailto:mike@belshe.com">mike@belshe.com</A><BR>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T=
8+MpVgoQ@mail.gmail.com type=3D"cite">
<DIV id=3D63cb844ed08140038a2bb6490cd444da><BR><BR>
<DIV class=3Dgmail_quote>On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:adrien@qbik.com"><A href=3D"mailto:a=
drien@qbik.com">adrien@qbik.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>we can already transfer many objects over a single connection with =
HTTP/1.1</DIV>
<DIV>&nbsp;</DIV>
<DIV>SPDY without SSL&nbsp;would be more speedy than with it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>There may be only a couple R-Ts to get an SSL handshake, but sprinkle=
 on a CRL / OCSP check and you're left&nbsp;eating dust.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, let's just get this straight for the record.&nbsp; SSL will not=
 improve latency.&nbsp; It will make it worse, and for many people (on alre=
ady-high-latency links) a LOT worse.</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Of course, no-SSL is lower latency than SSL. &nbsp;It's not 3 RTs all=
 the time, but yes, OSCP can add a lot, and SSL implementations vary. &nbsp=
;But SPDY gains a lot of this back with fewer connections, multiplexing,=
 and compression. &nbsp;Don't forget to implement SSL False Start in your=
 client. &nbsp;Obviously an un-optimized SSL stack will have a harder time=
 than an optimized one.</DIV>
<DIV><BR></DIV>
<DIV>But its not true that every bit of latency is more important than secu=
rity.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>I'm just not convinced this would =
be a security win in the end.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>How many CAs are there?&nbsp; We may=
 as well right now deprecate OCSP / CRL checks, because you have 200 millio=
n sites using a cert from one vendor, you take out their OCSP server(s),=
 and you've taken down 200 million sites.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Way to go amplifying DOS effectivenes=
s.<BR></DIV>
<DIV 10px; margin-bottom: margin-top:>Becoming a CA is non-trivial.&nbsp;=
 If we suddenly need a million more of them to cope with cert load, how =
do you anticipate that will improve security?&nbsp; I think it will make=
 for a disaster.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T=
8+MpVgoQ@mail.gmail.com type=3D"cite">
<DIV id=3D63cb844ed08140038a2bb6490cd444da>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Note that Google has reported overall latency of SPDY + SSL is faster=
 than HTTP without SSL or SPDY. &nbsp;</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>you saying SPDY + SSL faster than =
SPDY (presumably without SSL)?&nbsp; Doesn't seem possible.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I have no problem accepting SPDY +=
 SSL would be faster than HTTP.&nbsp; But we're talking about adding a bunc=
h of things to HTTP that would provide the same benefits that SPDY currentl=
y enjoys.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T=
8+MpVgoQ@mail.gmail.com type=3D"cite">
<DIV id=3D63cb844ed08140038a2bb6490cd444da>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Mike</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV class=3Dim><BR>------ Original Message ------<BR>From: "Rajeev Bector"=
 &lt;<A href=3D"mailto:rbector@yahoo-inc.com"><A href=3D"mailto:rbector@yah=
oo-inc.com">rbector@yahoo-inc.com</A></A>&gt;<BR>To: "Adrien W. de Croy"=
 &lt;<A href=3D"mailto:adrien@qbik.com"><A href=3D"mailto:adrien@qbik.com">=
adrien@qbik.com</A></A>&gt;;"Martin Thomson" &lt;<A href=3D"mailto:martin.t=
homson@gmail.com"><A href=3D"mailto:martin.thomson@gmail.com">martin.thomso=
n@gmail.com</A></A>&gt;;"Martin J. D=C3=BCrst" &lt;<A href=3D"mailto:duerst=
@it.aoyama.ac.jp"><A href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyam=
a.ac.jp</A></A>&gt;<BR>Cc: "Doug Beaver" &lt;<A href=3D"mailto:doug@fb.com"=
><A href=3D"mailto:doug@fb.com">doug@fb.com</A></A>&gt;;"Willy Tarreau" =
&lt;<A href=3D"mailto:w@1wt.eu"><A href=3D"mailto:w@1wt.eu">w@1wt.eu</A></A=
>&gt;;"<A href=3D"mailto:ietf-http-wg@w3.org"><A href=3D"mailto:ietf-http-w=
g@w3.org">ietf-http-wg@w3.org</A></A>" &lt;<A href=3D"mailto:ietf-http-wg@w=
3.org"><A href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</A></A>&g=
t;<BR></DIV>
<DIV>
<DIV class=3Dh5>Sent: 18/07/2012 3:26:56 p.m.<BR>Subject: Re: Re[2]: HTTP2=
 Expression of Interest<BR></DIV></DIV></DIV>
<DIV>
<DIV class=3Dh5>
<BLOCKQUOTE class=3Dcite type=3D"cite">
<DIV style=3D"FONT-FAMILY: Verdana,sans-serif; WORD-WRAP: break-word; FONT-=
SIZE: 16px">
<DIV>Arguably, the cost of 3 Rts is amortized over many many objects that=
 gets transferred over the session.&nbsp;That said, I am trying to imagine=
 how to do crypto on my Arduino :-). &nbsp;&nbsp;</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV><SPAN>
<DIV style=3D"BORDER-BOTTOM: medium none; TEXT-ALIGN: left; BORDER-LEFT:=
 medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in;=
 FONT-FAMILY: Calibri; FONT-SIZE: 11pt; BORDER-TOP: #b5c4df 1pt solid; BORD=
ER-RIGHT: medium none; PADDING-TOP: 3pt"><SPAN style=3D"FONT-WEIGHT: bold">=
From: </SPAN>"Adrien W. de Croy" &lt;<A href=3D"mailto:adrien@qbik.com"></A=
><A href=3D"mailto:adrien@qbik.com"><A href=3D"mailto:adrien@qbik.com">adri=
en@qbik.com</A></A>&gt;<BR><SPAN style=3D"FONT-WEIGHT: bold">Reply-To: </SP=
AN>"Adrien W. de Croy" &lt;<A href=3D"mailto:adrien@qbik.com"></A><A href=
=3D"mailto:adrien@qbik.com"><A href=3D"mailto:adrien@qbik.com">adrien@qbik.=
com</A></A>&gt;<BR><SPAN style=3D"FONT-WEIGHT: bold">Date: </SPAN>Tue, 17=
 Jul 2012 20:20:09 -0700<BR><SPAN style=3D"FONT-WEIGHT: bold">To: </SPAN>Ma=
rtin Thomson &lt;<A href=3D"mailto:martin.thomson@gmail.com"></A><A href=
=3D"mailto:martin.thomson@gmail.com"><A href=3D"mailto:martin.thomson@gmail=
.com">martin.thomson@gmail.com</A></A>&gt;, "Martin J. D=C3=BCrst" &lt;<A=
 href=3D"mailto:duerst@it.aoyama.ac.jp"></A><A href=3D"mailto:duerst@it.aoy=
ama.ac.jp"><A href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp=
</A></A>&gt;<BR><SPAN style=3D"FONT-WEIGHT: bold">Cc: </SPAN>Doug Beaver=
 &lt;<A href=3D"mailto:doug@fb.com"></A><A href=3D"mailto:doug@fb.com"><A=
 href=3D"mailto:doug@fb.com">doug@fb.com</A></A>&gt;, Willy Tarreau &lt;<A=
 href=3D"mailto:w@1wt.eu"></A><A href=3D"mailto:w@1wt.eu"><A href=3D"mailto=
:w@1wt.eu">w@1wt.eu</A></A>&gt;, "<A href=3D"mailto:ietf-http-wg@w3.org"></=
A><A href=3D"mailto:ietf-http-wg@w3.org"><A href=3D"mailto:ietf-http-wg@w3.=
org">ietf-http-wg@w3.org</A></A>" &lt;<A href=3D"mailto:ietf-http-wg@w3.org=
"></A><A href=3D"mailto:ietf-http-wg@w3.org"><A href=3D"mailto:ietf-http-wg=
@w3.org">ietf-http-wg@w3.org</A></A>&gt;<BR><SPAN style=3D"FONT-WEIGHT: =
bold">Subject: </SPAN>Re[2]: HTTP2 Expression of Interest<BR></DIV>
<DIV><BR></DIV>
<DIV>
<DIV>
<DIV><BR></DIV>
<DIV>------ Original Message ------</DIV>
<DIV>From: "Martin Thomson" &lt;<A href=3D"mailto:martin.thomson@gmail.com"=
></A><A href=3D"mailto:martin.thomson@gmail.com"><A href=3D"mailto:martin.t=
homson@gmail.com">martin.thomson@gmail.com</A></A>&gt;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #b5c4df 5px solid; PADDING-BOTTOM: 0px;=
 MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TO=
P: 0px">
<DIV>On 17 July 2012 19:35, "Martin J. D=C3=BCrst" &lt;<A href=3D"mailto:du=
erst@it.aoyama.ac.jp"></A><A href=3D"mailto:duerst@it.aoyama.ac.jp"><A href=
=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</A></A>&gt; wrote=
:</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #b5c4df 5px solid; PADDING-BOTTOM: 0px;=
 MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TO=
P: 0px">
<DIV><BR></DIV>
<DIV>So why are we okay with 10-20% more processing costs for everybody,=
 but not</DIV>
<DIV>with 10-20% more bandwidth? What's different between processing costs=
 and</DIV>
<DIV>bandwidth?</DIV>
<DIV><BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Personally, I thought that the first optimization was for latency,</DI=
V>
<DIV><BR></DIV></BLOCKQUOTE>
<DIV>How do you optimise latency by adding 3 RTs in a SSL setup?</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #b5c4df 5px solid; PADDING-BOTTOM: 0px;=
 MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TO=
P: 0px">
<DIV><BR></DIV>
<DIV>with bandwidth as secondary and (obviously) consequential.&nbsp;&nbsp;=
Trade-offs</DIV>
<DIV>may have to be made.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></DIV></DIV></SPAN></DIV></BLOCKQUOTE></DIV></DIV></DIV></BL=
OCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>
--------=_MBAC1A9A0B-1762-44EB-8A63-F16F3EE3536F--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:52:06 2012
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 3764311E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:52:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.921
X-Spam-Level: 
X-Spam-Status: No, score=-9.921 tagged_above=-999 required=5 tests=[AWL=0.055, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 grHtZ9cru9dH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:52:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CD74611E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:52:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLJN-0002vX-De for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:52:29 +0000
Resent-Date: Wed, 18 Jul 2012 03:52:29 +0000
Resent-Message-Id: <E1SrLJN-0002vX-De@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLJC-0002um-Vx for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:52:19 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLJA-0004ed-TV for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:52:18 +0000
Received: by lbom4 with SMTP id m4so1636209lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:51:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=WNw9jx+VilZK/7wu3Np0SEpm3ODFZZoG6Mz6OqTe+CM=; b=nGox8NVxlShxSpcfSaMcgPqJCRXcdNQH7baQTGtaX2fNJMLkmscjnOAzZI+w6QDUwS 3EW3rDFBOmrLlBvwrnAEhVwBgrO1/1rIrWcY7s/4Ms+REAvev2GRLwsLNGLPS2pui3qA 4OWuTPrPAUrIgYbZR2gqvTWXo/14wIAgwgxYvo6F+82D06zchrzSlc01Bx2wRhLvW3ei detHusZJ8L/OaoIzsK9ZpoU05taRDZbXtcpUgZcXGTwwjnIPjNgr0orsaIFO8s3g/EQE eju8yObw4SEJmfDUxuVt2BNfobQBl05aC+UAlipmqLYpC5ep3jN8CBQenYmi2y2IST+t OxGw==
MIME-Version: 1.0
Received: by 10.112.84.65 with SMTP id w1mr957349lby.40.1342583509828; Tue, 17 Jul 2012 20:51:49 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 20:51:49 -0700 (PDT)
In-Reply-To: <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com> <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com>
Date: Tue, 17 Jul 2012 20:51:49 -0700
Message-ID: <CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401696d2f463904c5129523
X-Gm-Message-State: ALoCoQlyPTATweZNAXNx23ISr7THX3u4JlhZH+s4xUM/BoiJ3bZVQ2QvuvB3CXxJ8qa179Vx4N8O
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrLJA-0004ed-TV 9623eb500057d1da1ba09c60a62637e8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14427
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>

--f46d0401696d2f463904c5129523
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> Umm pretty much every Web Server has SSL support, the issue is that
> only about 2% of deployments turn it on. Or is the idea that we are
> going to mandate turning it on? If so, who is going to define the
> trust criteria for accepting certs?
>

Browsers already have well documented policies for this.  Major OSes also
have their own policies (MacOS, Windows).


>
> I am a big supporter of TLS. I just don't see anything good coming
> from a mandate that is superfluous.
>
> As an example, we have had a mandate in PKIX to check CRLs and/or OCSP
> for over a decade and to reject a certificate if the client cannot
> perform validation. Most browsers try to check but accept the
> certificate if there is no response to the OCSP request. So virtually
> every deployed browser has been out of compliance with a fundamental
> PKIX control for over a decade despite repeated attempts by the CAs to
> persuade the providers to change this.
>
> I can't see how DANE is going to solve anything either since DANE
> poses an even more disruptive hard-fail criteria.
>
> I don't want to tie an application layer protocol version to a
> transport layer protocol version or vice versa. If you tie HTTP 2.0 to
> TLS 1.2 then you are going to have to revise HTTP when you revise TLS.
>

This is not true.  HTTP did not change when we went from earlier versions
of TLS to the current versions.  Browsers do support older versions of TLS,
usually for older servers that haven't upgraded.  Even SSL3 - shudder.


>
>
> I don't see any value in a Canute/sea act here.
>
>
> What would be valuable is to have a suite of standards for a specific
> application that could be identified as a set. Something like 'best
> practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with
> AES+SHA2 + DNSSEC'. It would also be nice to see a similar draft for
> best practices for email clients and servers, and yes, support for
> STARTTLS would be high on my list of requirements. A draft like that
> would be very useful as a contract term for outsourcing Web hosting or
> mail service.
>
> But that is a totally different prospect to trying to tie HTTP to a
> particular security solution.
>
>
> Implementing TLS in a product is far from trivial. Getting the code is
> easy, selecting trust anchors is not. Is the specification going to
> mandate a particular choice of trust anchor? that is not going to
> happen. Nor is defining a minimum Certification Policy or locking the
> whole HTTP trust infrastructure to the ICANN PKI root by trying to
> mandate DNSSEC and DANE as well as TLS.
>
> TLS requires a PKI to work and every PKI comes with a set of policy
> and legal questions that have to be understood if the scheme is going
> to provide any security.
>

Users expect privacy and security.  We've all seen the legislation around
the globe for stronger security and privacy options.  SSL won't fix
everything, I know, but it is a solid step, and its the responsible step
for the protocol.  I don't understand how we can argue that HTTP/2.0 could
be a protocol for the next 20 years if it is sniffable over the wire.

Go talk to non-techie users about whether HTTP is secure.  They assume it
is.  Ask them if they would prefer a secure protocol or an insecure one.
 Ask them if they think protocols should be eavesdroppable so that other
people in the cafe can see what they're doing, steal their passwords, and
more?  I have yet to find any of these users that want this flimsy level of
security.

So- the problem we're solving here is to make users safer and raise the bar
on web security globally.

Mike



>
>
> On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe <mike@belshe.com> wrote:
> > Mandatory SSL is +1 and very forward thinking.
> >
> > On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <hallam@gmail.com>
> > wrote:
> >>
> >> -1
> >>
> >> I don't want to have a mandatory requirement unless it is going to
> >> change behavior.
> >
> >
> > I don't think we can change behavior with protocols.  All we can do is
> offer
> > new features.  If the features are compelling, people will upgrade.  If
> the
> > features are not compelling, they won't.
> >
> > People used to tell me SPDY would never get people to "upgrade".  Even
> after
> > touching a half a billion users, people still tell me that.  I think the
> > evidence of adoption speaks for itself.
> >
> >>
> >>
> >> We already have ubiquitous deployment of TLS in browsers. The code is
> >> freely available, everyone knows the benefit.
> >>
> >> The only HTTP servers or clients I am aware of that don't have TLS
> >> support are either toolsets that the provider expects to be used with
> >> OpenSSL or the like and embedded systems.
> >
> >
> > I'll ask the google crawler guys to weigh in on this.  They have pretty
> good
> > stats.  I believe your assertion is provably false.
> >
> >>
> >>
> >> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
> >> seem to do any good either. It just means that IPv6 is harder to
> >> deploy as implementations are required to support a security layer
> >> almost nobody uses as TLS has proved better.
> >>
> >>
> >> Making TLS a mandatory requirement seems like a feelgood approach to
> >> security to me. Instead of doing something useful, we pass a
> >> resolution telling people to do what they plan to do anyway.
> >
> >
> > You imply there is something else that would be useful - what would it
> be?
> > (don't feel obliged to answer :-)
> >
> > To me mandating security is a great first step.  Nobody should think this
> > 'fixes' security. But if we believe the net ever needs to be secure, we
> need
> > to start taking steps toward that.
> >
> > Mandating SSL is a simple step we can take which solves most of the
> > eavesdropping problem right now.  But more importantly, it poises us to
> > address the next set of security issues, including CA/verification
> problems,
> > distribution of video over ssl, handshake latency, etc.  Until we start
> > trying to be secure, of course we'll never be secure.
> >
> > Mike
> >
> >>
> >>
> >>
> >> On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com>
> >> wrote:
> >> > +1 to what seems to be a lot of developers: make TLS mandatory.
> >> >
> >> >>  so, even when used in an internal application protocol, it's going
> to
> >> >>  be end to end
> >> >>  encrypted to make it super hard to debug?
> >> >
> >> > In an internal application protocol, why would it be "super hard to
> >> > debug"? The client can do an HTTP dump before TLS, the server can do
> >> > an HTTP dump after TLS; either of the sides could debug the TLS.
> >> >
> >> >>  http is about more than users using
> >> >>  web browsers.
> >> >
> >> > Completely true, and not relevant. Insecure HTTP for non-browser
> >> > applications still has the same bad properties, no?
> >> >
> >>
> >>
> >>
> >> --
> >> Website: http://hallambaker.com/
> >>
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--f46d0401696d2f463904c5129523
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:32 PM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
Umm pretty much every Web Server has SSL support, the issue is that<br>
only about 2% of deployments turn it on. Or is the idea that we are<br>
going to mandate turning it on? If so, who is going to define the<br>
trust criteria for accepting certs?<br></blockquote><div><br></div><div>Bro=
wsers already have well documented policies for this. =A0Major OSes also ha=
ve their own policies (MacOS, Windows).</div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">

<br>
I am a big supporter of TLS. I just don&#39;t see anything good coming<br>
from a mandate that is superfluous.<br>
<br>
As an example, we have had a mandate in PKIX to check CRLs and/or OCSP<br>
for over a decade and to reject a certificate if the client cannot<br>
perform validation. Most browsers try to check but accept the<br>
certificate if there is no response to the OCSP request. So virtually<br>
every deployed browser has been out of compliance with a fundamental<br>
PKIX control for over a decade despite repeated attempts by the CAs to<br>
persuade the providers to change this.<br>
<br>
I can&#39;t see how DANE is going to solve anything either since DANE<br>
poses an even more disruptive hard-fail criteria.<br>
<br>
I don&#39;t want to tie an application layer protocol version to a<br>
transport layer protocol version or vice versa. If you tie HTTP 2.0 to<br>
TLS 1.2 then you are going to have to revise HTTP when you revise TLS.<br><=
/blockquote><div><br></div><div>This is not true. =A0HTTP did not change wh=
en we went from earlier versions of TLS to the current versions. =A0Browser=
s do support older versions of TLS, usually for older servers that haven&#3=
9;t upgraded. =A0Even SSL3 - shudder.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
I don&#39;t see any value in a Canute/sea act here.<br>
<br>
<br>
What would be valuable is to have a suite of standards for a specific<br>
application that could be identified as a set. Something like &#39;best<br>
practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with<br>
AES+SHA2 + DNSSEC&#39;. It would also be nice to see a similar draft for<br=
>
best practices for email clients and servers, and yes, support for<br>
STARTTLS would be high on my list of requirements. A draft like that<br>
would be very useful as a contract term for outsourcing Web hosting or<br>
mail service.<br>
<br>
But that is a totally different prospect to trying to tie HTTP to a<br>
particular security solution.<br>
<br>
<br>
Implementing TLS in a product is far from trivial. Getting the code is<br>
easy, selecting trust anchors is not. Is the specification going to<br>
mandate a particular choice of trust anchor? that is not going to<br>
happen. Nor is defining a minimum Certification Policy or locking the<br>
whole HTTP trust infrastructure to the ICANN PKI root by trying to<br>
mandate DNSSEC and DANE as well as TLS.<br>
<br>
TLS requires a PKI to work and every PKI comes with a set of policy<br>
and legal questions that have to be understood if the scheme is going<br>
to provide any security.<br></blockquote><div><br></div><div>Users expect p=
rivacy and security. =A0We&#39;ve all seen the legislation around the globe=
 for stronger security and privacy options. =A0SSL won&#39;t fix everything=
, I know, but it is a solid step, and its the responsible step for the prot=
ocol. =A0I don&#39;t understand how we can argue that HTTP/2.0 could be a p=
rotocol for the next 20 years if it is sniffable over the wire.=A0</div>
<div><br></div><div>Go talk to non-techie users about whether HTTP is secur=
e. =A0They assume it is. =A0Ask them if they would prefer a secure protocol=
 or an insecure one. =A0Ask them if they think protocols should be eavesdro=
ppable so that other people in the cafe can see what they&#39;re doing, ste=
al their passwords, and more? =A0I have yet to find any of these users that=
 want this flimsy level of security.</div>
<div><br></div><div>So- the problem we&#39;re solving here is to make users=
 safer and raise the bar on web security globally.</div><div><br></div><div=
>Mike</div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt; Mandatory SSL is +1 and very forward thinking.<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker &lt;<a href=3D"m=
ailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; -1<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t want to have a mandatory requirement unless it is goin=
g to<br>
&gt;&gt; change behavior.<br>
&gt;<br>
&gt;<br>
&gt; I don&#39;t think we can change behavior with protocols. =A0All we can=
 do is offer<br>
&gt; new features. =A0If the features are compelling, people will upgrade. =
=A0If the<br>
&gt; features are not compelling, they won&#39;t.<br>
&gt;<br>
&gt; People used to tell me SPDY would never get people to &quot;upgrade&qu=
ot;. =A0Even after<br>
&gt; touching a half a billion users, people still tell me that. =A0I think=
 the<br>
&gt; evidence of adoption speaks for itself.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; We already have ubiquitous deployment of TLS in browsers. The code=
 is<br>
&gt;&gt; freely available, everyone knows the benefit.<br>
&gt;&gt;<br>
&gt;&gt; The only HTTP servers or clients I am aware of that don&#39;t have=
 TLS<br>
&gt;&gt; support are either toolsets that the provider expects to be used w=
ith<br>
&gt;&gt; OpenSSL or the like and embedded systems.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;ll ask the google crawler guys to weigh in on this. =A0They have=
 pretty good<br>
&gt; stats. =A0I believe your assertion is provably false.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Incidentally, suport for IPSEC is mandatory in IPv6 but that does =
not<br>
&gt;&gt; seem to do any good either. It just means that IPv6 is harder to<b=
r>
&gt;&gt; deploy as implementations are required to support a security layer=
<br>
&gt;&gt; almost nobody uses as TLS has proved better.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Making TLS a mandatory requirement seems like a feelgood approach =
to<br>
&gt;&gt; security to me. Instead of doing something useful, we pass a<br>
&gt;&gt; resolution telling people to do what they plan to do anyway.<br>
&gt;<br>
&gt;<br>
&gt; You imply there is something else that would be useful - what would it=
 be?<br>
&gt; (don&#39;t feel obliged to answer :-)<br>
&gt;<br>
&gt; To me mandating security is a great first step. =A0Nobody should think=
 this<br>
&gt; &#39;fixes&#39; security. But if we believe the net ever needs to be s=
ecure, we need<br>
&gt; to start taking steps toward that.<br>
&gt;<br>
&gt; Mandating SSL is a simple step we can take which solves most of the<br=
>
&gt; eavesdropping problem right now. =A0But more importantly, it poises us=
 to<br>
&gt; address the next set of security issues, including CA/verification pro=
blems,<br>
&gt; distribution of video over ssl, handshake latency, etc. =A0Until we st=
art<br>
&gt; trying to be secure, of course we&#39;ll never be secure.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman &lt;<a href=3D"mailt=
o:paul.hoffman@gmail.com">paul.hoffman@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; +1 to what seems to be a lot of developers: make TLS mandator=
y.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; =A0so, even when used in an internal application protocol=
, it&#39;s going to<br>
&gt;&gt; &gt;&gt; =A0be end to end<br>
&gt;&gt; &gt;&gt; =A0encrypted to make it super hard to debug?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; In an internal application protocol, why would it be &quot;su=
per hard to<br>
&gt;&gt; &gt; debug&quot;? The client can do an HTTP dump before TLS, the s=
erver can do<br>
&gt;&gt; &gt; an HTTP dump after TLS; either of the sides could debug the T=
LS.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; =A0http is about more than users using<br>
&gt;&gt; &gt;&gt; =A0web browsers.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Completely true, and not relevant. Insecure HTTP for non-brow=
ser<br>
&gt;&gt; &gt; applications still has the same bad properties, no?<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">htt=
p://hallambaker.com/</a><br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--f46d0401696d2f463904c5129523--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 20:57:09 2012
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 2465911E80A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:57:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.923
X-Spam-Level: 
X-Spam-Status: No, score=-9.923 tagged_above=-999 required=5 tests=[AWL=0.053, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 6oD3yHdhftsl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 20:57:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDDC211E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 20:57:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLO8-0004VI-HN for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 03:57:24 +0000
Resent-Date: Wed, 18 Jul 2012 03:57:24 +0000
Resent-Message-Id: <E1SrLO8-0004VI-HN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLNy-0004UO-8p for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 03:57:14 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLNw-0004ou-Gj for ietf-http-wg@w3.org; Wed, 18 Jul 2012 03:57:14 +0000
Received: by lbom4 with SMTP id m4so1640117lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:56:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=NsWEcSOGJ77hJnsWckCH3Ome3jPprkpEgnx3nZFW7bs=; b=CKgV/BTOsqBi+4Y+/9VLVAJIdWy3RZTb5o3x7hgAKJBcVoTlD54fzrLZDf1C0i2Kzi OoXwJGaIqWeLrfZZ71WHF4QSdCmouJrY3lSmw8mcNmXlhbsi56fSd1CCMNMGx2/fHGml pQdRWPt9POPaXBbaEuw4bqZ+vA9CnqFkkG2Um+KXsRirLeQBSDGegpgQgMdZcVuDIJQi ZDrI+JLuel6dEwBU+Uj1+9CWCxpWLVXXA53rh4ETvAYdaPvlge4f9rEA2S5ytH26snSN 0DiFGs1YKHTn+NZ7oEYidP8TKUfH0j3xx1s2SngVt7BVyhQTlGsqpDHl3GMo+klcFY+3 b3Kg==
MIME-Version: 1.0
Received: by 10.152.104.77 with SMTP id gc13mr1530933lab.31.1342583805717; Tue, 17 Jul 2012 20:56:45 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 20:56:45 -0700 (PDT)
In-Reply-To: <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed>
Date: Tue, 17 Jul 2012 20:56:45 -0700
Message-ID: <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>,  =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04083adbd22c6104c512a677
X-Gm-Message-State: ALoCoQllGlCOGPfTR9/uTOpHrlEayX/ecCmFS2H01dmLu4F9ob4/q8pu7+tvMUag2x7LtIgGQKet
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrLNw-0004ou-Gj 531ecce0d75d74dd61e350fd7f687b87
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14428
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>

--f46d04083adbd22c6104c512a677
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> ------ Original Message ------
> From: "Mike Belshe" mike@belshe.com
>
>
>
> On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy < <adrien@qbik.com>
> adrien@qbik.com> wrote:
>
>>
>> we can already transfer many objects over a single connection with
>> HTTP/1.1
>>
>> SPDY without SSL would be more speedy than with it.
>>
>> There may be only a couple R-Ts to get an SSL handshake, but sprinkle on
>> a CRL / OCSP check and you're left eating dust.
>>
>> So, let's just get this straight for the record.  SSL will not improve
>> latency.  It will make it worse, and for many people (on
>> already-high-latency links) a LOT worse.
>>
>
> Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all the time=
,
> but yes, OSCP can add a lot, and SSL implementations vary.  But SPDY gain=
s
> a lot of this back with fewer connections, multiplexing, and compression.
>  Don't forget to implement SSL False Start in your client.  Obviously an
> un-optimized SSL stack will have a harder time than an optimized one.
>
> But its not true that every bit of latency is more important than securit=
y.
>
> I'm just not convinced this would be a security win in the end.
>
> How many CAs are there?  We may as well right now deprecate OCSP / CRL
> checks, because you have 200 million sites using a cert from one vendor,
> you take out their OCSP server(s), and you've taken down 200 million site=
s.
>
> Way to go amplifying DOS effectiveness.
> Becoming a CA is non-trivial.  If we suddenly need a million more of them
> to cope with cert load, how do you anticipate that will improve security?
> I think it will make for a disaster.
>
>

The TLS concerns are legitimate.  We need to fix TLS to be even better, not
make HTTP/2 weaker.


>
> Note that Google has reported overall latency of SPDY + SSL is faster tha=
n
> HTTP without SSL or SPDY.
>
> you saying SPDY + SSL faster than SPDY (presumably without SSL)?  Doesn't
> seem possible.
>

Oh - SPDY over port 80 is non deployable for the same reasons pipelining
isn't deployable.  So that will never happen :-)

But you're correct, I wouldn't expect SPDY + SSL to be faster than SPDY.


>
> I have no problem accepting SPDY + SSL would be faster than HTTP.  But
> we're talking about adding a bunch of things to HTTP that would provide t=
he
> same benefits that SPDY currently enjoys.
>

Yeah, that's not going to fly....

The problem is that the intermediaries just get stuck (they expect that
port 80 is exclusively HTTP/1.1).  When you send them additional data, they
sometimes hang, and this prevents deployment of new protocols.  Websockets
has the same problem.  This is part of why no major sites are turning on
websockets on port 80....

But, regardless, SPDY gives us the window of opportunity through reduced
latency to add security into the protocol without making latency worse.

Mike


>
>
>
>
>
>
> Mike
>
>
>>
>>
>> ------ Original Message ------
>> From: "Rajeev Bector" < <rbector@yahoo-inc.com>rbector@yahoo-inc.com>
>> To: "Adrien W. de Croy" < <adrien@qbik.com>adrien@qbik.com>;"Martin
>> Thomson" < <martin.thomson@gmail.com>martin.thomson@gmail.com>;"Martin
>> J. D=FCrst" < <duerst@it.aoyama.ac.jp>duerst@it.aoyama.ac.jp>
>> Cc: "Doug Beaver" < <doug@fb.com>doug@fb.com>;"Willy Tarreau" <<w@1wt.eu=
>
>> w@1wt.eu>;" <ietf-http-wg@w3.org>ietf-http-wg@w3.org" <<ietf-http-wg@w3.=
org>
>> ietf-http-wg@w3.org>
>>  Sent: 18/07/2012 3:26:56 p.m.
>> Subject: Re: Re[2]: HTTP2 Expression of Interest
>>
>>  Arguably, the cost of 3 Rts is amortized over many many objects that
>> gets transferred over the session. That said, I am trying to imagine how=
 to
>> do crypto on my Arduino :-).
>>
>>
>> From: "Adrien W. de Croy" < <adrien@qbik.com> <adrien@qbik.com>
>> adrien@qbik.com>
>> Reply-To: "Adrien W. de Croy" < <adrien@qbik.com> <adrien@qbik.com>
>> adrien@qbik.com>
>> Date: Tue, 17 Jul 2012 20:20:09 -0700
>> To: Martin Thomson < <martin.thomson@gmail.com><martin.thomson@gmail.com=
>
>> martin.thomson@gmail.com>, "Martin J. D=FCrst" < <duerst@it.aoyama.ac.jp=
><duerst@it.aoyama.ac.jp>
>> duerst@it.aoyama.ac.jp>
>> Cc: Doug Beaver < <doug@fb.com> <doug@fb.com>doug@fb.com>, Willy Tarreau
>> < <w@1wt.eu> <w@1wt.eu>w@1wt.eu>, " <ietf-http-wg@w3.org><ietf-http-wg@w=
3.org>
>> ietf-http-wg@w3.org" < <ietf-http-wg@w3.org> <ietf-http-wg@w3.org>
>> ietf-http-wg@w3.org>
>> Subject: Re[2]: HTTP2 Expression of Interest
>>
>>
>> ------ Original Message ------
>> From: "Martin Thomson" < <martin.thomson@gmail.com><martin.thomson@gmail=
.com>
>> martin.thomson@gmail.com>
>>
>> On 17 July 2012 19:35, "Martin J. D=FCrst" < <duerst@it.aoyama.ac.jp><du=
erst@it.aoyama.ac.jp>
>> duerst@it.aoyama.ac.jp> wrote:
>>
>>
>> So why are we okay with 10-20% more processing costs for everybody, but
>> not
>> with 10-20% more bandwidth? What's different between processing costs an=
d
>> bandwidth?
>>
>>
>>
>> Personally, I thought that the first optimization was for latency,
>>
>> How do you optimise latency by adding 3 RTs in a SSL setup?
>>
>>
>>
>> with bandwidth as secondary and (obviously) consequential.  Trade-offs
>> may have to be made.
>>
>>
>>
>>
>>
>>
>>
>

--f46d04083adbd22c6104c512a677
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:50 PM, Adrien =
W. de Croy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=
=3D"_blank">adrien@qbik.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">



<div><div class=3D"im"><br>------ Original Message ------<br>From: &quot;Mi=
ke Belshe&quot; <a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@b=
elshe.com</a><br>
<blockquote cite=3D"http://CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpV=
goQ@mail.gmail.com" type=3D"cite">
<div><br><br>
<div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Cr=
oy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blan=
k"></a><a href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com=
</a>&gt;</span> wrote:<br>

<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>we can already transfer many objects over a single connection with HTT=
P/1.1</div>
<div>=A0</div>
<div>SPDY without SSL=A0would be more speedy than with it.</div>
<div>=A0</div>
<div>There may be only a couple R-Ts to get an SSL handshake, but sprinkle =
on a CRL / OCSP check and you&#39;re left=A0eating dust.</div>
<div>=A0</div>
<div>So, let&#39;s just get this straight for the record.=A0 SSL will not i=
mprove latency.=A0 It will make it worse, and for many people (on already-h=
igh-latency links) a LOT worse.</div></div></blockquote>
<div><br></div>
<div>Of course, no-SSL is lower latency than SSL. =A0It&#39;s not 3 RTs all=
 the time, but yes, OSCP can add a lot, and SSL implementations vary. =A0Bu=
t SPDY gains a lot of this back with fewer connections, multiplexing, and c=
ompression. =A0Don&#39;t forget to implement SSL False Start in your client=
. =A0Obviously an un-optimized SSL stack will have a harder time than an op=
timized one.</div>

<div><br></div>
<div>But its not true that every bit of latency is more important than secu=
rity.</div></div></div></blockquote>
</div><div>I&#39;m just not convinced this would be a security win in the e=
nd.</div>
<div>=A0</div>
<div>How many CAs are there?=A0 We may as well right now deprecate OCSP / C=
RL checks, because you have 200 million sites using a cert from one vendor,=
 you take out their OCSP server(s), and you&#39;ve taken down 200 million s=
ites.</div>

<div>=A0</div>
<div>Way to go amplifying DOS effectiveness.<br></div>
<div>Becoming a CA is non-trivial.=A0 If we suddenly need a million more of=
 them to cope with cert load, how do you anticipate that will improve secur=
ity?=A0 I think it will make for a disaster.</div><div class=3D"im">
<div>=A0</div></div></div></blockquote><div><br></div><div>The TLS concerns=
 are legitimate. =A0We need to fix TLS to be even better, not make HTTP/2 w=
eaker.=A0</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class=3D"im">
<blockquote cite=3D"http://CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpV=
goQ@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Note that Google has reported overall latency of SPDY + SSL is faster =
than HTTP without SSL or SPDY. =A0</div></div></div></blockquote>
</div><div>you saying SPDY + SSL faster than SPDY (presumably without SSL)?=
=A0 Doesn&#39;t seem possible.</div></div></blockquote><div><br></div><div>=
Oh - SPDY over port 80 is non deployable for the same reasons pipelining is=
n&#39;t deployable. =A0So that will never happen :-)</div>
<div><br></div><div>But you&#39;re correct, I wouldn&#39;t expect SPDY + SS=
L to be faster than SPDY.</div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div>
<div>=A0</div>
<div>I have no problem accepting SPDY + SSL would be faster than HTTP.=A0 B=
ut we&#39;re talking about adding a bunch of things to HTTP that would prov=
ide the same benefits that SPDY currently enjoys.</div></div></blockquote>
<div><br></div><div>Yeah, that&#39;s not going to fly....</div><div><br></d=
iv><div>The problem is that the intermediaries just get stuck (they expect =
that port 80 is exclusively HTTP/1.1). =A0When you send them additional dat=
a, they sometimes hang, and this prevents deployment of new protocols. =A0W=
ebsockets has the same problem. =A0This is part of why no major sites are t=
urning on websockets on port 80....</div>
<div><br></div><div>But, regardless, SPDY gives us the window of opportunit=
y through reduced latency to add security into the protocol without making =
latency worse.</div><div><br></div><div>Mike</div><div>=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">
<div><div class=3D"im">
<div>=A0</div>
<div>=A0</div>
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpV=
goQ@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Mike</div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>
<div><br>------ Original Message ------<br>From: &quot;Rajeev Bector&quot; =
&lt;<a href=3D"mailto:rbector@yahoo-inc.com" target=3D"_blank"></a><a href=
=3D"mailto:rbector@yahoo-inc.com" target=3D"_blank">rbector@yahoo-inc.com</=
a>&gt;<br>
To: &quot;Adrien W. de Croy&quot; &lt;<a href=3D"mailto:adrien@qbik.com" ta=
rget=3D"_blank"></a><a href=3D"mailto:adrien@qbik.com" target=3D"_blank">ad=
rien@qbik.com</a>&gt;;&quot;Martin Thomson&quot; &lt;<a href=3D"mailto:mart=
in.thomson@gmail.com" target=3D"_blank"></a><a href=3D"mailto:martin.thomso=
n@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>&gt;;&quot;Marti=
n J. D=FCrst&quot; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"=
_blank"></a><a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"_blank">due=
rst@it.aoyama.ac.jp</a>&gt;<br>
Cc: &quot;Doug Beaver&quot; &lt;<a href=3D"mailto:doug@fb.com" target=3D"_b=
lank"></a><a href=3D"mailto:doug@fb.com" target=3D"_blank">doug@fb.com</a>&=
gt;;&quot;Willy Tarreau&quot; &lt;<a href=3D"mailto:w@1wt.eu" target=3D"_bl=
ank"></a><a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;;&qu=
ot;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank"></a><a href=3D"=
mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot;=
 &lt;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank"></a><a href=
=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&g=
t;<br>
</div>
<div>
<div>Sent: 18/07/2012 3:26:56 p.m.<br>Subject: Re: Re[2]: HTTP2 Expression =
of Interest<br></div></div></div>
<div>
<div>
<blockquote type=3D"cite">
<div style=3D"FONT-FAMILY:Verdana,sans-serif;WORD-WRAP:break-word;FONT-SIZE=
:16px">
<div>Arguably, the cost of 3 Rts is amortized over many many objects that g=
ets transferred over the session.=A0That said, I am trying to imagine how t=
o do crypto on my Arduino :-). =A0=A0</div>
<div><br></div>
<div><br></div><span>
<div style=3D"BORDER-BOTTOM:medium none;TEXT-ALIGN:left;BORDER-LEFT:medium =
none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;FONT-FAMILY:Cali=
bri;FONT-SIZE:11pt;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PA=
DDING-TOP:3pt">
<span style=3D"FONT-WEIGHT:bold">From: </span>&quot;Adrien W. de Croy&quot;=
 &lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"ma=
ilto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"mailto:adrien@qbik.c=
om" target=3D"_blank">adrien@qbik.com</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Reply-To: </span>&quot;Adrien W. de Croy&q=
uot; &lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=
=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"mailto:adrien@=
qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Date: </span>Tue, 17 Jul 2012 20:20:09 -07=
00<br><span style=3D"FONT-WEIGHT:bold">To: </span>Martin Thomson &lt;<a hre=
f=3D"mailto:martin.thomson@gmail.com" target=3D"_blank"></a><a href=3D"mail=
to:martin.thomson@gmail.com" target=3D"_blank"></a><a href=3D"mailto:martin=
.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>&gt;, &qu=
ot;Martin J. D=FCrst&quot; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp" ta=
rget=3D"_blank"></a><a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"_bl=
ank"></a><a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"_blank">duerst=
@it.aoyama.ac.jp</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Cc: </span>Doug Beaver &lt;<a href=3D"mail=
to:doug@fb.com" target=3D"_blank"></a><a href=3D"mailto:doug@fb.com" target=
=3D"_blank"></a><a href=3D"mailto:doug@fb.com" target=3D"_blank">doug@fb.co=
m</a>&gt;, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank">=
</a><a href=3D"mailto:w@1wt.eu" target=3D"_blank"></a><a href=3D"mailto:w@1=
wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;, &quot;<a href=3D"mailto:ietf-htt=
p-wg@w3.org" target=3D"_blank"></a><a href=3D"mailto:ietf-http-wg@w3.org" t=
arget=3D"_blank"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blan=
k">ietf-http-wg@w3.org</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org"=
 target=3D"_blank"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_bl=
ank"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http=
-wg@w3.org</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Subject: </span>Re[2]: HTTP2 Expression of=
 Interest<br></div>
<div><br></div>
<div>
<div>
<div><br></div>
<div>------ Original Message ------</div>
<div>From: &quot;Martin Thomson&quot; &lt;<a href=3D"mailto:martin.thomson@=
gmail.com" target=3D"_blank"></a><a href=3D"mailto:martin.thomson@gmail.com=
" target=3D"_blank"></a><a href=3D"mailto:martin.thomson@gmail.com" target=
=3D"_blank">martin.thomson@gmail.com</a>&gt;</div>

<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div>On 17 July 2012 19:35, &quot;Martin J. D=FCrst&quot; &lt;<a href=3D"ma=
ilto:duerst@it.aoyama.ac.jp" target=3D"_blank"></a><a href=3D"mailto:duerst=
@it.aoyama.ac.jp" target=3D"_blank"></a><a href=3D"mailto:duerst@it.aoyama.=
ac.jp" target=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt; wrote:</div>

<div><br></div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div><br></div>
<div>So why are we okay with 10-20% more processing costs for everybody, bu=
t not</div>
<div>with 10-20% more bandwidth? What&#39;s different between processing co=
sts and</div>
<div>bandwidth?</div>
<div><br></div></blockquote>
<div><br></div>
<div><br></div>
<div>Personally, I thought that the first optimization was for latency,</di=
v>
<div><br></div></blockquote>
<div>How do you optimise latency by adding 3 RTs in a SSL setup?</div>
<div><br></div>
<div><br></div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div><br></div>
<div>with bandwidth as secondary and (obviously) consequential.=A0=A0Trade-=
offs</div>
<div>may have to be made.</div>
<div><br></div>
<div><br></div>
<div><br></div></blockquote>
<div><br></div>
<div><br></div>
<div><br></div></div></div></span></div></blockquote></div></div></div></bl=
ockquote></div><br></div></blockquote></div></div></blockquote></div><br>

--f46d04083adbd22c6104c512a677--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:00:07 2012
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 C359511E80FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:00:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.72
X-Spam-Level: 
X-Spam-Status: No, score=-8.72 tagged_above=-999 required=5 tests=[AWL=1.879, BAYES_00=-2.599, 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 MCFmgOrVVsab for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:00:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1053D11E80A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:00:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLRB-0007wC-HK for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:00:33 +0000
Resent-Date: Wed, 18 Jul 2012 04:00:33 +0000
Resent-Message-Id: <E1SrLRB-0007wC-HK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrLR1-0007v4-M9 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:00:23 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrLR0-0004uy-EE for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:00:23 +0000
Received: by vbbfq11 with SMTP id fq11so889577vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 20:59:56 -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=2LOT2PqS+WnpIBr+AhGhTpnUjPv05uFlGAZmPmU+yck=; b=mqReWW7PDCkn84Hz8Mg+fvEP2pLrujIaiBMh5qp6Y+FF8vxOdgfGNVpIT6IeOk1LY6 CCPw3p3iYSH6651j2Xqfs9OeM687BMPpYPmY0Mm7XQvyZI3cjHxONT8J9Cz9pVvA92hJ lQ8TY/CQnBDbb3T6lC3jE78UrwomQ14zr65Ma8drxcjDMwnK4imeLE7NFlw1WkpTb/sn v/VAsMusm8cKjM9LkF6DmJDwEvjZzIPjMqoGuIUQh6DEO2OQC/J2oIFvQEdm9TCfgcf/ rcYjnKqLaJjgon1yPwp97/dbqSlym8E9qFucl52HxDpQ65pAHz6hoqn783vVrslXdtYC 0r0w==
MIME-Version: 1.0
Received: by 10.220.40.11 with SMTP id i11mr2641862vce.50.1342583996629; Tue, 17 Jul 2012 20:59:56 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 20:59:56 -0700 (PDT)
In-Reply-To: <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp> <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com>
Date: Tue, 17 Jul 2012 23:59:56 -0400
Message-ID: <CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrLR0-0004uy-EE bb2fcb9e3c84ce6b16447e95173d31c9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14429
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>

RC4 is cheap but SHA2 is not.

Encryption without authentication is worthless. The principal security
objective in TLS is to provide integrity, not confidentiality. If you
lose integrity you are going to lose confidentiality even with 128 bit
encryption.


RC4 is a stream cipher. It is fast but thats about all that can be
said in its favor. If I care about confidentiality I am not going to
want a stream cipher.


On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 7:35 PM, "Martin J. D=FCrst" <duerst@it.aoyama.ac=
.jp>
> wrote:
>>
>> Hello Doug, everybody,
>>
>>
>> On 2012/07/18 7:11, Doug Beaver wrote:
>>
>>>    * Symmetric crypto costs are not much higher; I think Akamai quoted
>>> 10-20%
>>>      in their response. I think the costs aren't a big deal for major
>>> sites;
>>
>>
>> Just a quick question: I think if we could shave off 10-20% of the
>> bandwidth with some new technique, we'd all go for it.
>
>
> Symmetric crypto (RC4) is super super cheap - a couple of XORs - definite=
ly
> not 10-20% of CPU.  I'd like to see that measured again before taking act=
ion
> upon it.  Obviously, if you use expensive crypto (presumably because you
> want it), some algorithms take more CPU
>
> mike
>
>>
>>
>> So why are we okay with 10-20% more processing costs for everybody, but
>> not with 10-20% more bandwidth? What's different between processing cost=
s
>> and bandwidth?
>>
>> Regards,   Martin.
>>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:09:41 2012
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 BFBD311E80A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:09:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.768
X-Spam-Level: 
X-Spam-Status: No, score=-9.768 tagged_above=-999 required=5 tests=[AWL=-0.107, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 1sVRiN7Md-aR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:09:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E9CD11E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:09: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 1SrLa6-0001FL-MA for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:09:46 +0000
Resent-Date: Wed, 18 Jul 2012 04:09:46 +0000
Resent-Message-Id: <E1SrLa6-0001FL-MA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLZw-0001Dn-5P for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:09:36 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLZu-0005CY-DA for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:09:36 +0000
Received: by lbom4 with SMTP id m4so1650342lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:09:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=w/vQcVurMUJPgjqalRtIhdNEEAOFM2ncVhp46ls91vM=; b=mJLFS1qZPdH/tJdaZ19eojLD3HALOTHbnJcbYO5Fb57O/C0nBTHIQYvbkymNDXsPrG ThONBs9X/CIFEvxPD8eF4/g0WSAxp2UDVh7SsSUE3CHt9RO7WbFx9nN+yM2EjMsncMHQ 0DhXYYc7WHfM82R0rUrUN/vIc1H95DVj2awneUg3AUb1Fn/PQbO+kNF3leyyUpFr3ngU /zW+0RXYPzqqB/hWgE6iUvwJGde+Swt9uNhms/xFHKTzoueMmmbl7/TCpjGrXTHj8isr PCLdWE5CMmas2+T+Oa9hqFbQQGV1exX5/iD7MAUW3YIF/F1kiHJj8q0bxYC4U/xajZFh nu5w==
MIME-Version: 1.0
Received: by 10.152.136.18 with SMTP id pw18mr1613692lab.17.1342584547641; Tue, 17 Jul 2012 21:09:07 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 21:09:07 -0700 (PDT)
In-Reply-To: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed>
Date: Tue, 17 Jul 2012 21:09:07 -0700
Message-ID: <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042f927a0b0abd04c512d32b
X-Gm-Message-State: ALoCoQnZjzMtYTrjY9tmIo3gGXee4oamwRV0GpfCogNhMQ52uW/8PS0zIvxHFbbbV9JD7K6AnVq6
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrLZu-0005CY-DA 6ef3b4cd7af12b7850b43e604fc1e457
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14430
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>

--f46d042f927a0b0abd04c512d32b
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> Mandating use of (c.f. support for) crypto in HTTP will prevent it from
> being deployable in a significant number of scenarios, thereby requiring
> ongoing use of HTTP/1.1.
>
>

This is true for any manifestation of HTTP/2.0 with or without security.



>
> DESIRABILITY OF PRIVACY
>
>   Proponents of mandatory crypto
> are making an assumption that privacy is ALWAYS desirable.
>
> It is not ALWAYS desirable.
>
> In many cases privacy is undesirable or even illegal.
>
> 1. Many states have outlawed use of crypto.  So will this be HTTP only for
> the "free" societies?  Or is the IETF trying to achieve political change in
> "repressed" countries?  I've dealt with our equivalent of the NSA on this
> matter.  Have you?  I know the IETF has a neutral position on enabling
> wiretapping.  Mandating SSL is not a neutral / apolitical stance.  Steering
> HTTP into a collision course with governments just doesn't seem like much
> of a smart idea.
>

I don't know of states that prohibit TLS.  Do they exist?  Which ones are
they?  Can you list them?

Are you saying that HTTP/2.0 must be compliant with the laws of every
country?  And that any country passing a law making HTTP/2.0 features
illegal will block HTTP/2.0? :-)

Sites that are truly concerned can still negotiate the null cypher, I
suppose.


>
> 2. Most prisons do not allow inmates to have privacy when it comes to
> communications.  Would you deny [*] all prisoners access to the web?  There
> are other scenarios where privacy is not expected, permitted or desirable.
>

I doubt this is a problem.  If it is, then the poor prisoners are already
being denied access to their banks, most all of which require TLS.


>
> 3. Many situations require communications to be open and visible.  Would
> you rather your network infrastructure phoned home with SSL or HTTP that
> you can see.
>

Can you enumerate these?  For debugging, of course it makes sense for
endpoints to have unencrypted modes.  We can also build better tools, such
as the improvements for decoding TLS traffic with Wireshark that have
landed recently.


>
> 4. Scanning for malware at a gateway.  This requirement is NOT going away,
> and the SSL will be brute-forced / spoofed etc to achieve this.  Mandating
> SSL will just make it easier for malware to propagate, since you make it
> harder to scan [**].
>

This problem exists today; IP leakage has to be checked even across TLS
based connections.  Solutions for these corporate IT groups exist,
including TLS aware proxies and TLS man in the middle.  Several vendors
provide these solutions today.


>
>
> COST
>
> Google, Facebook and Twitter don't need to spend much on SSL certs from
> CAs.  Not in the scheme of things.
>

Actually, this is not true.  These companies spend the most on "well
rooted" certificates.



>
> What about the other hundreds of millions of us running web servers.  You
> gonna buy us our certs?  I better buy me some shares in Verisign et al..
>

They are free - https://www.startssl.com/


>
>
> SECURITY
>
> Mandating SSL on all devices with HTTP stacks (e.g. your home network
> infrastructure, NAS, Modem etc) cannot be practically done while we rely on
> CAs to issue certs, and while those certs must be installed, expired,
> updated etc etc.
>

I think it can!


>
> Or do you think manufacturers of such hardware should just ship with some
> default cert?  Self-signed maybe?  And while you're at it, why not get
> every machine in the world to trust that cert...  Oh dear, do we have a
> security problem?
>

I think we could do self signed certs and also continue to improve the CA
infrastructure.  I'd like to see Google become a CA with a super-easy
certificate issuing process.


>
> Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for the
> world (or more likely consign HTTP/2.0 to relative obscurity).
>

> It's been alluded to that we'd replace the CA infrastructure.  Don't you
> think it's premature to propose mandatory use of SSL when you haven't
> proposed what would replace the CA infrastructure yet?  That's like
> starting building a spaceship for Alpha Centauri based on a rocket engine
> that hasn't been invented yet.
>

Many researchers and security experts agree we need a CA overhaul.  But
this doesn't mean that the existing CA infrastructure is not usable.
 Despite its flaws, it is better than no CA system.  And we can fix it!
 Look at this as an opportunity, not a hurdle.


>
> You'd have to replace CRL and OCSP checking protocols, because they use
> HTTP, and mandating use of SSL for that would create a paradox (how do you
> check the cert on the connection used to check the cert ad infinitum).
>

Naw, the browsers wouldn't need to validate the cert from the OCSP server
because the contents that they fetch are self-signed and verifiable
independently.


>
>
> OTHER
>
> Most people here seem to focus on issues such as CPU load, extra R-Ts
> introduced by the SSL setup etc.  Those are valid concerns, but they are
> easier to overcome than the others. They aren't easy to overcome, just
> easier.
>

Agree.


>
>
> Seems to me it would be a whole lot simpler and more compatible with the
> actual world we actually live on just to make crypto optional.
>

True.  It would also be a whole lot less secure, leave users exposed on the
net to trust that every single website remembered to secure the
communicates of private data and that none of them use sniffable
cookies....



>
> Adrien
>
>
> [*] We can't realistically expect server operators to indefinitely support
> both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop HTTP/1.1 support,
> and that part of the internet will then become unavailable to those forced
> to keep using HTTP/1.1, effectively denying those users.
>

Actually, HTTP/1.1 will become like IE6.  It will be this legacy thing
holding back the world.  Eventually there will be big pushes to rid the
world of this insecure protocol that we wish we no longer had lying around
:-)


>
>  [**] T
> here has been some discussion about enabling intermediaries to be able to
> see plaintext payload by terminating the SSL connection at each end.  This
> hasn't progressed enough, and the current proposals still basically bypass
> intermediaries AFAICT.
>
>

Agree it needs more work.  But I don't think this should be a condition of
making HTTP/2.0 a more secure protocol.

Mike

--f46d042f927a0b0abd04c512d32b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:25 PM, Adrien =
W. de Croy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=
=3D"_blank">adrien@qbik.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">



<div>
<div>=A0</div>
<div>Mandating use of (c.f. support for) crypto in HTTP will prevent it fro=
m being deployable in a significant number of scenarios, thereby requiring =
ongoing use of=A0HTTP/1.1.</div>
<div>=A0</div></div></blockquote><div><br></div><div>This is true for any m=
anifestation of HTTP/2.0 with or without security.</div><div><br></div><div=
>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
<div>
<div>=A0</div>
<div>DESIRABILITY OF PRIVACY</div>
<div>=A0</div>
<div><span>
<div><span>
<div><span>
<div>Proponents of mandatory crypto </div></span></div></span>are making an=
 assumption <span><span>that privacy is ALWAYS desirable.</span></span></di=
v>
<div><span><span></span></span>=A0</div></span></div></div>
<div>It is not ALWAYS desirable. </div>
<div>=A0</div>
<div>In many cases <span>privacy </span>is undesirable or even illegal.</di=
v>
<div>=A0</div>
<div>1. Many states have outlawed use of crypto.=A0 So will this be HTTP on=
ly for the &quot;free&quot; societies?=A0 Or is the IETF trying to achieve =
political change in &quot;repressed&quot; countries?=A0 I&#39;ve dealt with=
 our equivalent of the NSA on this matter.=A0 Have you?=A0 I know the IETF =
has a neutral position on enabling wiretapping.=A0 Mandating SSL is not a n=
eutral / apolitical stance.=A0 Steering HTTP into a collision course with g=
overnments just doesn&#39;t seem like much of a smart idea.</div>
</blockquote><div><br></div><div>I don&#39;t know of states that prohibit T=
LS. =A0Do they exist? =A0Which ones are they? =A0Can you list them?</div><d=
iv><br></div><div>Are you saying that HTTP/2.0 must be compliant with the l=
aws of every country? =A0And that any country passing a law making HTTP/2.0=
 features illegal will block HTTP/2.0? :-)</div>
<div><br></div><div>Sites that are truly concerned can still negotiate the =
null cypher, I suppose.</div><div>=A0</div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div>2. Most prisons do not allow inmates to have privacy when it comes to =
communications.=A0 Would you deny [*]=A0all prisoners access to the web?=A0=
 There are other scenarios where privacy is not expected, permitted or desi=
rable.=A0</div>
</blockquote><div><br></div><div>I doubt this is a problem. =A0If it is, th=
en the poor prisoners are already being denied access to their banks, most =
all of which require TLS.</div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
<div> </div>
<div>=A0</div>
<div>3. Many situations require communications to be open and visible.=A0 W=
ould you rather your network infrastructure phoned home with SSL or HTTP th=
at you can see.</div></blockquote><div><br></div><div>Can you enumerate the=
se? =A0For debugging, of course it makes sense for endpoints to have unencr=
ypted modes. =A0We can also build better tools, such as the improvements fo=
r decoding TLS traffic with Wireshark that have landed recently.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div>4. Scanning for malware at a gateway.=A0 This requirement is NOT going=
 away, and the SSL will be brute-forced / spoofed etc to achieve this.=A0 M=
andating SSL will just make it easier for malware to propagate, since you m=
ake it harder to scan [**].</div>
</blockquote><div><br></div><div>This problem exists today; IP leakage has =
to be checked even across TLS based connections. =A0Solutions for these cor=
porate IT groups exist, including TLS aware proxies and TLS man in the midd=
le. =A0Several vendors provide these solutions today.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div>=A0</div>
<div>COST</div>
<div>=A0</div>
<div>Google, Facebook and Twitter don&#39;t need to spend much on SSL certs=
 from CAs.=A0 Not in the scheme of things.</div></blockquote><div><br></div=
><div>Actually, this is not true. =A0These companies spend the most on &quo=
t;well rooted&quot; certificates.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div>What about the other=A0hundreds of millions=A0of us running web server=
s.=A0 You gonna buy us our certs?=A0 I better buy me some shares in Verisig=
n et al..</div>
<div></div></blockquote><div><br></div><div>They are free - <a href=3D"http=
s://www.startssl.com/">https://www.startssl.com/</a></div><div>=A0</div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">
<div>=A0</div>
<div>=A0</div>
<div>SECURITY</div>
<div>=A0</div>
<div>Mandating SSL on all devices with HTTP stacks (e.g. your home network =
infrastructure, NAS, Modem etc) cannot be practically done while we rely on=
 CAs to issue certs, and while those certs must be installed, expired, upda=
ted etc etc.</div>
</blockquote><div><br></div><div>I think it can!</div><div>=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
<div>=A0</div>
<div>Or do you think manufacturers of such hardware should just ship with s=
ome default cert?=A0 Self-signed maybe?=A0 And while you&#39;re at it, why =
not get every machine in the world to trust that cert...=A0 Oh dear, do we =
have a security problem?=A0</div>
</blockquote><div><br></div><div>I think we could do self signed certs and =
also continue to improve the CA infrastructure. =A0I&#39;d like to see Goog=
le become a CA with a super-easy certificate issuing process.</div><div>=A0=
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div> </div>
<div>=A0</div>
<div>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for=
 the world (or more likely consign HTTP/2.0 to relative obscurity).=A0</div=
></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">

<div>=A0</div>
<div>It&#39;s been alluded to that we&#39;d replace the CA infrastructure.=
=A0 Don&#39;t you think it&#39;s premature to propose mandatory use of SSL =
when you haven&#39;t proposed what would replace the CA infrastructure yet?=
=A0 That&#39;s like starting building a=A0spaceship for=A0Alpha Centauri=A0=
based on a rocket engine that hasn&#39;t been invented yet.</div>
</blockquote><div><br></div><div>Many researchers and security experts agre=
e we need a CA overhaul. =A0But this doesn&#39;t mean that the existing CA =
infrastructure is not usable. =A0Despite its flaws, it is better than no CA=
 system. =A0And we can fix it! =A0Look at this as an opportunity, not a hur=
dle.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div>You&#39;d have to replace CRL and OCSP checking protocols, because the=
y use HTTP, and mandating use of SSL for that would create a paradox (how d=
o you check the cert on the connection used to check the cert ad infinitum)=
.</div>
</blockquote><div><br></div><div>Naw, the browsers wouldn&#39;t need to val=
idate the cert from the OCSP server because the contents that they fetch ar=
e self-signed and verifiable independently.</div><div>=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">

<div>=A0</div>
<div>=A0</div>
<div>OTHER</div>
<div>=A0</div>
<div>Most people here seem to focus on issues such as CPU load, extra R-Ts =
introduced by the SSL setup etc.=A0 Those are valid concerns, but they are =
easier to overcome than the others. They aren&#39;t easy to overcome, just =
easier.</div>
</blockquote><div><br></div><div>Agree.</div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<div>=A0</div>
<div>=A0</div>
<div>Seems to me it would be a whole lot simpler and more compatible with t=
he actual world we actually live on just to make=A0crypto optional.</div></=
blockquote><div><br></div><div>True. =A0It would also be a whole lot less s=
ecure, leave users exposed on the net to trust that every single website re=
membered to secure the communicates of private data and that none of them u=
se sniffable cookies.... =A0</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div>Adrien</div>
<div>=A0</div>
<div>=A0</div>
<div>[*] We can&#39;t realistically expect server operators to indefinitely=
 support both HTTP/2.0 and HTTP/1.1.=A0 Some will inevitably drop HTTP/1.1 =
support, and that part of the internet will then become unavailable to thos=
e forced to keep using HTTP/1.1, effectively denying those users.</div>
</blockquote><div><br></div><div>Actually, HTTP/1.1 will become like IE6. =
=A0It will be this legacy thing holding back the world. =A0Eventually there=
 will be big pushes to rid the world of this insecure protocol that we wish=
 we no longer had lying around :-)</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div>
<div><span>
<div>[**] T</div></span>here has been some discussion about enabling interm=
ediaries to be able to see plaintext payload by terminating the SSL connect=
ion at each end.=A0 This hasn&#39;t progressed enough, and the current prop=
osals still basically bypass intermediaries AFAICT.</div>

<div>=A0</div></blockquote><div><br></div><div>Agree it needs more work. =
=A0But I don&#39;t think this should be a condition of making HTTP/2.0 a mo=
re secure protocol.</div><div><br></div><div>Mike</div><div>=A0</div></div>=
<br>

--f46d042f927a0b0abd04c512d32b--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:17:14 2012
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 872DA11E8111 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.764
X-Spam-Level: 
X-Spam-Status: No, score=-9.764 tagged_above=-999 required=5 tests=[AWL=-0.103, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 3dJxKHNajhu9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:17:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 21F5011E8110 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:17:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLhf-0006GE-Ds for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:17:35 +0000
Resent-Date: Wed, 18 Jul 2012 04:17:35 +0000
Resent-Message-Id: <E1SrLhf-0006GE-Ds@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLhV-0006F0-I0 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:17:25 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLhT-0005VQ-Ul for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:17:25 +0000
Received: by lbom4 with SMTP id m4so1656467lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:16:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=8BERoD4VxNN6Rh4Gbc8oxEy6d36RkP/BfiAsFcfg+Rc=; b=c+JI+jcdp14f6jzuRpRpBxac0F61dybmpgUZI7dDcXNBWQRMujBH6W+4F1FCm7jTR/ KCB2RO/nvfHS6LmcGVpuqKS5pcCcF7aeSfeaEFfE8++pxwQAFjiscsLF4gNEH5Ig0UPe yZR57JnC/GLYPJ4JDXTI/D50CHU6fcxthmOJUObJhu5k7mTExFhy05MBsFWFn4HgHiV9 RyK3WjELeFCBWRU+5L1vDdCuuw4n0rheAlJDksFNT859BrksMhpfIB1iFejDyzVmdMq2 sAneCHHWZYT0E+G0XfK30XD9nFj/HvH3tIAgU8YDkZeDZacvLkM7XY23y9h4NF1gETma XBow==
MIME-Version: 1.0
Received: by 10.152.131.37 with SMTP id oj5mr1639296lab.14.1342585017230; Tue, 17 Jul 2012 21:16:57 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 21:16:57 -0700 (PDT)
In-Reply-To: <CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp> <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com> <CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com>
Date: Tue, 17 Jul 2012 21:16:57 -0700
Message-ID: <CABaLYCtoWHAz_Vpp4bmkEB7LB2RuAjM072wXzvjQ8RXHv70avQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042c6b8d0863fd04c512efb7
X-Gm-Message-State: ALoCoQmhSWeCUqZKa8uebu98cpfcrXQLTAT6H8cGC8IlJl5DlNlgv0U3jFneibIjrvSFMMhg20pR
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrLhT-0005VQ-Ul db10cdef17c16b27996af6414cb267e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCtoWHAz_Vpp4bmkEB7LB2RuAjM072wXzvjQ8RXHv70avQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14431
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>

--f46d042c6b8d0863fd04c512efb7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 8:59 PM, Phillip Hallam-Baker <hallam@gmail.com>wro=
te:

> RC4 is cheap but SHA2 is not.
>
> Encryption without authentication is worthless. The principal security
> objective in TLS is to provide integrity, not confidentiality. If you
> lose integrity you are going to lose confidentiality even with 128 bit
> encryption.
>
>
> RC4 is a stream cipher. It is fast but thats about all that can be
> said in its favor. If I care about confidentiality I am not going to
> want a stream cipher.
>

I believe RC4 is excellent for almost all cases.  It is certainly used on
millions of sites today just fine.

If the alternative is no security (e.g. arguing for no TLS), we can
probably agree that RC4 is more secure than that! :-)  Obviously, if you
want even stronger security, you can opt in to using other crypto
algorithms - those are configurable through TLS today.  No problem.
Requiring TLS with HTTP/2.0 would not need to require an expensive
symmetric crypto algorithm.

Mike





>
>
> On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 7:35 PM, "Martin J. D=FCrst" <
> duerst@it.aoyama.ac.jp>
> > wrote:
> >>
> >> Hello Doug, everybody,
> >>
> >>
> >> On 2012/07/18 7:11, Doug Beaver wrote:
> >>
> >>>    * Symmetric crypto costs are not much higher; I think Akamai quote=
d
> >>> 10-20%
> >>>      in their response. I think the costs aren't a big deal for major
> >>> sites;
> >>
> >>
> >> Just a quick question: I think if we could shave off 10-20% of the
> >> bandwidth with some new technique, we'd all go for it.
> >
> >
> > Symmetric crypto (RC4) is super super cheap - a couple of XORs -
> definitely
> > not 10-20% of CPU.  I'd like to see that measured again before taking
> action
> > upon it.  Obviously, if you use expensive crypto (presumably because yo=
u
> > want it), some algorithms take more CPU
> >
> > mike
> >
> >>
> >>
> >> So why are we okay with 10-20% more processing costs for everybody, bu=
t
> >> not with 10-20% more bandwidth? What's different between processing
> costs
> >> and bandwidth?
> >>
> >> Regards,   Martin.
> >>
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--f46d042c6b8d0863fd04c512efb7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:59 PM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
RC4 is cheap but SHA2 is not.<br>
<br>
Encryption without authentication is worthless. The principal security<br>
objective in TLS is to provide integrity, not confidentiality. If you<br>
lose integrity you are going to lose confidentiality even with 128 bit<br>
encryption.<br>
<br></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><br>
RC4 is a stream cipher. It is fast but thats about all that can be<br>
said in its favor. If I care about confidentiality I am not going to<br>
want a stream cipher.<br></blockquote><div><br></div><div>I believe RC4 is =
excellent for almost all cases. =A0It is certainly used on millions of site=
s today just fine.</div><div><br></div><div>If the alternative is no securi=
ty (e.g. arguing for no TLS), we can probably agree that RC4 is more secure=
 than that! :-) =A0Obviously, if you want even stronger security, you can o=
pt in to using other crypto algorithms - those are configurable through TLS=
 today. =A0No problem. Requiring TLS with HTTP/2.0 would not need to requir=
e an expensive symmetric crypto algorithm.</div>
<div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div>=
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 7:35 PM, &quot;Martin J. D=FCrst&quot; &lt;<a =
href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello Doug, everybody,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 2012/07/18 7:11, Doug Beaver wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; =A0 =A0* Symmetric crypto costs are not much higher; I think A=
kamai quoted<br>
&gt;&gt;&gt; 10-20%<br>
&gt;&gt;&gt; =A0 =A0 =A0in their response. I think the costs aren&#39;t a b=
ig deal for major<br>
&gt;&gt;&gt; sites;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Just a quick question: I think if we could shave off 10-20% of the=
<br>
&gt;&gt; bandwidth with some new technique, we&#39;d all go for it.<br>
&gt;<br>
&gt;<br>
&gt; Symmetric crypto (RC4) is super super cheap - a couple of XORs - defin=
itely<br>
&gt; not 10-20% of CPU. =A0I&#39;d like to see that measured again before t=
aking action<br>
&gt; upon it. =A0Obviously, if you use expensive crypto (presumably because=
 you<br>
&gt; want it), some algorithms take more CPU<br>
&gt;<br>
&gt; mike<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; So why are we okay with 10-20% more processing costs for everybody=
, but<br>
&gt;&gt; not with 10-20% more bandwidth? What&#39;s different between proce=
ssing costs<br>
&gt;&gt; and bandwidth?<br>
&gt;&gt;<br>
&gt;&gt; Regards, =A0 Martin.<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--f46d042c6b8d0863fd04c512efb7--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:21:39 2012
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 57D0711E8110 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:21:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 qnTHXErkcXWT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:21:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1C17B11E80A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:21: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 1SrLlL-0008B8-DK for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:21:23 +0000
Resent-Date: Wed, 18 Jul 2012 04:21:23 +0000
Resent-Message-Id: <E1SrLlL-0008B8-DK@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SrLlB-00089f-Uf for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:21:13 +0000
Received: from mail-pb0-f43.google.com ([209.85.160.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SrLlA-0005c5-MW for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:21:13 +0000
Received: by pbcwz7 with SMTP id wz7so1888286pbc.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:20:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=5lW+fVk9v2Iwb4SKRXTkoQwX+yJDqWEDpCIELKb9Rs0=; b=V5PPrUrjM08uQ9xeFJw8DaZxHQOpJN03+5HFHz2TIuGXN4atG6JuxmFf81XEbaX1MJ Jaqnr8JlknPYfws3ToDeCeMOKH7FZsjpAweqAXL45p5h2JdCrEuBYEUM9qOHUPOCXLps buxdOcnRXjI1McHMGYLhhOpq5goPUjNU6eZwyNO58bmHDP1AGrxwRf6lJBX5ZCVloVLN LJLZHpAL4ohL/F9ndPF+o20M3Uce0Q7STLB8oJWskO9QQ5yGN+MkY2Brh3UQ/rIjWy3y j+RBH95bxLiCg/avkvBs+shqsKFs7XrPiPkiHpVvKLyV3kEopS+27Vb7Fq2nU4dAy4Jx gqIQ==
MIME-Version: 1.0
Received: by 10.68.217.100 with SMTP id ox4mr3933858pbc.87.1342585246428; Tue, 17 Jul 2012 21:20:46 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.143.145.12 with HTTP; Tue, 17 Jul 2012 21:20:46 -0700 (PDT)
In-Reply-To: <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
Date: Wed, 18 Jul 2012 14:20:46 +1000
X-Google-Sender-Auth: nvQAT8o3bd6bpnvR6v6X5Odd1Hk
Message-ID: <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: Mike Belshe <mike@belshe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.43; envelope-from=grahameg@gmail.com; helo=mail-pb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrLlA-0005c5-MW 49d21e1f075f47731ec9b57c870a2caf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14432
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>

> Can you enumerate these?  For debugging, of course it makes sense for
> endpoints to have unencrypted modes.

oh? but it was going to be mandatory. Except when it's not? which is it?
If it's mandatory by policy, but not technically actually required,
then... well..
I think I know how that will turn out.

Grahame


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:24:37 2012
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 46EF221F8543 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.917
X-Spam-Level: 
X-Spam-Status: No, score=-9.917 tagged_above=-999 required=5 tests=[AWL=0.059, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 HUy4ulyQJ1bd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:24:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 502B411E8110 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:24: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 1SrLod-0008SN-U9 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:24:47 +0000
Resent-Date: Wed, 18 Jul 2012 04:24:47 +0000
Resent-Message-Id: <E1SrLod-0008SN-U9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLoT-0008Rc-0u for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:24:37 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrLoR-0005lR-Ui for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:24:36 +0000
Received: by lbom4 with SMTP id m4so1662611lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:24:09 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=9eYGNk2swldMkDOkIsxq4IOWfYhxc7Vgo+OdO5NID4U=; b=R2vZbafUaMRf6WfjKmVFfALLiIHltMZuGWgb4S49dIUB8+h6fd6i9UUe4FYGbBr3kd MseVbzF5MhdiaZ0RxE1XdtgyfvSOM/Naaj7CkOFvH/wa1lBYqjdaenjVY0rK3ArWSMmw unQpe4eXDV2rEKcbTAxd4csjJZGPTicTLJUpGkXiC4y9HNZ4sx2lppWuc9MZSkCrTUK8 BPFLmKJ7mWuFWowIFtuEZeMMe+SobcMexPCkcO4pV7e/LTSBhync3718zoalpU2yJr/C F0N9bPaaJhb/1hyx+VfGQMFpautXozDYz/iITHBzCE7e1HN7DLFsFgqkRE69WKEiRdmh jeww==
MIME-Version: 1.0
Received: by 10.152.127.98 with SMTP id nf2mr1737500lab.4.1342585449183; Tue, 17 Jul 2012 21:24:09 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 21:24:09 -0700 (PDT)
In-Reply-To: <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com>
Date: Tue, 17 Jul 2012 21:24:09 -0700
Message-ID: <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: grahame@healthintersections.com.au
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042d05aac779e204c513088f
X-Gm-Message-State: ALoCoQmLZ53CWtA9FzBMUBsSc08TxUiLhE+5502erWLYJY3wUlPGw+rMfRuYLLl48S86Xs6mn6vR
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrLoR-0005lR-Ui dc28c4115bb41d6954639ff9f16207fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14433
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>

--f46d042d05aac779e204c513088f
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve <grahame@kestral.com.au>wrote:

> > Can you enumerate these?  For debugging, of course it makes sense for
> > endpoints to have unencrypted modes.
>
> oh? but it was going to be mandatory. Except when it's not? which is it?
> If it's mandatory by policy, but not technically actually required,
> then... well..
> I think I know how that will turn out.
>

Naw - this is not a big deal.  For instance, a server can send a NULL
cipher to the client.  In normal modes, browsers will reject the NULL
cipher and not negotiate it.  however, you can use command line flags to
allow it.

We do this all the time.  Another example is for turning on
same-origin-policy.  Browsers often have debugging modes for turning it
off.  You have to run the browser in a special, techie, opt-in way to do
it, but it is there.

I used these all the time when developing in Chrome.

Mike



>
> Grahame
>

--f46d042d05aac779e204c513088f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:20 PM, Grahame=
 Grieve <span dir=3D"ltr">&lt;<a href=3D"mailto:grahame@kestral.com.au" tar=
get=3D"_blank">grahame@kestral.com.au</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
<div class=3D"im">&gt; Can you enumerate these? =A0For debugging, of course=
 it makes sense for<br>
&gt; endpoints to have unencrypted modes.<br>
<br>
</div>oh? but it was going to be mandatory. Except when it&#39;s not? which=
 is it?<br>
If it&#39;s mandatory by policy, but not technically actually required,<br>
then... well..<br>
I think I know how that will turn out.<br></blockquote><div><br></div><div>=
Naw - this is not a big deal. =A0For instance, a server can send a NULL cip=
her to the client. =A0In normal modes, browsers will reject the NULL cipher=
 and not negotiate it. =A0however, you can use command line flags to allow =
it.</div>
<div><br></div><div>We do this all the time. =A0Another example is for turn=
ing on same-origin-policy. =A0Browsers often have debugging modes for turni=
ng it off. =A0You have to run the browser in a special, techie, opt-in way =
to do it, but it is there.</div>
<div><br></div><div>I used these all the time when developing in Chrome.</d=
iv><div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Grahame<br>
</font></span></blockquote></div><br>

--f46d042d05aac779e204c513088f--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:26:27 2012
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 E284C21F8549 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:26:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.448
X-Spam-Level: 
X-Spam-Status: No, score=-8.448 tagged_above=-999 required=5 tests=[AWL=1.551, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, 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 mQ-lNvv5yr8g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:26:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 08E4821F8543 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:26:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLqX-0001XB-Sn for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:26:45 +0000
Resent-Date: Wed, 18 Jul 2012 04:26:45 +0000
Resent-Message-Id: <E1SrLqX-0001XB-Sn@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrLqN-0001WL-Ml for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:26:35 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrLqM-0005sv-7K for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:26:35 +0000
Received: by vbbfq11 with SMTP id fq11so900117vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:26:08 -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=pRCAnmG8g06BZI7UwfUcVLUp4ofmv2QN6U1P2SlLXNQ=; b=DVEBJHIXFXI57D6RQNopzOS+13dBszb6yQmiMPWQ5+na6mc8fhm+gpkDxwkWPn5Sxh lLIzN6wBTHZWjj9t5oYlSoZEqmkooADqGVa99baxPnIEVHhO/SqNFL8JcyLetVX2wVr+ D8a87cuf4KK9mbaRjj3soQiumtUM1FfB4BNjYmUrzdED6kUIla4+f7vT7dQwSojvyvPv SWpMC6kehuML+aB8GD8Vm8Fy6B8Nwog4ciWtF3sGFYaXF6FH3XM8H5z1q2O9ch6ONOyG 6kF3uNwX7hto3qYKPnF/lwuU/dkX5A423QqunLuWrHtycLXjIZlkSzad4oKG3k9xheQC Wg6Q==
MIME-Version: 1.0
Received: by 10.220.214.8 with SMTP id gy8mr2714836vcb.45.1342585568038; Tue, 17 Jul 2012 21:26:08 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 21:26:08 -0700 (PDT)
In-Reply-To: <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com>
Date: Wed, 18 Jul 2012 00:26:08 -0400
Message-ID: <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>,  Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrLqM-0005sv-7K e7c44c70117d0ceea9651c8433047a75
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14434
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>

While use of port 443 and TLS may be a practical requirement for use
of SPDY under certain network constraints, a protocol requirement is a
very different matter.

It should be obvious that a protocol be capable of deployment under
common network contraints but that does not mean that every
implementation of the protocol MUST implement or use the work-around.


Nobody is even being very clear about the precise nature of the
requirement 'must implement TLS' and 'must use TLS' are very different
criteria. There is only one precedent for requiring implementation of
a security protocol in a non security protocol that I am aware of and
that is IPv6 which is hardly an inspiring precedent. I cannot think of
any case where a non security protocol has mandated use of encryption.

TCP is a very small protocol stack and HTTP is not much bigger.

TLS is a huge protocol stack and should not be implemented by people
who don't know what they are doing. We actively discourage
proliferation of crypto stacks in the security area these days.

PKIX is a big, complicated spec that has technical, legal and policy facets=
.

TLS requires PKIX, you can't have one without the other. So mandating
TLS in HTTP/2.0 is really mandating TLS+PKIX. If people don't want to
rely on CAs for their trust anchors they will also need DNS, DNSSEC
and DANE.





On Tue, Jul 17, 2012 at 11:56 PM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy <adrien@qbik.com> wrot=
e:
>>
>>
>> ------ Original Message ------
>> From: "Mike Belshe" mike@belshe.com
>>
>>
>>
>> On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com>
>> wrote:
>>>
>>>
>>> we can already transfer many objects over a single connection with
>>> HTTP/1.1
>>>
>>> SPDY without SSL would be more speedy than with it.
>>>
>>> There may be only a couple R-Ts to get an SSL handshake, but sprinkle o=
n
>>> a CRL / OCSP check and you're left eating dust.
>>>
>>> So, let's just get this straight for the record.  SSL will not improve
>>> latency.  It will make it worse, and for many people (on
>>> already-high-latency links) a LOT worse.
>>
>>
>> Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all the tim=
e,
>> but yes, OSCP can add a lot, and SSL implementations vary.  But SPDY gai=
ns a
>> lot of this back with fewer connections, multiplexing, and compression.
>> Don't forget to implement SSL False Start in your client.  Obviously an
>> un-optimized SSL stack will have a harder time than an optimized one.
>>
>> But its not true that every bit of latency is more important than
>> security.
>>
>> I'm just not convinced this would be a security win in the end.
>>
>> How many CAs are there?  We may as well right now deprecate OCSP / CRL
>> checks, because you have 200 million sites using a cert from one vendor,=
 you
>> take out their OCSP server(s), and you've taken down 200 million sites.
>>
>> Way to go amplifying DOS effectiveness.
>> Becoming a CA is non-trivial.  If we suddenly need a million more of the=
m
>> to cope with cert load, how do you anticipate that will improve security=
?  I
>> think it will make for a disaster.
>>
>
>
> The TLS concerns are legitimate.  We need to fix TLS to be even better, n=
ot
> make HTTP/2 weaker.
>
>>
>>
>> Note that Google has reported overall latency of SPDY + SSL is faster th=
an
>> HTTP without SSL or SPDY.
>>
>> you saying SPDY + SSL faster than SPDY (presumably without SSL)?  Doesn'=
t
>> seem possible.
>
>
> Oh - SPDY over port 80 is non deployable for the same reasons pipelining
> isn't deployable.  So that will never happen :-)
>
> But you're correct, I wouldn't expect SPDY + SSL to be faster than SPDY.
>
>>
>>
>> I have no problem accepting SPDY + SSL would be faster than HTTP.  But
>> we're talking about adding a bunch of things to HTTP that would provide =
the
>> same benefits that SPDY currently enjoys.
>
>
> Yeah, that's not going to fly....
>
> The problem is that the intermediaries just get stuck (they expect that p=
ort
> 80 is exclusively HTTP/1.1).  When you send them additional data, they
> sometimes hang, and this prevents deployment of new protocols.  Websocket=
s
> has the same problem.  This is part of why no major sites are turning on
> websockets on port 80....
>
> But, regardless, SPDY gives us the window of opportunity through reduced
> latency to add security into the protocol without making latency worse.
>
> Mike
>
>>
>>
>>
>>
>>
>>
>>
>> Mike
>>
>>>
>>>
>>>
>>> ------ Original Message ------
>>> From: "Rajeev Bector" <rbector@yahoo-inc.com>
>>> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson"
>>> <martin.thomson@gmail.com>;"Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
>>> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau"
>>> <w@1wt.eu>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
>>> Sent: 18/07/2012 3:26:56 p.m.
>>> Subject: Re: Re[2]: HTTP2 Expression of Interest
>>>
>>> Arguably, the cost of 3 Rts is amortized over many many objects that ge=
ts
>>> transferred over the session. That said, I am trying to imagine how to =
do
>>> crypto on my Arduino :-).
>>>
>>>
>>> From: "Adrien W. de Croy" <adrien@qbik.com>
>>> Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
>>> Date: Tue, 17 Jul 2012 20:20:09 -0700
>>> To: Martin Thomson <martin.thomson@gmail.com>, "Martin J. D=FCrst"
>>> <duerst@it.aoyama.ac.jp>
>>> Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>,
>>> "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
>>> Subject: Re[2]: HTTP2 Expression of Interest
>>>
>>>
>>> ------ Original Message ------
>>> From: "Martin Thomson" <martin.thomson@gmail.com>
>>>
>>> On 17 July 2012 19:35, "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp> wro=
te:
>>>
>>>
>>> So why are we okay with 10-20% more processing costs for everybody, but
>>> not
>>> with 10-20% more bandwidth? What's different between processing costs a=
nd
>>> bandwidth?
>>>
>>>
>>>
>>> Personally, I thought that the first optimization was for latency,
>>>
>>> How do you optimise latency by adding 3 RTs in a SSL setup?
>>>
>>>
>>>
>>> with bandwidth as secondary and (obviously) consequential.  Trade-offs
>>> may have to be made.
>>>
>>>
>>>
>>>
>>>
>>>
>>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:33:45 2012
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 BE6CB11E811B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:33:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.614
X-Spam-Level: 
X-Spam-Status: No, score=-8.614 tagged_above=-999 required=5 tests=[AWL=1.670, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 HjTJAf1SCFAM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:33:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5460D11E8118 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:33:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrLxW-0004SU-Sy for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:33:58 +0000
Resent-Date: Wed, 18 Jul 2012 04:33:58 +0000
Resent-Message-Id: <E1SrLxW-0004SU-Sy@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrLxN-0004Rj-6b for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:33:49 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrLxM-0006DQ-0L for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:33:49 +0000
Received: by vbbfq11 with SMTP id fq11so903184vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:33:22 -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=0FDzR+lQp+/DP3/+dlVEGPm8a2nQ2Y+gq5YSV8Ffrmo=; b=NILmN9MjLHhQ3SFvQFuiV5aiOeBbvNftchMXqkWvoFAsLD/OIlW+QmbbiRIgLOTNys cLIw2LhartPLrHZ5K/CY/d43gI21xpIkIfxWU0nuF87iP7kxTEiwJxjsHYWoTE5AqNqI 7QWMmLcLXJFyAL/L5Raeky2YpxVsFu0M2FTfILHInsO89Z6hlre5/1O6ARCc9naptubq NDNLxEGCQ+bTea0l67Nza7nSuZAZDjQozgPz5VxvyTygtyeQzeT7d17Ks/ftHqTHlNAT uH2ZxTISq6+CRDhf3a+u7ppp9Cp34W5ejaBufek6bRMzZAYwEfIWwx0FSOod0XkTWLRK Kt9g==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr2268136vdc.101.1342586001938; Tue, 17 Jul 2012 21:33:21 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 21:33:21 -0700 (PDT)
In-Reply-To: <CABaLYCtoWHAz_Vpp4bmkEB7LB2RuAjM072wXzvjQ8RXHv70avQ@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp> <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com> <CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com> <CABaLYCtoWHAz_Vpp4bmkEB7LB2RuAjM072wXzvjQ8RXHv70avQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 00:33:21 -0400
Message-ID: <CAMm+LwgoUk1HAWakqurgTXijGWerH2GCEkh7o37hRiYM=jLR4g@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrLxM-0006DQ-0L 29907aed2c18e99199c86a8f1113c37c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwgoUk1HAWakqurgTXijGWerH2GCEkh7o37hRiYM=jLR4g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14435
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>

No, RC4 is almost NEVER used on its own as you seem to imagine.

What is used is actually RC4 + SHA1. And the real security value
actually comes from the integrity check, not the stream cipher.

For HTTP/2.0 you would be much better off using AES-GCM which does
encryption and integrity in one operation.


On Wed, Jul 18, 2012 at 12:16 AM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 8:59 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> RC4 is cheap but SHA2 is not.
>>
>> Encryption without authentication is worthless. The principal security
>> objective in TLS is to provide integrity, not confidentiality. If you
>> lose integrity you are going to lose confidentiality even with 128 bit
>> encryption.
>>
>>
>> RC4 is a stream cipher. It is fast but thats about all that can be
>> said in its favor. If I care about confidentiality I am not going to
>> want a stream cipher.
>
>
> I believe RC4 is excellent for almost all cases.  It is certainly used on
> millions of sites today just fine.
>
> If the alternative is no security (e.g. arguing for no TLS), we can proba=
bly
> agree that RC4 is more secure than that! :-)  Obviously, if you want even
> stronger security, you can opt in to using other crypto algorithms - thos=
e
> are configurable through TLS today.  No problem. Requiring TLS with HTTP/=
2.0
> would not need to require an expensive symmetric crypto algorithm.
>
> Mike
>
>
>
>
>>
>>
>>
>> On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe <mike@belshe.com> wrote:
>> >
>> >
>> > On Tue, Jul 17, 2012 at 7:35 PM, "Martin J. D=FCrst"
>> > <duerst@it.aoyama.ac.jp>
>> > wrote:
>> >>
>> >> Hello Doug, everybody,
>> >>
>> >>
>> >> On 2012/07/18 7:11, Doug Beaver wrote:
>> >>
>> >>>    * Symmetric crypto costs are not much higher; I think Akamai quot=
ed
>> >>> 10-20%
>> >>>      in their response. I think the costs aren't a big deal for majo=
r
>> >>> sites;
>> >>
>> >>
>> >> Just a quick question: I think if we could shave off 10-20% of the
>> >> bandwidth with some new technique, we'd all go for it.
>> >
>> >
>> > Symmetric crypto (RC4) is super super cheap - a couple of XORs -
>> > definitely
>> > not 10-20% of CPU.  I'd like to see that measured again before taking
>> > action
>> > upon it.  Obviously, if you use expensive crypto (presumably because y=
ou
>> > want it), some algorithms take more CPU
>> >
>> > mike
>> >
>> >>
>> >>
>> >> So why are we okay with 10-20% more processing costs for everybody, b=
ut
>> >> not with 10-20% more bandwidth? What's different between processing
>> >> costs
>> >> and bandwidth?
>> >>
>> >> Regards,   Martin.
>> >>
>> >
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:39:25 2012
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 2CC7511E8118 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:39:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level: 
X-Spam-Status: No, score=-9.619 tagged_above=-999 required=5 tests=[AWL=-0.243, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 OaYF0xmQ40QX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:39:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5BFA011E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:39:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrM2z-0008S0-FZ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:39:37 +0000
Resent-Date: Wed, 18 Jul 2012 04:39:37 +0000
Resent-Message-Id: <E1SrM2z-0008S0-FZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrM2n-0008OD-Sn for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:39:25 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrM2l-0006Zv-Ng for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:39:25 +0000
Received: by lbom4 with SMTP id m4so1673944lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:38:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=n6+ZSTGc1Mr4bAhvqRTZVm/v0wAE1/4CoBGAQy8d6b0=; b=n34wOea6UOD/w7shXNhDhV3CWBgembeNje0sW2pFj4XhbDUWO0QLP/b2G4xYx5XYxy VnODFUTFWVyKTccHLTHrmBgVEexU9SyrApV9/1C8dV1GVWCHfC8YCqsl/+1FkVZj4aSG k7sxjaJ0VL+yFovT1cYxwq1bG2/x76CVvMq/RefFh5AP3mI7DlUgKx9yDec1DU+y7GLG +ngg3y8w5HALck5x/tdGLorv3RFiN+nC02Iw68Dnha+ItddnOcnufmzCI6TDv6+FwUQX d3HeTYHFWcBth1+BSromhL842HKDeDGhaULP+WRvRvLKjWsvjFu/zya/S2hnMzaRotO7 7D2g==
MIME-Version: 1.0
Received: by 10.152.104.77 with SMTP id gc13mr1635733lab.31.1342586336766; Tue, 17 Jul 2012 21:38:56 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 21:38:56 -0700 (PDT)
In-Reply-To: <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com>
Date: Tue, 17 Jul 2012 21:38:56 -0700
Message-ID: <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>,  Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04083adbaee99404c5133deb
X-Gm-Message-State: ALoCoQlFDNZCgq2DdTzEc+TYFg/1go6EcBPiUp1bVn0X6oo9aRjkoYY6YPflouwc3Lf/APVcMN+z
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrM2l-0006Zv-Ng ad39157523c1dc3734e87d558c34c881
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14436
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>

--f46d04083adbaee99404c5133deb
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 9:26 PM, Phillip Hallam-Baker <hallam@gmail.com>wro=
te:

> While use of port 443 and TLS may be a practical requirement for use
> of SPDY under certain network constraints, a protocol requirement is a
> very different matter.
>
> It should be obvious that a protocol be capable of deployment under
> common network contraints but that does not mean that every
> implementation of the protocol MUST implement or use the work-around.
>
>
> Nobody is even being very clear about the precise nature of the
> requirement 'must implement TLS' and 'must use TLS' are very different
> criteria. There is only one precedent for requiring implementation of
> a security protocol in a non security protocol that I am aware of and
> that is IPv6 which is hardly an inspiring precedent. I cannot think of
> any case where a non security protocol has mandated use of encryption.
>

I thought everyone was talking about "must use TLS".




>
> TCP is a very small protocol stack and HTTP is not much bigger.
>
> TLS is a huge protocol stack and should not be implemented by people
> who don't know what they are doing. We actively discourage
> proliferation of crypto stacks in the security area these days.
>
> PKIX is a big, complicated spec that has technical, legal and policy
> facets.
>

I basically agree with this, yes.

Except most can get this from their operating system.  It's provided for
free in windows, macos, ios, and I believe android (but I have to check).



>
> TLS requires PKIX, you can't have one without the other. So mandating
> TLS in HTTP/2.0 is really mandating TLS+PKIX. If people don't want to
> rely on CAs for their trust anchors they will also need DNS, DNSSEC
> and DANE.
>
>

CA trust anchors are policy, not implementation.

I would propose do what other protocol specs do, which is to leave policy
to the implementations.

Mike



>
>
>
>
> On Tue, Jul 17, 2012 at 11:56 PM, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy <adrien@qbik.com>
> wrote:
> >>
> >>
> >> ------ Original Message ------
> >> From: "Mike Belshe" mike@belshe.com
> >>
> >>
> >>
> >> On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com>
> >> wrote:
> >>>
> >>>
> >>> we can already transfer many objects over a single connection with
> >>> HTTP/1.1
> >>>
> >>> SPDY without SSL would be more speedy than with it.
> >>>
> >>> There may be only a couple R-Ts to get an SSL handshake, but sprinkle
> on
> >>> a CRL / OCSP check and you're left eating dust.
> >>>
> >>> So, let's just get this straight for the record.  SSL will not improv=
e
> >>> latency.  It will make it worse, and for many people (on
> >>> already-high-latency links) a LOT worse.
> >>
> >>
> >> Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all the
> time,
> >> but yes, OSCP can add a lot, and SSL implementations vary.  But SPDY
> gains a
> >> lot of this back with fewer connections, multiplexing, and compression=
.
> >> Don't forget to implement SSL False Start in your client.  Obviously a=
n
> >> un-optimized SSL stack will have a harder time than an optimized one.
> >>
> >> But its not true that every bit of latency is more important than
> >> security.
> >>
> >> I'm just not convinced this would be a security win in the end.
> >>
> >> How many CAs are there?  We may as well right now deprecate OCSP / CRL
> >> checks, because you have 200 million sites using a cert from one
> vendor, you
> >> take out their OCSP server(s), and you've taken down 200 million sites=
.
> >>
> >> Way to go amplifying DOS effectiveness.
> >> Becoming a CA is non-trivial.  If we suddenly need a million more of
> them
> >> to cope with cert load, how do you anticipate that will improve
> security?  I
> >> think it will make for a disaster.
> >>
> >
> >
> > The TLS concerns are legitimate.  We need to fix TLS to be even better,
> not
> > make HTTP/2 weaker.
> >
> >>
> >>
> >> Note that Google has reported overall latency of SPDY + SSL is faster
> than
> >> HTTP without SSL or SPDY.
> >>
> >> you saying SPDY + SSL faster than SPDY (presumably without SSL)?
>  Doesn't
> >> seem possible.
> >
> >
> > Oh - SPDY over port 80 is non deployable for the same reasons pipelinin=
g
> > isn't deployable.  So that will never happen :-)
> >
> > But you're correct, I wouldn't expect SPDY + SSL to be faster than SPDY=
.
> >
> >>
> >>
> >> I have no problem accepting SPDY + SSL would be faster than HTTP.  But
> >> we're talking about adding a bunch of things to HTTP that would provid=
e
> the
> >> same benefits that SPDY currently enjoys.
> >
> >
> > Yeah, that's not going to fly....
> >
> > The problem is that the intermediaries just get stuck (they expect that
> port
> > 80 is exclusively HTTP/1.1).  When you send them additional data, they
> > sometimes hang, and this prevents deployment of new protocols.
>  Websockets
> > has the same problem.  This is part of why no major sites are turning o=
n
> > websockets on port 80....
> >
> > But, regardless, SPDY gives us the window of opportunity through reduce=
d
> > latency to add security into the protocol without making latency worse.
> >
> > Mike
> >
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Mike
> >>
> >>>
> >>>
> >>>
> >>> ------ Original Message ------
> >>> From: "Rajeev Bector" <rbector@yahoo-inc.com>
> >>> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson"
> >>> <martin.thomson@gmail.com>;"Martin J. D=FCrst" <duerst@it.aoyama.ac.j=
p>
> >>> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau"
> >>> <w@1wt.eu>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> >>> Sent: 18/07/2012 3:26:56 p.m.
> >>> Subject: Re: Re[2]: HTTP2 Expression of Interest
> >>>
> >>> Arguably, the cost of 3 Rts is amortized over many many objects that
> gets
> >>> transferred over the session. That said, I am trying to imagine how t=
o
> do
> >>> crypto on my Arduino :-).
> >>>
> >>>
> >>> From: "Adrien W. de Croy" <adrien@qbik.com>
> >>> Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
> >>> Date: Tue, 17 Jul 2012 20:20:09 -0700
> >>> To: Martin Thomson <martin.thomson@gmail.com>, "Martin J. D=FCrst"
> >>> <duerst@it.aoyama.ac.jp>
> >>> Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>,
> >>> "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> >>> Subject: Re[2]: HTTP2 Expression of Interest
> >>>
> >>>
> >>> ------ Original Message ------
> >>> From: "Martin Thomson" <martin.thomson@gmail.com>
> >>>
> >>> On 17 July 2012 19:35, "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
> wrote:
> >>>
> >>>
> >>> So why are we okay with 10-20% more processing costs for everybody, b=
ut
> >>> not
> >>> with 10-20% more bandwidth? What's different between processing costs
> and
> >>> bandwidth?
> >>>
> >>>
> >>>
> >>> Personally, I thought that the first optimization was for latency,
> >>>
> >>> How do you optimise latency by adding 3 RTs in a SSL setup?
> >>>
> >>>
> >>>
> >>> with bandwidth as secondary and (obviously) consequential.  Trade-off=
s
> >>> may have to be made.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--f46d04083adbaee99404c5133deb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:26 PM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
While use of port 443 and TLS may be a practical requirement for use<br>
of SPDY under certain network constraints, a protocol requirement is a<br>
very different matter.<br>
<br>
It should be obvious that a protocol be capable of deployment under<br>
common network contraints but that does not mean that every<br>
implementation of the protocol MUST implement or use the work-around.<br>
<br>
<br>
Nobody is even being very clear about the precise nature of the<br>
requirement &#39;must implement TLS&#39; and &#39;must use TLS&#39; are ver=
y different<br>
criteria. There is only one precedent for requiring implementation of<br>
a security protocol in a non security protocol that I am aware of and<br>
that is IPv6 which is hardly an inspiring precedent. I cannot think of<br>
any case where a non security protocol has mandated use of encryption.<br><=
/blockquote><div><br></div><div>I thought everyone was talking about &quot;=
must use TLS&quot;.</div><div><br></div><div><br></div><div>=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">

<br>
TCP is a very small protocol stack and HTTP is not much bigger.<br>
<br>
TLS is a huge protocol stack and should not be implemented by people<br>
who don&#39;t know what they are doing. We actively discourage<br>
proliferation of crypto stacks in the security area these days.<br>
<br>
PKIX is a big, complicated spec that has technical, legal and policy facets=
.<br></blockquote><div><br></div><div>I basically agree with this, yes.=A0<=
/div><div><br></div><div>Except most can get this from their operating syst=
em. =A0It&#39;s provided for free in windows, macos, ios, and I believe and=
roid (but I have to check).</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
TLS requires PKIX, you can&#39;t have one without the other. So mandating<b=
r>
TLS in HTTP/2.0 is really mandating TLS+PKIX. If people don&#39;t want to<b=
r>
rely on CAs for their trust anchors they will also need DNS, DNSSEC<br>
and DANE.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br></div><div><br></div><div>CA trust anchors are policy, not implementatio=
n. =A0</div><div><br></div><div>I would propose do what other protocol spec=
s do, which is to leave policy to the implementations.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">
<br>
<br>
<br>
<br>
On Tue, Jul 17, 2012 at 11:56 PM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy &lt;<a href=3D"mail=
to:adrien@qbik.com">adrien@qbik.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------ Original Message ------<br>
&gt;&gt; From: &quot;Mike Belshe&quot; <a href=3D"mailto:mike@belshe.com">m=
ike@belshe.com</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy &lt;<a href=3D"=
mailto:adrien@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; we can already transfer many objects over a single connection =
with<br>
&gt;&gt;&gt; HTTP/1.1<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; SPDY without SSL would be more speedy than with it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; There may be only a couple R-Ts to get an SSL handshake, but s=
prinkle on<br>
&gt;&gt;&gt; a CRL / OCSP check and you&#39;re left eating dust.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So, let&#39;s just get this straight for the record. =A0SSL wi=
ll not improve<br>
&gt;&gt;&gt; latency. =A0It will make it worse, and for many people (on<br>
&gt;&gt;&gt; already-high-latency links) a LOT worse.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Of course, no-SSL is lower latency than SSL. =A0It&#39;s not 3 RTs=
 all the time,<br>
&gt;&gt; but yes, OSCP can add a lot, and SSL implementations vary. =A0But =
SPDY gains a<br>
&gt;&gt; lot of this back with fewer connections, multiplexing, and compres=
sion.<br>
&gt;&gt; Don&#39;t forget to implement SSL False Start in your client. =A0O=
bviously an<br>
&gt;&gt; un-optimized SSL stack will have a harder time than an optimized o=
ne.<br>
&gt;&gt;<br>
&gt;&gt; But its not true that every bit of latency is more important than<=
br>
&gt;&gt; security.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m just not convinced this would be a security win in the end=
.<br>
&gt;&gt;<br>
&gt;&gt; How many CAs are there? =A0We may as well right now deprecate OCSP=
 / CRL<br>
&gt;&gt; checks, because you have 200 million sites using a cert from one v=
endor, you<br>
&gt;&gt; take out their OCSP server(s), and you&#39;ve taken down 200 milli=
on sites.<br>
&gt;&gt;<br>
&gt;&gt; Way to go amplifying DOS effectiveness.<br>
&gt;&gt; Becoming a CA is non-trivial. =A0If we suddenly need a million mor=
e of them<br>
&gt;&gt; to cope with cert load, how do you anticipate that will improve se=
curity? =A0I<br>
&gt;&gt; think it will make for a disaster.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; The TLS concerns are legitimate. =A0We need to fix TLS to be even bett=
er, not<br>
&gt; make HTTP/2 weaker.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Note that Google has reported overall latency of SPDY + SSL is fas=
ter than<br>
&gt;&gt; HTTP without SSL or SPDY.<br>
&gt;&gt;<br>
&gt;&gt; you saying SPDY + SSL faster than SPDY (presumably without SSL)? =
=A0Doesn&#39;t<br>
&gt;&gt; seem possible.<br>
&gt;<br>
&gt;<br>
&gt; Oh - SPDY over port 80 is non deployable for the same reasons pipelini=
ng<br>
&gt; isn&#39;t deployable. =A0So that will never happen :-)<br>
&gt;<br>
&gt; But you&#39;re correct, I wouldn&#39;t expect SPDY + SSL to be faster =
than SPDY.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have no problem accepting SPDY + SSL would be faster than HTTP. =
=A0But<br>
&gt;&gt; we&#39;re talking about adding a bunch of things to HTTP that woul=
d provide the<br>
&gt;&gt; same benefits that SPDY currently enjoys.<br>
&gt;<br>
&gt;<br>
&gt; Yeah, that&#39;s not going to fly....<br>
&gt;<br>
&gt; The problem is that the intermediaries just get stuck (they expect tha=
t port<br>
&gt; 80 is exclusively HTTP/1.1). =A0When you send them additional data, th=
ey<br>
&gt; sometimes hang, and this prevents deployment of new protocols. =A0Webs=
ockets<br>
&gt; has the same problem. =A0This is part of why no major sites are turnin=
g on<br>
&gt; websockets on port 80....<br>
&gt;<br>
&gt; But, regardless, SPDY gives us the window of opportunity through reduc=
ed<br>
&gt; latency to add security into the protocol without making latency worse=
.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Mike<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ------ Original Message ------<br>
&gt;&gt;&gt; From: &quot;Rajeev Bector&quot; &lt;<a href=3D"mailto:rbector@=
yahoo-inc.com">rbector@yahoo-inc.com</a>&gt;<br>
&gt;&gt;&gt; To: &quot;Adrien W. de Croy&quot; &lt;<a href=3D"mailto:adrien=
@qbik.com">adrien@qbik.com</a>&gt;;&quot;Martin Thomson&quot;<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:martin.thomson@gmail.com">martin.thomson=
@gmail.com</a>&gt;;&quot;Martin J. D=FCrst&quot; &lt;<a href=3D"mailto:duer=
st@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt;<br>
&gt;&gt;&gt; Cc: &quot;Doug Beaver&quot; &lt;<a href=3D"mailto:doug@fb.com"=
>doug@fb.com</a>&gt;;&quot;Willy Tarreau&quot;<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt;;&quot;<a href=
=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&quot; &lt;<a href=
=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br>
&gt;&gt;&gt; Sent: 18/07/2012 3:26:56 p.m.<br>
&gt;&gt;&gt; Subject: Re: Re[2]: HTTP2 Expression of Interest<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Arguably, the cost of 3 Rts is amortized over many many object=
s that gets<br>
&gt;&gt;&gt; transferred over the session. That said, I am trying to imagin=
e how to do<br>
&gt;&gt;&gt; crypto on my Arduino :-).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; From: &quot;Adrien W. de Croy&quot; &lt;<a href=3D"mailto:adri=
en@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt;&gt; Reply-To: &quot;Adrien W. de Croy&quot; &lt;<a href=3D"mailto:=
adrien@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt;&gt; Date: Tue, 17 Jul 2012 20:20:09 -0700<br>
&gt;&gt;&gt; To: Martin Thomson &lt;<a href=3D"mailto:martin.thomson@gmail.=
com">martin.thomson@gmail.com</a>&gt;, &quot;Martin J. D=FCrst&quot;<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama=
.ac.jp</a>&gt;<br>
&gt;&gt;&gt; Cc: Doug Beaver &lt;<a href=3D"mailto:doug@fb.com">doug@fb.com=
</a>&gt;, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt;,<b=
r>
&gt;&gt;&gt; &quot;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.o=
rg</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org=
</a>&gt;<br>
&gt;&gt;&gt; Subject: Re[2]: HTTP2 Expression of Interest<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ------ Original Message ------<br>
&gt;&gt;&gt; From: &quot;Martin Thomson&quot; &lt;<a href=3D"mailto:martin.=
thomson@gmail.com">martin.thomson@gmail.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 17 July 2012 19:35, &quot;Martin J. D=FCrst&quot; &lt;<a hr=
ef=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt; wrote:<=
br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So why are we okay with 10-20% more processing costs for every=
body, but<br>
&gt;&gt;&gt; not<br>
&gt;&gt;&gt; with 10-20% more bandwidth? What&#39;s different between proce=
ssing costs and<br>
&gt;&gt;&gt; bandwidth?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Personally, I thought that the first optimization was for late=
ncy,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; How do you optimise latency by adding 3 RTs in a SSL setup?<br=
>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; with bandwidth as secondary and (obviously) consequential. =A0=
Trade-offs<br>
&gt;&gt;&gt; may have to be made.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--f46d04083adbaee99404c5133deb--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:43:17 2012
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 891A621F85A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:43:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.752
X-Spam-Level: 
X-Spam-Status: No, score=-9.752 tagged_above=-999 required=5 tests=[AWL=-0.091, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 V2NCs8Qi1CKm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:43:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B904E11E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:43:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrM6u-00022o-H4 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:43:40 +0000
Resent-Date: Wed, 18 Jul 2012 04:43:40 +0000
Resent-Message-Id: <E1SrM6u-00022o-H4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrM6k-00021K-Tj for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:43:30 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrM6j-0006hR-De for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:43:30 +0000
Received: by lbom4 with SMTP id m4so1677313lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:43:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=8Lg9+RygziRQ9FZgoVMKuM1At4eWuhWY5tlXwhPmwew=; b=ZM950Fdq3IqR5klXNbb0Wr/SgaENWKW/pEN2Zo2gnrJBEXJ1gCYJhOsJzLrcGbvXQz O7Vy2g9ihy/XgBb/28bp61AmBZfU01PVNG3QkQYgO4hv0/+mvkCajp/kM46AI7Qn54mt 3aWYei7N8jsFQW+NfNW1pT7y5wfCZ/NujeWNqDYhRmtMSg/gLQymWBKhQ8SlWIULrOTb DqQqe/zlu4Fnj62tPaPcvOqvL6xnY7Fn4UBzqvvEFjThaWxZ1RjKkw9Ksy0vsCiPxzgM SEyHsIxOj1n7/MSyJlvxuO/giEbbCQ2V6ma7haLLjdzslcpeWWckvjOduWcyLBHAm+Ep qF+g==
MIME-Version: 1.0
Received: by 10.112.84.65 with SMTP id w1mr1012659lby.40.1342586582423; Tue, 17 Jul 2012 21:43:02 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 21:43:02 -0700 (PDT)
In-Reply-To: <CAMm+LwgoUk1HAWakqurgTXijGWerH2GCEkh7o37hRiYM=jLR4g@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp> <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com> <CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com> <CABaLYCtoWHAz_Vpp4bmkEB7LB2RuAjM072wXzvjQ8RXHv70avQ@mail.gmail.com> <CAMm+LwgoUk1HAWakqurgTXijGWerH2GCEkh7o37hRiYM=jLR4g@mail.gmail.com>
Date: Tue, 17 Jul 2012 21:43:02 -0700
Message-ID: <CABaLYCt8anXVArsX2mU2F79sTzHNtQSRLERDLtr2qAQC2TnjZQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401696d53583504c5134cbf
X-Gm-Message-State: ALoCoQmipcGQPCIllCCN5iI8qJ5gRcLfUgvHe4t0DId+kk2uU8XMXk/R2hpF5zEvVHQrd/yPWMF+
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrM6j-0006hR-De 146523fddaac0c4b52d3dec6f01b8959
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCt8anXVArsX2mU2F79sTzHNtQSRLERDLtr2qAQC2TnjZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14437
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>

--f46d0401696d53583504c5134cbf
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 9:33 PM, Phillip Hallam-Baker <hallam@gmail.com>wro=
te:

> No, RC4 is almost NEVER used on its own as you seem to imagine.
>
>
If you've ever looked at OpenSSL's config, you probably know they just call
it "RC4+MEDIUM" or something like that.  I was merely using the shorthand.



> What is used is actually RC4 + SHA1. And the real security value
> actually comes from the integrity check, not the stream cipher.
>

Yes, this is what Google uses.



>
> For HTTP/2.0 you would be much better off using AES-GCM which does
> encryption and integrity in one operation.
>

I'm not sure why this is better than RC4, when the author of this thread
was suggesting we should use no encryption at all.

Mike



>
>
> On Wed, Jul 18, 2012 at 12:16 AM, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 8:59 PM, Phillip Hallam-Baker <hallam@gmail.com=
>
> > wrote:
> >>
> >> RC4 is cheap but SHA2 is not.
> >>
> >> Encryption without authentication is worthless. The principal security
> >> objective in TLS is to provide integrity, not confidentiality. If you
> >> lose integrity you are going to lose confidentiality even with 128 bit
> >> encryption.
> >>
> >>
> >> RC4 is a stream cipher. It is fast but thats about all that can be
> >> said in its favor. If I care about confidentiality I am not going to
> >> want a stream cipher.
> >
> >
> > I believe RC4 is excellent for almost all cases.  It is certainly used =
on
> > millions of sites today just fine.
> >
> > If the alternative is no security (e.g. arguing for no TLS), we can
> probably
> > agree that RC4 is more secure than that! :-)  Obviously, if you want ev=
en
> > stronger security, you can opt in to using other crypto algorithms -
> those
> > are configurable through TLS today.  No problem. Requiring TLS with
> HTTP/2.0
> > would not need to require an expensive symmetric crypto algorithm.
> >
> > Mike
> >
> >
> >
> >
> >>
> >>
> >>
> >> On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe <mike@belshe.com> wrote:
> >> >
> >> >
> >> > On Tue, Jul 17, 2012 at 7:35 PM, "Martin J. D=FCrst"
> >> > <duerst@it.aoyama.ac.jp>
> >> > wrote:
> >> >>
> >> >> Hello Doug, everybody,
> >> >>
> >> >>
> >> >> On 2012/07/18 7:11, Doug Beaver wrote:
> >> >>
> >> >>>    * Symmetric crypto costs are not much higher; I think Akamai
> quoted
> >> >>> 10-20%
> >> >>>      in their response. I think the costs aren't a big deal for
> major
> >> >>> sites;
> >> >>
> >> >>
> >> >> Just a quick question: I think if we could shave off 10-20% of the
> >> >> bandwidth with some new technique, we'd all go for it.
> >> >
> >> >
> >> > Symmetric crypto (RC4) is super super cheap - a couple of XORs -
> >> > definitely
> >> > not 10-20% of CPU.  I'd like to see that measured again before takin=
g
> >> > action
> >> > upon it.  Obviously, if you use expensive crypto (presumably because
> you
> >> > want it), some algorithms take more CPU
> >> >
> >> > mike
> >> >
> >> >>
> >> >>
> >> >> So why are we okay with 10-20% more processing costs for everybody,
> but
> >> >> not with 10-20% more bandwidth? What's different between processing
> >> >> costs
> >> >> and bandwidth?
> >> >>
> >> >> Regards,   Martin.
> >> >>
> >> >
> >>
> >>
> >>
> >> --
> >> Website: http://hallambaker.com/
> >
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--f46d0401696d53583504c5134cbf
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:33 PM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
No, RC4 is almost NEVER used on its own as you seem to imagine.<br>
<br></blockquote><div><br></div><div>If you&#39;ve ever looked at OpenSSL&#=
39;s config, you probably know they just call it &quot;RC4+MEDIUM&quot; or =
something like that. =A0I was merely using the shorthand.</div><div><br>
</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is used is actually RC4 + SHA1. And the real security value<br>
actually comes from the integrity check, not the stream cipher.<br></blockq=
uote><div><br>Yes, this is what Google uses.</div><div><br></div><div>=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">

<br>
For HTTP/2.0 you would be much better off using AES-GCM which does<br>
encryption and integrity in one operation.<br></blockquote><div><br></div><=
div>I&#39;m not sure why this is better than RC4, when the author of this t=
hread was suggesting we should use no encryption at all.</div><div><br>
</div><div>Mike</div><div><br></div><div>=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Wed, Jul 18, 2012 at 12:16 AM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 8:59 PM, Phillip Hallam-Baker &lt;<a href=3D"m=
ailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; RC4 is cheap but SHA2 is not.<br>
&gt;&gt;<br>
&gt;&gt; Encryption without authentication is worthless. The principal secu=
rity<br>
&gt;&gt; objective in TLS is to provide integrity, not confidentiality. If =
you<br>
&gt;&gt; lose integrity you are going to lose confidentiality even with 128=
 bit<br>
&gt;&gt; encryption.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; RC4 is a stream cipher. It is fast but thats about all that can be=
<br>
&gt;&gt; said in its favor. If I care about confidentiality I am not going =
to<br>
&gt;&gt; want a stream cipher.<br>
&gt;<br>
&gt;<br>
&gt; I believe RC4 is excellent for almost all cases. =A0It is certainly us=
ed on<br>
&gt; millions of sites today just fine.<br>
&gt;<br>
&gt; If the alternative is no security (e.g. arguing for no TLS), we can pr=
obably<br>
&gt; agree that RC4 is more secure than that! :-) =A0Obviously, if you want=
 even<br>
&gt; stronger security, you can opt in to using other crypto algorithms - t=
hose<br>
&gt; are configurable through TLS today. =A0No problem. Requiring TLS with =
HTTP/2.0<br>
&gt; would not need to require an expensive symmetric crypto algorithm.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe &lt;<a href=3D"mailt=
o:mike@belshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Tue, Jul 17, 2012 at 7:35 PM, &quot;Martin J. D=FCrst&quot=
;<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyam=
a.ac.jp</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hello Doug, everybody,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 2012/07/18 7:11, Doug Beaver wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; =A0 =A0* Symmetric crypto costs are not much higher; =
I think Akamai quoted<br>
&gt;&gt; &gt;&gt;&gt; 10-20%<br>
&gt;&gt; &gt;&gt;&gt; =A0 =A0 =A0in their response. I think the costs aren&=
#39;t a big deal for major<br>
&gt;&gt; &gt;&gt;&gt; sites;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Just a quick question: I think if we could shave off 10-2=
0% of the<br>
&gt;&gt; &gt;&gt; bandwidth with some new technique, we&#39;d all go for it=
.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Symmetric crypto (RC4) is super super cheap - a couple of XOR=
s -<br>
&gt;&gt; &gt; definitely<br>
&gt;&gt; &gt; not 10-20% of CPU. =A0I&#39;d like to see that measured again=
 before taking<br>
&gt;&gt; &gt; action<br>
&gt;&gt; &gt; upon it. =A0Obviously, if you use expensive crypto (presumabl=
y because you<br>
&gt;&gt; &gt; want it), some algorithms take more CPU<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; mike<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; So why are we okay with 10-20% more processing costs for =
everybody, but<br>
&gt;&gt; &gt;&gt; not with 10-20% more bandwidth? What&#39;s different betw=
een processing<br>
&gt;&gt; &gt;&gt; costs<br>
&gt;&gt; &gt;&gt; and bandwidth?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Regards, =A0 Martin.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">htt=
p://hallambaker.com/</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--f46d0401696d53583504c5134cbf--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:44:09 2012
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 876BF11E8086 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:44:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.906
X-Spam-Level: 
X-Spam-Status: No, score=-9.906 tagged_above=-999 required=5 tests=[AWL=0.070, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 rIbltuZRvNUx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:44:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2133821F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:44:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrM7h-00029X-3t for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:44:29 +0000
Resent-Date: Wed, 18 Jul 2012 04:44:29 +0000
Resent-Message-Id: <E1SrM7h-00029X-3t@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrM7X-000281-TS for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:44:19 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrM7W-0006hR-Hi for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:44:19 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so1677313lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:43:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=J5Lf3m9USWlFo3mEReZNXU5bBhZJX2VoNhekYvsZbpM=; b=bdK36QYOHG7ufJ22rcFdwnyPM09eb+HWo/mPHEcU/I5l/7OSYcREaUWhq/jLcB2dqQ trnt9dUQ12WQIS+PNvjMSCj+53x86a+zgvK0T+iOELRewAgpkP5A7jGAyKWg4YipKVwd BmHxwIV/qctf53gNrNEsO6rNBn6SIqMK0jPyPC2hLY0R1SSL9tRo0vU4zem4TqT2rp74 qaBcIB9QODYWOc1oYbEsEiPSFIkKOhfOHlrcfEgee+EhGY2RamuMVPYpE8dH8pBX9ocd zzYBC2EArl7TfUchl2Ouyn7wG8A9zc7xXmIY0UKbItSIJnz8QUQLidce8zcUDvLfY6j4 Bpyw==
MIME-Version: 1.0
Received: by 10.152.136.18 with SMTP id pw18mr1700457lab.17.1342586637968; Tue, 17 Jul 2012 21:43:57 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 21:43:57 -0700 (PDT)
In-Reply-To: <CAG47hGZ-hzczqgDDj076ON+OVpmzPuWAdxvkdptiRUkcqv1x8Q@mail.gmail.com>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com> <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com> <CAG47hGZ-hzczqgDDj076ON+OVpmzPuWAdxvkdptiRUkcqv1x8Q@mail.gmail.com>
Date: Tue, 17 Jul 2012 21:43:57 -0700
Message-ID: <CABaLYCuoVqN5=i6wrup=HU0Rwur9SaOHR6KJO3-F58BAOv6m+A@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Grahame Grieve <grahame@healthintersections.com.au>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042f927aa2e61a04c5134f27
X-Gm-Message-State: ALoCoQnNOKu3Xe0/CuQ+tfvEGYfIoCmON8bsbWfZUCkYnRRyynxIsDN8lF3bPfpll+hvViU75YtV
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrM7W-0006hR-Hi d15f244f3dc718fd744c7ad6e75be874
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CABaLYCuoVqN5=i6wrup=HU0Rwur9SaOHR6KJO3-F58BAOv6m+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14438
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>

--f46d042f927aa2e61a04c5134f27
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 9:32 PM, Grahame Grieve <
grahame@healthintersections.com.au> wrote:

> so, the client and the server SHALL use encryption, except when they
> choose not to?
>

No, they shall use TLS.  TLS may negotiate a null cipher if both endpoints
agree to it.

Mike




>
> Grahame
>
>
> On Wed, Jul 18, 2012 at 2:24 PM, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve <grahame@kestral.com.au>
> > wrote:
> >>
> >> > Can you enumerate these?  For debugging, of course it makes sense for
> >> > endpoints to have unencrypted modes.
> >>
> >> oh? but it was going to be mandatory. Except when it's not? which is it?
> >> If it's mandatory by policy, but not technically actually required,
> >> then... well..
> >> I think I know how that will turn out.
> >
> >
> > Naw - this is not a big deal.  For instance, a server can send a NULL
> cipher
> > to the client.  In normal modes, browsers will reject the NULL cipher and
> > not negotiate it.  however, you can use command line flags to allow it.
> >
> > We do this all the time.  Another example is for turning on
> > same-origin-policy.  Browsers often have debugging modes for turning it
> off.
> > You have to run the browser in a special, techie, opt-in way to do it,
> but
> > it is there.
> >
> > I used these all the time when developing in Chrome.
> >
> > Mike
> >
> >
> >>
> >>
> >> Grahame
> >
> >
>
>
>
> --
> -----
> http://www.healthintersections.com.au /
> grahame@healthintersections.com.au / +61 411 867 065
>

--f46d042f927aa2e61a04c5134f27
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:32 PM, Grahame=
 Grieve <span dir=3D"ltr">&lt;<a href=3D"mailto:grahame@healthintersections=
.com.au" target=3D"_blank">grahame@healthintersections.com.au</a>&gt;</span=
> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">so, the client and the server SHALL use encr=
yption, except when they<br>
choose not to?<br></blockquote><div><br></div><div>No, they shall use TLS. =
=A0TLS may negotiate a null cipher if both endpoints agree to it.</div><div=
><br></div><div>Mike</div><div><br></div><div><br></div><div>=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">

<br>
Grahame<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Wed, Jul 18, 2012 at 2:24 PM, Mike Belshe &lt;<a href=3D"mailto:mike@bel=
she.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve &lt;<a href=3D"mailto:=
grahame@kestral.com.au">grahame@kestral.com.au</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; Can you enumerate these? =A0For debugging, of course it makes=
 sense for<br>
&gt;&gt; &gt; endpoints to have unencrypted modes.<br>
&gt;&gt;<br>
&gt;&gt; oh? but it was going to be mandatory. Except when it&#39;s not? wh=
ich is it?<br>
&gt;&gt; If it&#39;s mandatory by policy, but not technically actually requ=
ired,<br>
&gt;&gt; then... well..<br>
&gt;&gt; I think I know how that will turn out.<br>
&gt;<br>
&gt;<br>
&gt; Naw - this is not a big deal. =A0For instance, a server can send a NUL=
L cipher<br>
&gt; to the client. =A0In normal modes, browsers will reject the NULL ciphe=
r and<br>
&gt; not negotiate it. =A0however, you can use command line flags to allow =
it.<br>
&gt;<br>
&gt; We do this all the time. =A0Another example is for turning on<br>
&gt; same-origin-policy. =A0Browsers often have debugging modes for turning=
 it off.<br>
&gt; You have to run the browser in a special, techie, opt-in way to do it,=
 but<br>
&gt; it is there.<br>
&gt;<br>
&gt; I used these all the time when developing in Chrome.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Grahame<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
-----<br>
<a href=3D"http://www.healthintersections.com.au" target=3D"_blank">http://=
www.healthintersections.com.au</a> /<br>
<a href=3D"mailto:grahame@healthintersections.com.au">grahame@healthinterse=
ctions.com.au</a> / <a href=3D"tel:%2B61%20411%20867%20065" value=3D"+61411=
867065">+61 411 867 065</a><br>
</font></span></blockquote></div><br>

--f46d042f927aa2e61a04c5134f27--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:50:25 2012
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 178D711E811F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:50:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.796
X-Spam-Level: 
X-Spam-Status: No, score=-8.796 tagged_above=-999 required=5 tests=[AWL=1.803, BAYES_00=-2.599, 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 in2oV8jcbeeM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:50:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5323A11E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:50:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMDh-0006n7-B1 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:50:41 +0000
Resent-Date: Wed, 18 Jul 2012 04:50:41 +0000
Resent-Message-Id: <E1SrMDh-0006n7-B1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrMDX-0006lw-4l for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:50:31 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrMDV-00071D-Gg for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:50:31 +0000
Received: by vcdd16 with SMTP id d16so394159vcd.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:50:03 -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=KVSBMqaevYVFTUqltM+qmeH3jkHVGLTxh05gtdfIxpE=; b=CTRslZBRXwViqFz6O1KjOkrxXrmP6dwM355rqcas79EAHtm3oUli6g8C0RUaDh9R0V ujG/dp9onNGLBQD9MdaBA33fxVpahEMz46W06+mlsdCaMKNSRsOpYLUJKFPvvMomU53X U705evO0nu8P0ohyI/GbIlSAnCr/tWj/xi8NsqR87c4tGC/59bAeqCtzPZ9Qifo5F4lh s0A2iswa8yr07Y+cBusibwpap6QNRNJ0JkpZrp3u++A+4nw98u2jX5RfHo/vl0b3uACV ZrDZvUVnBcJJsCAFRAPuGAyqNhZkY9KyJnwx4w4F9EcCp57DxclrqdcjVEwPujvX15F+ sAMQ==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr2389736vdg.94.1342587003416; Tue, 17 Jul 2012 21:50:03 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 21:50:03 -0700 (PDT)
In-Reply-To: <CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com> <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com> <CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com>
Date: Wed, 18 Jul 2012 00:50:03 -0400
Message-ID: <CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrMDV-00071D-Gg 68ee8a021aa960cbf9538bcfc6f5fff9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14439
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>

Perhaps you are not aware that I work for a CA and I have spent 20
years working on Web security, most of it developing the CA industry
and PKI infrastructure.

Maintaining the policies for accepting trust roots is essentially a
full time job for each of the parties doing it. It is not just a
matter of checking that a CA has a valid audit. The root manager has
to determine that the audit actually relates to the root of trust to
be included and that the practices adhered to meet the necessary
inclusion criteria.


Unlike a coding task, maintaining a root store is an ongoing
commitment. It is not something that you can do once and forget.



On Tue, Jul 17, 2012 at 11:51 PM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> Umm pretty much every Web Server has SSL support, the issue is that
>> only about 2% of deployments turn it on. Or is the idea that we are
>> going to mandate turning it on? If so, who is going to define the
>> trust criteria for accepting certs?
>
>
> Browsers already have well documented policies for this.  Major OSes also
> have their own policies (MacOS, Windows).
>
>>
>>
>> I am a big supporter of TLS. I just don't see anything good coming
>> from a mandate that is superfluous.
>>
>> As an example, we have had a mandate in PKIX to check CRLs and/or OCSP
>> for over a decade and to reject a certificate if the client cannot
>> perform validation. Most browsers try to check but accept the
>> certificate if there is no response to the OCSP request. So virtually
>> every deployed browser has been out of compliance with a fundamental
>> PKIX control for over a decade despite repeated attempts by the CAs to
>> persuade the providers to change this.
>>
>> I can't see how DANE is going to solve anything either since DANE
>> poses an even more disruptive hard-fail criteria.
>>
>> I don't want to tie an application layer protocol version to a
>> transport layer protocol version or vice versa. If you tie HTTP 2.0 to
>> TLS 1.2 then you are going to have to revise HTTP when you revise TLS.
>
>
> This is not true.  HTTP did not change when we went from earlier versions of
> TLS to the current versions.  Browsers do support older versions of TLS,
> usually for older servers that haven't upgraded.  Even SSL3 - shudder.
>
>>
>>
>>
>> I don't see any value in a Canute/sea act here.
>>
>>
>> What would be valuable is to have a suite of standards for a specific
>> application that could be identified as a set. Something like 'best
>> practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with
>> AES+SHA2 + DNSSEC'. It would also be nice to see a similar draft for
>> best practices for email clients and servers, and yes, support for
>> STARTTLS would be high on my list of requirements. A draft like that
>> would be very useful as a contract term for outsourcing Web hosting or
>> mail service.
>>
>> But that is a totally different prospect to trying to tie HTTP to a
>> particular security solution.
>>
>>
>> Implementing TLS in a product is far from trivial. Getting the code is
>> easy, selecting trust anchors is not. Is the specification going to
>> mandate a particular choice of trust anchor? that is not going to
>> happen. Nor is defining a minimum Certification Policy or locking the
>> whole HTTP trust infrastructure to the ICANN PKI root by trying to
>> mandate DNSSEC and DANE as well as TLS.
>>
>> TLS requires a PKI to work and every PKI comes with a set of policy
>> and legal questions that have to be understood if the scheme is going
>> to provide any security.
>
>
> Users expect privacy and security.  We've all seen the legislation around
> the globe for stronger security and privacy options.  SSL won't fix
> everything, I know, but it is a solid step, and its the responsible step for
> the protocol.  I don't understand how we can argue that HTTP/2.0 could be a
> protocol for the next 20 years if it is sniffable over the wire.
>
> Go talk to non-techie users about whether HTTP is secure.  They assume it
> is.  Ask them if they would prefer a secure protocol or an insecure one.
> Ask them if they think protocols should be eavesdroppable so that other
> people in the cafe can see what they're doing, steal their passwords, and
> more?  I have yet to find any of these users that want this flimsy level of
> security.
>
> So- the problem we're solving here is to make users safer and raise the bar
> on web security globally.
>
> Mike
>
>
>>
>>
>>
>> On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe <mike@belshe.com> wrote:
>> > Mandatory SSL is +1 and very forward thinking.
>> >
>> > On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <hallam@gmail.com>
>> > wrote:
>> >>
>> >> -1
>> >>
>> >> I don't want to have a mandatory requirement unless it is going to
>> >> change behavior.
>> >
>> >
>> > I don't think we can change behavior with protocols.  All we can do is
>> > offer
>> > new features.  If the features are compelling, people will upgrade.  If
>> > the
>> > features are not compelling, they won't.
>> >
>> > People used to tell me SPDY would never get people to "upgrade".  Even
>> > after
>> > touching a half a billion users, people still tell me that.  I think the
>> > evidence of adoption speaks for itself.
>> >
>> >>
>> >>
>> >> We already have ubiquitous deployment of TLS in browsers. The code is
>> >> freely available, everyone knows the benefit.
>> >>
>> >> The only HTTP servers or clients I am aware of that don't have TLS
>> >> support are either toolsets that the provider expects to be used with
>> >> OpenSSL or the like and embedded systems.
>> >
>> >
>> > I'll ask the google crawler guys to weigh in on this.  They have pretty
>> > good
>> > stats.  I believe your assertion is provably false.
>> >
>> >>
>> >>
>> >> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
>> >> seem to do any good either. It just means that IPv6 is harder to
>> >> deploy as implementations are required to support a security layer
>> >> almost nobody uses as TLS has proved better.
>> >>
>> >>
>> >> Making TLS a mandatory requirement seems like a feelgood approach to
>> >> security to me. Instead of doing something useful, we pass a
>> >> resolution telling people to do what they plan to do anyway.
>> >
>> >
>> > You imply there is something else that would be useful - what would it
>> > be?
>> > (don't feel obliged to answer :-)
>> >
>> > To me mandating security is a great first step.  Nobody should think
>> > this
>> > 'fixes' security. But if we believe the net ever needs to be secure, we
>> > need
>> > to start taking steps toward that.
>> >
>> > Mandating SSL is a simple step we can take which solves most of the
>> > eavesdropping problem right now.  But more importantly, it poises us to
>> > address the next set of security issues, including CA/verification
>> > problems,
>> > distribution of video over ssl, handshake latency, etc.  Until we start
>> > trying to be secure, of course we'll never be secure.
>> >
>> > Mike
>> >
>> >>
>> >>
>> >>
>> >> On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com>
>> >> wrote:
>> >> > +1 to what seems to be a lot of developers: make TLS mandatory.
>> >> >
>> >> >>  so, even when used in an internal application protocol, it's going
>> >> >> to
>> >> >>  be end to end
>> >> >>  encrypted to make it super hard to debug?
>> >> >
>> >> > In an internal application protocol, why would it be "super hard to
>> >> > debug"? The client can do an HTTP dump before TLS, the server can do
>> >> > an HTTP dump after TLS; either of the sides could debug the TLS.
>> >> >
>> >> >>  http is about more than users using
>> >> >>  web browsers.
>> >> >
>> >> > Completely true, and not relevant. Insecure HTTP for non-browser
>> >> > applications still has the same bad properties, no?
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Website: http://hallambaker.com/
>> >>
>> >
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:51:56 2012
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 45EC211E8086 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:51:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.943
X-Spam-Level: 
X-Spam-Status: No, score=-6.943 tagged_above=-999 required=5 tests=[AWL=2.340, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315, SUBJ_RE_NUM=1]
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 59sDOt2uw3Mu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:51:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9148E11E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:51:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMF9-0007FF-CR for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:52:11 +0000
Resent-Date: Wed, 18 Jul 2012 04:52:11 +0000
Resent-Message-Id: <E1SrMF9-0007FF-CR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrMEy-0007EU-TU for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:52:00 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrMEv-00078i-Pk for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:52:00 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145201@smtp.qbik.com>; Wed, 18 Jul 2012 16:51:35 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Mike Belshe" <mike@belshe.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 04:51:34 +0000
Content-Type: multipart/alternative; boundary="------=_MB76B8B938-0498-4C91-B0C4-1BFFA16EAFE1"
In-Reply-To: <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
Message-Id: <em2a0c2494-0465-4a82-8a6f-4f51628edaeb@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrMEv-00078i-Pk d5197ea2218730504416a69f868ae9fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/em2a0c2494-0465-4a82-8a6f-4f51628edaeb@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14440
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>

--------=_MB76B8B938-0498-4C91-B0C4-1BFFA16EAFE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Original Message ------
From: "Mike Belshe" mike@belshe.com
>
>
>On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy <adrien@qbik.com> wrote=
:

> Mandating use of (c.f. support for) crypto in HTTP will prevent it=20
> from being deployable in a significant number of scenarios, thereby=20
> requiring ongoing use of HTTP/1.1.

=20
 This is true for any manifestation of HTTP/2.0 with or without=20
 security.

I don't know if it should be a goal though.  IMO the goal should be to=20
replace the old with something better, not replace it with something=20
that can only be used by a subset of current users, and therefore=20
requires continued perpetual use of the old.



> DESIRABILITY OF PRIVACY

> Proponents of mandatory crypto=20
> are making an assumption that privacy is ALWAYS desirable.

> It is not ALWAYS desirable.=20

> In many cases privacy is undesirable or even illegal.

> 1. Many states have outlawed use of crypto.  So will this be HTTP=20
> only for the "free" societies?  Or is the IETF trying to achieve=20
> political change in "repressed" countries?  I've dealt with our=20
> equivalent of the NSA on this matter.  Have you?  I know the IETF has=20
> a neutral position on enabling wiretapping.  Mandating SSL is not a=20
> neutral / apolitical stance.  Steering HTTP into a collision course=20
> with governments just doesn't seem like much of a smart idea.
=20
 I don't know of states that prohibit TLS.  Do they exist?  Which ones=20
 are they?  Can you list them?

It's hard to get recent information, but my understanding is that a lot=20
of of people live in jurisdictions where crypto is tightly controlled.

E.g. China, India, several mid-eastern and former soviet countries.
>
>Are you saying that HTTP/2.0 must be compliant with the laws of every=20
>country?  And that any country passing a law making HTTP/2.0 features=20
>illegal will block HTTP/2.0? :-)

In practice, we would have different levels of difficulty ignoring laws=20
of a country depending on which country that was.

If the US passed a law that banned it, and threatened to put you in=20
jail, you may give that more weight.

Governments already have wiretapping laws.  Do you think they will=20
abandon that as a desire?
Many laws on crypto were only relatively recently relaxed.  There's an=20
ongoing tussle between security agencies of government and privacy=20
advocates over it.  We can't guarantee that within the next 5 years=20
that any country wouldn't make it illegal.

It's not like we can claim there's no reasonable expectation to=20
consider laws when it comes to crypto.  That's the one area of software=20
development where caveats and warnings are stamped over so much code=20
and documentation that we can't claim to be unaware it's an issue.

>
>Sites that are truly concerned can still negotiate the null cypher, I=20
>suppose.

try finding some real client app that will swallow that.



> 2. Most prisons do not allow inmates to have privacy when it comes to=20
> communications.  Would you deny [*] all prisoners access to the web? =20
> There are other scenarios where privacy is not expected, permitted or=20
> desirable.=20
=20
 I doubt this is a problem.  If it is, then the poor prisoners are=20
 already being denied access to their banks, most all of which require=20
 TLS.
Maybe there's not much sympathy for prisoners.  That's just one example.

Schools, homes and businesses are also places where there may be deemed=20
(by those in charge) a need to monitor activity.



> 3. Many situations require communications to be open and visible. =20
> Would you rather your network infrastructure phoned home with SSL or=20
> HTTP that you can see.
=20
 Can you enumerate these?  For debugging, of course it makes sense for=20
 endpoints to have unencrypted modes.  We can also build better tools,=20
 such as the improvements for decoding TLS traffic with Wireshark that=20
 have landed recently.

Can only decode NULL cipher.

Huawei recently got excluded from bidding for an Australian govt=20
contract (a large one) due to concerns over possibility of=20
eavesdropping.

Mandating privacy on HTTP will make it easier in some cases (e.g.=20
infrastructure) to eavesdrop on non-private communication.


> 4. Scanning for malware at a gateway.  This requirement is NOT going=20
> away, and the SSL will be brute-forced / spoofed etc to achieve this.=20
>  Mandating SSL will just make it easier for malware to propagate,=20
> since you make it harder to scan [**].
=20
 This problem exists today; IP leakage has to be checked even across=20
 TLS based connections.  Solutions for these corporate IT groups exist,=20
 including TLS aware proxies and TLS man in the middle.  Several=20
 vendors provide these solutions today.

Sure.  But as previously discussed, the way it is done results in an=20
overall reduction in security.  A "sanctioned" way would be much=20
preferable, but necessarily reduces privacy potentially to 0.

And, do we want shared caches to continue to exist?




> COST

> Google, Facebook and Twitter don't need to spend much on SSL certs=20
> from CAs.  Not in the scheme of things.
=20
 Actually, this is not true.  These companies spend the most on "well=20
 rooted" certificates.

not compared to their revenues is what I meant.
>


> What about the other hundreds of millions of us running web servers. =20
> You gonna buy us our certs?  I better buy me some shares in Verisign=20
> et al..
=20
 They are free - https://www.startssl.com/

the thin edge of the wedge.  How can one have any faith in some entity=20
vouching for some other entity when no payment is made (therefore no=20
rigorous check can be made).




> SECURITY

> Mandating SSL on all devices with HTTP stacks (e.g. your home network=20
> infrastructure, NAS, Modem etc) cannot be practically done while we=20
> rely on CAs to issue certs, and while those certs must be installed,=20
> expired, updated etc etc.
=20
 I think it can!
I'm sure it can be made a lot easier.

I think maybe even it could be made easy enough for my mom to do it on=20
her DSL modem web interface... er... maybe not....



> Or do you think manufacturers of such hardware should just ship with=20
> some default cert?  Self-signed maybe?  And while you're at it, why=20
> not get every machine in the world to trust that cert...  Oh dear, do=20
> we have a security problem?=20
=20
 I think we could do self signed certs and also continue to improve the=20
 CA infrastructure.  I'd like to see Google become a CA with a=20
 super-easy certificate issuing process.

I foresee a problem where OSes have too many trusted root certs to=20
manage.  The more CAs and trusted root certs we end up with, the larger=20
the attack surface for anyone trying to inject badness into the system.

No-one surely needs reminding about the recent CA breaches and bad=20
certs issued.

Security is only as strong as the weakest link, which is invariably us.=20
  I don't know what we're aiming for, security or a false sense of it.


> Frankly I think mandating SSL for all HTTP/2.0 will just break SSL=20
> for the world (or more likely consign HTTP/2.0 to relative=20
> obscurity).=20

  It's been alluded to that we'd replace the CA infrastructure.  Don't=20
  you think it's premature to propose mandatory use of SSL when you=20
  haven't proposed what would replace the CA infrastructure yet? =20
  That's like starting building a spaceship for Alpha Centauri based on=20
  a rocket engine that hasn't been invented yet.
=20
 Many researchers and security experts agree we need a CA overhaul. =20
 But this doesn't mean that the existing CA infrastructure is not=20
 usable.  Despite its flaws, it is better than no CA system.  And we=20
 can fix it!  Look at this as an opportunity, not a hurdle.
I'd love to fix it.  Not sure how though.



> You'd have to replace CRL and OCSP checking protocols, because they=20
> use HTTP, and mandating use of SSL for that would create a paradox=20
> (how do you check the cert on the connection used to check the cert=20
> ad infinitum).
=20
 Naw, the browsers wouldn't need to validate the cert from the OCSP=20
 server because the contents that they fetch are self-signed and=20
 verifiable independently.
verifiable independently?  With certs?  How do you check those?

Or do we rely on DNS for that?




> OTHER

> Most people here seem to focus on issues such as CPU load, extra R-Ts=20
> introduced by the SSL setup etc.  Those are valid concerns, but they=20
> are easier to overcome than the others. They aren't easy to overcome,=20
> just easier.
=20
 Agree.



  Seems to me it would be a whole lot simpler and more compatible with=20
  the actual world we actually live on just to make crypto optional.
=20
 True.  It would also be a whole lot less secure, leave users exposed=20
 on the net to trust that every single website remembered to secure the=20
 communicates of private data and that none of them use sniffable=20
 cookies.... =20

The current situation is really that bad?


>


> Adrien


> [*] We can't realistically expect server operators to indefinitely=20
> support both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop=20
> HTTP/1.1 support, and that part of the internet will then become=20
> unavailable to those forced to keep using HTTP/1.1, effectively=20
> denying those users.
=20
 Actually, HTTP/1.1 will become like IE6.  It will be this legacy thing=20
 holding back the world.  Eventually there will be big pushes to rid=20
 the world of this insecure protocol that we wish we no longer had=20
 lying around :-)


  [**] T
  here has been some discussion about enabling intermediaries to be=20
  able to see plaintext payload by terminating the SSL connection at=20
  each end.  This hasn't progressed enough, and the current proposals=20
  still basically bypass intermediaries AFAICT.

=20
 Agree it needs more work.  But I don't think this should be a=20
 condition of making HTTP/2.0 a more secure protocol.

My main issue is not with security or privacy, but only relating to=20
mandating the USE of it.

Adrien


>
>Mike

>

--------=_MB76B8B938-0498-4C91-B0C4-1BFFA16EAFE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>BLOCKQUOTE.cite {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
.plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
BODY {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
.plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#652e81ee81e541f596e7b2bf8f82685b BLOCKQUOTE.cite {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#652e81ee81e541f596e7b2bf8f82685b .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#652e81ee81e541f596e7b2bf8f82685b {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#652e81ee81e541f596e7b2bf8f82685b .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
UNKNOWN {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 .plain PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 .plain PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 #652e81ee81e541f596e7b2bf8f82685b BLOCKQU=
OTE.cite {
	BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 #652e81ee81e541f596e7b2bf8f82685b .plain=
 PRE {
	FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 #652e81ee81e541f596e7b2bf8f82685b {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
#6a0dd224e8d542028d3a84b6d5fb7bb5 #652e81ee81e541f596e7b2bf8f82685b .plain=
 PRE {
	FONT-FAMILY: Tahoma; FONT-SIZE: 12pt
}
</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Mike=
 Belshe" <A href=3D"mailto:mike@belshe.com">mike@belshe.com</A><BR>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b><BR><BR>
<DIV class=3Dgmail_quote>On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:adrien@qbik.com"><A href=3D"mailto:a=
drien@qbik.com">adrien@qbik.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating use of (c.f. support for) crypto in HTTP will prevent it =
from being deployable in a significant number of scenarios, thereby requiri=
ng ongoing use of&nbsp;HTTP/1.1.</DIV>
<DIV>&nbsp;</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>This is true for any manifestation of HTTP/2.0 with or without securit=
y.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I don't know if it should be a goal=
 though.&nbsp; IMO the goal should be to replace the old with something =
better, not replace it with something that can only be used by a subset =
of current users, and therefore requires continued perpetual use of the =
old.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>DESIRABILITY OF PRIVACY</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN>
<DIV><SPAN>
<DIV><SPAN>
<DIV>Proponents of mandatory crypto </DIV></SPAN></DIV></SPAN>are making=
 an assumption <SPAN><SPAN>that privacy is ALWAYS desirable.</SPAN></SPAN><=
/DIV>
<DIV><SPAN><SPAN></SPAN></SPAN>&nbsp;</DIV></SPAN></DIV></DIV>
<DIV>It is not ALWAYS desirable. </DIV>
<DIV>&nbsp;</DIV>
<DIV>In many cases <SPAN>privacy </SPAN>is undesirable or even illegal.</DI=
V>
<DIV>&nbsp;</DIV>
<DIV>1. Many states have outlawed use of crypto.&nbsp; So will this be HTTP=
 only for the "free" societies?&nbsp; Or is the IETF trying to achieve poli=
tical change in "repressed" countries?&nbsp; I've dealt with our equivalent=
 of the NSA on this matter.&nbsp; Have you?&nbsp; I know the IETF has a =
neutral position on enabling wiretapping.&nbsp; Mandating SSL is not a neut=
ral / apolitical stance.&nbsp; Steering HTTP into a collision course with=
 governments just doesn't seem like much of a smart idea.</DIV></BLOCKQUOTE=
>
<DIV><BR></DIV>
<DIV>I don't know of states that prohibit TLS. &nbsp;Do they exist? &nbsp;W=
hich ones are they? &nbsp;Can you list them?</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>It's hard to get recent information,=
 but my understanding is that a lot of of people live in jurisdictions wher=
e crypto is tightly controlled.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>E.g. China, India, several mid-easter=
n and former soviet countries.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Are you saying that HTTP/2.0 must be compliant with the laws of every=
 country? &nbsp;And that any country passing a law making HTTP/2.0 features=
 illegal will block HTTP/2.0? :-)</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:><SPAN id=3D6a0dd224e8d542028d3a84b6d5=
fb7bb5>
<DIV>In practice, we would have different levels of difficulty ignoring =
laws of a country depending on which country that was.</DIV></SPAN></DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>If the US passed a law that banned=
 it, and threatened to put you in jail, you may give that more weight.</DIV=
>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Governments already have wiretapping=
 laws.&nbsp; Do you think they will abandon that as a desire?<BR></DIV>
<DIV 10px; margin-bottom: margin-top:>Many laws on crypto were only relativ=
ely recently relaxed.&nbsp; There's an ongoing tussle between security agen=
cies of government and privacy advocates over it.&nbsp; We can't guarantee=
 that within the next 5 years that any country&nbsp;wouldn't make it illega=
l.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>It's not like we can claim there's=
 no reasonable expectation to consider laws when it comes to crypto.&nbsp;=
 That's the one area of software development where caveats and warnings =
are stamped over so much code and documentation that we can't claim to be=
 unaware it's an issue.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Sites that are truly concerned can still negotiate the null cypher,=
 I suppose.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>try finding some real client app that=
 will swallow that.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>2. Most prisons do not allow inmates to have privacy when it comes =
to communications.&nbsp; Would you deny [*]&nbsp;all prisoners access to=
 the web?&nbsp; There are other scenarios where privacy is not expected,=
 permitted or desirable.&nbsp;</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I doubt this is a problem. &nbsp;If it is, then the poor prisoners =
are already being denied access to their banks, most all of which require=
 TLS.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>Maybe there's not much sympathy for=
 prisoners.&nbsp; That's just one example.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Schools, homes and businesses are =
also places where there may be deemed (by those in charge) a need to monito=
r activity.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>3. Many situations require communications to be open and visible.&nbsp=
; Would you rather your network infrastructure phoned home with SSL or HTTP=
 that you can see.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Can you enumerate these? &nbsp;For debugging, of course it makes sense=
 for endpoints to have unencrypted modes. &nbsp;We can also build better=
 tools, such as the improvements for decoding TLS traffic with Wireshark=
 that have landed recently.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Can only decode NULL cipher.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Huawei recently got excluded from =
bidding for an Australian govt contract (a large one) due to concerns over=
 possibility of eavesdropping.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Mandating privacy on HTTP will make=
 it easier in some cases (e.g. infrastructure) to eavesdrop on non-private=
 communication.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>4. Scanning for malware at a gateway.&nbsp; This requirement is NOT=
 going away, and the SSL will be brute-forced / spoofed etc to achieve this=
.&nbsp; Mandating SSL will just make it easier for malware to propagate,=
 since you make it harder to scan [**].</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>This problem exists today; IP leakage has to be checked even across=
 TLS based connections. &nbsp;Solutions for these corporate IT groups exist=
, including TLS aware proxies and TLS man in the middle. &nbsp;Several vend=
ors provide these solutions today.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Sure.&nbsp; But as previously discuss=
ed, the way it is done results in an overall reduction in security.&nbsp;=
 A "sanctioned" way would be much preferable, but necessarily reduces priva=
cy potentially to 0.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>And, do we want shared caches to cont=
inue to exist?</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>COST</DIV>
<DIV>&nbsp;</DIV>
<DIV>Google, Facebook and Twitter don't need to spend much on SSL certs =
from CAs.&nbsp; Not in the scheme of things.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Actually, this is not true. &nbsp;These companies spend the most on=
 "well rooted" certificates.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>not compared to their revenues is =
what I meant.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>What about the other&nbsp;hundreds of millions&nbsp;of us running web=
 servers.&nbsp; You gonna buy us our certs?&nbsp; I better buy me some shar=
es in Verisign et al..</DIV>
<DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>They are free - <A href=3D"https://www.startssl.com/"><A href=3D"https=
://www.startssl.com/">https://www.startssl.com/</A></A></DIV>
<DIV>&nbsp;</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>the thin edge of the wedge.&nbsp; =
How can one have any faith in some entity vouching for some other entity=
 when no payment is made (therefore no rigorous check can be made).</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SECURITY</DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating SSL on all devices with HTTP stacks (e.g. your home network=
 infrastructure, NAS, Modem etc) cannot be practically done while we rely=
 on CAs to issue certs, and while those certs must be installed, expired,=
 updated etc etc.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I think it can!</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>I'm sure it can be made a lot easier.=
</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I think maybe even it could be made=
 easy enough for my mom to do it on her DSL modem web interface... er...=
 maybe not....</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>Or do you think manufacturers of such hardware should just ship with=
 some default cert?&nbsp; Self-signed maybe?&nbsp; And while you're at it,=
 why not get every machine in the world to trust that cert...&nbsp; Oh dear=
, do we have a security problem?&nbsp;</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I think we could do self signed certs and also continue to improve =
the CA infrastructure. &nbsp;I'd like to see Google become a CA with a supe=
r-easy certificate issuing process.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I foresee a problem where OSes have=
 too many trusted root certs to manage.&nbsp; The more CAs and trusted root=
 certs we end up with, the larger the attack surface for anyone trying to=
 inject badness into the system.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>No-one surely needs reminding about=
 the recent CA breaches and bad certs issued.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Security is only as strong as the =
weakest link, which is invariably us.&nbsp; I don't know what we're aiming=
 for, security or a false sense of it.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL =
for the world (or more likely consign HTTP/2.0 to relative obscurity).&nbsp=
;</DIV></BLOCKQUOTE>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>It's been alluded to that we'd replace the CA infrastructure.&nbsp;=
 Don't you think it's premature to propose mandatory use of SSL when you=
 haven't proposed what would replace the CA infrastructure yet?&nbsp; That'=
s like starting building a&nbsp;spaceship for&nbsp;Alpha Centauri&nbsp;base=
d on a rocket engine that hasn't been invented yet.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Many researchers and security experts agree we need a CA overhaul. =
&nbsp;But this doesn't mean that the existing CA infrastructure is not usab=
le. &nbsp;Despite its flaws, it is better than no CA system. &nbsp;And we=
 can fix it! &nbsp;Look at this as an opportunity, not a hurdle.</DIV></DIV=
></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>I'd love to fix it.&nbsp; Not sure=
 how though.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>You'd have to replace CRL and OCSP checking protocols, because they=
 use HTTP, and mandating use of SSL for that would create a paradox (how=
 do you check the cert on the connection used to check the cert ad infinitu=
m).</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Naw, the browsers wouldn't need to validate the cert from the OCSP =
server because the contents that they fetch are self-signed and verifiable=
 independently.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>verifiable independently?&nbsp; With=
 certs?&nbsp; How do you check those?</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Or do we rely on DNS for that?</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>OTHER</DIV>
<DIV>&nbsp;</DIV>
<DIV>Most people here seem to focus on issues such as CPU load, extra R-Ts=
 introduced by the SSL setup etc.&nbsp; Those are valid concerns, but they=
 are easier to overcome than the others. They aren't easy to overcome, just=
 easier.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Agree.</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Seems to me it would be a whole lot simpler and more compatible with=
 the actual world we actually live on just to make&nbsp;crypto optional.</D=
IV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>True. &nbsp;It would also be a whole lot less secure, leave users expo=
sed on the net to trust that every single website remembered to secure the=
 communicates of private data and that none of them use sniffable cookies..=
.. &nbsp;</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>The current situation is really that=
 bad?</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>[*] We can't realistically expect server operators to indefinitely =
support both HTTP/2.0 and HTTP/1.1.&nbsp; Some will inevitably drop HTTP/1.=
1 support, and that part of the internet will then become unavailable to=
 those forced to keep using HTTP/1.1, effectively denying those users.</DIV=
></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Actually, HTTP/1.1 will become like IE6. &nbsp;It will be this legacy=
 thing holding back the world. &nbsp;Eventually there will be big pushes=
 to rid the world of this insecure protocol that we wish we no longer had=
 lying around :-)</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV><SPAN>
<DIV>[**] T</DIV></SPAN>here has been some discussion about enabling interm=
ediaries to be able to see plaintext payload by terminating the SSL connect=
ion at each end.&nbsp; This hasn't progressed enough, and the current propo=
sals still basically bypass intermediaries AFAICT.</DIV>
<DIV>&nbsp;</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Agree it needs more work. &nbsp;But I don't think this should be a =
condition of making HTTP/2.0 a more secure protocol.</DIV></DIV></DIV></BLO=
CKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>My main issue is not with security=
 or privacy, but only relating to mandating the USE of it.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Adrien</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D=
7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV id=3D652e81ee81e541f596e7b2bf8f82685b>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Mike</DIV>
<DIV>&nbsp;</DIV></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>
--------=_MB76B8B938-0498-4C91-B0C4-1BFFA16EAFE1--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 21:58:44 2012
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 E70E811E8118 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:58:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.522
X-Spam-Level: 
X-Spam-Status: No, score=-8.522 tagged_above=-999 required=5 tests=[AWL=1.477, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, 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 vQYkQBdaTUsh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 21:58:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4257D11E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 21:58:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMLe-0000Ye-0U for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 04:58:54 +0000
Resent-Date: Wed, 18 Jul 2012 04:58:54 +0000
Resent-Message-Id: <E1SrMLe-0000Ye-0U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrMLU-0000XW-0y for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 04:58:44 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrMLS-0007B0-Jh for ietf-http-wg@w3.org; Wed, 18 Jul 2012 04:58:43 +0000
Received: by vcdd16 with SMTP id d16so397199vcd.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 21:58:16 -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=BWoVGzDdo93xdJtj8ou+9s0ljV0q8cdkCSx2MM4wOKY=; b=wZ/LtwduzwUa4Ku7M36mP15riVcxhyaEtmIUOTzCMSOqzKqQsJXgRTuIYU6MGaYEIp usmp2nqSfqbaFBwPFci7TFVOi3Rt/6XdQbC0seDAE6pmlzYqZw4fXAIKI1XWtiqXfeTu FHanggm3eoI0Lcmv1rKODOkMQHXRuS0JV5PZEQhmEBhQk2N+avSOA70HRx0L+beAD+G+ 0+epSeDH00+Ir33u7ocs1OtPGKy5WJ0i8HXhsLlbjUu9auAWbRszbgAazzL8XUDSN+Bc jtb9bzb54lGVDUI3NB2aZ3iK8hcJ85UFdA5By//eb0e6BnYPyTRMztBwmV75uIW6VhHo fWYQ==
MIME-Version: 1.0
Received: by 10.220.219.7 with SMTP id hs7mr1972665vcb.0.1342587496662; Tue, 17 Jul 2012 21:58:16 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 21:58:16 -0700 (PDT)
In-Reply-To: <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com>
Date: Wed, 18 Jul 2012 00:58:16 -0400
Message-ID: <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>,  Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrMLS-0007B0-Jh db1fed03b3f73bbaccd662b002a0f923
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14441
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>

My lightbulbs have HTTP stacks and run web services. If I want to
modify the lighting, I send them a command to dim, brighten, change
the color balance or whatever.

They do not have an operating system or anything like it. That would
require a much bigger chip and a much higher current drain when not in
use.

The world of HTTP is a lot more than just Web browsers.


Mandating TLS in 2.0 will not provide an ounce of extra security
unless you have a way to know who is running 2.0. And if you can do
that you do not need the mandate.



On Wed, Jul 18, 2012 at 12:38 AM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 9:26 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> While use of port 443 and TLS may be a practical requirement for use
>> of SPDY under certain network constraints, a protocol requirement is a
>> very different matter.
>>
>> It should be obvious that a protocol be capable of deployment under
>> common network contraints but that does not mean that every
>> implementation of the protocol MUST implement or use the work-around.
>>
>>
>> Nobody is even being very clear about the precise nature of the
>> requirement 'must implement TLS' and 'must use TLS' are very different
>> criteria. There is only one precedent for requiring implementation of
>> a security protocol in a non security protocol that I am aware of and
>> that is IPv6 which is hardly an inspiring precedent. I cannot think of
>> any case where a non security protocol has mandated use of encryption.
>
>
> I thought everyone was talking about "must use TLS".
>
>
>
>>
>>
>> TCP is a very small protocol stack and HTTP is not much bigger.
>>
>> TLS is a huge protocol stack and should not be implemented by people
>> who don't know what they are doing. We actively discourage
>> proliferation of crypto stacks in the security area these days.
>>
>> PKIX is a big, complicated spec that has technical, legal and policy
>> facets.
>
>
> I basically agree with this, yes.
>
> Except most can get this from their operating system.  It's provided for
> free in windows, macos, ios, and I believe android (but I have to check).
>
>
>>
>>
>> TLS requires PKIX, you can't have one without the other. So mandating
>> TLS in HTTP/2.0 is really mandating TLS+PKIX. If people don't want to
>> rely on CAs for their trust anchors they will also need DNS, DNSSEC
>> and DANE.
>>
>
>
> CA trust anchors are policy, not implementation.
>
> I would propose do what other protocol specs do, which is to leave policy=
 to
> the implementations.
>
> Mike
>
>
>>
>>
>>
>>
>>
>> On Tue, Jul 17, 2012 at 11:56 PM, Mike Belshe <mike@belshe.com> wrote:
>> >
>> >
>> > On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy <adrien@qbik.com>
>> > wrote:
>> >>
>> >>
>> >> ------ Original Message ------
>> >> From: "Mike Belshe" mike@belshe.com
>> >>
>> >>
>> >>
>> >> On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com>
>> >> wrote:
>> >>>
>> >>>
>> >>> we can already transfer many objects over a single connection with
>> >>> HTTP/1.1
>> >>>
>> >>> SPDY without SSL would be more speedy than with it.
>> >>>
>> >>> There may be only a couple R-Ts to get an SSL handshake, but sprinkl=
e
>> >>> on
>> >>> a CRL / OCSP check and you're left eating dust.
>> >>>
>> >>> So, let's just get this straight for the record.  SSL will not impro=
ve
>> >>> latency.  It will make it worse, and for many people (on
>> >>> already-high-latency links) a LOT worse.
>> >>
>> >>
>> >> Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all the
>> >> time,
>> >> but yes, OSCP can add a lot, and SSL implementations vary.  But SPDY
>> >> gains a
>> >> lot of this back with fewer connections, multiplexing, and compressio=
n.
>> >> Don't forget to implement SSL False Start in your client.  Obviously =
an
>> >> un-optimized SSL stack will have a harder time than an optimized one.
>> >>
>> >> But its not true that every bit of latency is more important than
>> >> security.
>> >>
>> >> I'm just not convinced this would be a security win in the end.
>> >>
>> >> How many CAs are there?  We may as well right now deprecate OCSP / CR=
L
>> >> checks, because you have 200 million sites using a cert from one
>> >> vendor, you
>> >> take out their OCSP server(s), and you've taken down 200 million site=
s.
>> >>
>> >> Way to go amplifying DOS effectiveness.
>> >> Becoming a CA is non-trivial.  If we suddenly need a million more of
>> >> them
>> >> to cope with cert load, how do you anticipate that will improve
>> >> security?  I
>> >> think it will make for a disaster.
>> >>
>> >
>> >
>> > The TLS concerns are legitimate.  We need to fix TLS to be even better=
,
>> > not
>> > make HTTP/2 weaker.
>> >
>> >>
>> >>
>> >> Note that Google has reported overall latency of SPDY + SSL is faster
>> >> than
>> >> HTTP without SSL or SPDY.
>> >>
>> >> you saying SPDY + SSL faster than SPDY (presumably without SSL)?
>> >> Doesn't
>> >> seem possible.
>> >
>> >
>> > Oh - SPDY over port 80 is non deployable for the same reasons pipelini=
ng
>> > isn't deployable.  So that will never happen :-)
>> >
>> > But you're correct, I wouldn't expect SPDY + SSL to be faster than SPD=
Y.
>> >
>> >>
>> >>
>> >> I have no problem accepting SPDY + SSL would be faster than HTTP.  Bu=
t
>> >> we're talking about adding a bunch of things to HTTP that would provi=
de
>> >> the
>> >> same benefits that SPDY currently enjoys.
>> >
>> >
>> > Yeah, that's not going to fly....
>> >
>> > The problem is that the intermediaries just get stuck (they expect tha=
t
>> > port
>> > 80 is exclusively HTTP/1.1).  When you send them additional data, they
>> > sometimes hang, and this prevents deployment of new protocols.
>> > Websockets
>> > has the same problem.  This is part of why no major sites are turning =
on
>> > websockets on port 80....
>> >
>> > But, regardless, SPDY gives us the window of opportunity through reduc=
ed
>> > latency to add security into the protocol without making latency worse=
.
>> >
>> > Mike
>> >
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Mike
>> >>
>> >>>
>> >>>
>> >>>
>> >>> ------ Original Message ------
>> >>> From: "Rajeev Bector" <rbector@yahoo-inc.com>
>> >>> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson"
>> >>> <martin.thomson@gmail.com>;"Martin J. D=FCrst" <duerst@it.aoyama.ac.=
jp>
>> >>> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau"
>> >>> <w@1wt.eu>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
>> >>> Sent: 18/07/2012 3:26:56 p.m.
>> >>> Subject: Re: Re[2]: HTTP2 Expression of Interest
>> >>>
>> >>> Arguably, the cost of 3 Rts is amortized over many many objects that
>> >>> gets
>> >>> transferred over the session. That said, I am trying to imagine how =
to
>> >>> do
>> >>> crypto on my Arduino :-).
>> >>>
>> >>>
>> >>> From: "Adrien W. de Croy" <adrien@qbik.com>
>> >>> Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
>> >>> Date: Tue, 17 Jul 2012 20:20:09 -0700
>> >>> To: Martin Thomson <martin.thomson@gmail.com>, "Martin J. D=FCrst"
>> >>> <duerst@it.aoyama.ac.jp>
>> >>> Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>,
>> >>> "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
>> >>> Subject: Re[2]: HTTP2 Expression of Interest
>> >>>
>> >>>
>> >>> ------ Original Message ------
>> >>> From: "Martin Thomson" <martin.thomson@gmail.com>
>> >>>
>> >>> On 17 July 2012 19:35, "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
>> >>> wrote:
>> >>>
>> >>>
>> >>> So why are we okay with 10-20% more processing costs for everybody,
>> >>> but
>> >>> not
>> >>> with 10-20% more bandwidth? What's different between processing cost=
s
>> >>> and
>> >>> bandwidth?
>> >>>
>> >>>
>> >>>
>> >>> Personally, I thought that the first optimization was for latency,
>> >>>
>> >>> How do you optimise latency by adding 3 RTs in a SSL setup?
>> >>>
>> >>>
>> >>>
>> >>> with bandwidth as secondary and (obviously) consequential.  Trade-of=
fs
>> >>> may have to be made.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:03:24 2012
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 C407111E80FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:03:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.686
X-Spam-Level: 
X-Spam-Status: No, score=-8.686 tagged_above=-999 required=5 tests=[AWL=1.598, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 9c7NLPqJA93d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:03:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8642D21F84BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:03:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMQD-0003hn-Ko for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:03:37 +0000
Resent-Date: Wed, 18 Jul 2012 05:03:37 +0000
Resent-Message-Id: <E1SrMQD-0003hn-Ko@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrMQ4-0003gx-5w for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:03:28 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrMQ2-0007KB-RD for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:03:28 +0000
Received: by vbbfq11 with SMTP id fq11so914292vbb.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:03:01 -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=Ay17BixuCBkEy00VQYDVb9wtC22heuyhVs047NsaMzE=; b=oj7W1DLbhz7/Kf/tfM0ZlYdVgZtfHGso4P3cTn8ejmJRLQVMjGKG9wvJTZajZ4XJzd NrnBSRIYghjZhk9B1ZAvTtThb4bXPa8d1wplSrz6psJun6IIHF0LDG2GjfxLW9j/dLAI wpRotMsOif+TUH0PyLRYK+c3E9sjWYlwr1Q2XsWwAh246kxXg7e6DytJeqY2UVgtYo0O BJx55r919IiJ9W6fQOP6eEBFCAYFqbjZ07XEBd4gr6HB9XJKyWotFglvPZFNfZ0Q29S/ pL0lN8gozZ3FgV9vv2hlC/AdGtnqnWWJaTMGTXE17evZJd4SgJ5Ml9AJfdYGdOwP2Y55 XaPQ==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr2408459vdg.94.1342587781065; Tue, 17 Jul 2012 22:03:01 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Tue, 17 Jul 2012 22:03:00 -0700 (PDT)
In-Reply-To: <CABaLYCt8anXVArsX2mU2F79sTzHNtQSRLERDLtr2qAQC2TnjZQ@mail.gmail.com>
References: <24AE5BC41851454CB99C90F135919C141F8B31D3@SC-MBX02-1.TheFacebook.com> <20120715063504.GU16256@1wt.eu> <24AE5BC41851454CB99C90F135919C141F8B5D53@SC-MBX02-1.TheFacebook.com> <5006210D.4020404@it.aoyama.ac.jp> <CABaLYCt_4EQF7Jvf6h=Yg3CgqC9YQPzWVzUsUqN3koHCBAeppA@mail.gmail.com> <CAMm+LwgXxJgwb036m1ts6X+pKvT09xELzgaO8FnFhuh80ej4sQ@mail.gmail.com> <CABaLYCtoWHAz_Vpp4bmkEB7LB2RuAjM072wXzvjQ8RXHv70avQ@mail.gmail.com> <CAMm+LwgoUk1HAWakqurgTXijGWerH2GCEkh7o37hRiYM=jLR4g@mail.gmail.com> <CABaLYCt8anXVArsX2mU2F79sTzHNtQSRLERDLtr2qAQC2TnjZQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 01:03:00 -0400
Message-ID: <CAMm+Lwj0n-WrM+aiO+nHpQjD71ocMB9pwgkVB22=C_EnE6RPoA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrMQ2-0007KB-RD eb6028c8d29373d238ed61ebb21c6888
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+Lwj0n-WrM+aiO+nHpQjD71ocMB9pwgkVB22=C_EnE6RPoA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14442
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>

AES is a block cipher and they are a lot more resistant to protocol
design issues.

RC4 was a barely acceptable approach in 1994 when it was first adopted
in SSL 1.0. It is really not an acceptable cipher in 2012.

On Wed, Jul 18, 2012 at 12:43 AM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 9:33 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> No, RC4 is almost NEVER used on its own as you seem to imagine.
>>
>
> If you've ever looked at OpenSSL's config, you probably know they just ca=
ll
> it "RC4+MEDIUM" or something like that.  I was merely using the shorthand=
.
>
>
>>
>> What is used is actually RC4 + SHA1. And the real security value
>> actually comes from the integrity check, not the stream cipher.
>
>
> Yes, this is what Google uses.
>
>
>>
>>
>> For HTTP/2.0 you would be much better off using AES-GCM which does
>> encryption and integrity in one operation.
>
>
> I'm not sure why this is better than RC4, when the author of this thread =
was
> suggesting we should use no encryption at all.
>
> Mike
>
>
>>
>>
>>
>> On Wed, Jul 18, 2012 at 12:16 AM, Mike Belshe <mike@belshe.com> wrote:
>> >
>> >
>> > On Tue, Jul 17, 2012 at 8:59 PM, Phillip Hallam-Baker <hallam@gmail.co=
m>
>> > wrote:
>> >>
>> >> RC4 is cheap but SHA2 is not.
>> >>
>> >> Encryption without authentication is worthless. The principal securit=
y
>> >> objective in TLS is to provide integrity, not confidentiality. If you
>> >> lose integrity you are going to lose confidentiality even with 128 bi=
t
>> >> encryption.
>> >>
>> >>
>> >> RC4 is a stream cipher. It is fast but thats about all that can be
>> >> said in its favor. If I care about confidentiality I am not going to
>> >> want a stream cipher.
>> >
>> >
>> > I believe RC4 is excellent for almost all cases.  It is certainly used
>> > on
>> > millions of sites today just fine.
>> >
>> > If the alternative is no security (e.g. arguing for no TLS), we can
>> > probably
>> > agree that RC4 is more secure than that! :-)  Obviously, if you want
>> > even
>> > stronger security, you can opt in to using other crypto algorithms -
>> > those
>> > are configurable through TLS today.  No problem. Requiring TLS with
>> > HTTP/2.0
>> > would not need to require an expensive symmetric crypto algorithm.
>> >
>> > Mike
>> >
>> >
>> >
>> >
>> >>
>> >>
>> >>
>> >> On Tue, Jul 17, 2012 at 11:44 PM, Mike Belshe <mike@belshe.com> wrote=
:
>> >> >
>> >> >
>> >> > On Tue, Jul 17, 2012 at 7:35 PM, "Martin J. D=FCrst"
>> >> > <duerst@it.aoyama.ac.jp>
>> >> > wrote:
>> >> >>
>> >> >> Hello Doug, everybody,
>> >> >>
>> >> >>
>> >> >> On 2012/07/18 7:11, Doug Beaver wrote:
>> >> >>
>> >> >>>    * Symmetric crypto costs are not much higher; I think Akamai
>> >> >>> quoted
>> >> >>> 10-20%
>> >> >>>      in their response. I think the costs aren't a big deal for
>> >> >>> major
>> >> >>> sites;
>> >> >>
>> >> >>
>> >> >> Just a quick question: I think if we could shave off 10-20% of the
>> >> >> bandwidth with some new technique, we'd all go for it.
>> >> >
>> >> >
>> >> > Symmetric crypto (RC4) is super super cheap - a couple of XORs -
>> >> > definitely
>> >> > not 10-20% of CPU.  I'd like to see that measured again before taki=
ng
>> >> > action
>> >> > upon it.  Obviously, if you use expensive crypto (presumably becaus=
e
>> >> > you
>> >> > want it), some algorithms take more CPU
>> >> >
>> >> > mike
>> >> >
>> >> >>
>> >> >>
>> >> >> So why are we okay with 10-20% more processing costs for everybody=
,
>> >> >> but
>> >> >> not with 10-20% more bandwidth? What's different between processin=
g
>> >> >> costs
>> >> >> and bandwidth?
>> >> >>
>> >> >> Regards,   Martin.
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Website: http://hallambaker.com/
>> >
>> >
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:10:05 2012
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 1EF3A11E811F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:10:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.751
X-Spam-Level: 
X-Spam-Status: No, score=-9.751 tagged_above=-999 required=5 tests=[AWL=-0.090, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 N9Q8Mzm-6fDM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:10:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5903111E80FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:10:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMWY-00079Z-0S for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:10:10 +0000
Resent-Date: Wed, 18 Jul 2012 05:10:10 +0000
Resent-Message-Id: <E1SrMWY-00079Z-0S@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrMWN-0005a2-4b for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:09:59 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrMWK-0007nq-8u for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:09:59 +0000
Received: by lbom4 with SMTP id m4so1698581lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:09:29 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=UHUQBBRZSS+lZfVl+prji7kPsdLOl832EtRkQfQ/+j8=; b=Gw5Pez4uostli8J/zM5jJaudvGizNTIk5SB89hdD+M8HdGpuVrEBmyjEKVq20Ie0nj C/0i4n8/kWWc2vWukRmzKHnblS4uRbOfDxwP/f8cMIdRBTeH29SazESWrXg3RvJmkW+6 ZGxM8uZXMobgDkzErBEXcjoDbVo5ozAsS7LgkXFX7qHjwPyNa+gR4tbCwNBBT3GQqXWE zeeH5tN6eQyWs8sflNnVc6evH2EeZ6r22fAEHStAoyQvqi6qjkdRXVPdu34VkZmiLysE 7nbd9/HhqlGwkZ/LtImbCZ69XppWhBFIyO99A7lRJh3uX3sJclnzCd3x1SxflgjVjke/ 6u4Q==
MIME-Version: 1.0
Received: by 10.152.127.98 with SMTP id nf2mr1857352lab.4.1342588169262; Tue, 17 Jul 2012 22:09:29 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 22:09:29 -0700 (PDT)
In-Reply-To: <em2a0c2494-0465-4a82-8a6f-4f51628edaeb@bombed>
References: <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <em2a0c2494-0465-4a82-8a6f-4f51628edaeb@bombed>
Date: Tue, 17 Jul 2012 22:09:29 -0700
Message-ID: <CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042d05aae896ca04c513aaa6
X-Gm-Message-State: ALoCoQmrSi3S7bohNKNkQxPqf9y9/iYbJs4vVNcz4rONrYaHWtjq/mkycQwpAtWS2fXrTjCB7QtL
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrMWK-0007nq-8u ee139759b3af7e5d7a3e824a251d1b38
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Some reasons why mandating use ofSSL for HTTP is a really  bad idea
Archived-At: <http://www.w3.org/mid/CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14443
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>

--f46d042d05aae896ca04c513aaa6
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 9:51 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> ------ Original Message ------
> From: "Mike Belshe" mike@belshe.com
>
>
>
> On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy < <adrien@qbik.com>
> adrien@qbik.com> wrote:
>
>>
>> Mandating use of (c.f. support for) crypto in HTTP will prevent it from
>> being deployable in a significant number of scenarios, thereby requiring
>> ongoing use of HTTP/1.1.
>>
>>
>
> This is true for any manifestation of HTTP/2.0 with or without security.
>
>
> I don't know if it should be a goal though.  IMO the goal should be to
> replace the old with something better, not replace it with something that
> can only be used by a subset of current users, and therefore requires
> continued perpetual use of the old.
>

Agree; goal should be to be better.  That doesn't mean that I think
everyone will jump to it in short order, though.

>
>
>
>>
>> DESIRABILITY OF PRIVACY
>>
>>   Proponents of mandatory crypto
>> are making an assumption that privacy is ALWAYS desirable.
>>
>> It is not ALWAYS desirable.
>>
>> In many cases privacy is undesirable or even illegal.
>>
>> 1. Many states have outlawed use of crypto.  So will this be HTTP only
>> for the "free" societies?  Or is the IETF trying to achieve political
>> change in "repressed" countries?  I've dealt with our equivalent of the NSA
>> on this matter.  Have you?  I know the IETF has a neutral position on
>> enabling wiretapping.  Mandating SSL is not a neutral / apolitical stance.
>> Steering HTTP into a collision course with governments just doesn't seem
>> like much of a smart idea.
>>
>
> I don't know of states that prohibit TLS.  Do they exist?  Which ones are
> they?  Can you list them?
>
>
> It's hard to get recent information, but my understanding is that a lot of
> of people live in jurisdictions where crypto is tightly controlled.
>
> E.g. China, India, several mid-eastern and former soviet countries.
>
>
> Are you saying that HTTP/2.0 must be compliant with the laws of every
> country?  And that any country passing a law making HTTP/2.0 features
> illegal will block HTTP/2.0? :-)
>
>
>  In practice, we would have different levels of difficulty ignoring laws
> of a country depending on which country that was.
>
> If the US passed a law that banned it, and threatened to put you in jail,
> you may give that more weight.
>
> Governments already have wiretapping laws.  Do you think they will abandon
> that as a desire?
> Many laws on crypto were only relatively recently relaxed.  There's an
> ongoing tussle between security agencies of government and privacy
> advocates over it.  We can't guarantee that within the next 5 years that
> any country wouldn't make it illegal.
>
> It's not like we can claim there's no reasonable expectation to consider
> laws when it comes to crypto.  That's the one area of software development
> where caveats and warnings are stamped over so much code and documentation
> that we can't claim to be unaware it's an issue.
>


Well, when you've got a specific country to talk about, please raise the
issue.




>
>
>
> Sites that are truly concerned can still negotiate the null cypher, I
> suppose.
>
>
> try finding some real client app that will swallow that.
>

you are right :-)


>
>
>
>
>>
>> 2. Most prisons do not allow inmates to have privacy when it comes to
>> communications.  Would you deny [*] all prisoners access to the web?  There
>> are other scenarios where privacy is not expected, permitted or desirable.
>>
>
> I doubt this is a problem.  If it is, then the poor prisoners are already
> being denied access to their banks, most all of which require TLS.
>
> Maybe there's not much sympathy for prisoners.  That's just one example.
>
> Schools, homes and businesses are also places where there may be deemed
> (by those in charge) a need to monitor activity.
>

They already have this problem.  Twitter, Google, and Facebook have all
publicly declared that they are working their way to 100% TLS all the time.
 These issues exist today.  If you want to filter TLS, you can; several
vendors provide solutions.

But schools have bigger problems - like those cell phones with more
bandwidth than the school has to its classrooms.

I don't think the protocol has an obligation to reduce security so that
prisons, schools, or other institutions can institute content control.
And by the time this standard is done, the policy rules will have changed
again.

A simple thing we do know is that users expect and deserve to be protected
by the protocols and sites they visit.  We're passing more laws every day
to ensure this - and HTTP can help.



>
>
>
>
>>
>> 3. Many situations require communications to be open and visible.  Would
>> you rather your network infrastructure phoned home with SSL or HTTP that
>> you can see.
>>
>
> Can you enumerate these?  For debugging, of course it makes sense for
> endpoints to have unencrypted modes.  We can also build better tools, such
> as the improvements for decoding TLS traffic with Wireshark that have
> landed recently.
>
>
> Can only decode NULL cipher.
>

With wireshark you can decide SSL session if you let your browser dump the
private keys.  Chrome supports this.
http://www.imperialviolet.org/2012/06/25/wireshark.html



>
> Huawei recently got excluded from bidding for an Australian govt contract
> (a large one) due to concerns over possibility of eavesdropping.
>

Excellent point for why we should make the protocol more secure :-)  If
everything were encrypted, it wouldn't have been a problem.



>
> Mandating privacy on HTTP will make it easier in some cases (e.g.
> infrastructure) to eavesdrop on non-private communication.
>

What?  Mandating privacy makes it easier to eavesdrop?  I don't think so :-)



>
>
>>
>> 4. Scanning for malware at a gateway.  This requirement is NOT going
>> away, and the SSL will be brute-forced / spoofed etc to achieve this.
>> Mandating SSL will just make it easier for malware to propagate, since you
>> make it harder to scan [**].
>>
>
> This problem exists today; IP leakage has to be checked even across TLS
> based connections.  Solutions for these corporate IT groups exist,
> including TLS aware proxies and TLS man in the middle.  Several vendors
> provide these solutions today.
>
>
> Sure.  But as previously discussed, the way it is done results in an
> overall reduction in security.  A "sanctioned" way would be much
> preferable, but necessarily reduces privacy potentially to 0.
>

I disagree that it takes privacy to zero.  The end user will be aware of
such changes; these are only possible by changing the trust points in the
browser.  If your company gives you a browser, it can change your trust
points.  But if it is your own browser, you pick the trust points.

I agree this is obscure, but it is something we can improve upon.  I agree
that we should.

Until we turn on SSL for everyone, it won't likely get improved.


>
> And, do we want shared caches to continue to exist?
>

Of course we do.  We switch to opt-in proxies (like what Roberto Peon has
proposed) rather than the transparent proxies that we have today.  These
are much better because the user has the opportunity to know the proxy is
there, unlike today.  Personally, the security risks of using such a proxy
probably outweigh the performance advantages for most people.  This is
similar in concept to what Douglas Beaver articulated so well in a separate
thread.

Mike






>
>
> COST
>
> Google, Facebook and Twitter don't need to spend much on SSL certs from
> CAs.  Not in the scheme of things.
>

Actually, this is not true.  These companies spend the most on "well
rooted" certificates.


not compared to their revenues is what I meant.




>
> What about the other hundreds of millions of us running web servers.  You
> gonna buy us our certs?  I better buy me some shares in Verisign et al..
>

They are free - <https://www.startssl.com/>https://www.startssl.com/


the thin edge of the wedge.  How can one have any faith in some entity
vouching for some other entity when no payment is made (therefore no
rigorous check can be made).




>
> SECURITY
>
> Mandating SSL on all devices with HTTP stacks (e.g. your home network
> infrastructure, NAS, Modem etc) cannot be practically done while we rely on
> CAs to issue certs, and while those certs must be installed, expired,
> updated etc etc.
>

I think it can!

I'm sure it can be made a lot easier.

I think maybe even it could be made easy enough for my mom to do it on her
DSL modem web interface... er... maybe not....




>
> Or do you think manufacturers of such hardware should just ship with some
> default cert?  Self-signed maybe?  And while you're at it, why not get
> every machine in the world to trust that cert...  Oh dear, do we have a
> security problem?
>

I think we could do self signed certs and also continue to improve the CA
infrastructure.  I'd like to see Google become a CA with a super-easy
certificate issuing process.


I foresee a problem where OSes have too many trusted root certs to manage.
The more CAs and trusted root certs we end up with, the larger the attack
surface for anyone trying to inject badness into the system.

No-one surely needs reminding about the recent CA breaches and bad certs
issued.

Security is only as strong as the weakest link, which is invariably us.  I
don't know what we're aiming for, security or a false sense of it.



>
> Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for the
> world (or more likely consign HTTP/2.0 to relative obscurity).
>

> It's been alluded to that we'd replace the CA infrastructure.  Don't you
> think it's premature to propose mandatory use of SSL when you haven't
> proposed what would replace the CA infrastructure yet?  That's like
> starting building a spaceship for Alpha Centauri based on a rocket engine
> that hasn't been invented yet.
>

Many researchers and security experts agree we need a CA overhaul.  But
this doesn't mean that the existing CA infrastructure is not usable.
 Despite its flaws, it is better than no CA system.  And we can fix it!
 Look at this as an opportunity, not a hurdle.

I'd love to fix it.  Not sure how though.




>
> You'd have to replace CRL and OCSP checking protocols, because they use
> HTTP, and mandating use of SSL for that would create a paradox (how do you
> check the cert on the connection used to check the cert ad infinitum).
>

Naw, the browsers wouldn't need to validate the cert from the OCSP server
because the contents that they fetch are self-signed and verifiable
independently.

verifiable independently?  With certs?  How do you check those?

Or do we rely on DNS for that?




>
>
> OTHER
>
> Most people here seem to focus on issues such as CPU load, extra R-Ts
> introduced by the SSL setup etc.  Those are valid concerns, but they are
> easier to overcome than the others. They aren't easy to overcome, just
> easier.
>

Agree.


>
>
> Seems to me it would be a whole lot simpler and more compatible with the
> actual world we actually live on just to make crypto optional.
>

True.  It would also be a whole lot less secure, leave users exposed on the
net to trust that every single website remembered to secure the
communicates of private data and that none of them use sniffable
cookies....


The current situation is really that bad?






>
> Adrien
>
>
> [*] We can't realistically expect server operators to indefinitely support
> both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop HTTP/1.1 support,
> and that part of the internet will then become unavailable to those forced
> to keep using HTTP/1.1, effectively denying those users.
>

Actually, HTTP/1.1 will become like IE6.  It will be this legacy thing
holding back the world.  Eventually there will be big pushes to rid the
world of this insecure protocol that we wish we no longer had lying around
:-)


>
>  [**] T
> here has been some discussion about enabling intermediaries to be able to
> see plaintext payload by terminating the SSL connection at each end.  This
> hasn't progressed enough, and the current proposals still basically bypass
> intermediaries AFAICT.
>
>

Agree it needs more work.  But I don't think this should be a condition of
making HTTP/2.0 a more secure protocol.


My main issue is not with security or privacy, but only relating to
mandating the USE of it.

Adrien




Mike

--f46d042d05aae896ca04c513aaa6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:51 PM, Adrien =
W. de Croy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=
=3D"_blank">adrien@qbik.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">



<div><div class=3D"im"><br>------ Original Message ------<br>From: &quot;Mi=
ke Belshe&quot; <a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@b=
elshe.com</a><br>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div><br><br>
<div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Cr=
oy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blan=
k"></a><a href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com=
</a>&gt;</span> wrote:<br>

<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>Mandating use of (c.f. support for) crypto in HTTP will prevent it fro=
m being deployable in a significant number of scenarios, thereby requiring =
ongoing use of=A0HTTP/1.1.</div>
<div>=A0</div></div></blockquote>
<div><br></div>
<div>This is true for any manifestation of HTTP/2.0 with or without securit=
y.</div></div></div></blockquote>
<div>=A0</div>
</div><div>I don&#39;t know if it should be a goal though.=A0 IMO the goal =
should be to replace the old with something better, not replace it with som=
ething that can only be used by a subset of current users, and therefore re=
quires continued perpetual use of the old.<br>
</div></div></blockquote><div><br></div><div>Agree; goal should be to be be=
tter. =A0That doesn&#39;t mean that I think everyone will jump to it in sho=
rt order, though.=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class=3D"im">
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>DESIRABILITY OF PRIVACY</div>
<div>=A0</div>
<div><span>
<div><span>
<div><span>
<div>Proponents of mandatory crypto </div></span></div></span>are making an=
 assumption <span><span>that privacy is ALWAYS desirable.</span></span></di=
v>
<div><span><span></span></span>=A0</div></span></div></div>
<div>It is not ALWAYS desirable. </div>
<div>=A0</div>
<div>In many cases <span>privacy </span>is undesirable or even illegal.</di=
v>
<div>=A0</div>
<div>1. Many states have outlawed use of crypto.=A0 So will this be HTTP on=
ly for the &quot;free&quot; societies?=A0 Or is the IETF trying to achieve =
political change in &quot;repressed&quot; countries?=A0 I&#39;ve dealt with=
 our equivalent of the NSA on this matter.=A0 Have you?=A0 I know the IETF =
has a neutral position on enabling wiretapping.=A0 Mandating SSL is not a n=
eutral / apolitical stance.=A0 Steering HTTP into a collision course with g=
overnments just doesn&#39;t seem like much of a smart idea.</div>
</blockquote>
<div><br></div>
<div>I don&#39;t know of states that prohibit TLS. =A0Do they exist? =A0Whi=
ch ones are they? =A0Can you list them?</div></div></div></blockquote>
<div>=A0</div>
</div><div>It&#39;s hard to get recent information, but my understanding is=
 that a lot of of people live in jurisdictions where crypto is tightly cont=
rolled.</div>
<div>=A0</div>
<div>E.g. China, India, several mid-eastern and former soviet countries.<br=
></div><div class=3D"im">
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Are you saying that HTTP/2.0 must be compliant with the laws of every =
country? =A0And that any country passing a law making HTTP/2.0 features ill=
egal will block HTTP/2.0? :-)</div></div></div></blockquote>
<div>=A0</div>
</div><div><span>
<div>In practice, we would have different levels of difficulty ignoring law=
s of a country depending on which country that was.</div></span></div>
<div>=A0</div>
<div>If the US passed a law that banned it, and threatened to put you in ja=
il, you may give that more weight.</div>
<div>=A0</div>
<div>Governments already have wiretapping laws.=A0 Do you think they will a=
bandon that as a desire?<br></div>
<div>Many laws on crypto were only relatively recently relaxed.=A0 There&#3=
9;s an ongoing tussle between security agencies of government and privacy a=
dvocates over it.=A0 We can&#39;t guarantee that within the next 5 years th=
at any country=A0wouldn&#39;t make it illegal.</div>

<div>=A0</div>
<div>It&#39;s not like we can claim there&#39;s no reasonable expectation t=
o consider laws when it comes to crypto.=A0 That&#39;s the one area of soft=
ware development where caveats and warnings are stamped over so much code a=
nd documentation that we can&#39;t claim to be unaware it&#39;s an issue.</=
div>
</div></blockquote><div><br></div><div><br></div><div>Well, when you&#39;ve=
 got a specific country to talk about, please raise the issue.</div><div><b=
r></div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Sites that are truly concerned can still negotiate the null cypher, I =
suppose.</div></div></div></blockquote>
<div>=A0</div>
</div><div>try finding some real client app that will swallow that.</div></=
div></blockquote><div><br></div><div>you are right :-)</div><div>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>2. Most prisons do not allow inmates to have privacy when it comes to =
communications.=A0 Would you deny [*]=A0all prisoners access to the web?=A0=
 There are other scenarios where privacy is not expected, permitted or desi=
rable.=A0</div>
</blockquote>
<div><br></div>
<div>I doubt this is a problem. =A0If it is, then the poor prisoners are al=
ready being denied access to their banks, most all of which require TLS.</d=
iv></div></div></blockquote>
</div><div>Maybe there&#39;s not much sympathy for prisoners.=A0 That&#39;s=
 just one example.</div>
<div>=A0</div>
<div>Schools, homes and businesses are also places where there may be deeme=
d (by those in charge) a need to monitor activity.</div></div></blockquote>=
<div><br></div><div>They already have this problem. =A0Twitter, Google, and=
 Facebook have all publicly declared that they are working their way to 100=
% TLS all the time. =A0These issues exist today. =A0If you want to filter T=
LS, you can; several vendors provide solutions.</div>
<div><br>But schools have bigger problems - like those cell phones with mor=
e bandwidth than the school has to its classrooms. =A0</div><div><br></div>=
<div>I don&#39;t think the protocol has an obligation to reduce security so=
 that prisons, schools, or other institutions can institute content control=
. =A0 And by the time this standard is done, the policy rules will have cha=
nged again.</div>
<div><br></div><div>A simple thing we do know is that users expect and dese=
rve to be protected by the protocols and sites they visit. =A0We&#39;re pas=
sing more laws every day to ensure this - and HTTP can help.</div><div><br>
</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<div>3. Many situations require communications to be open and visible.=A0 W=
ould you rather your network infrastructure phoned home with SSL or HTTP th=
at you can see.</div></blockquote>
<div><br></div>
<div>Can you enumerate these? =A0For debugging, of course it makes sense fo=
r endpoints to have unencrypted modes. =A0We can also build better tools, s=
uch as the improvements for decoding TLS traffic with Wireshark that have l=
anded recently.</div>
</div></div></blockquote>
<div>=A0</div>
</div><div>Can only decode NULL cipher.</div></div></blockquote><div><br></=
div><div>With wireshark you can decide SSL session if you let your browser =
dump the private keys. =A0Chrome supports this. =A0<a href=3D"http://www.im=
perialviolet.org/2012/06/25/wireshark.html">http://www.imperialviolet.org/2=
012/06/25/wireshark.html</a></div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>=A0</div>
<div>Huawei recently got excluded from bidding for an Australian govt contr=
act (a large one) due to concerns over possibility of eavesdropping.</div><=
/div></blockquote><div><br></div><div>Excellent point for why we should mak=
e the protocol more secure :-) =A0If everything were encrypted, it wouldn&#=
39;t have been a problem.=A0</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>=A0</div>
<div>Mandating privacy on HTTP will make it easier in some cases (e.g. infr=
astructure) to eavesdrop on non-private communication.<br></div></div></blo=
ckquote><div><br></div><div>What? =A0Mandating privacy makes it easier to e=
avesdrop? =A0I don&#39;t think so :-)</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div=
><div class=3D"im">
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>4. Scanning for malware at a gateway.=A0 This requirement is NOT going=
 away, and the SSL will be brute-forced / spoofed etc to achieve this.=A0 M=
andating SSL will just make it easier for malware to propagate, since you m=
ake it harder to scan [**].</div>
</blockquote>
<div><br></div>
<div>This problem exists today; IP leakage has to be checked even across TL=
S based connections. =A0Solutions for these corporate IT groups exist, incl=
uding TLS aware proxies and TLS man in the middle. =A0Several vendors provi=
de these solutions today.</div>
</div></div></blockquote>
<div>=A0</div>
</div><div>Sure.=A0 But as previously discussed, the way it is done results=
 in an overall reduction in security.=A0 A &quot;sanctioned&quot; way would=
 be much preferable, but necessarily reduces privacy potentially to 0.</div=
>
</div></blockquote><div><br></div><div>I disagree that it takes privacy to =
zero. =A0The end user will be aware of such changes; these are only possibl=
e by changing the trust points in the browser. =A0If your company gives you=
 a browser, it can change your trust points. =A0But if it is your own brows=
er, you pick the trust points.</div>
<div><br></div><div>I agree this is obscure, but it is something we can imp=
rove upon. =A0I agree that we should.</div><div><br></div><div>Until we tur=
n on SSL for everyone, it won&#39;t likely get improved.</div><div>=A0</div=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>
<div>=A0</div>
<div>And, do we want shared caches to continue to exist?</div></div></block=
quote><div><br></div><div>Of course we do. =A0We switch to opt-in proxies (=
like what Roberto Peon has proposed) rather than the transparent proxies th=
at we have today. =A0These are much better because the user has the opportu=
nity to know the proxy is there, unlike today. =A0Personally, the security =
risks of using such a proxy probably outweigh the performance advantages fo=
r most people. =A0This is similar in concept to what Douglas Beaver articul=
ated so well in a separate thread.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0<div><div class=3D"im"=
>
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>COST</div>
<div>=A0</div>
<div>Google, Facebook and Twitter don&#39;t need to spend much on SSL certs=
 from CAs.=A0 Not in the scheme of things.</div></blockquote>
<div><br></div>
<div>Actually, this is not true. =A0These companies spend the most on &quot=
;well rooted&quot; certificates.</div></div></div></blockquote>
<div>=A0</div>
</div><div>not compared to their revenues is what I meant.<br></div><div cl=
ass=3D"im">
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>What about the other=A0hundreds of millions=A0of us running web server=
s.=A0 You gonna buy us our certs?=A0 I better buy me some shares in Verisig=
n et al..</div>
<div></div></blockquote>
<div><br></div>
<div>They are free - <a href=3D"https://www.startssl.com/" target=3D"_blank=
"></a><a href=3D"https://www.startssl.com/" target=3D"_blank">https://www.s=
tartssl.com/</a></div>
<div>=A0</div></div></div></blockquote>
</div><div>the thin edge of the wedge.=A0 How can one have any faith in som=
e entity vouching for some other entity when no payment is made (therefore =
no rigorous check can be made).</div><div class=3D"im">
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>SECURITY</div>
<div>=A0</div>
<div>Mandating SSL on all devices with HTTP stacks (e.g. your home network =
infrastructure, NAS, Modem etc) cannot be practically done while we rely on=
 CAs to issue certs, and while those certs must be installed, expired, upda=
ted etc etc.</div>
</blockquote>
<div><br></div>
<div>I think it can!</div></div></div></blockquote>
</div><div>I&#39;m sure it can be made a lot easier.</div>
<div>=A0</div>
<div>I think maybe even it could be made easy enough for my mom to do it on=
 her DSL modem web interface... er... maybe not....</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>Or do you think manufacturers of such hardware should just ship with s=
ome default cert?=A0 Self-signed maybe?=A0 And while you&#39;re at it, why =
not get every machine in the world to trust that cert...=A0 Oh dear, do we =
have a security problem?=A0</div>
</blockquote>
<div><br></div>
<div>I think we could do self signed certs and also continue to improve the=
 CA infrastructure. =A0I&#39;d like to see Google become a CA with a super-=
easy certificate issuing process.</div></div></div></blockquote>
<div>=A0</div>
</div><div>I foresee a problem where OSes have too many trusted root certs =
to manage.=A0 The more CAs and trusted root certs we end up with, the large=
r the attack surface for anyone trying to inject badness into the system.</=
div>

<div>=A0</div>
<div>No-one surely needs reminding about the recent CA breaches and bad cer=
ts issued.</div>
<div>=A0</div>
<div>Security is only as strong as the weakest link, which is invariably us=
.=A0 I don&#39;t know what we&#39;re aiming for, security or a false sense =
of it.<br></div><div class=3D"im">
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<div>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for=
 the world (or more likely consign HTTP/2.0 to relative obscurity).=A0</div=
></blockquote>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>It&#39;s been alluded to that we&#39;d replace the CA infrastructure.=
=A0 Don&#39;t you think it&#39;s premature to propose mandatory use of SSL =
when you haven&#39;t proposed what would replace the CA infrastructure yet?=
=A0 That&#39;s like starting building a=A0spaceship for=A0Alpha Centauri=A0=
based on a rocket engine that hasn&#39;t been invented yet.</div>
</blockquote>
<div><br></div>
<div>Many researchers and security experts agree we need a CA overhaul. =A0=
But this doesn&#39;t mean that the existing CA infrastructure is not usable=
. =A0Despite its flaws, it is better than no CA system. =A0And we can fix i=
t! =A0Look at this as an opportunity, not a hurdle.</div>
</div></div></blockquote>
</div><div>I&#39;d love to fix it.=A0 Not sure how though.</div><div class=
=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>You&#39;d have to replace CRL and OCSP checking protocols, because the=
y use HTTP, and mandating use of SSL for that would create a paradox (how d=
o you check the cert on the connection used to check the cert ad infinitum)=
.</div>
</blockquote>
<div><br></div>
<div>Naw, the browsers wouldn&#39;t need to validate the cert from the OCSP=
 server because the contents that they fetch are self-signed and verifiable=
 independently.</div></div></div></blockquote>
</div><div>verifiable independently?=A0 With certs?=A0 How do you check tho=
se?</div>
<div>=A0</div>
<div>Or do we rely on DNS for that?</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>OTHER</div>
<div>=A0</div>
<div>Most people here seem to focus on issues such as CPU load, extra R-Ts =
introduced by the SSL setup etc.=A0 Those are valid concerns, but they are =
easier to overcome than the others. They aren&#39;t easy to overcome, just =
easier.</div>
</blockquote>
<div><br></div>
<div>Agree.</div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>Seems to me it would be a whole lot simpler and more compatible with t=
he actual world we actually live on just to make=A0crypto optional.</div></=
blockquote>
<div><br></div>
<div>True. =A0It would also be a whole lot less secure, leave users exposed=
 on the net to trust that every single website remembered to secure the com=
municates of private data and that none of them use sniffable cookies.... =
=A0</div>
</div></div></blockquote>
<div>=A0</div>
</div><div>The current situation is really that bad?</div><div class=3D"im"=
>
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>Adrien</div>
<div>=A0</div>
<div>=A0</div>
<div>[*] We can&#39;t realistically expect server operators to indefinitely=
 support both HTTP/2.0 and HTTP/1.1.=A0 Some will inevitably drop HTTP/1.1 =
support, and that part of the internet will then become unavailable to thos=
e forced to keep using HTTP/1.1, effectively denying those users.</div>
</blockquote>
<div><br></div>
<div>Actually, HTTP/1.1 will become like IE6. =A0It will be this legacy thi=
ng holding back the world. =A0Eventually there will be big pushes to rid th=
e world of this insecure protocol that we wish we no longer had lying aroun=
d :-)</div>

<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div><span>
<div>[**] T</div></span>here has been some discussion about enabling interm=
ediaries to be able to see plaintext payload by terminating the SSL connect=
ion at each end.=A0 This hasn&#39;t progressed enough, and the current prop=
osals still basically bypass intermediaries AFAICT.</div>

<div>=A0</div></blockquote>
<div><br></div>
<div>Agree it needs more work. =A0But I don&#39;t think this should be a co=
ndition of making HTTP/2.0 a more secure protocol.</div></div></div></block=
quote>
<div>=A0</div>
</div><div>My main issue is not with security or privacy, but only relating=
 to mandating the USE of it.</div>
<div>=A0</div>
<div>Adrien</div>
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Mike</div>
<div>=A0</div></div><br></div></blockquote></div></div></div><br>

--f46d042d05aae896ca04c513aaa6--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:14:19 2012
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 A368B11E8123 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:14:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.605
X-Spam-Level: 
X-Spam-Status: No, score=-9.605 tagged_above=-999 required=5 tests=[AWL=-0.229, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 k81T1sis1e28 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:14:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6CACC11E8122 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:14:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMap-0007gR-Hb for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:14:35 +0000
Resent-Date: Wed, 18 Jul 2012 05:14:35 +0000
Resent-Message-Id: <E1SrMap-0007gR-Hb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrMaf-0007fE-0j for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:14:25 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrMac-0007y8-HI for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:14:24 +0000
Received: by lbom4 with SMTP id m4so1702204lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:13:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=SiQdsmGoUeHM1OTB0rOmOmY0BpZSGHcxUiMTXy2YDIE=; b=HhGU/YM3dh5sIxEFeiDppIxmKSzXkuSG1Badxabg2s2bsp1VL6K8FhRDjmFzSP9lAZ 7rsn0Y9dgByn/ViivIquTrGn0SMoSYqt/Nvd/jRQtaapttMiuRJ5C9W7/4VxZA9undwp GE7knRwpSE/FfdDKcst/A0oLL1khYm6Gy7+SIDeTBna0hCpwhP4sBTsYVaE+TdSI5U0K 9+/DtqAPkH3aWp7ZGCnCofe9ee5hOPYSDJydnpj+2DxQN/VEpKjrOj4QyyU5xpL9VN5Q O5e5M5PptykQ/dXAanlAUXwQYcDdhWLsTUT1JCUb7U2KLopTzlelOqQd6plbVc53BA+X FOKg==
MIME-Version: 1.0
Received: by 10.112.39.135 with SMTP id p7mr1010057lbk.78.1342588435505; Tue, 17 Jul 2012 22:13:55 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 22:13:55 -0700 (PDT)
In-Reply-To: <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com>
Date: Tue, 17 Jul 2012 22:13:55 -0700
Message-ID: <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>,  Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=485b390f7a76c722b404c513badd
X-Gm-Message-State: ALoCoQkJZF79FVcnM0/x2+LkYyrr51OEGd08kWHN6ZjRzf+batfWS8tXqn5wwNlOQQTKH09vjIBz
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrMac-0007y8-HI 2391a05c75231f4ca390ee3b01b1990a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14444
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>

--485b390f7a76c722b404c513badd
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 9:58 PM, Phillip Hallam-Baker <hallam@gmail.com>wro=
te:

> My lightbulbs have HTTP stacks and run web services. If I want to
> modify the lighting, I send them a command to dim, brighten, change
> the color balance or whatever.
>
> They do not have an operating system or anything like it. That would
> require a much bigger chip and a much higher current drain when not in
> use.
>
> The world of HTTP is a lot more than just Web browsers.
>

There was a time, long ago, when people were flabbergasted by the idea that
you'd use HTTP to control your lightbulb too.  "I have to put an HTTP stack
on a lightbulb?  I could just use UDP!"  I suggest we design for the
future, not the past.



>
> Mandating TLS in 2.0 will not provide an ounce of extra security
> unless you have a way to know who is running 2.0. And if you can do
> that you do not need the mandate.
>

It's all negotiated in the handshake.  You'll know who is TLS and who is
not.

It does provide lots of better security.  The internet cafe is the best
example.  I know you're aware of Firesheep.  We should make it impossible
to use firesheep in 2020.  Right?

Mike


>
>
>
> On Wed, Jul 18, 2012 at 12:38 AM, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 9:26 PM, Phillip Hallam-Baker <hallam@gmail.com=
>
> > wrote:
> >>
> >> While use of port 443 and TLS may be a practical requirement for use
> >> of SPDY under certain network constraints, a protocol requirement is a
> >> very different matter.
> >>
> >> It should be obvious that a protocol be capable of deployment under
> >> common network contraints but that does not mean that every
> >> implementation of the protocol MUST implement or use the work-around.
> >>
> >>
> >> Nobody is even being very clear about the precise nature of the
> >> requirement 'must implement TLS' and 'must use TLS' are very different
> >> criteria. There is only one precedent for requiring implementation of
> >> a security protocol in a non security protocol that I am aware of and
> >> that is IPv6 which is hardly an inspiring precedent. I cannot think of
> >> any case where a non security protocol has mandated use of encryption.
> >
> >
> > I thought everyone was talking about "must use TLS".
> >
> >
> >
> >>
> >>
> >> TCP is a very small protocol stack and HTTP is not much bigger.
> >>
> >> TLS is a huge protocol stack and should not be implemented by people
> >> who don't know what they are doing. We actively discourage
> >> proliferation of crypto stacks in the security area these days.
> >>
> >> PKIX is a big, complicated spec that has technical, legal and policy
> >> facets.
> >
> >
> > I basically agree with this, yes.
> >
> > Except most can get this from their operating system.  It's provided fo=
r
> > free in windows, macos, ios, and I believe android (but I have to check=
).
> >
> >
> >>
> >>
> >> TLS requires PKIX, you can't have one without the other. So mandating
> >> TLS in HTTP/2.0 is really mandating TLS+PKIX. If people don't want to
> >> rely on CAs for their trust anchors they will also need DNS, DNSSEC
> >> and DANE.
> >>
> >
> >
> > CA trust anchors are policy, not implementation.
> >
> > I would propose do what other protocol specs do, which is to leave
> policy to
> > the implementations.
> >
> > Mike
> >
> >
> >>
> >>
> >>
> >>
> >>
> >> On Tue, Jul 17, 2012 at 11:56 PM, Mike Belshe <mike@belshe.com> wrote:
> >> >
> >> >
> >> > On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy <adrien@qbik.com>
> >> > wrote:
> >> >>
> >> >>
> >> >> ------ Original Message ------
> >> >> From: "Mike Belshe" mike@belshe.com
> >> >>
> >> >>
> >> >>
> >> >> On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com=
>
> >> >> wrote:
> >> >>>
> >> >>>
> >> >>> we can already transfer many objects over a single connection with
> >> >>> HTTP/1.1
> >> >>>
> >> >>> SPDY without SSL would be more speedy than with it.
> >> >>>
> >> >>> There may be only a couple R-Ts to get an SSL handshake, but
> sprinkle
> >> >>> on
> >> >>> a CRL / OCSP check and you're left eating dust.
> >> >>>
> >> >>> So, let's just get this straight for the record.  SSL will not
> improve
> >> >>> latency.  It will make it worse, and for many people (on
> >> >>> already-high-latency links) a LOT worse.
> >> >>
> >> >>
> >> >> Of course, no-SSL is lower latency than SSL.  It's not 3 RTs all th=
e
> >> >> time,
> >> >> but yes, OSCP can add a lot, and SSL implementations vary.  But SPD=
Y
> >> >> gains a
> >> >> lot of this back with fewer connections, multiplexing, and
> compression.
> >> >> Don't forget to implement SSL False Start in your client.  Obviousl=
y
> an
> >> >> un-optimized SSL stack will have a harder time than an optimized on=
e.
> >> >>
> >> >> But its not true that every bit of latency is more important than
> >> >> security.
> >> >>
> >> >> I'm just not convinced this would be a security win in the end.
> >> >>
> >> >> How many CAs are there?  We may as well right now deprecate OCSP /
> CRL
> >> >> checks, because you have 200 million sites using a cert from one
> >> >> vendor, you
> >> >> take out their OCSP server(s), and you've taken down 200 million
> sites.
> >> >>
> >> >> Way to go amplifying DOS effectiveness.
> >> >> Becoming a CA is non-trivial.  If we suddenly need a million more o=
f
> >> >> them
> >> >> to cope with cert load, how do you anticipate that will improve
> >> >> security?  I
> >> >> think it will make for a disaster.
> >> >>
> >> >
> >> >
> >> > The TLS concerns are legitimate.  We need to fix TLS to be even
> better,
> >> > not
> >> > make HTTP/2 weaker.
> >> >
> >> >>
> >> >>
> >> >> Note that Google has reported overall latency of SPDY + SSL is fast=
er
> >> >> than
> >> >> HTTP without SSL or SPDY.
> >> >>
> >> >> you saying SPDY + SSL faster than SPDY (presumably without SSL)?
> >> >> Doesn't
> >> >> seem possible.
> >> >
> >> >
> >> > Oh - SPDY over port 80 is non deployable for the same reasons
> pipelining
> >> > isn't deployable.  So that will never happen :-)
> >> >
> >> > But you're correct, I wouldn't expect SPDY + SSL to be faster than
> SPDY.
> >> >
> >> >>
> >> >>
> >> >> I have no problem accepting SPDY + SSL would be faster than HTTP.
>  But
> >> >> we're talking about adding a bunch of things to HTTP that would
> provide
> >> >> the
> >> >> same benefits that SPDY currently enjoys.
> >> >
> >> >
> >> > Yeah, that's not going to fly....
> >> >
> >> > The problem is that the intermediaries just get stuck (they expect
> that
> >> > port
> >> > 80 is exclusively HTTP/1.1).  When you send them additional data, th=
ey
> >> > sometimes hang, and this prevents deployment of new protocols.
> >> > Websockets
> >> > has the same problem.  This is part of why no major sites are turnin=
g
> on
> >> > websockets on port 80....
> >> >
> >> > But, regardless, SPDY gives us the window of opportunity through
> reduced
> >> > latency to add security into the protocol without making latency
> worse.
> >> >
> >> > Mike
> >> >
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Mike
> >> >>
> >> >>>
> >> >>>
> >> >>>
> >> >>> ------ Original Message ------
> >> >>> From: "Rajeev Bector" <rbector@yahoo-inc.com>
> >> >>> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson"
> >> >>> <martin.thomson@gmail.com>;"Martin J. D=FCrst" <
> duerst@it.aoyama.ac.jp>
> >> >>> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau"
> >> >>> <w@1wt.eu>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> >> >>> Sent: 18/07/2012 3:26:56 p.m.
> >> >>> Subject: Re: Re[2]: HTTP2 Expression of Interest
> >> >>>
> >> >>> Arguably, the cost of 3 Rts is amortized over many many objects th=
at
> >> >>> gets
> >> >>> transferred over the session. That said, I am trying to imagine ho=
w
> to
> >> >>> do
> >> >>> crypto on my Arduino :-).
> >> >>>
> >> >>>
> >> >>> From: "Adrien W. de Croy" <adrien@qbik.com>
> >> >>> Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
> >> >>> Date: Tue, 17 Jul 2012 20:20:09 -0700
> >> >>> To: Martin Thomson <martin.thomson@gmail.com>, "Martin J. D=FCrst"
> >> >>> <duerst@it.aoyama.ac.jp>
> >> >>> Cc: Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>,
> >> >>> "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> >> >>> Subject: Re[2]: HTTP2 Expression of Interest
> >> >>>
> >> >>>
> >> >>> ------ Original Message ------
> >> >>> From: "Martin Thomson" <martin.thomson@gmail.com>
> >> >>>
> >> >>> On 17 July 2012 19:35, "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp=
>
> >> >>> wrote:
> >> >>>
> >> >>>
> >> >>> So why are we okay with 10-20% more processing costs for everybody=
,
> >> >>> but
> >> >>> not
> >> >>> with 10-20% more bandwidth? What's different between processing
> costs
> >> >>> and
> >> >>> bandwidth?
> >> >>>
> >> >>>
> >> >>>
> >> >>> Personally, I thought that the first optimization was for latency,
> >> >>>
> >> >>> How do you optimise latency by adding 3 RTs in a SSL setup?
> >> >>>
> >> >>>
> >> >>>
> >> >>> with bandwidth as secondary and (obviously) consequential.
>  Trade-offs
> >> >>> may have to be made.
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >
> >>
> >>
> >>
> >> --
> >> Website: http://hallambaker.com/
> >
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--485b390f7a76c722b404c513badd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:58 PM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
My lightbulbs have HTTP stacks and run web services. If I want to<br>
modify the lighting, I send them a command to dim, brighten, change<br>
the color balance or whatever.<br>
<br>
They do not have an operating system or anything like it. That would<br>
require a much bigger chip and a much higher current drain when not in<br>
use.<br>
<br>
The world of HTTP is a lot more than just Web browsers.<br></blockquote><di=
v><br></div><div>There was a time, long ago, when people were=A0flabbergast=
ed=A0by the idea that you&#39;d use HTTP to control your lightbulb too. =A0=
&quot;I have to put an HTTP stack on a lightbulb? =A0I could just use UDP!&=
quot; =A0I suggest we design for the future, not the past.</div>
<div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Mandating TLS in 2.0 will not provide an ounce of extra security<br>
unless you have a way to know who is running 2.0. And if you can do<br>
that you do not need the mandate.<br></blockquote><div><br></div><div>It&#3=
9;s all negotiated in the handshake. =A0You&#39;ll know who is TLS and who =
is not.</div><div><br>It does provide lots of better security. =A0The inter=
net cafe is the best example. =A0I know you&#39;re aware of Firesheep. =A0W=
e should make it impossible to use firesheep in 2020. =A0Right?</div>
<div><br>Mike</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
On Wed, Jul 18, 2012 at 12:38 AM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 9:26 PM, Phillip Hallam-Baker &lt;<a href=3D"m=
ailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; While use of port 443 and TLS may be a practical requirement for u=
se<br>
&gt;&gt; of SPDY under certain network constraints, a protocol requirement =
is a<br>
&gt;&gt; very different matter.<br>
&gt;&gt;<br>
&gt;&gt; It should be obvious that a protocol be capable of deployment unde=
r<br>
&gt;&gt; common network contraints but that does not mean that every<br>
&gt;&gt; implementation of the protocol MUST implement or use the work-arou=
nd.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Nobody is even being very clear about the precise nature of the<br=
>
&gt;&gt; requirement &#39;must implement TLS&#39; and &#39;must use TLS&#39=
; are very different<br>
&gt;&gt; criteria. There is only one precedent for requiring implementation=
 of<br>
&gt;&gt; a security protocol in a non security protocol that I am aware of =
and<br>
&gt;&gt; that is IPv6 which is hardly an inspiring precedent. I cannot thin=
k of<br>
&gt;&gt; any case where a non security protocol has mandated use of encrypt=
ion.<br>
&gt;<br>
&gt;<br>
&gt; I thought everyone was talking about &quot;must use TLS&quot;.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; TCP is a very small protocol stack and HTTP is not much bigger.<br=
>
&gt;&gt;<br>
&gt;&gt; TLS is a huge protocol stack and should not be implemented by peop=
le<br>
&gt;&gt; who don&#39;t know what they are doing. We actively discourage<br>
&gt;&gt; proliferation of crypto stacks in the security area these days.<br=
>
&gt;&gt;<br>
&gt;&gt; PKIX is a big, complicated spec that has technical, legal and poli=
cy<br>
&gt;&gt; facets.<br>
&gt;<br>
&gt;<br>
&gt; I basically agree with this, yes.<br>
&gt;<br>
&gt; Except most can get this from their operating system. =A0It&#39;s prov=
ided for<br>
&gt; free in windows, macos, ios, and I believe android (but I have to chec=
k).<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; TLS requires PKIX, you can&#39;t have one without the other. So ma=
ndating<br>
&gt;&gt; TLS in HTTP/2.0 is really mandating TLS+PKIX. If people don&#39;t =
want to<br>
&gt;&gt; rely on CAs for their trust anchors they will also need DNS, DNSSE=
C<br>
&gt;&gt; and DANE.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; CA trust anchors are policy, not implementation.<br>
&gt;<br>
&gt; I would propose do what other protocol specs do, which is to leave pol=
icy to<br>
&gt; the implementations.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 17, 2012 at 11:56 PM, Mike Belshe &lt;<a href=3D"mailt=
o:mike@belshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Tue, Jul 17, 2012 at 8:50 PM, Adrien W. de Croy &lt;<a hre=
f=3D"mailto:adrien@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; ------ Original Message ------<br>
&gt;&gt; &gt;&gt; From: &quot;Mike Belshe&quot; <a href=3D"mailto:mike@bels=
he.com">mike@belshe.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy &lt;<a=
 href=3D"mailto:adrien@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; we can already transfer many objects over a single co=
nnection with<br>
&gt;&gt; &gt;&gt;&gt; HTTP/1.1<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; SPDY without SSL would be more speedy than with it.<b=
r>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; There may be only a couple R-Ts to get an SSL handsha=
ke, but sprinkle<br>
&gt;&gt; &gt;&gt;&gt; on<br>
&gt;&gt; &gt;&gt;&gt; a CRL / OCSP check and you&#39;re left eating dust.<b=
r>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; So, let&#39;s just get this straight for the record. =
=A0SSL will not improve<br>
&gt;&gt; &gt;&gt;&gt; latency. =A0It will make it worse, and for many peopl=
e (on<br>
&gt;&gt; &gt;&gt;&gt; already-high-latency links) a LOT worse.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Of course, no-SSL is lower latency than SSL. =A0It&#39;s =
not 3 RTs all the<br>
&gt;&gt; &gt;&gt; time,<br>
&gt;&gt; &gt;&gt; but yes, OSCP can add a lot, and SSL implementations vary=
. =A0But SPDY<br>
&gt;&gt; &gt;&gt; gains a<br>
&gt;&gt; &gt;&gt; lot of this back with fewer connections, multiplexing, an=
d compression.<br>
&gt;&gt; &gt;&gt; Don&#39;t forget to implement SSL False Start in your cli=
ent. =A0Obviously an<br>
&gt;&gt; &gt;&gt; un-optimized SSL stack will have a harder time than an op=
timized one.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; But its not true that every bit of latency is more import=
ant than<br>
&gt;&gt; &gt;&gt; security.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I&#39;m just not convinced this would be a security win i=
n the end.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; How many CAs are there? =A0We may as well right now depre=
cate OCSP / CRL<br>
&gt;&gt; &gt;&gt; checks, because you have 200 million sites using a cert f=
rom one<br>
&gt;&gt; &gt;&gt; vendor, you<br>
&gt;&gt; &gt;&gt; take out their OCSP server(s), and you&#39;ve taken down =
200 million sites.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Way to go amplifying DOS effectiveness.<br>
&gt;&gt; &gt;&gt; Becoming a CA is non-trivial. =A0If we suddenly need a mi=
llion more of<br>
&gt;&gt; &gt;&gt; them<br>
&gt;&gt; &gt;&gt; to cope with cert load, how do you anticipate that will i=
mprove<br>
&gt;&gt; &gt;&gt; security? =A0I<br>
&gt;&gt; &gt;&gt; think it will make for a disaster.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The TLS concerns are legitimate. =A0We need to fix TLS to be =
even better,<br>
&gt;&gt; &gt; not<br>
&gt;&gt; &gt; make HTTP/2 weaker.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Note that Google has reported overall latency of SPDY + S=
SL is faster<br>
&gt;&gt; &gt;&gt; than<br>
&gt;&gt; &gt;&gt; HTTP without SSL or SPDY.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; you saying SPDY + SSL faster than SPDY (presumably withou=
t SSL)?<br>
&gt;&gt; &gt;&gt; Doesn&#39;t<br>
&gt;&gt; &gt;&gt; seem possible.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Oh - SPDY over port 80 is non deployable for the same reasons=
 pipelining<br>
&gt;&gt; &gt; isn&#39;t deployable. =A0So that will never happen :-)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; But you&#39;re correct, I wouldn&#39;t expect SPDY + SSL to b=
e faster than SPDY.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I have no problem accepting SPDY + SSL would be faster th=
an HTTP. =A0But<br>
&gt;&gt; &gt;&gt; we&#39;re talking about adding a bunch of things to HTTP =
that would provide<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; same benefits that SPDY currently enjoys.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Yeah, that&#39;s not going to fly....<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The problem is that the intermediaries just get stuck (they e=
xpect that<br>
&gt;&gt; &gt; port<br>
&gt;&gt; &gt; 80 is exclusively HTTP/1.1). =A0When you send them additional=
 data, they<br>
&gt;&gt; &gt; sometimes hang, and this prevents deployment of new protocols=
.<br>
&gt;&gt; &gt; Websockets<br>
&gt;&gt; &gt; has the same problem. =A0This is part of why no major sites a=
re turning on<br>
&gt;&gt; &gt; websockets on port 80....<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; But, regardless, SPDY gives us the window of opportunity thro=
ugh reduced<br>
&gt;&gt; &gt; latency to add security into the protocol without making late=
ncy worse.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mike<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Mike<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; ------ Original Message ------<br>
&gt;&gt; &gt;&gt;&gt; From: &quot;Rajeev Bector&quot; &lt;<a href=3D"mailto=
:rbector@yahoo-inc.com">rbector@yahoo-inc.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; To: &quot;Adrien W. de Croy&quot; &lt;<a href=3D"mail=
to:adrien@qbik.com">adrien@qbik.com</a>&gt;;&quot;Martin Thomson&quot;<br>
&gt;&gt; &gt;&gt;&gt; &lt;<a href=3D"mailto:martin.thomson@gmail.com">marti=
n.thomson@gmail.com</a>&gt;;&quot;Martin J. D=FCrst&quot; &lt;<a href=3D"ma=
ilto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; Cc: &quot;Doug Beaver&quot; &lt;<a href=3D"mailto:dou=
g@fb.com">doug@fb.com</a>&gt;;&quot;Willy Tarreau&quot;<br>
&gt;&gt; &gt;&gt;&gt; &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt;;&quo=
t;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&quot; &lt;=
<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; Sent: 18/07/2012 3:26:56 p.m.<br>
&gt;&gt; &gt;&gt;&gt; Subject: Re: Re[2]: HTTP2 Expression of Interest<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Arguably, the cost of 3 Rts is amortized over many ma=
ny objects that<br>
&gt;&gt; &gt;&gt;&gt; gets<br>
&gt;&gt; &gt;&gt;&gt; transferred over the session. That said, I am trying =
to imagine how to<br>
&gt;&gt; &gt;&gt;&gt; do<br>
&gt;&gt; &gt;&gt;&gt; crypto on my Arduino :-).<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; From: &quot;Adrien W. de Croy&quot; &lt;<a href=3D"ma=
ilto:adrien@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; Reply-To: &quot;Adrien W. de Croy&quot; &lt;<a href=
=3D"mailto:adrien@qbik.com">adrien@qbik.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; Date: Tue, 17 Jul 2012 20:20:09 -0700<br>
&gt;&gt; &gt;&gt;&gt; To: Martin Thomson &lt;<a href=3D"mailto:martin.thoms=
on@gmail.com">martin.thomson@gmail.com</a>&gt;, &quot;Martin J. D=FCrst&quo=
t;<br>
&gt;&gt; &gt;&gt;&gt; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@=
it.aoyama.ac.jp</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; Cc: Doug Beaver &lt;<a href=3D"mailto:doug@fb.com">do=
ug@fb.com</a>&gt;, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</=
a>&gt;,<br>
&gt;&gt; &gt;&gt;&gt; &quot;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-htt=
p-wg@w3.org</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-=
wg@w3.org</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; Subject: Re[2]: HTTP2 Expression of Interest<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; ------ Original Message ------<br>
&gt;&gt; &gt;&gt;&gt; From: &quot;Martin Thomson&quot; &lt;<a href=3D"mailt=
o:martin.thomson@gmail.com">martin.thomson@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On 17 July 2012 19:35, &quot;Martin J. D=FCrst&quot; =
&lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt=
;<br>
&gt;&gt; &gt;&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; So why are we okay with 10-20% more processing costs =
for everybody,<br>
&gt;&gt; &gt;&gt;&gt; but<br>
&gt;&gt; &gt;&gt;&gt; not<br>
&gt;&gt; &gt;&gt;&gt; with 10-20% more bandwidth? What&#39;s different betw=
een processing costs<br>
&gt;&gt; &gt;&gt;&gt; and<br>
&gt;&gt; &gt;&gt;&gt; bandwidth?<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Personally, I thought that the first optimization was=
 for latency,<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; How do you optimise latency by adding 3 RTs in a SSL =
setup?<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; with bandwidth as secondary and (obviously) consequen=
tial. =A0Trade-offs<br>
&gt;&gt; &gt;&gt;&gt; may have to be made.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">htt=
p://hallambaker.com/</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--485b390f7a76c722b404c513badd--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:16:16 2012
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 BA04711E8123 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:16:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.897
X-Spam-Level: 
X-Spam-Status: No, score=-9.897 tagged_above=-999 required=5 tests=[AWL=0.079, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 DEd1pP3q3gjN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:16:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 033E811E80FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:16:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMcs-00027P-MJ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:16:42 +0000
Resent-Date: Wed, 18 Jul 2012 05:16:42 +0000
Resent-Message-Id: <E1SrMcs-00027P-MJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrMch-00026e-Mx for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:16:31 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrMcf-000824-8p for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:16:31 +0000
Received: by lbom4 with SMTP id m4so1703823lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:16:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=iomVbSwtxcDjrX2Ab9pMqN2N0N10Qn0n0YVrW+FbF00=; b=jzg7m15yCh/azQHusqrFlBK+/4eIGDhjORex8nSSeCBajnwM94E7FnwLG2LcKBQ819 jZ8OYOy36GVSdsot4jqunKP258Omq2RE7sjBy0cLHGB2yULLPJs0c1cz4VRKTrQpx+9e GlLURDtNt7bnf1b4MGTQlvjKhorYFR9WnCLKsQItvWn5d/xbdngz5jlmktt2pa16sStm Z+fva7uR87C4l/FmUX2o1N02SzG+pAHRkCM4hvAp/yXAH0spIsmkLi3LTmUDzr6w6YN2 jhpFDjvyNvdZbShmpw822vrF57LNFT2W4xhL/1+16HGYTSwOI+q1tUjq6ppgWeSV0doE 2Z/Q==
MIME-Version: 1.0
Received: by 10.112.83.198 with SMTP id s6mr1004262lby.76.1342588562461; Tue, 17 Jul 2012 22:16:02 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 22:16:02 -0700 (PDT)
In-Reply-To: <CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com> <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com> <CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com> <CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com>
Date: Tue, 17 Jul 2012 22:16:02 -0700
Message-ID: <CABaLYCuu9yaPYvTyzqu3CgUKW5k6srZnq2Vh7zZ3kjRZ2dsgDw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04016b2358545504c513c22f
X-Gm-Message-State: ALoCoQktycJ5vhPxDgEEwWP2BeNVT3zIawgDj0zIgCWu+Fq8h/Qn9xmWPuSxk6zEgHgZuD7LyBNl
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrMcf-000824-8p 1adfcab177b2cf52f22e411dc994855a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CABaLYCuu9yaPYvTyzqu3CgUKW5k6srZnq2Vh7zZ3kjRZ2dsgDw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14445
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>

--f46d04016b2358545504c513c22f
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 9:50 PM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> Perhaps you are not aware that I work for a CA and I have spent 20
> years working on Web security, most of it developing the CA industry
> and PKI infrastructure.
>
> Maintaining the policies for accepting trust roots is essentially a
> full time job for each of the parties doing it. It is not just a
> matter of checking that a CA has a valid audit. The root manager has
> to determine that the audit actually relates to the root of trust to
> be included and that the practices adhered to meet the necessary
> inclusion criteria.
>
>
> Unlike a coding task, maintaining a root store is an ongoing
> commitment. It is not something that you can do once and forget.
>

I didn't comment on the difficulty of the policy.  I am aware of the
incredible detail that goes into such policies.  But the policy has always
remained outside the protocol specification, so I don't see why it is
relevant.

For most uses, the OS already takes care of this for you, so there is no
work to be done at all.  Just use the OS certificate store and you're fine.

Mike





>
>
>
> On Tue, Jul 17, 2012 at 11:51 PM, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-Baker <hallam@gmail.com>
> > wrote:
> >>
> >> Umm pretty much every Web Server has SSL support, the issue is that
> >> only about 2% of deployments turn it on. Or is the idea that we are
> >> going to mandate turning it on? If so, who is going to define the
> >> trust criteria for accepting certs?
> >
> >
> > Browsers already have well documented policies for this.  Major OSes also
> > have their own policies (MacOS, Windows).
> >
> >>
> >>
> >> I am a big supporter of TLS. I just don't see anything good coming
> >> from a mandate that is superfluous.
> >>
> >> As an example, we have had a mandate in PKIX to check CRLs and/or OCSP
> >> for over a decade and to reject a certificate if the client cannot
> >> perform validation. Most browsers try to check but accept the
> >> certificate if there is no response to the OCSP request. So virtually
> >> every deployed browser has been out of compliance with a fundamental
> >> PKIX control for over a decade despite repeated attempts by the CAs to
> >> persuade the providers to change this.
> >>
> >> I can't see how DANE is going to solve anything either since DANE
> >> poses an even more disruptive hard-fail criteria.
> >>
> >> I don't want to tie an application layer protocol version to a
> >> transport layer protocol version or vice versa. If you tie HTTP 2.0 to
> >> TLS 1.2 then you are going to have to revise HTTP when you revise TLS.
> >
> >
> > This is not true.  HTTP did not change when we went from earlier
> versions of
> > TLS to the current versions.  Browsers do support older versions of TLS,
> > usually for older servers that haven't upgraded.  Even SSL3 - shudder.
> >
> >>
> >>
> >>
> >> I don't see any value in a Canute/sea act here.
> >>
> >>
> >> What would be valuable is to have a suite of standards for a specific
> >> application that could be identified as a set. Something like 'best
> >> practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with
> >> AES+SHA2 + DNSSEC'. It would also be nice to see a similar draft for
> >> best practices for email clients and servers, and yes, support for
> >> STARTTLS would be high on my list of requirements. A draft like that
> >> would be very useful as a contract term for outsourcing Web hosting or
> >> mail service.
> >>
> >> But that is a totally different prospect to trying to tie HTTP to a
> >> particular security solution.
> >>
> >>
> >> Implementing TLS in a product is far from trivial. Getting the code is
> >> easy, selecting trust anchors is not. Is the specification going to
> >> mandate a particular choice of trust anchor? that is not going to
> >> happen. Nor is defining a minimum Certification Policy or locking the
> >> whole HTTP trust infrastructure to the ICANN PKI root by trying to
> >> mandate DNSSEC and DANE as well as TLS.
> >>
> >> TLS requires a PKI to work and every PKI comes with a set of policy
> >> and legal questions that have to be understood if the scheme is going
> >> to provide any security.
> >
> >
> > Users expect privacy and security.  We've all seen the legislation around
> > the globe for stronger security and privacy options.  SSL won't fix
> > everything, I know, but it is a solid step, and its the responsible step
> for
> > the protocol.  I don't understand how we can argue that HTTP/2.0 could
> be a
> > protocol for the next 20 years if it is sniffable over the wire.
> >
> > Go talk to non-techie users about whether HTTP is secure.  They assume it
> > is.  Ask them if they would prefer a secure protocol or an insecure one.
> > Ask them if they think protocols should be eavesdroppable so that other
> > people in the cafe can see what they're doing, steal their passwords, and
> > more?  I have yet to find any of these users that want this flimsy level
> of
> > security.
> >
> > So- the problem we're solving here is to make users safer and raise the
> bar
> > on web security globally.
> >
> > Mike
> >
> >
> >>
> >>
> >>
> >> On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe <mike@belshe.com> wrote:
> >> > Mandatory SSL is +1 and very forward thinking.
> >> >
> >> > On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <
> hallam@gmail.com>
> >> > wrote:
> >> >>
> >> >> -1
> >> >>
> >> >> I don't want to have a mandatory requirement unless it is going to
> >> >> change behavior.
> >> >
> >> >
> >> > I don't think we can change behavior with protocols.  All we can do is
> >> > offer
> >> > new features.  If the features are compelling, people will upgrade.
>  If
> >> > the
> >> > features are not compelling, they won't.
> >> >
> >> > People used to tell me SPDY would never get people to "upgrade".  Even
> >> > after
> >> > touching a half a billion users, people still tell me that.  I think
> the
> >> > evidence of adoption speaks for itself.
> >> >
> >> >>
> >> >>
> >> >> We already have ubiquitous deployment of TLS in browsers. The code is
> >> >> freely available, everyone knows the benefit.
> >> >>
> >> >> The only HTTP servers or clients I am aware of that don't have TLS
> >> >> support are either toolsets that the provider expects to be used with
> >> >> OpenSSL or the like and embedded systems.
> >> >
> >> >
> >> > I'll ask the google crawler guys to weigh in on this.  They have
> pretty
> >> > good
> >> > stats.  I believe your assertion is provably false.
> >> >
> >> >>
> >> >>
> >> >> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
> >> >> seem to do any good either. It just means that IPv6 is harder to
> >> >> deploy as implementations are required to support a security layer
> >> >> almost nobody uses as TLS has proved better.
> >> >>
> >> >>
> >> >> Making TLS a mandatory requirement seems like a feelgood approach to
> >> >> security to me. Instead of doing something useful, we pass a
> >> >> resolution telling people to do what they plan to do anyway.
> >> >
> >> >
> >> > You imply there is something else that would be useful - what would it
> >> > be?
> >> > (don't feel obliged to answer :-)
> >> >
> >> > To me mandating security is a great first step.  Nobody should think
> >> > this
> >> > 'fixes' security. But if we believe the net ever needs to be secure,
> we
> >> > need
> >> > to start taking steps toward that.
> >> >
> >> > Mandating SSL is a simple step we can take which solves most of the
> >> > eavesdropping problem right now.  But more importantly, it poises us
> to
> >> > address the next set of security issues, including CA/verification
> >> > problems,
> >> > distribution of video over ssl, handshake latency, etc.  Until we
> start
> >> > trying to be secure, of course we'll never be secure.
> >> >
> >> > Mike
> >> >
> >> >>
> >> >>
> >> >>
> >> >> On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <
> paul.hoffman@gmail.com>
> >> >> wrote:
> >> >> > +1 to what seems to be a lot of developers: make TLS mandatory.
> >> >> >
> >> >> >>  so, even when used in an internal application protocol, it's
> going
> >> >> >> to
> >> >> >>  be end to end
> >> >> >>  encrypted to make it super hard to debug?
> >> >> >
> >> >> > In an internal application protocol, why would it be "super hard to
> >> >> > debug"? The client can do an HTTP dump before TLS, the server can
> do
> >> >> > an HTTP dump after TLS; either of the sides could debug the TLS.
> >> >> >
> >> >> >>  http is about more than users using
> >> >> >>  web browsers.
> >> >> >
> >> >> > Completely true, and not relevant. Insecure HTTP for non-browser
> >> >> > applications still has the same bad properties, no?
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Website: http://hallambaker.com/
> >> >>
> >> >
> >>
> >>
> >>
> >> --
> >> Website: http://hallambaker.com/
> >
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--f46d04016b2358545504c513c22f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:50 PM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
Perhaps you are not aware that I work for a CA and I have spent 20<br>
years working on Web security, most of it developing the CA industry<br>
and PKI infrastructure.<br>
<br>
Maintaining the policies for accepting trust roots is essentially a<br>
full time job for each of the parties doing it. It is not just a<br>
matter of checking that a CA has a valid audit. The root manager has<br>
to determine that the audit actually relates to the root of trust to<br>
be included and that the practices adhered to meet the necessary<br>
inclusion criteria.<br>
<br>
<br>
Unlike a coding task, maintaining a root store is an ongoing<br>
commitment. It is not something that you can do once and forget.<br></block=
quote><div><br></div><div>I didn&#39;t comment on the difficulty of the pol=
icy. =A0I am aware of the incredible detail that goes into such policies. =
=A0But the policy has always remained outside the protocol specification, s=
o I don&#39;t see why it is relevant.</div>
<div><br>For most uses, the OS already takes care of this for you, so there=
 is no work to be done at all. =A0Just use the OS certificate store and you=
&#39;re fine.</div><div><br></div><div>Mike</div><div><br></div><div><br>
</div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
On Tue, Jul 17, 2012 at 11:51 PM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-Baker &lt;<a href=3D"m=
ailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Umm pretty much every Web Server has SSL support, the issue is tha=
t<br>
&gt;&gt; only about 2% of deployments turn it on. Or is the idea that we ar=
e<br>
&gt;&gt; going to mandate turning it on? If so, who is going to define the<=
br>
&gt;&gt; trust criteria for accepting certs?<br>
&gt;<br>
&gt;<br>
&gt; Browsers already have well documented policies for this. =A0Major OSes=
 also<br>
&gt; have their own policies (MacOS, Windows).<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I am a big supporter of TLS. I just don&#39;t see anything good co=
ming<br>
&gt;&gt; from a mandate that is superfluous.<br>
&gt;&gt;<br>
&gt;&gt; As an example, we have had a mandate in PKIX to check CRLs and/or =
OCSP<br>
&gt;&gt; for over a decade and to reject a certificate if the client cannot=
<br>
&gt;&gt; perform validation. Most browsers try to check but accept the<br>
&gt;&gt; certificate if there is no response to the OCSP request. So virtua=
lly<br>
&gt;&gt; every deployed browser has been out of compliance with a fundament=
al<br>
&gt;&gt; PKIX control for over a decade despite repeated attempts by the CA=
s to<br>
&gt;&gt; persuade the providers to change this.<br>
&gt;&gt;<br>
&gt;&gt; I can&#39;t see how DANE is going to solve anything either since D=
ANE<br>
&gt;&gt; poses an even more disruptive hard-fail criteria.<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t want to tie an application layer protocol version to a=
<br>
&gt;&gt; transport layer protocol version or vice versa. If you tie HTTP 2.=
0 to<br>
&gt;&gt; TLS 1.2 then you are going to have to revise HTTP when you revise =
TLS.<br>
&gt;<br>
&gt;<br>
&gt; This is not true. =A0HTTP did not change when we went from earlier ver=
sions of<br>
&gt; TLS to the current versions. =A0Browsers do support older versions of =
TLS,<br>
&gt; usually for older servers that haven&#39;t upgraded. =A0Even SSL3 - sh=
udder.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t see any value in a Canute/sea act here.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; What would be valuable is to have a suite of standards for a speci=
fic<br>
&gt;&gt; application that could be identified as a set. Something like &#39=
;best<br>
&gt;&gt; practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with<br=
>
&gt;&gt; AES+SHA2 + DNSSEC&#39;. It would also be nice to see a similar dra=
ft for<br>
&gt;&gt; best practices for email clients and servers, and yes, support for=
<br>
&gt;&gt; STARTTLS would be high on my list of requirements. A draft like th=
at<br>
&gt;&gt; would be very useful as a contract term for outsourcing Web hostin=
g or<br>
&gt;&gt; mail service.<br>
&gt;&gt;<br>
&gt;&gt; But that is a totally different prospect to trying to tie HTTP to =
a<br>
&gt;&gt; particular security solution.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Implementing TLS in a product is far from trivial. Getting the cod=
e is<br>
&gt;&gt; easy, selecting trust anchors is not. Is the specification going t=
o<br>
&gt;&gt; mandate a particular choice of trust anchor? that is not going to<=
br>
&gt;&gt; happen. Nor is defining a minimum Certification Policy or locking =
the<br>
&gt;&gt; whole HTTP trust infrastructure to the ICANN PKI root by trying to=
<br>
&gt;&gt; mandate DNSSEC and DANE as well as TLS.<br>
&gt;&gt;<br>
&gt;&gt; TLS requires a PKI to work and every PKI comes with a set of polic=
y<br>
&gt;&gt; and legal questions that have to be understood if the scheme is go=
ing<br>
&gt;&gt; to provide any security.<br>
&gt;<br>
&gt;<br>
&gt; Users expect privacy and security. =A0We&#39;ve all seen the legislati=
on around<br>
&gt; the globe for stronger security and privacy options. =A0SSL won&#39;t =
fix<br>
&gt; everything, I know, but it is a solid step, and its the responsible st=
ep for<br>
&gt; the protocol. =A0I don&#39;t understand how we can argue that HTTP/2.0=
 could be a<br>
&gt; protocol for the next 20 years if it is sniffable over the wire.<br>
&gt;<br>
&gt; Go talk to non-techie users about whether HTTP is secure. =A0They assu=
me it<br>
&gt; is. =A0Ask them if they would prefer a secure protocol or an insecure =
one.<br>
&gt; Ask them if they think protocols should be eavesdroppable so that othe=
r<br>
&gt; people in the cafe can see what they&#39;re doing, steal their passwor=
ds, and<br>
&gt; more? =A0I have yet to find any of these users that want this flimsy l=
evel of<br>
&gt; security.<br>
&gt;<br>
&gt; So- the problem we&#39;re solving here is to make users safer and rais=
e the bar<br>
&gt; on web security globally.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe &lt;<a href=3D"mailt=
o:mike@belshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Mandatory SSL is +1 and very forward thinking.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker &lt;<a =
href=3D"mailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; -1<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I don&#39;t want to have a mandatory requirement unless i=
t is going to<br>
&gt;&gt; &gt;&gt; change behavior.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I don&#39;t think we can change behavior with protocols. =A0A=
ll we can do is<br>
&gt;&gt; &gt; offer<br>
&gt;&gt; &gt; new features. =A0If the features are compelling, people will =
upgrade. =A0If<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; features are not compelling, they won&#39;t.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; People used to tell me SPDY would never get people to &quot;u=
pgrade&quot;. =A0Even<br>
&gt;&gt; &gt; after<br>
&gt;&gt; &gt; touching a half a billion users, people still tell me that. =
=A0I think the<br>
&gt;&gt; &gt; evidence of adoption speaks for itself.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; We already have ubiquitous deployment of TLS in browsers.=
 The code is<br>
&gt;&gt; &gt;&gt; freely available, everyone knows the benefit.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; The only HTTP servers or clients I am aware of that don&#=
39;t have TLS<br>
&gt;&gt; &gt;&gt; support are either toolsets that the provider expects to =
be used with<br>
&gt;&gt; &gt;&gt; OpenSSL or the like and embedded systems.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;ll ask the google crawler guys to weigh in on this. =A0=
They have pretty<br>
&gt;&gt; &gt; good<br>
&gt;&gt; &gt; stats. =A0I believe your assertion is provably false.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Incidentally, suport for IPSEC is mandatory in IPv6 but t=
hat does not<br>
&gt;&gt; &gt;&gt; seem to do any good either. It just means that IPv6 is ha=
rder to<br>
&gt;&gt; &gt;&gt; deploy as implementations are required to support a secur=
ity layer<br>
&gt;&gt; &gt;&gt; almost nobody uses as TLS has proved better.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Making TLS a mandatory requirement seems like a feelgood =
approach to<br>
&gt;&gt; &gt;&gt; security to me. Instead of doing something useful, we pas=
s a<br>
&gt;&gt; &gt;&gt; resolution telling people to do what they plan to do anyw=
ay.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; You imply there is something else that would be useful - what=
 would it<br>
&gt;&gt; &gt; be?<br>
&gt;&gt; &gt; (don&#39;t feel obliged to answer :-)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; To me mandating security is a great first step. =A0Nobody sho=
uld think<br>
&gt;&gt; &gt; this<br>
&gt;&gt; &gt; &#39;fixes&#39; security. But if we believe the net ever need=
s to be secure, we<br>
&gt;&gt; &gt; need<br>
&gt;&gt; &gt; to start taking steps toward that.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mandating SSL is a simple step we can take which solves most =
of the<br>
&gt;&gt; &gt; eavesdropping problem right now. =A0But more importantly, it =
poises us to<br>
&gt;&gt; &gt; address the next set of security issues, including CA/verific=
ation<br>
&gt;&gt; &gt; problems,<br>
&gt;&gt; &gt; distribution of video over ssl, handshake latency, etc. =A0Un=
til we start<br>
&gt;&gt; &gt; trying to be secure, of course we&#39;ll never be secure.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mike<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman &lt;<a href=
=3D"mailto:paul.hoffman@gmail.com">paul.hoffman@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; +1 to what seems to be a lot of developers: make TLS=
 mandatory.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; =A0so, even when used in an internal application=
 protocol, it&#39;s going<br>
&gt;&gt; &gt;&gt; &gt;&gt; to<br>
&gt;&gt; &gt;&gt; &gt;&gt; =A0be end to end<br>
&gt;&gt; &gt;&gt; &gt;&gt; =A0encrypted to make it super hard to debug?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; In an internal application protocol, why would it be=
 &quot;super hard to<br>
&gt;&gt; &gt;&gt; &gt; debug&quot;? The client can do an HTTP dump before T=
LS, the server can do<br>
&gt;&gt; &gt;&gt; &gt; an HTTP dump after TLS; either of the sides could de=
bug the TLS.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; =A0http is about more than users using<br>
&gt;&gt; &gt;&gt; &gt;&gt; =A0web browsers.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Completely true, and not relevant. Insecure HTTP for=
 non-browser<br>
&gt;&gt; &gt;&gt; &gt; applications still has the same bad properties, no?<=
br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Website: <a href=3D"http://hallambaker.com/" target=3D"_b=
lank">http://hallambaker.com/</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">htt=
p://hallambaker.com/</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--f46d04016b2358545504c513c22f--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:28:37 2012
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 D710411E812B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:28:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 nDptMwVv-BN8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:28:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9739611E8122 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:28:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrMo9-0005HU-1h for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:28:21 +0000
Resent-Date: Wed, 18 Jul 2012 05:28:21 +0000
Resent-Message-Id: <E1SrMo9-0005HU-1h@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <watsonm@netflix.com>) id 1SrMny-0005Gj-2v for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:28:10 +0000
Received: from exout102.netflix.com ([69.53.237.163] helo=exout104.netflix.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <watsonm@netflix.com>) id 1SrMnw-0008GA-0g for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:28:10 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=s1024;d=netflix.com; h=from:to:cc:subject:date:message-id:references:in-reply-to :content-type:mime-version; bh=6gMztjDBe9n+/jW7tjNkmt6BZT4=; b=mjj7b0K00boiRtZpaB5+vnLZa+h0Qi5yBFJYySSObD4EfAz8QUSwPd4sbbmuvjeBei9f+SIc JffWJrCwhOb4Ls8J6aQSwKMKZH73rR8dOdqJludDZu0aLl2lfErzjOoOa6Z7rxtMZgcZ4mLP CBcgwZLGefSw1hCS0v+4KrBh7m8=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;d=netflix.com; h=from:to:cc:subject:date:message-id:references:in-reply-to :content-type:mime-version; b=j855iWm/dekJIlgXeJzfF6R1Om3RDGRGGoQfZwOi3t5QW1SrvsbNKo8Uvmv2IFedG0NtvG98 P9xBZ0yG6R+TNbe5GhbGR2krP01ZHVzjWfDWvo3mYHGD9HbV123gLITB3PjZ7oUzbTpnLRV6 VgxHojhDP+3iBuM6QosYzaFjWME=
Received: from EXFE102.corp.netflix.com (10.64.32.162) by exout104.netflix.com (10.64.240.74) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 17 Jul 2012 22:29:23 -0700
Received: from EXMB106.corp.netflix.com ([169.254.6.139]) by exfe102.corp.netflix.com ([10.64.32.162]) with mapi id 14.02.0283.003; Tue, 17 Jul 2012 22:27:40 -0700
From: Mark Watson <watsonm@netflix.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
CC: Mike Belshe <mike@belshe.com>, Paul Hoffman <paul.hoffman@gmail.com>, "<grahame@healthintersections.com.au>" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Mandatory encryption
Thread-Index: AQHNZH/d8S4nJMULg0Cr9fRhTvG485cus+sAgAAS9YCAABFegIAABWyAgAAQRYCAAAqBgA==
Date: Wed, 18 Jul 2012 05:27:39 +0000
Message-ID: <5EEB652E-FDA6-40B5-9FD2-D8B41664C300@netflix.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com> <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com> <CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com> <CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com>
In-Reply-To: <CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.64.26.36]
Content-Type: multipart/alternative; boundary="_000_5EEB652EFDA640B59FD2D8B41664C300netflixcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=69.53.237.163; envelope-from=watsonm@netflix.com; helo=exout104.netflix.com
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrMnw-0008GA-0g 81d59711d070b3dbf04c5cbebaf07e8b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/5EEB652E-FDA6-40B5-9FD2-D8B41664C300@netflix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14446
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>

--_000_5EEB652EFDA640B59FD2D8B41664C300netflixcom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

The problems with HTTP that HTTP/2.0 is intended to address seem to have no=
thing to do with security. Adding a requirement for use of TLS is unrelated=
 to the purpose of the new protocol and will restrict its usage. See http:/=
/groups.csail.mit.edu/ana/Publications/PubPDFs/Tussle%20in%20Cyberspace%20D=
efining%20Tomorrows%20Internet%202005's%20Internet.pdf for why we should de=
sign protocols which flex along lines of controversy. This question of mand=
ating TLS seems to go directly against that advice.

There are many services which make use of HTTP without TLS today that may f=
ind it more difficult to migrate to HTTP/2.0 if they also have to change th=
eir security approach as well. The benefits of HTTP/2,0, whilst they may be=
 substantial, are likely not sufficient to be "worth the price" of such a c=
hange. As a specific example, Netflix ships quite a lot of traffic over HTT=
P without TLS, yet our service remains highly secure. Where we do use TLS w=
e find significant problems with it - switching to TLS for all traffic woul=
d be an order-of-magnitude bigger deal (on the minus side) than the benefit=
s of HTTP/2.0.

=85Mark


On Jul 17, 2012, at 9:50 PM, Phillip Hallam-Baker wrote:

Perhaps you are not aware that I work for a CA and I have spent 20
years working on Web security, most of it developing the CA industry
and PKI infrastructure.

Maintaining the policies for accepting trust roots is essentially a
full time job for each of the parties doing it. It is not just a
matter of checking that a CA has a valid audit. The root manager has
to determine that the audit actually relates to the root of trust to
be included and that the practices adhered to meet the necessary
inclusion criteria.


Unlike a coding task, maintaining a root store is an ongoing
commitment. It is not something that you can do once and forget.



On Tue, Jul 17, 2012 at 11:51 PM, Mike Belshe <mike@belshe.com<mailto:mike@=
belshe.com>> wrote:


On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-Baker <hallam@gmail.com<mai=
lto:hallam@gmail.com>>
wrote:

Umm pretty much every Web Server has SSL support, the issue is that
only about 2% of deployments turn it on. Or is the idea that we are
going to mandate turning it on? If so, who is going to define the
trust criteria for accepting certs?


Browsers already have well documented policies for this.  Major OSes also
have their own policies (MacOS, Windows).



I am a big supporter of TLS. I just don't see anything good coming
from a mandate that is superfluous.

As an example, we have had a mandate in PKIX to check CRLs and/or OCSP
for over a decade and to reject a certificate if the client cannot
perform validation. Most browsers try to check but accept the
certificate if there is no response to the OCSP request. So virtually
every deployed browser has been out of compliance with a fundamental
PKIX control for over a decade despite repeated attempts by the CAs to
persuade the providers to change this.

I can't see how DANE is going to solve anything either since DANE
poses an even more disruptive hard-fail criteria.

I don't want to tie an application layer protocol version to a
transport layer protocol version or vice versa. If you tie HTTP 2.0 to
TLS 1.2 then you are going to have to revise HTTP when you revise TLS.


This is not true.  HTTP did not change when we went from earlier versions o=
f
TLS to the current versions.  Browsers do support older versions of TLS,
usually for older servers that haven't upgraded.  Even SSL3 - shudder.




I don't see any value in a Canute/sea act here.


What would be valuable is to have a suite of standards for a specific
application that could be identified as a set. Something like 'best
practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with
AES+SHA2 + DNSSEC'. It would also be nice to see a similar draft for
best practices for email clients and servers, and yes, support for
STARTTLS would be high on my list of requirements. A draft like that
would be very useful as a contract term for outsourcing Web hosting or
mail service.

But that is a totally different prospect to trying to tie HTTP to a
particular security solution.


Implementing TLS in a product is far from trivial. Getting the code is
easy, selecting trust anchors is not. Is the specification going to
mandate a particular choice of trust anchor? that is not going to
happen. Nor is defining a minimum Certification Policy or locking the
whole HTTP trust infrastructure to the ICANN PKI root by trying to
mandate DNSSEC and DANE as well as TLS.

TLS requires a PKI to work and every PKI comes with a set of policy
and legal questions that have to be understood if the scheme is going
to provide any security.


Users expect privacy and security.  We've all seen the legislation around
the globe for stronger security and privacy options.  SSL won't fix
everything, I know, but it is a solid step, and its the responsible step fo=
r
the protocol.  I don't understand how we can argue that HTTP/2.0 could be a
protocol for the next 20 years if it is sniffable over the wire.

Go talk to non-techie users about whether HTTP is secure.  They assume it
is.  Ask them if they would prefer a secure protocol or an insecure one.
Ask them if they think protocols should be eavesdroppable so that other
people in the cafe can see what they're doing, steal their passwords, and
more?  I have yet to find any of these users that want this flimsy level of
security.

So- the problem we're solving here is to make users safer and raise the bar
on web security globally.

Mike





On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe <mike@belshe.com<mailto:mike@=
belshe.com>> wrote:
Mandatory SSL is +1 and very forward thinking.

On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <hallam@gmail.com<mai=
lto:hallam@gmail.com>>
wrote:

-1

I don't want to have a mandatory requirement unless it is going to
change behavior.


I don't think we can change behavior with protocols.  All we can do is
offer
new features.  If the features are compelling, people will upgrade.  If
the
features are not compelling, they won't.

People used to tell me SPDY would never get people to "upgrade".  Even
after
touching a half a billion users, people still tell me that.  I think the
evidence of adoption speaks for itself.



We already have ubiquitous deployment of TLS in browsers. The code is
freely available, everyone knows the benefit.

The only HTTP servers or clients I am aware of that don't have TLS
support are either toolsets that the provider expects to be used with
OpenSSL or the like and embedded systems.


I'll ask the google crawler guys to weigh in on this.  They have pretty
good
stats.  I believe your assertion is provably false.



Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
seem to do any good either. It just means that IPv6 is harder to
deploy as implementations are required to support a security layer
almost nobody uses as TLS has proved better.


Making TLS a mandatory requirement seems like a feelgood approach to
security to me. Instead of doing something useful, we pass a
resolution telling people to do what they plan to do anyway.


You imply there is something else that would be useful - what would it
be?
(don't feel obliged to answer :-)

To me mandating security is a great first step.  Nobody should think
this
'fixes' security. But if we believe the net ever needs to be secure, we
need
to start taking steps toward that.

Mandating SSL is a simple step we can take which solves most of the
eavesdropping problem right now.  But more importantly, it poises us to
address the next set of security issues, including CA/verification
problems,
distribution of video over ssl, handshake latency, etc.  Until we start
trying to be secure, of course we'll never be secure.

Mike




On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com<mailt=
o:paul.hoffman@gmail.com>>
wrote:
+1 to what seems to be a lot of developers: make TLS mandatory.

so, even when used in an internal application protocol, it's going
to
be end to end
encrypted to make it super hard to debug?

In an internal application protocol, why would it be "super hard to
debug"? The client can do an HTTP dump before TLS, the server can do
an HTTP dump after TLS; either of the sides could debug the TLS.

http is about more than users using
web browsers.

Completely true, and not relevant. Insecure HTTP for non-browser
applications still has the same bad properties, no?




--
Website: http://hallambaker.com/





--
Website: http://hallambaker.com/





--
Website: http://hallambaker.com/




--_000_5EEB652EFDA640B59FD2D8B41664C300netflixcom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <B68118BEF2A31A4D98D107320F52BBF3@netflix.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; ">
The problems with HTTP that HTTP/2.0 is intended to address seem to have no=
thing to do with security. Adding a requirement for use of TLS is unrelated=
 to the purpose of the new protocol and will restrict its usage. See&nbsp;<=
a href=3D"http://groups.csail.mit.edu/ana/Publications/PubPDFs/Tussle in Cy=
berspace Defining Tomorrows Internet 2005's Internet.pdf">http://groups.csa=
il.mit.edu/ana/Publications/PubPDFs/Tussle%20in%20Cyberspace%20Defining%20T=
omorrows%20Internet%202005's%20Internet.pdf</a>&nbsp;for
 why we should design protocols which flex along lines of controversy. This=
 question of mandating TLS seems to go directly against that advice.
<div><br>
</div>
<div>There are many services which make use of HTTP without TLS today that =
may find it more difficult to migrate to HTTP/2.0 if they also have to chan=
ge their security approach as well. The benefits of HTTP/2,0, whilst they m=
ay be substantial, are likely not
 sufficient to be &quot;worth the price&quot; of such a change. As a specif=
ic example, Netflix ships quite a lot of traffic over HTTP without TLS, yet=
 our service remains highly secure. Where we do use TLS we find significant=
 problems with it - switching to TLS for all
 traffic would be an order-of-magnitude bigger deal (on the minus side) tha=
n the benefits of HTTP/2.0.</div>
<div><br>
</div>
<div>=85Mark<br>
<div><br>
</div>
<div><br>
<div>
<div>On Jul 17, 2012, at 9:50 PM, Phillip Hallam-Baker wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div>Perhaps you are not aware that I work for a CA and I have spent 20<br>
years working on Web security, most of it developing the CA industry<br>
and PKI infrastructure.<br>
<br>
Maintaining the policies for accepting trust roots is essentially a<br>
full time job for each of the parties doing it. It is not just a<br>
matter of checking that a CA has a valid audit. The root manager has<br>
to determine that the audit actually relates to the root of trust to<br>
be included and that the practices adhered to meet the necessary<br>
inclusion criteria.<br>
<br>
<br>
Unlike a coding task, maintaining a root store is an ongoing<br>
commitment. It is not something that you can do once and forget.<br>
<br>
<br>
<br>
On Tue, Jul 17, 2012 at 11:51 PM, Mike Belshe &lt;<a href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</a>&gt; wrote:<br>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-B=
aker &lt;<a href=3D"mailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
</blockquote>
<blockquote type=3D"cite">wrote:<br>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">Umm pretty much every Web Server has SSL support,=
 the issue is that<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">only about 2% of deployments turn it on. Or is th=
e idea that we are<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">going to mandate turning it on? If so, who is goi=
ng to define the<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">trust criteria for accepting certs?<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">Browsers already have well documented policies fo=
r this. &nbsp;Major OSes also<br>
</blockquote>
<blockquote type=3D"cite">have their own policies (MacOS, Windows).<br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">I am a big supporter of TLS. I just don't see any=
thing good coming<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">from a mandate that is superfluous.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">As an example, we have had a mandate in PKIX to c=
heck CRLs and/or OCSP<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">for over a decade and to reject a certificate if =
the client cannot<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">perform validation. Most browsers try to check bu=
t accept the<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">certificate if there is no response to the OCSP r=
equest. So virtually<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">every deployed browser has been out of compliance=
 with a fundamental<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">PKIX control for over a decade despite repeated a=
ttempts by the CAs to<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">persuade the providers to change this.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">I can't see how DANE is going to solve anything e=
ither since DANE<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">poses an even more disruptive hard-fail criteria.=
<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">I don't want to tie an application layer protocol=
 version to a<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">transport layer protocol version or vice versa. I=
f you tie HTTP 2.0 to<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">TLS 1.2 then you are going to have to revise HTTP=
 when you revise TLS.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">This is not true. &nbsp;HTTP did not change when =
we went from earlier versions of<br>
</blockquote>
<blockquote type=3D"cite">TLS to the current versions. &nbsp;Browsers do su=
pport older versions of TLS,<br>
</blockquote>
<blockquote type=3D"cite">usually for older servers that haven't upgraded. =
&nbsp;Even SSL3 - shudder.<br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">I don't see any value in a Canute/sea act here.<b=
r>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">What would be valuable is to have a suite of stan=
dards for a specific<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">application that could be identified as a set. So=
mething like 'best<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">practices for Web server hosting, IPv6 &#43;HTTP =
2.0 &#43; TLS 1.2 with<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">AES&#43;SHA2 &#43; DNSSEC'. It would also be nice=
 to see a similar draft for<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">best practices for email clients and servers, and=
 yes, support for<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">STARTTLS would be high on my list of requirements=
. A draft like that<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">would be very useful as a contract term for outso=
urcing Web hosting or<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">mail service.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">But that is a totally different prospect to tryin=
g to tie HTTP to a<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">particular security solution.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">Implementing TLS in a product is far from trivial=
. Getting the code is<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">easy, selecting trust anchors is not. Is the spec=
ification going to<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">mandate a particular choice of trust anchor? that=
 is not going to<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">happen. Nor is defining a minimum Certification P=
olicy or locking the<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">whole HTTP trust infrastructure to the ICANN PKI =
root by trying to<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">mandate DNSSEC and DANE as well as TLS.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">TLS requires a PKI to work and every PKI comes wi=
th a set of policy<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">and legal questions that have to be understood if=
 the scheme is going<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">to provide any security.<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">Users expect privacy and security. &nbsp;We've al=
l seen the legislation around<br>
</blockquote>
<blockquote type=3D"cite">the globe for stronger security and privacy optio=
ns. &nbsp;SSL won't fix<br>
</blockquote>
<blockquote type=3D"cite">everything, I know, but it is a solid step, and i=
ts the responsible step for<br>
</blockquote>
<blockquote type=3D"cite">the protocol. &nbsp;I don't understand how we can=
 argue that HTTP/2.0 could be a<br>
</blockquote>
<blockquote type=3D"cite">protocol for the next 20 years if it is sniffable=
 over the wire.<br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">Go talk to non-techie users about whether HTTP is=
 secure. &nbsp;They assume it<br>
</blockquote>
<blockquote type=3D"cite">is. &nbsp;Ask them if they would prefer a secure =
protocol or an insecure one.<br>
</blockquote>
<blockquote type=3D"cite">Ask them if they think protocols should be eavesd=
roppable so that other<br>
</blockquote>
<blockquote type=3D"cite">people in the cafe can see what they're doing, st=
eal their passwords, and<br>
</blockquote>
<blockquote type=3D"cite">more? &nbsp;I have yet to find any of these users=
 that want this flimsy level of<br>
</blockquote>
<blockquote type=3D"cite">security.<br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">So- the problem we're solving here is to make use=
rs safer and raise the bar<br>
</blockquote>
<blockquote type=3D"cite">on web security globally.<br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">Mike<br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe &lt=
;<a href=3D"mailto:mike@belshe.com">mike@belshe.com</a>&gt; wrote:<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Mandatory SSL is &#43;1 and very forward thinking=
.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-B=
aker &lt;<a href=3D"mailto:hallam@gmail.com">hallam@gmail.com</a>&gt;<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">wrote:<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">-1<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">I don't want to have a mandatory requirement unle=
ss it is going to<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">change behavior.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">I don't think we can change behavior with protoco=
ls. &nbsp;All we can do is<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">offer<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">new features. &nbsp;If the features are compellin=
g, people will upgrade. &nbsp;If<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">the<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">features are not compelling, they won't.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">People used to tell me SPDY would never get peopl=
e to &quot;upgrade&quot;. &nbsp;Even<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">after<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">touching a half a billion users, people still tel=
l me that. &nbsp;I think the<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">evidence of adoption speaks for itself.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">We already have ubiquitous deployment of TLS in b=
rowsers. The code is<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">freely available, everyone knows the benefit.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">The only HTTP servers or clients I am aware of th=
at don't have TLS<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">support are either toolsets that the provider exp=
ects to be used with<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">OpenSSL or the like and embedded systems.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">I'll ask the google crawler guys to weigh in on t=
his. &nbsp;They have pretty<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">good<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">stats. &nbsp;I believe your assertion is provably=
 false.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Incidentally, suport for IPSEC is mandatory in IP=
v6 but that does not<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">seem to do any good either. It just means that IP=
v6 is harder to<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">deploy as implementations are required to support=
 a security layer<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">almost nobody uses as TLS has proved better.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Making TLS a mandatory requirement seems like a f=
eelgood approach to<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">security to me. Instead of doing something useful=
, we pass a<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">resolution telling people to do what they plan to=
 do anyway.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">You imply there is something else that would be u=
seful - what would it<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">be?<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">(don't feel obliged to answer :-)<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">To me mandating security is a great first step. &=
nbsp;Nobody should think<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">this<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">'fixes' security. But if we believe the net ever =
needs to be secure, we<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">need<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">to start taking steps toward that.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Mandating SSL is a simple step we can take which =
solves most of the<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">eavesdropping problem right now. &nbsp;But more i=
mportantly, it poises us to<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">address the next set of security issues, includin=
g CA/verification<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">problems,<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">distribution of video over ssl, handshake latency=
, etc. &nbsp;Until we start<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">trying to be secure, of course we'll never be sec=
ure.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Mike<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman &lt=
;<a href=3D"mailto:paul.hoffman@gmail.com">paul.hoffman@gmail.com</a>&gt;<b=
r>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">wrote:<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">&#43;1 to what seems to be a lot of developers: m=
ake TLS mandatory.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">so, even when used in an internal application pro=
tocol, it's going<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">to<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">be end to end<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">encrypted to make it super hard to debug?<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">In an internal application protocol, why would it=
 be &quot;super hard to<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">debug&quot;? The client can do an HTTP dump befor=
e TLS, the server can do<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">an HTTP dump after TLS; either of the sides could=
 debug the TLS.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">http is about more than users using<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">web browsers.<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Completely true, and not relevant. Insecure HTTP =
for non-browser<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">applications still has the same bad properties, n=
o?<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">--<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">Website: <a href=3D"http://hallambaker.com/">http=
://hallambaker.com/</a><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite"><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">--<br>
</blockquote>
</blockquote>
<blockquote type=3D"cite">
<blockquote type=3D"cite">Website: <a href=3D"http://hallambaker.com/">http=
://hallambaker.com/</a><br>
</blockquote>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<blockquote type=3D"cite"><br>
</blockquote>
<br>
<br>
<br>
-- <br>
Website: <a href=3D"http://hallambaker.com/">http://hallambaker.com/</a><br=
>
<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>

--_000_5EEB652EFDA640B59FD2D8B41664C300netflixcom_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:44:31 2012
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 26AA021F857F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:44:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.036
X-Spam-Level: 
X-Spam-Status: No, score=-7.036 tagged_above=-999 required=5 tests=[AWL=2.247, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315, SUBJ_RE_NUM=1]
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 CqH++wFGkvNi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:44:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 59E6021F857A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:44:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrN3T-0004GS-1l for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:44:11 +0000
Resent-Date: Wed, 18 Jul 2012 05:44:11 +0000
Resent-Message-Id: <E1SrN3T-0004GS-1l@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrN3I-00048a-4w for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:44:00 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrN3D-0000go-Mg for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:44:00 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3436)) with SMTP id <0019145258@smtp.qbik.com>; Wed, 18 Jul 2012 17:43:32 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Mike Belshe" <mike@belshe.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 05:43:32 +0000
Content-Type: multipart/alternative; boundary="------=_MB425DCC9F-F174-4B86-9CF8-68229A23329E"
In-Reply-To: <CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com>
Message-Id: <emd391ff05-7dde-4f10-8b36-c782ac38aeea@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrN3D-0000go-Mg 49069261c3159bec3119b1823a6edccf
X-Original-To: ietf-http-wg@w3.org
Subject: Re[4]: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/emd391ff05-7dde-4f10-8b36-c782ac38aeea@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14447
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>

--------=_MB425DCC9F-F174-4B86-9CF8-68229A23329E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Original Message ------
From: "Mike Belshe" mike@belshe.com
>
>
>On Tue, Jul 17, 2012 at 9:51 PM, Adrien W. de Croy <adrien@qbik.com> wrote=
:
>=20
> ------ Original Message ------
> From: "Mike Belshe" mike@belshe.com
> >
> >
> >On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy <adrien@qbik.com> =
wrote:

> > Mandating use of (c.f. support for) crypto in HTTP will prevent it=20
> > from being deployable in a significant number of scenarios, thereby=20
> > requiring ongoing use of HTTP/1.1.

 >=20
 > This is true for any manifestation of HTTP/2.0 with or without=20
 > security.

> I don't know if it should be a goal though.  IMO the goal should be=20
> to replace the old with something better, not replace it with=20
> something that can only be used by a subset of current users, and=20
> therefore requires continued perpetual use of the old.
=20
 Agree; goal should be to be better.  That doesn't mean that I think=20
 everyone will jump to it in short order, though.=20
I don't expect anything to be jumped to in short order.





> > DESIRABILITY OF PRIVACY

> > Proponents of mandatory crypto=20
> > are making an assumption that privacy is ALWAYS desirable.

> > It is not ALWAYS desirable.=20

> > In many cases privacy is undesirable or even illegal.

> > 1. Many states have outlawed use of crypto.  So will this be HTTP=20
> > only for the "free" societies?  Or is the IETF trying to achieve=20
> > political change in "repressed" countries?  I've dealt with our=20
> > equivalent of the NSA on this matter.  Have you?  I know the IETF=20
> > has a neutral position on enabling wiretapping.  Mandating SSL is=20
> > not a neutral / apolitical stance.  Steering HTTP into a collision=20
> > course with governments just doesn't seem like much of a smart idea.
 >=20
 > I don't know of states that prohibit TLS.  Do they exist?  Which=20
 > ones are they?  Can you list them?

> It's hard to get recent information, but my understanding is that a=20
> lot of of people live in jurisdictions where crypto is tightly=20
> controlled.

> E.g. China, India, several mid-eastern and former soviet countries.
> >
> >Are you saying that HTTP/2.0 must be compliant with the laws of=20
> >every country?  And that any country passing a law making HTTP/2.0=20
> >features illegal will block HTTP/2.0? :-)

 >In practice, we would have different levels of difficulty ignoring=20
 >laws of a country depending on which country that was.

 >If the US passed a law that banned it, and threatened to put you in=20
 >jail, you may give that more weight.

 >Governments already have wiretapping laws.  Do you think they will=20
 >abandon that as a desire?
 >Many laws on crypto were only relatively recently relaxed.  There's=20
 >an ongoing tussle between security agencies of government and privacy=20
 >advocates over it.  We can't guarantee that within the next 5 years=20
 >that any country wouldn't make it illegal.

 >It's not like we can claim there's no reasonable expectation to=20
 >consider laws when it comes to crypto.  That's the one area of=20
 >software development where caveats and warnings are stamped over so=20
 >much code and documentation that we can't claim to be unaware it's an=20
 >issue.
>
>
>Well, when you've got a specific country to talk about, please raise=20
>the issue.
Maybe someone from one of the countries I listed above would be in a=20
better position to comment than I am.

>


> > 2. Most prisons do not allow inmates to have privacy when it comes=20
> > to communications.  Would you deny [*] all prisoners access to the=20
> > web?  There are other scenarios where privacy is not expected,=20
> > permitted or desirable.=20
 >=20
 > I doubt this is a problem.  If it is, then the poor prisoners are=20
 > already being denied access to their banks, most all of which=20
 > require TLS.
> Maybe there's not much sympathy for prisoners.  That's just one=20
> example.

> Schools, homes and businesses are also places where there may be=20
> deemed (by those in charge) a need to monitor activity.
=20
 They already have this problem.  Twitter, Google, and Facebook have=20
 all publicly declared that they are working their way to 100% TLS all=20
 the time.  These issues exist today.  If you want to filter TLS, you=20
 can; several vendors provide solutions.
Sure, and as said before, this is not without security implications.

>
>But schools have bigger problems - like those cell phones with more=20
>bandwidth than the school has to its classrooms. =20
Many schools ban cellphones.  My son's school does.

>
>I don't think the protocol has an obligation to reduce security so=20
>that prisons, schools, or other institutions can institute content=20
>control.   And by the time this standard is done, the policy rules=20
>will have changed again.

I'm not proposing we take the current level of security of HTTP/1.1 and=20
reduce it.

you're proposing we add TLS.  Whilst that will provide a level of=20
privacy in many cases, I don't think it will overall result in an=20
improved security situation overall, especially if it breaks SSL/TLS. =20
I kinda like SSL/TLS, I'd like it to continue to be usable.
>
>A simple thing we do know is that users expect and deserve to be=20
>protected by the protocols and sites they visit.  We're passing more=20
>laws every day to ensure this - and HTTP can help.

rubbish, we know no such thing.

all users are not equal.  All users are not equally deserving of=20
privacy in all situations.


>




> > 3. Many situations require communications to be open and visible. =20
> > Would you rather your network infrastructure phoned home with SSL=20
> > or HTTP that you can see.
 >=20
 > Can you enumerate these?  For debugging, of course it makes sense=20
 > for endpoints to have unencrypted modes.  We can also build better=20
 > tools, such as the improvements for decoding TLS traffic with=20
 > Wireshark that have landed recently.

> Can only decode NULL cipher.
=20
 With wireshark you can decide SSL session if you let your browser dump=20
 the private keys.  Chrome supports this.  http://www.imperialviolet.org/20=
12/06/25/wireshark.html


OK, well let's hope we never have to debug any protocol - level stuff=20
with any other client software.

>


> Huawei recently got excluded from bidding for an Australian govt=20
> contract (a large one) due to concerns over possibility of=20
> eavesdropping.
=20
 Excellent point for why we should make the protocol more secure :-) =20
 If everything were encrypted, it wouldn't have been a problem.=20
Sure, anything sensitive should be encrypted before it goes over that=20
infrastructure.  But I'm sure some large equipment vendor was lobbying=20
somewhere.
>


> Mandating privacy on HTTP will make it easier in some cases (e.g.=20
> infrastructure) to eavesdrop on non-private communication.
=20
 What?  Mandating privacy makes it easier to eavesdrop?  I don't think=20
 so :-)

sure it does.  How can you tell if something is spyware or=20
eavesdropping on you if you can't see if the phone home data is a=20
version check or a report of your activity because it's encrypted?

If my phone-home data is plaintext HTTP, I can demonstrate it's not=20
eavesdropping.

>



> > 4. Scanning for malware at a gateway.  This requirement is NOT=20
> > going away, and the SSL will be brute-forced / spoofed etc to=20
> > achieve this.  Mandating SSL will just make it easier for malware=20
> > to propagate, since you make it harder to scan [**].
 >=20
 > This problem exists today; IP leakage has to be checked even across=20
 > TLS based connections.  Solutions for these corporate IT groups=20
 > exist, including TLS aware proxies and TLS man in the middle. =20
 > Several vendors provide these solutions today.

> Sure.  But as previously discussed, the way it is done results in an=20
> overall reduction in security.  A "sanctioned" way would be much=20
> preferable, but necessarily reduces privacy potentially to 0.
=20
 I disagree that it takes privacy to zero.=20
I said potentially.  If you let your company see your data because they=20
operate the proxy that terminates the SSL connection from the browser,=20
then your expectation of privacy (from your company) is potentially 0.

Companies will continue to insist on scanning or blocking.=20
> The end user will be aware of such changes; these are only possible=20
>by changing the trust points in the browser.  If your company gives=20
>you a browser, it can change your trust points.  But if it is your own=20
>browser, you pick the trust points.
>
>I agree this is obscure, but it is something we can improve upon.  I=20
>agree that we should.
>
>Until we turn on SSL for everyone, it won't likely get improved.

Yeah I dunno, I think we could improve it independently of that.



> And, do we want shared caches to continue to exist?
=20
 Of course we do.  We switch to opt-in proxies (like what Roberto Peon=20
 has proposed) rather than the transparent proxies that we have today. =20
 These are much better because the user has the opportunity to know the=20
 proxy is there, unlike today. =20
We've been recommending against using transparent proxying for years. =20
Unfortunately that doesn't reduce demand for it.

proxy discovery needs to be greatly improved.

But even with explicit proxy use by the client, for SSL/TLS that just=20
boils down to HTTP CONNECT, which bypasses the proxy anyway.

>Personally, the security risks of using such a proxy probably outweigh=20
>the performance advantages for most people.

Using a home or corporate proxy has security risks that outweigh=20
benefits of shared cache and scanning????

Problem is, the people who operate these proxies think differently to=20
you.  They want to see and scan everything.  They don't care so much=20
about privacy on their LAN.=20

They also may pay for data, so they want to cache.

Wireless hotspots is a different issue of course, something needs to be=20
done about that.

>  This is similar in concept to what Douglas Beaver articulated so=20
>well in a separate thread.
>



>> COST

>> Google, Facebook and Twitter don't need to spend much on SSL certs=20
>> from CAs.  Not in the scheme of things.
>=20
> Actually, this is not true.  These companies spend the most on "well=20
> rooted" certificates.

 not compared to their revenues is what I meant.
 >


 > What about the other hundreds of millions of us running web servers.=20
 >  You gonna buy us our certs?  I better buy me some shares in=20
 > Verisign et al..
>=20
> They are free - https://www.startssl.com/

 the thin edge of the wedge.  How can one have any faith in some entity=20
 vouching for some other entity when no payment is made (therefore no=20
 rigorous check can be made).
=20



 > SECURITY

 > Mandating SSL on all devices with HTTP stacks (e.g. your home=20
 > network infrastructure, NAS, Modem etc) cannot be practically done=20
 > while we rely on CAs to issue certs, and while those certs must be=20
 > installed, expired, updated etc etc.
>=20
> I think it can!
 I'm sure it can be made a lot easier.

 I think maybe even it could be made easy enough for my mom to do it on=20
 her DSL modem web interface... er... maybe not....



 > Or do you think manufacturers of such hardware should just ship with=20
 > some default cert?  Self-signed maybe?  And while you're at it, why=20
 > not get every machine in the world to trust that cert...  Oh dear,=20
 > do we have a security problem?=20
>=20
> I think we could do self signed certs and also continue to improve=20
> the CA infrastructure.  I'd like to see Google become a CA with a=20
> super-easy certificate issuing process.

 I foresee a problem where OSes have too many trusted root certs to=20
 manage.  The more CAs and trusted root certs we end up with, the=20
 larger the attack surface for anyone trying to inject badness into the=20
 system.

 No-one surely needs reminding about the recent CA breaches and bad=20
 certs issued.

 Security is only as strong as the weakest link, which is invariably=20
 us.  I don't know what we're aiming for, security or a false sense of=20
 it.


 > Frankly I think mandating SSL for all HTTP/2.0 will just break SSL=20
 > for the world (or more likely consign HTTP/2.0 to relative=20
 > obscurity).=20

>  It's been alluded to that we'd replace the CA infrastructure.  Don't=20
>  you think it's premature to propose mandatory use of SSL when you=20
>  haven't proposed what would replace the CA infrastructure yet? =20
>  That's like starting building a spaceship for Alpha Centauri based=20
>  on a rocket engine that hasn't been invented yet.
 =20
  Many researchers and security experts agree we need a CA overhaul. =20
  But this doesn't mean that the existing CA infrastructure is not=20
  usable.  Despite its flaws, it is better than no CA system.  And we=20
  can fix it!  Look at this as an opportunity, not a hurdle.
 I'd love to fix it.  Not sure how though.



 > You'd have to replace CRL and OCSP checking protocols, because they=20
 > use HTTP, and mandating use of SSL for that would create a paradox=20
 > (how do you check the cert on the connection used to check the cert=20
 > ad infinitum).
>=20
> Naw, the browsers wouldn't need to validate the cert from the OCSP=20
> server because the contents that they fetch are self-signed and=20
> verifiable independently.
 verifiable independently?  With certs?  How do you check those?

 Or do we rely on DNS for that?




 > OTHER

 > Most people here seem to focus on issues such as CPU load, extra=20
 > R-Ts introduced by the SSL setup etc.  Those are valid concerns, but=20
 > they are easier to overcome than the others. They aren't easy to=20
 > overcome, just easier.
>=20
> Agree.



>  Seems to me it would be a whole lot simpler and more compatible with=20
>  the actual world we actually live on just to make crypto optional.
 =20
  True.  It would also be a whole lot less secure, leave users exposed=20
  on the net to trust that every single website remembered to secure=20
  the communicates of private data and that none of them use sniffable=20
  cookies.... =20

 The current situation is really that bad?
=20

 >


 > Adrien


 > [*] We can't realistically expect server operators to indefinitely=20
 > support both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop=20
 > HTTP/1.1 support, and that part of the internet will then become=20
 > unavailable to those forced to keep using HTTP/1.1, effectively=20
 > denying those users.
>=20
> Actually, HTTP/1.1 will become like IE6.  It will be this legacy=20
> thing holding back the world.  Eventually there will be big pushes to=20
> rid the world of this insecure protocol that we wish we no longer had=20
> lying around :-)


>  [**] T
>  here has been some discussion about enabling intermediaries to be=20
>  able to see plaintext payload by terminating the SSL connection at=20
>  each end.  This hasn't progressed enough, and the current proposals=20
>  still basically bypass intermediaries AFAICT.

 =20
  Agree it needs more work.  But I don't think this should be a=20
  condition of making HTTP/2.0 a more secure protocol.

 My main issue is not with security or privacy, but only relating to=20
 mandating the USE of it.

 Adrien
=20

 >
 >Mike

 >
>

--------=_MB425DCC9F-F174-4B86-9CF8-68229A23329E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#0e0f987d89844e4b93fda3298afdf311 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#0e0f987d89844e4b93fda3298afdf311 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#0e0f987d89844e4b93fda3298afdf311=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#0e0f987d89844e4b93fda3298afdf311 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Mike=
 Belshe" <A href=3D"mailto:mike@belshe.com">mike@belshe.com</A><BR>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311><BR><BR>
<DIV class=3Dgmail_quote>On Tue, Jul 17, 2012 at 9:51 PM, Adrien W. de Croy=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:adrien@qbik.com"><A href=3D"mailto:a=
drien@qbik.com">adrien@qbik.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV class=3Dim><BR>------ Original Message ------<BR>From: "Mike Belshe"=
 <A href=3D"mailto:mike@belshe.com"><A href=3D"mailto:mike@belshe.com">mike=
@belshe.com</A></A><BR>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV><BR><BR>
<DIV class=3Dgmail_quote>On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:adrien@qbik.com"></A><A href=3D"mail=
to:adrien@qbik.com"><A href=3D"mailto:adrien@qbik.com">adrien@qbik.com</A><=
/A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating use of (c.f. support for) crypto in HTTP will prevent it =
from being deployable in a significant number of scenarios, thereby requiri=
ng ongoing use of&nbsp;HTTP/1.1.</DIV>
<DIV>&nbsp;</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>This is true for any manifestation of HTTP/2.0 with or without securit=
y.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>I don't know if it should be a goal though.&nbsp; IMO the goal should=
 be to replace the old with something better, not replace it with something=
 that can only be used by a subset of current users, and therefore requires=
 continued perpetual use of the old.<BR></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Agree; goal should be to be better. &nbsp;That doesn't mean that I =
think everyone will jump to it in short order, though.&nbsp;</DIV></DIV></D=
IV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>I don't expect anything to be jumped=
 to in short order.</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV></DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>DESIRABILITY OF PRIVACY</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN>
<DIV><SPAN>
<DIV><SPAN>
<DIV>Proponents of mandatory crypto </DIV></SPAN></DIV></SPAN>are making=
 an assumption <SPAN><SPAN>that privacy is ALWAYS desirable.</SPAN></SPAN><=
/DIV>
<DIV><SPAN><SPAN></SPAN></SPAN>&nbsp;</DIV></SPAN></DIV></DIV>
<DIV>It is not ALWAYS desirable. </DIV>
<DIV>&nbsp;</DIV>
<DIV>In many cases <SPAN>privacy </SPAN>is undesirable or even illegal.</DI=
V>
<DIV>&nbsp;</DIV>
<DIV>1. Many states have outlawed use of crypto.&nbsp; So will this be HTTP=
 only for the "free" societies?&nbsp; Or is the IETF trying to achieve poli=
tical change in "repressed" countries?&nbsp; I've dealt with our equivalent=
 of the NSA on this matter.&nbsp; Have you?&nbsp; I know the IETF has a =
neutral position on enabling wiretapping.&nbsp; Mandating SSL is not a neut=
ral / apolitical stance.&nbsp; Steering HTTP into a collision course with=
 governments just doesn't seem like much of a smart idea.</DIV></BLOCKQUOTE=
>
<DIV><BR></DIV>
<DIV>I don't know of states that prohibit TLS. &nbsp;Do they exist? &nbsp;W=
hich ones are they? &nbsp;Can you list them?</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>It's hard to get recent information, but my understanding is that a=
 lot of of people live in jurisdictions where crypto is tightly controlled.=
</DIV>
<DIV>&nbsp;</DIV>
<DIV>E.g. China, India, several mid-eastern and former soviet countries.<BR=
></DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Are you saying that HTTP/2.0 must be compliant with the laws of every=
 country? &nbsp;And that any country passing a law making HTTP/2.0 features=
 illegal will block HTTP/2.0? :-)</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV><SPAN>
<DIV>In practice, we would have different levels of difficulty ignoring =
laws of a country depending on which country that was.</DIV></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>If the US passed a law that banned it, and threatened to put you in=
 jail, you may give that more weight.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Governments already have wiretapping laws.&nbsp; Do you think they =
will abandon that as a desire?<BR></DIV>
<DIV>Many laws on crypto were only relatively recently relaxed.&nbsp; There=
's an ongoing tussle between security agencies of government and privacy=
 advocates over it.&nbsp; We can't guarantee that within the next 5 years=
 that any country&nbsp;wouldn't make it illegal.</DIV>
<DIV>&nbsp;</DIV>
<DIV>It's not like we can claim there's no reasonable expectation to consid=
er laws when it comes to crypto.&nbsp; That's the one area of software deve=
lopment where caveats and warnings are stamped over so much code and docume=
ntation that we can't claim to be unaware it's an issue.</DIV></DIV></BLOCK=
QUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Well, when you've got a specific country to talk about, please raise=
 the issue.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>Maybe someone from one of the countri=
es I listed above would be in a better position to comment than I am.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>2. Most prisons do not allow inmates to have privacy when it comes =
to communications.&nbsp; Would you deny [*]&nbsp;all prisoners access to=
 the web?&nbsp; There are other scenarios where privacy is not expected,=
 permitted or desirable.&nbsp;</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I doubt this is a problem. &nbsp;If it is, then the poor prisoners =
are already being denied access to their banks, most all of which require=
 TLS.</DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV>Maybe there's not much sympathy for prisoners.&nbsp; That's just one=
 example.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Schools, homes and businesses are also places where there may be deeme=
d (by those in charge) a need to monitor activity.</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>They already have this problem. &nbsp;Twitter, Google, and Facebook=
 have all publicly declared that they are working their way to 100% TLS =
all the time. &nbsp;These issues exist today. &nbsp;If you want to filter=
 TLS, you can; several vendors provide solutions.</DIV></DIV></DIV></BLOCKQ=
UOTE>
<DIV 10px; margin-bottom: margin-top:>Sure, and as said before, this is =
not without security implications.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR>But schools have bigger problems - like those cell phones with =
more bandwidth than the school has to its classrooms. &nbsp;</DIV></DIV></D=
IV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>Many schools ban cellphones.&nbsp;=
 My son's school does.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>I don't think the protocol has an obligation to reduce security so =
that prisons, schools, or other institutions can institute content control.=
 &nbsp; And by the time this standard is done, the policy rules will have=
 changed again.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I'm not proposing we take the current=
 level of security of HTTP/1.1 and reduce it.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>you're proposing we add TLS.&nbsp;=
 Whilst that will provide a level of privacy in many cases, I don't think=
 it will overall result in an improved security situation overall, especial=
ly if it breaks SSL/TLS.&nbsp; I kinda like SSL/TLS, I'd like it to continu=
e to be usable.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>A simple thing we do know is that users expect and deserve to be prote=
cted by the protocols and sites they visit. &nbsp;We're passing more laws=
 every day to ensure this - and HTTP can help.</DIV></DIV></DIV></BLOCKQUOT=
E>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>rubbish, we know no such thing.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>all users are not equal.&nbsp; All=
 users are not equally deserving of privacy in all situations.</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV class=3Dim>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>3. Many situations require communications to be open and visible.&nbsp=
; Would you rather your network infrastructure phoned home with SSL or HTTP=
 that you can see.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Can you enumerate these? &nbsp;For debugging, of course it makes sense=
 for endpoints to have unencrypted modes. &nbsp;We can also build better=
 tools, such as the improvements for decoding TLS traffic with Wireshark=
 that have landed recently.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>Can only decode NULL cipher.</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>With wireshark you can decide SSL session if you let your browser dump=
 the private keys. &nbsp;Chrome supports this. &nbsp;<A href=3D"http://www.=
imperialviolet.org/2012/06/25/wireshark.html"><A href=3D"http://www.imperia=
lviolet.org/2012/06/25/wireshark.html">http://www.imperialviolet.org/2012/0=
6/25/wireshark.html</A></A></DIV>
<DIV></DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>OK, well let's hope we never have =
to debug any protocol - level stuff with any other client software.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>Huawei recently got excluded from bidding for an Australian govt contr=
act (a large one) due to concerns over possibility of eavesdropping.</DIV><=
/DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Excellent point for why we should make the protocol more secure :-)=
 &nbsp;If everything were encrypted, it wouldn't have been a problem.&nbsp;=
</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>Sure, anything sensitive should be=
 encrypted before it goes over that infrastructure.&nbsp; But I'm sure some=
 large equipment vendor was lobbying somewhere.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating privacy on HTTP will make it easier in some cases (e.g. infr=
astructure) to eavesdrop on non-private communication.<BR></DIV></DIV></BLO=
CKQUOTE>
<DIV><BR></DIV>
<DIV>What? &nbsp;Mandating privacy makes it easier to eavesdrop? &nbsp;I=
 don't think so :-)</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>sure it does.&nbsp; How can you tell=
 if something is spyware or eavesdropping on you if you can't see if the=
 phone home data is a version check or a report of your activity because=
 it's encrypted?</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>If my phone-home data is plaintext=
 HTTP, I can demonstrate it's not eavesdropping.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV></DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>4. Scanning for malware at a gateway.&nbsp; This requirement is NOT=
 going away, and the SSL will be brute-forced / spoofed etc to achieve this=
.&nbsp; Mandating SSL will just make it easier for malware to propagate,=
 since you make it harder to scan [**].</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>This problem exists today; IP leakage has to be checked even across=
 TLS based connections. &nbsp;Solutions for these corporate IT groups exist=
, including TLS aware proxies and TLS man in the middle. &nbsp;Several vend=
ors provide these solutions today.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>Sure.&nbsp; But as previously discussed, the way it is done results=
 in an overall reduction in security.&nbsp; A "sanctioned" way would be =
much preferable, but necessarily reduces privacy potentially to 0.</DIV></D=
IV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I disagree that it takes privacy to zero. </DIV></DIV></DIV></BLOCKQUO=
TE>
<DIV 10px; margin-bottom: margin-top:>I said potentially.&nbsp; If you let=
 your company see your data because they operate the proxy that terminates=
 the SSL connection from the browser, then your expectation of privacy (fro=
m your company) is potentially 0.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Companies will continue to insist =
on scanning or blocking. <BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV>&nbsp;The end user will be aware of such changes; these are only possi=
ble by changing the trust points in the browser. &nbsp;If your company give=
s you a browser, it can change your trust points. &nbsp;But if it is your=
 own browser, you pick the trust points.</DIV>
<DIV><BR></DIV>
<DIV>I agree this is obscure, but it is something we can improve upon. &nbs=
p;I agree that we should.</DIV>
<DIV><BR></DIV>
<DIV>Until we turn on SSL for everyone, it won't likely get improved.</DIV>=
</DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Yeah I dunno, I think we could improv=
e it independently of that.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>And, do we want shared caches to continue to exist?</DIV></DIV></BLOCK=
QUOTE>
<DIV><BR></DIV>
<DIV>Of course we do. &nbsp;We switch to opt-in proxies (like what Roberto=
 Peon has proposed) rather than the transparent proxies that we have today.=
 &nbsp;These are much better because the user has the opportunity to know=
 the proxy is there, unlike today. &nbsp;</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>We've been recommending against using=
 transparent proxying for years.&nbsp; Unfortunately that doesn't reduce=
 demand for it.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>proxy discovery needs to be greatly=
 improved.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>But even with explicit proxy use by=
 the client, for SSL/TLS that just boils down to HTTP CONNECT, which bypass=
es the proxy anyway.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV>Personally, the security risks of using such a proxy probably outweigh=
 the performance advantages for most people.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Using&nbsp;a home or corporate proxy=
 has security risks that outweigh benefits of shared cache and scanning????=
</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Problem is, the people who operate=
 these proxies think differently to you.&nbsp; They want to see and scan=
 everything.&nbsp; They don't care so much about privacy on their LAN.&nbsp=
;</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>They also may pay for data, so they=
 want to cache.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Wireless hotspots is a different issu=
e of course, something needs to be done about that.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RL=
PyMgR-Nw@mail.gmail.com type=3D"cite">
<DIV id=3D0e0f987d89844e4b93fda3298afdf311>
<DIV class=3Dgmail_quote>
<DIV> &nbsp;This is similar in concept to what Douglas Beaver articulated=
 so well in a separate thread.</DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>COST</DIV>
<DIV>&nbsp;</DIV>
<DIV>Google, Facebook and Twitter don't need to spend much on SSL certs =
from CAs.&nbsp; Not in the scheme of things.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Actually, this is not true. &nbsp;These companies spend the most on=
 "well rooted" certificates.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>not compared to their revenues is what I meant.<BR></DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>What about the other&nbsp;hundreds of millions&nbsp;of us running web=
 servers.&nbsp; You gonna buy us our certs?&nbsp; I better buy me some shar=
es in Verisign et al..</DIV>
<DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>They are free - <A href=3D"https://www.startssl.com/"></A><A href=3D=
"https://www.startssl.com/"><A href=3D"https://www.startssl.com/">https://w=
ww.startssl.com/</A></A></DIV>
<DIV>&nbsp;</DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV>the thin edge of the wedge.&nbsp; How can one have any faith in some=
 entity vouching for some other entity when no payment is made (therefore=
 no rigorous check can be made).</DIV>
<DIV class=3Dim>
<DIV><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SECURITY</DIV>
<DIV>&nbsp;</DIV>
<DIV>Mandating SSL on all devices with HTTP stacks (e.g. your home network=
 infrastructure, NAS, Modem etc) cannot be practically done while we rely=
 on CAs to issue certs, and while those certs must be installed, expired,=
 updated etc etc.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I think it can!</DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV>I'm sure it can be made a lot easier.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think maybe even it could be made easy enough for my mom to do it=
 on her DSL modem web interface... er... maybe not....</DIV>
<DIV class=3Dim>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>Or do you think manufacturers of such hardware should just ship with=
 some default cert?&nbsp; Self-signed maybe?&nbsp; And while you're at it,=
 why not get every machine in the world to trust that cert...&nbsp; Oh dear=
, do we have a security problem?&nbsp;</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I think we could do self signed certs and also continue to improve =
the CA infrastructure. &nbsp;I'd like to see Google become a CA with a supe=
r-easy certificate issuing process.</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>I foresee a problem where OSes have too many trusted root certs to =
manage.&nbsp; The more CAs and trusted root certs we end up with, the large=
r the attack surface for anyone trying to inject badness into the system.</=
DIV>
<DIV>&nbsp;</DIV>
<DIV>No-one surely needs reminding about the recent CA breaches and bad =
certs issued.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Security is only as strong as the weakest link, which is invariably=
 us.&nbsp; I don't know what we're aiming for, security or a false sense=
 of it.<BR></DIV>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL =
for the world (or more likely consign HTTP/2.0 to relative obscurity).&nbsp=
;</DIV></BLOCKQUOTE>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>It's been alluded to that we'd replace the CA infrastructure.&nbsp;=
 Don't you think it's premature to propose mandatory use of SSL when you=
 haven't proposed what would replace the CA infrastructure yet?&nbsp; That'=
s like starting building a&nbsp;spaceship for&nbsp;Alpha Centauri&nbsp;base=
d on a rocket engine that hasn't been invented yet.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Many researchers and security experts agree we need a CA overhaul. =
&nbsp;But this doesn't mean that the existing CA infrastructure is not usab=
le. &nbsp;Despite its flaws, it is better than no CA system. &nbsp;And we=
 can fix it! &nbsp;Look at this as an opportunity, not a hurdle.</DIV></DIV=
></DIV></BLOCKQUOTE></DIV>
<DIV>I'd love to fix it.&nbsp; Not sure how though.</DIV>
<DIV class=3Dim>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>You'd have to replace CRL and OCSP checking protocols, because they=
 use HTTP, and mandating use of SSL for that would create a paradox (how=
 do you check the cert on the connection used to check the cert ad infinitu=
m).</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Naw, the browsers wouldn't need to validate the cert from the OCSP =
server because the contents that they fetch are self-signed and verifiable=
 independently.</DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV>verifiable independently?&nbsp; With certs?&nbsp; How do you check =
those?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Or do we rely on DNS for that?</DIV>
<DIV class=3Dim>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>OTHER</DIV>
<DIV>&nbsp;</DIV>
<DIV>Most people here seem to focus on issues such as CPU load, extra R-Ts=
 introduced by the SSL setup etc.&nbsp; Those are valid concerns, but they=
 are easier to overcome than the others. They aren't easy to overcome, just=
 easier.</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Agree.</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Seems to me it would be a whole lot simpler and more compatible with=
 the actual world we actually live on just to make&nbsp;crypto optional.</D=
IV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>True. &nbsp;It would also be a whole lot less secure, leave users expo=
sed on the net to trust that every single website remembered to secure the=
 communicates of private data and that none of them use sniffable cookies..=
.. &nbsp;</DIV></DIV></DIV></BLOCKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>The current situation is really that bad?</DIV>
<DIV class=3Dim>
<DIV><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>[*] We can't realistically expect server operators to indefinitely =
support both HTTP/2.0 and HTTP/1.1.&nbsp; Some will inevitably drop HTTP/1.=
1 support, and that part of the internet will then become unavailable to=
 those forced to keep using HTTP/1.1, effectively denying those users.</DIV=
></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Actually, HTTP/1.1 will become like IE6. &nbsp;It will be this legacy=
 thing holding back the world. &nbsp;Eventually there will be big pushes=
 to rid the world of this insecure protocol that we wish we no longer had=
 lying around :-)</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV>
<DIV><SPAN>
<DIV>[**] T</DIV></SPAN>here has been some discussion about enabling interm=
ediaries to be able to see plaintext payload by terminating the SSL connect=
ion at each end.&nbsp; This hasn't progressed enough, and the current propo=
sals still basically bypass intermediaries AFAICT.</DIV>
<DIV>&nbsp;</DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Agree it needs more work. &nbsp;But I don't think this should be a =
condition of making HTTP/2.0 a more secure protocol.</DIV></DIV></DIV></BLO=
CKQUOTE>
<DIV>&nbsp;</DIV></DIV>
<DIV>My main issue is not with security or privacy, but only relating to=
 mandating the USE of it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcR=
NYp=3D7-DkZWdEVWA@mail.gmail.com type=3D"cite">
<DIV>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>Mike</DIV>
<DIV>&nbsp;</DIV></DIV><BR></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></DIV><=
/BLOCKQUOTE></BODY></HTML>
--------=_MB425DCC9F-F174-4B86-9CF8-68229A23329E--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:45:38 2012
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 010F421F8525 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:45:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.555
X-Spam-Level: 
X-Spam-Status: No, score=-10.555 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 IEtkjGHzcH49 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:45:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A7CA611E811B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:45: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 1SrN58-0002Yo-GJ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:45:54 +0000
Resent-Date: Wed, 18 Jul 2012 05:45:54 +0000
Resent-Message-Id: <E1SrN58-0002Yo-GJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrN4x-0001v3-M0 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:45:43 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrN4w-0000lj-8h for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:45:43 +0000
Received: by weyx43 with SMTP id x43so767895wey.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 22:45:15 -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=YDcXm1pCnoa4rYcBmImK9SytiN973a5FJ9HlCBjyQic=; b=ZMDx1+73XXuxUirUJeJ3jJqHYhoGBuQ2Yo1s5RRtKDY66vShTIT82CUo81TaJ2oFkD i962brrxw3x8/wYQUbx3ObMRO5wgHhKqTM+XYEJJmS0i5XVBjibunP/E4QSR4+/WDwtc sR/4UzlzefMIxhs2dSGxso+Ng/wrmLgzCHOcazARYMs9Ai6VVOhZkQgwGqkj4LJ3kurw wjxPtOvXzzPfJ1bst9vce/0SviqJ2wo3l/2dRFiuJoP7F429XmSPqVWIAhIVzyBEXGF9 GlI7akNSMBpLjTuypfayc2Ee7rMmWfYXSS51J4B8vqyZ04mMeAPR3Py+YszlizfM/Fxf GqDA==
MIME-Version: 1.0
Received: by 10.216.213.37 with SMTP id z37mr998679weo.132.1342590315588; Tue, 17 Jul 2012 22:45:15 -0700 (PDT)
Received: by 10.194.42.197 with HTTP; Tue, 17 Jul 2012 22:45:15 -0700 (PDT)
In-Reply-To: <ema7942247-d20a-4cc9-9baf-1f153a84eb55@bombed>
References: <CC2B968D.25BEA%rbector@yahoo-inc.com> <ema7942247-d20a-4cc9-9baf-1f153a84eb55@bombed>
Date: Tue, 17 Jul 2012 22:45:15 -0700
Message-ID: <CAP+FsNc19T72cNgXo1B=KG0KF0+9GhpTpU83+Yf7r4ZVTRmx=w@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>,  =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6dab140d6ed1204c5142a82
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrN4w-0000lj-8h 67759a62ac054a0c9366fa0604747085
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[4]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAP+FsNc19T72cNgXo1B=KG0KF0+9GhpTpU83+Yf7r4ZVTRmx=w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14448
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>

--0016e6dab140d6ed1204c5142a82
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 8:34 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> we can already transfer many objects over a single connection with HTTP/1=
.1
>
> SPDY without SSL would be more speedy than with it.
>

Assuming you could deploy it successfully and reliably to everyone, which
is not a trivial matter.


>
> There may be only a couple R-Ts to get an SSL handshake, but sprinkle on =
a
> CRL / OCSP check and you're left eating dust.
>
> So, let's just get this straight for the record.  SSL will not improve
> latency.  It will make it worse, and for many people (on
> already-high-latency links) a LOT worse.
>

SSL transforms something which is potentially not deployable into something
which is eminently deployable.
If the thing which is now deployed is able to amortize that cost, the
result may be a net benefit.
You're right that the first-order effect of SSL is to add RTTs to the
initial handshake.
You're neglecting the second-order effects.
-=3DR


>
>
> ------ Original Message ------
> From: "Rajeev Bector" <rbector@yahoo-inc.com>
> To: "Adrien W. de Croy" <adrien@qbik.com>;"Martin Thomson" <
> martin.thomson@gmail.com>;"Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
> Cc: "Doug Beaver" <doug@fb.com>;"Willy Tarreau" <w@1wt.eu>;"
> ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 18/07/2012 3:26:56 p.m.
> Subject: Re: Re[2]: HTTP2 Expression of Interest
>
>  Arguably, the cost of 3 Rts is amortized over many many objects that
> gets transferred over the session. That said, I am trying to imagine how =
to
> do crypto on my Arduino :-).
>
>
> From: "Adrien W. de Croy" < <adrien@qbik.com>adrien@qbik.com>
> Reply-To: "Adrien W. de Croy" < <adrien@qbik.com>adrien@qbik.com>
> Date: Tue, 17 Jul 2012 20:20:09 -0700
> To: Martin Thomson < <martin.thomson@gmail.com>martin.thomson@gmail.com>,
> "Martin J. D=FCrst" < <duerst@it.aoyama.ac.jp>duerst@it.aoyama.ac.jp>
> Cc: Doug Beaver < <doug@fb.com>doug@fb.com>, Willy Tarreau < <w@1wt.eu>
> w@1wt.eu>, " <ietf-http-wg@w3.org>ietf-http-wg@w3.org" <<ietf-http-wg@w3.=
org>
> ietf-http-wg@w3.org>
> Subject: Re[2]: HTTP2 Expression of Interest
>
>
> ------ Original Message ------
> From: "Martin Thomson" < <martin.thomson@gmail.com>
> martin.thomson@gmail.com>
>
> On 17 July 2012 19:35, "Martin J. D=FCrst" < <duerst@it.aoyama.ac.jp>
> duerst@it.aoyama.ac.jp> wrote:
>
>
> So why are we okay with 10-20% more processing costs for everybody, but n=
ot
> with 10-20% more bandwidth? What's different between processing costs and
> bandwidth?
>
>
>
> Personally, I thought that the first optimization was for latency,
>
> How do you optimise latency by adding 3 RTs in a SSL setup?
>
>
>
> with bandwidth as secondary and (obviously) consequential.  Trade-offs
> may have to be made.
>
>
>
>
>
>
>

--0016e6dab140d6ed1204c5142a82
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:34 PM, Adrien =
W. de Croy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=
=3D"_blank">adrien@qbik.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">



<div>
<div>=A0</div>
<div>we can already transfer many objects over a single connection with HTT=
P/1.1</div>
<div>=A0</div>
<div>SPDY without SSL=A0would be more speedy than with it.</div></div></blo=
ckquote><div><br></div><div>Assuming you could deploy it successfully and r=
eliably to everyone, which is not a trivial matter.</div><div>=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">
<div>
<div>=A0</div>
<div>There may be only a couple R-Ts to get an SSL handshake, but sprinkle =
on a CRL / OCSP check and you&#39;re left=A0eating dust.</div>
<div>=A0</div>
<div>So, let&#39;s just get this straight for the record.=A0 SSL will not i=
mprove latency.=A0 It will make it worse, and for many people (on already-h=
igh-latency links) a LOT worse.</div></div></blockquote><div><br></div><div=
>
SSL transforms something which is potentially not deployable into something=
 which is eminently deployable.</div><div>If the thing which is now deploye=
d is able to amortize that cost, the result may be a net benefit.</div>
<div>You&#39;re right that the first-order effect of SSL is to add RTTs to =
the initial handshake.</div><div>You&#39;re neglecting the second-order eff=
ects.</div><div>-=3DR</div><div>=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>=A0</div>
<div><div class=3D"im"><br>------ Original Message ------<br>From: &quot;Ra=
jeev Bector&quot; &lt;<a href=3D"mailto:rbector@yahoo-inc.com" target=3D"_b=
lank">rbector@yahoo-inc.com</a>&gt;<br>To: &quot;Adrien W. de Croy&quot; &l=
t;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&=
gt;;&quot;Martin Thomson&quot; &lt;<a href=3D"mailto:martin.thomson@gmail.c=
om" target=3D"_blank">martin.thomson@gmail.com</a>&gt;;&quot;Martin J. D=FC=
rst&quot; &lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"_blank">d=
uerst@it.aoyama.ac.jp</a>&gt;<br>
Cc: &quot;Doug Beaver&quot; &lt;<a href=3D"mailto:doug@fb.com" target=3D"_b=
lank">doug@fb.com</a>&gt;;&quot;Willy Tarreau&quot; &lt;<a href=3D"mailto:w=
@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;;&quot;<a href=3D"mailto:ietf-ht=
tp-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a href=
=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&g=
t;<br>
</div><div><div class=3D"h5">Sent: 18/07/2012 3:26:56 p.m.<br>Subject: Re: =
Re[2]: HTTP2 Expression of Interest<br></div></div></div><div><div class=3D=
"h5">
<blockquote type=3D"cite">
<div style=3D"font-size:16px;font-family:Verdana,sans-serif;word-wrap:break=
-word">
<div>Arguably, the cost of 3 Rts is amortized over many many objects that g=
ets transferred over the session.=A0That said, I am trying to imagine how t=
o do crypto on my Arduino :-). =A0=A0</div>
<div><br></div>
<div><br></div><span>
<div style=3D"border-right:medium none;padding-right:0in;padding-left:0in;p=
adding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;fon=
t-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-lef=
t:medium none">
<span style=3D"FONT-WEIGHT:bold">From: </span>&quot;Adrien W. de Croy&quot;=
 &lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"ma=
ilto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;<br><span st=
yle=3D"FONT-WEIGHT:bold">Reply-To: </span>&quot;Adrien W. de Croy&quot; &lt=
;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"mailto=
:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Date: </span>Tue, 17 Jul 2012 20:20:09 -07=
00<br><span style=3D"FONT-WEIGHT:bold">To: </span>Martin Thomson &lt;<a hre=
f=3D"mailto:martin.thomson@gmail.com" target=3D"_blank"></a><a href=3D"mail=
to:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>=
&gt;, &quot;Martin J. D=FCrst&quot; &lt;<a href=3D"mailto:duerst@it.aoyama.=
ac.jp" target=3D"_blank"></a><a href=3D"mailto:duerst@it.aoyama.ac.jp" targ=
et=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Cc: </span>Doug Beaver &lt;<a href=3D"mail=
to:doug@fb.com" target=3D"_blank"></a><a href=3D"mailto:doug@fb.com" target=
=3D"_blank">doug@fb.com</a>&gt;, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.=
eu" target=3D"_blank"></a><a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1=
wt.eu</a>&gt;, &quot;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blan=
k"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-w=
g@w3.org</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_bl=
ank"></a><a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http=
-wg@w3.org</a>&gt;<br>
<span style=3D"FONT-WEIGHT:bold">Subject: </span>Re[2]: HTTP2 Expression of=
 Interest<br></div>
<div><br></div>
<div>
<div>
<div><br></div>
<div>------ Original Message ------</div>
<div>From: &quot;Martin Thomson&quot; &lt;<a href=3D"mailto:martin.thomson@=
gmail.com" target=3D"_blank"></a><a href=3D"mailto:martin.thomson@gmail.com=
" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div>On 17 July 2012 19:35, &quot;Martin J. D=FCrst&quot; &lt;<a href=3D"ma=
ilto:duerst@it.aoyama.ac.jp" target=3D"_blank"></a><a href=3D"mailto:duerst=
@it.aoyama.ac.jp" target=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt; wrote:</=
div>
<div><br></div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div><br></div>
<div>So why are we okay with 10-20% more processing costs for everybody, bu=
t not</div>
<div>with 10-20% more bandwidth? What&#39;s different between processing co=
sts and</div>
<div>bandwidth?</div>
<div><br></div></blockquote>
<div><br></div>
<div><br></div>
<div>Personally, I thought that the first optimization was for latency,</di=
v>
<div><br></div></blockquote>
<div>How do you optimise latency by adding 3 RTs in a SSL setup?</div>
<div><br></div>
<div><br></div>
<blockquote style=3D"BORDER-LEFT:#b5c4df 5px solid;PADDING-BOTTOM:0px;MARGI=
N:0px 0px 0px 5px;PADDING-LEFT:5px;PADDING-RIGHT:0px;PADDING-TOP:0px">
<div><br></div>
<div>with bandwidth as secondary and (obviously) consequential.=A0=A0Trade-=
offs</div>
<div>may have to be made.</div>
<div><br></div>
<div><br></div>
<div><br></div></blockquote>
<div><br></div>
<div><br></div>
<div><br></div></div></div></span></div></blockquote></div></div></div></bl=
ockquote></div><br>

--0016e6dab140d6ed1204c5142a82--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 22:53:23 2012
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 2ABAB21F8525 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:53:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.517
X-Spam-Level: 
X-Spam-Status: No, score=-10.517 tagged_above=-999 required=5 tests=[AWL=0.082, BAYES_00=-2.599, 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 8n95cX4B4WTM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 22:53:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B50A21F8512 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 22:53:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrNCa-0004u7-Uo for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 05:53:36 +0000
Resent-Date: Wed, 18 Jul 2012 05:53:36 +0000
Resent-Message-Id: <E1SrNCa-0004u7-Uo@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SrNCR-0004sw-Cc for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 05:53:27 +0000
Received: from ams-iport-1.cisco.com ([144.254.224.140]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SrNCQ-00013u-9e for ietf-http-wg@w3.org; Wed, 18 Jul 2012 05:53:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=1187; q=dns/txt; s=iport; t=1342590806; x=1343800406; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=+yZKtZpc54HR7QaH/YyTav6WTLfL0LkQzPe5UAy+rmM=; b=hEB2ylygr/bzrcUoJjTGucJ94/UMFRhwGQKwZ7Gwbz9Lo/Mbjs3Fmw84 EcTvgxk0vMuaiQL3e50vJo2bcmXTt2EWmDeBO9bR735FZFEBhGtACvDCg iif5ccKa0EyG5ZPtwXg+pD+BR4e2lBaJMdukV5MHSsMel2vp0uVjkJJvi M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAA5OBlCQ/khL/2dsb2JhbABFhWqzPIEHgiABAQEEEgEQVhALGAICBSECAg8CRgYNAQcBAR6Ha51GjRmTDoEgj12BEgOVPY4igWaCYQ
X-IronPort-AV: E=Sophos;i="4.77,606,1336348800";  d="scan'208";a="141272877"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-1.cisco.com with ESMTP; 18 Jul 2012 05:52:59 +0000
Received: from ams3-vpn-dhcp5954.cisco.com (ams3-vpn-dhcp5954.cisco.com [10.61.87.65]) by ams-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id q6I5qwnR027146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2012 05:52:59 GMT
Message-ID: <50064F3B.70806@cisco.com>
Date: Wed, 18 Jul 2012 07:52:59 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@gmail.com>
CC: grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
In-Reply-To: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.140; envelope-from=lear@cisco.com; helo=ams-iport-1.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1SrNCQ-00013u-9e b4a1a77de872b2746966f466c1b345af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption prerequisites
Archived-At: <http://www.w3.org/mid/50064F3B.70806@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14449
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>

Paul,

I understand Mike's logic for using TLS.  I'm even sympathetic.  But
care must be taken, nevertheless not to make things worse.  That is in
fact possible if it means that everyone will get inured to browser
indications about validity of certificates.  Therefore, a prerequisite
is a means to do so that doesn't reduce the value of browser indications
of a secure or insecure connection.  DANE could play a role as could
non-CA based encryption, but we ought to have clear answers for that FIRST.

Eliot




On 7/18/12 2:51 AM, Paul Hoffman wrote:
> +1 to what seems to be a lot of developers: make TLS mandatory.
>
>>  so, even when used in an internal application protocol, it's going to
>>  be end to end
>>  encrypted to make it super hard to debug?
> In an internal application protocol, why would it be "super hard to
> debug"? The client can do an HTTP dump before TLS, the server can do
> an HTTP dump after TLS; either of the sides could debug the TLS.
>
>>  http is about more than users using
>>  web browsers.
> Completely true, and not relevant. Insecure HTTP for non-browser
> applications still has the same bad properties, no?
>
>
>



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 23:10:17 2012
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 2CE4911E812F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:10:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.537
X-Spam-Level: 
X-Spam-Status: No, score=-9.537 tagged_above=-999 required=5 tests=[AWL=1.062, BAYES_00=-2.599, 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 0fk6sJw4upQR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:10:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 716AC11E813A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 23:10:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrNSg-0004k1-0p for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 06:10:14 +0000
Resent-Date: Wed, 18 Jul 2012 06:10:14 +0000
Resent-Message-Id: <E1SrNSg-0004k1-0p@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrNSW-0004hn-GN for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 06:10:04 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrNSV-0001e8-Ag for ietf-http-wg@w3.org; Wed, 18 Jul 2012 06:10:04 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6I69aIw007913; Wed, 18 Jul 2012 08:09:36 +0200
Date: Wed, 18 Jul 2012 08:09:36 +0200
From: Willy Tarreau <w@1wt.eu>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718060936.GC5875@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrNSV-0001e8-Ag 2e044c3ebbb047f87580e23d1c97350a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120718060936.GC5875@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14450
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 Tue, Jul 17, 2012 at 09:22:24PM -0400, Phillip Hallam-Baker wrote:
> -1
> 
> I don't want to have a mandatory requirement unless it is going to
> change behavior.
> 
> We already have ubiquitous deployment of TLS in browsers. The code is
> freely available, everyone knows the benefit.
> 
> The only HTTP servers or clients I am aware of that don't have TLS
> support are either toolsets that the provider expects to be used with
> OpenSSL or the like and embedded systems.
> 
> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
> seem to do any good either. It just means that IPv6 is harder to
> deploy as implementations are required to support a security layer
> almost nobody uses as TLS has proved better.

The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 will
be deployed between the browser and the load balancer, and everything
behind will remain HTTP/1 due to the added nuisances of deploying 2.0
everywhere. Almost nobody does IPv6 between LB and server nowadays, it's
added cost for no benefit.

This will force us to continue to support the crappy parsers of 1.1
forever and not to have MUX between the LB and the server, and that's
precisely the situation I'd like to avoid, by having a protocol which
*supports* more privacy but does not impose it where it's not expected.

> Making TLS a mandatory requirement seems like a feelgood approach to
> security to me. Instead of doing something useful, we pass a
> resolution telling people to do what they plan to do anyway.

Agreed. As I already said multiple times, sensible services requiring
privacy are already secured by TLS and it does not save them from being
tampered. But with TLS everywhere, we'll make the situation worse by
accustoming users to click all the day on "I accept the risks..." when
connecting to most of the poorly managed sites including the self-signed
equipments they run at home.

I'm really against making such a thing mandatory because it will only
improve privacy on a few services which actually do not need it and will
globally deteriorate the overall security by lowering the level of control
of users.

Willy



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 23:11:28 2012
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 D1E7011E8137 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:11:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.978
X-Spam-Level: 
X-Spam-Status: No, score=-9.978 tagged_above=-999 required=5 tests=[AWL=0.305, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 jLKIF250NqqC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:11:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6E2B311E812F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 23:11: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 1SrNU4-00050R-I6 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 06:11:40 +0000
Resent-Date: Wed, 18 Jul 2012 06:11:40 +0000
Resent-Message-Id: <E1SrNU4-00050R-I6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrNTu-0004wj-8j for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 06:11:30 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrNTs-0001fo-0U for ietf-http-wg@w3.org; Wed, 18 Jul 2012 06:11:30 +0000
Received: by lbom4 with SMTP id m4so1749611lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 23:11:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8MGOM4nhj415eRI7Zu+mwQkD85ybGDGOsrLjlremyLQ=; b=vUl/xQ2OVOdEqX29om6/mr0EV85Pm6dv2Z3YdbQ9/o7G/4CaU5+V6HKxILvAo30u2X GSMiF2XHb9Z3UH58Tbj/xDOp6nAURssYWBalsYUU+rrkYflCvSYR8U5olCwDPD7eVKno dpndbbjqbwu/1O3bHmWrHvB+XIwlKwNmcvWA3CH2M1lwnQ5xEIOfBBiVar67szXhwU73 0QY8yGNQsr1DDelLZK8eHRqi52wbheZP9KRQebPZLVfN6UaaZ7O6owXAunv+Nju5XmCp hdDFQbel0vI4Q1d7l6JEkipCAYyOGnA38g3d6LWwhErS+MsIb4CHORGevEZrXig3uoA6 j7VQ==
Received: by 10.152.146.163 with SMTP id td3mr1948434lab.26.1342591861004; Tue, 17 Jul 2012 23:11:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.43.230 with HTTP; Tue, 17 Jul 2012 23:10:40 -0700 (PDT)
In-Reply-To: <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 23:10:40 -0700
Message-ID: <CABP7Rbc_AGvHNKQuybZNTtPp5oQwNA+Egrge6m-YR2-BR9GqjA@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f234567f4186004c51486f3
Received-SPF: pass client-ip=209.85.217.171; envelope-from=jasnell@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrNTs-0001fo-0U 4dde50d63176d839ab880b4b606f2328
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CABP7Rbc_AGvHNKQuybZNTtPp5oQwNA+Egrge6m-YR2-BR9GqjA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14451
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>

--e89a8f234567f4186004c51486f3
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 9:09 PM, Mike Belshe <mike@belshe.com> wrote:

>
> [snip]
>
>> 2. Most prisons do not allow inmates to have privacy when it comes to
>> communications.  Would you deny [*] all prisoners access to the web?  There
>> are other scenarios where privacy is not expected, permitted or desirable.
>>
>
> I doubt this is a problem.  If it is, then the poor prisoners are already
> being denied access to their banks, most all of which require TLS.
>
>

FWIW, the California Department of Corrections restricts prisoners from
using the network connected computers at any time, let alone access the
Internet. I believe similar policies are in effect in most states across
the country. Of course... I can only speak for regulations within the U.S.

Still no where near convinced that mandatory TLS is even remotely
worthwhile. There are simply too many perfectly valid cases where it's
completely unnecessary and downright silly to assume it's needed.

There is no evidence, that I have seen, that demonstrates that Mandatory
TLS would make HTTP/2.0 any more secure than optional TLS.

- James


>
>> 3. Many situations require communications to be open and visible.  Would
>> you rather your network infrastructure phoned home with SSL or HTTP that
>> you can see.
>>
>
> Can you enumerate these?  For debugging, of course it makes sense for
> endpoints to have unencrypted modes.  We can also build better tools, such
> as the improvements for decoding TLS traffic with Wireshark that have
> landed recently.
>
>
>>
>> 4. Scanning for malware at a gateway.  This requirement is NOT going
>> away, and the SSL will be brute-forced / spoofed etc to achieve this.
>> Mandating SSL will just make it easier for malware to propagate, since you
>> make it harder to scan [**].
>>
>
> This problem exists today; IP leakage has to be checked even across TLS
> based connections.  Solutions for these corporate IT groups exist,
> including TLS aware proxies and TLS man in the middle.  Several vendors
> provide these solutions today.
>
>
>>
>>
>> COST
>>
>> Google, Facebook and Twitter don't need to spend much on SSL certs from
>> CAs.  Not in the scheme of things.
>>
>
> Actually, this is not true.  These companies spend the most on "well
> rooted" certificates.
>
>
>
>>
>> What about the other hundreds of millions of us running web servers.  You
>> gonna buy us our certs?  I better buy me some shares in Verisign et al..
>>
>
> They are free - https://www.startssl.com/
>
>
>>
>>
>> SECURITY
>>
>> Mandating SSL on all devices with HTTP stacks (e.g. your home network
>> infrastructure, NAS, Modem etc) cannot be practically done while we rely on
>> CAs to issue certs, and while those certs must be installed, expired,
>> updated etc etc.
>>
>
> I think it can!
>
>
>>
>> Or do you think manufacturers of such hardware should just ship with some
>> default cert?  Self-signed maybe?  And while you're at it, why not get
>> every machine in the world to trust that cert...  Oh dear, do we have a
>> security problem?
>>
>
> I think we could do self signed certs and also continue to improve the CA
> infrastructure.  I'd like to see Google become a CA with a super-easy
> certificate issuing process.
>
>
>>
>> Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for
>> the world (or more likely consign HTTP/2.0 to relative obscurity).
>>
>
>> It's been alluded to that we'd replace the CA infrastructure.  Don't you
>> think it's premature to propose mandatory use of SSL when you haven't
>> proposed what would replace the CA infrastructure yet?  That's like
>> starting building a spaceship for Alpha Centauri based on a rocket engine
>> that hasn't been invented yet.
>>
>
> Many researchers and security experts agree we need a CA overhaul.  But
> this doesn't mean that the existing CA infrastructure is not usable.
>  Despite its flaws, it is better than no CA system.  And we can fix it!
>  Look at this as an opportunity, not a hurdle.
>
>
>>
>> You'd have to replace CRL and OCSP checking protocols, because they use
>> HTTP, and mandating use of SSL for that would create a paradox (how do you
>> check the cert on the connection used to check the cert ad infinitum).
>>
>
> Naw, the browsers wouldn't need to validate the cert from the OCSP server
> because the contents that they fetch are self-signed and verifiable
> independently.
>
>
>>
>>
>> OTHER
>>
>> Most people here seem to focus on issues such as CPU load, extra R-Ts
>> introduced by the SSL setup etc.  Those are valid concerns, but they are
>> easier to overcome than the others. They aren't easy to overcome, just
>> easier.
>>
>
> Agree.
>
>
>>
>>
>> Seems to me it would be a whole lot simpler and more compatible with the
>> actual world we actually live on just to make crypto optional.
>>
>
> True.  It would also be a whole lot less secure, leave users exposed on
> the net to trust that every single website remembered to secure the
> communicates of private data and that none of them use sniffable
> cookies....
>
>
>
>>
>> Adrien
>>
>>
>> [*] We can't realistically expect server operators to indefinitely
>> support both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop HTTP/1.1
>> support, and that part of the internet will then become unavailable to
>> those forced to keep using HTTP/1.1, effectively denying those users.
>>
>
> Actually, HTTP/1.1 will become like IE6.  It will be this legacy thing
> holding back the world.  Eventually there will be big pushes to rid the
> world of this insecure protocol that we wish we no longer had lying around
> :-)
>
>
>>
>>  [**] T
>> here has been some discussion about enabling intermediaries to be able to
>> see plaintext payload by terminating the SSL connection at each end.  This
>> hasn't progressed enough, and the current proposals still basically bypass
>> intermediaries AFAICT.
>>
>>
>
> Agree it needs more work.  But I don't think this should be a condition of
> making HTTP/2.0 a more secure protocol.
>
> Mike
>
>
>

--e89a8f234567f4186004c51486f3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:09 PM, Mike Belshe=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=3D"_blank"=
>mike@belshe.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>[snip]=C2=A0<br><div class=3D"gmail_quote"><div class=3D"im"><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
<div>2. Most prisons do not allow inmates to have privacy when it comes to =
communications.=C2=A0 Would you deny [*]=C2=A0all prisoners access to the w=
eb?=C2=A0 There are other scenarios where privacy is not expected, permitte=
d or desirable.=C2=A0</div>


</blockquote><div><br></div></div><div>I doubt this is a problem. =C2=A0If =
it is, then the poor prisoners are already being denied access to their ban=
ks, most all of which require TLS.</div><div class=3D"im"><div>=C2=A0</div>=
</div></div>

</blockquote><div><br></div><div>FWIW, the California Department of Correct=
ions restricts prisoners from using the network connected computers at any =
time, let alone access the Internet. I believe similar policies are in effe=
ct in most states across the country. Of course... I can only speak for reg=
ulations within the U.S.=C2=A0</div>

<div><br></div><div>Still no where near convinced that mandatory TLS is eve=
n remotely worthwhile. There are simply too many perfectly valid cases wher=
e it&#39;s completely unnecessary and downright silly to assume it&#39;s ne=
eded.</div>

<div><br></div><div>There is no evidence, that I have seen, that demonstrat=
es that Mandatory TLS would make HTTP/2.0 any more secure than optional TLS=
.=C2=A0</div><div><br></div><div>- James</div><div>=C2=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">

<div class=3D"gmail_quote"><div class=3D"im"><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
<div> </div>
<div>=C2=A0</div>
<div>3. Many situations require communications to be open and visible.=C2=
=A0 Would you rather your network infrastructure phoned home with SSL or HT=
TP that you can see.</div></blockquote><div><br></div></div><div>Can you en=
umerate these? =C2=A0For debugging, of course it makes sense for endpoints =
to have unencrypted modes. =C2=A0We can also build better tools, such as th=
e improvements for decoding TLS traffic with Wireshark that have landed rec=
ently.</div>

<div class=3D"im">
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>4. Scanning for malware at a gateway.=C2=A0 This requirement is NOT go=
ing away, and the SSL will be brute-forced / spoofed etc to achieve this.=
=C2=A0 Mandating SSL will just make it easier for malware to propagate, sin=
ce you make it harder to scan [**].</div>


</blockquote><div><br></div></div><div>This problem exists today; IP leakag=
e has to be checked even across TLS based connections. =C2=A0Solutions for =
these corporate IT groups exist, including TLS aware proxies and TLS man in=
 the middle. =C2=A0Several vendors provide these solutions today.</div>

<div class=3D"im">
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>=C2=A0</div>
<div>COST</div>
<div>=C2=A0</div>
<div>Google, Facebook and Twitter don&#39;t need to spend much on SSL certs=
 from CAs.=C2=A0 Not in the scheme of things.</div></blockquote><div><br></=
div></div><div>Actually, this is not true. =C2=A0These companies spend the =
most on &quot;well rooted&quot; certificates.</div>

<div class=3D"im">
<div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>What about the other=C2=A0hundreds of millions=C2=A0of us running web =
servers.=C2=A0 You gonna buy us our certs?=C2=A0 I better buy me some share=
s in Verisign et al..</div>
<div></div></blockquote><div><br></div></div><div>They are free - <a href=
=3D"https://www.startssl.com/" target=3D"_blank">https://www.startssl.com/<=
/a></div><div class=3D"im"><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>=C2=A0</div>
<div>=C2=A0</div>
<div>SECURITY</div>
<div>=C2=A0</div>
<div>Mandating SSL on all devices with HTTP stacks (e.g. your home network =
infrastructure, NAS, Modem etc) cannot be practically done while we rely on=
 CAs to issue certs, and while those certs must be installed, expired, upda=
ted etc etc.</div>


</blockquote><div><br></div></div><div>I think it can!</div><div class=3D"i=
m"><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>Or do you think manufacturers of such hardware should just ship with s=
ome default cert?=C2=A0 Self-signed maybe?=C2=A0 And while you&#39;re at it=
, why not get every machine in the world to trust that cert...=C2=A0 Oh dea=
r, do we have a security problem?=C2=A0</div>


</blockquote><div><br></div></div><div>I think we could do self signed cert=
s and also continue to improve the CA infrastructure. =C2=A0I&#39;d like to=
 see Google become a CA with a super-easy certificate issuing process.</div=
>

<div class=3D"im"><div>=C2=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div> </div>
<div>=C2=A0</div>
<div>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for=
 the world (or more likely consign HTTP/2.0 to relative obscurity).=C2=A0</=
div></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">



<div>=C2=A0</div>
<div>It&#39;s been alluded to that we&#39;d replace the CA infrastructure.=
=C2=A0 Don&#39;t you think it&#39;s premature to propose mandatory use of S=
SL when you haven&#39;t proposed what would replace the CA infrastructure y=
et?=C2=A0 That&#39;s like starting building a=C2=A0spaceship for=C2=A0Alpha=
 Centauri=C2=A0based on a rocket engine that hasn&#39;t been invented yet.<=
/div>


</blockquote><div><br></div></div><div>Many researchers and security expert=
s agree we need a CA overhaul. =C2=A0But this doesn&#39;t mean that the exi=
sting CA infrastructure is not usable. =C2=A0Despite its flaws, it is bette=
r than no CA system. =C2=A0And we can fix it! =C2=A0Look at this as an oppo=
rtunity, not a hurdle.</div>

<div class=3D"im">
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>You&#39;d have to replace CRL and OCSP checking protocols, because the=
y use HTTP, and mandating use of SSL for that would create a paradox (how d=
o you check the cert on the connection used to check the cert ad infinitum)=
.</div>


</blockquote><div><br></div></div><div>Naw, the browsers wouldn&#39;t need =
to validate the cert from the OCSP server because the contents that they fe=
tch are self-signed and verifiable independently.</div><div class=3D"im">

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">

<div>=C2=A0</div>
<div>=C2=A0</div>
<div>OTHER</div>
<div>=C2=A0</div>
<div>Most people here seem to focus on issues such as CPU load, extra R-Ts =
introduced by the SSL setup etc.=C2=A0 Those are valid concerns, but they a=
re easier to overcome than the others. They aren&#39;t easy to overcome, ju=
st easier.</div>


</blockquote><div><br></div></div><div>Agree.</div><div class=3D"im"><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>=C2=A0</div>
<div>Seems to me it would be a whole lot simpler and more compatible with t=
he actual world we actually live on just to make=C2=A0crypto optional.</div=
></blockquote><div><br></div></div><div>True. =C2=A0It would also be a whol=
e lot less secure, leave users exposed on the net to trust that every singl=
e website remembered to secure the communicates of private data and that no=
ne of them use sniffable cookies.... =C2=A0</div>

<div class=3D"im">
<div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div>Adrien</div>
<div>=C2=A0</div>
<div>=C2=A0</div>
<div>[*] We can&#39;t realistically expect server operators to indefinitely=
 support both HTTP/2.0 and HTTP/1.1.=C2=A0 Some will inevitably drop HTTP/1=
.1 support, and that part of the internet will then become unavailable to t=
hose forced to keep using HTTP/1.1, effectively denying those users.</div>


</blockquote><div><br></div></div><div>Actually, HTTP/1.1 will become like =
IE6. =C2=A0It will be this legacy thing holding back the world. =C2=A0Event=
ually there will be big pushes to rid the world of this insecure protocol t=
hat we wish we no longer had lying around :-)</div>

<div class=3D"im">
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=C2=A0</div>
<div><span>
<div>[**] T</div></span>here has been some discussion about enabling interm=
ediaries to be able to see plaintext payload by terminating the SSL connect=
ion at each end.=C2=A0 This hasn&#39;t progressed enough, and the current p=
roposals still basically bypass intermediaries AFAICT.</div>



<div>=C2=A0</div></blockquote><div><br></div></div><div>Agree it needs more=
 work. =C2=A0But I don&#39;t think this should be a condition of making HTT=
P/2.0 a more secure protocol.</div><span class=3D"HOEnZb"><font color=3D"#8=
88888"><div>

<br></div><div>Mike</div><div>=C2=A0</div></font></span></div><br>
</blockquote></div><br>

--e89a8f234567f4186004c51486f3--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 23:19:03 2012
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 736F111E8140 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:19:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.566
X-Spam-Level: 
X-Spam-Status: No, score=-9.566 tagged_above=-999 required=5 tests=[AWL=1.033, BAYES_00=-2.599, 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 kvJHEXg7Wksf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:19:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D268711E812F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 23:19:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrNbW-0000N9-Sl for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 06:19:22 +0000
Resent-Date: Wed, 18 Jul 2012 06:19:22 +0000
Resent-Message-Id: <E1SrNbW-0000N9-Sl@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrNbN-0000Lq-MW for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 06:19:13 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrNbM-0001u0-IK for ietf-http-wg@w3.org; Wed, 18 Jul 2012 06:19:13 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6I6Id80007942; Wed, 18 Jul 2012 08:18:39 +0200
Date: Wed, 18 Jul 2012 08:18:39 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>, Martin =?iso-8859-1?Q?J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718061839.GD5875@1wt.eu>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrNbM-0001u0-IK 38ac61804ca3b742008cf119e765a823
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/20120718061839.GD5875@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14452
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 Tue, Jul 17, 2012 at 10:13:55PM -0700, Mike Belshe wrote:
> > Mandating TLS in 2.0 will not provide an ounce of extra security
> > unless you have a way to know who is running 2.0. And if you can do
> > that you do not need the mandate.
> >
> 
> It's all negotiated in the handshake.  You'll know who is TLS and who is
> not.
> 
> It does provide lots of better security.  The internet cafe is the best
> example.  I know you're aware of Firesheep.  We should make it impossible
> to use firesheep in 2020.  Right?

Mike, till now you've made serious arguments. But quite frankly, firesheep
is just a joke to send the usual summer end-of-the-world alert to the press.
I think none of us knows anybody who's been victim of this, because where it
would have mattered, TLS would have been used anyway.

I'm concerned about the situations where users' security is really attacked,
which is massive MITM using fake certs, massive bank accounts and credentials
collection using malware, spyware returning your browsing history to ads
vendors, and more recently malware running on smartphones to collect a lot
of personal information.

Mandating use of TLS is irrelevant to these real world issues and can only
make them worse. However I agree it will feel good to say "hey look, now I
can show you that firesheep doesn't see my cleartext password anymore",
but what site would require me to send my password in cleartext over the
net anyway ?

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 23:37:07 2012
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 4A9BB11E814C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:37:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.149
X-Spam-Level: 
X-Spam-Status: No, score=-10.149 tagged_above=-999 required=5 tests=[AWL=0.449, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 mKcWzFRBvf+V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:37:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C76711E814B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 23:37:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrNsX-0000Fh-De for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 06:36:57 +0000
Resent-Date: Wed, 18 Jul 2012 06:36:57 +0000
Resent-Message-Id: <E1SrNsX-0000Fh-De@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrNsO-0000Ed-3R for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 06:36:48 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrNsM-0002h9-LJ for ietf-http-wg@w3.org; Wed, 18 Jul 2012 06:36:48 +0000
Received: by lbom4 with SMTP id m4so1772301lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 23:36:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5oiErRbt7ei5n2h7bYyA1XulOtIbP9IuuCT8iPGjiWI=; b=B1MtEIs6qd7kn0dKyfP4boTfQCiVvUFSk0TDVc6FUt/5yX8WhckRtGfdG0H2g7wJWN 7uiZgv03wEJ8AhaLr5VhvnHHT9p8LVlPyzSaVD13sWGdNKfXApOqDp7PT9tztoMqaGi+ STaGbLfQcVJRdJ++liRj3JVJva1oORMxMHhpMf2rjyjTkY9njPTmmTu+I+OwRCFgd2Wi DwqEmxGsNONntzb/GvkCE6EFe49js3j0mLi2RvJIWNyYOFsoK+MSUVeYe4fuZC3AFQ/H btAW1t9a7V9Sh4aqtcBtD1GPeohlfIpVi6XQZJxse92E9T6BQPWooOzIyHGSSE3Db6hQ PJ+A==
Received: by 10.152.144.103 with SMTP id sl7mr1968561lab.37.1342593379778; Tue, 17 Jul 2012 23:36:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.43.230 with HTTP; Tue, 17 Jul 2012 23:35:58 -0700 (PDT)
In-Reply-To: <CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com>
References: <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <em2a0c2494-0465-4a82-8a6f-4f51628edaeb@bombed> <CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 17 Jul 2012 23:35:58 -0700
Message-ID: <CABP7RbfZ4bq7MH6JBkgJ6XMdw3DwY3uMQbuWtSGLB92qSPMmrg@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f22bec17ac16a04c514e12a
Received-SPF: pass client-ip=209.85.217.171; envelope-from=jasnell@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrNsM-0002h9-LJ 2460606224879f7cb6b44745e6a8ea8f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Some reasons why mandating use ofSSL for HTTP is a really  bad idea
Archived-At: <http://www.w3.org/mid/CABP7RbfZ4bq7MH6JBkgJ6XMdw3DwY3uMQbuWtSGLB92qSPMmrg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14453
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>

--e89a8f22bec17ac16a04c514e12a
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 17, 2012 at 10:09 PM, Mike Belshe <mike@belshe.com> wrote:

>
> [snip]
>
>> E.g. China, India, several mid-eastern and former soviet countries.
>>
>>   [snip]
> Well, when you've got a specific country to talk about, please raise the
> issue.
>
>
Well.. there's China for one.. A quick google search reveals that current
Chinese IT Law apparently forbids Chinese citizens from utilizing
self-developed encryption products and in fact must seek the governments
permission to purchase and use any product that provides encryption
services. Requiring TLS for SPDY would, apparently, make it effectively
illegal for anyone in China to roll their own HTTP/2.0 implementation
without getting the governments approval. Now I'm far from being an expert
on Chinese IT Law but that seems rather counter productive to me.

- James

--e89a8f22bec17ac16a04c514e12a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Jul 17, 2012 at 10:09 PM, Mike Belshe <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>[snip]=C2=A0<br><div class=3D"gmail_quot=
e"><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>E.g. China, India, several mid-eastern and former soviet countries.<br=
></div><div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
</div></div></blockquote></div></blockquote><div>[snip]</div></div><div>Wel=
l, when you&#39;ve got a specific country to talk about, please raise the i=
ssue.</div><div class=3D"im"><div><br></div></div></div></blockquote><div>

<br></div><div>Well.. there&#39;s China for one.. A quick google search rev=
eals that current Chinese IT Law apparently forbids Chinese citizens from u=
tilizing self-developed encryption products and in fact must seek the gover=
nments permission to purchase and use any product that provides encryption =
services. Requiring TLS for SPDY would, apparently, make it effectively ill=
egal for anyone in China to roll their own HTTP/2.0 implementation without =
getting the governments approval. Now I&#39;m far from being an expert on C=
hinese IT Law but that seems rather counter productive to me.</div>

<div>=C2=A0</div><div>- James</div></div>

--e89a8f22bec17ac16a04c514e12a--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 23:39:30 2012
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 A5D2511E814B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.742
X-Spam-Level: 
X-Spam-Status: No, score=-9.742 tagged_above=-999 required=5 tests=[AWL=-0.082, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 Fodti0JQxAkZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:39:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B86BA11E8148 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 23:39: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 1SrNvC-0000mB-Ui for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 06:39:42 +0000
Resent-Date: Wed, 18 Jul 2012 06:39:42 +0000
Resent-Message-Id: <E1SrNvC-0000mB-Ui@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrNv1-0000kf-UI for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 06:39:31 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrNuy-0002my-MZ for ietf-http-wg@w3.org; Wed, 18 Jul 2012 06:39:31 +0000
Received: by lbom4 with SMTP id m4so1774721lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 23:39:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=7vX/Qi79bw8pWfOG4LOJfcw9nWgsXwuJltzRlCa8ksw=; b=L+nCjHUv1S3n0XUvEf8paxO4xH+XJvN6sGf7qf+vndmItUlOhySOgNURRBygrQFVbU ai4ySPJQ/q7a1p6yWbWCwbnDicP5oX5Dc4AQ74Yy81O6nFiMZYIrejeJwjXKyGJEc94q Ip3KnPZzpDrJamW63P9SeiLTq2N1i8e5xDWh8CnEdQuJx68WCWPrWvNN6AiZNZeNg2hg T2pHGJrMnQmeCp1via7dGqibWioiHaj6RXF9yHpDGJqdlK8qdt33MIGhLNUGxiZrlshA yj9jHK5eEYSzNhw8z83kM7ZO1srh/aMYF58rc6YnTQB7AxREQdhcJDmsGF6V2fLZ0CLF m+6w==
MIME-Version: 1.0
Received: by 10.112.83.169 with SMTP id r9mr1097614lby.66.1342593541780; Tue, 17 Jul 2012 23:39:01 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 23:39:01 -0700 (PDT)
In-Reply-To: <emd391ff05-7dde-4f10-8b36-c782ac38aeea@bombed>
References: <CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com> <emd391ff05-7dde-4f10-8b36-c782ac38aeea@bombed>
Date: Tue, 17 Jul 2012 23:39:01 -0700
Message-ID: <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401fc4322b66104c514eb85
X-Gm-Message-State: ALoCoQl1++pJolWThoR4h196JeN2kmkbH4an9vZUIHxk28JRC2/pLINU7zgQISGLMiC3tM2+mWcR
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrNuy-0002my-MZ 06a9513299fbde30ba6e9885ab6c2d9c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[4]: Some reasons why mandating use ofSSL for HTTP is a really  bad idea
Archived-At: <http://www.w3.org/mid/CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14454
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>

--f46d0401fc4322b66104c514eb85
Content-Type: text/plain; charset=ISO-8859-1

I won't comment on most of this - I think we've each made our points and
will need to respectfully disagree.  One last point below.

On Tue, Jul 17, 2012 at 10:43 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> ------ Original Message ------
> From: "Mike Belshe" mike@belshe.com
>
>
>
> On Tue, Jul 17, 2012 at 9:51 PM, Adrien W. de Croy < <adrien@qbik.com>
> adrien@qbik.com> wrote:
>
>>
>> ------ Original Message ------
>> From: "Mike Belshe" <mike@belshe.com>mike@belshe.com
>>
>>
>>
>> On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy < <adrien@qbik.com><adrien@qbik.com>
>> adrien@qbik.com> wrote:
>>
>>>
>>> Mandating use of (c.f. support for) crypto in HTTP will prevent it from
>>> being deployable in a significant number of scenarios, thereby requiring
>>> ongoing use of HTTP/1.1.
>>>
>>>
>>
>> This is true for any manifestation of HTTP/2.0 with or without security.
>>
>>
>> I don't know if it should be a goal though.  IMO the goal should be to
>> replace the old with something better, not replace it with something that
>> can only be used by a subset of current users, and therefore requires
>> continued perpetual use of the old.
>>
>
> Agree; goal should be to be better.  That doesn't mean that I think
> everyone will jump to it in short order, though.
>
> I don't expect anything to be jumped to in short order.
>
>
>
>
>>
>>
>>>
>>> DESIRABILITY OF PRIVACY
>>>
>>>   Proponents of mandatory crypto
>>> are making an assumption that privacy is ALWAYS desirable.
>>>
>>> It is not ALWAYS desirable.
>>>
>>> In many cases privacy is undesirable or even illegal.
>>>
>>> 1. Many states have outlawed use of crypto.  So will this be HTTP only
>>> for the "free" societies?  Or is the IETF trying to achieve political
>>> change in "repressed" countries?  I've dealt with our equivalent of the NSA
>>> on this matter.  Have you?  I know the IETF has a neutral position on
>>> enabling wiretapping.  Mandating SSL is not a neutral / apolitical stance.
>>> Steering HTTP into a collision course with governments just doesn't seem
>>> like much of a smart idea.
>>>
>>
>> I don't know of states that prohibit TLS.  Do they exist?  Which ones are
>> they?  Can you list them?
>>
>>
>> It's hard to get recent information, but my understanding is that a lot
>> of of people live in jurisdictions where crypto is tightly controlled.
>>
>> E.g. China, India, several mid-eastern and former soviet countries.
>>
>>
>> Are you saying that HTTP/2.0 must be compliant with the laws of every
>> country?  And that any country passing a law making HTTP/2.0 features
>> illegal will block HTTP/2.0? :-)
>>
>>
>>  In practice, we would have different levels of difficulty ignoring laws
>> of a country depending on which country that was.
>>
>> If the US passed a law that banned it, and threatened to put you in jail,
>> you may give that more weight.
>>
>> Governments already have wiretapping laws.  Do you think they will
>> abandon that as a desire?
>> Many laws on crypto were only relatively recently relaxed.  There's an
>> ongoing tussle between security agencies of government and privacy
>> advocates over it.  We can't guarantee that within the next 5 years that
>> any country wouldn't make it illegal.
>>
>> It's not like we can claim there's no reasonable expectation to consider
>> laws when it comes to crypto.  That's the one area of software development
>> where caveats and warnings are stamped over so much code and documentation
>> that we can't claim to be unaware it's an issue.
>>
>
>
> Well, when you've got a specific country to talk about, please raise the
> issue.
>
> Maybe someone from one of the countries I listed above would be in a
> better position to comment than I am.
>
>
>
>
>
>>
>>> 2. Most prisons do not allow inmates to have privacy when it comes to
>>> communications.  Would you deny [*] all prisoners access to the web?  There
>>> are other scenarios where privacy is not expected, permitted or desirable.
>>>
>>
>> I doubt this is a problem.  If it is, then the poor prisoners are already
>> being denied access to their banks, most all of which require TLS.
>>
>> Maybe there's not much sympathy for prisoners.  That's just one example.
>>
>> Schools, homes and businesses are also places where there may be deemed
>> (by those in charge) a need to monitor activity.
>>
>
> They already have this problem.  Twitter, Google, and Facebook have all
> publicly declared that they are working their way to 100% TLS all the time.
>  These issues exist today.  If you want to filter TLS, you can; several
> vendors provide solutions.
>
> Sure, and as said before, this is not without security implications.
>
>
>
> But schools have bigger problems - like those cell phones with more
> bandwidth than the school has to its classrooms.
>
> Many schools ban cellphones.  My son's school does.
>
>
>
> I don't think the protocol has an obligation to reduce security so that
> prisons, schools, or other institutions can institute content control.
> And by the time this standard is done, the policy rules will have changed
> again.
>
>
> I'm not proposing we take the current level of security of HTTP/1.1 and
> reduce it.
>
> you're proposing we add TLS.  Whilst that will provide a level of privacy
> in many cases, I don't think it will overall result in an improved security
> situation overall, especially if it breaks SSL/TLS.  I kinda like SSL/TLS,
> I'd like it to continue to be usable.
>
>
> A simple thing we do know is that users expect and deserve to be protected
> by the protocols and sites they visit.  We're passing more laws every day
> to ensure this - and HTTP can help.
>
>
> rubbish, we know no such thing.
>
> all users are not equal.  All users are not equally deserving of privacy
> in all situations.
>
>
>
>
>
>
>>
>>
>>
>>
>>>
>>> 3. Many situations require communications to be open and visible.  Would
>>> you rather your network infrastructure phoned home with SSL or HTTP that
>>> you can see.
>>>
>>
>> Can you enumerate these?  For debugging, of course it makes sense for
>> endpoints to have unencrypted modes.  We can also build better tools, such
>> as the improvements for decoding TLS traffic with Wireshark that have
>> landed recently.
>>
>>
>> Can only decode NULL cipher.
>>
>
> With wireshark you can decide SSL session if you let your browser dump the
> private keys.  Chrome supports this.  <http://www.imperialviolet.org/2012/06/25/wireshark.html>
> http://www.imperialviolet.org/2012/06/25/wireshark.html
>
>
>
> OK, well let's hope we never have to debug any protocol - level stuff with
> any other client software.
>
>
>
>
>
>>
>> Huawei recently got excluded from bidding for an Australian govt contract
>> (a large one) due to concerns over possibility of eavesdropping.
>>
>
> Excellent point for why we should make the protocol more secure :-)  If
> everything were encrypted, it wouldn't have been a problem.
>
> Sure, anything sensitive should be encrypted before it goes over that
> infrastructure.  But I'm sure some large equipment vendor was lobbying
> somewhere.
>
>
>
>
>>
>> Mandating privacy on HTTP will make it easier in some cases (e.g.
>> infrastructure) to eavesdrop on non-private communication.
>>
>
> What?  Mandating privacy makes it easier to eavesdrop?  I don't think so
> :-)
>
>
> sure it does.  How can you tell if something is spyware or eavesdropping
> on you if you can't see if the phone home data is a version check or a
> report of your activity because it's encrypted?
>
> If my phone-home data is plaintext HTTP, I can demonstrate it's not
> eavesdropping.
>
>
>
>
>
>>
>>
>>>
>>> 4. Scanning for malware at a gateway.  This requirement is NOT going
>>> away, and the SSL will be brute-forced / spoofed etc to achieve this.
>>> Mandating SSL will just make it easier for malware to propagate, since you
>>> make it harder to scan [**].
>>>
>>
>> This problem exists today; IP leakage has to be checked even across TLS
>> based connections.  Solutions for these corporate IT groups exist,
>> including TLS aware proxies and TLS man in the middle.  Several vendors
>> provide these solutions today.
>>
>>
>> Sure.  But as previously discussed, the way it is done results in an
>> overall reduction in security.  A "sanctioned" way would be much
>> preferable, but necessarily reduces privacy potentially to 0.
>>
>
> I disagree that it takes privacy to zero.
>
> I said potentially.  If you let your company see your data because they
> operate the proxy that terminates the SSL connection from the browser, then
> your expectation of privacy (from your company) is potentially 0.
>
> Companies will continue to insist on scanning or blocking.
>
>   The end user will be aware of such changes; these are only possible by
> changing the trust points in the browser.  If your company gives you a
> browser, it can change your trust points.  But if it is your own browser,
> you pick the trust points.
>
> I agree this is obscure, but it is something we can improve upon.  I agree
> that we should.
>
> Until we turn on SSL for everyone, it won't likely get improved.
>
>
> Yeah I dunno, I think we could improve it independently of that.
>
>
>
>
>>
>> And, do we want shared caches to continue to exist?
>>
>
> Of course we do.  We switch to opt-in proxies (like what Roberto Peon has
> proposed) rather than the transparent proxies that we have today.  These
> are much better because the user has the opportunity to know the proxy is
> there, unlike today.
>
> We've been recommending against using transparent proxying for years.
> Unfortunately that doesn't reduce demand for it.
>
> proxy discovery needs to be greatly improved.
>
> But even with explicit proxy use by the client, for SSL/TLS that just
> boils down to HTTP CONNECT, which bypasses the proxy anyway.
>
>
>  Personally, the security risks of using such a proxy probably outweigh
> the performance advantages for most people.
>
>
> Using a home or corporate proxy has security risks that outweigh benefits
> of shared cache and scanning????
>
> Problem is, the people who operate these proxies think differently to
> you.  They want to see and scan everything.  They don't care so much about
> privacy on their LAN.
>


Aha - this is the crux indeed.  This is the advocated position of the
"people that operate these proxies".

I'm taking the position of the user.  I want the user to be able to know if
someone is spying on them in all cases.   I think censorship and alteration
of content is such a huge risk to us as a free people that we simply cannot
tolerate not knowing who is scanning our lines.  We must must must know it.

I have yet to find a single user that wants their communications to be
sniffed and potentially altered by third parties without their knowledge.
 Do you want that for your own data?

Now, I'm not trying to block the proxy operators you mention.  I just want
the users to be made aware of their presence, so that users can decide for
themselves whether it is ok (because its their boss on their company
computer) or not (because its someone at my telco).

We do have a choice here - safety for the users vs. enabling of transparent
snooping for anyone.

I choose the users 100% of the time.
Mike




>
> They also may pay for data, so they want to cache.
>
> Wireless hotspots is a different issue of course, something needs to be
> done about that.
>
>
>    This is similar in concept to what Douglas Beaver articulated so well
> in a separate thread.
>
>
>
>
>>
>> COST
>>
>> Google, Facebook and Twitter don't need to spend much on SSL certs from
>> CAs.  Not in the scheme of things.
>>
>
> Actually, this is not true.  These companies spend the most on "well
> rooted" certificates.
>
>
> not compared to their revenues is what I meant.
>
>
>
>
>>
>> What about the other hundreds of millions of us running web servers.  You
>> gonna buy us our certs?  I better buy me some shares in Verisign et al..
>>
>
> They are free - <https://www.startssl.com/> <https://www.startssl.com/>
> https://www.startssl.com/
>
>
> the thin edge of the wedge.  How can one have any faith in some entity
> vouching for some other entity when no payment is made (therefore no
> rigorous check can be made).
>
>
>
>
>>
>> SECURITY
>>
>> Mandating SSL on all devices with HTTP stacks (e.g. your home network
>> infrastructure, NAS, Modem etc) cannot be practically done while we rely on
>> CAs to issue certs, and while those certs must be installed, expired,
>> updated etc etc.
>>
>
> I think it can!
>
> I'm sure it can be made a lot easier.
>
> I think maybe even it could be made easy enough for my mom to do it on her
> DSL modem web interface... er... maybe not....
>
>
>
>
>>
>> Or do you think manufacturers of such hardware should just ship with some
>> default cert?  Self-signed maybe?  And while you're at it, why not get
>> every machine in the world to trust that cert...  Oh dear, do we have a
>> security problem?
>>
>
> I think we could do self signed certs and also continue to improve the CA
> infrastructure.  I'd like to see Google become a CA with a super-easy
> certificate issuing process.
>
>
> I foresee a problem where OSes have too many trusted root certs to
> manage.  The more CAs and trusted root certs we end up with, the larger the
> attack surface for anyone trying to inject badness into the system.
>
> No-one surely needs reminding about the recent CA breaches and bad certs
> issued.
>
> Security is only as strong as the weakest link, which is invariably us.  I
> don't know what we're aiming for, security or a false sense of it.
>
>
>
>>
>> Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for
>> the world (or more likely consign HTTP/2.0 to relative obscurity).
>>
>
>> It's been alluded to that we'd replace the CA infrastructure.  Don't you
>> think it's premature to propose mandatory use of SSL when you haven't
>> proposed what would replace the CA infrastructure yet?  That's like
>> starting building a spaceship for Alpha Centauri based on a rocket engine
>> that hasn't been invented yet.
>>
>
> Many researchers and security experts agree we need a CA overhaul.  But
> this doesn't mean that the existing CA infrastructure is not usable.
>  Despite its flaws, it is better than no CA system.  And we can fix it!
>  Look at this as an opportunity, not a hurdle.
>
> I'd love to fix it.  Not sure how though.
>
>
>
>
>>
>> You'd have to replace CRL and OCSP checking protocols, because they use
>> HTTP, and mandating use of SSL for that would create a paradox (how do you
>> check the cert on the connection used to check the cert ad infinitum).
>>
>
> Naw, the browsers wouldn't need to validate the cert from the OCSP server
> because the contents that they fetch are self-signed and verifiable
> independently.
>
> verifiable independently?  With certs?  How do you check those?
>
> Or do we rely on DNS for that?
>
>
>
>
>>
>>
>> OTHER
>>
>> Most people here seem to focus on issues such as CPU load, extra R-Ts
>> introduced by the SSL setup etc.  Those are valid concerns, but they are
>> easier to overcome than the others. They aren't easy to overcome, just
>> easier.
>>
>
> Agree.
>
>
>>
>>
>> Seems to me it would be a whole lot simpler and more compatible with the
>> actual world we actually live on just to make crypto optional.
>>
>
> True.  It would also be a whole lot less secure, leave users exposed on
> the net to trust that every single website remembered to secure the
> communicates of private data and that none of them use sniffable
> cookies....
>
>
> The current situation is really that bad?
>
>
>
>
>
>
>>
>> Adrien
>>
>>
>> [*] We can't realistically expect server operators to indefinitely
>> support both HTTP/2.0 and HTTP/1.1.  Some will inevitably drop HTTP/1.1
>> support, and that part of the internet will then become unavailable to
>> those forced to keep using HTTP/1.1, effectively denying those users.
>>
>
> Actually, HTTP/1.1 will become like IE6.  It will be this legacy thing
> holding back the world.  Eventually there will be big pushes to rid the
> world of this insecure protocol that we wish we no longer had lying around
> :-)
>
>
>>
>>  [**] T
>> here has been some discussion about enabling intermediaries to be able to
>> see plaintext payload by terminating the SSL connection at each end.  This
>> hasn't progressed enough, and the current proposals still basically bypass
>> intermediaries AFAICT.
>>
>>
>
> Agree it needs more work.  But I don't think this should be a condition of
> making HTTP/2.0 a more secure protocol.
>
>
> My main issue is not with security or privacy, but only relating to
> mandating the USE of it.
>
> Adrien
>
>
>
>
> Mike
>
>
>
>

--f46d0401fc4322b66104c514eb85
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I won&#39;t comment on most of this - I think we&#39;ve each made our point=
s and will need to respectfully disagree. =A0One last point below.<br><br><=
div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 10:43 PM, Adrien W. de Cr=
oy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blan=
k">adrien@qbik.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">


<div><div class=3D"im"><br>------ Original Message ------<br>From: &quot;Mi=
ke Belshe&quot; <a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@b=
elshe.com</a><br>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div><br><br>
<div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 9:51 PM, Adrien W. de Cr=
oy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blan=
k"></a><a href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com=
</a>&gt;</span> wrote:<br>

<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div><br>------ Original Message ------<br>From: &quot;Mike Belshe&quot; <a=
 href=3D"mailto:mike@belshe.com" target=3D"_blank"></a><a href=3D"mailto:mi=
ke@belshe.com" target=3D"_blank">mike@belshe.com</a><br>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div><br><br>
<div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Cr=
oy <span dir=3D"ltr">&lt;<a href=3D"mailto:adrien@qbik.com" target=3D"_blan=
k"></a><a href=3D"mailto:adrien@qbik.com" target=3D"_blank"></a><a href=3D"=
mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;</span> wr=
ote:<br>

<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>Mandating use of (c.f. support for) crypto in HTTP will prevent it fro=
m being deployable in a significant number of scenarios, thereby requiring =
ongoing use of=A0HTTP/1.1.</div>
<div>=A0</div></div></blockquote>
<div><br></div>
<div>This is true for any manifestation of HTTP/2.0 with or without securit=
y.</div></div></div></blockquote>
<div>=A0</div></div>
<div>I don&#39;t know if it should be a goal though.=A0 IMO the goal should=
 be to replace the old with something better, not replace it with something=
 that can only be used by a subset of current users, and therefore requires=
 continued perpetual use of the old.<br>
</div></div></blockquote>
<div><br></div>
<div>Agree; goal should be to be better. =A0That doesn&#39;t mean that I th=
ink everyone will jump to it in short order, though.=A0</div></div></div></=
blockquote>
</div><div>I don&#39;t expect anything to be jumped to in short order.</div=
><div class=3D"im">
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div></div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>DESIRABILITY OF PRIVACY</div>
<div>=A0</div>
<div><span>
<div><span>
<div><span>
<div>Proponents of mandatory crypto </div></span></div></span>are making an=
 assumption <span><span>that privacy is ALWAYS desirable.</span></span></di=
v>
<div><span><span></span></span>=A0</div></span></div></div>
<div>It is not ALWAYS desirable. </div>
<div>=A0</div>
<div>In many cases <span>privacy </span>is undesirable or even illegal.</di=
v>
<div>=A0</div>
<div>1. Many states have outlawed use of crypto.=A0 So will this be HTTP on=
ly for the &quot;free&quot; societies?=A0 Or is the IETF trying to achieve =
political change in &quot;repressed&quot; countries?=A0 I&#39;ve dealt with=
 our equivalent of the NSA on this matter.=A0 Have you?=A0 I know the IETF =
has a neutral position on enabling wiretapping.=A0 Mandating SSL is not a n=
eutral / apolitical stance.=A0 Steering HTTP into a collision course with g=
overnments just doesn&#39;t seem like much of a smart idea.</div>
</blockquote>
<div><br></div>
<div>I don&#39;t know of states that prohibit TLS. =A0Do they exist? =A0Whi=
ch ones are they? =A0Can you list them?</div></div></div></blockquote>
<div>=A0</div></div>
<div>It&#39;s hard to get recent information, but my understanding is that =
a lot of of people live in jurisdictions where crypto is tightly controlled=
.</div>
<div>=A0</div>
<div>E.g. China, India, several mid-eastern and former soviet countries.<br=
></div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Are you saying that HTTP/2.0 must be compliant with the laws of every =
country? =A0And that any country passing a law making HTTP/2.0 features ill=
egal will block HTTP/2.0? :-)</div></div></div></blockquote>
<div>=A0</div></div>
<div><span>
<div>In practice, we would have different levels of difficulty ignoring law=
s of a country depending on which country that was.</div></span></div>
<div>=A0</div>
<div>If the US passed a law that banned it, and threatened to put you in ja=
il, you may give that more weight.</div>
<div>=A0</div>
<div>Governments already have wiretapping laws.=A0 Do you think they will a=
bandon that as a desire?<br></div>
<div>Many laws on crypto were only relatively recently relaxed.=A0 There&#3=
9;s an ongoing tussle between security agencies of government and privacy a=
dvocates over it.=A0 We can&#39;t guarantee that within the next 5 years th=
at any country=A0wouldn&#39;t make it illegal.</div>

<div>=A0</div>
<div>It&#39;s not like we can claim there&#39;s no reasonable expectation t=
o consider laws when it comes to crypto.=A0 That&#39;s the one area of soft=
ware development where caveats and warnings are stamped over so much code a=
nd documentation that we can&#39;t claim to be unaware it&#39;s an issue.</=
div>
</div></blockquote>
<div><br></div>
<div><br></div>
<div>Well, when you&#39;ve got a specific country to talk about, please rai=
se the issue.</div></div></div></blockquote>
</div><div>Maybe someone from one of the countries I listed above would be =
in a better position to comment than I am.</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>2. Most prisons do not allow inmates to have privacy when it comes to =
communications.=A0 Would you deny [*]=A0all prisoners access to the web?=A0=
 There are other scenarios where privacy is not expected, permitted or desi=
rable.=A0</div>
</blockquote>
<div><br></div>
<div>I doubt this is a problem. =A0If it is, then the poor prisoners are al=
ready being denied access to their banks, most all of which require TLS.</d=
iv></div></div></blockquote></div>
<div>Maybe there&#39;s not much sympathy for prisoners.=A0 That&#39;s just =
one example.</div>
<div>=A0</div>
<div>Schools, homes and businesses are also places where there may be deeme=
d (by those in charge) a need to monitor activity.</div></div></blockquote>
<div><br></div>
<div>They already have this problem. =A0Twitter, Google, and Facebook have =
all publicly declared that they are working their way to 100% TLS all the t=
ime. =A0These issues exist today. =A0If you want to filter TLS, you can; se=
veral vendors provide solutions.</div>
</div></div></blockquote>
</div><div>Sure, and as said before, this is not without security implicati=
ons.</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br>But schools have bigger problems - like those cell phones with mor=
e bandwidth than the school has to its classrooms. =A0</div></div></div></b=
lockquote>
</div><div>Many schools ban cellphones.=A0 My son&#39;s school does.</div><=
div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>I don&#39;t think the protocol has an obligation to reduce security so=
 that prisons, schools, or other institutions can institute content control=
. =A0 And by the time this standard is done, the policy rules will have cha=
nged again.</div>
</div></div></blockquote>
<div>=A0</div>
</div><div>I&#39;m not proposing we take the current level of security of H=
TTP/1.1 and reduce it.</div>
<div>=A0</div>
<div>you&#39;re proposing we add TLS.=A0 Whilst that will provide a level o=
f privacy in many cases, I don&#39;t think it will overall result in an imp=
roved security situation overall, especially if it breaks SSL/TLS.=A0 I kin=
da like SSL/TLS, I&#39;d like it to continue to be usable.<br>
</div><div class=3D"im">
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>A simple thing we do know is that users expect and deserve to be prote=
cted by the protocols and sites they visit. =A0We&#39;re passing more laws =
every day to ensure this - and HTTP can help.</div></div></div></blockquote=
>

<div>=A0</div>
</div><div>rubbish, we know no such thing.</div>
<div>=A0</div>
<div>all users are not equal.=A0 All users are not equally deserving of pri=
vacy in all situations.</div><div class=3D"im">
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<div>3. Many situations require communications to be open and visible.=A0 W=
ould you rather your network infrastructure phoned home with SSL or HTTP th=
at you can see.</div></blockquote>
<div><br></div>
<div>Can you enumerate these? =A0For debugging, of course it makes sense fo=
r endpoints to have unencrypted modes. =A0We can also build better tools, s=
uch as the improvements for decoding TLS traffic with Wireshark that have l=
anded recently.</div>
</div></div></blockquote>
<div>=A0</div></div>
<div>Can only decode NULL cipher.</div></div></blockquote>
<div><br></div>
<div>With wireshark you can decide SSL session if you let your browser dump=
 the private keys. =A0Chrome supports this. =A0<a href=3D"http://www.imperi=
alviolet.org/2012/06/25/wireshark.html" target=3D"_blank"></a><a href=3D"ht=
tp://www.imperialviolet.org/2012/06/25/wireshark.html" target=3D"_blank">ht=
tp://www.imperialviolet.org/2012/06/25/wireshark.html</a></div>

<div></div></div></div></blockquote>
<div>=A0</div>
<div>=A0</div>
</div><div>OK, well let&#39;s hope we never have to debug any protocol - le=
vel stuff with any other client software.</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>Huawei recently got excluded from bidding for an Australian govt contr=
act (a large one) due to concerns over possibility of eavesdropping.</div><=
/div></blockquote>
<div><br></div>
<div>Excellent point for why we should make the protocol more secure :-) =
=A0If everything were encrypted, it wouldn&#39;t have been a problem.=A0</d=
iv></div></div></blockquote>
</div><div>Sure, anything sensitive should be encrypted before it goes over=
 that infrastructure.=A0 But I&#39;m sure some large equipment vendor was l=
obbying somewhere.<br></div><div class=3D"im">
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>Mandating privacy on HTTP will make it easier in some cases (e.g. infr=
astructure) to eavesdrop on non-private communication.<br></div></div></blo=
ckquote>
<div><br></div>
<div>What? =A0Mandating privacy makes it easier to eavesdrop? =A0I don&#39;=
t think so :-)</div></div></div></blockquote>
<div>=A0</div>
</div><div>sure it does.=A0 How can you tell if something is spyware or eav=
esdropping on you if you can&#39;t see if the phone home data is a version =
check or a report of your activity because it&#39;s encrypted?</div>
<div>=A0</div>
<div>If my phone-home data is plaintext HTTP, I can demonstrate it&#39;s no=
t eavesdropping.</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div></div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>4. Scanning for malware at a gateway.=A0 This requirement is NOT going=
 away, and the SSL will be brute-forced / spoofed etc to achieve this.=A0 M=
andating SSL will just make it easier for malware to propagate, since you m=
ake it harder to scan [**].</div>
</blockquote>
<div><br></div>
<div>This problem exists today; IP leakage has to be checked even across TL=
S based connections. =A0Solutions for these corporate IT groups exist, incl=
uding TLS aware proxies and TLS man in the middle. =A0Several vendors provi=
de these solutions today.</div>
</div></div></blockquote>
<div>=A0</div></div>
<div>Sure.=A0 But as previously discussed, the way it is done results in an=
 overall reduction in security.=A0 A &quot;sanctioned&quot; way would be mu=
ch preferable, but necessarily reduces privacy potentially to 0.</div></div=
>
</blockquote>
<div><br></div>
<div>I disagree that it takes privacy to zero. </div></div></div></blockquo=
te>
</div><div>I said potentially.=A0 If you let your company see your data bec=
ause they operate the proxy that terminates the SSL connection from the bro=
wser, then your expectation of privacy (from your company) is potentially 0=
.</div>

<div>=A0</div>
<div>Companies will continue to insist on scanning or blocking. <br></div><=
div class=3D"im">
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div>=A0The end user will be aware of such changes; these are only possible=
 by changing the trust points in the browser. =A0If your company gives you =
a browser, it can change your trust points. =A0But if it is your own browse=
r, you pick the trust points.</div>

<div><br></div>
<div>I agree this is obscure, but it is something we can improve upon. =A0I=
 agree that we should.</div>
<div><br></div>
<div>Until we turn on SSL for everyone, it won&#39;t likely get improved.</=
div></div></div></blockquote>
<div>=A0</div>
</div><div>Yeah I dunno, I think we could improve it independently of that.=
</div><div class=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>
<div>=A0</div>
<div>And, do we want shared caches to continue to exist?</div></div></block=
quote>
<div><br></div>
<div>Of course we do. =A0We switch to opt-in proxies (like what Roberto Peo=
n has proposed) rather than the transparent proxies that we have today. =A0=
These are much better because the user has the opportunity to know the prox=
y is there, unlike today. =A0</div>
</div></div></blockquote>
</div><div>We&#39;ve been recommending against using transparent proxying f=
or years.=A0 Unfortunately that doesn&#39;t reduce demand for it.</div>
<div>=A0</div>
<div>proxy discovery needs to be greatly improved.</div>
<div>=A0</div>
<div>But even with explicit proxy use by the client, for SSL/TLS that just =
boils down to HTTP CONNECT, which bypasses the proxy anyway.</div><div clas=
s=3D"im">
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div>Personally, the security risks of using such a proxy probably outweigh=
 the performance advantages for most people.</div></div></div></blockquote>
<div>=A0</div>
</div><div>Using=A0a home or corporate proxy has security risks that outwei=
gh benefits of shared cache and scanning????</div>
<div>=A0</div>
<div>Problem is, the people who operate these proxies think differently to =
you.=A0 They want to see and scan everything.=A0 They don&#39;t care so muc=
h about privacy on their LAN.=A0</div></div></blockquote><div><br></div><di=
v>
<br></div><div>Aha - this is the crux indeed. =A0This is the advocated posi=
tion of the &quot;people that operate these proxies&quot;.</div><div><br></=
div><div>I&#39;m taking the position of the user. =A0I want the user to be =
able to know if someone is spying on them in all cases. =A0 I think censors=
hip and alteration of content is such a huge risk to us as a free people th=
at we simply cannot tolerate not knowing who is scanning our lines. =A0We m=
ust must must know it.</div>
<div><br></div><div>I have yet to find a single user that wants their commu=
nications to be sniffed and potentially altered by third parties without th=
eir knowledge. =A0Do you want that for your own data?</div><div><br></div>
<div>Now, I&#39;m not trying to block the proxy operators you mention. =A0I=
 just want the users to be made aware of their presence, so that users can =
decide for themselves whether it is ok (because its their boss on their com=
pany computer) or not (because its someone at my telco).</div>
<div><br></div><div>We do have a choice here - safety for the users vs. ena=
bling of transparent snooping for anyone.</div><div><br></div><div>I choose=
 the users 100% of the time.</div><div>Mike</div><div><br></div><div><br>
</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>=A0</div>
<div>They also may pay for data, so they want to cache.</div>
<div>=A0</div>
<div>Wireless hotspots is a different issue of course, something needs to b=
e done about that.</div>
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR=
-Nw@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote"><div class=3D"im">
<div> =A0This is similar in concept to what Douglas Beaver articulated so w=
ell in a separate thread.</div>
<div><br></div>
<div>=A0</div>
</div><div>
<div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div><div><div class=3D"h5">
<div>COST</div>
<div>=A0</div>
<div>Google, Facebook and Twitter don&#39;t need to spend much on SSL certs=
 from CAs.=A0 Not in the scheme of things.</div></div></div></blockquote><d=
iv><div class=3D"h5">
<div><br></div>
<div>Actually, this is not true. =A0These companies spend the most on &quot=
;well rooted&quot; certificates.</div></div></div></div></div></blockquote>
<div>=A0</div></div><div><div class=3D"h5">
<div>not compared to their revenues is what I meant.<br></div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>What about the other=A0hundreds of millions=A0of us running web server=
s.=A0 You gonna buy us our certs?=A0 I better buy me some shares in Verisig=
n et al..</div>
<div></div></blockquote>
<div><br></div>
<div>They are free - <a href=3D"https://www.startssl.com/" target=3D"_blank=
"></a><a href=3D"https://www.startssl.com/" target=3D"_blank"></a><a href=
=3D"https://www.startssl.com/" target=3D"_blank">https://www.startssl.com/<=
/a></div>

<div>=A0</div></div></div></blockquote></div>
<div>the thin edge of the wedge.=A0 How can one have any faith in some enti=
ty vouching for some other entity when no payment is made (therefore no rig=
orous check can be made).</div>
<div>
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>SECURITY</div>
<div>=A0</div>
<div>Mandating SSL on all devices with HTTP stacks (e.g. your home network =
infrastructure, NAS, Modem etc) cannot be practically done while we rely on=
 CAs to issue certs, and while those certs must be installed, expired, upda=
ted etc etc.</div>
</blockquote>
<div><br></div>
<div>I think it can!</div></div></div></blockquote></div>
<div>I&#39;m sure it can be made a lot easier.</div>
<div>=A0</div>
<div>I think maybe even it could be made easy enough for my mom to do it on=
 her DSL modem web interface... er... maybe not....</div>
<div>
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>Or do you think manufacturers of such hardware should just ship with s=
ome default cert?=A0 Self-signed maybe?=A0 And while you&#39;re at it, why =
not get every machine in the world to trust that cert...=A0 Oh dear, do we =
have a security problem?=A0</div>
</blockquote>
<div><br></div>
<div>I think we could do self signed certs and also continue to improve the=
 CA infrastructure. =A0I&#39;d like to see Google become a CA with a super-=
easy certificate issuing process.</div></div></div></blockquote>
<div>=A0</div></div>
<div>I foresee a problem where OSes have too many trusted root certs to man=
age.=A0 The more CAs and trusted root certs we end up with, the larger the =
attack surface for anyone trying to inject badness into the system.</div>

<div>=A0</div>
<div>No-one surely needs reminding about the recent CA breaches and bad cer=
ts issued.</div>
<div>=A0</div>
<div>Security is only as strong as the weakest link, which is invariably us=
.=A0 I don&#39;t know what we&#39;re aiming for, security or a false sense =
of it.<br></div>
<div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<div>Frankly I think mandating SSL for all HTTP/2.0 will just break SSL for=
 the world (or more likely consign HTTP/2.0 to relative obscurity).=A0</div=
></blockquote>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>It&#39;s been alluded to that we&#39;d replace the CA infrastructure.=
=A0 Don&#39;t you think it&#39;s premature to propose mandatory use of SSL =
when you haven&#39;t proposed what would replace the CA infrastructure yet?=
=A0 That&#39;s like starting building a=A0spaceship for=A0Alpha Centauri=A0=
based on a rocket engine that hasn&#39;t been invented yet.</div>
</blockquote>
<div><br></div>
<div>Many researchers and security experts agree we need a CA overhaul. =A0=
But this doesn&#39;t mean that the existing CA infrastructure is not usable=
. =A0Despite its flaws, it is better than no CA system. =A0And we can fix i=
t! =A0Look at this as an opportunity, not a hurdle.</div>
</div></div></blockquote></div>
<div>I&#39;d love to fix it.=A0 Not sure how though.</div>
<div>
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>You&#39;d have to replace CRL and OCSP checking protocols, because the=
y use HTTP, and mandating use of SSL for that would create a paradox (how d=
o you check the cert on the connection used to check the cert ad infinitum)=
.</div>
</blockquote>
<div><br></div>
<div>Naw, the browsers wouldn&#39;t need to validate the cert from the OCSP=
 server because the contents that they fetch are self-signed and verifiable=
 independently.</div></div></div></blockquote></div>
<div>verifiable independently?=A0 With certs?=A0 How do you check those?</d=
iv>
<div>=A0</div>
<div>Or do we rely on DNS for that?</div>
<div>
<div>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>OTHER</div>
<div>=A0</div>
<div>Most people here seem to focus on issues such as CPU load, extra R-Ts =
introduced by the SSL setup etc.=A0 Those are valid concerns, but they are =
easier to overcome than the others. They aren&#39;t easy to overcome, just =
easier.</div>
</blockquote>
<div><br></div>
<div>Agree.</div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>=A0</div>
<div>Seems to me it would be a whole lot simpler and more compatible with t=
he actual world we actually live on just to make=A0crypto optional.</div></=
blockquote>
<div><br></div>
<div>True. =A0It would also be a whole lot less secure, leave users exposed=
 on the net to trust that every single website remembered to secure the com=
municates of private data and that none of them use sniffable cookies.... =
=A0</div>
</div></div></blockquote>
<div>=A0</div></div>
<div>The current situation is really that bad?</div>
<div>
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div>Adrien</div>
<div>=A0</div>
<div>=A0</div>
<div>[*] We can&#39;t realistically expect server operators to indefinitely=
 support both HTTP/2.0 and HTTP/1.1.=A0 Some will inevitably drop HTTP/1.1 =
support, and that part of the internet will then become unavailable to thos=
e forced to keep using HTTP/1.1, effectively denying those users.</div>
</blockquote>
<div><br></div>
<div>Actually, HTTP/1.1 will become like IE6. =A0It will be this legacy thi=
ng holding back the world. =A0Eventually there will be big pushes to rid th=
e world of this insecure protocol that we wish we no longer had lying aroun=
d :-)</div>

<div>=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div><span>
<div>[**] T</div></span>here has been some discussion about enabling interm=
ediaries to be able to see plaintext payload by terminating the SSL connect=
ion at each end.=A0 This hasn&#39;t progressed enough, and the current prop=
osals still basically bypass intermediaries AFAICT.</div>

<div>=A0</div></blockquote>
<div><br></div>
<div>Agree it needs more work. =A0But I don&#39;t think this should be a co=
ndition of making HTTP/2.0 a more secure protocol.</div></div></div></block=
quote>
<div>=A0</div></div>
<div>My main issue is not with security or privacy, but only relating to ma=
ndating the USE of it.</div>
<div>=A0</div>
<div>Adrien</div>
<div><br>=A0</div>
<blockquote cite=3D"http://CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=3D7-DkZW=
dEVWA@mail.gmail.com" type=3D"cite">
<div>
<div class=3D"gmail_quote">
<div></div>
<div><br></div>
<div>Mike</div>
<div>=A0</div></div><br></div></blockquote></div></div></div></div></div><b=
r></div></blockquote></div></blockquote></div><br>

--f46d0401fc4322b66104c514eb85--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 17 23:54:50 2012
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 25F5211E814F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:54:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.897
X-Spam-Level: 
X-Spam-Status: No, score=-9.897 tagged_above=-999 required=5 tests=[AWL=0.079, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 zEwm6fKN9T0D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jul 2012 23:54:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 20D8D11E814E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jul 2012 23:54:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrO9f-0007VM-FJ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 06:54:39 +0000
Resent-Date: Wed, 18 Jul 2012 06:54:39 +0000
Resent-Message-Id: <E1SrO9f-0007VM-FJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrO9U-0007Tr-KW for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 06:54:28 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrO9T-0003NI-9h for ietf-http-wg@w3.org; Wed, 18 Jul 2012 06:54:28 +0000
Received: by lbom4 with SMTP id m4so1788703lbo.2 for <ietf-http-wg@w3.org>; Tue, 17 Jul 2012 23:54:00 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=bjz9D4Wh8X2cjOxSeUVcKwrKjA1VijpyK+ZqX8z0BdI=; b=Dmj1NhpLBCM7idDj1GsEbMNPRqTO+Hj+6bAQisG8N2qCXK44Vc7nh+Rn/jvOMol+eg UXLMECXKIrkIqr3THtu3/Dx5b/KVeDEJ2K/eMC91FAYa2VWakBWeVINjFJYAdQCygWHK 5hngRWgnJ2fZDdqpsG/hL6I5wNl5YXja5I9nHHHdQRc9q0O7VsPP1xhz+aJpNI6pX/dh YSiXhqvXY/MbGNsOq30NVuTtb3DLyPeP/yi7m+tbFNriaJpSk1zgkrdg+v8Dzmhnu/3r W4It4iMlYenobCqTvqE4xIwuXfwXqAuqp3GdZ0v9QK7Rm5M+yueSmnJFS0bSNFnjldu8 iurA==
MIME-Version: 1.0
Received: by 10.112.84.65 with SMTP id w1mr1173078lby.40.1342594440458; Tue, 17 Jul 2012 23:54:00 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 17 Jul 2012 23:54:00 -0700 (PDT)
In-Reply-To: <20120718060936.GC5875@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu>
Date: Tue, 17 Jul 2012 23:54:00 -0700
Message-ID: <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>,  grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401696db3731704c51520d5
X-Gm-Message-State: ALoCoQmHtif4re6UogfA6ua+HU9u3kp8Ff1v60y1zM1O7lQ0530Md7qBxHkUQ8z/zKcvJsMLt/vu
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrO9T-0003NI-9h c90aeab968766d93b873081b1d1a639e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14455
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>

--f46d0401696db3731704c51520d5
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 11:09 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Tue, Jul 17, 2012 at 09:22:24PM -0400, Phillip Hallam-Baker wrote:
> > -1
> >
> > I don't want to have a mandatory requirement unless it is going to
> > change behavior.
> >
> > We already have ubiquitous deployment of TLS in browsers. The code is
> > freely available, everyone knows the benefit.
> >
> > The only HTTP servers or clients I am aware of that don't have TLS
> > support are either toolsets that the provider expects to be used with
> > OpenSSL or the like and embedded systems.
> >
> > Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
> > seem to do any good either. It just means that IPv6 is harder to
> > deploy as implementations are required to support a security layer
> > almost nobody uses as TLS has proved better.
>
> The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 will
> be deployed between the browser and the load balancer, and everything
> behind will remain HTTP/1 due to the added nuisances of deploying 2.0
> everywhere. Almost nobody does IPv6 between LB and server nowadays, it's
> added cost for no benefit.
>
> This will force us to continue to support the crappy parsers of 1.1
> forever and not to have MUX between the LB and the server, and that's
> precisely the situation I'd like to avoid, by having a protocol which
> *supports* more privacy but does not impose it where it's not expected.
>

This is not true; you can use whatever you want in your backoffice.  I've
talked about this many times before, with or without TLS; whatever you
want.   It's the browser channel which will be TLS only.



>
> > Making TLS a mandatory requirement seems like a feelgood approach to
> > security to me. Instead of doing something useful, we pass a
> > resolution telling people to do what they plan to do anyway.
>
> Agreed. As I already said multiple times, sensible services requiring
> privacy are already secured by TLS and it does not save them from being
> tampered. But with TLS everywhere, we'll make the situation worse by
> accustoming users to click all the day on "I accept the risks..." when
> connecting to most of the poorly managed sites including the self-signed
> equipments they run at home.
>
> I'm really against making such a thing mandatory because it will only
> improve privacy on a few services which actually do not need it and will
> globally deteriorate the overall security by lowering the level of control
> of users.
>

We just disagree.  And I keep going back to the same argument over and over:

Show me the user that will stand up and say, "Yes, I would like my
communications to be snoopable and changeable by 3rd parties without my
knowledge."

When we find those users, we can design a protocol for them.  Until then,
let's design for the existing users of the Internet that want privacy, they
want security, they want to be free of tampering, and they want to know if
someone else can snoop their traffic.

Sorry - that will be the last time I say that for a while...

Mike


> Willy
>
>
>

--f46d0401696db3731704c51520d5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 11:09 PM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank"=
>w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On Tue, Jul 17, 2012 at 09:22:24PM -0400, Phillip Hallam-=
Baker wrote:<br>
&gt; -1<br>
&gt;<br>
&gt; I don&#39;t want to have a mandatory requirement unless it is going to=
<br>
&gt; change behavior.<br>
&gt;<br>
&gt; We already have ubiquitous deployment of TLS in browsers. The code is<=
br>
&gt; freely available, everyone knows the benefit.<br>
&gt;<br>
&gt; The only HTTP servers or clients I am aware of that don&#39;t have TLS=
<br>
&gt; support are either toolsets that the provider expects to be used with<=
br>
&gt; OpenSSL or the like and embedded systems.<br>
&gt;<br>
&gt; Incidentally, suport for IPSEC is mandatory in IPv6 but that does not<=
br>
&gt; seem to do any good either. It just means that IPv6 is harder to<br>
&gt; deploy as implementations are required to support a security layer<br>
&gt; almost nobody uses as TLS has proved better.<br>
<br>
</div>The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 w=
ill<br>
be deployed between the browser and the load balancer, and everything<br>
behind will remain HTTP/1 due to the added nuisances of deploying 2.0<br>
everywhere. Almost nobody does IPv6 between LB and server nowadays, it&#39;=
s<br>
added cost for no benefit.<br>
<br>
This will force us to continue to support the crappy parsers of 1.1<br>
forever and not to have MUX between the LB and the server, and that&#39;s<b=
r>
precisely the situation I&#39;d like to avoid, by having a protocol which<b=
r>
*supports* more privacy but does not impose it where it&#39;s not expected.=
<br></blockquote><div><br></div><div>This is not true; you can use whatever=
 you want in your backoffice. =A0I&#39;ve talked about this many times befo=
re, with or without TLS; whatever you want. =A0 It&#39;s the browser channe=
l which will be TLS only.=A0</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; Making TLS a mandatory requirement seems like a feelgood approach to<b=
r>
&gt; security to me. Instead of doing something useful, we pass a<br>
&gt; resolution telling people to do what they plan to do anyway.<br>
<br>
</div>Agreed. As I already said multiple times, sensible services requiring=
<br>
privacy are already secured by TLS and it does not save them from being<br>
tampered. But with TLS everywhere, we&#39;ll make the situation worse by<br=
>
accustoming users to click all the day on &quot;I accept the risks...&quot;=
 when<br>
connecting to most of the poorly managed sites including the self-signed<br=
>
equipments they run at home.<br>
<br>
I&#39;m really against making such a thing mandatory because it will only<b=
r>
improve privacy on a few services which actually do not need it and will<br=
>
globally deteriorate the overall security by lowering the level of control<=
br>
of users.<br></blockquote><div><br></div><div>We just disagree. =A0And I ke=
ep going back to the same argument over and over:</div><div><br></div><div>=
Show me the user that will stand up and say, &quot;Yes, I would like my com=
munications to be snoopable and changeable by 3rd parties without my knowle=
dge.&quot;<br>
<br>When we find those users, we can design a protocol for them. =A0Until t=
hen, let&#39;s design for the existing users of the Internet that want priv=
acy, they want security, they want to be free of tampering, and they want t=
o know if someone else can snoop their traffic.</div>
<div><br></div><div>Sorry - that will be the last time I say that for a whi=
le...</div><div><br></div><div>Mike</div><div><br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Willy<br>
<br>
<br>
</font></span></blockquote></div><br>

--f46d0401696db3731704c51520d5--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:05:35 2012
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 1474511E814E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:05:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.8
X-Spam-Level: 
X-Spam-Status: No, score=-7.8 tagged_above=-999 required=5 tests=[AWL=-2.024, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FM_IS_IT_OUR_ACCOUNT=4.2, HTML_MESSAGE=0.001, 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 w1crGSqXS7Rp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:05:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1231C11E8145 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:05:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOKC-0005at-VR for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:05:33 +0000
Resent-Date: Wed, 18 Jul 2012 07:05:32 +0000
Resent-Message-Id: <E1SrOKC-0005at-VR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrOK2-0005ZX-NT for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:05:22 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrOJu-0003mA-JD for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:05:22 +0000
Received: by lbom4 with SMTP id m4so1799633lbo.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 00:04:47 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=Y5g89Hw2mYDQF7eB3GzFVix++H3P1BUqyMbUEkBmbEc=; b=eTn5nAoNHPoB5VA0A/fyW3qD6ohpf09qKUT+dcJCzWK+mgkRdZr/uXjIfrfB5MIC6w NikR6Fd2LKC9XT7Ic7XPoQfnHV91w82V5rn+CpuAOKtmlQS3c1RVBRpj5VHc8v5ewBhy P07j2QSSdv77xGmy5QmSc2pHBf9v+7mBZ3WVvkY+B2zSklmH1bV4FOBVXSEsoOCIFe4w uz1KlVP5dYVHKvidbYHm9KSaQ2MCjaxRK8nc6KAyTZktNmG3UgqAW3GVVqIq3rp+x/gT wGeDMCnIZmn4bU9xYW4hlI+8ZmkPLFlTNfb0VzjF7h2UmT8N03fXrvKi7lz4F/5S0i+l slaw==
MIME-Version: 1.0
Received: by 10.112.39.135 with SMTP id p7mr1149530lbk.78.1342595087672; Wed, 18 Jul 2012 00:04:47 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Wed, 18 Jul 2012 00:04:47 -0700 (PDT)
In-Reply-To: <20120718061839.GD5875@1wt.eu>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com> <20120718061839.GD5875@1wt.eu>
Date: Wed, 18 Jul 2012 00:04:47 -0700
Message-ID: <CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>,  Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>,  =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=485b390f7a764724f304c515475c
X-Gm-Message-State: ALoCoQkTGCnn5CKbH8ee/vuz6EIxfk+8XrKpvZPMsCOjlQlJRY2a1za9f25bRMvTjOzWvYMeB7Dy
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FM_IS_IT_OUR_ACCOUNT=2.299, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrOJu-0003mA-JD 2eaefbb96ef713a34621c649b29c0a00
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14456
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>

--485b390f7a764724f304c515475c
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 17, 2012 at 11:18 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Tue, Jul 17, 2012 at 10:13:55PM -0700, Mike Belshe wrote:
> > > Mandating TLS in 2.0 will not provide an ounce of extra security
> > > unless you have a way to know who is running 2.0. And if you can do
> > > that you do not need the mandate.
> > >
> >
> > It's all negotiated in the handshake.  You'll know who is TLS and who is
> > not.
> >
> > It does provide lots of better security.  The internet cafe is the best
> > example.  I know you're aware of Firesheep.  We should make it impossible
> > to use firesheep in 2020.  Right?
>
> Mike, till now you've made serious arguments. But quite frankly, firesheep
> is just a joke to send the usual summer end-of-the-world alert to the
> press.
> I think none of us knows anybody who's been victim of this, because where
> it
> would have mattered, TLS would have been used anyway.
>

Or maybe you just don't know.


>
> I'm concerned about the situations where users' security is really
> attacked,
> which is massive MITM using fake certs, massive bank accounts and
> credentials
> collection using malware, spyware returning your browsing history to ads
> vendors, and more recently malware running on smartphones to collect a lot
> of personal information.
>

Your argument is basically this one:

"Dear GMail user,  Congratulations!  You no longer need a password to
access your account!  Because hackers have infiltrated TLS, we realize it
is not secure anyway.  Therefore, we've decided to remove all passwords so
that it is as easy for you to access your email as it is for the hackers.
 Enjoy the new service!"


I know there are a lot of types of bad guys.  I know there are a lot of
people pessimistic about TLS (me too!).  But that doesn't mean that we take
all security out of protocols.

Server authentication can and does work.  It will get even better once we
start using it everywhere.

Lets be clear:  TLS is more work.  It's harder.  It requires everyone to do
more than they do today.  It requires more tools.  It requires more
optimizations.  But it is absolutely better than where we stand now.  We
can make this work - it will take a lot of great engineering, but it can be
done!  Don't be so pessimistic as to say "aw, shucks, we can't do it"  - I
know for a fact we can.

Let's vote in favor of the users, and fix the problem.  Protocols can and
must be secured.  Where they are not, we secure them more.  If TLS is not
secure enough, we make it more secure too.  Mandating TLS for HTTP will not
be the end of this road - it is just the beginning.  But until we take
steps to secure the world, it can never happen.  Let's do this!!!



>
> Mandating use of TLS is irrelevant to these real world issues and can only
> make them worse. However I agree it will feel good to say "hey look, now I
> can show you that firesheep doesn't see my cleartext password anymore",
> but what site would require me to send my password in cleartext over the
> net anyway ?
>

Its not usually about passwords - its about cookie hijacking - going
straight into their sessions and accessing all their info.  Steal the
cookie and you're in.

Mike



>
> Regards,
> Willy
>
>

--485b390f7a764724f304c515475c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 11:18 PM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank"=
>w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On Tue, Jul 17, 2012 at 10:13:55PM -0700, Mike Belshe wro=
te:<br>
&gt; &gt; Mandating TLS in 2.0 will not provide an ounce of extra security<=
br>
&gt; &gt; unless you have a way to know who is running 2.0. And if you can =
do<br>
&gt; &gt; that you do not need the mandate.<br>
&gt; &gt;<br>
&gt;<br>
&gt; It&#39;s all negotiated in the handshake. =A0You&#39;ll know who is TL=
S and who is<br>
&gt; not.<br>
&gt;<br>
&gt; It does provide lots of better security. =A0The internet cafe is the b=
est<br>
&gt; example. =A0I know you&#39;re aware of Firesheep. =A0We should make it=
 impossible<br>
&gt; to use firesheep in 2020. =A0Right?<br>
<br>
</div>Mike, till now you&#39;ve made serious arguments. But quite frankly, =
firesheep<br>
is just a joke to send the usual summer end-of-the-world alert to the press=
.<br>
I think none of us knows anybody who&#39;s been victim of this, because whe=
re it<br>
would have mattered, TLS would have been used anyway.<br></blockquote><div>=
<br></div><div>Or maybe you just don&#39;t know.</div><div>=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">

<br>
I&#39;m concerned about the situations where users&#39; security is really =
attacked,<br>
which is massive MITM using fake certs, massive bank accounts and credentia=
ls<br>
collection using malware, spyware returning your browsing history to ads<br=
>
vendors, and more recently malware running on smartphones to collect a lot<=
br>
of personal information.<br></blockquote><div><br></div><div>Your argument =
is basically this one:</div><div><br></div><div>&quot;Dear GMail user, =A0C=
ongratulations! =A0You no longer need a password to access your account! =
=A0Because hackers have infiltrated TLS, we realize it is not secure anyway=
. =A0Therefore, we&#39;ve decided to remove all passwords so that it is as =
easy for you to access your email as it is for the hackers. =A0Enjoy the ne=
w service!&quot;</div>
<div><br></div><div><br></div><div>I know there are a lot of types of bad g=
uys. =A0I know there are a lot of people pessimistic about TLS (me too!). =
=A0But that doesn&#39;t mean that we take all security out of protocols.</d=
iv>
<div><br></div><div>Server authentication can and does work. =A0It will get=
 even better once we start using it everywhere.</div><div><br></div><div>Le=
ts be clear: =A0TLS is more work. =A0It&#39;s harder. =A0It requires everyo=
ne to do more than they do today. =A0It requires more tools. =A0It requires=
 more optimizations. =A0But it is absolutely better than where we stand now=
. =A0We can make this work - it will take a lot of great engineering, but i=
t can be done! =A0Don&#39;t be so pessimistic as to say &quot;aw, shucks, w=
e can&#39;t do it&quot; =A0- I know for a fact we can.=A0<br>
<br>Let&#39;s vote in favor of the users, and fix the problem. =A0Protocols=
 can and must be secured. =A0Where they are not, we secure them more. =A0If=
 TLS is not secure enough, we make it more secure too. =A0Mandating TLS for=
 HTTP will not be the end of this road - it is just the beginning. =A0But u=
ntil we take steps to secure the world, it can never happen. =A0Let&#39;s d=
o this!!! =A0</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Mandating use of TLS is irrelevant to these real world issues and can only<=
br>
make them worse. However I agree it will feel good to say &quot;hey look, n=
ow I<br>
can show you that firesheep doesn&#39;t see my cleartext password anymore&q=
uot;,<br>
but what site would require me to send my password in cleartext over the<br=
>
net anyway ?<br></blockquote><div><br></div><div>Its not usually about pass=
words - its about cookie hijacking - going straight into their sessions and=
 accessing all their info. =A0Steal the cookie and you&#39;re in.</div><div=
>
<br></div><div>Mike</div><div><br></div><div>=A0=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<br>
Regards,<br>
Willy<br>
<br>
</blockquote></div><br>

--485b390f7a764724f304c515475c--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:15:13 2012
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 B373811E8125 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:15:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.594
X-Spam-Level: 
X-Spam-Status: No, score=-9.594 tagged_above=-999 required=5 tests=[AWL=1.005, BAYES_00=-2.599, 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 uycEQCOIEdL9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:15:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDCAC11E80B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:15:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOTf-0003Zu-DB for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:15:19 +0000
Resent-Date: Wed, 18 Jul 2012 07:15:19 +0000
Resent-Message-Id: <E1SrOTf-0003Zu-DB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrOTV-0003YR-VP for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:15:10 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrOTU-0004CW-H2 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:15:09 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6I7Eb08008263; Wed, 18 Jul 2012 09:14:37 +0200
Date: Wed, 18 Jul 2012 09:14:37 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718071437.GF5875@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrOTU-0004CW-H2 e9483c65a896032924a6f6955ce47b07
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120718071437.GF5875@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14457
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 Tue, Jul 17, 2012 at 11:54:00PM -0700, Mike Belshe wrote:
> > The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 will
> > be deployed between the browser and the load balancer, and everything
> > behind will remain HTTP/1 due to the added nuisances of deploying 2.0
> > everywhere. Almost nobody does IPv6 between LB and server nowadays, it's
> > added cost for no benefit.
> >
> > This will force us to continue to support the crappy parsers of 1.1
> > forever and not to have MUX between the LB and the server, and that's
> > precisely the situation I'd like to avoid, by having a protocol which
> > *supports* more privacy but does not impose it where it's not expected.
> >
> 
> This is not true; you can use whatever you want in your backoffice.  I've
> talked about this many times before, with or without TLS; whatever you
> want.   It's the browser channel which will be TLS only.

That's why I want the protocol not to rely on TLS but to be self-sufficient.
If we can use HTTP/2 over TCP then I can disable TLS in the backoffice.
Otherwise I cannot and am forced to use HTTP/1 instead.

> > I'm really against making such a thing mandatory because it will only
> > improve privacy on a few services which actually do not need it and will
> > globally deteriorate the overall security by lowering the level of control
> > of users.
> >
> 
> We just disagree.  And I keep going back to the same argument over and over:
> 
> Show me the user that will stand up and say, "Yes, I would like my
> communications to be snoopable and changeable by 3rd parties without my
> knowledge."

I am one of these users. When I'm browsing in clear text, I know my
communications are snoopable and changeable and I don't care. When I
care I use https. Using cleartext has many benefits for me as a user.
It's faster and I don't have to constantly click "I accept" on every
pop-up that is raised due to too difficult certificate management for
the server, or the mess of keeping a CA list up to date.

So I am one such user who doesn't want to be forced to face all the
discomfort of TLS when it does not make sense. TLS for no reason is
already badly used, there is no reason it will suddenly become better
when made mandatory. It's the opposite, sites having it good will not
improve and remain the same, but the number of sites which will have
to deal with it when not expected will increase the number of false
alarms on the user side. We don't want to accustom users to blindly
click on this warning anymore.

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:27:46 2012
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 6A5E321F84F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:27:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.521
X-Spam-Level: 
X-Spam-Status: No, score=-7.521 tagged_above=-999 required=5 tests=[AWL=-1.122, BAYES_00=-2.599, FM_IS_IT_OUR_ACCOUNT=4.2, 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 PodEWN3FEpvs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:27:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 335E421F84EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:27:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOfs-00080a-63 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:27:56 +0000
Resent-Date: Wed, 18 Jul 2012 07:27:56 +0000
Resent-Message-Id: <E1SrOfs-00080a-63@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrOfi-0007zN-2r for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:27:46 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrOfc-00052s-1J for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:27:46 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6I7R6kE008321; Wed, 18 Jul 2012 09:27:06 +0200
Date: Wed, 18 Jul 2012 09:27:06 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>, Martin =?iso-8859-1?Q?J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718072706.GG5875@1wt.eu>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com> <20120718061839.GD5875@1wt.eu> <CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FM_IS_IT_OUR_ACCOUNT=2.299, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrOfc-00052s-1J fc2a5d168fde55046b99e1056b6f4d73
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/20120718072706.GG5875@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14458
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 Wed, Jul 18, 2012 at 12:04:47AM -0700, Mike Belshe wrote:
> > I'm concerned about the situations where users' security is really
> > attacked,
> > which is massive MITM using fake certs, massive bank accounts and
> > credentials
> > collection using malware, spyware returning your browsing history to ads
> > vendors, and more recently malware running on smartphones to collect a lot
> > of personal information.
> >
> 
> Your argument is basically this one:
> 
> "Dear GMail user,  Congratulations!  You no longer need a password to
> access your account!  Because hackers have infiltrated TLS, we realize it
> is not secure anyway.  Therefore, we've decided to remove all passwords so
> that it is as easy for you to access your email as it is for the hackers.
>  Enjoy the new service!"

No it's unrelated. My argument is that the sensible services are already
TLS enabled and still are already facing the limits of this model. Security
people in banks are already saying that they're considering that their users
are browsing in clear text since TLS doesn't secure them *at all* right now.
They have to invent many mechanisms to prevent malware from stealing passwords
and injecting operations. Where is there any privacy in this model ?

And when a number of webmail accounts were recently suspected of having been
broken after a CA cert break-in, there was no way for the poor user to suspect
that his "https://" in front of the URL suddenly was not enough anymore to
protect his privacy.

> I know there are a lot of types of bad guys.  I know there are a lot of
> people pessimistic about TLS (me too!).  But that doesn't mean that we take
> all security out of protocols.

That's not I'm saying either. I'm saying that making it mandatory will not
improve the sites which already use it and will not improve the sites which
deliberately don't want to use it. It will just increase the breach between
the two categories and will even more confuse the end user.

I understand the benefit of using it for NPN, but that's the only real value.

> Server authentication can and does work.  It will get even better once we
> start using it everywhere.
> 
> Lets be clear:  TLS is more work.  It's harder.  It requires everyone to do
> more than they do today.  It requires more tools.  It requires more
> optimizations.  But it is absolutely better than where we stand now.  We
> can make this work - it will take a lot of great engineering, but it can be
> done!  Don't be so pessimistic as to say "aw, shucks, we can't do it"  - I
> know for a fact we can.

I'm not pessimistic, I'm basing my judgement on what has been done since
the beginning. Why do you think that people who deliberately don't care
about renewing their certs will suddenly change ? I'm facing cert alerts
every day during random browsing. You can be sure it will soon become worse
if we force users with even less consideration to produce a cert. We'll be
seeing self-signed certs everywhere with a life up to 2038.

> Let's vote in favor of the users, and fix the problem.

I'm one of the users and I want the situation to improve, not to become
worse. Right now the situation is already bad where TLS is used when not
needed. And it's bad where TLS is needed because there are many other
ways to get the info that is protected only by the transport.

> Protocols can and
> must be secured.  Where they are not, we secure them more.  If TLS is not
> secure enough, we make it more secure too.  Mandating TLS for HTTP will not
> be the end of this road - it is just the beginning.  But until we take
> steps to secure the world, it can never happen.  Let's do this!!!

Mike, as we discussed a few months ago, I would much more support your
proposals of using HTTP over a secured UDP. Really. It would provide
exactly the same model as TLS today (one which I'm not satisfied with)
but with much improved performance and lower deployment cost. But here
we're discussing about making it worse for end users and worse for server
admins. That's what I don't like in this model.

> > Mandating use of TLS is irrelevant to these real world issues and can only
> > make them worse. However I agree it will feel good to say "hey look, now I
> > can show you that firesheep doesn't see my cleartext password anymore",
> > but what site would require me to send my password in cleartext over the
> > net anyway ?
> >
> 
> Its not usually about passwords - its about cookie hijacking - going
> straight into their sessions and accessing all their info.  Steal the
> cookie and you're in.

Many sites are already sensible to cookie injection and this is something
TLS cannot fix. Cookie hijacking has been in used by malware for years, I
have proofs of that in many server-side logs where the same session is
used in parallel in two countries with completely different browsing
behaviours.

Sometimes I'm scared because I fell like people who want to push TLS hard
really are not aware of the state of the browsing security in 2012, and
*this* is even more concerning to me than the overhead of processing TLS!

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:28:18 2012
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 0F8A721F84FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:28:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.804
X-Spam-Level: 
X-Spam-Status: No, score=-5.804 tagged_above=-999 required=5 tests=[AWL=4.795, BAYES_00=-2.599, 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 iGH31KSbOWUI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:28:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 55C9B21F84EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:28:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOgV-0008AD-Vo for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:28:36 +0000
Resent-Date: Wed, 18 Jul 2012 07:28:35 +0000
Resent-Message-Id: <E1SrOgV-0008AD-Vo@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SrOgM-00087I-89 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:28:26 +0000
Received: from ipxbvo.tcif.telstra.com.au ([203.35.135.204]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SrOgG-0004y8-Vj for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:28:26 +0000
X-IronPort-AV: E=Sophos;i="4.77,608,1336312800";  d="scan'208";a="82842958"
Received: from unknown (HELO ipcavi.tcif.telstra.com.au) ([10.97.217.200]) by ipobvi.tcif.telstra.com.au with ESMTP; 18 Jul 2012 17:27:53 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6775"; a="89460005"
Received: from wsmsg3707.srv.dir.telstra.com ([172.49.40.81]) by ipcavi.tcif.telstra.com.au with ESMTP; 18 Jul 2012 17:27:52 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by wsmsg3707.srv.dir.telstra.com ([172.49.40.81]) with mapi; Wed, 18 Jul 2012 17:27:52 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 17:27:51 +1000
Thread-Topic: p7: rename b64token (to token68) to avoid misunderstandings
Thread-Index: Ac1kR5MkkfAq4EaNRjmv2hIjueeUCAAMpy3gAA5MC9A=
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.135.204; envelope-from=James.H.Manger@team.telstra.com; helo=ipxbvo.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SrOgG-0004y8-Vj ed563d4fed0074e53efebabd371007ca
X-Original-To: ietf-http-wg@w3.org
Subject: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14459
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>

SFRUUGJpcyBwYXJ0IDcgKEF1dGhlbnRpY2F0aW9uKSBpbnRyb2R1Y2VzIGEgbmV3IHBpZWNlIG9m
IEFCTkYgbGFiZWxsZWQgImI2NHRva2VuIiBbaHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJh
ZnQtaWV0Zi1odHRwYmlzLXA3LWF1dGgtMjAjc2VjdGlvbi0yLjFdLiBJdCBpcyBhbHNvIHJlZmVy
ZW5jZWQvcmVwZWF0ZWQgaW4gdGhlIE9BdXRoMiBCZWFyZXIgZHJhZnQgc3BlYy4gVGhlIG5ldyBB
Qk5GIGlzIG5lY2Vzc2FyeSBhbmQgZXhwbGFpbmVkIHF1aXRlIGNsZWFybHkgaW4gdGhlIHNwZWMu
IEhvd2V2ZXIsIHRoZSAiYjY0dG9rZW4iIGxhYmVsIGhhcyBhbHJlYWR5IGxlZCBhdCBsZWFzdCBh
IGhhbmRmdWwgb2YgcGVvcGxlIHRvIG1pc3Rha2VubHkgYXNzdW1lIGl0IGFsd2F5cyBob2xkcyBh
IGJhc2U2NC1lbmNvZGluZy4gVGhlIGV4YW1wbGVzIGluIHRoZSBPQXV0aDIgQmVhcmVyIHNwZWMg
d2VyZSBldmVuIGNoYW5nZWQgc28gdGhleSB3ZXJlIG5vdCBiYXNlNjQtZW5jb2RpbmdzIHRvIHRy
eSB0byBtaW5pbWlzZSB0aGUgbWlzdW5kZXJzdGFuZGluZywgYnV0IG90aGVycyBoYXZlIHN0aWxs
IG1hZGUgdGhlIG1pc3Rha2VuIGFzc3VtcHRpb24uDQoNCkhvdyBhYm91dCByZW5hbWluZyB0aGUg
QUJORiBwcm9kdWN0aW9uIHRvICJ0b2tlbjY4Ij8NCg0KVGhpcyBsYWJlbCByZWZsZWN0cyB0aGUg
ZmFjdCB0aGF0IGl0IHN1cHBvcnRzIGFuIGFscGhhYmV0IG9mIDY4IGNoYXJhY3RlcnMgKHBsdXMg
ZXF1YWwgc2lnbnMgYXQgdGhlIGVuZCkuDQoNClRoZSBuZXcgdGV4dCBpbiBwYXJ0IDcgd291bGQg
YmVjb21lOg0KDQogICB0b2tlbjY4ICAgICAgID0gMSooIEFMUEhBIC8gRElHSVQgLw0KICAgICAg
ICAgICAgICAgICAgICAgICAgIi0iIC8gIi4iIC8gIl8iIC8gIn4iIC8gIisiIC8gIi8iICkgKiI9
Ig0KDQogICBUaGUgInRva2VuNjgiIHN5bnRheCBhbGxvd3MgdGhlIDY2IHVucmVzZXJ2ZWQgVVJJ
IGNoYXJhY3RlcnMNCiAgIChbUkZDMzk4Nl0pLCBwbHVzIGEgZmV3IG90aGVycywgc28gdGhhdCBp
dCBjYW4gaG9sZCBhIGJhc2U2NCwNCiAgIGJhc2U2NHVybCAoVVJMIGFuZCBmaWxlbmFtZSBzYWZl
IGFscGhhYmV0KSwgYmFzZTMyLCBvciBiYXNlMTYgKGhleCkNCiAgIGVuY29kaW5nLCB3aXRoIG9y
IHdpdGhvdXQgcGFkZGluZywgYnV0IGV4Y2x1ZGluZyB3aGl0ZXNwYWNlDQogICAoW1JGQzQ2NDhd
KS4NCg0KLS0NCkphbWVzIE1hbmdlcg0K


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:36:55 2012
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 EDA2121F8639 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:36:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.345
X-Spam-Level: 
X-Spam-Status: No, score=-10.345 tagged_above=-999 required=5 tests=[AWL=0.253, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Roveodi0w57f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:36:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E5F0021F863E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:36:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOoN-0005Rv-Kj for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:36:43 +0000
Resent-Date: Wed, 18 Jul 2012 07:36:43 +0000
Resent-Message-Id: <E1SrOoN-0005Rv-Kj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SrOoD-0005Q3-US for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:36:33 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SrOoC-0005TV-52 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:36:33 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6I7a1Ya017157; Wed, 18 Jul 2012 10:36:02 +0300
X-CheckPoint: {50066593-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Wed, 18 Jul 2012 10:35:57 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Mike Belshe <mike@belshe.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 10:35:57 +0300
Thread-Topic: Mandatory encryption
Thread-Index: Ac1kt/ez0lQdwo83QPeUMaXLf2oSOA==
Message-ID: <78AEE450-0980-4311-B2D4-61D10F8B419B@checkpoint.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
In-Reply-To: <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: multipart/alternative; boundary="_000_78AEE45009804311B2D461D10F8B419Bcheckpointcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrOoC-0005TV-52 7f194022f8154ce07888138fdded27d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/78AEE450-0980-4311-B2D4-61D10F8B419B@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14460
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>

--_000_78AEE45009804311B2D461D10F8B419Bcheckpointcom_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


On Jul 18, 2012, at 9:54 AM, Mike Belshe wrote:


I'm really against making such a thing mandatory because it will only
improve privacy on a few services which actually do not need it and will
globally deteriorate the overall security by lowering the level of control
of users.

We just disagree.  And I keep going back to the same argument over and over=
:

Show me the user that will stand up and say, "Yes, I would like my communic=
ations to be snoopable and changeable by 3rd parties without my knowledge."

Me! Me! I want my communications snooped and altered!

More seriously, I would like to use the Internet while I'm at work to do co=
ol stuff like participating on this list. This involves traffic getting sno=
oped and filtered by the firewall. This is no different from choosing to wa=
lk the streets of London, knowing full well you'll be photographed by multi=
ple video cameras.  In both cases the user has control: she can choose to n=
ot use the Internet at work, or never to leave home, but those are really b=
ad choices.

When we find those users, we can design a protocol for them.  Until then, l=
et's design for the existing users of the Internet that want privacy, they =
want security, they want to be free of tampering, and they want to know if =
someone else can snoop their traffic.

The proliferation of PII on Facebook and the wide acceptance of traffic and=
 crime prevention cameras in the western world leads me to think that these=
 users who want privacy are not everyone.

Those firewalls I mentioned earlier do TLS proxy these days. So SSL won't p=
rotect you from tampering and snooping. Yes, TLS sometimes makes this kind =
of firewall visible, but it's there anyway. And you can't get through it wi=
thout submitting to this tampering and snooping.

So you can't get a security benefit without establishing trust between clie=
nts and servers. Mandating TLS for all HTTP connections forces all clients =
to establish trust with all servers. So if Phil wants to control his lightb=
ulb with a browsers, there's three ways to go about it:

 *   He'll need to install a server certificate on the lightbulb (maybe Phi=
l gets a company discount, the rest of us would need to pay)
 *   The lightbulb would have a self-issued certificate, and Phil will have=
 to live with browser warnings
 *   The browser will have TLS_NULL_WITH_NULL_NULL and TLS_DH_anon_WITH_AES=
_128_GCM_SHA256. And if they accept that from the lightbulb, why not from w=
here it matters?

Yoav

--_000_78AEE45009804311B2D461D10F8B419Bcheckpointcom_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 18, 2=
012, at 9:54 AM, Mike Belshe wrote:</div><br class=3D"Apple-interchange-new=
line"><blockquote type=3D"cite"><div class=3D"gmail_quote"><blockquote clas=
s=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; margin-botto=
m: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(=
204, 204, 204); border-left-style: solid; padding-left: 1ex; position: stat=
ic; z-index: auto; "><br>
I'm really against making such a thing mandatory because it will only<br>
improve privacy on a few services which actually do not need it and will<br=
>
globally deteriorate the overall security by lowering the level of control<=
br>
of users.<br></blockquote><div><br></div><div>We just disagree. &nbsp;And I=
 keep going back to the same argument over and over:</div><div><br></div><d=
iv>Show me the user that will stand up and say, "Yes, I would like my commu=
nications to be snoopable and changeable by 3rd parties without my knowledg=
e."<br></div></div></blockquote><div><br></div>Me! Me! I want my communicat=
ions snooped and altered!</div><div><br></div><div>More seriously, I would =
like to use the Internet while I'm at work to do cool stuff like participat=
ing on this list. This involves traffic getting snooped and filtered by the=
 firewall. This is no different from choosing to walk the streets of London=
, knowing full well you'll be photographed by multiple video cameras. &nbsp=
;In both cases the user has control: she can choose to not use the Internet=
 at work, or never to leave home, but those are really bad choices.</div><d=
iv><br><blockquote type=3D"cite"><div class=3D"gmail_quote"><div>
When we find those users, we can design a protocol for them. &nbsp;Until th=
en, let's design for the existing users of the Internet that want privacy, =
they want security, they want to be free of tampering, and they want to kno=
w if someone else can snoop their traffic.</div></div></blockquote><div><br=
></div><div>The proliferation of PII on Facebook and the wide acceptance of=
 traffic and crime prevention cameras in the western world leads me to thin=
k that these users who want privacy are not everyone.</div></div><br><div>T=
hose firewalls I mentioned earlier do TLS proxy these days. So SSL won't pr=
otect you from tampering and snooping. Yes, TLS sometimes makes this kind o=
f firewall visible, but it's there anyway. And you can't get through it wit=
hout submitting to this tampering and snooping.&nbsp;</div><div><br></div><=
div>So you can't get a security benefit without establishing trust between =
clients and servers. Mandating TLS for all HTTP connections forces all clie=
nts to establish trust with all servers. So if Phil wants to control his li=
ghtbulb with a browsers, there's three ways to go about it:</div><div><ul c=
lass=3D"MailOutline"><li>He'll need to install a server certificate on the =
lightbulb (maybe Phil gets a company discount, the rest of us would need to=
 pay)</li><li>The lightbulb would have a self-issued certificate, and Phil =
will have to live with browser warnings</li><li>The browser will have TLS_N=
ULL_WITH_NULL_NULL and&nbsp;<span class=3D"Apple-style-span" style=3D"borde=
r-collapse: collapse; font-family: sans-serif; font-size: 13px; -webkit-bor=
der-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">TLS_DH=
_anon_WITH_AES_128_GCM_SHA256. And if they accept that from the lightbulb, =
why not from where it matters?</span></li></ul><div><font class=3D"Apple-st=
yle-span" face=3D"sans-serif"><span class=3D"Apple-style-span" style=3D"bor=
der-collapse: collapse; font-size: 13px; -webkit-border-horizontal-spacing:=
 2px; -webkit-border-vertical-spacing: 2px;"><br></span></font></div></div>=
<div><font class=3D"Apple-style-span" face=3D"sans-serif"><span class=3D"Ap=
ple-style-span" style=3D"border-collapse: collapse; font-size: 13px; -webki=
t-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Yo=
av</span></font></div></body></html>=

--_000_78AEE45009804311B2D461D10F8B419Bcheckpointcom_--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:40:23 2012
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 DCBB021F865D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:40:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.992
X-Spam-Level: 
X-Spam-Status: No, score=-8.992 tagged_above=-999 required=5 tests=[AWL=1.607, BAYES_00=-2.599, 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 q7fMw7OhQgSH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:40:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A7C1A21F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:40:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOs9-0007Ri-Vw for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:40:38 +0000
Resent-Date: Wed, 18 Jul 2012 07:40:37 +0000
Resent-Message-Id: <E1SrOs9-0007Ri-Vw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrOs0-0007Pu-LD for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:40:28 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrOrz-0005lr-2Y for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:40:28 +0000
Received: (qmail invoked by alias); 18 Jul 2012 07:40:00 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp071) with SMTP; 18 Jul 2012 09:40:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX182cy9Gb6g2399fYVzDAMl4xqnRuQuxC0rXDXJFvO N32YsOoO1AFzrq
Message-ID: <5006684D.9020502@gmx.de>
Date: Wed, 18 Jul 2012 09:39:57 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "Manger, James H" <James.H.Manger@team.telstra.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrOrz-0005lr-2Y ea4b0a538dc0af7d561b7b3465fef26c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/5006684D.9020502@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14461
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 2012-07-18 09:27, Manger, James H wrote:
> HTTPbis part 7 (Authentication) introduces a new piece of ABNF labelled "b64token" [http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-20#section-2.1]. It is also referenced/repeated in the OAuth2 Bearer draft spec. The new ABNF is necessary and explained quite clearly in the spec. However, the "b64token" label has already led at least a handful of people to mistakenly assume it always holds a base64-encoding. The examples in the OAuth2 Bearer spec were even changed so they were not base64-encodings to try to minimise the misunderstanding, but others have still made the mistaken assumption.
>
> How about renaming the ABNF production to "token68"?
>
> This label reflects the fact that it supports an alphabet of 68 characters (plus equal signs at the end).
>
> The new text in part 7 would become:
>
>     token68       = 1*( ALPHA / DIGIT /
>                          "-" / "." / "_" / "~" / "+" / "/" ) *"="
>
>     The "token68" syntax allows the 66 unreserved URI characters
>     ([RFC3986]), plus a few others, so that it can hold a base64,
>     base64url (URL and filename safe alphabet), base32, or base16 (hex)
>     encoding, with or without padding, but excluding whitespace
>     ([RFC4648]).
>
> --
> James Manger

Sounds good to me; if this reduces potential confusion we should to that.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:47:41 2012
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 17D0021F86E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:47:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.266
X-Spam-Level: 
X-Spam-Status: No, score=-10.266 tagged_above=-999 required=5 tests=[AWL=0.333, BAYES_00=-2.599, 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 zPx2Q4KovlU0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:47:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2408A21F86E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:47:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrOz9-0002te-8s for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:47:51 +0000
Resent-Date: Wed, 18 Jul 2012 07:47:51 +0000
Resent-Message-Id: <E1SrOz9-0002te-8s@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrOyz-0002sR-K8 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:47:41 +0000
Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a4.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrOyv-00060W-4T for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:47:41 +0000
Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 668BE51C069; Wed, 18 Jul 2012 00:47:15 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=SuErvpLMtGoPi3z 3LvHMCuRhQyeDWQx/YqD7nyha+IBu5ynnWE2VDbO7GKNmTbfCXR8PS98Oiz4dQcV MJuCggXLUsUpqMyBVOomi2KqstmXtHKlIZhyN2J4uOV/pcADff8waMi/7Ksl0TOr IcD8zHklC0DADaNSxE+GaXFRcuKI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=UOsmYLE huqkzinhBKXOKzgiN3GQ=; b=gXvpoa/5qUcbMJX1jPrHZ3cjVporyaTDDHYSrGV bx6UuhBe+PMTpb1f8UB3t1XXJQEnAjObKKJGn7nITdyqYgj7kxoU0bQVZ6YEZ3Gm qbiWWGdTlivHbkaBd/9VeMW4jLCb4yVJ9h0DPZt0pXifuus/Nz3C+C05wt9yRoGn 0t3A=
Received: from [192.168.1.82] (94-194-232-105.zone8.bethere.co.uk [94.194.232.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 2FFCF51C062; Wed, 18 Jul 2012 00:47:13 -0700 (PDT)
Message-ID: <500669FE.5080107@jrn.me.uk>
Date: Wed, 18 Jul 2012 08:47:10 +0100
From: J Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Phillip Hallam-Baker <hallam@gmail.com>,  Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu>
In-Reply-To: <20120718060936.GC5875@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.119; envelope-from=jrn@jrn.me.uk; helo=homiemail-a4.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SrOyv-00060W-4T 556a3e7b804cc4e65625822060878c6c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/500669FE.5080107@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14462
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 18/07/2012 07:09, Willy Tarreau wrote:
>> Making TLS a mandatory requirement seems like a feelgood approach to
>> security to me. Instead of doing something useful, we pass a
>> resolution telling people to do what they plan to do anyway.
> Agreed. As I already said multiple times, sensible services requiring
> privacy are already secured by TLS and it does not save them from being
> tampered. But with TLS everywhere, we'll make the situation worse by
> accustoming users to click all the day on "I accept the risks..." when
> connecting to most of the poorly managed sites including the self-signed
> equipments they run at home.
>
> I'm really against making such a thing mandatory because it will only
> improve privacy on a few services which actually do not need it and will
> globally deteriorate the overall security by lowering the level of control
> of users.
>
Agreed from here too; we run the risk of turning HTTP 2.0 into a 
debacle. People running small blogs/sites/whatever will not understand 
why security is important, and will not want to bother with 
certificates. Their hosting providers will go where their customers 
want, not where we want, and will remain on HTTP 1.1 indefinitely. Even 
if they did move, I'd expect to see rampant use of self-signed, or worse 
snake-oil certificates ("Need files for that weird thing you don't 
understand that your hosting provider keeps asking about? Here, you can 
download ones I made for you..."), followed by a culture of ignoring 
warnings on those certificates (and I would be extremely surprised if we 
didn't see browser extensions to click-through the warnings automatically).

I see the queries that come to the helpdesk, and how much we struggle 
just to stop users from e-mailing their passwords to everyone who fakes 
a vaguely credible looking message from IT, the thought of trying to 
teach everyone about proper encrypted communication is somewhere between 
nightmarish and hopeless IMHO.

In terms of countries banning technologies that don't allow them to 
monitor their citizen's communication, I give you India and Blackberry: 
http://www.bbc.co.uk/news/business-11131330



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:51:18 2012
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 A25D821F8720 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:51:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.738
X-Spam-Level: 
X-Spam-Status: No, score=-7.738 tagged_above=-999 required=5 tests=[AWL=-1.962, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FM_IS_IT_OUR_ACCOUNT=4.2, HTML_MESSAGE=0.001, 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 iLuLZerMITuV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:51:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 656A421F871E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:51:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrP2T-0004Vt-VS for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:51:18 +0000
Resent-Date: Wed, 18 Jul 2012 07:51:17 +0000
Resent-Message-Id: <E1SrP2T-0004Vt-VS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrP2J-0004TQ-77 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:51:07 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrP2E-00067V-CN for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:51:07 +0000
Received: by lbom4 with SMTP id m4so1847688lbo.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 00:50:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=YvnV9mrEhVfYGIc70awe23eJfViZQSeBgbVh4aSZsdI=; b=PUC/ZnBD8+LyovJlgf7A5jmJaZnj+cz+M+o6RTDLgiMtRPvnqUzH6ZqwllnFHsZNfd EBokmqF5AvAO3K0lKrWcjGqKP1d33q89hSCRTm8s2I8s4E+kUGEcpecP0j+AKRpTo6FT o19RTqiukuTjAJ8CroNKCWBMzClO3DbR+I2QJ8qQrTvV1CjKFHEjGXlfHVy+zt6bGF+E Zohr+QTeje4VGxsK6XeO+SCSIowjTSzxN9wCfDA9WK7KZFSlcBWuKQbldFRFW/Onz1C6 AGk7tRiLESb86yeJpDDViXMXZP0/fbuqDCwZO0TJXpAr7aVOKPiyiO30YhWcWsOk9uKC pdRQ==
MIME-Version: 1.0
Received: by 10.152.105.51 with SMTP id gj19mr2169805lab.38.1342597835547; Wed, 18 Jul 2012 00:50:35 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Wed, 18 Jul 2012 00:50:35 -0700 (PDT)
In-Reply-To: <20120718072706.GG5875@1wt.eu>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com> <20120718061839.GD5875@1wt.eu> <CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com> <20120718072706.GG5875@1wt.eu>
Date: Wed, 18 Jul 2012 00:50:35 -0700
Message-ID: <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>,  Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>,  =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d040717851064d904c515ebfa
X-Gm-Message-State: ALoCoQluPJWuCNqAQ7XljE+cBLyvzOI/ZCSMim2dc2UD03ZOsQBI9A/ONl5kppCqFWKvrxFKJkMu
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FM_IS_IT_OUR_ACCOUNT=2.299, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrP2E-00067V-CN 4b8fa46aefc270a700aa40bc6a8de62a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14463
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>

--f46d040717851064d904c515ebfa
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Jul 18, 2012 at 12:27 AM, Willy Tarreau <w@1wt.eu> wrote:

> On Wed, Jul 18, 2012 at 12:04:47AM -0700, Mike Belshe wrote:
> > > I'm concerned about the situations where users' security is really
> > > attacked,
> > > which is massive MITM using fake certs, massive bank accounts and
> > > credentials
> > > collection using malware, spyware returning your browsing history to
> ads
> > > vendors, and more recently malware running on smartphones to collect a
> lot
> > > of personal information.
> > >
> >
> > Your argument is basically this one:
> >
> > "Dear GMail user,  Congratulations!  You no longer need a password to
> > access your account!  Because hackers have infiltrated TLS, we realize it
> > is not secure anyway.  Therefore, we've decided to remove all passwords
> so
> > that it is as easy for you to access your email as it is for the hackers.
> >  Enjoy the new service!"
>
> No it's unrelated. My argument is that the sensible services are already
> TLS enabled and still are already facing the limits of this model. Security
> people in banks are already saying that they're considering that their
> users
> are browsing in clear text since TLS doesn't secure them *at all* right
> now.
> They have to invent many mechanisms to prevent malware from stealing
> passwords
> and injecting operations. Where is there any privacy in this model ?
>

They're still using TLS for a reason. These broad-stroke statements that
banks consider TLS worthless are simply false.  We can ask any bank about
it if you want.

I am not saying that there aren't security concerns about TLS - but TLS has
served us well for a long time and will continue to do so.  It will be
updated to be better.


>
> And when a number of webmail accounts were recently suspected of having
> been
> broken after a CA cert break-in, there was no way for the poor user to
> suspect
> that his "https://" in front of the URL suddenly was not enough anymore to
> protect his privacy.


Again, you're arguing that because there was a security breach once, we
should take all the locks off the doors.  This is silly!


>


> > I know there are a lot of types of bad guys.  I know there are a lot of
> > people pessimistic about TLS (me too!).  But that doesn't mean that we
> take
> > all security out of protocols.
>
> That's not I'm saying either. I'm saying that making it mandatory will not
> improve the sites which already use it and will not improve the sites which
> deliberately don't want to use it. It will just increase the breach between
> the two categories and will even more confuse the end user.
>

Yes it does.  Neither users nor administrators understand security well
enough.  People forget, they don't know what the padlock means, all sorts
of things.

We can take away this confusion by making it 100% secure all the time.




>
> I understand the benefit of using it for NPN, but that's the only real
> value.
>
> > Server authentication can and does work.  It will get even better once we
> > start using it everywhere.
> >
> > Lets be clear:  TLS is more work.  It's harder.  It requires everyone to
> do
> > more than they do today.  It requires more tools.  It requires more
> > optimizations.  But it is absolutely better than where we stand now.  We
> > can make this work - it will take a lot of great engineering, but it can
> be
> > done!  Don't be so pessimistic as to say "aw, shucks, we can't do it"  -
> I
> > know for a fact we can.
>
> I'm not pessimistic, I'm basing my judgement on what has been done since
> the beginning. Why do you think that people who deliberately don't care
> about renewing their certs will suddenly change ? I'm facing cert alerts
> every day during random browsing. You can be sure it will soon become worse
> if we force users with even less consideration to produce a cert. We'll be
> seeing self-signed certs everywhere with a life up to 2038.
>

I don't get these every day.

But if this is a real problem, it will force us to fix the problem and make
it better.  We can innovate here.



>
> > Let's vote in favor of the users, and fix the problem.
>
> I'm one of the users and I want the situation to improve, not to become
> worse. Right now the situation is already bad where TLS is used when not
> needed. And it's bad where TLS is needed because there are many other
> ways to get the info that is protected only by the transport.
>


This is like saying "I'll install the airbags when I need them".



>
> > Protocols can and
> > must be secured.  Where they are not, we secure them more.  If TLS is not
> > secure enough, we make it more secure too.  Mandating TLS for HTTP will
> not
> > be the end of this road - it is just the beginning.  But until we take
> > steps to secure the world, it can never happen.  Let's do this!!!
>
> Mike, as we discussed a few months ago, I would much more support your
> proposals of using HTTP over a secured UDP. Really. It would provide
> exactly the same model as TLS today (one which I'm not satisfied with)
> but with much improved performance and lower deployment cost. But here
> we're discussing about making it worse for end users and worse for server
> admins. That's what I don't like in this model.
>

There is no data that suggests it is worse for end users.   With Google,
Twitter, Facebook, every bank in the US all on TLS, its really quite
remarkable that you think that "TLS makes it worse for the end user".

The sites which aren't willing to spend the time to keep their users secure
probably shouldn't be operating.  Hosting sites like amazon, wordpress,
google, and microsoft will take care of the certificate management for all
sites.  The problems you describe of perpetually expired certs is overly
pessimistic.


>
> > > Mandating use of TLS is irrelevant to these real world issues and can
> only
> > > make them worse. However I agree it will feel good to say "hey look,
> now I
> > > can show you that firesheep doesn't see my cleartext password anymore",
> > > but what site would require me to send my password in cleartext over
> the
> > > net anyway ?
> > >
> >
> > Its not usually about passwords - its about cookie hijacking - going
> > straight into their sessions and accessing all their info.  Steal the
> > cookie and you're in.
>
> Many sites are already sensible to cookie injection and this is something
> TLS cannot fix. Cookie hijacking has been in used by malware for years, I
> have proofs of that in many server-side logs where the same session is
> used in parallel in two countries with completely different browsing
> behaviours.
>

Ah!  TLS makes it almost impossible to steal the cookie.  That's where TLS
kicks in.   As you know, you need many things to keep a system secure; TLS
is just one of them.  But its a vital part!  Without it, you're not a
secure system.



>
> Sometimes I'm scared because I fell like people who want to push TLS hard
> really are not aware of the state of the browsing security in 2012, and
> *this* is even more concerning to me than the overhead of processing TLS!
>

Lets not get personal.

It does not go without notice from me that the battle lines are drawn
around which type of developer you are.  Browser developers and social
content providers are all in the protect-the-users camp (encrypt
everything).  Proxy vendors, which have an uncertain role in an encrypted
future, are unilaterally against it.  This is a power struggle of products.
 Are the endpoints in charge?  Or is the 3rd party middleman in charge?

Again, I vote for the user.

Mike




>
> Willy
>
>

--f46d040717851064d904c515ebfa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Jul 18, 2012 at 12:27 AM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank"=
>w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Wed, Jul 18, 2012 at 12:04:47AM -0700, Mike Belshe wrote:<br>
&gt; &gt; I&#39;m concerned about the situations where users&#39; security =
is really<br>
&gt; &gt; attacked,<br>
&gt; &gt; which is massive MITM using fake certs, massive bank accounts and=
<br>
&gt; &gt; credentials<br>
&gt; &gt; collection using malware, spyware returning your browsing history=
 to ads<br>
&gt; &gt; vendors, and more recently malware running on smartphones to coll=
ect a lot<br>
&gt; &gt; of personal information.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Your argument is basically this one:<br>
&gt;<br>
&gt; &quot;Dear GMail user, =A0Congratulations! =A0You no longer need a pas=
sword to<br>
&gt; access your account! =A0Because hackers have infiltrated TLS, we reali=
ze it<br>
&gt; is not secure anyway. =A0Therefore, we&#39;ve decided to remove all pa=
sswords so<br>
&gt; that it is as easy for you to access your email as it is for the hacke=
rs.<br>
&gt; =A0Enjoy the new service!&quot;<br>
<br>
</div>No it&#39;s unrelated. My argument is that the sensible services are =
already<br>
TLS enabled and still are already facing the limits of this model. Security=
<br>
people in banks are already saying that they&#39;re considering that their =
users<br>
are browsing in clear text since TLS doesn&#39;t secure them *at all* right=
 now.<br>
They have to invent many mechanisms to prevent malware from stealing passwo=
rds<br>
and injecting operations. Where is there any privacy in this model ?<br></b=
lockquote><div><br></div><div>They&#39;re still using TLS for a reason. The=
se broad-stroke statements that banks consider TLS worthless are simply fal=
se. =A0We can ask any bank about it if you want.</div>

<div><br></div><div>I am not saying that there aren&#39;t security concerns=
 about TLS - but TLS has served us well for a long time and will continue t=
o do so. =A0It will be updated to be better.</div><div>=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">


<br>
And when a number of webmail accounts were recently suspected of having bee=
n<br>
broken after a CA cert break-in, there was no way for the poor user to susp=
ect<br>
that his &quot;https://&quot; in front of the URL suddenly was not enough a=
nymore to<br>
protect his privacy.</blockquote><div><br></div><div>Again, you&#39;re argu=
ing that because there was a security breach once, we should take all the l=
ocks off the doors. =A0This is silly!</div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
&gt; I know there are a lot of types of bad guys. =A0I know there are a lot=
 of<br>
&gt; people pessimistic about TLS (me too!). =A0But that doesn&#39;t mean t=
hat we take<br>
&gt; all security out of protocols.<br>
<br>
</div>That&#39;s not I&#39;m saying either. I&#39;m saying that making it m=
andatory will not<br>
improve the sites which already use it and will not improve the sites which=
<br>
deliberately don&#39;t want to use it. It will just increase the breach bet=
ween<br>
the two categories and will even more confuse the end user.<br></blockquote=
><div><br></div><div>Yes it does. =A0Neither users nor administrators under=
stand security well enough. =A0People forget, they don&#39;t know what the =
padlock means, all sorts of things.</div>

<div><br>We can take away this confusion by making it 100% secure all the t=
ime.</div><div><br></div><div><br></div><div>=A0</div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">


<br>
I understand the benefit of using it for NPN, but that&#39;s the only real =
value.<br>
<div><br>
&gt; Server authentication can and does work. =A0It will get even better on=
ce we<br>
&gt; start using it everywhere.<br>
&gt;<br>
&gt; Lets be clear: =A0TLS is more work. =A0It&#39;s harder. =A0It requires=
 everyone to do<br>
&gt; more than they do today. =A0It requires more tools. =A0It requires mor=
e<br>
&gt; optimizations. =A0But it is absolutely better than where we stand now.=
 =A0We<br>
&gt; can make this work - it will take a lot of great engineering, but it c=
an be<br>
&gt; done! =A0Don&#39;t be so pessimistic as to say &quot;aw, shucks, we ca=
n&#39;t do it&quot; =A0- I<br>
&gt; know for a fact we can.<br>
<br>
</div>I&#39;m not pessimistic, I&#39;m basing my judgement on what has been=
 done since<br>
the beginning. Why do you think that people who deliberately don&#39;t care=
<br>
about renewing their certs will suddenly change ? I&#39;m facing cert alert=
s<br>
every day during random browsing. You can be sure it will soon become worse=
<br>
if we force users with even less consideration to produce a cert. We&#39;ll=
 be<br>
seeing self-signed certs everywhere with a life up to 2038.<br></blockquote=
><div><br></div><div>I don&#39;t get these every day.=A0</div><div><br></di=
v><div>But if this is a real problem, it will force us to fix the problem a=
nd make it better. =A0We can innovate here.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br>
&gt; Let&#39;s vote in favor of the users, and fix the problem.<br>
<br>
</div>I&#39;m one of the users and I want the situation to improve, not to =
become<br>
worse. Right now the situation is already bad where TLS is used when not<br=
>
needed. And it&#39;s bad where TLS is needed because there are many other<b=
r>
ways to get the info that is protected only by the transport.<br></blockquo=
te><div><br></div><div><br></div><div>This is like saying &quot;I&#39;ll in=
stall the airbags when I need them&quot;. =A0</div><div><br></div><div>=A0<=
/div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div><br>
&gt; Protocols can and<br>
&gt; must be secured. =A0Where they are not, we secure them more. =A0If TLS=
 is not<br>
&gt; secure enough, we make it more secure too. =A0Mandating TLS for HTTP w=
ill not<br>
&gt; be the end of this road - it is just the beginning. =A0But until we ta=
ke<br>
&gt; steps to secure the world, it can never happen. =A0Let&#39;s do this!!=
!<br>
<br>
</div>Mike, as we discussed a few months ago, I would much more support you=
r<br>
proposals of using HTTP over a secured UDP. Really. It would provide<br>
exactly the same model as TLS today (one which I&#39;m not satisfied with)<=
br>
but with much improved performance and lower deployment cost. But here<br>
we&#39;re discussing about making it worse for end users and worse for serv=
er<br>
admins. That&#39;s what I don&#39;t like in this model.<br></blockquote><di=
v><br></div><div>There is no data that suggests it is worse for end users. =
=A0 With Google, Twitter, Facebook, every bank in the US all on TLS, its re=
ally quite remarkable that you think that &quot;TLS makes it worse for the =
end user&quot;.</div>
<div><br></div><div>The sites which aren&#39;t willing to spend the time to=
 keep their users secure probably shouldn&#39;t be operating. =A0Hosting si=
tes like amazon, wordpress, google, and microsoft will take care of the cer=
tificate management for all sites. =A0The problems you describe of perpetua=
lly expired certs is overly pessimistic.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div><br>
&gt; &gt; Mandating use of TLS is irrelevant to these real world issues and=
 can only<br>
&gt; &gt; make them worse. However I agree it will feel good to say &quot;h=
ey look, now I<br>
&gt; &gt; can show you that firesheep doesn&#39;t see my cleartext password=
 anymore&quot;,<br>
&gt; &gt; but what site would require me to send my password in cleartext o=
ver the<br>
&gt; &gt; net anyway ?<br>
&gt; &gt;<br>
&gt;<br>
&gt; Its not usually about passwords - its about cookie hijacking - going<b=
r>
&gt; straight into their sessions and accessing all their info. =A0Steal th=
e<br>
&gt; cookie and you&#39;re in.<br>
<br>
</div>Many sites are already sensible to cookie injection and this is somet=
hing<br>
TLS cannot fix. Cookie hijacking has been in used by malware for years, I<b=
r>
have proofs of that in many server-side logs where the same session is<br>
used in parallel in two countries with completely different browsing<br>
behaviours.<br></blockquote><div><br></div><div>Ah! =A0TLS makes it almost =
impossible to steal the cookie. =A0That&#39;s where TLS kicks in. =A0 As yo=
u know, you need many things to keep a system secure; TLS is just one of th=
em. =A0But its a vital part! =A0Without it, you&#39;re not a secure system.=
</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Sometimes I&#39;m scared because I fell like people who want to push TLS ha=
rd<br>
really are not aware of the state of the browsing security in 2012, and<br>
*this* is even more concerning to me than the overhead of processing TLS!<b=
r></blockquote><div><br></div><div>Lets not get personal.</div><div><br></d=
iv><div>It does not go without notice from me that the battle lines are dra=
wn around which type of developer you are. =A0Browser developers and social=
 content providers are all in the protect-the-users camp (encrypt everythin=
g). =A0Proxy vendors, which have an uncertain role in an encrypted future, =
are unilaterally against it. =A0This is a power struggle of products. =A0Ar=
e the endpoints in charge? =A0Or is the 3rd party middleman in charge?</div=
>
<div><br></div><div>Again, I vote for the user.</div><div><br></div><div>Mi=
ke</div><div><br></div><div><br></div><div>=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<span><font color=3D"#888888"><br>
Willy<br>
<br>
</font></span></blockquote></div><br>

--f46d040717851064d904c515ebfa--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 00:51:25 2012
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 7548321F8720 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:51:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.031
X-Spam-Level: 
X-Spam-Status: No, score=-9.031 tagged_above=-999 required=5 tests=[AWL=1.568, BAYES_00=-2.599, 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 i8v+mZ0wtJLV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 00:51:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7649E21F871E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 00:51:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrP31-0004kV-Lh for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 07:51:51 +0000
Resent-Date: Wed, 18 Jul 2012 07:51:51 +0000
Resent-Message-Id: <E1SrP31-0004kV-Lh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrP2s-0004f9-1d for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 07:51:42 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrP2i-0005wH-WD for ietf-http-wg@w3.org; Wed, 18 Jul 2012 07:51:41 +0000
Received: (qmail invoked by alias); 18 Jul 2012 07:51:00 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp040) with SMTP; 18 Jul 2012 09:51:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19hT1x6EythI9scKPrkts67yTJQhBvOQLXGX3hTr5 58+taRnsIFZ3sg
Message-ID: <50066ADC.6020001@gmx.de>
Date: Wed, 18 Jul 2012 09:50:52 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>,  Yutaka OIWA <y.oiwa@aist.go.jp>, HTTP Working Group <ietf-http-wg@w3.org>
References: <62127.1342506058@critter.freebsd.dk> <E61DB856-EBDD-4D47-8E20-86C09C53A179@mnot.net>
In-Reply-To: <E61DB856-EBDD-4D47-8E20-86C09C53A179@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrP2i-0005wH-WD e365b0164fc62dba9647b1aa62af6b44
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/50066ADC.6020001@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14464
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 2012-07-18 03:04, Mark Nottingham wrote:
> OK. Marking for incorporation, with a slight change;
>
>    Caches SHOULD consider dates with time zones other than "GMT" invalid.
> ...

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1814>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:03:07 2012
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 3DFD121F878E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:03:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, 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 bmOqjVDxoP-f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:03:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6AD0E21F8483 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:03:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPDs-0002Pw-JV for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:03:04 +0000
Resent-Date: Wed, 18 Jul 2012 08:03:04 +0000
Resent-Message-Id: <E1SrPDs-0002Pw-JV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrPDi-0002PB-MY for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:02:54 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrPDY-0006ii-I2 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:02:54 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E95493B5A7; Wed, 18 Jul 2012 08:02:22 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6I82LTt063550; Wed, 18 Jul 2012 08:02:21 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 23:39:01 MST." <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 08:02:21 +0000
Message-ID: <63549.1342598541@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrPDY-0006ii-I2 a133439e68e6ef8ca64efdfaad4d6912
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[4]: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/63549.1342598541@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14465
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>

In message <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
, Mike Belshe writes:

>I'm taking the position of the user.  I want the user to be able to know if
>someone is spying on them in all cases.

This has been a long thread already, so I will try to make this short
and to the point.

1. I think Mike has a very valid point here, but it's not our job,
   and we could not solve the problem if it were.

   I would express it slightly differently than Mike: "If it looks
   like privacy, the user should be able to know definitively if
   it is end-to-end privacy or not."

   I'm not a card-carrying cryptographer, but it's my clear perception
   that the currently perverted and corrupt CA system deliberately
   makes that ideal very hard if not impossible.

2. There are legitimate (or legitimized) reasons for intercept.

   In the cases where the intercept is not covert, it is in the
   interest also of the interceptor, that no unnecessary weaknesses
   are introduced.

   This indicates an operating mode where the user is told "You
   have privacy only as far as SNOOP_PROXY, what happens after that
   depends on what SNOOP_PROXY does."

   Or the probably more likely case: "You have no privacy from here
   to CORP_PROXY, but CORP_PROXY claims that you have privacy from
   there to the destination."

   If I'm an employee, or inmate, that's just the rules of the game,
   but the important thing is that as a user I'm precisely and
   correctly communicated the reality of the game.

   I belive this is more or less just a matter of allowing 
	GET https://blablabla HTTP/1.1
   to proxies, but I defer fully to Adrian on this.

3. There are objective indications that TLS is not always an advantage.

   Some have been mentioned already, I'll just add another:  High
   reliability safety-of-life critical systems, such as power distribution,
   air traffic control and emergency services.

   Putting a 2 meter airgap around such a system is currently
   considered the best practice way to implement both high reliability
   and high security.

   The added failure modes of certificates, which are opaque and
   hard/impossible to debug & correct on the kind of timescales
   relevant (< 3 minutes) are not welcome.  SSH is tolerated, but
   with very strict password registration and disclosure policies,
   and often with NULL block-ciphers, to make network flight recorders
   usable.

   Mandating TLS in HTTP/2.0 will effectively force these installations
   to stick with HTTP/1.1, in order to be able to do accident
   investigations.

4. It is not our job, and it is counter productive.

   Cryptography is a layer 8-10 problem more than anything on the
   internet.

   If we tangle HTTP/2.0 into layers 8-10, it will become subject
   for discussion at diplomatic levels, will raise issues about
   ITAR rules and will meet a lot of push-back from all sorts of
   shady agendas, not to mention a damn good headline in a clueless
   press.

   Trying to mandate TLS with HTTP/2.0 would therefore be a major
   drag on HTTP/2.0's adoption and deployment and  counterproductively
   delay the benefits and improvements HTTP/2.0 (will) bring.

Conclusion:

   Make it easy to do, but don't mandate it.

   You always get better results by delivering good tools, than
   rigid policies.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:04:35 2012
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 7240721F8792 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:04:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.068
X-Spam-Level: 
X-Spam-Status: No, score=-9.068 tagged_above=-999 required=5 tests=[AWL=1.531, BAYES_00=-2.599, 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 Gj7Exufug4Tq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:04:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE9AF21F878E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:04:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPFm-0002p3-1g for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:05:02 +0000
Resent-Date: Wed, 18 Jul 2012 08:05:02 +0000
Resent-Message-Id: <E1SrPFm-0002p3-1g@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrPFc-0002Zi-Em for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:04:52 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrPFT-00075F-BA for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:04:52 +0000
Received: (qmail invoked by alias); 18 Jul 2012 08:04:17 -0000
Received: from p54BB24B4.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.36.180] by mail.gmx.net (mp029) with SMTP; 18 Jul 2012 10:04:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/VNn1glKrVKqHCKv2lJApbeSUGWkBNUOElUGKyws lMiNFJeZGG9OCa
Message-ID: <50066DF9.6090801@gmx.de>
Date: Wed, 18 Jul 2012 10:04:09 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>,  "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>,  Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?Q?=22Martin_J=2E_D=FCrst=22?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com> <20120718061839.GD5875@1wt.eu> <CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com> <20120718072706.GG5875@1wt.eu> <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
In-Reply-To: <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrPFT-00075F-BA afa137709265b09362874951625af720
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/50066DF9.6090801@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14466
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 2012-07-18 09:50, Mike Belshe wrote:
> ...
> It does not go without notice from me that the battle lines are drawn
> around which type of developer you are.  Browser developers and social
> content providers are all in the protect-the-users camp (encrypt
> everything).  Proxy vendors, which have an uncertain role in an
> encrypted future, are unilaterally against it.  This is a power struggle
> of products.  Are the endpoints in charge?  Or is the 3rd party
> middleman in charge?
>
> Again, I vote for the user.
> ...

The user wants security. But the user also wants speed, or the ability 
to access a site from an environment that insists on opening the connection.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:10:25 2012
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 5716F21F8622 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:10:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.28
X-Spam-Level: 
X-Spam-Status: No, score=-7.28 tagged_above=-999 required=5 tests=[AWL=2.318, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 wSZOYx9O3A8C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:10:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3FCBB21F861D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:10:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPLD-0007w8-Fi for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:10:39 +0000
Resent-Date: Wed, 18 Jul 2012 08:10:39 +0000
Resent-Message-Id: <E1SrPLD-0007w8-Fi@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrPKb-0004n3-PM for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:10:01 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrPKR-00087u-Qa for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:10:01 +0000
Received: From [192.168.1.25] (unverified [122.57.154.179]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145446@smtp.qbik.com>; Wed, 18 Jul 2012 20:09:28 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Mike Belshe" <mike@belshe.com>, "Willy Tarreau" <w@1wt.eu>
Cc: "Phillip Hallam-Baker" <hallam@gmail.com>, "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 08:09:28 +0000
Content-Type: multipart/alternative; boundary="------=_MB5FFE3B02-05A2-4F76-AB00-2BC2FE6E8684"
In-Reply-To: <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
Message-Id: <eme8621b19-bb53-4e7e-95a9-4719085cb7ea@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrPKR-00087u-Qa 2e8c0534129fd6b066b0ce05d1fc9071
X-Original-To: ietf-http-wg@w3.org
Subject: Re[8]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/eme8621b19-bb53-4e7e-95a9-4719085cb7ea@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14467
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>

--------=_MB5FFE3B02-05A2-4F76-AB00-2BC2FE6E8684
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Original Message ------
From: "Mike Belshe" mike@belshe.com
>
>
>On Wed, Jul 18, 2012 at 12:27 AM, Willy Tarreau <w@1wt.eu> wrote:

 =20
  And when a number of webmail accounts were recently suspected of=20
  having been
  broken after a CA cert break-in, there was no way for the poor user=20
  to suspect
  that his "https://" in front of the URL suddenly was not enough=20
  anymore to
  protect his privacy.
=20
 Again, you're arguing that because there was a security breach once,=20
 we should take all the locks off the doors.  This is silly!

that would be silly, but no-one is arguing that.

We're arguing against being compelled to put a lock on every door...=20
even internal doors.

We're arguing against having our freedom removed to choose which doors=20
to put our lock on.

Adrien

--------=_MB5FFE3B02-05A2-4F76-AB00-2BC2FE6E8684
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#04fac2ddb50f403780fc9fd4a7da8f8b BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#04fac2ddb50f403780fc9fd4a7da8f8b .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#04fac2ddb50f403780fc9fd4a7da8f8b=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#04fac2ddb50f403780fc9fd4a7da8f8b .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Mike=
 Belshe" <A href=3D"mailto:mike@belshe.com">mike@belshe.com</A><BR>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=3Dr_zJFZ=
ctZBkzBiOA@mail.gmail.com type=3D"cite">
<DIV id=3D04fac2ddb50f403780fc9fd4a7da8f8b><BR><BR>
<DIV class=3Dgmail_quote>On Wed, Jul 18, 2012 at 12:27 AM, Willy Tarreau=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:w@1wt.eu"><A href=3D"mailto:w@1wt.eu=
">w@1wt.eu</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>&nbsp;</DIV></BLOCKQUOTE>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><BR>And when a number of webmail=
 accounts were recently suspected of having been<BR>broken after a CA cert=
 break-in, there was no way for the poor user to suspect<BR>that his "https=
://" in front of the URL suddenly was not enough anymore to<BR>protect his=
 privacy.</BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Again, you're arguing that because there was a security breach once,=
 we should take all the locks off the doors. &nbsp;This is silly!</DIV></DI=
V></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>that would be silly, but no-one is=
 arguing that.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>We're arguing against being compelled=
 to put a lock on every door... even internal doors.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>We're arguing against having our free=
dom removed to choose which doors to put our lock on.</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>Adrien<BR></DIV></BODY></HTML>=

--------=_MB5FFE3B02-05A2-4F76-AB00-2BC2FE6E8684--



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:11:50 2012
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 B006621F861D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:11:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.592
X-Spam-Level: 
X-Spam-Status: No, score=-9.592 tagged_above=-999 required=5 tests=[AWL=1.007, BAYES_00=-2.599, 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 hxMWBbhkyclm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:11:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9633121F8621 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:11:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPMn-0008Cy-6X for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:12:17 +0000
Resent-Date: Wed, 18 Jul 2012 08:12:17 +0000
Resent-Message-Id: <E1SrPMn-0008Cy-6X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrPMb-00089G-QB for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:12:05 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrPMT-0000MW-8U for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:12:05 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6I8BMCG008552; Wed, 18 Jul 2012 10:11:22 +0200
Date: Wed, 18 Jul 2012 10:11:22 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>, Martin =?iso-8859-1?Q?J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718081122.GH5875@1wt.eu>
References: <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com> <20120718061839.GD5875@1wt.eu> <CABaLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com> <20120718072706.GG5875@1wt.eu> <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrPMT-0000MW-8U c0ffde552993fe51cb0ff3331f4f055c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/20120718081122.GH5875@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14468
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 Wed, Jul 18, 2012 at 12:50:35AM -0700, Mike Belshe wrote:
> They're still using TLS for a reason. These broad-stroke statements that
> banks consider TLS worthless are simply false.  We can ask any bank about
> it if you want.

I work for one and I can assure you that everyone there says that they're
designing the security model as if communications were clear text (and
they are with regards to the malware ennemy). Certs are marketing only
(show a green cert and reassure your customers).

> I am not saying that there aren't security concerns about TLS - but TLS has
> served us well for a long time and will continue to do so.  It will be
> updated to be better.

TLS is fine for a very large number of uses and it's already been used where
it's fine. Let's not make it globally worse by forcing incompetent admins to
adopt it without understanding it, which results in end users having to deal
with errors and warnings all the day.

> > And when a number of webmail accounts were recently suspected of having
> > been
> > broken after a CA cert break-in, there was no way for the poor user to
> > suspect
> > that his "https://" in front of the URL suddenly was not enough anymore to
> > protect his privacy.
> 
> 
> Again, you're arguing that because there was a security breach once, we
> should take all the locks off the doors.  This is silly!

No, I'm not saying this at all. I'm saying that we don't need to put locks
on all doors just because one was broken. It's very different. I'm not
advocating for removing TLS, but for keeping it as it is today : used by
those who need or care about it.

It's the same with locks : if you force everyone to add a new lock to their
door, some lock makers will sell many poor quality locks with the same key
reused multiple times and the overall security will be worse because some
people will buy these locks when they need security without knowing how
bad they are.

> > I'm saying that making it mandatory will not
> > improve the sites which already use it and will not improve the sites which
> > deliberately don't want to use it. It will just increase the breach between
> > the two categories and will even more confuse the end user.
> >
> 
> Yes it does.  Neither users nor administrators understand security well
> enough.  People forget, they don't know what the padlock means, all sorts
> of things.
> 
> We can take away this confusion by making it 100% secure all the time.

Please, don't confuse 100% secure with "always encrypted". It's really not
the same, and I'm claiming that "always encrypted even when not needed"
will lower the % of secure deployments.

> > I'm not pessimistic, I'm basing my judgement on what has been done since
> > the beginning. Why do you think that people who deliberately don't care
> > about renewing their certs will suddenly change ? I'm facing cert alerts
> > every day during random browsing. You can be sure it will soon become worse
> > if we force users with even less consideration to produce a cert. We'll be
> > seeing self-signed certs everywhere with a life up to 2038.
> >
> 
> I don't get these every day.

Maybe you're just using a small subset of the web then, I don't know. Or
maybe your browser hides the warning for you already ?

> But if this is a real problem, it will force us to fix the problem and make
> it better.  We can innovate here.

I'd rather fix real issues than fixing problems we'll create on purpose.

> > Mike, as we discussed a few months ago, I would much more support your
> > proposals of using HTTP over a secured UDP. Really. It would provide
> > exactly the same model as TLS today (one which I'm not satisfied with)
> > but with much improved performance and lower deployment cost. But here
> > we're discussing about making it worse for end users and worse for server
> > admins. That's what I don't like in this model.
> >
> 
> There is no data that suggests it is worse for end users.   With Google,
> Twitter, Facebook, every bank in the US all on TLS, its really quite
> remarkable that you think that "TLS makes it worse for the end user".

TLS on such well-managed sites is not worse (except the extra round trip
which is why I never use TLS on Google, as it increases its load time).

TLS on *every* site is worse.

> The sites which aren't willing to spend the time to keep their users secure
> probably shouldn't be operating.

So we're back to the web-for-the-elite. If you have $100K to spend a year on
an admin to maintain your certs, you're allowed to be connected, otherwise
go away. At least things get clearer now.

> Hosting sites like amazon, wordpress,
> google, and microsoft will take care of the certificate management for all
> sites.  The problems you describe of perpetually expired certs is overly
> pessimistic.

It's not overly pessimistic, I'm getting them right now while TLS is on a
minority of web sites. When it's 100% of web sites, I'm sure we'll have
browser plugins to automatically validate sites for you !

> > Many sites are already sensible to cookie injection and this is something
> > TLS cannot fix. Cookie hijacking has been in used by malware for years, I
> > have proofs of that in many server-side logs where the same session is
> > used in parallel in two countries with completely different browsing
> > behaviours.
> >
> 
> Ah!  TLS makes it almost impossible to steal the cookie.

On the wire. Reread what I wrote above. Cookie is stolen in the browser
nowadays, it's easier and you don't need to be connected between the
browser and the server, you just have to stuff your code in every
browser. Much easier and no risk of being caught !

> That's where TLS
> kicks in.   As you know, you need many things to keep a system secure; TLS
> is just one of them.  But its a vital part!  Without it, you're not a
> secure system.

It's not a vital part but an additional part. Once again, I'm working
with people who consider that communications are cleartext nowadays. We're
working with ways to secure a browsing sequence when someone else has the
same cookie and browses in parallel. That's not science fiction, that's
todays web and it's been like this for at least the last 5 years.

> > Sometimes I'm scared because I fell like people who want to push TLS hard
> > really are not aware of the state of the browsing security in 2012, and
> > *this* is even more concerning to me than the overhead of processing TLS!
> >
> 
> Lets not get personal.

You're right, sorry.

> It does not go without notice from me that the battle lines are drawn
> around which type of developer you are.  Browser developers and social
> content providers are all in the protect-the-users camp (encrypt
> everything).  Proxy vendors, which have an uncertain role in an encrypted
> future, are unilaterally against it.  This is a power struggle of products.
>  Are the endpoints in charge?  Or is the 3rd party middleman in charge?

I have a different analysis. We're discussing something which is defined
by a minority of web sites who own the majority of the traffic, man power
and even CPU power in the world. It's absolutely normal that protocols
designed in such environments totally forget what a *normal* site looks
like. And it's totally normal that they don't understand why it's hard
to get things to work right at many places.

The 3rd party middleman you're talking about are more commonly in contact
with such real world sites and possibly are more sensible to their concerns
and issues.

> Again, I vote for the user.

I'm for the user too, I just think the model you see for the future user
is a major failure which users will regret because of the increased
issues they will have to deal with without understanding.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:13:14 2012
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 1852D21F861E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:13:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.59
X-Spam-Level: 
X-Spam-Status: No, score=-11.59 tagged_above=-999 required=5 tests=[AWL=1.009, BAYES_00=-2.599, GB_I_LETTER=-2, 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 gy0bBCcTdchS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:13:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DC40821F84CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:13:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPNx-0008Ql-0m for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:13:29 +0000
Resent-Date: Wed, 18 Jul 2012 08:13:29 +0000
Resent-Message-Id: <E1SrPNx-0008Ql-0m@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrPNm-0008Pj-51 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:13:18 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrPNh-0000PX-7P for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:13:18 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 448413B763; Wed, 18 Jul 2012 08:12:51 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6I8CpMJ063587; Wed, 18 Jul 2012 08:12:51 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 17 Jul 2012 15:48:05 MST." <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 08:12:51 +0000
Message-ID: <63586.1342599171@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrPNh-0000PX-7P a1d349cbf49e4fb692f89373a0ff7ee6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/63586.1342599171@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14469
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>

In message <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
, James M Snell writes:

>Within HTTP/1.1, it would be something like "Session:
>some-random-string-of-letters"

I would actually make it more restricitve:

	Session-ID: <32-64 hex digits>

(In HTTP/2.0 it should of course be transmitted in raw binary)

And I would make the first bit indicate the scope:

	0: This Session-ID is anonymous, I have no idea who the user is.
	1: This Session-ID represents a user I have identified locally.

The remaning bits have no meaning outside the user-agent, but are merely
a (mostly!) unique identifier, usable to refer to a session.

Public User-Agents, in libraries, cafes and so on, should be
configured to always send '0' sessions, and should put random bits
in the rest of the session-id, as should any user-agent asked to
operate in anonymous mode.

User-Agents working on behalf of a single person (at a time) can,
at the users discretion, always send the same 1-session id to a
particular site, in order to offer the user "persistent sessions"
only subject to occational authentication.


Abstractly I do agree that it would be wonderful if both client and
server could be stateless, but I don't see how that could ever work
for a bank ?

And yes, I really mean it when I say that HTTP/2.0 should not support
cookies, because they are a major eater of time, caching efficiency and
consequently bandwidth.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:27:13 2012
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 BA6CD21F8713 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:27:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.467
X-Spam-Level: 
X-Spam-Status: No, score=-7.467 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 vfIuePTxPqvb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:27:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4C0F21F86FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:27:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPbB-0007Qw-GW for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:27:09 +0000
Resent-Date: Wed, 18 Jul 2012 08:27:09 +0000
Resent-Message-Id: <E1SrPbB-0007Qw-GW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SrPb1-0007Ph-6q for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:26:59 +0000
Received: from am1ehsobe004.messaging.microsoft.com ([213.199.154.207] helo=am1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SrPav-00025C-7a for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:26:59 +0000
Received: from mail11-am1-R.bigfish.com (10.3.201.234) by AM1EHSOBE005.bigfish.com (10.3.204.25) with Microsoft SMTP Server id 14.1.225.23; Wed, 18 Jul 2012 08:26:26 +0000
Received: from mail11-am1 (localhost [127.0.0.1])	by mail11-am1-R.bigfish.com (Postfix) with ESMTP id B96DF340385	for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:26:25 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zz98dI9371Ic89bh936eI542M1432Izz1202hzz8275dhz2fh2a8h683h839hd25hf0ah107ah)
Received-SPF: pass (mail11-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT003.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail11-am1 (localhost.localdomain [127.0.0.1]) by mail11-am1 (MessageSwitch) id 1342599983804005_18927; Wed, 18 Jul 2012 08:26:23 +0000 (UTC)
Received: from AM1EHSMHS001.bigfish.com (unknown [10.3.201.254])	by mail11-am1.bigfish.com (Postfix) with ESMTP id C20C1E0070	for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:26:23 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS001.bigfish.com (10.3.207.101) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 18 Jul 2012 08:26:23 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.79.178) with Microsoft SMTP Server (TLS) id 14.2.298.5; Wed, 18 Jul 2012 08:26:20 +0000
Received: from mail189-va3-R.bigfish.com (10.7.14.243) by VA3EHSOBE007.bigfish.com (10.7.40.11) with Microsoft SMTP Server id 14.1.225.23; Wed, 18 Jul 2012 08:26:19 +0000
Received: from mail189-va3 (localhost [127.0.0.1])	by mail189-va3-R.bigfish.com (Postfix) with ESMTP id 4D50FE022E	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Wed, 18 Jul 2012 08:26:19 +0000 (UTC)
Received: from mail189-va3 (localhost.localdomain [127.0.0.1]) by mail189-va3 (MessageSwitch) id 1342599977285055_10500; Wed, 18 Jul 2012 08:26:17 +0000 (UTC)
Received: from VA3EHSMHS002.bigfish.com (unknown [10.7.14.237])	by mail189-va3.bigfish.com (Postfix) with ESMTP id 374E3400049;	Wed, 18 Jul 2012 08:26:17 +0000 (UTC)
Received: from CH1PRD0310HT003.namprd03.prod.outlook.com (157.56.244.37) by VA3EHSMHS002.bigfish.com (10.7.99.12) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 18 Jul 2012 08:26:15 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.134]) by CH1PRD0310HT003.namprd03.prod.outlook.com ([10.255.137.38]) with mapi id 14.16.0175.005; Wed, 18 Jul 2012 08:26:14 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Julian Reschke <julian.reschke@gmx.de>, Mike Belshe <mike@belshe.com>
CC: Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>, =?iso-8859-1?Q?=22Martin_J=2E_D=FCrst=22?= <duerst@it.aoyama.ac.jp>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: AQHNZLwscEmMqpGz3U+2tQhaPsqp6JcusJ6g
Date: Wed, 18 Jul 2012 08:26:14 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF73F6E4F72@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mailLYCv9qW6s=L9PJHw0d+JjC7DOmgYRKsUTpj-RqTfwmKZpmg@mail.gmail.com> <20120718072706.GG5875@1wt.eu> <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com> <50066DF9.6090801@gmx.de>
In-Reply-To: <50066DF9.6090801@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [80.63.230.97]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT003.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMX.DE$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%BELSHE.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%1WT.EU$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%QBIK.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%YAHOO-INC.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IT.AOYAMA.AC.JP$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%FB.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.207; envelope-from=henrikn@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SrPav-00025C-7a 9f382cfab119ffa8ea1051bb29b1c9d6
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF73F6E4F72@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14470
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>

Mike,

I think the reason why your argument fails to convince is that it is made a=
t the wrong layer. It is essentially not an HTTP issue but a content provid=
er issue whether content is exposed over TLS or not. Every content provider=
 today has the option of using TLS or not -- some has chosen to use it and =
others not. It would be much more beneficial if you could convince content =
providers that is it a good idea for them to use TLS.

I think you would feel the same if I argued that TCP should be abandoned in=
 favor or TLS throughout the Internet. Clearly that would feel like overrea=
ch from a policy point of view that doesn't reflect what TCP is actually us=
ed for.=20

I doubt you will find anybody who will "vote against the user" but it also =
somewhat na=EFve to say that the user is "safe" if we use TLS. There are so=
 many other aspects (privacy, tracking, etc.) that directly involve content=
 providers directly so rather than focusing on one particular aspect (TLS) =
I would argue that the right discussion to have is with content providers a=
bout what it means to expose data in a safe manner. Not whether TLS should =
be mandatory in HTTP or not.

Henrik

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]=20
Sent: Wednesday, July 18, 2012 1:04 AM
To: Mike Belshe
Cc: Willy Tarreau; Phillip Hallam-Baker; Adrien W. de Croy; Rajeev Bector; =
Martin Thomson; "Martin J. D=FCrst"; Doug Beaver; ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest

On 2012-07-18 09:50, Mike Belshe wrote:
> ...
> It does not go without notice from me that the battle lines are drawn=20
> around which type of developer you are.  Browser developers and social=20
> content providers are all in the protect-the-users camp (encrypt=20
> everything).  Proxy vendors, which have an uncertain role in an=20
> encrypted future, are unilaterally against it.  This is a power=20
> struggle of products.  Are the endpoints in charge?  Or is the 3rd=20
> party middleman in charge?
>
> Again, I vote for the user.
> ...

The user wants security. But the user also wants speed, or the ability to a=
ccess a site from an environment that insists on opening the connection.

Best regards, Julian








From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:49:17 2012
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 DC6F921F8604 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:49:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.781
X-Spam-Level: 
X-Spam-Status: No, score=-9.781 tagged_above=-999 required=5 tests=[AWL=0.195, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 791WWSqMO7HY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:49:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 698B621F8601 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:49:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPwF-00031W-Mr for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:48:55 +0000
Resent-Date: Wed, 18 Jul 2012 08:48:55 +0000
Resent-Message-Id: <E1SrPwF-00031W-Mr@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrPw5-0002zp-Qe for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:48:45 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SrPw4-0003FA-C1 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:48:45 +0000
Received: by lbom4 with SMTP id m4so1907336lbo.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 01:48:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=Xre9TvCsgnS45R9vfuSyZ8GwTcLZUkpNQyBmCOeqZYA=; b=g5xk8NVFMdy7n9fQ2DVRODT/v1AbiB62MHjp+cyVHZbZOX39WG1IlRJOSeBmlZC6s9 GufyCXJa4SrGqIU0yCmYY3SlY8pbbqZT5bnFxihOyPNONEg19dQMbO+TPHNz4Y8ZoxsN rMZYsPpPIi0Kzr8N5qTSbfZKlw4dIpZt+uHBulXbjREXQOuCkMMTfkXwMzznGKnEU0Nw OPqEutnZ3uEcBA/o89xpljLbK4aXKKgqX0Hkd/xefUUA24RAZLzzObzT0r/XGS5dJoU5 HlesE2JSHTWjkw5jBw47jPSIF7PCZpMksjKm3iEmKrqLSD/rlUnJz9UP5NsPC8BvV54j S5zA==
MIME-Version: 1.0
Received: by 10.112.29.131 with SMTP id k3mr1340947lbh.53.1342601297282; Wed, 18 Jul 2012 01:48:17 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Wed, 18 Jul 2012 01:48:17 -0700 (PDT)
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF73F6E4F72@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <20120718072706.GG5875@1wt.eu> <CABaLYCuL5QuAshYMLxfbQfgKQ2GMTRF3o=r_zJFZctZBkzBiOA@mail.gmail.com> <50066DF9.6090801@gmx.de> <3605BA99C081B54EA9B65B3E33316AF73F6E4F72@CH1PRD0310MB392.namprd03.prod.outlook.com>
Date: Wed, 18 Jul 2012 01:48:17 -0700
Message-ID: <CABaLYCtx_PNFrTxkbjgnKpuGX=n8GerzxSQrbfGAKr1qbJzPMg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Willy Tarreau <w@1wt.eu>,  Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>,  Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>,  =?ISO-8859-1?B?Ik1hcnRpbiBKLiBE/HJzdCI=?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec554d60666495f04c516b99f
X-Gm-Message-State: ALoCoQnxpB5NLR1uVaVwA+bHFXAQWO6n05sleW0ZkTPfsS4t0y2pZ/84ykvAuiMoUC+of7PQuMhL
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrPw4-0003FA-C1 a524c2743cef4915ba19df1f877c0797
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CABaLYCtx_PNFrTxkbjgnKpuGX=n8GerzxSQrbfGAKr1qbJzPMg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14471
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>

--bcaec554d60666495f04c516b99f
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 18, 2012 at 1:26 AM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

> Mike,
>
> I think the reason why your argument fails to convince is that it is made
> at the wrong layer.


I don't think it fails to convince.  I'm winning this argument by a mile!
 I'd be happy to take a poll to find out.

mike




> It is essentially not an HTTP issue but a content provider issue whether
> content is exposed over TLS or not. Every content provider today has the
> option of using TLS or not -- some has chosen to use it and others not. I=
t
> would be much more beneficial if you could convince content providers tha=
t
> is it a good idea for them to use TLS.


> I think you would feel the same if I argued that TCP should be abandoned
> in favor or TLS throughout the Internet. Clearly that would feel like
> overreach from a policy point of view that doesn't reflect what TCP is
> actually used for.
>
> I doubt you will find anybody who will "vote against the user" but it als=
o
> somewhat na=EFve to say that the user is "safe" if we use TLS.


Having TLS does not make you safe.  But not having it *does* make you
unsafe.

Mike



> There are so many other aspects (privacy, tracking, etc.) that directly
> involve content providers directly so rather than focusing on one
> particular aspect (TLS) I would argue that the right discussion to have i=
s
> with content providers about what it means to expose data in a safe manne=
r.
> Not whether TLS should be mandatory in HTTP or not.
>
> Henrik
>
> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Wednesday, July 18, 2012 1:04 AM
> To: Mike Belshe
> Cc: Willy Tarreau; Phillip Hallam-Baker; Adrien W. de Croy; Rajeev Bector=
;
> Martin Thomson; "Martin J. D=FCrst"; Doug Beaver; ietf-http-wg@w3.org
> Subject: Re: HTTP2 Expression of Interest
>
> On 2012-07-18 09:50, Mike Belshe wrote:
> > ...
> > It does not go without notice from me that the battle lines are drawn
> > around which type of developer you are.  Browser developers and social
> > content providers are all in the protect-the-users camp (encrypt
> > everything).  Proxy vendors, which have an uncertain role in an
> > encrypted future, are unilaterally against it.  This is a power
> > struggle of products.  Are the endpoints in charge?  Or is the 3rd
> > party middleman in charge?
> >
> > Again, I vote for the user.
> > ...
>
> The user wants security. But the user also wants speed, or the ability to
> access a site from an environment that insists on opening the connection.
>
> Best regards, Julian
>
>
>
>
>
>
>

--bcaec554d60666495f04c516b99f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Jul 18, 2012 at 1:26 AM, Henrik =
Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.c=
om" target=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">
Mike,<br>
<br>
I think the reason why your argument fails to convince is that it is made a=
t the wrong layer. </blockquote><div><br></div><div>I don&#39;t think it fa=
ils to convince. =A0I&#39;m winning this argument by a mile! =A0I&#39;d be =
happy to take a poll to find out.</div>
<div><br></div><div>mike</div><div><br></div><div><br></div><div>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">It is essentially not an HTTP issue but a con=
tent provider issue whether content is exposed over TLS or not. Every conte=
nt provider today has the option of using TLS or not -- some has chosen to =
use it and others not. It would be much more beneficial if you could convin=
ce content providers that is it a good idea for them to use TLS.=A0</blockq=
uote>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
I think you would feel the same if I argued that TCP should be abandoned in=
 favor or TLS throughout the Internet. Clearly that would feel like overrea=
ch from a policy point of view that doesn&#39;t reflect what TCP is actuall=
y used for.<br>

<br>
I doubt you will find anybody who will &quot;vote against the user&quot; bu=
t it also somewhat na=EFve to say that the user is &quot;safe&quot; if we u=
se TLS. </blockquote><div><br></div><div>Having TLS does not make you safe.=
 =A0But not having it *does* make you unsafe.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">There are so many other aspects (privacy, tracking, etc.) th=
at directly involve content providers directly so rather than focusing on o=
ne particular aspect (TLS) I would argue that the right discussion to have =
is with content providers about what it means to expose data in a safe mann=
er. Not whether TLS should be mandatory in HTTP or not.<br>

<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Henrik<br>
</font></span><div class=3D"im HOEnZb"><br>
-----Original Message-----<br>
From: Julian Reschke [mailto:<a href=3D"mailto:julian.reschke@gmx.de">julia=
n.reschke@gmx.de</a>]<br>
Sent: Wednesday, July 18, 2012 1:04 AM<br>
To: Mike Belshe<br>
Cc: Willy Tarreau; Phillip Hallam-Baker; Adrien W. de Croy; Rajeev Bector; =
Martin Thomson; &quot;Martin J. D=FCrst&quot;; Doug Beaver; <a href=3D"mail=
to:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
Subject: Re: HTTP2 Expression of Interest<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">On 2012-07-18 09:50, Mike Bel=
she wrote:<br>
&gt; ...<br>
&gt; It does not go without notice from me that the battle lines are drawn<=
br>
&gt; around which type of developer you are. =A0Browser developers and soci=
al<br>
&gt; content providers are all in the protect-the-users camp (encrypt<br>
&gt; everything). =A0Proxy vendors, which have an uncertain role in an<br>
&gt; encrypted future, are unilaterally against it. =A0This is a power<br>
&gt; struggle of products. =A0Are the endpoints in charge? =A0Or is the 3rd=
<br>
&gt; party middleman in charge?<br>
&gt;<br>
&gt; Again, I vote for the user.<br>
&gt; ...<br>
<br>
The user wants security. But the user also wants speed, or the ability to a=
ccess a site from an environment that insists on opening the connection.<br=
>
<br>
Best regards, Julian<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--bcaec554d60666495f04c516b99f--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:51:45 2012
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 7ABA621F860E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:51:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.367
X-Spam-Level: 
X-Spam-Status: No, score=-7.367 tagged_above=-999 required=5 tests=[AWL=2.232, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 JzEvRRMkrHH2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:51:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4BEE121F8604 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:51:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrPzF-0004Vu-4N for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:52:01 +0000
Resent-Date: Wed, 18 Jul 2012 08:52:01 +0000
Resent-Message-Id: <E1SrPzF-0004Vu-4N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrPz5-0004V2-Cn for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:51:51 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrPz3-0003KD-8I for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:51:51 +0000
Received: From [192.168.1.25] (unverified [122.57.154.179]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145513@smtp.qbik.com>; Wed, 18 Jul 2012 20:51:26 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>, "Julian Reschke" <julian.reschke@gmx.de>, "Mike Belshe" <mike@belshe.com>
Cc: "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 08:51:26 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF73F6E4F72@CH1PRD0310MB392.namprd03.prod.outlook.com>
Message-Id: <em05bcc17d-e551-42f3-9958-d4b6497206de@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrPz3-0003KD-8I aab0bcbca2e01df31ae10701b4cd5164
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/em05bcc17d-e551-42f3-9958-d4b6497206de@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14472
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>

=EF=BB=BF
I think also it's not always clear who the user is.  It's certainly=20
naive to think they all want / need / deserve the same thing.

We get paid by customers.

We don't in general get paid by users.

Users are in our case typically employees or students.  They don't get=20
to make the rules about what they can do in company time.  Nor should=20
they.

Adrien


------ Original Message ------
From: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
To: "Julian Reschke" <julian.reschke@gmx.de>;"Mike Belshe"=20
<mike@belshe.com>
Cc: "Willy Tarreau" <w@1wt.eu>;"Phillip Hallam-Baker"=20
<hallam@gmail.com>;"Adrien W. de Croy" <adrien@qbik.com>;"Rajeev=20
Bector" <rbector@yahoo-inc.com>;"Martin Thomson"=20
<martin.thomson@gmail.com>;"Martin J. D=C3=BCrst"=20
<duerst@it.aoyama.ac.jp>;"Doug Beaver"=20
<doug@fb.com>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 18/07/2012 8:26:14 p.m.
Subject: RE: HTTP2 Expression of Interest
>Mike,
>
>I think the reason why your argument fails to convince is that it is made=
 at the wrong layer. It is essentially not an HTTP issue but a content prov=
ider issue whether content is exposed over TLS or not. Every content provid=
er today has the option of using TLS or not -- some has chosen to use it=
 and others not. It would be much more beneficial if you could convince =
content providers that is it a good idea for them to use TLS.
>
>I think you would feel the same if I argued that TCP should be abandoned=
 in favor or TLS throughout the Internet. Clearly that would feel like over=
reach from a policy point of view that doesn't reflect what TCP is actually=
 used for.
>
>I doubt you will find anybody who will "vote against the user" but it also=
 somewhat na=C3=AFve to say that the user is "safe" if we use TLS. There=
 are so many other aspects (privacy, tracking, etc.) that directly involve=
 content providers directly so rather than focusing on one particular aspec=
t (TLS) I would argue that the right discussion to have is with content =
providers about what it means to expose data in a safe manner. Not whether=
 TLS should be mandatory in HTTP or not.
>
>Henrik
>
>-----Original Message-----
>From: Julian Reschke [mailto:julian.reschke@gmx.de]
>Sent: Wednesday, July 18, 2012 1:04 AM
>To: Mike Belshe
>Cc: Willy Tarreau; Phillip Hallam-Baker; Adrien W. de Croy; Rajeev Bector;=
 Martin Thomson; "Martin J. D=C3=BCrst"; Doug Beaver; ietf-http-wg@w3.org
>Subject: Re: HTTP2 Expression of Interest
>
>On 2012-07-18 09:50, Mike Belshe wrote:
>
>>
>>...
>>It does not go without notice from me that the battle lines are drawn
>>around which type of developer you are.  Browser developers and social
>>content providers are all in the protect-the-users camp (encrypt
>>everything).  Proxy vendors, which have an uncertain role in an
>>encrypted future, are unilaterally against it.  This is a power
>>struggle of products.  Are the endpoints in charge?  Or is the 3rd
>>party middleman in charge?
>>
>>Again, I vote for the user.
>>...
>>
>
>
>The user wants security. But the user also wants speed, or the ability =
to access a site from an environment that insists on opening the connection=
.
>
>Best regards, Julian
>
>
>
>
>
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:53:13 2012
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 9321221F8646 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:53:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.446
X-Spam-Level: 
X-Spam-Status: No, score=-7.446 tagged_above=-999 required=5 tests=[AWL=2.152, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 yvYvSUkZeqhg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:53:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8811721F863E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:53:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrQ0e-0004e6-My for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:53:28 +0000
Resent-Date: Wed, 18 Jul 2012 08:53:28 +0000
Resent-Message-Id: <E1SrQ0e-0004e6-My@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrQ0U-0004dL-Ok for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:53:18 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrQ0Q-0003NZ-22 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:53:18 +0000
Received: From [192.168.1.25] (unverified [122.57.154.179]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019145516@smtp.qbik.com>; Wed, 18 Jul 2012 20:52:51 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Mike Belshe" <mike@belshe.com>, "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
Cc: "Julian Reschke" <julian.reschke@gmx.de>, "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 08:52:51 +0000
Content-Type: multipart/alternative; boundary="------=_MB2CE18091-AC3A-46CC-B9B7-EB00798EBEED"
In-Reply-To: <CABaLYCtx_PNFrTxkbjgnKpuGX=n8GerzxSQrbfGAKr1qbJzPMg@mail.gmail.com>
Message-Id: <ema1dd9e60-1caa-4640-8204-a114f105b583@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrQ0Q-0003NZ-22 7e1776950cfb914b0f1a2b561ad06e91
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/ema1dd9e60-1caa-4640-8204-a114f105b583@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14473
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>

--------=_MB2CE18091-AC3A-46CC-B9B7-EB00798EBEED
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8

=EF=BB=BF
------ Original Message ------
From: "Mike Belshe" mike@belshe.com
>
>
>On Wed, Jul 18, 2012 at 1:26 AM, Henrik Frystyk Nielsen <henrikn@microsoft=
.com> wrote:
> Mike,
>=20
> I think the reason why your argument fails to convince is that it is=20
> made at the wrong layer.=20
=20
 I don't think it fails to convince.  I'm winning this argument by a=20
 mile!  I'd be happy to take a poll to find out.

It must be getting very late there Mike, we appreciate your engagement=20
in the issue, but I don't think it's accurate to claim you're even=20
ahead in the argument.

Adrien


>
>mike
>
>

> It is essentially not an HTTP issue but a content provider issue=20
> whether content is exposed over TLS or not. Every content provider=20
> today has the option of using TLS or not -- some has chosen to use it=20
> and others not. It would be much more beneficial if you could=20
> convince content providers that is it a good idea for them to use=20
> TLS.=20
 =20
  I think you would feel the same if I argued that TCP should be=20
  abandoned in favor or TLS throughout the Internet. Clearly that would=20
  feel like overreach from a policy point of view that doesn't reflect=20
  what TCP is actually used for.
 =20
  I doubt you will find anybody who will "vote against the user" but it=20
  also somewhat na=C3=AFve to say that the user is "safe" if we use TLS.=
=20
=20
 Having TLS does not make you safe.  But not having it *does* make you=20
 unsafe.
=20
 Mike
=20

  There are so many other aspects (privacy, tracking, etc.) that=20
  directly involve content providers directly so rather than focusing=20
  on one particular aspect (TLS) I would argue that the right=20
  discussion to have is with content providers about what it means to=20
  expose data in a safe manner. Not whether TLS should be mandatory in=20
  HTTP or not.
 =20
  Henrik
 =20
  -----Original Message-----
  From: Julian Reschke [mailto:julian.reschke@gmx.de]
  Sent: Wednesday, July 18, 2012 1:04 AM
  To: Mike Belshe
  Cc: Willy Tarreau; Phillip Hallam-Baker; Adrien W. de Croy; Rajeev=20
  Bector; Martin Thomson; "Martin J. D=C3=BCrst"; Doug Beaver; ietf-http-wg=
@w3.org
  Subject: Re: HTTP2 Expression of Interest
 =20
  On 2012-07-18 09:50, Mike Belshe wrote:
  > ...
  > It does not go without notice from me that the battle lines are=20
  drawn
  > around which type of developer you are.  Browser developers and=20
  social
  > content providers are all in the protect-the-users camp (encrypt
  > everything).  Proxy vendors, which have an uncertain role in an
  > encrypted future, are unilaterally against it.  This is a power
  > struggle of products.  Are the endpoints in charge?  Or is the 3rd
  > party middleman in charge?
  >
  > Again, I vote for the user.
  > ...
 =20
  The user wants security. But the user also wants speed, or the=20
  ability to access a site from an environment that insists on opening=20
  the connection.
 =20
  Best regards, Julian
 =20
 =20
 =20
 =20
 =20
 =20
=20

--------=_MB2CE18091-AC3A-46CC-B9B7-EB00798EBEED
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#e0e7a0e875394fdabd97b06ab8d48b53 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#e0e7a0e875394fdabd97b06ab8d48b53 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#e0e7a0e875394fdabd97b06ab8d48b53=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#e0e7a0e875394fdabd97b06ab8d48b53 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Mike=
 Belshe" <A href=3D"mailto:mike@belshe.com">mike@belshe.com</A><BR>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCtx_PNFrTxkbjgnKpuGX=3Dn8GerzxSQrbfGA=
Kr1qbJzPMg@mail.gmail.com type=3D"cite">
<DIV id=3De0e7a0e875394fdabd97b06ab8d48b53><BR><BR>
<DIV class=3Dgmail_quote>On Wed, Jul 18, 2012 at 1:26 AM, Henrik Frystyk=
 Nielsen <SPAN dir=3Dltr>&lt;<A href=3D"mailto:henrikn@microsoft.com"><A=
 href=3D"mailto:henrikn@microsoft.com">henrikn@microsoft.com</A></A>&gt;</S=
PAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>Mike,<BR><BR>I think the reason=
 why your argument fails to convince is that it is made at the wrong layer.=
 </BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I don't think it fails to convince. &nbsp;I'm winning this argument=
 by a mile! &nbsp;I'd be happy to take a poll to find out.</DIV></DIV></DIV=
></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>It must be getting very late there=
 Mike, we appreciate your engagement in the issue, but I don't think it's=
 accurate to claim you're even ahead in the argument.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Adrien</DIV>
<DIV 10px; margin-bottom: margin-top:><BR>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABaLYCtx_PNFrTxkbjgnKpuGX=3Dn8GerzxSQrbfGA=
Kr1qbJzPMg@mail.gmail.com type=3D"cite">
<DIV id=3De0e7a0e875394fdabd97b06ab8d48b53>
<DIV class=3Dgmail_quote>
<DIV></DIV>
<DIV><BR></DIV>
<DIV>mike</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>It is essentially not an HTTP issu=
e but a content provider issue whether content is exposed over TLS or not.=
 Every content provider today has the option of using TLS or not -- some=
 has chosen to use it and others not. It would be much more beneficial if=
 you could convince content providers that is it a good idea for them to=
 use TLS.&nbsp;</BLOCKQUOTE>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><BR>I think you would feel the =
same if I argued that TCP should be abandoned in favor or TLS throughout=
 the Internet. Clearly that would feel like overreach from a policy point=
 of view that doesn't reflect what TCP is actually used for.<BR><BR>I doubt=
 you will find anybody who will "vote against the user" but it also somewha=
t na=C3=AFve to say that the user is "safe" if we use TLS. </BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Having TLS does not make you safe. &nbsp;But not having it *does* make=
 you unsafe.</DIV>
<DIV><BR></DIV>
<DIV>Mike</DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>There are so many other aspects=
 (privacy, tracking, etc.) that directly involve content providers directly=
 so rather than focusing on one particular aspect (TLS) I would argue that=
 the right discussion to have is with content providers about what it means=
 to expose data in a safe manner. Not whether TLS should be mandatory in=
 HTTP or not.<BR><SPAN class=3DHOEnZb><FONT color=3D#888888><BR>Henrik<BR><=
/FONT></SPAN>
<DIV class=3D"im HOEnZb"><BR>-----Original Message-----<BR>From: Julian =
Reschke [mailto:<A href=3D"mailto:julian.reschke@gmx.de"><A href=3D"mailto:=
julian.reschke@gmx.de">julian.reschke@gmx.de</A></A>]<BR>Sent: Wednesday,=
 July 18, 2012 1:04 AM<BR>To: Mike Belshe<BR>Cc: Willy Tarreau; Phillip =
Hallam-Baker; Adrien W. de Croy; Rajeev Bector; Martin Thomson; "Martin =
J. D=C3=BCrst"; Doug Beaver; <A href=3D"mailto:ietf-http-wg@w3.org"><A href=
=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</A></A><BR>Subject: =
Re: HTTP2 Expression of Interest<BR><BR></DIV>
<DIV class=3DHOEnZb>
<DIV class=3Dh5>On 2012-07-18 09:50, Mike Belshe wrote:<BR>&gt; ...<BR>&gt;=
 It does not go without notice from me that the battle lines are drawn<BR>&=
gt; around which type of developer you are. &nbsp;Browser developers and=
 social<BR>&gt; content providers are all in the protect-the-users camp =
(encrypt<BR>&gt; everything). &nbsp;Proxy vendors, which have an uncertain=
 role in an<BR>&gt; encrypted future, are unilaterally against it. &nbsp;Th=
is is a power<BR>&gt; struggle of products. &nbsp;Are the endpoints in char=
ge? &nbsp;Or is the 3rd<BR>&gt; party middleman in charge?<BR>&gt;<BR>&gt;=
 Again, I vote for the user.<BR>&gt; ...<BR><BR>The user wants security.=
 But the user also wants speed, or the ability to access a site from an =
environment that insists on opening the connection.<BR><BR>Best regards,=
 Julian<BR><BR><BR><BR><BR><BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV=
></BLOCKQUOTE></BODY></HTML>
--------=_MB2CE18091-AC3A-46CC-B9B7-EB00798EBEED--



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 01:53:58 2012
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 0E04621F8656 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:53:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.605
X-Spam-Level: 
X-Spam-Status: No, score=-10.605 tagged_above=-999 required=5 tests=[AWL=-0.006, BAYES_00=-2.599, 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 mtfKUkFOPtm4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 01:53:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4EE2821F8606 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 01:53:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrQ1V-0004lm-04 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 08:54:21 +0000
Resent-Date: Wed, 18 Jul 2012 08:54:21 +0000
Resent-Message-Id: <E1SrQ1V-0004lm-04@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrQ1L-0004kR-GF for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 08:54:11 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrQ1K-0003Ow-JU for ietf-http-wg@w3.org; Wed, 18 Jul 2012 08:54:11 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id BF6393B74B; Wed, 18 Jul 2012 08:53:48 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6I8riUX074195; Wed, 18 Jul 2012 08:53:44 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, Julian Reschke <julian.reschke@gmx.de>, Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?B?Ik1hcnRpbiBKLiBE/HJzdCI=?= <duerst@it.aoyama.ac.jp>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 18 Jul 2012 01:48:17 MST." <CABaLYCtx_PNFrTxkbjgnKpuGX=n8GerzxSQrbfGAKr1qbJzPMg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 08:53:44 +0000
Message-ID: <74194.1342601624@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrQ1K-0003Ow-JU 482b29f02af4bd8cd6f8ad7d49cea0f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/74194.1342601624@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14474
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>

In message <CABaLYCtx_PNFrTxkbjgnKpuGX=n8GerzxSQrbfGAKr1qbJzPMg@mail.gmail.com>
, Mike Belshe writes:

>Having TLS does not make you safe.  But not having it *does* make you
>unsafe.

Mike,

Nobody is proposing to take TLS away from you.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 02:15:39 2012
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 35EBC21F869A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 02:15:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.244
X-Spam-Level: 
X-Spam-Status: No, score=-10.244 tagged_above=-999 required=5 tests=[AWL=0.355, BAYES_00=-2.599, 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 4b9W9Wfn8qvH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 02:15:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B6A621F8690 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 02:15:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrQLz-0001Ae-G4 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 09:15:31 +0000
Resent-Date: Wed, 18 Jul 2012 09:15:31 +0000
Resent-Message-Id: <E1SrQLz-0001Ae-G4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrQLl-00014l-Sz for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 09:15:17 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrQLd-0004VO-5x for ietf-http-wg@w3.org; Wed, 18 Jul 2012 09:15:17 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 0528210EF31 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 21:14:44 +1200 (NZST)
Message-ID: <50067E7B.9020806@treenet.co.nz>
Date: Wed, 18 Jul 2012 21:14:35 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com> <5006684D.9020502@gmx.de>
In-Reply-To: <5006684D.9020502@gmx.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrQLd-0004VO-5x a526e5ee55834ffa14df272ec23f444c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/50067E7B.9020806@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14475
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 18/07/2012 7:39 p.m., Julian Reschke wrote:
> On 2012-07-18 09:27, Manger, James H wrote:
>> HTTPbis part 7 (Authentication) introduces a new piece of ABNF 
>> labelled "b64token" 
>> [http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-20#section-2.1]. 
>> It is also referenced/repeated in the OAuth2 Bearer draft spec. The 
>> new ABNF is necessary and explained quite clearly in the spec. 
>> However, the "b64token" label has already led at least a handful of 
>> people to mistakenly assume it always holds a base64-encoding. The 
>> examples in the OAuth2 Bearer spec were even changed so they were not 
>> base64-encodings to try to minimise the misunderstanding, but others 
>> have still made the mistaken assumption.
>>
>> How about renaming the ABNF production to "token68"?
>>
>> This label reflects the fact that it supports an alphabet of 68 
>> characters (plus equal signs at the end).
>>
>> The new text in part 7 would become:
>>
>>     token68       = 1*( ALPHA / DIGIT /
>>                          "-" / "." / "_" / "~" / "+" / "/" ) *"="
>>
>>     The "token68" syntax allows the 66 unreserved URI characters
>>     ([RFC3986]), plus a few others, so that it can hold a base64,
>>     base64url (URL and filename safe alphabet), base32, or base16 (hex)
>>     encoding, with or without padding, but excluding whitespace
>>     ([RFC4648]).
>>
>> -- 
>> James Manger
>
> Sounds good to me; if this reduces potential confusion we should to that.
>
> Best regards, Julian
>
>


+1 from me too.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 02:17:18 2012
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 5240A21F869A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 02:17:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.268
X-Spam-Level: 
X-Spam-Status: No, score=-10.268 tagged_above=-999 required=5 tests=[AWL=0.331, BAYES_00=-2.599, 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 nACP5StdwtzE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 02:17:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C0DA21F8690 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 02:17:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrQO6-0001Pw-Ft for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 09:17:42 +0000
Resent-Date: Wed, 18 Jul 2012 09:17:42 +0000
Resent-Message-Id: <E1SrQO6-0001Pw-Ft@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrQNw-0001O8-SW for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 09:17:32 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrQNn-0004bp-7e for ietf-http-wg@w3.org; Wed, 18 Jul 2012 09:17:32 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id AC73410EF31 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 21:17:00 +1200 (NZST)
Message-ID: <50067F03.1050705@treenet.co.nz>
Date: Wed, 18 Jul 2012 21:16:51 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <62127.1342506058@critter.freebsd.dk> <E61DB856-EBDD-4D47-8E20-86C09C53A179@mnot.net> <50066ADC.6020001@gmx.de>
In-Reply-To: <50066ADC.6020001@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrQNn-0004bp-7e 157c4afffe94315b6cb4f17f213fc361
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #375: Most Conservative (caching and date parsing)
Archived-At: <http://www.w3.org/mid/50067F03.1050705@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14476
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 18/07/2012 7:50 p.m., Julian Reschke wrote:
> On 2012-07-18 03:04, Mark Nottingham wrote:
>> OK. Marking for incorporation, with a slight change;
>>
>>    Caches SHOULD consider dates with time zones other than "GMT" 
>> invalid.
>> ...
>
> -> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1814>
>


+1.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 02:40:30 2012
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 DD4B821F86E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 02:40:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.952
X-Spam-Level: 
X-Spam-Status: No, score=-6.952 tagged_above=-999 required=5 tests=[AWL=3.647, BAYES_00=-2.599, 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 AQoQ2D888QFh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 02:40:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5723321F86E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 02:40:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrQk4-0003RK-Lf for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 09:40:24 +0000
Resent-Date: Wed, 18 Jul 2012 09:40:24 +0000
Resent-Message-Id: <E1SrQk4-0003RK-Lf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SrQju-0003PQ-VF for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 09:40:14 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SrQjp-0005UX-2b for ietf-http-wg@w3.org; Wed, 18 Jul 2012 09:40:14 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1342604424; d=isode.com; s=selector; i=@isode.com; bh=1+oZZNBQ9abhrKfzh7QjmEipPcywWLRIvpzQ5LCVT9I=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Fr7TlnEGlOHTCPCTLDpvfbGR8JAgK52t5AW/NW3rtswlFAmZ/fUDJb5l3lTzVHg65deAPI rY7pyhI7XG+jD4B6T8Z7sJ9kGagBOtx9P7stkBKmON/KuWVm3xOagU1Y395ZevvCAihIGK 12JMOon8g2MjmamAUCt1HUw+dUHZHII=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <UAaEhwAkRHIE@waldorf.isode.com>; Wed, 18 Jul 2012 10:40:24 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <50068462.9010709@isode.com>
Date: Wed, 18 Jul 2012 10:39:46 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
To: "Manger, James H" <James.H.Manger@team.telstra.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrQjp-0005UX-2b 55c79c7c9fb7bde26011b31a103304cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/50068462.9010709@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14477
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 18/07/2012 08:27, Manger, James H wrote:
> HTTPbis part 7 (Authentication) introduces a new piece of ABNF labelled "b64token" [http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-20#section-2.1]. It is also referenced/repeated in the OAuth2 Bearer draft spec. The new ABNF is necessary and explained quite clearly in the spec. However, the "b64token" label has already led at least a handful of people to mistakenly assume it always holds a base64-encoding. The examples in the OAuth2 Bearer spec were even changed so they were not base64-encodings to try to minimise the misunderstanding, but others have still made the mistaken assumption.
>
> How about renaming the ABNF production to "token68"?
>
> This label reflects the fact that it supports an alphabet of 68 characters (plus equal signs at the end).
>
> The new text in part 7 would become:
>
>     token68       = 1*( ALPHA / DIGIT /
>                          "-" / "." / "_" / "~" / "+" / "/" ) *"="
>
>     The "token68" syntax allows the 66 unreserved URI characters
>     ([RFC3986]), plus a few others, so that it can hold a base64,
>     base64url (URL and filename safe alphabet), base32, or base16 (hex)
>     encoding, with or without padding, but excluding whitespace
>     ([RFC4648]).
I like that.



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 04:31:18 2012
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 6CFED21F869D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 04:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.866
X-Spam-Level: 
X-Spam-Status: No, score=-8.866 tagged_above=-999 required=5 tests=[AWL=1.733, BAYES_00=-2.599, 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 0-+cX4loawQN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 04:31:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 06D0421F8658 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 04:31:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrSSf-0004sC-JY for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 11:30:33 +0000
Resent-Date: Wed, 18 Jul 2012 11:30:33 +0000
Resent-Message-Id: <E1SrSSf-0004sC-JY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrSST-0004qv-TF for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 11:30:21 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrSSK-0002Js-Qg for ietf-http-wg@w3.org; Wed, 18 Jul 2012 11:30:21 +0000
Received: by vbbfq11 with SMTP id fq11so1101432vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 04:29:47 -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=HxAJRmGVBFlLKRGgZsJaRsC2cDcCoYpFnCt9ESOeNTs=; b=jcJP6C89lF0yq5UY+hrr2Bgv//H8Y2Gkz0vDLVqrcuqvZ/GZ99fo6h5xq+hCUD4iyD K7c+71uWLascltaSpic0T0Y8hnS9jtXpKeW4dofxs5qTcI8TkgfQK88U3Azg3m3cCsfd RL/TIUXsdpKIIWxWN8rj98Pff0tO5iYyBYzUkLh+i3N9amImsBs8/Qzhx44DYhVhc/Q7 WcNX8wkBRhnbL2b4txFR4oqmng8N3UQHDVwYNkguh4Vw1rPJ3WXxMK4NHpTC9XSiyiaN gsT0rWB40iLFz3JosctfWnowtoOJKkRMgUJBOOAjzfejIlMRJ1kIRe2ytwjDXGA2AtO/ lntQ==
MIME-Version: 1.0
Received: by 10.52.23.136 with SMTP id m8mr347225vdf.28.1342610986909; Wed, 18 Jul 2012 04:29:46 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 04:29:46 -0700 (PDT)
In-Reply-To: <5EEB652E-FDA6-40B5-9FD2-D8B41664C300@netflix.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com> <CAMm+LwgUr_ykGKA2u9_29wjSHKHdkv5bO3eHMSnabJFf-o5TSA@mail.gmail.com> <CABaLYCtYV46YQOFVHs2VpRJNvOLkqM2Z6q02SXGak_H6UnsABw@mail.gmail.com> <CAMm+LwjE2bksZ+=jXGQNN3oasapAcyX9TZLjvp22PG8_tWQuVg@mail.gmail.com> <5EEB652E-FDA6-40B5-9FD2-D8B41664C300@netflix.com>
Date: Wed, 18 Jul 2012 07:29:46 -0400
Message-ID: <CAMm+LwjMf+FWEG_LR9ivk-qB7zudXVy-rrT-GTAzH4mPefFDKw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mark Watson <watsonm@netflix.com>
Cc: Mike Belshe <mike@belshe.com>, Paul Hoffman <paul.hoffman@gmail.com>,  "<grahame@healthintersections.com.au>" <grahame@healthintersections.com.au>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrSSK-0002Js-Qg df172938c98d2126cbeafaf9ec3c11dd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwjMf+FWEG_LR9ivk-qB7zudXVy-rrT-GTAzH4mPefFDKw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14478
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>

Content delivery is an example of a case where TLS is decidedly
sub-optimal as a security solution.

If I am streaming a HD movie of 2Gb or so, I am going to want to
encrypt it once and deliver it without TLS. That is more secure as it
avoids giving the attacker multiple ciphertexts of the same plaintext
under different keys.

Mandating TLS in HTTP means shutting the door on other security
solutions that may be more appropriate. That isn't acceptable.


Nor is pushing the hard stuff onto 'the operating system'. Many HTTP
implementations run on machines that don't have an O/S at all. In fact
HTTP is the most complicated part of the system. That is not
coincidence. It was a design requirement at CERN before HTTP was even
proposed in IETF.

On Wed, Jul 18, 2012 at 1:27 AM, Mark Watson <watsonm@netflix.com> wrote:
> The problems with HTTP that HTTP/2.0 is intended to address seem to have
> nothing to do with security. Adding a requirement for use of TLS is
> unrelated to the purpose of the new protocol and will restrict its usage.
> See
> http://groups.csail.mit.edu/ana/Publications/PubPDFs/Tussle%20in%20Cybers=
pace%20Defining%20Tomorrows%20Internet%202005's%20Internet.pdf
> for why we should design protocols which flex along lines of controversy.
> This question of mandating TLS seems to go directly against that advice.
>
> There are many services which make use of HTTP without TLS today that may
> find it more difficult to migrate to HTTP/2.0 if they also have to change
> their security approach as well. The benefits of HTTP/2,0, whilst they ma=
y
> be substantial, are likely not sufficient to be "worth the price" of such=
 a
> change. As a specific example, Netflix ships quite a lot of traffic over
> HTTP without TLS, yet our service remains highly secure. Where we do use =
TLS
> we find significant problems with it - switching to TLS for all traffic
> would be an order-of-magnitude bigger deal (on the minus side) than the
> benefits of HTTP/2.0.
>
> =85Mark
>
>
>
> On Jul 17, 2012, at 9:50 PM, Phillip Hallam-Baker wrote:
>
> Perhaps you are not aware that I work for a CA and I have spent 20
> years working on Web security, most of it developing the CA industry
> and PKI infrastructure.
>
> Maintaining the policies for accepting trust roots is essentially a
> full time job for each of the parties doing it. It is not just a
> matter of checking that a CA has a valid audit. The root manager has
> to determine that the audit actually relates to the root of trust to
> be included and that the practices adhered to meet the necessary
> inclusion criteria.
>
>
> Unlike a coding task, maintaining a root store is an ongoing
> commitment. It is not something that you can do once and forget.
>
>
>
> On Tue, Jul 17, 2012 at 11:51 PM, Mike Belshe <mike@belshe.com> wrote:
>
>
>
> On Tue, Jul 17, 2012 at 8:32 PM, Phillip Hallam-Baker <hallam@gmail.com>
>
> wrote:
>
>
> Umm pretty much every Web Server has SSL support, the issue is that
>
> only about 2% of deployments turn it on. Or is the idea that we are
>
> going to mandate turning it on? If so, who is going to define the
>
> trust criteria for accepting certs?
>
>
>
> Browsers already have well documented policies for this.  Major OSes also
>
> have their own policies (MacOS, Windows).
>
>
>
>
> I am a big supporter of TLS. I just don't see anything good coming
>
> from a mandate that is superfluous.
>
>
> As an example, we have had a mandate in PKIX to check CRLs and/or OCSP
>
> for over a decade and to reject a certificate if the client cannot
>
> perform validation. Most browsers try to check but accept the
>
> certificate if there is no response to the OCSP request. So virtually
>
> every deployed browser has been out of compliance with a fundamental
>
> PKIX control for over a decade despite repeated attempts by the CAs to
>
> persuade the providers to change this.
>
>
> I can't see how DANE is going to solve anything either since DANE
>
> poses an even more disruptive hard-fail criteria.
>
>
> I don't want to tie an application layer protocol version to a
>
> transport layer protocol version or vice versa. If you tie HTTP 2.0 to
>
> TLS 1.2 then you are going to have to revise HTTP when you revise TLS.
>
>
>
> This is not true.  HTTP did not change when we went from earlier versions=
 of
>
> TLS to the current versions.  Browsers do support older versions of TLS,
>
> usually for older servers that haven't upgraded.  Even SSL3 - shudder.
>
>
>
>
>
> I don't see any value in a Canute/sea act here.
>
>
>
> What would be valuable is to have a suite of standards for a specific
>
> application that could be identified as a set. Something like 'best
>
> practices for Web server hosting, IPv6 +HTTP 2.0 + TLS 1.2 with
>
> AES+SHA2 + DNSSEC'. It would also be nice to see a similar draft for
>
> best practices for email clients and servers, and yes, support for
>
> STARTTLS would be high on my list of requirements. A draft like that
>
> would be very useful as a contract term for outsourcing Web hosting or
>
> mail service.
>
>
> But that is a totally different prospect to trying to tie HTTP to a
>
> particular security solution.
>
>
>
> Implementing TLS in a product is far from trivial. Getting the code is
>
> easy, selecting trust anchors is not. Is the specification going to
>
> mandate a particular choice of trust anchor? that is not going to
>
> happen. Nor is defining a minimum Certification Policy or locking the
>
> whole HTTP trust infrastructure to the ICANN PKI root by trying to
>
> mandate DNSSEC and DANE as well as TLS.
>
>
> TLS requires a PKI to work and every PKI comes with a set of policy
>
> and legal questions that have to be understood if the scheme is going
>
> to provide any security.
>
>
>
> Users expect privacy and security.  We've all seen the legislation around
>
> the globe for stronger security and privacy options.  SSL won't fix
>
> everything, I know, but it is a solid step, and its the responsible step =
for
>
> the protocol.  I don't understand how we can argue that HTTP/2.0 could be=
 a
>
> protocol for the next 20 years if it is sniffable over the wire.
>
>
> Go talk to non-techie users about whether HTTP is secure.  They assume it
>
> is.  Ask them if they would prefer a secure protocol or an insecure one.
>
> Ask them if they think protocols should be eavesdroppable so that other
>
> people in the cafe can see what they're doing, steal their passwords, and
>
> more?  I have yet to find any of these users that want this flimsy level =
of
>
> security.
>
>
> So- the problem we're solving here is to make users safer and raise the b=
ar
>
> on web security globally.
>
>
> Mike
>
>
>
>
>
>
> On Tue, Jul 17, 2012 at 10:30 PM, Mike Belshe <mike@belshe.com> wrote:
>
> Mandatory SSL is +1 and very forward thinking.
>
>
> On Tue, Jul 17, 2012 at 6:22 PM, Phillip Hallam-Baker <hallam@gmail.com>
>
> wrote:
>
>
> -1
>
>
> I don't want to have a mandatory requirement unless it is going to
>
> change behavior.
>
>
>
> I don't think we can change behavior with protocols.  All we can do is
>
> offer
>
> new features.  If the features are compelling, people will upgrade.  If
>
> the
>
> features are not compelling, they won't.
>
>
> People used to tell me SPDY would never get people to "upgrade".  Even
>
> after
>
> touching a half a billion users, people still tell me that.  I think the
>
> evidence of adoption speaks for itself.
>
>
>
>
> We already have ubiquitous deployment of TLS in browsers. The code is
>
> freely available, everyone knows the benefit.
>
>
> The only HTTP servers or clients I am aware of that don't have TLS
>
> support are either toolsets that the provider expects to be used with
>
> OpenSSL or the like and embedded systems.
>
>
>
> I'll ask the google crawler guys to weigh in on this.  They have pretty
>
> good
>
> stats.  I believe your assertion is provably false.
>
>
>
>
> Incidentally, suport for IPSEC is mandatory in IPv6 but that does not
>
> seem to do any good either. It just means that IPv6 is harder to
>
> deploy as implementations are required to support a security layer
>
> almost nobody uses as TLS has proved better.
>
>
>
> Making TLS a mandatory requirement seems like a feelgood approach to
>
> security to me. Instead of doing something useful, we pass a
>
> resolution telling people to do what they plan to do anyway.
>
>
>
> You imply there is something else that would be useful - what would it
>
> be?
>
> (don't feel obliged to answer :-)
>
>
> To me mandating security is a great first step.  Nobody should think
>
> this
>
> 'fixes' security. But if we believe the net ever needs to be secure, we
>
> need
>
> to start taking steps toward that.
>
>
> Mandating SSL is a simple step we can take which solves most of the
>
> eavesdropping problem right now.  But more importantly, it poises us to
>
> address the next set of security issues, including CA/verification
>
> problems,
>
> distribution of video over ssl, handshake latency, etc.  Until we start
>
> trying to be secure, of course we'll never be secure.
>
>
> Mike
>
>
>
>
>
> On Tue, Jul 17, 2012 at 8:51 PM, Paul Hoffman <paul.hoffman@gmail.com>
>
> wrote:
>
> +1 to what seems to be a lot of developers: make TLS mandatory.
>
>
> so, even when used in an internal application protocol, it's going
>
> to
>
> be end to end
>
> encrypted to make it super hard to debug?
>
>
> In an internal application protocol, why would it be "super hard to
>
> debug"? The client can do an HTTP dump before TLS, the server can do
>
> an HTTP dump after TLS; either of the sides could debug the TLS.
>
>
> http is about more than users using
>
> web browsers.
>
>
> Completely true, and not relevant. Insecure HTTP for non-browser
>
> applications still has the same bad properties, no?
>
>
>
>
>
> --
>
> Website: http://hallambaker.com/
>
>
>
>
>
>
> --
>
> Website: http://hallambaker.com/
>
>
>
>
>
>
> --
> Website: http://hallambaker.com/
>
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 04:33:17 2012
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 B836B21F8679 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 04:33:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.288
X-Spam-Level: 
X-Spam-Status: No, score=-10.288 tagged_above=-999 required=5 tests=[AWL=0.311, BAYES_00=-2.599, 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 3HO4s5mh8SvE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 04:33:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1DC3421F85B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 04:33:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrSVc-00058X-59 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 11:33:36 +0000
Resent-Date: Wed, 18 Jul 2012 11:33:36 +0000
Resent-Message-Id: <E1SrSVc-00058X-59@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrSVN-00057i-Qr for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 11:33:21 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrSVG-0002SP-N3 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 11:33:21 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 5562CE6FE1 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 23:32:49 +1200 (NZST)
Message-ID: <50069ED7.8070808@treenet.co.nz>
Date: Wed, 18 Jul 2012 23:32:39 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABaLYCs39xi-T9wz2f0BxBN9ze82dumDTOF8_1Y7RLPyMgR-Nw@mail.gmail.com> <emd391ff05-7dde-4f10-8b36-c782ac38aeea@bombed> <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
In-Reply-To: <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrSVG-0002SP-N3 8125556cfcd02cb9454f361e93b97c98
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really  bad  idea
Archived-At: <http://www.w3.org/mid/50069ED7.8070808@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14479
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 18/07/2012 6:39 p.m., Mike Belshe wrote:
> I won't comment on most of this - I think we've each made our points 
> and will need to respectfully disagree.  One last point below.
>



> On Tue, Jul 17, 2012 at 10:43 PM, Adrien W. de Croy <adrien@qbik.com 
> <mailto:adrien@qbik.com>> wrote:
>
>
>     ------ Original Message ------
>     From: "Mike Belshe" mike@belshe.com <mailto:mike@belshe.com>
>>
>>
>>     On Tue, Jul 17, 2012 at 9:51 PM, Adrien W. de Croy
>>     <adrien@qbik.com <mailto:adrien@qbik.com>> wrote:
>>
>>
>>         ------ Original Message ------
>>         From: "Mike Belshe" mike@belshe.com <mailto:mike@belshe.com>
>>>
>>>
>>>         On Tue, Jul 17, 2012 at 8:25 PM, Adrien W. de Croy
>>>         <adrien@qbik.com <mailto:adrien@qbik.com>> wrote:
>>>
>>>             Mandating use of (c.f. support for) crypto in HTTP will
>>>             prevent it from being deployable in a significant number
>>>             of scenarios, thereby requiring ongoing use of HTTP/1.1.
>>>
>>>
>>>         This is true for any manifestation of HTTP/2.0 with or
>>>         without security.
>>         I don't know if it should be a goal though.  IMO the goal
>>         should be to replace the old with something better, not
>>         replace it with something that can only be used by a subset
>>         of current users, and therefore requires continued perpetual
>>         use of the old.
>>
>>
>>     Agree; goal should be to be better.  That doesn't mean that I
>>     think everyone will jump to it in short order, though.
>     I don't expect anything to be jumped to in short order.
>
>>>             DESIRABILITY OF PRIVACY
>>>             Proponents of mandatory crypto
>>>             are making an assumption that privacy is ALWAYS desirable.
>>>             It is not ALWAYS desirable.
>>>             In many cases privacy is undesirable or even illegal.
>>>             1. Many states have outlawed use of crypto.  So will
>>>             this be HTTP only for the "free" societies?  Or is the
>>>             IETF trying to achieve political change in "repressed"
>>>             countries?  I've dealt with our equivalent of the NSA on
>>>             this matter.  Have you?  I know the IETF has a neutral
>>>             position on enabling wiretapping.  Mandating SSL is not
>>>             a neutral / apolitical stance. Steering HTTP into a
>>>             collision course with governments just doesn't seem like
>>>             much of a smart idea.
>>>
>>>
>>>         I don't know of states that prohibit TLS.  Do they exist?
>>>          Which ones are they?  Can you list them?
>>         It's hard to get recent information, but my understanding is
>>         that a lot of of people live in jurisdictions where crypto is
>>         tightly controlled.
>>         E.g. China, India, several mid-eastern and former soviet
>>         countries.
>>>
>>>         Are you saying that HTTP/2.0 must be compliant with the laws
>>>         of every country?  And that any country passing a law making
>>>         HTTP/2.0 features illegal will block HTTP/2.0? :-)
>>         In practice, we would have different levels of difficulty
>>         ignoring laws of a country depending on which country that was.
>>         If the US passed a law that banned it, and threatened to put
>>         you in jail, you may give that more weight.
>>         Governments already have wiretapping laws. Do you think they
>>         will abandon that as a desire?
>>         Many laws on crypto were only relatively recently relaxed. 
>>         There's an ongoing tussle between security agencies of
>>         government and privacy advocates over it.  We can't guarantee
>>         that within the next 5 years that any country wouldn't make
>>         it illegal.
>>         It's not like we can claim there's no reasonable expectation
>>         to consider laws when it comes to crypto.  That's the one
>>         area of software development where caveats and warnings are
>>         stamped over so much code and documentation that we can't
>>         claim to be unaware it's an issue.
>>
>>
>>
>>     Well, when you've got a specific country to talk about, please
>>     raise the issue.
>     Maybe someone from one of the countries I listed above would be in
>     a better position to comment than I am.
>>
>>>             2. Most prisons do not allow inmates to have privacy
>>>             when it comes to communications.  Would you deny [*] all
>>>             prisoners access to the web?  There are other scenarios
>>>             where privacy is not expected, permitted or desirable.
>>>
>>>
>>>         I doubt this is a problem.  If it is, then the poor
>>>         prisoners are already being denied access to their banks,
>>>         most all of which require TLS.
>>         Maybe there's not much sympathy for prisoners.  That's just
>>         one example.
>>         Schools, homes and businesses are also places where there may
>>         be deemed (by those in charge) a need to monitor activity.
>>
>>
>>     They already have this problem.  Twitter, Google, and Facebook
>>     have all publicly declared that they are working their way to
>>     100% TLS all the time.  These issues exist today.  If you want to
>>     filter TLS, you can; several vendors provide solutions.
>     Sure, and as said before, this is not without security implications.
>>
>>     But schools have bigger problems - like those cell phones with
>>     more bandwidth than the school has to its classrooms.
>     Many schools ban cellphones.  My son's school does.
>>
>>     I don't think the protocol has an obligation to reduce security
>>     so that prisons, schools, or other institutions can institute
>>     content control.   And by the time this standard is done, the
>>     policy rules will have changed again.
>     I'm not proposing we take the current level of security of
>     HTTP/1.1 and reduce it.
>     you're proposing we add TLS.  Whilst that will provide a level of
>     privacy in many cases, I don't think it will overall result in an
>     improved security situation overall, especially if it breaks
>     SSL/TLS.  I kinda like SSL/TLS, I'd like it to continue to be usable.
>>
>>     A simple thing we do know is that users expect and deserve to be
>>     protected by the protocols and sites they visit.  We're passing
>>     more laws every day to ensure this - and HTTP can help.
>     rubbish, we know no such thing.
>     all users are not equal.  All users are not equally deserving of
>     privacy in all situations.
>
>>
>>>             3. Many situations require communications to be open and
>>>             visible.  Would you rather your network infrastructure
>>>             phoned home with SSL or HTTP that you can see.
>>>
>>>
>>>         Can you enumerate these?  For debugging, of course it makes
>>>         sense for endpoints to have unencrypted modes.  We can also
>>>         build better tools, such as the improvements for decoding
>>>         TLS traffic with Wireshark that have landed recently.
>>         Can only decode NULL cipher.
>>
>>
>>     With wireshark you can decide SSL session if you let your browser
>>     dump the private keys.  Chrome supports this.
>>     http://www.imperialviolet.org/2012/06/25/wireshark.html
>     OK, well let's hope we never have to debug any protocol - level
>     stuff with any other client software.
>>
>>         Huawei recently got excluded from bidding for an Australian
>>         govt contract (a large one) due to concerns over possibility
>>         of eavesdropping.
>>
>>
>>     Excellent point for why we should make the protocol more secure
>>     :-)  If everything were encrypted, it wouldn't have been a problem.
>     Sure, anything sensitive should be encrypted before it goes over
>     that infrastructure.  But I'm sure some large equipment vendor was
>     lobbying somewhere.
>>
>>         Mandating privacy on HTTP will make it easier in some cases
>>         (e.g. infrastructure) to eavesdrop on non-private communication.
>>
>>
>>     What?  Mandating privacy makes it easier to eavesdrop?  I don't
>>     think so :-)
>     sure it does.  How can you tell if something is spyware or
>     eavesdropping on you if you can't see if the phone home data is a
>     version check or a report of your activity because it's encrypted?
>     If my phone-home data is plaintext HTTP, I can demonstrate it's
>     not eavesdropping.
>>
>>>             4. Scanning for malware at a gateway.  This requirement
>>>             is NOT going away, and the SSL will be brute-forced /
>>>             spoofed etc to achieve this.  Mandating SSL will just
>>>             make it easier for malware to propagate, since you make
>>>             it harder to scan [**].
>>>
>>>
>>>         This problem exists today; IP leakage has to be checked even
>>>         across TLS based connections.  Solutions for these corporate
>>>         IT groups exist, including TLS aware proxies and TLS man in
>>>         the middle.  Several vendors provide these solutions today.
>>         Sure.  But as previously discussed, the way it is done
>>         results in an overall reduction in security.  A "sanctioned"
>>         way would be much preferable, but necessarily reduces privacy
>>         potentially to 0.
>>
>>
>>     I disagree that it takes privacy to zero.
>     I said potentially.  If you let your company see your data because
>     they operate the proxy that terminates the SSL connection from the
>     browser, then your expectation of privacy (from your company) is
>     potentially 0.
>     Companies will continue to insist on scanning or blocking.
>>      The end user will be aware of such changes; these are only
>>     possible by changing the trust points in the browser.  If your
>>     company gives you a browser, it can change your trust points.
>>      But if it is your own browser, you pick the trust points.
>>
>>     I agree this is obscure, but it is something we can improve upon.
>>      I agree that we should.
>>
>>     Until we turn on SSL for everyone, it won't likely get improved.
>     Yeah I dunno, I think we could improve it independently of that.
>>
>>         And, do we want shared caches to continue to exist?
>>
>>
>>     Of course we do.  We switch to opt-in proxies (like what Roberto
>>     Peon has proposed) rather than the transparent proxies that we
>>     have today.  These are much better because the user has the
>>     opportunity to know the proxy is there, unlike today.
>     We've been recommending against using transparent proxying for
>     years.  Unfortunately that doesn't reduce demand for it.
>     proxy discovery needs to be greatly improved.
>     But even with explicit proxy use by the client, for SSL/TLS that
>     just boils down to HTTP CONNECT, which bypasses the proxy anyway.
>>     Personally, the security risks of using such a proxy probably
>>     outweigh the performance advantages for most people.
>     Using a home or corporate proxy has security risks that outweigh
>     benefits of shared cache and scanning????
>     Problem is, the people who operate these proxies think differently
>     to you.  They want to see and scan everything.  They don't care so
>     much about privacy on their LAN.
>
>
>
> Aha - this is the crux indeed.  This is the advocated position of the 
> "people that operate these proxies".
>
> I'm taking the position of the user.  I want the user to be able to 
> know if someone is spying on them in all cases.   I think censorship 
> and alteration of content is such a huge risk to us as a free people 
> that we simply cannot tolerate not knowing who is scanning our lines. 
>  We must must must know it.
>
> I have yet to find a single user that wants their communications to be 
> sniffed and potentially altered by third parties without their 
> knowledge.  Do you want that for your own data?
>

I had to collate data for a survey on cancer about 11 years ago. Asking 
essentially a) who *wants* to catch cancer? yes/no/dont-care and b) who 
regularly sunbathes? yes/no and c) are you aware sunbathing regularly 
leads to melanoma ? yes/no

Here in NZ where (b) leads to (a) at a horrifyingly high % rate. ... 
nobody said yes to (a).  A large group said yes to (b). The same large 
group mostly said yes to (c)!!
   These are our typical users .... actively and knowingly going out and 
reaching toward goals they say they dont want.


> Now, I'm not trying to block the proxy operators you mention.  I just 
> want the users to be made aware of their presence, so that users can 
> decide for themselves whether it is ok (because its their boss on 
> their company computer) or not (because its someone at my telco).
>
> We do have a choice here - safety for the users vs. enabling of 
> transparent snooping for anyone.
>
> I choose the users 100% of the time.
> Mike

Would you care to guess how many *years* the proxy community have been 
trying to send alerts to the user only to be blocked by the Browser agent?

I respectfully refer you to: 
http://www.squid-cache.org/mail-archive/squid-dev/201207/0114.html

Note the past paragraph ... we have to MITM the TLS connection then send 
an error page *inside* the encrypted tunnel. Just to get the *user* to 
be aware that they are connecting via a proxy that needs login. Even 
using Marks new status code wasn't enough!


Cromium is not alone in this. IE "friendly errors" have also been a 
long-standing barrier to informing users of anything in under one MTU of 
data, at least in that battle we had most of the web developer community 
and even the server communities on our side in that one.

   Now who was it fighting for user-awareness again?


AYJ


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 04:34:55 2012
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 3375421F86E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 04:34:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_63=0.6, 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 vdFzKQmR1y-J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 04:34:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8AF0421F86E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 04:34:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrSX6-0006xG-Vo for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 11:35:09 +0000
Resent-Date: Wed, 18 Jul 2012 11:35:08 +0000
Resent-Message-Id: <E1SrSX6-0006xG-Vo@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1SrSWw-0005Mt-U5 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 11:34:58 +0000
Received: from mail1.sandvine.com ([64.7.137.134]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1SrSWv-0001lo-8X for ietf-http-wg@w3.org; Wed, 18 Jul 2012 11:34:58 +0000
Received: from blr-exch-1.sandvine.com (10.30.4.60) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server (TLS) id 14.1.339.1; Wed, 18 Jul 2012 07:34:31 -0400
Received: from BLR-EXCH-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d]) by blr-exch-1.sandvine.com ([fe80::9cf8:c4d0:d0d9:2ac1%10]) with mapi id 14.01.0289.001; Wed, 18 Jul 2012 17:03:33 +0530
From: Anil Sharma <asharma@sandvine.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>, Julian Reschke <julian.reschke@gmx.de>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Thread-Index: AQHNZE0QvBk8aHq48kiosdJUnSFtMJcteOGAgAAFpACAAWgskA==
Date: Wed, 18 Jul 2012 11:33:32 +0000
Message-ID: <06923070D47780469EBD9A1CDABAB6D6197FD991@blr-exch-1.sandvine.com>
References: <34f9c6a0d9659dcfc9adcf38fdace0dd.squirrel@arekh.dyndns.org> <5005B6FD.2030706@gmx.de> <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
In-Reply-To: <39a908269aed0fec3d0456ce7f7f38b2.squirrel@arekh.dyndns.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.30.10.225]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=64.7.137.134; envelope-from=asharma@sandvine.com; helo=mail1.sandvine.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrSWv-0001lo-8X 3e64a714eac776da2c839c2389b3c991
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/06923070D47780469EBD9A1CDABAB6D6197FD991@blr-exch-1.sandvine.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14480
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>

SSB3YXMgdHJ5aW5nIHRvIHVuZGVyc3RhbmQgaW1wYWN0IG9mIEhUVFAyLjAgb3IgU1BEWSBvbiBp
bnRlcm1lZGlhcmllcy4NCg0KSSB0aGluayBNZXRhZGF0YSB3aWxsIGFsd2F5cyBiZSBpbiBjbGVh
cnRleHQgc28gcmVkaXJlY3Qgb3IgcHJveGllcyB3aWxsIHN0aWxsIGJlIGxvdyBjb3N0IG9wZXJh
dGlvbi4uDQoNCkV2ZW4gaWYgbWFqb3IgdHJhZmZpYyBzb3VyY2VzIHN1Y2ggYXMgR29vZ2xlLCBG
YWNlYm9vayBhbmQgVHdpdHRlciBnbyB0aGUgVExTIHJvdXRlLCBJIHRoaW5rIHZhbGlkIGludGVy
bWVkaWFyaWVzIChTUHMgZG9pbmcgdHJhZmZpYyBjbGFzc2lmaWNhdGlvbiwgdHJhZmZpYyBwb2xp
Y3kgY29udHJvbCwgQ0ROcyBkb2luZyBlbWJlZGRlZCB2aWRlbyBvcHRpbWl6YXRpb24pIGNhbiBh
bHdheXMgdXNlIFRMUyBwcm94eSBmdW5jdGlvbmFsaXR5IHRvIGFjaGlldmUgdGhlaXIgZ29hbC4N
Cg0KTm90IHN1cmUgaWYgSSB1bmRlcnN0b29kIHRoZSBpbXBhY3QgcGVyZmVjdGx5IHlldCBidXQg
SSB0aGluayBpbnRlcm1lZGlhcmllcyB3b24ndCBiZSBzZXZlcmVseSBpbXBhY3QgZXZlbiBpZiBt
b3N0IG9mIHRoZSBtYWpvciBwbGF5ZXJzIGNob3NlIHRvIHVzZSBUTFMuLi4uDQoNCkFuaWwgDQoN
Ci0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBOaWNvbGFzIE1haWxob3QgW21haWx0
bzpuaWNvbGFzLm1haWxob3RAbGFwb3N0ZS5uZXRdIA0KU2VudDogV2VkbmVzZGF5LCBKdWx5IDE4
LCAyMDEyIDEyOjU0IEFNDQpUbzogSnVsaWFuIFJlc2Noa2UNCkNjOiBOaWNvbGFzIE1haWxob3Q7
IEhUVFAgV29ya2luZyBHcm91cA0KU3ViamVjdDogUmU6IE1pbmltaXppbmcvYXZvaWRpbmcgVXNl
ci1BZ2VudCwgd2FzOiBTUERZIEhlYWRlciBGcmFtZXMNCg0KDQpMZSBNYXIgMTcganVpbGxldCAy
MDEyIDIxOjAzLCBKdWxpYW4gUmVzY2hrZSBhIMOpY3JpdCA6DQo+IE9uIDIwMTItMDctMTcgMjA6
NTAsIE5pY29sYXMgTWFpbGhvdCB3cm90ZToNCj4+IEp1bGlhbiBSZXNjaGtlIDxqdWxpYW4ucmVz
Y2hrZUAuLi4+IHdyaXRlczoNCj4+DQo+Pj4NCj4+PiBPbiAyMDEyLTA3LTE3IDE1OjM4LCBQb3Vs
LUhlbm5pbmcgS2FtcCB3cm90ZToNCj4+DQo+Pj4+IFRoZXJlIG11c3QgYmUgYSBzbWFydGVyIHdh
eSB0aGFuICJVc2VyLUFnZW50OiIuLi4NCj4+Pg0KPj4+IEFjdHVhbGx5IG9uZSBuaWNlIHBvdGVu
dGlhbCBvcHRpbWl6YXRpb24gaXMgaWYgdGhlIHNlcnZlciBjYW4gZGVjbGFyZQ0KPj4+IHRoYXQg
aXQncyBub3QgaW50ZXJlc3RlZCBpbiB0aGUgVXNlci1BZ2VudCBhdCBhbGw7IHNlZQ0KPj4+IDxo
dHRwOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1ub3R0aW5naGFtLWh0dHAtYnJvd3Nlci1o
aW50cy0wMyNzZWN0aW9uLTUuNz4NCj4+DQo+PiBUaGUgc2VydmVyIG1heSBub3QgYmUgaW50ZXJl
c3RlZCBieSBpbnRlcm1lZGlhcmllcyBtYXkgc3RpbGwgYmUNCj4+DQo+PiAod2hpbGUgdWdseSB1
c2VyLWFnZW50IHNwZWNpYWwtY2FzaW5nIGlzIHF1aXRlIHVzZWZ1bCBmb3IgcHJveHkNCj4+IG9w
ZXJhdG9ycw0KPj4gdGhhdCBoYXZlIHRvIGNvbnRlbmQgd2l0aCB3ZWIgY2xpZW50cyB0aGF0IHdl
cmUgbmV2ZXIgcmVhbGx5IHRlc3RlZCB3aXRoDQo+PiBwcm94aWVzIGFuZCBtaXNiZWhhdmUgYmln
IHdheSkNCj4NCj4gQ291bGQgeW91IGVsYWJvcmF0ZT8gV2hhdCBraW5kIG9mIG1pc2JlaGF2aW9y
IGFyZSB5b3UgcmVmZXJyaW5nIHRvPw0KDQpUeXBpY2FsIG1pc2JlaGF2aW91ciBpcyBpbmFiaWxp
dHkgdG8gY29wZSB3aXRoIGludGVybWVkaWFyeS1pbnNlcnRlZA0KcmVkaXJlY3QgYW5kIGVycm9y
IGNvZGVzLCBhbmQgcmV0cnlpbmcgaW4gYSBsb29wIChiZWNhdXNlIHRoZSBkZXZlbG9wZXINCmNv
dWxkIG5vdCBib3RoZXIgdG8gd3JpdGUgZXJyb3IgaGFuZGxpbmcgY29kZSwgY29uc2lkZXJzIHRo
YXQgYWxsIGVycm9ycw0Kb24gdGhlIEludGVybmV0IGFyZSB0cmFuc2llbnQsIHNvIHdpdGggZW5v
dWdoIHJldHJ5aW5nIGhlIHdpbGwgZ2V0DQp3aGF0ZXZlciBoZSBleHBlY3RlZCB0byBnZXQgYXQg
Zmlyc3QpDQoNClRoZW4geW91IGdldCB0aGUgd2ViIGNsaWVudHMgdGhhdCB0cnkgdG8gaW50ZXJw
cmV0IGVycm9yIHBhZ2VzIGFzIGlmIHRoZXkNCndlcmUgd2hhdGV2ZXIgdGhleSBleHBlY3RlZCB0
byBnZXQgYXQgZmlyc3QsIHdpdGggc29tZXRpbWVzIHdlaXJkIHJlc3VsdHMuDQoNClRoZW4geW91
IGdldCB0aGUgJ3B1bXAgYXMgbXVjaCBhcyB5b3UgY2FuJyB3ZWIgY2xpZW50IHRoYXQgd2lsbCBz
dGFydmUNCmV2ZXJ5dGhpbmcgZWxzZS4NCg0KSXQncyB1c3VhbGx5IGxlc3MgaW52YXNpdmUgdG8g
YmxhY2tsaXN0IG9yIGxpbWl0IGp1c3QgdGhlIHNwZWNpZmljDQp0cm91Ymxlc29tZSBjbGllbnQg
aW5zdGVhZCBvZiB0YXJnZXRpbmcgdGhlIFVSTHMgaXQgdHJpZXMgdG8gYWNjZXNzIG9yIHRoZQ0K
c3lzdGVtIGl0IHJ1bnMgb24gKGJlY2F1c2UgdGhlIGJ1Z2d5IHBhcnQgaXMgdGhlIHdlYiBjbGll
bnQsdGhlIHVzZXIgd2hvDQppbnN0YWxsZWQgaXQgbWF5IGRvIGxlZ2l0aW1hdGUgd29yayB3aXRo
IG90aGVyIHdlYiBjbGllbnRzIGF0IHRoZSBzYW1lDQp0aW1lLCB0aGUgYnJva2VuIHdlYiBjbGll
bnQgd2lsbCBtaXNiZWhhdmUgdGhlIHNhbWUgd2F5IHRvbW9ycm93IHdpdGgNCm90aGVyIHdlYiBz
aXRlcywgYW5kIHRoaXMgd2F5IHRoZSBwcm90ZWN0aW9uIGlzIGluIHBsYWNlIGJlZm9yZSBvdGhl
cg0Kc3lzdGVtcyBhcmUgaW5mZWN0ZWQgd2l0aCBicm9rZW53YXJlKQ0KDQpJIHJlYWxseSBob3Bl
IEhUVFAvMiBtYWtlcyBpbnRlcm1lZGlhcmllcyBmaXJzdC1jYWxsIGNpdGl6ZW5zIGFuZA0KY2xh
cmlmaWVzIGludGVybWVkaWFyeS93ZWIgY2xpZW50IHNpZ25hbGxpbmcgc28gc3VjaCB0aGluZ3Mg
aGFwcGVuIGxlc3MNCm9mdGVuIGluIHRoZSBodHRwLzIgZnV0dXJlICh0aG91Z2ggYnVncyB3aWxs
IGFsd2F5cyBleGlzdCwgc28gYSBjbGllbnQNCnNpZ25hdHVyZSB0byBob21lIG9uIGlzIG5pY2Up
DQoNCi0tIA0KTmljb2xhcyBNYWlsaG90DQoNCg0K


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 05:10:10 2012
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 8C28A21F8679 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 05:10:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.89
X-Spam-Level: 
X-Spam-Status: No, score=-8.89 tagged_above=-999 required=5 tests=[AWL=1.709, BAYES_00=-2.599, 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 M53eBMgR7XId for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 05:10:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B9B6321F86F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 05:10:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrT4Q-0002VY-Aw for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 12:09:34 +0000
Resent-Date: Wed, 18 Jul 2012 12:09:34 +0000
Resent-Message-Id: <E1SrT4Q-0002VY-Aw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrT4F-0002Uj-Bv for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 12:09:23 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrT49-0003Di-AF for ietf-http-wg@w3.org; Wed, 18 Jul 2012 12:09:23 +0000
Received: by vcdd16 with SMTP id d16so613632vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 05:08:51 -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=oUPb+izWSZJS0B4oapmQvA9wzyj4SS4vPhUsLn4rmFo=; b=f/F+WzmRbMNLUuhiSJFYUOKIa3ExnQgmSaYQswEHYrjxJ5t81iziflJ1QrCMXtcDvF IUxkiWMtioP/UgusIRJ/HhFuT49/pfMn7zzqB7F84+E6H/GtYodQLqEV1zM4OyaLXtIY rG3dbY/ofpFc0Ar8lEXmyXkPkPPJKdV7Yu7VkR8G8rUnJvZjY8QK6cWjc58V2ZCoxlYU P0HGVe2wBPinFwOdVX055OqOcSIb4JTtAxXa4yRenW1TrbxgC1cbmNbikIQeXCAFXQ92 Xe2YdfyIKOeTqpWc56NEFIHQtn2G2Sl4VnDbFceQ83eIX/7flmjuQUIJw0k2OkEiMLg1 Mj6w==
MIME-Version: 1.0
Received: by 10.52.23.71 with SMTP id k7mr458798vdf.3.1342613331159; Wed, 18 Jul 2012 05:08:51 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 05:08:51 -0700 (PDT)
In-Reply-To: <63549.1342598541@critter.freebsd.dk>
References: <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com> <63549.1342598541@critter.freebsd.dk>
Date: Wed, 18 Jul 2012 08:08:51 -0400
Message-ID: <CAMm+LwhjQK2nBovFraadk6L=j9MDbYuKS9Ou=NZ6GsQSUjsBTQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mike Belshe <mike@belshe.com>, "Adrien W. de Croy" <adrien@qbik.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrT49-0003Di-AF 8f750468b27b3c6fac3fb9e516f52612
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[4]: Some reasons why mandating use ofSSL for HTTP is a really  bad idea
Archived-At: <http://www.w3.org/mid/CAMm+LwhjQK2nBovFraadk6L=j9MDbYuKS9Ou=NZ6GsQSUjsBTQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14481
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 Wed, Jul 18, 2012 at 4:02 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CABaLYCuyjE8TRHHk2O0sY4ocB=LmK7S6LrDYc1=Jz3NFU1df+w@mail.gmail.com>
> , Mike Belshe writes:
>
>>I'm taking the position of the user.  I want the user to be able to know if
>>someone is spying on them in all cases.
>
> This has been a long thread already, so I will try to make this short
> and to the point.
>
> 1. I think Mike has a very valid point here, but it's not our job,
>    and we could not solve the problem if it were.
>
>    I would express it slightly differently than Mike: "If it looks
>    like privacy, the user should be able to know definitively if
>    it is end-to-end privacy or not."
>
>    I'm not a card-carrying cryptographer, but it's my clear perception
>    that the currently perverted and corrupt CA system deliberately
>    makes that ideal very hard if not impossible.

You state that you have no expertise in the area and then opine that a
group of people are corrupt.

That is me you are talking about, I have been in Web security longer
than anyone else.

The IETF has proposed many security solutions over the years. HTTPS is
the only one that has achieved ubiquity. Every one of the alternatives
to CAs has been tried multiple times with nothing like the success.


The problem of SSL interception proxies is a lot more complex than
people here seem to imagine. There are industries that are required to
keep a log of ALL communications, brokerage firms for example.

Until recently nobody in the CA or browser world had much sympathy for
the problem and it was largely ignored. The companies involved found
their own solution to the problem, adding an extra root into the trust
store.

When Syria recently attempted a MITM interception on FB, Google and
others they just used a self signed root and hoped people would add it
to the trust store. It probably worked to the extent they had hoped
even if it was discovered in a couple of days.


There is a long discussion on the Mozilla list about whether we should
address this problem with prohibition or to legalize the brothel so we
can ensure that there are appropriate safeguards. That is primarily a
policy argument and neither choice is perfect.


> 2. There are legitimate (or legitimized) reasons for intercept.
>
>    In the cases where the intercept is not covert, it is in the
>    interest also of the interceptor, that no unnecessary weaknesses
>    are introduced.
>
>    This indicates an operating mode where the user is told "You
>    have privacy only as far as SNOOP_PROXY, what happens after that
>    depends on what SNOOP_PROXY does."
>
>    Or the probably more likely case: "You have no privacy from here
>    to CORP_PROXY, but CORP_PROXY claims that you have privacy from
>    there to the destination."
>
>    If I'm an employee, or inmate, that's just the rules of the game,
>    but the important thing is that as a user I'm precisely and
>    correctly communicated the reality of the game.
>
>    I belive this is more or less just a matter of allowing
>         GET https://blablabla HTTP/1.1
>    to proxies, but I defer fully to Adrian on this.

I would prefer to keep TLS and HTTP the same and move the PKIX
processing out of the client platform completely. This is how it is
done in government systems, the client uses SCVP.




> 3. There are objective indications that TLS is not always an advantage.
>
>    Some have been mentioned already, I'll just add another:  High
>    reliability safety-of-life critical systems, such as power distribution,
>    air traffic control and emergency services.
>
>    Putting a 2 meter airgap around such a system is currently
>    considered the best practice way to implement both high reliability
>    and high security.
>
>    The added failure modes of certificates, which are opaque and
>    hard/impossible to debug & correct on the kind of timescales
>    relevant (< 3 minutes) are not welcome.  SSH is tolerated, but
>    with very strict password registration and disclosure policies,
>    and often with NULL block-ciphers, to make network flight recorders
>    usable.
>
>    Mandating TLS in HTTP/2.0 will effectively force these installations
>    to stick with HTTP/1.1, in order to be able to do accident
>    investigations.

+1

> 4. It is not our job, and it is counter productive.
>
>    Cryptography is a layer 8-10 problem more than anything on the
>    internet.
>
>    If we tangle HTTP/2.0 into layers 8-10, it will become subject
>    for discussion at diplomatic levels, will raise issues about
>    ITAR rules and will meet a lot of push-back from all sorts of
>    shady agendas, not to mention a damn good headline in a clueless
>    press.
>
>    Trying to mandate TLS with HTTP/2.0 would therefore be a major
>    drag on HTTP/2.0's adoption and deployment and  counterproductively
>    delay the benefits and improvements HTTP/2.0 (will) bring.
>
> Conclusion:
>
>    Make it easy to do, but don't mandate it.
>
>    You always get better results by delivering good tools, than
>    rigid policies.

+1

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 05:16:53 2012
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 33D5921F86E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 05:16:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.913
X-Spam-Level: 
X-Spam-Status: No, score=-8.913 tagged_above=-999 required=5 tests=[AWL=1.686, BAYES_00=-2.599, 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 SqwhE45i2aNU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 05:16:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3CB9521F86B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 05:16:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrTBi-0008O5-TC for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 12:17:06 +0000
Resent-Date: Wed, 18 Jul 2012 12:17:06 +0000
Resent-Message-Id: <E1SrTBi-0008O5-TC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrTBV-0008Ml-Lh for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 12:16:53 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrTBM-0004RC-4U for ietf-http-wg@w3.org; Wed, 18 Jul 2012 12:16:53 +0000
Received: by vbbfq11 with SMTP id fq11so1133364vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 05:16:18 -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=/zXdOQgT2SoFqXpb0OBBcwfNL6ngiVj5X2uWrfekBB8=; b=NAOou+F2ctzB36lRsmoXe+acDTPuuAF3OBizQe7lUT3o893C7ArW6e0WYG5sXKAzKG oPTaWn7e2dN13g0lf+9bxgBDSMhg8FWWLI3fC7txv2wPOMEUXc0f3QF5GfdiOiddDJoX GB5uhCyWHEpxBKzudANLkmwrjLwbe0+XxbmiJgP9tUOelhTqFNY39m30H8SOjFkvCa1z NPbL5GDwk5Kgie9ooI9PEFu7yG0JasOIvt4JV21My4FyYtXO/ufDR7ZXBsViSrHtPfc6 3Q7wqL+c/bN6OhZ8KdglDabHGOzdVPGQELAytOT7w6/QrQeq5I6RHqHBBwKg/XCBZb1J 35Hw==
MIME-Version: 1.0
Received: by 10.52.64.146 with SMTP id o18mr440394vds.55.1342613778100; Wed, 18 Jul 2012 05:16:18 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 05:16:18 -0700 (PDT)
In-Reply-To: <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com>
References: <CABaLYCuqZw8R7XqJy-PzibMSkGVS7ZnOdd5dk3-Q1T8+MpVgoQ@mail.gmail.com> <emf87d2c40-2fc7-4272-873a-fdeee9ea590a@bombed> <CABaLYCsgsPCrnkjV_DC4gDA3ADZkjq2wAEZx+mZW7SbpPGmJ8w@mail.gmail.com> <CAMm+LwhKnOmXtAtWLT=JH5aXzQY5BcX8sfUpYNWSzuBH=74ngw@mail.gmail.com> <CABaLYCsdM+LGSWR81f7KurfxJRJLo1AYfr0hFxW3EnrERvwstA@mail.gmail.com> <CAMm+LwgSW1BHC1CWi7EhEyyFgJvfwFPPz8iSnLoP2TSP-_Rntg@mail.gmail.com> <CABaLYCtNi1hsUcNp8kbKWB4xi5Ksvxm=P1_95=W-HfYor8eWDA@mail.gmail.com>
Date: Wed, 18 Jul 2012 08:16:18 -0400
Message-ID: <CAMm+LwgzrMK+4wTf_ciiWdd-90MNKtnistORV8ZOOq3JOohh-A@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>,  Martin Thomson <martin.thomson@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Doug Beaver <doug@fb.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrTBM-0004RC-4U 77db028c8dda83ac254a9605b3115057
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/CAMm+LwgzrMK+4wTf_ciiWdd-90MNKtnistORV8ZOOq3JOohh-A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14482
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 Wed, Jul 18, 2012 at 1:13 AM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 9:58 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> My lightbulbs have HTTP stacks and run web services. If I want to
>> modify the lighting, I send them a command to dim, brighten, change
>> the color balance or whatever.
>>
>> They do not have an operating system or anything like it. That would
>> require a much bigger chip and a much higher current drain when not in
>> use.
>>
>> The world of HTTP is a lot more than just Web browsers.
>
>
> There was a time, long ago, when people were flabbergasted by the idea that
> you'd use HTTP to control your lightbulb too.  "I have to put an HTTP stack
> on a lightbulb?  I could just use UDP!"  I suggest we design for the future,
> not the past.

Mandating bloat is not designing for the future. I am talking about
the present. I HAVE a light bulb (actually a board with LEDs mounted)
that has a Web server embedded.

One of the design requirements of a lightbulb is instant-on.


>> Mandating TLS in 2.0 will not provide an ounce of extra security
>> unless you have a way to know who is running 2.0. And if you can do
>> that you do not need the mandate.
>
>
> It's all negotiated in the handshake.  You'll know who is TLS and who is
> not.

Not without knowledge of the security policy. Without that you are
subject to a downgrade attack.


> It does provide lots of better security.  The internet cafe is the best
> example.  I know you're aware of Firesheep.  We should make it impossible to
> use firesheep in 2020.  Right?

I would much prefer to get rid of password based authentication which
is the driving use case for most use of SSL.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:07:14 2012
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 02EAC21F86FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 i2vD3Rq1frJI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7736A21F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:07:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrTyW-0002HQ-Gf for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:07:32 +0000
Resent-Date: Wed, 18 Jul 2012 13:07:32 +0000
Resent-Message-Id: <E1SrTyW-0002HQ-Gf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTyS-0002Go-Gx for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:07:28 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTyJ-0005oq-90 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:07:28 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id D39521069C; Wed, 18 Jul 2012 09:06:57 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id D06AA1068C; Wed, 18 Jul 2012 09:06:53 -0400 (EDT)
Message-ID: <1342616808.30417.45.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Mike Belshe <mike@belshe.com>
Cc: Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 09:06:48 -0400
In-Reply-To: <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
References:  <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SrTyJ-0005oq-90 0632e23a8f1e37d96edccc5e01a8750c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/1342616808.30417.45.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14485
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 Tue, 2012-07-17 at 23:54 -0700, Mike Belshe wrote:


> Show me the user that will stand up and say, "Yes, I would like my
> communications to be snoopable and changeable by 3rd parties without
> my knowledge."
[..]
> Sorry - that will be the last time I say that for a while...
> 

please keep saying it. That is the important point.

-P






From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:07:14 2012
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 BCE4121F86FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Q0wCuY8LxdRv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3AEB21F86F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:07:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrTxl-0002Bh-2D for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:06:45 +0000
Resent-Date: Wed, 18 Jul 2012 13:06:45 +0000
Resent-Message-Id: <E1SrTxl-0002Bh-2D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTxh-0002B5-1b for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:06:41 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTxc-0005nk-1q for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:06:40 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 606E51069B; Wed, 18 Jul 2012 09:06:13 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id EA81F1068C; Wed, 18 Jul 2012 09:06:04 -0400 (EDT)
Message-ID: <1342616758.30417.43.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: grahame@healthintersections.com.au
Cc: Paul Hoffman <paul.hoffman@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 09:05:58 -0400
In-Reply-To: <CAG47hGaHaDsq5zpH5CT96hWYZZ1KatfRfu966eyPf4TyXFJMfA@mail.gmail.com>
References:  <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAG47hGaHaDsq5zpH5CT96hWYZZ1KatfRfu966eyPf4TyXFJMfA@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SrTxc-0005nk-1q 21806b70f19b57532fd18e5adb693458
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/1342616758.30417.43.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14483
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 Wed, 2012-07-18 at 11:00 +1000, Grahame Grieve wrote:
> > +1 to what seems to be a lot of developers: make TLS mandatory.
> >
> >>  so, even when used in an internal application protocol, it's going to
> >>  be end to end
> >>  encrypted to make it super hard to debug?
> >
> > In an internal application protocol, why would it be "super hard to
> > debug"? The client can do an HTTP dump before TLS, the server can do
> > an HTTP dump after TLS; either of the sides could debug the TLS.
> 
> yep. they can. But they have to. 3rd parties are shut out. I get that in
> some circumstances this is good. But not all. As an example, I spend
> quite a bit of my time looking at browser traffic now, to debug why
> my servers or clients aren't working they way that a 3rd party
> client/server set up is. Unless it's https, in which case.... I have to find
> some other way.
> 

this is just tooling.. and there are lots of good emerging answers to
this. For firefox and chrome you can use the directions in
https://developer.mozilla.org/en/NSS_Key_Log_Format to get a "keylog"
file you can give to wireshark so it can simply decode a TLS packet
capture. Its pretty sweet.

Other tools will come along.




From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:07:15 2012
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 1D63521F86F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 7Py9xmD0KTgs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B3A121F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:07:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrTyQ-0002Fp-18 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:07:26 +0000
Resent-Date: Wed, 18 Jul 2012 13:07:26 +0000
Resent-Message-Id: <E1SrTyQ-0002Fp-18@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTyM-0002EH-2o for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:07:22 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTyE-0005ol-80 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:07:22 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 52A861069B; Wed, 18 Jul 2012 09:06:52 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id B63521068C; Wed, 18 Jul 2012 09:06:43 -0400 (EDT)
Message-ID: <1342616798.30417.44.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 09:06:38 -0400
In-Reply-To: <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com>
References:  <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SrTyE-0005ol-80 821c9952cf175e3ddf18a1a87fc2fd8d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/1342616798.30417.44.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14484
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 Tue, 2012-07-17 at 19:30 -0700, Mike Belshe wrote:

> Mandating SSL is a simple step we can take which solves most of the
> eavesdropping problem right now.  But more importantly, it poises us
> to address the next set of security issues, including CA/verification
> problems,  distribution of video over ssl, handshake latency, etc.
>  Until we start trying to be secure, of course we'll never be secure.

+1.. especially on improving the PKI.

also - When TLS is optional, as in HTTP/1, that means the decision is
made by the server and concerns about the users privacy are controlled
by that side of the transaction. Because it is sometimes more convenient
for the machines to go with plaintext, the user effectively loses choice
and walks smack into the eavesdropping problem. There is no data
transfer that is really public information. [*]

Web transport needs to favor the confidentiality of humans over
convenience of the machines. Even if humans are a cost center.

To the extent that there are non-human use cases for HTTP (definitely!)
that are unable to support this (I'm skeptical they are significant)
they can run a different protocol (e.g. COAP). The human web
requirements have to be met as the most important constituency and that
means increasing transport security.

It hasn't been stated in a while, and its a constant source of confusion
when discussing this topic, but the TLS requirement does not mandate end
to end TLS by tunneling through proxies in the way we currently do. A
mechanism for knowingly interacting with MITM intermediaries is a
necessary work item (discovery, opt-in, etc..) . If you're going to
argue about legally necessary MITMs this is answer to that.

-Patrick

[*] Imagine a giant LCD board over your front door announcing that days
browsing habits.. all of this stuff happens in plain text today:
 + shopped for burner cell phone
 + bing search "domestic violence help"
 + weather in springfield this weekend (you told everyone you were going
to westville)
 + how to organize a union
 + obsessively read huffpo.com - you work for the GOP county
commisioner. (or reverse it with drudge and the Dems.. doesn't matter).
 + watched 3 hours of porn
 + left an anonymous comment on the local newspaper that said "blah
blah"

People shouldn't have to expect that everything they click on will be
public information. Time to raise the bar. HTTP/2 has an opportunity to
improve the overall speed of the web while at the same time enhancing
privacy - that's the right mix.




From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:07:36 2012
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 6A9E321F86F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 0AJ+mpRHDw-n for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:07:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D341C21F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:07:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrTz3-0002RB-UW for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:08:05 +0000
Resent-Date: Wed, 18 Jul 2012 13:08:05 +0000
Resent-Message-Id: <E1SrTz3-0002RB-UW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTyz-0002Nx-N8 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:08:01 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrTyt-0007AE-2q for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:08:01 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id B6F521069B; Wed, 18 Jul 2012 09:07:33 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 39C491068C; Wed, 18 Jul 2012 09:07:25 -0400 (EDT)
Message-ID: <1342616839.30417.46.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 09:07:19 -0400
In-Reply-To: <20120718060936.GC5875@1wt.eu>
References:  <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SrTyt-0007AE-2q d1665ef1ed4e292feef7bdb5ea20b20d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/1342616839.30417.46.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14486
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 Wed, 2012-07-18 at 08:09 +0200, Willy Tarreau wrote:
> On Tue, Jul 17, 2012 at 09:22:24PM -0400, Phillip Hallam-Baker wrote:

> 
> The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 will
> be deployed between the browser and the load balancer, and everything
> behind will remain HTTP/1 due to the added nuisances of deploying 2.0
> everywhere.

Except we know that in the very near future SPDY adoption will have
reached far more people than IPv6 ever has. So, unlike IPv6, there is a
big demand to solve the problems it addresses.

>  Almost nobody does IPv6 between LB and server nowadays, it's
> added cost for no benefit.
> 

of course spdy has lots of benefits. key difference :)




From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:25:26 2012
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 5605F21F8685 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:25:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.566
X-Spam-Level: 
X-Spam-Status: No, score=-10.566 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599, 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 V4W2FC9GX-HT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:25:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F03F021F867E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:25:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrUFc-00044Y-QN for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:25:12 +0000
Resent-Date: Wed, 18 Jul 2012 13:25:12 +0000
Resent-Message-Id: <E1SrUFc-00044Y-QN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrUFO-0002oG-Sm for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:24:58 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrUFK-0006Nw-47 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:24:58 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8508-out with ME id bpQN1j0044WQcrc03pQNag; Wed, 18 Jul 2012 15:24:27 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id E8FA32E3A22; Wed, 18 Jul 2012 15:24:21 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L4gtkBhsglD5; Wed, 18 Jul 2012 15:24:08 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 18 Jul 2012 15:24:08 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 18 Jul 2012 15:24:08 +0200
Message-ID: <5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org>
Date: Wed, 18 Jul 2012 15:24:08 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Mike Belshe" <mike@belshe.com>
Cc: "Phillip Hallam-Baker" <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrUFK-0006Nw-47 cf03f7b94ba9811d0159214f864b1c2f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[6]: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14487
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>

> Lets not get personal.

> It does not go without notice from me that the battle lines are drawn
> around which type of developer you are.  Browser developers and social
> content providers are all in the protect-the-users camp (encrypt
> everything).  Proxy vendors, which have an uncertain role in an encrypted
> future, are unilaterally against it.  This is a power struggle of products.
> Are the endpoints in charge?  Or is the 3rd party middleman in charge?

Disclaimer:
1. I am not a developer. I am an operator
2. I am tasked to secure a minimum the Internet accesses from my employer,
parters and subsidiaries networks
3. I don't care a bit about any of the actors that you mention. They all
collectively failed to provide a working and secure HTTP solution to us in
the past decade. I don't like how I have to manage a pile of workarounds
because browsers do not play nice with intermediaries and the protocol is
full of loopholes that let them do it so. I don't like how web site
developers think playing nice with their users tools (and I am part of
those tools) is being held in hostage and how they strive to bypass it. I
don't like the bugs in the proxy systems we bought.
4. there are enough users behind my systems one of the major airlines of
the continent blacklisted our public ips for a while because its
equipments decided we were performing a DOS against its ticketing system
(and buying air-plane tickets is not our core business, though like
everywhere our users do need to travel occasionally). Some traditional
out-of-band negotiation fixed this.
5. I am paid to help those users (WRT Internet accesses). I don't live by
feeding them spam, adds or reselling their private info to third parties
6. unlike a consumer ISP, I am supposed to provide always-on connectivity
and can not just issue reimbursements or promotional offers when capacity
planning mistakes (or other mistakes, including bored users misbehaviours)
result in broken Internet accesses

That being said:

1. I don't read the bank (or other correspondence) of my users

2. I'm not asked to read the bank (or other correspondence) of my users,
either by management or a police state (divulging it would take a legal
injunction I think, never had to deal with those)

3. When confidential (company or user) data leaks it's always at the
server endpoints, usually because those endpoints didn't care a bit about
user data confidentiality. The typical profile of such an endpoint is the
kind of social content providers you claim is in the protect-the-users
camp. Well they aren't. They're in the
pump-as-much-user-data-as-we-can-and-figure-how-to-monetize-it-later camp.
They don't like intermediaries because 1. they force them to invest
resources in something else than monetizing user data 2. we understand IT
and are not fooled by some pretty graphics and animations 3. we are on the
users' side, not theirs (I'm pretty sure *they* get served injunctions to
divulge user data and *they* are not shy to oblige police forces, who are
quite happy others do free data collection for them)

4. the alert is raised not by some evil spying on our part but by users
that belatedly realise they've been had by the glossy social (or other)
web site they wrongly assumed cared enough about them to secure their info
(and *that* unlike requests to spy on users, happens all year round)

5. Users ask operations to fix those leaks and remove the job-endangering
or social-life-endangering data those web sites published everywhere
(another common scenarii is unscrupulous contractors that attempt to
deliver business apps on the cheap by pushing processing of company data
in the 'cloud' via web services, without checking the other side can be
trusted)

6. Users ask operations to figure their computers got infected or spammed
and to fix it magically so they can get on with their life without
bothering with IT problems. They would do the same at home except no one
is mad enough to propose the kind of service we perform here at a price
they'd be willing to pay, and we can only perform it here thanks to a few
restrictions they don't like much

7. Users complain to us how come browsers still do not play well with
proxies after all those years. They actually believe the 'browsers care
about users' party line and think we're withholding some magic
browser-supported secure proxy login tech that was standardised a long
time ago. They rely on us to fill browser problem reports in their stead
(boring uninteresting IT work).

8. we can't perform the missions users ask of us without at minima seeing
the full http routing envelopes (to block dangerous web sites, to diagnose
problems, to alert users something on their computer accesses URL
associated with malware)

9. we can't perform the missions users ask of us if browsers refuse to
display the errors and messages we generate when a user stumbles on
something forbidden for its safety

10. we'd much prefer that any traffic that didn't present any
confidentiality issue was sent in clear so we could scan it for malware
and avoid to our users the unpleasantness of having their computer broken
by hostile, infected or breached web sites

11. we'd much prefer that any traffic that didn't present any
confidentiality issue was sent in clear so it could be cached and the user
experience improved by speedier browsing

12. we absolutely do *not* want to eavesdrop on bank accesses,
e-government forms, etc. We'd much prefer if such a traffic could be send
in encrypted payloads with in-clear routing metadata (there I differ a bit
from Willy, but I accept he has customers with stricter requirements than
ours)

(Sorry if I've been a bit long, but there has been enough misinformation
about intermediaries on this list)

Sincerely,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:44:21 2012
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 441C821F861B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.936
X-Spam-Level: 
X-Spam-Status: No, score=-8.936 tagged_above=-999 required=5 tests=[AWL=1.663, BAYES_00=-2.599, 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 HRJaY-viv203 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:44:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7885521F856C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:44:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrUWc-0003hH-VC for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:42:46 +0000
Resent-Date: Wed, 18 Jul 2012 13:42:46 +0000
Resent-Message-Id: <E1SrUWc-0003hH-VC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrUWT-0003gR-7e for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:42:37 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrUWF-00075L-M9 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:42:37 +0000
Received: by vbbfq11 with SMTP id fq11so1211983vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 06:41:57 -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=YdSXNKgu1Egz58X8aX3SI9e2UN1tKX+MTYXqYhu1qek=; b=MLjbpUpepBqZoZBeonQ2ULkjsiswDv62UH/0XWqdCRPuEUJiU2HTeFMy7wv/mD+ENU zXdUxbo0oBupK2kSujgTpZUsMh5qRwRAchpx47EyOhLhIqEcrdDmB2hFmuQ0hPFVNbQm bKt1p5hllcI7kwfvPdlNel8gmASJreCQnO7nypyuCYi36hje9RSDOagRk2vLWAyQVY3m a/FWbdzf/HOQPMX+obu4wneF1CMtivPY4Px95GHQjboQgRCGOUHQ8SRMoeqaYL5Eo7MR j3Tz2f+oSta4JZiV4btqLqg53pa93d/ohTnSh2FESwNP7IHsg4OzS1qOEYpaDfuCy1fc QKOw==
MIME-Version: 1.0
Received: by 10.52.23.136 with SMTP id m8mr691902vdf.28.1342618917670; Wed, 18 Jul 2012 06:41:57 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 06:41:57 -0700 (PDT)
In-Reply-To: <1342616808.30417.45.camel@ds9>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <1342616808.30417.45.camel@ds9>
Date: Wed, 18 Jul 2012 09:41:57 -0400
Message-ID: <CAMm+LwgmNM6Emg6Fjbb2M5JcOEr4h5D+iiniBmO_JWrM+Z5Z1g@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>, Paul Hoffman <paul.hoffman@gmail.com>,  grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrUWF-00075L-M9 9825b3d9419d14aebd977143b80bdf4d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwgmNM6Emg6Fjbb2M5JcOEr4h5D+iiniBmO_JWrM+Z5Z1g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14488
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 Wed, Jul 18, 2012 at 9:06 AM, Patrick McManus <pmcmanus@mozilla.com> wrote:
> On Tue, 2012-07-17 at 23:54 -0700, Mike Belshe wrote:
>
>
>> Show me the user that will stand up and say, "Yes, I would like my
>> communications to be snoopable and changeable by 3rd parties without
>> my knowledge."

As has been mentioned before, embedded systems, real time control.

The operators of a nuclear power plant want to have strong
authentication on every connection but they do not want the
communications to be encrypted. That is a very common requirement in
that field.

They don't want any code that is not absolutely necessary.
Confidentiality is a low concern, integrity is a high concern.


I sell crypto for a living. I am also one of the developers of
HTTP/1.0. The people pushing this particular mandate do not understand
either in my view.

Crypto isn't a magic wand that you can wave and get 'security'.
Security is risk management and to do that you have to have an
understanding of the application area.

HTTP was always intended to be used in more than just browsers. It was
intended as a replacement for FTP as well. It was intended as a
transport layer for Web Services (the name is recent, the idea dates
back to my work in 1993, or earlier).


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:56:46 2012
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 4581E21F8736 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:56:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.569
X-Spam-Level: 
X-Spam-Status: No, score=-10.569 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, 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 Lf9kkhsG8Xao for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:56:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 53C6521F8731 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:56:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrUkH-0002q5-Eu for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:56:53 +0000
Resent-Date: Wed, 18 Jul 2012 13:56:53 +0000
Resent-Message-Id: <E1SrUkH-0002q5-Eu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrUk7-0002ol-23 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:56:43 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrUk5-0001Tp-4R for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:56:42 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8508-out with ME id bpw91j00F4WQcrc03pw9DB; Wed, 18 Jul 2012 15:56:14 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 543542E3A23; Wed, 18 Jul 2012 15:56:09 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Um5f61BHfy2e; Wed, 18 Jul 2012 15:55:57 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 18 Jul 2012 15:55:57 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 18 Jul 2012 15:55:57 +0200
Message-ID: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org>
Date: Wed, 18 Jul 2012 15:55:57 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Patrick McManus" <pmcmanus@mozilla.com>
Cc: "Mike Belshe" <mike@belshe.com>, "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Paul Hoffman" <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrUk5-0001Tp-4R 4879c5ef355aa06fca4ece7b073cec76
X-Original-To: ietf-http-wg@w3.org
Subject: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14489
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>

> From: Patrick McManus <pmcmanus@mozilla.com>
On Tue, 2012-07-17 at 23:54 -0700, Mike Belshe wrote:

> Show me the user that will stand up and say, "Yes, I would like my
> communications to be snoopable and changeable by 3rd parties without
> my knowledge."
[..]
> Sorry - that will be the last time I say that for a while...

> please keep saying it. That is the important point.

Show us the users that only go outside in trenchcoats and sunglasses for
fear of being observed going into a particular shop, reading a particular
book at the library, etc

Users *do* accept lack of absolute confidentiality in real life. Users
*do* advertise their tastes and orientations in case they were nor
pro-eminent enough (on social web sites, via clothes choices, going around
with bags with huge shop logos on them)

There is *no* real-life user demand for absolute confidentiality, either
on the internet or in physical life (except for a few marginals, commonly
deemed freaks by the majority of the population)

You are inventing requirements users didn't ask of you (and I'm sure
others would claim I'm on the freakish side myself)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 06:56:47 2012
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 2C2F121F8736 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:56:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.518
X-Spam-Level: 
X-Spam-Status: No, score=-10.518 tagged_above=-999 required=5 tests=[AWL=0.080, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 YhzQ-sp+p6-v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 06:56:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C471221F8735 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 06:56:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrUkZ-0002rD-AY for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 13:57:11 +0000
Resent-Date: Wed, 18 Jul 2012 13:57:11 +0000
Resent-Message-Id: <E1SrUkZ-0002rD-AY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SrUkO-0002qC-Nw for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 13:57:00 +0000
Received: from ams-iport-4.cisco.com ([144.254.224.147]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SrUkI-0001WI-3c for ietf-http-wg@w3.org; Wed, 18 Jul 2012 13:57:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=4184; q=dns/txt; s=iport; t=1342619814; x=1343829414; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=Ts7c4xFSpVNLHkxXvZNGVr/XYpWohMkzzJkbQiuWNVE=; b=D377fVWQ384SLMFycP2Nfy/Kf5te9PCvXLl02LiEZdG4qXZ6bvednN+n UqGf6HIA1wjq9dDA5kUkDk96UYtVQczr8XSJk1AtSiT6be7mJb9VfDFvs d8JTEO1RrmdZ+8b04ADlTIRI2/NazDkSJXsVLNOQUXlXxwQBNQUJB2pt4 s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ag4FAOq/BlCQ/khM/2dsb2JhbABFhWqFX61xgQeCIAEBAQQSARBFEAEQCwQUCRYLAgIJAwIBAgFFBg0BBwEBHodrnXeNGZMAkH2BEgOVRI4jgWaCYQ
X-IronPort-AV: E=Sophos;i="4.77,610,1336348800";  d="scan'208,217";a="6729771"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-4.cisco.com with ESMTP; 18 Jul 2012 13:56:27 +0000
Received: from elear-mac.local (ams3-vpn-dhcp5855.cisco.com [10.61.86.222]) by ams-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q6IDuQBf023043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2012 13:56:27 GMT
Message-ID: <5006C08A.6000608@cisco.com>
Date: Wed, 18 Jul 2012 15:56:26 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
In-Reply-To: <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------070408010501030902030301"
Received-SPF: pass client-ip=144.254.224.147; envelope-from=lear@cisco.com; helo=ams-iport-4.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1SrUkI-0001WI-3c c4334156d509f0e9cdc553e7f905f28a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/5006C08A.6000608@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14490
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>

This is a multi-part message in MIME format.
--------------070408010501030902030301
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Mike,

On 7/18/12 8:54 AM, Mike Belshe wrote:
> Show me the user that will stand up and say, "Yes, I would like my
> communications to be snoopable and changeable by 3rd parties without
> my knowledge."

This is a red herring.  The real argument is around the ability of all
web servers to get certificates that the browser will  / should trust,
or using a means of trust that doesn't require certificate chains. The
server administrator must not be put in a position of having to pay an
annual fee to avoid the client warning, because that introduces at least
a potential externality in that the server administrator may not value
avoiding the warning in the way that you would expect.  Certainly the
end user doesn't act appropriately against the warning, which is why
we're having this discussion[1,2][*]. 

Eliot

[1] Herley, C., “So Long, And No Thanks for the Externalities: The
Rational Rejection of Security Advice by Users”, /NSPW’09/, September
8–11, 2009.
[2] Edelman, S., et al, “You've been warned: an empirical study of the
effectiveness of web browser phishing warnings”,/Proceedings of the
twenty-sixth annual SIGCHI conference on Human factors in computing
systems/ , 2008.
[*] There are probably dozens of citations in this space.

--------------070408010501030902030301
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Mike,<br>
    <br>
    <div class="moz-cite-prefix">On 7/18/12 8:54 AM, Mike Belshe wrote:<br>
    </div>
    <blockquote
cite="mid:CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="gmail_quote">
        <div>Show me the user that will stand up and say, "Yes, I would
          like my communications to be snoopable and changeable by 3rd
          parties without my knowledge."<br>
        </div>
      </div>
    </blockquote>
    <br>
    This is a red herring.  The real argument is around the ability of
    all web servers to get certificates that the browser will  / should
    trust, or using a means of trust that doesn't require certificate
    chains. The server administrator must not be put in a position of
    having to pay an annual fee to avoid the client warning, because
    that introduces at least a potential externality in that the server
    administrator may not value avoiding the warning in the way that you
    would expect.  Certainly the end user doesn't act appropriately
    against the warning, which is why we're having this
    discussion[1,2][*].  <br>
    <br>
    Eliot<br>
    <br>
    [1] Herley, C., “So Long, And No Thanks for the Externalities: The
    Rational Rejection of Security Advice by Users”, <i>NSPW’09</i>,
    September 8–11, 2009.<br>
    [2] Edelman, S., et al, “You've been warned: an empirical study of
    the effectiveness of web browser phishing warnings”,<i> Proceedings
      of the twenty-sixth annual SIGCHI conference on Human factors in
      computing systems</i>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    , 2008.<br>
    [*] There are probably dozens of citations in this space.<br>
    <blockquote type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </blockquote>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <blockquote type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title></title>
    </blockquote>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
  </body>
</html>

--------------070408010501030902030301--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 07:09:04 2012
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 715B921F8786 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 07:09:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.357
X-Spam-Level: 
X-Spam-Status: No, score=-10.357 tagged_above=-999 required=5 tests=[AWL=0.242, BAYES_00=-2.599, 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 1DzvXHg054KW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 07:09:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9A20B21F8776 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 07:09:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrUvZ-0000yk-Nx for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 14:08:33 +0000
Resent-Date: Wed, 18 Jul 2012 14:08:33 +0000
Resent-Message-Id: <E1SrUvZ-0000yk-Nx@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SrUvP-0000xj-Ce for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 14:08:23 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SrUvF-0003bv-Fb for ietf-http-wg@w3.org; Wed, 18 Jul 2012 14:08:23 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6IE3KUI002915; Wed, 18 Jul 2012 17:03:20 +0300
X-CheckPoint: {5006C055-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Wed, 18 Jul 2012 17:03:19 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: Mike Belshe <mike@belshe.com>, Phillip Hallam-Baker <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, Rajeev Bector <rbector@yahoo-inc.com>, Martin Thomson <martin.thomson@gmail.com>, =?Windows-1252?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, Doug Beaver <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 17:03:20 +0300
Thread-Topic: HTTP2 Expression of Interest
Thread-Index: Ac1k7hXV60As5XSGQf+0VIVaJ2mo5A==
Message-ID: <B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com>
References: <5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org>
In-Reply-To: <5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrUvF-0003bv-Fb cf4f8b9e1f014b0f86fd1419b2ba7a4e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14491
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>

Wow. It's like I have to run to the other side of the table to argue for th=
e other side=85

On Jul 18, 2012, at 4:24 PM, Nicolas Mailhot wrote:
>=20
> That being said:
>=20
> 1. I don't read the bank (or other correspondence) of my users
>=20
> 2. I'm not asked to read the bank (or other correspondence) of my users,
> either by management or a police state (divulging it would take a legal
> injunction I think, never had to deal with those)

It's a good thing that you don't read bank transactions and that you don't =
get asked to. But you could read the bank transactions if you wanted to (or=
 were asked to). If the data goes over HTTP you can do it with something as=
 simple as TCPDUMP. If it goes over SSL, you'll need a TLS proxy.  The secu=
rity issue is not that you want to do it, but that you and others with simi=
lar jobs to yours can do it.

> 3. When confidential (company or user) data leaks it's always at the
> server endpoints, usually because those endpoints didn't care a bit about
> user data confidentiality.

Well, we know that some countries monitor traffic for censorship and to dis=
cover dissidents. Most would call this data leakage, and it's not at the en=
dpoints.

> 12. we absolutely do *not* want to eavesdrop on bank accesses,
> e-government forms, etc. We'd much prefer if such a traffic could be send
> in encrypted payloads with in-clear routing metadata (there I differ a bi=
t
> from Willy, but I accept he has customers with stricter requirements than
> ours)

Does "we" include the no such agency?  Does it include its counterparts in =
Iran and Syria? There are all sorts of people installing middleboxes.

Yoav



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:07:07 2012
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 09E7A21F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:07:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.446
X-Spam-Level: 
X-Spam-Status: No, score=-8.446 tagged_above=-999 required=5 tests=[AWL=1.531, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 GV8vu33rrzxb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:07:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1C7FB21F8610 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:07:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrVpr-0003jl-JT for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:06:43 +0000
Resent-Date: Wed, 18 Jul 2012 15:06:43 +0000
Resent-Message-Id: <E1SrVpr-0003jl-JT@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrVph-0003iv-Rv for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:06:33 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrVpd-0006a2-0K for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:06:33 +0000
Received: by mail-ob0-f171.google.com with SMTP id v19so2495069obq.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:06:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=y1unY9beKf06QpAgAYP5eJH+P3KytyTvYt97yP+Yy5g=; b=VBLGhNeFECXpkbsm+rn16/QSyQBdy84sHKR7cFsxyJ8i8s+RDFyqx9iBO710d38eED UKmEi18Pw/AJ+Oct3MBWy+kkbM5U7yjzvwZGe8EfoTvBEQXLHKK39+ugSdrs4hdNqrLm f+YbU+4FtPd3LP2t7ROnkZmQ0Jek2kt1XhsFdFEWrMEBVNaBoZCB0ENSpjb3WNdS2SyI mEnAWILtmbsDpTifS7ciEyrPvNXHV8Pxq08NGMrD7r2sXL/+wKA5ObwFu1hM9qSBcFCZ 6dDhQ8LWwEWIHN/WcLDcaSQEJrVN9H4LlKyy5OALzd9OXABKz/RMnHVRgG8DU3+a+VNk ZLkw==
MIME-Version: 1.0
Received: by 10.182.1.72 with SMTP id 8mr1702650obk.61.1342623968384; Wed, 18 Jul 2012 08:06:08 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Wed, 18 Jul 2012 08:06:08 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org>
References: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org>
Date: Wed, 18 Jul 2012 08:06:08 -0700
Message-ID: <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>,  Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>,  grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmOUXRvmnjhZf6VxfWME5pxyAR4Mstx+auFXzW/y6KGNd2d52H3/QVnj9kH3Zr/SP9xfwBz
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrVpd-0006a2-0K 6ac8a4c4d51917a694ba98b7dfd0e4e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14492
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>

These analogies are really very limited in their usefulness. The
Internet is =93sui generis=94, not really like anything else.

The only sane pro-user position is that Internet interaction between
two endpoints should not be readable by intermediaries.

Clearly, for people who are in the intermediaries business, users are
not their customers and their priorities may not be well-aligned with
those of the users.  This is not surprising and not unreasonable. But
I do object to claims that a pro-intermediary position is actually
pro-user, that people really don=92t want/need privacy.

I=92m glad that at least some voices here are pro-user.  -T

On Wed, Jul 18, 2012 at 6:55 AM, Nicolas Mailhot
<nicolas.mailhot@laposte.net> wrote:
>> Show me the user that will stand up and say, "Yes, I would like my
>> communications to be snoopable and changeable by 3rd parties without
>> my knowledge."
>
> Show us the users that only go outside in trenchcoats and sunglasses for
> fear of being observed going into a particular shop, reading a particular
> book at the library, etc
>
> Users *do* accept lack of absolute confidentiality in real life. Users
> *do* advertise their tastes and orientations in case they were nor
> pro-eminent enough (on social web sites, via clothes choices, going aroun=
d
> with bags with huge shop logos on them)
>
> There is *no* real-life user demand for absolute confidentiality, either
> on the internet or in physical life (except for a few marginals, commonly
> deemed freaks by the majority of the population)
>
> You are inventing requirements users didn't ask of you (and I'm sure
> others would claim I'm on the freakish side myself)
>
> --
> Nicolas Mailhot
>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:07:18 2012
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 8972A21F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.958
X-Spam-Level: 
X-Spam-Status: No, score=-8.958 tagged_above=-999 required=5 tests=[AWL=1.641, BAYES_00=-2.599, 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 6NGHE2jOmVb8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:07:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD89121F8610 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:07:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrVqf-0003l6-8T for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:07:33 +0000
Resent-Date: Wed, 18 Jul 2012 15:07:33 +0000
Resent-Message-Id: <E1SrVqf-0003l6-8T@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrVqV-0003k9-FA for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:07:23 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrVqR-0006dg-2U for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:07:23 +0000
Received: by vcdd16 with SMTP id d16so792734vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:06:53 -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=nOSYVwcDIqSfqPnn4Fx7bn9pT8UTY2YtQ/yiBbaC+KE=; b=Qt+ey89pMF2tHWLN4yETOLFKXAQnXCM3SaWw0wHBdghkcBltlNyT3dfxmYPia1cUym bD1tQVS9emkf3RX3mSzE2e/OJQiM7obmqySSXml3DMjFDPr+jpEb/9nLykB3jBmYdCcJ Cq8jn0iEOHWCY+LzQ5Qxlc2Zv8cIa+du1HxBlg7sMj2mtakie6ZDrsZab4WbPV77TtFO XZXWvqkhf3QF6a9SLaiMFeDrUFK2YhV9rDPYLu0cPp8B2TnP7MsVTiSH9sNFsRBEhoWh jUib1JF7yYG2zeS1tLP0LcZI7VxYQgAntEH+NjrNHFnxJL1cGqFmC41HDm3/dbdGCmPy vdFQ==
MIME-Version: 1.0
Received: by 10.52.23.136 with SMTP id m8mr903979vdf.28.1342624012918; Wed, 18 Jul 2012 08:06:52 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 08:06:52 -0700 (PDT)
In-Reply-To: <5006C08A.6000608@cisco.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com>
Date: Wed, 18 Jul 2012 11:06:52 -0400
Message-ID: <CAMm+LwgMYUc6npo_TuUX9W6RV5HOizoeAk-EQTQvu4wTW=cnnA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>, Paul Hoffman <paul.hoffman@gmail.com>,  grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrVqR-0006dg-2U 3049648825ef7db39fd6c7e6724aa031
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwgMYUc6npo_TuUX9W6RV5HOizoeAk-EQTQvu4wTW=cnnA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14493
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>

It isn't just the cost that is an issue.

The ongoing maintenance cost is a real hinderance. Much of the cost in
the CA business turns out to be getting the customer to renew at the
one year expiry point. In many cases the Web site was set up by a
consultant who bought the cert and didn't tell the customer that they
needed to renew it.


The real security requirement here is to avoid a downgrade attack.
Mandating use of TLS in HTTP 2.0 does nothing for that unless there is
also a means of avoiding the downgrade attack to HTTP/1.1

We need to make preventing a downgrade attack practical and if we do
that we do not need the mandate.

Here is an example of the type of mechanism that could make use of
security policy practical:

http://tools.ietf.org/html/draft-hallambaker-omnibroker-01


Now Comodo and Kaspersky are already deploying schemes that have some
of this functionality already. I expect Symantec and McAfee will
eventually follow suit with their own plug ins. So the question is not
whether people will do something like this but whether it will be a
standard or not.


On Wed, Jul 18, 2012 at 9:56 AM, Eliot Lear <lear@cisco.com> wrote:
> Mike,
>
>
> On 7/18/12 8:54 AM, Mike Belshe wrote:
>
> Show me the user that will stand up and say, "Yes, I would like my
> communications to be snoopable and changeable by 3rd parties without my
> knowledge."
>
>
> This is a red herring.  The real argument is around the ability of all we=
b
> servers to get certificates that the browser will  / should trust, or usi=
ng
> a means of trust that doesn't require certificate chains. The server
> administrator must not be put in a position of having to pay an annual fe=
e
> to avoid the client warning, because that introduces at least a potential
> externality in that the server administrator may not value avoiding the
> warning in the way that you would expect.  Certainly the end user doesn't
> act appropriately against the warning, which is why we're having this
> discussion[1,2][*].
>
> Eliot
>
> [1] Herley, C., =93So Long, And No Thanks for the Externalities: The Rati=
onal
> Rejection of Security Advice by Users=94, NSPW=9209, September 8=9611, 20=
09.
> [2] Edelman, S., et al, =93You've been warned: an empirical study of the
> effectiveness of web browser phishing warnings=94, Proceedings of the
> twenty-sixth annual SIGCHI conference on Human factors in computing syste=
ms
> , 2008.
> [*] There are probably dozens of citations in this space.



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:10:10 2012
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 9708621F86D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:10:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.513
X-Spam-Level: 
X-Spam-Status: No, score=-8.513 tagged_above=-999 required=5 tests=[AWL=1.464, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 OrrLTA0L7O5q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:10:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EE4B021F8692 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:10:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrVt6-0005Hg-R8 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:10:04 +0000
Resent-Date: Wed, 18 Jul 2012 15:10:04 +0000
Resent-Message-Id: <E1SrVt6-0005Hg-R8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrVsx-00041h-9G for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:09:55 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrVsr-0007xG-FO for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:09:55 +0000
Received: by qafl39 with SMTP id l39so1125173qaf.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:09:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=6fOxH0AebZm9yelS5qbs9R08MvkXomT3rDjL+egO/8w=; b=Xxwh4iyH8TCvKkjfG0PhkqLEFiUeUwm3cIxwhz6HW5rHKaOEVPSbrV2/g+JsqWKwy2 DZPo30gFY6teOqc4h0F1DqQLkyFirtQbwGm5RKf8+0mnHWlHe7H5CwYHQ0wQzUj3J71g 2AmABLej8RMC/R1ZkURyjqfHoqPbqkgd+Uyzg4vfzhuBR8cVrNSJ7K+w2ZFHraqT1JJz 0vlW3rcYrkvG5ByXkviWzGCxssc14xXxFS31YL25Cw1nWil4UV2YUd6j7wCrM93zXAVp OUsQar1eV091XIi33C/1Mi1VPvq7zIil5JcLbTdRHR+NiXbPGzgqviNomh1rGAl5muXD qdXw==
MIME-Version: 1.0
Received: by 10.60.2.193 with SMTP id 1mr1862983oew.29.1342624163461; Wed, 18 Jul 2012 08:09:23 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Wed, 18 Jul 2012 08:09:23 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <5006C08A.6000608@cisco.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com>
Date: Wed, 18 Jul 2012 08:09:23 -0700
Message-ID: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Eliot Lear <lear@cisco.com>
Cc: Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>,  Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlomMtBBB6AICKGZJ128XW4CantLg4MMC0k/ZFjjtGhNX8bX1FgaIMEhNlwWilnr4MzL01n
Received-SPF: none client-ip=209.85.216.50; envelope-from=tbray@textuality.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrVsr-0007xG-FO 4e0baec530c7ee8bdac03754453b3f22
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14494
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 Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear <lear@cisco.com> wrote:
>> Show me the user that will stand up and say, "Yes, I would like my
>> communications to be snoopable and changeable by 3rd parties without my
>> knowledge."
>
>
> This is a red herring.  The real argument is around the ability of all we=
b
> servers to get certificates

This pattern keeps coming up.
A: =93Privacy is good=94
B: =93No, because the technology is currently too expensive/unreliable=94

Uh... privacy is good.  -T


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:11:58 2012
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 0343F21F86D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:11:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.019
X-Spam-Level: 
X-Spam-Status: No, score=-10.019 tagged_above=-999 required=5 tests=[AWL=0.279, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 V225ULBzKQ4d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:11:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3535521F8692 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:11:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrVvE-0005XZ-Sl for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:12:16 +0000
Resent-Date: Wed, 18 Jul 2012 15:12:16 +0000
Resent-Message-Id: <E1SrVvE-0005XZ-Sl@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrVv5-0005Wo-AJ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:12:07 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrVuw-00084m-D2 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:12:07 +0000
Received: by wibhq4 with SMTP id hq4so1261289wib.8 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:11:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=60oA/HDUgVHps3AjseOj0+bC2Wt9OQ1kGZQBKZFeiYU=; b=KtAP+NRT2HcabQU5XIdB2r3Kk5dRYNvYcnSow3T8RiVwLJtFAlQCrHhjW48ZY+3xvz 36/OyuNVoYQgnq9T23HWvvwJhewsg5OeYgOGXZ1JZMmTlm2MiDc88j+wJv7ZxiZLRP84 0NnQGYyU8AwcX2UU0cD0Wzn9zRPCVaIBzTQNyIhK1bp5NWlnFKya70dKLwXPo/DWO3FH /jDYjzr1k9Z79R/gZu+kR3AeOD2zBdxNpRHwOXlm4LoiIN9WiHE8WoTRAA8T1+YdXcLG knBbpJlTtAWJsA79RSp4NOxj8uHm6/PqiemtxpiwSV5vOuYrZ39IgesJkix/sPjxDKe5 wCSw==
Received: by 10.180.103.136 with SMTP id fw8mr7486555wib.20.1342624291872; Wed, 18 Jul 2012 08:11:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 08:11:11 -0700 (PDT)
In-Reply-To: <50061447.5030109@it.aoyama.ac.jp>
References: <13869.1342554599@critter.freebsd.dk> <5005C7FC.8010405@zinks.de> <5005CDCF.6030806@gmx.de> <98E713A5-3869-438A-B3D3-5C9DA580DD67@opera.com> <CABP7Rbe_s==22ESQZXkFgzezOTg5ORwtiJzSa9npPOUfZKd5aw@mail.gmail.com> <50061447.5030109@it.aoyama.ac.jp>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 18 Jul 2012 08:11:11 -0700
Message-ID: <CABP7RbdA34E_2ThRtiyGtJXXZ3CZtxDGTp8N0YJ_Zx4ccftKZQ@mail.gmail.com>
To: =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>
Cc: Karl Dubost <karld@opera.com>, Julian Reschke <julian.reschke@gmx.de>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04430446fbe0c404c51c134e
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrVuw-00084m-D2 58d5c9db3c379451427b68aab2a5f482
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Minimizing/avoiding User-Agent, was: SPDY Header Frames
Archived-At: <http://www.w3.org/mid/CABP7RbdA34E_2ThRtiyGtJXXZ3CZtxDGTp8N0YJ_Zx4ccftKZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14495
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>

--f46d04430446fbe0c404c51c134e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 6:41 PM, "Martin J. D=C3=BCrst"
<duerst@it.aoyama.ac.jp>wrote:

> On 2012/07/18 6:08, James M Snell wrote:
>
>> +1... I was getting ready to respond to Julian's post with a "+1 YEAH!"
>> but
>> then stopped and thought about it... using a URI, while potentially soun=
d
>> in theory, would likely just end up with a different form of the same me=
ss
>> we're in now. Reducing the User-Agent field to nothing more than a singl=
e
>> token with a version identifier seems to me to be the Least Bad Option.
>>
>
> So why did that not happen up to now, and why is the User-Agent string
> growing as it does?
>
> Because servers/proxies check on substrings in that string, so UAs are
> using the strategy to copy the whole header of some other browser (usuall=
y
> the most popular one around at that time) and then tack some additional
> stuff on at the back to make sure they can be uniquely identified.
>
> This is a cat-and-mouse game where the servers are as much (or as little)
> to blame as the browsers. As long as each side does what's most convenien=
t
> for them, changing the name of the header, or offloading the data to a
> separate URI, or any such thing, is only a cosmetic change.
>
>
As has been mentioned several times, we cannot stop people from doing
stupid things. We can, however, make it easier to do the right thing and
work on setting a right precedent. Placing additional constraints on the
User-Agent is the right thing to do. If implementors go off and create a
new header to do the same stupid kinds of things they've been doing, then
that's on them.

- James


> Regards,   Martin.
>

--f46d04430446fbe0c404c51c134e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Tue, Jul 17, 2012 at 6:41 PM, &quot;Marti=
n J. D=C3=BCrst&quot; <span dir=3D"ltr">&lt;<a href=3D"mailto:duerst@it.aoy=
ama.ac.jp" target=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">

<div class=3D"im">On 2012/07/18 6:08, James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
+1... I was getting ready to respond to Julian&#39;s post with a &quot;+1 Y=
EAH!&quot; but<br>
then stopped and thought about it... using a URI, while potentially sound<b=
r>
in theory, would likely just end up with a different form of the same mess<=
br>
we&#39;re in now. Reducing the User-Agent field to nothing more than a sing=
le<br>
token with a version identifier seems to me to be the Least Bad Option.<br>
</blockquote>
<br></div>
So why did that not happen up to now, and why is the User-Agent string grow=
ing as it does?<br>
<br>
Because servers/proxies check on substrings in that string, so UAs are usin=
g the strategy to copy the whole header of some other browser (usually the =
most popular one around at that time) and then tack some additional stuff o=
n at the back to make sure they can be uniquely identified.<br>


<br>
This is a cat-and-mouse game where the servers are as much (or as little) t=
o blame as the browsers. As long as each side does what&#39;s most convenie=
nt for them, changing the name of the header, or offloading the data to a s=
eparate URI, or any such thing, is only a cosmetic change.<br>


<br></blockquote><div><br></div><div><span style=3D"font-family:&#39;courie=
r new&#39;,monospace">As has been mentioned several times, we cannot stop p=
eople from doing stupid things. We can, however, make it easier to do the r=
ight thing and work on setting a right precedent. Placing additional constr=
aints on the User-Agent is the right thing to do. If implementors go off an=
d create a new header to do the same stupid kinds of things they&#39;ve bee=
n doing, then that&#39;s on them.</span></div>

<div><span style=3D"font-family:&#39;courier new&#39;,monospace"><br></span=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">- J=
ames</span></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Regards, =C2=A0 Martin.<br>
</blockquote></div><br>

--f46d04430446fbe0c404c51c134e--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:15:35 2012
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 D513A21F873D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:15:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 PJXBcO67qb8V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:15:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D5CB21F873C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:15:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrVyp-0001Cp-5t for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:15:59 +0000
Resent-Date: Wed, 18 Jul 2012 15:15:59 +0000
Resent-Message-Id: <E1SrVyp-0001Cp-5t@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrVyl-0001C9-1J for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:15:55 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SrVyg-00071K-Ce for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:15:54 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 6B94410699; Wed, 18 Jul 2012 11:15:28 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id C11461041A; Wed, 18 Jul 2012 11:15:19 -0400 (EDT)
Message-ID: <1342624513.30417.53.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Eliot Lear <lear@cisco.com>
Cc: Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 11:15:13 -0400
In-Reply-To: <5006C08A.6000608@cisco.com>
References:  <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SrVyg-00071K-Ce 8a9715027c22546fdec07497ff8392f5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/1342624513.30417.53.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14496
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 Wed, 2012-07-18 at 15:56 +0200, Eliot Lear wrote:
> Mike,
> 
> On 7/18/12 8:54 AM, Mike Belshe wrote:
> 
> > Show me the user that will stand up and say, "Yes, I would like my
> > communications to be snoopable and changeable by 3rd parties without
> > my knowledge."
> > 
> 
> This is a red herring.  The real argument is around the ability of all
> web servers to get certificates that the browser will  / should trust,
> or using a means of trust that doesn't require certificate chains.
> [..]

Your point is incredibly important, is absolutely intertwined, and
deserves lots of attention. I feel like focus in that area is building
but there is nothing to show for it yet. However, its not an inherently
unsolvable problem and thus I really disagree with the "red herring"
claim. Transport security needs to be used more widely and we also need
to make the transport security work better.

I don't think that means throwing away TLS (or even the way PKI is
managed) in favor of something else, but I'm open to a different
strategy that achieves the same goals. I think everyone is.






From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:24:16 2012
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 B6B0321F86C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:24:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.52
X-Spam-Level: 
X-Spam-Status: No, score=-10.52 tagged_above=-999 required=5 tests=[AWL=0.079, BAYES_00=-2.599, 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 OWYaWnXLyvW9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:24:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B849921F8691 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:24:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrW6O-00030Q-6b for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:23:48 +0000
Resent-Date: Wed, 18 Jul 2012 15:23:48 +0000
Resent-Message-Id: <E1SrW6O-00030Q-6b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrW6A-0002zI-Ee for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:23:34 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a10.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrW5w-0000Ip-DD for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:23:34 +0000
Received: from homiemail-a10.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTP id 758BE280065; Wed, 18 Jul 2012 08:22:54 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=CjVwWP7FFhIWjUO sA1XeIw1+1+dvVm39pXL1U6/SyCddhB2Z8jcjeRUSH8XT58bnG706az/UO1VQ8C9 c/HO5hA5EegPbTiNSSVWU1yY652JPumYcRhQwT36uPiGRequWOkCByMyHIcEIx1x TBHbHMVHmcOpRl/x4Xi6FHuUDCJc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=jZxE45k qvs5BExx92HM+OgudJkc=; b=na+Gudlib+ZeWRF0g1FhUYTHl7BCMyJfqwQTf4B xaYfELKxx3D8qJdjoPy29mXOSH6jwDlI/D8NaB757jZeaecXRNzEMMeRLuQnfy6Y I726Wa0yvfhquHkv/IaZOuROBcxbac01F1jDd5ZbdngTzIINUScK38IyLyb3/vNB FvzU=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTPSA id 6213D280071; Wed, 18 Jul 2012 08:22:52 -0700 (PDT)
Message-ID: <5006D4CA.9060105@jrn.me.uk>
Date: Wed, 18 Jul 2012 16:22:50 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Tim Bray <tbray@textuality.com>
CC: Eliot Lear <lear@cisco.com>, Mike Belshe <mike@belshe.com>,  Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>,  Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
In-Reply-To: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
Received-SPF: none client-ip=208.97.132.207; envelope-from=jrn@jrn.me.uk; helo=homiemail-a10.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SrW5w-0000Ip-DD ca0f29ef0bc7e07e1e13120f06d1404c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/5006D4CA.9060105@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14497
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>

Okay, how about this; if TLS is enforced in HTTP 2.0, I seriously=20
believe it will damage privacy. Users do not care, and will not put the=20
effort required in to do this correctly, meaning self-signed=20
certificates at best or HTTP 1.1 remaining the majority protocol. If=20
self-signed certificates become commonplace, users will instinctively=20
click through the warnings (and move away from browsers that fight them=20
on that), making the current situation actually much worse.

Alternatively, users will roll their own TLS-free HTTP 2.0 alternatives=20
and patch Apache, Firefox and Chrome to support it, leading to=20
years/decades of complex supporting of multiple subtly incompatible=20
protocols running over the same ports.

I still remember a lot of researchers wondering about how to do=20
multicast file sharing effectively, before BitTorrent came along and=20
worked-around the whole issue using swarmcasting. Sure, it was a=20
horrific protocol that involved publicly announcing that you were=20
downloading a file, but no-one cared, they just cared that it worked.

On 18/07/2012 16:09, Tim Bray wrote:
> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear <lear@cisco.com> wrote:
>>> Show me the user that will stand up and say, "Yes, I would like my
>>> communications to be snoopable and changeable by 3rd parties without =
my
>>> knowledge."
>>
>> This is a red herring.  The real argument is around the ability of all=
 web
>> servers to get certificates
> This pattern keeps coming up.
> A: =93Privacy is good=94
> B: =93No, because the technology is currently too expensive/unreliable=94
>
> Uh... privacy is good.  -T
>




From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:26:32 2012
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 CC55C21F8778 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:26:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.572
X-Spam-Level: 
X-Spam-Status: No, score=-10.572 tagged_above=-999 required=5 tests=[AWL=0.027, BAYES_00=-2.599, 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 3Z2YhUKUsd04 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:26:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDD6A21F85FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:26:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrW9F-0004Y0-VW for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:26:46 +0000
Resent-Date: Wed, 18 Jul 2012 15:26:45 +0000
Resent-Message-Id: <E1SrW9F-0004Y0-VW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrW95-0004Wc-SF for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:26:35 +0000
Received: from smtpout2.laposte.net ([193.253.67.227] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrW8z-0007Om-Pg for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:26:35 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8504-out with ME id brS01j00i4WQcrc03rS0fC; Wed, 18 Jul 2012 17:26:02 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 80EB42E3A22; Wed, 18 Jul 2012 17:26:00 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jilyY0SiJZzq; Wed, 18 Jul 2012 17:25:48 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 18 Jul 2012 17:25:48 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 18 Jul 2012 17:25:48 +0200
Message-ID: <1ecf4e8a520227b6afeb0bb064ec7485.squirrel@arekh.dyndns.org>
In-Reply-To: <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
References: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org> <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
Date: Wed, 18 Jul 2012 17:25:48 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Tim Bray" <tbray@textuality.com>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "Patrick McManus" <pmcmanus@mozilla.com>, "Mike Belshe" <mike@belshe.com>, "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Paul Hoffman" <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.227; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrW8z-0007Om-Pg 5939bd7ce98ba9dad24790bc63da4e19
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/1ecf4e8a520227b6afeb0bb064ec7485.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14498
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>

Le Mer 18 juillet 2012 17:06, Tim Bray a écrit :

> Clearly, for people who are in the intermediaries business, users are
> not their customers

This is false. I'm operating an intermediary and I have more
accountability wrt my users than most of the web sites they visit.

> and their priorities may not be well-aligned with
> those of the users.  This is not surprising and not unreasonable.

This is blatant misinformation and propaganda.

> But
> I do object to claims that a pro-intermediary position is actually
> pro-user, that people really don’t want/need privacy.

Things are not black and white like everywhere else and my users expect me
to perform services for them I could not do if theirs communications were
100% opaque to me.

> I’m glad that at least some voices here are pro-user.

They claim to be pro users. That does not mean they are.

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:33:19 2012
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 7D6E821F85B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:33:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.565
X-Spam-Level: 
X-Spam-Status: No, score=-9.565 tagged_above=-999 required=5 tests=[AWL=1.033, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 W6S9kkZEwDfQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:33:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 89BE121F85B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:33:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWFj-00012M-Rm for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:33:27 +0000
Resent-Date: Wed, 18 Jul 2012 15:33:27 +0000
Resent-Message-Id: <E1SrWFj-00012M-Rm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrWFZ-00011b-RO for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:33:17 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrWFY-0000xO-JY for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:33:17 +0000
Received: by wgbdt14 with SMTP id dt14so1371987wgb.26 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:32:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=E2BeHoYpuj1aQPJ0xzy5Y8WQQusaVwHkEv3z8AbXi6c=; b=Yx64ySf3f+ENKSA8GjonH5ODLmEpWL0aHdE4NKios/XobyL13dIKxnJvXVr10fz0xf /WrAd7TF97dLH/zPC91hjJBEL0ruBLTx0M8wPAp2VuGFbc1FiDxzV5wMLB9syLBjgDEi y9Uq8413klgo/yQKUYhL5rNY7Ha9a4T6aMGoAcV26lOK02clbSXtdw9CyY6JIedVDKX4 qo+M9ccSevq9Edw0DnxxY276sByIgX7VHcXwLherLICf6UEwCMTGT2s0BnR/9eQXBF80 gjVF75Nt9/UulkpyE4fNUOZaVQy0GcLsEiTrYUgv4FIcrMkLZdAmcPYA7ZLT396/bioI /r3A==
Received: by 10.216.221.74 with SMTP id q52mr746175wep.181.1342625570037; Wed, 18 Jul 2012 08:32:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 08:32:29 -0700 (PDT)
In-Reply-To: <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
References: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org> <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 18 Jul 2012 08:32:29 -0700
Message-ID: <CABP7Rbdhw+xb5SGHEKPJHRmCoYgqyCenzrUi1Y=O_5UXQ2GoxA@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, Patrick McManus <pmcmanus@mozilla.com>,  Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>, Phillip Hallam-Baker <hallam@gmail.com>,  Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca2b201704c51c60ee
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrWFY-0000xO-JY 348e7f21dc1d94228763e550f9064aa1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/CABP7Rbdhw+xb5SGHEKPJHRmCoYgqyCenzrUi1Y=O_5UXQ2GoxA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14499
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>

--0016e6471bca2b201704c51c60ee
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Tim, this entire thread is getting quite silly. TLS is not magic pixie dust
that'll make the world instantly more secure and private just by sprinkling
it about and thinking happy thoughts. For a particular segment of HTTP use,
using TLS by default makes A LOT of sense, granted, but the same does not
hold true for all uses of HTTP and claiming that those of us who say no to
mandatory TLS are simply "anti-user" is dishonest at best.

- James

On Wed, Jul 18, 2012 at 8:06 AM, Tim Bray <tbray@textuality.com> wrote:

> These analogies are really very limited in their usefulness. The
> Internet is =E2=80=9Csui generis=E2=80=9D, not really like anything else.
>
> The only sane pro-user position is that Internet interaction between
> two endpoints should not be readable by intermediaries.
>
> Clearly, for people who are in the intermediaries business, users are
> not their customers and their priorities may not be well-aligned with
> those of the users.  This is not surprising and not unreasonable. But
> I do object to claims that a pro-intermediary position is actually
> pro-user, that people really don=E2=80=99t want/need privacy.
>
> I=E2=80=99m glad that at least some voices here are pro-user.  -T
>
> On Wed, Jul 18, 2012 at 6:55 AM, Nicolas Mailhot
> <nicolas.mailhot@laposte.net> wrote:
> >> Show me the user that will stand up and say, "Yes, I would like my
> >> communications to be snoopable and changeable by 3rd parties without
> >> my knowledge."
> >
> > Show us the users that only go outside in trenchcoats and sunglasses fo=
r
> > fear of being observed going into a particular shop, reading a particul=
ar
> > book at the library, etc
> >
> > Users *do* accept lack of absolute confidentiality in real life. Users
> > *do* advertise their tastes and orientations in case they were nor
> > pro-eminent enough (on social web sites, via clothes choices, going
> around
> > with bags with huge shop logos on them)
> >
> > There is *no* real-life user demand for absolute confidentiality, eithe=
r
> > on the internet or in physical life (except for a few marginals, common=
ly
> > deemed freaks by the majority of the population)
> >
> > You are inventing requirements users didn't ask of you (and I'm sure
> > others would claim I'm on the freakish side myself)
> >
> > --
> > Nicolas Mailhot
> >
> >
>
>

--0016e6471bca2b201704c51c60ee
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Tim, this entire thread is getting qui=
te silly. TLS is not magic pixie dust that&#39;ll make the world instantly =
more secure and private just by sprinkling it about and thinking happy thou=
ghts. For a particular segment of HTTP use, using TLS by default makes A LO=
T of sense, granted, but the same does not hold true for all uses of HTTP a=
nd claiming that those of us who say no to mandatory TLS are simply &quot;a=
nti-user&quot; is=C2=A0</font><font face=3D"courier new, monospace">dishone=
st at best.=C2=A0</font><div>

<br></div><div><font face=3D"courier new, monospace">- James</font></div><d=
iv><div><div><div><div><div><br><div class=3D"gmail_quote">On Wed, Jul 18, =
2012 at 8:06 AM, Tim Bray <span dir=3D"ltr">&lt;<a href=3D"mailto:tbray@tex=
tuality.com" target=3D"_blank">tbray@textuality.com</a>&gt;</span> wrote:<b=
r>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">These analogies are really very limited in t=
heir usefulness. The<br>
Internet is =E2=80=9Csui generis=E2=80=9D, not really like anything else.<b=
r>
<br>
The only sane pro-user position is that Internet interaction between<br>
two endpoints should not be readable by intermediaries.<br>
<br>
Clearly, for people who are in the intermediaries business, users are<br>
not their customers and their priorities may not be well-aligned with<br>
those of the users. =C2=A0This is not surprising and not unreasonable. But<=
br>
I do object to claims that a pro-intermediary position is actually<br>
pro-user, that people really don=E2=80=99t want/need privacy.<br>
<br>
I=E2=80=99m glad that at least some voices here are pro-user. =C2=A0-T<br>
<div class=3D"im HOEnZb"><br>
On Wed, Jul 18, 2012 at 6:55 AM, Nicolas Mailhot<br>
&lt;<a href=3D"mailto:nicolas.mailhot@laposte.net">nicolas.mailhot@laposte.=
net</a>&gt; wrote:<br>
&gt;&gt; Show me the user that will stand up and say, &quot;Yes, I would li=
ke my<br>
&gt;&gt; communications to be snoopable and changeable by 3rd parties witho=
ut<br>
&gt;&gt; my knowledge.&quot;<br>
&gt;<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">&gt; Show us the users that o=
nly go outside in trenchcoats and sunglasses for<br>
&gt; fear of being observed going into a particular shop, reading a particu=
lar<br>
&gt; book at the library, etc<br>
&gt;<br>
&gt; Users *do* accept lack of absolute confidentiality in real life. Users=
<br>
&gt; *do* advertise their tastes and orientations in case they were nor<br>
&gt; pro-eminent enough (on social web sites, via clothes choices, going ar=
ound<br>
&gt; with bags with huge shop logos on them)<br>
&gt;<br>
&gt; There is *no* real-life user demand for absolute confidentiality, eith=
er<br>
&gt; on the internet or in physical life (except for a few marginals, commo=
nly<br>
&gt; deemed freaks by the majority of the population)<br>
&gt;<br>
&gt; You are inventing requirements users didn&#39;t ask of you (and I&#39;=
m sure<br>
&gt; others would claim I&#39;m on the freakish side myself)<br>
&gt;<br>
&gt; --<br>
&gt; Nicolas Mailhot<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div></div></div></div></div></div>

--0016e6471bca2b201704c51c60ee--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:34:52 2012
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 97DF921F85F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:34:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.524
X-Spam-Level: 
X-Spam-Status: No, score=-8.524 tagged_above=-999 required=5 tests=[AWL=2.075, BAYES_00=-2.599, 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 0P10PoV5VH3H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:34:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB23021F863C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:34:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWHH-00026K-0L for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:35:03 +0000
Resent-Date: Wed, 18 Jul 2012 15:35:03 +0000
Resent-Message-Id: <E1SrWHH-00026K-0L@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1SrWH7-0001Fj-El for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:34:53 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1SrWH1-00082V-HK for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:34:53 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q6IFYHIm023786; Wed, 18 Jul 2012 17:34:18 +0200 (CEST)
Received: from [192.168.217.117] (p54893C3E.dip.t-dialin.net [84.137.60.62]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id B7AC84E8; Wed, 18 Jul 2012 17:34:16 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
Date: Wed, 18 Jul 2012 17:34:15 +0200
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrWH1-00082V-HK 38bb4e4f9f4b15e2502c22056b5004fc
X-Original-To: ietf-http-wg@w3.org
Subject: Protocol Design 101 (Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14500
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 Jul 18, 2012, at 17:09, Tim Bray wrote:

> Privacy is good

Ah, nice, another textbook example for Protocol Design 101 is in the
process of being made.

To the people who want "mandatory encryption" because "privacy is good":

You are designing a mechanism (here: HTTP 2.0).  If you happen to like
a certain policy (here: good privacy) today, you may be tempted to
cripple the mechanism so it only "allows" that policy.

Unless the policy comes with zero cost and is universally accepted,
this sets you up for failure:

1) People who don't like your favorite policy will not use your
   mechanism.  Worse, rational people who know that their potential
   peers might not like the policy will not use your mechanism.  And
   rational people who know that there are the second kind of people
   will not use it either, and so on.
   The transitive closure is empty, but for a few zealots.
2) You may (read: will) find out later that you didn't think of the
   use cases for the mechanism where the policy is useless or actively
   hurts.

If you don't understand how this works, it is nicely documented in
Dave Clark et al.'s famous "tussle" paper.

As a general rule, mechanisms MUST be neutral to the outcome of
tussles.  Design for choice.

(Now there are exceptions to this rules, where a mechanism is actually
being designed for a new applications space that is properly delimited
by the applicability of the policy.  Creating a putative replacement
for a protocol as ubiquitous as HTTP is NOT this case.)

That'll be your lecture for the day :-)
Now the assignment:

What we really should be working on is removing the obstacles we have
today for widely deploying privacy-enhancing mechanisms.  (Hint for
solving this assignment: Designing an NG protocol with "mandatory
encryption" is not helping in this at all.)

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:46:41 2012
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 A753C21F8697 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:46:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.617
X-Spam-Level: 
X-Spam-Status: No, score=-9.617 tagged_above=-999 required=5 tests=[AWL=0.982, BAYES_00=-2.599, 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 n7HXgIyvDH+N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:46:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A707721F8798 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:46:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWSm-000214-Mg for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:46:56 +0000
Resent-Date: Wed, 18 Jul 2012 15:46:56 +0000
Resent-Message-Id: <E1SrWSm-000214-Mg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrWSd-0001uM-1v for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:46:47 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrWSb-00006j-MB for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:46:47 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6IFkIYW010987; Wed, 18 Jul 2012 17:46:18 +0200
Date: Wed, 18 Jul 2012 17:46:18 +0200
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718154618.GB10943@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <1342616839.30417.46.camel@ds9>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1342616839.30417.46.camel@ds9>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrWSb-00006j-MB b38d68e22431df0317426d2593d5cda6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120718154618.GB10943@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14501
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 Wed, Jul 18, 2012 at 09:07:19AM -0400, Patrick McManus wrote:
> On Wed, 2012-07-18 at 08:09 +0200, Willy Tarreau wrote:
> > On Tue, Jul 17, 2012 at 09:22:24PM -0400, Phillip Hallam-Baker wrote:
> 
> > 
> > The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 will
> > be deployed between the browser and the load balancer, and everything
> > behind will remain HTTP/1 due to the added nuisances of deploying 2.0
> > everywhere.
> 
> Except we know that in the very near future SPDY adoption will have
> reached far more people than IPv6 ever has. So, unlike IPv6, there is a
> big demand to solve the problems it addresses.
> 
> >  Almost nobody does IPv6 between LB and server nowadays, it's
> > added cost for no benefit.
> > 
> 
> of course spdy has lots of benefits. key difference :)

Not between the LB and the server. It has benefits on the issues it
was designed to solve : the quality of the connection to the end user.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:48:33 2012
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 DE41521F85C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:48:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 JxmsOmBsPRnU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:48:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 44ACF21F85AC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:48:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWUj-0002Nt-9I for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:48:57 +0000
Resent-Date: Wed, 18 Jul 2012 15:48:57 +0000
Resent-Message-Id: <E1SrWUj-0002Nt-9I@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 1SrWUZ-0002LQ-C4 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:48:47 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrWUU-00008r-Hc for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:48:47 +0000
Received: by mail-vc0-f171.google.com with SMTP id d16so835301vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:48:22 -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=Xm/sbhzjKVWHMtgpfpokjpR0BExDTk3cCjPhQKBFSpE=; b=w83HgMok1lZr0sRmIwYZquWoXq5n7nHhe/ztyKEg64K/LWDX8ifl+KIG7JWyMoGHhO mJIS3I54C0agzZs9FxjII+FVSojRa+GCyvaz55/AX00s7Xvmi9iuLSVEncX0RXrL7dpU nj9RN9STi0z5//pC+iBO8H33vA1vd8BEt4EXAnyjwO1x7a5mEc/oj/TvkS62bVe4QZjL 1G0UUnUrIwbj60DIzwHS2WoX0oEFzVF4iKOIlGFW5/JMDIEJWkkmwPZzHVmFKYWghxoj iAusHQ3RZMy67QegG90DJ4tyWeI/wqKkA1YR2wfweKqu/KyQYJRMnQHOJ/Hx1Y+A54RE p+6Q==
MIME-Version: 1.0
Received: by 10.52.97.41 with SMTP id dx9mr931410vdb.89.1342626502053; Wed, 18 Jul 2012 08:48:22 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 08:48:21 -0700 (PDT)
In-Reply-To: <5005CB8C.2000802@gmx.de>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de>
Date: Wed, 18 Jul 2012 10:48:21 -0500
Message-ID: <CACuKZqHCypMb6Pr5Hfnccca8jp==Bg9s+NPh3UgY5fURzy=YkA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrWUU-00008r-Hc 989951147ced5bfbd005564e7ba36b96
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CACuKZqHCypMb6Pr5Hfnccca8jp==Bg9s+NPh3UgY5fURzy=YkA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14502
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 don't think the spec is broken on 100-continue.

However, as a practical matter, how many servers *really* support the
mechanism? As far as I know, all major Java implementations
immediately send back a "HTTP/1.1 100 Continue\r\n\r\n" response if
the request carries header "Expect: 100-continue". Therefore they
support the feature on paper, yet completely defeat its purpose.

Zhong Yu

On Tue, Jul 17, 2012 at 3:31 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-07-17 21:45, Osama Mazahir wrote:
>>
>> As it is currently, 100-continue is problematic.  The situation is tricky
>> because the client is not forced to wait for the 100/417/4xx (i.e. client is
>> allowed to timeout and send the entity body).  Thus, the server does not
>> have a deterministic way to now if the next byte after the double CRLF is
>> the first byte of the next request or the first byte of the entity body (of
>> the initial request).  This results in connections getting closed in various
>> edge/error cases.
>>
>> 100-continue is almost there but if we wanted to use it in a robust manner
>> in HTTP2 then I think we would have to revisit its specification.
>> ...
>
>
> Well, we are revising RFC 2616, and if something is broken here we should
> consider to fix it. Or, minimally, document the problem.
>
> If I understand correctly, this will happen if the client sends "Expect:
> 100-continue", the server is slow to return an error status, and the client
> decides to give up waiting for the 100 status, and continues?
>
> Best regards, Julian
>
>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:50:39 2012
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 A213321F8713 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:50:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 rdiS74K8zibJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:50:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E9C4221F86FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:50:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWWv-0004IQ-LQ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:51:13 +0000
Resent-Date: Wed, 18 Jul 2012 15:51:13 +0000
Resent-Message-Id: <E1SrWWv-0004IQ-LQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SrWWm-0004Ap-8f for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:51:04 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1SrWWh-00026s-IA for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:51:04 +0000
Received: by vcdd16 with SMTP id d16so838240vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 08:50:33 -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=qZCBuaANdZ43F0UAdJf99Q8HmNyE/poOdbrDKr4fBcc=; b=Bk6Dmr9+TJvVByy46jJsDuHzix79leBMPRNq6zckLCz4XRhFUM823QgXVsoWnz00r8 ycOCA+1z2o8jb7GxDV0MhF25P85AMqDV/xicluhAaydevJAtAmFmeUmtZXQ2HtRryJNQ wBIrN3CW7SX1l063UCok3+vJIEe/w/Lp3nP4pkSxXeVqwLjL7+gz2OvunH1nqmz5cqxB 8qlOjyyBYJNct4PxunKz2ushgLymJ6HE4Mc8pyZX82pYJhQ10sAOgMBMMnLeZLd/y/Q0 3Mp3pRMH2Drm5WKsPFXAMOCmOehB1QEbn5i5YDLIy2WH9yBd8ozuGwC8wuPaBJ5aduc2 tQRw==
MIME-Version: 1.0
Received: by 10.220.119.134 with SMTP id z6mr1066184vcq.62.1342626633725; Wed, 18 Jul 2012 08:50:33 -0700 (PDT)
Received: by 10.58.244.196 with HTTP; Wed, 18 Jul 2012 08:50:33 -0700 (PDT)
In-Reply-To: <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org>
Date: Wed, 18 Jul 2012 08:50:33 -0700
Message-ID: <CAPik8yZgXkhN+KAd_dSJShKp3BZPpTxENALj-OizjDmUX-UZBQ@mail.gmail.com>
From: Paul Hoffman <paul.hoffman@gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.220.171; envelope-from=paul.hoffman@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrWWh-00026s-IA 3027030c024bcd30cf06cbf7008e0d99
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Protocol Design 101 (Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAPik8yZgXkhN+KAd_dSJShKp3BZPpTxENALj-OizjDmUX-UZBQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14503
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>

Given your views, would it be a good protocol design to require TLS
for server authentication, and to allow but not require encryption?
That is, do you think HTTP 2.0 with no mandatory server authentication
is a good or bad protocol design?

--Paul Hoffman


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 08:58:14 2012
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 707C921F8608 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.52
X-Spam-Level: 
X-Spam-Status: No, score=-10.52 tagged_above=-999 required=5 tests=[AWL=0.079, BAYES_00=-2.599, 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 BknaKpNnlU3S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 08:58:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 88D7721F85F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 08:58:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWdw-0006OO-5Z for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 15:58:28 +0000
Resent-Date: Wed, 18 Jul 2012 15:58:28 +0000
Resent-Message-Id: <E1SrWdw-0006OO-5Z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SrWdi-0006Mk-MG for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 15:58:14 +0000
Received: from ams-iport-4.cisco.com ([144.254.224.147]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SrWdh-0002Qg-Kk for ietf-http-wg@w3.org; Wed, 18 Jul 2012 15:58:14 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=1491; q=dns/txt; s=iport; t=1342627093; x=1343836693; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=cg+p3s/DDcVePx3R0T5S4GHdWAGyjMob6tg0PpnC+iU=; b=DRqZOeChvTAlZXO6HBQw2ANXrSiK8SCWmIbIjAaEAWVtpFMz3TCWQX8x isjfPzju+XH7CCczewUKCpqiy6tFDxqQWjem1fFcnRhTPThV7K9wZAdDO NCq/28QmChNJyhqf502MhYPvqXCCJz/l2O2YgHHKqiaai3TemIMNnK3K5 c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFALrbBlCQ/khM/2dsb2JhbABFhWqzSYEHgiABAQEDARIBEFUGCwsaAgUWCwICCQMCAQIBRQYBDAgBAR6HZQaeB40ZkwiBII9dgRIDlUSOI4FmgmE
X-IronPort-AV: E=Sophos;i="4.77,610,1336348800";  d="scan'208";a="6733408"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-4.cisco.com with ESMTP; 18 Jul 2012 15:57:47 +0000
Received: from elear-mac.local (ams3-vpn-dhcp5855.cisco.com [10.61.86.222]) by ams-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q6IFvkap013552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2012 15:57:47 GMT
Message-ID: <5006DCFA.3060305@cisco.com>
Date: Wed, 18 Jul 2012 17:57:46 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>  <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>  <20120718060936.GC5875@1wt.eu>  <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>  <5006C08A.6000608@cisco.com> <1342624513.30417.53.camel@ds9>
In-Reply-To: <1342624513.30417.53.camel@ds9>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.147; envelope-from=lear@cisco.com; helo=ams-iport-4.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1SrWdh-0002Qg-Kk 609dded185967d75e56df8848436a1d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/5006DCFA.3060305@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14504
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 Patrick,

> Your point is incredibly important, is absolutely intertwined, and
> deserves lots of attention. I feel like focus in that area is building
> but there is nothing to show for it yet.

Thanks.  I agree.

> However, its not an inherently
> unsolvable problem and thus I really disagree with the "red herring"
> claim.
What I meant by red herring is that I haven't heard anyone object to the
assertion that privacy is good.  I'm just concerned that mandating
crypto without thinking about the UI implications could make things
worse.  I do not know how hard the problem is.  It's not like we haven't
been looking at reputation/certification elsewhere, but more work is
required, as you mention above.

Mozilla and other browser developers are in a very good position to
discuss what user indications might work versus what might not, and what
the protocol implications are.  Also, I'm reminded that because HTTP is
used for everything in the world, the applicability of this work could
be circumscribed to try to make some of these issues more tractable
(like whether a user is present).

>  Transport security needs to be used more widely and we also need
> to make the transport security work better.

Sure.
>
> I don't think that means throwing away TLS (or even the way PKI is
> managed) in favor of something else, but I'm open to a different
> strategy that achieves the same goals. I think everyone is.

Sure.
Warmest regards,

Eliot


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:03:00 2012
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 6813921F8738 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:03:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.98
X-Spam-Level: 
X-Spam-Status: No, score=-8.98 tagged_above=-999 required=5 tests=[AWL=1.619, BAYES_00=-2.599, 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 XtH7ZkCs3O7I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:02:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7409511E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:02:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWiM-0002sr-NL for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:03:02 +0000
Resent-Date: Wed, 18 Jul 2012 16:03:02 +0000
Resent-Message-Id: <E1SrWiM-0002sr-NL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrWiC-0002rB-RG for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:02:52 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrWi7-0002cv-K5 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:02:52 +0000
Received: by vbbfq11 with SMTP id fq11so1361444vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 09:02:21 -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=4WcCQatJ1eD93NkuRaN6qRD0pqdKIxJ2myR0vHaRunc=; b=EUJg0IaPKOutbHC3CJGjxRwG15K6G+QcWA7WpfuxCGlV0VMMAdO8Rf7cixFhYO1co6 rcMhIp3nWR/2/IuH86Ye11gPF6J+Kh1jtpxlPkO7t//A9TJb63Yu9yyaZyKDwPuAHRF5 khmqMuG/v0m19hBheEKpETYDtBl5PfLrZOxS83dNdjQA3Yu5XW85fECTf45fNscYnsdT VtJNJi/K70Bf6NIzmSghpkrIkn5PqbZldDx2VCWDa7ZCZx4Ohyd8JXuSF9K1kBHcw+e9 MZnO83zMlo5WGcIlFII3xpyAsXLi7LqOm1ypg4SBX47z8wZ2dzCXw9UiTNmlIUQQs6C1 l4KQ==
MIME-Version: 1.0
Received: by 10.52.26.240 with SMTP id o16mr1015088vdg.20.1342627341698; Wed, 18 Jul 2012 09:02:21 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 09:02:21 -0700 (PDT)
In-Reply-To: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
Date: Wed, 18 Jul 2012 12:02:21 -0400
Message-ID: <CAMm+LwhO7S6L1qvjfq6RYy5+rz_YSAMxHwkGzPpOoe+wAMxyvg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: Eliot Lear <lear@cisco.com>, Mike Belshe <mike@belshe.com>, Willy Tarreau <w@1wt.eu>,  Paul Hoffman <paul.hoffman@gmail.com>, grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrWi7-0002cv-K5 5912e0ca7ddb0a0a7c2a0abb9ba88bfa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAMm+LwhO7S6L1qvjfq6RYy5+rz_YSAMxHwkGzPpOoe+wAMxyvg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14505
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>

No what is being said is.

a) Privacy is a requirement in certain applications
b) Mandating confidentiality does not guarantee privacy
c) Mandating one particular approach to confidentiality does not
guarantee privacy
d) The proposed approach is only designed to meet a specific set of
requirements
e) The cost of doing it right is greater than many implementations will bea=
r


I am all for TLS, our business depends on it.

I have demonstrated a use case where encryption MUST NOT be used. Can
anyone show me a Web browser that does not support TLS? I don't think
there is one.

I am also all for being pro-user except when there are no users which
is actually a major set of use cases for HTTP/1.1.


Also note that the mere presence of a mandate in an IETF spec isn't
worth the paper it is not written on. NO browser that is in use today
implements PKIX according to the spec and no browser provider intends
to comply unless the spec is changed. I can't see how a TLS mandate
would be any more successful.


On Wed, Jul 18, 2012 at 11:09 AM, Tim Bray <tbray@textuality.com> wrote:
> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear <lear@cisco.com> wrote:
>>> Show me the user that will stand up and say, "Yes, I would like my
>>> communications to be snoopable and changeable by 3rd parties without my
>>> knowledge."
>>
>>
>> This is a red herring.  The real argument is around the ability of all w=
eb
>> servers to get certificates
>
> This pattern keeps coming up.
> A: =93Privacy is good=94
> B: =93No, because the technology is currently too expensive/unreliable=94
>
> Uh... privacy is good.  -T



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:03:45 2012
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 1D44B21F879C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:03:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 XO144jwRYnGy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:03:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 736ED21F877B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:03:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWjU-000340-Nd for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:04:12 +0000
Resent-Date: Wed, 18 Jul 2012 16:04:12 +0000
Resent-Message-Id: <E1SrWjU-000340-Nd@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrWjL-00033F-8T for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:04:03 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrWjG-0002hx-Ug for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:04:03 +0000
Received: by vbbfq11 with SMTP id fq11so1362720vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 09:03:33 -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=tQEv5nWlARYC5Trmd/0PuFL0DN3jtsD4DaFeLEfnNXs=; b=KQw0gIUjDe5h8hZTd4B4FCvjoARYMI2tTZurknsmSmimxG0UcUhGAsvy39KDgCCqZ/ swDbBcqYs+GNkuIwSE7yia/hUpYih9DTBn5W5x+EYINFFCTGt53LgC1iwfO9l0l8ORjt uKXP5BSAnyxPxk4KBEzX4IcJF03OBt7wmRfw7/pTxqNmUgeRMyY0Tt9r8Va/ReJju+a9 hkEAyeVXouXcv5k0ILb6WjUR9FmBxsrAA+Lfc3RFRzstEMYebSuRbuZmiyplbShwWxA6 +nb29PEHjrd6ajfl4ucwj/o2B4xO9QW8I8wEXd7UZ/u7RvwVQiekElAL4DRMRVmhnGct RaWQ==
MIME-Version: 1.0
Received: by 10.220.225.194 with SMTP id it2mr1146544vcb.32.1342627413082; Wed, 18 Jul 2012 09:03:33 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 09:03:32 -0700 (PDT)
In-Reply-To: <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com> <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com>
Date: Wed, 18 Jul 2012 11:03:32 -0500
Message-ID: <CACuKZqHek-_n6fA91TKhuQLXcJqAs7GsaKyseQLYxnqaz6ziow@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: grahame@healthintersections.com.au, "Adrien W. de Croy" <adrien@qbik.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrWjG-0002hx-Ug a77733ce2ca5d9287e1cf6aca77e1efe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CACuKZqHek-_n6fA91TKhuQLXcJqAs7GsaKyseQLYxnqaz6ziow@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14506
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>

If TLS is mandated, yet NULL cipher is acceptable, what was the point
of mandating TLS in the first place?

On Tue, Jul 17, 2012 at 11:24 PM, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve <grahame@kestral.com.au>
> wrote:
>>
> Naw - this is not a big deal.  For instance, a server can send a NULL cipher
> to the client.  In normal modes, browsers will reject the NULL cipher and
> not negotiate it.  however, you can use command line flags to allow it.
>
> We do this all the time.  Another example is for turning on
> same-origin-policy.  Browsers often have debugging modes for turning it off.
> You have to run the browser in a special, techie, opt-in way to do it, but
> it is there.
>
> I used these all the time when developing in Chrome.
>
> Mike
>
>
>>
>>
>> Grahame
>
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:10:15 2012
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 D43C921F8736 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:10:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 hMoPaOklnTTw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:10:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D3FA421F8678 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:10:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWp6-0005nY-UQ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:10:00 +0000
Resent-Date: Wed, 18 Jul 2012 16:10:00 +0000
Resent-Message-Id: <E1SrWp6-0005nY-UQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrWow-0005mL-Ns for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:09:50 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrWos-00034y-GC for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:09:50 +0000
Received: by weyx43 with SMTP id x43so1154578wey.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 09:09:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=4T/Qv4Ud9U/3SilaLWWJpvz7oJh7g/Pj4/4Enizl738=; b=WS+h+ix1CsvAI30Qu7UHT3L+pWkrJpwWe+vQ/YvYgIONjhVVZYt8vMwxYwpKif3CnK eGHd2GjU5RTGLNneEpAXLf4Dxj5aFlk0AV4HgCIanzqaDm0zPE6QwMbbOTSuR288KHL/ Lru/Vsk2hMIJQpCaWUEoxJgjzzGU8Dr8qVjaZ9rrzBXu7wTcTFpqgkAjTf5p6eOUn9s/ mBGVD1enTG2DUPCT2Q786eftNW/660Tsiq0xtOgxzPsnlW4wqr4d5DhzSkBfmgYl+zku l2fDzPt3TtgIa03jzbNhpXVpS44oFo+pCCMa1o33LWPFLdQMZ/zgZF5bEGRaOlV7LExY Ie3w==
Received: by 10.180.97.33 with SMTP id dx1mr7910243wib.18.1342627759703; Wed, 18 Jul 2012 09:09:19 -0700 (PDT)
Received: from [192.168.1.10] (ALagny-551-1-67-174.w86-218.abo.wanadoo.fr. [86.218.66.174]) by mx.google.com with ESMTPS id fr4sm49253470wib.8.2012.07.18.09.09.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 09:09:18 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <CACuKZqHek-_n6fA91TKhuQLXcJqAs7GsaKyseQLYxnqaz6ziow@mail.gmail.com>
Date: Wed, 18 Jul 2012 18:09:13 +0200
Cc: Mike Belshe <mike@belshe.com>, grahame@healthintersections.com.au, "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B06B4935-620D-4432-9281-0BC0F0F205D4@bblfish.net>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com> <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com> <CACuKZqHek-_n6fA91TKhuQLXcJqAs7GsaKyseQLYxnqaz6ziow@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQlkvEct3gc1Z5E0N6Vyb6Y6mPav6Stz3ovgwS47ColyqSoZj+pLvBUPbgdmKPRN6/5mpIY6
Received-SPF: none client-ip=74.125.82.171; envelope-from=henry.story@bblfish.net; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrWos-00034y-GC 3cf8edfef3389b35dc3919d3cccc09ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/B06B4935-620D-4432-9281-0BC0F0F205D4@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14507
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 18 Jul 2012, at 18:03, Zhong Yu wrote:

> If TLS is mandated, yet NULL cipher is acceptable, what was the point
> of mandating TLS in the first place?

You get the security that the information was not corrupted along the =
way.
The User experience really needs to make that visible, but that's not a =
problem
with TLS.


>=20
> On Tue, Jul 17, 2012 at 11:24 PM, Mike Belshe <mike@belshe.com> wrote:
>>=20
>>=20
>> On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve =
<grahame@kestral.com.au>
>> wrote:
>>>=20
>> Naw - this is not a big deal.  For instance, a server can send a NULL =
cipher
>> to the client.  In normal modes, browsers will reject the NULL cipher =
and
>> not negotiate it.  however, you can use command line flags to allow =
it.
>>=20
>> We do this all the time.  Another example is for turning on
>> same-origin-policy.  Browsers often have debugging modes for turning =
it off.
>> You have to run the browser in a special, techie, opt-in way to do =
it, but
>> it is there.
>>=20
>> I used these all the time when developing in Chrome.
>>=20
>> Mike
>>=20
>>=20
>>>=20
>>>=20
>>> Grahame
>>=20
>>=20
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:15:53 2012
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 9662321F87C3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:15:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.001
X-Spam-Level: 
X-Spam-Status: No, score=-9.001 tagged_above=-999 required=5 tests=[AWL=1.598, BAYES_00=-2.599, 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 0wYdWDXcIexu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:15:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC4A921F8792 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:15:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrWux-00048R-TP for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:16:03 +0000
Resent-Date: Wed, 18 Jul 2012 16:16:03 +0000
Resent-Message-Id: <E1SrWux-00048R-TP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrWuo-00044p-FZ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:15:54 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrWuj-0003R4-MX for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:15:54 +0000
Received: by vbbfq11 with SMTP id fq11so1374198vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 09:15:24 -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=2/6MALLQn7tRD4DyDkNty/LLZxuqHsHDOEXUWrcz6i8=; b=S9ehcbewDRuG1N2VpSZbAzuN6QF26Sk57VaiITVAToMIrgyXueV1ziI9zZcFf/vy8c 5v5hPMv5tspT9TTdO7l+0V+Bmyr9h7gbvP4J/mkD2HpLMsI3D7LNpjHWk8AIOL+wex1w m91RDjK+FZvbuTkXK/2HjY5k4nvww7x7qKeRqreWhTNBXRwxpa9d7sGmkg9UrmPx2mBZ 954Pd9VrzcfcYH6aqPJA5fqldQ/XzHwZprqa28bqLySK8eNSsykjOCl0AChhRD2xgRRU 5A3lyfVM2210PzxeDatFk+qryBiaMQfuz6yozP4+Juqd6coH5WZ0quFwKr+P1fqhEPcy GhFw==
MIME-Version: 1.0
Received: by 10.220.241.201 with SMTP id lf9mr1193421vcb.16.1342628123685; Wed, 18 Jul 2012 09:15:23 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 09:15:23 -0700 (PDT)
In-Reply-To: <CAPik8yZgXkhN+KAd_dSJShKp3BZPpTxENALj-OizjDmUX-UZBQ@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org> <CAPik8yZgXkhN+KAd_dSJShKp3BZPpTxENALj-OizjDmUX-UZBQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 12:15:23 -0400
Message-ID: <CAMm+LwiBi-+hwLY58=f2moGvrr3gQwy9acok8_r5R8eGFDL34Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Hoffman <paul.hoffman@gmail.com>
Cc: Carsten Bormann <cabo@tzi.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrWuj-0003R4-MX 46f156e3e16b9aa53d79e786a1b00759
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Protocol Design 101 (Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAMm+LwiBi-+hwLY58=f2moGvrr3gQwy9acok8_r5R8eGFDL34Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14508
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>

Requiring TLS for server authentication would still be bad design
because the security requirement in most cases is mutual
authentication and TLS without encryption is not a good approach to
mutual auth.



On Wed, Jul 18, 2012 at 11:50 AM, Paul Hoffman <paul.hoffman@gmail.com> wrote:
> Given your views, would it be a good protocol design to require TLS
> for server authentication, and to allow but not require encryption?
> That is, do you think HTTP 2.0 with no mandatory server authentication
> is a good or bad protocol design?
>
> --Paul Hoffman
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:21:41 2012
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 504B621F8798 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:21:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.339
X-Spam-Level: 
X-Spam-Status: No, score=-8.339 tagged_above=-999 required=5 tests=[AWL=2.260, BAYES_00=-2.599, 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 8-BG7-qWF5Er for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:21:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7DAF821F8795 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:21:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrX0m-00064c-W8 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:22:05 +0000
Resent-Date: Wed, 18 Jul 2012 16:22:04 +0000
Resent-Message-Id: <E1SrX0m-00064c-W8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrX0d-00062G-DJ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:21:55 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SrX0W-0003mN-S6 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:21:55 +0000
Received: (qmail invoked by alias); 18 Jul 2012 16:20:26 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp035) with SMTP; 18 Jul 2012 18:20:26 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18yjNYxMX4yyGqs1KzqY472vA7+6WK7lPTkdMjozN qJtIV5yZUqtYXo
Message-ID: <5006E247.2080305@gmx.de>
Date: Wed, 18 Jul 2012 18:20:23 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <CACuKZqHCypMb6Pr5Hfnccca8jp==Bg9s+NPh3UgY5fURzy=YkA@mail.gmail.com>
In-Reply-To: <CACuKZqHCypMb6Pr5Hfnccca8jp==Bg9s+NPh3UgY5fURzy=YkA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrX0W-0003mN-S6 ec79c1471ae498456227d15ab8c749c6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/5006E247.2080305@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14510
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 2012-07-18 17:48, Zhong Yu wrote:
> I don't think the spec is broken on 100-continue.
>
> However, as a practical matter, how many servers *really* support the
> mechanism? As far as I know, all major Java implementations
> immediately send back a "HTTP/1.1 100 Continue\r\n\r\n" response if
> the request carries header "Expect: 100-continue". Therefore they
> support the feature on paper, yet completely defeat its purpose.
>
> Zhong Yu

I believe Jetty does the right thing (it waits until the servlet 
actually gets the input stream).

And yes, it *is* very frustrating that the servlet EG apparently hasn't 
defined this yet (although I have to admit that I have given up on 
checking).

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:21:41 2012
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 EC3F421F8714 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:21:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 CvIINyiza9vU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:21:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E950921F877B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:21:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrX0Y-00062D-RK for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:21:50 +0000
Resent-Date: Wed, 18 Jul 2012 16:21:50 +0000
Resent-Message-Id: <E1SrX0Y-00062D-RK@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 1SrX0P-0005zW-4X for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:21:41 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrX0N-0001pM-Tg for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:21:41 +0000
Received: by vcdd16 with SMTP id d16so868628vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 09:21:13 -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=Kql2NOBrqVc5IVoG5LBScJOX/cFtHd+czyt3MIGz/ck=; b=lp5w3a39FCKKD0E9EvQ+8g3pTluz4Qb7wp0UplduSIUAG94QHGIC95j4GVA5W7qjYn 6Vbpfxs1ly6Ym7N+i0l17zIQGDSImjiBRFtwIIPKqntbIX1YkyF2RqIuxR8Ek9uJtC+W pjReVnQ2+7JB6SYY/ROvw73JajzeBiZHD7FqN1QEKZpOqmMrAvjV+gZtGFUJfY/fyVRZ xl5d6QyBcVQ0ocITxoWWZVD5/sgoMYZQEtlg89zMTBbxuvd/A45t4O3fNe868co/QDYX di0mjcAjyvT86z9VhJFDmBtZlZY0IwL0fIkYlJWT8QPC6dLNoMyn1P69c00EydOo91Nq N7YQ==
MIME-Version: 1.0
Received: by 10.52.97.41 with SMTP id dx9mr984486vdb.89.1342628473728; Wed, 18 Jul 2012 09:21:13 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 09:21:13 -0700 (PDT)
In-Reply-To: <B06B4935-620D-4432-9281-0BC0F0F205D4@bblfish.net>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com> <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com> <CACuKZqHek-_n6fA91TKhuQLXcJqAs7GsaKyseQLYxnqaz6ziow@mail.gmail.com> <B06B4935-620D-4432-9281-0BC0F0F205D4@bblfish.net>
Date: Wed, 18 Jul 2012 11:21:13 -0500
Message-ID: <CACuKZqFHRLeCvjtWjBT=QfgW21Z2wvK_z_YoSNxmKJyMJO-riQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Henry Story <henry.story@bblfish.net>
Cc: Mike Belshe <mike@belshe.com>, grahame@healthintersections.com.au,  "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrX0N-0001pM-Tg dd85cc6e4e8d799ce634326a0a30008c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CACuKZqFHRLeCvjtWjBT=QfgW21Z2wvK_z_YoSNxmKJyMJO-riQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14509
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>

That's nice, but I don't think content tempering is a major concern in
this discussion.

On Wed, Jul 18, 2012 at 11:09 AM, Henry Story <henry.story@bblfish.net> wrote:
>
> On 18 Jul 2012, at 18:03, Zhong Yu wrote:
>
>> If TLS is mandated, yet NULL cipher is acceptable, what was the point
>> of mandating TLS in the first place?
>
> You get the security that the information was not corrupted along the way.
> The User experience really needs to make that visible, but that's not a problem
> with TLS.
>
>
>>
>> On Tue, Jul 17, 2012 at 11:24 PM, Mike Belshe <mike@belshe.com> wrote:
>>>
>>>
>>> On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve <grahame@kestral.com.au>
>>> wrote:
>>>>
>>> Naw - this is not a big deal.  For instance, a server can send a NULL cipher
>>> to the client.  In normal modes, browsers will reject the NULL cipher and
>>> not negotiate it.  however, you can use command line flags to allow it.
>>>
>>> We do this all the time.  Another example is for turning on
>>> same-origin-policy.  Browsers often have debugging modes for turning it off.
>>> You have to run the browser in a special, techie, opt-in way to do it, but
>>> it is there.
>>>
>>> I used these all the time when developing in Chrome.
>>>
>>> Mike
>>>
>>>
>>>>
>>>>
>>>> Grahame
>>>
>>>
>>
>
> Social Web Architect
> http://bblfish.net/
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:22:02 2012
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 08DC721F8797 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.585
X-Spam-Level: 
X-Spam-Status: No, score=-8.585 tagged_above=-999 required=5 tests=[AWL=2.014, BAYES_00=-2.599, 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 kMH4gVbOLI8D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:21:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 569EE21F8714 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:21:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrX1J-0006Fq-Df for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:22:37 +0000
Resent-Date: Wed, 18 Jul 2012 16:22:37 +0000
Resent-Message-Id: <E1SrX1J-0006Fq-Df@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1SrX19-00069d-CW for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:22:27 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1SrX15-0003oE-7a for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:22:27 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q6IGLr9m021961; Wed, 18 Jul 2012 18:21:53 +0200 (CEST)
Received: from [192.168.217.117] (p54893C3E.dip.t-dialin.net [84.137.60.62]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 8FC6A52C; Wed, 18 Jul 2012 18:21:53 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAPik8yZgXkhN+KAd_dSJShKp3BZPpTxENALj-OizjDmUX-UZBQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 18:21:52 +0200
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <502FD182-141A-4D77-A343-D352866EF55C@tzi.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org> <CAPik8yZgXkhN+KAd_dSJShKp3BZPpTxENALj-OizjDmUX-UZBQ@mail.gmail.com>
To: Paul Hoffman <paul.hoffman@gmail.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrX15-0003oE-7a 1d31c931c61f738659ef51201664a009
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Protocol Design 101 (Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/502FD182-141A-4D77-A343-D352866EF55C@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14511
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 Jul 18, 2012, at 17:50, Paul Hoffman wrote:

> Given your views, would it be a good protocol design to require TLS
> for server authentication, and to allow but not require encryption?
> That is, do you think HTTP 2.0 with no mandatory server authentication
> is a good or bad protocol design?

I don't think there is a big difference between encryption and =
authentication in this argument.
Authentication only is indeed lower-cost: It carries a lower processing =
cost than encryption, and more importantly it does not reduce the =
visibility by intermediaries (firewalls, debugging setups, surveillance) =
as much.  But there is still considerable onus on the process side =
(getting the certificates out to both ends etc.; deciding what trust =
models for establishing authentication are appropriate in the first =
place...).

My summary would be that designing the protocol so it forces mandatory =
authentication is just the same mistake, only less so.

None of this argument is against the mechanism of TLS by the way: we =
could run TLS with null encryption and permissive authentication.
But then we are down to cost arguments (round trips, complexity etc.).  =
If "address ownership" is the right level of authentication for an =
application (say, getting today's weather maps), I'd say use it.  The =
trouble here is that we hide the quality of that authentication from =
users (think DSL at home vs. open WiFi at Starbucks).  We need to expose =
more of these leaky abstractions!

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:23:55 2012
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 EE46421F87C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:23:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 3hzRs0me1ZK5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:23:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 82A3521F87C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:23:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrX2w-0006fY-AF for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:24:18 +0000
Resent-Date: Wed, 18 Jul 2012 16:24:18 +0000
Resent-Message-Id: <E1SrX2w-0006fY-AF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <watsonm@netflix.com>) id 1SrX2m-0006ee-By for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:24:08 +0000
Received: from exout101.netflix.com ([69.53.237.162] helo=exout103.netflix.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <watsonm@netflix.com>) id 1SrX2k-0001vV-O6 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:24:08 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=s1024;d=netflix.com; h=from:to:cc:subject:date:message-id:references:in-reply-to :content-type:mime-version; bh=B1jscpInp910FzXL+gONfKT9jg8=; b=Ym7CA5V6ajNPHO5GgKt4CXcf9Nxqu1XL2O7k4UbELl+LHluid2DsssjUq2reSjd/EbD8H2fM +7+EzMiNgbm3pQ4hY5VuS1o6745liapsonQWQh3Ej+qsfmleaukP+UjGLE6j59fknG/KyIYo iZf/DjKeMT5Psc7GSHtQZW7sg0Y=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;d=netflix.com; h=from:to:cc:subject:date:message-id:references:in-reply-to :content-type:mime-version; b=F7epgfVtdPOf3oveH0B3sza95UxziSq6s4At+RipDdqqj7bM2Y6qlmuo318KJRn+PR0La0Ts 1f9vVLtLcCd4oDSVM/zFnCBiBpGHUcBxk3gUX7Zb+E1+FHqszRZeMcJxy4pJrOe14UwSWKcM wMBj8rjRwnxp609N13M4oSYtW0o=
Received: from EXFE103.corp.netflix.com (10.64.32.103) by exout103.netflix.com (10.64.240.73) with Microsoft SMTP Server (TLS) id 14.2.298.4; Wed, 18 Jul 2012 09:25:24 -0700
Received: from EXMB106.corp.netflix.com ([169.254.6.139]) by exfe103.corp.netflix.com ([10.64.32.103]) with mapi id 14.02.0283.003; Wed, 18 Jul 2012 09:23:39 -0700
From: Mark Watson <watsonm@netflix.com>
To: Carsten Bormann <cabo@tzi.org>
CC: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: Protocol Design 101 (Re: Mandatory encryption)
Thread-Index: AQHNZPsE6yuQ851kIUSf9mfRozCEpJcvrgKA
Date: Wed, 18 Jul 2012 16:23:39 +0000
Message-ID: <5567E1B7-BD5B-42E3-886B-45771CB3B18F@netflix.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org>
In-Reply-To: <2EA0DBB6-BBF1-461D-8E96-D2992EB51389@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.64.32.81]
Content-Type: multipart/alternative; boundary="_000_5567E1B7BD5B42E3886B45771CB3B18Fnetflixcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=69.53.237.162; envelope-from=watsonm@netflix.com; helo=exout103.netflix.com
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrX2k-0001vV-O6 4c110d59c0d1d7a6319486104d8164f7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Protocol Design 101 (Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/5567E1B7-BD5B-42E3-886B-45771CB3B18F@netflix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14512
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>

--_000_5567E1B7BD5B42E3886B45771CB3B18Fnetflixcom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

+1

I do encourage people to read the "tussle" paper: http://groups.csail.mit.e=
du/ana/Publications/PubPDFs/Tussle%20in%20Cyberspace%20Defining%20Tomorrows=
%20Internet%202005's%20Internet.pdf

=85Mark

On Jul 18, 2012, at 8:34 AM, Carsten Bormann wrote:

On Jul 18, 2012, at 17:09, Tim Bray wrote:

Privacy is good

Ah, nice, another textbook example for Protocol Design 101 is in the
process of being made.

To the people who want "mandatory encryption" because "privacy is good":

You are designing a mechanism (here: HTTP 2.0).  If you happen to like
a certain policy (here: good privacy) today, you may be tempted to
cripple the mechanism so it only "allows" that policy.

Unless the policy comes with zero cost and is universally accepted,
this sets you up for failure:

1) People who don't like your favorite policy will not use your
  mechanism.  Worse, rational people who know that their potential
  peers might not like the policy will not use your mechanism.  And
  rational people who know that there are the second kind of people
  will not use it either, and so on.
  The transitive closure is empty, but for a few zealots.
2) You may (read: will) find out later that you didn't think of the
  use cases for the mechanism where the policy is useless or actively
  hurts.

If you don't understand how this works, it is nicely documented in
Dave Clark et al.'s famous "tussle" paper.

As a general rule, mechanisms MUST be neutral to the outcome of
tussles.  Design for choice.

(Now there are exceptions to this rules, where a mechanism is actually
being designed for a new applications space that is properly delimited
by the applicability of the policy.  Creating a putative replacement
for a protocol as ubiquitous as HTTP is NOT this case.)

That'll be your lecture for the day :-)
Now the assignment:

What we really should be working on is removing the obstacles we have
today for widely deploying privacy-enhancing mechanisms.  (Hint for
solving this assignment: Designing an NG protocol with "mandatory
encryption" is not helping in this at all.)

Gr=FC=DFe, Carsten





--_000_5567E1B7BD5B42E3886B45771CB3B18Fnetflixcom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <754E14F13D48C7499105811E3CFDF1D1@netflix.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; ">
&#43;1
<div><br>
</div>
<div>I do encourage people to read the &quot;tussle&quot; paper:&nbsp;<a hr=
ef=3D"http://groups.csail.mit.edu/ana/Publications/PubPDFs/Tussle in Cybers=
pace Defining Tomorrows Internet 2005's Internet.pdf">http://groups.csail.m=
it.edu/ana/Publications/PubPDFs/Tussle%20in%20Cyberspace%20Defining%20Tomor=
rows%20Internet%202005's%20Internet.pdf</a></div>
<div><br>
</div>
<div>=85Mark</div>
<div><br>
<div>
<div>On Jul 18, 2012, at 8:34 AM, Carsten Bormann wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div>On Jul 18, 2012, at 17:09, Tim Bray wrote:<br>
<br>
<blockquote type=3D"cite">Privacy is good<br>
</blockquote>
<br>
Ah, nice, another textbook example for Protocol Design 101 is in the<br>
process of being made.<br>
<br>
To the people who want &quot;mandatory encryption&quot; because &quot;priva=
cy is good&quot;:<br>
<br>
You are designing a mechanism (here: HTTP 2.0). &nbsp;If you happen to like=
<br>
a certain policy (here: good privacy) today, you may be tempted to<br>
cripple the mechanism so it only &quot;allows&quot; that policy.<br>
<br>
Unless the policy comes with zero cost and is universally accepted,<br>
this sets you up for failure:<br>
<br>
1) People who don't like your favorite policy will not use your<br>
&nbsp;&nbsp;mechanism. &nbsp;Worse, rational people who know that their pot=
ential<br>
&nbsp;&nbsp;peers might not like the policy will not use your mechanism. &n=
bsp;And<br>
&nbsp;&nbsp;rational people who know that there are the second kind of peop=
le<br>
&nbsp;&nbsp;will not use it either, and so on.<br>
&nbsp;&nbsp;The transitive closure is empty, but for a few zealots.<br>
2) You may (read: will) find out later that you didn't think of the<br>
&nbsp;&nbsp;use cases for the mechanism where the policy is useless or acti=
vely<br>
&nbsp;&nbsp;hurts.<br>
<br>
If you don't understand how this works, it is nicely documented in<br>
Dave Clark et al.'s famous &quot;tussle&quot; paper.<br>
<br>
As a general rule, mechanisms MUST be neutral to the outcome of<br>
tussles. &nbsp;Design for choice.<br>
<br>
(Now there are exceptions to this rules, where a mechanism is actually<br>
being designed for a new applications space that is properly delimited<br>
by the applicability of the policy. &nbsp;Creating a putative replacement<b=
r>
for a protocol as ubiquitous as HTTP is NOT this case.)<br>
<br>
That'll be your lecture for the day :-)<br>
Now the assignment:<br>
<br>
What we really should be working on is removing the obstacles we have<br>
today for widely deploying privacy-enhancing mechanisms. &nbsp;(Hint for<br=
>
solving this assignment: Designing an NG protocol with &quot;mandatory<br>
encryption&quot; is not helping in this at all.)<br>
<br>
Gr=FC=DFe, Carsten<br>
<br>
<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_5567E1B7BD5B42E3886B45771CB3B18Fnetflixcom_--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 09:27:04 2012
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 504F711E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:27:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 s-gxgCMSt9vN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 09:27:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D38221F87C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 09:27:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrX5h-00005c-5K for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 16:27:09 +0000
Resent-Date: Wed, 18 Jul 2012 16:27:09 +0000
Resent-Message-Id: <E1SrX5h-00005c-5K@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrX5X-0008WC-BE for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 16:26:59 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrX5V-00024P-Rt for ietf-http-wg@w3.org; Wed, 18 Jul 2012 16:26:59 +0000
Received: by wibhq4 with SMTP id hq4so1322478wib.8 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 09:26:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=lYskeT7QH1z6C0xbApJ6SSCLOSJaIif02+du4E7192E=; b=TiiJvvzAFSwq4rwjDQLS4Ug3g9xSDdH/K4PJzj50yE16x6ObpYwdxHGlAlLHQV99Fs 3DOQ5xPtBVSqu4ZwJ0YPjvN49+WtkoJPG3mXlA8H7s+wIgSFfxgbFXcD34ieJPEhwOmh z/hp+PhqXEd3X5hoch+J5bLZWeWrVrwYLcgIm7WLgYgwg3QNbFZ+R48R3yFKPc/PXNX/ 4x8XrFNtCPCbmXyFJkZuoPUrd/YfKrFeBoPHHdTgBs0x5+Y6HY+IX/UP6k8ZJD8Slh9p FtrPgQqNqj9+L1+suCuT31dBn80PQleAryQmfqb6utW9bOIF1W5JxomB1WAx/qwDMLYY kPQg==
Received: by 10.180.97.33 with SMTP id dx1mr8019591wib.18.1342628791339; Wed, 18 Jul 2012 09:26:31 -0700 (PDT)
Received: from [192.168.1.10] (ALagny-551-1-67-174.w86-218.abo.wanadoo.fr. [86.218.66.174]) by mx.google.com with ESMTPS id k20sm33348285wiv.11.2012.07.18.09.26.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 09:26:30 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <CACuKZqFHRLeCvjtWjBT=QfgW21Z2wvK_z_YoSNxmKJyMJO-riQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 18:26:24 +0200
Cc: Mike Belshe <mike@belshe.com>, grahame@healthintersections.com.au, "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0FB83020-D95B-4FFD-B51B-2620FAF528A6@bblfish.net>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CABaLYCuSa9YgiFuq9HLTPs2-3twRrQm0xcRNYp=7-DkZWdEVWA@mail.gmail.com> <CAG47hGYP8OVqUbgxUZx=FO-BmbDM_4B6OeQtb0jmBi+R5RECOg@mail.gmail.com> <CABaLYCuJuHqLAjGWA7poVG1A_5YxbMVAo+A9d9nPrHzp0F-o6g@mail.gmail.com> <CACuKZqHek-_n6fA91TKhuQLXcJqAs7GsaKyseQLYxnqaz6ziow@mail.gmail.com> <B06B4935-620D-4432-9281-0BC0F0F205D4@bblfish.net> <CACuKZqFHRLeCvjtWjBT=QfgW21Z2wvK_z_YoSNxmKJyMJO-riQ@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQlYjIUHTFjq+QHwPmjNKRA+/oItZdDxDpSqrykIyvI45U/vQPgO5KBvF8q9OsycIrQMupBv
Received-SPF: none client-ip=209.85.212.179; envelope-from=henry.story@bblfish.net; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrX5V-00024P-Rt f4d00d3d6e11a3b281f85ba33cd3b976
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/0FB83020-D95B-4FFD-B51B-2620FAF528A6@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14513
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 18 Jul 2012, at 18:21, Zhong Yu wrote:

> That's nice, but I don't think content tempering is a major concern in
> this discussion.

It is extremely important to the security of the whole web. Currently
most sites serving web pages over plain HTTP can be man in the middle
attacked. So you read a blog post of a good friend of yours who is =
talking
about some web site, and a man in the middle changes a key link to go
to a site that resembles very much the site of the shop he spoke about =
but
is in fact a pirate shop.

Even if all web sites were to move to null cypher suites, the value in=20=

security to the whole web would be gigantic I believe.

Henry

>=20
> On Wed, Jul 18, 2012 at 11:09 AM, Henry Story =
<henry.story@bblfish.net> wrote:
>>=20
>> On 18 Jul 2012, at 18:03, Zhong Yu wrote:
>>=20
>>> If TLS is mandated, yet NULL cipher is acceptable, what was the =
point
>>> of mandating TLS in the first place?
>>=20
>> You get the security that the information was not corrupted along the =
way.
>> The User experience really needs to make that visible, but that's not =
a problem
>> with TLS.
>>=20
>>=20
>>>=20
>>> On Tue, Jul 17, 2012 at 11:24 PM, Mike Belshe <mike@belshe.com> =
wrote:
>>>>=20
>>>>=20
>>>> On Tue, Jul 17, 2012 at 9:20 PM, Grahame Grieve =
<grahame@kestral.com.au>
>>>> wrote:
>>>>>=20
>>>> Naw - this is not a big deal.  For instance, a server can send a =
NULL cipher
>>>> to the client.  In normal modes, browsers will reject the NULL =
cipher and
>>>> not negotiate it.  however, you can use command line flags to allow =
it.
>>>>=20
>>>> We do this all the time.  Another example is for turning on
>>>> same-origin-policy.  Browsers often have debugging modes for =
turning it off.
>>>> You have to run the browser in a special, techie, opt-in way to do =
it, but
>>>> it is there.
>>>>=20
>>>> I used these all the time when developing in Chrome.
>>>>=20
>>>> Mike
>>>>=20
>>>>=20
>>>>>=20
>>>>>=20
>>>>> Grahame
>>>>=20
>>>>=20
>>>=20
>>=20
>> Social Web Architect
>> http://bblfish.net/
>>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:02:10 2012
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 F0DF211E80F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:02:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.441
X-Spam-Level: 
X-Spam-Status: No, score=-10.441 tagged_above=-999 required=5 tests=[AWL=-0.157, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 OThdrp0YDBTG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:02:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C1F4A11E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:02:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrXdV-0003ao-9Z for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:02:05 +0000
Resent-Date: Wed, 18 Jul 2012 17:02:05 +0000
Resent-Message-Id: <E1SrXdV-0003ao-9Z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrXdH-0003Yv-Da for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:01:51 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrXdG-0005is-4V for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:01:51 +0000
Received: by vbbfq11 with SMTP id fq11so1416154vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:01:24 -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=EB7YhzXpq4vx/bkHc331WPIDlEUDYd7cQw5HFqhdEB4=; b=gUc6XuRvhPzxx190J/+E9GoYVKgiIRjlbz0AyP/JrRE+RXnddvjf23iy4eZE7W1vW0 kyD4HhucmOvGKSvWci/FEfDgDQwKQRRxkivMro295ZHmgn+3E7yMnjvUijJ2FkQaMz/g 2zHEh97rvfRwwYMV2ALzQuCzJJ4maWWqjAiUMrGM2G7Gftxy/TaWwGbaEqpLMB42fK+m pSL0yPdq4NSfSdyU/HDba+XrCAFcfnjshtPhWsUr5Mv9cq+NVdFdQmwRDRQWoIAbfnwZ tjeyy3YuAWFYlfKROVQjpCSk/1RIe9DEVJ0ZX4VLWZO5ukePi+jtX4SniUCaLUfKkD/5 Mb6A==
MIME-Version: 1.0
Received: by 10.220.218.133 with SMTP id hq5mr1199239vcb.60.1342630884190; Wed, 18 Jul 2012 10:01:24 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 10:01:23 -0700 (PDT)
In-Reply-To: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed>
Date: Wed, 18 Jul 2012 12:01:23 -0500
Message-ID: <CACuKZqFHc9z_kD+KSY88s5JORWPvBQ7mmzy3+2FdAJ6F_aQNrQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrXdG-0005is-4V 8b632682791200f0112e5330bcc8c8c6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CACuKZqFHc9z_kD+KSY88s5JORWPvBQ7mmzy3+2FdAJ6F_aQNrQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14514
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 Tue, Jul 17, 2012 at 10:25 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
> What about the other hundreds of millions of us running web servers.  You
> gonna buy us our certs?

Agreed. It's absolutely impractical to mandate officially signed certs
on every website. That's a huge hurdle for small sites; and all big
sites started from small sites.

---

Here's a related story that's very interesting. Self signed certs are
used by the official ticket booking site of Ministry of Railways of
China. Apparently they want to save a few bucks.

Customers are asked to download and install an untrusted root cert
from its website. From average user's point of view, that makes sense
- if you do more work, that got to increase security, right? Almost
everybody in China take trains, this root cert must have been
installed widely.

http://www.12306.cn
"To ensure a smooth booking experience, please download and install
the root certificate"

http://www.12306.cn/mormhweb/kyfw/question/201204/t20120427_2115.html
FAQ > Security Alert
When a user tries to log in, often he/she will see IE security
warnings ... That's because the user has not imported the root
certificate shown on the home page ... To navigate the site smoothly,
simply follow the instructions and import the root certificate.

the root cert and instructions:
http://www.12306.cn/mormhweb/ggxxfw/wbyyzj/201106/srca12306.zip

a cert signed by the root cert
https://dynamic.12306.cn


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:13:19 2012
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 B47D421F85B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:13:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.441
X-Spam-Level: 
X-Spam-Status: No, score=-10.441 tagged_above=-999 required=5 tests=[AWL=-0.157, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 j3S6LSnyx65C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:13:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA6C821F85B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:13:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrXo1-0007ey-85 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:12:57 +0000
Resent-Date: Wed, 18 Jul 2012 17:12:57 +0000
Resent-Message-Id: <E1SrXo1-0007ey-85@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrXnq-0007eD-Qx for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:12:46 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrXnl-0004Fw-L7 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:12:46 +0000
Received: by wibhq4 with SMTP id hq4so1354283wib.8 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:12:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=4ksUCrCmpqgAwxCZ8RDz/i/qBlsnCex3iB7CgsSB08Y=; b=VUQgqU0csl/prt3nejQalR5V0D1Q/ABqSTCSe+MGT25d5rQM8C4CvroEn3qrCyO8wa UURQTupxGbvghJFDmpGzXXY013LvvGqkHKcadhpRxiuLLiqfcyU18hM+pgUib8FKMSJj WvUbhaocVr+Jid4VBUPJVOBLIzXKg6mbfnyPjKFL1/VMbWqj1VwYEP/Oif6H2VaJD4dD W08raPl/v8u1gF4CM9czIMTXsoHnz+0I1/w22TEEdllEU5/+Q6FjH/3fiS801GVHSMF7 BPLlacLNbYoxsicgWb4CaNe1U/5/GnO7wDW7QCE6g3q4x9z4vfcy4qHgz+hJp7joBNvu gkBQ==
Received: by 10.180.81.138 with SMTP id a10mr8395009wiy.7.1342631534769; Wed, 18 Jul 2012 10:12:14 -0700 (PDT)
Received: from [192.168.1.10] (ALagny-551-1-67-174.w86-218.abo.wanadoo.fr. [86.218.66.174]) by mx.google.com with ESMTPS id b7sm49641916wiz.9.2012.07.18.10.12.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 10:12:09 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <CACuKZqFHc9z_kD+KSY88s5JORWPvBQ7mmzy3+2FdAJ6F_aQNrQ@mail.gmail.com>
Date: Wed, 18 Jul 2012 19:12:04 +0200
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B83FAEB3-DE6D-4F18-B874-7EAE57AF211C@bblfish.net>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CACuKZqFHc9z_kD+KSY88s5JORWPvBQ7mmzy3+2FdAJ6F_aQNrQ@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQlpyYv0j8fwCs3SJ+b3TcHdkX1ECfO7LGL67Axyz2agRUXtx5dy521cMIprqIQooqpk9wCT
Received-SPF: none client-ip=209.85.212.179; envelope-from=henry.story@bblfish.net; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrXnl-0004Fw-L7 6686bd5d58edb36a597a228fcd9cd206
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/B83FAEB3-DE6D-4F18-B874-7EAE57AF211C@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14515
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 18 Jul 2012, at 19:01, Zhong Yu wrote:

> On Tue, Jul 17, 2012 at 10:25 PM, Adrien W. de Croy <adrien@qbik.com> =
wrote:
>> What about the other hundreds of millions of us running web servers.  =
You
>> gonna buy us our certs?
>=20
> Agreed. It's absolutely impractical to mandate officially signed certs
> on every website. That's a huge hurdle for small sites; and all big
> sites started from small sites.

Unless of course you start Deploying IETF DANE, which could make the =
procurement of
such certs a lot easier, since it just requires placing a public key in =
DNSsec.

   http://tools.ietf.org/wg/dane/

making it easy to install such certs could be the task of a WG. Then one =
could add
other services to verify that these certificate are not tampered with.
=20
Henry

>=20
> ---
>=20
> Here's a related story that's very interesting. Self signed certs are
> used by the official ticket booking site of Ministry of Railways of
> China. Apparently they want to save a few bucks.
>=20
> Customers are asked to download and install an untrusted root cert
> from its website. =46rom average user's point of view, that makes =
sense
> - if you do more work, that got to increase security, right? Almost
> everybody in China take trains, this root cert must have been
> installed widely.
>=20
> http://www.12306.cn
> "To ensure a smooth booking experience, please download and install
> the root certificate"
>=20
> http://www.12306.cn/mormhweb/kyfw/question/201204/t20120427_2115.html
> FAQ > Security Alert
> When a user tries to log in, often he/she will see IE security
> warnings ... That's because the user has not imported the root
> certificate shown on the home page ... To navigate the site smoothly,
> simply follow the instructions and import the root certificate.
>=20
> the root cert and instructions:
> http://www.12306.cn/mormhweb/ggxxfw/wbyyzj/201106/srca12306.zip
>=20
> a cert signed by the root cert
> https://dynamic.12306.cn
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:26:24 2012
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 EF3F111E812E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:26:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.021
X-Spam-Level: 
X-Spam-Status: No, score=-9.021 tagged_above=-999 required=5 tests=[AWL=1.578, BAYES_00=-2.599, 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 Ez7L97NbSQtf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:26:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C88AF11E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:26:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrY0P-00077Z-Je for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:25:45 +0000
Resent-Date: Wed, 18 Jul 2012 17:25:45 +0000
Resent-Message-Id: <E1SrY0P-00077Z-Je@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrY0E-00074b-Ur for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:25:35 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrY0D-0004us-FC for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:25:34 +0000
Received: by vbbfq11 with SMTP id fq11so1435077vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:25:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=geZd/Rubi8SzbXB/j2HylNdOKOsO7wsMpA3zNS3lsiQ=; b=zG4wUbU85lx+CqszyFr2+eNwLoU5rmzHqzSYAbJHFIETsFVBjvgighGy/MK3+YA7IQ lq6cUHA329y8BIpxx5PL4plqovZLy5dm7J4+zIJJVGpx8yh5ANHq5Auaz2b1tXFtu4dp w9nFgXsZ3uVJjvw+H2Cq6lWr5dnqjgXsW1FLzu2r4KfIZYYvtpxuQUUKy+rD5SjHH0fq DQbcegpm+2l/mJZ0LMWvctcNaqi2UMP4vovgmb3ZWbFuNay8wlvY81UvCxeVt2OrYyVG OdzWz71drS+mx1CBpgatBTkwB7WBx/J8cLSli9Im5DRk8G+46Kl3IngJQXMX2JJ6LcFc czwg==
MIME-Version: 1.0
Received: by 10.52.23.136 with SMTP id m8mr1141831vdf.28.1342632306091; Wed, 18 Jul 2012 10:25:06 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 10:25:06 -0700 (PDT)
Date: Wed, 18 Jul 2012 13:25:06 -0400
Message-ID: <CAMm+Lwif_t4VYqx-onZJ7DJmza1iXix0rsc4Ba==T1cbDtOXoQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrY0D-0004us-FC c53e959db1231c6774604d6a7b9536c6
X-Original-To: ietf-http-wg@w3.org
Subject: What HTTP/2.0 should mandate instead
Archived-At: <http://www.w3.org/mid/CAMm+Lwif_t4VYqx-onZJ7DJmza1iXix0rsc4Ba==T1cbDtOXoQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14516
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>

Instead of mandating a particular security approach, HTTP should
mandate client support for mechanisms that protect against a downgrade
attack on first contact. There are two distinct parts to this problem:

1) How does a site announce that it supports encryption
2) How does the client access that information

The answers to 1 and 2 turn out to be different.

The DNS is the Internet infrastructure for publishing authoritative
assertions about DNS names. It is the mechanism that sites SHOULD use
to publish their security policy (TLS is always offered, required,
cipher strengths, cert constraints etc.).

Unfortunately moving from a position where no sites publish security
policy to one where they all do is pretty hard. In particular most
sites will not publish policy at all and many will publish policy that
is wrong, wrong wrong. And others will publish the policy and then not
update it. The bottom line is that a client really can't expect to
rely on raw, uncurated security policy information. DKIM policy works
fine because it is used as an indicator of a possible problem by
intermediaries that use a lot of other information in addition.

Another big screw factor is that about 2% of the Internet does not
provide access to real DNS. The DNS servers at many locations will
only forward what is necessary to answer A record queries.

The bottom line is that you can't expect security policy to work in
practice if you design to the Internet architecture that you think
people should of deployed rather than the one they did.


Another issue is the fact that 'authoritative' does not mean safe.
Anyone can get a DNS name and/or an SSL cert. EV certificates provide
a measure of accountability but the whole point of accountability is
to deter default through a credible threat of consequences. The
developers of Flame and Stuxnet obviously expected to be
consequence-free.

This fact gives you another reason to want to curate the security
policy information rather than attempt direct enforcement at the
client.


This naturally leads to an architecture where the client connects up
to some sort of service chosen by the user (or their employer in a
closed network) and that service then curates the trust assertions
made by CAs, Web server hosting providers and anywhere else. Kaspersky
and Comodo are already offering products that start along this path as
part of their AV solutions. Expect the other AV vendors to follow at
their own pace.

This architecture solves the problem of security policy statements
being 'dirty' and the DNS service limitation. The client and service
can employ whatever is necessary to get round the local network
restrictions and achieve the best possible service.


But in addition, this architecture would allow clients to up the
proportion of HTTP connections using SSL from the current 2% or so to
at least 20% and possibly as high as 60% or more.

The reason for this is that the curators of the security policy do not
need to rely on authoritative statements from server operators. Most
CAs and AV companies already crawl the Web constantly. The trust
curator can look at their crawler logs and see that TLS is available
at google.com and tell clients to use the https version of the site.
Similarly visitors to fidelity.com can be told to go straight to the
secure site and not go through the redirect.

This means that security can now become the default for the sites that
offer it. Oddly enough, it can also become the default for sites that
do not have an SSL certificate AT ALL.

The reason for this is that a limitation in the design of SSL requires
each SSL server to have its own IPv4 address. This has since been
addressed in TLS with the SNI extension but being able to depend on
SNI support is far off in the future.

As a consequence of this restriction it is possible to use TLS to
connect to about 60% of Web sites that do not have a TLS cert at all!
This particular peculiarity led to a recent nonsense scare paper
claiming that 60% of all SSL certificates were misconfigured, a little
knowledge can be a dangerous thing.

Making use of those certs would simply mean telling the client to use
TLS to secure the connection, ignore the certificate parameters
presented and to not present the padlock icon indicator (since the
endpoint is not authenticated). That approach provides a
confidentiality and integrity protection that is secure against
anything short of an active MITM attack.


I have a draft, the spec is written in JSON and is in two parts, a
connection protocol to perform the key management (which does mandate
support for TLS) and a query protocol that allows the security policy
(and other) queries to be supported. I have reference code in C# (MIT
license) and the generator can be retargeted to C, Java or anything
else you might want.

http://tools.ietf.org/html/draft-hallambaker-omnibroker-01


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:32:17 2012
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 AD96A11E813B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:32:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.321
X-Spam-Level: 
X-Spam-Status: No, score=-10.321 tagged_above=-999 required=5 tests=[AWL=0.277, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 GgxLiwjzR7WO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:32:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 089E111E8133 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:32:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrY6e-0003uZ-Sg for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:32:12 +0000
Resent-Date: Wed, 18 Jul 2012 17:32:12 +0000
Resent-Message-Id: <E1SrY6e-0003uZ-Sg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrY6U-0003to-2b for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:32:02 +0000
Received: from mail-ey0-f171.google.com ([209.85.215.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrY6O-0007Ec-Pj for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:32:02 +0000
Received: by eaaa12 with SMTP id a12so645370eaa.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:31:30 -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=pk5tZak1cFoVyHC+OSmYAYfsWOwrfW/6oNeyyWbYpVQ=; b=OWWPwxGwR4QGwgW/LGliUPgvtqaA+cU8q2w+5+/ldOCroX0kkuWEkhEXe5i4pypuRZ oq1XWw6z6p24MF1yshq1JRhY3h2TghoElvG4IVomPpVBrXir0AxdCSj+UZi1cOARJjHm IA1GU6ou+DM6Layiu4Lu7uJJ/bMtQAa5JuSsSs5fFcE0ra/iqMt20mwqBb9ELwgZTRf8 +j4PW2WcekxWuJBBVKeuCMOHZp7y+RGQEF1z0zQz5ouxbrWY9nA3P02n+gFjrlw7c0Bx FtwPmBAJovocZcT+lIWLGI8RzWhfh7ETSpT8Kx0bEY0oNJTa3o+B3ichPChaTDTLm4e3 0bDQ==
MIME-Version: 1.0
Received: by 10.14.220.193 with SMTP id o41mr5101695eep.27.1342632690274; Wed, 18 Jul 2012 10:31:30 -0700 (PDT)
Received: by 10.14.209.70 with HTTP; Wed, 18 Jul 2012 10:31:30 -0700 (PDT)
Received: by 10.14.209.70 with HTTP; Wed, 18 Jul 2012 10:31:30 -0700 (PDT)
In-Reply-To: <20120718071437.GF5875@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu>
Date: Wed, 18 Jul 2012 10:31:30 -0700
Message-ID: <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>,  grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=047d7b62255491505004c51e08bd
Received-SPF: pass client-ip=209.85.215.171; envelope-from=grmocg@gmail.com; helo=mail-ey0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrY6O-0007Ec-Pj c34a252a64cb84da47b02077d788ddba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14517
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>

--047d7b62255491505004c51e08bd
Content-Type: text/plain; charset=ISO-8859-1

There are number of technical issues here.
1) speed of experience
2) deployability of protocol
3) privacy against wireless sniffers (I call this point-to-point privacy)
4) authentication of the server to the client.
5) runtime cost

#5 goes up with TLS, in the short run, though in the long run this isn't
necessarily true if we use a long-lived multiplexed thing on tip of it-- at
least for less optimized stuff that allows the kernel to handle accept(),
etc. It is easy to forget about the cost of dealing with multiple
connections at the system level in the server.
For highly optimized proxies such as haproxy TLS will likely end up a net
cost, no question.

For #4: This is typically indicated by use of the http scheme. If one used
TLS in transporting such a query, the browser should not be in the business
of server auth-- there should be no chance of a cert warning. If you get
point-to-point privacy without auth here, it is strictly better from a
security perspective, even assuming TLS's trust chain is compromised.

#3: TLS does help with this, even without authentication. It isn't perfect,
but it is better than http by quite a bit.

#2: Experience has shown, unfortunately, that deploying something new from
browser to server is either extremely difficult or unreliable. That is the
only case where mandating anything like TLS makes sense to me.

#1 isn't obvious one way or another. For the first request TLS potentially
harms latency as compared to http/1.1. For subsequent requests it comes out
as better (given application protocol changes). More interestingly,
negotiating http/2 over port 80 will require a round trip, which is the
same latency penalty one will pay for using TLS at a site that you have
recently visited assuming we use false-start.

-=R
 On Jul 18, 2012 12:16 AM, "Willy Tarreau" <w@1wt.eu> wrote:

> On Tue, Jul 17, 2012 at 11:54:00PM -0700, Mike Belshe wrote:
> > > The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2
> will
> > > be deployed between the browser and the load balancer, and everything
> > > behind will remain HTTP/1 due to the added nuisances of deploying 2.0
> > > everywhere. Almost nobody does IPv6 between LB and server nowadays,
> it's
> > > added cost for no benefit.
> > >
> > > This will force us to continue to support the crappy parsers of 1.1
> > > forever and not to have MUX between the LB and the server, and that's
> > > precisely the situation I'd like to avoid, by having a protocol which
> > > *supports* more privacy but does not impose it where it's not expected.
> > >
> >
> > This is not true; you can use whatever you want in your backoffice.  I've
> > talked about this many times before, with or without TLS; whatever you
> > want.   It's the browser channel which will be TLS only.
>
> That's why I want the protocol not to rely on TLS but to be
> self-sufficient.
> If we can use HTTP/2 over TCP then I can disable TLS in the backoffice.
> Otherwise I cannot and am forced to use HTTP/1 instead.
>
> > > I'm really against making such a thing mandatory because it will only
> > > improve privacy on a few services which actually do not need it and
> will
> > > globally deteriorate the overall security by lowering the level of
> control
> > > of users.
> > >
> >
> > We just disagree.  And I keep going back to the same argument over and
> over:
> >
> > Show me the user that will stand up and say, "Yes, I would like my
> > communications to be snoopable and changeable by 3rd parties without my
> > knowledge."
>
> I am one of these users. When I'm browsing in clear text, I know my
> communications are snoopable and changeable and I don't care. When I
> care I use https. Using cleartext has many benefits for me as a user.
> It's faster and I don't have to constantly click "I accept" on every
> pop-up that is raised due to too difficult certificate management for
> the server, or the mess of keeping a CA list up to date.
>
> So I am one such user who doesn't want to be forced to face all the
> discomfort of TLS when it does not make sense. TLS for no reason is
> already badly used, there is no reason it will suddenly become better
> when made mandatory. It's the opposite, sites having it good will not
> improve and remain the same, but the number of sites which will have
> to deal with it when not expected will increase the number of false
> alarms on the user side. We don't want to accustom users to blindly
> click on this warning anymore.
>
> Willy
>
>
>

--047d7b62255491505004c51e08bd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">There are number of technical issues here.<br>
1) speed of experience<br>
2) deployability of protocol<br>
3) privacy against wireless sniffers (I call this point-to-point privacy)<b=
r>
4) authentication of the server to the client.<br>
5) runtime cost</p>
<p dir=3D"ltr">#5 goes up with TLS, in the short run, though in the long ru=
n this isn&#39;t necessarily true if we use a long-lived multiplexed thing =
on tip of it-- at least for less optimized stuff that allows the kernel to =
handle accept(), etc. It is easy to forget about the cost of dealing with m=
ultiple connections at the system level in the server. <br>

For highly optimized proxies such as haproxy TLS will likely end up a net c=
ost, no question.</p>
<p dir=3D"ltr">For #4: This is typically indicated by use of the http schem=
e. If one used TLS in transporting such a query, the browser should not be =
in the business of server auth-- there should be no chance of a cert warnin=
g. If you get point-to-point privacy without auth here, it is strictly bett=
er from a security perspective, even assuming TLS&#39;s trust chain is comp=
romised.</p>

<p dir=3D"ltr"> #3: TLS does help with this, even without authentication. I=
t isn&#39;t perfect, but it is better than http by quite a bit.</p>
<p dir=3D"ltr">#2: Experience has shown, unfortunately, that deploying some=
thing new from browser to server is either extremely difficult or unreliabl=
e. That is the only case where mandating anything like TLS makes sense to m=
e.</p>

<p dir=3D"ltr">#1 isn&#39;t obvious one way or another. For the first reque=
st TLS potentially harms latency as compared to http/1.1. For subsequent re=
quests it comes out as better (given application protocol changes). More in=
terestingly, negotiating http/2 over port 80 will require a round trip, whi=
ch is the same latency penalty one will pay for using TLS at a site that yo=
u have recently visited assuming we use false-start.</p>

<p dir=3D"ltr">-=3DR<br>
</p>
<div class=3D"gmail_quote">On Jul 18, 2012 12:16 AM, &quot;Willy Tarreau&qu=
ot; &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt; wrote:<br type=3D"attr=
ibution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
On Tue, Jul 17, 2012 at 11:54:00PM -0700, Mike Belshe wrote:<br>
&gt; &gt; The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP=
/2 will<br>
&gt; &gt; be deployed between the browser and the load balancer, and everyt=
hing<br>
&gt; &gt; behind will remain HTTP/1 due to the added nuisances of deploying=
 2.0<br>
&gt; &gt; everywhere. Almost nobody does IPv6 between LB and server nowaday=
s, it&#39;s<br>
&gt; &gt; added cost for no benefit.<br>
&gt; &gt;<br>
&gt; &gt; This will force us to continue to support the crappy parsers of 1=
.1<br>
&gt; &gt; forever and not to have MUX between the LB and the server, and th=
at&#39;s<br>
&gt; &gt; precisely the situation I&#39;d like to avoid, by having a protoc=
ol which<br>
&gt; &gt; *supports* more privacy but does not impose it where it&#39;s not=
 expected.<br>
&gt; &gt;<br>
&gt;<br>
&gt; This is not true; you can use whatever you want in your backoffice. =
=A0I&#39;ve<br>
&gt; talked about this many times before, with or without TLS; whatever you=
<br>
&gt; want. =A0 It&#39;s the browser channel which will be TLS only.<br>
<br>
That&#39;s why I want the protocol not to rely on TLS but to be self-suffic=
ient.<br>
If we can use HTTP/2 over TCP then I can disable TLS in the backoffice.<br>
Otherwise I cannot and am forced to use HTTP/1 instead.<br>
<br>
&gt; &gt; I&#39;m really against making such a thing mandatory because it w=
ill only<br>
&gt; &gt; improve privacy on a few services which actually do not need it a=
nd will<br>
&gt; &gt; globally deteriorate the overall security by lowering the level o=
f control<br>
&gt; &gt; of users.<br>
&gt; &gt;<br>
&gt;<br>
&gt; We just disagree. =A0And I keep going back to the same argument over a=
nd over:<br>
&gt;<br>
&gt; Show me the user that will stand up and say, &quot;Yes, I would like m=
y<br>
&gt; communications to be snoopable and changeable by 3rd parties without m=
y<br>
&gt; knowledge.&quot;<br>
<br>
I am one of these users. When I&#39;m browsing in clear text, I know my<br>
communications are snoopable and changeable and I don&#39;t care. When I<br=
>
care I use https. Using cleartext has many benefits for me as a user.<br>
It&#39;s faster and I don&#39;t have to constantly click &quot;I accept&quo=
t; on every<br>
pop-up that is raised due to too difficult certificate management for<br>
the server, or the mess of keeping a CA list up to date.<br>
<br>
So I am one such user who doesn&#39;t want to be forced to face all the<br>
discomfort of TLS when it does not make sense. TLS for no reason is<br>
already badly used, there is no reason it will suddenly become better<br>
when made mandatory. It&#39;s the opposite, sites having it good will not<b=
r>
improve and remain the same, but the number of sites which will have<br>
to deal with it when not expected will increase the number of false<br>
alarms on the user side. We don&#39;t want to accustom users to blindly<br>
click on this warning anymore.<br>
<br>
Willy<br>
<br>
<br>
</blockquote></div>

--047d7b62255491505004c51e08bd--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:41:42 2012
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 257BB21F87A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:41:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.558
X-Spam-Level: 
X-Spam-Status: No, score=-10.558 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 yxbu-RxMk5iM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:41:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2894521F875E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:41:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrYFl-0007dr-Q9 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:41:37 +0000
Resent-Date: Wed, 18 Jul 2012 17:41:37 +0000
Resent-Message-Id: <E1SrYFl-0007dr-Q9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrYFb-0007cF-7Q for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:41:27 +0000
Received: from mail-ee0-f43.google.com ([74.125.83.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrYFZ-0005m0-IQ for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:41:27 +0000
Received: by eekd49 with SMTP id d49so647298eek.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:40:59 -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=p/Tv8vAXMvebyIPpLXT5S1XGM9SOklccEk+3Abee//4=; b=zw9DFnB92GelTqbYDwHqbqlUgOQMHtFRqXRBklF9Lb3i5/MGRZyKDcSVWJN8NWD2ip 7ithDytaQF4ub8sM+pehZf0ypNaLb51EqQH62AGWZUr6yPlyEacAQGcC8kxIy21BjIgg OaeXYN9oESUGYUCIAnmWWtOKIRvIKP5c9g/ADNvsunbmqQGPb84NZpBRXfJEx98HM1D3 sUZD9as/Df8YwZWXhZYnOC+c4Hz1omY+Ftcbs0syId7I/29uF+5UYgJ7nVOEnCaT34Ir Z92qf5kxcTNaA1gC1P4vyuMDoB83ei+CPd8HmOVouH/L9kDKUAtDhP+htfk6Tf7UNFcn lJRQ==
MIME-Version: 1.0
Received: by 10.14.200.196 with SMTP id z44mr5049600een.46.1342633258881; Wed, 18 Jul 2012 10:40:58 -0700 (PDT)
Received: by 10.14.209.70 with HTTP; Wed, 18 Jul 2012 10:40:58 -0700 (PDT)
Received: by 10.14.209.70 with HTTP; Wed, 18 Jul 2012 10:40:58 -0700 (PDT)
In-Reply-To: <1342616798.30417.44.camel@ds9>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <CABaLYCtynd1jQ88+yXyY6kEpqigBH2w3vuMo+tDmx72YMy0ReQ@mail.gmail.com> <1342616798.30417.44.camel@ds9>
Date: Wed, 18 Jul 2012 10:40:58 -0700
Message-ID: <CAP+FsNcqwewKZkSMPxPrOjA0c9C8Jqr1F-S71TxAOYArBjLh9Q@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>,  grahame@healthintersections.com.au,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=047d7b34385675923004c51e2a70
Received-SPF: pass client-ip=74.125.83.43; envelope-from=grmocg@gmail.com; helo=mail-ee0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrYFZ-0005m0-IQ 2849b315e60fccdd610479e8d4ae0921
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAP+FsNcqwewKZkSMPxPrOjA0c9C8Jqr1F-S71TxAOYArBjLh9Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14518
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>

--047d7b34385675923004c51e2a70
Content-Type: text/plain; charset=ISO-8859-1

As a reminder, I submitted an ID w.r.t. TLS proxies and MITM.

The key idea in it, ignoring the technical stuff, is that either party
(client, server) has or should have some decisions to make about what the
proxies are allowed to do, and thus their own behavior when dealing with
them.

The proxy always had the power to restrict and control things which flow
through it. Always will.

-=R
On Jul 18, 2012 6:09 AM, "Patrick McManus" <pmcmanus@mozilla.com> wrote:

> On Tue, 2012-07-17 at 19:30 -0700, Mike Belshe wrote:
>
> > Mandating SSL is a simple step we can take which solves most of the
> > eavesdropping problem right now.  But more importantly, it poises us
> > to address the next set of security issues, including CA/verification
> > problems,  distribution of video over ssl, handshake latency, etc.
> >  Until we start trying to be secure, of course we'll never be secure.
>
> +1.. especially on improving the PKI.
>
> also - When TLS is optional, as in HTTP/1, that means the decision is
> made by the server and concerns about the users privacy are controlled
> by that side of the transaction. Because it is sometimes more convenient
> for the machines to go with plaintext, the user effectively loses choice
> and walks smack into the eavesdropping problem. There is no data
> transfer that is really public information. [*]
>
> Web transport needs to favor the confidentiality of humans over
> convenience of the machines. Even if humans are a cost center.
>
> To the extent that there are non-human use cases for HTTP (definitely!)
> that are unable to support this (I'm skeptical they are significant)
> they can run a different protocol (e.g. COAP). The human web
> requirements have to be met as the most important constituency and that
> means increasing transport security.
>
> It hasn't been stated in a while, and its a constant source of confusion
> when discussing this topic, but the TLS requirement does not mandate end
> to end TLS by tunneling through proxies in the way we currently do. A
> mechanism for knowingly interacting with MITM intermediaries is a
> necessary work item (discovery, opt-in, etc..) . If you're going to
> argue about legally necessary MITMs this is answer to that.
>
> -Patrick
>
> [*] Imagine a giant LCD board over your front door announcing that days
> browsing habits.. all of this stuff happens in plain text today:
>  + shopped for burner cell phone
>  + bing search "domestic violence help"
>  + weather in springfield this weekend (you told everyone you were going
> to westville)
>  + how to organize a union
>  + obsessively read huffpo.com - you work for the GOP county
> commisioner. (or reverse it with drudge and the Dems.. doesn't matter).
>  + watched 3 hours of porn
>  + left an anonymous comment on the local newspaper that said "blah
> blah"
>
> People shouldn't have to expect that everything they click on will be
> public information. Time to raise the bar. HTTP/2 has an opportunity to
> improve the overall speed of the web while at the same time enhancing
> privacy - that's the right mix.
>
>
>
>

--047d7b34385675923004c51e2a70
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">As a reminder, I submitted an ID w.r.t. TLS proxies and MITM=
.</p>
<p dir=3D"ltr">The key idea in it, ignoring the technical stuff, is that ei=
ther party (client, server) has or should have some decisions to make about=
 what the proxies are allowed to do, and thus their own behavior when deali=
ng with them.</p>

<p dir=3D"ltr">The proxy always had the power to restrict and control thing=
s which flow through it. Always will.</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 18, 2012 6:09 AM, &quot;Patrick McManus&q=
uot; &lt;<a href=3D"mailto:pmcmanus@mozilla.com">pmcmanus@mozilla.com</a>&g=
t; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, 2012-07-17 at 19:30 -0700, Mike Belshe wrote:<br>
<br>
&gt; Mandating SSL is a simple step we can take which solves most of the<br=
>
&gt; eavesdropping problem right now. =A0But more importantly, it poises us=
<br>
&gt; to address the next set of security issues, including CA/verification<=
br>
&gt; problems, =A0distribution of video over ssl, handshake latency, etc.<b=
r>
&gt; =A0Until we start trying to be secure, of course we&#39;ll never be se=
cure.<br>
<br>
+1.. especially on improving the PKI.<br>
<br>
also - When TLS is optional, as in HTTP/1, that means the decision is<br>
made by the server and concerns about the users privacy are controlled<br>
by that side of the transaction. Because it is sometimes more convenient<br=
>
for the machines to go with plaintext, the user effectively loses choice<br=
>
and walks smack into the eavesdropping problem. There is no data<br>
transfer that is really public information. [*]<br>
<br>
Web transport needs to favor the confidentiality of humans over<br>
convenience of the machines. Even if humans are a cost center.<br>
<br>
To the extent that there are non-human use cases for HTTP (definitely!)<br>
that are unable to support this (I&#39;m skeptical they are significant)<br=
>
they can run a different protocol (e.g. COAP). The human web<br>
requirements have to be met as the most important constituency and that<br>
means increasing transport security.<br>
<br>
It hasn&#39;t been stated in a while, and its a constant source of confusio=
n<br>
when discussing this topic, but the TLS requirement does not mandate end<br=
>
to end TLS by tunneling through proxies in the way we currently do. A<br>
mechanism for knowingly interacting with MITM intermediaries is a<br>
necessary work item (discovery, opt-in, etc..) . If you&#39;re going to<br>
argue about legally necessary MITMs this is answer to that.<br>
<br>
-Patrick<br>
<br>
[*] Imagine a giant LCD board over your front door announcing that days<br>
browsing habits.. all of this stuff happens in plain text today:<br>
=A0+ shopped for burner cell phone<br>
=A0+ bing search &quot;domestic violence help&quot;<br>
=A0+ weather in springfield this weekend (you told everyone you were going<=
br>
to westville)<br>
=A0+ how to organize a union<br>
=A0+ obsessively read <a href=3D"http://huffpo.com" target=3D"_blank">huffp=
o.com</a> - you work for the GOP county<br>
commisioner. (or reverse it with drudge and the Dems.. doesn&#39;t matter).=
<br>
=A0+ watched 3 hours of porn<br>
=A0+ left an anonymous comment on the local newspaper that said &quot;blah<=
br>
blah&quot;<br>
<br>
People shouldn&#39;t have to expect that everything they click on will be<b=
r>
public information. Time to raise the bar. HTTP/2 has an opportunity to<br>
improve the overall speed of the web while at the same time enhancing<br>
privacy - that&#39;s the right mix.<br>
<br>
<br>
<br>
</blockquote></div>

--047d7b34385675923004c51e2a70--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:46:15 2012
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 9032A11E8151 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:46:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.884
X-Spam-Level: 
X-Spam-Status: No, score=-8.884 tagged_above=-999 required=5 tests=[AWL=1.400, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 6VS5mqO5zTQ2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:46:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DA3D11E8150 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:46:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrYKP-00045h-Cn for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:46:25 +0000
Resent-Date: Wed, 18 Jul 2012 17:46:25 +0000
Resent-Message-Id: <E1SrYKP-00045h-Cn@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrYKF-00044w-O7 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:46:15 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrYKE-0007xW-DP for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:46:15 +0000
Received: by vcdd16 with SMTP id d16so940864vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:45:48 -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=WDgfQzvWSWifFKN6gf6sNfr1UXdJWrla5166Z1ymhqE=; b=pSKQ09ZWELdO7R9HkE6tZ5cXsDKRULnmCdluhVjC3R/2ecZAlWx7/yFC9eoPsIWNTx yrbu1NE0V3TiJJzL47YYQ9qyj+gQFmK4471pUOyDB5zHR9yk9GtfA7u+cBAu3Z7YfhGy yAKVHHHUOgxSPXg2Jig/G/M9yBfuO5oQed+gGYoaLPmSCy/AZjECyKaPgwu+SgQhDon5 lASh+s9HDdr9fNr2AJyo9L//yDH6xU2s5S5ch6l6saYggPTGZHOil7SZfg/xYPFiTxV1 0fqjNnVzBF8uaKR5bkPgoyWnM2gEMbVKTmIO2kmfX3zG+3qPqqcujKTLdbn5+Sa8YvYQ FO0A==
MIME-Version: 1.0
Received: by 10.52.26.240 with SMTP id o16mr1179109vdg.20.1342633548468; Wed, 18 Jul 2012 10:45:48 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 18 Jul 2012 10:45:48 -0700 (PDT)
In-Reply-To: <B83FAEB3-DE6D-4F18-B874-7EAE57AF211C@bblfish.net>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CACuKZqFHc9z_kD+KSY88s5JORWPvBQ7mmzy3+2FdAJ6F_aQNrQ@mail.gmail.com> <B83FAEB3-DE6D-4F18-B874-7EAE57AF211C@bblfish.net>
Date: Wed, 18 Jul 2012 13:45:48 -0400
Message-ID: <CAMm+LwgKWE8PF0qkhv=inYuGxsmhoSB082tTjSaGnBkGDNoa4w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Henry Story <henry.story@bblfish.net>
Cc: Zhong Yu <zhong.j.yu@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrYKE-0007xW-DP dbf2b05103c6503ea26a5b2a8cf7d8f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CAMm+LwgKWE8PF0qkhv=inYuGxsmhoSB082tTjSaGnBkGDNoa4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14519
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 Wed, Jul 18, 2012 at 1:12 PM, Henry Story <henry.story@bblfish.net> wrote:
>
> On 18 Jul 2012, at 19:01, Zhong Yu wrote:
>
>> On Tue, Jul 17, 2012 at 10:25 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>>> What about the other hundreds of millions of us running web servers.  You
>>> gonna buy us our certs?
>>
>> Agreed. It's absolutely impractical to mandate officially signed certs
>> on every website. That's a huge hurdle for small sites; and all big
>> sites started from small sites.
>
> Unless of course you start Deploying IETF DANE, which could make the procurement of
> such certs a lot easier, since it just requires placing a public key in DNSsec.
>
>    http://tools.ietf.org/wg/dane/
>
> making it easy to install such certs could be the task of a WG. Then one could add
> other services to verify that these certificate are not tampered with.

But now you have stepped away from mandating support for the TLS in
use today and instead mandating support for a new design based on a
science project.

To implement HTTP/1.1, all I need is a TCP stack and a HTTP stack.
Plenty of people have done both in a week.

To implement HTTP/2.0 with your proposed mandate would require

* TCP
* HTTP 1.1
* HTTP 2.0
* TLS
* PKIX
* DNS
* DNSSEC
* DANE


Oh and by the way:

* PKIX is layered on HTTP creating a potential infinite regression.
How does an OCSP server work over HTTP/2.0? Does the OCSP server cert
need to be validated via OCSP as well? Are CRLs going to be supported?

* Practical deployment of TLS REQUIRES an IPv4 address per connection
since there is a large population of browsers that do not support SNI.
If you mandate support for TLS in HTTP you will find everyone wants
their server to have legacy support as well.

If this is really an attempt to mandate DANE then people should say so.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 10:55:17 2012
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 3E28121F877E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level: 
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 fvp8ofox08Tf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 10:55:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DAB621F8733 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 10:55:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrYRA-0006BK-GQ for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 17:53:24 +0000
Resent-Date: Wed, 18 Jul 2012 17:53:24 +0000
Resent-Message-Id: <E1SrYRA-0006BK-GQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1SrYR0-0006AZ-On for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 17:53:14 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1SrYQw-0008HY-AM for ietf-http-wg@w3.org; Wed, 18 Jul 2012 17:53:14 +0000
Received: by wgbdt14 with SMTP id dt14so1475331wgb.26 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 10:52:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=HpMtXy3FkKnWFurwTW6+smP/V5uBEqSeQYzQIsWa5vo=; b=dYX7Y3G7sXy/f1pK0W+kiCbCXAHuGYz5MbbHlKDxjtLzv24RPea1cQ3uEbKfqRrPYQ uDWENvMZiTAS06cSkKsplzyBPXbIb0umrFfbRvMEZjVCT1u8dG6C2ogGTfAWqbjWNaZv ZxGveq9i9YBVpxmYZCtTYV1lUhfaSnlE4Pu8nQaxt1ojvbPBTMhOMEqj7mCk2Vky4UJL 5jaDywHctZTLdPVBi6ST3h//TVqVQ3/T2jE8H8XF1/6RaoXt2LV6qEKLzsmNtun3D2nf yY4amKCzNQ7aDhzb5r5gzwDToS8xJ6Jnt6mrUgCThGTVW5KWq39Y4m/rUQkNMcAipbAe GCEw==
MIME-Version: 1.0
Received: by 10.180.84.169 with SMTP id a9mr8629407wiz.8.1342633961016; Wed, 18 Jul 2012 10:52:41 -0700 (PDT)
Received: by 10.217.5.198 with HTTP; Wed, 18 Jul 2012 10:52:40 -0700 (PDT)
X-Originating-IP: [166.147.93.110]
Date: Wed, 18 Jul 2012 10:52:40 -0700
Message-ID: <CAAbTgTv70M2KAdQ6Kg8mZLDvXgQfto6+Nm=-xFxsC3qo3X2Hdw@mail.gmail.com>
From: Brian Pane <brianp@brianp.net>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0418281a4f4bb604c51e5496
X-Gm-Message-State: ALoCoQmfEOgI0Dp1VV4CDtnZyHavThai922zxRFswhmMcfgmgTRXqKM4+k3a5Bx3jxZ3i6SFJbMi
Received-SPF: none client-ip=74.125.82.45; envelope-from=brianp@brianp.net; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrYQw-0008HY-AM f69c08760c919017f860658a3ced80bc
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP/2.0 negotiation latency Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CAAbTgTv70M2KAdQ6Kg8mZLDvXgQfto6+Nm=-xFxsC3qo3X2Hdw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14520
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>

--f46d0418281a4f4bb604c51e5496
Content-Type: text/plain; charset=ISO-8859-1

On Wednesday, July 18, 2012, Roberto Peon wrote:

> #1 isn't obvious one way or another. For the first request TLS potentially
> harms latency as compared to http/1.1. For subsequent requests it comes out
> as better (given application protocol changes). More interestingly,
> negotiating http/2 over port 80 will require a round trip, which is the
> same latency penalty one will pay for using TLS at a site that you have
> recently visited assuming we use false-start.
>

This is a point that I think is worth highlighting: if browsers use the
presence of the NPN extension in the ServerHello to determine whether the
server can handle false start, the result is that the latency for
TCP+TLS+NPN is no greater than that of TCP+HTTP Upgrade.

I believe that's what the latest version of Chrome does.

I think it would be useful for the NPN spec to say something like, "If a
server does not support False Start, it MUST NOT send the NPN protocol list
extension." That would elevate Chrome's current heuristic to a standard.

-Brian

--f46d0418281a4f4bb604c51e5496
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wednesday, July 18, 2012, Roberto Peon  wrote:<span class=3D"Apple-style=
-span" style><br></span><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr">#1 is=
n&#39;t obvious one way or another. For the first request TLS potentially h=
arms latency as compared to http/1.1. For subsequent requests it comes out =
as better (given application protocol changes). More interestingly, negotia=
ting http/2 over port 80 will require a round trip, which is the same laten=
cy penalty one will pay for using TLS at a site that you have recently visi=
ted assuming we use false-start.</p>
</blockquote><div><br></div><span class=3D"Apple-style-span" style></span><=
div>This is a point that I think is worth highlighting: if browsers use the=
 presence of the NPN extension in the ServerHello to determine whether the =
server can handle false start, the result is that the latency for TCP+TLS+N=
PN is no greater than that of TCP+HTTP Upgrade.</div>
<div><br></div><div>I believe that&#39;s what the latest version of Chrome =
does.</div><div></div><div><br></div><div>I think it would be useful for th=
e NPN spec to say something like, &quot;If a server does not support False =
Start, it MUST NOT send the NPN protocol list extension.&quot; That would e=
levate Chrome&#39;s current heuristic to a standard.<span></span></div>
<div><br></div><div>-Brian</div><div></div>

--f46d0418281a4f4bb604c51e5496--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 11:38:18 2012
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 847A511E8132 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 11:38:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.807
X-Spam-Level: 
X-Spam-Status: No, score=-9.807 tagged_above=-999 required=5 tests=[AWL=-0.763, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24, SARE_MILLIONSOF=0.315]
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 6eDctE1pXD9Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 11:38:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C875C11E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 11:38:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrZ8B-0001xi-RI for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 18:37:51 +0000
Resent-Date: Wed, 18 Jul 2012 18:37:51 +0000
Resent-Message-Id: <E1SrZ8B-0001xi-RI@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 1SrZ81-0001uE-K2 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 18:37:41 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SrZ7z-0007yh-Ba for ietf-http-wg@w3.org; Wed, 18 Jul 2012 18:37:41 +0000
Received: by wibhq4 with SMTP id hq4so1407150wib.8 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 11:37:12 -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=Ctcm1XVla2/vpHnn11r01qoKZxmrjP8iRByVAG5qm4c=; b=gHTrBuEJU+Erab7FQPaCVGdVfc0wQvuhKitqXrj+fwwADalLfX34V44ljisP7cTiti iaqmWpO37zW8fQWBil1dxvY7Ir76L7N7iie86yVGwE0hmX7sWqBd2ki2X19hi0QyTsqb sHil05zhjHEqAcpMPXSkCRXMbYA+HzpaHiFmbASq94MqA5AjkGpgAncCyeogytJ9ZyFj R3mxj+bo35lTN+skVHdDRt/WjPHoj4lyfWSwJTEyfU21taaMEEjPZLEaire3fEFOpKg1 wjCOv3wautvyqv1jhGFOASaKn1z67/I53ecArUG+5fsM9BB4LG+uPALGt8Sypmh/yNnb y3/Q==
MIME-Version: 1.0
Received: by 10.216.136.227 with SMTP id w77mr186162wei.111.1342636632692; Wed, 18 Jul 2012 11:37:12 -0700 (PDT)
Received: by 10.216.245.133 with HTTP; Wed, 18 Jul 2012 11:37:12 -0700 (PDT)
In-Reply-To: <CAMm+LwgKWE8PF0qkhv=inYuGxsmhoSB082tTjSaGnBkGDNoa4w@mail.gmail.com>
References: <em7dabfa75-0cf3-48ce-ba8d-30e3057d5485@bombed> <CACuKZqFHc9z_kD+KSY88s5JORWPvBQ7mmzy3+2FdAJ6F_aQNrQ@mail.gmail.com> <B83FAEB3-DE6D-4F18-B874-7EAE57AF211C@bblfish.net> <CAMm+LwgKWE8PF0qkhv=inYuGxsmhoSB082tTjSaGnBkGDNoa4w@mail.gmail.com>
Date: Wed, 18 Jul 2012 13:37:12 -0500
Message-ID: <CACuKZqGBk4vGrTvJYAV5sAtkOWWVsoYrOGDCKGCOiePzuZJr5A@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Henry Story <henry.story@bblfish.net>, "Adrien W. de Croy" <adrien@qbik.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.179; envelope-from=zhong.j.yu@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrZ7z-0007yh-Ba f85a3ad90855442745259d503e9f9cf6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some reasons why mandating use ofSSL for HTTP is a really bad idea
Archived-At: <http://www.w3.org/mid/CACuKZqGBk4vGrTvJYAV5sAtkOWWVsoYrOGDCKGCOiePzuZJr5A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14521
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>

A short term solution is that browsers stop acting so hostile against
self signed certs. Can't there be some other ways for a browser to
establish  cert-domain trust?

On Wed, Jul 18, 2012 at 12:45 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> On Wed, Jul 18, 2012 at 1:12 PM, Henry Story <henry.story@bblfish.net> wrote:
>>
>> On 18 Jul 2012, at 19:01, Zhong Yu wrote:
>>
>>> On Tue, Jul 17, 2012 at 10:25 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>>>> What about the other hundreds of millions of us running web servers.  You
>>>> gonna buy us our certs?
>>>
>>> Agreed. It's absolutely impractical to mandate officially signed certs
>>> on every website. That's a huge hurdle for small sites; and all big
>>> sites started from small sites.
>>
>> Unless of course you start Deploying IETF DANE, which could make the procurement of
>> such certs a lot easier, since it just requires placing a public key in DNSsec.
>>
>>    http://tools.ietf.org/wg/dane/
>>
>> making it easy to install such certs could be the task of a WG. Then one could add
>> other services to verify that these certificate are not tampered with.
>
> But now you have stepped away from mandating support for the TLS in
> use today and instead mandating support for a new design based on a
> science project.
>
> To implement HTTP/1.1, all I need is a TCP stack and a HTTP stack.
> Plenty of people have done both in a week.
>
> To implement HTTP/2.0 with your proposed mandate would require
>
> * TCP
> * HTTP 1.1
> * HTTP 2.0
> * TLS
> * PKIX
> * DNS
> * DNSSEC
> * DANE
>
>
> Oh and by the way:
>
> * PKIX is layered on HTTP creating a potential infinite regression.
> How does an OCSP server work over HTTP/2.0? Does the OCSP server cert
> need to be validated via OCSP as well? Are CRLs going to be supported?
>
> * Practical deployment of TLS REQUIRES an IPv4 address per connection
> since there is a large population of browsers that do not support SNI.
> If you mandate support for TLS in HTTP you will find everyone wants
> their server to have legacy support as well.
>
> If this is really an attempt to mandate DANE then people should say so.
>
>
> --
> Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 12:07:07 2012
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 CA8CE21F8637 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:07:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 5qag-yWm5z17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:07:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4231F21F861F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 12:07:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrZaJ-0008Jb-CM for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 19:06:55 +0000
Resent-Date: Wed, 18 Jul 2012 19:06:55 +0000
Resent-Message-Id: <E1SrZaJ-0008Jb-CM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrZa9-0008IO-Oy for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 19:06:45 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SrZa8-0001HS-8Z for ietf-http-wg@w3.org; Wed, 18 Jul 2012 19:06:45 +0000
Received: from [192.168.1.183] (modemcable010.200-160-184.mc.videotron.ca [184.160.200.10]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6IJ6CBF003001 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 18 Jul 2012 19:06:14 GMT
References: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org> <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com> <1ecf4e8a520227b6afeb0bb064ec7485.squirrel@arekh.dyndns.org>
In-Reply-To: <1ecf4e8a520227b6afeb0bb064ec7485.squirrel@arekh.dyndns.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <2EFBFEB3-2153-415A-8C80-CBFBD39A5B16@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Wed, 18 Jul 2012 15:06:10 -0400
To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrZa8-0001HS-8Z 163f7ea3e050479a1188a3355f5c4261
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/2EFBFEB3-2153-415A-8C80-CBFBD39A5B16@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14522
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>

Nicolas,
(and others)

Le 18 juil. 2012 =E0 11:25, Nicolas Mailhot a =E9crit :
> I'm operating an intermediary and I have more
> accountability wrt my users than most of the web sites they visit.


* What is the intermediary?
* What is its business?
* Why/When do you need to see the content of their communications?


PS: In general, instead of discussing of the intents of a class of =
users, it is better to talk about your specific business needs. Without =
it, any discussion will spiral endlessly


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 12:39:25 2012
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 56B6711E81A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:39:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.574
X-Spam-Level: 
X-Spam-Status: No, score=-10.574 tagged_above=-999 required=5 tests=[AWL=0.025, BAYES_00=-2.599, 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 4binmekQLGsE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:39:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E29211E81A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 12:39:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sra50-0004gZ-M2 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 19:38:38 +0000
Resent-Date: Wed, 18 Jul 2012 19:38:38 +0000
Resent-Message-Id: <E1Sra50-0004gZ-M2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Sra4q-0004fo-4S for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 19:38:28 +0000
Received: from smtpout6.laposte.net ([193.253.67.231] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Sra4o-0004Py-Fe for ietf-http-wg@w3.org; Wed, 18 Jul 2012 19:38:28 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8511-out with ME id bvds1j00F4WQcrc03vds5a; Wed, 18 Jul 2012 21:37:59 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 48F8B2E3A21; Wed, 18 Jul 2012 21:37:52 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iJup7RJgvgq1; Wed, 18 Jul 2012 21:37:39 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 18 Jul 2012 21:37:38 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 18 Jul 2012 21:37:39 +0200
Message-ID: <81875c643f0ad9cf72c228694f5c339d.squirrel@arekh.dyndns.org>
In-Reply-To: <B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com>
References: <5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org> <B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com>
Date: Wed, 18 Jul 2012 21:37:39 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Yoav Nir" <ynir@checkpoint.com>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "Mike Belshe" <mike@belshe.com>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.231; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sra4o-0004Py-Fe 9e19e73b2d96e4b0b4dcc64bb773af9a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/81875c643f0ad9cf72c228694f5c339d.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14523
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>

Le Mer 18 juillet 2012 16:03, Yoav Nir a écrit :
> Wow. It's like I have to run to the other side of the table to argue for
> the other side…
>
> On Jul 18, 2012, at 4:24 PM, Nicolas Mailhot wrote:
>>
>> That being said:
>>
>> 1. I don't read the bank (or other correspondence) of my users
>>
>> 2. I'm not asked to read the bank (or other correspondence) of my users,
>> either by management or a police state (divulging it would take a legal
>> injunction I think, never had to deal with those)
>
> It's a good thing that you don't read bank transactions and that you don't
> get asked to. But you could read the bank transactions if you wanted to
> (or were asked to).

No one is going to ask me to do so. Much simpler to hire some shady
character to deploy a keylogger on the target user computer, and no need
to involve an honest general-purpose network joe like me. Your threat
assessment is faulty.

> If the data goes over HTTP you can do it with
> something as simple as TCPDUMP. If it goes over SSL, you'll need a TLS
> proxy.  The security issue is not that you want to do it, but that you and
> others with similar jobs to yours can do it.

The security issue is that the protocol is not well behaved and does not
let users negotiate the level of protection they deem necessary and which
is possible to negotiate in a particular social setting. The protocol is
an absolute god-awful under-specified mess that leaves users at the mercy
of web sites, intermediaries and browser writers. Instead of giving users
the tools to assess and control connexion state, so they are able to
perform this negotiation (which they are the *only* ones legitimate to
perform) browsers and big sites have embarked in an anal blind quest to
apply TLS everywhere and *that* is the reason there are MITM ssl
interception boxes sprouting right and left today.

In an all-or-nothing world users get *nothing* on networks where they are
guests if the protocol and tools do not provide them the means to behave
like guests.

In an all-or-nothing world me and other intermediary operators get total
control because there is no middle knob between no control and total
control, and no control is not acceptable to the network owner who has
veto power by definition.

It's no use advertising the triply iron-clad TLS door to a social site
when said social site leaks user information like a sieve, often
deliberately. Not only it is not helping the user it's actively deceiving
him.

The day the protocols and tools help user check what is send in clear,
what had been integrity checked, what has been crypted, by whom and to
whom (and whom send the various error pages), and decide themselves what
they want (to they allow middlemen to accelerate or malware-check some
elements ; do they insist that others must be totally opaque even at the
cost of losing connection on networks they do not control) then people can
claim they are pro-users.

(it's not rocket science, it's just defining a protocol that permits
different compromise levels, providing means to users to tag accesses as
belonging to one category or the other, and having the web client
negotiate automatically the best compromise it can on the available
networks. And yes that would also permit users to bloc collection of data
by advertisers and other commercial entities if they wish so)

All the mashup, sharding, clouding, ajaxy stuff while convenient for web
site and browser developers has resulted in a mess no normal user could
identify any trust domain in. No amount of TLS-ing is going to fix the
trust problem. Multiplexing will make the situation worse, not better. So
please instead of continuing to make choices for the users please make
http connexions simpler to understand by users so they can make educated
security decisions (and putting grocery shopping on the same level as bank
account accesses is no making connexions simpler to understand it shows
users you don't give a fig about their actual needs).

I defy any of the pro-crypto people here to poll random people in the
street and make them say they'd rather have the internet become even more
complex and opaque, to provide total confidentiality, instead of being as
simple to use as a wired phone (even if everyone knows governments can
wiretap wired phones)

>> 3. When confidential (company or user) data leaks it's always at the
>> server endpoints, usually because those endpoints didn't care a bit
>> about
>> user data confidentiality.
>
> Well, we know that some countries monitor traffic for censorship and to
> discover dissidents. Most would call this data leakage, and it's not at
> the endpoints.

I'm quite sure those countries also read dissident blogs and social sites
and that they get more info this way than by monitoring traffic.

>> 12. we absolutely do *not* want to eavesdrop on bank accesses,
>> e-government forms, etc. We'd much prefer if such a traffic could be
>> send
>> in encrypted payloads with in-clear routing metadata (there I differ a
>> bit
>> from Willy, but I accept he has customers with stricter requirements
>> than
>> ours)
>
> Does "we" include the no such agency?

The no such agency has backdoors in all the big US web sites that want to
save people in other countries from spying with TLS. It does not even need
to profile people anymore those sites are doing it openly and for free in
its stead. With likedin it can downsize its economic intelligence arm too
(or even peek directly at data processed in the clouds of Amazon &
friends)

This is spook paradise

> Does it include its counterparts in Iran and Syria?

I'm sure they will catch up on the new way of offloading intelligence to
web site operators soon if they haven't yet. The Chinese certainly did a
long time ago.

>There are all sorts of people installing middleboxes.

And there are all sorts of people that do not want to be made targets
because their technology provider decided it was smart to make them go
dark and behave like enemies of the state.

You don't solve political problems with simplistic binary technical
changes (especially when you focus on the element which is not the worst
problem today). Governments and populations adapt either way. And just
because some populations do not like their government does not necessarily
mean they prefer to give the keys of their lives to facebook or google
(which is what will happen with a system too complex to control by anyone
but first-rank websites)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 12:43:50 2012
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 0791F11E8166 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:43:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.13
X-Spam-Level: 
X-Spam-Status: No, score=-9.13 tagged_above=-999 required=5 tests=[AWL=1.469, BAYES_00=-2.599, 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 g4nB2QQTQ32o for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:43:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56EB011E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 12:43:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SraAE-0006Vf-G1 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 19:44:02 +0000
Resent-Date: Wed, 18 Jul 2012 19:44:02 +0000
Resent-Message-Id: <E1SraAE-0006Vf-G1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SraA4-0006TT-QC for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 19:43:52 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SraA3-0004ZU-L1 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 19:43:52 +0000
Received: (qmail invoked by alias); 18 Jul 2012 19:43:24 -0000
Received: from p5DD96F20.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.111.32] by mail.gmx.net (mp002) with SMTP; 18 Jul 2012 21:43:24 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+N4bJpa1iNJZcmM3VGeJ+sefdruID0MxcdyqOytq DSpRjue7kAaOh3
Message-ID: <500711DA.4050805@gmx.de>
Date: Wed, 18 Jul 2012 21:43:22 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com> <5006684D.9020502@gmx.de> <50067E7B.9020806@treenet.co.nz>
In-Reply-To: <50067E7B.9020806@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SraA3-0004ZU-L1 6379e805ea81d4004630a7739d3b2b8f
X-Original-To: ietf-http-wg@w3.org
Subject: #376 rename b64token for clarity, was: p7: rename b64token (to token68)  to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/500711DA.4050805@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14524
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 2012-07-18 11:14, Amos Jeffries wrote:
> On 18/07/2012 7:39 p.m., Julian Reschke wrote:
>> On 2012-07-18 09:27, Manger, James H wrote:
>>> HTTPbis part 7 (Authentication) introduces a new piece of ABNF
>>> labelled "b64token"
>>> [http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-20#section-2.1].
>>> It is also referenced/repeated in the OAuth2 Bearer draft spec. The
>>> new ABNF is necessary and explained quite clearly in the spec.
>>> However, the "b64token" label has already led at least a handful of
>>> people to mistakenly assume it always holds a base64-encoding. The
>>> examples in the OAuth2 Bearer spec were even changed so they were not
>>> base64-encodings to try to minimise the misunderstanding, but others
>>> have still made the mistaken assumption.
>>>
>>> How about renaming the ABNF production to "token68"?
>>>
>>> This label reflects the fact that it supports an alphabet of 68
>>> characters (plus equal signs at the end).
>>>
>>> The new text in part 7 would become:
>>>
>>>     token68       = 1*( ALPHA / DIGIT /
>>>                          "-" / "." / "_" / "~" / "+" / "/" ) *"="
>>>
>>>     The "token68" syntax allows the 66 unreserved URI characters
>>>     ([RFC3986]), plus a few others, so that it can hold a base64,
>>>     base64url (URL and filename safe alphabet), base32, or base16 (hex)
>>>     encoding, with or without padding, but excluding whitespace
>>>     ([RFC4648]).
>>>
>>> --
>>> James Manger
>>
>> Sounds good to me; if this reduces potential confusion we should to that.
>>
>> Best regards, Julian
>>
>>
>
>
> +1 from me too.
>
> AYJ

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1815>



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 12:46:33 2012
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 D254011E8166 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:46:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.576
X-Spam-Level: 
X-Spam-Status: No, score=-10.576 tagged_above=-999 required=5 tests=[AWL=0.023, BAYES_00=-2.599, 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 sosqaD6UMW7u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:46:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 43AF011E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 12:46:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SraCv-0002jW-Oi for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 19:46:49 +0000
Resent-Date: Wed, 18 Jul 2012 19:46:49 +0000
Resent-Message-Id: <E1SraCv-0002jW-Oi@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SraCl-0002il-Qq for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 19:46:39 +0000
Received: from smtpout6.laposte.net ([193.253.67.231] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SraCk-0004eu-Sf for ietf-http-wg@w3.org; Wed, 18 Jul 2012 19:46:39 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8511-out with ME id bvmC1j00C4WQcrc03vmCdA; Wed, 18 Jul 2012 21:46:13 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 88DC22E3A21; Wed, 18 Jul 2012 21:46:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lfbSc3vgDQ9I; Wed, 18 Jul 2012 21:46:00 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 18 Jul 2012 21:46:00 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 18 Jul 2012 21:46:00 +0200
Message-ID: <b3226bec34ac1fdebd53cefbf9546a87.squirrel@arekh.dyndns.org>
In-Reply-To: <2EFBFEB3-2153-415A-8C80-CBFBD39A5B16@opera.com>
References: <882140393499dafafa4d64a2eeebd3f3.squirrel@arekh.dyndns.org> <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com> <1ecf4e8a520227b6afeb0bb064ec7485.squirrel@arekh.dyndns.org> <2EFBFEB3-2153-415A-8C80-CBFBD39A5B16@opera.com>
Date: Wed, 18 Jul 2012 21:46:00 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Karl Dubost" <karld@opera.com>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "HTTP Working Group" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.231; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SraCk-0004eu-Sf eecdacd8b57a8222d21c1dcadbb6349a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/b3226bec34ac1fdebd53cefbf9546a87.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14525
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>

Le Mer 18 juillet 2012 21:06, Karl Dubost a écrit :
> Nicolas,
> (and others)
>
> Le 18 juil. 2012 à 11:25, Nicolas Mailhot a écrit :
>> I'm operating an intermediary and I have more
>> accountability wrt my users than most of the web sites they visit.
>
>
> * What is the intermediary?
> * What is its business?
> * Why/When do you need to see the content of their communications?

http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0535.html

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 12:50:36 2012
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 D8CF821F87E8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:50:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.606
X-Spam-Level: 
X-Spam-Status: No, score=-9.606 tagged_above=-999 required=5 tests=[AWL=0.371, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 S+zAFWOkJIBo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:50:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 94B2921F87E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 12:50:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SraGm-0004ML-03 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 19:50:48 +0000
Resent-Date: Wed, 18 Jul 2012 19:50:48 +0000
Resent-Message-Id: <E1SraGm-0004ML-03@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SraGb-0004J6-Cj for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 19:50:37 +0000
Received: from na3sys010aog106.obsmtp.com ([74.125.245.80]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SraGZ-0004nK-73 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 19:50:37 +0000
Received: from mail-yw0-f42.google.com ([209.85.213.42]) (using TLSv1) by na3sys010aob106.postini.com ([74.125.244.12]) with SMTP ID DSNKUAcTdSv2ZBb/bLSivevoRmFLq8ifnVt2@postini.com; Wed, 18 Jul 2012 12:50:35 PDT
Received: by yhoo21 with SMTP id o21so1822777yho.15 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 12:50:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=YeYZF9dE0DRFvU9vjq+L0xCN7Dq7d4jQy5HCYhk1D5o=; b=NvsEHQiMFBENInPs8K3whCvphHc8T1+E/7sth2Y8ZM6PN466Qx3y8nm1V2S2J1NIMq 48/IWEobpfIa1rfRqEdUz2URQhYi3p9udYIsMwKLOOCwcjxNkiacR1LcWsJO85kWVF1D gsBRM3f3OFRNn06IMVdr9sI+X+uy0P4LXC8hU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=YeYZF9dE0DRFvU9vjq+L0xCN7Dq7d4jQy5HCYhk1D5o=; b=A8QHWpDF1IoK8r2V6AxIVZTCG72kDam1ESJ6RfQs5fz/jUXnB/gd30/2lWKuvM46MT y0X6dbj+UOThZH2yHgNCruA4BPTob7BrCDHoVHmABAPcGw3NXKxTwKOitLDAb6p+jNVi KbClspcxMcCYX65n33NlHNckYHh86KEts3sP06zUvF1gBXfXrGmupZ8GzgqsMABhWTSG t9vUfiaCo1vhn+AwHbGz0Nw74la86J78bDBG6Z/IjZ6zeB3JJc4dIDJIPwVSB3dDl9RX y8MWXLjpJfbAKpega0TTSTFTMapmg56TUvlNz3ERHvOzlzLs3ivF8F236pW+S3o0ma7Y nr+g==
Received: by 10.50.88.167 with SMTP id bh7mr3200566igb.69.1342641012619; Wed, 18 Jul 2012 12:50:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 18 Jul 2012 12:49:52 -0700 (PDT)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Thu, 19 Jul 2012 04:49:52 +0900
Message-ID: <CAMeZVws-wpQRC-CSC6yMD_1xNiE0p+MyJbSY+ofH1fWVud8e9g@mail.gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlk3q335pcR2YOVDmS5Szf/uhOv1AyYXz1m/PFxIuqXYeNkXLFYodwc7JtLx3qA5R2qz95J
Received-SPF: pass client-ip=74.125.245.80; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog106.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SraGZ-0004nK-73 a8262d1ce3a6c4e19d8c04488d8f317e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/CAMeZVws-wpQRC-CSC6yMD_1xNiE0p+MyJbSY+ofH1fWVud8e9g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14526
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>

+1, very good direction.

Additional comment:
Its use in -p7 is only for legacy direct tokens for challenge and credentia=
ls.
If there is a good-sounding name suggesting its legaciness or its specific
use case, it seems better for me than name based on 68 possible characters.

# I imagined "legacy-raw-auth-token", but it's not sounding good :-(

2012/7/18 Manger, James H <James.H.Manger@team.telstra.com>:
> HTTPbis part 7 (Authentication) introduces a new piece of ABNF labelled "=
b64token" [http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-20#section=
-2.1]. It is also referenced/repeated in the OAuth2 Bearer draft spec. The =
new ABNF is necessary and explained quite clearly in the spec. However, the=
 "b64token" label has already led at least a handful of people to mistakenl=
y assume it always holds a base64-encoding. The examples in the OAuth2 Bear=
er spec were even changed so they were not base64-encodings to try to minim=
ise the misunderstanding, but others have still made the mistaken assumptio=
n.
>
> How about renaming the ABNF production to "token68"?
>
> This label reflects the fact that it supports an alphabet of 68 character=
s (plus equal signs at the end).
>
> The new text in part 7 would become:
>
>    token68       =3D 1*( ALPHA / DIGIT /
>                         "-" / "." / "_" / "~" / "+" / "/" ) *"=3D"
>
>    The "token68" syntax allows the 66 unreserved URI characters
>    ([RFC3986]), plus a few others, so that it can hold a base64,
>    base64url (URL and filename safe alphabet), base32, or base16 (hex)
>    encoding, with or without padding, but excluding whitespace
>    ([RFC4648]).
>
> --
> James Manger



--=20
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5=
]


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 12:56:32 2012
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 18D5211E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:56:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.605
X-Spam-Level: 
X-Spam-Status: No, score=-10.605 tagged_above=-999 required=5 tests=[AWL=-0.006, BAYES_00=-2.599, 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 u-G4X5OmBrrQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 12:56:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7F3521F8821 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 12:56:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SraMW-0005uE-6w for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 19:56:44 +0000
Resent-Date: Wed, 18 Jul 2012 19:56:44 +0000
Resent-Message-Id: <E1SraMW-0005uE-6w@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SraMM-0005tT-CO for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 19:56:34 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SraML-0002rs-Aj for ietf-http-wg@w3.org; Wed, 18 Jul 2012 19:56:34 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 24FED3B76B; Wed, 18 Jul 2012 19:56:10 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6IJu6M2029611; Wed, 18 Jul 2012 19:56:07 GMT (envelope-from phk@phk.freebsd.dk)
To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
cc: "Yoav Nir" <ynir@checkpoint.com>, "Mike Belshe" <mike@belshe.com>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Adrien W. de Croy" <adrien@qbik.com>, "Rajeev Bector" <rbector@yahoo-inc.com>, "Martin Thomson" <martin.thomson@gmail.com>, =?utf-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>, "Doug Beaver" <doug@fb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 18 Jul 2012 21:37:39 +0200." <81875c643f0ad9cf72c228694f5c339d.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 19:56:06 +0000
Message-ID: <29610.1342641366@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SraML-0002rs-Aj a96c4ff4c9bf9b11d4cfa902d4cf5174
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/29610.1342641366@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14527
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>

>> Does "we" include the no such agency?
>
>The no such agency has backdoors in all the big US web sites that want to
>save people in other countries from spying with TLS. 

If I were appointed director of NSA, I would have to invent FaceBook
if it didn't already exist.

The tinfoil-hat brigade can take it from there without further help :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 13:00:45 2012
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 B8F8621F8832 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 13:00:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.154
X-Spam-Level: 
X-Spam-Status: No, score=-9.154 tagged_above=-999 required=5 tests=[AWL=1.445, BAYES_00=-2.599, 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 xTKEgtEzWEOV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 13:00:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BDFA421F8830 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 13:00:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SraQi-0001og-Al for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 20:01:04 +0000
Resent-Date: Wed, 18 Jul 2012 20:01:04 +0000
Resent-Message-Id: <E1SraQi-0001og-Al@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SraQY-0001n8-Kl for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 20:00:54 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SraQX-0002yX-Fu for ietf-http-wg@w3.org; Wed, 18 Jul 2012 20:00:54 +0000
Received: (qmail invoked by alias); 18 Jul 2012 20:00:27 -0000
Received: from p5DD96F20.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.111.32] by mail.gmx.net (mp017) with SMTP; 18 Jul 2012 22:00:27 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18C/PFgtm8CnFNF/RRzYNPCoWK/07Gvcx5Eh3vYLJ 2qe+EbNPDPSS1F
Message-ID: <500715D6.7070505@gmx.de>
Date: Wed, 18 Jul 2012 22:00:22 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: "Manger, James H" <James.H.Manger@team.telstra.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com> <CAMeZVws-wpQRC-CSC6yMD_1xNiE0p+MyJbSY+ofH1fWVud8e9g@mail.gmail.com>
In-Reply-To: <CAMeZVws-wpQRC-CSC6yMD_1xNiE0p+MyJbSY+ofH1fWVud8e9g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SraQX-0002yX-Fu 87ef969ff977e2faa149fba735471b22
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/500715D6.7070505@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14528
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 2012-07-18 21:49, Yutaka OIWA wrote:
> +1, very good direction.
>
> Additional comment:
> Its use in -p7 is only for legacy direct tokens for challenge and credentials.
> If there is a good-sounding name suggesting its legaciness or its specific
> use case, it seems better for me than name based on 68 possible characters.
>
> # I imagined "legacy-raw-auth-token", but it's not sounding good :-(
> ...

Point taken, but in the end what's important is the prose, and that 
already says:

"The "token68" notation was introduced for compatibility with existing 
authentication schemes and can only be used once per 
challenge/credentials. New schemes thus ought to use the "auth-param" 
syntax instead, because otherwise future extensions will be impossible."

(and yes, the OAuth bearer spec ignores that advice)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 13:05:27 2012
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 C109421F855A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 13:05:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.627
X-Spam-Level: 
X-Spam-Status: No, score=-9.627 tagged_above=-999 required=5 tests=[AWL=0.350, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 qqAZJJmTwdtA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 13:05:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EC68421F8533 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 13:05:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SraVL-0003cS-E7 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 20:05:51 +0000
Resent-Date: Wed, 18 Jul 2012 20:05:51 +0000
Resent-Message-Id: <E1SraVL-0003cS-E7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SraVB-0003bh-Jr for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 20:05:41 +0000
Received: from na3sys010aog101.obsmtp.com ([74.125.245.70]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SraVA-00039O-Ga for ietf-http-wg@w3.org; Wed, 18 Jul 2012 20:05:41 +0000
Received: from mail-yx0-f181.google.com ([209.85.213.181]) (using TLSv1) by na3sys010aob101.postini.com ([74.125.244.12]) with SMTP ID DSNKUAcW/vPs7fcWIhwemR9wnJnkkv/aym3L@postini.com; Wed, 18 Jul 2012 13:05:40 PDT
Received: by yenl3 with SMTP id l3so2114194yen.12 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 13:05:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lE/zCtYiUIBlrUc6AC7/OnSxz5XSkErEhHlVTG5zXzI=; b=EYqwNJoriO8NGvlc85EKG5JzbK02WI51aJuyxZqPvzX1Nc2WFFJunyOY9W2zqhgP1/ Pru4RsQ019r4gTE7gIe3t70ZS1AkJdEwS8LGQWeRCxwUA0EkcvjcWeM9Q5nCwPMXpM+E S2jRZRLOU202mpCdXl/GwMnaFQ4yY/DHbnnlY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=lE/zCtYiUIBlrUc6AC7/OnSxz5XSkErEhHlVTG5zXzI=; b=bqlqrV+JRFOgXPEwk0LGJ2cPCNi5cwjkYUEAht3yRsdu8WxFnssrNzfeCTbkvOGaFs bnN5qULSxCBH4XZ6XLACTsoSiOKosD/CnT3LjPp1OzTR2aRzYBlf8Wy6BQQniFJP7ZJK /lCk9CALEY1m5S5iSS3geULPTwei5idJtHr0/hvmZ0Oem90qD4i5vW6FPh6trsbZU2xf HDv6oLbd0+LgDJdWrhoGf+Xyq94bUDouhWt/6DqhzDP0nB1iCAkszoXQsPevWm7qid7+ 4Sy13gpcAET9121IDx8J6X9uR1KN/rnBDM4LT6+3yu835bkGL4VhU6Ux1s/dgGfT7y2r jbIQ==
Received: by 10.50.158.229 with SMTP id wx5mr3318352igb.23.1342641917952; Wed, 18 Jul 2012 13:05:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 18 Jul 2012 13:04:57 -0700 (PDT)
In-Reply-To: <500715D6.7070505@gmx.de>
References: <255B9BB34FB7D647A506DC292726F6E114F7D17DED@WSMSG3153V.srv.dir.telstra.com> <CAMeZVws-wpQRC-CSC6yMD_1xNiE0p+MyJbSY+ofH1fWVud8e9g@mail.gmail.com> <500715D6.7070505@gmx.de>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Thu, 19 Jul 2012 05:04:57 +0900
Message-ID: <CAMeZVwvuLf6OrtQwSc=BZEZHz7Lb1xNSKwintm_FVyGFPp56OQ@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "Manger, James H" <James.H.Manger@team.telstra.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnKBST+4z+285qlhasUzN+i152c2oHomTFJL9FEl3RGCkoZsONLoKusQmmAR9NadhDzCZhE
Received-SPF: pass client-ip=74.125.245.70; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog101.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SraVA-00039O-Ga 1f37fc2dc1bbfb778660472bff794d1b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p7: rename b64token (to token68) to avoid misunderstandings
Archived-At: <http://www.w3.org/mid/CAMeZVwvuLf6OrtQwSc=BZEZHz7Lb1xNSKwintm_FVyGFPp56OQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14529
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>

Dear Julian,

Yes, I know the existence of that important text.
So, I am enough satisfied even with the current name, too.

Thank you.

2012/7/19 Julian Reschke <julian.reschke@gmx.de>:
> Point taken, but in the end what's important is the prose, and that already
> says:
>
> "The "token68" notation was introduced for compatibility with existing
> authentication schemes and can only be used once per challenge/credentials.
> New schemes thus ought to use the "auth-param" syntax instead, because
> otherwise future extensions will be impossible."
>
> (and yes, the OAuth bearer spec ignores that advice)



-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 13:36:45 2012
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 2F07C11E81A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 13:36:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.594
X-Spam-Level: 
X-Spam-Status: No, score=-9.594 tagged_above=-999 required=5 tests=[AWL=1.003, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, 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 jLqIzix1F-gO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 13:36:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 179AD11E819C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 13:36:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrazG-0001yi-MS for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 20:36:46 +0000
Resent-Date: Wed, 18 Jul 2012 20:36:46 +0000
Resent-Message-Id: <E1SrazG-0001yi-MS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sraz6-0001ur-Ki for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 20:36:36 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sraz5-0006E0-43 for ietf-http-wg@w3.org; Wed, 18 Jul 2012 20:36:36 +0000
Received: by weyx43 with SMTP id x43so1314278wey.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 13:36:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=6UCKqYtMKYI1BEP6cTKP2Dw4bF+R+3WxWBFN9FdQRi4=; b=jHD6zvXNqfUkehqvnE93d8Es4rCDVHN3k6m16v8AnGs+knKNC5fP2fN02tmLOeQvSx vDNekZSQ1VhVp+jrPEQmvOL1+eRrOzCtH8lrqrkj1FW7L1SMMvwLXNIi3j4FTQRlmjHx QMJC4aCS5eS8MnZ4oHR3qi97lfQ8ZocKJF3fwSQ4oYAzGI6CkxxDaB4HmKz56txIG8ta FUR1wErZO1Jvt1z7KNEDyDm9HPht9Unr+OcbScoGR8QK5w7KxTaJTdQr86/oBT6T/Pft QvLVaTK9rBQSo+6XOOiz6acf6uaW2UYeqmcE/j6FZpOQgYW3zHQBhFD00K0MJQyyxa8u oQqQ==
Received: by 10.180.90.207 with SMTP id by15mr9372494wib.22.1342643768485; Wed, 18 Jul 2012 13:36:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 13:35:48 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Wed, 18 Jul 2012 13:35:48 -0700
Message-ID: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043c8046e1658004c5209c43
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sraz5-0006E0-43 0c4f6b727d0cbc6b77ba0596d5eb2e72
X-Original-To: ietf-http-wg@w3.org
Subject: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14530
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>

--f46d043c8046e1658004c5209c43
Content-Type: text/plain; charset=UTF-8

Just need a few clarifications as I've been going through the spec... some
of these are probably obvious but I wanted to get the "official" answer...

1. Section 3.2 HTTP Request/Response is fairly under-defined.
   For example...
   - are all request headers REQUIRED to be contained within the SYN_STREAM
or can some be pushed off to additional HEADERS frames? Likewise with
SYN_REPLY frames.
   - is it possible to interleave HEADERS and DATA frames within a request
or response Stream? (I noticed discussion of this with regards to
server-push, but did not see any discussion of it with regards to regular
http methods)
   - Since SPDY effectively eliminates Transfer-Encodings, are Trailers
still allowed? That is, for example, what if I wanted to send a HEADERS
frame containing a Content-Integrity header following a set of DATA frames?

  (Personal Opinion: it should be possible to interleave HEADERS anywhere
into the stream. With a few specific exceptions, It should also be possible
to override a given headers value by sending another instance of the header
along later in the same stream. Doing so raises the possibility of more
efficient multipart encodings, incremental data-integrity checks, etc)

2. Just for the sake of clarity, what is the expected behavior if a
user-agent interleaves multiple modification requests to the same resource?
For instance:

   => SYN_STREAM(id=1,:method=PUT,:path=/my/resource)
   => SYN_STREAM(id=2,:method=DELETE,:path=/my/resource)
   => SYN_STREAM(id=3,:method=POST, :path=/my/resource)

   While this may appear on the surface to be a silly question, it speaks
to a fundamental issue of allowing unsafe/non-idempotent methods to be
multiplexed, particularly if the processing order for requests interleaved
on a single connection is indeterminate. From
draft-ietf-httpbis-p1-messaging-20 6.3.2.2:

     Clients SHOULD NOT pipeline requests using non-idempotent request
     methods or non-idempotent sequences of request methods (see Section
     2.1.2 of [Part2]).  Otherwise, a premature termination of the
     transport connection could lead to indeterminate results.  A client
     wishing to send a non-idempotent request SHOULD wait to send that
     request until it has received the response status line for the
     previous request.

3. How are Informational 1xx Status Codes handled? The current SPDY draft
does not appear to support "provisional responses".

4. Note that the Upgrade header as currently defined within HTTP/1.1 will
need to be revisited. In fact, as currently defined, Upgrade is
incompatible with SPDY.

5. There's a fairly obvious security DoS concern about allowing a user
agent to multiplex multiple ranged GETs over a single connection. See
draft-ietf-httpbis-p5-range-20 Section 7.1 on "Overlapping Ranges".

6. It's good that Section 5.4 deals with cache control validation with
server push but the requirement needs to be made stronger. If the
originating stream utilizes any content negotiation mechanisms at all, and
those mechanisms impact the selection of resources that are pushed to the
client, the *server* MUST include an appropriate Vary header with the
pushed content. Right now, the spec states only that "browsers MUST be
careful to inherit request headers" ... but that leaves out any possible
intermediary caches along the way, which can obviously cause major problems.

7. What methods can trigger a server push? For instance, if I send a POST
request, is it possible for the server to respond with a push? For example,
I send a POST to a server to modify an image. In response to the POST, the
server returns a 200 OK with a page describing the changes and pushes the
modified image resource in a separate stream. Or are pushes only triggered
by GET requests? What are the conditions in which a push would be
considered inappropriate?


- James

--f46d043c8046e1658004c5209c43
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div><font face=3D"courier new, monospace">Just need a few clarifications a=
s I&#39;ve been going through the spec... some of these are probably obviou=
s but I wanted to get the &quot;official&quot; answer...</font></div><div>

<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">1. Section 3.2 HTTP Request/Response is fairly under=
-defined.=C2=A0</font></div><div><font face=3D"courier new, monospace">=C2=
=A0 =C2=A0For example...=C2=A0</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0- are all request h=
eaders REQUIRED to be contained within=C2=A0the SYN_STREAM or can some be p=
ushed off to additional=C2=A0HEADERS frames? Likewise with SYN_REPLY frames=
.</font></div><div>

<font face=3D"courier new, monospace">=C2=A0 =C2=A0- is it possible to inte=
rleave HEADERS and DATA frames=C2=A0within a request or response Stream? (I=
 noticed discussion of this with regards to server-push, but did not see an=
y discussion of it with regards to regular http methods)</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0- Since SPDY effect=
ively eliminates Transfer-Encodings,=C2=A0are Trailers still allowed? That =
is, for example, what=C2=A0if I wanted to send a HEADERS frame containing a=
 Content-Integrity=C2=A0header following a set of DATA frames?</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">=C2=A0 (Personal Opinion: it should be possible=
 to interleave HEADERS anywhere into the stream. With a few specific except=
ions, It should also be possible to override a given headers value by sendi=
ng another instance of the header along later in the same stream. Doing so =
raises the possibility of more efficient multipart encodings, incremental d=
ata-integrity checks, etc)</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">2. Just for the sake of clarity, what is the ex=
pected behavior if a user-agent=C2=A0interleaves multiple modification requ=
ests to the same resource? For instance:</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0</font></div><div><=
font face=3D"courier new, monospace">=C2=A0 =C2=A0=3D&gt; SYN_STREAM(id=3D1=
,:method=3DPUT,:path=3D/my/resource)</font></div><div><font face=3D"courier=
 new, monospace">=C2=A0 =C2=A0=3D&gt; SYN_STREAM(id=3D2,:method=3DDELETE,:p=
ath=3D/my/resource)</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0=3D&gt; SYN_STREAM(=
id=3D3,:method=3DPOST, :path=3D/my/resource)</font></div><div><font face=3D=
"courier new, monospace">=C2=A0 =C2=A0</font></div><div><font face=3D"couri=
er new, monospace">=C2=A0 =C2=A0While this may appear on the surface to be =
a silly question, it speaks to a fundamental issue of allowing unsafe/non-i=
dempotent methods to be multiplexed, particularly if the processing order f=
or requests interleaved on a single connection is indeterminate. From draft=
-ietf-httpbis-p1-messaging-20 <a href=3D"http://6.3.2.2">6.3.2.2</a>:</font=
></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0</font></div><div><=
font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0Clients SHOULD NOT=
 pipeline requests using non-idempotent request</font></div><div><font face=
=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0methods or non-idempotent s=
equences of request methods (see Section</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A02.1.2 of [Pa=
rt2]). =C2=A0Otherwise, a premature termination of the</font></div><div><fo=
nt face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0transport connection=
 could lead to indeterminate results. =C2=A0A client</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0wishing to s=
end a non-idempotent request SHOULD wait to send that</font></div><div><fon=
t face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0request until it has =
received the response status line for the</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0previous req=
uest.</font></div><div><font face=3D"courier new, monospace">=C2=A0 =C2=A0<=
/font></div><div><font face=3D"courier new, monospace">3. How are Informati=
onal 1xx Status Codes handled? The current SPDY draft does=C2=A0not appear =
to support &quot;provisional responses&quot;.=C2=A0</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">4. Note that the Upgrade header as currently de=
fined within HTTP/1.1 will need to be revisited. In fact, as currently defi=
ned, Upgrade is incompatible with SPDY.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">5. There&#39;s a fairly obvious security DoS co=
ncern about allowing a user agent to multiplex multiple ranged GETs over a =
single connection. See draft-ietf-httpbis-p5-range-20 Section 7.1 on &quot;=
Overlapping Ranges&quot;.=C2=A0</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">6. It&#39;s good that Section 5.4 deals with ca=
che control validation with server push but the requirement needs to be mad=
e stronger. If the originating stream utilizes any content negotiation mech=
anisms at all, and those mechanisms impact the selection of resources that =
are pushed to the client, the *server* MUST include an appropriate Vary hea=
der with the pushed content. Right now, the spec states only that &quot;bro=
wsers MUST be careful to inherit request headers&quot; ... but that leaves =
out any possible intermediary caches along the way, which can obviously cau=
se major problems.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">7. What methods can trigger a server push? For =
instance, if I send a POST request, is it possible for the server to respon=
d with a push? For example, I send a POST to a server to modify an image. I=
n response to the POST, the server returns a 200 OK with a page describing =
the changes and pushes the modified image resource in a separate stream. Or=
 are pushes only triggered by GET requests? What are the conditions in whic=
h a push would be considered inappropriate?</font></div>

<div><br></div><div><font face=3D"courier new, monospace"><br></font></div>=
<div><font face=3D"courier new, monospace">- James</font></div>

--f46d043c8046e1658004c5209c43--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:04:54 2012
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 7606011E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:04:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.605
X-Spam-Level: 
X-Spam-Status: No, score=-10.605 tagged_above=-999 required=5 tests=[AWL=-0.006, BAYES_00=-2.599, 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 yaK1MUOG1aLI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:04:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B2F9711E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:04:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrbQ0-0001of-Ty for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:04:24 +0000
Resent-Date: Wed, 18 Jul 2012 21:04:24 +0000
Resent-Message-Id: <E1SrbQ0-0001of-Ty@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrbPr-0001nu-1q for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:04:15 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrbPp-000797-Uk for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:04:15 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 5A2593B74B; Wed, 18 Jul 2012 21:03:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6IL3pJB077751; Wed, 18 Jul 2012 21:03:52 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 18 Jul 2012 13:35:48 MST." <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 21:03:51 +0000
Message-ID: <77750.1342645431@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrbPp-000797-Uk 19b5cfe0d4c3070b79b37a41c6e6f5fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/77750.1342645431@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14531
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>

In message <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com>
, James M Snell writes:

>2. Just for the sake of clarity, what is the expected behavior if a
>user-agent interleaves multiple modification requests to the same resource?
>For instance:
>
>   => SYN_STREAM(id=1,:method=PUT,:path=/my/resource)
>   => SYN_STREAM(id=2,:method=DELETE,:path=/my/resource)
>   => SYN_STREAM(id=3,:method=POST, :path=/my/resource)

This is entirely parallel to the same issue with respect to
tagged-queueing of requests to a disk drive and remote filesystem
operations.

You basically have three choices:

1. Make it automatic.

   Any non-idempotent operation is a synchronizing/stalling event
   that prevents reordering of other operations across it.

   The following request stream will always execute seqentially
   in this case:

   => SYN_STREAM(id=1,:method=GET,:path=/my/resource)
   => SYN_STREAM(id=2,:method=PUT,:path=/my/resource)
   => SYN_STREAM(id=3,:method=GET,:path=/my/resource)
   => SYN_STREAM(id=4,:method=DELETE,:path=/my/resource)
   => SYN_STREAM(id=5,:method=GET,:path=/my/resource)
   => SYN_STREAM(id=6,:method=POST, :path=/my/resource)
   => SYN_STREAM(id=7,:method=GET,:path=/my/resource)

2. Give the requestor a synchronizing primitive.

   Basically allowing the client to say "don't reorder anything
   across this marker, but continue to optimize on both sides"

   The following request stream will always execute seqentially
   in this case:

   => SYN_STREAM(id=1,:method=GET,:path=/my/resource1)
   => SYN_STREAM(id=2,:method=GET,:path=/my/resource2; sync=yes)
   => SYN_STREAM(id=3,:method=GET,:path=/my/resource1)

   (Notice that you can sync on an indempotent operation, this
   is deliberate, as it allows "cheap" NOP-sync operations.)

3. Leave the behaviour undefined.

   It's anyones guess what will happen.

In a web where client-side is non-participating in application logic
(ie: the good old fill-the-form-press-submit model), any of these
will do.

But we are increasingly seeing web-apps that actively participate
in, and have deep knowledge of the application logic on the
server side.

For those, number one is the safe choice, but it pessimizes needlessly
and number three will cost RTT's because the client has to wait for
operations to complete before issuing dependent operations.

That leaves the second option, and given the cheapness of implemenation
(You tag all requests with a generation number which increases after
every sync-tag, never sort higher generation before lower.) I think
that is the most future-proof choice for HTTP/2.0.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:36:02 2012
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 A3D7711E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:36:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 LGyTeOFFVijR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:36:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6C08B11E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:36:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srbua-00017I-3e for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:36:00 +0000
Resent-Date: Wed, 18 Jul 2012 21:36:00 +0000
Resent-Message-Id: <E1Srbua-00017I-3e@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <werner.baumann@onlinehome.de>) id 1SrbuO-00015y-Vs for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:35:49 +0000
Received: from moutng.kundenserver.de ([212.227.17.10]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <werner.baumann@onlinehome.de>) id 1SrbuN-00060v-DS for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:35:48 +0000
Received: from ginster.fritz.box (dtmd-4d0bc54b.pool.mediaWays.net [77.11.197.75]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LfLLx-1Tg2sa1Vof-00p2oZ; Wed, 18 Jul 2012 23:35:21 +0200
Date: Wed, 18 Jul 2012 23:35:12 +0200
From: Werner Baumann <werner.baumann@onlinehome.de>
To: ietf-http-wg@w3.org
Message-ID: <20120718233512.24f037c8@ginster.fritz.box>
In-Reply-To: <81875c643f0ad9cf72c228694f5c339d.squirrel@arekh.dyndns.org>
References: <5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org> <B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com> <81875c643f0ad9cf72c228694f5c339d.squirrel@arekh.dyndns.org>
X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V02:K0:GlsD8gNHvb2Tnx5lkr4Qm9qAsevPHzUj5emOcsTBpq9 HT43wqsG6zlhJEzPQWkB37l58k6/58u60b12fStSIIocUuB8Pp d19dL8M0a8cjtME/jtWB3fgJ6PEZDsToyP3aqmCpyR4BhdM6qA PwQltT0mKGw1cVg8AnR/dK7z3ZTsmVWMffWUfsnn3ro6mGpVoy xhHR0HQL6LCzdx2p2Bu9Ci69qrxaGjM+1OABzSXE9N6Y+b67Oq COTDbuEYWO20kqZbZEbDZlctd91deXlMF79HZGROLnic+mQGVT Cmr7a/72Teyp2rUrUsUDdsvJKi83T394i5CVLCW9sTdmEdPiP/ j9PkWCqt4YHs6rvk1cv82Zh6NQQ254MPtIh7tIx+6
Received-SPF: none client-ip=212.227.17.10; envelope-from=werner.baumann@onlinehome.de; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrbuN-00060v-DS c0c89ee5718df924289a9f19f193753a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/20120718233512.24f037c8@ginster.fritz.box>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14532
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>

+1 especially the part about user control, from a user.
I'm tired of data miners that pretend to care for my privacy.

Werner

Am Wed, 18 Jul 2012 21:37:39 +0200
schrieb "Nicolas Mailhot" <nicolas.mailhot@laposte.net>:

>=20
> Le Mer 18 juillet 2012 16:03, Yoav Nir a =C3=A9crit :
> > Wow. It's like I have to run to the other side of the table to
> > argue for the other side=E2=80=A6
> >
> > On Jul 18, 2012, at 4:24 PM, Nicolas Mailhot wrote:
> >>
> >> That being said:
> >>
> >> 1. I don't read the bank (or other correspondence) of my users
> >>
> >> 2. I'm not asked to read the bank (or other correspondence) of my
> >> users, either by management or a police state (divulging it would
> >> take a legal injunction I think, never had to deal with those)
> >
> > It's a good thing that you don't read bank transactions and that
> > you don't get asked to. But you could read the bank transactions if
> > you wanted to (or were asked to).
>=20
> No one is going to ask me to do so. Much simpler to hire some shady
> character to deploy a keylogger on the target user computer, and no
> need to involve an honest general-purpose network joe like me. Your
> threat assessment is faulty.
>=20
> > If the data goes over HTTP you can do it with
> > something as simple as TCPDUMP. If it goes over SSL, you'll need a
> > TLS proxy.  The security issue is not that you want to do it, but
> > that you and others with similar jobs to yours can do it.
>=20
> The security issue is that the protocol is not well behaved and does
> not let users negotiate the level of protection they deem necessary
> and which is possible to negotiate in a particular social setting.
> The protocol is an absolute god-awful under-specified mess that
> leaves users at the mercy of web sites, intermediaries and browser
> writers. Instead of giving users the tools to assess and control
> connexion state, so they are able to perform this negotiation (which
> they are the *only* ones legitimate to perform) browsers and big
> sites have embarked in an anal blind quest to apply TLS everywhere
> and *that* is the reason there are MITM ssl interception boxes
> sprouting right and left today.
>=20
> In an all-or-nothing world users get *nothing* on networks where they
> are guests if the protocol and tools do not provide them the means to
> behave like guests.
>=20
> In an all-or-nothing world me and other intermediary operators get
> total control because there is no middle knob between no control and
> total control, and no control is not acceptable to the network owner
> who has veto power by definition.
>=20
> It's no use advertising the triply iron-clad TLS door to a social site
> when said social site leaks user information like a sieve, often
> deliberately. Not only it is not helping the user it's actively
> deceiving him.
>=20
> The day the protocols and tools help user check what is send in clear,
> what had been integrity checked, what has been crypted, by whom and to
> whom (and whom send the various error pages), and decide themselves
> what they want (to they allow middlemen to accelerate or
> malware-check some elements ; do they insist that others must be
> totally opaque even at the cost of losing connection on networks they
> do not control) then people can claim they are pro-users.
>=20
> (it's not rocket science, it's just defining a protocol that permits
> different compromise levels, providing means to users to tag accesses
> as belonging to one category or the other, and having the web client
> negotiate automatically the best compromise it can on the available
> networks. And yes that would also permit users to bloc collection of
> data by advertisers and other commercial entities if they wish so)
>=20
> All the mashup, sharding, clouding, ajaxy stuff while convenient for
> web site and browser developers has resulted in a mess no normal user
> could identify any trust domain in. No amount of TLS-ing is going to
> fix the trust problem. Multiplexing will make the situation worse,
> not better. So please instead of continuing to make choices for the
> users please make http connexions simpler to understand by users so
> they can make educated security decisions (and putting grocery
> shopping on the same level as bank account accesses is no making
> connexions simpler to understand it shows users you don't give a fig
> about their actual needs).
>=20
> I defy any of the pro-crypto people here to poll random people in the
> street and make them say they'd rather have the internet become even
> more complex and opaque, to provide total confidentiality, instead of
> being as simple to use as a wired phone (even if everyone knows
> governments can wiretap wired phones)
>=20
> >> 3. When confidential (company or user) data leaks it's always at
> >> the server endpoints, usually because those endpoints didn't care
> >> a bit about
> >> user data confidentiality.
> >
> > Well, we know that some countries monitor traffic for censorship
> > and to discover dissidents. Most would call this data leakage, and
> > it's not at the endpoints.
>=20
> I'm quite sure those countries also read dissident blogs and social
> sites and that they get more info this way than by monitoring traffic.
>=20
> >> 12. we absolutely do *not* want to eavesdrop on bank accesses,
> >> e-government forms, etc. We'd much prefer if such a traffic could
> >> be send
> >> in encrypted payloads with in-clear routing metadata (there I
> >> differ a bit
> >> from Willy, but I accept he has customers with stricter
> >> requirements than
> >> ours)
> >
> > Does "we" include the no such agency?
>=20
> The no such agency has backdoors in all the big US web sites that
> want to save people in other countries from spying with TLS. It does
> not even need to profile people anymore those sites are doing it
> openly and for free in its stead. With likedin it can downsize its
> economic intelligence arm too (or even peek directly at data
> processed in the clouds of Amazon & friends)
>=20
> This is spook paradise
>=20
> > Does it include its counterparts in Iran and Syria?
>=20
> I'm sure they will catch up on the new way of offloading intelligence
> to web site operators soon if they haven't yet. The Chinese certainly
> did a long time ago.
>=20
> >There are all sorts of people installing middleboxes.
>=20
> And there are all sorts of people that do not want to be made targets
> because their technology provider decided it was smart to make them go
> dark and behave like enemies of the state.
>=20
> You don't solve political problems with simplistic binary technical
> changes (especially when you focus on the element which is not the
> worst problem today). Governments and populations adapt either way.
> And just because some populations do not like their government does
> not necessarily mean they prefer to give the keys of their lives to
> facebook or google (which is what will happen with a system too
> complex to control by anyone but first-rank websites)
>=20



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:36:03 2012
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 2BC3611E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:36:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.343
X-Spam-Level: 
X-Spam-Status: No, score=-10.343 tagged_above=-999 required=5 tests=[AWL=0.254, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, 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 F1QcD5Xc2c4C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:36:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 74A2711E8095 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:36:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srbuj-00017j-D2 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:36:09 +0000
Resent-Date: Wed, 18 Jul 2012 21:36:09 +0000
Resent-Message-Id: <E1Srbuj-00017j-D2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrbuQ-00016A-Sp for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:35:50 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrbuP-00060y-1w for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:35:50 +0000
Received: by wibhm2 with SMTP id hm2so4590713wib.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 14:35:22 -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=U2r+AHR4AuzrmAAi/icoJF2nyRhjrJogKIPTgo74sqg=; b=sEo696sc//v4rMbwQO+44BtEnqWfkpigqr6HBf4T68afO7E8Pbym/CAbFzYMQUqYJk CnjZycBzu4zwuY7CdXMjKFQls5SbbJMqRk7189JQQa+vlD45BgHlLuoRMvslu0kgR+CR RK9Ox/8tKtpiINadvB1jc6UDmnogmkuRMTW/U8zTN806QaCt4rrQNzJbwb82b7AwvA3H jzNsgkTchqVV2ZE14Ma8CsXQrgLEtrDRkI95AhmeKgdlXnOjpm/SOzBwHNsOijbx+fYw YbKtyWq/37sDG8ivMvdmlwaQipsrZMPF60M5NEMLh7HYEEpKdpMG+6brlWYSOoG3C1oB GHVw==
MIME-Version: 1.0
Received: by 10.180.100.35 with SMTP id ev3mr10016733wib.10.1342647322318; Wed, 18 Jul 2012 14:35:22 -0700 (PDT)
Received: by 10.194.19.72 with HTTP; Wed, 18 Jul 2012 14:35:22 -0700 (PDT)
In-Reply-To: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com>
Date: Wed, 18 Jul 2012 14:35:22 -0700
Message-ID: <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d044282a6b4979304c5217095
Received-SPF: pass client-ip=209.85.212.169; envelope-from=grmocg@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrbuP-00060y-1w 70818b4c7231f8c3a52bf532f3b1fa83
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14533
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>

--f46d044282a6b4979304c5217095
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Jul 18, 2012 at 1:35 PM, James M Snell <jasnell@gmail.com> wrote:

> Just need a few clarifications as I've been going through the spec... some
> of these are probably obvious but I wanted to get the "official" answer...
>
> 1. Section 3.2 HTTP Request/Response is fairly under-defined.
>    For example...
>    - are all request headers REQUIRED to be contained within the
> SYN_STREAM or can some be pushed off to additional HEADERS frames? Likewise
> with SYN_REPLY frames.
>

It depends.
For server push, split headers (i.e. some in SYN_REPLY, some in a HEADERS
frame) are expected.
For normal requests, this isn't the case.

One of the solutions that was discussed was to have a flag in any of the
header blocks on these frames which indicated that we'd entered a different
phase of metadata processing, e.g. once for the request or reply, then
another for trailers/chunk extension equivalent.

Here is the most recent discussion on the matter:
  https://groups.google.com/d/topic/spdy-dev/KO8rMMFGzd8/discussion
The changes mentioned here didn't get folded into the spec, but probably
should have.
The spec could and should be much clearer on this, and the protocol should
be changed to make it very obvious. :/


>    - is it possible to interleave HEADERS and DATA frames within a request
> or response Stream? (I noticed discussion of this with regards to
> server-push, but did not see any discussion of it with regards to regular
> http methods)
>

It is.


>    - Since SPDY effectively eliminates Transfer-Encodings, are Trailers
> still allowed? That is, for example, what if I wanted to send a HEADERS
> frame containing a Content-Integrity header following a set of DATA frames?
>

We keep going round and round on that. It isn't well spec'd because no-one
who implements spdy client-side has yet had an implementation that would
use them.
Theoretically, you'd just use a header frame at the end.


>
>   (Personal Opinion: it should be possible to interleave HEADERS anywhere
> into the stream. With a few specific exceptions, It should also be possible
> to override a given headers value by sending another instance of the header
> along later in the same stream. Doing so raises the possibility of more
> efficient multipart encodings, incremental data-integrity checks, etc)
>
> 2. Just for the sake of clarity, what is the expected behavior if a
> user-agent interleaves multiple modification requests to the same resource?
> For instance:
>
>    => SYN_STREAM(id=1,:method=PUT,:path=/my/resource)
>    => SYN_STREAM(id=2,:method=DELETE,:path=/my/resource)
>    => SYN_STREAM(id=3,:method=POST, :path=/my/resource)
>
>    While this may appear on the surface to be a silly question, it speaks
> to a fundamental issue of allowing unsafe/non-idempotent methods to be
> multiplexed, particularly if the processing order for requests interleaved
> on a single connection is indeterminate. From
> draft-ietf-httpbis-p1-messaging-20 6.3.2.2:
>

The spec doesn't define the behavior, as you've noted. The expectation is
that HTTP semantics w.r.t. non-idempotent methods will be preserved for
HTTP streams.
This is not optimal in a number of ways. Personally, I'd love to leave it
up to the application and provide more rich signaling as to when requests
were sent, response headers received, etc.


>
>      Clients SHOULD NOT pipeline requests using non-idempotent request
>      methods or non-idempotent sequences of request methods (see Section
>      2.1.2 of [Part2]).  Otherwise, a premature termination of the
>      transport connection could lead to indeterminate results.  A client
>      wishing to send a non-idempotent request SHOULD wait to send that
>      request until it has received the response status line for the
>      previous request.
>
> 3. How are Informational 1xx Status Codes handled? The current SPDY draft
> does not appear to support "provisional responses".
>

Here is the most recent discussion on the matter (same one as before):
   https://groups.google.com/d/topic/spdy-dev/_DJSgQ-3PP0/discussion


>
> 4. Note that the Upgrade header as currently defined within HTTP/1.1 will
> need to be revisited. In fact, as currently defined, Upgrade is
> incompatible with SPDY.
>
> 5. There's a fairly obvious security DoS concern about allowing a user
> agent to multiplex multiple ranged GETs over a single connection. See
> draft-ietf-httpbis-p5-range-20 Section 7.1 on "Overlapping Ranges".
>



>
> 6. It's good that Section 5.4 deals with cache control validation with
> server push but the requirement needs to be made stronger. If the
> originating stream utilizes any content negotiation mechanisms at all, and
> those mechanisms impact the selection of resources that are pushed to the
> client, the *server* MUST include an appropriate Vary header with the
> pushed content. Right now, the spec states only that "browsers MUST be
> careful to inherit request headers" ... but that leaves out any possible
> intermediary caches along the way, which can obviously cause major problems.
>

Sure, are you up for changing it to how you'd like it to read?
The most current version of the spec is hosted on Github here (and we make
changes to it there):

   https://github.com/mbelshe/SPDY-Specification/tree/gh-pages


>
> 7. What methods can trigger a server push? For instance, if I send a POST
> request, is it possible for the server to respond with a push? For example,
> I send a POST to a server to modify an image. In response to the POST, the
> server returns a 200 OK with a page describing the changes and pushes the
> modified image resource in a separate stream. Or are pushes only triggered
> by GET requests? What are the conditions in which a push would be
> considered inappropriate?
>

Any request could trigger a push. The server cannot do a push until there
is a request, and all pushed resources are associated with one request,
though the responses could be used by multiple pages/page views.
-=R


>
>
> - James
>

--f46d044282a6b4979304c5217095
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Jul 18, 2012 at 1:35 PM, James M=
 Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D=
"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<div><font face=3D"courier new, monospace">Just need a few clarifications a=
s I&#39;ve been going through the spec... some of these are probably obviou=
s but I wanted to get the &quot;official&quot; answer...</font></div><div>


<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">1. Section 3.2 HTTP Request/Response is fairly under=
-defined.=A0</font></div><div><font face=3D"courier new, monospace">=A0 =A0=
For example...=A0</font></div>


<div><font face=3D"courier new, monospace">=A0 =A0- are all request headers=
 REQUIRED to be contained within=A0the SYN_STREAM or can some be pushed off=
 to additional=A0HEADERS frames? Likewise with SYN_REPLY frames.</font></di=
v></blockquote>
<div><br></div><div>It depends.</div><div>For server push, split headers (i=
.e. some in SYN_REPLY, some in a HEADERS frame) are expected.</div><div>For=
 normal requests, this isn&#39;t the case.</div><div><br></div><div>One of =
the solutions that was discussed was to have a flag in any of the header bl=
ocks on these frames which indicated that we&#39;d entered a different phas=
e of metadata processing, e.g. once for the request or reply, then another =
for trailers/chunk extension equivalent.</div>
<div><div><br></div><div>Here is the most recent discussion on the matter:<=
/div><div>=A0 <a href=3D"https://groups.google.com/d/topic/spdy-dev/KO8rMMF=
Gzd8/discussion">https://groups.google.com/d/topic/spdy-dev/KO8rMMFGzd8/dis=
cussion</a></div>
</div><div>The changes mentioned here didn&#39;t get folded into the spec, =
but probably should have.</div><div>The spec could and should be much clear=
er on this, and the protocol should be changed to make it very obvious. :/<=
/div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div>

<font face=3D"courier new, monospace">=A0 =A0- is it possible to interleave=
 HEADERS and DATA frames=A0within a request or response Stream? (I noticed =
discussion of this with regards to server-push, but did not see any discuss=
ion of it with regards to regular http methods)</font></div>
</blockquote><div><br></div><div>It is.</div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">

<div><font face=3D"courier new, monospace">=A0 =A0- Since SPDY effectively =
eliminates Transfer-Encodings,=A0are Trailers still allowed? That is, for e=
xample, what=A0if I wanted to send a HEADERS frame containing a Content-Int=
egrity=A0header following a set of DATA frames?</font></div>
</blockquote><div><br></div><div>We keep going round and round on that. It =
isn&#39;t well spec&#39;d because no-one who implements spdy client-side ha=
s yet had an implementation that would use them.</div><div>Theoretically, y=
ou&#39;d just use a header frame at the end.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">=A0 (Personal Opinion: it should be possible to=
 interleave HEADERS anywhere into the stream. With a few specific exception=
s, It should also be possible to override a given headers value by sending =
another instance of the header along later in the same stream. Doing so rai=
ses the possibility of more efficient multipart encodings, incremental data=
-integrity checks, etc)</font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">2. Just for the sake of clarity, what is the ex=
pected behavior if a user-agent=A0interleaves multiple modification request=
s to the same resource? For instance:</font></div>


<div><font face=3D"courier new, monospace">=A0 =A0</font></div><div><font f=
ace=3D"courier new, monospace">=A0 =A0=3D&gt; SYN_STREAM(id=3D1,:method=3DP=
UT,:path=3D/my/resource)</font></div><div><font face=3D"courier new, monosp=
ace">=A0 =A0=3D&gt; SYN_STREAM(id=3D2,:method=3DDELETE,:path=3D/my/resource=
)</font></div>


<div><font face=3D"courier new, monospace">=A0 =A0=3D&gt; SYN_STREAM(id=3D3=
,:method=3DPOST, :path=3D/my/resource)</font></div><div><font face=3D"couri=
er new, monospace">=A0 =A0</font></div><div><font face=3D"courier new, mono=
space">=A0 =A0While this may appear on the surface to be a silly question, =
it speaks to a fundamental issue of allowing unsafe/non-idempotent methods =
to be multiplexed, particularly if the processing order for requests interl=
eaved on a single connection is indeterminate. From draft-ietf-httpbis-p1-m=
essaging-20 <a href=3D"http://6.3.2.2" target=3D"_blank">6.3.2.2</a>:</font=
></div>
</blockquote><div><br></div><div>The spec doesn&#39;t define the behavior, =
as you&#39;ve noted.=A0The expectation is that HTTP=A0semantics=A0w.r.t. no=
n-idempotent methods will be preserved for HTTP streams.=A0</div><div>This =
is not optimal in a number of ways. Personally, I&#39;d love to leave it up=
 to the application and provide more rich signaling as to when requests wer=
e sent, response headers received, etc.=A0</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">

<div><font face=3D"courier new, monospace">=A0 =A0</font></div><div><font f=
ace=3D"courier new, monospace">=A0 =A0 =A0Clients SHOULD NOT pipeline reque=
sts using non-idempotent request</font></div><div><font face=3D"courier new=
, monospace">=A0 =A0 =A0methods or non-idempotent sequences of request meth=
ods (see Section</font></div>


<div><font face=3D"courier new, monospace">=A0 =A0 =A02.1.2 of [Part2]). =
=A0Otherwise, a premature termination of the</font></div><div><font face=3D=
"courier new, monospace">=A0 =A0 =A0transport connection could lead to inde=
terminate results. =A0A client</font></div>


<div><font face=3D"courier new, monospace">=A0 =A0 =A0wishing to send a non=
-idempotent request SHOULD wait to send that</font></div><div><font face=3D=
"courier new, monospace">=A0 =A0 =A0request until it has received the respo=
nse status line for the</font></div>


<div><font face=3D"courier new, monospace">=A0 =A0 =A0previous request.</fo=
nt></div><div><font face=3D"courier new, monospace">=A0 =A0</font></div><di=
v><font face=3D"courier new, monospace">3. How are Informational 1xx Status=
 Codes handled? The current SPDY draft does=A0not appear to support &quot;p=
rovisional responses&quot;.=A0</font></div>
</blockquote><div><br></div><div>Here is the most recent discussion on the =
matter (same one as before):</div><div>=A0 =A0<a href=3D"https://groups.goo=
gle.com/d/topic/spdy-dev/_DJSgQ-3PP0/discussion">https://groups.google.com/=
d/topic/spdy-dev/_DJSgQ-3PP0/discussion</a></div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">4. Note that the Upgrade header as currently de=
fined within HTTP/1.1 will need to be revisited. In fact, as currently defi=
ned, Upgrade is incompatible with SPDY.</font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">5. There&#39;s a fairly obvious security DoS co=
ncern about allowing a user agent to multiplex multiple ranged GETs over a =
single connection. See draft-ietf-httpbis-p5-range-20 Section 7.1 on &quot;=
Overlapping Ranges&quot;.=A0</font></div>
</blockquote><div><br></div><div>=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">6. It&#39;s good that Section 5.4 deals with ca=
che control validation with server push but the requirement needs to be mad=
e stronger. If the originating stream utilizes any content negotiation mech=
anisms at all, and those mechanisms impact the selection of resources that =
are pushed to the client, the *server* MUST include an appropriate Vary hea=
der with the pushed content. Right now, the spec states only that &quot;bro=
wsers MUST be careful to inherit request headers&quot; ... but that leaves =
out any possible intermediary caches along the way, which can obviously cau=
se major problems.</font></div>
</blockquote><div><br></div><div>Sure, are you up for changing it to how yo=
u&#39;d like it to read?</div><div>The most current version of the spec is =
hosted on Github here (and we make changes to it there):</div><div><br>
</div><div>=A0 =A0<a href=3D"https://github.com/mbelshe/SPDY-Specification/=
tree/gh-pages">https://github.com/mbelshe/SPDY-Specification/tree/gh-pages<=
/a></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">7. What methods can trigger a server push? For =
instance, if I send a POST request, is it possible for the server to respon=
d with a push? For example, I send a POST to a server to modify an image. I=
n response to the POST, the server returns a 200 OK with a page describing =
the changes and pushes the modified image resource in a separate stream. Or=
 are pushes only triggered by GET requests? What are the conditions in whic=
h a push would be considered inappropriate?</font></div>
</blockquote><div><br></div><div>Any request could trigger a push. The serv=
er cannot do a push until there is a request, and all pushed resources are =
associated with one request, though the responses could be used by multiple=
 pages/page views.</div>
<div>-=3DR</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D=
"HOEnZb"><font color=3D"#888888">

<div><br></div><div><font face=3D"courier new, monospace"><br></font></div>=
<div><font face=3D"courier new, monospace">- James</font></div>
</font></span></blockquote></div><br>

--f46d044282a6b4979304c5217095--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:38:04 2012
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 B216511E8095 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.56
X-Spam-Level: 
X-Spam-Status: No, score=-10.56 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 8cod1SpC4b43 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:38:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7F2A11E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:38:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srbwi-0001Qa-QV for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:38:12 +0000
Resent-Date: Wed, 18 Jul 2012 21:38:12 +0000
Resent-Message-Id: <E1Srbwi-0001Qa-QV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrbwY-0001PQ-KQ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:38:02 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SrbwX-0008Ia-7h for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:38:02 +0000
Received: by wgbds1 with SMTP id ds1so4584159wgb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 14:37:34 -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=NMbPVZjKOfgHGrP1O6NiR2as1QGVbCJ1x5px+g9Ldzk=; b=sgmZ62bmnozePTJdTY7Hj7h4L6jGno5w1n/pjG1F6j+JhRn6onIaaCsK8kahNNPpDU oV2M0TWmC7JVqtlFi4VCGClkdIp4YIwBVIES8W6dY4tYesBH+jpxLRwP0X6p2ar8j1kd gTJsrJxMwPoRL+9IqIV5HLuvVsqYTU5FzgvsWZw6FKKEFgKS6wGfcOXWKoSSaqmwswbt +L/HTcoUz7VtQQ9ghT1Nn9VQkqi25Q7yj65do7DD9uYgtdG2uir3izvG5RLiFjHvRyv3 k/UhrB6jI/LKqgdOkCKVwfMf9V56gTWoNgPW/PJ8v3mNMAdShD/WRTLtc2g0WRasqQ13 y/LQ==
MIME-Version: 1.0
Received: by 10.217.6.194 with SMTP id y44mr1400382wes.27.1342647454510; Wed, 18 Jul 2012 14:37:34 -0700 (PDT)
Received: by 10.194.19.72 with HTTP; Wed, 18 Jul 2012 14:37:34 -0700 (PDT)
In-Reply-To: <77750.1342645431@critter.freebsd.dk>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <77750.1342645431@critter.freebsd.dk>
Date: Wed, 18 Jul 2012 14:37:34 -0700
Message-ID: <CAP+FsNcGECC1ybR9TKG64tdAs1huPM2jHgLL2kt8Sh7E_07XZQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf302acf3c95acd304c5217847
Received-SPF: pass client-ip=74.125.82.41; envelope-from=grmocg@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrbwX-0008Ia-7h 11001ecd1efa33c534e30842099b7e0b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CAP+FsNcGECC1ybR9TKG64tdAs1huPM2jHgLL2kt8Sh7E_07XZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14534
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>

--20cf302acf3c95acd304c5217847
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Jul 18, 2012 at 2:03 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=
> BgSofuhA@mail.gmail.com>
> , James M Snell writes:
>
> >2. Just for the sake of clarity, what is the expected behavior if a
> >user-agent interleaves multiple modification requests to the same
> resource?
> >For instance:
> >
> >   => SYN_STREAM(id=1,:method=PUT,:path=/my/resource)
> >   => SYN_STREAM(id=2,:method=DELETE,:path=/my/resource)
> >   => SYN_STREAM(id=3,:method=POST, :path=/my/resource)
>
> This is entirely parallel to the same issue with respect to
> tagged-queueing of requests to a disk drive and remote filesystem
> operations.
>
> You basically have three choices:
>
> 1. Make it automatic.
>
>    Any non-idempotent operation is a synchronizing/stalling event
>    that prevents reordering of other operations across it.
>
>    The following request stream will always execute seqentially
>    in this case:
>
>    => SYN_STREAM(id=1,:method=GET,:path=/my/resource)
>    => SYN_STREAM(id=2,:method=PUT,:path=/my/resource)
>    => SYN_STREAM(id=3,:method=GET,:path=/my/resource)
>    => SYN_STREAM(id=4,:method=DELETE,:path=/my/resource)
>    => SYN_STREAM(id=5,:method=GET,:path=/my/resource)
>    => SYN_STREAM(id=6,:method=POST, :path=/my/resource)
>    => SYN_STREAM(id=7,:method=GET,:path=/my/resource)
>
> 2. Give the requestor a synchronizing primitive.
>
>    Basically allowing the client to say "don't reorder anything
>    across this marker, but continue to optimize on both sides"
>
>    The following request stream will always execute seqentially
>    in this case:
>
>    => SYN_STREAM(id=1,:method=GET,:path=/my/resource1)
>    => SYN_STREAM(id=2,:method=GET,:path=/my/resource2; sync=yes)
>    => SYN_STREAM(id=3,:method=GET,:path=/my/resource1)
>
>    (Notice that you can sync on an indempotent operation, this
>    is deliberate, as it allows "cheap" NOP-sync operations.)
>
> 3. Leave the behaviour undefined.
>
>    It's anyones guess what will happen.
>
> In a web where client-side is non-participating in application logic
> (ie: the good old fill-the-form-press-submit model), any of these
> will do.
>
> But we are increasingly seeing web-apps that actively participate
> in, and have deep knowledge of the application logic on the
> server side.
>
> For those, number one is the safe choice, but it pessimizes needlessly
> and number three will cost RTT's because the client has to wait for
> operations to complete before issuing dependent operations.
>
> That leaves the second option, and given the cheapness of implemenation
> (You tag all requests with a generation number which increases after
> every sync-tag, never sort higher generation before lower.) I think
> that is the most future-proof choice for HTTP/2.0.
>

Even that one has its problems. What happens when the connection is for
multiple domains?
Is there a separate sequencing for each domain (that'd make sense as that
is what happens for HTTP).

In the end, I think that idempotent/non-idempotent determination by method
has become so polluted as to be unworkable, and applications should
probably just figure it out themselves by controlling when the requests are
issued (which is what they do today).
-=R


>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--20cf302acf3c95acd304c5217847
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Jul 18, 2012 at 2:03 PM, Poul-He=
nning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" targ=
et=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
In message &lt;CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=3D<a href=3D"mail=
to:BgSofuhA@mail.gmail.com">BgSofuhA@mail.gmail.com</a>&gt;<br>
<div class=3D"im">, James M Snell writes:<br>
<br>
&gt;2. Just for the sake of clarity, what is the expected behavior if a<br>
&gt;user-agent interleaves multiple modification requests to the same resou=
rce?<br>
&gt;For instance:<br>
&gt;<br>
&gt; =A0 =3D&gt; SYN_STREAM(id=3D1,:method=3DPUT,:path=3D/my/resource)<br>
&gt; =A0 =3D&gt; SYN_STREAM(id=3D2,:method=3DDELETE,:path=3D/my/resource)<b=
r>
&gt; =A0 =3D&gt; SYN_STREAM(id=3D3,:method=3DPOST, :path=3D/my/resource)<br=
>
<br>
</div>This is entirely parallel to the same issue with respect to<br>
tagged-queueing of requests to a disk drive and remote filesystem<br>
operations.<br>
<br>
You basically have three choices:<br>
<br>
1. Make it automatic.<br>
<br>
=A0 =A0Any non-idempotent operation is a synchronizing/stalling event<br>
=A0 =A0that prevents reordering of other operations across it.<br>
<br>
=A0 =A0The following request stream will always execute seqentially<br>
=A0 =A0in this case:<br>
<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D1,:method=3DGET,:path=3D/my/resource)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D2,:method=3DPUT,:path=3D/my/resource)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D3,:method=3DGET,:path=3D/my/resource)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D4,:method=3DDELETE,:path=3D/my/resource)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D5,:method=3DGET,:path=3D/my/resource)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D6,:method=3DPOST, :path=3D/my/resource)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D7,:method=3DGET,:path=3D/my/resource)<br>
<br>
2. Give the requestor a synchronizing primitive.<br>
<br>
=A0 =A0Basically allowing the client to say &quot;don&#39;t reorder anythin=
g<br>
=A0 =A0across this marker, but continue to optimize on both sides&quot;<br>
<br>
=A0 =A0The following request stream will always execute seqentially<br>
=A0 =A0in this case:<br>
<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D1,:method=3DGET,:path=3D/my/resource1)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D2,:method=3DGET,:path=3D/my/resource2; sync=
=3Dyes)<br>
=A0 =A0=3D&gt; SYN_STREAM(id=3D3,:method=3DGET,:path=3D/my/resource1)<br>
<br>
=A0 =A0(Notice that you can sync on an indempotent operation, this<br>
=A0 =A0is deliberate, as it allows &quot;cheap&quot; NOP-sync operations.)<=
br>
<br>
3. Leave the behaviour undefined.<br>
<br>
=A0 =A0It&#39;s anyones guess what will happen.<br>
<br>
In a web where client-side is non-participating in application logic<br>
(ie: the good old fill-the-form-press-submit model), any of these<br>
will do.<br>
<br>
But we are increasingly seeing web-apps that actively participate<br>
in, and have deep knowledge of the application logic on the<br>
server side.<br>
<br>
For those, number one is the safe choice, but it pessimizes needlessly<br>
and number three will cost RTT&#39;s because the client has to wait for<br>
operations to complete before issuing dependent operations.<br>
<br>
That leaves the second option, and given the cheapness of implemenation<br>
(You tag all requests with a generation number which increases after<br>
every sync-tag, never sort higher generation before lower.) I think<br>
that is the most future-proof choice for HTTP/2.0.<br></blockquote><div><br=
></div><div>Even that one has its problems. What happens when the connectio=
n is for multiple domains?</div><div>Is there a separate sequencing for eac=
h domain (that&#39;d make sense as that is what happens for HTTP).</div>
<div><br></div><div>In the end, I think that idempotent/non-idempotent dete=
rmination by method has become so polluted as to be unworkable, and applica=
tions should probably just figure it out themselves by controlling when the=
 requests are issued (which is what they do today).</div>
<div>-=3DR</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</font></span></blockquote></div><br>

--20cf302acf3c95acd304c5217847--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:46:20 2012
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 C4CA711E8197 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:46:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.305
X-Spam-Level: 
X-Spam-Status: No, score=-10.305 tagged_above=-999 required=5 tests=[AWL=-0.306, BAYES_00=-2.599, J_CHICKENPOX_43=0.6, 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 5Llh4HPttlzY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:46:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 43FEE11E8132 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:46:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Src4l-0006am-Ah for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:46:31 +0000
Resent-Date: Wed, 18 Jul 2012 21:46:31 +0000
Resent-Message-Id: <E1Src4l-0006am-Ah@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Src4b-0006a1-Kn for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:46:21 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Src4a-00006J-MM for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:46:21 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 80BE73B080; Wed, 18 Jul 2012 21:45:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6ILjx2A009914; Wed, 18 Jul 2012 21:45:59 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 18 Jul 2012 14:37:34 MST." <CAP+FsNcGECC1ybR9TKG64tdAs1huPM2jHgLL2kt8Sh7E_07XZQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 21:45:59 +0000
Message-ID: <9913.1342647959@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Src4a-00006J-MM 85860b641d0dd641616ccb908ae19bd1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/9913.1342647959@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14535
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>

In message <CAP+FsNcGECC1ybR9TKG64tdAs1huPM2jHgLL2kt8Sh7E_07XZQ@mail.gmail.com>
, Roberto Peon writes:

>> 2. Give the requestor a synchronizing primitive.
>>
>>    Basically allowing the client to say "don't reorder anything
>>    across this marker, but continue to optimize on both sides"
>>
>>    The following request stream will always execute seqentially
>>    in this case:
>>
>>    => SYN_STREAM(id=1,:method=GET,:path=/my/resource1)
>>    => SYN_STREAM(id=2,:method=GET,:path=/my/resource2; sync=yes)
>>    => SYN_STREAM(id=3,:method=GET,:path=/my/resource1)
>>
>>    (Notice that you can sync on an indempotent operation, this
>>    is deliberate, as it allows "cheap" NOP-sync operations.)
>
>Even that one has its problems. What happens when the connection is for
>multiple domains?
>Is there a separate sequencing for each domain (that'd make sense as that
>is what happens for HTTP).

We actually dont need to specify that do we ?

If the two domains are independent, their transactions will not
interefere with each other as they end up in different places.  If
the are dependent, presumably they will end up the same place, and
the sync=yes will DTRT.

>In the end, I think that idempotent/non-idempotent determination by method
>has become so polluted as to be unworkable, and applications should
>probably just figure it out themselves by controlling when the requests are
>issued (which is what they do today).

(= option 3 "make it undefined")

Yes, that is the simpler solution, but if we are serious about
shaving RTTs it is not a good choice.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:50:22 2012
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 47F6B11E8132 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:50:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.578
X-Spam-Level: 
X-Spam-Status: No, score=-10.578 tagged_above=-999 required=5 tests=[AWL=0.021, BAYES_00=-2.599, 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 fIdPtcFE1JQ3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:50:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F3E1411E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:50:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Src8p-0008Ul-KY for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:50:43 +0000
Resent-Date: Wed, 18 Jul 2012 21:50:43 +0000
Resent-Message-Id: <E1Src8p-0008Ul-KY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Src8e-0008Tv-Ou for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:50:32 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Src8d-0000D4-Cm for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:50:32 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8507-out with ME id bxq21j0044WQcrc03xq2S2; Wed, 18 Jul 2012 23:50:04 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 772882E3A21; Wed, 18 Jul 2012 23:50:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kZTNlKTJd1lN; Wed, 18 Jul 2012 23:49:50 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 18 Jul 2012 23:49:50 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 18 Jul 2012 23:49:50 +0200
Message-ID: <c963a377032aae668863d0579f4d0467.squirrel@arekh.dyndns.org>
Date: Wed, 18 Jul 2012 23:49:50 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Roberto Peon" <grmocg@gmail.com>
Cc: paul.hoffman@gmail.com, "Phillip Hallam-Baker" <hallam@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "Mike Belshe" <mike@belshe.com>, "Patrick McManus" <pmcmanus@mozilla.com>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Src8d-0000D4-Cm fdfa03bfbc2940621dcae7c686db3bfc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/c963a377032aae668863d0579f4d0467.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14536
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>

Roberto Peon <grmocg@...> writes:

> As a reminder, I submitted an ID w.r.t. TLS proxies and MITM.
> The key idea in it, ignoring the technical stuff, is that either party
(client, server) has or should have some decisions to make about what
the proxies are allowed to do, and thus their own behavior when dealing
with them.
>
> The proxy always had the power to restrict and control things which flow
through it. Always will.

Thank you for this document. I freely admit I probably need to read it
again a few times, but it's a good first step.

Some remarks:

A. the parts where you wish content would not be accepted if modified and
would not be modified will be optimized away by implementers. Either the
user-agent cares about modifications (and it will ask a manifest of those
elements signed by a key it already trusts, and it will check this
manifest) or it doesn't and no amount of spec will change that

B. If the user agent has no means of verifying the data is unmodified…
→ being anal there only wastes network resources, adds latency and annoys
the user on a non-roaming connexion. If external access is closed it's
closed an no amount of continuous user agent hammering is going to change
that

C. I don't think URI syntax of html syntax changes is reasonable to
expect. If you want the content-provider to hint something should only be
fetched in archi-secure mode you need to place the hint in the transport
layer (like hsts today)

D. therefore, the way to go is transport-level signed manifests (or
manifests of signatures). This is actually useful even without
intermediaries – that permits mirroring of elements signed by someone else
(the content provider with which you've established a tls tunnel is not
necessarily the entity you trust to sign the content)

E. I think you started from separate caching and trusted proxies and
realised mid-document they were just complementary modes
Indeed a real-life scenario would look more like this:

* user-agent is configured with a list of explicit proxies

* the first time it needs to retrieve or post something, or on network
changes it checks if they are available, and establishes a secure
connection with them (checking not just some proxy exists at some ip, bu
that it has a trusted cert)

* if no previous connexion history with this proxy is cached, the user
agent asks what is the proxy operator policy (stupid to try blindly
lots-of-operations without knowing beforehand how they are likely to be
treated, especially if several known proxies are available)

  'what can I get for *'
  → answer: trusted mode only, caching mode only, caching and trusted,
forbidden, restricted (need to provide auth to the proxy to get access),
direct (should try accessing the target directly), otherproxy (can not
handle this request, ask someone else)
mixed (request too broad, different rules apply to urls that match this
filter)
   + expiration time (when the policy is likely to change next for this
request)

* if necessary (the typical answer for * will be mixed) it repeats with
more specific request (specific domain, url set, etc).

* like with hsts it caches the answers so it does not need to query policy
all the time

(did you say out-of-band pac-file? die die die)

* once the user agent knows how a particular request can proceed on the
available proxies, it provides an auth token over the secure channel (if
needed), a key (if something is only available in trusted mode, and the
user is ok to use trusted mode for this resource), and proceeds

* even if an url is available in trusted mode the client should not switch
systematically away from caching mode unless necessary (content provider
hint, user preference) doing away with caching and malware scanning has
its own problems

* at any point the proxy can reply to a specific operation with a mode
change request (that the browser can accept or not), due to unscheduled
policy changes, or just policy rules that apply to specific url patterns
or mime types

F. user agent needs to accept proxy messages such as 'not found', 'auth
renewal needed'

G. protocol needs to enable the user agent to request signature manifest
or manifest of signatures of some objects (even without any intermediary)

H '[we] must worry about endpoint per-connection stream limits' indeed. A
big proxy setup will max out typical stream limits

I Good users agents should remember user wishes and in particular what
they absolutely do not want to go through trusted mode

And that's all for today

Best regards,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 14:58:35 2012
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 4289C11E818F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:58:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.18
X-Spam-Level: 
X-Spam-Status: No, score=-10.18 tagged_above=-999 required=5 tests=[AWL=0.417, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, 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 UFMel89R+T-M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 14:58:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BDAC11E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 14:58:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrcGg-0001rt-QR for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 21:58:50 +0000
Resent-Date: Wed, 18 Jul 2012 21:58:50 +0000
Resent-Message-Id: <E1SrcGg-0001rt-QR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrcGV-0001r0-VA for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 21:58:39 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrcGU-0000Q2-1u for ietf-http-wg@w3.org; Wed, 18 Jul 2012 21:58:39 +0000
Received: by wibhm2 with SMTP id hm2so4605498wib.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 14:58: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:from:date:message-id:subject:to :cc:content-type; bh=+CGt/6OIyK4ATT+ARgYu8tZNb07byje651toycD3awU=; b=koympA9C/mr3XYNoqZKUexyk5nGnwD1Udm4qqjdepSE3gstakB4b25FCQNS5CN41QD uMkMPV5W3Zwy5N1jsLjcbS6YeFdZJbkerlgQHre1vcwuWH2N9pOmVIUJsK6kBujyAWJj ihuQYuvGLRTijthNL0kBjzEq04vKzwzO7Vl1JVt0m9u97d4ggex+/d0R8ILsVlVu8Udk qhLg8/zJZWfo0/SaptCQdi5hs2q61Da3uY81wS3rLc0jyxRbenvJbyhm8LtH6v4wEJF0 iLl/Zr/2UZB28Zkj//u/t/pHUSA1lnDbsOREH1M1EIkahK01DKhRe6BBd+lVyUIt9DkG tu4g==
Received: by 10.180.103.136 with SMTP id fw8mr10079267wib.20.1342648691062; Wed, 18 Jul 2012 14:58:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 14:57:50 -0700 (PDT)
In-Reply-To: <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 18 Jul 2012 14:57:50 -0700
Message-ID: <CABP7Rbf0PKfHpgg3L9ib0MXep646FO8S59wnc5moKtCXwM5ATw@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0443044649f6a904c521c272
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrcGU-0000Q2-1u 4a6798c615c729029376567eb3dc4f74
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7Rbf0PKfHpgg3L9ib0MXep646FO8S59wnc5moKtCXwM5ATw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14537
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>

--f46d0443044649f6a904c521c272
Content-Type: text/plain; charset=UTF-8

On Wed, Jul 18, 2012 at 2:35 PM, Roberto Peon <grmocg@gmail.com> wrote:

>
>
> On Wed, Jul 18, 2012 at 1:35 PM, James M Snell <jasnell@gmail.com> wrote:
>
>> Just need a few clarifications as I've been going through the spec...
>> some of these are probably obvious but I wanted to get the "official"
>> answer...
>>
>> 1. Section 3.2 HTTP Request/Response is fairly under-defined.
>>    For example...
>>    - are all request headers REQUIRED to be contained within the
>> SYN_STREAM or can some be pushed off to additional HEADERS frames? Likewise
>> with SYN_REPLY frames.
>>
>
> It depends.
> For server push, split headers (i.e. some in SYN_REPLY, some in a HEADERS
> frame) are expected.
> For normal requests, this isn't the case.
>
> One of the solutions that was discussed was to have a flag in any of the
> header blocks on these frames which indicated that we'd entered a different
> phase of metadata processing, e.g. once for the request or reply, then
> another for trailers/chunk extension equivalent.
>
> Here is the most recent discussion on the matter:
>   https://groups.google.com/d/topic/spdy-dev/KO8rMMFGzd8/discussion
> The changes mentioned here didn't get folded into the spec, but probably
> should have.
> The spec could and should be much clearer on this, and the protocol should
> be changed to make it very obvious. :/
>

Yes, it definitely needs to be clearer. This is one of the areas where some
of the general concepts in the network-friendly-upgrade draft could come in
handy. It would be helpful to identify a primary set of headers that MUST
always appear within the SYN_STREAM or SYN_REPLY, but allow additional
headers to be specified in follow on HEADER frames, and only allow
duplicates in very specific cases.

SYN_REPLY(id=1, :status=100, :version=2.0)
...
HEADERS(id=1, :status=201, :version=2.0)
...

Another example... I've been exploring the theoretical possibility of using
spdy framing to provide an alternative to multipart/* packaging... imagine
the following response...

SYN_REPLY(
  id=1,
  :status=200,
  :version=2.0)
HEADERS (
  id=1,
  Content-Type: text/plain,
  Content-Length: 5)
DATA (id=1, "abcde")
HEADERS (
  id=1,
  Content-Integrity: 9b9af6945c95f1aa302a61acf75c9bd6,
  Content-Type: text/plain,
  Content-Length: 5)
DATA (id=1, "fghij")
HEADERS (
   flags: fin,
   Content-Integrity: d2d048a734af96bf0b7b1b24a431814a)

Yes, this is a change to existing HTTP semantics, but this kind of
optimization is definitely interesting... and not entirely insane.



>
>
>>    - is it possible to interleave HEADERS and DATA frames within a
>> request or response Stream? (I noticed discussion of this with regards to
>> server-push, but did not see any discussion of it with regards to regular
>> http methods)
>>
>
> It is.
>
>
>>    - Since SPDY effectively eliminates Transfer-Encodings, are Trailers
>> still allowed? That is, for example, what if I wanted to send a HEADERS
>> frame containing a Content-Integrity header following a set of DATA frames?
>>
>
> We keep going round and round on that. It isn't well spec'd because no-one
> who implements spdy client-side has yet had an implementation that would
> use them.
> Theoretically, you'd just use a header frame at the end.
>
>

Yes, that's it exactly. They should be allowed, period.


>
>>   (Personal Opinion: it should be possible to interleave HEADERS anywhere
>> into the stream. With a few specific exceptions, It should also be possible
>> to override a given headers value by sending another instance of the header
>> along later in the same stream. Doing so raises the possibility of more
>> efficient multipart encodings, incremental data-integrity checks, etc)
>>
>> 2. Just for the sake of clarity, what is the expected behavior if a
>> user-agent interleaves multiple modification requests to the same resource?
>> For instance:
>>
>>    => SYN_STREAM(id=1,:method=PUT,:path=/my/resource)
>>    => SYN_STREAM(id=2,:method=DELETE,:path=/my/resource)
>>    => SYN_STREAM(id=3,:method=POST, :path=/my/resource)
>>
>>    While this may appear on the surface to be a silly question, it speaks
>> to a fundamental issue of allowing unsafe/non-idempotent methods to be
>> multiplexed, particularly if the processing order for requests interleaved
>> on a single connection is indeterminate. From
>> draft-ietf-httpbis-p1-messaging-20 6.3.2.2:
>>
>
> The spec doesn't define the behavior, as you've noted. The expectation is
> that HTTP semantics w.r.t. non-idempotent methods will be preserved for
> HTTP streams.
> This is not optimal in a number of ways. Personally, I'd love to leave it
> up to the application and provide more rich signaling as to when requests
> were sent, response headers received, etc.
>
>

I'm fine with this for now but it needs to be stated explicitly in the
spec. Basically, a client SHOULD NOT multiplex non-idempotent requests.


>
>>      Clients SHOULD NOT pipeline requests using non-idempotent request
>>      methods or non-idempotent sequences of request methods (see Section
>>      2.1.2 of [Part2]).  Otherwise, a premature termination of the
>>      transport connection could lead to indeterminate results.  A client
>>      wishing to send a non-idempotent request SHOULD wait to send that
>>      request until it has received the response status line for the
>>      previous request.
>>
>> 3. How are Informational 1xx Status Codes handled? The current SPDY draft
>> does not appear to support "provisional responses".
>>
>
> Here is the most recent discussion on the matter (same one as before):
>    https://groups.google.com/d/topic/spdy-dev/_DJSgQ-3PP0/discussion
>
>
>>
>> 4. Note that the Upgrade header as currently defined within HTTP/1.1 will
>> need to be revisited. In fact, as currently defined, Upgrade is
>> incompatible with SPDY.
>>
>> 5. There's a fairly obvious security DoS concern about allowing a user
>> agent to multiplex multiple ranged GETs over a single connection. See
>> draft-ietf-httpbis-p5-range-20 Section 7.1 on "Overlapping Ranges".
>>
>
>
>
>>
>> 6. It's good that Section 5.4 deals with cache control validation with
>> server push but the requirement needs to be made stronger. If the
>> originating stream utilizes any content negotiation mechanisms at all, and
>> those mechanisms impact the selection of resources that are pushed to the
>> client, the *server* MUST include an appropriate Vary header with the
>> pushed content. Right now, the spec states only that "browsers MUST be
>> careful to inherit request headers" ... but that leaves out any possible
>> intermediary caches along the way, which can obviously cause major problems.
>>
>
> Sure, are you up for changing it to how you'd like it to read?
> The most current version of the spec is hosted on Github here (and we make
> changes to it there):
>
>    https://github.com/mbelshe/SPDY-Specification/tree/gh-pages
>
>

I'll see if I can draft up some language.


>
>> 7. What methods can trigger a server push? For instance, if I send a POST
>> request, is it possible for the server to respond with a push? For example,
>> I send a POST to a server to modify an image. In response to the POST, the
>> server returns a 200 OK with a page describing the changes and pushes the
>> modified image resource in a separate stream. Or are pushes only triggered
>> by GET requests? What are the conditions in which a push would be
>> considered inappropriate?
>>
>
> Any request could trigger a push. The server cannot do a push until there
> is a request, and all pushed resources are associated with one request,
> though the responses could be used by multiple pages/page views.
> -=R
>
>

Ok.

Thanks for the responses... i'm sure I'll have lots more questions soon :-)

- James


>
>>
>> - James
>>
>
>

--f46d0443044649f6a904c521c272
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Jul 18, 2012 at 2:35 PM, Roberto Peon <span dir=3D"ltr">&lt;<a =
href=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;=
</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br><br><div class=3D"gmail_quote"><div clas=
s=3D"im">On Wed, Jul 18, 2012 at 1:35 PM, James M Snell <span dir=3D"ltr">&=
lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com=
</a>&gt;</span> wrote:<br>

</div><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font face=3D"courier new, monospace">Just need a few clarifications a=
s I&#39;ve been going through the spec... some of these are probably obviou=
s but I wanted to get the &quot;official&quot; answer...</font></div><div>




<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">1. Section 3.2 HTTP Request/Response is fairly under=
-defined.=C2=A0</font></div><div><font face=3D"courier new, monospace">=C2=
=A0 =C2=A0For example...=C2=A0</font></div>




<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0- are all request h=
eaders REQUIRED to be contained within=C2=A0the SYN_STREAM or can some be p=
ushed off to additional=C2=A0HEADERS frames? Likewise with SYN_REPLY frames=
.</font></div></blockquote>


<div><br></div></div><div>It depends.</div><div>For server push, split head=
ers (i.e. some in SYN_REPLY, some in a HEADERS frame) are expected.</div><d=
iv>For normal requests, this isn&#39;t the case.</div><div><br></div><div>

One of the solutions that was discussed was to have a flag in any of the he=
ader blocks on these frames which indicated that we&#39;d entered a differe=
nt phase of metadata processing, e.g. once for the request or reply, then a=
nother for trailers/chunk extension equivalent.</div>


<div><div><br></div><div>Here is the most recent discussion on the matter:<=
/div><div>=C2=A0 <a href=3D"https://groups.google.com/d/topic/spdy-dev/KO8r=
MMFGzd8/discussion" target=3D"_blank">https://groups.google.com/d/topic/spd=
y-dev/KO8rMMFGzd8/discussion</a></div>


</div><div>The changes mentioned here didn&#39;t get folded into the spec, =
but probably should have.</div><div>The spec could and should be much clear=
er on this, and the protocol should be changed to make it very obvious. :/<=
/div>

</div></blockquote><div><br></div><div>Yes, it definitely needs to be clear=
er. This is one of the areas where some of the general concepts in the netw=
ork-friendly-upgrade draft could come in handy. It would be helpful to iden=
tify a primary set of headers that MUST always appear within the SYN_STREAM=
 or SYN_REPLY, but allow additional headers to be specified in follow on HE=
ADER frames, and only allow duplicates in very specific cases.=C2=A0</div>

<div><br></div><div>SYN_REPLY(id=3D1, :status=3D100, :version=3D2.0)</div><=
div>...</div><div>HEADERS(id=3D1, :status=3D201, :version=3D2.0)</div><div>=
...</div><div><br></div><div>Another example... I&#39;ve been exploring the=
 theoretical possibility of using spdy framing to provide an alternative to=
 multipart/* packaging... imagine the following response...</div>

<div><br></div><div>SYN_REPLY(</div><div>=C2=A0 id=3D1,=C2=A0</div><div>=C2=
=A0 :status=3D200,=C2=A0</div><div>=C2=A0 :version=3D2.0)</div><div>HEADERS=
 (</div><div>=C2=A0 id=3D1,=C2=A0</div><div>=C2=A0 Content-Type: text/plain=
,=C2=A0</div><div>=C2=A0 Content-Length: 5)</div><div>

DATA (id=3D1, &quot;abcde&quot;)</div><div>HEADERS (</div><div>=C2=A0 id=3D=
1,=C2=A0</div><div>=C2=A0 Content-Integrity: 9b9af6945c95f1aa302a61acf75c9b=
d6,=C2=A0</div><div>=C2=A0 Content-Type: text/plain,=C2=A0</div><div>=C2=A0=
 Content-Length: 5)</div><div>DATA (id=3D1, &quot;fghij&quot;)</div>

<div>HEADERS (</div><div>=C2=A0 =C2=A0flags: fin,</div><div>=C2=A0 =C2=A0Co=
ntent-Integrity:=C2=A0d2d048a734af96bf0b7b1b24a431814a)</div><div><br></div=
><div>Yes, this is a change to existing HTTP semantics, but this kind of op=
timization is definitely interesting... and not entirely insane.</div>

<div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=
=3D"gmail_quote"><div class=3D"im">
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div>

<font face=3D"courier new, monospace">=C2=A0 =C2=A0- is it possible to inte=
rleave HEADERS and DATA frames=C2=A0within a request or response Stream? (I=
 noticed discussion of this with regards to server-push, but did not see an=
y discussion of it with regards to regular http methods)</font></div>


</blockquote><div><br></div></div><div>It is.</div><div class=3D"im"><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0- Since SPDY effect=
ively eliminates Transfer-Encodings,=C2=A0are Trailers still allowed? That =
is, for example, what=C2=A0if I wanted to send a HEADERS frame containing a=
 Content-Integrity=C2=A0header following a set of DATA frames?</font></div>


</blockquote><div><br></div></div><div>We keep going round and round on tha=
t. It isn&#39;t well spec&#39;d because no-one who implements spdy client-s=
ide has yet had an implementation that would use them.</div><div>Theoretica=
lly, you&#39;d just use a header frame at the end.</div>

<div class=3D"im">
<div>=C2=A0</div></div></div></blockquote><div><br></div><div>Yes, that&#39=
;s it exactly. They should be allowed, period.=C2=A0</div><div>=C2=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div class=3D"gmail_quote"><div class=3D"im"><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">=C2=A0 (Personal Opinion: it should be possible=
 to interleave HEADERS anywhere into the stream. With a few specific except=
ions, It should also be possible to override a given headers value by sendi=
ng another instance of the header along later in the same stream. Doing so =
raises the possibility of more efficient multipart encodings, incremental d=
ata-integrity checks, etc)</font></div>




<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">2. Just for the sake of clarity, what is the ex=
pected behavior if a user-agent=C2=A0interleaves multiple modification requ=
ests to the same resource? For instance:</font></div>




<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0</font></div><div><=
font face=3D"courier new, monospace">=C2=A0 =C2=A0=3D&gt; SYN_STREAM(id=3D1=
,:method=3DPUT,:path=3D/my/resource)</font></div><div><font face=3D"courier=
 new, monospace">=C2=A0 =C2=A0=3D&gt; SYN_STREAM(id=3D2,:method=3DDELETE,:p=
ath=3D/my/resource)</font></div>




<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0=3D&gt; SYN_STREAM(=
id=3D3,:method=3DPOST, :path=3D/my/resource)</font></div><div><font face=3D=
"courier new, monospace">=C2=A0 =C2=A0</font></div><div><font face=3D"couri=
er new, monospace">=C2=A0 =C2=A0While this may appear on the surface to be =
a silly question, it speaks to a fundamental issue of allowing unsafe/non-i=
dempotent methods to be multiplexed, particularly if the processing order f=
or requests interleaved on a single connection is indeterminate. From draft=
-ietf-httpbis-p1-messaging-20 <a href=3D"http://6.3.2.2" target=3D"_blank">=
6.3.2.2</a>:</font></div>


</blockquote><div><br></div></div><div>The spec doesn&#39;t define the beha=
vior, as you&#39;ve noted.=C2=A0The expectation is that HTTP=C2=A0semantics=
=C2=A0w.r.t. non-idempotent methods will be preserved for HTTP streams.=C2=
=A0</div><div>This is not optimal in a number of ways. Personally, I&#39;d =
love to leave it up to the application and provide more rich signaling as t=
o when requests were sent, response headers received, etc.=C2=A0</div>

<div class=3D"im">
<div>=C2=A0</div></div></div></blockquote><div><br></div><div>I&#39;m fine =
with this for now but it needs to be stated explicitly in the spec. Basical=
ly, a client SHOULD NOT multiplex non-idempotent requests.</div><div>=C2=A0=
</div>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><div class=3D"im"=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">



<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0</font></div><div><=
font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0Clients SHOULD NOT=
 pipeline requests using non-idempotent request</font></div><div><font face=
=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0methods or non-idempotent s=
equences of request methods (see Section</font></div>




<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A02.1.2 of [Pa=
rt2]). =C2=A0Otherwise, a premature termination of the</font></div><div><fo=
nt face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0transport connection=
 could lead to indeterminate results. =C2=A0A client</font></div>




<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0wishing to s=
end a non-idempotent request SHOULD wait to send that</font></div><div><fon=
t face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0request until it has =
received the response status line for the</font></div>




<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0previous req=
uest.</font></div><div><font face=3D"courier new, monospace">=C2=A0 =C2=A0<=
/font></div><div><font face=3D"courier new, monospace">3. How are Informati=
onal 1xx Status Codes handled? The current SPDY draft does=C2=A0not appear =
to support &quot;provisional responses&quot;.=C2=A0</font></div>


</blockquote><div><br></div></div><div>Here is the most recent discussion o=
n the matter (same one as before):</div><div>=C2=A0 =C2=A0<a href=3D"https:=
//groups.google.com/d/topic/spdy-dev/_DJSgQ-3PP0/discussion" target=3D"_bla=
nk">https://groups.google.com/d/topic/spdy-dev/_DJSgQ-3PP0/discussion</a></=
div>

<div class=3D"im">
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">4. Note that the Upgrade header as currently de=
fined within HTTP/1.1 will need to be revisited. In fact, as currently defi=
ned, Upgrade is incompatible with SPDY.</font></div>




<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">5. There&#39;s a fairly obvious security DoS co=
ncern about allowing a user agent to multiplex multiple ranged GETs over a =
single connection. See draft-ietf-httpbis-p5-range-20 Section 7.1 on &quot;=
Overlapping Ranges&quot;.=C2=A0</font></div>


</blockquote><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">6. It&#39;s good that Section 5.4 deals with ca=
che control validation with server push but the requirement needs to be mad=
e stronger. If the originating stream utilizes any content negotiation mech=
anisms at all, and those mechanisms impact the selection of resources that =
are pushed to the client, the *server* MUST include an appropriate Vary hea=
der with the pushed content. Right now, the spec states only that &quot;bro=
wsers MUST be careful to inherit request headers&quot; ... but that leaves =
out any possible intermediary caches along the way, which can obviously cau=
se major problems.</font></div>


</blockquote><div><br></div></div><div>Sure, are you up for changing it to =
how you&#39;d like it to read?</div><div>The most current version of the sp=
ec is hosted on Github here (and we make changes to it there):</div><div>

<br>
</div><div>=C2=A0 =C2=A0<a href=3D"https://github.com/mbelshe/SPDY-Specific=
ation/tree/gh-pages" target=3D"_blank">https://github.com/mbelshe/SPDY-Spec=
ification/tree/gh-pages</a></div><div class=3D"im"><div>=C2=A0</div></div><=
/div></blockquote>

<div><br></div><div>I&#39;ll see if I can draft up some language.</div><div=
>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><div=
 class=3D"im">

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">7. What methods can trigger a server push? For =
instance, if I send a POST request, is it possible for the server to respon=
d with a push? For example, I send a POST to a server to modify an image. I=
n response to the POST, the server returns a 200 OK with a page describing =
the changes and pushes the modified image resource in a separate stream. Or=
 are pushes only triggered by GET requests? What are the conditions in whic=
h a push would be considered inappropriate?</font></div>


</blockquote><div><br></div></div><div>Any request could trigger a push. Th=
e server cannot do a push until there is a request, and all pushed resource=
s are associated with one request, though the responses could be used by mu=
ltiple pages/page views.</div>


<div>-=3DR</div><div>=C2=A0</div></div></blockquote><div><br></div><div>Ok.=
</div><div><br></div><div>Thanks for the responses... i&#39;m sure I&#39;ll=
 have lots more questions soon :-)</div><div><br></div><div>- James</div><d=
iv>

=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">

<span><font color=3D"#888888">

<div><br></div><div><font face=3D"courier new, monospace"><br></font></div>=
<div><font face=3D"courier new, monospace">- James</font></div>
</font></span></blockquote></div><br>
</blockquote></div><br>

--f46d0443044649f6a904c521c272--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 15:05:37 2012
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 9DD2211E8157 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:05:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.52
X-Spam-Level: 
X-Spam-Status: No, score=-7.52 tagged_above=-999 required=5 tests=[AWL=2.079, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 eVm+DEU93o0s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:05:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0D9711E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 15:05: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 1SrcNE-0006wt-8a for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 22:05:36 +0000
Resent-Date: Wed, 18 Jul 2012 22:05:36 +0000
Resent-Message-Id: <E1SrcNE-0006wt-8a@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrcN4-0006ux-FQ for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 22:05:26 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrcN2-0006kh-CN for ietf-http-wg@w3.org; Wed, 18 Jul 2012 22:05:26 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019147016@smtp.qbik.com>; Thu, 19 Jul 2012 10:05:00 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Tim Bray" <tbray@textuality.com>, "Eliot Lear" <lear@cisco.com>
Cc: "Mike Belshe" <mike@belshe.com>, "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Paul Hoffman" <paul.hoffman@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 22:05:00 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
Message-Id: <emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrcN2-0006kh-CN 8841e5c0b6376e2afc253eb2623b165a
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: Mandatory encryption
Archived-At: <http://www.w3.org/mid/emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14538
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>

------ Original Message ------
From: "Tim Bray" <tbray@textuality.com>
>On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear <lear@cisco.com> wrote:
>
>>>
>>>Show me the user that will stand up and say, "Yes, I would like my
>>>communications to be snoopable and changeable by 3rd parties without =
my
>>>knowledge."
>

Show me the person who will stand up and say "yes I want to pay tax".

This is not a way to prove anything.  Especially when there's no=20
discussion of the cost of not paying tax (having to live in cave and=20
defend your family against attackers while you starve to death).

Asking a question like that with no consideration of cost is misleading=20
at best.

>>
>>
>>
>>This is a red herring.  The real argument is around the ability of all=
 web
>>servers to get certificates
>>
>
>
>This pattern keeps coming up.
>A: =E2=80=9CPrivacy is good=E2=80=9D
>B: =E2=80=9CNo, because the technology is currently too expensive/unreliab=
le=E2=80=9D
>
>Uh... privacy is good.  -T
>
>
>


there are a few words missing from the statement "privacy is good" in=20
the context of this discussion.

what you're actually saying is "privacy is always good for everyone in=20
all circumstances".

That is where there is room for disagreement, with the=20
"...always...everyone...all circumstances" part.

Others going on to claim that people who take issue with the=20
"...always...everyone...all circumstances" part (because they see it=20
even though it's perpetually omitted by the proponents) therefore are=20
anti-user is the sort of reasoning that let GW Bush take the world=20
where it is today.

We can do better than that.
>



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 15:12:02 2012
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 36F3711E80FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:12:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.641
X-Spam-Level: 
X-Spam-Status: No, score=-9.641 tagged_above=-999 required=5 tests=[AWL=0.958, BAYES_00=-2.599, 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 NPS38BAdqAFB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:12:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8041B11E81B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 15:12:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrcRj-0000SE-RB for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 22:10:15 +0000
Resent-Date: Wed, 18 Jul 2012 22:10:15 +0000
Resent-Message-Id: <E1SrcRj-0000SE-RB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrcRa-0000RQ-28 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 22:10:06 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrcRY-0000nx-SK for ietf-http-wg@w3.org; Wed, 18 Jul 2012 22:10:06 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6IM9Asc013355; Thu, 19 Jul 2012 00:09:10 +0200
Date: Thu, 19 Jul 2012 00:09:10 +0200
From: Willy Tarreau <w@1wt.eu>
To: Osama Mazahir <OSAMAM@microsoft.com>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120718220910.GF11854@1wt.eu>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrcRY-0000nx-SK 20345b5e0934cbb62aac5a880ed5ec84
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120718220910.GF11854@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14539
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 Tue, Jul 17, 2012 at 10:32:58PM +0000, Osama Mazahir wrote:
> It's not broken as long as we are OK that the connection has to be closed
> upon expectation rejection (for non-chunked entity-body).
> 
> Based on my understanding, the client must close the connection if the server
> replied with a 4xx [1] against a non-chunked request.  Which makes sense as
> it ensures message integrity on a persistent connection [2].  Essentially, we
> break the ambiguity by having the server assume that the next byte (after the
> CRLFCRLF) will be entity-body.

You're right indeed, the protocol is broken in this case depending on whether
the client gets the 4xx in time and refrains from sending the body, or if it
starts sending the body before receiving the 4xx.

The protocol does not allow us to tell what the server will get depending on
the timing (either body or next request).

I think we should state that upon 4xx in response to Expect: 100-Continue,
the server should close the connection (after draining possibly pending data),
just as it would do on a redirect to another domain for instance.

That's an interesting case. I don't know how haproxy handles it, I suspect
it could be tricky.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 15:12:36 2012
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 60F2A11E80BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:12:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.59
X-Spam-Level: 
X-Spam-Status: No, score=-7.59 tagged_above=-999 required=5 tests=[AWL=2.009, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 0EMlxNZ3Yy31 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:12:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D01C621F862F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 15:12:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrcSi-0000UD-A6 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 22:11:16 +0000
Resent-Date: Wed, 18 Jul 2012 22:11:16 +0000
Resent-Message-Id: <E1SrcSi-0000UD-A6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrcSY-0000T5-O6 for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 22:11:06 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SrcSX-0006su-Nk for ietf-http-wg@w3.org; Wed, 18 Jul 2012 22:11:06 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3435)) with SMTP id <0019147025@smtp.qbik.com>; Thu, 19 Jul 2012 10:10:42 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Tim Bray" <tbray@textuality.com>, "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
Cc: "Patrick McManus" <pmcmanus@mozilla.com>, "Mike Belshe" <mike@belshe.com>, "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Paul Hoffman" <paul.hoffman@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 18 Jul 2012 22:10:42 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <CAHBU6itWWjSdHSY9uc+bCWxSbkC5uo+SrSh8-PDTFiWc1CQpCA@mail.gmail.com>
Message-Id: <emd9e7e461-7daa-4dc2-9fe3-ffc74b194575@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrcSX-0006su-Nk e9d612b2f9dfc4d62ff7212ae5eeef51
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/emd9e7e461-7daa-4dc2-9fe3-ffc74b194575@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14540
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>

------ Original Message ------
From: "Tim Bray" <tbray@textuality.com>
>
>I=E2=80=99m glad that at least some voices here are pro-user.  -T
>

wow.

lets leave the retarded political rhetoric out of this hey?=20

We are all users.



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 15:14:07 2012
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 22E3F11E80F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:14:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.6
X-Spam-Level: 
X-Spam-Status: No, score=-10.6 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, 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 QfCFsXAg45R8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 15:14:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15A3411E80BA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 15:14:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrcU0-0000Xu-6u for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jul 2012 22:12:36 +0000
Resent-Date: Wed, 18 Jul 2012 22:12:36 +0000
Resent-Message-Id: <E1SrcU0-0000Xu-6u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrcTq-0000X9-LK for ietf-http-wg@listhub.w3.org; Wed, 18 Jul 2012 22:12:26 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrcTp-0000sl-Ls for ietf-http-wg@w3.org; Wed, 18 Jul 2012 22:12:26 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 069793B74B; Wed, 18 Jul 2012 22:12:03 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6IMC2Zr012001; Wed, 18 Jul 2012 22:12:02 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien W. de Croy" <adrien@qbik.com>
cc: "Tim Bray" <tbray@textuality.com>, "Eliot Lear" <lear@cisco.com>, "Mike Belshe" <mike@belshe.com>, "Willy Tarreau" <w@1wt.eu>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Paul Hoffman" <paul.hoffman@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 18 Jul 2012 22:05:00 GMT." <emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 18 Jul 2012 22:12:02 +0000
Message-ID: <12000.1342649522@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrcTp-0000sl-Ls ea2c970f05e073346582b964cb03cfe9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Mandatory encryption
Archived-At: <http://www.w3.org/mid/12000.1342649522@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14541
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>

In message <emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed>, "Adrien W. de Croy"
 writes:

>Show me the person who will stand up and say "yes I want to pay tax".

I want to pay tax.

I get health-care, roads, schools for my kids, a low crime-rate,
and lots of other very expensive benefits.

It's a pretty sweet deal actually.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 17:07:08 2012
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 58D2811E80B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:07:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.521
X-Spam-Level: 
X-Spam-Status: No, score=-10.521 tagged_above=-999 required=5 tests=[AWL=0.078, BAYES_00=-2.599, 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 SZMyI8nxSv6X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:07:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AED5111E80E5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 17:07:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SreFM-0007DS-RL for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 00:05:36 +0000
Resent-Date: Thu, 19 Jul 2012 00:05:36 +0000
Resent-Message-Id: <E1SreFM-0007DS-RL@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 1SreFB-0007Bn-Qq for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 00:05:25 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SreFA-0001wq-Q1 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 00:05:25 +0000
Received: by vcdd16 with SMTP id d16so1204015vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 17:04:58 -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=c2LEwR34LIsVuA3BhCv8vmNdw4Ids7ygrui63FtUn7I=; b=S7B6csSkta50oCiYkAtzxhwVG7/I5V0R1FPbvbjQ/DiZZ3v8zQDy8eiI/OcXGZOIY6 HF4jmy5v2lB6hLe9xSB3ILbtpbLO0aOFLnQmOGuq1CnrwsDbMtyKYNbCvo9ZJgDD6t3g +v0DgHLfqnYF2Z08GP9UdrKYDSxxUH7pLmlf8+1fGqD0arSEIUSiktAXcHufUlLsF4K2 NdFlZX7uDPwQ7HbmGAnFziLSoh4EdBA/vZprBVGboMQtyYUkzbYpB65va2nZG0PbBObf fyfH9zfRA9bNTXawraQ5eFLuB9AWtQ6SFjusqtPLi/T6owJEeTwkAtelrgxYlX9GlhEH u//g==
MIME-Version: 1.0
Received: by 10.52.94.172 with SMTP id dd12mr1680922vdb.62.1342656298776; Wed, 18 Jul 2012 17:04:58 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 17:04:58 -0700 (PDT)
In-Reply-To: <emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed>
References: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed>
Date: Wed, 18 Jul 2012 19:04:58 -0500
Message-ID: <CACuKZqHt3XbOrO18EbZkdQHRXOvgEN7QWDR-M51Eqrm37t-2dg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SreFA-0001wq-Q1 4ee8755f2d77736f288b9743cfaef5a2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CACuKZqHt3XbOrO18EbZkdQHRXOvgEN7QWDR-M51Eqrm37t-2dg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14542
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>

The man/woman in the middle who has the authority to snoop also has
the authority to temper with certificates. The cost of doing that is
not prohibitively high for the authority, therefore it should be a
point against mandatory encryption.

For little guys though, the cost of certificates can be too high. I
don't think there's a conspiracy from Google etc to stiff
competitions, but these guys probably don't care too much about some
amateurs building toy webapps.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 17:07:40 2012
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 9094511E80E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:07:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.527
X-Spam-Level: 
X-Spam-Status: No, score=-10.527 tagged_above=-999 required=5 tests=[AWL=0.072, BAYES_00=-2.599, 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 oQdqjcPjt0qj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:07:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 08AD211E80B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 17:07:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SreHT-0007jc-Mm for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 00:07:47 +0000
Resent-Date: Thu, 19 Jul 2012 00:07:47 +0000
Resent-Message-Id: <E1SreHT-0007jc-Mm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SreHK-0007hR-5E for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 00:07:38 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SreHJ-0004fF-Ap for ietf-http-wg@w3.org; Thu, 19 Jul 2012 00:07:38 +0000
Received: by vcdd16 with SMTP id d16so1205122vcd.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 17:07: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=vhMK5w9rjjmDL00kpxpDGBsnucSGqL7w+QN0MhhAkzE=; b=g7hLxOQzd/AwBnx391LNbtIjM55gr7a8kORJ3WCO2U2j0TcvdBDYaSmdpcYXTpjpfs cY+lD8JoiCI4lmqaPuut7/ncZwp3Abc1WVOTkPZgZRUPYGGbU/fyKic9BRiBp/2jqp4z WXc6ioKFNsEpyNj5FEz23GPQtnNu3A2l/PYW20jFxcGFp4714ULfh6O7pe6QHx//DLsT MC6KQyulzwAmCaULVMUH8V6rhcVaT7WNblSsg7SnMMjisDMrzhBvASNGrTFnNZPyYFM3 UKq0cWX6T4tMvG8WBpL4TwWJxZtok+1hVLWHo7vDcErUa+GJ0P7B1lfExcrGLojtyk6o uRIg==
MIME-Version: 1.0
Received: by 10.52.27.72 with SMTP id r8mr1731415vdg.14.1342656431508; Wed, 18 Jul 2012 17:07:11 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 17:07:11 -0700 (PDT)
In-Reply-To: <CACuKZqHt3XbOrO18EbZkdQHRXOvgEN7QWDR-M51Eqrm37t-2dg@mail.gmail.com>
References: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <emcc23e46a-858d-4484-8c00-11e2e8ec3d3e@bombed> <CACuKZqHt3XbOrO18EbZkdQHRXOvgEN7QWDR-M51Eqrm37t-2dg@mail.gmail.com>
Date: Wed, 18 Jul 2012 19:07:11 -0500
Message-ID: <CACuKZqEoHSGsLJmYMr9=oxQ=b=Qmq77C=mDOWCLxXoTikfYBEw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SreHJ-0004fF-Ap 79636519dcf7d0370fe279e39cea53e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Mandatory encryption
Archived-At: <http://www.w3.org/mid/CACuKZqEoHSGsLJmYMr9=oxQ=b=Qmq77C=mDOWCLxXoTikfYBEw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14543
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 Wed, Jul 18, 2012 at 7:04 PM, Zhong Yu <zhong.j.yu@gmail.com> wrote:
> The man/woman in the middle who has the authority to snoop also has
> the authority to temper with certificates. The cost of doing that is
> not prohibitively high for the authority, therefore it should be a
> point against mandatory encryption.

correction: it should NOT be a point against mandatory encryption

> For little guys though, the cost of certificates can be too high. I
> don't think there's a conspiracy from Google etc to stiff
> competitions, but these guys probably don't care too much about some
> amateurs building toy webapps.
>
> Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 17:14:48 2012
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 D18FD11E8214 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:14:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.49
X-Spam-Level: 
X-Spam-Status: No, score=-5.49 tagged_above=-999 required=5 tests=[AWL=4.809, 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 pvJU0lwP3Mmq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:14:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1BB0611E8210 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 17:14:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SreOG-0001Ke-99 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 00:14:48 +0000
Resent-Date: Thu, 19 Jul 2012 00:14:48 +0000
Resent-Message-Id: <E1SreOG-0001Ke-99@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SreO6-0001J8-4r for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 00:14:38 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SreO3-00029g-NJ for ietf-http-wg@w3.org; Thu, 19 Jul 2012 00:14:38 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6J0E62d015935 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 09:14:06 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 7aa1_3a22_a777d372_d136_11e1_ad36_001d096c566a; Thu, 19 Jul 2012 09:14:06 +0900
Received: from [IPv6:::1] ([133.2.210.1]:37901) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E42EA> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Thu, 19 Jul 2012 09:14:10 +0900
Message-ID: <50075147.3080609@it.aoyama.ac.jp>
Date: Thu, 19 Jul 2012 09:13:59 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Tim Bray <tbray@textuality.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>	<CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>	<20120718060936.GC5875@1wt.eu>	<CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>	<5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
In-Reply-To: <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SreO3-00029g-NJ 738249a75a077c9b2a1483e52a68e8fe
X-Original-To: ietf-http-wg@w3.org
Subject: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/50075147.3080609@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14544
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>

Hello Tim,

On 2012/07/19 0:09, Tim Bray wrote:
> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear<lear@cisco.com>  wrote:

>> This is a red herring.  The real argument is around the ability of all web
>> servers to get certificates
>
> This pattern keeps coming up.
> A: “Privacy is good”
> B: “No, because the technology is currently too expensive/unreliable”
>
> Uh... privacy is good.  -T

Okay, Tim, here's a challenge for you then:

If privacy is important (I'm with you here, of course), and if privacy 
requires TLS (like many others on this list, I have my strong doubts, 
but you seem to think so), how come that your own site 
http://www.tbray.org/ongoing/ still uses http rather than https?

Is the privacy of the readers of Ongoing just less important than the 
privacy of user of the average Web site? Or is it that you just haven't 
realized that was still on http?

Why don't you actually go to the trouble of moving Ongoing to TLS, with 
a chained (i.e. not self-signed) certificate, and tell us how many 
working hours/days and how much money it took you to set it up. This may 
make for an interesting learning experience, and an interesting blog entry.

[This challenge is of course also for all the other people who advocate 
to tie in mandatory TLS with HTTP 2.0; I just picked Tim because I know 
his site and I know he likes such challenges :-).]

Regards,   Martin.

P.S.: I have my own server for my lab (way less slick than Ongoing, I 
have to admit), and I have considered using https: at least about once 
every year, probably more. It would be the right thing to do. But the 
amount of time it would require from me, to set it up and to make sure 
it's set up correctly, is just too much.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 17:34:27 2012
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 22CCF11E80B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:34:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 anMZH-Q0n-7h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:34:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0AEFC11E80F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 17:34:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrehE-000233-Is for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 00:34:24 +0000
Resent-Date: Thu, 19 Jul 2012 00:34:24 +0000
Resent-Message-Id: <E1SrehE-000233-Is@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <chgoss@gmail.com>) id 1Sreh4-00020u-AN for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 00:34:14 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <chgoss@gmail.com>) id 1Sreh2-0002li-T6 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 00:34:14 +0000
Received: by yhl10 with SMTP id 10so2359242yhl.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 17:33:47 -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 :content-type; bh=9wTkc7Xw94nHWF4Ry2NjZRNJoABptL6YGjieOcrFzd8=; b=JFpUK9Do/WiCvpqAM0hKyOhvev2P9tXizug5EwA6n2ILPvlorv/oDgFHBKcrjH0TCI po88+Ne+YPhwFZASR0l3vzm9DiAegxKum87NUhq8M9+kwNeLplB2XBVMag+dlOvfHcae NsLRswshHA9qFaB3UjZzp5rHiLdcrBLaCXUuvPgsu1lxbBPYPrXmHtSHgOCdESeL4pOg JpVp8o/4lm4BIGEiy2XZwoz8nQSnaapHLui4g2cIacKsB68pwQ2X8z2whj/awnfsZfoN MPHGgCHjf6tLc4wSq4LBL2bC/WpVrBvAWiFhWkLKbVUq8aGSpuN5Yh8IPdNsEXCduFnk gNWw==
MIME-Version: 1.0
Received: by 10.66.77.7 with SMTP id o7mr3602113paw.37.1342658026530; Wed, 18 Jul 2012 17:33:46 -0700 (PDT)
Received: by 10.66.150.35 with HTTP; Wed, 18 Jul 2012 17:33:46 -0700 (PDT)
In-Reply-To: <CAP+FsNfSHKM=9ZpYxdL-+-jj4cQHvpnX-G6dpdoafmYLnMwyrg@mail.gmail.com>
References: <CABDykiC8-XSxJWMCXFgLo1Z1si02m4dG6R1-2q8Dxun4zf6fbQ@mail.gmail.com> <CAP+FsNdGbx-b_xSpyXOuNw6XOdN1OVU1eTZZQX37sdLhWwnWdw@mail.gmail.com> <CABDykiBfuQprii9ku_FhqPfpVsf-q-EABOinDZRHvm3YUtM84g@mail.gmail.com> <CAP+FsNfSHKM=9ZpYxdL-+-jj4cQHvpnX-G6dpdoafmYLnMwyrg@mail.gmail.com>
Date: Wed, 18 Jul 2012 20:33:46 -0400
Message-ID: <CABDykiA9qpDjfAFchssbEjakWbf2EDFRgqei6OPxFroo6KFtuw@mail.gmail.com>
From: Chad Goss <chgoss@gmail.com>
To: Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d042fd9feb9e6f704c523ee47
Received-SPF: pass client-ip=209.85.213.43; envelope-from=chgoss@gmail.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sreh2-0002li-T6 99b2815a6b643d2105240aafe90537d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Explicit Proxy (draft-rpeon-httpbis-exproxy)
Archived-At: <http://www.w3.org/mid/CABDykiA9qpDjfAFchssbEjakWbf2EDFRgqei6OPxFroo6KFtuw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14545
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>

--f46d042fd9feb9e6f704c523ee47
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

>
> Hi All,
>>
>> Understand from Roberto the proposal requires that a secure tunnel has
>> already been established from the user-agent to the proxy. So the sequen=
ce
>> would be something along the lines of:
>>
>>
>>
>> 0. authentication credentials are installed on user-agent and
>> configured-proxy such that an HTTPS connection can be created successful=
ly.
>>
>>
>>
>> 1. browser launches
>>
>>   1a. If the configured proxy is a trusted proxy, connect to it and
>> establishes a trusted pipe which remains up, and over which other HTTPS
>> established session keys will be transmitted.
>>
>>   1b. If the configured proxy is a caching proxy, do not establish tunne=
l
>> to it.
>>
>>
>>
>> 2. user-agent requests a page
>>
>>   2a. If the initial request was for HTTP, automatically route it over
>> HTTPS
>>
>>   2b. If the initial request was for HTTPS, proceed as normal
>>
>>
>>
>> 3. browser establishes an HTTPS connection to the content server, create=
s
>> ephemeral session key
>>
>> 4. If the configured proxy is a trusted proxy, browser sends the session
>> key to it, gets acknowledgement that it was received
>>
>> 5. browswer starts requesting data from content server over HTTPS.
>>
>> 6. trusted proxy decrypts data, inspects, forwards if that decision is
>> allowed for that packet.
>>
>>
>>
>> Questions, apologize if they have been asked/answered before:
>>
>> A. Is that sequence accurate?
>>
>> B. What assurances would be given to the users of this scheme that their
>> ephemeral session keys would be securely managed during an active sessio=
n,
>> and destroyed immediately following?
>>
>> C.  How are we getting buy in from the content-server to authorize the
>> session to be decrypted?
>>
>> D. Would it be possible to create two categories of trusted proxy HTTPS
>> sessions? One that was allowed to be decrypted, one that wasn=92t? The r=
eason
>> I suggest this, is that I would be fine running all of my current HTTP
>> traffic over a scheme such as this, but I would never want my current HT=
TPS
>> (like banking) to run over a trusted proxy. This scheme doesn=92t seem t=
o
>> allow me that ability (since the configured proxy is designated as eithe=
r
>> trusted or caching initially)? That might be the =93mixed trust mode=94?=
 If so,
>> it would seem like having the ability to signal that situation was
>> necessary for the document? It would also be nice to have the ability to
>> separately configure security on the proxies.
>>
>> E. Does it seem like a leap to predicate so much of this proposal on
>> having all content-servers running HTTPS, and serving all content up ove=
r
>> that?
>>
>> F. In general, it would seem necessary to be able to distinguish between
>> #2a and #2b when determining the security associated with the tunnel
>> established in #3. In the #2a case, I would certainly be willing to live
>> with minimal security to improve performance..
>>
>>
>>
>> Thanks for your time
>>
>> -chad
>>
>>
>>
>>
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>>
>>
>> D.  Would
>>
>>
>>
>> On Fri, Jul 13, 2012 at 12:47 PM, Roberto Peon <grmocg@gmail.com> wrote:
>>
>>
>> On Jul 13, 2012 9:03 AM, "Chad Goss" <chgoss@gmail.com> wrote:
>> >
>> > Hi,
>> > I have read the draft, the primary question I had was what is the
>> mechanism to transfer the decryption key material from user-agent to
>> configured-proxy in a secure, authenticated and trusted manner immediate=
ly
>> after tunnel establishment, and how are you going to do that prior to an=
y
>> traffic traversing the tunnel?
>>
>> The draft is light on those details, to say the least. We'd have to
>> define a field (of a headers frame ) or frame that transported that
>> information.
>> Since the client is configured to do this, it knows to emit that frame a=
s
>> soon as the TLS tunnel has been established.
>>
>> -=3DR
>>
>> >
>> > thanks
>> > -chad
>>
>> On Jul 13, 2012 9:03 AM, "Chad Goss" <chgoss@gmail.com> wrote:
>>
>> Hi,
>>
>> I have read the draft, the primary question I had was what is the
>> mechanism to transfer the decryption key material from user-agent to
>> configured-proxy in a secure, authenticated and trusted manner immediate=
ly
>> after tunnel establishment, and how are you going to do that prior to an=
y
>> traffic traversing the tunnel?
>>
>>
>>
>> thanks
>>
>> -chad
>>
>>
>>
>>
>>
>
>

--f46d042fd9feb9e6f704c523ee47
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gma=
il_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
<div><div><p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span sty=
le=3D"color:#1f497d">Hi All,</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">Understand from Roberto the proposal requires that a secure
tunnel has already been established from the user-agent to the proxy. So th=
e
sequence would be something along the lines of:</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">0. authentication credentials are installed on user-agent and
configured-proxy such that an HTTPS connection can be created successfully.=
</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">1. browser launches</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0 1a. If the configured proxy
is a trusted proxy, connect to it and establishes a trusted pipe which rema=
ins
up, and over which other HTTPS established session keys will be transmitted=
.</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0 1b. If the configured proxy
is a caching proxy, do not establish tunnel to it.</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">2. user-agent requests a page</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0 2a. If the initial request
was for HTTP, automatically route it over HTTPS</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0 2b. If the initial
request was for HTTPS, proceed as normal</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">3. browser establishes an HTTPS connection to the content server=
,
creates ephemeral session key</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">4. If the configured proxy is a trusted proxy, browser sends the
session key to it, gets acknowledgement that it was received</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">5. browswer starts requesting data from content server over
HTTPS.</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">6. trusted proxy decrypts data, inspects, forwards if that
decision is allowed for that packet.</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">Questions, apologize if they have been asked/answered before:</s=
pan></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">A. Is that sequence accurate?</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">B. What assurances would be given to the users of this scheme
that their ephemeral session keys would be securely managed during an activ=
e
session, and destroyed immediately following?</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">C. =A0How are we getting buy
in from the content-server to authorize the session to be decrypted?</span>=
</p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">D. Would it be possible to create two categories of trusted
proxy HTTPS sessions? One that was allowed to be decrypted, one that wasn=
=92t? The
reason I suggest this, is that I would be fine running all of my current HT=
TP
traffic over a scheme such as this, but I would never want my current HTTPS
(like banking) to run over a trusted proxy. This scheme doesn=92t seem to a=
llow
me that ability (since the configured proxy is designated as either trusted=
 or
caching initially)? That might be the =93mixed trust mode=94? If so, it wou=
ld seem
like having the ability to signal that situation was necessary for the
document? It would also be nice to have the ability to separately configure
security on the proxies.</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">E. Does it seem like a leap to predicate so much of this
proposal on having all content-servers running HTTPS, and serving all conte=
nt
up over that?</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">F. In general, it would seem necessary to be able to distinguish
between #2a and #2b when determining the security associated with the tunne=
l
established in #3. In the #2a case, I would certainly be willing to live wi=
th
minimal security to improve performance..</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">Thanks for your time</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">-chad</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"colo=
r:#1f497d">D. </span><span style=3D"font-size:12pt;font-family:Arial,sans-s=
erif">=A0Would=A0</span><span style=3D"color:#1f497d"></span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">On Fri, Jul 13, 2012 at
12:47 PM, Roberto Peon=A0&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"=
_blank"><span style=3D"color:blue">grmocg@gmail.com</span></a>&gt;=A0wrote:=
</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif"><br>
On Jul 13, 2012 9:03 AM, &quot;Chad Goss&quot; &lt;<a href=3D"mailto:chgoss=
@gmail.com" target=3D"_blank"><span style=3D"color:blue">chgoss@gmail.com</=
span></a>&gt;
wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt; I have read the draft, the primary question I had was what is the
mechanism to transfer the decryption key material from user-agent to
configured-proxy in a secure, authenticated and trusted manner immediately
after tunnel establishment, and how are you going to do that prior to any
traffic traversing the tunnel?</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">The draft is light on
those details, to say the least. We&#39;d have to define a field (of a head=
ers
frame ) or frame that transported that information.<br>
Since the client is configured to do this, it knows to emit that frame as s=
oon
as the TLS tunnel has been established.</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">-=3DR</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">&gt;<br>
&gt; thanks<br>
&gt; -chad</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">On Jul 13, 2012 9:03 AM,
&quot;Chad Goss&quot; &lt;<a href=3D"mailto:chgoss@gmail.com" target=3D"_bl=
ank"><span style=3D"color:blue">chgoss@gmail.com</span></a>&gt; wrote:</spa=
n></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">Hi,</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">I have read the draft,
the primary question I had was what is the mechanism to transfer the decryp=
tion
key material from user-agent to configured-proxy in a secure, authenticated=
 and
trusted manner immediately after tunnel establishment, and how are you goin=
g to
do that prior to any traffic traversing the tunnel?</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">=A0</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">thanks</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">-chad</span></p>

<p class=3D"MsoNormal" style=3D"margin-bottom:0.0001pt"><span style=3D"font=
-size:12pt;font-family:Arial,sans-serif">=A0</span></p>

<p class=3D"MsoNormal">=A0</p>
</div></div></blockquote></div><br>
</blockquote></div><br>

--f46d042fd9feb9e6f704c523ee47--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 17:54:50 2012
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 CE0D311E81E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:54:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.382
X-Spam-Level: 
X-Spam-Status: No, score=-10.382 tagged_above=-999 required=5 tests=[AWL=-0.083, 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 My2H+stkaMBG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 17:54:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E638211E80EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 17:54:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srf0n-0003j3-NY for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 00:54:37 +0000
Resent-Date: Thu, 19 Jul 2012 00:54:37 +0000
Resent-Message-Id: <E1Srf0n-0003j3-NY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Srf0d-0003iI-G4 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 00:54:27 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Srf0c-0006CO-5W for ietf-http-wg@w3.org; Thu, 19 Jul 2012 00:54:27 +0000
Received: by vbbfq11 with SMTP id fq11so1739838vbb.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 17:54:00 -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=ErTRbouXaJ7ELvcZ6XNOQ9J4yJ+UjsEIKfobUlEJ8rw=; b=XjfjpaZ4BwWm4xT/PpXM8k8Bdz0zd3Ps9v2L/YlcDbpMNU9kxLCJ3/kRscYrWWUjYd AeZCiIe/L60uxc6OAod0veSPo9tU6l1WmyRCGKJxYa+4JjS5lBo9tOlWU+DQLfOcr43q Wf3mIsN4bfbpkY4RsFGUaEEFbLbC7IPUP53JfiTm2t2Q3FzNHeqL3enqC6WbHjftASiK h6/59LF7lTeVDeZWu4t0LRBGci16+/OYX4EIM7gtrykTbDawUCNSoy1c7Pbbdx+0gJfB mFKwYK7nY5Qvotxe/YQspGsCYFenyqFrNJBcVUqqwuxBtNg+0TgiFyseGDF3kK6IWh91 LGzA==
MIME-Version: 1.0
Received: by 10.52.89.35 with SMTP id bl3mr1742134vdb.106.1342659240261; Wed, 18 Jul 2012 17:54:00 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Wed, 18 Jul 2012 17:54:00 -0700 (PDT)
In-Reply-To: <50075147.3080609@it.aoyama.ac.jp>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp>
Date: Wed, 18 Jul 2012 19:54:00 -0500
Message-ID: <CACuKZqHXcLhzEkT_psoKBJZSiLA781Z=VtBZuCwCXTReAsHhUQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
Cc: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Srf0c-0006CO-5W ce8453a40ff73fa98c568cd1b541ec09
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CACuKZqHXcLhzEkT_psoKBJZSiLA781Z=VtBZuCwCXTReAsHhUQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14546
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>

Very good point. When I tried to make a comment on the site, I'm
prompted with an anti-spam question "Is Adolf Hitler generally
considered to have been good or bad?". If I submit the form in plain
http, and Hitler is snooping, I'll be in trouble.

On Wed, Jul 18, 2012 at 7:13 PM, "Martin J. D=FCrst"
<duerst@it.aoyama.ac.jp> wrote:
> Hello Tim,
>
> On 2012/07/19 0:09, Tim Bray wrote:
>>
>> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear<lear@cisco.com>  wrote:
>
>
>>> This is a red herring.  The real argument is around the ability of all
>>> web
>>> servers to get certificates
>>
>>
>> This pattern keeps coming up.
>> A: =93Privacy is good=94
>> B: =93No, because the technology is currently too expensive/unreliable=
=94
>>
>> Uh... privacy is good.  -T
>
>
> Okay, Tim, here's a challenge for you then:
>
> If privacy is important (I'm with you here, of course), and if privacy
> requires TLS (like many others on this list, I have my strong doubts, but
> you seem to think so), how come that your own site
> http://www.tbray.org/ongoing/ still uses http rather than https?
>
> Is the privacy of the readers of Ongoing just less important than the
> privacy of user of the average Web site? Or is it that you just haven't
> realized that was still on http?
>
> Why don't you actually go to the trouble of moving Ongoing to TLS, with a
> chained (i.e. not self-signed) certificate, and tell us how many working
> hours/days and how much money it took you to set it up. This may make for=
 an
> interesting learning experience, and an interesting blog entry.
>
> [This challenge is of course also for all the other people who advocate t=
o
> tie in mandatory TLS with HTTP 2.0; I just picked Tim because I know his
> site and I know he likes such challenges :-).]
>
> Regards,   Martin.
>
> P.S.: I have my own server for my lab (way less slick than Ongoing, I hav=
e
> to admit), and I have considered using https: at least about once every
> year, probably more. It would be the right thing to do. But the amount of
> time it would require from me, to set it up and to make sure it's set up
> correctly, is just too much.
>


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 18:28:31 2012
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 0C50B21F8516 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 18:28:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.102
X-Spam-Level: 
X-Spam-Status: No, score=-10.102 tagged_above=-999 required=5 tests=[AWL=0.497, BAYES_00=-2.599, 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 J3tsN92omBEt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 18:28:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3975A21F8513 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 18:28:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrfWq-0000wc-8b for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 01:27:44 +0000
Resent-Date: Thu, 19 Jul 2012 01:27:44 +0000
Resent-Message-Id: <E1SrfWq-0000wc-8b@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrfWg-0000vr-9W for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 01:27:34 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrfWe-0004Pk-Q1 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 01:27:34 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 7FE39E700A; Thu, 19 Jul 2012 13:27:08 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 19 Jul 2012 13:27:08 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <1342616839.30417.46.camel@ds9>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <1342616839.30417.46.camel@ds9>
Message-ID: <ceec9f40bdb097db1c4ec9be151c71c4@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrfWe-0004Pk-Q1 4ee9a67f1c5bb40dfb3585471e6e4766
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/ceec9f40bdb097db1c4ec9be151c71c4@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14547
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 19.07.2012 01:07, Patrick McManus wrote:
> On Wed, 2012-07-18 at 08:09 +0200, Willy Tarreau wrote:
>> On Tue, Jul 17, 2012 at 09:22:24PM -0400, Phillip Hallam-Baker 
>> wrote:
>
>>
>> The issue with HTTP/2 will indeed be the same as with IPv6 : HTTP/2 
>> will
>> be deployed between the browser and the load balancer, and 
>> everything
>> behind will remain HTTP/1 due to the added nuisances of deploying 
>> 2.0
>> everywhere.
>
> Except we know that in the very near future SPDY adoption will have
> reached far more people than IPv6 ever has. So, unlike IPv6, there is 
> a
> big demand to solve the problems it addresses.
>

Huh. IPv6 has *reached* just about every end-user in eastern 
civilisation and a good portion of the western as well.

The annoying fact that there are IPv4-only barriers devices all over 
the Internet is not the users or content providers faults.


If HTTP/2 mandates encryption, compression or anything similar that 
raises the developer implementation workload significantly over HTTP/1 
then our efforts will face the same type of barriers with HTTP/1-only 
IDS, firewall and monitoring systems.

Remember we are *already* pretty much confirmed to be adding:
  * binary encoding - difficult to read on the wire, special new tools 
required to interpret it (and learn how to use), new library APIs to 
learn for parsing and generating messages.
  * multiplexing - flow control on that one will be an educational curve 
for most still stuck on the HTTP/1.0 paradigm (1.1 folks only get it 
slightly easier if they understand 1xx status flow control).
  * pipelining - already a difficult subject under HTTP1, making it 
mandatory to support is a good thing but does raise the learning curve.


Adding all these up and we have a noticable barrier to implementation. 
Placing *mandatory* encryption on top to raise the barrier even higher, 
particularly in places where it is clearly not necessary for security OR 
privacy is too much. As the Hulu folks have said, too much of a good 
thing is still too much.


>>  Almost nobody does IPv6 between LB and server nowadays, it's
>> added cost for no benefit.

You want to tell that to my customers. You (and most other users) not 
noticing just goes to show how well the middleware gateways and LB have 
been doing translating IPv4 to IPv6 and back again.

The networks over this *quarter* of the world (APNIC and increasingly 
RIPE NCC) are increasingly 'forced' to run IPv6 internally due to 
unavailability of IPv4 allocations and routinely do exactly as you 
suggest 'nobody' does: Run IPv6 between LB and server pool. The 
available IPv4 being reserved largely for use on the America-facing 
connections.
  Then there is the carrier-grade NAT situation for content providers. 
Bit of a no-chance there, but every attempt simply hides more IPv6 away 
from those of you in IPv4-only nets.

>
> of course spdy has lots of benefits. key difference :)


AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 19:22:33 2012
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 319FF11E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 19:22:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.126
X-Spam-Level: 
X-Spam-Status: No, score=-10.126 tagged_above=-999 required=5 tests=[AWL=0.473, BAYES_00=-2.599, 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 rbkZhNCsd3lf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 19:22:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71C8421F8674 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 19:22:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrgNL-0008Lr-1p for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 02:21:59 +0000
Resent-Date: Thu, 19 Jul 2012 02:21:59 +0000
Resent-Message-Id: <E1SrgNL-0008Lr-1p@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrgNA-0008L1-08 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 02:21:48 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrgN8-0006BS-I4 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 02:21:47 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 7FD3CE700A; Thu, 19 Jul 2012 14:21:23 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Thu, 19 Jul 2012 14:21:22 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com>
References: <5a95a4e474eac3137e53ce1d7c6e5241.squirrel@arekh.dyndns.org> <B5F61DD1-02D8-43E1-89BB-3BD53008F50F@checkpoint.com>
Message-ID: <fd01cad2f0bafcb53496a984d1d93abf@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrgN8-0006BS-I4 7cbf7dea1ad04de9efe7fe5c87dd23ad
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 Expression of Interest
Archived-At: <http://www.w3.org/mid/fd01cad2f0bafcb53496a984d1d93abf@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14548
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 19.07.2012 02:03, Yoav Nir wrote:
> Wow. It's like I have to run to the other side of the table to argue
> for the other side…
>
> On Jul 18, 2012, at 4:24 PM, Nicolas Mailhot wrote:
>>
>> That being said:
>>
>> 1. I don't read the bank (or other correspondence) of my users
>>
>> 2. I'm not asked to read the bank (or other correspondence) of my 
>> users,
>> either by management or a police state (divulging it would take a 
>> legal
>> injunction I think, never had to deal with those)
>
> It's a good thing that you don't read bank transactions and that you
> don't get asked to. But you could read the bank transactions if you
> wanted to (or were asked to). If the data goes over HTTP you can do 
> it
> with something as simple as TCPDUMP. If it goes over SSL, you'll need
> a TLS proxy.  The security issue is not that you want to do it, but
> that you and others with similar jobs to yours can do it.
>
>> 3. When confidential (company or user) data leaks it's always at the
>> server endpoints, usually because those endpoints didn't care a bit 
>> about
>> user data confidentiality.
>
> Well, we know that some countries monitor traffic for censorship and
> to discover dissidents. Most would call this data leakage, and it's
> not at the endpoints.
>
>> 12. we absolutely do *not* want to eavesdrop on bank accesses,
>> e-government forms, etc. We'd much prefer if such a traffic could be 
>> send
>> in encrypted payloads with in-clear routing metadata (there I differ 
>> a bit
>> from Willy, but I accept he has customers with stricter requirements 
>> than
>> ours)
>
> Does "we" include the no such agency?  Does it include its
> counterparts in Iran and Syria? There are all sorts of people
> installing middleboxes.

Quite right. There are. Please stop grouping all of them into the 
"spies" category. We aren't.

There *is* information REQUIRED to be in the clear for regular 
networking delivery. One would not encrypt the src/dst IP addresses in 
TCP and expect routers to deliver the packet successfully. So why insist 
on doing it for the whole HTTP connection pipeline?
  Encrypting the entity (or even just user-specific header data) is 
sufficient.


I've been quietly reading for the last day all these posts pretty much 
advocating TLS as the be-all and end-all of security. Quietly because I 
can't figure out whether to rant or ROFL for several hours.

So Rant it is...

TLS is *broken*, has been for just over two years now. MITM is 
happening. It is routinely done by the spy camp, down to and including 
home-users spying on their childrens Facebook habits.

Today we can for the most part identify who they are by the self-signed 
certificates inserted into the stream in unexpected places.

Mandating TLS across the board will only force the law-abiding and 
conscientious White-hat admins like Nicolas and many, MANY others to 
become MITM decryptors. Security is *guaranteed* to be lower when that 
happens. We will no longer be able to identify the White-hats doing what 
they are forced to, and the Black-hats vacuuming up private information.

If this goes much further we may not even be able to tell encrypted and 
non-encrypted data streams apart anymore.

/rant


We already have TLS in the form of port 443. It would be a trivial 
protocol matter to mandating HTTP/2 only be sent over that port.

However, we need something *better* than simple TLS wrappers to meet 
the current and future security needs in HTTP/2 on port 80. Which is 
where I believe the WG effort needs to design for.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 20:24:50 2012
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 EFBB811E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:24:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.424
X-Spam-Level: 
X-Spam-Status: No, score=-8.424 tagged_above=-999 required=5 tests=[AWL=1.253, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 j+9DAxr3Wqhy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:24:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E779411E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 20:24:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrhLO-0005rw-IC for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 03:24:02 +0000
Resent-Date: Thu, 19 Jul 2012 03:24:02 +0000
Resent-Message-Id: <E1SrhLO-0005rw-IC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrhLE-0005qg-DG for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 03:23:52 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrhLD-0007ux-2n for ietf-http-wg@w3.org; Thu, 19 Jul 2012 03:23:52 +0000
Received: by obqv19 with SMTP id v19so3435604obq.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 20:23:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=6jF9zvb7PPXCydxFLTeBL1BP/wJcS2JPKgQKz4/RSPg=; b=YFtgok1XEuIAzzliP7QE8Dik3whUtZCsqrWArF+es82Nn06F6tWwyiO0UGKw5o7PMN +aDdHdfQ2CjFdaUIVjYjXc/N5nq5RoZydwa7/AJK7VZEz8XUgVbO9Ks6l/CD9L2Ez1rW wahkIhdJY0/Lk73QAOYktLLHW+wKqNoQPf7i6Xw37L65AM24EGAO3lWvM1PsQWvDYDFU 3TovOHLaDJv60lVZa/EB/fpMCmGDnz3ZNoC0D4DxkSB4Mzahxn/6KbLUgzLXciJUzSqn aUQiUYpKuH3ZUhXcKi3bm8P6NENdQsr34aU6q5rcGVLUfqsr5MZwVvKERJniTmxvg7ay nqjg==
MIME-Version: 1.0
Received: by 10.60.28.162 with SMTP id c2mr261940oeh.3.1342668204851; Wed, 18 Jul 2012 20:23:24 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Wed, 18 Jul 2012 20:23:24 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <50075147.3080609@it.aoyama.ac.jp>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp>
Date: Wed, 18 Jul 2012 20:23:24 -0700
Message-ID: <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkt3Xx6HtAib0Ptzl4Wn7najICFWoi4FBCMOrz5L45uVFcZmf1mdnzfVVfRDobzZPmlkvIq
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrhLD-0007ux-2n af278c799dc640836963579fabb954a3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14549
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>

Fair point; I should. -T

On Wed, Jul 18, 2012 at 5:13 PM, "Martin J. D=FCrst"
<duerst@it.aoyama.ac.jp> wrote:
> Hello Tim,
>
> On 2012/07/19 0:09, Tim Bray wrote:
>>
>> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear<lear@cisco.com>  wrote:
>
>
>>> This is a red herring.  The real argument is around the ability of all
>>> web
>>> servers to get certificates
>>
>>
>> This pattern keeps coming up.
>> A: =93Privacy is good=94
>> B: =93No, because the technology is currently too expensive/unreliable=
=94
>>
>> Uh... privacy is good.  -T
>
>
> Okay, Tim, here's a challenge for you then:
>
> If privacy is important (I'm with you here, of course), and if privacy
> requires TLS (like many others on this list, I have my strong doubts, but
> you seem to think so), how come that your own site
> http://www.tbray.org/ongoing/ still uses http rather than https?
>
> Is the privacy of the readers of Ongoing just less important than the
> privacy of user of the average Web site? Or is it that you just haven't
> realized that was still on http?
>
> Why don't you actually go to the trouble of moving Ongoing to TLS, with a
> chained (i.e. not self-signed) certificate, and tell us how many working
> hours/days and how much money it took you to set it up. This may make for=
 an
> interesting learning experience, and an interesting blog entry.
>
> [This challenge is of course also for all the other people who advocate t=
o
> tie in mandatory TLS with HTTP 2.0; I just picked Tim because I know his
> site and I know he likes such challenges :-).]
>
> Regards,   Martin.
>
> P.S.: I have my own server for my lab (way less slick than Ongoing, I hav=
e
> to admit), and I have considered using https: at least about once every
> year, probably more. It would be the right thing to do. But the amount of
> time it would require from me, to set it up and to make sure it's set up
> correctly, is just too much.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 20:33:13 2012
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 D36CE21F8601 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:33:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.421
X-Spam-Level: 
X-Spam-Status: No, score=-6.421 tagged_above=-999 required=5 tests=[AWL=3.878, 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 xn8TmbkEhG9v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:33:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0872321F85FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 20:33:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrhU5-0002kY-Ff for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 03:33:01 +0000
Resent-Date: Thu, 19 Jul 2012 03:33:01 +0000
Resent-Message-Id: <E1SrhU5-0002kY-Ff@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1SrhTh-0002cz-Uh for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 03:32:37 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1SrhTg-0008Ak-LR for ietf-http-wg@w3.org; Thu, 19 Jul 2012 03:32:37 +0000
Received: from [192.168.0.3] (unknown [216.17.179.227]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 727794005A; Wed, 18 Jul 2012 21:51:15 -0600 (MDT)
Message-ID: <50077FB5.9060407@stpeter.im>
Date: Wed, 18 Jul 2012 21:32:05 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
CC: Tim Bray <tbray@textuality.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>	<CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>	<20120718060936.GC5875@1wt.eu>	<CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>	<5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp>
In-Reply-To: <50075147.3080609@it.aoyama.ac.jp>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrhTg-0008Ak-LR 5703d787920f6a354867c9a90dd3ba7d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs
Archived-At: <http://www.w3.org/mid/50077FB5.9060407@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14550
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>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/18/12 6:13 PM, "Martin J. Dürst" wrote:

> I have my own server for my lab (way less slick than Ongoing, I 
> have to admit), and I have considered using https: at least about
> once every year, probably more. It would be the right thing to do.
> But the amount of time it would require from me, to set it up and
> to make sure it's set up correctly, is just too much.

Martin, I think you overestimate the time it takes. Personally, I've
found it to be quite easy. If you'd like, I'll write a blog post about
it sometime soon and post it at my TLS-protected website:
https://stpeter.im/

Peter

P.S. I am of the opinion that if we protocol geeks can't be bothered
to secure our websites or digitally sign our email and the like, we
have no standing to criticize others.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAHf7UACgkQNL8k5A2w/vx54gCgrD17HdtfHhOwwsCRv0+5hrf0
txEAmwZkFvqece8IzC4LRe3GQ3zYPxw/
=ci7h
-----END PGP SIGNATURE-----


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 20:43:12 2012
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 B051721F852D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:43:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.309
X-Spam-Level: 
X-Spam-Status: No, score=-7.309 tagged_above=-999 required=5 tests=[AWL=2.668, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 cE+g8LZYFvYn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:43:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB55821F851E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 20:43:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srhdx-0006U6-L0 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 03:43:13 +0000
Resent-Date: Thu, 19 Jul 2012 03:43:13 +0000
Resent-Message-Id: <E1Srhdx-0006U6-L0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Srhdn-0006QY-SB for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 03:43:03 +0000
Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a85.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1Srhdl-0000CW-CX for ietf-http-wg@w3.org; Thu, 19 Jul 2012 03:43:03 +0000
Received: from homiemail-a85.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a85.g.dreamhost.com (Postfix) with ESMTP id 67061BC033 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 20:42:39 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=MhlGTHBICByofYx+/DNRHTsVMbfw64PlYGc8vTRPldJQ O8dwBHJU6T1erNxevst9Y6S/Z733G/E7Bysu0SN3bFs4YKV4KxrbXB2wcj7MwXVf BA53FgCWMLizTBxvbJg4Y9gEDfhNC2g1v66JxMaSzDrZwcsVW17ou6sZlIZ6img=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=vjNOeIDHM4+CXeAL1gDybMOC1dk=; b=SDFBuzzmvWE UTgdz2Vfi2sr3nFboQxhA0KzbAS29wHzsHfIvG7pCc+nFJFaintz2kJdevq/gSEb jGTt9OgsDXYhtXQuPotv7d4uHUlANPEu+YQ+3SctJm06zwZdLbnJPCJDi6pfFUKc L0ymCO6S6fsarQx6XP+vX+M1DVBg655E=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a85.g.dreamhost.com (Postfix) with ESMTPSA id 4E27EBC031 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 20:42:39 -0700 (PDT)
Received: by pbcwz7 with SMTP id wz7so3667690pbc.2 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 20:42:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.220.39 with SMTP id pt7mr1626600pbc.40.1342669358929; Wed, 18 Jul 2012 20:42:38 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Wed, 18 Jul 2012 20:42:38 -0700 (PDT)
In-Reply-To: <50077FB5.9060407@stpeter.im>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <50077FB5.9060407@stpeter.im>
Date: Wed, 18 Jul 2012 22:42:38 -0500
Message-ID: <CAK3OfOjhSxBFpbJC==_mAP-1PnxBKpLyzgdGe54Y6NpynxBUgw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Cc: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>,  Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: none client-ip=208.97.132.119; envelope-from=nico@cryptonector.com; helo=homiemail-a85.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Srhdl-0000CW-CX 8417aa63104ade01a34e46828a6c23a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs
Archived-At: <http://www.w3.org/mid/CAK3OfOjhSxBFpbJC==_mAP-1PnxBKpLyzgdGe54Y6NpynxBUgw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14551
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 Wed, Jul 18, 2012 at 10:32 PM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> On 7/18/12 6:13 PM, "Martin J. D=C3=BCrst" wrote:
>
>> I have my own server for my lab (way less slick than Ongoing, I
>> have to admit), and I have considered using https: at least about
>> once every year, probably more. It would be the right thing to do.
>> But the amount of time it would require from me, to set it up and
>> to make sure it's set up correctly, is just too much.
>
> Martin, I think you overestimate the time it takes. Personally, I've
> found it to be quite easy. If you'd like, I'll write a blog post about
> it sometime soon and post it at my TLS-protected website:
> https://stpeter.im/

It's less easy if you use a hosting service, particularly one that
doesn't support SNI.  Then you get charged extra for a dedicated
address.  (At least one hosting service does that.)

There's roadblocks...

Nico
--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 20:44:38 2012
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 3E38E21F8550 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.813
X-Spam-Level: 
X-Spam-Status: No, score=-6.813 tagged_above=-999 required=5 tests=[AWL=3.786, BAYES_00=-2.599, 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 eJrP6Sob+3Pq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:44:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58DDA21F8543 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 20:44:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srhfb-0006vB-IZ for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 03:44:55 +0000
Resent-Date: Thu, 19 Jul 2012 03:44:55 +0000
Resent-Message-Id: <E1Srhfb-0006vB-IZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1SrhfQ-0006q8-Re for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 03:44:44 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1SrhfP-0000GU-R5 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 03:44:44 +0000
Received: from [192.168.0.3] (unknown [216.17.179.227]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 069914005A; Wed, 18 Jul 2012 22:03:22 -0600 (MDT)
Message-ID: <50078290.3090300@stpeter.im>
Date: Wed, 18 Jul 2012 21:44:16 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
CC: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>,  Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <50077FB5.9060407@stpeter.im> <CAK3OfOjhSxBFpbJC==_mAP-1PnxBKpLyzgdGe54Y6NpynxBUgw@mail.gmail.com>
In-Reply-To: <CAK3OfOjhSxBFpbJC==_mAP-1PnxBKpLyzgdGe54Y6NpynxBUgw@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrhfP-0000GU-R5 807a2723661753545871ea077458e0fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs
Archived-At: <http://www.w3.org/mid/50078290.3090300@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14552
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>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/18/12 9:42 PM, Nico Williams wrote:
> On Wed, Jul 18, 2012 at 10:32 PM, Peter Saint-Andre
> <stpeter@stpeter.im> wrote:
>> On 7/18/12 6:13 PM, "Martin J. Dürst" wrote:
>> 
>>> I have my own server for my lab (way less slick than Ongoing,
>>> I have to admit), and I have considered using https: at least
>>> about once every year, probably more. It would be the right
>>> thing to do. But the amount of time it would require from me,
>>> to set it up and to make sure it's set up correctly, is just
>>> too much.
>> 
>> Martin, I think you overestimate the time it takes. Personally,
>> I've found it to be quite easy. If you'd like, I'll write a blog
>> post about it sometime soon and post it at my TLS-protected
>> website: https://stpeter.im/
> 
> It's less easy if you use a hosting service, particularly one that 
> doesn't support SNI.  Then you get charged extra for a dedicated 
> address.  (At least one hosting service does that.)

Sure, I have a VPS so it's a bit easier.

> There's roadblocks...

Agreed.

Peter

- -- 
Peter Saint-Andre
https://stpeter.im/




-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAHgpAACgkQNL8k5A2w/vyftACfWstcT3RCV2somP9hbNMOpVkH
LWUAnjg3vlyW05pMO3L8APUI70IdFo+C
=yBwv
-----END PGP SIGNATURE-----


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 20:55:35 2012
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 DC3DE11E8097 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:55:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.178
X-Spam-Level: 
X-Spam-Status: No, score=-9.178 tagged_above=-999 required=5 tests=[AWL=1.421, BAYES_00=-2.599, 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 frOG4hcbgEOD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 20:55:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4074911E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 20:55:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srhpz-0005Wi-PK for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 03:55:39 +0000
Resent-Date: Thu, 19 Jul 2012 03:55:39 +0000
Resent-Message-Id: <E1Srhpz-0005Wi-PK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Srhpq-0005Vx-5s for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 03:55:30 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Srhpo-0003YE-Q0 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 03:55:30 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BA8E222E253 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 23:55:06 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 19 Jul 2012 13:55:03 +1000
Message-Id: <1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Srhpo-0003YE-Q0 4f83d304cbe337490a6e94b41f4e5b67
X-Original-To: ietf-http-wg@w3.org
Subject: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14553
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>

[ with my Chair hat on ]

Our discussion over the last few days about requiring HTTP/2.0 to always =
use TLS has been interesting, but has started to generate more heat than =
light.

First of all, I'm going to ask everyone to refrain from making the same =
arguments more than once -- repetition does NOT strengthen them -- and =
to avoid responding to every comment made*. So far, the conversation has =
been dominated by a relatively small number of people and a lot of =
advocacy and supposition. I'd like to hear more from others.

Secondly, NONE of the proposals on the table explicitly mandate use of =
TLS, and therefore, any such requirement would have to be introduced as =
a change proposal after we choose one as a starting point (assuming we =
can choose one)**.=20

Thirdly, my reading of the current discussion -- which is very =
preliminary, since we haven't even chosen a starting point -- is that =
there isn't yet consensus to make TLS mandatory to use for HTTP/2.0. =
That's not "official", just a sense of where we're at now. Clearly, =
whatever decision we come to, the consensus is going to be rough.

Finally, I'd encourage everyone to carefully read BCP61 =
<http://tools.ietf.org/html/bcp61> (hat tip to the Security ADs), as it =
embodies IETF policy in this area, and will doubtless guide our =
decisions here.

Discussing the fine details of this issue now isn't very helpful; we =
need to get a starting point selected first. New information about =
security requirements (or lack thereof) from implementers and deployers =
is welcome; constant back-and-forth is not.

Regards,


* If you don't take this hint, I'll be asking you to demur, first =
privately, then publicly, as per BCP94.

** The SPDY proposal does imply its use, and if we choose it but don't =
make TLS mandatory, we may have to make a number of other adjustments to =
compensate (especially around upgrade).

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





From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 21:02:03 2012
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 BF46611E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 21:02:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.879
X-Spam-Level: 
X-Spam-Status: No, score=-5.879 tagged_above=-999 required=5 tests=[AWL=4.720, BAYES_00=-2.599, 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 mK8IxS67vv7j for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 21:02:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 12EE111E8093 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 21:02:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrhwS-0001JG-Dt for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 04:02:20 +0000
Resent-Date: Thu, 19 Jul 2012 04:02:20 +0000
Resent-Message-Id: <E1SrhwS-0001JG-Dt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SrhwH-0001Ga-SA for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 04:02:09 +0000
Received: from ipxcno.tcif.telstra.com.au ([203.35.82.208]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SrhwG-0003ia-8t for ietf-http-wg@w3.org; Thu, 19 Jul 2012 04:02:09 +0000
X-IronPort-AV: E=Sophos;i="4.77,614,1336312800";  d="scan'208";a="81731360"
Received: from unknown (HELO ipcani.tcif.telstra.com.au) ([10.97.216.200]) by ipocni.tcif.telstra.com.au with ESMTP; 19 Jul 2012 14:01:39 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6776"; a="25327713"
Received: from wsmsg3705.srv.dir.telstra.com ([172.49.40.203]) by ipcani.tcif.telstra.com.au with ESMTP; 19 Jul 2012 14:01:38 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3705.srv.dir.telstra.com ([172.49.40.203]) with mapi; Thu, 19 Jul 2012 14:01:37 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: James M Snell <jasnell@gmail.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 19 Jul 2012 14:01:36 +1000
Thread-Topic: Some general SPDY feedback / questions
Thread-Index: Ac1lMJdaJCKAWAcQRvmHUO5tOVH6LwAMWHtQ
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F7D188DD@WSMSG3153V.srv.dir.telstra.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7Rbf0PKfHpgg3L9ib0MXep646FO8S59wnc5moKtCXwM5ATw@mail.gmail.com>
In-Reply-To: <CABP7Rbf0PKfHpgg3L9ib0MXep646FO8S59wnc5moKtCXwM5ATw@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.82.208; envelope-from=James.H.Manger@team.telstra.com; helo=ipxcno.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SrhwG-0003ia-8t cec5d4039e58cb150d5abfaad18661c7
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F7D188DD@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14554
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>

PiBBbm90aGVyIGV4YW1wbGUuLi4gSSd2ZSBiZWVuIGV4cGxvcmluZyB0aGUgdGhlb3JldGljYWwg
cG9zc2liaWxpdHkgb2YgdXNpbmcgc3BkeSBmcmFtaW5nIHRvIHByb3ZpZGUgYW4gYWx0ZXJuYXRp
dmUgdG8gbXVsdGlwYXJ0LyogcGFja2FnaW5nLi4uIGltYWdpbmUgdGhlIGZvbGxvd2luZyByZXNw
b25zZS4uLg0KPg0KPiBTWU5fUkVQTFkoDQo+IMKgIGlkPTEswqANCj7CoCA6c3RhdHVzPTIwMCzC
oA0KPsKgIDp2ZXJzaW9uPTIuMCkNCj4gSEVBREVSUyAoDQo+wqAgaWQ9MSzCoA0KPsKgIENvbnRl
bnQtVHlwZTogdGV4dC9wbGFpbizCoA0KPsKgIENvbnRlbnQtTGVuZ3RoOiA1KQ0KPiBEQVRBIChp
ZD0xLCAiYWJjZGUiKQ0KPiBIRUFERVJTICgNCj7CoCBpZD0xLMKgDQo+wqAgQ29udGVudC1JbnRl
Z3JpdHk6IDliOWFmNjk0NWM5NWYxYWEzMDJhNjFhY2Y3NWM5YmQ2LMKgDQo+wqAgQ29udGVudC1U
eXBlOiB0ZXh0L3BsYWluLMKgDQo+wqAgQ29udGVudC1MZW5ndGg6IDUpDQo+IERBVEEgKGlkPTEs
ICJmZ2hpaiIpDQo+IEhFQURFUlMgKA0KPsKgIMKgZmxhZ3M6IGZpbiwNCj7CoCDCoENvbnRlbnQt
SW50ZWdyaXR5OsKgZDJkMDQ4YTczNGFmOTZiZjBiN2IxYjI0YTQzMTgxNGEpDQo+DQo+IFllcywg
dGhpcyBpcyBhIGNoYW5nZSB0byBleGlzdGluZyBIVFRQIHNlbWFudGljcywgYnV0IHRoaXMga2lu
ZCBvZiBvcHRpbWl6YXRpb24gaXMgZGVmaW5pdGVseSBpbnRlcmVzdGluZy4uLiBhbmQgbm90IGVu
dGlyZWx5IGluc2FuZS4NCg0KDQpEb2Vzbid0IHRoaXMgYmFkbHkgY2xhc2ggd2l0aCB5b3VyIGRl
c2lyZSB0byBzZW5kIHRyYWlsZXIgaW4gbGF0ZXIgSEVBREVSUz8gV2hlbiBkb2VzIEhFQURFUlMg
aW50cm9kdWNlIGEgbmV3IHBhcnQgYW5kIHdoZW4gZG9lcyBpdCBqdXN0IHByb3ZpZGUgbW9yZSBt
ZXRhZGF0YSBmb3IgdGhlIGN1cnJlbnQgcGFydD8NCg0KVGhlIFBVU0ggbWVjaGFuaXNtIG1pZ2h0
IGJlIGEgZ29vZCBhbHRlcm5hdGl2ZSB0byBtdWx0aXBhcnQvKiBwYWNrYWdpbmcuIE1ha2UgdGhl
IHJlcGx5IGEgbGlzdCBvZiBVUklzIG9mIHRoZSBwYXJ0cywgYW5kIHB1c2ggZWFjaCBwYXJ0Lg0K
DQotLQ0KSmFtZXMgTWFuZ2VyDQo=


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 22:38:31 2012
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 6D0F821F85B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 22:38:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.197
X-Spam-Level: 
X-Spam-Status: No, score=-10.197 tagged_above=-999 required=5 tests=[AWL=0.401, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 fjjM2h-KINMV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 22:38:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58BFE21F85AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 22:38:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrjQv-0000ry-0D for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 05:37:53 +0000
Resent-Date: Thu, 19 Jul 2012 05:37:53 +0000
Resent-Message-Id: <E1SrjQv-0000ry-0D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrjQl-0000p3-7S for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 05:37:43 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrjQj-0003VA-Nl for ietf-http-wg@w3.org; Thu, 19 Jul 2012 05:37:43 +0000
Received: by wibhm6 with SMTP id hm6so4564797wib.8 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 22:37:15 -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=FspmYZW4Gut86nbYqlRsLzStBt325FO/yq3lFcYe9pI=; b=QvBkzXVmTyObFAZX0DItCgTGa4Pm4qcOQKLacE7yHZDJyZDnKdKD8BqXnNLcjC0vLD 16rkzTYKn9vFIW8aHYOhjkv2UuIw5Yjb3gzDrOpehweGpvOuHebqx4yBRHlavN2Rz3lB caswvrVnHNRuwR2jxw2ucnRGxmxCuaxrwb17jDrzFKLRDWDbPebrQRpH84xUqZZvsMjj Uazby0b74IewnBC7RyX75MYo+VnejNLPjMv5KmsMPkaccOGi3+ZIdG5A89dz7pPoJ6XH Znekje6msWJJrwFOweCPBIrBInDWBvxJgr1xgfEJ7w+7noiY9RyodPmGrOeo/0MI0pH3 P1Sg==
MIME-Version: 1.0
Received: by 10.216.221.74 with SMTP id q52mr254655wep.181.1342676235213; Wed, 18 Jul 2012 22:37:15 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 22:37:14 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 22:37:14 -0700 (PDT)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F7D188DD@WSMSG3153V.srv.dir.telstra.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7Rbf0PKfHpgg3L9ib0MXep646FO8S59wnc5moKtCXwM5ATw@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E114F7D188DD@WSMSG3153V.srv.dir.telstra.com>
Date: Wed, 18 Jul 2012 22:37:14 -0700
Message-ID: <CABP7RbegKkz3mDmpqXcRP6gaqEY+-YS=7c7NWn79hqZYwO5L+A@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca0c5c8004c5282c36
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrjQj-0003VA-Nl 1992fd344fb1dc9fee9c89de0ae6bd71
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbegKkz3mDmpqXcRP6gaqEY+-YS=7c7NWn79hqZYwO5L+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14555
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>

--0016e6471bca0c5c8004c5282c36
Content-Type: text/plain; charset=UTF-8

Yes yes... details details ;) the intent of the question and the example is
primarily to draw out information about the spdy designers original intent.
The spdy framing model opens many possibilities about what could be done
but is silent in many ways on what should. So far, to me, it seems like a
great place to start but I want to get a better sense of what issues the
authors have or may not have considered.
On Jul 18, 2012 9:01 PM, "Manger, James H" <James.H.Manger@team.telstra.com>
wrote:

> > Another example... I've been exploring the theoretical possibility of
> using spdy framing to provide an alternative to multipart/* packaging...
> imagine the following response...
> >
> > SYN_REPLY(
> >   id=1,
> >  :status=200,
> >  :version=2.0)
> > HEADERS (
> >  id=1,
> >  Content-Type: text/plain,
> >  Content-Length: 5)
> > DATA (id=1, "abcde")
> > HEADERS (
> >  id=1,
> >  Content-Integrity: 9b9af6945c95f1aa302a61acf75c9bd6,
> >  Content-Type: text/plain,
> >  Content-Length: 5)
> > DATA (id=1, "fghij")
> > HEADERS (
> >   flags: fin,
> >   Content-Integrity: d2d048a734af96bf0b7b1b24a431814a)
> >
> > Yes, this is a change to existing HTTP semantics, but this kind of
> optimization is definitely interesting... and not entirely insane.
>
>
> Doesn't this badly clash with your desire to send trailer in later
> HEADERS? When does HEADERS introduce a new part and when does it just
> provide more metadata for the current part?
>
> The PUSH mechanism might be a good alternative to multipart/* packaging.
> Make the reply a list of URIs of the parts, and push each part.
>
> --
> James Manger
>

--0016e6471bca0c5c8004c5282c36
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>Yes yes... details details ;) the intent of the question and the example=
 is primarily to draw out information about the spdy designers original int=
ent. The spdy framing model opens many possibilities about what could be do=
ne but is silent in many ways on what should. So far, to me, it seems like =
a great place to start but I want to get a better sense of what issues the =
authors have or may not have considered. </p>

<div class=3D"gmail_quote">On Jul 18, 2012 9:01 PM, &quot;Manger, James H&q=
uot; &lt;<a href=3D"mailto:James.H.Manger@team.telstra.com">James.H.Manger@=
team.telstra.com</a>&gt; wrote:<br type=3D"attribution"><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
&gt; Another example... I&#39;ve been exploring the theoretical possibility=
 of using spdy framing to provide an alternative to multipart/* packaging..=
. imagine the following response...<br>
&gt;<br>
&gt; SYN_REPLY(<br>
&gt; =C2=A0 id=3D1,=C2=A0<br>
&gt;=C2=A0 :status=3D200,=C2=A0<br>
&gt;=C2=A0 :version=3D2.0)<br>
&gt; HEADERS (<br>
&gt;=C2=A0 id=3D1,=C2=A0<br>
&gt;=C2=A0 Content-Type: text/plain,=C2=A0<br>
&gt;=C2=A0 Content-Length: 5)<br>
&gt; DATA (id=3D1, &quot;abcde&quot;)<br>
&gt; HEADERS (<br>
&gt;=C2=A0 id=3D1,=C2=A0<br>
&gt;=C2=A0 Content-Integrity: 9b9af6945c95f1aa302a61acf75c9bd6,=C2=A0<br>
&gt;=C2=A0 Content-Type: text/plain,=C2=A0<br>
&gt;=C2=A0 Content-Length: 5)<br>
&gt; DATA (id=3D1, &quot;fghij&quot;)<br>
&gt; HEADERS (<br>
&gt;=C2=A0 =C2=A0flags: fin,<br>
&gt;=C2=A0 =C2=A0Content-Integrity:=C2=A0d2d048a734af96bf0b7b1b24a431814a)<=
br>
&gt;<br>
&gt; Yes, this is a change to existing HTTP semantics, but this kind of opt=
imization is definitely interesting... and not entirely insane.<br>
<br>
<br>
Doesn&#39;t this badly clash with your desire to send trailer in later HEAD=
ERS? When does HEADERS introduce a new part and when does it just provide m=
ore metadata for the current part?<br>
<br>
The PUSH mechanism might be a good alternative to multipart/* packaging. Ma=
ke the reply a list of URIs of the parts, and push each part.<br>
<br>
--<br>
James Manger<br>
</blockquote></div>

--0016e6471bca0c5c8004c5282c36--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 23:11:34 2012
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 000B911E8091 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 23:11:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.45
X-Spam-Level: 
X-Spam-Status: No, score=-10.45 tagged_above=-999 required=5 tests=[AWL=-0.151, 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 NjvyDbqch+Nx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 23:11:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 614EA11E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 23:11:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrjxB-0001pe-Ro for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 06:11:13 +0000
Resent-Date: Thu, 19 Jul 2012 06:11:13 +0000
Resent-Message-Id: <E1SrjxB-0001pe-Ro@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srjx2-0001os-FJ for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 06:11:04 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srjx1-0007xW-BE for ietf-http-wg@w3.org; Thu, 19 Jul 2012 06:11:04 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B888A3B5A7; Thu, 19 Jul 2012 06:10:41 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6J6Adui031324; Thu, 19 Jul 2012 06:10:40 GMT (envelope-from phk@phk.freebsd.dk)
To: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
cc: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 09:13:59 +0900." <50075147.3080609@it.aoyama.ac.jp>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 06:10:39 +0000
Message-ID: <31323.1342678239@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Srjx1-0007xW-BE 81679d4dfd182ed118fdb114e54bfd09
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/31323.1342678239@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14556
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>

In message <50075147.3080609@it.aoyama.ac.jp>, =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3
Qi?= writes:

>I have considered using https: at least about once 
>every year, probably more.

I have never even remotely considered it for my personal server, for
the exact same reason as teacher-parent notes are not notarized.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 18 23:38:04 2012
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 C4DFF21F84E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 23:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.212
X-Spam-Level: 
X-Spam-Status: No, score=-10.212 tagged_above=-999 required=5 tests=[AWL=0.386, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Di-K0GL2z13c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jul 2012 23:38:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2DF2211E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jul 2012 23:38:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrkMz-0005bf-Cr for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 06:37:53 +0000
Resent-Date: Thu, 19 Jul 2012 06:37:53 +0000
Resent-Message-Id: <E1SrkMz-0005bf-Cr@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrkMp-0005aX-Jn for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 06:37:43 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SrkMo-0000Ox-J0 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 06:37:43 +0000
Received: by wibhm6 with SMTP id hm6so4598674wib.8 for <ietf-http-wg@w3.org>; Wed, 18 Jul 2012 23:37:16 -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=3bMIkmb+5zQ5Bx+559awbDP9UJG6U2FWzx0xxRGzWtQ=; b=fqCXDPU86edIpBpWub3GT94UtxCSUyF0SS4cAhfq1pYrYC1Xa2mKIVV61wh4h1ko1v JN7IKVsycFL/eanW8/ltn7WJji2msahQ6XbjdkmZ8EmdTS7wSoem+WebYomNVtQHVVDN QKnVFDIDH0yEQaoCPN1Pgj+PVNu5tqWBhM05M3GSXWuMDL3v5HFOk23kGHkYccp5BKV7 IQ4W/AYh1mYkTbvfsxeh4RNV9qqshceWbDXot/w17HRy/Sw/VYWRR+B486/28GHwB/u+ KmG3zMaYtg/3v1jvqZSDc+8GlWhBryvrvN0TqUhNZtZc+O/pMORVnqlFH1orS4CPtV4Q qqwQ==
MIME-Version: 1.0
Received: by 10.180.90.207 with SMTP id by15mr13051101wib.22.1342679836228; Wed, 18 Jul 2012 23:37:16 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 23:37:15 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Wed, 18 Jul 2012 23:37:15 -0700 (PDT)
In-Reply-To: <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com>
Date: Wed, 18 Jul 2012 23:37:15 -0700
Message-ID: <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Roberto Peon <grmocg@gmail.com>, Mark Nottingham <mark.nottingham@rackspace.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043c8046af7d5004c5290288
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrkMo-0000Ox-J0 718b21782c6874b29159b531247aba00
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14557
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>

--f46d043c8046af7d5004c5290288
Content-Type: text/plain; charset=UTF-8

On Jul 18, 2012 2:35 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
>[snip]
>> 3. How are Informational 1xx Status Codes handled? The current SPDY
draft does not appear to support "provisional responses".
>
>

Thank you for the reference to the thread. After reading through it one
thing became obvious: while it would likely not be difficult to provide
support for a 100-continue like mechanism within spdy, the protocols
current design would essentially require a suboptimal hack in order to
retain existing http/1.1 semantics and preserve spdy-to-http1.1 pass
through or would require that we design a new similar mechanism, optimized
for spdy that changes an aspect of http/1.1 semantics.

As Mark  has pointed out recently, however, our job here currently is to
only define a new transport for http and not to change existing http
semantics. So i am at a bit of a loss as to what the charter will let us do
in this case.

Mark... any guidance?

--f46d043c8046af7d5004c5290288
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p><br>
On Jul 18, 2012 2:35 PM, &quot;Roberto Peon&quot; &lt;<a href=3D"mailto:grm=
ocg@gmail.com">grmocg@gmail.com</a>&gt; wrote:<br>
&gt;[snip]<br>
&gt;&gt; 3. How are Informational 1xx Status Codes handled? The current SPD=
Y draft does=C2=A0not appear to support &quot;provisional responses&quot;.=
=C2=A0<br>
&gt;<br>
&gt;</p>
<p>Thank you for the reference to the thread. After reading through it one =
thing became obvious: while it would likely not be difficult to provide sup=
port for a 100-continue like mechanism within spdy, the protocols current d=
esign would essentially require a suboptimal hack in order to retain existi=
ng http/1.1 semantics and preserve spdy-to-http1.1 pass through or would re=
quire that we design a new similar mechanism, optimized for spdy that chang=
es an aspect of http/1.1 semantics. </p>

<p>As Mark=C2=A0 has pointed out recently, however, our job here currently =
is to only define a new transport for http and not to change existing http =
semantics. So i am at a bit of a loss as to what the charter will let us do=
 in this case.</p>

<p>Mark... any guidance?<br>
</p>

--f46d043c8046af7d5004c5290288--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 01:19:25 2012
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 0AB1B21F86C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 01:19:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.307
X-Spam-Level: 
X-Spam-Status: No, score=-10.307 tagged_above=-999 required=5 tests=[AWL=0.292, BAYES_00=-2.599, 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 q2C1bjc9Xbxq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 01:19:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3048E21F86B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 01:19:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrlwW-0005XH-92 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 08:18:40 +0000
Resent-Date: Thu, 19 Jul 2012 08:18:40 +0000
Resent-Message-Id: <E1SrlwW-0005XH-92@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SrlwL-0005WN-2W for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 08:18:29 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Srlw4-0004XR-Hx for ietf-http-wg@w3.org; Thu, 19 Jul 2012 08:18:28 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 2D914E6FFE for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 20:17:42 +1200 (NZST)
Message-ID: <5007C299.1050704@treenet.co.nz>
Date: Thu, 19 Jul 2012 20:17:29 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu> <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com>
In-Reply-To: <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Srlw4-0004XR-Hx 73a01e7fc8e4c236fdf1f1da138878cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/5007C299.1050704@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14558
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 19/07/2012 5:31 a.m., Roberto Peon wrote:
>
> There are number of technical issues here.
> 1) speed of experience
> 2) deployability of protocol
> 3) privacy against wireless sniffers (I call this point-to-point privacy)
> 4) authentication of the server to the client.
> 5) runtime cost
>
> #5 goes up with TLS, in the short run, though in the long run this 
> isn't necessarily true if we use a long-lived multiplexed thing on tip 
> of it-- at least for less optimized stuff that allows the kernel to 
> handle accept(), etc. It is easy to forget about the cost of dealing 
> with multiple connections at the system level in the server.
> For highly optimized proxies such as haproxy TLS will likely end up a 
> net cost, no question.
>
> For #4: This is typically indicated by use of the http scheme. If one 
> used TLS in transporting such a query, the browser should not be in 
> the business of server auth-- there should be no chance of a cert 
> warning. If you get point-to-point privacy without auth here, it is 
> strictly better from a security perspective, even assuming TLS's trust 
> chain is compromised.
>
> #3: TLS does help with this, even without authentication. It isn't 
> perfect, but it is better than http by quite a bit.
>
> #2: Experience has shown, unfortunately, that deploying something new 
> from browser to server is either extremely difficult or unreliable. 
> That is the only case where mandating anything like TLS makes sense to me.
>
> #1 isn't obvious one way or another. For the first request TLS 
> potentially harms latency as compared to http/1.1. For subsequent 
> requests it comes out as better (given application protocol changes). 
> More interestingly, negotiating http/2 over port 80 will require a 
> round trip, which is the same latency penalty one will pay for using 
> TLS at a site that you have recently visited assuming we use false-start.
>

Not necessarily. The framing design we wrote in network-friendly draft 
allows servers and proxies to auto-detect whether the client is using 
HTTP/1 or HTTP/2 [1] and adjust with zero RTT delay. The client is in a 
more diffcult position and has to suffer using HTTP/1 syntax on the 
first request with an Upgrade:HTTP/2.0, but there we propose several 
headers which the client can use to seed HTTP/2 details with zero delay 
on the upgrade.

The only potential RTT in sight is an HTTP/2 client attempting to start 
with HTTP/2 when contacting an HTTP/1-only server. They can expect an 
HTTP/1 error message RTT before anything useful happens (if at all). I 
am confident we can specify client implementers to use the HTTP/1 
upgrade methodology until servers have had time to roll out their part 
of HTTP/2 and reduce the impact of initial requests.

We have done a bit more work since publishing that draft and now have a 
header design which may eliminate the need for even those transitional 
headers. At worst the first request from a client has some HTTP/1 syntax 
bloat and self-corrects into HTTP/2 efficiency on the response - there 
is never any handshake or option detection RTTs.

This is at the proposed lowest level framing syntax of the protocol. 
Underneath channel encryption, compression, header compaction, data 
integrity pull/push semantics - the lot.

AYJ

> -=R
>
> On Jul 18, 2012 12:16 AM, "Willy Tarreau" <w@1wt.eu <mailto:w@1wt.eu>> 
> wrote:
>
>     On Tue, Jul 17, 2012 at 11:54:00PM -0700, Mike Belshe wrote:
>     > > The issue with HTTP/2 will indeed be the same as with IPv6 :
>     HTTP/2 will
>     > > be deployed between the browser and the load balancer, and
>     everything
>     > > behind will remain HTTP/1 due to the added nuisances of
>     deploying 2.0
>     > > everywhere. Almost nobody does IPv6 between LB and server
>     nowadays, it's
>     > > added cost for no benefit.
>     > >
>     > > This will force us to continue to support the crappy parsers
>     of 1.1
>     > > forever and not to have MUX between the LB and the server, and
>     that's
>     > > precisely the situation I'd like to avoid, by having a
>     protocol which
>     > > *supports* more privacy but does not impose it where it's not
>     expected.
>     > >
>     >
>     > This is not true; you can use whatever you want in your
>     backoffice.  I've
>     > talked about this many times before, with or without TLS;
>     whatever you
>     > want.   It's the browser channel which will be TLS only.
>
>     That's why I want the protocol not to rely on TLS but to be
>     self-sufficient.
>     If we can use HTTP/2 over TCP then I can disable TLS in the
>     backoffice.
>     Otherwise I cannot and am forced to use HTTP/1 instead.
>
>     > > I'm really against making such a thing mandatory because it
>     will only
>     > > improve privacy on a few services which actually do not need
>     it and will
>     > > globally deteriorate the overall security by lowering the
>     level of control
>     > > of users.
>     > >
>     >
>     > We just disagree.  And I keep going back to the same argument
>     over and over:
>     >
>     > Show me the user that will stand up and say, "Yes, I would like my
>     > communications to be snoopable and changeable by 3rd parties
>     without my
>     > knowledge."
>
>     I am one of these users. When I'm browsing in clear text, I know my
>     communications are snoopable and changeable and I don't care. When I
>     care I use https. Using cleartext has many benefits for me as a user.
>     It's faster and I don't have to constantly click "I accept" on every
>     pop-up that is raised due to too difficult certificate management for
>     the server, or the mess of keeping a CA list up to date.
>
>     So I am one such user who doesn't want to be forced to face all the
>     discomfort of TLS when it does not make sense. TLS for no reason is
>     already badly used, there is no reason it will suddenly become better
>     when made mandatory. It's the opposite, sites having it good will not
>     improve and remain the same, but the number of sites which will have
>     to deal with it when not expected will increase the number of false
>     alarms on the user side. We don't want to accustom users to blindly
>     click on this warning anymore.
>
>     Willy
>
>




From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 02:40:42 2012
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 D1C8621F87AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 02:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.664
X-Spam-Level: 
X-Spam-Status: No, score=-9.664 tagged_above=-999 required=5 tests=[AWL=0.935, BAYES_00=-2.599, 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 9yMlCi6YF4P9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 02:40:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2B0FC21F8796 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 02:40:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrnD8-00084Q-RM for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 09:39:54 +0000
Resent-Date: Thu, 19 Jul 2012 09:39:54 +0000
Resent-Message-Id: <E1SrnD8-00084Q-RM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrnCy-00083I-3I for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 09:39:44 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrnCk-0002AE-FJ for ietf-http-wg@w3.org; Thu, 19 Jul 2012 09:39:38 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6J9d1WN016476; Thu, 19 Jul 2012 11:39:01 +0200
Date: Thu, 19 Jul 2012 11:39:01 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Message-ID: <20120719093901.GB16208@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu> <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrnCk-0002AE-FJ d700f340f658c9c879103a4b073e8077
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120719093901.GB16208@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14559
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 Roberto,

On Wed, Jul 18, 2012 at 10:31:30AM -0700, Roberto Peon wrote:
> There are number of technical issues here.
> 1) speed of experience
> 2) deployability of protocol
> 3) privacy against wireless sniffers (I call this point-to-point privacy)
> 4) authentication of the server to the client.
> 5) runtime cost
> 
(...)
> #2: Experience has shown, unfortunately, that deploying something new from
> browser to server is either extremely difficult or unreliable. That is the
> only case where mandating anything like TLS makes sense to me.
> 
> #1 isn't obvious one way or another. For the first request TLS potentially
> harms latency as compared to http/1.1. For subsequent requests it comes out
> as better (given application protocol changes). More interestingly,
> negotiating http/2 over port 80 will require a round trip, which is the
> same latency penalty one will pay for using TLS at a site that you have
> recently visited assuming we use false-start.

For the two points above, I get your point but partially disagree. As we
discussed in another thread on HyBi a few years ago, I have experience of
a number of places where proxies don't allow TLS to pass through for filtering
reasons.

For instance, one of my customers doesn't allow HTTPS to google.com for a
simple reason : in HTTP they always force safesearch to on in outgoing
requests so that they rely on google's ability to filter out unsuitable
contents. In HTTPS they obviously can't do this so google images then
becomes a single-handed browsing tool. So they don't allow HTTPS on this
domain.

The effect is that connections from the browser to google cannot use SPDY
over port 443 right now and this is not going to change for a long time
due to internal filtering policy reasons.

So outgoing connection attempts to use port 443 will have to fall back to
use port 80 instead (second round trip) while the Upgrade would pass on
the same connection.

TLS is a valid transport to join many directly connected users but is not
very practical for people in enterprises unfortunately. What I'm opposed
to is to force such users to choose between HTTP/2.0 and HTTP/1.1 instead
of choosing between clear and encrypted as they're doing right now. Because
whatever the transport we choose, we're designing HTTP/2.0 to provide much
better end-user experience to users and we should not condition this to
the ability to pass over port 443.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 02:58:08 2012
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 E0E5721F853F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 02:58:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, 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 gT6LsepGThf5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 02:58:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2334121F8554 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 02:58:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrnUH-000182-Ap for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 09:57:37 +0000
Resent-Date: Thu, 19 Jul 2012 09:57:37 +0000
Resent-Message-Id: <E1SrnUH-000182-Ap@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1SrnU7-00015D-0z for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 09:57:27 +0000
Received: from mail1.sandvine.com ([64.7.137.134]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1SrnU1-0002z6-5l for ietf-http-wg@w3.org; Thu, 19 Jul 2012 09:57:26 +0000
Received: from blr-exch-1.sandvine.com (10.30.4.60) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server (TLS) id 14.1.339.1; Thu, 19 Jul 2012 05:56:54 -0400
Received: from BLR-EXCH-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d]) by blr-exch-1.sandvine.com ([fe80::9cf8:c4d0:d0d9:2ac1%10]) with mapi id 14.01.0289.001; Thu, 19 Jul 2012 15:25:56 +0530
From: Anil Sharma <asharma@sandvine.com>
To: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>
CC: Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Thread-Topic: Mandatory encryption
Thread-Index: AQHNZZJTPQQJ+RbfLkilIjPQGJzM9JcwXPow
Date: Thu, 19 Jul 2012 09:55:54 +0000
Message-ID: <06923070D47780469EBD9A1CDABAB6D6197FDF0E@blr-exch-1.sandvine.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu> <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com> <20120719093901.GB16208@1wt.eu>
In-Reply-To: <20120719093901.GB16208@1wt.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.30.10.225]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=64.7.137.134; envelope-from=asharma@sandvine.com; helo=mail1.sandvine.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrnU1-0002z6-5l 1158f1e4a7c001c04e31f40623149cf4
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Mandatory encryption
Archived-At: <http://www.w3.org/mid/06923070D47780469EBD9A1CDABAB6D6197FDF0E@blr-exch-1.sandvine.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14560
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>

" in HTTP they always force safesearch to on in outgoing
requests so that they rely on google's ability to filter out unsuitable
contents. In HTTPS they obviously can't do this so google images then
becomes a single-handed browsing tool."

Didn't understand this point? From compute server point of view (which is p=
roviding you search results) it shouldn't matter whether transport used was=
 secure or not?
Did I miss something?

Best,
Anil=20

-----Original Message-----
From: Willy Tarreau [mailto:w@1wt.eu]=20
Sent: Thursday, July 19, 2012 3:09 PM
To: Roberto Peon
Cc: Paul Hoffman; Phillip Hallam-Baker; grahame@healthintersections.com.au;=
 ietf-http-wg@w3.org; Mike Belshe
Subject: Re: Mandatory encryption

Hi Roberto,

On Wed, Jul 18, 2012 at 10:31:30AM -0700, Roberto Peon wrote:
> There are number of technical issues here.
> 1) speed of experience
> 2) deployability of protocol
> 3) privacy against wireless sniffers (I call this point-to-point privacy)
> 4) authentication of the server to the client.
> 5) runtime cost
>=20
(...)
> #2: Experience has shown, unfortunately, that deploying something new fro=
m
> browser to server is either extremely difficult or unreliable. That is th=
e
> only case where mandating anything like TLS makes sense to me.
>=20
> #1 isn't obvious one way or another. For the first request TLS potentiall=
y
> harms latency as compared to http/1.1. For subsequent requests it comes o=
ut
> as better (given application protocol changes). More interestingly,
> negotiating http/2 over port 80 will require a round trip, which is the
> same latency penalty one will pay for using TLS at a site that you have
> recently visited assuming we use false-start.

For the two points above, I get your point but partially disagree. As we
discussed in another thread on HyBi a few years ago, I have experience of
a number of places where proxies don't allow TLS to pass through for filter=
ing
reasons.

For instance, one of my customers doesn't allow HTTPS to google.com for a
simple reason : in HTTP they always force safesearch to on in outgoing
requests so that they rely on google's ability to filter out unsuitable
contents. In HTTPS they obviously can't do this so google images then
becomes a single-handed browsing tool. So they don't allow HTTPS on this
domain.

The effect is that connections from the browser to google cannot use SPDY
over port 443 right now and this is not going to change for a long time
due to internal filtering policy reasons.

So outgoing connection attempts to use port 443 will have to fall back to
use port 80 instead (second round trip) while the Upgrade would pass on
the same connection.

TLS is a valid transport to join many directly connected users but is not
very practical for people in enterprises unfortunately. What I'm opposed
to is to force such users to choose between HTTP/2.0 and HTTP/1.1 instead
of choosing between clear and encrypted as they're doing right now. Because
whatever the transport we choose, we're designing HTTP/2.0 to provide much
better end-user experience to users and we should not condition this to
the ability to pass over port 443.

Regards,
Willy




From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 03:03:02 2012
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 DEA1921F87A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:03:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.685
X-Spam-Level: 
X-Spam-Status: No, score=-9.685 tagged_above=-999 required=5 tests=[AWL=0.914, BAYES_00=-2.599, 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 dx1wMEcPJR+d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:03:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D471021F86A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 03:03:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrnZZ-00050n-07 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 10:03:05 +0000
Resent-Date: Thu, 19 Jul 2012 10:03:05 +0000
Resent-Message-Id: <E1SrnZZ-00050n-07@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrnZP-000502-9l for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 10:02:55 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrnZO-0003tq-2x for ietf-http-wg@w3.org; Thu, 19 Jul 2012 10:02:55 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JA2Skf016673; Thu, 19 Jul 2012 12:02:28 +0200
Date: Thu, 19 Jul 2012 12:02:28 +0200
From: Willy Tarreau <w@1wt.eu>
To: Anil Sharma <asharma@sandvine.com>
Cc: Roberto Peon <grmocg@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Message-ID: <20120719100228.GG16208@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu> <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com> <20120719093901.GB16208@1wt.eu> <06923070D47780469EBD9A1CDABAB6D6197FDF0E@blr-exch-1.sandvine.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <06923070D47780469EBD9A1CDABAB6D6197FDF0E@blr-exch-1.sandvine.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrnZO-0003tq-2x ddc4035b91a93fbd9b12f7b7b1d5a26f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120719100228.GG16208@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14561
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 Thu, Jul 19, 2012 at 09:55:54AM +0000, Anil Sharma wrote:
> " in HTTP they always force safesearch to on in outgoing
> requests so that they rely on google's ability to filter out unsuitable
> contents. In HTTPS they obviously can't do this so google images then
> becomes a single-handed browsing tool."
> 
> Didn't understand this point? From compute server point of view (which is providing you search results) it shouldn't matter whether transport used was secure or not?
> Did I miss something?

When the request is sent in clear text, the proxy modifies it to force
"safesearch=on" in the requests so that Google refrains from returning
unsuitable contents. In https, it obviously cannot force that on the
users' request so the user has complete access to the whole internet
cached in "google images". There are places where this type of access
is not accepted at all so google is not in the SSL whitelist.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 03:08:35 2012
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 3E02321F858E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:08:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 WyoKkvxGCWoc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:08:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C13C21F8566 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 03:08:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srnex-0006qh-CC for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 10:08:39 +0000
Resent-Date: Thu, 19 Jul 2012 10:08:39 +0000
Resent-Message-Id: <E1Srnex-0006qh-CC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srnem-0006pr-H8 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 10:08:28 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srnek-0003mS-U4 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 10:08:28 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 2C9A63B758; Thu, 19 Jul 2012 10:08:05 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JA84QS016877; Thu, 19 Jul 2012 10:08:04 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Roberto Peon <grmocg@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 11:39:01 +0200." <20120719093901.GB16208@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 10:08:04 +0000
Message-ID: <16876.1342692484@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Srnek-0003mS-U4 92074109446603974c73739e056e7171
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/16876.1342692484@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14562
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>

In message <20120719093901.GB16208@1wt.eu>, Willy Tarreau writes:

>TLS is a valid transport [...]

Am I the only one who think we should be able to mix protected
and unprotected transactions on the same TCP stream ?

I really don't see why the user should have to open a new connection
just because they want to log into a site, and it would allow
proxies, gateways and routers to use fewer connections more
efficiently.

(Of course, this largely depends on my proposal for an always
unprotected envelope, but I think I already "sold" that ?)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 03:17:39 2012
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 A871321F87C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:17:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.706
X-Spam-Level: 
X-Spam-Status: No, score=-9.706 tagged_above=-999 required=5 tests=[AWL=0.893, BAYES_00=-2.599, 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 ggipbT3oeVve for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:17:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 22AFF21F876A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 03:17:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srnnq-0003ci-37 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 10:17:50 +0000
Resent-Date: Thu, 19 Jul 2012 10:17:50 +0000
Resent-Message-Id: <E1Srnnq-0003ci-37@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Srnng-0003bD-8u for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 10:17:40 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Srnnb-0004Hz-QE for ietf-http-wg@w3.org; Thu, 19 Jul 2012 10:17:39 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JAHA02016766; Thu, 19 Jul 2012 12:17:10 +0200
Date: Thu, 19 Jul 2012 12:17:10 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Roberto Peon <grmocg@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, grahame@healthintersections.com.au, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Message-ID: <20120719101710.GI16208@1wt.eu>
References: <20120719093901.GB16208@1wt.eu> <16876.1342692484@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <16876.1342692484@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Srnnb-0004Hz-QE dd8cf99e610a2644e7b50ae34371c331
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120719101710.GI16208@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14563
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 Thu, Jul 19, 2012 at 10:08:04AM +0000, Poul-Henning Kamp wrote:
> In message <20120719093901.GB16208@1wt.eu>, Willy Tarreau writes:
> 
> >TLS is a valid transport [...]
> 
> Am I the only one who think we should be able to mix protected
> and unprotected transactions on the same TCP stream ?

No you're not the only one, I like it too, as well as I'd like to
ensure that websocket and HTTP can share the same TCP connection
as well.

> I really don't see why the user should have to open a new connection
> just because they want to log into a site, and it would allow
> proxies, gateways and routers to use fewer connections more
> efficiently.

In fact, mixing streams saves TCP connections. However, processing
encryption on a stream is always expensive as it requires data copy
at the software level.

If we one day support datagram-based transport (which I hope for
many reasons), then I'd favor splitting the streams so that we can
rely on the NIC's ability to encrypt datagrams at a zero cost.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 03:19:00 2012
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 406AF21F87C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:19:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, 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 F-F2nw4G77jO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:18:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6968F21F87C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 03:18:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrnpG-0003n6-VC for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 10:19:18 +0000
Resent-Date: Thu, 19 Jul 2012 10:19:18 +0000
Resent-Message-Id: <E1SrnpG-0003n6-VC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1Srnp6-0003kt-T6 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 10:19:08 +0000
Received: from mail1.sandvine.com ([64.7.137.134]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1Srnp3-0004r1-0n for ietf-http-wg@w3.org; Thu, 19 Jul 2012 10:19:08 +0000
Received: from blr-exch-1.sandvine.com (10.30.4.60) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server (TLS) id 14.1.339.1; Thu, 19 Jul 2012 06:18:39 -0400
Received: from BLR-EXCH-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d]) by blr-exch-1.sandvine.com ([fe80::9cf8:c4d0:d0d9:2ac1%10]) with mapi id 14.01.0289.001; Thu, 19 Jul 2012 15:47:41 +0530
From: Anil Sharma <asharma@sandvine.com>
To: Willy Tarreau <w@1wt.eu>
CC: Roberto Peon <grmocg@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Thread-Topic: Mandatory encryption
Thread-Index: AQHNZZJTPQQJ+RbfLkilIjPQGJzM9JcwXPow//+m4gCAAF/EMA==
Date: Thu, 19 Jul 2012 10:17:39 +0000
Message-ID: <06923070D47780469EBD9A1CDABAB6D6197FDF45@blr-exch-1.sandvine.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu> <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com> <20120719093901.GB16208@1wt.eu> <06923070D47780469EBD9A1CDABAB6D6197FDF0E@blr-exch-1.sandvine.com> <20120719100228.GG16208@1wt.eu>
In-Reply-To: <20120719100228.GG16208@1wt.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.30.10.225]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=64.7.137.134; envelope-from=asharma@sandvine.com; helo=mail1.sandvine.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Srnp3-0004r1-0n 23cec2753250698e9cd3f2e89d3a5d35
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Mandatory encryption
Archived-At: <http://www.w3.org/mid/06923070D47780469EBD9A1CDABAB6D6197FDF45@blr-exch-1.sandvine.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14564
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>

-----Original Message-----
From: Willy Tarreau [mailto:w@1wt.eu]=20
Sent: Thursday, July 19, 2012 3:32 PM
To: Anil Sharma
Cc: Roberto Peon; Paul Hoffman; Phillip Hallam-Baker; grahame@healthinterse=
ctions.com.au; ietf-http-wg@w3.org; Mike Belshe
Subject: Re: Mandatory encryption

On Thu, Jul 19, 2012 at 09:55:54AM +0000, Anil Sharma wrote:
> " in HTTP they always force safesearch to on in outgoing
> requests so that they rely on google's ability to filter out unsuitable
> contents. In HTTPS they obviously can't do this so google images then
> becomes a single-handed browsing tool."
>=20
> Didn't understand this point? From compute server point of view (which is=
 providing you search results) it shouldn't matter whether transport used w=
as secure or not?
> Did I miss something?

When the request is sent in clear text, the proxy modifies it to force
"safesearch=3Don" in the requests so that Google refrains from returning
-----------------------------> Why can't TLS proxy do it ( anyways I though=
t the browser or the user decides it but even if lets its company policy an=
d proxy does it for all the request)   Just trying to understand......

unsuitable contents. In https, it obviously cannot force that on the
users' request so the user has complete access to the whole internet
cached in "google images". There are places where this type of access
is not accepted at all so google is not in the SSL whitelist.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 03:23:17 2012
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 86C0E21F86AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:23:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.726
X-Spam-Level: 
X-Spam-Status: No, score=-9.726 tagged_above=-999 required=5 tests=[AWL=0.873, BAYES_00=-2.599, 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 fh33NSHSZnod for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 03:23:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C264C21F86AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 03:23:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrntX-0005Id-7T for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 10:23:43 +0000
Resent-Date: Thu, 19 Jul 2012 10:23:43 +0000
Resent-Message-Id: <E1SrntX-0005Id-7T@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrntN-0005Hs-HV for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 10:23:33 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrntH-0004RM-Gj for ietf-http-wg@w3.org; Thu, 19 Jul 2012 10:23:33 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JAN2mJ016807; Thu, 19 Jul 2012 12:23:02 +0200
Date: Thu, 19 Jul 2012 12:23:02 +0200
From: Willy Tarreau <w@1wt.eu>
To: Anil Sharma <asharma@sandvine.com>
Cc: Roberto Peon <grmocg@gmail.com>, Paul Hoffman <paul.hoffman@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>, "grahame@healthintersections.com.au" <grahame@healthintersections.com.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Message-ID: <20120719102302.GJ16208@1wt.eu>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <20120718071437.GF5875@1wt.eu> <CAP+FsNe0Y4-MxbJr6VBq13bXoYPLcNEN79EUfULbbMpvcksi7w@mail.gmail.com> <20120719093901.GB16208@1wt.eu> <06923070D47780469EBD9A1CDABAB6D6197FDF0E@blr-exch-1.sandvine.com> <20120719100228.GG16208@1wt.eu> <06923070D47780469EBD9A1CDABAB6D6197FDF45@blr-exch-1.sandvine.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <06923070D47780469EBD9A1CDABAB6D6197FDF45@blr-exch-1.sandvine.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrntH-0004RM-Gj cd409da933a1688ea999f9e854fbf27e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Mandatory encryption
Archived-At: <http://www.w3.org/mid/20120719102302.GJ16208@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14565
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 Thu, Jul 19, 2012 at 10:17:39AM +0000, Anil Sharma wrote:
> When the request is sent in clear text, the proxy modifies it to force
> "safesearch=on" in the requests so that Google refrains from returning
> -----------------------------> Why can't TLS proxy do it ( anyways I thought
> the browser or the user decides it but even if lets its company policy and
> proxy does it for all the request)   Just trying to understand......

It would require deciphering the stream, sending a fake certificate
pretending to be the real server. Some proxies do this right now, this
is one of the ugly tricks we're seeing more and more and that a number
of people want to see disappear in favor of a user choice of letting
the proxy analyze the contents (the principle of the GET https://). Also
if you've read this thread, having a proxy tamper your request in HTTPS
without you being aware of it is quite contrary to the directions being
taken :-)

Regards,
Willy


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 05:46:17 2012
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 50DB521F87B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 05:46:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.449
X-Spam-Level: 
X-Spam-Status: No, score=-11.449 tagged_above=-999 required=5 tests=[AWL=0.850, BAYES_00=-2.599, GB_I_LETTER=-2, 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 mxZCQ7UgNdEY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 05:46:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EF52021F879C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 05:46:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srq6r-0001WG-VX for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 12:45:38 +0000
Resent-Date: Thu, 19 Jul 2012 12:45:37 +0000
Resent-Message-Id: <E1Srq6r-0001WG-VX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1Srq6g-0000cg-PS for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 12:45:26 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1Srq6f-00006b-CJ for ietf-http-wg@w3.org; Thu, 19 Jul 2012 12:45:26 +0000
Received: from [10.0.1.23] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6JCikTG010441 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 19 Jul 2012 12:44:51 GMT
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>	<CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>	<20120718060936.GC5875@1wt.eu>	<CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>	<5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp>
In-Reply-To: <50075147.3080609@it.aoyama.ac.jp>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <9D2F10C8-8BE8-4DE7-9B0E-C36DFA6EF434@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Thu, 19 Jul 2012 08:44:45 -0400
To: =?iso-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Srq6f-00006b-CJ f8255e7b7ef728aa704e1f4e87c11b52
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/9D2F10C8-8BE8-4DE7-9B0E-C36DFA6EF434@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14566
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>

Le 18 juil. 2012 =E0 20:13, Martin J. D=FCrst a =E9crit :
> Is the privacy of the readers of Ongoing just less important than the =
privacy of user of the average Web site?=20

Context. (oh how I dislike the work privacy ^_^, I chose opacity a while =
ago)

* In which contexts, the communication needs to be opaque to any =
intermediaries?
* What are the mechanisms which allow that?
* What is the cost of implementing/using these mechanisms for any =
participants in the chain of communications from the emitter to the =
receiver?


- Requesting a simple Web page on example.org, a person might not =
bother.=20
- Until this specific request down to the URI itself might put one in =
trouble (aka what they read make them suspicious)
- Sending a message in a Web form to a person, again it depends. Will it =
be public? Is it only for this specific person?
- Opaque down to how much of it is opaque.


If I send a letter by post office mail, I expect them to not read. The =
envelope being closed is a weak security mechanism, but super simple to =
implement (seal a message by blocking eyesight with glue). The sender =
address may be completely opaque. The integrity is assessed by the fact =
it has not be opened. Note that just strong light is often enough to see =
through.

If I send a postcard, I don't expect the same thing. Sender address is =
still completely opaque, but the content is open. What do we say on =
postcards.=20

A letter with a tracking number often requires the sender address.

The Web is not the physical world. The humans are still physical =
entities and trust relationships are a very hard topic. More opacity =
became necessary because entire businesses have been built on the =
ability to "abuse the de facto readability of human interactions". Any =
move towards more opacity will come at a cost for these businesses. That =
will be a hard fight. Nobody wants to give up its piece of the yummy =
cake.


PS: Personally, I wish for more opacity, or more exactly for my ability =
as a user to choose the mechanism of opacity (see letters above) =
depending on the context. I want to be able to assess (if/when I have a =
concern) which were the parties involved in the communications and which =
access they had to the message.

--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 06:31:23 2012
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 BA59621F87CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 06:31:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[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 p4Kx1D8LmubX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 06:31:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7A7421F87DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 06:31:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrqoL-0007BQ-Rw for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 13:30:33 +0000
Resent-Date: Thu, 19 Jul 2012 13:30:33 +0000
Resent-Message-Id: <E1SrqoL-0007BQ-Rw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Srqo7-00079v-9j for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 13:30:19 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Srqnz-0005B1-Tp for ietf-http-wg@w3.org; Thu, 19 Jul 2012 13:30:19 +0000
Received: by wgbdt14 with SMTP id dt14so2282641wgb.26 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 06:29:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=KbUXVWn2C2zxDSnxxLnLmq6LziFEL+LhGcaou3lHfAM=; b=V0Lnwer7G2cz2Hddxw/MhZPETZxRuHnYWRiKfwJ8P03ubVKpCentLYgAy28nJq6ATE HkeObjEcyRAYLhmmLU+VYMpqhCEJnfuBkbb+Ht9eDYL4tZ3BOiP5Hq/Qu+TUQfkoWPs0 w14kRm/hdy5JhXBVysn/yKGUfbbSvVmmdDPNl+FuRGjY2fWWjBvWSlPAo+zEZboTvZmU 1EkSdP5REWYM87X/zuxsShs0qoSmIv+A5cSmD8Pik8lyLtZdJmkmT3pJkutgTdJ0XjIX D7U1o20IbsQMw30rJxUCJUmV9G6jm46PJafket1ShvwTCrPrKRu/Kef6NVcUNL50WTIH 4/IA==
Received: by 10.216.61.8 with SMTP id v8mr1280017wec.156.1342704585402; Thu, 19 Jul 2012 06:29:45 -0700 (PDT)
Received: from [192.168.1.10] (AAubervilliers-651-1-262-54.w86-212.abo.wanadoo.fr. [86.212.181.54]) by mx.google.com with ESMTPS id w7sm38480791wiz.0.2012.07.19.06.29.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jul 2012 06:29:43 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <50075147.3080609@it.aoyama.ac.jp>
Date: Thu, 19 Jul 2012 15:29:39 +0200
Cc: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <209DCCB6-735F-4EE5-9C10-A5A4424BC251@bblfish.net>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>	<CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>	<20120718060936.GC5875@1wt.eu>	<CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>	<5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp>
To: =?iso-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQleonotITGVETvfpfN8c27AyNNFcHSmYtWAoAkGFFBkD9jtKY5FmnhEwbrpKfEO6myurFs+
Received-SPF: none client-ip=74.125.82.45; envelope-from=henry.story@bblfish.net; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Srqnz-0005B1-Tp 5b877aef90183c0a48a3f833fa83d608
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/209DCCB6-735F-4EE5-9C10-A5A4424BC251@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14567
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 19 Jul 2012, at 02:13, Martin J. D=FCrst wrote:

> Hello Tim,
>=20
> On 2012/07/19 0:09, Tim Bray wrote:
>> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear<lear@cisco.com>  wrote:
>=20
>>> This is a red herring.  The real argument is around the ability of =
all web
>>> servers to get certificates
>>=20
>> This pattern keeps coming up.
>> A: =93Privacy is good=94
>> B: =93No, because the technology is currently too =
expensive/unreliable=94
>>=20
>> Uh... privacy is good.  -T
>=20
> Okay, Tim, here's a challenge for you then:
>=20
> If privacy is important (I'm with you here, of course), and if privacy =
requires TLS (like many others on this list, I have my strong doubts, =
but you seem to think so), how come that your own site =
http://www.tbray.org/ongoing/ still uses http rather than https?
>=20
> Is the privacy of the readers of Ongoing just less important than the =
privacy of user of the average Web site? Or is it that you just haven't =
realized that was still on http?

I think in the case of Ongoing privacy is not in fact important. But =
security is! That is as a reader of
Ongoing I don't care at all that the articles sent by Tim are encrypted. =
What I do care is that the articles I receive are exactly what Tim =
wrote. So if Tim writes about a great camera buying experience, I want =
the link I receive that he put in his blog to be the one Tim intended it =
to be, and not be man in the middled and changed to an link to another =
web site.=20

TLS allows null encryption in its protocol, and having that would be =
great.=20

In fact knowing that I am on Tim's site and not on some other site ( =
because DNS was corrupted ) is also impportant. I want to know I am on =
Tim's site with the assurance of at least the same level of strength as =
the reliability of DNS (Which should be DNSsec)

Now we should not be critical for people because they have not =
implemented TLS (even with 0 encryption). Because the internet is an =
organic entity that grows, and just as we do not ask babies to be born =
bearing arms, we don't get a structure like the internet or the web to =
be born fully secure. It's architecture permits it to be, and now the =
Web is close to being 20, and it's time for it to join the army. :-)

>=20
> Why don't you actually go to the trouble of moving Ongoing to TLS, =
with a chained (i.e. not self-signed) certificate, and tell us how many =
working hours/days and how much money it took you to set it up. This may =
make for an interesting learning experience, and an interesting blog =
entry.
>=20
> [This challenge is of course also for all the other people who =
advocate to tie in mandatory TLS with HTTP 2.0; I just picked Tim =
because I know his site and I know he likes such challenges :-).]
>=20
> Regards,   Martin.
>=20
> P.S.: I have my own server for my lab (way less slick than Ongoing, I =
have to admit), and I have considered using https: at least about once =
every year, probably more. It would be the right thing to do. But the =
amount of time it would require from me, to set it up and to make sure =
it's set up correctly, is just too much.
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 06:53:59 2012
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 736A521F862B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 06:53:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[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 eQ1pR0HgUXV5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 06:53:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 700C921F8766 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 06:53:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrrAb-00048S-V4 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 13:53:33 +0000
Resent-Date: Thu, 19 Jul 2012 13:53:33 +0000
Resent-Message-Id: <E1SrrAb-00048S-V4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrrAR-00046j-NX for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 13:53:23 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1SrrAJ-0006iw-KL for ietf-http-wg@w3.org; Thu, 19 Jul 2012 13:53:23 +0000
Received: by wgbdt14 with SMTP id dt14so2307605wgb.26 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 06:52:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=oRpC/e0m1gacZws+GvUgJia7JnTx2hREkSGa4mOTgho=; b=TLBGgPn4yZSMA25i0Ale2wjYBxt9JSK+o5mDuCeOiBieJgDSZrA9G5x8s6/YLc7A75 m2EKjOhxFb7DBWBfxrD2XD7MtDrY8rkoQa/x4uE1q3n80ZxQs90NuEN+n5mGNeWH0zoM /8E5MVeG6YUxwycClR7O45K2cpWbIDe7G10z7M0xugMuha/bx/bi06uKDiKnp7am/IVv +4RKwJb/Dkk77fm+eI1JJuzkEpqwYBVbIWkPmdIaKS5Nbe846Q6sjwMg+yFT731tAfq8 9+CObL7nnfwywG57aV853JbFkIAcq5GQlhVZeGvSBOqo9a8osvuxUVk1Va/R+sxRo1/l he0Q==
Received: by 10.180.103.4 with SMTP id fs4mr4997589wib.16.1342705969199; Thu, 19 Jul 2012 06:52:49 -0700 (PDT)
Received: from [192.168.1.10] (AAubervilliers-651-1-262-54.w86-212.abo.wanadoo.fr. [86.212.181.54]) by mx.google.com with ESMTPS id t7sm6269738wix.6.2012.07.19.06.52.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jul 2012 06:52:48 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Apple Message framework v1278)
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <16BC0F46-0767-4863-848C-55CD843FEC67@opera.com>
Date: Thu, 19 Jul 2012 15:52:42 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <4F82C152-BF73-498A-9039-FAD759B7E8EC@bblfish.net>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com>	<CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com>	<20120718060936.GC5875@1wt.eu>	<CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com>	<5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <209DCCB6-735F-4EE5-9C10-A5A4424BC251@bblfish.net> <16BC0F46-0767-4863-848C-55CD843FEC67@opera.com>
To: Karl Dubost <karld@opera.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Tim Bray <tbray@textuality.com>, =?iso-8859-1?Q?Martin_D=FCrst?= <duerst@it.aoyama.ac.jp>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQlZ8ssxXUIvMeGP5BDUwfOTDtOl/dshC3apiDiLL15Ut7BhnjxC5hF0ZVaMClKJCMNbRTcK
Received-SPF: none client-ip=74.125.82.45; envelope-from=henry.story@bblfish.net; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SrrAJ-0006iw-KL ab5ba2813d2e0f2a9f4239898633b43e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/4F82C152-BF73-498A-9039-FAD759B7E8EC@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14568
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 19 Jul 2012, at 15:42, Karl Dubost wrote:

>=20
> Le 19 juil. 2012 =E0 09:29, Henry Story a =E9crit :
>> It's architecture permits it to be, and now the Web is close to being =
20, and it's time for it to join the army. :-)
>=20
>=20
> what an awful metaphor ;)

Not if you think of being in the army and freedom as going hand in hand, =
as for example it is very clearly in Switzerland, where every adult male =
goes for one week every year to the army, which is a citizens army, =
formed as militias. Since in Switzerland everything is put to a vote - a =
bit like in the IETF - and everybody goes to the army, they have not =
been to war for well over 100 years.

Giving responsibility of your freedom to someone else is already giving =
up freedom. Furthermore the whole can only be secure if everyone =
participates in its security. So I am advocating a hippie army of happy =
hackers here :-)

Henry

>=20
> --=20
> Karl Dubost - http://dev.opera.com/
> Developer Relations, Opera Software
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:11:38 2012
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 4E65521F8732 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:11:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.032
X-Spam-Level: 
X-Spam-Status: No, score=-9.032 tagged_above=-999 required=5 tests=[AWL=1.567, BAYES_00=-2.599, 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 Jdn5wySf1GIV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:11:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 50D1F21F861D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:11:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrrS8-0006JD-Kx for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:11:40 +0000
Resent-Date: Thu, 19 Jul 2012 14:11:40 +0000
Resent-Message-Id: <E1SrrS8-0006JD-Kx@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrrRu-0006Hi-Ac for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:11:26 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SrrRk-00021z-P1 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:11:26 +0000
Received: by vbbfq11 with SMTP id fq11so2202119vbb.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 07:10:51 -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=/wbr8uum2wDcs4Il+oOue5wUqt4ugOOfkc/nGrFhhdU=; b=w6e+Xat3+hwiCBnX4pprGER8pL2bvrJYR99Kzpif3S3DARuHBc5wFMFGKlnXJVaB6Q jY6cnC5TvEhpPm20iG4O3+17YpUpSDcKWPBKWyV7yWoZ+F/TIFBx0FxLQZ5WYjkaS9w/ Demkswt94akxEqEFnvsU18w4KCfXXp8Tw8Dq5fgE4B00oP+JUSIPwzhG/CvyP4oLsa/8 BMBTV+/tV4OJtVhBcVlr0xoZ8+7EkB3llGToO2aM/t/28Zmun4RMUsc5j72QxiomHQvp JxhTnFx42OLomhB760tagvTB5YbutQ4RDYCtKNP1pYK6TxQVc94dPBlZ5Wf++dEY4ICr 9hcw==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr915164vdg.94.1342707051017; Thu, 19 Jul 2012 07:10:51 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 19 Jul 2012 07:10:50 -0700 (PDT)
In-Reply-To: <1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net>
References: <1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net>
Date: Thu, 19 Jul 2012 10:10:50 -0400
Message-ID: <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SrrRk-00021z-P1 3918257c17118ddf22bada051e235600
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14569
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>

Could we instead discuss how we might change HTTP to remove some of
the roadblocks that currently make it difficult to deploy strong
security?

My biggest Web security concern is not the risk of passwords being
intercepted on the wire, its the fact that users have no practical
alternative to using the same password for the 100+ sites they use
that demand one.


On Wed, Jul 18, 2012 at 11:55 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> [ with my Chair hat on ]
>
> Our discussion over the last few days about requiring HTTP/2.0 to always =
use TLS has been interesting, but has started to generate more heat than li=
ght.
>
> First of all, I'm going to ask everyone to refrain from making the same a=
rguments more than once -- repetition does NOT strengthen them -- and to av=
oid responding to every comment made*. So far, the conversation has been do=
minated by a relatively small number of people and a lot of advocacy and su=
pposition. I'd like to hear more from others.
>
> Secondly, NONE of the proposals on the table explicitly mandate use of TL=
S, and therefore, any such requirement would have to be introduced as a cha=
nge proposal after we choose one as a starting point (assuming we can choos=
e one)**.
>
> Thirdly, my reading of the current discussion -- which is very preliminar=
y, since we haven't even chosen a starting point -- is that there isn't yet=
 consensus to make TLS mandatory to use for HTTP/2.0. That's not "official"=
, just a sense of where we're at now. Clearly, whatever decision we come to=
, the consensus is going to be rough.
>
> Finally, I'd encourage everyone to carefully read BCP61 <http://tools.iet=
f.org/html/bcp61> (hat tip to the Security ADs), as it embodies IETF policy=
 in this area, and will doubtless guide our decisions here.
>
> Discussing the fine details of this issue now isn't very helpful; we need=
 to get a starting point selected first. New information about security req=
uirements (or lack thereof) from implementers and deployers is welcome; con=
stant back-and-forth is not.
>
> Regards,
>
>
> * If you don't take this hint, I'll be asking you to demur, first private=
ly, then publicly, as per BCP94.
>
> ** The SPDY proposal does imply its use, and if we choose it but don't ma=
ke TLS mandatory, we may have to make a number of other adjustments to comp=
ensate (especially around upgrade).
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:20:12 2012
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 E8C1E21F8768 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:20:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.563
X-Spam-Level: 
X-Spam-Status: No, score=-6.563 tagged_above=-999 required=5 tests=[AWL=4.036, BAYES_00=-2.599, 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 Iu4HYECASfKv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:20:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 378B521F8726 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:20:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srrab-0004YB-MX for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:20:25 +0000
Resent-Date: Thu, 19 Jul 2012 14:20:25 +0000
Resent-Message-Id: <E1Srrab-0004YB-MX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SrraP-0004Su-Un for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:20:14 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SrraF-0007gR-KH for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:20:13 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 6D0AC1717C4; Thu, 19 Jul 2012 15:19:41 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1342707581; bh=bI96PBk7hbqI6G CG/5Z5c/pjbBz6wVbzZvM6Zz6Q7h8=; b=Et4XGpjEunUjcj7GUmr6zKyX5lT0RJ 6uKI4FMf7cVpv4dSnjkZfuUF1/jpdqEbIpzMxs8A2QvvUXmFAsWgEHU50lj8E1vE gjIu73mDxXNDHVcmfz0Jl1nxL4PFlTahcPDgSXWq6ERCHcFvNtGjhJLtWHNVY1e3 doiWu2rs5xl2Y4emjjiMu9txiD4Lsrjm0ATxctsORCTgKdNo5YOObTUFhzm0EiXo SjdhAAzM1ILmcTDsonPH5b638bGq4QZrdPDFNAs8eHRh/watxcAUoCGGHvKbI5k+ TLCRTROH7rj8q62WfuSajN1RIZPlRiJg0E2oZp16yRreElqYGlMW6mkQ==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id hPXcrFihgcDT; Thu, 19 Jul 2012 15:19:41 +0100 (IST)
Received: from [10.87.48.11] (unknown [86.45.48.236]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 804EF17147B; Thu, 19 Jul 2012 15:19:40 +0100 (IST)
Message-ID: <5008177C.7050508@cs.tcd.ie>
Date: Thu, 19 Jul 2012 15:19:40 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Phillip Hallam-Baker <hallam@gmail.com>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net> <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
In-Reply-To: <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrraF-0007gR-KH 683a8022afb3a2a5eddaa98d65063a24
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/5008177C.7050508@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14570
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 07/19/2012 03:10 PM, Phillip Hallam-Baker wrote:
> 
> My biggest Web security concern is not the risk of passwords being
> intercepted on the wire, its the fact that users have no practical
> alternative to using the same password for the 100+ sites they use
> that demand one.

Mine too, though we may have different solutions in our heads.

But, that's being addressed as part of the auth stuff which is a
different thread entirely (at a far lower temperature:-)

S


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:33:20 2012
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 CF85F21F8566 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:33:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 1K5G9yst6rgN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:33:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 690BC21F856D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:33:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srrmm-0002bk-Kj for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:33:00 +0000
Resent-Date: Thu, 19 Jul 2012 14:33:00 +0000
Resent-Message-Id: <E1Srrmm-0002bk-Kj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrrmZ-0002Zn-0n for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:32:47 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrrmT-0002vh-4l for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:32:46 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 5595F3B74C; Thu, 19 Jul 2012 14:32:19 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JEWIi1017675; Thu, 19 Jul 2012 14:32:18 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 10:10:50 -0400." <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 14:32:18 +0000
Message-ID: <17674.1342708338@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrrmT-0002vh-4l bea209fa4a1050f7f5792590801b0576
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/17674.1342708338@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14571
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>

In message <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
, Phillip Hallam-Baker writes:

>My biggest Web security concern is not the risk of passwords being
>intercepted on the wire, its the fact that users have no practical
>alternative to using the same password for the 100+ sites they use
>that demand one.

I have a hard time seeing how that can be solved at the HTTP protocol
level ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:41:33 2012
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 EB28021F86CA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:41:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.546
X-Spam-Level: 
X-Spam-Status: No, score=-10.546 tagged_above=-999 required=5 tests=[AWL=0.053, BAYES_00=-2.599, 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 N7AypUWbz2q6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:41:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1986521F8587 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:41:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrrvP-0006C7-3x for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:41:55 +0000
Resent-Date: Thu, 19 Jul 2012 14:41:55 +0000
Resent-Message-Id: <E1SrrvP-0006C7-3x@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SrrvB-0006Au-AX for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:41:41 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a62.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1Srrv9-00040r-Ot for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:41:41 +0000
Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id 5BE5A634073; Thu, 19 Jul 2012 07:41:18 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=Z6fIi5GzazV5U0s WSOhO+iqUVXR7enWJJkhtIlMPwVRpWgJG8tD8i2fIDoO0qMPUuPZTHAoZJJ97Xbd M+kgSzW5ekVMeGQzLy+k6t9XD4qveISbPGYbawXFzgrFMUn0oMzByAKssIqQQRjo JhwAw/wx57dOAk3VJXV1FeK+IDMQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=aSQKT00 i37u8BHalP19F4vDkO64=; b=bar50rBBzH64EApwDogj7nnCsEk8sSMqYQl92OV /e8aA2Tv0hQ9jsW1zx5KmpLu6OdcjjxfrWOmBAyvtpFNH0OHRc6fnNLVRm/lXM+W g3W0EvyN6+fVD9MWx+DZpFS23Iaw9TBfwZvZRcwjhjnMqSOTNM/cRbcO3ikjX3Q1 evKY=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPSA id 49ED1634064; Thu, 19 Jul 2012 07:41:17 -0700 (PDT)
Message-ID: <50081C8B.4010006@jrn.me.uk>
Date: Thu, 19 Jul 2012 15:41:15 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Phillip Hallam-Baker <hallam@gmail.com>,  Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
References: <17674.1342708338@critter.freebsd.dk>
In-Reply-To: <17674.1342708338@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.207; envelope-from=jrn@jrn.me.uk; helo=homiemail-a62.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Srrv9-00040r-Ot 41bee5ae0e828019d9984c2a925f1c29
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/50081C8B.4010006@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14572
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'm guessing the idea would be to write an HTTP authentication protocol 
that uses public-key pairs, so a user can confirm they have a secret 
piece of information (the private key) without having to actually share 
it to do so, or by using a smaller number of authentication providers 
(for example Twitter, Facebook, Google) so they handle the password, and 
the site only gets confirmation from a trusted source that you are who 
you say you are.


On 19/07/2012 15:32, Poul-Henning Kamp wrote:
> In message <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>> My biggest Web security concern is not the risk of passwords being
>> intercepted on the wire, its the fact that users have no practical
>> alternative to using the same password for the 100+ sites they use
>> that demand one.
> I have a hard time seeing how that can be solved at the HTTP protocol
> level ?
>



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:47:57 2012
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 42D6521F8701 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:47:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.734
X-Spam-Level: 
X-Spam-Status: No, score=-6.734 tagged_above=-999 required=5 tests=[AWL=3.865, BAYES_00=-2.599, 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 dPVnHyRvaDGe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:47:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 716AD21F86F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:47:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srs1L-0002ec-34 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:48:03 +0000
Resent-Date: Thu, 19 Jul 2012 14:48:03 +0000
Resent-Message-Id: <E1Srs1L-0002ec-34@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Srs17-0002dK-3Y for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:47:49 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Srs0o-0001qm-Iq for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:47:49 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id AADEC1714E5; Thu, 19 Jul 2012 15:47:09 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1342709228; bh=T0+QN70wMiS4il 8fE8W0todjf52cgROiKvcNRsVpr9c=; b=QiLa/Sd5xaehErBhlcHpMKAVyzn4jX pTtCUpnHpFj5TifaGEtlqtSnw8pKMobtjlK/lKpELqPzTwWwJJbJdrrXhpo0gMvq TYRYacQ4NSzmSGc+MqAxNneBwhS1smAul6YneTP67HyY8C54AiDgWQDDQ7ecHNZ2 BstJLRjBEGPfjNeXe4uwqoiosg7svNxkL8aGQjxy++LVf2R3/vs2AgUCxdmq9yxh /b15IFq7ifocabS/DO9cEC7+jYjsfWS1Yz6K45bUiU7uYpW+u70j565sRmvnQU4M Ki5jaMjFyU5ZqtLz2LYrdoqam+X/vMdyi5ShieuqPM0ilFmeHYIMu6mw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id Px1u-f9VRqx8; Thu, 19 Jul 2012 15:47:08 +0100 (IST)
Received: from [10.87.48.11] (unknown [86.45.48.236]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 13AC017147B; Thu, 19 Jul 2012 15:47:06 +0100 (IST)
Message-ID: <50081DEA.8000409@cs.tcd.ie>
Date: Thu, 19 Jul 2012 15:47:06 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Ross Nicoll <jrn@jrn.me.uk>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>,  Phillip Hallam-Baker <hallam@gmail.com>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <17674.1342708338@critter.freebsd.dk> <50081C8B.4010006@jrn.me.uk>
In-Reply-To: <50081C8B.4010006@jrn.me.uk>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Srs0o-0001qm-Iq a0da09a287bd3a8b45c067a34b008df6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/50081DEA.8000409@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14573
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 07/19/2012 03:41 PM, Ross Nicoll wrote:
> I'm guessing the idea would be to write an HTTP authentication protocol
> that uses public-key pairs, so a user can confirm they have a secret
> piece of information (the private key) 

Fine idea:-) [1]

> without having to actually share
> it to do so, or by using a smaller number of authentication providers
> (for example Twitter, Facebook, Google) so they handle the password, and
> the site only gets confirmation from a trusted source that you are who
> you say you are.

But [1] is just one of the proposed new auth schemes [2] some
of which are more like you last bit above.

S.

[1] http://tools.ietf.org/html/draft-farrell-httpbis-hoba
[2] http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals

> 
> 
> On 19/07/2012 15:32, Poul-Henning Kamp wrote:
>> In message
>> <CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
>> , Phillip Hallam-Baker writes:
>>
>>> My biggest Web security concern is not the risk of passwords being
>>> intercepted on the wire, its the fact that users have no practical
>>> alternative to using the same password for the 100+ sites they use
>>> that demand one.
>> I have a hard time seeing how that can be solved at the HTTP protocol
>> level ?
>>
> 
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:47:58 2012
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 A78D121F8701 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:47:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 q+Y3G7nOy8X0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:47:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7D1C21F86F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:47:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srs1k-0002i1-II for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:48:28 +0000
Resent-Date: Thu, 19 Jul 2012 14:48:28 +0000
Resent-Message-Id: <E1Srs1k-0002i1-II@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srs1a-0002hB-Oi for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:48:18 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srs1W-0005DT-Cb for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:48:18 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7E25E3B080; Thu, 19 Jul 2012 14:47:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JElpgM017775; Thu, 19 Jul 2012 14:47:52 GMT (envelope-from phk@phk.freebsd.dk)
To: Ross Nicoll <jrn@jrn.me.uk>
cc: Phillip Hallam-Baker <hallam@gmail.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 15:41:15 +0100." <50081C8B.4010006@jrn.me.uk>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 14:47:51 +0000
Message-ID: <17774.1342709271@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Srs1W-0005DT-Cb 7dfc563255402ae74a6cf9f2f910cdb6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/17774.1342709271@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14574
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>

In message <50081C8B.4010006@jrn.me.uk>, Ross Nicoll writes:

>I'm guessing the idea would be to write an HTTP authentication protocol 
>that uses [...]

All I can see HTTP doing, is transport opaque tokens forth and back.

If we design the protocol to do that well enough, it will support
any identification/authentication protocol you care to put on top of
it today or at a later date.

Adding "solving the second hardest problem in cryptography" to our
TODO list, is scope-creep.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 07:52:41 2012
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 C8E3B21F86F0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:52:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.149
X-Spam-Level: 
X-Spam-Status: No, score=-10.149 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, 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 ATj4CVigB5QU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 07:52:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DE0621F8683 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 07:52:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srs6D-0004eB-6N for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 14:53:05 +0000
Resent-Date: Thu, 19 Jul 2012 14:53:05 +0000
Resent-Message-Id: <E1Srs6D-0004eB-6N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Srs63-0004dK-64 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 14:52:55 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Srs5x-0002os-8P for ietf-http-wg@w3.org; Thu, 19 Jul 2012 14:52:55 +0000
Received: by wgbds1 with SMTP id ds1so5296061wgb.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 07:52:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=vPIQXf8EVGbu0lFxVeD/7LuwoP2MxWuFlEtnisESpOo=; b=m+utlJCun9rS3HzDAEIHjdOlGXO3ubiTYkTLTjZKe0PfjGlCVp3lxIieBWiHyXQWLD 00k013oanBnbVqIye8mHH5Zqug9dr7ZaFff0xSTBQhVDnHzaSWS3pjVO62PZf31YmgA0 nmSnnDSv2zd8ZEbH01ac1Q99TZ80Ic2a1533LGUffeL3cOGgzxuzTE+6DSAH5YQqDrgF jotcF5Uq2ESMv546Eyo8DSRt7/YvIon8gknyY2ze6X6bHalFJszehxU/fkKFORisgYrT vqNUn3liOSvQoS+AnIi/7SKvuH0PxYn0SZUM9MQPPDwNIaivfu1CH8VLMlwsJF+d3DkC XPNw==
Received: by 10.216.53.193 with SMTP id g43mr1347960wec.67.1342709542598; Thu, 19 Jul 2012 07:52:22 -0700 (PDT)
Received: from [192.168.1.10] (AAubervilliers-651-1-262-54.w86-212.abo.wanadoo.fr. [86.212.181.54]) by mx.google.com with ESMTPS id j6sm6621288wiy.4.2012.07.19.07.52.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jul 2012 07:52:18 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <17674.1342708338@critter.freebsd.dk>
Date: Thu, 19 Jul 2012 16:52:15 +0200
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E90879C2-9415-4547-8243-692E2FEEA656@bblfish.net>
References: <17674.1342708338@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQn9mmqE8O5X62Aml3tySTZeCcuG5Tgj3QjcGk+knk9uA1JjhXLpHTy6eBlrFRbfUmQo6Ztr
Received-SPF: none client-ip=74.125.82.41; envelope-from=henry.story@bblfish.net; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Srs5x-0002os-8P f15aa3a711f91a5954968084b7ca51f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/E90879C2-9415-4547-8243-692E2FEEA656@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14575
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 19 Jul 2012, at 16:32, Poul-Henning Kamp wrote:

> In message =
<CAMm+LwjSOYkJQPayq1btXR5iXLNqBOdgQvsQMAAwhuZSNqQCXw@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>=20
>> My biggest Web security concern is not the risk of passwords being
>> intercepted on the wire, its the fact that users have no practical
>> alternative to using the same password for the 100+ sites they use
>> that demand one.
>=20
> I have a hard time seeing how that can be solved at the HTTP protocol
> level ?

Though interestingly enough it can be solved at the TLS+HTTP level,
see the WebID protocol:

   http://www.w3.org/2005/Incubator/webid/spec/

which is best read with the demonstration and the explanation shown in =
the screen cast

   http://webid.info/

Henry

>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 08:51:16 2012
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 A075E21F85E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 08:51:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.579
X-Spam-Level: 
X-Spam-Status: No, score=-10.579 tagged_above=-999 required=5 tests=[AWL=0.020, BAYES_00=-2.599, 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 Tjgtt5OQ7HDM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 08:51:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 944B521F85D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 08:51:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srszc-0001jY-2d for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 15:50:20 +0000
Resent-Date: Thu, 19 Jul 2012 15:50:20 +0000
Resent-Message-Id: <E1Srszc-0001jY-2d@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrszR-0001hN-Qc for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 15:50:09 +0000
Received: from smtpout7.laposte.net ([193.253.67.232] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrszI-0001MY-GJ for ietf-http-wg@w3.org; Thu, 19 Jul 2012 15:50:09 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8514-out with ME id cFpV1j0044WQcrc03FpV0i; Thu, 19 Jul 2012 17:49:33 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id E3A292E064A; Thu, 19 Jul 2012 17:49:28 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PG049gLTZqZ6; Thu, 19 Jul 2012 17:49:16 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Thu, 19 Jul 2012 17:49:15 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Thu, 19 Jul 2012 17:49:15 +0200
Message-ID: <2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org>
Date: Thu, 19 Jul 2012 17:49:15 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Henry Story" <henry.story@bblfish.net>
Cc: "Tim Bray" <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, =?utf-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.232; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SrszI-0001MY-GJ 84f8271e6a337355abb36f387870a574
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14576
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 think in the case of Ongoing privacy is not in fact important. But
> security is!

I think that in many cases, what matters is not 'have I got a direct
opaque un-spoofable link to the web site' (that TLS gives you) but 'is the
content I receive the same a trusted entity published' (non-tampering)

You have this problem with intermediaries but also without intermediaries

For example, all the mirroring sites that perform a service for free of
live by slapping ads around convenient ways to download content produced
by others.

What matters when someone goes to downloads.com, is not that he is talking
to downloads.com itself, but that the binary payload downloaded was
actually released by the editor downloads.com labels it with.

If HTTP/2 includes a command that basically means 'give me the signed
digest associated with URL X or Y':
1. user agents can check if intermediaries didn't mess with the relayed
content
2. user agents can check if the content they received over a supposedly
secure link was not tampered before transmission, if the web site is not
the original producer of the content (mirrors just have to mirror the
original signature in addition to the content itself). Secure link ≠
secure content

This is something TLS itself will never give you, the TLS trust model does
not work at all in any relaying situation (either direct relay with
proxies and other intermediaries, or deferred rely in the mirror case)

So you solve two problems in one go and the protocol changes are useful
even in proxy-less environments

Or am I missing something?

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 09:07:02 2012
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 938C821F87C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 09:07:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.624
X-Spam-Level: 
X-Spam-Status: No, score=-8.624 tagged_above=-999 required=5 tests=[AWL=1.353, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Pt-iAHlkKuPt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 09:07:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 498EE21F87BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 09:07:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrtFE-0002Ql-15 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 16:06:28 +0000
Resent-Date: Thu, 19 Jul 2012 16:06:28 +0000
Resent-Message-Id: <E1SrtFE-0002Ql-15@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrtF2-0002My-Ov for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 16:06:16 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SrtEx-00052X-T2 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 16:06:16 +0000
Received: by obqv19 with SMTP id v19so4316954obq.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 09:05:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=2rIKFBn6gWZwlSDYDuFmyjq6aBx5KnhTr89XYiVIxrs=; b=WEp7S1wh3v1dxNKv5uwHZwQZ6EYyQk8M5Gie0MUdWdJ0oGHcKh+GCp+Q5o+1y6w7CU +uffGDScRjuT6lhmW6/O/T7dfqvFCAoFIWQxiicvdmT/ut/NaIpMgmdcJso5IHeCtJQd +aSwPL7O4QzIV4R2p0p3jUDL+2Sb3Cqdlmjm2lbhllCod6DapNBDPZPmEfynprW6XOLH QRq4w/MOyD5YdNVjSpJCXfrCUQo86BvR1GBTFrVMTt1M+564JjEEKcgJuDBYkNORnoQ7 46ap9RsDD5usJI6gavI4B5VoFEq44YvwZMd5byOjDgkUfdOYsYX9vA/z7N59AuXtejdB iS/Q==
MIME-Version: 1.0
Received: by 10.182.98.108 with SMTP id eh12mr3598737obb.6.1342713945721; Thu, 19 Jul 2012 09:05:45 -0700 (PDT)
Received: by 10.182.75.38 with HTTP; Thu, 19 Jul 2012 09:05:45 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org>
References: <2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org>
Date: Thu, 19 Jul 2012 09:05:45 -0700
Message-ID: <CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Cc: Henry Story <henry.story@bblfish.net>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  =?ISO-8859-1?B?Ik1hcnRpbiBKLiBE/HJzdCI=?= <duerst@it.aoyama.ac.jp>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlmHGiJ4bgT9TynNdAXUOe5G93J8cRM1JJX/mEy5wQAAUUFgeuMlkAPNTUesInKVejXoPkQ
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SrtEx-00052X-T2 65f92f9b7aa40a5b301bc625dc275928
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14577
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>

No, privacy is important. There are things on my blog that people in
certain situations could get in trouble just for reading.  I should
offer privacy, and it=E2=80=99s a failure on my part that I don=E2=80=99t. =
 -T

On Thu, Jul 19, 2012 at 8:49 AM, Nicolas Mailhot
<nicolas.mailhot@laposte.net> wrote:
>
>> I think in the case of Ongoing privacy is not in fact important. But
>> security is!
>
> I think that in many cases, what matters is not 'have I got a direct
> opaque un-spoofable link to the web site' (that TLS gives you) but 'is th=
e
> content I receive the same a trusted entity published' (non-tampering)
>
> You have this problem with intermediaries but also without intermediaries
>
> For example, all the mirroring sites that perform a service for free of
> live by slapping ads around convenient ways to download content produced
> by others.
>
> What matters when someone goes to downloads.com, is not that he is talkin=
g
> to downloads.com itself, but that the binary payload downloaded was
> actually released by the editor downloads.com labels it with.
>
> If HTTP/2 includes a command that basically means 'give me the signed
> digest associated with URL X or Y':
> 1. user agents can check if intermediaries didn't mess with the relayed
> content
> 2. user agents can check if the content they received over a supposedly
> secure link was not tampered before transmission, if the web site is not
> the original producer of the content (mirrors just have to mirror the
> original signature in addition to the content itself). Secure link =E2=89=
=A0
> secure content
>
> This is something TLS itself will never give you, the TLS trust model doe=
s
> not work at all in any relaying situation (either direct relay with
> proxies and other intermediaries, or deferred rely in the mirror case)
>
> So you solve two problems in one go and the protocol changes are useful
> even in proxy-less environments
>
> Or am I missing something?
>
> --
> Nicolas Mailhot
>


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 10:33:43 2012
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 3959021F8804 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 10:33:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.786
X-Spam-Level: 
X-Spam-Status: No, score=-9.786 tagged_above=-999 required=5 tests=[AWL=0.190, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 FvdR8kQCIPnl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 10:33:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7DBBD21F8800 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 10:33:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SruaG-0002W3-WB for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 17:32:17 +0000
Resent-Date: Thu, 19 Jul 2012 17:32:16 +0000
Resent-Message-Id: <E1SruaG-0002W3-WB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Srua7-0002UT-3z for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 17:32:07 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Srua5-00085i-Tw for ietf-http-wg@w3.org; Thu, 19 Jul 2012 17:32:07 +0000
Received: by lbom4 with SMTP id m4so4108615lbo.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 10:31:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=jXnRNrCBimyTbE/gCaISjK1K51BY3TLZI+51pUT5i0Q=; b=oIlF9PVUDHp5d+VNrXxGwvZIE6Mjfx/VgIxLXYsD93NcVON0v4eWqfI76Rrr7Q7Hod XeQwVe503wT0FTFoUQqfbQdyc/68Oexq8F6MQVy8iSoEi5EA1aWsl4YN/zvBIm1/CaJk Le/zhyFv4PrGDZu4vcyK2hS6hantleA9UFE8zwk6eMSHVSI4TFh4RPhutGwUJPSLFdIF pBGSrxDSpBYR6+wEq0tB1SKX15H4zlQJ0P3PvwjMhimm7MMSOhE6NOY1I9F7Oko7b660 v65x3rdaSP3sIfXB8fBKR1SS+cwv97A10Q8PRzwz85yT31piiRCH7TmIzi49Hr47++9F OQZQ==
MIME-Version: 1.0
Received: by 10.152.136.18 with SMTP id pw18mr3086833lab.17.1342719099156; Thu, 19 Jul 2012 10:31:39 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Thu, 19 Jul 2012 10:31:38 -0700 (PDT)
Date: Thu, 19 Jul 2012 10:31:38 -0700
Message-ID: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042f927af03a9504c5322658
X-Gm-Message-State: ALoCoQlzEEk5+V9M6cYM6O89xuWIPpdzW6CeWbM3piyX1wqIcgacwd8YXytTDrbZ1GEEonexJJgl
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Srua5-00085i-Tw c2d8c0890a1063a1982f062ceabb15c9
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14578
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>

--f46d042f927af03a9504c5322658
Content-Type: text/plain; charset=ISO-8859-1

On the heels of our discussion about "should TLS be mandatory", comes this
article from Adam Langley.

It's worth a read.

Many on this list have advocated that you don't need to secure everything,
just the login pages (common practice with HTTP today).  Read this article
and then ask yourself if that is really true.

http://www.imperialviolet.org/2012/07/19/hope9talk.html

Mixed modes of sometimes-secure-and-sometimes-not-secure open a slew of
attacks that are only solved if you're all TLS all the time.  If someone
has a better solution, let me know; I don't know of one.

Mike

--f46d042f927af03a9504c5322658
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On the heels of our discussion about &quot;should TLS be mandatory&quot;, c=
omes this article from Adam Langley.<div><br></div><div>It&#39;s worth a re=
ad. =A0</div><div><br></div><div>Many on this list have advocated that you =
don&#39;t need to secure everything, just the login pages (common practice =
with HTTP today). =A0Read this article and then ask yourself if that is rea=
lly true.</div>
<div><br></div><div><a href=3D"http://www.imperialviolet.org/2012/07/19/hop=
e9talk.html">http://www.imperialviolet.org/2012/07/19/hope9talk.html</a></d=
iv><div><br></div><div>Mixed modes of sometimes-secure-and-sometimes-not-se=
cure open a slew of attacks that are only solved if you&#39;re all TLS all =
the time. =A0If someone has a better solution, let me know; I don&#39;t kno=
w of one.</div>
<div><br></div><div>Mike</div><div><br></div>

--f46d042f927af03a9504c5322658--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 11:26:56 2012
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 B6A6821F86F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 11:26:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.593
X-Spam-Level: 
X-Spam-Status: No, score=-9.593 tagged_above=-999 required=5 tests=[AWL=0.083, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 0plenbHZIbGB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 11:26:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 967E521F86DD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 11:26:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrvPz-0003rW-Ij for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 18:25:43 +0000
Resent-Date: Thu, 19 Jul 2012 18:25:43 +0000
Resent-Message-Id: <E1SrvPz-0003rW-Ij@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1SrvPp-0003qk-4R for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 18:25:33 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1SrvPo-0001Tf-7k for ietf-http-wg@w3.org; Thu, 19 Jul 2012 18:25:33 +0000
Received: by qafl39 with SMTP id l39so2092607qaf.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 11:25:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=osdgy8ywXSEJnbwa2kvZoXIcb+/XjeC6PT/ZgtyCBMc=; b=iovWzdFTL7/MHXRzqDAYSCadi0GCzVkEIZ7/wR+9NR6+jXZJ/+muF5dg3zInibJNfy BoM5KZxGP47GvnrnNq4yakE3mqw6txLdSPzORarBYHDZhEYHPn+4C0PqZAICaIfSilS3 Hia7+ebwi8/DLVlKKNYjZqF6dMRWZzMvEga+ozetTev6lmf2JIViFV3ERiXnVLl+X7mL JBNZvgPjUhMj87t9Ge0LSFe4KZjZLuWTqKaHJsFr4UaymvGLVFI+NWaww3NiaGCy0Mk2 aE9ryrCOyb1tk0SL1+bv4mbd5BFyA+p6vauz0eatGmgsjcAbRqRtmtI2cEBRJweFePbF xrMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=osdgy8ywXSEJnbwa2kvZoXIcb+/XjeC6PT/ZgtyCBMc=; b=dqNT602w0Euxuy4zXPnDsAiveO69aJUaXyy1DFPtQb9j46MeROcu4fgMentg7Sewjx B19+3r9yww/728qE3SCNewdf3w19DpeZLReKoyV/RAPzdJY3D1jBsBRxd9V0BrASs/Wf /BlHzkl8YqELTd2fw6YKV+BD52Hh/yy42LznJzlUe01RW/zRGIxTPOL5dLLYwS9rZ797 oeg7WxsdKIRAYyL03yw9BMjuZ6wllS3nJKxXxGrr+h3uKxipDcH+c32QRzktPJET3O7R IXbcnjXUFI3db0wuca5/rkAbKpNaTv+Dj+Zv5zSLmB6zG0/1jbiLiwi+wGutwbNR904W S7Jg==
Received: by 10.229.135.76 with SMTP id m12mr1402452qct.68.1342722306533; Thu, 19 Jul 2012 11:25:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.135.76 with SMTP id m12mr1402445qct.68.1342722306404; Thu, 19 Jul 2012 11:25:06 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.247.211 with HTTP; Thu, 19 Jul 2012 11:25:06 -0700 (PDT)
In-Reply-To: <1342102743.16408.74.camel@ds9>
References: <1342102743.16408.74.camel@ds9>
Date: Thu, 19 Jul 2012 11:25:06 -0700
X-Google-Sender-Auth: dqbnXs13kl98JRDIfRQgw-GF5xI
Message-ID: <CAA4WUYj1rugCj19fqO+EWHOxPLHMyGTzKHOgc8BH7dNBuLhtGg@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=00248c6a667e1af37d04c532e65f
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnXQ+pGYFP2P8lY5GosJ5dRFjLcBQMCclc8aSSnB45htVp/nobKrF23ue2Pr2hUxDFoFwGN4dS0DVzRaJfOXLsE93wC7xVbUQTwLI/A9LGjgwtYKvtBbfMj7I2SXN5F1CvUmAkBwG1GAr4k5t4XqQdkGs9IVTa6bbCoDCDhVUz2sk2hEpjl5jScUXl8OgTqpcQyIIyh
Received-SPF: pass client-ip=209.85.216.50; envelope-from=willchan@google.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrvPo-0001Tf-7k 620ce81fd3ea75aed3c3d8a7d969b22d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Firefox Expression of Interest in HTTP/2.0
Archived-At: <http://www.w3.org/mid/CAA4WUYj1rugCj19fqO+EWHOxPLHMyGTzKHOgc8BH7dNBuLhtGg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14579
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>

--00248c6a667e1af37d04c532e65f
Content-Type: text/plain; charset=ISO-8859-1

<snip>

It is unlikely we would implement or ship any new transport
> protocol that was not secure against at least passive eavesdropping
> attacks.
>

Late reply (just got back from vacation), but I wanted to chime in for the
Chromium project as well to say we share Firefox's stance here.

--00248c6a667e1af37d04c532e65f
Content-Type: text/html; charset=ISO-8859-1

&lt;snip&gt;<br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is unlikely we would implement or ship any new transport<br>

protocol that was not secure against at least passive eavesdropping<br>
attacks.<br></blockquote><div><br></div><div>Late reply (just got back from vacation), but I wanted to chime in for the Chromium project as well to say we share Firefox&#39;s stance here.</div></div></div>

--00248c6a667e1af37d04c532e65f--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 11:33:18 2012
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 AF4C621F85B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 11:33:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.049
X-Spam-Level: 
X-Spam-Status: No, score=-7.049 tagged_above=-999 required=5 tests=[AWL=3.550, BAYES_00=-2.599, 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 4KXA4aNNx1LY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 11:33:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0B7521F855D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 11:33:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrvWJ-0008JA-1x for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 18:32:15 +0000
Resent-Date: Thu, 19 Jul 2012 18:32:15 +0000
Resent-Message-Id: <E1SrvWJ-0008JA-1x@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1SrvW9-0008G2-FQ for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 18:32:05 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1SrvW8-0007c4-Df for ietf-http-wg@w3.org; Thu, 19 Jul 2012 18:32:05 +0000
Received: by vcdd16 with SMTP id d16so1989663vcd.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 11:31:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OnYYqmS36AxXRQ3iKbP/sqWbXCNaro3zbq5L62H4OeI=; b=ChrNRcDyXMCSFzJ4vDKQXjEIFM1KEcYAd68almuGCgID+HB8Ks0FcxKj+I9LHfbsL5 u3D5g39Swrt2S6xbnEDDxYDdtQ6jKMq8OrXHP9oQDW0J71m6UUCSwOvzwVTGTajvMq7U n5Ez8zYcYhe3icBfkcXAVMrcKvP2bqmQs/T8URFiVMPZE3A4uOpifJ1ScgD/YI0qeoan GqHBlebdMWPiudjByUsj4L/+LHFGbwHIu5vUt7R73KE9UAsawA4Cx0lxlY+PtOm4r+35 wu9NP7i6naUl+j8MKmkmbymdSHMD3ADEeGRvGnl/R0U1u28ar3804EhNvNImJHQEaj0n tylw==
MIME-Version: 1.0
Received: by 10.52.94.40 with SMTP id cz8mr1612918vdb.109.1342722698353; Thu, 19 Jul 2012 11:31:38 -0700 (PDT)
Received: by 10.52.170.68 with HTTP; Thu, 19 Jul 2012 11:31:38 -0700 (PDT)
Date: Thu, 19 Jul 2012 11:31:38 -0700
Message-ID: <CA+9kkMB4jpFoYkOd2HLAWFFzswx00o=MryLr+OPpC9GifXLCsQ@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=ted.ietf@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SrvW8-0007c4-Df c79fc128a072a2f14e7346a81d1dea6e
X-Original-To: ietf-http-wg@w3.org
Subject: Opportunity to review and give feedback on IAB privacy document
Archived-At: <http://www.w3.org/mid/CA+9kkMB4jpFoYkOd2HLAWFFzswx00o=MryLr+OPpC9GifXLCsQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14580
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>

The IAB recently updated their document on privacy considerations; the
current version is here:
http://www.ietf.org/internet-drafts/draft-iab-privacy-considerations-03.txt
.  Since there have been a number of folks discussing this issue in
the group over the past week or so, I think a reading might be
useful--both to give feedback to the IAB and to help us use a common
vocabulary for discussing the different harms, threats, and
mitigations.

Note that I'm not on the IAB nor an author of this draft, just pointing it out,

Ted


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 11:51:07 2012
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 8C75F21F86F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 11:51:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.745
X-Spam-Level: 
X-Spam-Status: No, score=-9.745 tagged_above=-999 required=5 tests=[AWL=0.854, BAYES_00=-2.599, 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 0zE+0J7wL96h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 11:51:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C58D21F8694 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 11:51:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrvnV-0000DP-2W for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 18:50:01 +0000
Resent-Date: Thu, 19 Jul 2012 18:50:01 +0000
Resent-Message-Id: <E1SrvnV-0000DP-2W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrvnL-0000Ad-5o for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 18:49:51 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrvnJ-0002MI-MH for ietf-http-wg@w3.org; Thu, 19 Jul 2012 18:49:51 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JInOuZ019572; Thu, 19 Jul 2012 20:49:24 +0200
Date: Thu, 19 Jul 2012 20:49:24 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: httpbis mailing list <ietf-http-wg@w3.org>
Message-ID: <20120719184924.GM16208@1wt.eu>
References: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrvnJ-0002MI-MH 91adb2536d40cc0e35b50c104eeecbc9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/20120719184924.GM16208@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14581
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 Mike,

On Thu, Jul 19, 2012 at 10:31:38AM -0700, Mike Belshe wrote:
> On the heels of our discussion about "should TLS be mandatory", comes this
> article from Adam Langley.
> 
> It's worth a read.
> 
> Many on this list have advocated that you don't need to secure everything,
> just the login pages (common practice with HTTP today).  Read this article
> and then ask yourself if that is really true.
> 
> http://www.imperialviolet.org/2012/07/19/hope9talk.html
> 
> Mixed modes of sometimes-secure-and-sometimes-not-secure open a slew of
> attacks that are only solved if you're all TLS all the time.  If someone
> has a better solution, let me know; I don't know of one.

Thanks for the link.

As usual, Adam gave a nice description there, and I'm sure many of us are
aware of the issues he describes. I'm among those who consider that having
only some pages of a site secured is dangerous. Either the site is clear or
it's not.

But this is not http vs https, it's orthogonal, in fact it's https only vs
mixed http/https. The article is clearly aimed at https-enabled sites, and
does not mean that all sites need https (it even says the opposite BTW).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 12:11:52 2012
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 E4DE921F8723 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:11:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.556
X-Spam-Level: 
X-Spam-Status: No, score=-7.556 tagged_above=-999 required=5 tests=[AWL=3.043, BAYES_00=-2.599, 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 cf59xBRm-u5c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:11:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5E3EF21F86DD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 12:11:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srw7z-0002Gr-BD for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 19:11:11 +0000
Resent-Date: Thu, 19 Jul 2012 19:11:11 +0000
Resent-Message-Id: <E1Srw7z-0002Gr-BD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1Srw7p-0002Fc-DM for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 19:11:01 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1Srw7o-0000ZM-CP for ietf-http-wg@w3.org; Thu, 19 Jul 2012 19:11:01 +0000
Received: by vcdd16 with SMTP id d16so2028959vcd.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 12:10:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SB88tvpDHc4uXwYTJwnOnlA4QU+nOyaRhj/TYYnhU9A=; b=OND9NkVP7coIyVb8rgTDJKUnN/htK5pSAI8vv++QumCwbIcfFmcW5CW/GWGTmwtgp5 x/AY0Z5zgK+ZOq6muOirdgq7IpupRwJH12FZJfYTIVpJdfCPadKp+l0u3LXn0y3jZct/ vYxUyPafIJA7QjAUUA5WOAOKkp2A+z6sdEMiIYb0yuALKGtkccxOZ2ESwSExmO8L0dl+ gTWujsrS/PAWMFmJKH/93YPQvqn2tFdst6jhXTsCHjWdsihkDTfbP4yDAjIpmpJyYbw5 VMM/XQzSkrSqzU/1JqKXyVL/XDZbCJZIi4DWg6haufu5CCji1WnqAh/UVxrHy987cX2R xSGw==
MIME-Version: 1.0
Received: by 10.52.95.110 with SMTP id dj14mr1712174vdb.69.1342725034092; Thu, 19 Jul 2012 12:10:34 -0700 (PDT)
Received: by 10.52.170.68 with HTTP; Thu, 19 Jul 2012 12:10:34 -0700 (PDT)
Date: Thu, 19 Jul 2012 12:10:34 -0700
Message-ID: <CA+9kkMC6iARZPGvTmQcWU++UO1nXJwVJM4O+zB42t+F4ADUNaQ@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=ted.ietf@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Srw7o-0000ZM-CP 5bdc2f40b24e9fa0fd4f29c0ed53a1be
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP Semantics in HTTP 2.0
Archived-At: <http://www.w3.org/mid/CA+9kkMC6iARZPGvTmQcWU++UO1nXJwVJM4O+zB42t+F4ADUNaQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14582
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>

Reading through the discussion over the past few days, one of the
things which struck me was that a disagreement about the level of
compatibility we're aiming for seems to underly some of the more
obvious disagreements.  In particular, I believe that there may be
some disagreement about  what "* Compatibility with HTTP/1.1
semantics" means in this context.

Speaking personally, I don't think that implies that we can't
introduce new semantics, and I believe that this may be an important
part of meeting some of the design goals which have been expressed.
To take a trivial example, imagine that we decide that an important
goal was allowing proxies and clients to explicitly share a session
key negotiated for some transport, so that proxies did not have to act
as back-to-back User-Agents in order to perform functions on behalf of
the client.  That might require new semantics (I don't think anyone
can squint hard enough to fit it into 407, but your mileage may vary).
 Whether it is a good idea or not, I don't think that's ruled out by
"Compatibility with HTTP/1.1 semantics".  Adding semantics may, in
other words, allow us to meet new design goals and re-balance specific
trade-offs between those design goals and existing deployments.

I also remind folks that because we're working in the IETF, some of
the design goals are set for us, by larger policies.  Mark reminded
the group of the policies in BCP 61/RFC 3365.  I'd also like to point
to RFC 2804.  Despite being 12 years old, it still guides the IETF
policy on developing technologies which intercept communications
without the knowledge and consent of the parties to the communication.

regards,

Ted Hardie


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 12:22:34 2012
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 E385A21F875B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:22:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, 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 bJm6yRis3aS1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:22:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3109621F8737 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 12:22:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrwIX-0008GO-0G for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 19:22:05 +0000
Resent-Date: Thu, 19 Jul 2012 19:22:05 +0000
Resent-Message-Id: <E1SrwIX-0008GO-0G@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmougin@acm.org>) id 1SrwIN-0008Ec-Dv for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 19:21:55 +0000
Received: from smtp03.smtpout.orange.fr ([80.12.242.125] helo=smtp.smtpout.orange.fr) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <pmougin@acm.org>) id 1SrwIM-0003Kj-GB for ietf-http-wg@w3.org; Thu, 19 Jul 2012 19:21:55 +0000
Received: from [10.0.1.2] ([82.121.90.60]) by mwinf5d26 with ME id cKMT1j0081J7nHe03KMTZM; Thu, 19 Jul 2012 21:21:28 +0200
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Philippe Mougin <pmougin@acm.org>
In-Reply-To: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
Date: Thu, 19 Jul 2012 21:21:27 +0200
Cc: James Snell <jasnell@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org>
References: <CABP7Rbf6n1=qSME75KY4TkLWK-pWeMTscsXzk2tx8u3omB1HJA@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=80.12.242.125; envelope-from=pmougin@acm.org; helo=smtp.smtpout.orange.fr
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SrwIM-0003Kj-GB 61e763dcc52f543ba2788d04ed21102f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14583
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>

Some of you are suggesting introducing a Session header. In your =
reasoning, how do you take into account the following points?=20

- HTTP was designed with the idea that there is no application state =
(i.e., session state) stored on the server. This provides a number of =
architectural benefits.

- Furthermore, not having session state stored on the server is a =
constraint for creating Restful systems.

- Finally, given a design that stores session state on the server =
Restafarians can usually show you an equivalent design that does not.

Thanks.

Philippe Mougin=


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 12:29:24 2012
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 6977921F8775 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:29:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.58
X-Spam-Level: 
X-Spam-Status: No, score=-10.58 tagged_above=-999 required=5 tests=[AWL=0.019, BAYES_00=-2.599, 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 6ZNo7DkEstRe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:29:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5582621F876F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 12:29:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrwP6-0001xa-Go for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 19:28:52 +0000
Resent-Date: Thu, 19 Jul 2012 19:28:52 +0000
Resent-Message-Id: <E1SrwP6-0001xa-Go@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrwOw-0001uQ-7l for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 19:28:42 +0000
Received: from smtpout5.laposte.net ([193.253.67.230] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SrwOu-0003Z8-Ug for ietf-http-wg@w3.org; Thu, 19 Jul 2012 19:28:42 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8509-out with ME id cKUD1j0044WQcrc03KUDMF; Thu, 19 Jul 2012 21:28:14 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id B5E4A2E0E10; Thu, 19 Jul 2012 21:28:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b_bnTgN7AwIY; Thu, 19 Jul 2012 21:27:59 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Thu, 19 Jul 2012 21:27:59 +0200 (CEST)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Thu, 19 Jul 2012 21:27:59 +0200
Message-ID: <7a85396324d7873b239640aa97348853.squirrel@arekh.dyndns.org>
Date: Thu, 19 Jul 2012 21:27:59 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Mike Belshe" <mike@belshe.com>
Cc: "httpbis mailing list" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.230; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrwOu-0003Z8-Ug 1e9ca0321387035530c3db5d131a11a9
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/7a85396324d7873b239640aa97348853.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14584
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>

> Read this article
> and then ask yourself if that is really true.

> http://www.imperialviolet.org/2012/07/19/hope9talk.html

> Mixed modes of sometimes-secure-and-sometimes-not-secure open a slew of
> attacks that are only solved if you're all TLS all the time. If someone
> has a better solution, let me know; I don't know of one.

Sadly that only shows you didn't understand (or chose to misunderstand)
the article.

What this article actually says is that:
1. in-clear transmission without integrity checks is dangerous (that's a
signing property, not a tls property)
2. TLS offers dubious security as it posits users can identify trusted
certificates but “Asking regular people to evaluate the validity of X.509
certificates is insane.” (and asking anyone else to do it is putting their
security in third-party hands)
3. as soon a you start sourcing elements from third-parties or secondary
web sites (regardless if it's in-clear or over tls) your trust model is
essentially gone. The only difference between in-clear and tls sourcing is
that in one case anyone can mess up with your site, and in the other the
breakage is limited to whoever has control of those third-parties. Which
quite often is not saying much (but ma, it is sooo convenient to source
foreign content)

No amount of certificate or tls slapping is going to make something like a
planet that federates dozens of blogs, all running on their own (possibly
rooted) blog platform, and referencing material from countless other
sites, remotely trustable. And that's just an extreme case. Use Firefox
with requestpolicy in anal mode a few days and see how few sites render
properly by default nowadays.

The only situation where TLS makes things “safe” (for dubious values of
safe) is when everything on a web site is provided by a single entity,
over a single certificate the user is used to and can easily recognize,
which happens mostly on big-brother-is-watching-you walled-garden sites
ran by a few web heavyweights (in close cooperation with whatever state
they happen to be head-quartered in) or on very specialized web sites such
as banks (but even banks are foolish enough to mashup their web sites
nowadays. We may trust them but should we trust their advertising or
geolocation partners?)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 12:48:09 2012
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 5B05921F8769 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:48:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.051
X-Spam-Level: 
X-Spam-Status: No, score=-9.051 tagged_above=-999 required=5 tests=[AWL=1.548, BAYES_00=-2.599, 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 RUGR17wsm9Ej for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 12:48:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 508D721F8736 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 12:48:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srwgu-0006Mf-Gs for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 19:47:16 +0000
Resent-Date: Thu, 19 Jul 2012 19:47:16 +0000
Resent-Message-Id: <E1Srwgu-0006Mf-Gs@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Srwgk-0006LG-H5 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 19:47:06 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Srwgj-00048P-CB for ietf-http-wg@w3.org; Thu, 19 Jul 2012 19:47:06 +0000
Received: by vcdd16 with SMTP id d16so2063923vcd.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 12:46:39 -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=54FBPO8M8eB84iis63jpn3FxY7bvH9BbDv+kDCWt0J4=; b=u0AJT3OBlluE8a5/BmW57a8Y6qRPvl95NDp3dn1wiepwrefV6G2oMYp3RIpQac/k8U FMtEJyrRzE6f1QFh41KKbnU1tlVWJCRddgLGoKHvIQIgBVKSe/PiL9Y/vqzeRqlgVhqw wXmdAhZEZQfiYNYlLI2RH2BJ7af9uygVyF7Gb59UsPv5GJzaPS36zITooxwT6u23Wrs/ qj7lQpPAFEkTuBXeIyBDx3ksonNw8D4HescePPYwwz4TIcjpyvhLNefIpbGPog+YpoId 7Gvdb6rxg0Atyodx8Gyn2Pv8yCn6W9bZyqtqI1BzABuFF8gSQ2QrwzxQB+hB3wrZj0I8 cldQ==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr1740498vdc.101.1342727199372; Thu, 19 Jul 2012 12:46:39 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 19 Jul 2012 12:46:39 -0700 (PDT)
In-Reply-To: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com>
References: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com>
Date: Thu, 19 Jul 2012 15:46:39 -0400
Message-ID: <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Srwgj-00048P-CB 063dedecfdaa86b703060341cd5415e9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14585
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>

Adam is speaking about the use of HTTP in Web browsing. There is no
question that TLS should always be on for Web browsing.

If you want to write a draft that specifies a set of required security
standards for secure Web browsing it would be very useful and I would
support TLS being a requirement for secure Web browsing (among quite a
few others). Such a standard could be really useful for use in RFPs
for outsourcing Web hosting and it does not need to be tied to HTTP
2.0 at all.


What is being discussed here is HTTP and the HTTP world is much larger
than Web Browsing. In particular there is a whole world of Web
Services where we use other security layers because those give us the
security properties we want while TLS does not. In particular there is
the WS-* stack and JSON encryption and Signature being developed right
now.


I do not want to continue this discussion here because:

1) The chair has asked us not to
2) It is a rat hole
3) The people making this proposal don't seem to want to listen when
it is pointed out that privacy and confidentiality are different
issues in the security world and that the distinction matters a lot.

On Thu, Jul 19, 2012 at 1:31 PM, Mike Belshe <mike@belshe.com> wrote:
> On the heels of our discussion about "should TLS be mandatory", comes this
> article from Adam Langley.
>
> It's worth a read.
>
> Many on this list have advocated that you don't need to secure everything,
> just the login pages (common practice with HTTP today).  Read this article
> and then ask yourself if that is really true.
>
> http://www.imperialviolet.org/2012/07/19/hope9talk.html
>
> Mixed modes of sometimes-secure-and-sometimes-not-secure open a slew of
> attacks that are only solved if you're all TLS all the time.  If someone has
> a better solution, let me know; I don't know of one.
>
> Mike
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 13:03:28 2012
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 44FA511E8093 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:03:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 mho+46jBe6x9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:03:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0AA7611E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 13:03:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrwvN-00049w-Ob for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 20:02:13 +0000
Resent-Date: Thu, 19 Jul 2012 20:02:13 +0000
Resent-Message-Id: <E1SrwvN-00049w-Ob@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrwvC-00048V-7t for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 20:02:02 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srwv7-0004Wb-Lp for ietf-http-wg@w3.org; Thu, 19 Jul 2012 20:02:02 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0BD943B5A7; Thu, 19 Jul 2012 20:01:35 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JK1ZZe018937; Thu, 19 Jul 2012 20:01:35 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 20:49:24 +0200." <20120719184924.GM16208@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 20:01:35 +0000
Message-ID: <18936.1342728095@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Srwv7-0004Wb-Lp 4a1962e3dc78bae2999d8ea256723ffc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/18936.1342728095@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14586
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>

In message <20120719184924.GM16208@1wt.eu>, Willy Tarreau writes:

>As usual, Adam gave a nice description there, and I'm sure many of us are
>aware of the issues he describes. I'm among those who consider that having
>only some pages of a site secured is dangerous. Either the site is clear or
>it's not.

What about sites that are HTTP until you log in, then switch to HTTPS ?

That's a perfectly fair & sensible way to avoid spending resources
on non-paying visitors.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 13:05:07 2012
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 3B04711E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:05:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 WLL4Uopxj6L0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:05:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A190311E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 13:05:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrwyQ-0005oW-EY for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 20:05:22 +0000
Resent-Date: Thu, 19 Jul 2012 20:05:22 +0000
Resent-Message-Id: <E1SrwyQ-0005oW-EY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrwyG-0005kf-DY for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 20:05:12 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrwyF-0004cE-Jt for ietf-http-wg@w3.org; Thu, 19 Jul 2012 20:05:12 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id AE9673B5A7; Thu, 19 Jul 2012 20:04:50 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JK4oom018945; Thu, 19 Jul 2012 20:04:50 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 15:46:39 -0400." <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 20:04:50 +0000
Message-ID: <18944.1342728290@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrwyF-0004cE-Jt 19c090283d917f623a81691a9c0eb6e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/18944.1342728290@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14587
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>

In message <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com>
, Phillip Hallam-Baker writes:

>Adam is speaking about the use of HTTP in Web browsing. There is no
>question that TLS should always be on for Web browsing.

Do you really need a bunch of card-carrying pornographers to join the
WG before you understand that it's not going to happen for 30-50% of
the web-browsing traffic ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 13:31:18 2012
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 C554D11E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 gbyq3cBNWw5c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:31:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F3D8D11E8099 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 13:31:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrxMy-0002Qz-NU for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 20:30:44 +0000
Resent-Date: Thu, 19 Jul 2012 20:30:44 +0000
Resent-Message-Id: <E1SrxMy-0002Qz-NU@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrxMo-0002P7-CL for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 20:30:34 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrxMi-0005cQ-Qm for ietf-http-wg@w3.org; Thu, 19 Jul 2012 20:30:33 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id BBB233B763; Thu, 19 Jul 2012 20:28:58 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JKSwCs019056; Thu, 19 Jul 2012 20:28:58 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 22:23:49 +0200." <20120719202349.GA19857@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 20:28:58 +0000
Message-ID: <19055.1342729738@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: aji.keio.w3.org 1SrxMi-0005cQ-Qm 2d4e8eda6d214ea88a51d503330e73fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/19055.1342729738@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14588
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>

In message <20120719202349.GA19857@1wt.eu>, Willy Tarreau writes:

>The risk of loading insecure
>JS code during the HTTP phase which sets known cookies for the HTTPS
>phase for instance exists.

Only because cookies should never be used that way.  The only safe
cookies are signed identifying nonces, used to look up client/session
state in a database table on the server-side.

Storing information in cookies is plain wrong no matter what you are
trying to do security wise.

>for moderately complex sites, better be either all clear or all secure.

Dual-mode the way I described, seems much used in "regular"
web-commerce:  You don't need protection until you're willing to
fork over money.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 13:31:23 2012
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 2624611E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:31:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.763
X-Spam-Level: 
X-Spam-Status: No, score=-9.763 tagged_above=-999 required=5 tests=[AWL=0.836, BAYES_00=-2.599, 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 9gyTenSrztoW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:31:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AAFFE11E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 13:31:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrxN9-0002Rs-U1 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 20:30:55 +0000
Resent-Date: Thu, 19 Jul 2012 20:30:55 +0000
Resent-Message-Id: <E1SrxN9-0002Rs-U1@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrxMz-0002R2-OT for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 20:30:46 +0000
Received: from 1wt.eu ([62.212.114.60]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrxMu-0005da-UQ for ietf-http-wg@w3.org; Thu, 19 Jul 2012 20:30:44 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JKNngA019942; Thu, 19 Jul 2012 22:23:49 +0200
Date: Thu, 19 Jul 2012 22:23:49 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
Message-ID: <20120719202349.GA19857@1wt.eu>
References: <20120719184924.GM16208@1wt.eu> <18936.1342728095@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <18936.1342728095@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: aji.keio.w3.org 1SrxMu-0005da-UQ 33d94bbf1785e85b2877254ccc01b51c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/20120719202349.GA19857@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14589
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 Thu, Jul 19, 2012 at 08:01:35PM +0000, Poul-Henning Kamp wrote:
> In message <20120719184924.GM16208@1wt.eu>, Willy Tarreau writes:
> 
> >As usual, Adam gave a nice description there, and I'm sure many of us are
> >aware of the issues he describes. I'm among those who consider that having
> >only some pages of a site secured is dangerous. Either the site is clear or
> >it's not.
> 
> What about sites that are HTTP until you log in, then switch to HTTPS ?
> 
> That's a perfectly fair & sensible way to avoid spending resources
> on non-paying visitors.

You got one point here. I'm used to banking environments where this
behaviour is not desirable at all. However, the points made by Adam
are perfectly valid in your example. The risk of loading insecure
JS code during the HTTP phase which sets known cookies for the HTTPS
phase for instance exists.

In 1999 I was suggesting that only the POST of a login page was made
HTTPS. Then I realized that the page handling the form had to be
secured too, and I was OK with this for a long time, until I discovered
the mess some developers are facing when trying to support multiple
browsers (including old ones), resulting in overly complex cookie or
JS policies which commonly leads to cookies slipping between secure/
non-secure or loading http contents from https. In the end, for
moderately complex sites, better be either all clear or all secure.

Note that in your example, you can have a dedicated https host for the
login phase, if you have an SSO relying on a token exchanged as a URI
parameter using a redirect, there is no problem. And I agree it's
sometimes the only solution for some of the environments where our
respective products are used together to push pixels at wire speed.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 13:50:22 2012
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 25E4321F8669 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:50:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 Pa-EJ+LLbgyn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 13:50:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3408C21F8652 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 13:50:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrxfN-0003YE-EU for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 20:49:45 +0000
Resent-Date: Thu, 19 Jul 2012 20:49:45 +0000
Resent-Message-Id: <E1SrxfN-0003YE-EU@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrxfC-0003XT-RW for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 20:49:35 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srxf8-0006Lh-E1 for ietf-http-wg@w3.org; Thu, 19 Jul 2012 20:49:33 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id DF9CB3B080; Thu, 19 Jul 2012 20:48:01 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JKm15N019148; Thu, 19 Jul 2012 20:48:01 GMT (envelope-from phk@phk.freebsd.dk)
To: Philippe Mougin <pmougin@acm.org>
cc: HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 21:21:27 +0200." <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 20:48:01 +0000
Message-ID: <19147.1342730881@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: aji.keio.w3.org 1Srxf8-0006Lh-E1 8e980307b524edc7dca87b01bf6e442e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/19147.1342730881@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14590
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>

In message <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org>, Philippe Mougin writ
es:

>- HTTP was designed with the idea that there is no application state 
>(i.e., session state) stored on the server. This provides a number of 
>architectural benefits.

That might have been the idea, but it is certainly not the (only)
practice today.

In fact, many appearantly server state-less sites, uses load-balancers
to direct the client to the same server all the time, in order to
benefit from database and VM caching of ... session-relevant state.

I think that HTTP/2.0 should serve all relevant contemporary and
future needs, and be less concerned about what ideas somebody had
or didn't have 20 years ago.

And after all, nobody is proposing that HTTP/2.0 make the server
state-less model impossible to implement.

I won't claim that the original idea could not have survived as the
sole model, but if so, cookies should have been killed as a concept
before it became the festing pile of state-poo they have become.

The fact the EU has felt it necessary to legislate what cookies can
contain and what they can be used for, should not be overlooked
here.  HTTP/2.0 can and will be scrutinized in Bxl for compliance
with EU privacy and cookie directives.  Being proactive might pay off.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 14:01:53 2012
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 D0A2C11E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:01:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.781
X-Spam-Level: 
X-Spam-Status: No, score=-9.781 tagged_above=-999 required=5 tests=[AWL=0.818, BAYES_00=-2.599, 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 InYM1-kDWrYA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:01:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 392CC11E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 14:01:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srxqg-0001R5-Fq for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 21:01:26 +0000
Resent-Date: Thu, 19 Jul 2012 21:01:26 +0000
Resent-Message-Id: <E1Srxqg-0001R5-Fq@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrxqW-0001Pu-3r for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 21:01:16 +0000
Received: from 1wt.eu ([62.212.114.60]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SrxqR-0006nR-7M for ietf-http-wg@w3.org; Thu, 19 Jul 2012 21:01:15 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JKsNe3020108; Thu, 19 Jul 2012 22:54:23 +0200
Date: Thu, 19 Jul 2012 22:54:23 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
Message-ID: <20120719205423.GB19857@1wt.eu>
References: <20120719202349.GA19857@1wt.eu> <19055.1342729738@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <19055.1342729738@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: aji.keio.w3.org 1SrxqR-0006nR-7M 654f3b7bd34069d93e5cec70b7e6b1a9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/20120719205423.GB19857@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14591
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 Thu, Jul 19, 2012 at 08:28:58PM +0000, Poul-Henning Kamp wrote:
> In message <20120719202349.GA19857@1wt.eu>, Willy Tarreau writes:
> 
> >The risk of loading insecure
> >JS code during the HTTP phase which sets known cookies for the HTTPS
> >phase for instance exists.
> 
> Only because cookies should never be used that way.  The only safe
> cookies are signed identifying nonces, used to look up client/session
> state in a database table on the server-side.

I'm precisely speaking of these ones, as they are the only I care about.
The common principle is cookie injection :
  - attacker connects to the site and gets a session cookie
  - victim connects to the site and gets another session cookie
  - victim also loads attacker-controlled JS
  - JS replaces the victim's session cookie with attacker's cookie
  - user logs in using the attacker's cookie
  - since the attacker stil has the cookie, he can access to the client's
    account

Note that there is a solution against this : have the server rebuild a new
session cookie for every change in privilege levels and every time some
form of credentials are used. I haven't seen many sites do this unfortunately,
and even worse, some PHP-based sites accept to rebuild a new session using
a user-fed PHPSESSID cookie !

> Storing information in cookies is plain wrong no matter what you are
> trying to do security wise.

Well, it was precisely what they were designed for initially. We could
see it differently : abusing cookies to transport user preferences is
wrong because with it comes motivation to port them wherever you can,
while they should never leave the context where they were generated.

> >for moderately complex sites, better be either all clear or all secure.
> 
> Dual-mode the way I described, seems much used in "regular"
> web-commerce:  You don't need protection until you're willing to
> fork over money.

A lot of web sites switch to another site for the payment (bank, paypal
or even another host). I find this the safest method when you don't need
the site to be https. That way you keep an http-only site and don't have
to bother with the risk of mixing http/https information.

Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 14:24:12 2012
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 AAF8721F8724 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:24:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 5LtsUgqLHv3Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:24:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F136621F854A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 14:24:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SryC1-00011A-NO for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 21:23:29 +0000
Resent-Date: Thu, 19 Jul 2012 21:23:29 +0000
Resent-Message-Id: <E1SryC1-00011A-NO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SryBr-00010K-86 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 21:23:19 +0000
Received: from mail-pb0-f43.google.com ([209.85.160.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SryBp-0000Zl-WF for ietf-http-wg@w3.org; Thu, 19 Jul 2012 21:23:19 +0000
Received: by pbcwz7 with SMTP id wz7so4930085pbc.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 14:22:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=o1CVABoE4NyO1eBnfiS5uKBjGG1PK6l1Gjt2PwJPOOg=; b=0/AKwE6mKRZzU16JXUlSHi64aeeFB54Us6BIK4wQXU9mkk54neHYPKeyn/2YiTX1tO NB+MUmikGBikgtxQIMjPr0b/kwPaGQ6F6QaZ5H/PhRO0f/4igDD/iZ7cYLQrYZLeBhsm ULA5WVOhz7e2Q5T+B03vy0+Q0P6g3acFXji0OrxV8uk8IvmxctHEEslgHMrtwn/GTZ4t Rlq/ZYGD9Rg2EkI2/qY1Nq2Wn9ZImPJ/p48dOj4BPgrG+NII8vC4r4mtt2lFWOIf0+56 Fw+HbUVBLXMWWwmtsgGoOC22O6kiuv4gLYDmhVlHpv0w9E+23I+mxRBhAKNyQw4hhZgn WJOw==
MIME-Version: 1.0
Received: by 10.68.130.9 with SMTP id oa9mr8314435pbb.95.1342732971522; Thu, 19 Jul 2012 14:22:51 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.143.145.12 with HTTP; Thu, 19 Jul 2012 14:22:51 -0700 (PDT)
In-Reply-To: <CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com>
References: <2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org> <CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com>
Date: Fri, 20 Jul 2012 07:22:51 +1000
X-Google-Sender-Auth: x2F6Ok1jFXIHM7HWwCsygDCAODE
Message-ID: <CAG47hGbdg=PK4KKtjirrnghY-z2M0TeVuGRS4Z-+6HMBKj2uSw@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: Tim Bray <tbray@textuality.com>
Cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, Henry Story <henry.story@bblfish.net>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, =?ISO-8859-1?B?Ik1hcnRpbiBKLiBE/HJzdCI=?= <duerst@it.aoyama.ac.jp>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.160.43; envelope-from=grahameg@gmail.com; helo=mail-pb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SryBp-0000Zl-WF d8577b18eb3d9e927ce4cc32c43db9e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAG47hGbdg=PK4KKtjirrnghY-z2M0TeVuGRS4Z-+6HMBKj2uSw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14592
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 Fri, Jul 20, 2012 at 2:05 AM, Tim Bray <tbray@textuality.com> wrote:
> No, privacy is important. There are things on my blog that people in
> certain situations could get in trouble just for reading.  I should
> offer privacy, and it=92s a failure on my part that I don=92t.  -T

but in that case, merely accessing the server would be a problem.
We're going to mandate TOR everywhere?

Grahame


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 14:30:57 2012
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 CF99411E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:30:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.792
X-Spam-Level: 
X-Spam-Status: No, score=-9.792 tagged_above=-999 required=5 tests=[AWL=0.184, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 S88r2U5rv4al for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:30:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4304A11E80C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 14:30:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SryIn-0005zn-6E for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 21:30:29 +0000
Resent-Date: Thu, 19 Jul 2012 21:30:29 +0000
Resent-Message-Id: <E1SryIn-0005zn-6E@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SryIc-0005z2-Lx for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 21:30:18 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SryIb-0000oE-6g for ietf-http-wg@w3.org; Thu, 19 Jul 2012 21:30:18 +0000
Received: by lbom4 with SMTP id m4so4415592lbo.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 14:29:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=18V1aVdsTnlWm8McpkP+nh6xAybo339b6lJARAVEB6c=; b=Qsn2R76JKaGwHokp8C8sAUF0b0ABnvc1MezqEhyUfoQ22pS1/7uSSgSNvfEYImcrk8 ygPuS2Dimi+VY9gN2PMdJkHcJx8jlMdJ0HenzMr9+Xz7PoYtURNwvdOMPmrfPITtH29H L2FpPpJ+RPNm4yM8lFS/oiMdnGWdtGcZzR59IxWTgRwSIrUICzQ0ncbLIC4p/7oPwpNq 8FlbKo0HvrzTN4T5H93JL929MdgzFQr43kbZQgfoBb5rro6W5tL2bz+Rgjrh9L3h7v11 WcsxkuiN4R+8fRmQ+H1uh/zlpDH1DtLzh5TyM9T9nAzhLPXMC55skHD5g0B9cCwhR4oU rlOg==
MIME-Version: 1.0
Received: by 10.112.83.198 with SMTP id s6mr1841823lby.76.1342733390256; Thu, 19 Jul 2012 14:29:50 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Thu, 19 Jul 2012 14:29:50 -0700 (PDT)
In-Reply-To: <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com>
References: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com> <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com>
Date: Thu, 19 Jul 2012 14:29:50 -0700
Message-ID: <CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04016b23c11aa004c5357afb
X-Gm-Message-State: ALoCoQlvD4g8V0iSnPOV/6nyE77fsG8tbjAduZ1qUu9/Pq+PPyBLOL801rJRrzYbFP11sCU7Kx/d
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SryIb-0000oE-6g 7f74ada83797ec63e16731a76e25f206
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14593
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>

--f46d04016b23c11aa004c5357afb
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Jul 19, 2012 at 12:46 PM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> Adam is speaking about the use of HTTP in Web browsing. There is no
> question that TLS should always be on for Web browsing.
>

Oh!

I'd be happy with this compromise.

Mike



>
> If you want to write a draft that specifies a set of required security
> standards for secure Web browsing it would be very useful and I would
> support TLS being a requirement for secure Web browsing (among quite a
> few others). Such a standard could be really useful for use in RFPs
> for outsourcing Web hosting and it does not need to be tied to HTTP
> 2.0 at all.
>
>
> What is being discussed here is HTTP and the HTTP world is much larger
> than Web Browsing. In particular there is a whole world of Web
> Services where we use other security layers because those give us the
> security properties we want while TLS does not. In particular there is
> the WS-* stack and JSON encryption and Signature being developed right
> now.
>
>
> I do not want to continue this discussion here because:
>
> 1) The chair has asked us not to
> 2) It is a rat hole
> 3) The people making this proposal don't seem to want to listen when
> it is pointed out that privacy and confidentiality are different
> issues in the security world and that the distinction matters a lot.
>
> On Thu, Jul 19, 2012 at 1:31 PM, Mike Belshe <mike@belshe.com> wrote:
> > On the heels of our discussion about "should TLS be mandatory", comes
> this
> > article from Adam Langley.
> >
> > It's worth a read.
> >
> > Many on this list have advocated that you don't need to secure
> everything,
> > just the login pages (common practice with HTTP today).  Read this
> article
> > and then ask yourself if that is really true.
> >
> > http://www.imperialviolet.org/2012/07/19/hope9talk.html
> >
> > Mixed modes of sometimes-secure-and-sometimes-not-secure open a slew of
> > attacks that are only solved if you're all TLS all the time.  If someone
> has
> > a better solution, let me know; I don't know of one.
> >
> > Mike
> >
>
>
>
> --
> Website: http://hallambaker.com/
>

--f46d04016b23c11aa004c5357afb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Jul 19, 2012 at 12:46 PM, Philli=
p Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" ta=
rget=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
Adam is speaking about the use of HTTP in Web browsing. There is no<br>
question that TLS should always be on for Web browsing.<br></blockquote><di=
v><br></div><div>Oh!</div><div><br></div><div>I&#39;d be happy with this co=
mpromise.</div><div><br></div><div>Mike</div><div><br></div><div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
If you want to write a draft that specifies a set of required security<br>
standards for secure Web browsing it would be very useful and I would<br>
support TLS being a requirement for secure Web browsing (among quite a<br>
few others). Such a standard could be really useful for use in RFPs<br>
for outsourcing Web hosting and it does not need to be tied to HTTP<br>
2.0 at all.<br>
<br>
<br>
What is being discussed here is HTTP and the HTTP world is much larger<br>
than Web Browsing. In particular there is a whole world of Web<br>
Services where we use other security layers because those give us the<br>
security properties we want while TLS does not. In particular there is<br>
the WS-* stack and JSON encryption and Signature being developed right<br>
now.<br>
<br>
<br>
I do not want to continue this discussion here because:<br>
<br>
1) The chair has asked us not to<br>
2) It is a rat hole<br>
3) The people making this proposal don&#39;t seem to want to listen when<br=
>
it is pointed out that privacy and confidentiality are different<br>
issues in the security world and that the distinction matters a lot.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On Thu, Jul 19, 2012 at 1:31 PM, Mike Belshe &lt;<a href=3D"mailto:mike@bel=
she.com">mike@belshe.com</a>&gt; wrote:<br>
&gt; On the heels of our discussion about &quot;should TLS be mandatory&quo=
t;, comes this<br>
&gt; article from Adam Langley.<br>
&gt;<br>
&gt; It&#39;s worth a read.<br>
&gt;<br>
&gt; Many on this list have advocated that you don&#39;t need to secure eve=
rything,<br>
&gt; just the login pages (common practice with HTTP today). =A0Read this a=
rticle<br>
&gt; and then ask yourself if that is really true.<br>
&gt;<br>
&gt; <a href=3D"http://www.imperialviolet.org/2012/07/19/hope9talk.html" ta=
rget=3D"_blank">http://www.imperialviolet.org/2012/07/19/hope9talk.html</a>=
<br>
&gt;<br>
&gt; Mixed modes of sometimes-secure-and-sometimes-not-secure open a slew o=
f<br>
&gt; attacks that are only solved if you&#39;re all TLS all the time. =A0If=
 someone has<br>
&gt; a better solution, let me know; I don&#39;t know of one.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
</font></span></blockquote></div><br>

--f46d04016b23c11aa004c5357afb--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 14:37:54 2012
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 9A6DB11E80C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:37:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.797
X-Spam-Level: 
X-Spam-Status: No, score=-9.797 tagged_above=-999 required=5 tests=[AWL=0.802, BAYES_00=-2.599, 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 Hbw4mr3y1+fy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:37:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB20911E80C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 14:37:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SryPG-00083h-A2 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 21:37:10 +0000
Resent-Date: Thu, 19 Jul 2012 21:37:10 +0000
Resent-Message-Id: <E1SryPG-00083h-A2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SryP5-00080L-2c for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 21:36:59 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SryP3-00015I-OS for ietf-http-wg@w3.org; Thu, 19 Jul 2012 21:36:59 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6JLaUig020391; Thu, 19 Jul 2012 23:36:30 +0200
Date: Thu, 19 Jul 2012 23:36:30 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Philippe Mougin <pmougin@acm.org>, HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>
Message-ID: <20120719213630.GA20313@1wt.eu>
References: <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org> <19147.1342730881@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <19147.1342730881@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SryP3-00015I-OS ef8d96f15db9ad285eb719e2cb756232
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120719213630.GA20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14594
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 Thu, Jul 19, 2012 at 08:48:01PM +0000, Poul-Henning Kamp wrote:
> In message <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org>, Philippe Mougin writ
> es:
> 
> >- HTTP was designed with the idea that there is no application state 
> >(i.e., session state) stored on the server. This provides a number of 
> >architectural benefits.
> 
> That might have been the idea, but it is certainly not the (only)
> practice today.
> 
> In fact, many appearantly server state-less sites, uses load-balancers
> to direct the client to the same server all the time, in order to
> benefit from database and VM caching of ... session-relevant state.

I would go further, because after some thinking I don't agree with
the requirement of *a* session header. The web is so stateful nowadays
that multiple layers generally need their own session information.

Requests coming from clients to servers sometimes flow across multiple
places and a single session identifier is not always enough, sometimes
a few ones need to be provided.

I think it would be terribly useful to have a session container in which
we can store one or more session identifiers and that load balancers and
servers can easily access and manipulate.

I also note a warning from someone here (sorry I forgot who it was) who
reminded us that smartphones and tablets have always-on browsers that
are never closed, and thus the session is something hard to define,
probably just a browsing context.

> I think that HTTP/2.0 should serve all relevant contemporary and
> future needs, and be less concerned about what ideas somebody had
> or didn't have 20 years ago.
> 
> And after all, nobody is proposing that HTTP/2.0 make the server
> state-less model impossible to implement.
> 
> I won't claim that the original idea could not have survived as the
> sole model, but if so, cookies should have been killed as a concept
> before it became the festing pile of state-poo they have become.

It was too late. The biggest issue with the cookie mess is that the
same entity is used for storage and for session identification. We
don't want to *store* anything in something that is used to identify
only.

Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 14:39:15 2012
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 3558A11E80E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:39:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.613
X-Spam-Level: 
X-Spam-Status: No, score=-9.613 tagged_above=-999 required=5 tests=[AWL=0.062, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 tDfanbQuIk3B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:39:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5DD1211E80C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 14:39:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SryRb-0008Tx-RW for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 21:39:35 +0000
Resent-Date: Thu, 19 Jul 2012 21:39:35 +0000
Resent-Message-Id: <E1SryRb-0008Tx-RW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1SryRR-0008RZ-F7 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 21:39:25 +0000
Received: from mail-qc0-f174.google.com ([209.85.216.174]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1SryRQ-0001CL-NX for ietf-http-wg@w3.org; Thu, 19 Jul 2012 21:39:25 +0000
Received: by qcro28 with SMTP id o28so2052830qcr.19 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 14:38:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=vVYAXScJRMXmt6LQLZB03jx6thQ0zyG0B7HnYsEOCVs=; b=etWEtkW5SHbYHWgdeSxfjtgsRqXK4dgLfON2nh+KjLmIblEf/3ZwiKfvLHTrkXi/1g NZIsZoHzhSa2qrqpF+kepVW/mK9MxezEwKPGFBWHd2mMRZCvFvgNURdMAr2I79Y3YdTs 1DvwoPrsG83NvgKOadXk0LSsgi5CzwWNoAGcHoNtnDhDSBc8O2rLLgX+Y6VoHkTyf1/7 Z5ca12VqMGna6gqO9FwApdDL12VWJmu5DJyEMBXLwH7m5jrJQzivjr1RRG0JToAX3+VX 2axJ4rCdwTvI5Z5yWQfFgEG8wPum8tNNMMlhQ91IOAeLpkwtUG+CL0oSmkiLB11zz/CA kQPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=vVYAXScJRMXmt6LQLZB03jx6thQ0zyG0B7HnYsEOCVs=; b=CxEaVPmlFQPfIoVoniG4Ebuf7uz3c8MMIa0kPSuhNH3KyjWHC+0Zq0P51dDtMnmHwX +xY2NOTRgnMDhUvOeAveyTpA6VCzUxdhRXX5EiAWxdb/u8glaTR/WNQeu25EyLzNOyNg HiGT4yKMMx2FRTPpIOjRaSDFLnvrG1wAhBrgMADl3tcegx0C6rMBE0x/ihJYU1zXrSCK OtTBHZmRyx3q4+dU0aFGYCazhWTBC+mz6834DP9IAlKRi85ZZK9iA+hhxD7UNjtqTgjR EEIJG6DhwY9CExQQUZAszNXh1sZF7txmZa9b0XudCocTomiply0C9dL1MLMTK29b98LE 27mQ==
Received: by 10.224.39.131 with SMTP id g3mr6298146qae.57.1342733938342; Thu, 19 Jul 2012 14:38:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.39.131 with SMTP id g3mr6298134qae.57.1342733938259; Thu, 19 Jul 2012 14:38:58 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.247.211 with HTTP; Thu, 19 Jul 2012 14:38:58 -0700 (PDT)
In-Reply-To: <CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com>
References: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com> <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com> <CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com>
Date: Thu, 19 Jul 2012 14:38:58 -0700
X-Google-Sender-Auth: TCqsjz2KMT5I3cTiQp6VZcPF3HI
Message-ID: <CAA4WUYg_vaMHHqsiO7Uw33Oy=dhsUKhVST+YHRXzO48aeX2mSA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf306f74d86af6ab04c5359b1e
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQk6E5yfbL54SloE6RdTX6HgHzuHzPiqTKFzZGFGZMJ+ftDVPh6ngywfjBHDYFCY99jh7tJuwpE5Qf4OXcjLH1hmKcO/zLsUn5AmJl/bc5eiIo+/5n8zwEiNU5KSGzBkK/JUEhElNntYEME4E5Zu50VLF/7LHUbLAuzWs3Sq7+UcHiVypPOBa5+v+47/4gIjafDQi2Hn
Received-SPF: pass client-ip=209.85.216.174; envelope-from=willchan@google.com; helo=mail-qc0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SryRQ-0001CL-NX f71809585cf8d3d82aa3a9eb7bae91b8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/CAA4WUYg_vaMHHqsiO7Uw33Oy=dhsUKhVST+YHRXzO48aeX2mSA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14595
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>

--20cf306f74d86af6ab04c5359b1e
Content-Type: text/plain; charset=ISO-8859-1

+1

--20cf306f74d86af6ab04c5359b1e
Content-Type: text/html; charset=ISO-8859-1

+1

--20cf306f74d86af6ab04c5359b1e--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 14:49:33 2012
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 9965811E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:49:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.524
X-Spam-Level: 
X-Spam-Status: No, score=-6.524 tagged_above=-999 required=5 tests=[AWL=4.075, BAYES_00=-2.599, 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 YiZrhdbZ7aaO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 14:49:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9B2B111E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 14:49:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sryb2-0005eA-Rg for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 21:49:20 +0000
Resent-Date: Thu, 19 Jul 2012 21:49:20 +0000
Resent-Message-Id: <E1Sryb2-0005eA-Rg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1Sryas-0005Yi-95 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 21:49:10 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1Sryar-0001Yy-Bn for ietf-http-wg@w3.org; Thu, 19 Jul 2012 21:49:10 +0000
Received: from [64.101.72.115] (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9D2904005A; Thu, 19 Jul 2012 16:07:50 -0600 (MDT)
Message-ID: <500880BA.5030202@stpeter.im>
Date: Thu, 19 Jul 2012 15:48:42 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Phillip Hallam-Baker <hallam@gmail.com>,  httpbis mailing list <ietf-http-wg@w3.org>
References: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com> <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com> <CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com>
In-Reply-To: <CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sryar-0001Yy-Bn 452b1db1329795303d3976cdd866865b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/500880BA.5030202@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14596
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 7/19/12 3:29 PM, Mike Belshe wrote:
> 
> 
> On Thu, Jul 19, 2012 at 12:46 PM, Phillip Hallam-Baker <hallam@gmail.com
> <mailto:hallam@gmail.com>> wrote:
> 
>     Adam is speaking about the use of HTTP in Web browsing. There is no
>     question that TLS should always be on for Web browsing.
> 
> 
> Oh!
> 
> I'd be happy with this compromise.

At the protocol level, there is no such thing as web browsing vs. web
services, there's just HTTP. Jeff Hodges likes to talk about web
applications. [1] Sure, you want your banking app to be TLS-protected
with HSTS and so on. For visiting your friend's website of cat pictures,
not so much. They're both "web browsing", but the use cases are totally
different. Why would we treat them the same? And how are they
fundamentally different from web services?

Peter

[1] https://datatracker.ietf.org/doc/draft-hodges-websec-framework-reqs/



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 15:31:39 2012
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 1D51521F87A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:31:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 Rg9ZFbb5WPgF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:31:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7835821F879E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 15:31:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrzFN-0002CZ-QR for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 22:31:01 +0000
Resent-Date: Thu, 19 Jul 2012 22:31:01 +0000
Resent-Message-Id: <E1SrzFN-0002CZ-QR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrzF9-0001Z5-As for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 22:30:47 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrzF8-0000rV-GX for ietf-http-wg@w3.org; Thu, 19 Jul 2012 22:30:47 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id F1C843B74C; Thu, 19 Jul 2012 22:30:24 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JMUO5J019617; Thu, 19 Jul 2012 22:30:24 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Mike Belshe <mike@belshe.com>, httpbis mailing list <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 22:54:23 +0200." <20120719205423.GB19857@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 22:30:24 +0000
Message-ID: <19616.1342737024@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrzF8-0000rV-GX 06274bb1fbc651935550618cb9fcecdf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/19616.1342737024@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14597
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>

In message <20120719205423.GB19857@1wt.eu>, Willy Tarreau writes:

>I'm precisely speaking of these ones, as they are the only I care about.
>The common principle is cookie injection :
[...]

>Note that there is a solution against this : [...]

The solution I propose is that the user-agent builds a session-identifier
nonce which should not even be accessible or visible to the javascript
or other content, since it is exactly what it says: a session-id.

I think that would also solve the problem.

>> Dual-mode the way I described, seems much used in "regular"
>> web-commerce:  You don't need protection until you're willing to
>> fork over money.
>
>A lot of web sites switch to another site for the payment [...]

Yes, but I'm also seeing sites that switch to HTTPS the moment
you put something in your shopping cart.

Either way, I don't buy the "everything will be better with HTTPS
all the time", for the simple reason that 30-50% of the HTTP
traffic will stay on HTTP/1.0 if we do so.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 15:33:40 2012
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 ED6FA21F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:33:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.524
X-Spam-Level: 
X-Spam-Status: No, score=-9.524 tagged_above=-999 required=5 tests=[AWL=1.075, BAYES_00=-2.599, 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 XIdMzF3PX9J2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:33:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 24BFB21F854A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 15:33:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrzIG-0002QJ-4B for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 22:34:00 +0000
Resent-Date: Thu, 19 Jul 2012 22:34:00 +0000
Resent-Message-Id: <E1SrzIG-0002QJ-4B@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SrzI5-0002PT-E5 for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 22:33:49 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SrzI4-0002zb-Ds for ietf-http-wg@w3.org; Thu, 19 Jul 2012 22:33:49 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 4DA9A3F952 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 22:33:21 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q6JMXK6l019386 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 15:33:20 -0700
Date: Thu, 19 Jul 2012 15:33:20 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: HTTP Working Group <ietf-http-wg@w3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <20120719213630.GA20313@1wt.eu>
Message-ID: <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>
References: <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org> <19147.1342730881@critter.freebsd.dk> <20120719213630.GA20313@1wt.eu>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.52-geef5514
X-CLX-ID: a110AD3GD1et1vr-6J1533L
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SrzI4-0002zb-Ds e4a9e1b441a5a560a724883447f9a84d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14598
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 Thu, 19 Jul 2012, Willy Tarreau wrote:

> 
> I would go further, because after some thinking I don't agree with
> the requirement of *a* session header. The web is so stateful nowadays
> that multiple layers generally need their own session information.
> 
> Requests coming from clients to servers sometimes flow across multiple
> places and a single session identifier is not always enough, sometimes
> a few ones need to be provided.
> 
> I think it would be terribly useful to have a session container in which
> we can store one or more session identifiers and that load balancers and
> servers can easily access and manipulate.

It is also critical that any session header concept address the scope of 
applicability of a session identifier so that the user agent can
accurately and efficiently determine whether a particular session
applies to each request. There is a lot of experience embodied in
the our group history re. cookies and authentication, expiration, etc.

I see no reason for a browser generated session id independant of a
server's desire to receive one. And getting the related issues
like scope and expiration solved in a secure way would still seem
to require properties controlled by the server and not the client.

Dave Morris


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 15:36:23 2012
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 727E711E80A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:36:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 cFengIOnv9Yx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:36:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B230A11E80A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 15:36:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrzKw-0003wZ-PV for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 22:36:46 +0000
Resent-Date: Thu, 19 Jul 2012 22:36:46 +0000
Resent-Message-Id: <E1SrzKw-0003wZ-PV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrzKl-0003vD-LT for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 22:36:35 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SrzKl-00018J-0C for ietf-http-wg@w3.org; Thu, 19 Jul 2012 22:36:35 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E77953B74C; Thu, 19 Jul 2012 22:36:13 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JMaDIn019659; Thu, 19 Jul 2012 22:36:13 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Philippe Mougin <pmougin@acm.org>, HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 23:36:30 +0200." <20120719213630.GA20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 22:36:13 +0000
Message-ID: <19658.1342737373@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SrzKl-00018J-0C 5a85015e74aa62d40691a1fcf12f47e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/19658.1342737373@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14599
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>

In message <20120719213630.GA20313@1wt.eu>, Willy Tarreau writes:
>On Thu, Jul 19, 2012 at 08:48:01PM +0000, Poul-Henning Kamp wrote:

>I think it would be terribly useful to have a session container in which
>we can store one or more session identifiers and that load balancers and
>servers can easily access and manipulate.

At this point I would like to defer to card-carrying cryptographers,
because while I think nobody but the client should be allowed to
define/change the session identifier, in order to shut out spoofing
of it, I don't trust my own analysis of this question to be definitive.

I do think it would be terribly useful if the session-id was client
originated and contained a anon/specific-authenticated-user bit,
because that would warn the server about public PCs etc.  So even
if we don't do the session-id, I think I would advocate that bit
on its own.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 15:55:13 2012
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 4904F21F862F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:55:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.739
X-Spam-Level: 
X-Spam-Status: No, score=-9.739 tagged_above=-999 required=5 tests=[AWL=0.860, BAYES_00=-2.599, 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 yw9zR6QnNFkT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 15:55:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD32A21F8575 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 15:55:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Srzc9-0003ne-7b for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 22:54:33 +0000
Resent-Date: Thu, 19 Jul 2012 22:54:33 +0000
Resent-Message-Id: <E1Srzc9-0003ne-7b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Srzby-0003mW-Sg for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 22:54:22 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Srzbx-0001XC-SH for ietf-http-wg@w3.org; Thu, 19 Jul 2012 22:54:22 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 49397403E5 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 22:53:55 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q6JMrsH0019542 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 15:53:54 -0700
Date: Thu, 19 Jul 2012 15:53:54 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: HTTP Working Group <ietf-http-wg@w3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>
Message-ID: <alpine.LRH.2.01.1207191551010.19187@egate.xpasc.com>
References: <DA91A72D-BD1E-4E7F-9C7C-5DC0DFD6C000@acm.org> <19147.1342730881@critter.freebsd.dk> <20120719213630.GA20313@1wt.eu> <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.52-geef5514
X-CLX-ID: a120AD3GD1et1vr-6J1553t
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Srzbx-0001XC-SH 3d157a5e200241e097c184c061b80e52
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1207191551010.19187@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14600
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 Thu, 19 Jul 2012, David Morris wrote:

> 
> 
> On Thu, 19 Jul 2012, Willy Tarreau wrote:
> 
> > 
> > I would go further, because after some thinking I don't agree with
> > the requirement of *a* session header. The web is so stateful nowadays
> > that multiple layers generally need their own session information.
> > 
> > Requests coming from clients to servers sometimes flow across multiple
> > places and a single session identifier is not always enough, sometimes
> > a few ones need to be provided.
> > 
> > I think it would be terribly useful to have a session container in which
> > we can store one or more session identifiers and that load balancers and
> > servers can easily access and manipulate.
> 
> It is also critical that any session header concept address the scope of 
> applicability of a session identifier so that the user agent can
> accurately and efficiently determine whether a particular session
> applies to each request. There is a lot of experience embodied in
> the our group history re. cookies and authentication, expiration, etc.
> 
> I see no reason for a browser generated session id independant of a
> server's desire to receive one. And getting the related issues
> like scope and expiration solved in a secure way would still seem

Also, proxies should also be able to assign 'session' identifiers
with sufficient scope identity what such identifiers could be
reliabily removed before forwarding the next request to an
origin server.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 16:02:14 2012
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 72D6F11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 16:02:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 nsZBGfx7hiH9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 16:02:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D992B21F8685 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 16:02:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SrzjH-0008Pg-Vq for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 23:01:56 +0000
Resent-Date: Thu, 19 Jul 2012 23:01:55 +0000
Resent-Message-Id: <E1SrzjH-0008Pg-Vq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srzj5-0008Ou-MM for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 23:01:43 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Srzj4-0003mz-Rv for ietf-http-wg@w3.org; Thu, 19 Jul 2012 23:01:43 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 777543B78E for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 23:01:21 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6JN1K7T019916 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 23:01:21 GMT (envelope-from phk@phk.freebsd.dk)
To: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 Jul 2012 15:33:20 MST." <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 19 Jul 2012 23:01:20 +0000
Message-ID: <19915.1342738880@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Srzj4-0003mz-Rv 629a23493dcf3ada0bce97391b510ae1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/19915.1342738880@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14601
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>

In message <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>, David Morris 
writes:

>I see no reason for a browser generated session id independant of a
>server's desire to receive one. And getting the related issues
>like scope and expiration solved in a secure way would still seem
>to require properties controlled by the server and not the client.

We are not talking about properties, only about identity of the session.

It should be the user, and only the user who decides when a session
starts and ends, so it has to be the user-agent which controls the
session-id.

The server is of course free to ignore the session-id from the client,
and implement its own concept of a session.

But HTTP/1.x lacks a way for the user to communicate his intent
with respect to sessions, and we should remedy that in HTTP/2.0

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 16:36:27 2012
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 135E511E80A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 16:36:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.882
X-Spam-Level: 
X-Spam-Status: No, score=-9.882 tagged_above=-999 required=5 tests=[AWL=0.717, BAYES_00=-2.599, 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 91SDgG5DP2JP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 16:36:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6936421F85B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 16:36:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss0Fb-0004yC-RL for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 23:35:19 +0000
Resent-Date: Thu, 19 Jul 2012 23:35:19 +0000
Resent-Message-Id: <E1Ss0Fb-0004yC-RL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Ss0FQ-0004xI-AK for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 23:35:08 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Ss0FP-0002fa-4I for ietf-http-wg@w3.org; Thu, 19 Jul 2012 23:35:08 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 0A02540645 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 23:34:35 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q6JNYRIC019968 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 16:34:30 -0700
Date: Thu, 19 Jul 2012 16:34:27 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: HTTP Working Group <ietf-http-wg@w3.org>
cc: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <19915.1342738880@critter.freebsd.dk>
Message-ID: <alpine.LRH.2.01.1207191617530.19187@egate.xpasc.com>
References: <19915.1342738880@critter.freebsd.dk>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.52-geef5514
X-CLX-ID: a120AD3GD1et1vr-6J1634d
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MISSING_HEADERS=1.021, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss0FP-0002fa-4I e665bfe4b51e781ed0eccbe69b685fe4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1207191617530.19187@egate.xpasc.com>
To: ietf-http-wg@w3.org
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14602
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 Thu, 19 Jul 2012, Poul-Henning Kamp wrote:

> In message <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>, David Morris 
> writes:
> 
> >I see no reason for a browser generated session id independant of a
> >server's desire to receive one. And getting the related issues
> >like scope and expiration solved in a secure way would still seem
> >to require properties controlled by the server and not the client.
> 
> We are not talking about properties, only about identity of the session.
> 
> It should be the user, and only the user who decides when a session
> starts and ends, so it has to be the user-agent which controls the
> session-id.
> 
> The server is of course free to ignore the session-id from the client,
> and implement its own concept of a session.
> 
> But HTTP/1.x lacks a way for the user to communicate his intent
> with respect to sessions, and we should remedy that in HTTP/2.0

We clearly arean't talking about the same concept. 

In my definition and experience, the end user
rarely has any notion of what a session might be and hence no
way to understand when and why to interact with the browser
to effect control of the session.

"Session" is a relationship between a user/browser and a web
application. Only the application has any knowledge of its
composition.

The user end of a session is generally represented by a single
computing system and may include multiple windows, tabs, etc.
The applicatation will range from a single instance on a
shared host up and through many hosts distributed between
physical locations.

>From the browser/user interface perspective, a 'logout'
function could mean close all windows/tabs associated with
this session identifier, flush the cache and cookies
associated with this session and notify the application
server that the logout was invoked.

I deal with many average web users and am convinced that
placing any burden on them to define the bounds of a session
would be a colossal failure. 


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 16:53:39 2012
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 57EF011E80BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 16:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.168
X-Spam-Level: 
X-Spam-Status: No, score=-9.168 tagged_above=-999 required=5 tests=[AWL=1.431, BAYES_00=-2.599, 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 1rVaLzMT1nAJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 16:53:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1591911E80A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 16:53:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss0WU-0003bt-82 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jul 2012 23:52:46 +0000
Resent-Date: Thu, 19 Jul 2012 23:52:46 +0000
Resent-Message-Id: <E1Ss0WU-0003bt-82@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss0WK-0003ai-Af for ietf-http-wg@listhub.w3.org; Thu, 19 Jul 2012 23:52:36 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss0WJ-00034H-3g for ietf-http-wg@w3.org; Thu, 19 Jul 2012 23:52:36 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AAA5722E257; Thu, 19 Jul 2012 19:52:11 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <17774.1342709271@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 09:52:08 +1000
Cc: Ross Nicoll <jrn@jrn.me.uk>, Phillip Hallam-Baker <hallam@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <56B6AE64-C56C-424E-87D6-A41D88F8ABB3@mnot.net>
References: <17774.1342709271@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss0WJ-00034H-3g db6b812142f6704090c9af0cc392a215
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/56B6AE64-C56C-424E-87D6-A41D88F8ABB3@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14603
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>

PHK - 

Talking about possible new authentication schemes *is* in our current scope.

Thanks,


On 20/07/2012, at 12:47 AM, Poul-Henning Kamp wrote:

> In message <50081C8B.4010006@jrn.me.uk>, Ross Nicoll writes:
> 
>> I'm guessing the idea would be to write an HTTP authentication protocol 
>> that uses [...]
> 
> All I can see HTTP doing, is transport opaque tokens forth and back.
> 
> If we design the protocol to do that well enough, it will support
> any identification/authentication protocol you care to put on top of
> it today or at a later date.
> 
> Adding "solving the second hardest problem in cryptography" to our
> TODO list, is scope-creep.
> 
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 17:23:35 2012
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 6235621F84F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 17:23:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.177
X-Spam-Level: 
X-Spam-Status: No, score=-10.177 tagged_above=-999 required=5 tests=[AWL=2.422, BAYES_00=-2.599, GB_I_INVITATION=-2, 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 be--I7MjNmq3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 17:23:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E37FF11E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 17:23:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss0zH-000082-Ou for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 00:22:31 +0000
Resent-Date: Fri, 20 Jul 2012 00:22:31 +0000
Resent-Message-Id: <E1Ss0zH-000082-Ou@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss0z6-00006T-SP for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 00:22:20 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss0z5-00042H-U7 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 00:22:20 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C7F2122E1F4; Thu, 19 Jul 2012 20:21:57 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CA+9kkMC6iARZPGvTmQcWU++UO1nXJwVJM4O+zB42t+F4ADUNaQ@mail.gmail.com>
Date: Fri, 20 Jul 2012 10:21:54 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E27FE97D-31C4-46CD-BF11-83BA605E69B6@mnot.net>
References: <CA+9kkMC6iARZPGvTmQcWU++UO1nXJwVJM4O+zB42t+F4ADUNaQ@mail.gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss0z5-00042H-U7 c7e8228fd4d88ec2369838648faf496d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Semantics in HTTP 2.0
Archived-At: <http://www.w3.org/mid/E27FE97D-31C4-46CD-BF11-83BA605E69B6@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14604
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>

Ted,

On 20/07/2012, at 5:10 AM, Ted Hardie wrote:

> Reading through the discussion over the past few days, one of the
> things which struck me was that a disagreement about the level of
> compatibility we're aiming for seems to underly some of the more
> obvious disagreements.  In particular, I believe that there may be
> some disagreement about  what "* Compatibility with HTTP/1.1
> semantics" means in this context.
>=20
> Speaking personally, I don't think that implies that we can't
> introduce new semantics, and I believe that this may be an important
> part of meeting some of the design goals which have been expressed.
> To take a trivial example, imagine that we decide that an important
> goal was allowing proxies and clients to explicitly share a session
> key negotiated for some transport, so that proxies did not have to act
> as back-to-back User-Agents in order to perform functions on behalf of
> the client.  That might require new semantics (I don't think anyone
> can squint hard enough to fit it into 407, but your mileage may vary).
> Whether it is a good idea or not, I don't think that's ruled out by
> "Compatibility with HTTP/1.1 semantics".  Adding semantics may, in
> other words, allow us to meet new design goals and re-balance specific
> trade-offs between those design goals and existing deployments.

Perhaps, but the bar is going to be very high. This is not an =
opportunity for people to add their hobby-horse extension to HTTP, or =
perform live experiments with protocol design at a global scale.=20

In particular, I'm going to look very dimly upon proposals that could be =
defined as HTTP/1.x extensions*, because it begs the question of why it =
hasn't already been done, and why it can't be done as a parallel but =
separate effort to our work on the wire protocol.

I still see many people who look at HTTP/2.0 as an opportunity to =
leverage new functions into the Web stack, because (they presume) it's a =
carrot to convince the browsers / web sites to do something new. =
Treating HTTP/2.0 like this is only going to make this work longer and =
deployment riskier.

All of that said -- if we can get consensus on new semantics to help =
deliver on our charter (whose focus is on improving performance and =
security), that's great. This is NOT an invitation to debate new ideas =
endlessly, however.

* The major exception here being a new authentication scheme, as per our =
charter.

> I also remind folks that because we're working in the IETF, some of
> the design goals are set for us, by larger policies.  Mark reminded
> the group of the policies in BCP 61/RFC 3365.  I'd also like to point
> to RFC 2804.  Despite being 12 years old, it still guides the IETF
> policy on developing technologies which intercept communications
> without the knowledge and consent of the parties to the communication.


Thanks, that's equally relevant. Link: =
<http://www.ietf.org/rfc/rfc2804.txt>


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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 17:25:35 2012
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 BFB6211E80BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 17:25:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 jT+ymXsXo5Wn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 17:25:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31AB011E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 17:25:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss12Q-0001Zk-TY for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 00:25:46 +0000
Resent-Date: Fri, 20 Jul 2012 00:25:46 +0000
Resent-Message-Id: <E1Ss12Q-0001Zk-TY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Ss12G-0001Yz-LG for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 00:25:36 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Ss12F-0006Mb-Ki for ietf-http-wg@w3.org; Fri, 20 Jul 2012 00:25:36 +0000
Received: by qcad1 with SMTP id d1so17558qca.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 17:25:09 -0700 (PDT)
Received: by 10.224.58.137 with SMTP id g9mr6869921qah.83.1342743909829; Thu, 19 Jul 2012 17:25:09 -0700 (PDT)
Received: from mail-qa0-f43.google.com (mail-qa0-f43.google.com [209.85.216.43]) by mx.google.com with ESMTPS id cz12sm4087706qab.5.2012.07.19.17.25.08 (version=SSLv3 cipher=OTHER); Thu, 19 Jul 2012 17:25:08 -0700 (PDT)
Received: by qaas11 with SMTP id s11so1938358qaa.2 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 17:25:07 -0700 (PDT)
Received: by 10.224.35.3 with SMTP id n3mr6837053qad.93.1342743907607; Thu, 19 Jul 2012 17:25:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.94.75 with HTTP; Thu, 19 Jul 2012 17:24:37 -0700 (PDT)
In-Reply-To: <500880BA.5030202@stpeter.im>
References: <CABaLYCt9ymU4LXZeOWCU3C5EO7rv126rHnksXZzhmJhYtH3cUQ@mail.gmail.com> <CAMm+LwjHypCp+Y+Qfb=RmmR4-kn2k6+HCzJaa7wfEQ4ekrnaZA@mail.gmail.com> <CABaLYCtpP+FF9WhdURN7NnT1UT1a3gLq9jU2hCdbFphbV6gWLA@mail.gmail.com> <500880BA.5030202@stpeter.im>
From: Adam Barth <w3c@adambarth.com>
Date: Thu, 19 Jul 2012 17:24:37 -0700
Message-ID: <CAJE5ia_P3oHtVUKZPFHy18oUgYh6xsL7iv0vDJdBJkcc28n8=Q@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Cc: Mike Belshe <mike@belshe.com>, Phillip Hallam-Baker <hallam@gmail.com>,  httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: none client-ip=209.85.216.171; envelope-from=w3c@adambarth.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Ss12F-0006Mb-Ki b45b9d834a68da366e355d62a7ae4fff
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/CAJE5ia_P3oHtVUKZPFHy18oUgYh6xsL7iv0vDJdBJkcc28n8=Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14605
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 Thu, Jul 19, 2012 at 2:48 PM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 7/19/12 3:29 PM, Mike Belshe wrote:
>> On Thu, Jul 19, 2012 at 12:46 PM, Phillip Hallam-Baker <hallam@gmail.com
>> <mailto:hallam@gmail.com>> wrote:
>>
>>     Adam is speaking about the use of HTTP in Web browsing. There is no
>>     question that TLS should always be on for Web browsing.
>>
>>
>> Oh!
>>
>> I'd be happy with this compromise.
>
> At the protocol level, there is no such thing as web browsing vs. web
> services, there's just HTTP. Jeff Hodges likes to talk about web
> applications. [1] Sure, you want your banking app to be TLS-protected
> with HSTS and so on. For visiting your friend's website of cat pictures,
> not so much. They're both "web browsing", but the use cases are totally
> different. Why would we treat them the same?

Mostly because of economies of scale.  We could build entirely
different browsers, protocols, and technologies for banking and for
cat pictures, but there's a lot of value in using the same primitives
for both.  There's a cost in the sense that neither gets exactly the
stack they would have built for themselves, but the benefits of using
commodity infrastructure outweigh those costs.

> And how are they fundamentally different from web services?

Mostly in that they're accessed via web browsers and browser vendors
compete on offering the best security.  It's one of the top things
users care about in choosing a browser, along with speed and
compatibility.

Adam


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 17:33:27 2012
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 A1A6711E80BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 17:33:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, 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 DlQphFeATgpu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 17:33:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C048211E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 17:33:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss19P-0004kt-9Y for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 00:32:59 +0000
Resent-Date: Fri, 20 Jul 2012 00:32:59 +0000
Resent-Message-Id: <E1Ss19P-0004kt-9Y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1Ss19E-0004k8-NT for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 00:32:48 +0000
Received: from ch1ehsobe001.messaging.microsoft.com ([216.32.181.181] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1Ss19D-0004Gg-ND for ietf-http-wg@w3.org; Fri, 20 Jul 2012 00:32:48 +0000
Received: from mail162-ch1-R.bigfish.com (10.43.68.249) by CH1EHSOBE018.bigfish.com (10.43.70.68) with Microsoft SMTP Server id 14.1.225.23; Fri, 20 Jul 2012 00:32:21 +0000
Received: from mail162-ch1 (localhost [127.0.0.1])	by mail162-ch1-R.bigfish.com (Postfix) with ESMTP id 530BF180191;	Fri, 20 Jul 2012 00:32:21 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -6
X-BigFish: VS-6(zz98dI9371I542M1432Izz1202hz4ejz8275dhz2fh2a8h668h839h944hd25hf0ah107ah)
Received-SPF: pass (mail162-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=OSAMAM@microsoft.com; helo=TK5EX14HUBC103.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail162-ch1 (localhost.localdomain [127.0.0.1]) by mail162-ch1 (MessageSwitch) id 134274433999834_5191; Fri, 20 Jul 2012 00:32:19 +0000 (UTC)
Received: from CH1EHSMHS031.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.230])	by mail162-ch1.bigfish.com (Postfix) with ESMTP id 15B243E004B;	Fri, 20 Jul 2012 00:32:19 +0000 (UTC)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS031.bigfish.com (10.43.70.31) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 20 Jul 2012 00:32:18 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC103.redmond.corp.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 20 Jul 2012 00:32:12 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Thu, 19 Jul 2012 17:32:12 -0700
From: Osama Mazahir <OSAMAM@microsoft.com>
To: Willy Tarreau <w@1wt.eu>
CC: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZEBdQ3SeKuKFpUqhZgQdGMlY05ct2LOQgACKVgCAAAfjAIAAAXeAgAACNAD//5KxsIACD3kAgAFCRSA=
Date: Fri, 20 Jul 2012 00:32:11 +0000
Message-ID: <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu>
In-Reply-To: <20120718220910.GF11854@1wt.eu>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.181; envelope-from=OSAMAM@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ss19D-0004Gg-ND 0b49e505d304e5a94190211181e221dd
X-Original-To: ietf-http-wg@w3.org
Subject: RE: usability of 100-continue, was: HTTP2 Expression of Interest :  Squid
Archived-At: <http://www.w3.org/mid/3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14606
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 think we should state that upon 4xx in response to=20
> Expect: 100-Continue, the server should close the connection=20
> (after draining possibly pending data), just as it would do=20
> on a redirect to another domain for instance.
>
> That's an interesting case. I don't know how haproxy handles=20
> it, I suspect it could be tricky.

I think the current state is fine.  The current text says "If it responds w=
ith a final status code, it MAY close the transport connection or it MAY co=
ntinue to read and discard the rest of the request."  Windows tries to leav=
e the connection open (i.e. of course, upper layer can always override or w=
e may have hit an non-continuable error such as corrupted request).  This a=
llows the server to handle the following cases:
1) Client sent the entity-body before getting the expect-answer (e.g. timeo=
ut).
2) Client believes it is more efficient to send irrelevant entity-body inst=
ead of tearing down and warming up a new connection.
3) Client was sending a chunked entity-body and can gracefully indicate req=
uest end with a zero chunk.

-----Original Message-----
From: Willy Tarreau [mailto:w@1wt.eu]=20
Sent: Wednesday, July 18, 2012 3:09 PM
To: Osama Mazahir
Cc: Roberto Peon; Julian Reschke; Gabriel Montenegro; Adrien de Croy; Poul-=
Henning Kamp; Amos Jeffries; ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest :=
 Squid

On Tue, Jul 17, 2012 at 10:32:58PM +0000, Osama Mazahir wrote:
> It's not broken as long as we are OK that the connection has to be=20
> closed upon expectation rejection (for non-chunked entity-body).
>=20
> Based on my understanding, the client must close the connection if the=20
> server replied with a 4xx [1] against a non-chunked request.  Which=20
> makes sense as it ensures message integrity on a persistent connection=20
> [2].  Essentially, we break the ambiguity by having the server assume=20
> that the next byte (after the
> CRLFCRLF) will be entity-body.

You're right indeed, the protocol is broken in this case depending on wheth=
er the client gets the 4xx in time and refrains from sending the body, or i=
f it starts sending the body before receiving the 4xx.

The protocol does not allow us to tell what the server will get depending o=
n the timing (either body or next request).

I think we should state that upon 4xx in response to Expect: 100-Continue, =
the server should close the connection (after draining possibly pending dat=
a), just as it would do on a redirect to another domain for instance.

That's an interesting case. I don't know how haproxy handles it, I suspect =
it could be tricky.

Regards,
Willy





From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 19:21:44 2012
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 4006111E80E8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 19:21:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.323
X-Spam-Level: 
X-Spam-Status: No, score=-10.323 tagged_above=-999 required=5 tests=[AWL=0.276, BAYES_00=-2.599, 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 rAlqXIYFql0F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 19:21:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C55C911E80BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 19:21:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss2p6-00013f-Fc for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 02:20:08 +0000
Resent-Date: Fri, 20 Jul 2012 02:20:08 +0000
Resent-Message-Id: <E1Ss2p6-00013f-Fc@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss2os-0008DV-Jq for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 02:19:54 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss2oq-0000o9-U5 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 02:19:54 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 6D92310EDAC for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 14:19:26 +1200 (NZST)
Message-ID: <5008C024.7060100@treenet.co.nz>
Date: Fri, 20 Jul 2012 14:19:16 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu>
In-Reply-To: <20120718220910.GF11854@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss2oq-0000o9-U5 98f388c5c04535a09e17ef21b9e7e905
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/5008C024.7060100@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14607
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 19/07/2012 10:09 a.m., Willy Tarreau wrote:
> On Tue, Jul 17, 2012 at 10:32:58PM +0000, Osama Mazahir wrote:
>> It's not broken as long as we are OK that the connection has to be closed
>> upon expectation rejection (for non-chunked entity-body).
>>
>> Based on my understanding, the client must close the connection if the server
>> replied with a 4xx [1] against a non-chunked request.  Which makes sense as
>> it ensures message integrity on a persistent connection [2].  Essentially, we
>> break the ambiguity by having the server assume that the next byte (after the
>> CRLFCRLF) will be entity-body.
> You're right indeed, the protocol is broken in this case depending on whether
> the client gets the 4xx in time and refrains from sending the body, or if it
> starts sending the body before receiving the 4xx.
>
> The protocol does not allow us to tell what the server will get depending on
> the timing (either body or next request).
>
> I think we should state that upon 4xx in response to Expect: 100-Continue,
> the server should close the connection (after draining possibly pending data),
> just as it would do on a redirect to another domain for instance.

Why should a redirect to another domain have any relevance to the 
connection state? What if the client was a proxy which collated many 
client requests for htp://example.com/, each of which needed redirecting 
to http://example.net/ ?

>
> That's an interesting case. I don't know how haproxy handles it, I suspect
> it could be tricky.

Always assume its the entity body when one is expected. Only listen to 
explicit client signals that there is none. Such as a close(), last 
bytes of content-length arriving, zero-chunk, or non-chunk.

There are other players in the game as well. Transfer-Encoding gzip, 
deflate, compress appear to contain no markers which would indicate end 
of object to servers - yet being Transfer-Encoding they usually cannot 
be accompanied by content-length. AFAICT the only reliable marker they 
have is close().

AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 20:28:01 2012
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 30AE911E80F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 20:28:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.144
X-Spam-Level: 
X-Spam-Status: No, score=-9.144 tagged_above=-999 required=5 tests=[AWL=1.455, BAYES_00=-2.599, 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 ZNas9qJUWHqa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 20:28:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 54FA311E80EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 20:28:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss3rR-0001sl-VB for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 03:26:37 +0000
Resent-Date: Fri, 20 Jul 2012 03:26:37 +0000
Resent-Message-Id: <E1Ss3rR-0001sl-VB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss3rG-0001pY-Pv for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 03:26:26 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss3r9-0000UY-Al for ietf-http-wg@w3.org; Fri, 20 Jul 2012 03:26:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 35B9F22E1F4 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 23:25:55 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 20 Jul 2012 13:25:53 +1000
Message-Id: <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss3r9-0000UY-Al c73f32f36eb9fb20a512beb8b1bc17c5
X-Original-To: ietf-http-wg@w3.org
Subject: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14608
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 just received an interesting bug report on REDbot; =
<https://github.com/mnot/redbot/issues/109>

"""
When an ETag is marked weak with "W/", it need not change across =
different content encodings. "Weak" means the entity is semantically =
equivalent but not bit-equivalent. But Redbot complains that it doesn't =
change with different content encodings.
"""

Looking into this, a couple of things pop up:

1) The obvious question, whether two different *negotiated* =
representations of the same resource can (or should) have the same weak =
ETag. Our current definition is this:

"""
In contrast, a "weak validator" is a representation metadata value that =
might not be changed for every change to the representation data. This =
weakness might be due to limitations in how the value is calculated, =
such as clock resolution or an inability to ensure uniqueness for all =
possible representations of the resource, or due to a desire by the =
resource owner to group representations by some self-determined set of =
equivalency rather than unique sequences of data. An origin server =
should change a weak entity-tag whenever it considers prior =
representations to be unacceptable as a substitute for the current =
representation. In other words, a weak entity-tag ought to change =
whenever the origin server wants caches to invalidate old responses.
""" =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#weak.and.strong.validators>

Strictly speaking, I don't think this is a problem for caches; following =
the rules for reusing a stored response =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#constructing.responses.from.caches>, a cache doesn't use the =
ETag to select a representation (what we used to call a variant) from a =
pool of many.=20

Having said that, I'm still a bit uneasy. An ETag is supposed to be =
scoped to an entire resource, not just the selected representation. =
Because the response is negotiated, I'm tempted to argue that a =
compressed response is NOT semantically equivalent to an uncompressed =
one, just as a French response isn't equivalent to an English one, =
because the client has stated they don't understand English.

Thoughts? Is it worth clarifying this, or is it acceptable to have two =
different negotiated representations of the same resource share a weak =
ETag?


2) In the definitions of If-Match and If-None-Match, we don't specify =
whether the weak or strong comparison function is to be used when these =
validations actually occur, although we spend a lot of text on when to =
use weak vs. strong ETags themselves.=20

Now, you might say that an origin server can decide whether to use the =
weak or strong function, but an intermediary or client cache doesn't =
have license to do weak comparison, and could cause a lot of trouble if =
it did. AFAICT we don't specify this, but I think we should.

Again, thoughts?

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 21:33:02 2012
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 E4F7511E80BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 21:33:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.155
X-Spam-Level: 
X-Spam-Status: No, score=-8.155 tagged_above=-999 required=5 tests=[AWL=2.444, BAYES_00=-2.599, 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 HnvgCyntWWih for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 21:32:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F1B3D21F85C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 21:32:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss4sB-0004S4-J1 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 04:31:27 +0000
Resent-Date: Fri, 20 Jul 2012 04:31:27 +0000
Resent-Message-Id: <E1Ss4sB-0004S4-J1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Ss4rw-0004RF-Op for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 04:31:12 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Ss4ru-0004WJ-LY for ietf-http-wg@w3.org; Fri, 20 Jul 2012 04:31:12 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3437)) with SMTP id <0019149691@smtp.qbik.com>; Fri, 20 Jul 2012 16:30:46 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Mark Nottingham" <mnot@mnot.net>, "HTTP Working Group" <ietf-http-wg@w3.org>
Date: Fri, 20 Jul 2012 04:30:46 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net>
Message-Id: <em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss4ru-0004WJ-LY 3ff3f017e5d13457a666aeaa62807081
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14609
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>

for us (shared cache), weak ETags are nothing more than a PITA.

But we don't index on them (not alone), and so I think it would be no=20
problem for us if they were used amongst different representations, as=20
long as the server had properly previously set vary.

But I'd be interested to know

a) does anyone actually use them?
b) do they work?
c) do we still need them?

Regards

Adrien



------ Original Message ------
From: "Mark Nottingham" <mnot@mnot.net>
To: "HTTP Working Group" <ietf-http-wg@w3.org>
Sent: 20/07/2012 3:25:53 p.m.
Subject: Our old friends, weak ETags
>I just received an interesting bug report on REDbot; <https://github.com/m=
not/redbot/issues/109>
>
>"""
>When an ETag is marked weak with "W/", it need not change across different=
 content encodings. "Weak" means the entity is semantically equivalent but=
 not bit-equivalent. But Redbot complains that it doesn't change with diffe=
rent content encodings.
>"""
>
>Looking into this, a couple of things pop up:
>
>1) The obvious question, whether two different *negotiated* representation=
s of the same resource can (or should) have the same weak ETag. Our current=
 definition is this:
>
>"""
>In contrast, a "weak validator" is a representation metadata value that=
 might not be changed for every change to the representation data. This =
weakness might be due to limitations in how the value is calculated, such=
 as clock resolution or an inability to ensure uniqueness for all possible=
 representations of the resource, or due to a desire by the resource owner=
 to group representations by some self-determined set of equivalency rather=
 than unique sequences of data. An origin server should change a weak entit=
y-tag whenever it considers prior representations to be unacceptable as =
a substitute for the current representation. In other words, a weak entity-=
tag ought to change whenever the origin server wants caches to invalidate=
 old responses.
>""" <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p=
4-conditional.html#weak.and.strong.validators>
>
>Strictly speaking, I don't think this is a problem for caches; following=
 the rules for reusing a stored response <https://svn.tools.ietf.org/svn/wg=
/httpbis/draft-ietf-httpbis/latest/p6-cache.html#constructing.responses.fro=
m.caches>, a cache doesn't use the ETag to select a representation (what=
 we used to call a variant) from a pool of many.
>
>Having said that, I'm still a bit uneasy. An ETag is supposed to be scoped=
 to an entire resource, not just the selected representation. Because the=
 response is negotiated, I'm tempted to argue that a compressed response=
 is NOT semantically equivalent to an uncompressed one, just as a French=
 response isn't equivalent to an English one, because the client has stated=
 they don't understand English.
>
>Thoughts? Is it worth clarifying this, or is it acceptable to have two =
different negotiated representations of the same resource share a weak ETag=
?
>
>
>2) In the definitions of If-Match and If-None-Match, we don't specify whet=
her the weak or strong comparison function is to be used when these validat=
ions actually occur, although we spend a lot of text on when to use weak=
 vs. strong ETags themselves.
>
>Now, you might say that an origin server can decide whether to use the =
weak or strong function, but an intermediary or client cache doesn't have=
 license to do weak comparison, and could cause a lot of trouble if it did.=
 AFAICT we don't specify this, but I think we should.
>
>Again, thoughts?
>
>Thanks,
>
>--
>Mark Nottingham   http://www.mnot.net/
>
>
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 22:26:33 2012
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 0A1C921F852B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:26:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 G0-wZUt5cfj3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:26:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15CF821F8669 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 22:26:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss5ib-0002yu-2I for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 05:25:37 +0000
Resent-Message-Id: <E1Ss5ib-0002yu-2I@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Ss5iQ-0002xv-R6 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 05:25:26 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Ss5iQ-00047J-PA for ietf-http-wg@w3.org; Fri, 20 Jul 2012 05:25:26 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1Ss5iQ-0007qI-Ku for ietf-http-wg@w3.org; Fri, 20 Jul 2012 01:25:26 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1Ss5fl-0007c7-Gn for ylafon@jay.w3.org; Fri, 20 Jul 2012 01:22:41 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Ss5fl-00043a-Cc for ylafon@w3.org; Fri, 20 Jul 2012 05:22:41 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Ss5fl-0001fU-7X for ylafon@w3.org; Fri, 20 Jul 2012 05:22:41 +0000
Date: Fri, 20 Jul 2012 05:22:41 +0000
X-From_: adrien@qbik.com Fri Jul 20 05:22:41 2012
X-Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Ss5fl-0001fC-2i for ietf-http-wg-request@listhub.w3.org; Fri, 20 Jul 2012 05:22:41 +0000
X-Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Ss5fj-00061P-UX for ietf-http-wg-request@w3.org; Fri, 20 Jul 2012 05:22:41 +0000
X-Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.3 (Build 3437)) with SMTP id <0019149750@smtp.qbik.com>; Fri, 20 Jul 2012 17:22:17 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: ietf-http-wg-request@w3.org, bruce@perens.com
Old-Date: Fri, 20 Jul 2012 05:22:17 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <E1Ss5Rq-0004TF-1H@frink.w3.org>
Message-Id: <emed4814e0-e47b-4a9f-9089-ddbf4c072de4@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss5fj-00061P-UX 1a6dd46f21c792e13dab452c22dbea3f
Old-X-Envelope-To: ietf-http-wg-request
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Fri Jul 20 01:22:42 2012
X-DSPAM-Confidence: 0.9991
X-DSPAM-Improbability: 1 in 112841 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 5008eb22292801804284693
ReSent-Date: Fri, 20 Jul 2012 01:25:19 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: Re: Our old friends, weak ETags
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/emed4814e0-e47b-4a9f-9089-ddbf4c072de4@bombed>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14610
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 Bruce, thanks for your answer.. but is this _weak_ ETags or just=20
ETags in general?

Regards

Adrien

------ Original Message ------
>--------------------------------------------------------------------------=
--
>
>Hi Adrien,
>
>I use ETag because of an insufficiency in RFC 2616 dates: their
>resolution is one second. Updates to entities at sub-second intervals
>are possible and would result in entities with the same Last-Modified
>date. To be pedantically resolution-independent, I convert the date/time
>to a string representation of a ratio. It's presently the number of
>nanoseconds since the epoch. I encode that and an entity serial number
>in the ETag.
>
>If HTTP dates are extended to have sub-second resolution, I will
>probably be able to do without ETags.
>
>    Thanks
>
>    Bruce
>
>
>





From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 22:26:33 2012
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 1A04821F8669 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:26:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.313
X-Spam-Level: 
X-Spam-Status: No, score=-8.313 tagged_above=-999 required=5 tests=[AWL=2.286, BAYES_00=-2.599, 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 74yHVlaXdg8U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:26:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15C7B21F8668 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 22:26:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss5ig-0002zQ-JR for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 05:25:42 +0000
Resent-Date: Fri, 20 Jul 2012 05:25:42 +0000
Resent-Message-Id: <E1Ss5ig-0002zQ-JR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss5iV-0002yA-Tx for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 05:25:31 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ss5iU-000673-RK for ietf-http-wg@w3.org; Fri, 20 Jul 2012 05:25:31 +0000
Received: from [10.5.67.241] (unknown [72.32.115.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B315322E1F4 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 01:25:08 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 20 Jul 2012 15:25:04 +1000
References: <E1Ss5Rq-0004TF-1H@frink.w3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <1A5726B2-376F-4C64-8F87-936C928A8224@mnot.net>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss5iU-000673-RK 4c36ed4cd205b0a03fceb83f63b6dd58
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/1A5726B2-376F-4C64-8F87-936C928A8224@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14611
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>

Bruce Perens isn't on the mailing list, so forwarding (a dup may occur =
when W3C staff see it):

Begin forwarded message:
>=20
> Hi Adrien,
>=20
> I use ETag because of an insufficiency in RFC 2616 dates: their=20
> resolution is one second. Updates to entities at sub-second intervals=20=

> are possible and would result in entities with the same Last-Modified=20=

> date. To be pedantically resolution-independent, I convert the =
date/time=20
> to a string representation of a ratio. It's presently the number of=20
> nanoseconds since the epoch. I encode that and an entity serial number=20=

> in the ETag.
>=20
> If HTTP dates are extended to have sub-second resolution, I will=20
> probably be able to do without ETags.
>=20
>    Thanks
>=20
>    Bruce
>=20

--
Mark Nottingham   Systems Architect, Cloud Standards and APIs
mark.nottingham@rackspace.com    http://www.mnot.net/

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 22:45:58 2012
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 9820621F85CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:45:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.813
X-Spam-Level: 
X-Spam-Status: No, score=-9.813 tagged_above=-999 required=5 tests=[AWL=0.786, BAYES_00=-2.599, 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 mTxs6Bfhoei2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:45:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0011421F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 22:45:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss61E-0001c4-Uj for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 05:44:52 +0000
Resent-Date: Fri, 20 Jul 2012 05:44:52 +0000
Resent-Message-Id: <E1Ss61E-0001c4-Uj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss613-0001bE-Fu for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 05:44:41 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss612-0006eW-Bi for ietf-http-wg@w3.org; Fri, 20 Jul 2012 05:44:41 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K5iDhB022054; Fri, 20 Jul 2012 07:44:13 +0200
Date: Fri, 20 Jul 2012 07:44:13 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Philippe Mougin <pmougin@acm.org>, HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>
Message-ID: <20120720054413.GC20313@1wt.eu>
References: <20120719213630.GA20313@1wt.eu> <19658.1342737373@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <19658.1342737373@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss612-0006eW-Bi 85c7445a9c83af940a1400a36bab0192
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120720054413.GC20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14612
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 Thu, Jul 19, 2012 at 10:36:13PM +0000, Poul-Henning Kamp wrote:
> In message <20120719213630.GA20313@1wt.eu>, Willy Tarreau writes:
> >On Thu, Jul 19, 2012 at 08:48:01PM +0000, Poul-Henning Kamp wrote:
> 
> >I think it would be terribly useful to have a session container in which
> >we can store one or more session identifiers and that load balancers and
> >servers can easily access and manipulate.
> 
> At this point I would like to defer to card-carrying cryptographers,
> because while I think nobody but the client should be allowed to
> define/change the session identifier, in order to shut out spoofing
> of it, I don't trust my own analysis of this question to be definitive.

Yes you're right that if the client builds it by itself, the ID cannot
be injected. However it can still be stolen and reused. But at least
the easiest part of the security failure with cookies would be covered.

> I do think it would be terribly useful if the session-id was client
> originated and contained a anon/specific-authenticated-user bit,
> because that would warn the server about public PCs etc.  So even
> if we don't do the session-id, I think I would advocate that bit
> on its own.

Based on your first point above, I think that the client could build
*part* of the ID. If the client generates a 64-bit random for instance,
it doesn't ensure unicity, which is a server's task, but it saves it
from being injected another ID. So from the server's point of view,
a client could be identified by the couple of (ID1,ID2) where ID1 is
invented by the client and unknown from JS and ID2 is invented by the
server.

We could then even keep cookies as they are for ID2, and just use a
new identifier for ID1. That way we remain compatible with HTTP/1
(important goal) and HTTP/2to1 gateways can pass ID1 into a header
field that the server can use.

If we do something like this, then it is wise to make this ID part
of the protocol, just like the mask is part of the protocol in
websocket without being accessible to the client's stack.

This needs more thinking in my opinion but I think it's worth it.

Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 22:53:53 2012
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 6844721F85E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:53:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.829
X-Spam-Level: 
X-Spam-Status: No, score=-9.829 tagged_above=-999 required=5 tests=[AWL=0.770, BAYES_00=-2.599, 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 lz7UN-bE+H+z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 22:53:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBFF821F8459 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 22:53:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss69I-0001Cf-DG for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 05:53:12 +0000
Resent-Date: Fri, 20 Jul 2012 05:53:12 +0000
Resent-Message-Id: <E1Ss69I-0001Cf-DG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss698-0001Bo-1B for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 05:53:02 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss696-0004v3-Ri for ietf-http-wg@w3.org; Fri, 20 Jul 2012 05:53:01 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K5qdhv022073 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:52:39 +0200
Date: Fri, 20 Jul 2012 07:52:39 +0200
From: Willy Tarreau <w@1wt.eu>
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120720055239.GD20313@1wt.eu>
References: <19915.1342738880@critter.freebsd.dk> <alpine.LRH.2.01.1207191617530.19187@egate.xpasc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.LRH.2.01.1207191617530.19187@egate.xpasc.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ss696-0004v3-Ri b3e903db66d28737722e484203e1161b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120720055239.GD20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14613
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 Thu, Jul 19, 2012 at 04:34:27PM -0700, David Morris wrote:
> 
> 
> On Thu, 19 Jul 2012, Poul-Henning Kamp wrote:
> 
> > In message <alpine.LRH.2.01.1207191524030.19187@egate.xpasc.com>, David Morris 
> > writes:
> > 
> > >I see no reason for a browser generated session id independant of a
> > >server's desire to receive one. And getting the related issues
> > >like scope and expiration solved in a secure way would still seem
> > >to require properties controlled by the server and not the client.
> > 
> > We are not talking about properties, only about identity of the session.
> > 
> > It should be the user, and only the user who decides when a session
> > starts and ends, so it has to be the user-agent which controls the
> > session-id.
> > 
> > The server is of course free to ignore the session-id from the client,
> > and implement its own concept of a session.
> > 
> > But HTTP/1.x lacks a way for the user to communicate his intent
> > with respect to sessions, and we should remedy that in HTTP/2.0
> 
> We clearly arean't talking about the same concept. 
> 
> In my definition and experience, the end user
> rarely has any notion of what a session might be and hence no
> way to understand when and why to interact with the browser
> to effect control of the session.

It's not entirely true, because right now cookies are systematically
sent to same origin server, from the same window (depending on browser)
and until the browser is closed. A session might more or less be defined
as a series of pages accessed by consecutive clicks keeping you on the
same origin server. I think the browser guys would have a much more
detailed description of the algorithm and of the issues they're facing.

> "Session" is a relationship between a user/browser and a web
> application. Only the application has any knowledge of its
> composition.

Each side has since it's a relationship. The client just knows it
carries an opaque thing at the moment.

> The user end of a session is generally represented by a single
> computing system and may include multiple windows, tabs, etc.
> The applicatation will range from a single instance on a
> shared host up and through many hosts distributed between
> physical locations.
> 
> >From the browser/user interface perspective, a 'logout'
> function could mean close all windows/tabs associated with
> this session identifier, flush the cache and cookies
> associated with this session and notify the application
> server that the logout was invoked.
> 
> I deal with many average web users and am convinced that
> placing any burden on them to define the bounds of a session
> would be a colossal failure. 

I don't think we have to change the experience for them, it's
important that it is transparent. Basically the condition for a
browser to generate a new session ID could be "did I already have
an ID for this site". It remains compatible with how session cookies
work.

Note that I'm not advocating for leaving it all to the browser (see
my other mail in this thread), because the server side only knows
what it needs to put there (eg: server identifiers for multi-site
load balancing farms).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 23:04:10 2012
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 E4CBB21F8653 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:04:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.844
X-Spam-Level: 
X-Spam-Status: No, score=-9.844 tagged_above=-999 required=5 tests=[AWL=0.755, BAYES_00=-2.599, 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 HZeRmS3d++pg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:04:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 939E721F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 23:04:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss6JM-0006Rl-Pg for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 06:03:36 +0000
Resent-Date: Fri, 20 Jul 2012 06:03:36 +0000
Resent-Message-Id: <E1Ss6JM-0006Rl-Pg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss6JC-0006Qv-En for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 06:03:26 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss6JB-0005Ko-Dh for ietf-http-wg@w3.org; Fri, 20 Jul 2012 06:03:26 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K62cdW022102; Fri, 20 Jul 2012 08:02:38 +0200
Date: Fri, 20 Jul 2012 08:02:38 +0200
From: Willy Tarreau <w@1wt.eu>
To: Osama Mazahir <OSAMAM@microsoft.com>
Cc: Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120720060238.GE20313@1wt.eu>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ss6JB-0005Ko-Dh f417a7b656e10512d6a450351a86f6ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120720060238.GE20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14614
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 Fri, Jul 20, 2012 at 12:32:11AM +0000, Osama Mazahir wrote:
> > I think we should state that upon 4xx in response to 
> > Expect: 100-Continue, the server should close the connection 
> > (after draining possibly pending data), just as it would do 
> > on a redirect to another domain for instance.
> >
> > That's an interesting case. I don't know how haproxy handles 
> > it, I suspect it could be tricky.
> 
> I think the current state is fine.  The current text says "If it responds
> with a final status code, it MAY close the transport connection or it MAY
> continue to read and discard the rest of the request."  Windows tries to
> leave the connection open (i.e. of course, upper layer can always override or
> we may have hit an non-continuable error such as corrupted request).  This
> allows the server to handle the following cases:
> 1) Client sent the entity-body before getting the expect-answer (e.g. timeout).
> 2) Client believes it is more efficient to send irrelevant entity-body
> instead of tearing down and warming up a new connection.
> 3) Client was sending a chunked entity-body and can gracefully indicate
> request end with a zero chunk.

But it does not cover the client which immediately receives the 417 and
which refrains from sending and instead reuses the connection.

It is all a matter of race condition : depending on the RTT between the
client and the server, the exact same sequence of operations at both sides
may lead to a different behaviour :
  - only headers are sent, client does not send body and goes on with next
    request ;
  - body starts to be sent and server has to drain it.

So the server cannot detect whether what follows is a body or a next
request.

I suspect that sending request-looking data in a POST with an Expect
header might produce interesting results which merit being studied on
various products :

   POST /public HTTP/1.1
   Host: www.example.com
   Expect: 100-Continue
   Content-Length: 100

   GET /private HTTP/1.1
   Host: www.example.com

In my opinion the only way to remain safe would be to systematically
close the connection after a 4xx. However it could cause problems with
connection-based authentication such as NTLM. It does not look like a
trivial problem.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 23:09:49 2012
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 6F05921F8575 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:09:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.858
X-Spam-Level: 
X-Spam-Status: No, score=-9.858 tagged_above=-999 required=5 tests=[AWL=0.741, BAYES_00=-2.599, 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 VJEMqaIv8GV5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:09:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4719F21F856F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 23:09:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss6P6-0000T4-E8 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 06:09:32 +0000
Resent-Date: Fri, 20 Jul 2012 06:09:32 +0000
Resent-Message-Id: <E1Ss6P6-0000T4-E8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss6Ow-0000SF-6D for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 06:09:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss6Ou-0007Oc-O6 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 06:09:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K68kAG022124; Fri, 20 Jul 2012 08:08:46 +0200
Date: Fri, 20 Jul 2012 08:08:46 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120720060846.GF20313@1wt.eu>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <5008C024.7060100@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5008C024.7060100@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss6Ou-0007Oc-O6 297203d4a41d2d16a5df77b04e08bdac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/20120720060846.GF20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14615
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 Fri, Jul 20, 2012 at 02:19:16PM +1200, Amos Jeffries wrote:
> On 19/07/2012 10:09 a.m., Willy Tarreau wrote:
> >On Tue, Jul 17, 2012 at 10:32:58PM +0000, Osama Mazahir wrote:
> >>It's not broken as long as we are OK that the connection has to be closed
> >>upon expectation rejection (for non-chunked entity-body).
> >>
> >>Based on my understanding, the client must close the connection if the 
> >>server
> >>replied with a 4xx [1] against a non-chunked request.  Which makes sense 
> >>as
> >>it ensures message integrity on a persistent connection [2].  
> >>Essentially, we
> >>break the ambiguity by having the server assume that the next byte (after 
> >>the
> >>CRLFCRLF) will be entity-body.
> >You're right indeed, the protocol is broken in this case depending on 
> >whether
> >the client gets the 4xx in time and refrains from sending the body, or if 
> >it
> >starts sending the body before receiving the 4xx.
> >
> >The protocol does not allow us to tell what the server will get depending 
> >on
> >the timing (either body or next request).
> >
> >I think we should state that upon 4xx in response to Expect: 100-Continue,
> >the server should close the connection (after draining possibly pending 
> >data),
> >just as it would do on a redirect to another domain for instance.
> 
> Why should a redirect to another domain have any relevance to the 
> connection state?  What if the client was a proxy which collated many 
> client requests for htp://example.com/, each of which needed redirecting 
> to http://example.net/ ?

The proxy use-case is a valid one. Still, I've observed many times that
some servers close the connection on redirects to external hosts. Now
whether it's the application which adds a "connection: close" or the
framework which does this for free, I don't know. The reason clearly is
that the browser is not expected to reuse the connection when going away,
which is not true at all when the client is a proxy, as you noted.

> >That's an interesting case. I don't know how haproxy handles it, I suspect
> >it could be tricky.
> 
> Always assume its the entity body when one is expected. Only listen to 
> explicit client signals that there is none. Such as a close(), last 
> bytes of content-length arriving, zero-chunk, or non-chunk.

The issue is if the client is allowed to reuse the connection after it
receives an 4xx without sending the body. So the examples you give are
the ones that work well :-)

> There are other players in the game as well. Transfer-Encoding gzip, 
> deflate, compress appear to contain no markers which would indicate end 
> of object to servers - yet being Transfer-Encoding they usually cannot 
> be accompanied by content-length. AFAICT the only reliable marker they 
> have is close().

>From what I remember of my last reading of draft-19, it was clearly stated
that if a transfer-encoding other than chunked is present, then chunked MUST
be present last so the transfer is always chunk-encoded, precisely for this
issue. You can send safely reject messages which contain Transfer-Encoding
without "chunked" as the last one (you'd better recheck the spec than take
my word for it though).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 23:37:34 2012
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 CC82F21F8675 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:37:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.337
X-Spam-Level: 
X-Spam-Status: No, score=-10.337 tagged_above=-999 required=5 tests=[AWL=0.262, BAYES_00=-2.599, 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 2-lX5W92bk5l for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:37:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EC61A21F8642 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 23:37:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss6pP-00049J-0E for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 06:36:43 +0000
Resent-Date: Fri, 20 Jul 2012 06:36:43 +0000
Resent-Message-Id: <E1Ss6pP-00049J-0E@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss6pE-00047X-BT for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 06:36:32 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss6pA-0008LE-Qu for ietf-http-wg@w3.org; Fri, 20 Jul 2012 06:36:32 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 4A2F5E6FFE for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 18:36:04 +1200 (NZST)
Message-ID: <5008FC4A.6050002@treenet.co.nz>
Date: Fri, 20 Jul 2012 18:35:54 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120719213630.GA20313@1wt.eu> <19658.1342737373@critter.freebsd.dk> <20120720054413.GC20313@1wt.eu>
In-Reply-To: <20120720054413.GC20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss6pA-0008LE-Qu 814908b8174a0592409a82db86637495
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/5008FC4A.6050002@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14616
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 20/07/2012 5:44 p.m., Willy Tarreau wrote:
> On Thu, Jul 19, 2012 at 10:36:13PM +0000, Poul-Henning Kamp wrote:
>> In message <20120719213630.GA20313@1wt.eu>, Willy Tarreau writes:
>>> On Thu, Jul 19, 2012 at 08:48:01PM +0000, Poul-Henning Kamp wrote:
>>> I think it would be terribly useful to have a session container in which
>>> we can store one or more session identifiers and that load balancers and
>>> servers can easily access and manipulate.
>> At this point I would like to defer to card-carrying cryptographers,
>> because while I think nobody but the client should be allowed to
>> define/change the session identifier, in order to shut out spoofing
>> of it, I don't trust my own analysis of this question to be definitive.
> Yes you're right that if the client builds it by itself, the ID cannot
> be injected. However it can still be stolen and reused. But at least
> the easiest part of the security failure with cookies would be covered.

This is where server-side management of its own session steps in.

We have both server and client state to deal with in reality. So far the 
server generating a UUID and sending it to the client (over insecure 
third-party links) has proven insecure to the point of being a joke.

Client-generated session ID, is just a key / salting value. That gives 
us a couple of things:
  1) client can ensure that it is unique (at least relative to any other 
one they generate) over some long time period
  2) client can maintain multiple sessions to the same server simultaneously
  3) client can share session ID between software on their own machine 
(ie several browser tabs, or a browser tab and some independent 
credentials manager software)
  4) client can implement do-not-track by omitting the session ID from 
any request, OR changing it frequently, OR sending some max-age property 
for expiry.
  5) client can "logout" at will by erasing the state associated 
(possibly informing the server, but not necessarily)
  6) limited meaning - simplicity leads to better security through 
easier understanding and thus correct use.
    Making it mean just "here is a reference ID to the data I have on 
you" is simple.


The server can not be expected to rely on that session ID alone as any 
kind of UUID. They need to be able to assign session based on that ID 
*plus* any other information they have available to guarantee the 
uniqueness (client IP, channel number, socket number, UA header, phase 
of the moon, whatever)

  1) server can use it as a salting value to uniquely identify the 
separate client sessions. IFF, the server uses additional data to 
generate the session.
  2) server can track the session across any requests regardless of 
delivery method (relative to what the server tacks on as extra key bits 
for its own end - this also determins/limits theft of session-ID key risk).
  3) middleware can play to its hearts content, altering session IDs to 
new values. They mean nothing but opaque blob to the recipients end, 
worst case is fail-closed if they are used for anything security related.


What we have in abstract is a shared session between client and server, 
where those client/server endpoints may be any number of Federated 
softwares or machines. Each end has its own state, which may or may not 
be conveyed over the links, but for best security only the algorithms 
(.js) and data (.html, .xml, .css, ...) would transfer.

When you get down to the basics of this, it sounds a bit like the OAuth 
Bearer token (login federated between clients) or the Digest nonce 
"session" mode (client-driven ID). PKI abstract design at its finest. 
(Now the card-carrying cryptos will step up and hammer this non-card 
carrying one for obvious mistakes).

>> I do think it would be terribly useful if the session-id was client
>> originated and contained a anon/specific-authenticated-user bit,
>> because that would warn the server about public PCs etc.  So even
>> if we don't do the session-id, I think I would advocate that bit
>> on its own.
> Based on your first point above, I think that the client could build
> *part* of the ID. If the client generates a 64-bit random for instance,
> it doesn't ensure unicity, which is a server's task, but it saves it
> from being injected another ID. So from the server's point of view,
> a client could be identified by the couple of (ID1,ID2) where ID1 is
> invented by the client and unknown from JS and ID2 is invented by the
> server.

Exactly. Neither end being required to complete the session, or even to 
inform what its internal session ID key (or even algorithm) is.

> We could then even keep cookies as they are for ID2, and just use a
> new identifier for ID1. That way we remain compatible with HTTP/1
> (important goal) and HTTP/2to1 gateways can pass ID1 into a header
> field that the server can use.

IMO, we can ignore Cookies as headers for all of this. Sessions in 
Cookies are already largely the provence of web servers and if servers 
and browser roll out the new session they will be able to drop use of 
session-cookie cleanly when Session-ID no longer needs to be 
encapsulated inside one.

Cookies as used for data transfer is a different problem entirely and 
should not be tackled by the creation of a session state semantics. 
Simply removing the credential-like identifier from Cookie will go a 
long way towards clearing up the mess.


>
> If we do something like this, then it is wise to make this ID part
> of the protocol, just like the mask is part of the protocol in
> websocket without being accessible to the client's stack.
>
> This needs more thinking in my opinion but I think it's worth it.

+1 on both counts.

Amos



From ietf-http-wg-request@listhub.w3.org  Thu Jul 19 23:46:42 2012
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 AE92F21F8566 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:46:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.351
X-Spam-Level: 
X-Spam-Status: No, score=-10.351 tagged_above=-999 required=5 tests=[AWL=0.248, BAYES_00=-2.599, 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 LPSz59BbBoZO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jul 2012 23:46:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C30D821F850F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jul 2012 23:46:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss6yO-0001KN-Eg for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 06:46:00 +0000
Resent-Date: Fri, 20 Jul 2012 06:46:00 +0000
Resent-Message-Id: <E1Ss6yO-0001KN-Eg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss6yC-0001HC-Vh for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 06:45:49 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss6yB-0006jX-F1 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 06:45:48 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 1CCB210EDAC; Fri, 20 Jul 2012 18:45:25 +1200 (NZST)
Message-ID: <5008FE7B.6050303@treenet.co.nz>
Date: Fri, 20 Jul 2012 18:45:15 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: ietf-http-wg@w3.org
References: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <5008C024.7060100@treenet.co.nz> <20120720060846.GF20313@1wt.eu>
In-Reply-To: <20120720060846.GF20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss6yB-0006jX-F1 ba0bd0d98958b3474630fa9e0b9066e5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest   : Squid
Archived-At: <http://www.w3.org/mid/5008FE7B.6050303@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14617
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 20/07/2012 6:08 p.m., Willy Tarreau wrote:
> On Fri, Jul 20, 2012 at 02:19:16PM +1200, Amos Jeffries wrote:
>> On 19/07/2012 10:09 a.m., Willy Tarreau wrote:
>>> On Tue, Jul 17, 2012 at 10:32:58PM +0000, Osama Mazahir wrote:
>>>> It's not broken as long as we are OK that the connection has to be closed
>>>> upon expectation rejection (for non-chunked entity-body).
>>>>
>>>> Based on my understanding, the client must close the connection if the
>>>> server
>>>> replied with a 4xx [1] against a non-chunked request.  Which makes sense
>>>> as
>>>> it ensures message integrity on a persistent connection [2].
>>>> Essentially, we
>>>> break the ambiguity by having the server assume that the next byte (after
>>>> the
>>>> CRLFCRLF) will be entity-body.
>>> You're right indeed, the protocol is broken in this case depending on
>>> whether
>>> the client gets the 4xx in time and refrains from sending the body, or if
>>> it
>>> starts sending the body before receiving the 4xx.
>>>
>>> The protocol does not allow us to tell what the server will get depending
>>> on
>>> the timing (either body or next request).
>>>
>>> I think we should state that upon 4xx in response to Expect: 100-Continue,
>>> the server should close the connection (after draining possibly pending
>>> data),
>>> just as it would do on a redirect to another domain for instance.
>> Why should a redirect to another domain have any relevance to the
>> connection state?  What if the client was a proxy which collated many
>> client requests for htp://example.com/, each of which needed redirecting
>> to http://example.net/ ?
> The proxy use-case is a valid one. Still, I've observed many times that
> some servers close the connection on redirects to external hosts. Now
> whether it's the application which adds a "connection: close" or the
> framework which does this for free, I don't know. The reason clearly is
> that the browser is not expected to reuse the connection when going away,
> which is not true at all when the client is a proxy, as you noted.

The key word in there is probably "browser", the assumption that each 
client is singular ("browser") and that each connection is singular 
("user") is very widespread.

That is no reason for any compliant server to disconnect. Let the broken 
servers do it, and let the correct servers gain the benefits of being 
correct.

Referring to this part specifically: "the server should close the 
connection (after draining possibly pending data), just as it would do 
on a redirect to another domain"


>>> That's an interesting case. I don't know how haproxy handles it, I suspect
>>> it could be tricky.
>> Always assume its the entity body when one is expected. Only listen to
>> explicit client signals that there is none. Such as a close(), last
>> bytes of content-length arriving, zero-chunk, or non-chunk.
> The issue is if the client is allowed to reuse the connection after it
> receives an 4xx without sending the body. So the examples you give are
> the ones that work well :-)
>
>> There are other players in the game as well. Transfer-Encoding gzip,
>> deflate, compress appear to contain no markers which would indicate end
>> of object to servers - yet being Transfer-Encoding they usually cannot
>> be accompanied by content-length. AFAICT the only reliable marker they
>> have is close().
>  From what I remember of my last reading of draft-19, it was clearly stated
> that if a transfer-encoding other than chunked is present, then chunked MUST
> be present last so the transfer is always chunk-encoded, precisely for this
> issue. You can send safely reject messages which contain Transfer-Encoding
> without "chunked" as the last one (you'd better recheck the spec than take
> my word for it though).

There is no mandate that chunked is *always* to be used with them 
though. Only that when combined the best is last.

We have had to take that assumption on our own guess at good-practice in 
Squid and decoded to always chunk 1.1 when content-length is missing. 
Regardless of other encodings.


Amos


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:08:39 2012
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 E11FD21F84D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:08:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.872
X-Spam-Level: 
X-Spam-Status: No, score=-9.872 tagged_above=-999 required=5 tests=[AWL=0.727, BAYES_00=-2.599, 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 Ux+Ea3qfBt57 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:08:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9420E21F84D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:08:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7KU-0001PT-VU for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:08:51 +0000
Resent-Date: Fri, 20 Jul 2012 07:08:50 +0000
Resent-Message-Id: <E1Ss7KU-0001PT-VU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss7KK-0001Nm-9V for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:08:40 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss7KJ-0007S0-65 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:08:40 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K788sG022370; Fri, 20 Jul 2012 09:08:08 +0200
Date: Fri, 20 Jul 2012 09:08:08 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120720070808.GI20313@1wt.eu>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <5008C024.7060100@treenet.co.nz> <20120720060846.GF20313@1wt.eu> <5008FE7B.6050303@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5008FE7B.6050303@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ss7KJ-0007S0-65 7812992f289f82aa2206e1ef7cf96838
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest   : Squid
Archived-At: <http://www.w3.org/mid/20120720070808.GI20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14619
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 Fri, Jul 20, 2012 at 06:45:15PM +1200, Amos Jeffries wrote:
> The key word in there is probably "browser", the assumption that each 
> client is singular ("browser") and that each connection is singular 
> ("user") is very widespread.
> 
> That is no reason for any compliant server to disconnect. Let the broken 
> servers do it, and let the correct servers gain the benefits of being 
> correct.

+1 on this.

> Referring to this part specifically: "the server should close the 
> connection (after draining possibly pending data), just as it would do 
> on a redirect to another domain"
> 
> 
> >From what I remember of my last reading of draft-19, it was clearly stated
> >that if a transfer-encoding other than chunked is present, then chunked 
> >MUST
> >be present last so the transfer is always chunk-encoded, precisely for this
> >issue. You can send safely reject messages which contain Transfer-Encoding
> >without "chunked" as the last one (you'd better recheck the spec than take
> >my word for it though).
> 
> There is no mandate that chunked is *always* to be used with them 
> though. Only that when combined the best is last.

Yes, I just found it :

http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-3.3.1

   If any transfer-coding is applied to a
   request payload body, the final transfer-coding applied MUST be
   "chunked". If any transfer-coding is applied to a response payload
   body, then either the final transfer-coding applied MUST be "chunked"
   or the message MUST be terminated by closing the connection.

> We have had to take that assumption on our own guess at good-practice in 
> Squid and decoded to always chunk 1.1 when content-length is missing. 
> Regardless of other encodings.

I think this was recent additions from http-bis (which is a very important one).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:27:15 2012
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 7A0A511E8089 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:27:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, 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 0Z561rFn9d6A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:27:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DBCE311E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:27:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7be-00019B-3L for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:26:34 +0000
Resent-Date: Fri, 20 Jul 2012 07:26:34 +0000
Resent-Message-Id: <E1Ss7be-00019B-3L@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss7bT-00018O-O6 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:26:23 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss7bN-0001LY-CE for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:26:23 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 161573B758; Fri, 20 Jul 2012 07:25:56 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6K7PtjE021596; Fri, 20 Jul 2012 07:25:55 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 15:25:04 +1000." <1A5726B2-376F-4C64-8F87-936C928A8224@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 07:25:55 +0000
Message-ID: <21595.1342769155@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss7bN-0001LY-CE d5b0b8b4caf386d7fe1a14bff45d47fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/21595.1342769155@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14620
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>

In message <1A5726B2-376F-4C64-8F87-936C928A8224@mnot.net>, Mark Nottingham wri
tes:
>Bruce Perens isn't on the mailing list, so forwarding (a dup may occur =
>when W3C staff see it):

>> I use ETag because of an insufficiency in RFC 2616 dates: their 
>> resolution is one second. Updates to entities at sub-second intervals 
>> are possible and would result in entities with the same Last-Modified 
>> date.

Varnish users have raised similar concerns, because seconds are
awfully big for modern computers.

Time-wise there are some pretty nasty representation and efficiency
issues which I won't bore you with the full story about now, (I will
be happy to do so once we produce the normative text.)

The short story is:  However we decide to do it, we have to represent
the fractional part of the second as a true fraction in the radix.

For a string representation, that means a suffix of a period and 
digits without any unit: .9, .99, .999, .9999, .99999 ... are
all valid and increasingly late timestamps.

For binary, the field will be a (most likely be a 16 bit wide)
binary fraction so that the unit becomes 1/65536th of a second,
and
	0x8000 = 0.5 second
	0xc000 = 0.75 second
etc.

What we should absolutely *not* do, under any circumstanses, is
fixed width decimal count of milliseconds ("000" ... "999") or
binary multiradix nightmares like struct timeval/timespec.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:29:11 2012
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 89B5721F85A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:29:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.362
X-Spam-Level: 
X-Spam-Status: No, score=-10.362 tagged_above=-999 required=5 tests=[AWL=0.237, BAYES_00=-2.599, 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 Dhn93g6bRYDS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:29:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9363021F8579 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:29:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7eb-0001Mz-Us for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:29:37 +0000
Resent-Date: Fri, 20 Jul 2012 07:29:37 +0000
Resent-Message-Id: <E1Ss7eb-0001Mz-Us@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss7eR-0001ME-38 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:29:27 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss7eK-00083J-UH for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:29:27 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 211E710EDAC; Fri, 20 Jul 2012 19:28:57 +1200 (NZST)
Message-ID: <500908AF.8030901@treenet.co.nz>
Date: Fri, 20 Jul 2012 19:28:47 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Osama Mazahir <OSAMAM@microsoft.com>, Roberto Peon <grmocg@gmail.com>,  Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu>
In-Reply-To: <20120720060238.GE20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss7eK-00083J-UH 07c62dd52305ccc4f24a1100212818fe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/500908AF.8030901@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14621
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 20/07/2012 6:02 p.m., Willy Tarreau wrote:
> On Fri, Jul 20, 2012 at 12:32:11AM +0000, Osama Mazahir wrote:
>>> I think we should state that upon 4xx in response to
>>> Expect: 100-Continue, the server should close the connection
>>> (after draining possibly pending data), just as it would do
>>> on a redirect to another domain for instance.
>>>
>>> That's an interesting case. I don't know how haproxy handles
>>> it, I suspect it could be tricky.
>> I think the current state is fine.  The current text says "If it responds
>> with a final status code, it MAY close the transport connection or it MAY
>> continue to read and discard the rest of the request."  Windows tries to
>> leave the connection open (i.e. of course, upper layer can always override or
>> we may have hit an non-continuable error such as corrupted request).  This
>> allows the server to handle the following cases:
>> 1) Client sent the entity-body before getting the expect-answer (e.g. timeout).
>> 2) Client believes it is more efficient to send irrelevant entity-body
>> instead of tearing down and warming up a new connection.
>> 3) Client was sending a chunked entity-body and can gracefully indicate
>> request end with a zero chunk.
> But it does not cover the client which immediately receives the 417 and
> which refrains from sending and instead reuses the connection.

Did you mean the tricky case where encoding is attempted and the 417 
returns. For chunked the server does not support detecting a zero-length 
chunk as an aborted entity. But the client requires it to keep-alive. So 
the option there is client closure if it arrives late and server 
required to assume the next bytes after header are a new header set.
   Note that a zero-length chunk is "0CRLF" which is not a valid HTTP 
request-line even when assuming HTTP/0.9 compatibility. The other 
transfer encodings result in binary data which is also not valid 
request-method. The server aborting the connection on invalid 
next-request seems to take effect in that case regardless of encoding.

When the race is lost the server barfs and closes. When the race is won 
the client goes right to next request and the keep-alive works fine.

The key though is for the client to *always* continue with the attempted 
operation on a timeout. If the server does not reject it fast enough too 
bad.

Could we mandate a minimum client timeout suitable for slow high latency 
connections. Or suggest that it is linked to RTT somehow? as you say it 
is RTT related race, making a timeout depend on RTT seams reasonable if 
possible.

> It is all a matter of race condition : depending on the RTT between the
> client and the server, the exact same sequence of operations at both sides
> may lead to a different behaviour :
>    - only headers are sent, client does not send body and goes on with next
>      request ;
>    - body starts to be sent and server has to drain it.
>
> So the server cannot detect whether what follows is a body or a next
> request.
>
> I suspect that sending request-looking data in a POST with an Expect
> header might produce interesting results which merit being studied on
> various products :
>
>     POST /public HTTP/1.1
>     Host: www.example.com
>     Expect: 100-Continue
>     Content-Length: 100
>
>     GET /private HTTP/1.1
>     Host: www.example.com

In the above example the use of content-length requires that the server 
drain 100 bytes regardless of what the client does.

> In my opinion the only way to remain safe would be to systematically
> close the connection after a 4xx. However it could cause problems with
> connection-based authentication such as NTLM. It does not look like a
> trivial problem.

On NTLM the initial www-auth scheme advertisement can safely be closed. 
It's inefficient but safe.
The first handshake responses is where trouble comes in, and by that 
time the client should have stopped attempting Expect.


Amos


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:38:01 2012
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 AE0CE21F8602 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:38:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 DO0N4cySqDET for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:38:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CAD8221F85C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:38:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7mE-00069a-Fj for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:37:30 +0000
Resent-Date: Fri, 20 Jul 2012 07:37:30 +0000
Resent-Message-Id: <E1Ss7mE-00069a-Fj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <werner.baumann@onlinehome.de>) id 1Ss7m3-000672-IH for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:37:19 +0000
Received: from moutng.kundenserver.de ([212.227.17.8]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <werner.baumann@onlinehome.de>) id 1Ss7lx-0001fb-Hq for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:37:19 +0000
Received: from ginster.fritz.box (dtmd-4db224e0.pool.mediaWays.net [77.178.36.224]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MKMb4-1StmBt1tTi-001vlq; Fri, 20 Jul 2012 09:36:47 +0200
Date: Fri, 20 Jul 2012 09:36:39 +0200
From: Werner Baumann <werner.baumann@onlinehome.de>
To: ietf-http-wg@w3.org
Message-ID: <20120720093639.32c6184c@ginster.fritz.box>
In-Reply-To: <18936.1342728095@critter.freebsd.dk>
References: <20120719184924.GM16208@1wt.eu> <18936.1342728095@critter.freebsd.dk>
X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:84gP8HAuuxynfdKYHEnZczVqCUxx2eK0aAoAHbEroq5 Gg1gmegm50m61OxgcfGN+qjVddo0ZGUloxJKkU0IRrnuiig7fk Xsq3CuwteMw6XWAPV9/5dUVpJX6ARtdKN+nmfjzvNRQAqNOTWL b2olhLcrvWGSO5dp0Xr0N4DVJNPRBw+MnX11LyrxNOqYA0XAxH aNNYzCgNRR0MffB+yUahD9oR10mFEPpLyHiosT3f1EQrhjry8v wQzJNdSWaM0XESkmqSp5naP5KwB3L1ea9lXKye/5WnlbAZWmHF OCQ1gcXxmt/KGpa+4UE4RcG6yKHXo/wupButrlXqkCf/t/zkmM 2AJF3PNcK03BjWSHftXJ4sBatON18hddLikOhdP97
Received-SPF: none client-ip=212.227.17.8; envelope-from=werner.baumann@onlinehome.de; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss7lx-0001fb-Hq c970145d1e8662fd0cef48112cdab927
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/20120720093639.32c6184c@ginster.fritz.box>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14622
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>

Am Thu, 19 Jul 2012 20:01:35 +0000
schrieb "Poul-Henning Kamp" <phk@phk.freebsd.dk>:

> In message <20120719184924.GM16208@1wt.eu>, Willy Tarreau writes:
> 
> >As usual, Adam gave a nice description there, and I'm sure many of
> >us are aware of the issues he describes. I'm among those who
> >consider that having only some pages of a site secured is dangerous.
> >Either the site is clear or it's not.
> 
> What about sites that are HTTP until you log in, then switch to
> HTTPS ?
> 
> That's a perfectly fair & sensible way to avoid spending resources
> on non-paying visitors.
> 

Looking at Adam's example: the problem is not mixing of HTTP and HTTPS.
The error happens when the user follows a non-trustworthy link and then
believes it to be secure because its HTTPS. These dangerous links are
not restricted to HTTP-sites they may be in HTTPS-sites as well (and
other places).

There is only one way to defend against this: the *user* must verify,
and be able to verify, that the HTTPS-url is the one she wants. The
first step in user security is always the informed decision by the
user. No way around. Technical means can only assist (and should
assist and not confuse).

The current state of helping the user to make informed decisions is
very bad. The infamous dialog on unverifyable certificates is just one
example. Telling users they are secure because it is HTTPS or all-HTTPS
wil make things worse.

Regarding banking: my bank advices me to type the HTTPS-url of the
login page by hand. I think this is good advice. But they are not
consequent and offer a link on their HTTP-site as well.

Werner


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:38:15 2012
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 EC0BD21F84A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:38:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.373
X-Spam-Level: 
X-Spam-Status: No, score=-10.373 tagged_above=-999 required=5 tests=[AWL=0.226, BAYES_00=-2.599, 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 MIed32CkaZ3u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:38:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1804A21F845B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:38:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7nM-0006H5-ET for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:38:40 +0000
Resent-Date: Fri, 20 Jul 2012 07:38:40 +0000
Resent-Message-Id: <E1Ss7nM-0006H5-ET@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss7nB-0006Ft-8l for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:38:29 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss7nA-0008No-41 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:38:29 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 66B5410EDAC; Fri, 20 Jul 2012 19:38:04 +1200 (NZST)
Message-ID: <50090AD2.8030509@treenet.co.nz>
Date: Fri, 20 Jul 2012 19:37:54 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: ietf-http-wg@w3.org
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <5008C024.7060100@treenet.co.nz> <20120720060846.GF20313@1wt.eu> <5008FE7B.6050303@treenet.co.nz> <20120720070808.GI20313@1wt.eu>
In-Reply-To: <20120720070808.GI20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss7nA-0008No-41 25b40c76bf3a718888875092d02f741e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest    : Squid
Archived-At: <http://www.w3.org/mid/50090AD2.8030509@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14623
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 20/07/2012 7:08 p.m., Willy Tarreau wrote:
> On Fri, Jul 20, 2012 at 06:45:15PM +1200, Amos Jeffries wrote:
>> The key word in there is probably "browser", the assumption that each
>> client is singular ("browser") and that each connection is singular
>> ("user") is very widespread.
>>
>> That is no reason for any compliant server to disconnect. Let the broken
>> servers do it, and let the correct servers gain the benefits of being
>> correct.
> +1 on this.
>
>> Referring to this part specifically: "the server should close the
>> connection (after draining possibly pending data), just as it would do
>> on a redirect to another domain"
>>
>>
>> >From what I remember of my last reading of draft-19, it was clearly stated
>>> that if a transfer-encoding other than chunked is present, then chunked
>>> MUST
>>> be present last so the transfer is always chunk-encoded, precisely for this
>>> issue. You can send safely reject messages which contain Transfer-Encoding
>>> without "chunked" as the last one (you'd better recheck the spec than take
>>> my word for it though).
>> There is no mandate that chunked is *always* to be used with them
>> though. Only that when combined the best is last.
> Yes, I just found it :
>
> http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-3.3.1
>
>     If any transfer-coding is applied to a
>     request payload body, the final transfer-coding applied MUST be
>     "chunked".

Wait up!  there is an implication in here I overlooked.

"If any transfer-encoding is applied ... the final ... applied MUST be 
chunked."

That is not very clear, but definitely mandatory chunked encoding on 
requests. Which resolves all the weird edge cases by making the next 
bytes a chunked size field which is invalid requst-line syntax.


>   If any transfer-coding is applied to a response payload
>     body, then either the final transfer-coding applied MUST be "chunked"
>     or the message MUST be terminated by closing the connection.
>
>> We have had to take that assumption on our own guess at good-practice in
>> Squid and decoded to always chunk 1.1 when content-length is missing.
>> Regardless of other encodings.
> I think this was recent additions from http-bis (which is a very important one).

It would seem so.

Amos


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:39:04 2012
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 C94E721F85C6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:39:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.227
X-Spam-Level: 
X-Spam-Status: No, score=-8.227 tagged_above=-999 required=5 tests=[AWL=1.750, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 4uK7vN2h0s6s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:39:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E669021F85D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:39:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7oA-0006U6-1X for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:39:30 +0000
Resent-Date: Fri, 20 Jul 2012 07:39:30 +0000
Resent-Message-Id: <E1Ss7oA-0006U6-1X@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1Ss7nx-0006Pw-DE for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:39:17 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1Ss7nw-0001ia-4f for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:39:17 +0000
Received: by qcad1 with SMTP id d1so71478qca.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 00:38:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=VHU26L0eYZNVIFhFCuNtUVUhO30eLvHe9EvC7nLoaGQ=; b=PoIicGA1L8jkWEMjMSPwtirXXgIkxYCfEWbYP6wHKD7XIgrF6MwCzf+FqJJLxzFgF7 D2Zvh4HxaTnUvP7WU9t2/0EEo0MLwEvDWTmHe2Rc1gv7a5AEHkmVLtGLuYqioTpE9dwf R6aYE4z99JyrDrf8kThix9Kih5hutLxqoBgjczDkPY2g2cew1rvRKB2sDVZCwstbTRGX msHcTeC6RoukWgSpy2KTc2+zpCUIq82EoOTEdL55kLud89Djk25ZPWknigAZKsCK1DTt s1buBrIPj7fEzgAh6AjXJBvdFNeXltCA5t4fWli7ZaDlM8j9Vj1MwqRipyoLfkXLdw/F nweA==
MIME-Version: 1.0
Received: by 10.224.175.8 with SMTP id v8mr8294569qaz.47.1342769929969; Fri, 20 Jul 2012 00:38:49 -0700 (PDT)
Received: by 10.229.179.9 with HTTP; Fri, 20 Jul 2012 00:38:49 -0700 (PDT)
In-Reply-To: <1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net>
References: <1BDBFF0B-E377-4908-8A63-6944354713ED@mnot.net>
Date: Fri, 20 Jul 2012 17:38:49 +1000
Message-ID: <CAH_y2NE-sH+am+SePy1+KZwOMdG+NsmBdrBPWDiBv-_L7DyjsQ@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmVPsEJBcJz43xwE2exWYVhwmK5qvJO3c/DwqKw3+P1NQrZjRwXHhySPcCfxnVkGsbHM2uV
Received-SPF: pass client-ip=209.85.216.171; envelope-from=gregw@intalio.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss7nw-0001ia-4f e20f7e5379e32cc36b68a724d33a9443
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of Mandatory TLS in HTTP/2.0
Archived-At: <http://www.w3.org/mid/CAH_y2NE-sH+am+SePy1+KZwOMdG+NsmBdrBPWDiBv-_L7DyjsQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14624
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 19 July 2012 13:55, Mark Nottingham <mnot@mnot.net> wrote:
> Finally, I'd encourage everyone to carefully read BCP61 <http://tools.ietf.org/html/bcp61> (hat tip to the Security ADs), as it embodies IETF policy in this area, and will doubtless guide our decisions here.

A paragraph of note in BCP61 is:

  7. MUST is for Implementors
     We often say that Security is a MUST implement.  It is worth noting
     that there is a significant different between MUST implement and MUST use.

I do think there are good arguments to make to say that browsers MUST
use confidentiality mechanism  - I just don't think that we really
want to get bogged down in debating those arguments here.
We should endeavour to make HTTP/2.0 work well for both encrypted and
clear text connections (and there is work to do to achieve that).

Also I would assume that the inverse of 7 also applies.  Just because
we implement clear text connection does not mean that users MUST use
them.  Specifically the browser/server/service vendors should be able
to choose not to use clear text connections (or at least make their
usage difficult and non default).  This would achieve a more
confidential web, but would not require that all HTTP traffic be
encrypted.

The analogy that I see is that cell phone traffic used to be
transmitted in the clear.  It is now encrypted by default, but only
when broadcast and there is no mandate that we keep the audio
confidential when we send it over the wires to our headset or when it
is bridged onto a PSTN.

regards


-- 
Greg Wilkins <gregw@intalio.com>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:40:27 2012
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 6DFCB21F85E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:40:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 CwwiKnBM6Upr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:40:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B975D21F85D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:40:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7pZ-0008Pn-44 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:40:57 +0000
Resent-Message-Id: <E1Ss7pZ-0008Pn-44@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Ss7pU-0008Om-0y for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:40:52 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Ss7pT-0008T6-Vt for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:40:51 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1Ss7pT-0007bk-RQ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 03:40:51 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1Ss5Rq-0006zm-CT for ylafon@jay.w3.org; Fri, 20 Jul 2012 01:08:18 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Ss5Rq-0005by-7y for ylafon@w3.org; Fri, 20 Jul 2012 05:08:18 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Ss5Rq-0004TL-1P for ylafon@w3.org; Fri, 20 Jul 2012 05:08:18 +0000
Date: Fri, 20 Jul 2012 05:08:18 +0000
X-From_: bruce@perens.com Fri Jul 20 05:08:12 2012
X-Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <bruce@perens.com>) id 1Ss5Rk-0004Se-CN for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 05:08:12 +0000
X-Received: from alchemy.perens.com ([206.221.219.26]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <bruce@perens.com>) id 1Ss5Rj-0005bH-He for ietf-http-wg@w3.org; Fri, 20 Jul 2012 05:08:12 +0000
X-Received: from living-room.home.perens.com (108-216-156-8.lightspeed.sntcca.sbcglobal.net [108.216.156.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by alchemy.perens.com (Postfix) with ESMTPSA id A08824F4068 for <ietf-http-wg@w3.org>; Thu, 19 Jul 2012 22:07:48 -0700 (PDT)
Message-ID: <5008E7A3.1050705@perens.com>
Old-Date: Thu, 19 Jul 2012 22:07:47 -0700
From: Bruce Perens <bruce@perens.com>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: %3Cem4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed%3E
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=206.221.219.26; envelope-from=bruce@perens.com; helo=alchemy.perens.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss5Rj-0005bH-He ddb1a5a3feb4ed83216c6777acd018b8
Old-X-Envelope-To: ietf-http-wg
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Jul 20 01:08:18 2012
X-DSPAM-Confidence: 0.9973
X-DSPAM-Improbability: 1 in 37558 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 5008e7c2269002008015569
ReSent-Date: Fri, 20 Jul 2012 03:40:47 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: Our old friends, weak ETags
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/5008E7A3.1050705@perens.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14625
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 Adrien,

I use ETag because of an insufficiency in RFC 2616 dates: their 
resolution is one second. Updates to entities at sub-second intervals 
are possible and would result in entities with the same Last-Modified 
date. To be pedantically resolution-independent, I convert the date/time 
to a string representation of a ratio. It's presently the number of 
nanoseconds since the epoch. I encode that and an entity serial number 
in the ETag.

If HTTP dates are extended to have sub-second resolution, I will 
probably be able to do without ETags.

     Thanks

     Bruce




From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:40:47 2012
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 F36F921F85D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:40:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.885
X-Spam-Level: 
X-Spam-Status: No, score=-9.885 tagged_above=-999 required=5 tests=[AWL=0.714, BAYES_00=-2.599, 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 zM8bpHRtTr0k for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:40:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C8E4D21F85E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:40:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7F8-0007jo-3c for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:03:18 +0000
Resent-Date: Fri, 20 Jul 2012 07:03:18 +0000
Resent-Message-Id: <E1Ss7F8-0007jo-3c@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss7Ex-0007iK-6L for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:03:07 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss7Ev-0000f2-Em for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:03:07 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K72bCE022315; Fri, 20 Jul 2012 09:02:37 +0200
Date: Fri, 20 Jul 2012 09:02:37 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120720070237.GH20313@1wt.eu>
References: <20120719213630.GA20313@1wt.eu> <19658.1342737373@critter.freebsd.dk> <20120720054413.GC20313@1wt.eu> <5008FC4A.6050002@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5008FC4A.6050002@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss7Ev-0000f2-Em bda75950584adc27c55524f1998581cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120720070237.GH20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14618
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 Fri, Jul 20, 2012 at 06:35:54PM +1200, Amos Jeffries wrote:
> Client-generated session ID, is just a key / salting value. That gives 
> us a couple of things:

I agree, this is equivalent to salting.

>  1) client can ensure that it is unique (at least relative to any other 
> one they generate) over some long time period
>  2) client can maintain multiple sessions to the same server simultaneously
>  3) client can share session ID between software on their own machine 
> (ie several browser tabs, or a browser tab and some independent 
> credentials manager software)
>  4) client can implement do-not-track by omitting the session ID from 
> any request, OR changing it frequently, OR sending some max-age property 
> for expiry.
>  5) client can "logout" at will by erasing the state associated 
> (possibly informing the server, but not necessarily)
>  6) limited meaning - simplicity leads to better security through 
> easier understanding and thus correct use.
>    Making it mean just "here is a reference ID to the data I have on 
> you" is simple.

OK.

> The server can not be expected to rely on that session ID alone as any 
> kind of UUID. They need to be able to assign session based on that ID 
> *plus* any other information they have available to guarantee the 
> uniqueness (client IP, channel number, socket number, UA header, phase 
> of the moon, whatever)

Warning when you're saying this, some of these info are neither stable
nor unique to the client, they provide low value when building an ID.

>  1) server can use it as a salting value to uniquely identify the 
> separate client sessions. IFF, the server uses additional data to 
> generate the session.
>  2) server can track the session across any requests regardless of 
> delivery method (relative to what the server tacks on as extra key bits 
> for its own end - this also determins/limits theft of session-ID key risk).
>  3) middleware can play to its hearts content, altering session IDs to 
> new values. They mean nothing but opaque blob to the recipients end, 
> worst case is fail-closed if they are used for anything security related.

It's not as simple : if we want it to be simple for both ends, ideally
a fixed-length well-defined ID is fine. However its use will be too
limited (middleware cannot rely only on "learning" IDs, they need to
put deterministic information there such as server identifiers when
performing load balancing between multiple DCs, DMZ, ...).

If we have a variable-sized ID that intermediaries can fiddle with,
then it's harder to put that in the protocol and we risk seeing it
degraded as cookies to put whatever in them.

Maybe we need a specific part for routing information, but I'm really
not convinced this is needed. I think in fact that the client-generated
ID should be fix-sized and always present, and that the server-generated
part could be variable with a limited size so that it is not abused
anymore.

> What we have in abstract is a shared session between client and server, 
> where those client/server endpoints may be any number of Federated 
> softwares or machines. Each end has its own state, which may or may not 
> be conveyed over the links,

Wait a minute, a few times in this thread I felt like there was an issue
here, it's important to keep in mind that there is not a single-end on the
server side. Servers are often split between multiple machines, multiple
DMZ, multiple areas, multiple DCs for a single client session, and with
various possible paths between them without the client ever being aware
of it. It's important because there is not an "own state" as called here,
but a global state made of many independant states.

(...)
> >Based on your first point above, I think that the client could build
> >*part* of the ID. If the client generates a 64-bit random for instance,
> >it doesn't ensure unicity, which is a server's task, but it saves it
> >from being injected another ID. So from the server's point of view,
> >a client could be identified by the couple of (ID1,ID2) where ID1 is
> >invented by the client and unknown from JS and ID2 is invented by the
> >server.
> 
> Exactly. Neither end being required to complete the session, or even to 
> inform what its internal session ID key (or even algorithm) is.
> 
> >We could then even keep cookies as they are for ID2, and just use a
> >new identifier for ID1. That way we remain compatible with HTTP/1
> >(important goal) and HTTP/2to1 gateways can pass ID1 into a header
> >field that the server can use.
> 
> IMO, we can ignore Cookies as headers for all of this. Sessions in 
> Cookies are already largely the provence of web servers and if servers 
> and browser roll out the new session they will be able to drop use of 
> session-cookie cleanly when Session-ID no longer needs to be 
> encapsulated inside one.

Only when the session-id is able to convey as much information as is
needed to route the request to its target. Right now cookies are used
*a lot* for this. I know some places where there are up to 6 layers
of server farms with multiple possible paths between them (think many
portals for similar access to same information), and the only way to
know where to pass through is to use the information inserted by LBs
into cookies. To completely get rid of cookies we need to be able to
store this routing information somewhere else (I would love this, so
that we don't have to deal with this horrible cookie header anymore).
But this is not a small issue to deal with.

> Cookies as used for data transfer is a different problem entirely and 
> should not be tackled by the creation of a session state semantics. 

Cookies are even more generic, they're just a copy of opaque data the
server needs when the client gets back. Originally it was just a way
to find the pointer to the session (which is routing information as
well after all). But they were completely abused to carry anything
everywhere and the first issue is that JS has access to them.

> Simply removing the credential-like identifier from Cookie will go a 
> long way towards clearing up the mess.

Agreed!

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:49:49 2012
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 3AA8B21F8549 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:49:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.998
X-Spam-Level: 
X-Spam-Status: No, score=-9.998 tagged_above=-999 required=5 tests=[AWL=-0.599, BAYES_00=-2.599, J_CHICKENPOX_42=0.6, J_CHICKENPOX_43=0.6, 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 fYcINj9Lb6OA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:49:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 925D921F8504 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:49:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7xa-0004CJ-IF for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:49:14 +0000
Resent-Date: Fri, 20 Jul 2012 07:49:14 +0000
Resent-Message-Id: <E1Ss7xa-0004CJ-IF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss7xQ-00049t-87 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:49:04 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss7xP-0001zP-4r for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:49:04 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 04DD23B080; Fri, 20 Jul 2012 07:48:41 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6K7mfXg021709; Fri, 20 Jul 2012 07:48:41 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 13:25:53 +1000." <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 07:48:41 +0000
Message-ID: <21708.1342770521@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss7xP-0001zP-4r 620f7d48ecb5958ca5ab90261eeb2848
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/21708.1342770521@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14626
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>

In message <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net>, Mark Nottingham wri
tes:

>Strictly speaking, I don't think this is a problem for caches; following 
>the rules for reusing a stored response 

I can confirm:  We have had a heck of a time to find out how/what to
do about eTags when Varnish gzip's objects to save bandwidth.

I think the poster-boy example we came up with was this:

Request:
	(routed directly to server)
	GET /bla, range=0-10kbyte, A-E=gzip
Response:
	10 kbyte of uncompressed bla, E-tag=foo

Request:
	(routed to cache, which holds gzip'ed copy of object)
	GET /bla, range=10-20kbyte, A-E=gzip, If-Match=foo
Response:
	(fetches object from server (E-tag=foo))
	(gzips to save bandwidth)
	10 kbyte of gzip'ed bla, [...]

It is our interpretation that current semantics demand that the
cache modify the ET when it does the gzip'ing of the object.

But it is not at all obvious how it can safely do so, since that
ET can end up back on the origin server if the third request
gets routed directly to the server.

Absent knowledge about how the server produces ETs, the
cache as no way of knowing how to produce a non-colliding one.

My conclusion was that ETs were specified wrong with respect to
range and gzip:  ETs should always refer to the complete underlying
objects bits in raw form, and not be affected by range or compression.

If that was the case, the client would not send A-E=gzip on
the second request, having gotten uncompressed bits back on
the first and there would be no issue.

I'd love to be told there are a simpler solution...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:50:40 2012
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 F310821F8549 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:50:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.264
X-Spam-Level: 
X-Spam-Status: No, score=-8.264 tagged_above=-999 required=5 tests=[AWL=2.335, BAYES_00=-2.599, 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 uSOs0VP9y6jt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:50:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7644621F8504 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:50:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7zO-0005Zu-W3 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:51:07 +0000
Resent-Date: Fri, 20 Jul 2012 07:51:06 +0000
Resent-Message-Id: <E1Ss7zO-0005Zu-W3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1Ss7zF-0005Yx-A4 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:50:57 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1Ss7zB-0000HJ-1y for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:50:57 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q6K7oNDw017339; Fri, 20 Jul 2012 09:50:24 +0200 (CEST)
Received: from [10.0.1.2] (reingewinn.informatik.uni-bremen.de [134.102.218.123]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id C3498CDF; Fri, 20 Jul 2012 09:50:23 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <21595.1342769155@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 09:50:20 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7C4B2D6A-4847-49ED-A6E1-1DA8CF672A00@tzi.org>
References: <21595.1342769155@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss7zB-0000HJ-1y 5f0a562c742ef2fcb1bb6bc59dfc3649
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/7C4B2D6A-4847-49ED-A6E1-1DA8CF672A00@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14627
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 Jul 20, 2012, at 09:25, Poul-Henning Kamp wrote:

> binary

See also RFC 5905 section 6.

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:50:44 2012
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 B872821F85F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:50:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, BAYES_00=-2.599, 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 aePKQJGBsP92 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:50:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D7E8A21F85B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:50:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss7zX-0005eT-Gz for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:51:15 +0000
Resent-Date: Fri, 20 Jul 2012 07:51:15 +0000
Resent-Message-Id: <E1Ss7zX-0005eT-Gz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss7zN-0005ZV-IX for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:51:05 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss7zH-0000HR-SQ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:51:05 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id C00573B77A; Fri, 20 Jul 2012 07:50:38 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6K7ocu7021742; Fri, 20 Jul 2012 07:50:38 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: Ted Hardie <ted.ietf@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 10:21:54 +1000." <E27FE97D-31C4-46CD-BF11-83BA605E69B6@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 07:50:38 +0000
Message-ID: <21741.1342770638@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ss7zH-0000HR-SQ e86a8d128862fc6a279fe73828be440f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Semantics in HTTP 2.0
Archived-At: <http://www.w3.org/mid/21741.1342770638@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14628
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>

In message <E27FE97D-31C4-46CD-BF11-83BA605E69B6@mnot.net>, Mark Nottingham wri
tes:

>Treating HTTP/2.0 like this is only going to make this work longer and =
>deployment riskier.

... but also more likely.

We don't have a stick, we can only offer carrots.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:52:51 2012
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 B445321F85B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:52:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.898
X-Spam-Level: 
X-Spam-Status: No, score=-9.898 tagged_above=-999 required=5 tests=[AWL=0.701, BAYES_00=-2.599, 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 ZnfiX54aiSb3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:52:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C89B821F8504 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:52:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss81c-00067Y-2n for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:53:24 +0000
Resent-Date: Fri, 20 Jul 2012 07:53:24 +0000
Resent-Message-Id: <E1Ss81c-00067Y-2n@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss81Q-00062q-DJ for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:53:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ss81K-00029Q-Ac for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:53:12 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6K7qTeL022621; Fri, 20 Jul 2012 09:52:29 +0200
Date: Fri, 20 Jul 2012 09:52:29 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: Osama Mazahir <OSAMAM@microsoft.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120720075229.GJ20313@1wt.eu>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <500908AF.8030901@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ss81K-00029Q-Ac 6d778009defe66939618e8dcc2c720d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120720075229.GJ20313@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14629
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 Fri, Jul 20, 2012 at 07:28:47PM +1200, Amos Jeffries wrote:
> >But it does not cover the client which immediately receives the 417 and
> >which refrains from sending and instead reuses the connection.
> 
> Did you mean the tricky case where encoding is attempted and the 417 
> returns.

no, see with the example below :-)

> Could we mandate a minimum client timeout suitable for slow high latency 
> connections. Or suggest that it is linked to RTT somehow? as you say it 
> is RTT related race, making a timeout depend on RTT seams reasonable if 
> possible.

Application never have any idea of RTT, especially when they're behind
reverse-proxies.

> >It is all a matter of race condition : depending on the RTT between the
> >client and the server, the exact same sequence of operations at both sides
> >may lead to a different behaviour :
> >   - only headers are sent, client does not send body and goes on with next
> >     request ;
> >   - body starts to be sent and server has to drain it.
> >
> >So the server cannot detect whether what follows is a body or a next
> >request.
> >
> >I suspect that sending request-looking data in a POST with an Expect
> >header might produce interesting results which merit being studied on
> >various products :
> >
> >    POST /public HTTP/1.1
> >    Host: www.example.com
> >    Expect: 100-Continue
> >    Content-Length: 100
> >
> >    GET /private HTTP/1.1
> >    Host: www.example.com
> 
> In the above example the use of content-length requires that the server 
> drain 100 bytes regardless of what the client does.

Exactly. The problem is that the client is not forced to send data on a
failed expectation (which is the purpose). Imagine with the example above :

   Client                                                           Server
        -------------------- request headers ------------------------>

        <----------- 417 failed --------------------------------------

        ------ no body, then go on with next request ---------------->

Or :

   Client                                                           Server
        -------------------- request headers ------------------------>

                                      ... <------ 417 failed ---------
        ---------- tired of waiting, sending body ------------------->
        <------ 417 failed ------ ...


In both situations, the server receives something after it has sent 417.
In one case it's the next request and in the other case it's the body.
It could be the same with 401 BTW.

So after a failed expectation with a content-length, the connection must
not be reused. Chunked encoding does not have this issue however since
the end of the message is always known.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:53:28 2012
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 6A61321F84F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:53:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.799
X-Spam-Level: 
X-Spam-Status: No, score=-6.799 tagged_above=-999 required=5 tests=[AWL=3.800, BAYES_00=-2.599, 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 IC22jZDtidfM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:53:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 790B921F84EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:53: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 1Ss82J-0006EF-Ki for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:54:07 +0000
Resent-Date: Fri, 20 Jul 2012 07:54:07 +0000
Resent-Message-Id: <E1Ss82J-0006EF-Ki@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Ss829-0006Bi-1n for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:53:57 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Ss823-0002BI-7H for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:53:56 +0000
Received: by wgbdt14 with SMTP id dt14so3059517wgb.26 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 00:53:24 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=/3NdyY1zgHCRPEzoSf8sDcBdkEGMPyhYj4nt/VnpmE4=; b=Vy7k0kTIRMfd8VzxFWGU36vOA+HhzGYM8/dEmYybec+r9gr7BAcoCVaK2KeFcLS+vJ ZoBybkB8AWRHfTgpwXTgBu0SLnBNnfZEVRjmPZ041GDtkaBmI8OniY1yAbkMZf1VJR04 XLQnCdDxN+tOIs9Qt1KeANMuxRqOwsVcbcNvSD4zuxmEkcpbqS0/vfTOoRKbDpeSkb7X WCcaojee4cDfQnfSZBPYbkFjhiab8mFvmHkh0AHbX2mH68ptadKE5kZ33Cuk1Dqv3hfH FwTuecpImogieBZSU8HEyfwY1XcpNkTeRdqu6G+jMQpsDBjJuzX1GLijlflGYYj1LDFR F4YA==
Received: by 10.180.97.106 with SMTP id dz10mr11708967wib.21.1342770804749; Fri, 20 Jul 2012 00:53:24 -0700 (PDT)
Received: from [192.168.1.10] (AAubervilliers-651-1-320-113.w83-200.abo.wanadoo.fr. [83.200.31.113]) by mx.google.com with ESMTPS id ef5sm13019429wib.3.2012.07.20.00.53.21 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jul 2012 00:53:24 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Henry Story <henry.story@bblfish.net>
In-Reply-To: <20120720093639.32c6184c@ginster.fritz.box>
Date: Fri, 20 Jul 2012 09:53:20 +0200
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C9DBF04-589C-400D-A879-6E4044E2A4D4@bblfish.net>
References: <20120719184924.GM16208@1wt.eu> <18936.1342728095@critter.freebsd.dk> <20120720093639.32c6184c@ginster.fritz.box>
To: Werner Baumann <werner.baumann@onlinehome.de>
X-Mailer: Apple Mail (2.1278)
X-Gm-Message-State: ALoCoQm+Kv5eQdVjziBGl7si7G1jXnys16DB63rdk7yFkbMZcq9xszXtzKq1OFa5ByXY8DtPxrIO
Received-SPF: none client-ip=74.125.82.45; envelope-from=henry.story@bblfish.net; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Ss823-0002BI-7H 8de77c3e3ec6bba5e58f972788a44991
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP without being HTTPS all the time
Archived-At: <http://www.w3.org/mid/3C9DBF04-589C-400D-A879-6E4044E2A4D4@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14630
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 20 Jul 2012, at 09:36, Werner Baumann wrote:

> Am Thu, 19 Jul 2012 20:01:35 +0000
> schrieb "Poul-Henning Kamp" <phk@phk.freebsd.dk>:
>=20
>> In message <20120719184924.GM16208@1wt.eu>, Willy Tarreau writes:
>>=20
>>> As usual, Adam gave a nice description there, and I'm sure many of
>>> us are aware of the issues he describes. I'm among those who
>>> consider that having only some pages of a site secured is dangerous.
>>> Either the site is clear or it's not.
>>=20
>> What about sites that are HTTP until you log in, then switch to
>> HTTPS ?
>>=20
>> That's a perfectly fair & sensible way to avoid spending resources
>> on non-paying visitors.
>>=20

Not at all. If you have part of your site that is on http, those parts
of your site could be man in the middle attacked, so that once you reach
click on the login button, you end up on a different - though similarly
named site, or simply the login procedure has been altered. Without =
HTTPs
you cannot guarantee the integrity of what you receive. You don't even =
know
you are receiving it from the right site initially. =20

>=20
> Looking at Adam's example: the problem is not mixing of HTTP and =
HTTPS.
> The error happens when the user follows a non-trustworthy link and =
then
> believes it to be secure because its HTTPS. These dangerous links are
> not restricted to HTTP-sites they may be in HTTPS-sites as well (and
> other places).

yes, because the HTTP site could be man in the middled and so the person
end up on an httpS site that is run by a different agent. And indeed =
just
looking at the HTTPS icon is not enough. You may indeed be correctly=20
connected to the thief's web site. If you think you were still on the =
original
site then you are mistaken.=20

>=20
> There is only one way to defend against this: the *user* must verify,
> and be able to verify, that the HTTPS-url is the one she wants. The
> first step in user security is always the informed decision by the
> user. No way around. Technical means can only assist (and should
> assist and not confuse).

In fact you cannot find purely technical solutions to this. You need to =
find=20
techno-social ones, that allow trust to be extended and confirmed by =
many=20
different actors, where each user can choose the set of trust agents he =
wishes
to be guided by.

I recently put forward some ideas on how one can find technico-social =
solutions
to this using WebID and LinkedData

"WebID and eCommerce"
http://bblfish.net/blog/2012/04/30/

This goes beyond the scope of this WG, but that does not mean that it is =
not=20
of interest to it.=20

>=20
> The current state of helping the user to make informed decisions is
> very bad. The infamous dialog on unverifyable certificates is just one
> example. Telling users they are secure because it is HTTPS or =
all-HTTPS
> wil make things worse.
>=20
> Regarding banking: my bank advices me to type the HTTPS-url of the
> login page by hand. I think this is good advice. But they are not
> consequent and offer a link on their HTTP-site as well.
>=20
> Werner
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:56:35 2012
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 2798B21F85EA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:56:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.992
X-Spam-Level: 
X-Spam-Status: No, score=-8.992 tagged_above=-999 required=5 tests=[AWL=1.607, BAYES_00=-2.599, 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 WqUl0I6+n8On for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:56:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8B09821F85D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:56:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss84Y-0008B7-8Q for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:56:26 +0000
Resent-Date: Fri, 20 Jul 2012 07:56:26 +0000
Resent-Message-Id: <E1Ss84Y-0008B7-8Q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ss84N-0008AM-5e for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:56:15 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ss84L-0002Fc-VY for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:56:15 +0000
Received: (qmail invoked by alias); 20 Jul 2012 07:55:22 -0000
Received: from p54BB27D6.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.39.214] by mail.gmx.net (mp002) with SMTP; 20 Jul 2012 09:55:22 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+hfCoWUYuhLHQFqhc0/xjqVLgjbK8GKuQxU4rlku ZhXThUBX62aaZb
Message-ID: <50090EE9.7010304@gmx.de>
Date: Fri, 20 Jul 2012 09:55:21 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Bruce Perens <bruce@perens.com>
CC: ietf-http-wg@w3.org
References: %3Cem4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed%3E <5008E7A3.1050705@perens.com>
In-Reply-To: <5008E7A3.1050705@perens.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss84L-0002Fc-VY 4c1107089c4a0695b77103492f2f8c24
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/50090EE9.7010304@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14631
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 2012-07-20 07:08, Bruce Perens wrote:
> Hi Adrien,
>
> I use ETag because of an insufficiency in RFC 2616 dates: their
> resolution is one second. Updates to entities at sub-second intervals
> are possible and would result in entities with the same Last-Modified
> date. To be pedantically resolution-independent, I convert the date/time
> to a string representation of a ratio. It's presently the number of
> nanoseconds since the epoch. I encode that and an entity serial number
> in the ETag.
>
> If HTTP dates are extended to have sub-second resolution, I will
> probably be able to do without ETags.

That explains the choice of ETags, but not necessarily *weak* ETags.

(I think Apache httpd uses weak etags if it can't get a sub-second 
timestamp from the file system)

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 00:58:22 2012
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 6A53F21F84F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:58:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, BAYES_00=-2.599, 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 KxIAWlYgvR1Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 00:58:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AF82221F84DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 00:58:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss870-0008QF-8W for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 07:58:58 +0000
Resent-Date: Fri, 20 Jul 2012 07:58:58 +0000
Resent-Message-Id: <E1Ss870-0008QF-8W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss86q-0008PP-27 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 07:58:48 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ss86m-0000Vp-1b for ietf-http-wg@w3.org; Fri, 20 Jul 2012 07:58:48 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 380153B767; Fri, 20 Jul 2012 07:58:23 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6K7wM45021926; Fri, 20 Jul 2012 07:58:23 GMT (envelope-from phk@phk.freebsd.dk)
To: Carsten Bormann <cabo@tzi.org>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 09:50:20 +0200." <7C4B2D6A-4847-49ED-A6E1-1DA8CF672A00@tzi.org>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 07:58:22 +0000
Message-ID: <21925.1342771102@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ss86m-0000Vp-1b 781718739bad17ffb8eefe969eae24bc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/21925.1342771102@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14632
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>

In message <7C4B2D6A-4847-49ED-A6E1-1DA8CF672A00@tzi.org>, Carsten Bormann writ
es:
>On Jul 20, 2012, at 09:25, Poul-Henning Kamp wrote:
>
>> binary
>
>See also RFC 5905 section 6.

Yes.

Although I think going full NTP is overkill, in particular because
timestamps tend to have very high entropy in the lower bits.

I think chosing a 16bit fraction will last us 20 years, but more
importantly, expanding a 16bit fraction to 32bits is just a matter
of stick on more bits, whereas a 16bit count of milliseconds is
a nightmare to extend.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 01:22:19 2012
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 8203821F85E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 01:22:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.383
X-Spam-Level: 
X-Spam-Status: No, score=-10.383 tagged_above=-999 required=5 tests=[AWL=0.216, BAYES_00=-2.599, 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 kMUF3TPPJU51 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 01:22:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EDB0A21F855E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 01:22:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss8Ss-0006IX-Ur for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 08:21:34 +0000
Resent-Date: Fri, 20 Jul 2012 08:21:34 +0000
Resent-Message-Id: <E1Ss8Ss-0006IX-Ur@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss8Si-0006HO-1h for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 08:21:24 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Ss8SZ-00037I-PZ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 08:21:24 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 326D810EDAC; Fri, 20 Jul 2012 20:20:47 +1200 (NZST)
Message-ID: <500914D1.8090707@treenet.co.nz>
Date: Fri, 20 Jul 2012 20:20:33 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: ietf-http-wg@w3.org
References: <20120719213630.GA20313@1wt.eu> <19658.1342737373@critter.freebsd.dk> <20120720054413.GC20313@1wt.eu> <5008FC4A.6050002@treenet.co.nz> <20120720070237.GH20313@1wt.eu>
In-Reply-To: <20120720070237.GH20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ss8SZ-00037I-PZ d214fe62140b6f1a156fb0e53f378864
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/500914D1.8090707@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14633
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 20/07/2012 7:02 p.m., Willy Tarreau wrote:
> On Fri, Jul 20, 2012 at 06:35:54PM +1200, Amos Jeffries wrote:
>> Client-generated session ID, is just a key / salting value. That gives
>> us a couple of things:
> I agree, this is equivalent to salting.
>
>>   1) client can ensure that it is unique (at least relative to any other
>> one they generate) over some long time period
>>   2) client can maintain multiple sessions to the same server simultaneously
>>   3) client can share session ID between software on their own machine
>> (ie several browser tabs, or a browser tab and some independent
>> credentials manager software)
>>   4) client can implement do-not-track by omitting the session ID from
>> any request, OR changing it frequently, OR sending some max-age property
>> for expiry.
>>   5) client can "logout" at will by erasing the state associated
>> (possibly informing the server, but not necessarily)
>>   6) limited meaning - simplicity leads to better security through
>> easier understanding and thus correct use.
>>     Making it mean just "here is a reference ID to the data I have on
>> you" is simple.
> OK.
>
>> The server can not be expected to rely on that session ID alone as any
>> kind of UUID. They need to be able to assign session based on that ID
>> *plus* any other information they have available to guarantee the
>> uniqueness (client IP, channel number, socket number, UA header, phase
>> of the moon, whatever)
> Warning when you're saying this, some of these info are neither stable
> nor unique to the client, they provide low value when building an ID.

That is intentional.
The server determines these values, so has control over how much it 
trusts the client, indeed how it defines "client", for portability of 
the session state at the server end. ie whether to protect against 
replay attacks, mobility support, future P2P facebook network.

That bank you work for would likey want to prevent clients moving 
country within a session. Google search may not care.

All the benefits we currently enjoy with server-sessions are retained. 
Along with this extra security from salting to uniquey identify the 
client end-point.



>
>>   1) server can use it as a salting value to uniquely identify the
>> separate client sessions. IFF, the server uses additional data to
>> generate the session.
>>   2) server can track the session across any requests regardless of
>> delivery method (relative to what the server tacks on as extra key bits
>> for its own end - this also determins/limits theft of session-ID key risk).
>>   3) middleware can play to its hearts content, altering session IDs to
>> new values. They mean nothing but opaque blob to the recipients end,
>> worst case is fail-closed if they are used for anything security related.
> It's not as simple : if we want it to be simple for both ends, ideally
> a fixed-length well-defined ID is fine. However its use will be too
> limited (middleware cannot rely only on "learning" IDs, they need to
> put deterministic information there such as server identifiers when
> performing load balancing between multiple DCs, DMZ, ...).

Why can't server identifiers be associated with learnt IDs? What is 
learning apart from the LB playing server with its session-state 
containing a pointer at another server which does the donkeys work 
(using the same session-ID, OR a new one from the LB generated for the 
unique client).


> If we have a variable-sized ID that intermediaries can fiddle with,
> then it's harder to put that in the protocol and we risk seeing it
> degraded as cookies to put whatever in them.
>
> Maybe we need a specific part for routing information, but I'm really
> not convinced this is needed. I think in fact that the client-generated
> ID should be fix-sized and always present, and that the server-generated
> part could be variable with a limited size so that it is not abused
> anymore.

To prevent mis-use the way cookies were I agree.

Do we have any data on how many systems are abusing session-cookie IDs 
and the equivalent to encode data over the wire?
Given that we are not burning Cookie at the gateway (using it for data 
transfer is easier), what is the actual risk here?

>
>> What we have in abstract is a shared session between client and server,
>> where those client/server endpoints may be any number of Federated
>> softwares or machines. Each end has its own state, which may or may not
>> be conveyed over the links,
> Wait a minute, a few times in this thread I felt like there was an issue
> here, it's important to keep in mind that there is not a single-end on the
> server side. Servers are often split between multiple machines, multiple
> DMZ, multiple areas, multiple DCs for a single client session, and with
> various possible paths between them without the client ever being aware
> of it. It's important because there is not an "own state" as called here,
> but a global state made of many independant states.

Understood. I have been working from that viewpoint.
IFF the servers federate behind an LB they have the same shared session 
state - no problems with rleation to teh client and client connectivity 
(lag maybe but not HTTP protocol related).
If not, they have different state. They can all safely receive the same 
client session-ID since it is opaque to them, and no data is sent back 
to the client be receiving it. The servers responding with different 
session-ID makes it clear to the client when and where context shifting 
of the state at its end required.

Where I stop in this rabbit hole is at client determination of what to 
do when its got state and the servers its talking too keep changing. I'm 
hoping the browser people might be able to shed a bit of light that we 
can continue a bit further there.

> (...)
>>> Based on your first point above, I think that the client could build
>>> *part* of the ID. If the client generates a 64-bit random for instance,
>>> it doesn't ensure unicity, which is a server's task, but it saves it
>> >from being injected another ID. So from the server's point of view,
>>> a client could be identified by the couple of (ID1,ID2) where ID1 is
>>> invented by the client and unknown from JS and ID2 is invented by the
>>> server.
>> Exactly. Neither end being required to complete the session, or even to
>> inform what its internal session ID key (or even algorithm) is.
>>
>>> We could then even keep cookies as they are for ID2, and just use a
>>> new identifier for ID1. That way we remain compatible with HTTP/1
>>> (important goal) and HTTP/2to1 gateways can pass ID1 into a header
>>> field that the server can use.
>> IMO, we can ignore Cookies as headers for all of this. Sessions in
>> Cookies are already largely the provence of web servers and if servers
>> and browser roll out the new session they will be able to drop use of
>> session-cookie cleanly when Session-ID no longer needs to be
>> encapsulated inside one.
> Only when the session-id is able to convey as much information as is
> needed to route the request to its target. Right now cookies are used
> *a lot* for this. I know some places where there are up to 6 layers
> of server farms with multiple possible paths between them (think many
> portals for similar access to same information), and the only way to
> know where to pass through is to use the information inserted by LBs
> into cookies. To completely get rid of cookies we need to be able to
> store this routing information somewhere else (I would love this, so
> that we don't have to deal with this horrible cookie header anymore).
> But this is not a small issue to deal with.

That is our discussions on where to take network-friendly request-ID 
field come in. Being separate from end-to-end session it provides enough 
hop-by-hop state and multiple request linkages to form a stateful flow 
out of a hierarchy with stateless input.


>
>> Cookies as used for data transfer is a different problem entirely and
>> should not be tackled by the creation of a session state semantics.
> Cookies are even more generic, they're just a copy of opaque data the
> server needs when the client gets back. Originally it was just a way
> to find the pointer to the session (which is routing information as
> well after all). But they were completely abused to carry anything
> everywhere and the first issue is that JS has access to them.

Aye. But to kill them we have to pull out their utility and provide 
easier tools for their users to work with. Killing them with efficiency 
as it were. One slice at a time.

Amos



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 01:24:36 2012
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 5E73821F855E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 01:24:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.476
X-Spam-Level: 
X-Spam-Status: No, score=-8.476 tagged_above=-999 required=5 tests=[AWL=2.123, BAYES_00=-2.599, 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 6SAiJW5Ep60Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 01:24:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4B8A21F84DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 01:24:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ss8UU-0006Sa-NW for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 08:23:14 +0000
Resent-Date: Fri, 20 Jul 2012 08:23:14 +0000
Resent-Message-Id: <E1Ss8UU-0006Sa-NW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1Ss8UK-0006Ph-Hm for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 08:23:04 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1Ss8UJ-0001Fg-Jn for ietf-http-wg@w3.org; Fri, 20 Jul 2012 08:23:04 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q6K8MYRv001957; Fri, 20 Jul 2012 10:22:34 +0200 (CEST)
Received: from [10.0.1.2] (reingewinn.informatik.uni-bremen.de [134.102.218.123]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 7D780D2D; Fri, 20 Jul 2012 10:22:34 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <21925.1342771102@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 10:22:34 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5611CB89-025B-4619-A007-4446241B1DBB@tzi.org>
References: <21925.1342771102@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ss8UJ-0001Fg-Jn c2ce290b52e9d866fca4dd5c070fb107
X-Original-To: ietf-http-wg@w3.org
Subject: Mibiseconds (Re: Our old friends, weak ETags)
Archived-At: <http://www.w3.org/mid/5611CB89-025B-4619-A007-4446241B1DBB@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14634
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 Jul 20, 2012, at 09:58, Poul-Henning Kamp wrote:

> milliseconds

Indeed, using milliseconds for anything is a "protocol smell".

If the resolution of milliseconds is about right for your needs, use =
mibiseconds (1/1024 s).

But this is off-topic for HTTP dates, for which mibiseconds are too =
long.
(And sorry for the Java guys :-)

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 03:33:15 2012
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 3936E21F8499 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 03:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.581
X-Spam-Level: 
X-Spam-Status: No, score=-10.581 tagged_above=-999 required=5 tests=[AWL=0.018, BAYES_00=-2.599, 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 1Rcid1fmwHr4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 03:33:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 73C8321F8498 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 03:33:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsAV1-0001ja-Js for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 10:31:55 +0000
Resent-Date: Fri, 20 Jul 2012 10:31:55 +0000
Resent-Message-Id: <E1SsAV1-0001ja-Js@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SsAUq-0001ip-Oh for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 10:31:44 +0000
Received: from smtpout7.laposte.net ([193.253.67.232] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SsAUl-0005wv-8F for ietf-http-wg@w3.org; Fri, 20 Jul 2012 10:31:44 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8514-out with ME id caX41j0034WQcrc03aX4MH; Fri, 20 Jul 2012 12:31:12 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 1FB412E31AD; Fri, 20 Jul 2012 12:31:04 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jYxLcshfAo1Z; Fri, 20 Jul 2012 12:30:52 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Fri, 20 Jul 2012 12:30:52 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Fri, 20 Jul 2012 12:30:52 +0200
Message-ID: <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>
Date: Fri, 20 Jul 2012 12:30:52 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Amos Jeffries" <squid3@treenet.co.nz>
Cc: "Willy Tarreau" <w@1wt.eu>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.232; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsAUl-0005wv-8F 991183a5dd20d5743795fc1119815a84
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14635
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>

>> But they were completely abused to carry anything
>> everywhere and the first issue is that JS has access to them.

>Aye. But to kill them we have to pull out their utility and provide
>easier tools for their users to work with.

Actually the main cookie issue is that their scope is fuzzy, so everyone
(server, intermediaries, user agents) applies heuristics to what has
access and when, resulting in very brittle configurations that are abused
just by stepping outside the heuristic writer assumptions (most often
without malicious thoughts). And because agents tend to be conservative
about the scope to avoid breakage, it was open to many abuses.

To have a reliable system you would need something like the following:

1. at the start of a stateful interaction the server (only actor that
knows it will need state) challenges the user agent for a new unique id,
and provides a unique state tag (short so it can not be abused for
anything else)

2. the user agent generates it following its own rules and sends it to the
server. Server gets no say in what ends up in the id (can only reject it
if not unique)

3. the server then tags anything related to this state with its tag (bank
logo is not stateful, even if sent over tls, it's ok for the user agent to
reuse it later in another tab)

4. it also explicitely tags the URLs over which it expects stateful answers

5. the user agent tags its use of those URLs with the id it provided at
the beginning of the interaction

6. if at any point server of user agent get any answer/request that
reference an unknown or stale tag/id (too old, node ip change , whatever)
they dump it (or request a retry with a 'good' id if you prefer). No one
is supposed to reuse anything tagged with an old session id.

7. multiple levels of state can exist at the same moment, but they are all
transient (secure clients refuse indefinite states)

That is more reliable and less open to abuses (and it prevents all the
breakage that occurs when some content is served from cache or a page is
reloaded). But it forces the server (not the client) to maintain what's
associated with a particular state and to define precisely the state
boundaries. So it's going to be more expensive for webapp authors. And
it's not going to be popular web application-side (but then reliable is
never cheap for the easy cases. Reliable forces everyone to pay the
difficult cases costs). Cookies are convenient just like global variables
in php were convenient till people realised they were too abuse-prone to
live.

(and this is not intended to be secure, just protect from the problems
that occur today when one part of the chain gets confused over what it can
reuse. For security you probably need to add more)

I'm quite sure that if such a mechanism existed today the EU would have
just banned cookie use altogether.

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 03:42:40 2012
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 3A29D21F8616 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 03:42:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, BAYES_00=-2.599, 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 nTWBqoTBECm6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 03:42:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0349C21F8621 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 03:42:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsAet-0005Ww-Cb for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 10:42:07 +0000
Resent-Date: Fri, 20 Jul 2012 10:42:07 +0000
Resent-Message-Id: <E1SsAet-0005Ww-Cb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsAej-0005WB-5K for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 10:41:57 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsAed-0008GW-G4 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 10:41:57 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 28A773B763; Fri, 20 Jul 2012 10:41:30 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KAfOTq022366; Fri, 20 Jul 2012 10:41:25 GMT (envelope-from phk@phk.freebsd.dk)
To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
cc: "Amos Jeffries" <squid3@treenet.co.nz>, "Willy Tarreau" <w@1wt.eu>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 12:30:52 +0200." <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 10:41:24 +0000
Message-ID: <22365.1342780884@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsAed-0008GW-G4 b2553628568839f94a2d7fe320086184
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/22365.1342780884@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14636
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>

In message <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>, "Nicol
as Mailhot" writes:

>1. at the start of a stateful interaction the server (only actor that
>knows it will need state) challenges the user agent for a new unique id,
>and provides a unique state tag (short so it can not be abused for
>anything else)

I think we can speed up this safely by allowing the client to always
offer a unique ID without being asked.  If the server doesn't need it,
it will just ignore it.

>I'm quite sure that if such a mechanism existed today the EU would have
>just banned cookie use altogether.

Indeed.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 03:44:50 2012
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 1215A21F860B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 03:44:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.392
X-Spam-Level: 
X-Spam-Status: No, score=-10.392 tagged_above=-999 required=5 tests=[AWL=0.207, BAYES_00=-2.599, 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 GwicUvZK35kV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 03:44:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 45E9B21F8575 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 03:44:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsAhl-0000Sr-7F for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 10:45:05 +0000
Resent-Date: Fri, 20 Jul 2012 10:45:05 +0000
Resent-Message-Id: <E1SsAhl-0000Sr-7F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsAha-0005oD-8y for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 10:44:54 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsAhY-0008L0-Gt for ietf-http-wg@w3.org; Fri, 20 Jul 2012 10:44:54 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 15E3410EDAC; Fri, 20 Jul 2012 22:44:26 +1200 (NZST)
Message-ID: <50093680.2020603@treenet.co.nz>
Date: Fri, 20 Jul 2012 22:44:16 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Osama Mazahir <OSAMAM@microsoft.com>, Roberto Peon <grmocg@gmail.com>,  Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu>
In-Reply-To: <20120720075229.GJ20313@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsAhY-0008L0-Gt 7efac35474a86e4850b68ed16a5fd370
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/50093680.2020603@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14637
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 20/07/2012 7:52 p.m., Willy Tarreau wrote:
> On Fri, Jul 20, 2012 at 07:28:47PM +1200, Amos Jeffries wrote:
>>> But it does not cover the client which immediately receives the 417 and
>>> which refrains from sending and instead reuses the connection.
>> Did you mean the tricky case where encoding is attempted and the 417
>> returns.
> no, see with the example below :-)
>
>> Could we mandate a minimum client timeout suitable for slow high latency
>> connections. Or suggest that it is linked to RTT somehow? as you say it
>> is RTT related race, making a timeout depend on RTT seams reasonable if
>> possible.
> Application never have any idea of RTT, especially when they're behind
> reverse-proxies.
>
>>> It is all a matter of race condition : depending on the RTT between the
>>> client and the server, the exact same sequence of operations at both sides
>>> may lead to a different behaviour :
>>>    - only headers are sent, client does not send body and goes on with next
>>>      request ;
>>>    - body starts to be sent and server has to drain it.
>>>
>>> So the server cannot detect whether what follows is a body or a next
>>> request.
>>>
>>> I suspect that sending request-looking data in a POST with an Expect
>>> header might produce interesting results which merit being studied on
>>> various products :
>>>
>>>     POST /public HTTP/1.1
>>>     Host: www.example.com
>>>     Expect: 100-Continue
>>>     Content-Length: 100
>>>
>>>     GET /private HTTP/1.1
>>>     Host: www.example.com
>> In the above example the use of content-length requires that the server
>> drain 100 bytes regardless of what the client does.
> Exactly. The problem is that the client is not forced to send data on a
> failed expectation (which is the purpose). Imagine with the example above :
>
>     Client                                                           Server
>          -------------------- request headers ------------------------>
>
>          <----------- 417 failed --------------------------------------
>
>          ------ no body, then go on with next request ---------------->
>
> Or :
>
>     Client                                                           Server
>          -------------------- request headers ------------------------>
>
>                                        ... <------ 417 failed ---------
>          ---------- tired of waiting, sending body ------------------->
>          <------ 417 failed ------ ...
>
>
> In both situations, the server receives something after it has sent 417.
> In one case it's the next request and in the other case it's the body.
> It could be the same with 401 BTW.
>
> So after a failed expectation with a content-length, the connection must
> not be reused. Chunked encoding does not have this issue however since
> the end of the message is always known.

That is still a content-length case though (absene of encoding type). 
Part 1 section 3.3.3 point #5.  In all of those cases content-length 
amount of bytes MUST be sent or the connection aborted.
417 is a final response to that initial request. Therefore the server 
drains the content-length body and connection re-use can begin. Client 
is responsible for aborting the connection or padding with disposable 
garbage bytes.  At no point can the client send content-length then 
re-use the connection earlier.


Amos


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 04:03:29 2012
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 A1ACD21F84C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:03:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 JvLA5iqf4ppb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:03:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F181221F8495 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 04:03:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsAyn-0006tX-14 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 11:02:41 +0000
Resent-Date: Fri, 20 Jul 2012 11:02:41 +0000
Resent-Message-Id: <E1SsAyn-0006tX-14@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <samuel@erdtman.se>) id 1SsAyZ-0006sJ-0D for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 11:02:27 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <samuel@erdtman.se>) id 1SsAyT-0007VN-82 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 11:02:26 +0000
Received: by lbom4 with SMTP id m4so5128847lbo.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 04:01:54 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding:x-gm-message-state; bh=z5pjNpr4ZgSGrnClkg250mIiAhzwKehDsvKgovPosWw=; b=T4lx9ptjkPokx04N3paMoyzlSD7MRER4yRoN6j4AoVLzy9hY07C0cHHYDWp+NvL1Tn IaJeTbI0yoegaRlyrccnHRSMtg5wOjC6d4ICkhb8KmyYnwyXcN43UrU5VJg63IblV/F7 d0VAu2op/5JtXDryoCMM1sriNiNd8CEGwWiWmVXSm5766SfgOTAjmM9x8jz3nndGMS6v 5vlxzOJiur70pgoOrxdu/3bLQmUqJAyonpFAQzAiu/aXWg7bBR8VbOvblMaH63ElhrgL Mq6ksMfRasTf2mOJxRqbfm/OVuc2t4wHuERKFiv4KItOMGt4VKchz+uE6gHj67WgJutN DqOg==
MIME-Version: 1.0
Received: by 10.152.102.234 with SMTP id fr10mr5872359lab.32.1342782114097; Fri, 20 Jul 2012 04:01:54 -0700 (PDT)
Received: by 10.112.8.162 with HTTP; Fri, 20 Jul 2012 04:01:54 -0700 (PDT)
Date: Fri, 20 Jul 2012 13:01:54 +0200
Message-ID: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com>
From: Samuel Erdtman <samuel@erdtman.se>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQntaV+E653CQaAM6CYGtuTzsjKkj8g2InpXXT9uEkzwqrmSVzOgIWOSNlHbkRspc0jf5v6S
Received-SPF: none client-ip=209.85.217.171; envelope-from=samuel@erdtman.se; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SsAyT-0007VN-82 ed9e0452e24b5fda8d4029c3809c4c0c
X-Original-To: ietf-http-wg@w3.org
Subject: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14638
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>

After following the general dissuasion the last couple of days I have
a few questions/thought.

How is statelessness affected by introducing session headers and more
persistent connections for multiplexing and server push?

Have the requirements for REST APIs been considered? I have not seen
any one mentioning this aspect of http2, but it should be since if
current trends continue API calls will generate more traffic then
direct end-user browsing in the future.

Much effort is put in to solving bandwidth and number of connections
problems, should we also consider how resources could be
specified/marked as offline available. I don=B4t think this is problems
of the future though since bandwidth, battery and connectivity gets
better all the time.

It has been a flood of emails the last couple of days so I have not
ben able to read all in detail, i.e. I might have missed if there has
been discussions on these questions/thought previously, in that case
I=B4m sorry for bringing them up again.

Regards
//Samuel


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 04:16:04 2012
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 02DC721F8569 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:16:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.582
X-Spam-Level: 
X-Spam-Status: No, score=-10.582 tagged_above=-999 required=5 tests=[AWL=0.017, BAYES_00=-2.599, 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 Hn4CCB5EQq9T for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:16:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 54D0A21F84C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 04:16:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsBBL-0006UG-14 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 11:15:39 +0000
Resent-Date: Fri, 20 Jul 2012 11:15:39 +0000
Resent-Message-Id: <E1SsBBL-0006UG-14@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SsBBA-0006TV-0H for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 11:15:28 +0000
Received: from smtpout7.laposte.net ([193.253.67.232] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SsBB3-00011B-3K for ietf-http-wg@w3.org; Fri, 20 Jul 2012 11:15:27 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8514-out with ME id cbEr1j0054WQcrc03bEsuv; Fri, 20 Jul 2012 13:14:54 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 9F59D2E31AD; Fri, 20 Jul 2012 13:14:51 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EMP8kqW4JEtZ; Fri, 20 Jul 2012 13:14:39 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Fri, 20 Jul 2012 13:14:38 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Fri, 20 Jul 2012 13:14:39 +0200
Message-ID: <8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org>
In-Reply-To: <22365.1342780884@critter.freebsd.dk>
References: <22365.1342780884@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 13:14:39 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "Amos Jeffries" <squid3@treenet.co.nz>, "Willy Tarreau" <w@1wt.eu>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.232; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsBB3-00011B-3K 810991a29855e6b5491111dea6a51c21
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14639
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>

Le Ven 20 juillet 2012 12:41, Poul-Henning Kamp a écrit :
> In message <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>,
> "Nicol
> as Mailhot" writes:
>
>>1. at the start of a stateful interaction the server (only actor that
>>knows it will need state) challenges the user agent for a new unique id,
>>and provides a unique state tag (short so it can not be abused for
>>anything else)
>
> I think we can speed up this safely by allowing the client to always
> offer a unique ID without being asked.  If the server doesn't need it,
> it will just ignore it.

The problem if you do it this way is that:
1. state becomes implicit to anyone but the server
2. the user agent has no information when it can switch id without
breaking apps
3. the user agent has no information if it should share the id with
another site or not
4. you make it unsafe to cache anything if app writers posit (as they will
if you don't force them to delimit state boundaries) that they can rely on
responses not being shared between user agents that sent different ids

So user agents will end up publishing all the time an id with indefinite
lifetime, on all web sites (I'm pretty sure this is bad for privacy, it
would be worse than the doubleclick cookies)

Now of course I'm not a security expert so I'll bow to their judgement.

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 04:23:49 2012
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 3EA0421F8532 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:23:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 WSCLWPASRq-R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:23:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72A4A21F851E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 04:23:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsBIu-0000ND-4t for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 11:23:28 +0000
Resent-Date: Fri, 20 Jul 2012 11:23:28 +0000
Resent-Message-Id: <E1SsBIu-0000ND-4t@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ipad.wenk@gmail.com>) id 1SsBIj-0000MR-48 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 11:23:17 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ipad.wenk@gmail.com>) id 1SsBId-0008DO-6P for ietf-http-wg@w3.org; Fri, 20 Jul 2012 11:23:17 +0000
Received: by obqv19 with SMTP id v19so5225020obq.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 04:22:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=4kvOxxYG0V/y+ZYoQzzM1z5wIkEL9qQ9AvqaU7kZjw4=; b=sXF7umzRpXCutPrDSLC3rajNRZ6W+btKnZBwcCyXagDZ+ANgqH7UKSpHUgLBwusakg FouR8DDisQgHs0MrRUhAn1lYdKfk8EdAAmn/2jFCwm/pwIEesjWvgUrri816CVh3sOwJ OIZkYWRuEcvIHbMTEu7l+7UFthC92QYQ+mYHrDA4gY0S53/wCaBjtwIW3hkI407DzCSU DplzNPaGoE7yAJ/4vdJUeHB9MsK5f+2pbYjr7QYe99mtDPF+RR2p1IVauFzugbefa+a7 WWMoCiMRfcyvv6ZlY8j+C6FCgNSxEZZ4mAkzgT6bSsjEnQ0SC19ykvV4bGTG34qf/tyw CX+A==
Received: by 10.182.228.6 with SMTP id se6mr6548823obc.29.1342783365220; Fri, 20 Jul 2012 04:22:45 -0700 (PDT)
MIME-Version: 1.0
Sender: ipad.wenk@gmail.com
Received: by 10.60.56.6 with HTTP; Fri, 20 Jul 2012 04:22:25 -0700 (PDT)
In-Reply-To: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com>
References: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com>
From: Andy Wenk <andy@nms.de>
Date: Fri, 20 Jul 2012 13:22:25 +0200
X-Google-Sender-Auth: LXf3yEu96laLxRZu9MHOBQZ_A9k
Message-ID: <CADA9kr9++KWLwD5K6qkjt0eaKKaGLgBamaEQq6AkpGFVyQrvEg@mail.gmail.com>
To: Samuel Erdtman <samuel@erdtman.se>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=ipad.wenk@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsBId-0008DO-6P 2d948e2ea94de418eb52135696459348
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/CADA9kr9++KWLwD5K6qkjt0eaKKaGLgBamaEQq6AkpGFVyQrvEg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14640
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 Samuel,

On 20 July 2012 13:01, Samuel Erdtman <samuel@erdtman.se> wrote:
> After following the general dissuasion the last couple of days I have
> a few questions/thought.
>
> How is statelessness affected by introducing session headers and more
> persistent connections for multiplexing and server push?
>
> Have the requirements for REST APIs been considered? I have not seen
> any one mentioning this aspect of http2, but it should be since if
> current trends continue API calls will generate more traffic then
> direct end-user browsing in the future.

could you point out what you mean here? I don't get the direct context
to the HTTP/2 protocol

> Much effort is put in to solving bandwidth and number of connections
> problems, should we also consider how resources could be
> specified/marked as offline available. I don=C2=B4t think this is problem=
s
> of the future though since bandwidth, battery and connectivity gets
> better all the time.
>
> It has been a flood of emails the last couple of days so I have not
> ben able to read all in detail, i.e. I might have missed if there has
> been discussions on these questions/thought previously, in that case
> I=C2=B4m sorry for bringing them up again.
>
> Regards
> //Samuel
>

Cheers

Andy

--=20
Andy Wenk
Hamburg - Germany


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 04:50:18 2012
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 3AF8E21F85C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:50:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.23
X-Spam-Level: 
X-Spam-Status: No, score=-8.23 tagged_above=-999 required=5 tests=[AWL=2.368, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 McUfJPgcwrct for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 04:50:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4851E21F859B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 04:50:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsBhz-0005lv-8o for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 11:49:23 +0000
Resent-Date: Fri, 20 Jul 2012 11:49:23 +0000
Resent-Message-Id: <E1SsBhz-0005lv-8o@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SsBho-0005kt-Fc for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 11:49:12 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SsBhl-0000t4-AZ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 11:49:12 +0000
Received: From [192.168.1.25] (unverified [122.57.154.179]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.3 (Build 3438)) with SMTP id <0019150149@smtp.qbik.com>; Fri, 20 Jul 2012 23:48:44 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 20 Jul 2012 11:48:36 +0000
Content-Type: multipart/mixed; boundary="------=_MB8B642CFA-61F2-4C99-B534-4A31E977413D"
Message-Id: <em76c3699f-4421-4d83-a26c-23d0a9c04883@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsBhl-0000t4-AZ 6d305152320e343a861e01e892bd8a2c
X-Original-To: ietf-http-wg@w3.org
Subject: Fw: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/em76c3699f-4421-4d83-a26c-23d0a9c04883@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14641
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>

--------=_MB8B642CFA-61F2-4C99-B534-4A31E977413D
Content-Type: multipart/alternative;
 boundary="------=_MB696F617A-4AE3-4D2A-8271-7710D8916E2F"


--------=_MB696F617A-4AE3-4D2A-8271-7710D8916E2F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Forwarded Message ------
From: "Bruce Perens" <bruce@perens.com>
Subject: Re: Our old friends, weak ETags

On 07/19/2012 10:22 PM, Adrien W. de Croy wrote:
>Hi Bruce, thanks for your answer.. but is this _weak_ ETags or just=20
>ETags in general?
[Please forward this to the mailing list, it won't let me post.]

Complicating the entire ETags issue is the fact that the responsibility=20
to negotiate a content encoding is in a different layer than my=20
application. It's happening in Phusion Passenger, or Nginx. So, that=20
layer has to do something sensible with an existing ETag that is opaque=20
to it. The choices are for it to put a Weak designator on that ETag, or=20
to append some text to the ETag that is specific to the content=20
encoding in use and is standardized across caches so that an arbitrarily-se=
lected=20
cache, not necessarily one you used for the previous request, can respond=
 to a=20
request appropriately.

>From the perspective of my web application and the browser's=20
presentation, the content encoding is akin to a transport-layer=20
property. It's transparent, its reversal yields data that is=20
bit-identical to the unencoded version. It seems to me that this is=20
what the Weak designator was intended for.

If the cache is allowed to be smart enough to negotiate content=20
encoding and fulfill a request with the encoding it has on hand, there=20
is a point to the Weak designator. If that's not to the case, we can=20
make an well-defined change to the ETag per encoding and dispense with=20
the Weak designator. But standardizing that change would probably be=20
more work than supporting the Weak designator.

     Thanks

     Bruce

--------=_MB696F617A-4AE3-4D2A-8271-7710D8916E2F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#9f8db0fae4ba48c4872e401bface3ce5 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#9f8db0fae4ba48c4872e401bface3ce5 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#9f8db0fae4ba48c4872e401bface3ce5=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#9f8db0fae4ba48c4872e401bface3ce5 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>

<META content=3D"text/html; charset=3DUTF-8" http-equiv=3DContent-Type></HE=
AD>
<BODY scroll=3Dauto bgColor=3D#ffffff text=3D#000000 class><BR>------ Forwa=
rded Message ------<BR>From: "Bruce Perens" &lt;bruce@perens.com&gt;<BR>Sub=
ject: Re: Our old friends, weak ETags<BR><BR>
<DIV id=3D9f8db0fae4ba48c4872e401bface3ce5>
<DIV class=3Dmoz-cite-prefix>On 07/19/2012 10:22 PM, Adrien W. de Croy wrot=
e:<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3Dmid:emed4814e0-e47b-4a9f-9089-ddbf4c072de4@=
bombed type=3D"cite">Hi Bruce, thanks for your answer.. but is this _weak_=
 ETags or just ETags in general?<BR></BLOCKQUOTE>[Please forward this to=
 the mailing list, it won't let me post.]<BR><BR>Complicating the entire=
 ETags issue is the fact that the responsibility to negotiate a content =
encoding is in a different layer than my application. It's happening in =
Phusion Passenger, or Nginx. So, that layer has to do something sensible=
 with an existing ETag that is opaque to it. The choices are for it to put=
 a Weak designator on that ETag, or to append some text to the ETag that=
 is specific to the content encoding in use <I>and</I> is standardized acro=
ss caches so that an arbitrarily-selected cache, <I>not necessarily one =
you used for the previous request,</I> can respond to a request appropriate=
ly.<BR><BR>From the perspective of my web application and the browser's =
presentation, the content encoding is akin to a transport-layer property.=
 It's transparent, its reversal yields data that is bit-identical to the=
 unencoded version. It seems to me that this is what the Weak designator=
 was intended for.<BR><BR>If the cache is allowed to be smart enough to =
negotiate content encoding and fulfill a request with the encoding it has=
 on hand, there is a point to the Weak designator. If that's not to the =
case, we can make an well-defined change to the ETag per encoding and dispe=
nse with the Weak designator. But standardizing that change would probably=
 be more work than supporting the Weak designator.<BR><BR>&nbsp;&nbsp;&nbsp=
; Thanks<BR><BR>&nbsp;&nbsp;&nbsp; Bruce<BR></DIV></BODY></HTML>
--------=_MB696F617A-4AE3-4D2A-8271-7710D8916E2F--

--------=_MB8B642CFA-61F2-4C99-B534-4A31E977413D
Content-Type: text/x-vcard; charset=utf-8;
 name="bruce.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="bruce.vcf"

YmVnaW46dmNhcmQNCmZuOkJydWNlIFBlcmVucw0KbjpQZXJlbnM7QnJ1Y2UNCm9yZzpQZXJlbnMg
TExDDQphZHI6MTU2MyBTb2xhbm8gQXZlLjs7UE1CIDU0OTtCZXJrZWxleTtDQTs5NDcwNztVU0EN
CmVtYWlsO2ludGVybmV0OmJydWNlQHBlcmVucy5jb20NCnRpdGxlOlN0cmF0ZWdpYyBDb25zdWx0
YW50DQp0ZWw7d29yazorMS01MTAtNFBFUkVOUyAoNTEwLTQ3My03MzY3KQ0KdXJsOmh0dHA6Ly9w
ZXJlbnMuY29tLw0KdmVyc2lvbjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------=_MB8B642CFA-61F2-4C99-B534-4A31E977413D--



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 05:37:00 2012
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 0446621F85E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:37:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, BAYES_00=-2.599, 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 Bh5gh5s7VohC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:36:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76E1421F85D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 05:36:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsCR3-0000eF-En for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 12:35:57 +0000
Resent-Date: Fri, 20 Jul 2012 12:35:57 +0000
Resent-Message-Id: <E1SsCR3-0000eF-En@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsCQs-0000dP-UU for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 12:35:46 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsCQr-0002Ys-Pw for ietf-http-wg@w3.org; Fri, 20 Jul 2012 12:35:46 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 18F313B745; Fri, 20 Jul 2012 12:35:24 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KCZNKU022692; Fri, 20 Jul 2012 12:35:23 GMT (envelope-from phk@phk.freebsd.dk)
To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
cc: "Amos Jeffries" <squid3@treenet.co.nz>, "Willy Tarreau" <w@1wt.eu>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 13:14:39 +0200." <8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 12:35:23 +0000
Message-ID: <22691.1342787723@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsCQr-0002Ys-Pw c63e7f9a7a1a4badb02c967e527d9fcd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/22691.1342787723@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14642
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>

In message <8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org>, "Nicol
as Mailhot" writes:

>The problem if you do it this way is that:

>3. the user agent has no information if it should share the id with
>another site or not

Ohh, that's the disconnect:  It should _never_ share the session-id
with any other site, that's sort of the entire point.

As for how long the session lasts ?

By default: Until user switches to another site, closes the
tab/window/computer or by other means makes the intention clear.

*unless* the user by positive action indicates to the user-agent
that she wants a persistent session to that site.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 05:47:10 2012
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 C46DD21F8613 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.559
X-Spam-Level: 
X-Spam-Status: No, score=-10.559 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, 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 NKKkEA8EcqHo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:47:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EDC0D21F85F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 05:47:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsCbF-0000HE-S4 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 12:46:29 +0000
Resent-Date: Fri, 20 Jul 2012 12:46:29 +0000
Resent-Message-Id: <E1SsCbF-0000HE-S4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SsCb5-0000FH-FA for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 12:46:19 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a60.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SsCb0-0004Qj-Cx for ietf-http-wg@w3.org; Fri, 20 Jul 2012 12:46:19 +0000
Received: from homiemail-a60.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTP id 151083BC06B for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 05:45:53 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=apqV84aUNramkJw KScapKVDPlPkoUly4kloleZt/B5LWKYX1LUXIRNPSXwNYgZGvn4WqTZV3jNk1/5f FPp2+w25Cg2RUHv6uWLd5jk4LjAxSleVpVLlhLTt4zkq8w1ZaVJ7EQpHLbBgVJrv oy27x9ca1q19Yo22dQtFVMI/4P/0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=aIbUrgJ qtrS9EOCjHNkyRDykyx8=; b=UYV/xvq8qAEKnh91exnbKQhn7dxOtoj5nuFvHRf GCoTFuIQYx0e1WXj2oc+5gSL2T2r3T8QUAT8vBVPsElT6rpHMyukl49PJDPTeSM0 KWxGeHHsu/BFGyD3D8khH8j3PehGtydM8fgfE309kixXTkiqcDP94u0V9J2femb1 SFSs=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTPSA id AD8423BC063 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 05:45:52 -0700 (PDT)
Message-ID: <500952FE.1020402@jrn.me.uk>
Date: Fri, 20 Jul 2012 13:45:50 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <22691.1342787723@critter.freebsd.dk>
In-Reply-To: <22691.1342787723@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.74; envelope-from=jrn@jrn.me.uk; helo=homiemail-a60.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SsCb0-0004Qj-Cx 78f7d794c2932c1a3137aed88f52cada
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/500952FE.1020402@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14643
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 20/07/2012 13:35, Poul-Henning Kamp wrote:
> In message <8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org>, "Nicol
> as Mailhot" writes:
>
>> The problem if you do it this way is that:
>> 3. the user agent has no information if it should share the id with
>> another site or not
> Ohh, that's the disconnect:  It should _never_ share the session-id
> with any other site, that's sort of the entire point.
We rather do want sites to share session IDs, actually, so we can do 
easy single-sign-on. At the moment we fairly much only do this within a 
domain, but in the future we might see something like Project Moonshot ( 
http://www.project-moonshot.org/ ) providing single-sign-on for all UK 
academic institutions (this is really useful for cases such as external 
examiners being able to access resources in institutions not their own, 
for example). Of course, we do also want to control how session IDs are 
shared (I don't think it's something I'd want my bank doing!)




From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 05:51:36 2012
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 AB1E321F85F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:51:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 oGBe6dOZX-Zv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:51:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 861D221F85D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 05:51:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsCgI-00022J-7j for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 12:51:42 +0000
Resent-Date: Fri, 20 Jul 2012 12:51:42 +0000
Resent-Message-Id: <E1SsCgI-00022J-7j@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsCg8-00020R-3t for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 12:51:32 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsCg2-0004eY-Hn for ietf-http-wg@w3.org; Fri, 20 Jul 2012 12:51:32 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 563FA3B599; Fri, 20 Jul 2012 12:51:05 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KCp4GX022758; Fri, 20 Jul 2012 12:51:05 GMT (envelope-from phk@phk.freebsd.dk)
To: Ross Nicoll <jrn@jrn.me.uk>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 13:45:50 +0100." <500952FE.1020402@jrn.me.uk>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 12:51:04 +0000
Message-ID: <22757.1342788664@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsCg2-0004eY-Hn 841f511522ca5cdf0b310e02f68ca199
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/22757.1342788664@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14644
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>

In message <500952FE.1020402@jrn.me.uk>, Ross Nicoll writes:
>On 20/07/2012 13:35, Poul-Henning Kamp wrote:

>> Ohh, that's the disconnect:  It should _never_ share the session-id
>> with any other site, that's sort of the entire point.

>We rather do want sites to share session IDs, actually, so we can do 
>easy single-sign-on.

I'm all for single-sign-on, but they need to use a different nonce
than the session-id I'm talking about.

The session-id I'm talking about, are mainly for letting HTTP routers
chose the same server for the entire sessions, without having to
dig through cookies.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 05:54:21 2012
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 1307B21F8570 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:54:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.91
X-Spam-Level: 
X-Spam-Status: No, score=-9.91 tagged_above=-999 required=5 tests=[AWL=0.689, BAYES_00=-2.599, 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 YqiOU1zCB3aw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:54:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3549721F8596 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 05:54:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsCic-0002Pt-Ps for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 12:54:06 +0000
Resent-Date: Fri, 20 Jul 2012 12:54:06 +0000
Resent-Message-Id: <E1SsCic-0002Pt-Ps@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsCiO-0002Oo-PU for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 12:53:52 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsCiN-0003Kd-A7 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 12:53:52 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KCrOs1023824; Fri, 20 Jul 2012 14:53:24 +0200
Date: Fri, 20 Jul 2012 14:53:24 +0200
From: Willy Tarreau <w@1wt.eu>
To: Ross Nicoll <jrn@jrn.me.uk>
Cc: ietf-http-wg@w3.org
Message-ID: <20120720125324.GB23756@1wt.eu>
References: <22691.1342787723@critter.freebsd.dk> <500952FE.1020402@jrn.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <500952FE.1020402@jrn.me.uk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsCiN-0003Kd-A7 6ad222677334ba3153a94d5387d50d81
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120720125324.GB23756@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14645
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 Fri, Jul 20, 2012 at 01:45:50PM +0100, Ross Nicoll wrote:
> On 20/07/2012 13:35, Poul-Henning Kamp wrote:
> >In message <8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org>, 
> >"Nicol
> >as Mailhot" writes:
> >
> >>The problem if you do it this way is that:
> >>3. the user agent has no information if it should share the id with
> >>another site or not
> >Ohh, that's the disconnect:  It should _never_ share the session-id
> >with any other site, that's sort of the entire point.
> We rather do want sites to share session IDs, actually, so we can do 
> easy single-sign-on. At the moment we fairly much only do this within a 
> domain, but in the future we might see something like Project Moonshot ( 
> http://www.project-moonshot.org/ ) providing single-sign-on for all UK 
> academic institutions (this is really useful for cases such as external 
> examiners being able to access resources in institutions not their own, 
> for example). Of course, we do also want to control how session IDs are 
> shared (I don't think it's something I'd want my bank doing!)

Note that SSO actually does work cross-domain using redirects. It's just
not the easiest thing to do but it does work. Cross-domain cookies are
extremely dangerous and badly used. I regularly see some websites ask me
for help with their site behaving in a bad way using new browsers and I
can tell you that sometimes you see scary things. I'm glad Adam Barth has
worked on RFC6265 to remind what's right and what's wrong.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 05:58:38 2012
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 AF3AD21F85D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:58:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.922
X-Spam-Level: 
X-Spam-Status: No, score=-9.922 tagged_above=-999 required=5 tests=[AWL=0.677, BAYES_00=-2.599, 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 HkrAHtz5M8Oh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 05:58:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 29D1A21F85A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 05:58:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsCnO-00040D-OY for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 12:59:02 +0000
Resent-Date: Fri, 20 Jul 2012 12:59:02 +0000
Resent-Message-Id: <E1SsCnO-00040D-OY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsCnE-0003yf-HT for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 12:58:52 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsCnA-0004v4-Fa for ietf-http-wg@w3.org; Fri, 20 Jul 2012 12:58:52 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KCw4VY023854; Fri, 20 Jul 2012 14:58:04 +0200
Date: Fri, 20 Jul 2012 14:58:04 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: Osama Mazahir <OSAMAM@microsoft.com>, Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120720125804.GD23756@1wt.eu>
References: <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <50093680.2020603@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <50093680.2020603@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsCnA-0004v4-Fa 637ec5d54ac2622754e91bba8c6e2c25
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120720125804.GD23756@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14646
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 Fri, Jul 20, 2012 at 10:44:16PM +1200, Amos Jeffries wrote:
> Part 1 section 3.3.3 point #5.  In all of those cases content-length 
> amount of bytes MUST be sent or the connection aborted.

OK, too much noise from me then, sorry.

> 417 is a final response to that initial request. Therefore the server 
> drains the content-length body and connection re-use can begin. Client 
> is responsible for aborting the connection or padding with disposable 
> garbage bytes.  At no point can the client send content-length then 
> re-use the connection earlier.

That's fine then.

Thanks for the pointer,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 07:21:32 2012
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 551C021F85D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:21:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.648
X-Spam-Level: 
X-Spam-Status: No, score=-9.648 tagged_above=-999 required=5 tests=[AWL=0.950, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 gjdiyOIVcVbu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:21:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E24121F85A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 07:21:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsE3z-0004p7-4L for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 14:20:15 +0000
Resent-Date: Fri, 20 Jul 2012 14:20:15 +0000
Resent-Message-Id: <E1SsE3z-0004p7-4L@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsE3m-0003mt-0e for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 14:20:02 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsE3k-0007Sl-DQ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 14:20:01 +0000
Received: by wibhq4 with SMTP id hq4so517558wib.8 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 07:19:34 -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=7S0ljrSiZaDZjo3VnjAT/WpixTPAAMRNDflSPRLVFIc=; b=Y9oVailctNFPAJJUIIpKzwcGVNoyj9K9+Llf42JzvxD2GBfrrpJdKIRlPV4s4O1zE6 fr8GluL9/JEMCoE/iubzpLFg57ARvovy7QduYJ+fzQGjso2CvONuqBN7gk511kQ+1NCM W6Ibwt8rck6f2gXl8fVvBG6dwLuHWr2fBJtT0S6dxdz2J1uq3N1aNaCOQuisSEC1yECt zNSJUhvTmhiy1AaxwckKwiDP1ZLvy6DucQi1uhGRG4d2vbF/99m+ZVYdNznYqRrXgq4T yzN/GYLFQAHm4YVsXukzqWDr/3+54P+AovNRtK61MH16RQq0KJSO0HVyjIBh56N+TYuW Savw==
MIME-Version: 1.0
Received: by 10.216.132.91 with SMTP id n69mr3505337wei.178.1342793973869; Fri, 20 Jul 2012 07:19:33 -0700 (PDT)
Received: by 10.216.90.129 with HTTP; Fri, 20 Jul 2012 07:19:33 -0700 (PDT)
In-Reply-To: <20120720125324.GB23756@1wt.eu>
References: <22691.1342787723@critter.freebsd.dk> <500952FE.1020402@jrn.me.uk> <20120720125324.GB23756@1wt.eu>
Date: Fri, 20 Jul 2012 07:19:33 -0700
Message-ID: <CAAPAK-4XUTo7c8xZ1oH5DajKJLawmhZGWYNjiTv5pq0NSt1RNw@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Ross Nicoll <jrn@jrn.me.uk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6d7eeded1aeea04c54395c4
Received-SPF: pass client-ip=209.85.212.179; envelope-from=dzonatas@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsE3k-0007Sl-DQ 1d3f106cdc2c203b7480007743e279be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAAPAK-4XUTo7c8xZ1oH5DajKJLawmhZGWYNjiTv5pq0NSt1RNw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14647
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>

--0016e6d7eeded1aeea04c54395c4
Content-Type: text/plain; charset=ISO-8859-1

The SSO is something we negotiate between two or more origin servers, and
the UAs need not be part of that negotiation. It's may be the
simpler design step to use the UAs for such negotiation between servers
(with such "session header") after we establish the connection, yet that
does not help secure authentication.

The hint for redirection is correct, the origin server(s) may create new
resource, upon UA connection,  and encode any session/state in that
resource without affect to the headers.

On Friday, July 20, 2012, Willy Tarreau wrote:

> On Fri, Jul 20, 2012 at 01:45:50PM +0100, Ross Nicoll wrote:
> > On 20/07/2012 13:35, Poul-Henning Kamp wrote:
> > >In message <8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org<javascript:;>
> >,
> > >"Nicol
> > >as Mailhot" writes:
> > >
> > >>The problem if you do it this way is that:
> > >>3. the user agent has no information if it should share the id with
> > >>another site or not
> > >Ohh, that's the disconnect:  It should _never_ share the session-id
> > >with any other site, that's sort of the entire point.
> > We rather do want sites to share session IDs, actually, so we can do
> > easy single-sign-on. At the moment we fairly much only do this within a
> > domain, but in the future we might see something like Project Moonshot (
> > http://www.project-moonshot.org/ ) providing single-sign-on for all UK
> > academic institutions (this is really useful for cases such as external
> > examiners being able to access resources in institutions not their own,
> > for example). Of course, we do also want to control how session IDs are
> > shared (I don't think it's something I'd want my bank doing!)
>
> Note that SSO actually does work cross-domain using redirects. It's just
> not the easiest thing to do but it does work. Cross-domain cookies are
> extremely dangerous and badly used. I regularly see some websites ask me
> for help with their site behaving in a bad way using new browsers and I
> can tell you that sometimes you see scary things. I'm glad Adam Barth has
> worked on RFC6265 to remind what's right and what's wrong.
>
> Regards,
> Willy
>
>
>

--0016e6d7eeded1aeea04c54395c4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The SSO is something we negotiate between two or more origin servers, and t=
he UAs need not be part of that negotiation. It&#39;s may be the simpler=A0=
design step to use the UAs for such negotiation between servers (with such =
&quot;session header&quot;) after we establish the connection, yet that doe=
s not help secure authentication.<div>
<br></div><div>The hint for redirection is correct, the origin server(s) ma=
y create new resource, upon UA connection, =A0and encode any session/state =
in that resource without affect to the headers.</div><div><div><br>On Frida=
y, July 20, 2012, Willy Tarreau  wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On Fri, Jul 20, 2012 at 01:45:50PM +0100, Ro=
ss Nicoll wrote:<br>
&gt; On 20/07/2012 13:35, Poul-Henning Kamp wrote:<br>
&gt; &gt;In message &lt;<a href=3D"javascript:;" onclick=3D"_e(event, &#39;=
cvml&#39;, &#39;8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org&=
#39;)">8d6b6668433e8aa7c67601ab9b0f485d.squirrel@arekh.dyndns.org</a>&gt;,<=
br>

&gt; &gt;&quot;Nicol<br>
&gt; &gt;as Mailhot&quot; writes:<br>
&gt; &gt;<br>
&gt; &gt;&gt;The problem if you do it this way is that:<br>
&gt; &gt;&gt;3. the user agent has no information if it should share the id=
 with<br>
&gt; &gt;&gt;another site or not<br>
&gt; &gt;Ohh, that&#39;s the disconnect: =A0It should _never_ share the ses=
sion-id<br>
&gt; &gt;with any other site, that&#39;s sort of the entire point.<br>
&gt; We rather do want sites to share session IDs, actually, so we can do<b=
r>
&gt; easy single-sign-on. At the moment we fairly much only do this within =
a<br>
&gt; domain, but in the future we might see something like Project Moonshot=
 (<br>
&gt; <a href=3D"http://www.project-moonshot.org/" target=3D"_blank">http://=
www.project-moonshot.org/</a> ) providing single-sign-on for all UK<br>
&gt; academic institutions (this is really useful for cases such as externa=
l<br>
&gt; examiners being able to access resources in institutions not their own=
,<br>
&gt; for example). Of course, we do also want to control how session IDs ar=
e<br>
&gt; shared (I don&#39;t think it&#39;s something I&#39;d want my bank doin=
g!)<br>
<br>
Note that SSO actually does work cross-domain using redirects. It&#39;s jus=
t<br>
not the easiest thing to do but it does work. Cross-domain cookies are<br>
extremely dangerous and badly used. I regularly see some websites ask me<br=
>
for help with their site behaving in a bad way using new browsers and I<br>
can tell you that sometimes you see scary things. I&#39;m glad Adam Barth h=
as<br>
worked on RFC6265 to remind what&#39;s right and what&#39;s wrong.<br>
<br>
Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div></div>

--0016e6d7eeded1aeea04c54395c4--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 07:34:12 2012
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 1478821F8643 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:34:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.997
X-Spam-Level: 
X-Spam-Status: No, score=-8.997 tagged_above=-999 required=5 tests=[AWL=1.602, BAYES_00=-2.599, 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 ks2p7KCB--Mf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:34:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EB79421F8599 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 07:34:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsEGl-00022Q-Cw for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 14:33:27 +0000
Resent-Date: Fri, 20 Jul 2012 14:33:27 +0000
Resent-Message-Id: <E1SsEGl-00022Q-Cw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsEGa-00020p-Ne for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 14:33:16 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsEGW-0007xj-SR for ietf-http-wg@w3.org; Fri, 20 Jul 2012 14:33:16 +0000
Received: by vcdd16 with SMTP id d16so2811172vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 07:32:47 -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=hk9I1OAtGcIpEQF5tLWP6RZDa8+8hE5SSyX9z8zPp+M=; b=ButF2HJOZsJwmpe+D5jgjdS6X/skfAwzk0ZE7cVq0VAo547C4FwimNG3yV12rQ5gE9 p0npMEGENw7jxIJx1GqY1hx2FB3f2K4Jt/Al4aBBMeMyA6fGhqOMnNSIo5UjBuCJ1bv6 +wiNyteYpPM9zUfAIbuj4j6Qwcco6dx/p8bxiPyHi11dBaSvVH4YFX+LMIAdcTksZB38 5Ha5WgbDHdg8Xl9sq3RfZazo42yDnIb7kI2AER8bbv2e+kL7ANT75sgd6SombaBgp10x lJd8/bWJLBuNkvTDTI+LgLSBLOB6hJDwptqg5WWFOlj9C/OSD6b5G/c9S7fCoEifDQcO /XUA==
MIME-Version: 1.0
Received: by 10.220.150.131 with SMTP id y3mr4605613vcv.42.1342794766970; Fri, 20 Jul 2012 07:32:46 -0700 (PDT)
Received: by 10.58.116.233 with HTTP; Fri, 20 Jul 2012 07:32:46 -0700 (PDT)
In-Reply-To: <22757.1342788664@critter.freebsd.dk>
References: <500952FE.1020402@jrn.me.uk> <22757.1342788664@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 10:32:46 -0400
Message-ID: <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Ross Nicoll <jrn@jrn.me.uk>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SsEGW-0007xj-SR 626209db9b92e8d1e5a171ed36b6e577
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14648
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 Fri, Jul 20, 2012 at 8:51 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <500952FE.1020402@jrn.me.uk>, Ross Nicoll writes:
>>On 20/07/2012 13:35, Poul-Henning Kamp wrote:
>
>>> Ohh, that's the disconnect:  It should _never_ share the session-id
>>> with any other site, that's sort of the entire point.
>
>>We rather do want sites to share session IDs, actually, so we can do
>>easy single-sign-on.
>
> I'm all for single-sign-on, but they need to use a different nonce
> than the session-id I'm talking about.
>
> The session-id I'm talking about, are mainly for letting HTTP routers
> chose the same server for the entire sessions, without having to
> dig through cookies.


I think it would be good to have just one of these and it could cut
down on the number of cookies a browser needs to store/track.

The REST argument seems to be a red herring to me. If people want to
write stateless servers then fine, they can use a different technique.
There have been statefull servers on the Web since 1993. That is why
the POST method is written the way it is. The design goal was to
separate out the idempotent methods from the rest.

You can't do an application like Web Mail without loca state because a
mailspool IS state.


But it is quite easy for the session-ID to be used for routing without
state at either end:

Session-ID: Base64 ( HMAC-SHA2-256 ( host-domain, client-secret ))

Client only needs to store the variable 'client secret' which is the
same for all domains. The specification does not need to be tied to
any crypto algorithm as it is just an opaque blob with at least 256
bits of randomness (the birthday attack is an issue here for a
change).


A router can then take as many bits as it needs to identify the
'bucket' to direct the response to and then map 'buckets' to back-end
servers as required to meet need.

An application can use the session-id as an index into whatever table
it has to maintain per-connection state - which is why you would need
a router in the first place.


Having said that, this is not a total slam dunk for doing client side
state as you might also want to achieve the same thing with a server
pushed token being used in an authentication scheme.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 07:40:53 2012
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 2E71F21F8596 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:40:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Pp3X4uKzUFHe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:40:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2667A21F858A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 07:40:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsENU-0005Cd-MJ for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 14:40:24 +0000
Resent-Date: Fri, 20 Jul 2012 14:40:24 +0000
Resent-Message-Id: <E1SsENU-0005Cd-MJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pfrazee@gmail.com>) id 1SsENJ-00058t-Hv for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 14:40:13 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <pfrazee@gmail.com>) id 1SsENI-0001QP-Gb for ietf-http-wg@w3.org; Fri, 20 Jul 2012 14:40:13 +0000
Received: by bkty15 with SMTP id y15so3235081bkt.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 07:39:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=3OxW3pMK1qocv11VsbmxTJ6OYPK+lC0GaojzyGeLN3A=; b=If6acADJCXlkwCU8rf4yG0wZ62EgIQBE/fh/MGJWYsSIDGuekUhYM4BYiywfpdHoae UaP5CfflkakOxsQ3RK7FEo1H9KGxIKt52kiaM1DjhdiCeaE1vOdX0bEeg4J5RDg9ENne GlKIf5ZRSER/G5m5ben3GDUsTsfzbJD0zdJA1ybrHhNalpzJT8yTJzZCv0k4cX2gtXj4 Kv3lJGOBE3FyQkJ5dn4cFiqYtGbKPW7PfQL3rMSgT+oTrykj5VY/5HpJbPBf6l2B9bkS Yg/oXPh/GcQOcuXlwS4Xh5jti0KcZshTsRxTpy7tW7HXJ4wHK+HtVM1JdR8KrKy6HiB9 3dFg==
Received: by 10.204.145.76 with SMTP id c12mr3289484bkv.70.1342795185902; Fri, 20 Jul 2012 07:39:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.204.171.4 with HTTP; Fri, 20 Jul 2012 07:39:05 -0700 (PDT)
From: Paul Frazee <pfrazee@gmail.com>
Date: Fri, 20 Jul 2012 09:39:05 -0500
Message-ID: <CAD4FMegsc7Y9qZXZghX0Da0iDEwDuog1-F8FB4ouDf4Gh0KxUg@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.43; envelope-from=pfrazee@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsENI-0001QP-Gb dd8ad8d80983fcd1f67658266b0d0a25
X-Original-To: ietf-http-wg@w3.org
Subject: Cookies, sessions, browser software
Archived-At: <http://www.w3.org/mid/CAD4FMegsc7Y9qZXZghX0Da0iDEwDuog1-F8FB4ouDf4Gh0KxUg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14649
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 the issue of cookies-- is it possible that improving javascript
features in browsers will ultimately solve the problem? For instance,
the trend of one-page applications give a model in which requests are
formed by the application's client software, allowing it to specify
any session-identifying headers it needs. The model also helps with
caching, as session-specific data can be requested in individual
chunks, while application-environment data (the layout, common markup,
etc) come separately (with more caching, since they apply more
generally).

If I'm understanding it correctly, I'd suggest that cookies & sessions
be considered a client software issue, not a protocol issue.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 07:59:32 2012
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 38F9321F8598 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:59:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 peS+RCcW84mN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 07:59:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8136B21F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 07:59:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsEfC-0004yp-PI for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 14:58:42 +0000
Resent-Date: Fri, 20 Jul 2012 14:58:42 +0000
Resent-Message-Id: <E1SsEfC-0004yp-PI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsEf2-0004y4-68 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 14:58:32 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsEew-0002S1-Bs for ietf-http-wg@w3.org; Fri, 20 Jul 2012 14:58:32 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E48B93B753; Fri, 20 Jul 2012 14:58:04 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KEw4Fk023094; Fri, 20 Jul 2012 14:58:04 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Ross Nicoll <jrn@jrn.me.uk>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 10:32:46 -0400." <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 14:58:04 +0000
Message-ID: <23093.1342796284@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsEew-0002S1-Bs 6f07b2c4dbc254d365e67f1583b6bee3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/23093.1342796284@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14650
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>

In message <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
, Phillip Hallam-Baker writes:

>Having said that, this is not a total slam dunk for doing client side
>state as you might also want to achieve the same thing with a server
>pushed token being used in an authentication scheme.

That's why I'm hope we can find a card-carrying cryptographer to
help us, I'd hate to do it almost but not quite right.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 08:15:14 2012
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 3A3C021F8637 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:15:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.567
X-Spam-Level: 
X-Spam-Status: No, score=-10.567 tagged_above=-999 required=5 tests=[AWL=0.032, BAYES_00=-2.599, 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 Y44TwvmuvGiI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:15:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8609D21F8630 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 08:15:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsEuT-0004ZK-Tt for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 15:14:29 +0000
Resent-Date: Fri, 20 Jul 2012 15:14:29 +0000
Resent-Message-Id: <E1SsEuT-0004ZK-Tt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SsEuJ-0004Y9-IS for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 15:14:19 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a4.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SsEuG-00035k-6e for ietf-http-wg@w3.org; Fri, 20 Jul 2012 15:14:19 +0000
Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 2D16551C073; Fri, 20 Jul 2012 08:13:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=gCXVOS7XY1Ir69A 9B92EG8l3rjvxeGkul9/UeZEeSr4MMZ50+SZ1/3jR2fxapMwhMVWlYY6QYqlad+0 JwhEENywHwGTIQg3Sk7ZABTGzbsLyMy1Q0TBwsytMNJt76GL86RYIJBGqdBAdauu it8vdohSnwrpjUNtcEu2hBoPWuQs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=cxbHmqY Zxp+Mkq+utIDAdvA8y/c=; b=hfAJLXU6NZ1L6x7fpHc81ilwhzQUt2gAYNefPl6 sSv1moOWzbZ2Lp+3JWvvL+cdD1vh9QNhx/vqAVLEOoT2yViL5UW2FFtxyYkNeyAr E5nGBo+wWf+JunHbxIOIIHj6X3eGcnUWU4PDEnrjelbmF+ukBQ4pp9aVfnzX1uCG 38XE=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 98ADD51C062; Fri, 20 Jul 2012 08:13:54 -0700 (PDT)
Message-ID: <500975B1.6080209@jrn.me.uk>
Date: Fri, 20 Jul 2012 16:13:53 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: ietf-http-wg@w3.org
References: <22757.1342788664@critter.freebsd.dk>
In-Reply-To: <22757.1342788664@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.207; envelope-from=jrn@jrn.me.uk; helo=homiemail-a4.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SsEuG-00035k-6e 953a245856879b36b327a54f89c9babb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/500975B1.6080209@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14651
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>

Ah, sorry, had misintepreted the phrase session (I was thinking somewhat 
of the way Java servlets manage a user session). On that note though, 
probably worth thinking about an alternative header name... 
"Connection-Session" perhaps? Although I'm not sure that's much clearer, 
any other suggestions?

On 20/07/2012 13:51, Poul-Henning Kamp wrote:
> In message <500952FE.1020402@jrn.me.uk>, Ross Nicoll writes:
>> On 20/07/2012 13:35, Poul-Henning Kamp wrote:
>>> Ohh, that's the disconnect:  It should _never_ share the session-id
>>> with any other site, that's sort of the entire point.
>> We rather do want sites to share session IDs, actually, so we can do
>> easy single-sign-on.
> I'm all for single-sign-on, but they need to use a different nonce
> than the session-id I'm talking about.
>
> The session-id I'm talking about, are mainly for letting HTTP routers
> chose the same server for the entire sessions, without having to
> dig through cookies.
>
>



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 08:16:39 2012
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 9FF9B21F8643 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:16:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.573
X-Spam-Level: 
X-Spam-Status: No, score=-10.573 tagged_above=-999 required=5 tests=[AWL=0.026, BAYES_00=-2.599, 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 GVgzfeEQYhNL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:16:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15B2321F8669 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 08:16: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 1SsEwv-0000dW-91 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 15:17:01 +0000
Resent-Date: Fri, 20 Jul 2012 15:17:01 +0000
Resent-Message-Id: <E1SsEwv-0000dW-91@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SsEwk-0000cg-MV for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 15:16:50 +0000
Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a5.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SsEwj-0003By-GP for ietf-http-wg@w3.org; Fri, 20 Jul 2012 15:16:50 +0000
Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 5246B704071; Fri, 20 Jul 2012 08:16:22 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=D8OiInRF8ufe8eJ EvWGCNj3hZEknvFUhBmWRw1m861B92Z50ooCT9Ngaokw/Nr6yMtmmPTd54/XB5y9 YQLv9vDCsggBNZp00w6ZoXu3ClO2Zus3VSdeCTT9UgkW0Oc8eiueJNBfBjYys2WI dE2WnQdeKzxCZXFQn10JVT/Rbmho=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=Wk5tUyz 1Yw1ABS5oIbJUP0qVgfo=; b=ja0MOtNdFTausZ6UmmEePzFBykukeP2hiUXrSDP nbkhsLlO02raPcssRqxtWtBYSCr/RUAYbbHdk2yY9lqRmsvn9NOs2GPwad5ZvmEj E6Miv8A1z+8t7JC1yu/Zd/KZKaLJbPQExnkWo5qHv+7Eacq/IksjpQSHmIEe6A4V If8M=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id A4F6070406F; Fri, 20 Jul 2012 08:16:21 -0700 (PDT)
Message-ID: <50097644.6000301@jrn.me.uk>
Date: Fri, 20 Jul 2012 16:16:20 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Paul Frazee <pfrazee@gmail.com>
CC: ietf-http-wg@w3.org
References: <CAD4FMegsc7Y9qZXZghX0Da0iDEwDuog1-F8FB4ouDf4Gh0KxUg@mail.gmail.com>
In-Reply-To: <CAD4FMegsc7Y9qZXZghX0Da0iDEwDuog1-F8FB4ouDf4Gh0KxUg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.5; envelope-from=jrn@jrn.me.uk; helo=homiemail-a5.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SsEwj-0003By-GP 2f9db9b026f79565dc86bdf9539d9ac9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Cookies, sessions, browser software
Archived-At: <http://www.w3.org/mid/50097644.6000301@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14652
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>

If session management is going to use headers, surely it needs to be 
defined in the protocol, irrespective of whether the user agent or 
client-side Javascript writes those headers.

Beyond that, I don't think we can assume user agents will support 
Javascript or any other sort of scripting, and I fear that single pages 
that re-write themselves are likely to be a nightmare in terms of 
accessibility (for example for blind users). Certainly I'd much rather 
define sessions in a way that the user agent can manage, and therefore 
can present options (such as logout) in a way that makes sense given 
their user interface.

On 20/07/2012 15:39, Paul Frazee wrote:
> On the issue of cookies-- is it possible that improving javascript
> features in browsers will ultimately solve the problem? For instance,
> the trend of one-page applications give a model in which requests are
> formed by the application's client software, allowing it to specify
> any session-identifying headers it needs. The model also helps with
> caching, as session-specific data can be requested in individual
> chunks, while application-environment data (the layout, common markup,
> etc) come separately (with more caching, since they apply more
> generally).
>
> If I'm understanding it correctly, I'd suggest that cookies & sessions
> be considered a client software issue, not a protocol issue.
>



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 08:21:45 2012
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 1AA7D21F85E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:21:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.3
X-Spam-Level: 
X-Spam-Status: No, score=-8.3 tagged_above=-999 required=5 tests=[AWL=2.299, BAYES_00=-2.599, 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 1XdmJm986NgT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:21:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 80E9E21F84D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 08:21:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsF11-0002Ix-E9 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 15:21:15 +0000
Resent-Date: Fri, 20 Jul 2012 15:21:15 +0000
Resent-Message-Id: <E1SsF11-0002Ix-E9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SsF0q-0002Hy-V9 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 15:21:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SsF0l-0001Px-2j for ietf-http-wg@w3.org; Fri, 20 Jul 2012 15:21:04 +0000
Received: (qmail invoked by alias); 20 Jul 2012 15:20:32 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp031) with SMTP; 20 Jul 2012 17:20:32 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+I698dH3iIawC1SwTpIa0kua4EDMIwG8vzjrvvw9 71ilydE69wtFdo
Message-ID: <5009773E.7030002@gmx.de>
Date: Fri, 20 Jul 2012 17:20:30 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Phillip Hallam-Baker <hallam@gmail.com>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, Ross Nicoll <jrn@jrn.me.uk>,  ietf-http-wg@w3.org
References: <500952FE.1020402@jrn.me.uk> <22757.1342788664@critter.freebsd.dk> <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
In-Reply-To: <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsF0l-0001Px-2j 9b40567aecfaecb4bd02aa517b812ddb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/5009773E.7030002@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14653
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 2012-07-20 16:32, Phillip Hallam-Baker wrote:
> ...
> The REST argument seems to be a red herring to me. If people want to
> write stateless servers then fine, they can use a different technique.
> There have been statefull servers on the Web since 1993. That is why
> the POST method is written the way it is. The design goal was to
> separate out the idempotent methods from the rest.
> ...

ReST is not about stateless servers. If it was, we wouldn't have write 
operations.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 08:59:43 2012
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 47C0821F84CF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:59:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, 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 8cN8U2zKUqSI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 08:59:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BB88E21F84C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 08:59:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsFbQ-0003i8-5X for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 15:58:52 +0000
Resent-Date: Fri, 20 Jul 2012 15:58:52 +0000
Resent-Message-Id: <E1SsFbQ-0003i8-5X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmougin@acm.org>) id 1SsFbF-0003gF-Ge for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 15:58:41 +0000
Received: from smtp08.smtpout.orange.fr ([80.12.242.130] helo=smtp.smtpout.orange.fr) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <pmougin@acm.org>) id 1SsFb9-0002rh-HC for ietf-http-wg@w3.org; Fri, 20 Jul 2012 15:58:41 +0000
Received: from [10.0.1.2] ([82.121.90.60]) by mwinf5d68 with ME id cfy81j00K1J7nHe03fy87f; Fri, 20 Jul 2012 17:58:09 +0200
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Philippe Mougin <pmougin@acm.org>
In-Reply-To: <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
Date: Fri, 20 Jul 2012 17:58:08 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4A69D092-C058-47CC-9DB2-1A6CF1F6C4B0@acm.org>
References: <500952FE.1020402@jrn.me.uk> <22757.1342788664@critter.freebsd.dk> <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=80.12.242.130; envelope-from=pmougin@acm.org; helo=smtp.smtpout.orange.fr
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsFb9-0002rh-HC 0625079c97a62129e0a126f1402d9ca7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/4A69D092-C058-47CC-9DB2-1A6CF1F6C4B0@acm.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14654
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>

Le 20 juil. 2012 =E0 16:32, Phillip Hallam-Baker a =E9crit :

> On Fri, Jul 20, 2012 at 8:51 AM, Poul-Henning Kamp =
<phk@phk.freebsd.dk> wrote:
>=20
> The REST argument seems to be a red herring to me. If people want to
> write stateless servers then fine, they can use a different technique.
> There have been statefull servers on the Web since 1993. That is why
> the POST method is written the way it is. The design goal was to
> separate out the idempotent methods from the rest.
>=20
> You can't do an application like Web Mail without loca state because a
> mailspool IS state.

But REST allows having state on the server (resource state, so no need =
for session identifiers) and also allows having session state, provided =
it isn't stored on the server. You can do all sorts of supercool webmail =
systems with that.
So REST !=3D fully stateless, and it could be useful to ponder the idea =
that designing without session state stored on the server is good for =
system such as the Web.

P.M.=


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:03:52 2012
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 7413D21F854A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:03:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 whfxaQV9xHWE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:03:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D74AA21F8518 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:03:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsFgc-00073q-LZ for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:04:14 +0000
Resent-Date: Fri, 20 Jul 2012 16:04:14 +0000
Resent-Message-Id: <E1SsFgc-00073q-LZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pfrazee@gmail.com>) id 1SsFgS-000734-0Q for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:04:04 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <pfrazee@gmail.com>) id 1SsFgG-0004yz-Mq for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:04:03 +0000
Received: by bkty15 with SMTP id y15so3333754bkt.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:03:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0zLtEyDAa57+04w0ogVZXW98tgh+iLtTwL/lmlKilcE=; b=rjLH0cxjQzAwhk2aEFKyziXp6IuTW1T+NXkwV0z0si7Pe8h28S0OnTDh7vNR3esFAA 6rVd73a537oDErEPvGsQGd2wF/xUFkbaHdNYLTrVjAUBfhvGO50XwHnj/Gmg7utbfRE/ wvmXm5P0stW0K2ik3KBZefr9dJBTCx9U0KGZoCx9ypchFuiEBshw6LAIr25Tqio7VGPe qkLHwZRdgY588KSNrTidp4Nko6+O8BdVhsr5W4VTxQ6CbPFc5ZWaRqYpKNkWRPZEVdUS LQfrJ0Y8AbYgNIy3HiTOYRIEbXJwT116ZWGCYxE3uTfvyb4bhdsjFqPyftjtdGe2z6bF +q3g==
Received: by 10.204.136.195 with SMTP id s3mr3569417bkt.6.1342800206043; Fri, 20 Jul 2012 09:03:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.204.171.4 with HTTP; Fri, 20 Jul 2012 09:02:45 -0700 (PDT)
In-Reply-To: <50097644.6000301@jrn.me.uk>
References: <CAD4FMegsc7Y9qZXZghX0Da0iDEwDuog1-F8FB4ouDf4Gh0KxUg@mail.gmail.com> <50097644.6000301@jrn.me.uk>
From: Paul Frazee <pfrazee@gmail.com>
Date: Fri, 20 Jul 2012 11:02:45 -0500
Message-ID: <CAD4FMejQnL6=GFY1X5PLP422bhaqNdNTqZneX3X4pvb2QAppXQ@mail.gmail.com>
To: Ross Nicoll <jrn@jrn.me.uk>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.43; envelope-from=pfrazee@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsFgG-0004yz-Mq b31d7d2484db6081a38ab7195b17151e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Cookies, sessions, browser software
Archived-At: <http://www.w3.org/mid/CAD4FMejQnL6=GFY1X5PLP422bhaqNdNTqZneX3X4pvb2QAppXQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14655
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>

> If session management is going to use headers, surely it needs to be defined
> in the protocol, irrespective of whether the user agent or client-side
> Javascript writes those headers.

Header usage is certain; I'm wondering if we can just simplify the
HTTP protocol and anticipate that each application can tailor their
own protocol with a more specific behavior.

> Beyond that, I don't think we can assume user agents will support Javascript
> or any other sort of scripting

Fair point; I don't know the scope of that issue. If that's not just
an "old software" situation, then my suggestion doesn't hold.

> and I fear that single pages that re-write
> themselves are likely to be a nightmare in terms of accessibility (for
> example for blind users). Certainly I'd much rather define sessions in a way
> that the user agent can manage, and therefore can present options (such as
> logout) in a way that makes sense given their user interface.

Yeah, those are definitely problems with current implementations. I'm
trying to watch the trend and assume that issues like that will
eventually be sorted out, but maybe not.


> On 20/07/2012 15:39, Paul Frazee wrote:
>>
>> On the issue of cookies-- is it possible that improving javascript
>> features in browsers will ultimately solve the problem? For instance,
>> the trend of one-page applications give a model in which requests are
>> formed by the application's client software, allowing it to specify
>> any session-identifying headers it needs. The model also helps with
>> caching, as session-specific data can be requested in individual
>> chunks, while application-environment data (the layout, common markup,
>> etc) come separately (with more caching, since they apply more
>> generally).
>>
>> If I'm understanding it correctly, I'd suggest that cookies & sessions
>> be considered a client software issue, not a protocol issue.
>>
>


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:28:50 2012
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 CD44D21F85D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:28:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.627
X-Spam-Level: 
X-Spam-Status: No, score=-9.627 tagged_above=-999 required=5 tests=[AWL=-0.229, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, J_CHICKENPOX_64=0.6, 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 zTI69+jotWP1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:28:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 280B021F85D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:28:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsG3B-0000Js-T8 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:27:33 +0000
Resent-Date: Fri, 20 Jul 2012 16:27:33 +0000
Resent-Message-Id: <E1SsG3B-0000Js-T8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsG30-0000J6-PJ for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:27:22 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsG2w-0005lS-4f for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:27:22 +0000
Received: by wibhq4 with SMTP id hq4so647091wib.8 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:26:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=bkXqb4iK8BPDlMBO8Sf4CQp/q9WFL4ydbrA7pg0mamI=; b=N7rzsKhJCZmXR4KYTmUeANF++fdMrmtK+DTgSniRr8K7PWTJBXe4/26syV73drb2qV DNM2HN7B9zOZjCjH5HvJ5xQw7WKacPuyleHh1P4Rfyib2PagClGKM3CfAcN9UNFYWabL x1sbFohdo6MohLwwxoERS8N/rqqgedv0GZPpFxnJzpcF92+3dd1ccdDBG6dX7qteLVj+ ZOJVAD+jXfSQoeBOeAUh8JT37erkweJnxVwPCPurooBd2CDsynE8fJcJSd7EK1c0q1U0 aUgeagjfJsGhIO1j/6n8FaG/X82HzCiFxwIVUYSY/D6C/x0z5wZVuKmxKELFua0lZRm1 GoPw==
Received: by 10.180.19.162 with SMTP id g2mr15863626wie.22.1342801611684; Fri, 20 Jul 2012 09:26:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 20 Jul 2012 09:26:31 -0700 (PDT)
In-Reply-To: <20120720075229.GJ20313@1wt.eu>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 20 Jul 2012 09:26:31 -0700
Message-ID: <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>,  Roberto Peon <grmocg@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec53d5887117d4a04c5455dcf
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsG2w-0005lS-4f bd8d300a6d193b8029d4f4744ddda7cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14656
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>

--bcaec53d5887117d4a04c5455dcf
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 20, 2012 at 12:52 AM, Willy Tarreau <w@1wt.eu> wrote:

> [snip]
> > >
> > >    POST /public HTTP/1.1
> > >    Host: www.example.com
> > >    Expect: 100-Continue
> > >    Content-Length: 100
> > >
> > >    GET /private HTTP/1.1
> > >    Host: www.example.com
> >
> > In the above example the use of content-length requires that the server
> > drain 100 bytes regardless of what the client does.
>
> [snip]


So this would be yet another argument in favor of spdy-style framing and
multiplexing

Consider, for instance,

Client                  Server
  |                       |
  |======================>|
  | 1) SYN_STREAM         |
  |   id=1                |
  |   method=POST         |
  |   expect=100          |
  |   content-length:100  |
  |                       |
  |======================>|
  | 2) SYN_STREAM         |
  |   id=3                |
  |   method=GET          |
  |                       |

Due to the multiplexed framing model, the client can proceed with Stream #3
without waiting for the server to respond to the POST and without worrying
about whether the server will drop the data on the floor due to the
content-length header. If the server takes too long to respond to Stream
#1, it can attempt to go ahead and send the Stream #1 Data frames or it can
abandon the stream with a RST_STREAM without requiring the connection to be
killed off.

That said, fwiw, HTTP/1.1 clients are not supposed to be pipelining
non-idempotent methods anyway, so sending a GET on the same connection as a
POST, especially one that is using Expect: 100 is simply bad form.

- James


> Regards,
> Willy
>
>
>

--bcaec53d5887117d4a04c5455dcf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 12:52 AM, Willy Tarreau <span dir=3D"ltr">&lt;<=
a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">

<div class=3D"im">[snip]</div><div class=3D"im">
&gt; &gt;<br>
&gt; &gt; =C2=A0 =C2=A0POST /public HTTP/1.1<br>
&gt; &gt; =C2=A0 =C2=A0Host: <a href=3D"http://www.example.com" target=3D"_=
blank">www.example.com</a><br>
&gt; &gt; =C2=A0 =C2=A0Expect: 100-Continue<br>
&gt; &gt; =C2=A0 =C2=A0Content-Length: 100<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0 =C2=A0GET /private HTTP/1.1<br>
&gt; &gt; =C2=A0 =C2=A0Host: <a href=3D"http://www.example.com" target=3D"_=
blank">www.example.com</a><br>
&gt;<br>
&gt; In the above example the use of content-length requires that the serve=
r<br>
&gt; drain 100 bytes regardless of what the client does.<br>
<br>
</div>[snip]</blockquote><div><br></div><div><font face=3D"courier new, mon=
ospace">So this would be yet another argument in favor of spdy-style framin=
g and multiplexing</font></div><div><font face=3D"courier new, monospace"><=
br>

</font></div><div><font face=3D"courier new, monospace">Consider, for insta=
nce,</font></div><div><font face=3D"courier new, monospace"><br></font></di=
v><div><font face=3D"courier new, monospace">Client =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Server</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</font></div><div>=
<font face=3D"courier new, monospace">=C2=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</font></div><div><font face=3D=
"courier new, monospace">=C2=A0 | 1) SYN_STREAM =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 |</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | =C2=A0 id=3D1 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font fa=
ce=3D"courier new, monospace">=C2=A0 | =C2=A0 method=3DPOST =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, monospace">=C2=
=A0 | =C2=A0 expect=3D100 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | =C2=A0 content-length:1=
00 =C2=A0|</font></div><div><font face=3D"courier new, monospace">=C2=A0 | =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 |</font></div><div><span style=3D"font-family:&#39;courier new&#39;,mon=
ospace">=C2=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D&gt;|</span></div>

<div><font face=3D"courier new, monospace">=C2=A0 | 2) SYN_STREAM =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, monospac=
e">=C2=A0 | =C2=A0 id=3D3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0|</font></div><div><font face=3D"courier new, monospace">=C2=A0 | =C2=
=A0 method=3DGET =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</font></div><div>=
<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">Due to the multiplexed framing model, the client can=
 proceed with Stream #3 without waiting for the server to respond to the PO=
ST and without worrying about whether the server will drop the data on the =
floor due to the content-length header. If the server takes too long to res=
pond to Stream #1, it can attempt to go ahead and send the Stream #1 Data f=
rames or it can abandon the stream with a RST_STREAM without requiring the =
connection to be killed off.=C2=A0</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">That said, fwiw, HTTP/1.1 clients are not suppo=
sed to be pipelining non-idempotent methods anyway, so sending a GET on the=
 same connection as a POST, especially one that is using Expect: 100 is sim=
ply bad form.=C2=A0</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">- James</font></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">


Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>

--bcaec53d5887117d4a04c5455dcf--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:28:56 2012
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 40F5721F85D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:28:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.563
X-Spam-Level: 
X-Spam-Status: No, score=-10.563 tagged_above=-999 required=5 tests=[AWL=0.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 9l20hLy6LQ-2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:28:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 55CC121F85D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:28:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsG4S-0000N6-7v for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:28:52 +0000
Resent-Date: Fri, 20 Jul 2012 16:28:52 +0000
Resent-Message-Id: <E1SsG4S-0000N6-7v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsG4H-0000Lv-87 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:28:41 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsG4G-0005n8-2d for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:28:41 +0000
Received: by weyx43 with SMTP id x43so2934686wey.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:28:13 -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=zuzHawhIQPt13Ac74DL4DWQ8nVpFCfZssYEOSYPeVDo=; b=dYuk0+94o7+/DCrnhHyGvu5s4NG6VTIeLrg6zvHJ0A8SYlk+x5XNncoh0KRdmb2Kx5 97M8UXEd3rGq+CszS22TWGlabB5J+cblt6v0/4j9+eE97Ly32mIH8pjlCKG91SLELTW1 t9a2SvMP7tkBPDlWKLefDu2r0UfJhuUmBtU8idBTpqqYOLDQQblSm8GuZ+M185NSK9nr /fTodqF25Pcz52MDmJJn7aCZRV2lyVl5DLxbPXwH2yIN1QyYJWZbWkB83jjYFpzQd16+ ggvIiUee9TL/O78fZCwJW0H9VZ/pAN96saPlBh8JRn1e5W5KtFBymET+vnVV54vdc3Zq xKxw==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr15868803wib.20.1342801693507; Fri, 20 Jul 2012 09:28:13 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Fri, 20 Jul 2012 09:28:13 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Fri, 20 Jul 2012 09:28:13 -0700 (PDT)
In-Reply-To: <20120720054413.GC20313@1wt.eu>
References: <20120719213630.GA20313@1wt.eu> <19658.1342737373@critter.freebsd.dk> <20120720054413.GC20313@1wt.eu>
Date: Fri, 20 Jul 2012 09:28:13 -0700
Message-ID: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  James Snell <jasnell@gmail.com>, Philippe Mougin <pmougin@acm.org>
Content-Type: multipart/alternative; boundary=f46d04430446f2005804c5456191
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsG4G-0005n8-2d e9da27e910df75b222cbd8116bc1e2cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14657
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>

--f46d04430446f2005804c5456191
Content-Type: text/plain; charset=ISO-8859-1

We're basically reinventing parts of the TLS handshake.

I don't want this to turn into TLS vs not TLS, just pointing out that
generating a shared nonce securely is something we already know how to do.

-=R
On Jul 19, 2012 10:47 PM, "Willy Tarreau" <w@1wt.eu> wrote:

> On Thu, Jul 19, 2012 at 10:36:13PM +0000, Poul-Henning Kamp wrote:
> > In message <20120719213630.GA20313@1wt.eu>, Willy Tarreau writes:
> > >On Thu, Jul 19, 2012 at 08:48:01PM +0000, Poul-Henning Kamp wrote:
> >
> > >I think it would be terribly useful to have a session container in which
> > >we can store one or more session identifiers and that load balancers and
> > >servers can easily access and manipulate.
> >
> > At this point I would like to defer to card-carrying cryptographers,
> > because while I think nobody but the client should be allowed to
> > define/change the session identifier, in order to shut out spoofing
> > of it, I don't trust my own analysis of this question to be definitive.
>
> Yes you're right that if the client builds it by itself, the ID cannot
> be injected. However it can still be stolen and reused. But at least
> the easiest part of the security failure with cookies would be covered.
>
> > I do think it would be terribly useful if the session-id was client
> > originated and contained a anon/specific-authenticated-user bit,
> > because that would warn the server about public PCs etc.  So even
> > if we don't do the session-id, I think I would advocate that bit
> > on its own.
>
> Based on your first point above, I think that the client could build
> *part* of the ID. If the client generates a 64-bit random for instance,
> it doesn't ensure unicity, which is a server's task, but it saves it
> from being injected another ID. So from the server's point of view,
> a client could be identified by the couple of (ID1,ID2) where ID1 is
> invented by the client and unknown from JS and ID2 is invented by the
> server.
>
> We could then even keep cookies as they are for ID2, and just use a
> new identifier for ID1. That way we remain compatible with HTTP/1
> (important goal) and HTTP/2to1 gateways can pass ID1 into a header
> field that the server can use.
>
> If we do something like this, then it is wise to make this ID part
> of the protocol, just like the mask is part of the protocol in
> websocket without being accessible to the client's stack.
>
> This needs more thinking in my opinion but I think it's worth it.
>
> Willy
>
>
>

--f46d04430446f2005804c5456191
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">We&#39;re basically reinventing parts of the TLS handshake.<=
/p>
<p dir=3D"ltr">I don&#39;t want this to turn into TLS vs not TLS, just poin=
ting out that generating a shared nonce securely is something we already kn=
ow how to do.</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 19, 2012 10:47 PM, &quot;Willy Tarreau&qu=
ot; &lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt; wrote:<br type=3D"attr=
ibution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
On Thu, Jul 19, 2012 at 10:36:13PM +0000, Poul-Henning Kamp wrote:<br>
&gt; In message &lt;<a href=3D"mailto:20120719213630.GA20313@1wt.eu">201207=
19213630.GA20313@1wt.eu</a>&gt;, Willy Tarreau writes:<br>
&gt; &gt;On Thu, Jul 19, 2012 at 08:48:01PM +0000, Poul-Henning Kamp wrote:=
<br>
&gt;<br>
&gt; &gt;I think it would be terribly useful to have a session container in=
 which<br>
&gt; &gt;we can store one or more session identifiers and that load balance=
rs and<br>
&gt; &gt;servers can easily access and manipulate.<br>
&gt;<br>
&gt; At this point I would like to defer to card-carrying cryptographers,<b=
r>
&gt; because while I think nobody but the client should be allowed to<br>
&gt; define/change the session identifier, in order to shut out spoofing<br=
>
&gt; of it, I don&#39;t trust my own analysis of this question to be defini=
tive.<br>
<br>
Yes you&#39;re right that if the client builds it by itself, the ID cannot<=
br>
be injected. However it can still be stolen and reused. But at least<br>
the easiest part of the security failure with cookies would be covered.<br>
<br>
&gt; I do think it would be terribly useful if the session-id was client<br=
>
&gt; originated and contained a anon/specific-authenticated-user bit,<br>
&gt; because that would warn the server about public PCs etc. =A0So even<br=
>
&gt; if we don&#39;t do the session-id, I think I would advocate that bit<b=
r>
&gt; on its own.<br>
<br>
Based on your first point above, I think that the client could build<br>
*part* of the ID. If the client generates a 64-bit random for instance,<br>
it doesn&#39;t ensure unicity, which is a server&#39;s task, but it saves i=
t<br>
from being injected another ID. So from the server&#39;s point of view,<br>
a client could be identified by the couple of (ID1,ID2) where ID1 is<br>
invented by the client and unknown from JS and ID2 is invented by the<br>
server.<br>
<br>
We could then even keep cookies as they are for ID2, and just use a<br>
new identifier for ID1. That way we remain compatible with HTTP/1<br>
(important goal) and HTTP/2to1 gateways can pass ID1 into a header<br>
field that the server can use.<br>
<br>
If we do something like this, then it is wise to make this ID part<br>
of the protocol, just like the mask is part of the protocol in<br>
websocket without being accessible to the client&#39;s stack.<br>
<br>
This needs more thinking in my opinion but I think it&#39;s worth it.<br>
<br>
Willy<br>
<br>
<br>
</blockquote></div>

--f46d04430446f2005804c5456191--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:42:52 2012
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 01A0521F857D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:42:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.918
X-Spam-Level: 
X-Spam-Status: No, score=-9.918 tagged_above=-999 required=5 tests=[AWL=0.080, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, 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 Mf3W7AVfOi4I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:42:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D3AE21F8555 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:42:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsGGt-0001JL-Ad for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:41:43 +0000
Resent-Date: Fri, 20 Jul 2012 16:41:43 +0000
Resent-Message-Id: <E1SsGGt-0001JL-Ad@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsGGh-0001IV-V8 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:41:32 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsGGg-00048D-H6 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:41:31 +0000
Received: by wibhq4 with SMTP id hq4so660901wib.8 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:41:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8dPi/9BjvOgRN6MddtzIPpc7fIwDjZZeOs6OhcQXzo4=; b=ciEaG1b9leC6m0J4fpypzmSmJ32hurqwponLpX5eVIKqC6ZjjupExAelEtaX/O1SuE R4HZhGdhfuRvi0SweBYtpWmfQZck6traejlW45XVYuvXFKnWVIIxFC5JNkA2DyvpUHAj 4SOY2fEfI0nvFIDP2GoxBn0xCZY+jGci+RZpMhTIu86GVuBR4P8mtuXaLLSHLGzIeaH+ Y/pp/tMs46DlJUrQ/PFtA+nYTv3VrEjkmbDs7iPclzMfbefvj/VnT+9YyFDY9LTz4szk E+MLKirLqgqvxLBQX0+8Q0ARdNrx4MfjuEYhwqPJ4YxgF0SpTtRsHI3JJx3PxlAwpdcM IWFA==
Received: by 10.180.19.162 with SMTP id g2mr15979966wie.22.1342802463729; Fri, 20 Jul 2012 09:41:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 20 Jul 2012 09:40:43 -0700 (PDT)
In-Reply-To: <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>
References: <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 20 Jul 2012 09:40:43 -0700
Message-ID: <CABP7Rbeu4Q-qugwvLpLHONRFp3HcTKRsYCJnVv+=uXFGAL3vvg@mail.gmail.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec53d5887daa75904c5458f00
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsGGg-00048D-H6 4e9650a95d3db11f50e1de99e6c352e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7Rbeu4Q-qugwvLpLHONRFp3HcTKRsYCJnVv+=uXFGAL3vvg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14658
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>

--bcaec53d5887daa75904c5458f00
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 20, 2012 at 3:30 AM, Nicolas Mailhot <
nicolas.mailhot@laposte.net> wrote:

> [snip]
> To have a reliable system you would need something like the following:
>
> 1. at the start of a stateful interaction the server (only actor that
> knows it will need state) challenges the user agent for a new unique id,
> and provides a unique state tag (short so it can not be abused for
> anything else)
>
> 2. the user agent generates it following its own rules and sends it to the
> server. Server gets no say in what ends up in the id (can only reject it
> if not unique)
>
> 3. the server then tags anything related to this state with its tag (bank
> logo is not stateful, even if sent over tls, it's ok for the user agent to
> reuse it later in another tab)
>
>
Just thinking off the top of my head... not sure if this works or not as I
had not originally thought of the possibility of using this for this kind
of session but consider the KEY_NEGO mechanism I describe here:
http://chmod777self.blogspot.com/2012/07/spdy-in-session-key-negotiation.html

Consider..

Client                  Server
   |                      |
   |=====================>|
   |1)SYN_STREAM          |
   |  id:1                |
   |  method:get          |
   |                      |
   |<=====================|
   |2)KEY_NEGO            |
   |  id=2                |
   |  alg=session_key     |
   |  params=...          |
   |                      |
   |=====================>|
   |3)KEY_NEGO            |
   |  id=2                |
   |  alg=session_key     |
   |  params=...          |
   |                      |
   |<=====================|
   |4)SYN_REPLY           |
   |  id=1                |
   |  session_key=2       |
   |  status: 200         |
   | ...                  |

Using this approach, either end can maintain a session secret that prevents
the session from being hijacked, an the streams themselves are tagged with
a identifier that can be used for persistent routing / session stickiness.

I dunno if that works or not, but will definitely have to give some more
thought to it....

- James

--bcaec53d5887daa75904c5458f00
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 3:30 AM, Nicolas Mailhot <span dir=3D"ltr">&lt;=
<a href=3D"mailto:nicolas.mailhot@laposte.net" target=3D"_blank">nicolas.ma=
ilhot@laposte.net</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">[snip]</div>
To have a reliable system you would need something like the following:<br>
<br>
1. at the start of a stateful interaction the server (only actor that<br>
knows it will need state) challenges the user agent for a new unique id,<br=
>
and provides a unique state tag (short so it can not be abused for<br>
anything else)<br>
<br>
2. the user agent generates it following its own rules and sends it to the<=
br>
server. Server gets no say in what ends up in the id (can only reject it<br=
>
if not unique)<br>
<br>
3. the server then tags anything related to this state with its tag (bank<b=
r>
logo is not stateful, even if sent over tls, it&#39;s ok for the user agent=
 to<br>
reuse it later in another tab)<br>
<br></blockquote><div><br></div><div><font face=3D"courier new, monospace">=
Just thinking off the top of my head... not sure if this works or not as I =
had not originally thought of the possibility of using this for this kind o=
f session but consider the KEY_NEGO mechanism I describe here:=C2=A0<a href=
=3D"http://chmod777self.blogspot.com/2012/07/spdy-in-session-key-negotiatio=
n.html">http://chmod777self.blogspot.com/2012/07/spdy-in-session-key-negoti=
ation.html</a></font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Consider..</font></div><div><font face=3D"couri=
er new, monospace"><br></font></div><div><font face=3D"courier new, monospa=
ce">Client =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Se=
rver</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><d=
iv><font face=3D"courier new, monospace">=C2=A0 =C2=A0|=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</font></div><div><font f=
ace=3D"courier new, monospace">=C2=A0 =C2=A0|1)SYN_STREAM =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0id:1 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font f=
ace=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0method:get =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monos=
pace">=C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0|&lt;=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|</font></div><div><font=
 face=3D"courier new, monospace">=C2=A0 =C2=A0|2)KEY_NEGO =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monos=
pace">=C2=A0 =C2=A0| =C2=A0id=3D2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0alg=3Dsessi=
on_key =C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, monospac=
e">=C2=A0 =C2=A0| =C2=A0params=3D... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</f=
ont></div><div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</fon=
t></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0|=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</font></div><div><font f=
ace=3D"courier new, monospace">=C2=A0 =C2=A0|3)KEY_NEGO =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monos=
pace">=C2=A0 =C2=A0| =C2=A0id=3D2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0alg=3Dsessi=
on_key =C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, monospac=
e">=C2=A0 =C2=A0| =C2=A0params=3D... =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</f=
ont></div><div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</fon=
t></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0|&lt;=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|</font></div><div><font=
 face=3D"courier new, monospace">=C2=A0 =C2=A0|4)SYN_REPLY =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, monospac=
e">=C2=A0 =C2=A0| =C2=A0id=3D1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| =C2=A0session_key=
=3D2 =C2=A0 =C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, mon=
ospace">=C2=A0 =C2=A0| =C2=A0status: 200 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</fon=
t></div><div><font face=3D"courier new, monospace">=C2=A0 =C2=A0| ... =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div>

<div><br></div><div>Using this approach, either end can maintain a session =
secret that prevents the session from being hijacked, an the streams themse=
lves are tagged with a identifier that can be used for persistent routing /=
 session stickiness.</div>

<div><br></div><div>I dunno if that works or not, but will definitely have =
to give some more thought to it....</div><div><br></div><div>- James</div><=
/div>

--bcaec53d5887daa75904c5458f00--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:42:56 2012
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 2D84621F85C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:42:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.965
X-Spam-Level: 
X-Spam-Status: No, score=-9.965 tagged_above=-999 required=5 tests=[AWL=-0.567, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, J_CHICKENPOX_64=0.6, 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 82MPf2YlS3km for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:42:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 39D7021F857D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:42:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsGHl-0001Ux-QE for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:42:37 +0000
Resent-Date: Fri, 20 Jul 2012 16:42:37 +0000
Resent-Message-Id: <E1SsGHl-0001Ux-QE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsGHa-0001N2-JY for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:42:26 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsGHZ-0006DK-7U for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:42:26 +0000
Received: by wgbdt14 with SMTP id dt14so3538056wgb.26 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:41:58 -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=FymzZk00CKx/zvsJ/oolZ5I8ouBT4rdB4Mcdggp7OTo=; b=KkTy2ZkcCQtev1MtlkD8xxEtGV/ddvgRw4/BYMOAd++S1mcP21pkAMQGgPzRjkRpNq WFMh+C3c/uIodV4nPf//bavWeJOqaJPwaIWvJs0I1ZtrKTehPn6ODpC61VZy60O5Qwx9 UjdPxWIufZef2PhXgNXI49mkaLt1PlHmzMGlfYUI3DwUdzhJEAp9ELjy8t0q5opl2SIs fEOEN3volLuMSrhxPKGSa+p34xeIzHz7e+JHjGpxO4bFjv41fsQQdo8pCxOT7/9UDPRn 8nLxFygynBhYTYw/fk1SHns4RDfQqGKHP2QS+lDQNqU+vqmtTRQ9G+yWxVJYRPK3h7JR eUiQ==
MIME-Version: 1.0
Received: by 10.180.78.2 with SMTP id x2mr16035505wiw.10.1342802518750; Fri, 20 Jul 2012 09:41:58 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Fri, 20 Jul 2012 09:41:58 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Fri, 20 Jul 2012 09:41:58 -0700 (PDT)
In-Reply-To: <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C663F7@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <5005CB8C.2000802@gmx.de> <20120717205922.GA4338@1wt.eu> <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com>
Date: Fri, 20 Jul 2012 09:41:58 -0700
Message-ID: <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>, Osama Mazahir <OSAMAM@microsoft.com>,  Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d0438935922353604c54593ea
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsGHZ-0006DK-7U f97fde6ca558fffb0aa3d39a7ecdec49
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14659
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>

--f46d0438935922353604c54593ea
Content-Type: text/plain; charset=ISO-8859-1

I wish that POST actually meant "here is something that changes state" and
GET meant "nope,  of changing any state", but both are lies today as far as
I can tell.

POST generally means : here is  form input or here is a file, which
sometimes changes state and sometimes doesn't.

I believe this failure to be the result of not exposing rich enough (and
fully HTTP) semantics to the browser JavaScript and thus having forced the
web application writers to make do with what they had.

I believe at this point that we should probably amend the spec to state the
common practice as a warning to anyone who makes assumptions about
idempotency.

Bleh.

-=R
On Jul 20, 2012 9:26 AM, "James M Snell" <jasnell@gmail.com> wrote:

>
>
> On Fri, Jul 20, 2012 at 12:52 AM, Willy Tarreau <w@1wt.eu> wrote:
>
>> [snip]
>> > >
>> > >    POST /public HTTP/1.1
>> > >    Host: www.example.com
>> > >    Expect: 100-Continue
>> > >    Content-Length: 100
>> > >
>> > >    GET /private HTTP/1.1
>> > >    Host: www.example.com
>> >
>> > In the above example the use of content-length requires that the server
>> > drain 100 bytes regardless of what the client does.
>>
>> [snip]
>
>
> So this would be yet another argument in favor of spdy-style framing and
> multiplexing
>
> Consider, for instance,
>
> Client                  Server
>   |                       |
>   |======================>|
>   | 1) SYN_STREAM         |
>   |   id=1                |
>   |   method=POST         |
>   |   expect=100          |
>   |   content-length:100  |
>   |                       |
>   |======================>|
>   | 2) SYN_STREAM         |
>   |   id=3                |
>   |   method=GET          |
>   |                       |
>
> Due to the multiplexed framing model, the client can proceed with Stream
> #3 without waiting for the server to respond to the POST and without
> worrying about whether the server will drop the data on the floor due to
> the content-length header. If the server takes too long to respond to
> Stream #1, it can attempt to go ahead and send the Stream #1 Data frames or
> it can abandon the stream with a RST_STREAM without requiring the
> connection to be killed off.
>
> That said, fwiw, HTTP/1.1 clients are not supposed to be pipelining
> non-idempotent methods anyway, so sending a GET on the same connection as a
> POST, especially one that is using Expect: 100 is simply bad form.
>
> - James
>
>
>> Regards,
>> Willy
>>
>>
>>
>

--f46d0438935922353604c54593ea
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">I wish that POST actually meant &quot;here is something that=
 changes state&quot; and GET meant &quot;nope,=A0 of changing any state&quo=
t;, but both are lies today as far as I can tell.</p>
<p dir=3D"ltr">POST generally means : here is=A0 form input or here is a fi=
le, which sometimes changes state and sometimes doesn&#39;t.</p>
<p dir=3D"ltr">I believe this failure to be the result of not exposing rich=
 enough (and fully HTTP) semantics to the browser JavaScript and thus havin=
g forced the web application writers to make do with what they had.</p>
<p dir=3D"ltr">I believe at this point that we should probably amend the sp=
ec to state the common practice as a warning to anyone who makes assumption=
s about idempotency.</p>
<p dir=3D"ltr">Bleh.</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 20, 2012 9:26 AM, &quot;James M Snell&quo=
t; &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrote=
:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 12:52 AM, Willy Tarreau <span dir=3D"ltr">&lt;<=
a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">


<div>[snip]</div><div>
&gt; &gt;<br>
&gt; &gt; =A0 =A0POST /public HTTP/1.1<br>
&gt; &gt; =A0 =A0Host: <a href=3D"http://www.example.com" target=3D"_blank"=
>www.example.com</a><br>
&gt; &gt; =A0 =A0Expect: 100-Continue<br>
&gt; &gt; =A0 =A0Content-Length: 100<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0GET /private HTTP/1.1<br>
&gt; &gt; =A0 =A0Host: <a href=3D"http://www.example.com" target=3D"_blank"=
>www.example.com</a><br>
&gt;<br>
&gt; In the above example the use of content-length requires that the serve=
r<br>
&gt; drain 100 bytes regardless of what the client does.<br>
<br>
</div>[snip]</blockquote><div><br></div><div><font face=3D"courier new, mon=
ospace">So this would be yet another argument in favor of spdy-style framin=
g and multiplexing</font></div><div><font face=3D"courier new, monospace"><=
br>


</font></div><div><font face=3D"courier new, monospace">Consider, for insta=
nce,</font></div><div><font face=3D"courier new, monospace"><br></font></di=
v><div><font face=3D"courier new, monospace">Client =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0Server</font></div>


<div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 |</font></div><div><font face=3D"courier new, monospace=
">=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&g=
t;|</font></div><div><font face=3D"courier new, monospace">=A0 | 1) SYN_STR=
EAM =A0 =A0 =A0 =A0 |</font></div>


<div><font face=3D"courier new, monospace">=A0 | =A0 id=3D1 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0|</font></div><div><font face=3D"courier new, monospace">=
=A0 | =A0 method=3DPOST =A0 =A0 =A0 =A0 |</font></div><div><font face=3D"co=
urier new, monospace">=A0 | =A0 expect=3D100 =A0 =A0 =A0 =A0 =A0|</font></d=
iv>


<div><font face=3D"courier new, monospace">=A0 | =A0 content-length:100 =A0=
|</font></div><div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><div><span style=3D"font-fami=
ly:&#39;courier new&#39;,monospace">=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</span></div>


<div><font face=3D"courier new, monospace">=A0 | 2) SYN_STREAM =A0 =A0 =A0 =
=A0 |</font></div><div><font face=3D"courier new, monospace">=A0 | =A0 id=
=3D3 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div><div><font face=3D"courie=
r new, monospace">=A0 | =A0 method=3DGET =A0 =A0 =A0 =A0 =A0|</font></div>


<div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 |</font></div><div><font face=3D"courier new, monospace=
"><br></font></div><div><font face=3D"courier new, monospace">Due to the mu=
ltiplexed framing model, the client can proceed with Stream #3 without wait=
ing for the server to respond to the POST and without worrying about whethe=
r the server will drop the data on the floor due to the content-length head=
er. If the server takes too long to respond to Stream #1, it can attempt to=
 go ahead and send the Stream #1 Data frames or it can abandon the stream w=
ith a RST_STREAM without requiring the connection to be killed off.=A0</fon=
t></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">That said, fwiw, HTTP/1.1 clients are not suppo=
sed to be pipelining non-idempotent methods anyway, so sending a GET on the=
 same connection as a POST, especially one that is using Expect: 100 is sim=
ply bad form.=A0</font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">- James</font></div><div>=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">



Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>
</blockquote></div>

--f46d0438935922353604c54593ea--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:43:41 2012
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 0DC5621F849B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:43:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.322
X-Spam-Level: 
X-Spam-Status: No, score=-9.322 tagged_above=-999 required=5 tests=[AWL=0.676, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, 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 7G83fYfIt5-A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:43:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3FE8221F841A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:43:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsGJB-0001qb-DH for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:44:05 +0000
Resent-Date: Fri, 20 Jul 2012 16:44:05 +0000
Resent-Message-Id: <E1SsGJB-0001qb-DH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsGJ0-0001nI-So for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:43:54 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsGIz-0006JL-6i for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:43:54 +0000
Received: by wgbdt14 with SMTP id dt14so3539131wgb.26 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:43:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=K0Nb8AoNAnrP24R1TuVRsuRhjFr5dGfYJulhzQWu3OQ=; b=kEsgw8i1P2l+Xg7KK/FGRvG65ASfIR9tlC2LkvpSWvT9hj3RhTz5xpTPEuY5pIM5k/ aYxgIho0utdwlvFrGUHI0yv141HF84qbOavRz+vvc7bmpxaQeZoSvSfNJCZSpqH/N/f5 5+03B/52M0gqCAlwdPMTQZiOxvBMQ6HPXy07+V1xfySwWfvXLjdlzcSrjK8AfrvMI13r WlVM/6R+qvJSZk3ODfeJx4ciOR5fHM3LaJndf58XuzxdGsArC+k8siUqME+/nyQTnp15 XhXvMnoLzvJ1+Sk/9sx8KRPZIGE0g+tsWq+/TpUmto7Qnp+k2JZfjN2L0f5Sl1Wy7YgZ D9oA==
Received: by 10.216.237.193 with SMTP id y43mr4399285weq.75.1342802606706; Fri, 20 Jul 2012 09:43:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 20 Jul 2012 09:43:06 -0700 (PDT)
In-Reply-To: <22365.1342780884@critter.freebsd.dk>
References: <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org> <22365.1342780884@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 20 Jul 2012 09:43:06 -0700
Message-ID: <CABP7RbexMw7w3oKWq_QPDSfqHwuG9dj2FZa6dUBa=hPg5ffO8Q@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, Amos Jeffries <squid3@treenet.co.nz>,  Willy Tarreau <w@1wt.eu>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0015175774fe604f3404c54598c5
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsGIz-0006JL-6i 8b11d5c7e0898f9e7e2894e497b28789
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7RbexMw7w3oKWq_QPDSfqHwuG9dj2FZa6dUBa=hPg5ffO8Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14660
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>

--0015175774fe604f3404c54598c5
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 20, 2012 at 3:41 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org>,
> "Nicol
> as Mailhot" writes:
>
> >1. at the start of a stateful interaction the server (only actor that
> >knows it will need state) challenges the user agent for a new unique id,
> >and provides a unique state tag (short so it can not be abused for
> >anything else)
>
> I think we can speed up this safely by allowing the client to always
> offer a unique ID without being asked.  If the server doesn't need it,
> it will just ignore it.
>
>
Again, just brainstorming on this.... not sure if this works..

Client                 Server
  |                      |
  |=====================>|
  |1)KEY_NEGO            |
  | id=1                 |
  | alg=session_key      |
  | params=...           |
  |                      |
  |=====================>|
  |2)SYN_STREAM          |
  | id=1                 |
  | method=GET           |
  | session_key=1        |
  |                      |


>  >I'm quite sure that if such a mechanism existed today the EU would have
> >just banned cookie use altogether.
>
> Indeed.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--0015175774fe604f3404c54598c5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 3:41 AM, Poul-Henning Kamp <span dir=3D"ltr">&l=
t;<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.d=
k</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;<a href=3D"mailto:9c4a1f3bd08=
bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org">9c4a1f3bd08bf10c608b2c01f0=
1440b2.squirrel@arekh.dyndns.org</a>&gt;, &quot;Nicol<br>


<div class=3D"im">as Mailhot&quot; writes:<br>
<br>
&gt;1. at the start of a stateful interaction the server (only actor that<b=
r>
&gt;knows it will need state) challenges the user agent for a new unique id=
,<br>
&gt;and provides a unique state tag (short so it can not be abused for<br>
&gt;anything else)<br>
<br>
</div>I think we can speed up this safely by allowing the client to always<=
br>
offer a unique ID without being asked. =C2=A0If the server doesn&#39;t need=
 it,<br>
it will just ignore it.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div><font face=3D"=
courier new, monospace">Again, just brainstorming on this.... not sure if t=
his works..</font></div><div><font face=3D"courier new, monospace"><br></fo=
nt></div>

<div><font face=3D"courier new, monospace">Client =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Server</font></div><div><font face=3D"couri=
er new, monospace">=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new=
, monospace">=C2=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D&gt;|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 |1)KEY_NEGO =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, m=
onospace">=C2=A0 | id=3D1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 |</font></div><div><font face=3D"courier new, monospace">=C2=A0 | al=
g=3Dsession_key =C2=A0 =C2=A0 =C2=A0|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | params=3D... =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 |</font></div><div><font face=3D"courier new, mono=
space">=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monospace">=
=C2=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;=
|</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 |2)SYN_STREAM =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monos=
pace">=C2=A0 | id=3D1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 |</font></div><div><font face=3D"courier new, monospace">=C2=A0 | metho=
d=3DGET =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | session_key=3D1 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monospace=
">=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</font></div><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im">
&gt;I&#39;m quite sure that if such a mechanism existed today the EU would =
have<br>
&gt;just banned cookie use altogether.<br>
<br>
</div>Indeed.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br>

--0015175774fe604f3404c54598c5--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:53:37 2012
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 A269721F84FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:53:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.838
X-Spam-Level: 
X-Spam-Status: No, score=-9.838 tagged_above=-999 required=5 tests=[AWL=0.760, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Suv7TGT-9IcK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:53:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BB08621F84F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:53: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 1SsGRc-0008C6-3j for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:52:48 +0000
Resent-Date: Fri, 20 Jul 2012 16:52:48 +0000
Resent-Message-Id: <E1SsGRc-0008C6-3j@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsGRQ-0008BL-AU for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:52:36 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsGRP-0004Xp-8X for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:52:36 +0000
Received: by vcdd16 with SMTP id d16so2966873vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 09:52:09 -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=C02PM/EIi3+oAvOCNGJsC0RqczC4lQnGISIjTtE5hHM=; b=ug4GZN/uAPwnkCyi/sOavzGXHHh+avJEypZlB6hZHsbsyrsxd6DbcmBbpoib1avl1H FlUpo2C2KNbx/9a67wGkaK5l/0Qo9pnVD/jbFAo8Yh7LlyLPCCXYu4u1XRFA9A7lJZlB 8dhgSxva9od0uil/WHpZsAYTJhVBabvagQzJPkUYL+8CQn97ye/f5pGzZOElzOaulv0J OfjSefhzs8K3wb0si6bme5Fjlqdhljh2mG1kkeXuzviD9O403ryWqImL80N+FbeeXxu3 vmhFZjDlAXRQJpiO2hok4207uUxwAM7OSNBJ4NnzywRNSOYXQjzmDHv0Q9nszPOyFbXs Oz5A==
MIME-Version: 1.0
Received: by 10.52.70.163 with SMTP id n3mr4466378vdu.64.1342803129312; Fri, 20 Jul 2012 09:52:09 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Fri, 20 Jul 2012 09:52:09 -0700 (PDT)
In-Reply-To: <CAD4FMejQnL6=GFY1X5PLP422bhaqNdNTqZneX3X4pvb2QAppXQ@mail.gmail.com>
References: <CAD4FMegsc7Y9qZXZghX0Da0iDEwDuog1-F8FB4ouDf4Gh0KxUg@mail.gmail.com> <50097644.6000301@jrn.me.uk> <CAD4FMejQnL6=GFY1X5PLP422bhaqNdNTqZneX3X4pvb2QAppXQ@mail.gmail.com>
Date: Fri, 20 Jul 2012 09:52:09 -0700
Message-ID: <CAAPAK-7bcjva7L0+_yVAeVsztoSX+5YTovMk9Pab3gqwV53DOg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Paul Frazee <pfrazee@gmail.com>
Cc: Ross Nicoll <jrn@jrn.me.uk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec501621586a6cb04c545b7f6
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsGRP-0004Xp-8X 8486dfe224c39e3d7aded216795f5d06
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Cookies, sessions, browser software
Archived-At: <http://www.w3.org/mid/CAAPAK-7bcjva7L0+_yVAeVsztoSX+5YTovMk9Pab3gqwV53DOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14661
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>

--bcaec501621586a6cb04c545b7f6
Content-Type: text/plain; charset=ISO-8859-1

The HTTP-proxy that acquires state becomes the agent, and that change in
state does not require VM specifications in the protocol.

On Friday, July 20, 2012, Paul Frazee wrote:

> > If session management is going to use headers, surely it needs to be
> defined
> > in the protocol, irrespective of whether the user agent or client-side
> > Javascript writes those headers.
>
> Header usage is certain; I'm wondering if we can just simplify the
> HTTP protocol and anticipate that each application can tailor their
> own protocol with a more specific behavior.
>
> > Beyond that, I don't think we can assume user agents will support
> Javascript
> > or any other sort of scripting
>
> Fair point; I don't know the scope of that issue. If that's not just
> an "old software" situation, then my suggestion doesn't hold.
>
> > and I fear that single pages that re-write
> > themselves are likely to be a nightmare in terms of accessibility (for
> > example for blind users). Certainly I'd much rather define sessions in a
> way
> > that the user agent can manage, and therefore can present options (such
> as
> > logout) in a way that makes sense given their user interface.
>
> Yeah, those are definitely problems with current implementations. I'm
> trying to watch the trend and assume that issues like that will
> eventually be sorted out, but maybe not.
>
>
> > On 20/07/2012 15:39, Paul Frazee wrote:
> >>
> >> On the issue of cookies-- is it possible that improving javascript
> >> features in browsers will ultimately solve the problem? For instance,
> >> the trend of one-page applications give a model in which requests are
> >> formed by the application's client software, allowing it to specify
> >> any session-identifying headers it needs. The model also helps with
> >> caching, as session-specific data can be requested in individual
> >> chunks, while application-environment data (the layout, common markup,
> >> etc) come separately (with more caching, since they apply more
> >> generally).
> >>
> >> If I'm understanding it correctly, I'd suggest that cookies & sessions
> >> be considered a client software issue, not a protocol issue.
> >>
> >
>
>

--bcaec501621586a6cb04c545b7f6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>The HTTP-proxy that acquires state becomes the agent, and that change =
in state does not require VM specifications in the protocol.</div><div><br>=
</div><div>On Friday, July 20, 2012, Paul Frazee  wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">
&gt; If session management is going to use headers, surely it needs to be d=
efined<br>
&gt; in the protocol, irrespective of whether the user agent or client-side=
<br>
&gt; Javascript writes those headers.<br>
<br>
Header usage is certain; I&#39;m wondering if we can just simplify the<br>
HTTP protocol and anticipate that each application can tailor their<br>
own protocol with a more specific behavior.<br>
<br>
&gt; Beyond that, I don&#39;t think we can assume user agents will support =
Javascript<br>
&gt; or any other sort of scripting<br>
<br>
Fair point; I don&#39;t know the scope of that issue. If that&#39;s not jus=
t<br>
an &quot;old software&quot; situation, then my suggestion doesn&#39;t hold.=
<br>
<br>
&gt; and I fear that single pages that re-write<br>
&gt; themselves are likely to be a nightmare in terms of accessibility (for=
<br>
&gt; example for blind users). Certainly I&#39;d much rather define session=
s in a way<br>
&gt; that the user agent can manage, and therefore can present options (suc=
h as<br>
&gt; logout) in a way that makes sense given their user interface.<br>
<br>
Yeah, those are definitely problems with current implementations. I&#39;m<b=
r>
trying to watch the trend and assume that issues like that will<br>
eventually be sorted out, but maybe not.<br>
<br>
<br>
&gt; On 20/07/2012 15:39, Paul Frazee wrote:<br>
&gt;&gt;<br>
&gt;&gt; On the issue of cookies-- is it possible that improving javascript=
<br>
&gt;&gt; features in browsers will ultimately solve the problem? For instan=
ce,<br>
&gt;&gt; the trend of one-page applications give a model in which requests =
are<br>
&gt;&gt; formed by the application&#39;s client software, allowing it to sp=
ecify<br>
&gt;&gt; any session-identifying headers it needs. The model also helps wit=
h<br>
&gt;&gt; caching, as session-specific data can be requested in individual<b=
r>
&gt;&gt; chunks, while application-environment data (the layout, common mar=
kup,<br>
&gt;&gt; etc) come separately (with more caching, since they apply more<br>
&gt;&gt; generally).<br>
&gt;&gt;<br>
&gt;&gt; If I&#39;m understanding it correctly, I&#39;d suggest that cookie=
s &amp; sessions<br>
&gt;&gt; be considered a client software issue, not a protocol issue.<br>
&gt;&gt;<br>
&gt;<br>
<br>
</blockquote></div>

--bcaec501621586a6cb04c545b7f6--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 09:56:03 2012
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 6B74621F85E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:56:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 2qrMMCqzEjsk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 09:56:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9D81821F855A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 09:56:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsGVK-0002oh-N6 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 16:56:38 +0000
Resent-Date: Fri, 20 Jul 2012 16:56:38 +0000
Resent-Message-Id: <E1SsGVK-0002oh-N6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsGVA-0002nr-8Q for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 16:56:28 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsGV9-000524-Aw for ietf-http-wg@w3.org; Fri, 20 Jul 2012 16:56:28 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 6FFA83B080; Fri, 20 Jul 2012 16:56:04 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KGu36u023397; Fri, 20 Jul 2012 16:56:03 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>, Philippe Mougin <pmougin@acm.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 09:28:13 MST." <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 16:56:03 +0000
Message-ID: <23396.1342803363@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsGV9-000524-Aw 4d2fd0af3bdd12102a96139bc50b63b8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/23396.1342803363@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14662
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>

In message <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com>
, Roberto Peon writes:

>I don't want this to turn into TLS vs not TLS, just pointing out that
>generating a shared nonce securely is something we already know how to do.

It doesn't have to be secure, it doesn't even have to be unique, to
serve the role I'm looking for, all I want is that the user-agent
gives us a routeable id.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 10:20:44 2012
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 0965F21F850F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:20:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.665
X-Spam-Level: 
X-Spam-Status: No, score=-9.665 tagged_above=-999 required=5 tests=[AWL=0.333, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, 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 Q+f0DgpZyQn9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:20:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3690921F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 10:20:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsGrh-0008NL-GX for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 17:19:45 +0000
Resent-Date: Fri, 20 Jul 2012 17:19:45 +0000
Resent-Message-Id: <E1SsGrh-0008NL-GX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsGrW-0008Ma-GM for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 17:19:34 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsGrV-0005ko-EH for ietf-http-wg@w3.org; Fri, 20 Jul 2012 17:19:34 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so3510713vbb.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 10:19:13 -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=Ndv7xg9dzABx/EKX6i4Oy69lvOobhB5J2H1kPWDPu4w=; b=vEJol6OiD8z4/2T6WGMP3B648Q/DsFkVHVOOJuSYG+dWNz6LYor8MhXW24dmsvxdGU yWMhIbFEouWaAEpBqS7PSeP2vBdFxOvi90xyLJDsx9P6xrVRYh+HAeVbNFewt8qEhwPq snLBy43aLJvOVOGxI+dB86R1vlvsemlGEXHCv78X6bVy6NCsFEi5cftNzjrp58HCzT8x 4UAdWuYT9oZ8setPV6m9IhLrOJYBv+psKSanD6IT7ZZbXjLFkdvAvPsGTJ9o28KGDw3z 2XO+8aAMKFwPeqV1J7KC17iggITlcxfvdkXC7Gu6Gn+Q2AlLHDfHMu0csI6Kl01PlKGK vLWQ==
MIME-Version: 1.0
Received: by 10.52.92.49 with SMTP id cj17mr4552322vdb.21.1342804752836; Fri, 20 Jul 2012 10:19:12 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Fri, 20 Jul 2012 10:19:12 -0700 (PDT)
In-Reply-To: <CABP7RbexMw7w3oKWq_QPDSfqHwuG9dj2FZa6dUBa=hPg5ffO8Q@mail.gmail.com>
References: <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org> <22365.1342780884@critter.freebsd.dk> <CABP7RbexMw7w3oKWq_QPDSfqHwuG9dj2FZa6dUBa=hPg5ffO8Q@mail.gmail.com>
Date: Fri, 20 Jul 2012 10:19:12 -0700
Message-ID: <CAAPAK-6XgKdS_BU18GiTe6cB38cz1BM0cNq5BWfhxgC_vMe8rA@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Nicolas Mailhot <nicolas.mailhot@laposte.net>,  Amos Jeffries <squid3@treenet.co.nz>, Willy Tarreau <w@1wt.eu>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3071ce144ba99604c546182a
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsGrV-0005ko-EH b5ec196263a8e567ba8aca2cb711d704
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAAPAK-6XgKdS_BU18GiTe6cB38cz1BM0cNq5BWfhxgC_vMe8rA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14663
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>

--20cf3071ce144ba99604c546182a
Content-Type: text/plain; charset=ISO-8859-1

I have seen that kind tight-loop often enough, and I suggest to consider
any loop like that as SPDY in the manner one-step ahead.

In that sense, I can then say we can use Microsoft's post about the
Multi-Legged authentication scheme and consider SPDY as one of the options
along with Kerberos (and others).

For the political mode, later, it wraps client-server technology into
HTTP/2 that was not so wrapped in HTTP/1.x

On Friday, July 20, 2012, James M Snell wrote:

>
>
> On Fri, Jul 20, 2012 at 3:41 AM, Poul-Henning Kamp <phk@phk.freebsd.dk<javascript:_e({}, 'cvml', 'phk@phk.freebsd.dk');>
> > wrote:
>
>> In message <9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org<javascript:_e({}, 'cvml',
>> '9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns.org');>>, "Nicol
>> as Mailhot" writes:
>>
>> >1. at the start of a stateful interaction the server (only actor that
>> >knows it will need state) challenges the user agent for a new unique id,
>> >and provides a unique state tag (short so it can not be abused for
>> >anything else)
>>
>> I think we can speed up this safely by allowing the client to always
>> offer a unique ID without being asked.  If the server doesn't need it,
>> it will just ignore it.
>>
>>
> Again, just brainstorming on this.... not sure if this works..
>
> Client                 Server
>   |                      |
>   |=====================>|
>   |1)KEY_NEGO            |
>   | id=1                 |
>   | alg=session_key      |
>   | params=...           |
>   |                      |
>   |=====================>|
>   |2)SYN_STREAM          |
>   | id=1                 |
>   | method=GET           |
>   | session_key=1        |
>   |                      |
>
>
>>  >I'm quite sure that if such a mechanism existed today the EU would have
>> >just banned cookie use altogether.
>>
>> Indeed.
>>
>> --
>> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>> phk@FreeBSD.ORG         | TCP/IP since RFC 956
>> FreeBSD committer       | BSD since 4.3-tahoe
>> Never attribute to malice what can adequately be explained by
>> incompetence.
>>
>>
>

--20cf3071ce144ba99604c546182a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have seen that kind tight-loop often enough, and I suggest to consider an=
y loop like that as SPDY in the manner one-step ahead.<div><br></div><div>I=
n that sense, I can then say we can use Microsoft&#39;s post about the Mult=
i-Legged authentication scheme and consider SPDY as one of the options alon=
g with Kerberos (and others).</div>
<div><br></div><div>For the political mode, later, it wraps client-server t=
echnology into HTTP/2 that was not so wrapped in HTTP/1.x</div><div><br>On =
Friday, July 20, 2012, James M Snell  wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">
<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 3:41 AM, Poul-Henning Kamp <span dir=3D"ltr">&l=
t;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;phk@phk.freebsd.dk&#39;=
);" target=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;<a href=3D"javascript:_e({}, =
&#39;cvml&#39;, &#39;9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@arekh.dyndns=
.org&#39;);" target=3D"_blank">9c4a1f3bd08bf10c608b2c01f01440b2.squirrel@ar=
ekh.dyndns.org</a>&gt;, &quot;Nicol<br>



<div>as Mailhot&quot; writes:<br>
<br>
&gt;1. at the start of a stateful interaction the server (only actor that<b=
r>
&gt;knows it will need state) challenges the user agent for a new unique id=
,<br>
&gt;and provides a unique state tag (short so it can not be abused for<br>
&gt;anything else)<br>
<br>
</div>I think we can speed up this safely by allowing the client to always<=
br>
offer a unique ID without being asked. =A0If the server doesn&#39;t need it=
,<br>
it will just ignore it.<br>
<div><br></div></blockquote><div><br></div><div><font face=3D"courier new, =
monospace">Again, just brainstorming on this.... not sure if this works..</=
font></div><div><font face=3D"courier new, monospace"><br></font></div>

<div><font face=3D"courier new, monospace">Client =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 Server</font></div><div><font face=3D"courier new, monospace">=A0 |=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div><div><font face=
=3D"courier new, monospace">=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;|</font></div>


<div><font face=3D"courier new, monospace">=A0 |1)KEY_NEGO =A0 =A0 =A0 =A0 =
=A0 =A0|</font></div><div><font face=3D"courier new, monospace">=A0 | id=3D=
1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><div><font face=3D"courier =
new, monospace">=A0 | alg=3Dsession_key =A0 =A0 =A0|</font></div>


<div><font face=3D"courier new, monospace">=A0 | params=3D... =A0 =A0 =A0 =
=A0 =A0 |</font></div><div><font face=3D"courier new, monospace">=A0 | =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div><div><font face=3D"cou=
rier new, monospace">=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D&gt;|</font></div>


<div><font face=3D"courier new, monospace">=A0 |2)SYN_STREAM =A0 =A0 =A0 =
=A0 =A0|</font></div><div><font face=3D"courier new, monospace">=A0 | id=3D=
1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><div><font face=3D"courier =
new, monospace">=A0 | method=3DGET =A0 =A0 =A0 =A0 =A0 |</font></div>


<div><font face=3D"courier new, monospace">=A0 | session_key=3D1 =A0 =A0 =
=A0 =A0|</font></div><div><font face=3D"courier new, monospace">=A0 | =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div><div>=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">


<div>
&gt;I&#39;m quite sure that if such a mechanism existed today the EU would =
have<br>
&gt;just banned cookie use altogether.<br>
<br>
</div>Indeed.<br>
<div><div><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br>
</blockquote></div>

--20cf3071ce144ba99604c546182a--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 10:25:10 2012
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 AAD4911E808E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:25:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.363
X-Spam-Level: 
X-Spam-Status: No, score=-10.363 tagged_above=-999 required=5 tests=[AWL=0.235, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ETHAJwNCnXle for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:25:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AE12511E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 10:25:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsGxJ-00030j-QI for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 17:25:33 +0000
Resent-Date: Fri, 20 Jul 2012 17:25:33 +0000
Resent-Message-Id: <E1SsGxJ-00030j-QI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsGx9-0002zt-1S for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 17:25:23 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsGx4-0005vz-VQ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 17:25:23 +0000
Received: by wibhm6 with SMTP id hm6so704748wib.8 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 10:24:52 -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=0wHKKQe1fhtEtUEH6xq2z++ZDgUVzgSMQPav57ooDYw=; b=ReINHT+MLEeg4X+HWthKGDJGMNvkzWlsXwk46FcOyrS5b0eyB3mMdLLLakAwfS38/9 khCOTPkcKCQ4O3t44PZ52YScmC0TYOAB+xwbiu7okraKjH21Snvc4QLzvupbXq93nDaa W2LUkxa9FxEkG0nA+8gHET2FxtJbntaX+Njygwz2Z8ril4jSTBfBJtOd5jpQTsxhnPqa T2WAxHhmbPgppJ+9Naryq+Sd85mk/SgicvUVyBCW9vV5ELfCzxVAxJARmnkbJMAhk4LI nGLrcFcAE3OkUA7r1DuViBcVERe0WmZq2Tuu0npx9UlAlh3tnRt4C6MXrpb7qw7/ULCT +SLw==
MIME-Version: 1.0
Received: by 10.180.83.106 with SMTP id p10mr27853514wiy.21.1342805092582; Fri, 20 Jul 2012 10:24:52 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Fri, 20 Jul 2012 10:24:52 -0700 (PDT)
In-Reply-To: <23396.1342803363@critter.freebsd.dk>
References: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com> <23396.1342803363@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 10:24:52 -0700
Message-ID: <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>,  Philippe Mougin <pmougin@acm.org>
Content-Type: multipart/alternative; boundary=f46d04428de88bc5df04c5462c2f
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsGx4-0005vz-VQ 77e52f24bead77db55d675304a7b68ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14664
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>

--f46d04428de88bc5df04c5462c2f
Content-Type: text/plain; charset=ISO-8859-1

There are a number of different requirements here, and a number of problems
that we're attempting to solve, and I haven't yet seen someone put them
together in a list so that the tradeoffs are easily established, especially
in the context of actually getting people to use the thing.

In the event we allow cleartext communications (not debating that here),
security for the nonce/session-id is an issue.

-=R


On Fri, Jul 20, 2012 at 9:56 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=
> PdvgA@mail.gmail.com>
> , Roberto Peon writes:
>
> >I don't want this to turn into TLS vs not TLS, just pointing out that
> >generating a shared nonce securely is something we already know how to do.
>
> It doesn't have to be secure, it doesn't even have to be unique, to
> serve the role I'm looking for, all I want is that the user-agent
> gives us a routeable id.
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d04428de88bc5df04c5462c2f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

There are a number of different requirements here, and a number of problems=
 that we&#39;re attempting to solve, and I haven&#39;t yet seen someone put=
 them together in a list so that the tradeoffs are easily established, espe=
cially in the context of actually getting people to use the thing.<div>
<br></div><div>In the event we allow cleartext communications (not debating=
 that here), security for the nonce/session-id is an issue.</div><div><br><=
/div><div>-=3DR<br><div><br><br><div class=3D"gmail_quote">On Fri, Jul 20, =
2012 at 9:56 AM, Poul-Henning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:=
phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wro=
te:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;CAP+FsNcWPw6j68Y9g9HfAWxZu-83=
W4p1cX0OTd4Fngky=3D<a href=3D"mailto:PdvgA@mail.gmail.com">PdvgA@mail.gmail=
.com</a>&gt;<br>

<div class=3D"im">, Roberto Peon writes:<br>
<br>
&gt;I don&#39;t want this to turn into TLS vs not TLS, just pointing out th=
at<br>
&gt;generating a shared nonce securely is something we already know how to =
do.<br>
<br>
</div>It doesn&#39;t have to be secure, it doesn&#39;t even have to be uniq=
ue, to<br>
serve the role I&#39;m looking for, all I want is that the user-agent<br>
gives us a routeable id.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br></div></div>

--f46d04428de88bc5df04c5462c2f--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 10:30:58 2012
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 DD75321F85CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:30:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 j1VFbW0iZ+9C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:30:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4F6A721F8564 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 10:30:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsH1d-0003bg-C8 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 17:30:01 +0000
Resent-Date: Fri, 20 Jul 2012 17:30:01 +0000
Resent-Message-Id: <E1SsH1d-0003bg-C8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsH1T-0003aF-6T for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 17:29:51 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsH1S-00066Y-BB for ietf-http-wg@w3.org; Fri, 20 Jul 2012 17:29:51 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 0795E3B599; Fri, 20 Jul 2012 17:29:28 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KHTSXD023574; Fri, 20 Jul 2012 17:29:28 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, James Snell <jasnell@gmail.com>, Philippe Mougin <pmougin@acm.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 10:24:52 MST." <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 17:29:28 +0000
Message-ID: <23573.1342805368@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsH1S-00066Y-BB 338a52e1761f57226f1bd59205bfb64d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/23573.1342805368@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14665
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>

In message <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com>
, Roberto Peon writes:

>In the event we allow cleartext communications (not debating that here),
>security for the nonce/session-id is an issue.

It is no more an issue than security is for a URI or a Cookie.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 10:54:53 2012
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 CAAF421F85DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:54:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.933
X-Spam-Level: 
X-Spam-Status: No, score=-9.933 tagged_above=-999 required=5 tests=[AWL=0.666, BAYES_00=-2.599, 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 C2C4gwGUYywR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 10:54:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BFBDE21F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 10:54:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsHP6-0000zg-7Z for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 17:54:16 +0000
Resent-Date: Fri, 20 Jul 2012 17:54:16 +0000
Resent-Message-Id: <E1SsHP6-0000zg-7Z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsHOv-0000yv-0i for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 17:54:05 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsHOt-0006w8-Cp for ietf-http-wg@w3.org; Fri, 20 Jul 2012 17:54:04 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KHrWVg025790; Fri, 20 Jul 2012 19:53:32 +0200
Date: Fri, 20 Jul 2012 19:53:32 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120720175332.GJ24195@1wt.eu>
References: <20120719213630.GA20313@1wt.eu> <19658.1342737373@critter.freebsd.dk> <20120720054413.GC20313@1wt.eu> <5008FC4A.6050002@treenet.co.nz> <20120720070237.GH20313@1wt.eu> <500914D1.8090707@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <500914D1.8090707@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsHOt-0006w8-Cp f7669073f6309a03c82f9cd20c96403a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120720175332.GJ24195@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14666
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 Fri, Jul 20, 2012 at 08:20:33PM +1200, Amos Jeffries wrote:
> Why can't server identifiers be associated with learnt IDs? What is 
> learning apart from the LB playing server with its session-state 
> containing a pointer at another server which does the donkeys work 
> (using the same session-ID, OR a new one from the LB generated for the 
> unique client).

Because there are multiple paths. Learning is only usable in small
deployments where you only have one LB (or say a couple of with
fast synchronization). When you have LBs in multiple datacenters,
the traffic comes to any of them and you absolutely need any of
these LBs to find the proper server even if it's located on the
other DC. The most common case for this is when you rely on BGP
with multi-hosting. Most of the clients stay on the same site,
but a small part of them switch to another POP once in a while.
The inter-DC traffic is very low but exists and you absolutely
want this to work. And obviously you cannot enable multi-DC sync
at high connection rates, it does not scale at all.

A similar case exists with multiple portals relying on common
backends.

That's why it is absolutely mandatory to keep the ability for a
LB (say HTTP router) to insert routing information and to match
them. Otherwise I already predict what will happen, exactly the
same as with the original Set-Cookie header : users will find
tricks to be able to send a second and third ID and then the
protocol will again be a real mess.

> >If we have a variable-sized ID that intermediaries can fiddle with,
> >then it's harder to put that in the protocol and we risk seeing it
> >degraded as cookies to put whatever in them.
> >
> >Maybe we need a specific part for routing information, but I'm really
> >not convinced this is needed. I think in fact that the client-generated
> >ID should be fix-sized and always present, and that the server-generated
> >part could be variable with a limited size so that it is not abused
> >anymore.
> 
> To prevent mis-use the way cookies were I agree.
> 
> Do we have any data on how many systems are abusing session-cookie IDs 
> and the equivalent to encode data over the wire?

Well I can say that I had to support variable buffer size in haproxy to
enable some people to send requests as large as 32 kB due to 2-3 cookies,
some up to 8kB (the max that they managed to pass through Apache, making
them realize they might have been wrong).

> Given that we are not burning Cookie at the gateway (using it for data 
> transfer is easier), what is the actual risk here?

The risk is to continue to send too many useless data, that's all. Better
be careful this time.

> Where I stop in this rabbit hole is at client determination of what to 
> do when its got state and the servers its talking too keep changing. I'm 
> hoping the browser people might be able to shed a bit of light that we 
> can continue a bit further there.

Might help, yes.

> >Only when the session-id is able to convey as much information as is
> >needed to route the request to its target. Right now cookies are used
> >*a lot* for this. I know some places where there are up to 6 layers
> >of server farms with multiple possible paths between them (think many
> >portals for similar access to same information), and the only way to
> >know where to pass through is to use the information inserted by LBs
> >into cookies. To completely get rid of cookies we need to be able to
> >store this routing information somewhere else (I would love this, so
> >that we don't have to deal with this horrible cookie header anymore).
> >But this is not a small issue to deal with.
> 
> That is our discussions on where to take network-friendly request-ID 
> field come in. Being separate from end-to-end session it provides enough 
> hop-by-hop state and multiple request linkages to form a stateful flow 
> out of a hierarchy with stateless input.

I'm not sure to get what you mean.

> >>Cookies as used for data transfer is a different problem entirely and
> >>should not be tackled by the creation of a session state semantics.
> >Cookies are even more generic, they're just a copy of opaque data the
> >server needs when the client gets back. Originally it was just a way
> >to find the pointer to the session (which is routing information as
> >well after all). But they were completely abused to carry anything
> >everywhere and the first issue is that JS has access to them.
> 
> Aye. But to kill them we have to pull out their utility and provide 
> easier tools for their users to work with. Killing them with efficiency 
> as it were. One slice at a time.

Agreed. I'm not speaking about addressing all issues at once, just to see
if we can define what a session is an how all the involved parties might
benefit from it, at least by limiting/avoiding the need to know the cookie
header field. Hopefully we could reach a situation where we can completely
get rid of the cookie header (eg: simply have a list of (VAR,VALUE) couples
for a session). But it's too early.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 11:00:49 2012
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 D393F21F84E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:00:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.944
X-Spam-Level: 
X-Spam-Status: No, score=-9.944 tagged_above=-999 required=5 tests=[AWL=0.655, BAYES_00=-2.599, 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 qtrgJ1dtq5lF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:00:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3E4921F84A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 11:00:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsHV1-0006hC-RO for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 18:00:23 +0000
Resent-Date: Fri, 20 Jul 2012 18:00:23 +0000
Resent-Message-Id: <E1SsHV1-0006hC-RO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsHUq-0005yk-5x for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 18:00:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsHUo-0000cP-RZ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 18:00:12 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KHxVNE025811; Fri, 20 Jul 2012 19:59:31 +0200
Date: Fri, 20 Jul 2012 19:59:31 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>, Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Message-ID: <20120720175931.GK24195@1wt.eu>
References: <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsHUo-0000cP-RZ 7251a142b43041276fbcb9c125171e5d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120720175931.GK24195@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14667
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 Fri, Jul 20, 2012 at 09:41:58AM -0700, Roberto Peon wrote:
> I wish that POST actually meant "here is something that changes state" and
> GET meant "nope,  of changing any state", but both are lies today as far as
> I can tell.
> 
> POST generally means : here is  form input or here is a file, which
> sometimes changes state and sometimes doesn't.

For some developers it's even worse : "GET is cacheable while POST isn't" !
When you hear this you know you have a long road to go to help them fix
their issues...

> I believe this failure to be the result of not exposing rich enough (and
> fully HTTP) semantics to the browser JavaScript and thus having forced the
> web application writers to make do with what they had.
> 
> I believe at this point that we should probably amend the spec to state the
> common practice as a warning to anyone who makes assumptions about
> idempotency.

I think the current spec is already clear on this, but maybe at one point
we should collect most common urban legends and drop them into a separate
RFC.

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 11:01:44 2012
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 0244311E808F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:01:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 nJirnkvg5q0z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:01:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 154FC11E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 11:01:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsHWx-0006ww-6P for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 18:02:23 +0000
Resent-Date: Fri, 20 Jul 2012 18:02:23 +0000
Resent-Message-Id: <E1SsHWx-0006ww-6P@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1SsHWm-0006tO-7A for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 18:02:12 +0000
Received: from mailbackend.panix.com ([166.84.1.89]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1SsHWk-0000fu-Sq for ietf-http-wg@w3.org; Fri, 20 Jul 2012 18:02:12 +0000
Received: from [192.168.15.6] (unknown [184.78.58.209]) by mailbackend.panix.com (Postfix) with ESMTP id 4EBD1282B5; Fri, 20 Jul 2012 14:01:49 -0400 (EDT)
Message-ID: <50099D03.80606@panix.com>
Date: Fri, 20 Jul 2012 13:01:39 -0500
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
CC: James Snell <jasnell@gmail.com>, Philippe Mougin <pmougin@acm.org>
References: <23396.1342803363@critter.freebsd.dk>
In-Reply-To: <23396.1342803363@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.89; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsHWk-0000fu-Sq 096b48dfd99c6c5652cfaef9f3c453e9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/50099D03.80606@panix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14668
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 think the question of routing to load-balanced servers is at the other 
end of the problem space from federated logins, but I feel I should call 
people's attention to the Shibboleth projects statements on why single 
logout was a bad idea in their context:

https://wiki.brown.edu/confluence/display/CISDOC/Shibboleth+and+Application+Logout+Best+Practices

https://wiki.shibboleth.net/confluence/display/SHIB2/SLOIssues

Shibboleth could function as a WebSSO protocol on it's own and was 
sometimes deployed that way, but with was designed to function in 
concert with a local WebSSO protocol, typically scoped per 
institution/identity provider.

Shibboleth and the commercial and free WebSSO systems I've encountered 
(CAS (layered on Kerberos), Sun Access Manager (which became OpenSSO)), 
all seem to use a nasty mess of cookies and dynamic html/JavaScript 
tricks, to achieve WebSSO.

SAML is pretty much designed to work within the limits of existing web 
browsers, though there was talk from time to about part of the Liberty 
Alliance being applicable to web services.

It's worth asking if there is a way to add features to HTTP that would 
make WebSSO easier to active without giving away too much in security.

Scope is a key problem. The "same origin" policy for things like 
cookies, applets, flash, has been recreated with different mechanisms 
for breaking it.



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 11:18:42 2012
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 7E04C11E80BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:18:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.992
X-Spam-Level: 
X-Spam-Status: No, score=-8.992 tagged_above=-999 required=5 tests=[AWL=1.607, BAYES_00=-2.599, 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 gKpCBCagnpMP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:18:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 832DB11E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 11:18:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsHm4-0005jz-NZ for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 18:18:00 +0000
Resent-Date: Fri, 20 Jul 2012 18:18:00 +0000
Resent-Message-Id: <E1SsHm4-0005jz-NZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsHlt-0005jE-Qx for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 18:17:49 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsHls-000108-DJ for ietf-http-wg@w3.org; Fri, 20 Jul 2012 18:17:49 +0000
Received: by vbbfq11 with SMTP id fq11so3564845vbb.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 11:17:22 -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=I+08U0TN8x5is2In97fp1+5+sP4/5V0iuFTT01Q+7fo=; b=zHdZkHdxL21Qc/U3Vp4k2QKMKotlCDGJqluISzrfKKE8Qvv0cBOaapD3YIoKvfMAhO 86NvwnA9KZ6RtnCZKYkPPuQNGWMzO5wPz3s0C/2TxZIuOjBwYMt2KaouoST9wmkrUNGG /doaWI1BJjoIq2cbCQPQy0jrXMsig1P2PgT0aygAKYcA1chYRYMMZv3unR8LMF86PHbT pnnPHpryOkIs7zOqleN6o/uw4s9AdoS/+ow9VA6eu/9iRRtkXkq3CDU/t6mehKFj2IhY TN23bLhtBPgWh3RnsdTQ2LOGFEjtmkG9TH/LVd8VPqUXE9nd+TU2fQwxk/6vh6p4DsFf Ikmg==
MIME-Version: 1.0
Received: by 10.220.221.65 with SMTP id ib1mr2823824vcb.41.1342808242581; Fri, 20 Jul 2012 11:17:22 -0700 (PDT)
Received: by 10.58.116.233 with HTTP; Fri, 20 Jul 2012 11:17:22 -0700 (PDT)
In-Reply-To: <23093.1342796284@critter.freebsd.dk>
References: <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com> <23093.1342796284@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 14:17:22 -0400
Message-ID: <CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=SQWXpy9Q@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Ross Nicoll <jrn@jrn.me.uk>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsHls-000108-DJ fd9160677e8b564f071300fe3860aaf0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=SQWXpy9Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14669
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 Fri, Jul 20, 2012 at 10:58 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+LwjraorOn4ZmhHAzk2E-nbNf5d5sftLVRxA4yjiUieLKSA@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>Having said that, this is not a total slam dunk for doing client side
>>state as you might also want to achieve the same thing with a server
>>pushed token being used in an authentication scheme.
>
> That's why I'm hope we can find a card-carrying cryptographer to
> help us, I'd hate to do it almost but not quite right.

I am not sure that anyone issues cards for Web cryptographic protocol
design. If they ever do, I think I can fairly claim card number 001.

Don't worry about HTTP shipping with wrong or bad crypto due to lack
of over oversight. At this point that is just not going to happen. I
think it more likely we have the opposite problem of too many people
sticking their oar in.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 11:19:14 2012
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 E3FF611E8097 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:19:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.221
X-Spam-Level: 
X-Spam-Status: No, score=-10.221 tagged_above=-999 required=5 tests=[AWL=0.377, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 uIaTUkNeTQQW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 11:19:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E0EF11E80BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 11:19:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsHnj-0005p7-Cz for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 18:19:43 +0000
Resent-Date: Fri, 20 Jul 2012 18:19:43 +0000
Resent-Message-Id: <E1SsHnj-0005p7-Cz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsHnX-0005lv-Rr for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 18:19:31 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsHnW-0007bp-Eh for ietf-http-wg@w3.org; Fri, 20 Jul 2012 18:19:31 +0000
Received: by wibhq4 with SMTP id hq4so754046wib.8 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 11:19:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lpvlOUbGUaDUuZBTGcLP/q96lTJlsQdD6waqyt8m4IE=; b=IGAs9kZGwB7Uf2i14qS8kSqS1oOJ7xxEyPgp+y/OSXeZ/dd8QrTnO91GBOX33gGqeW LOJ27m9o/IKPMVH+UqH0hmKOtPkGt8wDudmt6QF3/FoNXDjZKg4+D1GlVzc/cyhNiJ9y MWiYz0ehXYqvE9JTHFqToyTBcrxh2G/wMD4Rm0zBSd/pHIyV3U3/LnboYFULTElO/x9O s97IIp3cha5aOGF+Od1wzEFPPktEZu4H3XqfUBT41hDkoKe9NNxwTEAuZrgQ0WcamIbO edm33L0NCeiZUNas7G8z7Slrw1DKJQ54k9izWKpJPlkza5s6xBe0HnpL04mmKjhrt9vA 5kkw==
Received: by 10.180.19.162 with SMTP id g2mr16670605wie.22.1342808343754; Fri, 20 Jul 2012 11:19:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 20 Jul 2012 11:18:43 -0700 (PDT)
In-Reply-To: <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com>
References: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com> <23396.1342803363@critter.freebsd.dk> <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 20 Jul 2012 11:18:43 -0700
Message-ID: <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  HTTP Working Group <ietf-http-wg@w3.org>, Philippe Mougin <pmougin@acm.org>
Content-Type: multipart/alternative; boundary=bcaec53d588754b84004c546eeaf
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsHnW-0007bp-Eh e223443c14afd8d30948e1e4d9435972
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14670
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>

--bcaec53d588754b84004c546eeaf
Content-Type: text/plain; charset=UTF-8

Indeed, not to mention the fact that terms like "session" are painfully
overloaded. Collecting the list of requirements is a good next step, I
think, but we need to be clear on the language used to avoid further
confusion.

Today, the term "Session" can refer to:

1. The TCP / TLS Connection
2. The concept of routing "Stickiness"
3. Application-level state that persists across multiple http requests, and
multiple TCP connections.

Cookies, quite unfortunately, have been abused in a variety of ways to
implement #2 and #3, generally because there is no protocol-level mechanism
provided to support those cases, developers have largely just hacked it in.

So if we're talking about specific requirements, I would argue that we:

A. We need a protocol-level concept of a "Routing Token" to address #2. The
use of this mechanism is strictly to provide intermediaries with a method
of establishing a generally-persistent routing path for all requests
originating from the same client. This token is NOT intended to be used to
identify or access shared application state. In fact, it is questionable as
to whether this routing token should be visible to the application layer at
all. The token could, theoretically, be transmitted entirely in the clear
without risk of inappropriate disclosure of sensitive information. The one
caveat, however, is that there must be a mechanism to protect the integrity
of the token. For instance, a form a DoS attack could be carried out by
intercepting and changing the routing token, breaking the stickiness of the
route or redirecting traffic to an unintended destination.

B. While we need a more reliable Application-level mechanism to deal with
#3 (essentially an evolved form of the Cookie mechanism) it does not need
to be defined at the protocol level. This is something that can be done
orthogonally to any work being done within the protocol. That's not to say
we cannot make use of potential new capabilities of HTTP/2.0 to deliver
that "more reliable mechanism", just that we do not need to completely
define the mechanism within HTTP/2.0.

Reasonable?

- James

On Fri, Jul 20, 2012 at 10:24 AM, Roberto Peon <grmocg@gmail.com> wrote:

> There are a number of different requirements here, and a number of
> problems that we're attempting to solve, and I haven't yet seen someone put
> them together in a list so that the tradeoffs are easily established,
> especially in the context of actually getting people to use the thing.
>
> In the event we allow cleartext communications (not debating that here),
> security for the nonce/session-id is an issue.
>
> -=R
>
>
>
> On Fri, Jul 20, 2012 at 9:56 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:
>
>> In message <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=
>> PdvgA@mail.gmail.com>
>> , Roberto Peon writes:
>>
>> >I don't want this to turn into TLS vs not TLS, just pointing out that
>> >generating a shared nonce securely is something we already know how to
>> do.
>>
>> It doesn't have to be secure, it doesn't even have to be unique, to
>> serve the role I'm looking for, all I want is that the user-agent
>> gives us a routeable id.
>>
>>
>> --
>> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>> phk@FreeBSD.ORG         | TCP/IP since RFC 956
>> FreeBSD committer       | BSD since 4.3-tahoe
>> Never attribute to malice what can adequately be explained by
>> incompetence.
>>
>
>

--bcaec53d588754b84004c546eeaf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Indeed, not to mention the fact that t=
erms like &quot;session&quot; are painfully overloaded. Collecting the list=
 of requirements is a good next step, I think, but we need to be clear on t=
he language used to avoid further confusion.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Today, the term &quot;Session&quot; can refer to:</fon=
t></div><div><font face=3D"courier new,monospace"><br></font></div><div><fo=
nt face=3D"courier new,monospace">1. The TCP / TLS Connection</font></div>

<div><font face=3D"courier new,monospace">2. The concept of routing &quot;S=
tickiness&quot;</font></div><div><font face=3D"courier new,monospace">3. Ap=
plication-level state that persists across multiple http requests, and mult=
iple TCP connections.=C2=A0</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Cookies, quite unfortunately, have been abused i=
n a variety of ways to implement #2 and #3, generally because there is no p=
rotocol-level mechanism provided to support those cases, developers have la=
rgely just hacked it in.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">So if we&#39;re talking about specific requireme=
nts, I would argue that we:</font></div><div><font face=3D"courier new,mono=
space"><br>

</font></div><div><font face=3D"courier new,monospace">A. We need a protoco=
l-level concept of a &quot;Routing Token&quot; to address #2. The use of th=
is mechanism is strictly to provide intermediaries with a method of establi=
shing a generally-persistent routing path for all requests originating from=
 the same client. This token is NOT intended to be used to identify or acce=
ss shared application state. In fact, it is questionable as to whether this=
 routing token should be visible to the application layer at all. The token=
 could, theoretically, be transmitted entirely in the clear without risk of=
 inappropriate disclosure of sensitive information. The one caveat, however=
, is that there must be a mechanism to protect the integrity of the token. =
For instance, a form a DoS attack could be carried out by intercepting and =
changing the routing token, breaking the stickiness of the route or redirec=
ting traffic to an unintended destination.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">B. While we need a more reliable Application-lev=
el mechanism to deal with #3 (essentially an evolved form of the Cookie mec=
hanism) it does not need to be defined at the protocol level. This is somet=
hing that can be done orthogonally to any work being done within the protoc=
ol. That&#39;s not to say we cannot make use of potential new capabilities =
of HTTP/2.0 to deliver that &quot;more reliable mechanism&quot;, just that =
we do not need to completely define the mechanism within HTTP/2.0.=C2=A0</f=
ont></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Reasonable?</font></div><div><font face=3D"cour=
ier new, monospace"><br></font></div><div><font face=3D"courier new, monosp=
ace">- James</font></div>

<div><br><div class=3D"gmail_quote">On Fri, Jul 20, 2012 at 10:24 AM, Rober=
to Peon <span dir=3D"ltr">&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D=
"_blank">grmocg@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">

There are a number of different requirements here, and a number of problems=
 that we&#39;re attempting to solve, and I haven&#39;t yet seen someone put=
 them together in a list so that the tradeoffs are easily established, espe=
cially in the context of actually getting people to use the thing.<div>


<br></div><div>In the event we allow cleartext communications (not debating=
 that here), security for the nonce/session-id is an issue.</div><span clas=
s=3D"HOEnZb"><font color=3D"#888888"><div><br></div></font></span><div><spa=
n class=3D"HOEnZb"><font color=3D"#888888">-=3DR</font></span><div>

<div class=3D"h5"><br><div><br><br><div class=3D"gmail_quote">On Fri, Jul 2=
0, 2012 at 9:56 AM, Poul-Henning Kamp <span dir=3D"ltr">&lt;<a href=3D"mail=
to:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> =
wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;CAP+FsNcWPw6j68Y9g9HfAWxZu-83=
W4p1cX0OTd4Fngky=3D<a href=3D"mailto:PdvgA@mail.gmail.com" target=3D"_blank=
">PdvgA@mail.gmail.com</a>&gt;<br>



<div>, Roberto Peon writes:<br>
<br>
&gt;I don&#39;t want this to turn into TLS vs not TLS, just pointing out th=
at<br>
&gt;generating a shared nonce securely is something we already know how to =
do.<br>
<br>
</div>It doesn&#39;t have to be secure, it doesn&#39;t even have to be uniq=
ue, to<br>
serve the role I&#39;m looking for, all I want is that the user-agent<br>
gives us a routeable id.<br>
<div><div><br>
<br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>

--bcaec53d588754b84004c546eeaf--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:11:12 2012
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 BDFDB11E80C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:11:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.527
X-Spam-Level: 
X-Spam-Status: No, score=-10.527 tagged_above=-999 required=5 tests=[AWL=0.072, BAYES_00=-2.599, 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 yZC-XtVLUN6l for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:11:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 14E8311E80C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:11:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsIaQ-0004X7-AL for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:10:02 +0000
Resent-Date: Fri, 20 Jul 2012 19:10:02 +0000
Resent-Message-Id: <E1SsIaQ-0004X7-AL@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 1SsIaF-0003xe-DE for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:09:51 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SsIaE-0002VN-AK for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:09:51 +0000
Received: by vcdd16 with SMTP id d16so3095368vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 12:09:24 -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=5Ncudmtb9Y2f31PTyF+nL36S+wna1m7IA+2f6pQQsOs=; b=TIBTHRYok8lWiQZKTA2sgraVW/vSFz9xKrfecNi/0j4o83k5pBa4Yfw6esin15A9XH jt4Ruoj6XgqekM7jmiyIMVsKJ6OXgeCFDz8T899G69hVrFYPj+yQ8XZ/aKOYI9+NT6jD dMaZSqpvCDJzFIzTPt0zsliZPyGxOLzuAcchaF1SXKrbFkDBuAXUDKB6k8sgCvMurFHI yb6tn4Usvp7s2k70f8b+1sc8cF7V1QnuDvik6N3N0MGxwrpWkDGSLliGgUG/c9bs3Nly RGt5wXXUfkncs0ajRsOil2syytPq4rMK3Hpyfyqczh3VGcIUfxNXq3x22Ioi6KWiIXwX jELQ==
MIME-Version: 1.0
Received: by 10.220.153.7 with SMTP id i7mr4891993vcw.34.1342811364449; Fri, 20 Jul 2012 12:09:24 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Fri, 20 Jul 2012 12:09:24 -0700 (PDT)
In-Reply-To: <20120720175931.GK24195@1wt.eu>
References: <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu>
Date: Fri, 20 Jul 2012 14:09:24 -0500
Message-ID: <CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Roberto Peon <grmocg@gmail.com>, James M Snell <jasnell@gmail.com>,  Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>,  Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsIaE-0002VN-AK 5ca5ffe26cb28c265636a78617b89326
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14671
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>

Some small problems with the spec:

http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-20#section-4.6.14

The meaning of 417 is vague. If a server isn't interested in the body
of a request with "Expect: 100-continue", SHOULD the server send 417?
I don't think so, there can be many reasons why the server isn't
interested in the body; it should send a specific response code
reflecting the real reason, e.g. 403.

Server's intent that the client does not send the body is already
expressed by not sending 100 before the final code; there's no value
in 417 repeating that intent.

Then 417 is only useful when the server cannot understand the expectation.


http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6.4.3
Requirements for HTTP/1.1 origin servers:
  ... (the server) MUST NOT perform the request method if it returns a
final status code (without a prior 100)

That's too harsh, isn't it? Though the server doesn't need to read the
request body, that doesn't mean the request cannot be served. Maybe
the request headers contains sufficient information, and the request
body is just a redundancy measure.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:22:14 2012
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 4CAAE11E80C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:22:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.027
X-Spam-Level: 
X-Spam-Status: No, score=-9.027 tagged_above=-999 required=5 tests=[AWL=1.572, BAYES_00=-2.599, 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 UlPn3Zqqvo2M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:22:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4277411E80CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:22:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsIlC-0002pD-9f for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:21:10 +0000
Resent-Date: Fri, 20 Jul 2012 19:21:10 +0000
Resent-Message-Id: <E1SsIlC-0002pD-9f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SsIl0-0002nO-TH for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:20:58 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SsIkz-00010D-HA for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:20:58 +0000
Received: (qmail invoked by alias); 20 Jul 2012 19:20:30 -0000
Received: from p54BB34F0.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.52.240] by mail.gmx.net (mp035) with SMTP; 20 Jul 2012 21:20:30 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19Di8QQ9cNDC00AQePAeBuxAE30GcfI9Qt+hD1jVL sXdTuPYGfnNwI+
Message-ID: <5009AF66.40407@gmx.de>
Date: Fri, 20 Jul 2012 21:20:06 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>,  James M Snell <jasnell@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>,  Osama Mazahir <OSAMAM@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
References: <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com>
In-Reply-To: <CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsIkz-00010D-HA bcbbf0df901c66eac99db703f2df0da2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/5009AF66.40407@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14672
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 2012-07-20 21:09, Zhong Yu wrote:
> Some small problems with the spec:
>
> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-20#section-4.6.14
>
> The meaning of 417 is vague. If a server isn't interested in the body
> of a request with "Expect: 100-continue", SHOULD the server send 417?
> I don't think so, there can be many reasons why the server isn't
> interested in the body; it should send a specific response code
> reflecting the real reason, e.g. 403.
>
> Server's intent that the client does not send the body is already
> expressed by not sending 100 before the final code; there's no value
> in 417 repeating that intent.
>
> Then 417 is only useful when the server cannot understand the expectation.

Indeed. See also:

"Upon receiving a request which includes an Expect header field with the 
"100-continue" expectation, an origin server MUST either respond with 
100 (Continue) status code and continue to read from the input stream, 
or respond with a final status code. The origin server MUST NOT wait for 
the request body before sending the 100 (Continue) response. If it 
responds with a final status code, it MAY close the transport connection 
or it MAY continue to read and discard the rest of the request. It MUST 
NOT perform the request method if it returns a final status code." -- 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest.html#rfc.section.6.4.3>

> http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6.4.3
> Requirements for HTTP/1.1 origin servers:
>    ... (the server) MUST NOT perform the request method if it returns a
> final status code (without a prior 100)
>
> That's too harsh, isn't it? Though the server doesn't need to read the
> request body, that doesn't mean the request cannot be served. Maybe
> the request headers contains sufficient information, and the request
> body is just a redundancy measure.

That appears to be an edge case not worth optimizing for.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:36:17 2012
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 77C1F11E80C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:36:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.531
X-Spam-Level: 
X-Spam-Status: No, score=-10.531 tagged_above=-999 required=5 tests=[AWL=0.068, BAYES_00=-2.599, 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 4YUu4bFBuk5a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:36:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 959CF11E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:36:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsIzG-0001fA-85 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:35:42 +0000
Resent-Date: Fri, 20 Jul 2012 19:35:42 +0000
Resent-Message-Id: <E1SsIzG-0001fA-85@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 1SsIz5-0001eP-FU for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:35:31 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SsIz0-0003Lx-P7 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:35:31 +0000
Received: by vcdd16 with SMTP id d16so3117437vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 12:35:01 -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=TVu8q4bteQ1QfChBW6t0vcJuz68Yg6B8sjn58SdI9Ms=; b=kZXVeSzIdj4xbBkkO0BHwFFcXzQ2i9ZPhHApGiI2E1KD/7eQg6spZweGXvl3oDVm6z tVbybw5netsxsHgBeMotA5THwHbiOu5Ojwkd+J3uJV4KXEaX+BO6IndzTMFiFRj9TeXP 4bBHQ1VhPDWFulqsGRdbhpxaM6v9HeDNLwpsTxGtdVakgyG8W53/lx2INkFNQaSMNh6x coi6Mx1/dCDZqRkHyf/z+QKmmqqEs2g4J+HPXeM+VZ2BLhb4VwFIHRTCAVWgEUgxQOfC KdaoqTsP2Q2KClsitl/X1xEJo/5c+Tu1iN40USMm+3qP+6rhTciQAIYPMRz+Oh+KPLUO xUlg==
MIME-Version: 1.0
Received: by 10.220.106.135 with SMTP id x7mr5494373vco.28.1342812900977; Fri, 20 Jul 2012 12:35:00 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Fri, 20 Jul 2012 12:35:00 -0700 (PDT)
In-Reply-To: <20120720175931.GK24195@1wt.eu>
References: <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu>
Date: Fri, 20 Jul 2012 14:35:00 -0500
Message-ID: <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Roberto Peon <grmocg@gmail.com>, James M Snell <jasnell@gmail.com>,  Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>,  Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsIz0-0003Lx-P7 c387869e26d563fbbe0abcccf318d51d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14673
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>

What are the reasons for such great efforts to keep connection alive
when a 100-continue fails? Is it really a big deal to drop connections
once in a while?

If the client receives a final code, not 100:

1. before sending the request body - it should not send the body.
2. during sending the request body - it should immediately stop
sending the body any further.

In both cases, the client should close the connection after the final
response is read. It should not fake a graceful end-of-body with a
0-chunk, because that is lying - to the observers, it seems that the
client successfully sends a complete body, and the body content is
such.

3. after sending the request body - no problem here, connection remains good.

If the server does not respond with a 100, it should close the
connection after the final response is written. There is no point to
attempt to read till the end of request body - that will fail anyway
in most cases. If the client is mischievous and continues to send the
body, server will be on a fool's errand to consume the useless bytes.
That'll waste more resources than simply drop the connection.


Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:36:29 2012
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 D5C5311E80C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:36:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.01
X-Spam-Level: 
X-Spam-Status: No, score=-9.01 tagged_above=-999 required=5 tests=[AWL=1.589, BAYES_00=-2.599, 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 pVMNch-23tst for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:36:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2A11611E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:36:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJ0V-00028l-QX for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:36:59 +0000
Resent-Date: Fri, 20 Jul 2012 19:36:59 +0000
Resent-Message-Id: <E1SsJ0V-00028l-QX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsJ0L-00025G-3s for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:36:49 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsJ0K-0001bV-6P for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:36:49 +0000
Received: by vbbfq11 with SMTP id fq11so3637336vbb.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 12:36:22 -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=xERECFVGYkc/wCFWXSztLbR0fxKNgWVV3rOAxhWP5Rg=; b=O0qro9QeCzRji942oV3yznZJ1ZxFaJSNEbb+Lct7sCzpkTDUjQoGvVYI7bGHFhdzGY ytnkeHnwEa2Z+sRfaEwIvBzHH/mccL8Cbg5YyEQ7iiBepIszqqPrSnEKuwbXPcDnnvgl Q1nqAi3TQhdMx3lSeLFUnsUPsj5ueyt8DNRItEwcs8ZUscpQBETEUelqEQvb+RtzLhNh Gnnl4nMFYZNA/4VZ/leSoXbd8aZi/fZKrjKNh1bYWib3/1uJeIrO6H+sSDYx8SQEIzu5 uJeUEHTTIpmiN7BXBX//NoetT+dczRWG/HU+CRrEnFXX9lOX71EZd5OYUGcjCA5Hd9sx x5OQ==
MIME-Version: 1.0
Received: by 10.220.222.145 with SMTP id ig17mr4512544vcb.15.1342812982340; Fri, 20 Jul 2012 12:36:22 -0700 (PDT)
Received: by 10.58.116.233 with HTTP; Fri, 20 Jul 2012 12:36:22 -0700 (PDT)
In-Reply-To: <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
References: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com> <23396.1342803363@critter.freebsd.dk> <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com> <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
Date: Fri, 20 Jul 2012 15:36:22 -0400
Message-ID: <CAMm+LwgSjS3aEe-e0hyjFAKUbg5ibje1+DKi_75AoYnMZmtJMg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  HTTP Working Group <ietf-http-wg@w3.org>, Philippe Mougin <pmougin@acm.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SsJ0K-0001bV-6P b3ea15cf1abebda414db07ca715d51d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAMm+LwgSjS3aEe-e0hyjFAKUbg5ibje1+DKi_75AoYnMZmtJMg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14674
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>

2012 is not 1992, quite a lot has changed since

* Server state is now cheap, but it remains difficult to scale.

If you have an service that will fit on one server then server side
state is cheap and plentiful. I just built a new machine with 16GB on
2 DIMMS for $98. If I was building a server I would automatically fill
it with 64GB just because I can.

Server side state is no problem at all until you have a service that
requires 64.00000001 Gb and then you are into a big problem. You can
go up to 256Gb with 32 threads for about $10K. But you have to use
registered memory which isn't even stocked at my favorite supplier.


So the ability to use a router to front end the system and offload
requests in a sensible fashion is a very big win here, it makes
deployment of applications that are inherently statefull very much
more practical. The lack of support in legacy browsers is not a major
concern to me as I can simply consider all requests without the token
to be one bucket of work and resign myself to having to one-off that
particular site.


* People use multiple browsers, state tends to be bound to account profiles.

Not so long ago it was fairly unusual for someone to have more than
one machine in daily use. Today it is absolutely routine. So  that
makes client selected state identifiers rather less useful than server
side so that the server has control over where the requests are being
directed. This is the reason that we want a session identifier rather
than relying on the source IP address.


* What is often required is a session authenticator rather than just
an account identifier.

It is a protocol design error to rely on confidentiality as a means of
protecting authentication data sent over the wire. A password exchange
scheme should establish knowledge of the password without disclosing
the password. In general an authentication scheme should demonstrate
knowledge of the authentication secret (preferably a cryptographic
key) without revealing it.

There are in fact two separate authentication concerns in HTTP:

1) How does the service determine that Alice is making the request on
behalf of 'alice' at the start of a session?

2) How does the service re-authenticate subsequent requests in the
same session (which may span multiple TCP/HTTP sessions).


If the session ID is being used as a proxy for authentication, I would
prefer to do the job right.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:38:52 2012
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 7736C11E80C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:38:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.955
X-Spam-Level: 
X-Spam-Status: No, score=-9.955 tagged_above=-999 required=5 tests=[AWL=0.644, BAYES_00=-2.599, 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 4dimMJq4XYSB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:38:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7310D11E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:38:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJ2j-0002u3-4N for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:39:17 +0000
Resent-Date: Fri, 20 Jul 2012 19:39:17 +0000
Resent-Message-Id: <E1SsJ2j-0002u3-4N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsJ2Y-0002tI-56 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:39:06 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsJ2W-0003RT-Gm for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:39:06 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KJcc5d026459; Fri, 20 Jul 2012 21:38:38 +0200
Date: Fri, 20 Jul 2012 21:38:38 +0200
From: Willy Tarreau <w@1wt.eu>
To: James M Snell <jasnell@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>, Philippe Mougin <pmougin@acm.org>
Message-ID: <20120720193838.GD26154@1wt.eu>
References: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com> <23396.1342803363@critter.freebsd.dk> <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com> <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsJ2W-0003RT-Gm 78cce4b6a93bd99cd01b5f3a754a97c6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/20120720193838.GD26154@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14675
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 Fri, Jul 20, 2012 at 11:18:43AM -0700, James M Snell wrote:
> Indeed, not to mention the fact that terms like "session" are painfully
> overloaded. Collecting the list of requirements is a good next step, I
> think, but we need to be clear on the language used to avoid further
> confusion.
> 
> Today, the term "Session" can refer to:
> 
> 1. The TCP / TLS Connection
> 2. The concept of routing "Stickiness"
> 3. Application-level state that persists across multiple http requests, and
> multiple TCP connections.
> 
> Cookies, quite unfortunately, have been abused in a variety of ways to
> implement #2 and #3, generally because there is no protocol-level mechanism
> provided to support those cases, developers have largely just hacked it in.

Exactly.

> So if we're talking about specific requirements, I would argue that we:
> 
> A. We need a protocol-level concept of a "Routing Token" to address #2. The
> use of this mechanism is strictly to provide intermediaries with a method
> of establishing a generally-persistent routing path for all requests
> originating from the same client. This token is NOT intended to be used to
> identify or access shared application state. In fact, it is questionable as
> to whether this routing token should be visible to the application layer at
> all. The token could, theoretically, be transmitted entirely in the clear
> without risk of inappropriate disclosure of sensitive information.

Indeed, and that's what's being done with cookies nowadays, except it
requires that LBs decipher TLS only to get this cookie ! That's why there
have been some thoughts about reusing the IPv6 flow label for this [1] [2].

> The one
> caveat, however, is that there must be a mechanism to protect the integrity
> of the token. For instance, a form a DoS attack could be carried out by
> intercepting and changing the routing token, breaking the stickiness of the
> route or redirecting traffic to an unintended destination.

This example is often given but we regularly need to show that it does not
really exist in practice. Even if you made it unpredictable or whatever,
it's trivial for a client to always stick to the same token once obtained.
Cookies already suffer from this and this is not what is exploited for DDoS
attacks, what is targetted is weaknesses in the parsers (eg: slowloris),
and huge amounts of more or less valid requests to try to overwhelm the
first point (hence the LB). Attackers have no business wasting their time
enumerating server identifiers to try the domino effect on them, the domino
effect happens by itself if they're overloaded anyway.

> B. While we need a more reliable Application-level mechanism to deal with
> #3 (essentially an evolved form of the Cookie mechanism) it does not need
> to be defined at the protocol level. This is something that can be done
> orthogonally to any work being done within the protocol. That's not to say
> we cannot make use of potential new capabilities of HTTP/2.0 to deliver
> that "more reliable mechanism", just that we do not need to completely
> define the mechanism within HTTP/2.0.

I tend to agree with a grain of salt. There are some places where you
find content delivery servers behind the LB and a small farm of login
servers. The LB then relies on the presence (or even freshness) of the
application session cookie to decide what farm to send the request to.
It's not critical because anyway such an architecture needs provisions
for letting the content server redirect to the login farm when it does
not know the session. That said, we're possibly at the frontier between
what is pure routing at low cost and what is L7 processing which will
always exist anyway with its associated costs.

> Reasonable?

Seems reasonable to me at least.

Willy

[1] http://tools.ietf.org/html/draft-carpenter-flow-label-balancing-01
[2] http://tools.ietf.org/html/draft-tarreau-extend-flow-label-balancing-00



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:48:02 2012
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 E432611E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:48:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.965
X-Spam-Level: 
X-Spam-Status: No, score=-9.965 tagged_above=-999 required=5 tests=[AWL=0.634, BAYES_00=-2.599, 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 yNvFixR0ABAB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:48:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5278111E80C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:48:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJAn-00008c-QU for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:47:37 +0000
Resent-Date: Fri, 20 Jul 2012 19:47:37 +0000
Resent-Message-Id: <E1SsJAn-00008c-QU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsJAd-000072-Cg for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:47:27 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsJAc-0001xo-Cc for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:47:27 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KJklE9026496; Fri, 20 Jul 2012 21:46:47 +0200
Date: Fri, 20 Jul 2012 21:46:47 +0200
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, James M Snell <jasnell@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>, Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Message-ID: <20120720194647.GE26154@1wt.eu>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsJAc-0001xo-Cc fb6a84d8a914db1228aee88546776b8c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120720194647.GE26154@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14676
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 Fri, Jul 20, 2012 at 02:35:00PM -0500, Zhong Yu wrote:
> What are the reasons for such great efforts to keep connection alive
> when a 100-continue fails? Is it really a big deal to drop connections
> once in a while?

Some webservice clients make extensive use of Expect: 100-continue over
connection pools to avoid sending useless data and to keep the connections
open. In fact, we're realizing that in the end it does not work (unless
chunked encoding is used).

In the end, these WS clients might as well not send Expect and save one
round trip and one packet in each direction since the only benefit of
it goes away in case of failure, which is the only reason for using
Expect.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:52:17 2012
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 E032211E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:52:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.234
X-Spam-Level: 
X-Spam-Status: No, score=-10.234 tagged_above=-999 required=5 tests=[AWL=0.364, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 I6hzwq78UfR0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:52:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3DEAC21F84F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:52:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJFR-0001lO-IZ for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:52:25 +0000
Resent-Date: Fri, 20 Jul 2012 19:52:25 +0000
Resent-Message-Id: <E1SsJFR-0001lO-IZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsJFG-0001kZ-HJ for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:52:14 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsJFF-0003qc-Jz for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:52:14 +0000
Received: by wibhm2 with SMTP id hm2so880012wib.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 12:51:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=71L4W66B6UPYDs+cDXMEsArM/tNpv1WsMK+ak/0JsLw=; b=gIpD13HSu13IfL/ompXICPpDrDdJdMdwG8bqSj4oFItK0ASkZc2bRkCJEiG2BATTtW JG7BzvV1mbaBtGfrDvjGju8q68Gj3qUvU9eD5ufr7aFKb/uS468PirsoZhTfTDOlvlqc Qm3fObZyVyjE23O+eJLHmOi5t1jaSz6xQvcrkgp2bto3+iFmwMCW0TfD5P84CCU5yQKE SQ6dX0c8ZmTQYiXi58RzN7+vORCvBNE5iX1X6uw/XHWzlIF9XXG+CCRafZ8vTDFYG661 RUHh5SszN17JibBkWT58Jpecjerd2dnv718v7bmgPo4GO3EMzptoNzE8Vi0LoVXrY8Nz Wc0g==
Received: by 10.180.78.99 with SMTP id a3mr28753816wix.15.1342813906780; Fri, 20 Jul 2012 12:51:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 20 Jul 2012 12:51:26 -0700 (PDT)
In-Reply-To: <CAMm+LwgSjS3aEe-e0hyjFAKUbg5ibje1+DKi_75AoYnMZmtJMg@mail.gmail.com>
References: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com> <23396.1342803363@critter.freebsd.dk> <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com> <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com> <CAMm+LwgSjS3aEe-e0hyjFAKUbg5ibje1+DKi_75AoYnMZmtJMg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 20 Jul 2012 12:51:26 -0700
Message-ID: <CABP7Rbc-W_WyWZ2Zqv95pQN7TU31sM4OUNTG4c_5oTdKHKi3ig@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Willy Tarreau <w@1wt.eu>,  HTTP Working Group <ietf-http-wg@w3.org>, Philippe Mougin <pmougin@acm.org>
Content-Type: multipart/alternative; boundary=f46d04389041e9c35d04c54839f0
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsJFF-0003qc-Jz a1cb43b37fe9020a7b0fb96b1fc206b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CABP7Rbc-W_WyWZ2Zqv95pQN7TU31sM4OUNTG4c_5oTdKHKi3ig@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14677
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>

--f46d04389041e9c35d04c54839f0
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 20, 2012 at 12:36 PM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> [snip]
>
> There are in fact two separate authentication concerns in HTTP:
>
> 1) How does the service determine that Alice is making the request on
> behalf of 'alice' at the start of a session?
>
> 2) How does the service re-authenticate subsequent requests in the
> same session (which may span multiple TCP/HTTP sessions).
>
>
> If the session ID is being used as a proxy for authentication, I would
> prefer to do the job right.
>

That's precisely it... at least when we're talking about session ID's at
the application level. Perhaps this is just a matter of (a) defining a
protocol-level routing token mechanism and (b) defining a reasonable
stateful-authentication scheme and leverage both to encourage developers
away from the abuse of cookies for both of these uses.

- James

--f46d04389041e9c35d04c54839f0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 12:36 PM, Phillip Hallam-Baker <span dir=3D"ltr=
">&lt;<a href=3D"mailto:hallam@gmail.com" target=3D"_blank">hallam@gmail.co=
m</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">[snip]<br>
<br>
There are in fact two separate authentication concerns in HTTP:<br>
<br>
1) How does the service determine that Alice is making the request on<br>
behalf of &#39;alice&#39; at the start of a session?<br>
<br>
2) How does the service re-authenticate subsequent requests in the<br>
same session (which may span multiple TCP/HTTP sessions).<br>
<br>
<br>
If the session ID is being used as a proxy for authentication, I would<br>
prefer to do the job right.<br>
</blockquote></div><br><div>That&#39;s precisely it... at least when we&#39=
;re talking about session ID&#39;s at the application level. Perhaps this i=
s just a matter of (a) defining a protocol-level routing token mechanism an=
d (b) defining a reasonable stateful-authentication scheme and leverage bot=
h to encourage developers away from the abuse of cookies for both of these =
uses.</div>

<div><br></div><div>- James</div>

--f46d04389041e9c35d04c54839f0--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 12:54:42 2012
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 0140E21F8503 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:54:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.47
X-Spam-Level: 
X-Spam-Status: No, score=-9.47 tagged_above=-999 required=5 tests=[AWL=1.128, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 JDRQ7FWB4eBO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 12:54:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E6B9D21F8501 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 12:54:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJHQ-0001vT-S0 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 19:54:28 +0000
Resent-Date: Fri, 20 Jul 2012 19:54:28 +0000
Resent-Message-Id: <E1SsJHQ-0001vT-S0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsJHF-0001ud-UH for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 19:54:17 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SsJHE-000281-R8 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 19:54:17 +0000
Received: by weyx43 with SMTP id x43so3069271wey.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 12:53:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=fIaVkgHhVZ+gN7/ZusiZaSwZGLf6Wbw5oiaD/v6i2oo=; b=gUoy/JDmq/D0gJiOvLzCEM0VE6SE/E2e/Fl+ELzaLCVxa+5HL4+9x2a+nblQEnRiIC Thl+lSzczuZIFaDTkQDIf++l4dHAQU4EajALx79/2HnAdHjyX59sIV+x+JsQ7E/hF3zZ dCphv7XyBpLw9DnloVj475js3hHInWVdxmtM86eq2vGxiRbpXecjtTK4wcGnEX5Q3Clc PEcT7Qrr2Y0cT7pGT7KR4c3N9uFPTLrGOwRIZBk30Xy6RqM691pqH7p5uvW7WiIJSGmd c7xTKnatwNjJU2cxrLU1Pq1ynlQkC+bTQywAaWsOl9ouQo8vRH3WJP1g9BnewjNthbfp WSsQ==
Received: by 10.216.237.193 with SMTP id y43mr4662563weq.75.1342814030366; Fri, 20 Jul 2012 12:53:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 20 Jul 2012 12:53:30 -0700 (PDT)
In-Reply-To: <20120720194647.GE26154@1wt.eu>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com> <20120720194647.GE26154@1wt.eu>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 20 Jul 2012 12:53:30 -0700
Message-ID: <CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Zhong Yu <zhong.j.yu@gmail.com>, Roberto Peon <grmocg@gmail.com>,  Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>,  Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Content-Type: multipart/alternative; boundary=0015175774fe47894e04c548414b
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsJHE-000281-R8 f0f0a2bc00cf9b53b114b977426b2461
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14678
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>

--0015175774fe47894e04c548414b
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 20, 2012 at 12:46 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Fri, Jul 20, 2012 at 02:35:00PM -0500, Zhong Yu wrote:
> > What are the reasons for such great efforts to keep connection alive
> > when a 100-continue fails? Is it really a big deal to drop connections
> > once in a while?
>
> Some webservice clients make extensive use of Expect: 100-continue over
> connection pools to avoid sending useless data and to keep the connections
> open. In fact, we're realizing that in the end it does not work (unless
> chunked encoding is used).
>
>
+1 .. I've had similar experience. It's one of those things that sounds
great in theory but in practice it just doesn't work effectively... at
least not well enough to justify it's use.

- James


> In the end, these WS clients might as well not send Expect and save one
> round trip and one packet in each direction since the only benefit of
> it goes away in case of failure, which is the only reason for using
> Expect.
>
> Regards,
> Willy
>
>

--0015175774fe47894e04c548414b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Jul 20, 2012 at 12:46 PM, Willy Tarreau <span dir=3D"ltr">&lt;<=
a href=3D"mailto:w@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">

<div class=3D"im">On Fri, Jul 20, 2012 at 02:35:00PM -0500, Zhong Yu wrote:=
<br>
&gt; What are the reasons for such great efforts to keep connection alive<b=
r>
&gt; when a 100-continue fails? Is it really a big deal to drop connections=
<br>
&gt; once in a while?<br>
<br>
</div>Some webservice clients make extensive use of Expect: 100-continue ov=
er<br>
connection pools to avoid sending useless data and to keep the connections<=
br>
open. In fact, we&#39;re realizing that in the end it does not work (unless=
<br>
chunked encoding is used).<br>
<br></blockquote><div><br></div><div>+1 .. I&#39;ve had similar experience.=
 It&#39;s one of those things that sounds great in theory but in practice i=
t just doesn&#39;t work effectively... at least not well enough to justify =
it&#39;s use.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
In the end, these WS clients might as well not send Expect and save one<br>
round trip and one packet in each direction since the only benefit of<br>
it goes away in case of failure, which is the only reason for using<br>
Expect.<br>
<br>
Regards,<br>
Willy<br>
<br>
</blockquote></div><br>

--0015175774fe47894e04c548414b--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 13:00:52 2012
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 BE41811E80E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:00:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.027
X-Spam-Level: 
X-Spam-Status: No, score=-9.027 tagged_above=-999 required=5 tests=[AWL=1.572, BAYES_00=-2.599, 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 bVkZOk9G2h7g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:00:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 881BC11E80DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 13:00:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJN3-0007ZD-RP for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 20:00:17 +0000
Resent-Date: Fri, 20 Jul 2012 20:00:17 +0000
Resent-Message-Id: <E1SsJN3-0007ZD-RP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsJMs-0006i8-HO for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 20:00:06 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsJMr-00046d-1Z for ietf-http-wg@w3.org; Fri, 20 Jul 2012 20:00:06 +0000
Received: by vcdd16 with SMTP id d16so3138588vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 12:59:39 -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=UCb+yAi8ZTEWYNVJePgvhKsEDedAF7dpFSQmr8VeV78=; b=a44YiIW4ILVfHzzD0+6JbjvHUsYo0sM/y5W9TqOyIwurSoSze9S/GAB/l24Vjk7JwP D1coq46V1SpcTsIEU/hnx6HMZZ+YGZ0iyrGcCBy98ZbP4u8OpTAwuerjmBBh+rVb7dRu xSjGWTpzoJTHW6qsU5Z2wXrnpwxShzphzqN8c4mQcJH2oK7rHEQYqXprU3Je5ABDtSqP zX4z4QVLK6Vbm1KqVIeCz0ZuylBzD9ceXLKFqdlGrhvWOt4zD6Wms8pk3jLQhaHLWLyJ 5lKMbe7MA5YqTSKSFpWe3YQSQjkU76sZ+KdFVwCBkWZP+kjo09n9ajRRTUCQ7GZafINY nhxA==
MIME-Version: 1.0
Received: by 10.52.240.178 with SMTP id wb18mr4832729vdc.100.1342814378945; Fri, 20 Jul 2012 12:59:38 -0700 (PDT)
Received: by 10.58.116.233 with HTTP; Fri, 20 Jul 2012 12:59:38 -0700 (PDT)
In-Reply-To: <20120720193838.GD26154@1wt.eu>
References: <CAP+FsNcWPw6j68Y9g9HfAWxZu-83W4p1cX0OTd4Fngky=PdvgA@mail.gmail.com> <23396.1342803363@critter.freebsd.dk> <CAP+FsNeTBU8+-h85Bp1smqXsNBdYiL74y2HqVeE3qUiSmS8iuA@mail.gmail.com> <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com> <20120720193838.GD26154@1wt.eu>
Date: Fri, 20 Jul 2012 15:59:38 -0400
Message-ID: <CAMm+Lwg-kKbBFkd+JSfZkW-tFaZvM2==HH6dwj+ESZU4B1eNfQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>,  Philippe Mougin <pmougin@acm.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsJMr-00046d-1Z 8b951f3fbc26868449d427b260a212e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAMm+Lwg-kKbBFkd+JSfZkW-tFaZvM2==HH6dwj+ESZU4B1eNfQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14679
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>

Perhaps what we could do is to define a TLS extension that could carry
a session ID (possibly even a session authenticator) enclair. This
would:

1) Decrease disincentives to use TLS (i.e. difficulties using it with
load balancers)

2) Provide an incentive to upgrade to support the new session ID scheme.


Given that TLS is regularly supported through a front end box type
approach, it would of course be necessary to still carry the session
id as a HTTP header in addition.


On Fri, Jul 20, 2012 at 3:38 PM, Willy Tarreau <w@1wt.eu> wrote:
> On Fri, Jul 20, 2012 at 11:18:43AM -0700, James M Snell wrote:
>> Indeed, not to mention the fact that terms like "session" are painfully
>> overloaded. Collecting the list of requirements is a good next step, I
>> think, but we need to be clear on the language used to avoid further
>> confusion.
>>
>> Today, the term "Session" can refer to:
>>
>> 1. The TCP / TLS Connection
>> 2. The concept of routing "Stickiness"
>> 3. Application-level state that persists across multiple http requests, and
>> multiple TCP connections.
>>
>> Cookies, quite unfortunately, have been abused in a variety of ways to
>> implement #2 and #3, generally because there is no protocol-level mechanism
>> provided to support those cases, developers have largely just hacked it in.
>
> Exactly.
>
>> So if we're talking about specific requirements, I would argue that we:
>>
>> A. We need a protocol-level concept of a "Routing Token" to address #2. The
>> use of this mechanism is strictly to provide intermediaries with a method
>> of establishing a generally-persistent routing path for all requests
>> originating from the same client. This token is NOT intended to be used to
>> identify or access shared application state. In fact, it is questionable as
>> to whether this routing token should be visible to the application layer at
>> all. The token could, theoretically, be transmitted entirely in the clear
>> without risk of inappropriate disclosure of sensitive information.
>
> Indeed, and that's what's being done with cookies nowadays, except it
> requires that LBs decipher TLS only to get this cookie ! That's why there
> have been some thoughts about reusing the IPv6 flow label for this [1] [2].
>
>> The one
>> caveat, however, is that there must be a mechanism to protect the integrity
>> of the token. For instance, a form a DoS attack could be carried out by
>> intercepting and changing the routing token, breaking the stickiness of the
>> route or redirecting traffic to an unintended destination.
>
> This example is often given but we regularly need to show that it does not
> really exist in practice. Even if you made it unpredictable or whatever,
> it's trivial for a client to always stick to the same token once obtained.
> Cookies already suffer from this and this is not what is exploited for DDoS
> attacks, what is targetted is weaknesses in the parsers (eg: slowloris),
> and huge amounts of more or less valid requests to try to overwhelm the
> first point (hence the LB). Attackers have no business wasting their time
> enumerating server identifiers to try the domino effect on them, the domino
> effect happens by itself if they're overloaded anyway.
>
>> B. While we need a more reliable Application-level mechanism to deal with
>> #3 (essentially an evolved form of the Cookie mechanism) it does not need
>> to be defined at the protocol level. This is something that can be done
>> orthogonally to any work being done within the protocol. That's not to say
>> we cannot make use of potential new capabilities of HTTP/2.0 to deliver
>> that "more reliable mechanism", just that we do not need to completely
>> define the mechanism within HTTP/2.0.
>
> I tend to agree with a grain of salt. There are some places where you
> find content delivery servers behind the LB and a small farm of login
> servers. The LB then relies on the presence (or even freshness) of the
> application session cookie to decide what farm to send the request to.
> It's not critical because anyway such an architecture needs provisions
> for letting the content server redirect to the login farm when it does
> not know the session. That said, we're possibly at the frontier between
> what is pure routing at low cost and what is L7 processing which will
> always exist anyway with its associated costs.
>
>> Reasonable?
>
> Seems reasonable to me at least.
>
> Willy
>
> [1] http://tools.ietf.org/html/draft-carpenter-flow-label-balancing-01
> [2] http://tools.ietf.org/html/draft-tarreau-extend-flow-label-balancing-00
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 13:06:29 2012
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 DEED911E80D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:06:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 QM9CGEkE5s1F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:06:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5786311E80D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 13:06:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJSf-0001Eu-9x for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 20:06:05 +0000
Resent-Date: Fri, 20 Jul 2012 20:06:05 +0000
Resent-Message-Id: <E1SsJSf-0001Eu-9x@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsJSU-0001E9-NU for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 20:05:54 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsJST-0004Gc-Od for ietf-http-wg@w3.org; Fri, 20 Jul 2012 20:05:54 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 30BB93B6B9; Fri, 20 Jul 2012 20:05:32 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KK5VBF024090; Fri, 20 Jul 2012 20:05:31 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Ross Nicoll <jrn@jrn.me.uk>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 14:17:22 -0400." <CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=SQWXpy9Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 20:05:31 +0000
Message-ID: <24089.1342814731@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsJST-0004Gc-Od b6d17cf5389461d82c766e768870fb1b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/24089.1342814731@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14680
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>

In message <CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=SQWXpy9Q@mail.gmail.com>
, Phillip Hallam-Baker writes:

>I am not sure that anyone issues cards for Web cryptographic protocol
>design. If they ever do, I think I can fairly claim card number 001.

Dunno, I have always been yelled at for not being "a real cryptographer"
so there must at least be a secret handshake of some sort :-)

For the session-id I'm talking about, the transport-routing session-id,
I'm mostly worried about here is getting the privacy aspect wrong, and
ending up with something which the EU bans.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 13:17:16 2012
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 6485811E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:17:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 VJZ1CKAt8+Dv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:17:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 61F3211E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 13:17:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJcv-00073M-R6 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 20:16:41 +0000
Resent-Date: Fri, 20 Jul 2012 20:16:41 +0000
Resent-Message-Id: <E1SsJcv-00073M-R6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsJcl-00072b-AN for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 20:16:31 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsJck-0002ro-7F for ietf-http-wg@w3.org; Fri, 20 Jul 2012 20:16:31 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id CBA3C3B755; Fri, 20 Jul 2012 20:16:07 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KKG4rF024123; Fri, 20 Jul 2012 20:16:04 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Roberto Peon <grmocg@gmail.com>, Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, Philippe Mougin <pmougin@acm.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 11:18:43 MST." <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 20:16:04 +0000
Message-ID: <24122.1342815364@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsJck-0002ro-7F 6f1cc79a3d44df153a443e20af482d6d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/24122.1342815364@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14681
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>

In message <CABP7RbfSHZ494pmFSYFyX_g7M3YQyuG0GM4RZ2NJJ22nVMTvig@mail.gmail.com>
, James M Snell writes:

>A. We need a protocol-level concept of a "Routing Token" to address #2. The
>use of this mechanism is strictly to provide intermediaries with a method
>of establishing a generally-persistent routing path for all requests
>originating from the same client.

And here it might get tricky:  What do we mean by "client", if every
public PC in the library has been routed through the same HTTP-filter ?

I suspect we actually mean "user" and not "client".

(This is btw. where my "anon/identified-user" bit idea comes from)

>This token is NOT intended to be used to
>identify or access shared application state. In fact, it is questionable as
>to whether this routing token should be visible to the application layer at
>all.

Well, if the client-end is entirely in charge of producing the
session-id, it is in essence just a random number, and there are
only so many bad things you can do with a random number, so if the
application can beneficially use it (to look up server-side state ?)
then it should be exposed.

The "anon/idendtified" bit should always be exposed if we do that.

>The token could, theoretically, be transmitted entirely in the clear
>without risk of inappropriate disclosure of sensitive information. The one
>caveat, however, is that there must be a mechanism to protect the integrity
>of the token.

It is at this point, not clear to me if the token would be hop-by-hop
or end-to-end.  There are significant advantages to both, hop-to-hop
in particular if the "chain" gets broken by HTTP/1.1 hops underway,
but "end-to-end in HTTP/2.0 protocol" solves that too.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 13:21:03 2012
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 2151111E8080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:21:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.535
X-Spam-Level: 
X-Spam-Status: No, score=-10.535 tagged_above=-999 required=5 tests=[AWL=0.064, BAYES_00=-2.599, 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 Ok4aIaJ3Hzdg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:21:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8CACF11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 13:21:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJhY-0000bD-M6 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 20:21:28 +0000
Resent-Date: Fri, 20 Jul 2012 20:21:28 +0000
Resent-Message-Id: <E1SsJhY-0000bD-M6@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 1SsJhN-0000aN-BT for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 20:21:17 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SsJhJ-0004gO-4V for ietf-http-wg@w3.org; Fri, 20 Jul 2012 20:21:17 +0000
Received: by vbbfq11 with SMTP id fq11so3676122vbb.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 13:20:47 -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=QWJ5ll7bghYroGz0EbOqpohsyuO5/jMk0hdPVzU3niU=; b=loT+HsE32NyHTwgnV6G43FEqDBO7wWICooNog7vlLy3Ze2UEwRBI7I+ws164gvCH+S IBj1728uc9odl5/m/mRxWeEuJStLExmvM+IIZ00kxn1brQrrA3RqskskZOcKRNy0VTpd 2Q+Y+JwyfycBgfXc2JlA9L8lPa/Ebt+iy4GvubF8g1QzaiJviJhIL/91ARzc7mF3/VJ4 5iurJaCq3VTJYrqHelRsFyestFx4VPTq2hJiP3akX30KDvaynIPDw2yX36UDL4lbCTju XOIPcC+XGWMgNIepd1c1ZRaoypq4lJsmV2PJHRar3lHX8O6zJWLS1P3bl+i61XUxUyET jlCg==
MIME-Version: 1.0
Received: by 10.52.90.199 with SMTP id by7mr4877973vdb.30.1342815647360; Fri, 20 Jul 2012 13:20:47 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Fri, 20 Jul 2012 13:20:47 -0700 (PDT)
In-Reply-To: <CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com>
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com> <20120720194647.GE26154@1wt.eu> <CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com>
Date: Fri, 20 Jul 2012 15:20:47 -0500
Message-ID: <CACuKZqFOK7Dh-1rToQ3LFk1RJxK+bZZ=8MU3bbJZ+5zoWV11ng@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, Roberto Peon <grmocg@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>,  Osama Mazahir <OSAMAM@microsoft.com>, Julian Reschke <julian.reschke@gmx.de>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  Adrien de Croy <adrien@qbik.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsJhJ-0004gO-4V 1be4ede714f0e3cbc644ffb1d1bde5ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CACuKZqFOK7Dh-1rToQ3LFk1RJxK+bZZ=8MU3bbJZ+5zoWV11ng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14682
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 always feel that this mechanism - ask permission first - should be
addressed by the app protocol, not by HTTP.

On Fri, Jul 20, 2012 at 2:53 PM, James M Snell <jasnell@gmail.com> wrote:
>
>
> On Fri, Jul 20, 2012 at 12:46 PM, Willy Tarreau <w@1wt.eu> wrote:
>>
>> On Fri, Jul 20, 2012 at 02:35:00PM -0500, Zhong Yu wrote:
>> > What are the reasons for such great efforts to keep connection alive
>> > when a 100-continue fails? Is it really a big deal to drop connections
>> > once in a while?
>>
>> Some webservice clients make extensive use of Expect: 100-continue over
>> connection pools to avoid sending useless data and to keep the connections
>> open. In fact, we're realizing that in the end it does not work (unless
>> chunked encoding is used).
>>
>
> +1 .. I've had similar experience. It's one of those things that sounds
> great in theory but in practice it just doesn't work effectively... at least
> not well enough to justify it's use.
>
> - James
>
>>
>> In the end, these WS clients might as well not send Expect and save one
>> round trip and one packet in each direction since the only benefit of
>> it goes away in case of failure, which is the only reason for using
>> Expect.
>>
>> Regards,
>> Willy
>>
>


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 13:26:02 2012
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 293C121F84C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:26:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.975
X-Spam-Level: 
X-Spam-Status: No, score=-9.975 tagged_above=-999 required=5 tests=[AWL=0.624, BAYES_00=-2.599, 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 2e9nUIyF7S4B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:26:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A453821F84C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 13:26:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJlV-0002IO-Lx for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 20:25:33 +0000
Resent-Date: Fri, 20 Jul 2012 20:25:33 +0000
Resent-Message-Id: <E1SsJlV-0002IO-Lx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsJlK-0002Er-Qo for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 20:25:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsJlJ-0004mX-Np for ietf-http-wg@w3.org; Fri, 20 Jul 2012 20:25:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6KKOhav026686; Fri, 20 Jul 2012 22:24:43 +0200
Date: Fri, 20 Jul 2012 22:24:43 +0200
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, Osama Mazahir <OSAMAM@microsoft.com>, Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Adrien de Croy <adrien@qbik.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Message-ID: <20120720202443.GG26154@1wt.eu>
References: <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com> <20120720194647.GE26154@1wt.eu> <CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com> <CACuKZqFOK7Dh-1rToQ3LFk1RJxK+bZZ=8MU3bbJZ+5zoWV11ng@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACuKZqFOK7Dh-1rToQ3LFk1RJxK+bZZ=8MU3bbJZ+5zoWV11ng@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsJlJ-0004mX-Np 6d6ee393ea80a610b4674e476f22a88b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120720202443.GG26154@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14683
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 Fri, Jul 20, 2012 at 03:20:47PM -0500, Zhong Yu wrote:
> I always feel that this mechanism - ask permission first - should be
> addressed by the app protocol, not by HTTP.

Except that it's more expensive at the application layer as it requires
two HTTP requests to have it right. And conditions might change between
the two requests, especially if a load balancer in the middle switches
the server between the two requests.

HTTP is there to abstract the transport channel to the application layer,
let's ensure it does it right if we can.

Anyway this limitation is properly described in draft-20 so this is fine.
It's just another trap developpers will need to be aware of.

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 13:35:22 2012
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 67F5411E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:35:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 jTYho5503NXn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 13:35:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C1EC811E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 13:35:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsJuR-0006bL-CW for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 20:34:47 +0000
Resent-Date: Fri, 20 Jul 2012 20:34:47 +0000
Resent-Message-Id: <E1SsJuR-0006bL-CW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsJuG-0006a8-HY for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 20:34:36 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SsJuF-0004zR-Eu for ietf-http-wg@w3.org; Fri, 20 Jul 2012 20:34:36 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B53883B763; Fri, 20 Jul 2012 20:34:13 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6KKYDFS024232; Fri, 20 Jul 2012 20:34:13 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>, Philippe Mougin <pmougin@acm.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 20 Jul 2012 15:36:22 -0400." <CAMm+LwgSjS3aEe-e0hyjFAKUbg5ibje1+DKi_75AoYnMZmtJMg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 20 Jul 2012 20:34:13 +0000
Message-ID: <24231.1342816453@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsJuF-0004zR-Eu 9434188d547df10e642f1a3a6fa8a188
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/24231.1342816453@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14684
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>

In message <CAMm+LwgSjS3aEe-e0hyjFAKUbg5ibje1+DKi_75AoYnMZmtJMg@mail.gmail.com>
, Phillip Hallam-Baker writes:

>Not so long ago it was fairly unusual for someone to have more than
>one machine in daily use. Today it is absolutely routine. So  that
>makes client selected state identifiers rather less useful than server
>side [...]

What I'd like to see, as the end result, is that by default my
browsers will invent a new anonymous session-id for every site I
go to.

On sites I want to come back to, or want to customize my view or
whatever, I check a checkbox on my browsers saying "keep session",
which will make the browser always reuse the same session-id for
that site.

Obviously, my different browsers will use different sesion-ids for
the same site, they are random by nature, but if I want it, they
will get stable session-id's from all my browsers, and can
tie those session-ids to whatever "account" they have on me.

If they are smart enough to move the customization settings back
to the server, instead of dumping them in cookies in my browser,
they will then be able to offer me a consistent view across
all my browsers.

Should I one day log into the site from an anonymous PC at
the library, I will have to authenticate before the site
recognizes me.

The library's PC will always send anonymous session-ID's, (the
checkbox should be removed on shared browsers by the sysadmin) and
the server will know not to associate them with my account.

The server can still uses the server-side settings to offer me my
usual view of the site, but now without polluting the librarys
browser with cookies, that will make the next user who goes
to the same site look like me.

For a lot of the "Hello Samuel B. Kennedy" sort of customized
web-pages, this would be all they ever need, and will work
better for them than cookies ever did.

And these session-ids are _not_ authenticators, the are merely
identifiers.  The site should use whatever authentication it
deems necessary for the traffic it offers.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 14:32:26 2012
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 C7D2F21F850C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 14:32:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.374
X-Spam-Level: 
X-Spam-Status: No, score=-10.374 tagged_above=-999 required=5 tests=[AWL=0.225, BAYES_00=-2.599, 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 VHzFVO4eOqXJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 14:32:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 48A4C21F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 14:32:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsKnD-0002HL-Ne for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 21:31:23 +0000
Resent-Date: Fri, 20 Jul 2012 21:31:23 +0000
Resent-Message-Id: <E1SsKnD-0002HL-Ne@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SsKn2-0002Ga-VP for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 21:31:13 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SsKn1-0004yd-Kk for ietf-http-wg@w3.org; Fri, 20 Jul 2012 21:31:12 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6KLUaxp008615; Sat, 21 Jul 2012 00:30:36 +0300
X-CheckPoint: {5009CC0A-1-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 21 Jul 2012 00:30:36 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Sat, 21 Jul 2012 00:30:33 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Phillip Hallam-Baker <hallam@gmail.com>, Ross Nicoll <jrn@jrn.me.uk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sat, 21 Jul 2012 00:30:32 +0300
Thread-Topic: Introducing a Session header...
Thread-Index: Ac1mvuTmgrbQsr9RSRydSaZUGrEH7g==
Message-ID: <19EE8903-E82C-4910-82C1-7F4DB11F50AA@checkpoint.com>
References: <24089.1342814731@critter.freebsd.dk>
In-Reply-To: <24089.1342814731@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 11073ef96b7b327f2aa2ba843f1a6c55e9ed9e0453
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SsKn1-0004yd-Kk cc8da3f4f5bb94c7a5ff93819246468c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/19EE8903-E82C-4910-82C1-7F4DB11F50AA@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14685
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 Jul 20, 2012, at 11:05 PM, Poul-Henning Kamp wrote:

> In message <CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=3DSQWXpy9Q@mail.gm=
ail.com>
> , Phillip Hallam-Baker writes:
>=20
>> I am not sure that anyone issues cards for Web cryptographic protocol
>> design. If they ever do, I think I can fairly claim card number 001.
>=20
> Dunno, I have always been yelled at for not being "a real cryptographer"
> so there must at least be a secret handshake of some sort :-)

It's not a handshake. It's an extension to Internet lawyering.

You begin your message with the disclaimer "I am not a cryptographer, but" =
and then proceed to make whatever outrageous claims you want. For extra cre=
dit, end your message with the claim that this is secure only in the random=
 oracle model.=


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 15:23:12 2012
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 7E5B521F845E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 15:23:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.045
X-Spam-Level: 
X-Spam-Status: No, score=-9.045 tagged_above=-999 required=5 tests=[AWL=1.554, BAYES_00=-2.599, 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 jT5unpR9r1rD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 15:23:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C802321F8448 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 15:23:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsLaS-0001ak-Ns for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 22:22:16 +0000
Resent-Date: Fri, 20 Jul 2012 22:22:16 +0000
Resent-Message-Id: <E1SsLaS-0001ak-Ns@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsLaH-0001Zk-Ml for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 22:22:05 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SsLaG-0006RU-I8 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 22:22:05 +0000
Received: by vbbfq11 with SMTP id fq11so3764494vbb.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 15:21:38 -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=614RgOK11EIKnFAY3BeaIU++mF/lNj/Gnh4S2a2wq0s=; b=ynInQEYLS3aSmJnWefx773jAkn3jWp2gHiHOlpVqzvtIwJ+p8kjAidiIsLEuC/9u5Y CMbaBNB+dEPLoNRpbWbtQwmbmZktrrpu8gVChAGKXRkw1JdqpQxjc9kWHb3f7lAWwsMB zXKFbc8zPHk9qtIWUceO9xi71fACYaTHPwIKrStseU4c2EqcRkEYzsWEOIycbroJjY2z EpNdETEuyuEtoOa6skZbATJQMbDP8qaLepkrG6UC87ki3Unloy371/dtPpUcjToWQ0dj 5oQBvTxzENy9pUOtkS2JDpbNbHDNkn9+5zDbvIJK3qcB1wM7HF6xAENxGS9knbXrU7bf E/Wg==
MIME-Version: 1.0
Received: by 10.220.242.76 with SMTP id lh12mr5788181vcb.65.1342822898525; Fri, 20 Jul 2012 15:21:38 -0700 (PDT)
Received: by 10.58.116.233 with HTTP; Fri, 20 Jul 2012 15:21:38 -0700 (PDT)
In-Reply-To: <24089.1342814731@critter.freebsd.dk>
References: <CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=SQWXpy9Q@mail.gmail.com> <24089.1342814731@critter.freebsd.dk>
Date: Fri, 20 Jul 2012 18:21:38 -0400
Message-ID: <CAMm+LwhmvgTfchjouGxb5DYjQOfzFtoEX4Yxb+PziXLwAsgZaA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Ross Nicoll <jrn@jrn.me.uk>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SsLaG-0006RU-I8 7859854dac276cb0a399625c51e6e9ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAMm+LwhmvgTfchjouGxb5DYjQOfzFtoEX4Yxb+PziXLwAsgZaA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14686
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 Fri, Jul 20, 2012 at 4:05 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+LwiJVWMqE+_R87c+rUpyzVt-Ge2jS2kt-Dnna=SQWXpy9Q@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>I am not sure that anyone issues cards for Web cryptographic protocol
>>design. If they ever do, I think I can fairly claim card number 001.
>
> Dunno, I have always been yelled at for not being "a real cryptographer"
> so there must at least be a secret handshake of some sort :-)

The people shouting tend to be people who mistake disagreement with their
misunderstanding of his Bruce-ship with not understanding cryptography.


> For the session-id I'm talking about, the transport-routing session-id,
> I'm mostly worried about here is getting the privacy aspect wrong, and
> ending up with something which the EU bans.

I would not worry too much about that. The EU has not banned cookies, they
have banned using them for certain nefarious ends. What is being proposed
here is much smaller in scope and more highly constrained.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 16:22:48 2012
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 B4FA011E808D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 16:22:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level: 
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 pIq6eVn1nqnu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 16:22:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBB9511E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 16:22:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsMVn-0001nl-I6 for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 23:21:31 +0000
Resent-Date: Fri, 20 Jul 2012 23:21:31 +0000
Resent-Message-Id: <E1SsMVn-0001nl-I6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <me@farewellutopia.com>) id 1SsMVY-0001mw-S1 for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 23:21:16 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <me@farewellutopia.com>) id 1SsMVX-00082d-66 for ietf-http-wg@w3.org; Fri, 20 Jul 2012 23:21:16 +0000
Received: by qafl39 with SMTP id l39so462925qaf.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 16:20:48 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=sQPcKe3ysa9WIzwLy3+qlMFjWFUgKtC8WSDtMukr2Pk=; b=QD7xIiAD6/aELvd7UdLc6lHVcw5QjiVQhI7Vsx6GNgPzVfmVuamdRXda6SCZaVSE/i hQuF7AwXzzvTWJS4NVMAZs7VCYLgI6N8x9pe94Ca6/AcRCI/VXd5THVXhmh1UNSVW7r7 1ZmnkOcFkRLWRLW2n9LOBGzLdwDaROXhWXP7QlESY7TBkE7sgD7dNEyW6u0Ym9NYBOoM yf7KIlRkpZcHlSmiNF3D+ZNb32qULAFC5JFVh8BOqo9XbHhr8UsfwaXuooMXUmVI52bv Tc5DKxqewUHdFDCNaaCfF9IiHTJpS4zaepFmGWZ0pLJ7FqrPIfSQ3RmePFTkhscHkBsp Ei1A==
MIME-Version: 1.0
Received: by 10.224.202.199 with SMTP id ff7mr12688573qab.65.1342826448829; Fri, 20 Jul 2012 16:20:48 -0700 (PDT)
Sender: me@farewellutopia.com
Received: by 10.229.133.197 with HTTP; Fri, 20 Jul 2012 16:20:48 -0700 (PDT)
X-Originating-IP: [64.129.229.106]
In-Reply-To: <50075147.3080609@it.aoyama.ac.jp>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp>
Date: Fri, 20 Jul 2012 16:20:48 -0700
X-Google-Sender-Auth: Jjhc2r_Nu3xxcXjdBBx7pqha0sU
Message-ID: <CALvhUEXvsN2k61=0zA5TbVLHA89SoBa43Vms1ZJxJ9ruSHqf=A@mail.gmail.com>
From: =?ISO-8859-1?Q?Reto_Bachmann=2DGm=FCr?= <reto@gmuer.ch>
To: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
Cc: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3005def87a3cf804c54b2568
X-Gm-Message-State: ALoCoQmsiKswT1pVK0MNlKR49Dg/F+GXjzZWVJ8rQ8MASZtjE+dUuXa15OvtE0N6hFiZGo97ZMP7
Received-SPF: none client-ip=209.85.216.50; envelope-from=me@farewellutopia.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SsMVX-00082d-66 ae9e42e09bd874902f5e5b1da59aa876
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CALvhUEXvsN2k61=0zA5TbVLHA89SoBa43Vms1ZJxJ9ruSHqf=A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14687
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>

--20cf3005def87a3cf804c54b2568
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 18, 2012 at 5:13 PM, "Martin J. D=FCrst"
<duerst@it.aoyama.ac.jp>wrote:

> Why don't you actually go to the trouble of moving Ongoing to TLS, with a
> chained (i.e. not self-signed) certificate, and tell us how many working
> hours/days and how much money it took you to set it up. This may make for
> an interesting learning experience, and an interesting blog entry.
>

Popping in here because I indeed remember the pain getting this CA-signed
certificate for my personal site. I did it because I felt publishing a
webid on an unsecured server is quite pointless (well it offers around the
same security as verify an identity by checking the email address).

By contrast I remember no pain migrating from telnet to ssh. So my hope was
that if encryption becomes standard on the web using it (both as client and
as server) becomes much easier. I doubt that the current CA/PKI approach is
a reasonable default behaviour. Trust on first use (TOFU) enhanced with
either social public key exchange or using notary server (as in
perspectives[1]) might offer a better balance of security and simplicity of
use.

Cheers,
Reto

PS: But yes, an answer to question "why is you blog http and not https?"
could be "because cool uris don't change and when security becomes standard
that S is obsolete".


1.
http://static.usenix.org/event/usenix08/tech/full_papers/wendlandt/wendland=
t_html/

--20cf3005def87a3cf804c54b2568
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 18, 2012 at 5:13 PM, &quot;Martin J. D=FCrst&quot; <span dir=3D=
"ltr">&lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp" target=3D"_blank">duers=
t@it.aoyama.ac.jp</a>&gt;</span> wrote:<br><div class=3D"gmail_quote"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">
Why don&#39;t you actually go to the trouble of moving Ongoing to TLS, with=
 a chained (i.e. not self-signed) certificate, and tell us how many working=
 hours/days and how much money it took you to set it up. This may make for =
an interesting learning experience, and an interesting blog entry.<br>
</blockquote><div><br>Popping in here because I indeed remember the pain ge=
tting this CA-signed certificate for my personal site. I did it because I f=
elt publishing a webid on an unsecured server is quite pointless (well it o=
ffers around the same security as verify an identity by checking the email =
address).<br>
<br>By contrast I remember no pain migrating from telnet to ssh. So my hope=
 was that if encryption becomes standard on the web using it (both as clien=
t and as server) becomes much easier. I doubt that the current CA/PKI appro=
ach is a reasonable default behaviour. Trust on first use (TOFU) enhanced w=
ith either social public key exchange or using notary server (as in perspec=
tives[1]) might offer a better balance of security and simplicity of use.<b=
r>
<br>Cheers,<br>Reto<br><br>PS: But yes, an answer to question &quot;why is =
you blog http and not https?&quot; could be &quot;because cool uris don&#39=
;t change and when security becomes standard that S is obsolete&quot;. <br>
<br><br>1. <a href=3D"http://static.usenix.org/event/usenix08/tech/full_pap=
ers/wendlandt/wendlandt_html/">http://static.usenix.org/event/usenix08/tech=
/full_papers/wendlandt/wendlandt_html/</a><br></div></div><br>

--20cf3005def87a3cf804c54b2568--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 16:33:16 2012
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 34F3721F8473 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 16:33:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.4
X-Spam-Level: 
X-Spam-Status: No, score=-10.4 tagged_above=-999 required=5 tests=[AWL=0.199, BAYES_00=-2.599, 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 nqWvvXLFR8Lw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 16:33:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1177D21F8472 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 16:33:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsMgT-000643-Ia for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 23:32:33 +0000
Resent-Date: Fri, 20 Jul 2012 23:32:33 +0000
Resent-Message-Id: <E1SsMgT-000643-Ia@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsMgG-00063B-TY for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 23:32:20 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsMgF-0008GG-BT for ietf-http-wg@w3.org; Fri, 20 Jul 2012 23:32:20 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 80E5CE6FFE for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 11:31:55 +1200 (NZST)
Message-ID: <5009EA61.7030803@treenet.co.nz>
Date: Sat, 21 Jul 2012 11:31:45 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com> <5009AF66.40407@gmx.de>
In-Reply-To: <5009AF66.40407@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsMgF-0008GG-BT 49236bc9eacfcdd5c0ac5b08f8e91816
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest   : Squid
Archived-At: <http://www.w3.org/mid/5009EA61.7030803@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14688
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 21/07/2012 7:20 a.m., Julian Reschke wrote:
> On 2012-07-20 21:09, Zhong Yu wrote:
>> Some small problems with the spec:
>>
>> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-20#section-4.6.14 
>>
>>
>> The meaning of 417 is vague. If a server isn't interested in the body
>> of a request with "Expect: 100-continue", SHOULD the server send 417?
>> I don't think so, there can be many reasons why the server isn't
>> interested in the body; it should send a specific response code
>> reflecting the real reason, e.g. 403.
>>
>> Server's intent that the client does not send the body is already
>> expressed by not sending 100 before the final code; there's no value
>> in 417 repeating that intent.
>>
>> Then 417 is only useful when the server cannot understand the 
>> expectation.
>
> Indeed. See also:
>
> "Upon receiving a request which includes an Expect header field with 
> the "100-continue" expectation, an origin server MUST either respond 
> with 100 (Continue) status code and continue to read from the input 
> stream, or respond with a final status code. The origin server MUST 
> NOT wait for the request body before sending the 100 (Continue) 
> response. If it responds with a final status code, it MAY close the 
> transport connection or it MAY continue to read and discard the rest 
> of the request. It MUST NOT perform the request method if it returns a 
> final status code." -- 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest.html#rfc.section.6.4.3>
>
>> http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6.4.3 
>>
>> Requirements for HTTP/1.1 origin servers:
>>    ... (the server) MUST NOT perform the request method if it returns a
>> final status code (without a prior 100)
>>
>> That's too harsh, isn't it? Though the server doesn't need to read the
>> request body, that doesn't mean the request cannot be served. Maybe
>> the request headers contains sufficient information, and the request
>> body is just a redundancy measure.
>
> That appears to be an edge case not worth optimizing for.
>

In isolation this appears to be translatable as:
   MUST NOT perform method if final status (200) is returned without 
prior 100-continue (ie HTTP/1.0 hop erased Expect)

Amos



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 16:49:27 2012
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 F0F3321F845E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 16:49:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.408
X-Spam-Level: 
X-Spam-Status: No, score=-10.408 tagged_above=-999 required=5 tests=[AWL=0.191, BAYES_00=-2.599, 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 F2k+emnHw4fE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 16:49:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5CBE321F845A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 16:49: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 1SsMwE-0004bq-4u for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jul 2012 23:48:50 +0000
Resent-Date: Fri, 20 Jul 2012 23:48:50 +0000
Resent-Message-Id: <E1SsMwE-0004bq-4u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsMw2-0004b5-Ej for ietf-http-wg@listhub.w3.org; Fri, 20 Jul 2012 23:48:38 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsMw1-0000Pp-7L for ietf-http-wg@w3.org; Fri, 20 Jul 2012 23:48:38 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 1FF64E6FFE for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 11:48:15 +1200 (NZST)
Message-ID: <5009EE34.4060208@treenet.co.nz>
Date: Sat, 21 Jul 2012 11:48:04 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqHw1jncasrOLncGHSm1JD7y5J3OoGNY39j5_bqgDnHmaQ@mail.gmail.com> <20120720194647.GE26154@1wt.eu> <CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com>
In-Reply-To: <CABP7RbfKeGYO8buj5R-CpVLGr5pGOCx22BoG5CDN-igv237bNQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsMw1-0000Pp-7L 1898daa14a5833ecbe135757518ddd87
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest  : Squid
Archived-At: <http://www.w3.org/mid/5009EE34.4060208@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14689
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 21/07/2012 7:53 a.m., James M Snell wrote:
>
>
> On Fri, Jul 20, 2012 at 12:46 PM, Willy Tarreau <w@1wt.eu 
> <mailto:w@1wt.eu>> wrote:
>
>     On Fri, Jul 20, 2012 at 02:35:00PM -0500, Zhong Yu wrote:
>     > What are the reasons for such great efforts to keep connection alive
>     > when a 100-continue fails? Is it really a big deal to drop
>     connections
>     > once in a while?
>
>     Some webservice clients make extensive use of Expect: 100-continue
>     over
>     connection pools to avoid sending useless data and to keep the
>     connections
>     open. In fact, we're realizing that in the end it does not work
>     (unless
>     chunked encoding is used).
>
>
> +1 .. I've had similar experience. It's one of those things that 
> sounds great in theory but in practice it just doesn't work 
> effectively... at least not well enough to justify it's use.
>
> - James

Depends on what the application considers to be its use-case.

For those of you shavign off RTT, it breaks your ideal situation by 
adding RTT.

For services where TCP TIME_WAIT from closure is some large multiple of 
RTT, the single RTT added by Expect is saved many times over by total 
throughput capacity on the re-usable connection. Particularly since 
those types of connections are usually only seen between two piece of 
high-performance middleware and not by the end-user or origin server. In 
such middleware Connection:close is a major problem impacting many other 
users, not just the one being very helpful by sending Expect.


>     In the end, these WS clients might as well not send Expect and
>     save one
>     round trip and one packet in each direction since the only benefit of
>     it goes away in case of failure, which is the only reason for using
>     Expect.
>

+1. For these cases. It makes little sense to use Expect: without 
chunked or some other nice way to early-abort the entity when the race 
is lost.

Amos


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 17:19:25 2012
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 6EC3B11E808D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 17:19:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.153
X-Spam-Level: 
X-Spam-Status: No, score=-9.153 tagged_above=-999 required=5 tests=[AWL=1.446, BAYES_00=-2.599, 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 1iLSf2n9R9rr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 17:19:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EAF4211E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 17:19:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsNOx-0008Fh-5U for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 00:18:31 +0000
Resent-Date: Sat, 21 Jul 2012 00:18:31 +0000
Resent-Message-Id: <E1SsNOx-0008Fh-5U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SsNOm-0008Es-T7 for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 00:18:20 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SsNOl-00012S-IO for ietf-http-wg@w3.org; Sat, 21 Jul 2012 00:18:20 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 991A322E253 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 20:17:57 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sat, 21 Jul 2012 10:17:53 +1000
Message-Id: <C3E83C1C-084C-4331-A9CD-1DBB9ADB42CB@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsNOl-00012S-IO 6ee1eaefb15b4c672b75f1e421e86414
X-Original-To: ietf-http-wg@w3.org
Subject: Discussing Client Sessions
Archived-At: <http://www.w3.org/mid/C3E83C1C-084C-4331-A9CD-1DBB9ADB42CB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14690
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>

There's been a lot of discussion about client-initiated session =
identifiers on list lately.

This is interesting, and perhaps important work, but it's squarely =
outside of our *current* scope of work.

I'd encourage the folks who are interested in it to work on a proposal =
(or three) in the form of Internet-Drafts; we can then spend some time =
discussing them, before figuring out what to do about it. As it is, the =
on-list discussion is getting somewhat circular.

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 17:29:22 2012
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 D300F21F8474 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 17:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.415
X-Spam-Level: 
X-Spam-Status: No, score=-10.415 tagged_above=-999 required=5 tests=[AWL=0.184, BAYES_00=-2.599, 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 mUi3ynY4mj5E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 17:29:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3CE2921F8471 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 17:29:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsNYd-0002iz-4A for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 00:28:31 +0000
Resent-Date: Sat, 21 Jul 2012 00:28:31 +0000
Resent-Message-Id: <E1SsNYd-0002iz-4A@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsNYS-0002iE-AR for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 00:28:20 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SsNYR-0001GF-Ac for ietf-http-wg@w3.org; Sat, 21 Jul 2012 00:28:20 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 38BFCE6FFE for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 12:27:56 +1200 (NZST)
Message-ID: <5009F781.6060508@treenet.co.nz>
Date: Sat, 21 Jul 2012 12:27:45 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <22691.1342787723@critter.freebsd.dk> <500952FE.1020402@jrn.me.uk> <20120720125324.GB23756@1wt.eu> <CAAPAK-4XUTo7c8xZ1oH5DajKJLawmhZGWYNjiTv5pq0NSt1RNw@mail.gmail.com>
In-Reply-To: <CAAPAK-4XUTo7c8xZ1oH5DajKJLawmhZGWYNjiTv5pq0NSt1RNw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsNYR-0001GF-Ac 232fd17b24e2f2aa4982d318cc6c87f9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/5009F781.6060508@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14691
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 21/07/2012 2:19 a.m., Jonathan Ballard wrote:
> The SSO is something we negotiate between two or more origin servers, 
> and the UAs need not be part of that negotiation. It's may be the 
> simpler design step to use the UAs for such negotiation between 
> servers (with such "session header") after we establish the 
> connection, yet that does not help secure authentication.
>

Indeed. The securest setup for SSO is to have the cleint present unique 
session-ID to each server *also* to provide the same credentials.
Both servers knowing which DC to validate those credentials against they 
can register their internal state-reference to the account.
The client never sees any of the server IDs or federation activity. When 
done right eavesdroppers with access to both connections cannot link the 
two credential sets easily.

> The hint for redirection is correct, the origin server(s) may create 
> new resource, upon UA connection,  and encode any session/state in 
> that resource without affect to the headers.

Separate UA generated session-ID is *essential* here since the redirect 
may have been added/triggered by an attacker. Handing them a 
pre-authenticated session ID is not acceptible. The only hope of 
detecting and protecting against such attackes is to require the 
attacker to repeat the authentication process where they should get 
caught (if it was auth worth its cost).

Amos



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 18:07:19 2012
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 5F97611E80D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 18:07:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.539
X-Spam-Level: 
X-Spam-Status: No, score=-10.539 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, 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 CxgaUDOgwkoo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 18:07:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7314611E80BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 18:07:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsO96-0004A3-1N for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 01:06:12 +0000
Resent-Date: Sat, 21 Jul 2012 01:06:12 +0000
Resent-Message-Id: <E1SsO96-0004A3-1N@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 1SsO8v-00049D-2K for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 01:06:01 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SsO8t-0003mn-3h for ietf-http-wg@w3.org; Sat, 21 Jul 2012 01:06:01 +0000
Received: by vcdd16 with SMTP id d16so3316766vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 18:05:33 -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=5xRFCKGbVWEs8ocwBYBDEQDCuZCPrP/s1uI1xSwq5to=; b=cTnwtNzEsc6vbdhdwP7M4VXnsfbumapKoJzIGYuuFktJXOKXjS8RcvqqaEqbUiAzZn /pqnkVDbXEV+WAxEchNH1FcfR211SqS1drhsyf0f9Tduq3H1uND+WGAnV8s/PH370Rhc YAO9ffNKPZcqvBrAgwMiRIKOjsMMi1EW1lEWh+IPPKXDiAwe9Jn0zpMlH0OO55uNXdBX UrAyGStsC2zt6nfyCmr2AJof9BTRTLSYXi2A2jHCjJQZELsBUb14NQi3rTQbXDDVHDCM OyNSL8tAyY4NFinticTrsxEf5FrKgvIBGQNF5WBM2ja6asciCoDHozTjnPkCjTy97qc1 t5Xw==
MIME-Version: 1.0
Received: by 10.220.225.194 with SMTP id it2mr6113589vcb.32.1342832733169; Fri, 20 Jul 2012 18:05:33 -0700 (PDT)
Received: by 10.220.233.199 with HTTP; Fri, 20 Jul 2012 18:05:32 -0700 (PDT)
In-Reply-To: <5009EA61.7030803@treenet.co.nz>
References: <5005D365.6010307@gmx.de> <CAP+FsNeaC--C6ME=rEu3o_qvzSXCJLqAh6RgQjajdTpxsy_mdA@mail.gmail.com> <3A75A1073A56A9478B2FAD0EAEE6A9D927C677B3@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120718220910.GF11854@1wt.eu> <3A75A1073A56A9478B2FAD0EAEE6A9D927C6B530@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com> <5009AF66.40407@gmx.de> <5009EA61.7030803@treenet.co.nz>
Date: Fri, 20 Jul 2012 20:05:32 -0500
Message-ID: <CACuKZqE1hgsO5it0qbk+kLC9twU-iR0r9JQykYNtCBKGM7vHuw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SsO8t-0003mn-3h d5464f4463d75622a40dd3191fda868e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CACuKZqE1hgsO5it0qbk+kLC9twU-iR0r9JQykYNtCBKGM7vHuw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14692
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 Fri, Jul 20, 2012 at 6:31 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 21/07/2012 7:20 a.m., Julian Reschke wrote:
>>
>> On 2012-07-20 21:09, Zhong Yu wrote:
>>>
>>> Some small problems with the spec:
>>>
>>>
>>> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-20#section-4.6.14
>>>
>>> The meaning of 417 is vague. If a server isn't interested in the body
>>> of a request with "Expect: 100-continue", SHOULD the server send 417?
>>> I don't think so, there can be many reasons why the server isn't
>>> interested in the body; it should send a specific response code
>>> reflecting the real reason, e.g. 403.
>>>
>>> Server's intent that the client does not send the body is already
>>> expressed by not sending 100 before the final code; there's no value
>>> in 417 repeating that intent.
>>>
>>> Then 417 is only useful when the server cannot understand the
>>> expectation.
>>
>>
>> Indeed. See also:
>>
>> "Upon receiving a request which includes an Expect header field with the
>> "100-continue" expectation, an origin server MUST either respond with 100
>> (Continue) status code and continue to read from the input stream, or
>> respond with a final status code. The origin server MUST NOT wait for the
>> request body before sending the 100 (Continue) response. If it responds with
>> a final status code, it MAY close the transport connection or it MAY
>> continue to read and discard the rest of the request. It MUST NOT perform
>> the request method if it returns a final status code." --
>> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest.html#rfc.section.6.4.3>
>>
>>>
>>> http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-6.4.3
>>> Requirements for HTTP/1.1 origin servers:
>>>    ... (the server) MUST NOT perform the request method if it returns a
>>> final status code (without a prior 100)
>>>
>>> That's too harsh, isn't it? Though the server doesn't need to read the
>>> request body, that doesn't mean the request cannot be served. Maybe
>>> the request headers contains sufficient information, and the request
>>> body is just a redundancy measure.
>>
>>
>> That appears to be an edge case not worth optimizing for.
>>
>
> In isolation this appears to be translatable as:
>   MUST NOT perform method if final status (200) is returned without prior
> 100-continue (ie HTTP/1.0 hop erased Expect)


"The server does not want the request body" has no logical implication
that "the server does not want the request". We shouldn't dictate what
the server must do here. It can do whatever it wants to with the
request, and what it actually did is reflected in the final response.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 18:37:35 2012
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 5475E11E80A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 18:37:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.012
X-Spam-Level: 
X-Spam-Status: No, score=-10.012 tagged_above=-999 required=5 tests=[AWL=0.586, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 hWGCH1oTbEpD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 18:37:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DAF1911E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 18:37:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsOcM-0007vU-4T for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 01:36:26 +0000
Resent-Date: Sat, 21 Jul 2012 01:36:26 +0000
Resent-Message-Id: <E1SsOcM-0007vU-4T@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsOcA-0007uM-UC for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 01:36:14 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsOc9-000309-0W for ietf-http-wg@w3.org; Sat, 21 Jul 2012 01:36:14 +0000
Received: by vcdd16 with SMTP id d16so3327564vcd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jul 2012 18:35:47 -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=ksqduRTzrY+ItKoRFc+YRlGFbOrhQDPoXuxtpFSfrUc=; b=nJ211QIlLD9XEh0WW88hxWqd4bZPpMeK0GaAYi6p/PsLmcZGsQlga1VNf02WVpp1Th i17NDn7tH+lqDhRBextNh7d8lh43XfzD96bzPCWt8HoJKxDfHKk2oybBdA7Fi7WDkmUE R6jQ7fHwSJAey/mHCrMophxdJi7drSjR0LMNyDiJlq9GxrTtbUB5ckh6od6uYlVhOQ8+ 1dWezRGgNFNSSNg2uwySueS7AnuNJIfoi0Ypad8Y73AMaI/2iBl4HMcbVFBCY5wAxam8 qsfqxtfy4UkazMHR36DFbDgqlKVFRpx6nRfkIAfAybyt12pp3PtZUDnOzzDtNPmP3ZeN P2bQ==
MIME-Version: 1.0
Received: by 10.52.29.176 with SMTP id l16mr5339418vdh.80.1342834547010; Fri, 20 Jul 2012 18:35:47 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Fri, 20 Jul 2012 18:35:46 -0700 (PDT)
In-Reply-To: <5009F781.6060508@treenet.co.nz>
References: <22691.1342787723@critter.freebsd.dk> <500952FE.1020402@jrn.me.uk> <20120720125324.GB23756@1wt.eu> <CAAPAK-4XUTo7c8xZ1oH5DajKJLawmhZGWYNjiTv5pq0NSt1RNw@mail.gmail.com> <5009F781.6060508@treenet.co.nz>
Date: Fri, 20 Jul 2012 18:35:46 -0700
Message-ID: <CAAPAK-6weM5Ja-=xHOcEK4KwThwGyj3BvHSYUeLtJFKFNBH9Dg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3078151a2aac0004c54d0811
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsOc9-000309-0W 3f3646c9022816499061175cf2f5bf92
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Introducing a Session header...
Archived-At: <http://www.w3.org/mid/CAAPAK-6weM5Ja-=xHOcEK4KwThwGyj3BvHSYUeLtJFKFNBH9Dg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14693
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>

--20cf3078151a2aac0004c54d0811
Content-Type: text/plain; charset=ISO-8859-1

To move forward on this without the redirect, the "Separate UA generated
session-ID" is just that. The User and Agent are not the same, so there
are, at least, three end-points, instead of two. The redirect, then, does
not exist between the user end-point and the agent end-point, as you
expect. The redirect may exist between the agent end-point and the origin
server.

That allows us to have the agent at HTTP 2, or later, and keep the origin
server at the most stateless HTTP 1.1. I wrote more description about the
user end-point in such scenario, yet I trashed it several times already.
Easier if I keep it summarized to an example snippet under ASP.NET where
"runat=server" allows its process to migrate to the agent or where we can
replace "runat=client" with "runat=agent". That is not so comprehensible in
javascript since the agent is then virtual, and you run into concerns as
you mentioned.

On Friday, July 20, 2012, Amos Jeffries wrote:

> On 21/07/2012 2:19 a.m., Jonathan Ballard wrote:
>
>> The SSO is something we negotiate between two or more origin servers, and
>> the UAs need not be part of that negotiation. It's may be the simpler
>> design step to use the UAs for such negotiation between servers (with such
>> "session header") after we establish the connection, yet that does not help
>> secure authentication.
>>
>>
> Indeed. The securest setup for SSO is to have the cleint present unique
> session-ID to each server *also* to provide the same credentials.
> Both servers knowing which DC to validate those credentials against they
> can register their internal state-reference to the account.
> The client never sees any of the server IDs or federation activity. When
> done right eavesdroppers with access to both connections cannot link the
> two credential sets easily.
>
>  The hint for redirection is correct, the origin server(s) may create new
>> resource, upon UA connection,  and encode any session/state in that
>> resource without affect to the headers.
>>
>
> Separate UA generated session-ID is *essential* here since the redirect
> may have been added/triggered by an attacker. Handing them a
> pre-authenticated session ID is not acceptible. The only hope of detecting
> and protecting against such attackes is to require the attacker to repeat
> the authentication process where they should get caught (if it was auth
> worth its cost).
>
> Amos
>
>
>

--20cf3078151a2aac0004c54d0811
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

To move forward on this without the redirect, the &quot;Separate UA=A0gener=
ated session-ID&quot; is just that. The User and Agent are not the same, so=
 there are, at least, three end-points, instead of two. The redirect, then,=
 does not exist between the user end-point and the agent end-point, as you =
expect. The redirect may exist between the agent end-point and the origin s=
erver.<div>
<br></div><div>That allows us to have the agent at HTTP 2, or later, and ke=
ep the origin server at the most stateless HTTP 1.1. I wrote more descripti=
on about the user end-point in such=A0scenario, yet I trashed it several ti=
mes already. Easier if I keep it summarized to an example snippet under <a =
href=3D"http://ASP.NET">ASP.NET</a> where &quot;runat=3Dserver&quot; allows=
 its process to migrate to the agent or where we can replace &quot;runat=3D=
client&quot; with &quot;runat=3Dagent&quot;. That is not so comprehensible =
in javascript since the agent is then virtual, and you run into concerns as=
 you mentioned.<br>
<div><br>On Friday, July 20, 2012, Amos Jeffries  wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">On 21/07/2012 2:19 a.m., Jonathan Ballard wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
The SSO is something we negotiate between two or more origin servers, and t=
he UAs need not be part of that negotiation. It&#39;s may be the simpler de=
sign step to use the UAs for such negotiation between servers (with such &q=
uot;session header&quot;) after we establish the connection, yet that does =
not help secure authentication.<br>

<br>
</blockquote>
<br>
Indeed. The securest setup for SSO is to have the cleint present unique ses=
sion-ID to each server *also* to provide the same credentials.<br>
Both servers knowing which DC to validate those credentials against they ca=
n register their internal state-reference to the account.<br>
The client never sees any of the server IDs or federation activity. When do=
ne right eavesdroppers with access to both connections cannot link the two =
credential sets easily.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
The hint for redirection is correct, the origin server(s) may create new re=
source, upon UA connection, =A0and encode any session/state in that resourc=
e without affect to the headers.<br>
</blockquote>
<br>
Separate UA generated session-ID is *essential* here since the redirect may=
 have been added/triggered by an attacker. Handing them a pre-authenticated=
 session ID is not acceptible. The only hope of detecting and protecting ag=
ainst such attackes is to require the attacker to repeat the authentication=
 process where they should get caught (if it was auth worth its cost).<br>

<br>
Amos<br>
<br>
<br>
</blockquote></div></div>

--20cf3078151a2aac0004c54d0811--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 22:26:55 2012
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 0C11511E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 22:26:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.985
X-Spam-Level: 
X-Spam-Status: No, score=-9.985 tagged_above=-999 required=5 tests=[AWL=0.614, BAYES_00=-2.599, 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 N6ecwwHzQ5nD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 22:26:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7397511E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 22:26:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsSBB-0006Vl-Ip for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 05:24:37 +0000
Resent-Date: Sat, 21 Jul 2012 05:24:37 +0000
Resent-Message-Id: <E1SsSBB-0006Vl-Ip@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsSAw-0006UX-FF for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 05:24:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsSAv-0001AL-9l for ietf-http-wg@w3.org; Sat, 21 Jul 2012 05:24:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6L5Ns1l028327; Sat, 21 Jul 2012 07:23:54 +0200
Date: Sat, 21 Jul 2012 07:23:54 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120721052354.GH26154@1wt.eu>
References: <C3E83C1C-084C-4331-A9CD-1DBB9ADB42CB@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <C3E83C1C-084C-4331-A9CD-1DBB9ADB42CB@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsSAv-0001AL-9l 96ff1eedde0cea46eb15ae0295c39fd0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussing Client Sessions
Archived-At: <http://www.w3.org/mid/20120721052354.GH26154@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14694
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 Sat, Jul 21, 2012 at 10:17:53AM +1000, Mark Nottingham wrote:
> There's been a lot of discussion about client-initiated session identifiers
> on list lately.
> 
> This is interesting, and perhaps important work, but it's squarely outside of
> our *current* scope of work.
> 
> I'd encourage the folks who are interested in it to work on a proposal (or
> three) in the form of Internet-Drafts; we can then spend some time discussing
> them, before figuring out what to do about it. As it is, the on-list
> discussion is getting somewhat circular.

Mark,

a draft is something appropriate when ideas are already in shape. Designing
while writing a draft and without other participants' ideas and feedback is
a very hard task (and not always efficient). Some discussions with the people
on the list help figure out what ideas are wrong because the people with
knowledge and experience are here.

Granted this can look like pollution compared to the scope of reviewing
draft-20 and expressing support for 2.0 drafts, but if the participants
silently work in their garage on a draft, they won't work on the current
scope either and they'll come up with solutions which only reflect their
own use.

Maybe instead we should be strict on selecting the subjects of e-mails so
that it's easier to skip the undesired threads and limit pollution ?

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Jul 20 22:28:05 2012
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 172B911E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 22:28:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.995
X-Spam-Level: 
X-Spam-Status: No, score=-9.995 tagged_above=-999 required=5 tests=[AWL=0.604, BAYES_00=-2.599, 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 AHSLy0Bb8QNp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jul 2012 22:28:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DC8E11E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jul 2012 22:28:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsSEC-00086a-Rt for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 05:27:44 +0000
Resent-Date: Sat, 21 Jul 2012 05:27:44 +0000
Resent-Message-Id: <E1SsSEC-00086a-Rt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsSE2-00085A-FB for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 05:27:34 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SsSE1-0001D1-CT for ietf-http-wg@w3.org; Sat, 21 Jul 2012 05:27:34 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6L5QoXc028337; Sat, 21 Jul 2012 07:26:50 +0200
Date: Sat, 21 Jul 2012 07:26:50 +0200
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120721052650.GI26154@1wt.eu>
References: <20120720060238.GE20313@1wt.eu> <500908AF.8030901@treenet.co.nz> <20120720075229.GJ20313@1wt.eu> <CABP7Rbe35h0rcryX-5wRNUe3KhYT_M3C5HebQk3O+TohxHdG9w@mail.gmail.com> <CAP+FsNe6n7GXtpL46wdcuFRFPcvPe_6CKkwYud2BkpobYJ4tMA@mail.gmail.com> <20120720175931.GK24195@1wt.eu> <CACuKZqExeBDe42y=feEj2HPg0hxKXLr57A1WaLL6d1njDe-xmg@mail.gmail.com> <5009AF66.40407@gmx.de> <5009EA61.7030803@treenet.co.nz> <CACuKZqE1hgsO5it0qbk+kLC9twU-iR0r9JQykYNtCBKGM7vHuw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACuKZqE1hgsO5it0qbk+kLC9twU-iR0r9JQykYNtCBKGM7vHuw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SsSE1-0001D1-CT 5f47fe6fbfe5f3eea28bac5e4e22f348
X-Original-To: ietf-http-wg@w3.org
Subject: Re: usability of 100-continue, was: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/20120721052650.GI26154@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14695
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 Fri, Jul 20, 2012 at 08:05:32PM -0500, Zhong Yu wrote:
> "The server does not want the request body" has no logical implication
> that "the server does not want the request". We shouldn't dictate what
> the server must do here. It can do whatever it wants to with the
> request, and what it actually did is reflected in the final response.

I don't think this is appropriate, because it will imply that the client
must send the correct body then, just in case the server decides to use
it.

If the client uses chunked encoding, it can very well send a 0CRLF as
soon as it receives the 4xx, which will truncate the body. Similarly,
a client using content-length might prefer sending zeroes because it's
easier for it than transfering correct data.

Willy



From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 12:08:55 2012
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 D979A21F8516 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:08:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.199
X-Spam-Level: 
X-Spam-Status: No, score=-9.199 tagged_above=-999 required=5 tests=[AWL=0.799, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 SzmgYtU+URM7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:08:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9BCD921F8468 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 12:08:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssf1H-0003Zr-GD for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 19:07:15 +0000
Resent-Date: Sat, 21 Jul 2012 19:07:15 +0000
Resent-Message-Id: <E1Ssf1H-0003Zr-GD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Ssf15-0003Z2-E7 for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 19:07:03 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Ssf13-0001ur-DA for ietf-http-wg@w3.org; Sat, 21 Jul 2012 19:07:03 +0000
Received: by weyx43 with SMTP id x43so3567624wey.2 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 12:06:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=EC7ByFXPdJx+7BWUa+KlFmG2eQnW+oLo7racp2kKSTM=; b=yno4rZowmGk/1TJfNhmBW9dUIZcvWGNmEFi+ejkcYCGCj+1cDXq/EgYYbkIVUTUbpe dGd/XXCr4gDZI1jfsWm3AiW7zFJCIs3h/i1YvLR4K6BW1C9YM72+XZfgRDOjoeHCwtIa 9ZP2GxMrNyOCMNvwnSfHVcfmMjGzHnI9DX/8WgldS1zF4mLzV/Rk+nKmVDeKujjZYTVE DSGeW6a5lRTXQDrZz4lcj41uIG1mdG7AEHAb8715qpXkulDunaVk2G9Yv+PWkJcXd15H ENTJM5UGZfYB4gJ4BfwHFb1SnPz3eMDT0LsoFVrTcmGsJkKCeNn3gvJAf4/TwHKo4sKD azrA==
Received: by 10.180.86.106 with SMTP id o10mr16418084wiz.22.1342897594570; Sat, 21 Jul 2012 12:06:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Sat, 21 Jul 2012 12:06:14 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Sat, 21 Jul 2012 12:06:14 -0700
Message-ID: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0418275218184104c55bb6b3
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ssf13-0001ur-DA 57597e697ccddfedf596a7884562edb8
X-Original-To: ietf-http-wg@w3.org
Subject: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14696
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>

--f46d0418275218184104c55bb6b3
Content-Type: text/plain; charset=UTF-8

Continuing my review of the SPDY draft... have a few questions relating to
SPDY and load balancers / reverse proxy set ups... The intent is not to
poke holes but to understand what the SPDY authors had in mind for these
scenarios...

1. Imagine two client applications (A and B) accessing an Origin (D) via a
Reverse Proxy (C). When a client accesses /index.html on Origin D, the
Origin automatically pushes static resources /foo.css, /images/a.jpg and
/video/a.mpg to the client.

Basic flow looks something like...

A                  RP                 O
|                   |                 |
|                   |                 |
|==================>|                 |
| 1)SYN             |                 |
|<==================|                 |
| 2)SYN_ACK         |                 |
|==================>|                 |
| 3)ACK             |                 |
|==================>|                 |
| 4)SYN_STREAM (1)  |                 |
|                   |================>|
|                   | 5) SYN          |
|                   |<================|
|                   | 6) SYN_ACK      |
|                   |================>|
|                   | 7) ACK          |
|                   |================>|
|                   | 8) SYN_STREAM(1)|
|                   |<================|--
|                   | 9) SYN_STREAM(2)| |
|                   |  uni=true       | |
|<==================|                 | |
| 10) SYN_STREAM(2) |                 | |
|  uni=true         |                 | | Content Push
|                   |<================| |
|                   | 11) SYN_REPLY(1)| |
|<==================|                 | |
| 12) SYN_REPLY(1)  |                 | |
|                   |                 | |
|                   |<================| |
|<==================| 13) DATA (2,fin)|--
| 14) DATA (2,fin)  |                 |
|                   |                 |
|                   |                 |

My question is: what does this picture look like if Client's A and B
concurrently request /index.html?

With HTTP/1.1, static resources can be pushed off to CDN's, stored in
caches, distributed around any number of places in order to improve overall
performance. Suppose /index.html is cached at the RP. Is the RP expected to
also cache the pushed content? Is the RP expected to keep track of the fact
that /foo.css, images/a.jpg and /video/a.mpg were pushed before and push
those automatically from it's own cache when it returns the cached instance
of /index.html? If not, when the caching proxy returns index.html from it's
cache, A and B will be forced to issue GETs for the static resources
defeating the purpose of pushing those resources in the first place.

In theory, we could introduce new Link rels in the same spirit as
http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
caches when to push cached content... e.g.

SYN_STREAM
  id=2
  unidirectional=true
  Content-Location: http://example.org/images/foo.jpg
  Content-Type: image/jpeg
  Cache-Control: public
  Link: </index.html>; rel="cache-push-with"

What does cache validation look like for pushed content? E.g. what happens
if the cached /index.html is fresh and served from the cache but the
related pushed content also contained in the cache is stale?

I'm sure I can come up with many more questions, but it would appear to me
that server push in SPDY is, at least currently, fundamentally incompatible
with existing intermediate HTTP caches and RP's, which is definitely a
major concern.

As a side note, however, it does open up the possibility for a new type of
proxy that can be configured to automatically push static content on the
Origin's behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.1
server and learns that /images/foo.jpg is always served with /index.html so
automatically pushes it to the client. Such services would be beneficial in
general, but the apparent incompatibility with existing deployed
infrastructure is likely to significantly delay adoption. Unless, of
course, I'm missing something fundamental :-)

2. While we on the subject of Reverse Proxies... the SPDY spec currently
states:

   When a SYN_STREAM and HEADERS frame which contains an
   Associated-To-Stream-ID is received, the client must
   not issue GET requests for the resource in the pushed
   stream, and instead wait for the pushed stream to arrive.

   Question is: Does this restriction apply to intermediaries like Reverse
Proxies? For instance, suppose the server is currently pushing a rather
large resource to client A and Client B comes along and sends a GET request
for that specific resource. Assume that the RP ends up routing both
requests to the same backend Origin server. A strict reading of the above
requirement means that the RP is required to block Client B's get request
until the push to Client A is completed. Further, the spec is not clear if
this restriction only applies for requests sent over the same TCP
connection. Meaning, a strict reading of this requirement means that even
if the RP opens a second connection to the Origin server, it is still
forbidden to forward Client B's GET request until Client A's push has been
completed.


- James

--f46d0418275218184104c55bb6b3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Continuing my review of the SPDY draft=
... have a few questions relating to SPDY and load balancers / reverse prox=
y set ups... The intent is not to poke holes but to understand what the SPD=
Y authors had in mind for these scenarios...</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">1. Imagine two client applications (A and B) accessing=
 an Origin (D) via a Reverse Proxy (C). When a client accesses /index.html =
on Origin D, the Origin automatically pushes static resources /foo.css, /im=
ages/a.jpg and /video/a.mpg to the client.=C2=A0</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Basic flow looks something like...</font></div><=
div><font face=3D"courier new,monospace"><div><br></div><div>A =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RP =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 O</div>

<div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>| =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>|=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 |</div><div>| 1)SYN =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><d=
iv>|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>

<div>| 2)SYN_ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 |</div><div>| 3)ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>|=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>| 4)SYN_STREAM (1) =C2=A0| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>

<div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</div><div>| =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 5) SYN =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0|</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D|</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 | 6) SYN_ACK =C2=A0 =C2=A0 =C2=A0|</div><div>| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D&gt;|</div>

<div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 7) =
ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>| =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D&gt;|</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 | 8) SYN_STREAM(1)|</div><div>| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D|--</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 | 9) SYN_STREAM(2)| |</div>

<div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=
=A0uni=3Dtrue =C2=A0 =C2=A0 =C2=A0 | |</div><div>|&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | |</div><div>| 10) SYN_STREAM(2) | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |</div><div>| =C2=A0uni=3Dtrue =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 | | Content Push</div>

<div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |&lt;=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| |</div><div>| =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 11) SYN_REPLY(1)| |<=
/div><div>|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |</div><div>| 12) SY=
N_REPLY(1) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| |</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |</div>

<div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |&lt;=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| |</div><div>|&lt;=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 13) DATA (2,fin)|--</div>=
<div>| 14) DATA (2,fin) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 |</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 |</div><div>| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div>

<div><br></div><div>My question is: what does this picture look like if Cli=
ent&#39;s A and B concurrently request /index.html?=C2=A0</div><div><br></d=
iv><div>With HTTP/1.1, static resources can be pushed off to CDN&#39;s, sto=
red in caches, distributed around any number of places in order to improve =
overall performance.=C2=A0Suppose /index.html is cached at the RP. Is the R=
P expected to also cache the pushed content? Is the RP expected to keep tra=
ck of the fact that /foo.css, images/a.jpg and /video/a.mpg were pushed bef=
ore and push those automatically from it&#39;s own cache when it returns th=
e cached instance of /index.html? If not, when the caching proxy returns in=
dex.html from it&#39;s cache, A and B will be forced to issue GETs for the =
static resources defeating the purpose of pushing those resources in the fi=
rst place.</div>

<div><br></div><div>In theory, we could introduce new Link rels in the same=
 spirit as <a href=3D"http://tools.ietf.org/html/draft-nottingham-linked-ca=
che-inv-03">http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03=
</a> that tell caches when to push cached content... e.g.</div>

<div><br></div><div>SYN_STREAM</div><div>=C2=A0 id=3D2</div><div>=C2=A0 uni=
directional=3Dtrue</div><div>=C2=A0 Content-Location: <a href=3D"http://exa=
mple.org/images/foo.jpg">http://example.org/images/foo.jpg</a></div><div>=
=C2=A0 Content-Type: image/jpeg</div>

<div>=C2=A0 Cache-Control: public</div><div>=C2=A0 Link: &lt;/index.html&gt=
;; rel=3D&quot;cache-push-with&quot;</div><div><br></div><div>What does cac=
he validation look like for pushed content? E.g. what happens if the cached=
 /index.html is fresh and served from the cache but the related pushed cont=
ent also contained in the cache is stale?</div>

<div><br></div><div>I&#39;m sure I can come up with many more questions, bu=
t it would appear to me that server push in SPDY is, at least currently, fu=
ndamentally incompatible with existing intermediate HTTP caches and RP&#39;=
s, which is definitely a major concern.=C2=A0</div>

<div><br></div><div>As a side note, however, it does open up the possibilit=
y for a new type of proxy that can be configured to automatically push stat=
ic content on the Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a =
backend HTTP/1.1 server and learns that /images/foo.jpg is always served wi=
th /index.html so automatically pushes it to the client. Such services woul=
d be beneficial in general, but the apparent incompatibility with existing =
deployed infrastructure is likely to significantly delay adoption. Unless, =
of course, I&#39;m missing something fundamental :-)</div>

<div><br></div><div>2. While we on the subject of Reverse Proxies... the SP=
DY spec currently states:</div><div><br></div><div><div>=C2=A0 =C2=A0When a=
 SYN_STREAM and HEADERS frame which contains an=C2=A0</div><div>=C2=A0 =C2=
=A0Associated-To-Stream-ID is received, the client must=C2=A0</div>

<div>=C2=A0 =C2=A0not issue GET requests for the=C2=A0resource in the pushe=
d=C2=A0</div><div>=C2=A0 =C2=A0stream, and instead wait for the pushed stre=
am=C2=A0to arrive.</div></div><div><br></div><div>=C2=A0 =C2=A0Question is:=
 Does this restriction apply to intermediaries like Reverse Proxies? For in=
stance, suppose the server is currently pushing a rather large resource to =
client A and Client B comes along and sends a GET request for that specific=
 resource. Assume that the RP ends up routing both requests to the same bac=
kend Origin server. A strict reading of the above requirement means that th=
e RP is required to block Client B&#39;s get request until the push to Clie=
nt A is completed. Further, the spec is not clear if this restriction only =
applies for requests sent over the same TCP connection. Meaning, a strict r=
eading of this requirement means that even if the RP opens a second connect=
ion to the Origin server, it is still forbidden to forward Client B&#39;s G=
ET request until Client A&#39;s push has been completed.</div>

<div><br></div><div><br></div><div>- James</div><div><br></div><div><br></d=
iv></font></div>

--f46d0418275218184104c55bb6b3--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 12:15:25 2012
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 EA4CA21F852D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:15:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.519
X-Spam-Level: 
X-Spam-Status: No, score=-9.519 tagged_above=-999 required=5 tests=[AWL=1.079, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 90ii6HTBKh4F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:15:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDAB621F8530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 12:15:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssf9E-0000vx-0f for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 19:15:28 +0000
Resent-Date: Sat, 21 Jul 2012 19:15:28 +0000
Resent-Message-Id: <E1Ssf9E-0000vx-0f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Ssf92-0000tO-Jr for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 19:15:16 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Ssf8z-0002hV-Qs for ietf-http-wg@w3.org; Sat, 21 Jul 2012 19:15:16 +0000
Received: by wgbds1 with SMTP id ds1so1547482wgb.2 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 12:14:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=pmc2o0W62n/+7sWISGga18BC0X7DlW59iQR1V5eM/Ts=; b=bC62nVbGDn/jLZrB/lVry381Q7NhxcKHzMf2GYf2hkK3uBu79OUa3SetxgOb+36358 LQwlzdp1kNzHKI/POhL64DWZ8I7+tPmOSfmRrL4bFC0sf2or08V+LBPVywZcXoa8YQ/g 4WRhKApK+vThQ405ggEmIxvRzpPGXhtHyO1yR8yZdcJ72mH9g7xw+bz5oxLuyTR0hufv kpE0G0oRsUMXX+zErUtHjbS9Sr8Emey7WOxHK8mgeLTU7uS8AnBgrR3PmwvwTyWPbc/P dGwKe1z14Ld2SxfolF03TFsgz/4RcMyaDTylYlROygbQ8EzwS83rppOHuM3W3brbmSK5 ZcZg==
Received: by 10.180.103.136 with SMTP id fw8mr23827474wib.20.1342898087043; Sat, 21 Jul 2012 12:14:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Sat, 21 Jul 2012 12:14:26 -0700 (PDT)
In-Reply-To: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com>
References: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Sat, 21 Jul 2012 12:14:26 -0700
Message-ID: <CABP7RbcojO6xkbBM2JD2NBJn9L8fJntkr0_vnm2v-aeOa6QYLg@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0443044672a0da04c55bd328
Received-SPF: pass client-ip=74.125.82.41; envelope-from=jasnell@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ssf8z-0002hV-Qs 1a80e328d4052181d090e4bcbd459fd4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CABP7RbcojO6xkbBM2JD2NBJn9L8fJntkr0_vnm2v-aeOa6QYLg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14697
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>

--f46d0443044672a0da04c55bd328
Content-Type: text/plain; charset=UTF-8

On Sat, Jul 21, 2012 at 12:06 PM, James M Snell <jasnell@gmail.com> wrote:

> [snip]
>
> 2. While we on the subject of Reverse Proxies... the SPDY spec currently
> states:
>
>    When a SYN_STREAM and HEADERS frame which contains an
>    Associated-To-Stream-ID is received, the client must
>    not issue GET requests for the resource in the pushed
>    stream, and instead wait for the pushed stream to arrive.
>
>    Question is: Does this restriction apply to intermediaries like Reverse
> Proxies? For instance, suppose the server is currently pushing a rather
> large resource to client A and Client B comes along and sends a GET request
> for that specific resource. Assume that the RP ends up routing both
> requests to the same backend Origin server. A strict reading of the above
> requirement means that the RP is required to block Client B's get request
> until the push to Client A is completed. Further, the spec is not clear if
> this restriction only applies for requests sent over the same TCP
> connection. Meaning, a strict reading of this requirement means that even
> if the RP opens a second connection to the Origin server, it is still
> forbidden to forward Client B's GET request until Client A's push has been
> completed.
>
>
>
Side note on this particular item.. if this restriction does apply to
intermediaries, then it would be theoretically possible for a malicious or
compromised upstream SPDY intermediary to execute a type of DoS on
downstream intermediaries by opening push streams and not closing them.
Downstream intermediaries would have to be configured to watch for dead
push streams.

- James

--f46d0443044672a0da04c55bd328
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Sat, Jul 21, 2012 at 12:06 PM, James M Sn=
ell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_b=
lank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">

<font face=3D"courier new, monospace">[snip]</font><br><div><font face=3D"c=
ourier new,monospace">
<div><br></div><div>2. While we on the subject of Reverse Proxies... the SP=
DY spec currently states:</div><div><br></div><div><div>=C2=A0 =C2=A0When a=
 SYN_STREAM and HEADERS frame which contains an=C2=A0</div><div>=C2=A0 =C2=
=A0Associated-To-Stream-ID is received, the client must=C2=A0</div>


<div>=C2=A0 =C2=A0not issue GET requests for the=C2=A0resource in the pushe=
d=C2=A0</div><div>=C2=A0 =C2=A0stream, and instead wait for the pushed stre=
am=C2=A0to arrive.</div></div><div><br></div><div>=C2=A0 =C2=A0Question is:=
 Does this restriction apply to intermediaries like Reverse Proxies? For in=
stance, suppose the server is currently pushing a rather large resource to =
client A and Client B comes along and sends a GET request for that specific=
 resource. Assume that the RP ends up routing both requests to the same bac=
kend Origin server. A strict reading of the above requirement means that th=
e RP is required to block Client B&#39;s get request until the push to Clie=
nt A is completed. Further, the spec is not clear if this restriction only =
applies for requests sent over the same TCP connection. Meaning, a strict r=
eading of this requirement means that even if the RP opens a second connect=
ion to the Origin server, it is still forbidden to forward Client B&#39;s G=
ET request until Client A&#39;s push has been completed.</div>

<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div><br></div></font></span></font></div></blockquote><div>=
<br></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">=
Side note on this particular item.. if this restriction does apply to inter=
mediaries, then it would be theoretically possible for a malicious or compr=
omised upstream SPDY intermediary to execute a type of DoS on downstream in=
termediaries by opening push streams and not closing them. Downstream inter=
mediaries would have to be configured to watch for dead push streams.</span=
></div>

<div><span style=3D"font-family:&#39;courier new&#39;,monospace"><br></span=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">- J=
ames</span></div><div><br></div></div>

--f46d0443044672a0da04c55bd328--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 12:42:45 2012
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 38E7D21F851A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:42:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.08
X-Spam-Level: 
X-Spam-Status: No, score=-10.08 tagged_above=-999 required=5 tests=[AWL=-0.082, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 u+xjlZi1cKwd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:42:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3BFCE21F850D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 12:42:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsfZP-0001Xw-L0 for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 19:42:31 +0000
Resent-Date: Sat, 21 Jul 2012 19:42:31 +0000
Resent-Message-Id: <E1SsfZP-0001Xw-L0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsfZC-0001WQ-W2 for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 19:42:19 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsfZA-0003WU-O1 for ietf-http-wg@w3.org; Sat, 21 Jul 2012 19:42:18 +0000
Received: by wibhm6 with SMTP id hm6so1583583wib.8 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 12:41:50 -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=tXpCx7J7kiz4G4wvy0jCmbzzz60A395rtxnYeY1R13s=; b=Q7I163COuLaU7KhLg59UvSXJeQsmVKTraUHKo6KGNvhp1+kz/gr3XQnhC7FqOaJs9h jujRbRCdZt5ouBi+E8bh2Unti9Qzj7oyeXV8CERWLqplsMkrwn2qwGYsTweUE6gkNKEg 4mmAeO4AQwwwzAdFueRNHFw44kQsqNRNQpcxIyq3fhkx8BvicThs8ixdB0Id10b5rbDG froj07hdUlYtcfDXMBZDwFcJWkB4hagpauuh8L7IUASXVDgbhJ0XKMbfHkE+K3aIb7gH k0s7hBRWWVKDbo95t0N8wxqMap5RaGMPMKw6fMtNruZnZ6hmeQvjgR/XvlHhSOFu/YGi 9jpw==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr23945109wib.20.1342899710113; Sat, 21 Jul 2012 12:41:50 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sat, 21 Jul 2012 12:41:50 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sat, 21 Jul 2012 12:41:50 -0700 (PDT)
In-Reply-To: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com>
References: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com>
Date: Sat, 21 Jul 2012 12:41:50 -0700
Message-ID: <CAP+FsNen8pnp0Ph8HnEgudtgbavLM88TtweBacurFoNx2v5o=g@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0443044630b74904c55c3440
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SsfZA-0003WU-O1 43aae3ee4ab3ae15b311ba8a210d6146
X-Original-To: ietf-http-wg@w3.org
Subject: Re: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CAP+FsNen8pnp0Ph8HnEgudtgbavLM88TtweBacurFoNx2v5o=g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14698
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>

--f46d0443044630b74904c55c3440
Content-Type: text/plain; charset=ISO-8859-1

On Jul 21, 2012 12:10 PM, "James M Snell" <jasnell@gmail.com> wrote:
>
> Continuing my review of the SPDY draft... have a few questions relating
to SPDY and load balancers / reverse proxy set ups... The intent is not to
poke holes but to understand what the SPDY authors had in mind for these
scenarios...

Poke away!

>
> 1. Imagine two client applications (A and B) accessing an Origin (D) via
a Reverse Proxy (C). When a client accesses /index.html on Origin D, the
Origin automatically pushes static resources /foo.css, /images/a.jpg and
/video/a.mpg to the client.
>
> Basic flow looks something like...
>
> A                  RP                 O
> |                   |                 |
> |                   |                 |
> |==================>|                 |
> | 1)SYN             |                 |
> |<==================|                 |
> | 2)SYN_ACK         |                 |
> |==================>|                 |
> | 3)ACK             |                 |
> |==================>|                 |
> | 4)SYN_STREAM (1)  |                 |
> |                   |================>|
> |                   | 5) SYN          |
> |                   |<================|
> |                   | 6) SYN_ACK      |
> |                   |================>|
> |                   | 7) ACK          |
> |                   |================>|
> |                   | 8) SYN_STREAM(1)|
> |                   |<================|--
> |                   | 9) SYN_STREAM(2)| |
> |                   |  uni=true       | |
> |<==================|                 | |
> | 10) SYN_STREAM(2) |                 | |
> |  uni=true         |                 | | Content Push
> |                   |<================| |
> |                   | 11) SYN_REPLY(1)| |
> |<==================|                 | |
> | 12) SYN_REPLY(1)  |                 | |
> |                   |                 | |
> |                   |<================| |
> |<==================| 13) DATA (2,fin)|--
> | 14) DATA (2,fin)  |                 |
> |                   |                 |
> |                   |                 |
>
> My question is: what does this picture look like if Client's A and B
concurrently request /index.html?
>
> With HTTP/1.1, static resources can be pushed off to CDN's, stored in
caches, distributed around any number of places in order to improve overall
performance. Suppose /index.html is cached at the RP. Is the RP expected to
also cache the pushed content?

It could if the pushed content indicated it was cacheable using http/1.2
caching semantics/headers.

> Is the RP expected to keep track of the fact that /foo.css, images/a.jpg
and /video/a.mpg were pushed before and push those automatically from it's
own cache when it returns the cached instance of /index.html?

No, but a smart implementation would, cache headers allowing...

> If not, when the caching proxy returns index.html from it's cache, A and
B will be forced to issue GETs for the static resources defeating the
purpose of pushing those resources in the first place.
>
> In theory, we could introduce new Link rels in the same spirit as
http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
caches when to push cached content... e.g.

Yup

>
> SYN_STREAM
>   id=2
>   unidirectional=true
>   Content-Location: http://example.org/images/foo.jpg
>   Content-Type: image/jpeg
>   Cache-Control: public
>   Link: </index.html>; rel="cache-push-with"
>
> What does cache validation look like for pushed content? E.g. what
happens if the cached /index.html is fresh and served from the cache but
the related pushed content also contained in the cache is stale?

Same as any normal cache expiry.

>
> I'm sure I can come up with many more questions, but it would appear to
me that server push in SPDY is, at least currently, fundamentally
incompatible with existing intermediate HTTP caches and RP's, which is
definitely a major concern.

Given that the headers on the pushed objects indicate cacheability I'm
either misunderstanding or missing something :)

>
> As a side note, however, it does open up the possibility for a new type
of proxy that can be configured to automatically push static content on the
Origin's behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.1
server and learns that /images/foo.jpg is always served with /index.html so
automatically pushes it to the client. Such services would be beneficial in
general, but the apparent incompatibility with existing deployed
infrastructure is likely to significantly delay adoption. Unless, of
course, I'm missing something fundamental :-)

Jetty has done this already publically, btw.

>
> 2. While we on the subject of Reverse Proxies... the SPDY spec currently
states:
>
>    When a SYN_STREAM and HEADERS frame which contains an
>    Associated-To-Stream-ID is received, the client must
>    not issue GET requests for the resource in the pushed
>    stream, and instead wait for the pushed stream to arrive.
>
>    Question is: Does this restriction apply to intermediaries like
Reverse Proxies?

Yup. RPs are both servers and clients (depending on the side one is on) and
the respective requirement are still in force.

> For instance, suppose the server is currently pushing a rather large
resource to client A and Client B comes along and sends a GET request for
that specific resource. Assume that the RP ends up routing both requests to
the same backend Origin server. A strict reading of the above requirement
means that the RP is required to block Client B's get request until the
push to Client A is completed.

Only per connection. The intention and purpose of this requirement is to
eliminate the potential race whereby the server is pushing an object, but
the client is requesting it as well (because it doesn't yet know the object
is already on its way).

> Further, the spec is not clear if this restriction only applies for
requests sent over the same TCP connection. Meaning, a strict reading of
this requirement means that even if the RP opens a second connection to the
Origin server, it is still forbidden to forward Client B's GET request
until Client A's push has been completed.

We should clarify that the invariant here exists to prevent the race
mentioned above and any behavior is allowed so long as that race is
prevented.

-=R

>
>
> - James
>
>
 On Jul 21, 2012 12:10 PM, "James M Snell" <jasnell@gmail.com> wrote:

> Continuing my review of the SPDY draft... have a few questions relating to
> SPDY and load balancers / reverse proxy set ups... The intent is not to
> poke holes but to understand what the SPDY authors had in mind for these
> scenarios...
>
> 1. Imagine two client applications (A and B) accessing an Origin (D) via a
> Reverse Proxy (C). When a client accesses /index.html on Origin D, the
> Origin automatically pushes static resources /foo.css, /images/a.jpg and
> /video/a.mpg to the client.
>
> Basic flow looks something like...
>
> A                  RP                 O
> |                   |                 |
> |                   |                 |
> |==================>|                 |
> | 1)SYN             |                 |
> |<==================|                 |
> | 2)SYN_ACK         |                 |
> |==================>|                 |
> | 3)ACK             |                 |
> |==================>|                 |
> | 4)SYN_STREAM (1)  |                 |
> |                   |================>|
> |                   | 5) SYN          |
> |                   |<================|
> |                   | 6) SYN_ACK      |
> |                   |================>|
> |                   | 7) ACK          |
> |                   |================>|
> |                   | 8) SYN_STREAM(1)|
> |                   |<================|--
> |                   | 9) SYN_STREAM(2)| |
> |                   |  uni=true       | |
> |<==================|                 | |
> | 10) SYN_STREAM(2) |                 | |
> |  uni=true         |                 | | Content Push
> |                   |<================| |
> |                   | 11) SYN_REPLY(1)| |
> |<==================|                 | |
> | 12) SYN_REPLY(1)  |                 | |
> |                   |                 | |
> |                   |<================| |
> |<==================| 13) DATA (2,fin)|--
> | 14) DATA (2,fin)  |                 |
> |                   |                 |
> |                   |                 |
>
> My question is: what does this picture look like if Client's A and B
> concurrently request /index.html?
>
> With HTTP/1.1, static resources can be pushed off to CDN's, stored in
> caches, distributed around any number of places in order to improve overall
> performance. Suppose /index.html is cached at the RP. Is the RP expected to
> also cache the pushed content? Is the RP expected to keep track of the fact
> that /foo.css, images/a.jpg and /video/a.mpg were pushed before and push
> those automatically from it's own cache when it returns the cached instance
> of /index.html? If not, when the caching proxy returns index.html from it's
> cache, A and B will be forced to issue GETs for the static resources
> defeating the purpose of pushing those resources in the first place.
>
> In theory, we could introduce new Link rels in the same spirit as
> http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
> caches when to push cached content... e.g.
>
> SYN_STREAM
>   id=2
>   unidirectional=true
>   Content-Location: http://example.org/images/foo.jpg
>   Content-Type: image/jpeg
>   Cache-Control: public
>   Link: </index.html>; rel="cache-push-with"
>
> What does cache validation look like for pushed content? E.g. what happens
> if the cached /index.html is fresh and served from the cache but the
> related pushed content also contained in the cache is stale?
>
> I'm sure I can come up with many more questions, but it would appear to me
> that server push in SPDY is, at least currently, fundamentally incompatible
> with existing intermediate HTTP caches and RP's, which is definitely a
> major concern.
>
> As a side note, however, it does open up the possibility for a new type of
> proxy that can be configured to automatically push static content on the
> Origin's behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.1
> server and learns that /images/foo.jpg is always served with /index.html so
> automatically pushes it to the client. Such services would be beneficial in
> general, but the apparent incompatibility with existing deployed
> infrastructure is likely to significantly delay adoption. Unless, of
> course, I'm missing something fundamental :-)
>
> 2. While we on the subject of Reverse Proxies... the SPDY spec currently
> states:
>
>    When a SYN_STREAM and HEADERS frame which contains an
>    Associated-To-Stream-ID is received, the client must
>    not issue GET requests for the resource in the pushed
>    stream, and instead wait for the pushed stream to arrive.
>
>    Question is: Does this restriction apply to intermediaries like Reverse
> Proxies? For instance, suppose the server is currently pushing a rather
> large resource to client A and Client B comes along and sends a GET request
> for that specific resource. Assume that the RP ends up routing both
> requests to the same backend Origin server. A strict reading of the above
> requirement means that the RP is required to block Client B's get request
> until the push to Client A is completed. Further, the spec is not clear if
> this restriction only applies for requests sent over the same TCP
> connection. Meaning, a strict reading of this requirement means that even
> if the RP opens a second connection to the Origin server, it is still
> forbidden to forward Client B's GET request until Client A's push has been
> completed.
>
>
> - James
>
>
>

--f46d0443044630b74904c55c3440
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 21, 2012 12:10 PM, &quot;James M Snell&quot; &lt;<a href=3D"mailto:j=
asnell@gmail.com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Continuing my review of the SPDY draft... have a few questions relatin=
g to SPDY and load balancers / reverse proxy set ups... The intent is not t=
o poke holes but to understand what the SPDY authors had in mind for these =
scenarios...</p>

<p dir=3D"ltr">Poke away!</p>
<p dir=3D"ltr">&gt;<br>
&gt; 1. Imagine two client applications (A and B) accessing an Origin (D) v=
ia a Reverse Proxy (C). When a client accesses /index.html on Origin D, the=
 Origin automatically pushes static resources /foo.css, /images/a.jpg and /=
video/a.mpg to the client.=A0<br>

&gt;<br>
&gt; Basic flow looks something like...<br>
&gt;<br>
&gt; A =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 O<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |<br>
&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; | 1)SYN =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br=
>
&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; | 2)SYN_ACK =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; | 3)ACK =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br=
>
&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; | 4)SYN_STREAM (1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 5) SYN =A0 =A0 =A0 =A0 =A0|<br=
>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D|<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 6) SYN_ACK =A0 =A0 =A0|<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 7) ACK =A0 =A0 =A0 =A0 =A0|<br=
>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 8) SYN_STREAM(1)|<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D|--<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 9) SYN_STREAM(2)| |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0uni=3Dtrue =A0 =A0 =A0 | |<=
br>
&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; | 10) SYN_STREAM(2) | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; | =A0uni=3Dtrue =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | | =
Content Push<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 11) SYN_REPLY(1)| |<br>
&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; | 12) SYN_REPLY(1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 | |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 13) DATA =
(2,fin)|--<br>
&gt; | 14) DATA (2,fin) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |<br>
&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |<br>
&gt;<br>
&gt; My question is: what does this picture look like if Client&#39;s A and=
 B concurrently request /index.html?=A0<br>
&gt;<br>
&gt; With HTTP/1.1, static resources can be pushed off to CDN&#39;s, stored=
 in caches, distributed around any number of places in order to improve ove=
rall performance.=A0Suppose /index.html is cached at the RP. Is the RP expe=
cted to also cache the pushed content?</p>

<p dir=3D"ltr">It could if the pushed content indicated it was cacheable us=
ing http/1.2 caching semantics/headers.</p>
<p dir=3D"ltr"> &gt; Is the RP expected to keep track of the fact that /foo=
.css, images/a.jpg and /video/a.mpg were pushed before and push those autom=
atically from it&#39;s own cache when it returns the cached instance of /in=
dex.html?</p>

<p dir=3D"ltr">No, but a smart implementation would, cache headers allowing=
...</p>
<p dir=3D"ltr">&gt; If not, when the caching proxy returns index.html from =
it&#39;s cache, A and B will be forced to issue GETs for the static resourc=
es defeating the purpose of pushing those resources in the first place.<br>

&gt;<br>
&gt; In theory, we could introduce new Link rels in the same spirit as <a h=
ref=3D"http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03">htt=
p://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03</a> that tell =
caches when to push cached content... e.g.</p>

<p dir=3D"ltr">Yup</p>
<p dir=3D"ltr">&gt;<br>
&gt; SYN_STREAM<br>
&gt; =A0 id=3D2<br>
&gt; =A0 unidirectional=3Dtrue<br>
&gt; =A0 Content-Location: <a href=3D"http://example.org/images/foo.jpg">ht=
tp://example.org/images/foo.jpg</a><br>
&gt; =A0 Content-Type: image/jpeg<br>
&gt; =A0 Cache-Control: public<br>
&gt; =A0 Link: &lt;/index.html&gt;; rel=3D&quot;cache-push-with&quot;<br>
&gt;<br>
&gt; What does cache validation look like for pushed content? E.g. what hap=
pens if the cached /index.html is fresh and served from the cache but the r=
elated pushed content also contained in the cache is stale?</p>
<p dir=3D"ltr">Same as any normal cache expiry.</p>
<p dir=3D"ltr">&gt;<br>
&gt; I&#39;m sure I can come up with many more questions, but it would appe=
ar to me that server push in SPDY is, at least currently, fundamentally inc=
ompatible with existing intermediate HTTP caches and RP&#39;s, which is def=
initely a major concern.=A0</p>

<p dir=3D"ltr">Given that the headers on the pushed objects indicate cachea=
bility I&#39;m either misunderstanding or missing something :)</p>
<p dir=3D"ltr">&gt;<br>
&gt; As a side note, however, it does open up the possibility for a new typ=
e of proxy that can be configured to automatically push static content on t=
he Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.=
1 server and learns that /images/foo.jpg is always served with /index.html =
so automatically pushes it to the client. Such services would be beneficial=
 in general, but the apparent incompatibility with existing deployed infras=
tructure is likely to significantly delay adoption. Unless, of course, I&#3=
9;m missing something fundamental :-)<br>
</p>
<p dir=3D"ltr">Jetty has done this already publically, btw.</p>
<p dir=3D"ltr">&gt;<br>
&gt; 2. While we on the subject of Reverse Proxies... the SPDY spec current=
ly states:<br>
&gt;<br>
&gt; =A0 =A0When a SYN_STREAM and HEADERS frame which contains an=A0<br>
&gt; =A0 =A0Associated-To-Stream-ID is received, the client must=A0<br>
&gt; =A0 =A0not issue GET requests for the=A0resource in the pushed=A0<br>
&gt; =A0 =A0stream, and instead wait for the pushed stream=A0to arrive.<br>
&gt;<br>
&gt; =A0 =A0Question is: Does this restriction apply to intermediaries like=
 Reverse Proxies? </p>
<p dir=3D"ltr">Yup. RPs are both servers and clients (depending on the side=
 one is on) and the respective requirement are still in force.</p>
<p dir=3D"ltr">&gt; For instance, suppose the server is currently pushing a=
 rather large resource to client A and Client B comes along and sends a GET=
 request for that specific resource. Assume that the RP ends up routing bot=
h requests to the same backend Origin server. A strict reading of the above=
 requirement means that the RP is required to block Client B&#39;s get requ=
est until the push to Client A is completed.</p>

<p dir=3D"ltr">Only per connection. The intention and purpose of this requi=
rement is to eliminate the potential race whereby the server is pushing an =
object, but the client is requesting it as well (because it doesn&#39;t yet=
 know the object is already on its way).<br>
</p>
<p dir=3D"ltr">&gt; Further, the spec is not clear if this restriction only=
 applies for requests sent over the same TCP connection. Meaning, a strict =
reading of this requirement means that even if the RP opens a second connec=
tion to the Origin server, it is still forbidden to forward Client B&#39;s =
GET request until Client A&#39;s push has been completed.</p>

<p dir=3D"ltr">We should clarify that the invariant here exists to prevent =
the race mentioned above and any behavior is allowed so long as that race i=
s prevented.<br></p>
<p dir=3D"ltr">-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt; - James<br>
&gt;<br>
&gt;<br>
</p>
<div class=3D"gmail_quote">On Jul 21, 2012 12:10 PM, &quot;James M Snell&qu=
ot; &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrot=
e:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face=3D"courier new,monospace">Continuing my review of the SPDY draft=
... have a few questions relating to SPDY and load balancers / reverse prox=
y set ups... The intent is not to poke holes but to understand what the SPD=
Y authors had in mind for these scenarios...</font><div>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">1. Imagine two client applications (A and B) accessing=
 an Origin (D) via a Reverse Proxy (C). When a client accesses /index.html =
on Origin D, the Origin automatically pushes static resources /foo.css, /im=
ages/a.jpg and /video/a.mpg to the client.=A0</font></div>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Basic flow looks something like...</font></div><=
div><font face=3D"courier new,monospace"><div><br></div><div>A =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0RP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 O</div>


<div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 |</div><div>|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D&gt;| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>| 1)SYN =A0 =A0 =A0=
 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>|&lt;=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |</div>


<div>| 2)SYN_ACK =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><=
div>|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 |</div><div>| 3)ACK =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>| 4)=
SYN_STREAM (1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div>


<div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D&gt;|</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 5=
) SYN =A0 =A0 =A0 =A0 =A0|</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|</div><div>| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | 6) SYN_ACK =A0 =A0 =A0|</div><div>| =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D&gt;|</div>


<div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 7) ACK =A0 =A0 =A0 =A0 =A0|</d=
iv><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;|</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
| 8) SYN_STREAM(1)|</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|--</div><div>| =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 | 9) SYN_STREAM(2)| |</div>


<div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0uni=3Dtrue =A0 =A0 =A0 | |<=
/div><div>|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | |</div><div>| 10) SYN_STREAM(2) | =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 | |</div><div>| =A0uni=3Dtrue =A0 =A0 =A0 =A0 | =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | | Content Push</div>


<div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D| |</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =
11) SYN_REPLY(1)| |</div><div>|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |</div><div>| 12) SYN_RE=
PLY(1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |</div><div>| =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |</div>


<div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D| |</div><div>|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D| 13) DATA (2,fin)|--</div><div>| 14) DATA (2,fin) =A0=
| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>| =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>| =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div>


<div><br></div><div>My question is: what does this picture look like if Cli=
ent&#39;s A and B concurrently request /index.html?=A0</div><div><br></div>=
<div>With HTTP/1.1, static resources can be pushed off to CDN&#39;s, stored=
 in caches, distributed around any number of places in order to improve ove=
rall performance.=A0Suppose /index.html is cached at the RP. Is the RP expe=
cted to also cache the pushed content? Is the RP expected to keep track of =
the fact that /foo.css, images/a.jpg and /video/a.mpg were pushed before an=
d push those automatically from it&#39;s own cache when it returns the cach=
ed instance of /index.html? If not, when the caching proxy returns index.ht=
ml from it&#39;s cache, A and B will be forced to issue GETs for the static=
 resources defeating the purpose of pushing those resources in the first pl=
ace.</div>


<div><br></div><div>In theory, we could introduce new Link rels in the same=
 spirit as <a href=3D"http://tools.ietf.org/html/draft-nottingham-linked-ca=
che-inv-03" target=3D"_blank">http://tools.ietf.org/html/draft-nottingham-l=
inked-cache-inv-03</a> that tell caches when to push cached content... e.g.=
</div>


<div><br></div><div>SYN_STREAM</div><div>=A0 id=3D2</div><div>=A0 unidirect=
ional=3Dtrue</div><div>=A0 Content-Location: <a href=3D"http://example.org/=
images/foo.jpg" target=3D"_blank">http://example.org/images/foo.jpg</a></di=
v><div>=A0 Content-Type: image/jpeg</div>


<div>=A0 Cache-Control: public</div><div>=A0 Link: &lt;/index.html&gt;; rel=
=3D&quot;cache-push-with&quot;</div><div><br></div><div>What does cache val=
idation look like for pushed content? E.g. what happens if the cached /inde=
x.html is fresh and served from the cache but the related pushed content al=
so contained in the cache is stale?</div>


<div><br></div><div>I&#39;m sure I can come up with many more questions, bu=
t it would appear to me that server push in SPDY is, at least currently, fu=
ndamentally incompatible with existing intermediate HTTP caches and RP&#39;=
s, which is definitely a major concern.=A0</div>


<div><br></div><div>As a side note, however, it does open up the possibilit=
y for a new type of proxy that can be configured to automatically push stat=
ic content on the Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a =
backend HTTP/1.1 server and learns that /images/foo.jpg is always served wi=
th /index.html so automatically pushes it to the client. Such services woul=
d be beneficial in general, but the apparent incompatibility with existing =
deployed infrastructure is likely to significantly delay adoption. Unless, =
of course, I&#39;m missing something fundamental :-)</div>


<div><br></div><div>2. While we on the subject of Reverse Proxies... the SP=
DY spec currently states:</div><div><br></div><div><div>=A0 =A0When a SYN_S=
TREAM and HEADERS frame which contains an=A0</div><div>=A0 =A0Associated-To=
-Stream-ID is received, the client must=A0</div>


<div>=A0 =A0not issue GET requests for the=A0resource in the pushed=A0</div=
><div>=A0 =A0stream, and instead wait for the pushed stream=A0to arrive.</d=
iv></div><div><br></div><div>=A0 =A0Question is: Does this restriction appl=
y to intermediaries like Reverse Proxies? For instance, suppose the server =
is currently pushing a rather large resource to client A and Client B comes=
 along and sends a GET request for that specific resource. Assume that the =
RP ends up routing both requests to the same backend Origin server. A stric=
t reading of the above requirement means that the RP is required to block C=
lient B&#39;s get request until the push to Client A is completed. Further,=
 the spec is not clear if this restriction only applies for requests sent o=
ver the same TCP connection. Meaning, a strict reading of this requirement =
means that even if the RP opens a second connection to the Origin server, i=
t is still forbidden to forward Client B&#39;s GET request until Client A&#=
39;s push has been completed.</div>


<div><br></div><div><br></div><div>- James</div><div><br></div><div><br></d=
iv></font></div>
</blockquote></div>

--f46d0443044630b74904c55c3440--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 12:47:42 2012
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 9002621F8516 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:47:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.535
X-Spam-Level: 
X-Spam-Status: No, score=-10.535 tagged_above=-999 required=5 tests=[AWL=0.063, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 iNkmGyFU-+Kq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:47:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8243021F851A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 12:47:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssfet-0004k2-5c for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 19:48:11 +0000
Resent-Date: Sat, 21 Jul 2012 19:48:11 +0000
Resent-Message-Id: <E1Ssfet-0004k2-5c@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Ssfeh-0004jE-UW for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 19:47:59 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Ssfeg-0003jd-MY for ietf-http-wg@w3.org; Sat, 21 Jul 2012 19:47:59 +0000
Received: by weyx43 with SMTP id x43so3580710wey.2 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 12:47:32 -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=WHUHbZgRhe6KsDWAr55JEq6e9Cw19aE/51IBCLR9yNk=; b=Tar44cpQ4gQH2VFXrJovS6msKVh/vtjF09KNf9OUj2BWZgIMFk6mD5mLG821k9+FE3 6ZpL8Hd06AlQMHDhBrI5+lHJANPAadPzdHGxnbNRfieqhN4yS9X64DX7GXKWkGdh0jJK voD0kQN1QFphYnU3RpTukfFDNmRx5RqxURVH2DjkVmPqJkUigzIvNNoE8hovhPlJHUSI 5dCwxswZVjYOaHWatZJHUEegqe28GvaAY501S3KWxT78oDndxFEtCOezVXrzb0Uk2Lmd ubmKZrUGUMwQGjDEgWHfrC1GXlpRlsAkzCompkIpA5umv3FAh8rHkILvX1WkuylvYfh3 hj5Q==
MIME-Version: 1.0
Received: by 10.216.213.37 with SMTP id z37mr6214294weo.132.1342900051857; Sat, 21 Jul 2012 12:47:31 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sat, 21 Jul 2012 12:47:31 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sat, 21 Jul 2012 12:47:31 -0700 (PDT)
In-Reply-To: <CABP7RbcojO6xkbBM2JD2NBJn9L8fJntkr0_vnm2v-aeOa6QYLg@mail.gmail.com>
References: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com> <CABP7RbcojO6xkbBM2JD2NBJn9L8fJntkr0_vnm2v-aeOa6QYLg@mail.gmail.com>
Date: Sat, 21 Jul 2012 12:47:31 -0700
Message-ID: <CAP+FsNd8F=HEhKsyU2=eCmD1_V+8W93me3wkxn-WNFYYVvSp0g@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6dab1408f51c804c55c48da
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ssfeg-0003jd-MY 4ac212555ef27cacccf96c9c55f65a57
X-Original-To: ietf-http-wg@w3.org
Subject: Re: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CAP+FsNd8F=HEhKsyU2=eCmD1_V+8W93me3wkxn-WNFYYVvSp0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14699
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>

--0016e6dab1408f51c804c55c48da
Content-Type: text/plain; charset=ISO-8859-1

There are max concurrency limits which are set by the each side. This
limits the effectiveness of an attack by the intermediary, or any spec
compliant implementation , proxy or not.

While you are correct that this would DoS the client, the intermediary
could do easier and cheaper DoS such as dropping the requests.

All intermediaries must watch the total number of sessions all the time
anyway...

-=R
On Jul 21, 2012 12:16 PM, "James M Snell" <jasnell@gmail.com> wrote:

>
> On Sat, Jul 21, 2012 at 12:06 PM, James M Snell <jasnell@gmail.com> wrote:
>
>> [snip]
>>
>> 2. While we on the subject of Reverse Proxies... the SPDY spec currently
>> states:
>>
>>    When a SYN_STREAM and HEADERS frame which contains an
>>    Associated-To-Stream-ID is received, the client must
>>    not issue GET requests for the resource in the pushed
>>    stream, and instead wait for the pushed stream to arrive.
>>
>>    Question is: Does this restriction apply to intermediaries like
>> Reverse Proxies? For instance, suppose the server is currently pushing a
>> rather large resource to client A and Client B comes along and sends a GET
>> request for that specific resource. Assume that the RP ends up routing both
>> requests to the same backend Origin server. A strict reading of the above
>> requirement means that the RP is required to block Client B's get request
>> until the push to Client A is completed. Further, the spec is not clear if
>> this restriction only applies for requests sent over the same TCP
>> connection. Meaning, a strict reading of this requirement means that even
>> if the RP opens a second connection to the Origin server, it is still
>> forbidden to forward Client B's GET request until Client A's push has been
>> completed.
>>
>>
>>
> Side note on this particular item.. if this restriction does apply to
> intermediaries, then it would be theoretically possible for a malicious or
> compromised upstream SPDY intermediary to execute a type of DoS on
> downstream intermediaries by opening push streams and not closing them.
> Downstream intermediaries would have to be configured to watch for dead
> push streams.
>
> - James
>
>

--0016e6dab1408f51c804c55c48da
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">There are max concurrency limits which are set by the each s=
ide. This limits the effectiveness of an attack by the intermediary, or any=
 spec compliant implementation , proxy or not.</p>
<p dir=3D"ltr">While you are correct that this would DoS the client, the in=
termediary could do easier and cheaper DoS such as dropping the requests.</=
p>
<p dir=3D"ltr">All intermediaries must watch the total number of sessions a=
ll the time anyway...</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Jul 21, 2012 12:16 PM, &quot;James M Snell&qu=
ot; &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrot=
e:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class=3D"gmail_quote">On Sat, Jul 21, 2012 at 12:06 PM, James M Sn=
ell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_b=
lank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">


<font face=3D"courier new, monospace">[snip]</font><br><div><font face=3D"c=
ourier new,monospace">
<div><br></div><div>2. While we on the subject of Reverse Proxies... the SP=
DY spec currently states:</div><div><br></div><div><div>=A0 =A0When a SYN_S=
TREAM and HEADERS frame which contains an=A0</div><div>=A0 =A0Associated-To=
-Stream-ID is received, the client must=A0</div>



<div>=A0 =A0not issue GET requests for the=A0resource in the pushed=A0</div=
><div>=A0 =A0stream, and instead wait for the pushed stream=A0to arrive.</d=
iv></div><div><br></div><div>=A0 =A0Question is: Does this restriction appl=
y to intermediaries like Reverse Proxies? For instance, suppose the server =
is currently pushing a rather large resource to client A and Client B comes=
 along and sends a GET request for that specific resource. Assume that the =
RP ends up routing both requests to the same backend Origin server. A stric=
t reading of the above requirement means that the RP is required to block C=
lient B&#39;s get request until the push to Client A is completed. Further,=
 the spec is not clear if this restriction only applies for requests sent o=
ver the same TCP connection. Meaning, a strict reading of this requirement =
means that even if the RP opens a second connection to the Origin server, i=
t is still forbidden to forward Client B&#39;s GET request until Client A&#=
39;s push has been completed.</div>


<span><font color=3D"#888888">
<div><br></div><div><br></div></font></span></font></div></blockquote><div>=
<br></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">=
Side note on this particular item.. if this restriction does apply to inter=
mediaries, then it would be theoretically possible for a malicious or compr=
omised upstream SPDY intermediary to execute a type of DoS on downstream in=
termediaries by opening push streams and not closing them. Downstream inter=
mediaries would have to be configured to watch for dead push streams.</span=
></div>


<div><span style=3D"font-family:&#39;courier new&#39;,monospace"><br></span=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">- J=
ames</span></div><div><br></div></div>
</blockquote></div>

--0016e6dab1408f51c804c55c48da--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 12:58:06 2012
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 F0FD621F8551 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:58:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.585
X-Spam-Level: 
X-Spam-Status: No, score=-9.585 tagged_above=-999 required=5 tests=[AWL=0.013, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_BACKHAIR_21=1, 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 ax3-LpcdT-4g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 12:58:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 27CD021F854E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 12:58:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssfog-0007xF-U7 for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 19:58:18 +0000
Resent-Date: Sat, 21 Jul 2012 19:58:18 +0000
Resent-Message-Id: <E1Ssfog-0007xF-U7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsfoU-0007wB-Se for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 19:58:06 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsfoT-0003O6-Hz for ietf-http-wg@w3.org; Sat, 21 Jul 2012 19:58:06 +0000
Received: by vcdd16 with SMTP id d16so3695462vcd.2 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 12:57:39 -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=DcTEjbEuh/N75R8N+zGPhnEwUpLHO1hvyTHbyL2Pfa8=; b=M31OuZLGdStKyhuKIpsU7clnjAb+/iBWCMwYBCDuDM12YH58imGyOaQtZ7hhEM0BRi 9R0mAAW9QcnMRAcPXUl/oR2JFWGgCiA/z+mGuNn4sJ1NzK56e5bOpovEyOJtNRH32efv QEV0ddQOqojYww9EqhIgbnR9+UyxPykiSR7eT91ULY1IwtdfzyL6VnPVgltIluYxa991 QoAKlmYVazrqPYZGfIJ+6GJ4KPfy+R7wR+RLxjhg6HKUtT3C1nQ06oR3bELPVLsvTnll h5zbSuwiNqImuPNoQzDmJTG3KSgz8PA2kseNQeEwDzuLvy8ee1VrB6/hXI+hJycRUF+Y 2TgA==
MIME-Version: 1.0
Received: by 10.52.27.72 with SMTP id r8mr7076513vdg.14.1342900659443; Sat, 21 Jul 2012 12:57:39 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Sat, 21 Jul 2012 12:57:39 -0700 (PDT)
In-Reply-To: <CABP7RbcojO6xkbBM2JD2NBJn9L8fJntkr0_vnm2v-aeOa6QYLg@mail.gmail.com>
References: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com> <CABP7RbcojO6xkbBM2JD2NBJn9L8fJntkr0_vnm2v-aeOa6QYLg@mail.gmail.com>
Date: Sat, 21 Jul 2012 12:57:39 -0700
Message-ID: <CAAPAK-4xtWg8mvR5PphfGtiq-fWevypuvvJZv1iqG7doA7k0Sg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3078113cc6568204c55c6c42
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsfoT-0003O6-Hz 7f40c89f8210417e83eca56402b3e8d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CAAPAK-4xtWg8mvR5PphfGtiq-fWevypuvvJZv1iqG7doA7k0Sg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14700
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>

--20cf3078113cc6568204c55c6c42
Content-Type: text/plain; charset=ISO-8859-1

The way you listed the actions between (A|B)<-->RP<-->O still needs the
correct scheme. That is between RP<-->O should show only HTTP
1.1 actions instead of assume the intermediaries will do that for you based
on the scheme (SPDY) used between (A|B)<-->RP. In fact, you can write-in
"SPDY-O(n)" between (A|B)<-->RP where n is the number of
actions/transactions that are not immediately dependent upon O or any
action/transactions between RP<-->O. That way, you don't have to list the
individual actions accept for the non-schemed actions of HTTP1.1.

Your answers were more obvious when/if SPDY leaks any transience, which is
conditional upon concurrency. It appears the complexity of transience was
not your intent.

On Saturday, July 21, 2012, James M Snell wrote:

>
> On Sat, Jul 21, 2012 at 12:06 PM, James M Snell <jasnell@gmail.com<javascript:_e({}, 'cvml', 'jasnell@gmail.com');>
> > wrote:
>
>> [snip]
>>
>> 2. While we on the subject of Reverse Proxies... the SPDY spec currently
>> states:
>>
>>    When a SYN_STREAM and HEADERS frame which contains an
>>    Associated-To-Stream-ID is received, the client must
>>    not issue GET requests for the resource in the pushed
>>    stream, and instead wait for the pushed stream to arrive.
>>
>>    Question is: Does this restriction apply to intermediaries like
>> Reverse Proxies? For instance, suppose the server is currently pushing a
>> rather large resource to client A and Client B comes along and sends a GET
>> request for that specific resource. Assume that the RP ends up routing both
>> requests to the same backend Origin server. A strict reading of the above
>> requirement means that the RP is required to block Client B's get request
>> until the push to Client A is completed. Further, the spec is not clear if
>> this restriction only applies for requests sent over the same TCP
>> connection. Meaning, a strict reading of this requirement means that even
>> if the RP opens a second connection to the Origin server, it is still
>> forbidden to forward Client B's GET request until Client A's push has been
>> completed.
>>
>>
>>
> Side note on this particular item.. if this restriction does apply to
> intermediaries, then it would be theoretically possible for a malicious or
> compromised upstream SPDY intermediary to execute a type of DoS on
> downstream intermediaries by opening push streams and not closing them.
> Downstream intermediaries would have to be configured to watch for dead
> push streams.
>
> - James
>
>

--20cf3078113cc6568204c55c6c42
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The way you listed the actions between (A|B)&lt;--&gt;RP&lt;--&gt;O still n=
eeds the correct scheme. That is between RP&lt;--&gt;O should show only HTT=
P 1.1=A0actions=A0instead of assume the intermediaries will do that for you=
 based on the scheme (SPDY) used between (A|B)&lt;--&gt;RP.=A0In fact, you =
can write-in &quot;SPDY-O(n)&quot; between (A|B)&lt;--&gt;RP where n is the=
 number of actions/transactions that are not=A0immediately=A0dependent=A0up=
on O or any action/transactions between=A0RP&lt;--&gt;O. That way, you don&=
#39;t have to list the individual actions accept for the non-schemed action=
s of HTTP1.1.<div>
<br></div><div>Your answers were more obvious when/if SPDY leaks any transi=
ence, which is conditional upon concurrency. It appears the complexity of t=
ransience was not your intent.<br><div><br>On Saturday, July 21, 2012, Jame=
s M Snell  wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br><div class=3D"gmail_quote">On Sat, Jul 2=
1, 2012 at 12:06 PM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"javascr=
ipt:_e({}, &#39;cvml&#39;, &#39;jasnell@gmail.com&#39;);" target=3D"_blank"=
>jasnell@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<font face=3D"courier new, monospace">[snip]</font><br><div><font face=3D"c=
ourier new,monospace">
<div><br></div><div>2. While we on the subject of Reverse Proxies... the SP=
DY spec currently states:</div><div><br></div><div><div>=A0 =A0When a SYN_S=
TREAM and HEADERS frame which contains an=A0</div><div>=A0 =A0Associated-To=
-Stream-ID is received, the client must=A0</div>



<div>=A0 =A0not issue GET requests for the=A0resource in the pushed=A0</div=
><div>=A0 =A0stream, and instead wait for the pushed stream=A0to arrive.</d=
iv></div><div><br></div><div>=A0 =A0Question is: Does this restriction appl=
y to intermediaries like Reverse Proxies? For instance, suppose the server =
is currently pushing a rather large resource to client A and Client B comes=
 along and sends a GET request for that specific resource. Assume that the =
RP ends up routing both requests to the same backend Origin server. A stric=
t reading of the above requirement means that the RP is required to block C=
lient B&#39;s get request until the push to Client A is completed. Further,=
 the spec is not clear if this restriction only applies for requests sent o=
ver the same TCP connection. Meaning, a strict reading of this requirement =
means that even if the RP opens a second connection to the Origin server, i=
t is still forbidden to forward Client B&#39;s GET request until Client A&#=
39;s push has been completed.</div>


<span><font color=3D"#888888">
<div><br></div><div><br></div></font></span></font></div></blockquote><div>=
<br></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">=
Side note on this particular item.. if this restriction does apply to inter=
mediaries, then it would be theoretically possible for a malicious or compr=
omised upstream SPDY intermediary to execute a type of DoS on downstream in=
termediaries by opening push streams and not closing them. Downstream inter=
mediaries would have to be configured to watch for dead push streams.</span=
></div>


<div><span style=3D"font-family:&#39;courier new&#39;,monospace"><br></span=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">- J=
ames</span></div><div><br></div></div>
</blockquote></div></div>

--20cf3078113cc6568204c55c6c42--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 15:12:30 2012
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 598E821F855D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 15:12:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.245
X-Spam-Level: 
X-Spam-Status: No, score=-9.245 tagged_above=-999 required=5 tests=[AWL=0.753, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 NL-K4Xn11vjP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 15:12:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1FFE021F8522 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 15:12:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sshto-0003wo-1B for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 22:11:44 +0000
Resent-Date: Sat, 21 Jul 2012 22:11:44 +0000
Resent-Message-Id: <E1Sshto-0003wo-1B@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sshtb-0003vg-KS for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 22:11:31 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SshtZ-0007y0-6b for ietf-http-wg@w3.org; Sat, 21 Jul 2012 22:11:31 +0000
Received: by weyx43 with SMTP id x43so3621420wey.2 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 15:11:02 -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=u9m+TlMvuHZsjmVnUYl2+EP90HRfE+6Xyy4dbfup2u4=; b=PMGLDE6kJAT7NFpajfwr+LWp2SJRcEuOul65bLoMJKW//6IARlRM8YnlbPr+lkVGjm aS2xopsdJm/QCDH+7Kem+u0SBpSUo1nVUdXg/Pd8/KSjzBrkn7kDKYJLvkO3AjiJp/9h c86vI2QW8CvkfuAYWhmAiPIkCQ6LLHwEtEbHqzcz7R1GM+EVqk8T415Nplo8f+MzRtNT A8y2zHntcMDIVVqU51HBQpBhPXdgQMCBPAODvQ0B+ntYziW25VSqJjxOpH7+Ul8njsTo /SRc9M6vUSl/n0pBv/1t3yVlZibG/ZxXWWyMvXQsxfKY6q3lNw6whx6Pq0vywSUHjcSb PEMw==
MIME-Version: 1.0
Received: by 10.180.106.137 with SMTP id gu9mr17193573wib.20.1342908662781; Sat, 21 Jul 2012 15:11:02 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Sat, 21 Jul 2012 15:11:01 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Sat, 21 Jul 2012 15:11:01 -0700 (PDT)
In-Reply-To: <CAP+FsNen8pnp0Ph8HnEgudtgbavLM88TtweBacurFoNx2v5o=g@mail.gmail.com>
References: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com> <CAP+FsNen8pnp0Ph8HnEgudtgbavLM88TtweBacurFoNx2v5o=g@mail.gmail.com>
Date: Sat, 21 Jul 2012 15:11:01 -0700
Message-ID: <CABP7RbcT31WXTDYp5r6Wqj7isGYY+Eie1YjMepAFLWjigZ9uXg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f3babc1cf97c604c55e49a5
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SshtZ-0007y0-6b db43fba225fb687c61b25275aaa991bc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CABP7RbcT31WXTDYp5r6Wqj7isGYY+Eie1YjMepAFLWjigZ9uXg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14701
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>

--e89a8f3babc1cf97c604c55e49a5
Content-Type: text/plain; charset=UTF-8

On Jul 21, 2012 12:41 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
>
>
> On Jul 21, 2012 12:10 PM, "James M Snell" <jasnell@gmail.com> wrote:
> >
> > Continuing my review of the SPDY draft... have a few questions relating
to SPDY and load balancers / reverse proxy set ups... The intent is not to
poke holes but to understand what the SPDY authors had in mind for these
scenarios...
>
> Poke away!
>
> >
> > 1. Imagine two client applications (A and B) accessing an Origin (D)
via a Reverse Proxy (C). When a client accesses /index.html on Origin D,
the Origin automatically pushes static resources /foo.css, /images/a.jpg
and /video/a.mpg to the client.
> >
> > Basic flow looks something like...
> >
> > A                  RP                 O
> > |                   |                 |
> > |                   |                 |
> > |==================>|                 |
> > | 1)SYN             |                 |
> > |<==================|                 |
> > | 2)SYN_ACK         |                 |
> > |==================>|                 |
> > | 3)ACK             |                 |
> > |==================>|                 |
> > | 4)SYN_STREAM (1)  |                 |
> > |                   |================>|
> > |                   | 5) SYN          |
> > |                   |<================|
> > |                   | 6) SYN_ACK      |
> > |                   |================>|
> > |                   | 7) ACK          |
> > |                   |================>|
> > |                   | 8) SYN_STREAM(1)|
> > |                   |<================|--
> > |                   | 9) SYN_STREAM(2)| |
> > |                   |  uni=true       | |
> > |<==================|                 | |
> > | 10) SYN_STREAM(2) |                 | |
> > |  uni=true         |                 | | Content Push
> > |                   |<================| |
> > |                   | 11) SYN_REPLY(1)| |
> > |<==================|                 | |
> > | 12) SYN_REPLY(1)  |                 | |
> > |                   |                 | |
> > |                   |<================| |
> > |<==================| 13) DATA (2,fin)|--
> > | 14) DATA (2,fin)  |                 |
> > |                   |                 |
> > |                   |                 |
> >
> > My question is: what does this picture look like if Client's A and B
concurrently request /index.html?
> >
> > With HTTP/1.1, static resources can be pushed off to CDN's, stored in
caches, distributed around any number of places in order to improve overall
performance. Suppose /index.html is cached at the RP. Is the RP expected to
also cache the pushed content?
>
> It could if the pushed content indicated it was cacheable using http/1.2
caching semantics/headers.
>
> > Is the RP expected to keep track of the fact that /foo.css,
images/a.jpg and /video/a.mpg were pushed before and push those
automatically from it's own cache when it returns the cached instance of
/index.html?
>
> No, but a smart implementation would, cache headers allowing...
>

Ok... so what if the cache headers don't allow? e.g. /index.html is
cacheable, /images/foo.jpg is not... /index.html would be served from the
cache and images/foo.jpg would never be pushed unless the cache is smart
enough to know that it has to go grab it and push it to the client.  Not
saying that's a bad thing, just acknowledging that for push to work, caches
and proxies would need to become much more aware of the content that's
being passed around.

> > If not, when the caching proxy returns index.html from it's cache, A
and B will be forced to issue GETs for the static resources defeating the
purpose of pushing those resources in the first place.
> >
> > In theory, we could introduce new Link rels in the same spirit as
http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
caches when to push cached content... e.g.
>
> Yup
>
> >
> > SYN_STREAM
> >   id=2
> >   unidirectional=true
> >   Content-Location: http://example.org/images/foo.jpg
> >   Content-Type: image/jpeg
> >   Cache-Control: public
> >   Link: </index.html>; rel="cache-push-with"
> >
> > What does cache validation look like for pushed content? E.g. what
happens if the cached /index.html is fresh and served from the cache but
the related pushed content also contained in the cache is stale?
>
> Same as any normal cache expiry.
>

Just want to make sure I'm clear on it... Cache wants to push
/images/foo.jpg to the client, notices that the cached version is stale, it
has to send a GET to the origin to revalidate, it gets back the updated
version then pushes that version back to the client.

> >
> > I'm sure I can come up with many more questions, but it would appear to
me that server push in SPDY is, at least currently, fundamentally
incompatible with existing intermediate HTTP caches and RP's, which is
definitely a major concern.
>
> Given that the headers on the pushed objects indicate cacheability I'm
either misunderstanding or missing something :)
>
> >
> > As a side note, however, it does open up the possibility for a new type
of proxy that can be configured to automatically push static content on the
Origin's behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.1
server and learns that /images/foo.jpg is always served with /index.html so
automatically pushes it to the client. Such services would be beneficial in
general, but the apparent incompatibility with existing deployed
infrastructure is likely to significantly delay adoption. Unless, of
course, I'm missing something fundamental :-)
>
> Jetty has done this already publically, btw.
>

Good to know, thank you. I'd missed that. I'll dig into their
implementation shortly to see what they've done.

> >
> > 2. While we on the subject of Reverse Proxies... the SPDY spec
currently states:
> >
> >    When a SYN_STREAM and HEADERS frame which contains an
> >    Associated-To-Stream-ID is received, the client must
> >    not issue GET requests for the resource in the pushed
> >    stream, and instead wait for the pushed stream to arrive.
> >
> >    Question is: Does this restriction apply to intermediaries like
Reverse Proxies?
>
> Yup. RPs are both servers and clients (depending on the side one is on)
and the respective requirement are still in force.
>
> > For instance, suppose the server is currently pushing a rather large
resource to client A and Client B comes along and sends a GET request for
that specific resource. Assume that the RP ends up routing both requests to
the same backend Origin server. A strict reading of the above requirement
means that the RP is required to block Client B's get request until the
push to Client A is completed.
>
> Only per connection. The intention and purpose of this requirement is to
eliminate the potential race whereby the server is pushing an object, but
the client is requesting it as well (because it doesn't yet know the object
is already on its way).
>

Ok, yeah I understand the reasoning behind it. The spec should clarify that
the restriction is only per connection.

Even still, I can see a number of ways where this blocking could
potentially trip developers up if they don't understand or aren't fully
aware of how it works. Namely, developers would need to avoid pushing
relatively large and/or non-cacheable resources via a single URI unless
those resources are ALWAYS pushed and not intended to be retrieved directly
by GET.

Quite interestingly... server push opens up the possibility of push-only
resources that do not allow any direct requests. That is, I could set up an
server to always push /images/foo.jpg while blocking all methods including
GET.  Obviously that would have "interesting" cache validation issues....
I'm not saying this would be a good idea, just that it would be possible.
hmmm.....

> > Further, the spec is not clear if this restriction only applies for
requests sent over the same TCP connection. Meaning, a strict reading of
this requirement means that even if the RP opens a second connection to the
Origin server, it is still forbidden to forward Client B's GET request
until Client A's push has been completed.
>
> We should clarify that the invariant here exists to prevent the race
mentioned above and any behavior is allowed so long as that race is
prevented.
>

+1

Overall, the spec could stand a lot more clarity with regards to
intermediaries and caching. There is quite a bit that is implied and after
a bit of noodling makes sense but it would be great if some of those things
were spelled out a bit more explicitly.

> -=R
>
> >
> >
> > - James
> >
> >
>
> On Jul 21, 2012 12:10 PM, "James M Snell" <jasnell@gmail.com> wrote:
>>
>> Continuing my review of the SPDY draft... have a few questions relating
to SPDY and load balancers / reverse proxy set ups... The intent is not to
poke holes but to understand what the SPDY authors had in mind for these
scenarios...
>>
>> 1. Imagine two client applications (A and B) accessing an Origin (D) via
a Reverse Proxy (C). When a client accesses /index.html on Origin D, the
Origin automatically pushes static resources /foo.css, /images/a.jpg and
/video/a.mpg to the client.
>>
>> Basic flow looks something like...
>>
>> A                  RP                 O
>> |                   |                 |
>> |                   |                 |
>> |==================>|                 |
>> | 1)SYN             |                 |
>> |<==================|                 |
>> | 2)SYN_ACK         |                 |
>> |==================>|                 |
>> | 3)ACK             |                 |
>> |==================>|                 |
>> | 4)SYN_STREAM (1)  |                 |
>> |                   |================>|
>> |                   | 5) SYN          |
>> |                   |<================|
>> |                   | 6) SYN_ACK      |
>> |                   |================>|
>> |                   | 7) ACK          |
>> |                   |================>|
>> |                   | 8) SYN_STREAM(1)|
>> |                   |<================|--
>> |                   | 9) SYN_STREAM(2)| |
>> |                   |  uni=true       | |
>> |<==================|                 | |
>> | 10) SYN_STREAM(2) |                 | |
>> |  uni=true         |                 | | Content Push
>> |                   |<================| |
>> |                   | 11) SYN_REPLY(1)| |
>> |<==================|                 | |
>> | 12) SYN_REPLY(1)  |                 | |
>> |                   |                 | |
>> |                   |<================| |
>> |<==================| 13) DATA (2,fin)|--
>> | 14) DATA (2,fin)  |                 |
>> |                   |                 |
>> |                   |                 |
>>
>> My question is: what does this picture look like if Client's A and B
concurrently request /index.html?
>>
>> With HTTP/1.1, static resources can be pushed off to CDN's, stored in
caches, distributed around any number of places in order to improve overall
performance. Suppose /index.html is cached at the RP. Is the RP expected to
also cache the pushed content? Is the RP expected to keep track of the fact
that /foo.css, images/a.jpg and /video/a.mpg were pushed before and push
those automatically from it's own cache when it returns the cached instance
of /index.html? If not, when the caching proxy returns index.html from it's
cache, A and B will be forced to issue GETs for the static resources
defeating the purpose of pushing those resources in the first place.
>>
>> In theory, we could introduce new Link rels in the same spirit as
http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
caches when to push cached content... e.g.
>>
>> SYN_STREAM
>>   id=2
>>   unidirectional=true
>>   Content-Location: http://example.org/images/foo.jpg
>>   Content-Type: image/jpeg
>>   Cache-Control: public
>>   Link: </index.html>; rel="cache-push-with"
>>
>> What does cache validation look like for pushed content? E.g. what
happens if the cached /index.html is fresh and served from the cache but
the related pushed content also contained in the cache is stale?
>>
>> I'm sure I can come up with many more questions, but it would appear to
me that server push in SPDY is, at least currently, fundamentally
incompatible with existing intermediate HTTP caches and RP's, which is
definitely a major concern.
>>
>> As a side note, however, it does open up the possibility for a new type
of proxy that can be configured to automatically push static content on the
Origin's behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.1
server and learns that /images/foo.jpg is always served with /index.html so
automatically pushes it to the client. Such services would be beneficial in
general, but the apparent incompatibility with existing deployed
infrastructure is likely to significantly delay adoption. Unless, of
course, I'm missing something fundamental :-)
>>
>> 2. While we on the subject of Reverse Proxies... the SPDY spec currently
states:
>>
>>    When a SYN_STREAM and HEADERS frame which contains an
>>    Associated-To-Stream-ID is received, the client must
>>    not issue GET requests for the resource in the pushed
>>    stream, and instead wait for the pushed stream to arrive.
>>
>>    Question is: Does this restriction apply to intermediaries like
Reverse Proxies? For instance, suppose the server is currently pushing a
rather large resource to client A and Client B comes along and sends a GET
request for that specific resource. Assume that the RP ends up routing both
requests to the same backend Origin server. A strict reading of the above
requirement means that the RP is required to block Client B's get request
until the push to Client A is completed. Further, the spec is not clear if
this restriction only applies for requests sent over the same TCP
connection. Meaning, a strict reading of this requirement means that even
if the RP opens a second connection to the Origin server, it is still
forbidden to forward Client B's GET request until Client A's push has been
completed.
>>
>>
>> - James
>>
>>

--e89a8f3babc1cf97c604c55e49a5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p><br>
On Jul 21, 2012 12:41 PM, &quot;Roberto Peon&quot; &lt;<a href=3D"mailto:gr=
mocg@gmail.com">grmocg@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Jul 21, 2012 12:10 PM, &quot;James M Snell&quot; &lt;<a href=3D"mai=
lto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Continuing my review of the SPDY draft... have a few questions re=
lating to SPDY and load balancers / reverse proxy set ups... The intent is =
not to poke holes but to understand what the SPDY authors had in mind for t=
hese scenarios...<br>

&gt;<br>
&gt; Poke away!<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; 1. Imagine two client applications (A and B) accessing an Origin =
(D) via a Reverse Proxy (C). When a client accesses /index.html on Origin D=
, the Origin automatically pushes static resources /foo.css, /images/a.jpg =
and /video/a.mpg to the client.=C2=A0<br>

&gt; &gt;<br>
&gt; &gt; Basic flow looks something like...<br>
&gt; &gt;<br>
&gt; &gt; A =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0R=
P =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 O<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | 1)SYN =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | 2)SYN_ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | 3)ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | 4)SYN_STREAM (1) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| 5) SYN =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| 6) SYN_ACK =C2=A0 =C2=A0 =C2=A0|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| 7) ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| 8) SYN_STREAM(1)|<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|--<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| 9) SYN_STREAM(2)| |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0uni=3Dtrue =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt; &gt; | 10) SYN_STREAM(2) | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 | |<br>
&gt; &gt; | =C2=A0uni=3Dtrue =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | | Content Push<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| 11) SYN_REPLY(1)| |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt; &gt; | 12) SYN_REPLY(1) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
|&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 13) =
DATA (2,fin)|--<br>
&gt; &gt; | 14) DATA (2,fin) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt;<br>
&gt; &gt; My question is: what does this picture look like if Client&#39;s =
A and B concurrently request /index.html?=C2=A0<br>
&gt; &gt;<br>
&gt; &gt; With HTTP/1.1, static resources can be pushed off to CDN&#39;s, s=
tored in caches, distributed around any number of places in order to improv=
e overall performance.=C2=A0Suppose /index.html is cached at the RP. Is the=
 RP expected to also cache the pushed content?<br>

&gt;<br>
&gt; It could if the pushed content indicated it was cacheable using http/1=
.2 caching semantics/headers.<br>
&gt;<br>
&gt; &gt; Is the RP expected to keep track of the fact that /foo.css, image=
s/a.jpg and /video/a.mpg were pushed before and push those automatically fr=
om it&#39;s own cache when it returns the cached instance of /index.html?<b=
r>

&gt;<br>
&gt; No, but a smart implementation would, cache headers allowing...<br>
&gt;</p>
<p>Ok... so what if the cache headers don&#39;t allow? e.g. /index.html is =
cacheable, /images/foo.jpg is not... /index.html would be served from the c=
ache and images/foo.jpg would never be pushed unless the cache is smart eno=
ugh to know that it has to go grab it and push it to the client.=C2=A0 Not =
saying that&#39;s a bad thing, just acknowledging that for push to work, ca=
ches and proxies would need to become much more aware of the content that&#=
39;s being passed around.</p>

<p>&gt; &gt; If not, when the caching proxy returns index.html from it&#39;=
s cache, A and B will be forced to issue GETs for the static resources defe=
ating the purpose of pushing those resources in the first place.<br>
&gt; &gt;<br>
&gt; &gt; In theory, we could introduce new Link rels in the same spirit as=
 <a href=3D"http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03=
">http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03</a> that =
tell caches when to push cached content... e.g.<br>

&gt;<br>
&gt; Yup<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; SYN_STREAM<br>
&gt; &gt; =C2=A0 id=3D2<br>
&gt; &gt; =C2=A0 unidirectional=3Dtrue<br>
&gt; &gt; =C2=A0 Content-Location: <a href=3D"http://example.org/images/foo=
.jpg">http://example.org/images/foo.jpg</a><br>
&gt; &gt; =C2=A0 Content-Type: image/jpeg<br>
&gt; &gt; =C2=A0 Cache-Control: public<br>
&gt; &gt; =C2=A0 Link: &lt;/index.html&gt;; rel=3D&quot;cache-push-with&quo=
t;<br>
&gt; &gt;<br>
&gt; &gt; What does cache validation look like for pushed content? E.g. wha=
t happens if the cached /index.html is fresh and served from the cache but =
the related pushed content also contained in the cache is stale?<br>
&gt;<br>
&gt; Same as any normal cache expiry.<br>
&gt;</p>
<p>Just want to make sure I&#39;m clear on it... Cache wants to push /image=
s/foo.jpg to the client, notices that the cached version is stale, it has t=
o send a GET to the origin to revalidate, it gets back the updated version =
then pushes that version back to the client. </p>

<p>&gt; &gt;<br>
&gt; &gt; I&#39;m sure I can come up with many more questions, but it would=
 appear to me that server push in SPDY is, at least currently, fundamentall=
y incompatible with existing intermediate HTTP caches and RP&#39;s, which i=
s definitely a major concern.=C2=A0<br>

&gt;<br>
&gt; Given that the headers on the pushed objects indicate cacheability I&#=
39;m either misunderstanding or missing something :)<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; As a side note, however, it does open up the possibility for a ne=
w type of proxy that can be configured to automatically push static content=
 on the Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a backend HT=
TP/1.1 server and learns that /images/foo.jpg is always served with /index.=
html so automatically pushes it to the client. Such services would be benef=
icial in general, but the apparent incompatibility with existing deployed i=
nfrastructure is likely to significantly delay adoption. Unless, of course,=
 I&#39;m missing something fundamental :-)<br>

&gt;<br>
&gt; Jetty has done this already publically, btw.<br>
&gt;</p>
<p>Good to know, thank you. I&#39;d missed that. I&#39;ll dig into their im=
plementation shortly to see what they&#39;ve done.</p>
<p>&gt; &gt;<br>
&gt; &gt; 2. While we on the subject of Reverse Proxies... the SPDY spec cu=
rrently states:<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0 =C2=A0When a SYN_STREAM and HEADERS frame which contains a=
n=C2=A0<br>
&gt; &gt; =C2=A0 =C2=A0Associated-To-Stream-ID is received, the client must=
=C2=A0<br>
&gt; &gt; =C2=A0 =C2=A0not issue GET requests for the=C2=A0resource in the =
pushed=C2=A0<br>
&gt; &gt; =C2=A0 =C2=A0stream, and instead wait for the pushed stream=C2=A0=
to arrive.<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0 =C2=A0Question is: Does this restriction apply to intermed=
iaries like Reverse Proxies?<br>
&gt;<br>
&gt; Yup. RPs are both servers and clients (depending on the side one is on=
) and the respective requirement are still in force.<br>
&gt;<br>
&gt; &gt; For instance, suppose the server is currently pushing a rather la=
rge resource to client A and Client B comes along and sends a GET request f=
or that specific resource. Assume that the RP ends up routing both requests=
 to the same backend Origin server. A strict reading of the above requireme=
nt means that the RP is required to block Client B&#39;s get request until =
the push to Client A is completed.<br>

&gt;<br>
&gt; Only per connection. The intention and purpose of this requirement is =
to eliminate the potential race whereby the server is pushing an object, bu=
t the client is requesting it as well (because it doesn&#39;t yet know the =
object is already on its way).<br>

&gt;</p>
<p>Ok, yeah I understand the reasoning behind it. The spec should clarify t=
hat the restriction is only per connection. </p>
<p>Even still, I can see a number of ways where this blocking could potenti=
ally trip developers up if they don&#39;t understand or aren&#39;t fully aw=
are of how it works. Namely, developers would need to avoid pushing relativ=
ely large and/or non-cacheable resources via a single URI unless those reso=
urces are ALWAYS pushed and not intended to be retrieved directly by GET.</=
p>

<p>Quite interestingly... server push opens up the possibility of push-only=
 resources that do not allow any direct requests. That is, I could set up a=
n server to always push /images/foo.jpg while blocking all methods includin=
g GET.=C2=A0 Obviously that would have &quot;interesting&quot; cache valida=
tion issues.... I&#39;m not saying this would be a good idea, just that it =
would be possible. hmmm.....</p>

<p>&gt; &gt; Further, the spec is not clear if this restriction only applie=
s for requests sent over the same TCP connection. Meaning, a strict reading=
 of this requirement means that even if the RP opens a second connection to=
 the Origin server, it is still forbidden to forward Client B&#39;s GET req=
uest until Client A&#39;s push has been completed.<br>

&gt;<br>
&gt; We should clarify that the invariant here exists to prevent the race m=
entioned above and any behavior is allowed so long as that race is prevente=
d.<br>
&gt;</p>
<p>+1</p>
<p>Overall, the spec could stand a lot more clarity with regards to interme=
diaries and caching. There is quite a bit that is implied and after a bit o=
f noodling makes sense but it would be great if some of those things were s=
pelled out a bit more explicitly.</p>

<p>&gt; -=3DR<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; - James<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; On Jul 21, 2012 12:10 PM, &quot;James M Snell&quot; &lt;<a href=3D"mai=
lto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Continuing my review of the SPDY draft... have a few questions rel=
ating to SPDY and load balancers / reverse proxy set ups... The intent is n=
ot to poke holes but to understand what the SPDY authors had in mind for th=
ese scenarios...<br>

&gt;&gt;<br>
&gt;&gt; 1. Imagine two client applications (A and B) accessing an Origin (=
D) via a Reverse Proxy (C). When a client accesses /index.html on Origin D,=
 the Origin automatically pushes static resources /foo.css, /images/a.jpg a=
nd /video/a.mpg to the client.=C2=A0<br>

&gt;&gt;<br>
&gt;&gt; Basic flow looks something like...<br>
&gt;&gt;<br>
&gt;&gt; A =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RP=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 O<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | 1)SYN =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | 2)SYN_ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | 3)ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | 4)SYN_STREAM (1) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 5) SYN =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 6) SYN_ACK =C2=A0 =C2=A0 =C2=A0|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 7) ACK =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 8) SYN_STREAM(1)|<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|--<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 9) SYN_STREAM(2)| |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0uni=3Dtrue =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt;&gt; | 10) SYN_STREAM(2) | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 | |<br>
&gt;&gt; | =C2=A0uni=3Dtrue =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | | Content Push<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 11) SYN_REPLY(1)| |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt;&gt; | 12) SYN_REPLY(1) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 13) D=
ATA (2,fin)|--<br>
&gt;&gt; | 14) DATA (2,fin) =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt; | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt;&gt;<br>
&gt;&gt; My question is: what does this picture look like if Client&#39;s A=
 and B concurrently request /index.html?=C2=A0<br>
&gt;&gt;<br>
&gt;&gt; With HTTP/1.1, static resources can be pushed off to CDN&#39;s, st=
ored in caches, distributed around any number of places in order to improve=
 overall performance.=C2=A0Suppose /index.html is cached at the RP. Is the =
RP expected to also cache the pushed content? Is the RP expected to keep tr=
ack of the fact that /foo.css, images/a.jpg and /video/a.mpg were pushed be=
fore and push those automatically from it&#39;s own cache when it returns t=
he cached instance of /index.html? If not, when the caching proxy returns i=
ndex.html from it&#39;s cache, A and B will be forced to issue GETs for the=
 static resources defeating the purpose of pushing those resources in the f=
irst place.<br>

&gt;&gt;<br>
&gt;&gt; In theory, we could introduce new Link rels in the same spirit as =
<a href=3D"http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03"=
>http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03</a> that t=
ell caches when to push cached content... e.g.<br>

&gt;&gt;<br>
&gt;&gt; SYN_STREAM<br>
&gt;&gt; =C2=A0 id=3D2<br>
&gt;&gt; =C2=A0 unidirectional=3Dtrue<br>
&gt;&gt; =C2=A0 Content-Location: <a href=3D"http://example.org/images/foo.=
jpg">http://example.org/images/foo.jpg</a><br>
&gt;&gt; =C2=A0 Content-Type: image/jpeg<br>
&gt;&gt; =C2=A0 Cache-Control: public<br>
&gt;&gt; =C2=A0 Link: &lt;/index.html&gt;; rel=3D&quot;cache-push-with&quot=
;<br>
&gt;&gt;<br>
&gt;&gt; What does cache validation look like for pushed content? E.g. what=
 happens if the cached /index.html is fresh and served from the cache but t=
he related pushed content also contained in the cache is stale?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m sure I can come up with many more questions, but it would =
appear to me that server push in SPDY is, at least currently, fundamentally=
 incompatible with existing intermediate HTTP caches and RP&#39;s, which is=
 definitely a major concern.=C2=A0<br>

&gt;&gt;<br>
&gt;&gt; As a side note, however, it does open up the possibility for a new=
 type of proxy that can be configured to automatically push static content =
on the Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a backend HTT=
P/1.1 server and learns that /images/foo.jpg is always served with /index.h=
tml so automatically pushes it to the client. Such services would be benefi=
cial in general, but the apparent incompatibility with existing deployed in=
frastructure is likely to significantly delay adoption. Unless, of course, =
I&#39;m missing something fundamental :-)<br>

&gt;&gt;<br>
&gt;&gt; 2. While we on the subject of Reverse Proxies... the SPDY spec cur=
rently states:<br>
&gt;&gt;<br>
&gt;&gt; =C2=A0 =C2=A0When a SYN_STREAM and HEADERS frame which contains an=
=C2=A0<br>
&gt;&gt; =C2=A0 =C2=A0Associated-To-Stream-ID is received, the client must=
=C2=A0<br>
&gt;&gt; =C2=A0 =C2=A0not issue GET requests for the=C2=A0resource in the p=
ushed=C2=A0<br>
&gt;&gt; =C2=A0 =C2=A0stream, and instead wait for the pushed stream=C2=A0t=
o arrive.<br>
&gt;&gt;<br>
&gt;&gt; =C2=A0 =C2=A0Question is: Does this restriction apply to intermedi=
aries like Reverse Proxies? For instance, suppose the server is currently p=
ushing a rather large resource to client A and Client B comes along and sen=
ds a GET request for that specific resource. Assume that the RP ends up rou=
ting both requests to the same backend Origin server. A strict reading of t=
he above requirement means that the RP is required to block Client B&#39;s =
get request until the push to Client A is completed. Further, the spec is n=
ot clear if this restriction only applies for requests sent over the same T=
CP connection. Meaning, a strict reading of this requirement means that eve=
n if the RP opens a second connection to the Origin server, it is still for=
bidden to forward Client B&#39;s GET request until Client A&#39;s push has =
been completed.<br>

&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; - James<br>
&gt;&gt;<br>
&gt;&gt;<br>
</p>

--e89a8f3babc1cf97c604c55e49a5--


From ietf-http-wg-request@listhub.w3.org  Sat Jul 21 16:11:51 2012
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 143A221F852B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 16:11:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.787
X-Spam-Level: 
X-Spam-Status: No, score=-9.787 tagged_above=-999 required=5 tests=[AWL=0.211, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 MGeF8d8s3Qqn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 21 Jul 2012 16:11:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D825B21F84F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 21 Jul 2012 16:11:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssipe-00015k-Dt for ietf-http-wg-dist@listhub.w3.org; Sat, 21 Jul 2012 23:11:30 +0000
Resent-Date: Sat, 21 Jul 2012 23:11:30 +0000
Resent-Message-Id: <E1Ssipe-00015k-Dt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsipN-00014U-LI for ietf-http-wg@listhub.w3.org; Sat, 21 Jul 2012 23:11:13 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SsipL-0008K3-5v for ietf-http-wg@w3.org; Sat, 21 Jul 2012 23:11:13 +0000
Received: by vcdd16 with SMTP id d16so3749671vcd.2 for <ietf-http-wg@w3.org>; Sat, 21 Jul 2012 16:10: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; bh=Q/bB3EQCJFOoaOE+vvTxf5i3ikHMCaorofRfOACIArU=; b=YcN1Bt+AYd5PqGddu9J4e55Gs0pQ5kesFi7gut1V3KUoT4jTGwYyS41Girk6dq3Qo3 BPPvgnIC0RAELJKp5fT5GZcwZOKQbY2oqQLV8I6bIx5d34WEe7MlOo7I9YqyWO5ZoR12 nFN8aiFlm/BEgMyxHR6bkrzWN3eNs+Dt7sPFdVqnIgBXncWtuu2l+y1JS1Z6f2eIilMt BuJfo8fCiDiuTafrVp1Aw3OBF6WQkWiqZOk50vtLtxg0WdOgTBor3qJu9+rnyB+VtjP5 wQVnY1uGqK/+h65TZ0kcpRQpVtKug48JjQR5ojsQGkAGZmglcMi4UpaWTC4/HoKROe3A yi3A==
MIME-Version: 1.0
Received: by 10.220.153.136 with SMTP id k8mr8344862vcw.38.1342912244749; Sat, 21 Jul 2012 16:10:44 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Sat, 21 Jul 2012 16:10:44 -0700 (PDT)
In-Reply-To: <CABP7RbcT31WXTDYp5r6Wqj7isGYY+Eie1YjMepAFLWjigZ9uXg@mail.gmail.com>
References: <CABP7RbdsCKq3f0in5cMCGCGqYFMW5LBf-47pN1HZ3+uO=4UpXA@mail.gmail.com> <CAP+FsNen8pnp0Ph8HnEgudtgbavLM88TtweBacurFoNx2v5o=g@mail.gmail.com> <CABP7RbcT31WXTDYp5r6Wqj7isGYY+Eie1YjMepAFLWjigZ9uXg@mail.gmail.com>
Date: Sat, 21 Jul 2012 16:10:44 -0700
Message-ID: <CAAPAK-5o_m+0fEi7FRMmVzVMkz7n+Y-fVpptp7bS2MGbBTe=-Q@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043084c65014fe04c55f1f0b
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsipL-0008K3-5v 26480e52f58cadee3a13f8eec87fdc76
X-Original-To: ietf-http-wg@w3.org
Subject: Re: More SPDY Related Questions..
Archived-At: <http://www.w3.org/mid/CAAPAK-5o_m+0fEi7FRMmVzVMkz7n+Y-fVpptp7bS2MGbBTe=-Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14702
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>

--f46d043084c65014fe04c55f1f0b
Content-Type: text/plain; charset=ISO-8859-1

Okay, without digression, let's assume that we know the push happens when
the cache possibly taints by previous authentication, especially if the
origin server does not restrict itself only to HTTP 1.1. Under that
assumption, I can list the flow:

(A|B)                     RP                       O
  +                        |                       |
  |                        |                       |
  |==SPDY(1):/index.html==>|                       |
  |                        |=== GET /index.html ==>|
  |                        |                       |
  |                        |<==  200:/index.html ==|
  |<=SPDY(1)-O(nA=9,nB=4)=>|                       |
  |                        |                       |


That flow, untainted, is the same for /foo.css, images/a.jpg and
/video/a.mpg. That is how I resolved that push you showed.


On Saturday, July 21, 2012, James M Snell wrote:

>
> On Jul 21, 2012 12:41 PM, "Roberto Peon" <grmocg@gmail.com<javascript:_e({}, 'cvml', 'grmocg@gmail.com');>>
> wrote:
> >
> >
> > On Jul 21, 2012 12:10 PM, "James M Snell" <jasnell@gmail.com<javascript:_e({}, 'cvml', 'jasnell@gmail.com');>>
> wrote:
> > >
> > > Continuing my review of the SPDY draft... have a few questions
> relating to SPDY and load balancers / reverse proxy set ups... The intent
> is not to poke holes but to understand what the SPDY authors had in mind
> for these scenarios...
> >
> > Poke away!
> >
> > >
> > > 1. Imagine two client applications (A and B) accessing an Origin (D)
> via a Reverse Proxy (C). When a client accesses /index.html on Origin D,
> the Origin automatically pushes static resources /foo.css, /images/a.jpg
> and /video/a.mpg to the client.
> > >
> > > Basic flow looks something like...
> > >
> > > A                  RP                 O
> > > |                   |                 |
> > > |                   |                 |
> > > |==================>|                 |
> > > | 1)SYN             |                 |
> > > |<==================|                 |
> > > | 2)SYN_ACK         |                 |
> > > |==================>|                 |
> > > | 3)ACK             |                 |
> > > |==================>|                 |
> > > | 4)SYN_STREAM (1)  |                 |
> > > |                   |================>|
> > > |                   | 5) SYN          |
> > > |                   |<================|
> > > |                   | 6) SYN_ACK      |
> > > |                   |================>|
> > > |                   | 7) ACK          |
> > > |                   |================>|
> > > |                   | 8) SYN_STREAM(1)|
> > > |                   |<================|--
> > > |                   | 9) SYN_STREAM(2)| |
> > > |                   |  uni=true       | |
> > > |<==================|                 | |
> > > | 10) SYN_STREAM(2) |                 | |
> > > |  uni=true         |                 | | Content Push
> > > |                   |<================| |
> > > |                   | 11) SYN_REPLY(1)| |
> > > |<==================|                 | |
> > > | 12) SYN_REPLY(1)  |                 | |
> > > |                   |                 | |
> > > |                   |<================| |
> > > |<==================| 13) DATA (2,fin)|--
> > > | 14) DATA (2,fin)  |                 |
> > > |                   |                 |
> > > |                   |                 |
> > >
> > > My question is: what does this picture look like if Client's A and B
> concurrently request /index.html?
> > >
> > > With HTTP/1.1, static resources can be pushed off to CDN's, stored in
> caches, distributed around any number of places in order to improve overall
> performance. Suppose /index.html is cached at the RP. Is the RP expected to
> also cache the pushed content?
> >
> > It could if the pushed content indicated it was cacheable using http/1.2
> caching semantics/headers.
> >
> > > Is the RP expected to keep track of the fact that /foo.css,
> images/a.jpg and /video/a.mpg were pushed before and push those
> automatically from it's own cache when it returns the cached instance of
> /index.html?
> >
> > No, but a smart implementation would, cache headers allowing...
> >
>
> Ok... so what if the cache headers don't allow? e.g. /index.html is
> cacheable, /images/foo.jpg is not... /index.html would be served from the
> cache and images/foo.jpg would never be pushed unless the cache is smart
> enough to know that it has to go grab it and push it to the client.  Not
> saying that's a bad thing, just acknowledging that for push to work, caches
> and proxies would need to become much more aware of the content that's
> being passed around.
>
> > > If not, when the caching proxy returns index.html from it's cache, A
> and B will be forced to issue GETs for the static resources defeating the
> purpose of pushing those resources in the first place.
> > >
> > > In theory, we could introduce new Link rels in the same spirit as
> http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
> caches when to push cached content... e.g.
> >
> > Yup
> >
> > >
> > > SYN_STREAM
> > >   id=2
> > >   unidirectional=true
> > >   Content-Location: http://example.org/images/foo.jpg
> > >   Content-Type: image/jpeg
> > >   Cache-Control: public
> > >   Link: </index.html>; rel="cache-push-with"
> > >
> > > What does cache validation look like for pushed content? E.g. what
> happens if the cached /index.html is fresh and served from the cache but
> the related pushed content also contained in the cache is stale?
> >
> > Same as any normal cache expiry.
> >
>
> Just want to make sure I'm clear on it... Cache wants to push
> /images/foo.jpg to the client, notices that the cached version is stale, it
> has to send a GET to the origin to revalidate, it gets back the updated
> version then pushes that version back to the client.
>
> > >
> > > I'm sure I can come up with many more questions, but it would appear
> to me that server push in SPDY is, at least currently, fundamentally
> incompatible with existing intermediate HTTP caches and RP's, which is
> definitely a major concern.
> >
> > Given that the headers on the pushed objects indicate cacheability I'm
> either misunderstanding or missing something :)
> >
> > >
> > > As a side note, however, it does open up the possibility for a new
> type of proxy that can be configured to automatically push static content
> on the Origin's behalf... e.g. A SPDY Proxy that talks to a backend
> HTTP/1.1 server and learns that /images/foo.jpg is always served with
> /index.html so automatically pushes it to the client. Such services would
> be beneficial in general, but the apparent incompatibility with existing
> deployed infrastructure is likely to significantly delay adoption. Unless,
> of course, I'm missing something fundamental :-)
> >
> > Jetty has done this already publically, btw.
> >
>
> Good to know, thank you. I'd missed that. I'll dig into their
> implementation shortly to see what they've done.
>
> > >
> > > 2. While we on the subject of Reverse Proxies... the SPDY spec
> currently states:
> > >
> > >    When a SYN_STREAM and HEADERS frame which contains an
> > >    Associated-To-Stream-ID is received, the client must
> > >    not issue GET requests for the resource in the pushed
> > >    stream, and instead wait for the pushed stream to arrive.
> > >
> > >    Question is: Does this restriction apply to intermediaries like
> Reverse Proxies?
> >
> > Yup. RPs are both servers and clients (depending on the side one is on)
> and the respective requirement are still in force.
> >
> > > For instance, suppose the server is currently pushing a rather large
> resource to client A and Client B comes along and sends a GET request for
> that specific resource. Assume that the RP ends up routing both requests to
> the same backend Origin server. A strict reading of the above requirement
> means that the RP is required to block Client B's get request until the
> push to Client A is completed.
> >
> > Only per connection. The intention and purpose of this requirement is to
> eliminate the potential race whereby the server is pushing an object, but
> the client is requesting it as well (because it doesn't yet know the object
> is already on its way).
> >
>
> Ok, yeah I understand the reasoning behind it. The spec should clarify
> that the restriction is only per connection.
>
> Even still, I can see a number of ways where this blocking could
> potentially trip developers up if they don't understand or aren't fully
> aware of how it works. Namely, developers would need to avoid pushing
> relatively large and/or non-cacheable resources via a single URI unless
> those resources are ALWAYS pushed and not intended to be retrieved directly
> by GET.
>
> Quite interestingly... server push opens up the possibility of push-only
> resources that do not allow any direct requests. That is, I could set up an
> server to always push /images/foo.jpg while blocking all methods including
> GET.  Obviously that would have "interesting" cache validation issues....
> I'm not saying this would be a good idea, just that it would be possible.
> hmmm.....
>
> > > Further, the spec is not clear if this restriction only applies for
> requests sent over the same TCP connection. Meaning, a strict reading of
> this requirement means that even if the RP opens a second connection to the
> Origin server, it is still forbidden to forward Client B's GET request
> until Client A's push has been completed.
> >
> > We should clarify that the invariant here exists to prevent the race
> mentioned above and any behavior is allowed so long as that race is
> prevented.
> >
>
> +1
>
> Overall, the spec could stand a lot more clarity with regards to
> intermediaries and caching. There is quite a bit that is implied and after
> a bit of noodling makes sense but it would be great if some of those things
> were spelled out a bit more explicitly.
>
> > -=R
> >
> > >
> > >
> > > - James
> > >
> > >
> >
> > On Jul 21, 2012 12:10 PM, "James M Snell" <jasnell@gmail.com> wrote:
> >>
> >> Continuing my review of the SPDY draft... have a few questions relating
> to SPDY and load balancers / reverse proxy set ups... The intent is not to
> poke holes but to understand what the SPDY authors had in mind for these
> scenarios...
> >>
> >> 1. Imagine two client applications (A and B) accessing an Origin (D)
> via a Reverse Proxy (C). When a client accesses /index.html on Origin D,
> the Origin automatically pushes static resources /foo.css, /images/a.jpg
> and /video/a.mpg to the client.
> >>
> >> Basic flow looks something like...
> >>
> >> A                  RP                 O
> >> |                   |                 |
> >> |                   |                 |
> >> |==================>|                 |
> >> | 1)SYN             |                 |
> >> |<==================|                 |
> >> | 2)SYN_ACK         |                 |
> >> |==================>|                 |
> >> | 3)ACK             |                 |
> >> |==================>|                 |
> >> | 4)SYN_STREAM (1)  |                 |
> >> |                   |================>|
> >> |                   | 5) SYN          |
> >> |                   |<================|
> >> |                   | 6) SYN_ACK      |
> >> |                   |================>|
> >> |                   | 7) ACK          |
> >> |                   |================>|
> >> |                   | 8) SYN_STREAM(1)|
> >> |                   |<================|--
> >> |                   | 9) SYN_STREAM(2)| |
> >> |                   |  uni=true       | |
> >> |<==================|                 | |
> >> | 10) SYN_STREAM(2) |                 | |
> >> |  uni=true         |                 | | Content Push
> >> |                   |<================| |
> >> |                   | 11) SYN_REPLY(1)| |
> >> |<==================|                 | |
> >> | 12) SYN_REPLY(1)  |                 | |
> >> |                   |                 | |
> >> |                   |<================| |
> >> |<==================| 13) DATA (2,fin)|--
> >> | 14) DATA (2,fin)  |                 |
> >> |                   |                 |
> >> |                   |                 |
> >>
> >> My question is: what does this picture look like if Client's A and B
> concurrently request /index.html?
> >>
> >> With HTTP/1.1, static resources can be pushed off to CDN's, stored in
> caches, distributed around any number of places in order to improve overall
> performance. Suppose /index.html is cached at the RP. Is the RP expected to
> also cache the pushed content? Is the RP expected to keep track of the fact
> that /foo.css, images/a.jpg and /video/a.mpg were pushed before and push
> those automatically from it's own cache when it returns the cached instance
> of /index.html? If not, when the caching proxy returns index.html from it's
> cache, A and B will be forced to issue GETs for the static resources
> defeating the purpose of pushing those resources in the first place.
> >>
> >> In theory, we could introduce new Link rels in the same spirit as
> http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03 that tell
> caches when to push cached content... e.g.
> >>
> >> SYN_STREAM
> >>   id=2
> >>   unidirectional=true
> >>   Content-Location: http://example.org/images/foo.jpg
> >>   Content-Type: image/jpeg
> >>   Cache-Control: public
> >>   Link: </index.html>; rel="cache-push-with"
> >>
> >> What does cache validation look like for pushed content? E.g. what
> happens if the cached /index.html is fresh and served from the cache but
> the related pushed content also contained in the cache is stale?
> >>
> >> I'm sure I can come up with many more questions, but it would appear to
> me that server push in SPDY is, at least currently, fundamentally
> incompatible with existing intermediate HTTP caches and RP's, which is
> definitely a major concern.
> >>
> >> As a side note, however, it does open up the possibility for a new type
> of proxy that can be configured to automatically push static content on the
> Origin's behalf... e.g. A SPDY Proxy that talks to a backend HTTP/1.
>

--f46d043084c65014fe04c55f1f0b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Okay, without digression, let&#39;s assume that we know the push happens wh=
en the cache possibly taints by previous authentication, especially if the =
origin server does not restrict itself only to HTTP 1.1. Under that assumpt=
ion, I can list the flow:<div>
<br></div><div><font face=3D"courier new, monospace">(A|B) =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 RP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 O</f=
ont></div><div><font face=3D"courier new, monospace">=A0 + =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 |</font></div>
<div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</fon=
t></div><div><font face=3D"courier new, monospace">=A0 |=3D=3DSPDY(1):/inde=
x.html=3D=3D&gt;| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div=
><div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0|=3D=3D=3D GET /index.html =3D=3D&gt;|</font></div>
<div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</fon=
t></div><div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|&lt;=3D=3D =A0200:/index.html =3D=3D|</font=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">=A0=
 |&lt;=3DSPDY(1)-O(nA=3D9,nB=3D4)=3D&gt;| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 |</span></div>
<div><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</fon=
t></div><div><font face=3D"courier new, monospace"><br></font></div><div><d=
iv><font face=3D"arial, sans-serif"><br></font></div>
<div><font face=3D"arial, sans-serif">That flow, untainted, is the same for=
=A0/foo.css, images/a.jpg and /video/a.mpg. That is how I resolved that pus=
h you showed.</font></div><div><br><br>On Saturday, July 21, 2012, James M =
Snell  wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><p><br>
On Jul 21, 2012 12:41 PM, &quot;Roberto Peon&quot; &lt;<a href=3D"javascrip=
t:_e({}, &#39;cvml&#39;, &#39;grmocg@gmail.com&#39;);" target=3D"_blank">gr=
mocg@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Jul 21, 2012 12:10 PM, &quot;James M Snell&quot; &lt;<a href=3D"jav=
ascript:_e({}, &#39;cvml&#39;, &#39;jasnell@gmail.com&#39;);" target=3D"_bl=
ank">jasnell@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Continuing my review of the SPDY draft... have a few questions re=
lating to SPDY and load balancers / reverse proxy set ups... The intent is =
not to poke holes but to understand what the SPDY authors had in mind for t=
hese scenarios...<br>


&gt;<br>
&gt; Poke away!<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; 1. Imagine two client applications (A and B) accessing an Origin =
(D) via a Reverse Proxy (C). When a client accesses /index.html on Origin D=
, the Origin automatically pushes static resources /foo.css, /images/a.jpg =
and /video/a.mpg to the client.=A0<br>


&gt; &gt;<br>
&gt; &gt; Basic flow looks something like...<br>
&gt; &gt;<br>
&gt; &gt; A =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RP =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 O<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt; &gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; | 1)SYN =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; | 2)SYN_ACK =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<b=
r>
&gt; &gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; | 3)ACK =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 |<br>
&gt; &gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; | 4)SYN_STREAM (1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 5) SYN =A0 =A0 =A0 =A0 =
=A0|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 6) SYN_ACK =A0 =A0 =A0|<b=
r>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 7) ACK =A0 =A0 =A0 =A0 =
=A0|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 8) SYN_STREAM(1)|<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D|--<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 9) SYN_STREAM(2)| |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0uni=3Dtrue =A0 =A0 =A0=
 | |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; &gt; | 10) SYN_STREAM(2) | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; &gt; | =A0uni=3Dtrue =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 | | Content Push<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 11) SYN_REPLY(1)| |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; &gt; | 12) SYN_REPLY(1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 | |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt; &gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 13) =
DATA (2,fin)|--<br>
&gt; &gt; | 14) DATA (2,fin) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt; &gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt; &gt;<br>
&gt; &gt; My question is: what does this picture look like if Client&#39;s =
A and B concurrently request /index.html?=A0<br>
&gt; &gt;<br>
&gt; &gt; With HTTP/1.1, static resources can be pushed off to CDN&#39;s, s=
tored in caches, distributed around any number of places in order to improv=
e overall performance.=A0Suppose /index.html is cached at the RP. Is the RP=
 expected to also cache the pushed content?<br>


&gt;<br>
&gt; It could if the pushed content indicated it was cacheable using http/1=
.2 caching semantics/headers.<br>
&gt;<br>
&gt; &gt; Is the RP expected to keep track of the fact that /foo.css, image=
s/a.jpg and /video/a.mpg were pushed before and push those automatically fr=
om it&#39;s own cache when it returns the cached instance of /index.html?<b=
r>


&gt;<br>
&gt; No, but a smart implementation would, cache headers allowing...<br>
&gt;</p>
<p>Ok... so what if the cache headers don&#39;t allow? e.g. /index.html is =
cacheable, /images/foo.jpg is not... /index.html would be served from the c=
ache and images/foo.jpg would never be pushed unless the cache is smart eno=
ugh to know that it has to go grab it and push it to the client.=A0 Not say=
ing that&#39;s a bad thing, just acknowledging that for push to work, cache=
s and proxies would need to become much more aware of the content that&#39;=
s being passed around.</p>


<p>&gt; &gt; If not, when the caching proxy returns index.html from it&#39;=
s cache, A and B will be forced to issue GETs for the static resources defe=
ating the purpose of pushing those resources in the first place.<br>
&gt; &gt;<br>
&gt; &gt; In theory, we could introduce new Link rels in the same spirit as=
 <a href=3D"http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03=
" target=3D"_blank">http://tools.ietf.org/html/draft-nottingham-linked-cach=
e-inv-03</a> that tell caches when to push cached content... e.g.<br>


&gt;<br>
&gt; Yup<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; SYN_STREAM<br>
&gt; &gt; =A0 id=3D2<br>
&gt; &gt; =A0 unidirectional=3Dtrue<br>
&gt; &gt; =A0 Content-Location: <a href=3D"http://example.org/images/foo.jp=
g" target=3D"_blank">http://example.org/images/foo.jpg</a><br>
&gt; &gt; =A0 Content-Type: image/jpeg<br>
&gt; &gt; =A0 Cache-Control: public<br>
&gt; &gt; =A0 Link: &lt;/index.html&gt;; rel=3D&quot;cache-push-with&quot;<=
br>
&gt; &gt;<br>
&gt; &gt; What does cache validation look like for pushed content? E.g. wha=
t happens if the cached /index.html is fresh and served from the cache but =
the related pushed content also contained in the cache is stale?<br>
&gt;<br>
&gt; Same as any normal cache expiry.<br>
&gt;</p>
<p>Just want to make sure I&#39;m clear on it... Cache wants to push /image=
s/foo.jpg to the client, notices that the cached version is stale, it has t=
o send a GET to the origin to revalidate, it gets back the updated version =
then pushes that version back to the client. </p>


<p>&gt; &gt;<br>
&gt; &gt; I&#39;m sure I can come up with many more questions, but it would=
 appear to me that server push in SPDY is, at least currently, fundamentall=
y incompatible with existing intermediate HTTP caches and RP&#39;s, which i=
s definitely a major concern.=A0<br>


&gt;<br>
&gt; Given that the headers on the pushed objects indicate cacheability I&#=
39;m either misunderstanding or missing something :)<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; As a side note, however, it does open up the possibility for a ne=
w type of proxy that can be configured to automatically push static content=
 on the Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a backend HT=
TP/1.1 server and learns that /images/foo.jpg is always served with /index.=
html so automatically pushes it to the client. Such services would be benef=
icial in general, but the apparent incompatibility with existing deployed i=
nfrastructure is likely to significantly delay adoption. Unless, of course,=
 I&#39;m missing something fundamental :-)<br>


&gt;<br>
&gt; Jetty has done this already publically, btw.<br>
&gt;</p>
<p>Good to know, thank you. I&#39;d missed that. I&#39;ll dig into their im=
plementation shortly to see what they&#39;ve done.</p>
<p>&gt; &gt;<br>
&gt; &gt; 2. While we on the subject of Reverse Proxies... the SPDY spec cu=
rrently states:<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0When a SYN_STREAM and HEADERS frame which contains an=A0<b=
r>
&gt; &gt; =A0 =A0Associated-To-Stream-ID is received, the client must=A0<br=
>
&gt; &gt; =A0 =A0not issue GET requests for the=A0resource in the pushed=A0=
<br>
&gt; &gt; =A0 =A0stream, and instead wait for the pushed stream=A0to arrive=
.<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0Question is: Does this restriction apply to intermediaries=
 like Reverse Proxies?<br>
&gt;<br>
&gt; Yup. RPs are both servers and clients (depending on the side one is on=
) and the respective requirement are still in force.<br>
&gt;<br>
&gt; &gt; For instance, suppose the server is currently pushing a rather la=
rge resource to client A and Client B comes along and sends a GET request f=
or that specific resource. Assume that the RP ends up routing both requests=
 to the same backend Origin server. A strict reading of the above requireme=
nt means that the RP is required to block Client B&#39;s get request until =
the push to Client A is completed.<br>


&gt;<br>
&gt; Only per connection. The intention and purpose of this requirement is =
to eliminate the potential race whereby the server is pushing an object, bu=
t the client is requesting it as well (because it doesn&#39;t yet know the =
object is already on its way).<br>


&gt;</p>
<p>Ok, yeah I understand the reasoning behind it. The spec should clarify t=
hat the restriction is only per connection. </p>
<p>Even still, I can see a number of ways where this blocking could potenti=
ally trip developers up if they don&#39;t understand or aren&#39;t fully aw=
are of how it works. Namely, developers would need to avoid pushing relativ=
ely large and/or non-cacheable resources via a single URI unless those reso=
urces are ALWAYS pushed and not intended to be retrieved directly by GET.</=
p>


<p>Quite interestingly... server push opens up the possibility of push-only=
 resources that do not allow any direct requests. That is, I could set up a=
n server to always push /images/foo.jpg while blocking all methods includin=
g GET.=A0 Obviously that would have &quot;interesting&quot; cache validatio=
n issues.... I&#39;m not saying this would be a good idea, just that it wou=
ld be possible. hmmm.....</p>


<p>&gt; &gt; Further, the spec is not clear if this restriction only applie=
s for requests sent over the same TCP connection. Meaning, a strict reading=
 of this requirement means that even if the RP opens a second connection to=
 the Origin server, it is still forbidden to forward Client B&#39;s GET req=
uest until Client A&#39;s push has been completed.<br>


&gt;<br>
&gt; We should clarify that the invariant here exists to prevent the race m=
entioned above and any behavior is allowed so long as that race is prevente=
d.<br>
&gt;</p>
<p>+1</p>
<p>Overall, the spec could stand a lot more clarity with regards to interme=
diaries and caching. There is quite a bit that is implied and after a bit o=
f noodling makes sense but it would be great if some of those things were s=
pelled out a bit more explicitly.</p>


<p>&gt; -=3DR<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; - James<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; On Jul 21, 2012 12:10 PM, &quot;James M Snell&quot; &lt;<a>jasnell@gma=
il.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Continuing my review of the SPDY draft... have a few questions rel=
ating to SPDY and load balancers / reverse proxy set ups... The intent is n=
ot to poke holes but to understand what the SPDY authors had in mind for th=
ese scenarios...<br>


&gt;&gt;<br>
&gt;&gt; 1. Imagine two client applications (A and B) accessing an Origin (=
D) via a Reverse Proxy (C). When a client accesses /index.html on Origin D,=
 the Origin automatically pushes static resources /foo.css, /images/a.jpg a=
nd /video/a.mpg to the client.=A0<br>


&gt;&gt;<br>
&gt;&gt; Basic flow looks something like...<br>
&gt;&gt;<br>
&gt;&gt; A =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RP =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 O<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt;&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt;&gt; | 1)SYN =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
|<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt;&gt; | 2)SYN_ACK =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br=
>
&gt;&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt;&gt; | 3)ACK =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
|<br>
&gt;&gt; |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt;&gt; | 4)SYN_STREAM (1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 5) SYN =A0 =A0 =A0 =A0 =A0=
|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 6) SYN_ACK =A0 =A0 =A0|<br=
>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 7) ACK =A0 =A0 =A0 =A0 =A0=
|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D&gt;|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 8) SYN_STREAM(1)|<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D|--<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 9) SYN_STREAM(2)| |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0uni=3Dtrue =A0 =A0 =A0 =
| |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt;&gt; | 10) SYN_STREAM(2) | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt;&gt; | =A0uni=3Dtrue =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
| | Content Push<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | 11) SYN_REPLY(1)| |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt;&gt; | 12) SYN_REPLY(1) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 | |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |&lt;=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D| |<br>
&gt;&gt; |&lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 13) D=
ATA (2,fin)|--<br>
&gt;&gt; | 14) DATA (2,fin) =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt;&gt; | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 |<br>
&gt;&gt;<br>
&gt;&gt; My question is: what does this picture look like if Client&#39;s A=
 and B concurrently request /index.html?=A0<br>
&gt;&gt;<br>
&gt;&gt; With HTTP/1.1, static resources can be pushed off to CDN&#39;s, st=
ored in caches, distributed around any number of places in order to improve=
 overall performance.=A0Suppose /index.html is cached at the RP. Is the RP =
expected to also cache the pushed content? Is the RP expected to keep track=
 of the fact that /foo.css, images/a.jpg and /video/a.mpg were pushed befor=
e and push those automatically from it&#39;s own cache when it returns the =
cached instance of /index.html? If not, when the caching proxy returns inde=
x.html from it&#39;s cache, A and B will be forced to issue GETs for the st=
atic resources defeating the purpose of pushing those resources in the firs=
t place.<br>


&gt;&gt;<br>
&gt;&gt; In theory, we could introduce new Link rels in the same spirit as =
<a href=3D"http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03"=
 target=3D"_blank">http://tools.ietf.org/html/draft-nottingham-linked-cache=
-inv-03</a> that tell caches when to push cached content... e.g.<br>


&gt;&gt;<br>
&gt;&gt; SYN_STREAM<br>
&gt;&gt; =A0 id=3D2<br>
&gt;&gt; =A0 unidirectional=3Dtrue<br>
&gt;&gt; =A0 Content-Location: <a href=3D"http://example.org/images/foo.jpg=
" target=3D"_blank">http://example.org/images/foo.jpg</a><br>
&gt;&gt; =A0 Content-Type: image/jpeg<br>
&gt;&gt; =A0 Cache-Control: public<br>
&gt;&gt; =A0 Link: &lt;/index.html&gt;; rel=3D&quot;cache-push-with&quot;<b=
r>
&gt;&gt;<br>
&gt;&gt; What does cache validation look like for pushed content? E.g. what=
 happens if the cached /index.html is fresh and served from the cache but t=
he related pushed content also contained in the cache is stale?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m sure I can come up with many more questions, but it would =
appear to me that server push in SPDY is, at least currently, fundamentally=
 incompatible with existing intermediate HTTP caches and RP&#39;s, which is=
 definitely a major concern.=A0<br>


&gt;&gt;<br>
&gt;&gt; As a side note, however, it does open up the possibility for a new=
 type of proxy that can be configured to automatically push static content =
on the Origin&#39;s behalf... e.g. A SPDY Proxy that talks to a backend HTT=
P/1.</p>
</blockquote></div></div>

--f46d043084c65014fe04c55f1f0b--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 01:53:12 2012
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 07BA721F84D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 01:53:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 tqaNGtNjv2N2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 01:53:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 99C8C21F84CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 01:53:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsrtP-0003e3-0y for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 08:51:59 +0000
Resent-Date: Sun, 22 Jul 2012 08:51:59 +0000
Resent-Message-Id: <E1SsrtP-0003e3-0y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1Ssrt9-0003dG-C7 for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 08:51:43 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1Ssrt7-0004HT-A0 for ietf-http-wg@w3.org; Sun, 22 Jul 2012 08:51:43 +0000
Received: by obqv19 with SMTP id v19so8386605obq.2 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 01:51:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Xvy5q9gAyYUfT/jv/7Lfs7fFsxiToi1BzyPMw14e+3Q=; b=GESnJk71AdLf2XoVgNMdvYsHpsOtIlHHTAX89vzKcteqOA8l1THdhzk77VUfDGwyrg lUTkttjp1ymk64I4/fuDv1VoNflniQKoGyKGk1jBlHWjQD/3ZrtQzpeOvAGrjgRcWJin 6CPkHxObd4sFqfmr67bpgsnUqZ7kWK6gceunrFsgoqptpAbuxQuW0+diPfSwIfeq3+Z1 qekUt2cvfbshaVV+7pZqondhcd0tLlOEg2GTl7Ad19a9u7XpihhHKAzvMRwGKXR3sa0a TK4VhOQ+08vYSnNkKC6B7BaE/VfkPZs3PawYC/CWkwduFlvXikf01q4/AtPrDQPhTP1K 6FyA==
MIME-Version: 1.0
Received: by 10.50.87.201 with SMTP id ba9mr5095066igb.66.1342947074972; Sun, 22 Jul 2012 01:51:14 -0700 (PDT)
Sender: fuzzybsc@gmail.com
Received: by 10.64.52.231 with HTTP; Sun, 22 Jul 2012 01:51:14 -0700 (PDT)
Received: by 10.64.52.231 with HTTP; Sun, 22 Jul 2012 01:51:14 -0700 (PDT)
In-Reply-To: <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com>
Date: Sun, 22 Jul 2012 18:51:14 +1000
X-Google-Sender-Auth: 8eRcq2OfuQpFj29tG8LjsXL3OnQ
Message-ID: <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
From: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f3ba17d5b1cf904c5673bba
Received-SPF: pass client-ip=209.85.214.171; envelope-from=fuzzybsc@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ssrt7-0004HT-A0 2d036c3d3c9ca27a4054a4c30bbb6abe
X-Original-To: ietf-http-wg@w3.org
Subject: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14703
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>

--e89a8f3ba17d5b1cf904c5673bba
Content-Type: text/plain; charset=UTF-8

This is an individual submission towards the http/2.0 protocol.
My background is mostly in highly available soft real-time m2m use cases
for http, rather strict browser-centric or Web-centric use cases. Http/1.1
provides a good basis for these use cases but has a number of deficiencies
I would hope could be corrected for the new protocol revision.

#1 Message level signatures
Transport level security provides privacy and non repudiation at the
penalty of denying intermediaries the right to inspect messages and
otherwise be involved in a transaction. Message level security measures
could bring about specific benefits for http in relation to REST and
practical use cases. For example:
A signed representation could be returned by a cache without introducing
man in the middle attacks, particularly if the intermediaries are able to
add their own metadata to an envelope that contains the original unmodified
and signed body and headers from the origin server.
A signed request could eliminate the need for existing authentication
mechanisms and allow a message to be authenticated without the need for
additional round trips between client and server.
Signed messages could be inspected by firewalls to prevent requests being
sent that contravene local policy.
An encrypted response that can be read only by its intended recipients
could in theory even be returned to arbitrary clients without needing to
first authenticate them.
I think that signatures would significantly simplify m2m use cases.
Encryption may also be of use, although it is less important in my
particular use cases.
Transport level encryption can work against goal of allowing intermediates
to inspect and be involved in transactions.

#2 Canonical form or info set
The signature and encryption issues may be the tip of a larger
canonicalization ice berg. HTTP has traditionally allowed new headers a
level of freedom in defining both semantics and parsing rules. As we move
forwards perhaps it is time to place some limits on this.

#3 Out of order responses and heartbeat capability
Modifying http to be able to make efficient use of a single TCP connection
is I think a priority for many members of this list, and is something that
SPDY has been specifically developed to address. I would like to expand on
this with the specific notion of heartbeats to be able to reliably answer
the question: Is my connection alive or dead? If the connection is dead the
client will want to know as quickly as possible so that it can connect to a
redundant instance of the server.
In my use cases I often want positive confirmation that my connection is
still valid approximately every four seconds, plus assurances from
intermediates that they are also seeing heartbeats. For long poll use cases
this can be taken care of by requesting a short timeout in requests and for
long database transactions a slow response can be replaced by an
asynchronous interaction, but it would be helpful to have the server send
regular updates on the processing status for a given request. A regular
high priority OPTIONS * request may suffice to solve this problem.

#4 consider replacing internet media type identification model
A bit of a wishlist item, but mostly self explanatory. As far as m2m use
cases go a typical company might need to mint dozens or more media types
for internal use without coordination with the IANA, and it would be good
to allow a url that refers to the type's specification or allow a
combination of centrally registered tokens and urls as per RFC 5988's link
relation registry.

#5 A must understand model
Currently if a new feature is added to http requests that must be
understood servers the client must use a new http method to ensure that a
server who does not understand will reject the request. Perhaps it is time
to introduce a more refined model. My thinking is a must understand header
that consists of tokens/urls stating special requirements the server must
fulfil before accepting the message for processing. The client could
include an additional header that indicates its own supported features to
allow the server to tailor its own processing or potentially reject the
request.

#6 An idempotent POST
It would be helpful to have a way to idempotently POST new state. My
preference would be for the client to be able to supply a unique identifier
as part of its request that can be used by the server to ignore repeated
instances of the message, preferably as a uuid or guid in uri form or other
unique uris.

That's probably enough of a wishlist for my first post to this list.
Comments/criticism welcome.

Benjamin

--e89a8f3ba17d5b1cf904c5673bba
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>This is an individual submission towards the http/2.0 protocol.<br>
My background is mostly in highly available soft real-time m2m use cases fo=
r http, rather strict browser-centric or Web-centric use cases. Http/1.1 pr=
ovides a good basis for these use cases but has a number of deficiencies I =
would hope could be corrected for the new protocol revision.</p>

<p>#1 Message level signatures<br>
Transport level security provides privacy and non repudiation at the penalt=
y of denying intermediaries the right to inspect messages and otherwise be =
involved in a transaction. Message level security measures could bring abou=
t specific benefits for http in relation to REST and practical use cases. F=
or example:<br>

A signed representation could be returned by a cache without introducing ma=
n in the middle attacks, particularly if the intermediaries are able to add=
 their own metadata to an envelope that contains the original unmodified an=
d signed body and headers from the origin server.<br>

A signed request could eliminate the need for existing authentication mecha=
nisms and allow a message to be authenticated without the need for addition=
al round trips between client and server.<br>
Signed messages could be inspected by firewalls to prevent requests being s=
ent that contravene local policy.<br>
An encrypted response that can be read only by its intended recipients coul=
d in theory even be returned to arbitrary clients without needing to first =
authenticate them.<br>
I think that signatures would significantly simplify m2m use cases. Encrypt=
ion may also be of use, although it is less important in my particular use =
cases.<br>
Transport level encryption can work against goal of allowing intermediates =
to inspect and be involved in transactions.</p>
<p>#2 Canonical form or info set<br>
The signature and encryption issues may be the tip of a larger canonicaliza=
tion ice berg. HTTP has traditionally allowed new headers a level of freedo=
m in defining both semantics and parsing rules. As we move forwards perhaps=
 it is time to place some limits on this.</p>

<p>#3 Out of order responses and heartbeat capability<br>
Modifying http to be able to make efficient use of a single TCP connection =
is I think a priority for many members of this list, and is something that =
SPDY has been specifically developed to address. I would like to expand on =
this with the specific notion of heartbeats to be able to reliably answer t=
he question: Is my connection alive or dead? If the connection is dead the =
client will want to know as quickly as possible so that it can connect to a=
 redundant instance of the server.<br>

In my use cases I often want positive confirmation that my connection is st=
ill valid approximately every four seconds, plus assurances from intermedia=
tes that they are also seeing heartbeats. For long poll use cases this can =
be taken care of by requesting a short timeout in requests and for long dat=
abase transactions a slow response can be replaced by an asynchronous inter=
action, but it would be helpful to have the server send regular updates on =
the processing status for a given request. A regular high priority OPTIONS =
* request may suffice to solve this problem.</p>

<p>#4 consider replacing internet media type identification model<br>
A bit of a wishlist item, but mostly self explanatory. As far as m2m use ca=
ses go a typical company might need to mint dozens or more media types for =
internal use without coordination with the IANA, and it would be good to al=
low a url that refers to the type&#39;s specification or allow a combinatio=
n of centrally registered tokens and urls as per RFC 5988&#39;s link relati=
on registry.</p>

<p>#5 A must understand model<br>
Currently if a new feature is added to http requests that must be understoo=
d servers the client must use a new http method to ensure that a server who=
 does not understand will reject the request. Perhaps it is time to introdu=
ce a more refined model. My thinking is a must understand header that consi=
sts of tokens/urls stating special requirements the server must fulfil befo=
re accepting the message for processing. The client could include an additi=
onal header that indicates its own supported features to allow the server t=
o tailor its own processing or potentially reject the request.</p>

<p>#6 An idempotent POST<br>
It would be helpful to have a way to idempotently POST new state. My prefer=
ence would be for the client to be able to supply a unique identifier as pa=
rt of its request that can be used by the server to ignore repeated instanc=
es of the message, preferably as a uuid or guid in uri form or other unique=
 uris.</p>

<p>That&#39;s probably enough of a wishlist for my first post to this list.=
 Comments/criticism welcome.</p>
<p>Benjamin=C2=A0 </p>

--e89a8f3ba17d5b1cf904c5673bba--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 05:53:40 2012
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 8043221F8494 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 05:53:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 YbelmBMk2ruJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 05:53:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 54CC121F8491 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 05:53:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssvdq-0002Vx-NW for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 12:52:10 +0000
Resent-Date: Sun, 22 Jul 2012 12:52:10 +0000
Resent-Message-Id: <E1Ssvdq-0002Vx-NW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fernandezm@gmail.com>) id 1Ssvdf-0002V7-57 for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 12:51:59 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fernandezm@gmail.com>) id 1Ssvdd-0005Ii-VR for ietf-http-wg@w3.org; Sun, 22 Jul 2012 12:51:59 +0000
Received: by yenq11 with SMTP id q11so5037763yen.2 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 05:51:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Voc5IHPn855TLl8kFAI+HaVmlA6DBBGnj9OEnPqeFK0=; b=nlhAwns6OWAR9+N6WUfPgynJ3XCT0dGUexqf84Bmyba+qC85Gh2Z5yiajMtJtPT8Mb 9RzqaQQVzWtBx5ac5q28jqkxuqEwkhu6NWXGgmXClBTlQNoNjZNYQwVDbco0CEbNGMey ekb3V/R9DXd1j4dw6YIQDZvJmfWuYbwgGThfbNaLMuxxteJcmId+ftjkXNRBXwt1kK/J ieCb00a30uFPZulPR4Pn18+MkyrbDyJteFs2C5AgsHvrAIXnM568i7TLSyL3WGp9a/EN KTXGWObd1jfHjGjzsxNHUvlH6bC5ryoIvwzvoswHRK/LJEgf13f7FifVTNA/VmSAkCzg ljNg==
Received: by 10.42.146.6 with SMTP id h6mr6641272icv.53.1342961491444; Sun, 22 Jul 2012 05:51:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.41.103 with HTTP; Sun, 22 Jul 2012 05:51:11 -0700 (PDT)
In-Reply-To: <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
From: Marcelo Fernandez <fernandezm@gmail.com>
Date: Sun, 22 Jul 2012 09:51:11 -0300
Message-ID: <CAJDC7N7s48obf5B-k-yTjwwXHgJ=Zga00wG4KvD5sK9rJeYPCQ@mail.gmail.com>
To: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.213.171; envelope-from=fernandezm@gmail.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.3
X-W3C-Hub-Spam-Report: BAYES_05=-0.5, 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 1Ssvdd-0005Ii-VR c6df263a873fdf2fb6e08852863c5378
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAJDC7N7s48obf5B-k-yTjwwXHgJ=Zga00wG4KvD5sK9rJeYPCQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14704
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>

Hello Benjamin,

2012/7/22 Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>:
[...]
> #3 Out of order responses and heartbeat capability
> Modifying http to be able to make efficient use of a single TCP connectio=
n
> is I think a priority for many members of this list, and is something tha=
t
> SPDY has been specifically developed to address. I would like to expand o=
n
> this with the specific notion of heartbeats to be able to reliably answer
> the question: Is my connection alive or dead? If the connection is dead t=
he
> client will want to know as quickly as possible so that it can connect to=
 a
> redundant instance of the server.
> In my use cases I often want positive confirmation that my connection is
> still valid approximately every four seconds, plus assurances from
> intermediates that they are also seeing heartbeats. For long poll use cas=
es
> this can be taken care of by requesting a short timeout in requests and f=
or
> long database transactions a slow response can be replaced by an
> asynchronous interaction, but it would be helpful to have the server send
> regular updates on the processing status for a given request. A regular h=
igh
> priority OPTIONS * request may suffice to solve this problem.

In SPDY, I guess you can use a Ping Frame to do this, and also calculate RT=
T.

http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.5

The SPDY guys surely will correct me if I'm wrong.

Regards
--=20
Marcelo F. Fern=E1ndez
Buenos Aires, Argentina
Lic. en Sistemas de Informaci=F3n

E-Mail: fernandezm@gmail.com
Web Site: http://www.marcelofernandez.info
Twitter: @fidelfernandez


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 09:21:35 2012
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 02DE021F866C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 09:21:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.538
X-Spam-Level: 
X-Spam-Status: No, score=-10.538 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 YEF3vldaQCF4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 09:21:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7C6021F8667 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 09:21:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SsyuG-0003Nd-I5 for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 16:21:20 +0000
Resent-Date: Sun, 22 Jul 2012 16:21:20 +0000
Resent-Message-Id: <E1SsyuG-0003Nd-I5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Ssyu5-0003MI-HN for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 16:21:09 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Ssyu4-0003MR-3S for ietf-http-wg@w3.org; Sun, 22 Jul 2012 16:21:09 +0000
Received: by weyx43 with SMTP id x43so3916265wey.2 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 09:20:41 -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=YXuTr0oMO4rZfWAZEncuiACdhq3gjb4qmOssokpolM4=; b=gl+11zj5KOklhYB3/DJ+H5WXBVNWl8vuwXob2Eqd2IZKFPMBSj5ZczhIOWQFtUu+am Wwm9w2GUE5GbhPSPbTOMFrGyqoAOp0OkF0eCHoCz+jHwKrDCa7XKp9fwdk0PzYn0uwRi +okjMJi56RFK20YDSAEAQPUG3iu4RVg8yO87+jBfVnJ2lCp93KqqLkRBqQIYE97PeuJj a89hKn8C508AWFa1+2dDmmVrCdLUMceDkMX4JbiCDp92MdOaLo/J12qohJjrqT0DtbtP s3VY9ntv/AC8uvemdbakiyaRSNoKWpfDlVlAjltgxjthfzg7dKwre1/dU3OKcrKd51Rp lu3A==
MIME-Version: 1.0
Received: by 10.180.104.5 with SMTP id ga5mr22046103wib.21.1342974041568; Sun, 22 Jul 2012 09:20:41 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sun, 22 Jul 2012 09:20:41 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sun, 22 Jul 2012 09:20:41 -0700 (PDT)
In-Reply-To: <CAJDC7N7s48obf5B-k-yTjwwXHgJ=Zga00wG4KvD5sK9rJeYPCQ@mail.gmail.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAJDC7N7s48obf5B-k-yTjwwXHgJ=Zga00wG4KvD5sK9rJeYPCQ@mail.gmail.com>
Date: Sun, 22 Jul 2012 09:20:41 -0700
Message-ID: <CAP+FsNf28s5=_9RpwDVV3n1KMwu6rsC0H5o5tO-Ti3rvJh5Xog@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Marcelo Fernandez <fernandezm@gmail.com>
Cc: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043d656bb0b5bc04c56d82a3
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ssyu4-0003MR-3S d541f9d70c3f1597d3e672b5716aeea0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAP+FsNf28s5=_9RpwDVV3n1KMwu6rsC0H5o5tO-Ti3rvJh5Xog@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14706
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>

--f46d043d656bb0b5bc04c56d82a3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You're right Marcelo. :)
-=3DR
On Jul 22, 2012 5:54 AM, "Marcelo Fernandez" <fernandezm@gmail.com> wrote:

> Hello Benjamin,
>
> 2012/7/22 Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>:
> [...]
> > #3 Out of order responses and heartbeat capability
> > Modifying http to be able to make efficient use of a single TCP
> connection
> > is I think a priority for many members of this list, and is something
> that
> > SPDY has been specifically developed to address. I would like to expand
> on
> > this with the specific notion of heartbeats to be able to reliably answ=
er
> > the question: Is my connection alive or dead? If the connection is dead
> the
> > client will want to know as quickly as possible so that it can connect
> to a
> > redundant instance of the server.
> > In my use cases I often want positive confirmation that my connection i=
s
> > still valid approximately every four seconds, plus assurances from
> > intermediates that they are also seeing heartbeats. For long poll use
> cases
> > this can be taken care of by requesting a short timeout in requests and
> for
> > long database transactions a slow response can be replaced by an
> > asynchronous interaction, but it would be helpful to have the server se=
nd
> > regular updates on the processing status for a given request. A regular
> high
> > priority OPTIONS * request may suffice to solve this problem.
>
> In SPDY, I guess you can use a Ping Frame to do this, and also calculate
> RTT.
>
> http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.5
>
> The SPDY guys surely will correct me if I'm wrong.
>
> Regards
> --
> Marcelo F. Fern=E1ndez
> Buenos Aires, Argentina
> Lic. en Sistemas de Informaci=F3n
>
> E-Mail: fernandezm@gmail.com
> Web Site: http://www.marcelofernandez.info
> Twitter: @fidelfernandez
>
>

--f46d043d656bb0b5bc04c56d82a3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">You&#39;re right Marcelo. :)<br>
-=3DR</p>
<div class=3D"gmail_quote">On Jul 22, 2012 5:54 AM, &quot;Marcelo Fernandez=
&quot; &lt;<a href=3D"mailto:fernandezm@gmail.com">fernandezm@gmail.com</a>=
&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Benjamin,<br>
<br>
2012/7/22 Benjamin Carlyle &lt;<a href=3D"mailto:benjamincarlyle@soundadvic=
e.id.au">benjamincarlyle@soundadvice.id.au</a>&gt;:<br>
[...]<br>
&gt; #3 Out of order responses and heartbeat capability<br>
&gt; Modifying http to be able to make efficient use of a single TCP connec=
tion<br>
&gt; is I think a priority for many members of this list, and is something =
that<br>
&gt; SPDY has been specifically developed to address. I would like to expan=
d on<br>
&gt; this with the specific notion of heartbeats to be able to reliably ans=
wer<br>
&gt; the question: Is my connection alive or dead? If the connection is dea=
d the<br>
&gt; client will want to know as quickly as possible so that it can connect=
 to a<br>
&gt; redundant instance of the server.<br>
&gt; In my use cases I often want positive confirmation that my connection =
is<br>
&gt; still valid approximately every four seconds, plus assurances from<br>
&gt; intermediates that they are also seeing heartbeats. For long poll use =
cases<br>
&gt; this can be taken care of by requesting a short timeout in requests an=
d for<br>
&gt; long database transactions a slow response can be replaced by an<br>
&gt; asynchronous interaction, but it would be helpful to have the server s=
end<br>
&gt; regular updates on the processing status for a given request. A regula=
r high<br>
&gt; priority OPTIONS * request may suffice to solve this problem.<br>
<br>
In SPDY, I guess you can use a Ping Frame to do this, and also calculate RT=
T.<br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section=
-2.6.5" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis-=
spdy-00#section-2.6.5</a><br>
<br>
The SPDY guys surely will correct me if I&#39;m wrong.<br>
<br>
Regards<br>
--<br>
Marcelo F. Fern=E1ndez<br>
Buenos Aires, Argentina<br>
Lic. en Sistemas de Informaci=F3n<br>
<br>
E-Mail: <a href=3D"mailto:fernandezm@gmail.com">fernandezm@gmail.com</a><br=
>
Web Site: <a href=3D"http://www.marcelofernandez.info" target=3D"_blank">ht=
tp://www.marcelofernandez.info</a><br>
Twitter: @fidelfernandez<br>
<br>
</blockquote></div>

--f46d043d656bb0b5bc04c56d82a3--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 09:21:35 2012
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 5F4FF21F8667 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 09:21:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.541
X-Spam-Level: 
X-Spam-Status: No, score=-10.541 tagged_above=-999 required=5 tests=[AWL=0.057, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 vVsSscuaY6fL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 09:21:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2719921F866A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 09:21:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ssytj-0003KW-GI for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 16:20:47 +0000
Resent-Date: Sun, 22 Jul 2012 16:20:47 +0000
Resent-Message-Id: <E1Ssytj-0003KW-GI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsytX-0003JO-Js for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 16:20:35 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SsytT-0007GN-Qq for ietf-http-wg@w3.org; Sun, 22 Jul 2012 16:20:35 +0000
Received: by wgbdt14 with SMTP id dt14so4714376wgb.26 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 09:20:05 -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=+bSMgAu3Yr4fpBb5YtQ2ISZdoksJ8Kc0p5QhL7Ut+LE=; b=MLBBo5tp82B31Vyy3a5XArI8QE+lwC4lwnpUeQX73sRyjK5buFLGXxKBuv3UChMc95 4dNCMn5RC4ax24uxbYD9RRqrR+OV2ZEixzC5xu701MSaApu7wfMPp5qdVC5YxfmpNrr3 cH/+Jt/cVBdmhZ/gvrBGAv5+PkUN8U7mxsVoHw9AlhZgMj316OR0RivhdLhUIILvefiv B6ylP+F4N7JAYaD/YzMTFyBF7klGc0N3d2wmrofiuzXltrAdxks+a3SsmMtT8HY2QZxd 6CYpA9bdSXfzqJRi5iwSzffIQr8gzFutsIsVxBVBfNYE7GAelTfI1zgg3Hhj4R78xxjA 8+Cg==
MIME-Version: 1.0
Received: by 10.216.213.37 with SMTP id z37mr7466599weo.132.1342974005183; Sun, 22 Jul 2012 09:20:05 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sun, 22 Jul 2012 09:20:05 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sun, 22 Jul 2012 09:20:05 -0700 (PDT)
In-Reply-To: <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
Date: Sun, 22 Jul 2012 09:20:05 -0700
Message-ID: <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6dab1408585af04c56d8019
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SsytT-0007GN-Qq 00c60bd60364edee7a5451e20f57425e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14705
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>

--0016e6dab1408585af04c56d8019
Content-Type: text/plain; charset=ISO-8859-1

On Jul 22, 2012 1:54 AM, "Benjamin Carlyle" <
benjamincarlyle@soundadvice.id.au> wrote:
>
> This is an individual submission towards the http/2.0 protocol.
> My background is mostly in highly available soft real-time m2m use cases
for http, rather strict browser-centric or Web-centric use cases. Http/1.1
provides a good basis for these use cases but has a number of deficiencies
I would hope could be corrected for the new protocol revision.
>
> #1 Message level signatures
> Transport level security provides privacy and non repudiation at the
penalty of denying intermediaries the right to inspect messages and
otherwise be involved in a transaction. Message level security measures
could bring about specific benefits for http in relation to REST and
practical use cases. For example:
> A signed representation could be returned by a cache without introducing
man in the middle attacks, particularly if the intermediaries are able to
add their own metadata to an envelope that contains the original unmodified
and signed body and headers from the origin server.
> A signed request could eliminate the need for existing authentication
mechanisms and allow a message to be authenticated without the need for
additional round trips between client and server.
> Signed messages could be inspected by firewalls to prevent requests being
sent that contravene local policy.
> An encrypted response that can be read only by its intended recipients
could in theory even be returned to arbitrary clients without needing to
first authenticate them.
> I think that signatures would significantly simplify m2m use cases.
Encryption may also be of use, although it is less important in my
particular use cases.
> Transport level encryption can work against goal of allowing
intermediates to inspect and be involved in transactions.
>
> #2 Canonical form or info set
> The signature and encryption issues may be the tip of a larger
canonicalization ice berg. HTTP has traditionally allowed new headers a
level of freedom in defining both semantics and parsing rules. As we move
forwards perhaps it is time to place some limits on this.
>
> #3 Out of order responses and heartbeat capability
> Modifying http to be able to make efficient use of a single TCP
connection is I think a priority for many members of this list, and is
something that SPDY has been specifically developed to address. I would
like to expand on this with the specific notion of heartbeats to be able to
reliably answer the question: Is my connection alive or dead? If the
connection is dead the client will want to know as quickly as possible so
that it can connect to a redundant instance of the server.

The PING frame in SPDY addresses this, btw. It is especially important for
clients behind NATS.

> In my use cases I often want positive confirmation that my connection is
still valid approximately every four seconds, plus assurances from
intermediates that they are also seeing heartbeats.

Keep-alive pings are very to distinguish from DoS attacks. Having the
server interpret something once every 4 seconds is probably OK at the layer
above the protocol layer.

> For long poll use cases this can be taken care of by requesting a short
timeout in requests and for long database transactions a slow response can
be replaced by an asynchronous interaction, but it would be helpful to have
the server send regular updates on the processing status for a given
request. A regular high priority OPTIONS * request may suffice to solve
this problem.
>
> #4 consider replacing internet media type identification model
> A bit of a wishlist item, but mostly self explanatory. As far as m2m use
cases go a typical company might need to mint dozens or more media types
for internal use without coordination with the IANA, and it would be good
to allow a url that refers to the type's specification or allow a
combination of centrally registered tokens and urls as per RFC 5988's link
relation registry.
>
> #5 A must understand model
> Currently if a new feature is added to http requests that must be
understood servers the client must use a new http method to ensure that a
server who does not understand will reject the request. Perhaps it is time
to introduce a more refined model. My thinking is a must understand header
that consists of tokens/urls stating special requirements the server must
fulfil before accepting the message for processing. The client could
include an additional header that indicates its own supported features to
allow the server to tailor its own processing or potentially reject the
request.
>
> #6 An idempotent POST
> It would be helpful to have a way to idempotently POST new state. My
preference would be for the client to be able to supply a unique identifier
as part of its request that can be used by the server to ignore repeated
instances of the message, preferably as a uuid or guid in uri form or other
unique uris.

This would require an API change for browsers if this was exposed to webapp
designers as well.
-=R

>
> That's probably enough of a wishlist for my first post to this list.
Comments/criticism welcome.
>
> Benjamin

--0016e6dab1408585af04c56d8019
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Jul 22, 2012 1:54 AM, &quot;Benjamin Carlyle&quot; &lt;<a href=3D"mailto=
:benjamincarlyle@soundadvice.id.au">benjamincarlyle@soundadvice.id.au</a>&g=
t; wrote:<br>
&gt;<br>
&gt; This is an individual submission towards the http/2.0 protocol.<br>
&gt; My background is mostly in highly available soft real-time m2m use cas=
es for http, rather strict browser-centric or Web-centric use cases. Http/1=
.1 provides a good basis for these use cases but has a number of deficienci=
es I would hope could be corrected for the new protocol revision.<br>

&gt;<br>
&gt; #1 Message level signatures<br>
&gt; Transport level security provides privacy and non repudiation at the p=
enalty of denying intermediaries the right to inspect messages and otherwis=
e be involved in a transaction. Message level security measures could bring=
 about specific benefits for http in relation to REST and practical use cas=
es. For example:<br>

&gt; A signed representation could be returned by a cache without introduci=
ng man in the middle attacks, particularly if the intermediaries are able t=
o add their own metadata to an envelope that contains the original unmodifi=
ed and signed body and headers from the origin server.<br>

&gt; A signed request could eliminate the need for existing authentication =
mechanisms and allow a message to be authenticated without the need for add=
itional round trips between client and server.<br>
&gt; Signed messages could be inspected by firewalls to prevent requests be=
ing sent that contravene local policy.<br>
&gt; An encrypted response that can be read only by its intended recipients=
 could in theory even be returned to arbitrary clients without needing to f=
irst authenticate them.<br>
&gt; I think that signatures would significantly simplify m2m use cases. En=
cryption may also be of use, although it is less important in my particular=
 use cases.<br>
&gt; Transport level encryption can work against goal of allowing intermedi=
ates to inspect and be involved in transactions.<br>
&gt;<br>
&gt; #2 Canonical form or info set<br>
&gt; The signature and encryption issues may be the tip of a larger canonic=
alization ice berg. HTTP has traditionally allowed new headers a level of f=
reedom in defining both semantics and parsing rules. As we move forwards pe=
rhaps it is time to place some limits on this.<br>

&gt;<br>
&gt; #3 Out of order responses and heartbeat capability<br>
&gt; Modifying http to be able to make efficient use of a single TCP connec=
tion is I think a priority for many members of this list, and is something =
that SPDY has been specifically developed to address. I would like to expan=
d on this with the specific notion of heartbeats to be able to reliably ans=
wer the question: Is my connection alive or dead? If the connection is dead=
 the client will want to know as quickly as possible so that it can connect=
 to a redundant instance of the server.</p>

<p dir=3D"ltr">The PING frame in SPDY addresses this, btw. It is especially=
 important for clients behind NATS.</p>
<p dir=3D"ltr">&gt; In my use cases I often want positive confirmation that=
 my connection is still valid approximately every four seconds, plus assura=
nces from intermediates that they are also seeing heartbeats. </p>
<p dir=3D"ltr">Keep-alive pings are very to distinguish from DoS attacks. H=
aving the server interpret something once every 4 seconds is probably OK at=
 the layer above the protocol layer.</p>
<p dir=3D"ltr">&gt; For long poll use cases this can be taken care of by re=
questing a short timeout in requests and for long database transactions a s=
low response can be replaced by an asynchronous interaction, but it would b=
e helpful to have the server send regular updates on the processing status =
for a given request. A regular high priority OPTIONS * request may suffice =
to solve this problem.<br>

&gt;<br>
&gt; #4 consider replacing internet media type identification model<br>
&gt; A bit of a wishlist item, but mostly self explanatory. As far as m2m u=
se cases go a typical company might need to mint dozens or more media types=
 for internal use without coordination with the IANA, and it would be good =
to allow a url that refers to the type&#39;s specification or allow a combi=
nation of centrally registered tokens and urls as per RFC 5988&#39;s link r=
elation registry.<br>

&gt;<br>
&gt; #5 A must understand model<br>
&gt; Currently if a new feature is added to http requests that must be unde=
rstood servers the client must use a new http method to ensure that a serve=
r who does not understand will reject the request. Perhaps it is time to in=
troduce a more refined model. My thinking is a must understand header that =
consists of tokens/urls stating special requirements the server must fulfil=
 before accepting the message for processing. The client could include an a=
dditional header that indicates its own supported features to allow the ser=
ver to tailor its own processing or potentially reject the request.<br>

&gt;<br>
&gt; #6 An idempotent POST<br>
&gt; It would be helpful to have a way to idempotently POST new state. My p=
reference would be for the client to be able to supply a unique identifier =
as part of its request that can be used by the server to ignore repeated in=
stances of the message, preferably as a uuid or guid in uri form or other u=
nique uris.</p>

<p dir=3D"ltr">This would require an API change for browsers if this was ex=
posed to webapp designers as well.<br>
-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt; That&#39;s probably enough of a wishlist for my first post to this lis=
t. Comments/criticism welcome.<br>
&gt;<br>
&gt; Benjamin=A0</p>

--0016e6dab1408585af04c56d8019--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 11:39:28 2012
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 9930921F859E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 11:39:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.498
X-Spam-Level: 
X-Spam-Status: No, score=-10.498 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ilazzuj00VK6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 11:39:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 08A0E21F860D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 11:39:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1St139-0006ow-CC for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 18:38:39 +0000
Resent-Date: Sun, 22 Jul 2012 18:38:39 +0000
Resent-Message-Id: <E1St139-0006ow-CC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1St12x-0006oB-LE for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 18:38:27 +0000
Received: from mail1.sandvine.com ([64.7.137.134]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1St12w-0006yY-0r for ietf-http-wg@w3.org; Sun, 22 Jul 2012 18:38:27 +0000
Received: from blr-exch-1.sandvine.com (10.30.4.60) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server (TLS) id 14.1.339.1; Sun, 22 Jul 2012 14:37:59 -0400
Received: from BLR-EXCH-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d]) by blr-exch-1.sandvine.com ([fe80::9cf8:c4d0:d0d9:2ac1%10]) with mapi id 14.01.0289.001; Mon, 23 Jul 2012 00:06:59 +0530
From: Anil Sharma <asharma@sandvine.com>
To: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Benjamin Carlyle http 2.0 expression of interest
Thread-Index: AQHNZ+d7HNW2LQ6Wg0ClZLTlpEtjZZc1m95A
Date: Sun, 22 Jul 2012 18:36:58 +0000
Message-ID: <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
In-Reply-To: <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.30.7.1]
Content-Type: multipart/alternative; boundary="_000_06923070D47780469EBD9A1CDABAB6D6197FF29Cblrexch1sandvin_"
MIME-Version: 1.0
Received-SPF: none client-ip=64.7.137.134; envelope-from=asharma@sandvine.com; helo=mail1.sandvine.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1St12w-0006yY-0r 186cdc95f1b365b28c172da379e58bd0
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14707
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>

--_000_06923070D47780469EBD9A1CDABAB6D6197FF29Cblrexch1sandvin_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SSBkaWRu4oCZdCB1bmRlcnN0YW5kIHlvdXIgcG9pbnQgMS4gQXJlIHlvdSBzYXlpbmcgdGhhdCBu
byBvbmUgc2hvdWxkIGJlIGFsbG93ZWQgdG8gaW5zcGVjdCBtZXNzYWdlcyBpZiBzb21lb25lIHdh
bnRzIGNvbXBsZXRlIHByaXZhY3kgYW5kIGhlIGhhcyBlbmFibGVkIGVuZCB0byBlbmQgZW5jcnlw
dGlvbj8NCkkgdGhpbmsgdGhlcmUgYXJlIGNhc2VzIGluIHdoaWNoIGF1dGhvcml0aWVzIHNob3Vs
ZCBiZSBhbGxvd2VkIHRvIGluc3BlY3QgYW5kIGludGVyY2VwdCAgaWYgdGhleSBoYXZlIHN1ZmZp
Y2llbnQgcmVhc29ucyB0byBkbyBzby4NClRoZXJlIGFyZSBtZWNoYW5pc21zIHVzaW5nIHdoaWNo
IHlvdSBjb3VsZCBhbGxvdyDigJx2YWxpZOKAnSBpbnRlcm1lZGlhcmllcyB0byBpbnNwZWN0IG1l
c3NhZ2VzIGV2ZW4gaWYgZW5kIHRvIGVuZCBlbmNyeXB0aW9uIChtYXkgYmUgdXNpbmcgVExTKSBp
cyBlbmFibGVkL2FsbG93ZWQgZm9yIGEgdXNlciBiYXNlZCBvbiBoaXMgcHJlZmVyZW5jZS4NCkhv
d2V2ZXIgdGhlcmUgaGFzIHRvIGJlIHN0cm9uZyBhbmQgYXBwcm9wcmlhdGUgcmVhc29uIGZvciBw
ZWFraW5nIGludG8gc29tZW9uZeKAmXMgcHJpdmFjeeKApi4NCkFsc28gd2Ugc2hvdWxkIGJlIGFi
bGUgdG8gZG8gc2ltcGxlIGhlYWRlciBpbnNwZWN0aW9uIGZvciBiZXR0ZXIgdHJhZmZpYyBoYW5k
bGluZyB3aXRob3V0IGdvaW5nIGludG8gY29udGVudCBvZiB0aGUgbWVzc2FnZS90cmFuc2ZlcnJl
ZCBkYXRhLg0KDQpUaGVyZSBpcyBhIGRpZmZlcmVuY2UgYmV0d2VlbiBNSVRNIGF0dGFjayBhbmQg
4oCcdmFsaWTigJ0gaW50ZXJjZXB0aW9uIGFuZCBhIHByb3RvY29sIHNob3VsZCBtYWtlIGFycmFu
Z2UgZm9yIGRlY3J5cHRpb24gYnkgdGhpcmQtcGFydHkgaWYgdGhhdCB0aGlyZCBwYXJ0eSBoYXMg
cHJvcGVyIGF1dGhvcml0eSB0byBkbyBzby4NCg0KQmVzdCBSZWdhcmRzLA0KQW5pbA0KDQpGcm9t
OiBmdXp6eWJzY0BnbWFpbC5jb20gW21haWx0bzpmdXp6eWJzY0BnbWFpbC5jb21dIE9uIEJlaGFs
ZiBPZiBCZW5qYW1pbiBDYXJseWxlDQpTZW50OiBTdW5kYXksIEp1bHkgMjIsIDIwMTIgMjoyMSBQ
TQ0KVG86IGlldGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IEJlbmphbWluIENhcmx5bGUgaHR0
cCAyLjAgZXhwcmVzc2lvbiBvZiBpbnRlcmVzdA0KDQoNClRoaXMgaXMgYW4gaW5kaXZpZHVhbCBz
dWJtaXNzaW9uIHRvd2FyZHMgdGhlIGh0dHAvMi4wIHByb3RvY29sLg0KTXkgYmFja2dyb3VuZCBp
cyBtb3N0bHkgaW4gaGlnaGx5IGF2YWlsYWJsZSBzb2Z0IHJlYWwtdGltZSBtMm0gdXNlIGNhc2Vz
IGZvciBodHRwLCByYXRoZXIgc3RyaWN0IGJyb3dzZXItY2VudHJpYyBvciBXZWItY2VudHJpYyB1
c2UgY2FzZXMuIEh0dHAvMS4xIHByb3ZpZGVzIGEgZ29vZCBiYXNpcyBmb3IgdGhlc2UgdXNlIGNh
c2VzIGJ1dCBoYXMgYSBudW1iZXIgb2YgZGVmaWNpZW5jaWVzIEkgd291bGQgaG9wZSBjb3VsZCBi
ZSBjb3JyZWN0ZWQgZm9yIHRoZSBuZXcgcHJvdG9jb2wgcmV2aXNpb24uDQoNCiMxIE1lc3NhZ2Ug
bGV2ZWwgc2lnbmF0dXJlcw0KVHJhbnNwb3J0IGxldmVsIHNlY3VyaXR5IHByb3ZpZGVzIHByaXZh
Y3kgYW5kIG5vbiByZXB1ZGlhdGlvbiBhdCB0aGUgcGVuYWx0eSBvZiBkZW55aW5nIGludGVybWVk
aWFyaWVzIHRoZSByaWdodCB0byBpbnNwZWN0IG1lc3NhZ2VzIGFuZCBvdGhlcndpc2UgYmUgaW52
b2x2ZWQgaW4gYSB0cmFuc2FjdGlvbi4gTWVzc2FnZSBsZXZlbCBzZWN1cml0eSBtZWFzdXJlcyBj
b3VsZCBicmluZyBhYm91dCBzcGVjaWZpYyBiZW5lZml0cyBmb3IgaHR0cCBpbiByZWxhdGlvbiB0
byBSRVNUIGFuZCBwcmFjdGljYWwgdXNlIGNhc2VzLiBGb3IgZXhhbXBsZToNCkEgc2lnbmVkIHJl
cHJlc2VudGF0aW9uIGNvdWxkIGJlIHJldHVybmVkIGJ5IGEgY2FjaGUgd2l0aG91dCBpbnRyb2R1
Y2luZyBtYW4gaW4gdGhlIG1pZGRsZSBhdHRhY2tzLCBwYXJ0aWN1bGFybHkgaWYgdGhlIGludGVy
bWVkaWFyaWVzIGFyZSBhYmxlIHRvIGFkZCB0aGVpciBvd24gbWV0YWRhdGEgdG8gYW4gZW52ZWxv
cGUgdGhhdCBjb250YWlucyB0aGUgb3JpZ2luYWwgdW5tb2RpZmllZCBhbmQgc2lnbmVkIGJvZHkg
YW5kIGhlYWRlcnMgZnJvbSB0aGUgb3JpZ2luIHNlcnZlci4NCkEgc2lnbmVkIHJlcXVlc3QgY291
bGQgZWxpbWluYXRlIHRoZSBuZWVkIGZvciBleGlzdGluZyBhdXRoZW50aWNhdGlvbiBtZWNoYW5p
c21zIGFuZCBhbGxvdyBhIG1lc3NhZ2UgdG8gYmUgYXV0aGVudGljYXRlZCB3aXRob3V0IHRoZSBu
ZWVkIGZvciBhZGRpdGlvbmFsIHJvdW5kIHRyaXBzIGJldHdlZW4gY2xpZW50IGFuZCBzZXJ2ZXIu
DQpTaWduZWQgbWVzc2FnZXMgY291bGQgYmUgaW5zcGVjdGVkIGJ5IGZpcmV3YWxscyB0byBwcmV2
ZW50IHJlcXVlc3RzIGJlaW5nIHNlbnQgdGhhdCBjb250cmF2ZW5lIGxvY2FsIHBvbGljeS4NCkFu
IGVuY3J5cHRlZCByZXNwb25zZSB0aGF0IGNhbiBiZSByZWFkIG9ubHkgYnkgaXRzIGludGVuZGVk
IHJlY2lwaWVudHMgY291bGQgaW4gdGhlb3J5IGV2ZW4gYmUgcmV0dXJuZWQgdG8gYXJiaXRyYXJ5
IGNsaWVudHMgd2l0aG91dCBuZWVkaW5nIHRvIGZpcnN0IGF1dGhlbnRpY2F0ZSB0aGVtLg0KSSB0
aGluayB0aGF0IHNpZ25hdHVyZXMgd291bGQgc2lnbmlmaWNhbnRseSBzaW1wbGlmeSBtMm0gdXNl
IGNhc2VzLiBFbmNyeXB0aW9uIG1heSBhbHNvIGJlIG9mIHVzZSwgYWx0aG91Z2ggaXQgaXMgbGVz
cyBpbXBvcnRhbnQgaW4gbXkgcGFydGljdWxhciB1c2UgY2FzZXMuDQpUcmFuc3BvcnQgbGV2ZWwg
ZW5jcnlwdGlvbiBjYW4gd29yayBhZ2FpbnN0IGdvYWwgb2YgYWxsb3dpbmcgaW50ZXJtZWRpYXRl
cyB0byBpbnNwZWN0IGFuZCBiZSBpbnZvbHZlZCBpbiB0cmFuc2FjdGlvbnMuDQoNCiMyIENhbm9u
aWNhbCBmb3JtIG9yIGluZm8gc2V0DQpUaGUgc2lnbmF0dXJlIGFuZCBlbmNyeXB0aW9uIGlzc3Vl
cyBtYXkgYmUgdGhlIHRpcCBvZiBhIGxhcmdlciBjYW5vbmljYWxpemF0aW9uIGljZSBiZXJnLiBI
VFRQIGhhcyB0cmFkaXRpb25hbGx5IGFsbG93ZWQgbmV3IGhlYWRlcnMgYSBsZXZlbCBvZiBmcmVl
ZG9tIGluIGRlZmluaW5nIGJvdGggc2VtYW50aWNzIGFuZCBwYXJzaW5nIHJ1bGVzLiBBcyB3ZSBt
b3ZlIGZvcndhcmRzIHBlcmhhcHMgaXQgaXMgdGltZSB0byBwbGFjZSBzb21lIGxpbWl0cyBvbiB0
aGlzLg0KDQojMyBPdXQgb2Ygb3JkZXIgcmVzcG9uc2VzIGFuZCBoZWFydGJlYXQgY2FwYWJpbGl0
eQ0KTW9kaWZ5aW5nIGh0dHAgdG8gYmUgYWJsZSB0byBtYWtlIGVmZmljaWVudCB1c2Ugb2YgYSBz
aW5nbGUgVENQIGNvbm5lY3Rpb24gaXMgSSB0aGluayBhIHByaW9yaXR5IGZvciBtYW55IG1lbWJl
cnMgb2YgdGhpcyBsaXN0LCBhbmQgaXMgc29tZXRoaW5nIHRoYXQgU1BEWSBoYXMgYmVlbiBzcGVj
aWZpY2FsbHkgZGV2ZWxvcGVkIHRvIGFkZHJlc3MuIEkgd291bGQgbGlrZSB0byBleHBhbmQgb24g
dGhpcyB3aXRoIHRoZSBzcGVjaWZpYyBub3Rpb24gb2YgaGVhcnRiZWF0cyB0byBiZSBhYmxlIHRv
IHJlbGlhYmx5IGFuc3dlciB0aGUgcXVlc3Rpb246IElzIG15IGNvbm5lY3Rpb24gYWxpdmUgb3Ig
ZGVhZD8gSWYgdGhlIGNvbm5lY3Rpb24gaXMgZGVhZCB0aGUgY2xpZW50IHdpbGwgd2FudCB0byBr
bm93IGFzIHF1aWNrbHkgYXMgcG9zc2libGUgc28gdGhhdCBpdCBjYW4gY29ubmVjdCB0byBhIHJl
ZHVuZGFudCBpbnN0YW5jZSBvZiB0aGUgc2VydmVyLg0KSW4gbXkgdXNlIGNhc2VzIEkgb2Z0ZW4g
d2FudCBwb3NpdGl2ZSBjb25maXJtYXRpb24gdGhhdCBteSBjb25uZWN0aW9uIGlzIHN0aWxsIHZh
bGlkIGFwcHJveGltYXRlbHkgZXZlcnkgZm91ciBzZWNvbmRzLCBwbHVzIGFzc3VyYW5jZXMgZnJv
bSBpbnRlcm1lZGlhdGVzIHRoYXQgdGhleSBhcmUgYWxzbyBzZWVpbmcgaGVhcnRiZWF0cy4gRm9y
IGxvbmcgcG9sbCB1c2UgY2FzZXMgdGhpcyBjYW4gYmUgdGFrZW4gY2FyZSBvZiBieSByZXF1ZXN0
aW5nIGEgc2hvcnQgdGltZW91dCBpbiByZXF1ZXN0cyBhbmQgZm9yIGxvbmcgZGF0YWJhc2UgdHJh
bnNhY3Rpb25zIGEgc2xvdyByZXNwb25zZSBjYW4gYmUgcmVwbGFjZWQgYnkgYW4gYXN5bmNocm9u
b3VzIGludGVyYWN0aW9uLCBidXQgaXQgd291bGQgYmUgaGVscGZ1bCB0byBoYXZlIHRoZSBzZXJ2
ZXIgc2VuZCByZWd1bGFyIHVwZGF0ZXMgb24gdGhlIHByb2Nlc3Npbmcgc3RhdHVzIGZvciBhIGdp
dmVuIHJlcXVlc3QuIEEgcmVndWxhciBoaWdoIHByaW9yaXR5IE9QVElPTlMgKiByZXF1ZXN0IG1h
eSBzdWZmaWNlIHRvIHNvbHZlIHRoaXMgcHJvYmxlbS4NCg0KIzQgY29uc2lkZXIgcmVwbGFjaW5n
IGludGVybmV0IG1lZGlhIHR5cGUgaWRlbnRpZmljYXRpb24gbW9kZWwNCkEgYml0IG9mIGEgd2lz
aGxpc3QgaXRlbSwgYnV0IG1vc3RseSBzZWxmIGV4cGxhbmF0b3J5LiBBcyBmYXIgYXMgbTJtIHVz
ZSBjYXNlcyBnbyBhIHR5cGljYWwgY29tcGFueSBtaWdodCBuZWVkIHRvIG1pbnQgZG96ZW5zIG9y
IG1vcmUgbWVkaWEgdHlwZXMgZm9yIGludGVybmFsIHVzZSB3aXRob3V0IGNvb3JkaW5hdGlvbiB3
aXRoIHRoZSBJQU5BLCBhbmQgaXQgd291bGQgYmUgZ29vZCB0byBhbGxvdyBhIHVybCB0aGF0IHJl
ZmVycyB0byB0aGUgdHlwZSdzIHNwZWNpZmljYXRpb24gb3IgYWxsb3cgYSBjb21iaW5hdGlvbiBv
ZiBjZW50cmFsbHkgcmVnaXN0ZXJlZCB0b2tlbnMgYW5kIHVybHMgYXMgcGVyIFJGQyA1OTg4J3Mg
bGluayByZWxhdGlvbiByZWdpc3RyeS4NCg0KIzUgQSBtdXN0IHVuZGVyc3RhbmQgbW9kZWwNCkN1
cnJlbnRseSBpZiBhIG5ldyBmZWF0dXJlIGlzIGFkZGVkIHRvIGh0dHAgcmVxdWVzdHMgdGhhdCBt
dXN0IGJlIHVuZGVyc3Rvb2Qgc2VydmVycyB0aGUgY2xpZW50IG11c3QgdXNlIGEgbmV3IGh0dHAg
bWV0aG9kIHRvIGVuc3VyZSB0aGF0IGEgc2VydmVyIHdobyBkb2VzIG5vdCB1bmRlcnN0YW5kIHdp
bGwgcmVqZWN0IHRoZSByZXF1ZXN0LiBQZXJoYXBzIGl0IGlzIHRpbWUgdG8gaW50cm9kdWNlIGEg
bW9yZSByZWZpbmVkIG1vZGVsLiBNeSB0aGlua2luZyBpcyBhIG11c3QgdW5kZXJzdGFuZCBoZWFk
ZXIgdGhhdCBjb25zaXN0cyBvZiB0b2tlbnMvdXJscyBzdGF0aW5nIHNwZWNpYWwgcmVxdWlyZW1l
bnRzIHRoZSBzZXJ2ZXIgbXVzdCBmdWxmaWwgYmVmb3JlIGFjY2VwdGluZyB0aGUgbWVzc2FnZSBm
b3IgcHJvY2Vzc2luZy4gVGhlIGNsaWVudCBjb3VsZCBpbmNsdWRlIGFuIGFkZGl0aW9uYWwgaGVh
ZGVyIHRoYXQgaW5kaWNhdGVzIGl0cyBvd24gc3VwcG9ydGVkIGZlYXR1cmVzIHRvIGFsbG93IHRo
ZSBzZXJ2ZXIgdG8gdGFpbG9yIGl0cyBvd24gcHJvY2Vzc2luZyBvciBwb3RlbnRpYWxseSByZWpl
Y3QgdGhlIHJlcXVlc3QuDQoNCiM2IEFuIGlkZW1wb3RlbnQgUE9TVA0KSXQgd291bGQgYmUgaGVs
cGZ1bCB0byBoYXZlIGEgd2F5IHRvIGlkZW1wb3RlbnRseSBQT1NUIG5ldyBzdGF0ZS4gTXkgcHJl
ZmVyZW5jZSB3b3VsZCBiZSBmb3IgdGhlIGNsaWVudCB0byBiZSBhYmxlIHRvIHN1cHBseSBhIHVu
aXF1ZSBpZGVudGlmaWVyIGFzIHBhcnQgb2YgaXRzIHJlcXVlc3QgdGhhdCBjYW4gYmUgdXNlZCBi
eSB0aGUgc2VydmVyIHRvIGlnbm9yZSByZXBlYXRlZCBpbnN0YW5jZXMgb2YgdGhlIG1lc3NhZ2Us
IHByZWZlcmFibHkgYXMgYSB1dWlkIG9yIGd1aWQgaW4gdXJpIGZvcm0gb3Igb3RoZXIgdW5pcXVl
IHVyaXMuDQoNClRoYXQncyBwcm9iYWJseSBlbm91Z2ggb2YgYSB3aXNobGlzdCBmb3IgbXkgZmly
c3QgcG9zdCB0byB0aGlzIGxpc3QuIENvbW1lbnRzL2NyaXRpY2lzbSB3ZWxjb21lLg0KDQpCZW5q
YW1pbg0K

--_000_06923070D47780469EBD9A1CDABAB6D6197FF29Cblrexch1sandvin_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTIgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1m
YWNlDQoJe2ZvbnQtZmFtaWx5OkNhbGlicmk7DQoJcGFub3NlLTE6MiAxNSA1IDIgMiAyIDQgMyAy
IDQ7fQ0KQGZvbnQtZmFjZQ0KCXtmb250LWZhbWlseTpUYWhvbWE7DQoJcGFub3NlLTE6MiAxMSA2
IDQgMyA1IDQgNCAyIDQ7fQ0KLyogU3R5bGUgRGVmaW5pdGlvbnMgKi8NCnAuTXNvTm9ybWFsLCBs
aS5Nc29Ob3JtYWwsIGRpdi5Nc29Ob3JtYWwNCgl7bWFyZ2luOjBpbjsNCgltYXJnaW4tYm90dG9t
Oi4wMDAxcHQ7DQoJZm9udC1zaXplOjEyLjBwdDsNCglmb250LWZhbWlseToiVGltZXMgTmV3IFJv
bWFuIiwic2VyaWYiO30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0eWxlLXBy
aW9yaXR5Ojk5Ow0KCWNvbG9yOmJsdWU7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQph
OnZpc2l0ZWQsIHNwYW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7bXNvLXN0eWxlLXByaW9yaXR5
Ojk5Ow0KCWNvbG9yOnB1cnBsZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCnANCgl7
bXNvLXN0eWxlLXByaW9yaXR5Ojk5Ow0KCW1zby1tYXJnaW4tdG9wLWFsdDphdXRvOw0KCW1hcmdp
bi1yaWdodDowaW47DQoJbXNvLW1hcmdpbi1ib3R0b20tYWx0OmF1dG87DQoJbWFyZ2luLWxlZnQ6
MGluOw0KCWZvbnQtc2l6ZToxMi4wcHQ7DQoJZm9udC1mYW1pbHk6IlRpbWVzIE5ldyBSb21hbiIs
InNlcmlmIjt9DQpzcGFuLkVtYWlsU3R5bGUxOA0KCXttc28tc3R5bGUtdHlwZTpwZXJzb25hbC1y
ZXBseTsNCglmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2VyaWYiOw0KCWNvbG9yOiMxRjQ5
N0Q7fQ0KLk1zb0NocERlZmF1bHQNCgl7bXNvLXN0eWxlLXR5cGU6ZXhwb3J0LW9ubHk7fQ0KQHBh
Z2UgV29yZFNlY3Rpb24xDQoJe3NpemU6OC41aW4gMTEuMGluOw0KCW1hcmdpbjoxLjBpbiAxLjBp
biAxLjBpbiAxLjBpbjt9DQpkaXYuV29yZFNlY3Rpb24xDQoJe3BhZ2U6V29yZFNlY3Rpb24xO30N
Ci0tPjwvc3R5bGU+PCEtLVtpZiBndGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWRlZmF1bHRzIHY6
ZXh0PSJlZGl0IiBzcGlkbWF4PSIxMDI2IiAvPg0KPC94bWw+PCFbZW5kaWZdLS0+PCEtLVtpZiBn
dGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWxheW91dCB2OmV4dD0iZWRpdCI+DQo8bzppZG1hcCB2
OmV4dD0iZWRpdCIgZGF0YT0iMSIgLz4NCjwvbzpzaGFwZWxheW91dD48L3htbD48IVtlbmRpZl0t
LT4NCjwvaGVhZD4NCjxib2R5IGxhbmc9IkVOLVVTIiBsaW5rPSJibHVlIiB2bGluaz0icHVycGxl
Ij4NCjxkaXYgY2xhc3M9IldvcmRTZWN0aW9uMSI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3Bh
biBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7
LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+SSBkaWRu4oCZdCB1bmRlcnN0
YW5kIHlvdXIgcG9pbnQgMS4gQXJlIHlvdSBzYXlpbmcgdGhhdCBubyBvbmUgc2hvdWxkIGJlIGFs
bG93ZWQgdG8gaW5zcGVjdCBtZXNzYWdlcyBpZiBzb21lb25lIHdhbnRzIGNvbXBsZXRlIHByaXZh
Y3kgYW5kIGhlIGhhcyBlbmFibGVkIGVuZA0KIHRvIGVuZCBlbmNyeXB0aW9uPzxvOnA+PC9vOnA+
PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6
MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZx
dW90Oztjb2xvcjojMUY0OTdEIj5JIHRoaW5rIHRoZXJlIGFyZSBjYXNlcyBpbiB3aGljaCBhdXRo
b3JpdGllcyBzaG91bGQgYmUgYWxsb3dlZCB0byBpbnNwZWN0IGFuZCBpbnRlcmNlcHQgJm5ic3A7
aWYgdGhleSBoYXZlIHN1ZmZpY2llbnQgcmVhc29ucyB0byBkbyBzby4NCjxvOnA+PC9vOnA+PC9z
cGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEu
MHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90
Oztjb2xvcjojMUY0OTdEIj5UaGVyZSBhcmUgbWVjaGFuaXNtcyB1c2luZyB3aGljaCB5b3UgY291
bGQgYWxsb3cg4oCcdmFsaWTigJ0gaW50ZXJtZWRpYXJpZXMgdG8gaW5zcGVjdCBtZXNzYWdlcyBl
dmVuIGlmIGVuZCB0byBlbmQgZW5jcnlwdGlvbiAobWF5IGJlIHVzaW5nIFRMUykgaXMgZW5hYmxl
ZC9hbGxvd2VkDQogZm9yIGEgdXNlciBiYXNlZCBvbiBoaXMgcHJlZmVyZW5jZS4gPG86cD48L286
cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6
ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlm
JnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPkhvd2V2ZXIgdGhlcmUgaGFzIHRvIGJlIHN0cm9uZyBhbmQg
YXBwcm9wcmlhdGUgcmVhc29uIGZvciBwZWFraW5nIGludG8gc29tZW9uZeKAmXMgcHJpdmFjeeKA
pi48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHls
ZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90
O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+QWxzbyB3ZSBzaG91bGQgYmUgYWJsZSB0
byBkbyBzaW1wbGUgaGVhZGVyIGluc3BlY3Rpb24gZm9yIGJldHRlciB0cmFmZmljIGhhbmRsaW5n
IHdpdGhvdXQgZ29pbmcgaW50byBjb250ZW50IG9mIHRoZSBtZXNzYWdlL3RyYW5zZmVycmVkIGRh
dGEuPG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5
bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVv
dDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFu
PjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0
O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztj
b2xvcjojMUY0OTdEIj5UaGVyZSBpcyBhIGRpZmZlcmVuY2UgYmV0d2VlbiBNSVRNIGF0dGFjayBh
bmQg4oCcdmFsaWTigJ0gaW50ZXJjZXB0aW9uIGFuZCBhIHByb3RvY29sIHNob3VsZCBtYWtlIGFy
cmFuZ2UgZm9yIGRlY3J5cHRpb24gYnkgdGhpcmQtcGFydHkgaWYgdGhhdCB0aGlyZCBwYXJ0eSBo
YXMNCiBwcm9wZXIgYXV0aG9yaXR5IHRvIGRvIHNvLjxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxw
IGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFt
aWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xvcjojMUY0
OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48
c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1
b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+QmVzdCBSZWdhcmRzLDxv
OnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJm
b250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fu
cy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj5BbmlsPG86cD48L286cD48L3NwYW4+PC9wPg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1m
YW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMx
RjQ5N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxkaXYgc3R5bGU9ImJvcmRlcjpu
b25lO2JvcmRlci10b3A6c29saWQgI0I1QzRERiAxLjBwdDtwYWRkaW5nOjMuMHB0IDBpbiAwaW4g
MGluIj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTAu
MHB0O2ZvbnQtZmFtaWx5OiZxdW90O1RhaG9tYSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7
Ij5Gcm9tOjwvc3Bhbj48L2I+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1p
bHk6JnF1b3Q7VGFob21hJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDsiPiBmdXp6eWJzY0Bn
bWFpbC5jb20gW21haWx0bzpmdXp6eWJzY0BnbWFpbC5jb21dDQo8Yj5PbiBCZWhhbGYgT2YgPC9i
PkJlbmphbWluIENhcmx5bGU8YnI+DQo8Yj5TZW50OjwvYj4gU3VuZGF5LCBKdWx5IDIyLCAyMDEy
IDI6MjEgUE08YnI+DQo8Yj5Ubzo8L2I+IGlldGYtaHR0cC13Z0B3My5vcmc8YnI+DQo8Yj5TdWJq
ZWN0OjwvYj4gQmVuamFtaW4gQ2FybHlsZSBodHRwIDIuMCBleHByZXNzaW9uIG9mIGludGVyZXN0
PG86cD48L286cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpw
PiZuYnNwOzwvbzpwPjwvcD4NCjxwPlRoaXMgaXMgYW4gaW5kaXZpZHVhbCBzdWJtaXNzaW9uIHRv
d2FyZHMgdGhlIGh0dHAvMi4wIHByb3RvY29sLjxicj4NCk15IGJhY2tncm91bmQgaXMgbW9zdGx5
IGluIGhpZ2hseSBhdmFpbGFibGUgc29mdCByZWFsLXRpbWUgbTJtIHVzZSBjYXNlcyBmb3IgaHR0
cCwgcmF0aGVyIHN0cmljdCBicm93c2VyLWNlbnRyaWMgb3IgV2ViLWNlbnRyaWMgdXNlIGNhc2Vz
LiBIdHRwLzEuMSBwcm92aWRlcyBhIGdvb2QgYmFzaXMgZm9yIHRoZXNlIHVzZSBjYXNlcyBidXQg
aGFzIGEgbnVtYmVyIG9mIGRlZmljaWVuY2llcyBJIHdvdWxkIGhvcGUgY291bGQgYmUgY29ycmVj
dGVkIGZvcg0KIHRoZSBuZXcgcHJvdG9jb2wgcmV2aXNpb24uPG86cD48L286cD48L3A+DQo8cD4j
MSBNZXNzYWdlIGxldmVsIHNpZ25hdHVyZXM8YnI+DQpUcmFuc3BvcnQgbGV2ZWwgc2VjdXJpdHkg
cHJvdmlkZXMgcHJpdmFjeSBhbmQgbm9uIHJlcHVkaWF0aW9uIGF0IHRoZSBwZW5hbHR5IG9mIGRl
bnlpbmcgaW50ZXJtZWRpYXJpZXMgdGhlIHJpZ2h0IHRvIGluc3BlY3QgbWVzc2FnZXMgYW5kIG90
aGVyd2lzZSBiZSBpbnZvbHZlZCBpbiBhIHRyYW5zYWN0aW9uLiBNZXNzYWdlIGxldmVsIHNlY3Vy
aXR5IG1lYXN1cmVzIGNvdWxkIGJyaW5nIGFib3V0IHNwZWNpZmljIGJlbmVmaXRzIGZvciBodHRw
IGluDQogcmVsYXRpb24gdG8gUkVTVCBhbmQgcHJhY3RpY2FsIHVzZSBjYXNlcy4gRm9yIGV4YW1w
bGU6PGJyPg0KQSBzaWduZWQgcmVwcmVzZW50YXRpb24gY291bGQgYmUgcmV0dXJuZWQgYnkgYSBj
YWNoZSB3aXRob3V0IGludHJvZHVjaW5nIG1hbiBpbiB0aGUgbWlkZGxlIGF0dGFja3MsIHBhcnRp
Y3VsYXJseSBpZiB0aGUgaW50ZXJtZWRpYXJpZXMgYXJlIGFibGUgdG8gYWRkIHRoZWlyIG93biBt
ZXRhZGF0YSB0byBhbiBlbnZlbG9wZSB0aGF0IGNvbnRhaW5zIHRoZSBvcmlnaW5hbCB1bm1vZGlm
aWVkIGFuZCBzaWduZWQgYm9keSBhbmQgaGVhZGVycyBmcm9tIHRoZQ0KIG9yaWdpbiBzZXJ2ZXIu
PGJyPg0KQSBzaWduZWQgcmVxdWVzdCBjb3VsZCBlbGltaW5hdGUgdGhlIG5lZWQgZm9yIGV4aXN0
aW5nIGF1dGhlbnRpY2F0aW9uIG1lY2hhbmlzbXMgYW5kIGFsbG93IGEgbWVzc2FnZSB0byBiZSBh
dXRoZW50aWNhdGVkIHdpdGhvdXQgdGhlIG5lZWQgZm9yIGFkZGl0aW9uYWwgcm91bmQgdHJpcHMg
YmV0d2VlbiBjbGllbnQgYW5kIHNlcnZlci48YnI+DQpTaWduZWQgbWVzc2FnZXMgY291bGQgYmUg
aW5zcGVjdGVkIGJ5IGZpcmV3YWxscyB0byBwcmV2ZW50IHJlcXVlc3RzIGJlaW5nIHNlbnQgdGhh
dCBjb250cmF2ZW5lIGxvY2FsIHBvbGljeS48YnI+DQpBbiBlbmNyeXB0ZWQgcmVzcG9uc2UgdGhh
dCBjYW4gYmUgcmVhZCBvbmx5IGJ5IGl0cyBpbnRlbmRlZCByZWNpcGllbnRzIGNvdWxkIGluIHRo
ZW9yeSBldmVuIGJlIHJldHVybmVkIHRvIGFyYml0cmFyeSBjbGllbnRzIHdpdGhvdXQgbmVlZGlu
ZyB0byBmaXJzdCBhdXRoZW50aWNhdGUgdGhlbS48YnI+DQpJIHRoaW5rIHRoYXQgc2lnbmF0dXJl
cyB3b3VsZCBzaWduaWZpY2FudGx5IHNpbXBsaWZ5IG0ybSB1c2UgY2FzZXMuIEVuY3J5cHRpb24g
bWF5IGFsc28gYmUgb2YgdXNlLCBhbHRob3VnaCBpdCBpcyBsZXNzIGltcG9ydGFudCBpbiBteSBw
YXJ0aWN1bGFyIHVzZSBjYXNlcy48YnI+DQpUcmFuc3BvcnQgbGV2ZWwgZW5jcnlwdGlvbiBjYW4g
d29yayBhZ2FpbnN0IGdvYWwgb2YgYWxsb3dpbmcgaW50ZXJtZWRpYXRlcyB0byBpbnNwZWN0IGFu
ZCBiZSBpbnZvbHZlZCBpbiB0cmFuc2FjdGlvbnMuPG86cD48L286cD48L3A+DQo8cD4jMiBDYW5v
bmljYWwgZm9ybSBvciBpbmZvIHNldDxicj4NClRoZSBzaWduYXR1cmUgYW5kIGVuY3J5cHRpb24g
aXNzdWVzIG1heSBiZSB0aGUgdGlwIG9mIGEgbGFyZ2VyIGNhbm9uaWNhbGl6YXRpb24gaWNlIGJl
cmcuIEhUVFAgaGFzIHRyYWRpdGlvbmFsbHkgYWxsb3dlZCBuZXcgaGVhZGVycyBhIGxldmVsIG9m
IGZyZWVkb20gaW4gZGVmaW5pbmcgYm90aCBzZW1hbnRpY3MgYW5kIHBhcnNpbmcgcnVsZXMuIEFz
IHdlIG1vdmUgZm9yd2FyZHMgcGVyaGFwcyBpdCBpcyB0aW1lIHRvIHBsYWNlIHNvbWUgbGltaXRz
DQogb24gdGhpcy48bzpwPjwvbzpwPjwvcD4NCjxwPiMzIE91dCBvZiBvcmRlciByZXNwb25zZXMg
YW5kIGhlYXJ0YmVhdCBjYXBhYmlsaXR5PGJyPg0KTW9kaWZ5aW5nIGh0dHAgdG8gYmUgYWJsZSB0
byBtYWtlIGVmZmljaWVudCB1c2Ugb2YgYSBzaW5nbGUgVENQIGNvbm5lY3Rpb24gaXMgSSB0aGlu
ayBhIHByaW9yaXR5IGZvciBtYW55IG1lbWJlcnMgb2YgdGhpcyBsaXN0LCBhbmQgaXMgc29tZXRo
aW5nIHRoYXQgU1BEWSBoYXMgYmVlbiBzcGVjaWZpY2FsbHkgZGV2ZWxvcGVkIHRvIGFkZHJlc3Mu
IEkgd291bGQgbGlrZSB0byBleHBhbmQgb24gdGhpcyB3aXRoIHRoZSBzcGVjaWZpYyBub3Rpb24g
b2YNCiBoZWFydGJlYXRzIHRvIGJlIGFibGUgdG8gcmVsaWFibHkgYW5zd2VyIHRoZSBxdWVzdGlv
bjogSXMgbXkgY29ubmVjdGlvbiBhbGl2ZSBvciBkZWFkPyBJZiB0aGUgY29ubmVjdGlvbiBpcyBk
ZWFkIHRoZSBjbGllbnQgd2lsbCB3YW50IHRvIGtub3cgYXMgcXVpY2tseSBhcyBwb3NzaWJsZSBz
byB0aGF0IGl0IGNhbiBjb25uZWN0IHRvIGEgcmVkdW5kYW50IGluc3RhbmNlIG9mIHRoZSBzZXJ2
ZXIuPGJyPg0KSW4gbXkgdXNlIGNhc2VzIEkgb2Z0ZW4gd2FudCBwb3NpdGl2ZSBjb25maXJtYXRp
b24gdGhhdCBteSBjb25uZWN0aW9uIGlzIHN0aWxsIHZhbGlkIGFwcHJveGltYXRlbHkgZXZlcnkg
Zm91ciBzZWNvbmRzLCBwbHVzIGFzc3VyYW5jZXMgZnJvbSBpbnRlcm1lZGlhdGVzIHRoYXQgdGhl
eSBhcmUgYWxzbyBzZWVpbmcgaGVhcnRiZWF0cy4gRm9yIGxvbmcgcG9sbCB1c2UgY2FzZXMgdGhp
cyBjYW4gYmUgdGFrZW4gY2FyZSBvZiBieSByZXF1ZXN0aW5nIGENCiBzaG9ydCB0aW1lb3V0IGlu
IHJlcXVlc3RzIGFuZCBmb3IgbG9uZyBkYXRhYmFzZSB0cmFuc2FjdGlvbnMgYSBzbG93IHJlc3Bv
bnNlIGNhbiBiZSByZXBsYWNlZCBieSBhbiBhc3luY2hyb25vdXMgaW50ZXJhY3Rpb24sIGJ1dCBp
dCB3b3VsZCBiZSBoZWxwZnVsIHRvIGhhdmUgdGhlIHNlcnZlciBzZW5kIHJlZ3VsYXIgdXBkYXRl
cyBvbiB0aGUgcHJvY2Vzc2luZyBzdGF0dXMgZm9yIGEgZ2l2ZW4gcmVxdWVzdC4gQSByZWd1bGFy
IGhpZ2ggcHJpb3JpdHkNCiBPUFRJT05TICogcmVxdWVzdCBtYXkgc3VmZmljZSB0byBzb2x2ZSB0
aGlzIHByb2JsZW0uPG86cD48L286cD48L3A+DQo8cD4jNCBjb25zaWRlciByZXBsYWNpbmcgaW50
ZXJuZXQgbWVkaWEgdHlwZSBpZGVudGlmaWNhdGlvbiBtb2RlbDxicj4NCkEgYml0IG9mIGEgd2lz
aGxpc3QgaXRlbSwgYnV0IG1vc3RseSBzZWxmIGV4cGxhbmF0b3J5LiBBcyBmYXIgYXMgbTJtIHVz
ZSBjYXNlcyBnbyBhIHR5cGljYWwgY29tcGFueSBtaWdodCBuZWVkIHRvIG1pbnQgZG96ZW5zIG9y
IG1vcmUgbWVkaWEgdHlwZXMgZm9yIGludGVybmFsIHVzZSB3aXRob3V0IGNvb3JkaW5hdGlvbiB3
aXRoIHRoZSBJQU5BLCBhbmQgaXQgd291bGQgYmUgZ29vZCB0byBhbGxvdyBhIHVybCB0aGF0IHJl
ZmVycyB0byB0aGUgdHlwZSdzDQogc3BlY2lmaWNhdGlvbiBvciBhbGxvdyBhIGNvbWJpbmF0aW9u
IG9mIGNlbnRyYWxseSByZWdpc3RlcmVkIHRva2VucyBhbmQgdXJscyBhcyBwZXIgUkZDIDU5ODgn
cyBsaW5rIHJlbGF0aW9uIHJlZ2lzdHJ5LjxvOnA+PC9vOnA+PC9wPg0KPHA+IzUgQSBtdXN0IHVu
ZGVyc3RhbmQgbW9kZWw8YnI+DQpDdXJyZW50bHkgaWYgYSBuZXcgZmVhdHVyZSBpcyBhZGRlZCB0
byBodHRwIHJlcXVlc3RzIHRoYXQgbXVzdCBiZSB1bmRlcnN0b29kIHNlcnZlcnMgdGhlIGNsaWVu
dCBtdXN0IHVzZSBhIG5ldyBodHRwIG1ldGhvZCB0byBlbnN1cmUgdGhhdCBhIHNlcnZlciB3aG8g
ZG9lcyBub3QgdW5kZXJzdGFuZCB3aWxsIHJlamVjdCB0aGUgcmVxdWVzdC4gUGVyaGFwcyBpdCBp
cyB0aW1lIHRvIGludHJvZHVjZSBhIG1vcmUgcmVmaW5lZCBtb2RlbC4gTXkgdGhpbmtpbmcNCiBp
cyBhIG11c3QgdW5kZXJzdGFuZCBoZWFkZXIgdGhhdCBjb25zaXN0cyBvZiB0b2tlbnMvdXJscyBz
dGF0aW5nIHNwZWNpYWwgcmVxdWlyZW1lbnRzIHRoZSBzZXJ2ZXIgbXVzdCBmdWxmaWwgYmVmb3Jl
IGFjY2VwdGluZyB0aGUgbWVzc2FnZSBmb3IgcHJvY2Vzc2luZy4gVGhlIGNsaWVudCBjb3VsZCBp
bmNsdWRlIGFuIGFkZGl0aW9uYWwgaGVhZGVyIHRoYXQgaW5kaWNhdGVzIGl0cyBvd24gc3VwcG9y
dGVkIGZlYXR1cmVzIHRvIGFsbG93IHRoZSBzZXJ2ZXINCiB0byB0YWlsb3IgaXRzIG93biBwcm9j
ZXNzaW5nIG9yIHBvdGVudGlhbGx5IHJlamVjdCB0aGUgcmVxdWVzdC48bzpwPjwvbzpwPjwvcD4N
CjxwPiM2IEFuIGlkZW1wb3RlbnQgUE9TVDxicj4NCkl0IHdvdWxkIGJlIGhlbHBmdWwgdG8gaGF2
ZSBhIHdheSB0byBpZGVtcG90ZW50bHkgUE9TVCBuZXcgc3RhdGUuIE15IHByZWZlcmVuY2Ugd291
bGQgYmUgZm9yIHRoZSBjbGllbnQgdG8gYmUgYWJsZSB0byBzdXBwbHkgYSB1bmlxdWUgaWRlbnRp
ZmllciBhcyBwYXJ0IG9mIGl0cyByZXF1ZXN0IHRoYXQgY2FuIGJlIHVzZWQgYnkgdGhlIHNlcnZl
ciB0byBpZ25vcmUgcmVwZWF0ZWQgaW5zdGFuY2VzIG9mIHRoZSBtZXNzYWdlLCBwcmVmZXJhYmx5
IGFzDQogYSB1dWlkIG9yIGd1aWQgaW4gdXJpIGZvcm0gb3Igb3RoZXIgdW5pcXVlIHVyaXMuPG86
cD48L286cD48L3A+DQo8cD5UaGF0J3MgcHJvYmFibHkgZW5vdWdoIG9mIGEgd2lzaGxpc3QgZm9y
IG15IGZpcnN0IHBvc3QgdG8gdGhpcyBsaXN0LiBDb21tZW50cy9jcml0aWNpc20gd2VsY29tZS48
bzpwPjwvbzpwPjwvcD4NCjxwPkJlbmphbWluJm5ic3A7IDxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+
DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_06923070D47780469EBD9A1CDABAB6D6197FF29Cblrexch1sandvin_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 12:28:02 2012
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 BB2E621F8681 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 12:28:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.108
X-Spam-Level: 
X-Spam-Status: No, score=-10.108 tagged_above=-999 required=5 tests=[AWL=0.490, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 Ims5o9Ybjk5Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 12:28:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 215C321F867D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 12:28:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1St1oP-00015Z-JK for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 19:27:29 +0000
Resent-Date: Sun, 22 Jul 2012 19:27:29 +0000
Resent-Message-Id: <E1St1oP-00015Z-JK@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1St1oD-00014j-En for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 19:27:17 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1St1o9-0003m2-00 for ietf-http-wg@w3.org; Sun, 22 Jul 2012 19:27:17 +0000
Received: by vbbfq11 with SMTP id fq11so4592812vbb.2 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 12:26:47 -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=rGVQBdhoomuOa9t8NPTS+ljAPK5mhUf1/QsHIiltv70=; b=WXLWaZac6flIdotFyx0RDd0xLVAcRVAlSww2XM/z0148piMaIn7sQiHpgX625VPawV CZW/0eNiDuoxs4IZV27sK/67TfVOyTH+d+DMSeX5Q+Ee4g+6UMBTQMKrfGNCPngh++/0 Y+d8GcgJE3sMU0j10jhcmCBny9THsPa4XQ7m4yKLPx11Ht1yocOeqy4jfE6kWP78UgNr IuhKYjl/IGYAJdp0oZHH/R260sAe20eznYAs5/m1NAozlGNnKpnB3FxT+5i6PnQ+cFXq 5M1av9yV3F4igE+0NAp82Cg3cDp+JV/Y29IlK4JIQXQhzRMBAafUokTHXmIy1XqbyM4P kz4A==
MIME-Version: 1.0
Received: by 10.220.248.82 with SMTP id mf18mr10226428vcb.20.1342985206871; Sun, 22 Jul 2012 12:26:46 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Sun, 22 Jul 2012 12:26:46 -0700 (PDT)
In-Reply-To: <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
Date: Sun, 22 Jul 2012 12:26:46 -0700
Message-ID: <CAAPAK-5DoMT0KwqkSnGWvyYpbcCHs6mTrafOS=xYDrVC+MswEg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Anil Sharma <asharma@sandvine.com>
Cc: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec54ee3c631b7c204c5701cb4
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1St1o9-0003m2-00 9b5982c66cd4082e3cd11cb8cf46a759
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAAPAK-5DoMT0KwqkSnGWvyYpbcCHs6mTrafOS=xYDrVC+MswEg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14708
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>

--bcaec54ee3c631b7c204c5701cb4
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I searched for any drafts that explain message "header inspection" with
private content, and I only found proposals for metadata. HTTP 1.1 already
included definitions for metadata, yet I didn't find any restrictions on
when that metadata should only appear in the content. Before XHTML content,
all that metadata was found in the headers.

On Sunday, July 22, 2012, Anil Sharma wrote:

>  I didn=92t understand your point 1. Are you saying that no one should be
> allowed to inspect messages if someone wants complete privacy and he has
> enabled end to end encryption?****
>
> I think there are cases in which authorities should be allowed to inspect
> and intercept  if they have sufficient reasons to do so. ****
>
> There are mechanisms using which you could allow =93valid=94 intermediari=
es to
> inspect messages even if end to end encryption (may be using TLS) is
> enabled/allowed for a user based on his preference. ****
>
> However there has to be strong and appropriate reason for peaking into
> someone=92s privacy=85.****
>
> Also we should be able to do simple header inspection for better traffic
> handling without going into content of the message/transferred data.****
>
> ** **
>
> There is a difference between MITM attack and =93valid=94 interception an=
d a
> protocol should make arrange for decryption by third-party if that third
> party has proper authority to do so.****
>
> ** **
>
> Best Regards,****
>
> Anil****
>
> ** **
>
> *From:* fuzzybsc@gmail.com <javascript:_e({}, 'cvml',
> 'fuzzybsc@gmail.com');> [mailto:fuzzybsc@gmail.com <javascript:_e({},
> 'cvml', 'fuzzybsc@gmail.com');>] *On Behalf Of *Benjamin Carlyle
> *Sent:* Sunday, July 22, 2012 2:21 PM
> *To:* ietf-http-wg@w3.org <javascript:_e({}, 'cvml',
> 'ietf-http-wg@w3.org');>
> *Subject:* Benjamin Carlyle http 2.0 expression of interest****
>
> ** **
>
> This is an individual submission towards the http/2.0 protocol.
> My background is mostly in highly available soft real-time m2m use cases
> for http, rather strict browser-centric or Web-centric use cases. Http/1.=
1
> provides a good basis for these use cases but has a number of deficiencie=
s
> I would hope could be corrected for the new protocol revision.****
>
> #1 Message level signatures
> Transport level security provides privacy and non repudiation at the
> penalty of denying intermediaries the right to inspect messages and
> otherwise be involved in a transaction. Message level security measures
> could bring about specific benefits for http in relation to REST and
> practical use cases. For example:
> A signed representation could be returned by a cache without introducing
> man in the middle attacks, particularly if the intermediaries are able to
> add their own metadata to an envelope that contains the original unmodifi=
ed
> and signed body and headers from the origin server.
> A signed request could eliminate the need for existing authentication
> mechanisms and allow a message to be authenticated without the need for
> additional round trips between client and server.
> Signed messages could be inspected by firewalls to prevent requests being
> sent that contravene local policy.
> An encrypted response that can be read only by its intended recipients
> could in theory even be returned to arbitrary clients without needing to
> first authenticate them.
> I think that signatures would significantly simplify m2m use cases.
> Encryption may also be of use, although it is less important in my
> particular use cases.
> Transport level encryption can work against goal of allowing intermediate=
s
> to inspect and be involved in transactions.****
>
> #2 Canonical form or info set
> The signature and encryption issues may be the tip of a larger
> canonicalization ice berg. HTTP has traditionally allowed new headers a
> level of freedom in defining both semantics and parsing rules. As we move
> forwards perhaps it is time to place some limits on this.****
>
> #3 Out of order responses and heartbeat capability
> Modifying http to be able to make efficient use of a single TCP connectio=
n
> is I think a priority for many members of this list, and is something tha=
t
> SPDY has been specifically developed to address. I would like to expand o=
n
> this with the specific notion of heartbeats to be able to reliably answer
> the question: Is my connection alive or dead? If the connection is dead t=
he
> client will want to know as quickly as possible so that it can connect to=
 a
> redundant instance of the server.
> In my use cases I often want positive confirmation that my connection is
> still valid approximately every four seconds, plus assurances from
> intermediates that they are also seeing heartbeats. For long poll use cas=
es
> this can be taken care of by requesting a short timeout in requests and f=
or
> long database transactions a slow response can be replaced by an
> asynchronous interaction, but it would be helpful to have the server send
> regular updates on the processing status for a given request. A regular
> high priority OPTIONS * request may suffice to solve this problem.****
>
> #4 consider replacing internet media type identification model
> A bit of a wishlist item, but mostly self explanatory. As far as m2m use
> cases go a typical company might need to mint dozens or more media types
> for internal use without coordination with the IANA, and it would be good
> to allow a url that refers to the type's specification or allow a
> combination of centrally registered tokens and urls as per RFC 5988's lin=
k
> relation registry.****
>
> #5 A must understand model
> Currently if a new feature is added to http requests that must be
> understood servers the client must use a new http method to ensure that a
> server who does not understand will reject the request. Perhaps it is tim=
e
> to introduce a more refined model. My thinking is a must understand heade=
r
> that consists of tokens/urls stating special requirements the server must
> fulfil before accepting the message for processing. The client could
> include an additional header that indicates its own supported features to
> allow the server to tailor its own processing or potentially reject the
> request.****
>
> #6 An idempotent POST
> It would be helpful to have a way to idempotently POST new state. My
> preference would be for the client to be able to supply a unique identifi=
er
> as part of its request that can be used by the server to ignore repeated
> instances of the message, preferably as a uuid or guid in uri form or oth=
er
> unique uris.****
>
> That's probably enough of a wishlist for my first post to this list.
> Comments/criticism welcome.****
>
> Benjamin  ****
>

--bcaec54ee3c631b7c204c5701cb4
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I searched for any drafts that explain message &quot;header inspection&quot=
; with private content, and I only found proposals for metadata. HTTP 1.1 a=
lready included definitions for metadata, yet I didn&#39;t find any restric=
tions on when that metadata should only appear in the content. Before XHTML=
 content, all that metadata was found in the headers.<div>
<div><div><br>On Sunday, July 22, 2012, Anil Sharma  wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I didn=92t understand you=
r point 1. Are you saying that no one should be allowed to inspect messages=
 if someone wants complete privacy and he has enabled end
 to end encryption?<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I think there are cases i=
n which authorities should be allowed to inspect and intercept =A0if they h=
ave sufficient reasons to do so.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">There are mechanisms usin=
g which you could allow =93valid=94 intermediaries to inspect messages even=
 if end to end encryption (may be using TLS) is enabled/allowed
 for a user based on his preference. <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">However there has to be s=
trong and appropriate reason for peaking into someone=92s privacy=85.<u></u=
><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Also we should be able to=
 do simple header inspection for better traffic handling without going into=
 content of the message/transferred data.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">There is a difference bet=
ween MITM attack and =93valid=94 interception and a protocol should make ar=
range for decryption by third-party if that third party has
 proper authority to do so.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Best Regards,<u></u><u></=
u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Anil<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href=
=3D"javascript:_e({}, &#39;cvml&#39;, &#39;fuzzybsc@gmail.com&#39;);" targe=
t=3D"_blank">fuzzybsc@gmail.com</a> [mailto:<a href=3D"javascript:_e({}, &#=
39;cvml&#39;, &#39;fuzzybsc@gmail.com&#39;);" target=3D"_blank">fuzzybsc@gm=
ail.com</a>]
<b>On Behalf Of </b>Benjamin Carlyle<br>
<b>Sent:</b> Sunday, July 22, 2012 2:21 PM<br>
<b>To:</b> <a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf-http-wg@w=
3.org&#39;);" target=3D"_blank">ietf-http-wg@w3.org</a><br>
<b>Subject:</b> Benjamin Carlyle http 2.0 expression of interest<u></u><u><=
/u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p>This is an individual submission towards the http/2.0 protocol.<br>
My background is mostly in highly available soft real-time m2m use cases fo=
r http, rather strict browser-centric or Web-centric use cases. Http/1.1 pr=
ovides a good basis for these use cases but has a number of deficiencies I =
would hope could be corrected for
 the new protocol revision.<u></u><u></u></p>
<p>#1 Message level signatures<br>
Transport level security provides privacy and non repudiation at the penalt=
y of denying intermediaries the right to inspect messages and otherwise be =
involved in a transaction. Message level security measures could bring abou=
t specific benefits for http in
 relation to REST and practical use cases. For example:<br>
A signed representation could be returned by a cache without introducing ma=
n in the middle attacks, particularly if the intermediaries are able to add=
 their own metadata to an envelope that contains the original unmodified an=
d signed body and headers from the
 origin server.<br>
A signed request could eliminate the need for existing authentication mecha=
nisms and allow a message to be authenticated without the need for addition=
al round trips between client and server.<br>
Signed messages could be inspected by firewalls to prevent requests being s=
ent that contravene local policy.<br>
An encrypted response that can be read only by its intended recipients coul=
d in theory even be returned to arbitrary clients without needing to first =
authenticate them.<br>
I think that signatures would significantly simplify m2m use cases. Encrypt=
ion may also be of use, although it is less important in my particular use =
cases.<br>
Transport level encryption can work against goal of allowing intermediates =
to inspect and be involved in transactions.<u></u><u></u></p>
<p>#2 Canonical form or info set<br>
The signature and encryption issues may be the tip of a larger canonicaliza=
tion ice berg. HTTP has traditionally allowed new headers a level of freedo=
m in defining both semantics and parsing rules. As we move forwards perhaps=
 it is time to place some limits
 on this.<u></u><u></u></p>
<p>#3 Out of order responses and heartbeat capability<br>
Modifying http to be able to make efficient use of a single TCP connection =
is I think a priority for many members of this list, and is something that =
SPDY has been specifically developed to address. I would like to expand on =
this with the specific notion of
 heartbeats to be able to reliably answer the question: Is my connection al=
ive or dead? If the connection is dead the client will want to know as quic=
kly as possible so that it can connect to a redundant instance of the serve=
r.<br>

In my use cases I often want positive confirmation that my connection is st=
ill valid approximately every four seconds, plus assurances from intermedia=
tes that they are also seeing heartbeats. For long poll use cases this can =
be taken care of by requesting a
 short timeout in requests and for long database transactions a slow respon=
se can be replaced by an asynchronous interaction, but it would be helpful =
to have the server send regular updates on the processing status for a give=
n request. A regular high priority
 OPTIONS * request may suffice to solve this problem.<u></u><u></u></p>
<p>#4 consider replacing internet media type identification model<br>
A bit of a wishlist item, but mostly self explanatory. As far as m2m use ca=
ses go a typical company might need to mint dozens or more media types for =
internal use without coordination with the IANA, and it would be good to al=
low a url that refers to the type&#39;s
 specification or allow a combination of centrally registered tokens and ur=
ls as per RFC 5988&#39;s link relation registry.<u></u><u></u></p>
<p>#5 A must understand model<br>
Currently if a new feature is added to http requests that must be understoo=
d servers the client must use a new http method to ensure that a server who=
 does not understand will reject the request. Perhaps it is time to introdu=
ce a more refined model. My thinking
 is a must understand header that consists of tokens/urls stating special r=
equirements the server must fulfil before accepting the message for process=
ing. The client could include an additional header that indicates its own s=
upported features to allow the server
 to tailor its own processing or potentially reject the request.<u></u><u><=
/u></p>
<p>#6 An idempotent POST<br>
It would be helpful to have a way to idempotently POST new state. My prefer=
ence would be for the client to be able to supply a unique identifier as pa=
rt of its request that can be used by the server to ignore repeated instanc=
es of the message, preferably as
 a uuid or guid in uri form or other unique uris.<u></u><u></u></p>
<p>That&#39;s probably enough of a wishlist for my first post to this list.=
 Comments/criticism welcome.<u></u><u></u></p>
<p>Benjamin=A0 <u></u><u></u></p>
</div>
</div>

</blockquote></div></div></div>

--bcaec54ee3c631b7c204c5701cb4--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 12:34:04 2012
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 34B0721F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 12:34:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, 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 1-e9JkhzcRLB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 12:33:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F36CB21F8665 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 12:33:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1St1uf-0004Ig-6y for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 19:33:57 +0000
Resent-Date: Sun, 22 Jul 2012 19:33:57 +0000
Resent-Message-Id: <E1St1uf-0004Ig-6y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1St1uT-0004Hr-5A for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 19:33:45 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1St1uR-00007s-Ry for ietf-http-wg@w3.org; Sun, 22 Jul 2012 19:33:45 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id E00BE157E9A; Sun, 22 Jul 2012 20:33:20 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1342985600; bh=PJ4TgAtK0EE9Xp L/6VWXWMTOFuWpilxmwsM0q3lGAqA=; b=MoBH23yKeZ9gr5LZvrcNQffe2YrgbO 35S80w7DXPSjOoYaAak1tfUY1jD4yXW/oGS4eBEIHu57KR3rp8KVyEVnJ7rF6UkI KJWTWCSinkwKsQuSv4IAUh1K2Azi9J2h/AMUFpXhRpqg28g6n2o1fGyowhbEnAoP cibarN4INApXXfWgsnmBxEeIYkkoPCB1ir8ky8Ae2npQDCowlPvy2Vxa9ZZr69KU WJl/7xFes9KJb5RAdIJx2GvqyL5qwpERuCHm6x84PdSjvk18MbvzfW3upgU90pQq FhG6bRMf3DL1JYN2iYcf2qr/pRlMcLxWp46abkRq9vn0AuNfxPs2L/rg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 9JkLotU0PCqW; Sun, 22 Jul 2012 20:33:20 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.45.58.178]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 0424E157BFE; Sun, 22 Jul 2012 20:33:17 +0100 (IST)
Message-ID: <500C557D.8010801@cs.tcd.ie>
Date: Sun, 22 Jul 2012 20:33:17 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Anil Sharma <asharma@sandvine.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
In-Reply-To: <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1St1uR-00007s-Ry ec152e5859d4df8ad45b5177bca17fca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/500C557D.8010801@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14709
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 07/22/2012 07:36 PM, Anil Sharma wrote:
> I think there are cases in which authorities should be allowed to inspect and intercept  if they have sufficient reasons to do so.

See RFC 2804, already quoted recently on this list by Ted.

If you would like to try change that feel free, but that IETF
consensus conflicts with your statement above and is not
something for this wg to try change I reckon.

S.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 15:07:46 2012
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 8F85921F85DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 15:07:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.422
X-Spam-Level: 
X-Spam-Status: No, score=-10.422 tagged_above=-999 required=5 tests=[AWL=0.177, BAYES_00=-2.599, 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 9BikW+iNH1yk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 15:07:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5046E21F85D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 15:07:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1St3hI-0007vk-Me for ietf-http-wg-dist@listhub.w3.org; Sun, 22 Jul 2012 21:28:16 +0000
Resent-Date: Sun, 22 Jul 2012 21:28:16 +0000
Resent-Message-Id: <E1St3hI-0007vk-Me@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1St3h2-0007ux-7R for ietf-http-wg@listhub.w3.org; Sun, 22 Jul 2012 21:28:00 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1St3h0-0003M6-DN for ietf-http-wg@w3.org; Sun, 22 Jul 2012 21:28:00 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 375BAE6EF2 for <ietf-http-wg@w3.org>; Mon, 23 Jul 2012 09:27:34 +1200 (NZST)
Message-ID: <500C7040.5060501@treenet.co.nz>
Date: Mon, 23 Jul 2012 09:27:28 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com>
In-Reply-To: <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1St3h0-0003M6-DN 6f5c6239f8886f59568a21183310d8ae
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/500C7040.5060501@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14710
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 23/07/2012 4:20 a.m., Roberto Peon wrote:
>
>
> On Jul 22, 2012 1:54 AM, "Benjamin Carlyle" 
> <benjamincarlyle@soundadvice.id.au 
> <mailto:benjamincarlyle@soundadvice.id.au>> wrote:
> >
> > This is an individual submission towards the http/2.0 protocol.
> > My background is mostly in highly available soft real-time m2m use 
> cases for http, rather strict browser-centric or Web-centric use 
> cases. Http/1.1 provides a good basis for these use cases but has a 
> number of deficiencies I would hope could be corrected for the new 
> protocol revision.
> >
> > #1 Message level signatures
> > Transport level security provides privacy and non repudiation at the 
> penalty of denying intermediaries the right to inspect messages and 
> otherwise be involved in a transaction. Message level security 
> measures could bring about specific benefits for http in relation to 
> REST and practical use cases. For example:
> > A signed representation could be returned by a cache without 
> introducing man in the middle attacks, particularly if the 
> intermediaries are able to add their own metadata to an envelope that 
> contains the original unmodified and signed body and headers from the 
> origin server.
> > A signed request could eliminate the need for existing 
> authentication mechanisms and allow a message to be authenticated 
> without the need for additional round trips between client and server.
> > Signed messages could be inspected by firewalls to prevent requests 
> being sent that contravene local policy.
> > An encrypted response that can be read only by its intended 
> recipients could in theory even be returned to arbitrary clients 
> without needing to first authenticate them.
> > I think that signatures would significantly simplify m2m use cases. 
> Encryption may also be of use, although it is less important in my 
> particular use cases.
> > Transport level encryption can work against goal of allowing 
> intermediates to inspect and be involved in transactions.
> >
>

See my answer to #4 below. Signing and integrity meta alterations to the 
content can be considered just another form of encoding at the protocol 
level.

Signing and integrity of the message headers is a very difficult problem 
being discussed in another thread at present.


> > #2 Canonical form or info set
> > The signature and encryption issues may be the tip of a larger 
> canonicalization ice berg. HTTP has traditionally allowed new headers 
> a level of freedom in defining both semantics and parsing rules. As we 
> move forwards perhaps it is time to place some limits on this.
> >
> > #3 Out of order responses and heartbeat capability
> > Modifying http to be able to make efficient use of a single TCP 
> connection is I think a priority for many members of this list, and is 
> something that SPDY has been specifically developed to address. I 
> would like to expand on this with the specific notion of heartbeats to 
> be able to reliably answer the question: Is my connection alive or 
> dead? If the connection is dead the client will want to know as 
> quickly as possible so that it can connect to a redundant instance of 
> the server.
>
> The PING frame in SPDY addresses this, btw. It is especially important 
> for clients behind NATS.
>
> > In my use cases I often want positive confirmation that my 
> connection is still valid approximately every four seconds, plus 
> assurances from intermediates that they are also seeing heartbeats.
>
> Keep-alive pings are very to distinguish from DoS attacks. Having the 
> server interpret something once every 4 seconds is probably OK at the 
> layer above the protocol layer.
>
> > For long poll use cases this can be taken care of by requesting a 
> short timeout in requests and for long database transactions a slow 
> response can be replaced by an asynchronous interaction, but it would 
> be helpful to have the server send regular updates on the processing 
> status for a given request. A regular high priority OPTIONS * request 
> may suffice to solve this problem.
>

I'm not sure how useful this is really. Given that multiplexing will 
"fill the pipe" a lot better than HTTP/1 ever did. Does anyone from SPDY 
have actual numbers on how frequently PING frames are really needed?


> >
> > #4 consider replacing internet media type identification model
> > A bit of a wishlist item, but mostly self explanatory. As far as m2m 
> use cases go a typical company might need to mint dozens or more media 
> types for internal use without coordination with the IANA, and it 
> would be good to allow a url that refers to the type's specification 
> or allow a combination of centrally registered tokens and urls as per 
> RFC 5988's link relation registry.
>

+1.

While playing with network-friendly header optimizations we looked at 
merging the Content-Type + Content-Encoding + Transfer-Encoding headers 
meta data into a simple unified syntax.

The result would look like: "Content-Encoding: text, html, gzip, aes"  
to describe a AES signed compressed HTML document. Each hop along the 
way could perform its own encoding/decoding to improve efficiency and 
the header received by the client would describe both the received 
entity and steps required to decode it to something usable.

Notice how integrity data (AES) is just a layer of encoding on the 
entity, irrelevant to the protocol itself and to any network software 
relaying the message. One could also add signatures on the HTML level as 
well, *inside* the gzip if the HTML was important to retain integrity 
but compression method was not. eg. "Content-Encoding: text, html, aes, 
gzip"

Or for the super paranoid: "Content-Encoding: text, xml, sha1, md5, aes, 
foo, gzip, aes, sha1, md5, xz"

> >
> > #5 A must understand model
> > Currently if a new feature is added to http requests that must be 
> understood servers the client must use a new http method to ensure 
> that a server who does not understand will reject the request. Perhaps 
> it is time to introduce a more refined model. My thinking is a must 
> understand header that consists of tokens/urls stating special 
> requirements the server must fulfil before accepting the message for 
> processing. The client could include an additional header that 
> indicates its own supported features to allow the server to tailor its 
> own processing or potentially reject the request.
>

This was tried with Expect. It broke rollout of new features in a lot of 
areas. Software lifetimes at the deeper levels of the network is 
measured in cycles of 5-10 years. They simply wont be able to keep up 
with new header/feature additions. At present they can at least 
pass-thru by default.

> >
> > #6 An idempotent POST
> > It would be helpful to have a way to idempotently POST new state. My 
> preference would be for the client to be able to supply a unique 
> identifier as part of its request that can be used by the server to 
> ignore repeated instances of the message, preferably as a uuid or guid 
> in uri form or other unique uris.
>
> This would require an API change for browsers if this was exposed to 
> webapp designers as well.
>

How does this differ from GET with query string and entity?
The base portion of the URL is the processor script/app address and the 
query portion of the URL is a UUID within that particular URI processor 
space. Together they form a GUID.

In order to be idempotent the URI alone must be able to be used by 
caches to produce a correct response without the entity being even received.

When you have a client implementation that is tied so closely together 
with the server that it can identify what UUID generation algorithm the 
server will be using AND the data points the server will use to generate 
it. You can make any request idempotent with ETag and If-* conditionals.


   POST /foo HTTP/1.1
   If-None-Match: "something"
   ETag: "something"


Amos


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 17:17:59 2012
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 7599221F85D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 17:17:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.691
X-Spam-Level: 
X-Spam-Status: No, score=-8.691 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908, 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 DuJU3cfvGYHp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 17:17:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A05BD21F8582 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 17:17:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1St6JJ-00089i-R6 for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 00:15:41 +0000
Resent-Date: Mon, 23 Jul 2012 00:15:41 +0000
Resent-Message-Id: <E1St6JJ-00089i-R6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1St6J4-00088x-JI for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 00:15:26 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1St6J3-0008RP-Ao for ietf-http-wg@w3.org; Mon, 23 Jul 2012 00:15:26 +0000
Received: from [192.168.0.100] (unknown [1.152.68.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CFCB722E1EB; Sun, 22 Jul 2012 20:15:00 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120721052354.GH26154@1wt.eu>
Date: Mon, 23 Jul 2012 10:15:03 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B671D136-6F77-43B0-9A40-9A769D688813@mnot.net>
References: <C3E83C1C-084C-4331-A9CD-1DBB9ADB42CB@mnot.net> <20120721052354.GH26154@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1St6J3-0008RP-Ao 0c3e955fdf1bbd08bc22b8542e0465a0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussing Client Sessions
Archived-At: <http://www.w3.org/mid/B671D136-6F77-43B0-9A40-9A769D688813@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14711
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 Willy,

On 21/07/2012, at 3:23 PM, Willy Tarreau wrote:

> On Sat, Jul 21, 2012 at 10:17:53AM +1000, Mark Nottingham wrote:
>> There's been a lot of discussion about client-initiated session =
identifiers
>> on list lately.
>>=20
>> This is interesting, and perhaps important work, but it's squarely =
outside of
>> our *current* scope of work.
>>=20
>> I'd encourage the folks who are interested in it to work on a =
proposal (or
>> three) in the form of Internet-Drafts; we can then spend some time =
discussing
>> them, before figuring out what to do about it. As it is, the on-list
>> discussion is getting somewhat circular.
>=20
> Mark,
>=20
> a draft is something appropriate when ideas are already in shape. =
Designing
> while writing a draft and without other participants' ideas and =
feedback is
> a very hard task (and not always efficient). Some discussions with the =
people
> on the list help figure out what ideas are wrong because the people =
with
> knowledge and experience are here.

That's great, and normally I'd be much more willing to let this =
conversation run its course.=20

However, we had more than sixty messages in a handful of days. Right =
now, the Working Group is supposed to be concentrating on selecting a =
starting point for further work, as well as discussing the =
authentication proposals, and I don't want people to be distracted / =
arguing about this going into next week's meeting.=20

I'm not saying this isn't a valuable -- and potentially promising -- =
conversation. I just want to see it pause.=20


> Granted this can look like pollution compared to the scope of =
reviewing
> draft-20 and expressing support for 2.0 drafts, but if the =
participants
> silently work in their garage on a draft, they won't work on the =
current
> scope either and they'll come up with solutions which only reflect =
their
> own use.
>=20
> Maybe instead we should be strict on selecting the subjects of e-mails =
so
> that it's easier to skip the undesired threads and limit pollution ?


It's quite likely we'll be doing that in the future, yes. Right now, =
however, it's mostly a timing issue.=20

Thanks,



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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 20:38:44 2012
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 9DF4821F8691 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 20:38:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.02
X-Spam-Level: 
X-Spam-Status: No, score=-9.02 tagged_above=-999 required=5 tests=[AWL=1.579, BAYES_00=-2.599, 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 5MefyV99KVtg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 20:38:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C89E21F8699 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 20:38:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1St9RB-0000Ut-58 for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 03:36:01 +0000
Resent-Date: Mon, 23 Jul 2012 03:36:01 +0000
Resent-Message-Id: <E1St9RB-0000Ut-58@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1St9Qz-0000Sw-HU for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 03:35:49 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1St9Qy-0007Pp-Dn for ietf-http-wg@w3.org; Mon, 23 Jul 2012 03:35:49 +0000
Received: by vbbfq11 with SMTP id fq11so4770026vbb.2 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 20:35:22 -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=skj6TL7E4hQRIsf0ALVfYooteUABQSAz/2gZl1Hq8bw=; b=OjYDAXM4DGJEek2QTd5VINGt4VcmDp9XdGxrV+TkmhMca34xEROryWpSTN5bnnZSBB rhzHRRdLrUmhJAbC3MCK6DUoMPQWrf0rzquP4tJuQcNGglq7h183LBLWB0V2e17gcNPC ssF0/NdasTQHgBACImgIF5oQEmlYGVuvhJdaW5BRzwSEnRkJcCihiAU0iL7TDErEangL FWlVYM14gJ1mKZ7l4DHRhDf2pWbWvO2DCFNJ+feVX/jr59Oq41pTta6itx+bexndqNOj +DAaMRAuCoq8Dwykdlrktx3Ci5oqxLwhnRhW8kkPpPnZSe/3W33W2z41YYLPcOCs1uFP Qk4w==
MIME-Version: 1.0
Received: by 10.220.239.209 with SMTP id kx17mr2646712vcb.41.1343014522386; Sun, 22 Jul 2012 20:35:22 -0700 (PDT)
Received: by 10.58.116.233 with HTTP; Sun, 22 Jul 2012 20:35:22 -0700 (PDT)
In-Reply-To: <B671D136-6F77-43B0-9A40-9A769D688813@mnot.net>
References: <C3E83C1C-084C-4331-A9CD-1DBB9ADB42CB@mnot.net> <20120721052354.GH26154@1wt.eu> <B671D136-6F77-43B0-9A40-9A769D688813@mnot.net>
Date: Sun, 22 Jul 2012 23:35:22 -0400
Message-ID: <CAMm+LwiQpCfZ9jXF+4ckYZ=4TD=wXzsOGTkfCtiNexhWZNnNGQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1St9Qy-0007Pp-Dn 5fc25209ca76bbd770d356b77127c7cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussing Client Sessions
Archived-At: <http://www.w3.org/mid/CAMm+LwiQpCfZ9jXF+4ckYZ=4TD=wXzsOGTkfCtiNexhWZNnNGQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14712
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 Sun, Jul 22, 2012 at 8:15 PM, Mark Nottingham <mnot@mnot.net> wrote:

I see session ids as a form of authentication actually, or rather I
think the same technology can fill both needs.

Authentication is actually 3 separate issues:

1) Account establishment (create 'alice')/Federated binding (validate
alice@example.com)
2) Initial Authentication: Is 'alice' initiating this session?
3) Re-Authentication: Is this message part of an active session?

I think that (1) is a can of worms so lets leave it to one side for the mom=
ent.

A client established unlinkable identifier is a very strong way to address =
(2).
A server pushed token (aka ticket) and shared secret is a very strong
way to address (3).

I don't think we need to discuss how to do the session id as a
separate issue, it will drop out of almost any authentication scheme.
We just need to bear in mind this particular use case when we are
designing the authentication scheme for two reasons. First it seems
like a reasonable use case, second it is a use case that people are
likely to attempt to force the systems to support even if we don't
explicitly intend it to be supported.


> HI Willy,
>
> On 21/07/2012, at 3:23 PM, Willy Tarreau wrote:
>
>> On Sat, Jul 21, 2012 at 10:17:53AM +1000, Mark Nottingham wrote:
>>> There's been a lot of discussion about client-initiated session identif=
iers
>>> on list lately.
>>>
>>> This is interesting, and perhaps important work, but it's squarely outs=
ide of
>>> our *current* scope of work.
>>>
>>> I'd encourage the folks who are interested in it to work on a proposal =
(or
>>> three) in the form of Internet-Drafts; we can then spend some time disc=
ussing
>>> them, before figuring out what to do about it. As it is, the on-list
>>> discussion is getting somewhat circular.
>>
>> Mark,
>>
>> a draft is something appropriate when ideas are already in shape. Design=
ing
>> while writing a draft and without other participants' ideas and feedback=
 is
>> a very hard task (and not always efficient). Some discussions with the p=
eople
>> on the list help figure out what ideas are wrong because the people with
>> knowledge and experience are here.
>
> That's great, and normally I'd be much more willing to let this conversat=
ion run its course.
>
> However, we had more than sixty messages in a handful of days. Right now,=
 the Working Group is supposed to be concentrating on selecting a starting =
point for further work, as well as discussing the authentication proposals,=
 and I don't want people to be distracted / arguing about this going into n=
ext week's meeting.
>
> I'm not saying this isn't a valuable -- and potentially promising -- conv=
ersation. I just want to see it pause.
>
>
>> Granted this can look like pollution compared to the scope of reviewing
>> draft-20 and expressing support for 2.0 drafts, but if the participants
>> silently work in their garage on a draft, they won't work on the current
>> scope either and they'll come up with solutions which only reflect their
>> own use.
>>
>> Maybe instead we should be strict on selecting the subjects of e-mails s=
o
>> that it's easier to skip the undesired threads and limit pollution ?
>
>
> It's quite likely we'll be doing that in the future, yes. Right now, howe=
ver, it's mostly a timing issue.
>
> Thanks,
>
>
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 22:33:53 2012
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 5D2AA21F861B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 22:33:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.524
X-Spam-Level: 
X-Spam-Status: No, score=-10.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, 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 dhZJyiTYtHNe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 22:33:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8E79E21F85ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 22:33:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StBFJ-00029h-R4 for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 05:31:53 +0000
Resent-Date: Mon, 23 Jul 2012 05:31:53 +0000
Resent-Message-Id: <E1StBFJ-00029h-R4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1StBF5-00028Z-8g for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 05:31:39 +0000
Received: from mail1.sandvine.com ([64.7.137.134]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <asharma@sandvine.com>) id 1StBEw-00037A-3r for ietf-http-wg@w3.org; Mon, 23 Jul 2012 05:31:39 +0000
Received: from blr-exch-1.sandvine.com (10.30.4.60) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 23 Jul 2012 01:30:12 -0400
Received: from BLR-EXCH-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d]) by blr-exch-1.sandvine.com ([fe80::9cf8:c4d0:d0d9:2ac1%10]) with mapi id 14.01.0289.001; Mon, 23 Jul 2012 10:59:12 +0530
From: Anil Sharma <asharma@sandvine.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Benjamin Carlyle http 2.0 expression of interest
Thread-Index: AQHNZ+d7HNW2LQ6Wg0ClZLTlpEtjZZc1m95A//+5z4CAAQAjUA==
Date: Mon, 23 Jul 2012 05:29:12 +0000
Message-ID: <06923070D47780469EBD9A1CDABAB6D6197FF341@blr-exch-1.sandvine.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com> <500C557D.8010801@cs.tcd.ie>
In-Reply-To: <500C557D.8010801@cs.tcd.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.30.4.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=64.7.137.134; envelope-from=asharma@sandvine.com; helo=mail1.sandvine.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1StBEw-00037A-3r 58ab64ca92225827155e9ac560844c44
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/06923070D47780469EBD9A1CDABAB6D6197FF341@blr-exch-1.sandvine.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14713
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>

As the internet becomes the primary mode of information exchange,  there wo=
uld be requirements to monitor this mode of communication. I would read fol=
lowing from the same RFC before taking any position on this issue =20

"On the other hand, the IETF believes that mechanisms designed to
     facilitate or enable wiretapping, or methods of using other
     facilities for such purposes, should be openly described, so as to
     ensure the maximum review of the mechanisms and ensure that they
     adhere as closely as possible to their design constraints. The IETF
     believes that the publication of such mechanisms, and the
     publication of known weaknesses in such mechanisms, is a Good
     Thing.

2. The Raven process

   The issue of the IETF doing work on legal intercept technologies came
   up as a byproduct of the extensive work that the IETF is now doing in
   the area if IP-based telephony.

   In the telephony world, there has been a tradition of cooperation
   (often mandated by law) between law enforcement agencies and
   telephone equipment operators on wiretapping, leading to companies
   that build telephone equipment adding wiretapping features to their
   telephony-related equipment, and an emerging consensus in the

   industry of how to build and manage such features. Some traditional
   telephony standards organizations have supported this by adding
   intercept features to their telephony-related standards.

   Since the future of the telephone seems to be intertwined with the
   Internet it is inevitable that the primary Internet standards
   organization would be faced with the issue sooner or later"

Also after reading this section from the same RFC, I think you would review=
 your statement again:

" Why the IETF does not take a moral position

   Much of the debate about wiretapping has centered around the question
   of whether wiretapping is morally evil, no matter who does it,
   necessary in any civilized society, or an effective tool for catching
   criminals that has been abused in the past and will be abused again.

   The IETF has decided not to take a position in this matter, since:

   - There is no clear consensus around a single position in the IETF.

   - There is no means of detecting the morality of an act "on the
     wire".  Since the IETF deals with protocol standardization, not
     protocol deployment, it is not in a position to dictate that its
     product is only used in moral or legal ways."

Best,
Anil


-----Original Message-----
From: Stephen Farrell [mailto:stephen.farrell@cs.tcd.ie]=20
Sent: Monday, July 23, 2012 1:03 AM
To: Anil Sharma
Cc: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest



On 07/22/2012 07:36 PM, Anil Sharma wrote:
> I think there are cases in which authorities should be allowed to inspect=
 and intercept  if they have sufficient reasons to do so.

See RFC 2804, already quoted recently on this list by Ted.

If you would like to try change that feel free, but that IETF
consensus conflicts with your statement above and is not
something for this wg to try change I reckon.

S.


From ietf-http-wg-request@listhub.w3.org  Sun Jul 22 22:41:25 2012
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 9C50B21F84E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 22:41:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.375
X-Spam-Level: 
X-Spam-Status: No, score=-10.375 tagged_above=-999 required=5 tests=[AWL=0.223, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 cSj-hdAscJaS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 22 Jul 2012 22:41:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C03F521F84DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 22 Jul 2012 22:41:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StBNO-0005YP-CU for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 05:40:14 +0000
Resent-Date: Mon, 23 Jul 2012 05:40:14 +0000
Resent-Message-Id: <E1StBNO-0005YP-CU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1StBNC-0004IT-5Z for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 05:40:02 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1StBNA-0003Zq-3M for ietf-http-wg@w3.org; Mon, 23 Jul 2012 05:40:02 +0000
Received: by wibhq4 with SMTP id hq4so2563304wib.8 for <ietf-http-wg@w3.org>; Sun, 22 Jul 2012 22:39:33 -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=hvyB1O18+YaB3HaysItH/x5CvZh096J5Wcx21Cukg7w=; b=1FjZ68j+YqRgy/oDHKjrSEd9YduNns1ft16zbw3xQlS/iA9HKVgQoykSzPX5EDx/3R +gMpTARydd45OTpv6/8fb8+s0XK3TgLe5rnEe5f2cSesw+C5ssCA7n9HFXp2XQUpz1tA 65PC3cmN/PTOpAQEngfKPXsVTnC8z+Kc2rmaqwMDZzmE8CJgkMtHxByK+YEg9r/o6z4K 6+crxLZtFJ65NM1u3T5fcH15IjQhDYQ9+mRwcKs3D5EvkW21knp7fysV03zqYJtgMeik upAojOPR7Ime/RLAHpzISQzHSl7Jt1icN6aq1SGSP4+34U8M9jLvHJ+zbYak/80JTBn8 e9Xg==
MIME-Version: 1.0
Received: by 10.217.6.194 with SMTP id y44mr7309516wes.27.1343021973642; Sun, 22 Jul 2012 22:39:33 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sun, 22 Jul 2012 22:39:33 -0700 (PDT)
Received: by 10.194.11.99 with HTTP; Sun, 22 Jul 2012 22:39:33 -0700 (PDT)
In-Reply-To: <500C7040.5060501@treenet.co.nz>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz>
Date: Sun, 22 Jul 2012 22:39:33 -0700
Message-ID: <CAP+FsNdSCQ_ctGdNzM7KUmmrHjz4Ky3JcUM7aYQY2R9HaZE+XA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf302acf3caa1d6a04c578ab24
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StBNA-0003Zq-3M 42f9a510eefc16196be09c20245b1de5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAP+FsNdSCQ_ctGdNzM7KUmmrHjz4Ky3JcUM7aYQY2R9HaZE+XA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14714
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>

--20cf302acf3caa1d6a04c578ab24
Content-Type: text/plain; charset=ISO-8859-1

For mobile devices it is pretty important.
-=R
On Jul 22, 2012 2:30 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:

> On 23/07/2012 4:20 a.m., Roberto Peon wrote:
>
>>
>>
>> On Jul 22, 2012 1:54 AM, "Benjamin Carlyle" <benjamincarlyle@soundadvice.
>> **id.au <benjamincarlyle@soundadvice.id.au> <mailto:benjamincarlyle@**
>> soundadvice.id.au <benjamincarlyle@soundadvice.id.au>>> wrote:
>> >
>> > This is an individual submission towards the http/2.0 protocol.
>> > My background is mostly in highly available soft real-time m2m use
>> cases for http, rather strict browser-centric or Web-centric use cases.
>> Http/1.1 provides a good basis for these use cases but has a number of
>> deficiencies I would hope could be corrected for the new protocol revision.
>> >
>> > #1 Message level signatures
>> > Transport level security provides privacy and non repudiation at the
>> penalty of denying intermediaries the right to inspect messages and
>> otherwise be involved in a transaction. Message level security measures
>> could bring about specific benefits for http in relation to REST and
>> practical use cases. For example:
>> > A signed representation could be returned by a cache without
>> introducing man in the middle attacks, particularly if the intermediaries
>> are able to add their own metadata to an envelope that contains the
>> original unmodified and signed body and headers from the origin server.
>> > A signed request could eliminate the need for existing authentication
>> mechanisms and allow a message to be authenticated without the need for
>> additional round trips between client and server.
>> > Signed messages could be inspected by firewalls to prevent requests
>> being sent that contravene local policy.
>> > An encrypted response that can be read only by its intended recipients
>> could in theory even be returned to arbitrary clients without needing to
>> first authenticate them.
>> > I think that signatures would significantly simplify m2m use cases.
>> Encryption may also be of use, although it is less important in my
>> particular use cases.
>> > Transport level encryption can work against goal of allowing
>> intermediates to inspect and be involved in transactions.
>> >
>>
>>
> See my answer to #4 below. Signing and integrity meta alterations to the
> content can be considered just another form of encoding at the protocol
> level.
>
> Signing and integrity of the message headers is a very difficult problem
> being discussed in another thread at present.
>
>
>  > #2 Canonical form or info set
>> > The signature and encryption issues may be the tip of a larger
>> canonicalization ice berg. HTTP has traditionally allowed new headers a
>> level of freedom in defining both semantics and parsing rules. As we move
>> forwards perhaps it is time to place some limits on this.
>> >
>> > #3 Out of order responses and heartbeat capability
>> > Modifying http to be able to make efficient use of a single TCP
>> connection is I think a priority for many members of this list, and is
>> something that SPDY has been specifically developed to address. I would
>> like to expand on this with the specific notion of heartbeats to be able to
>> reliably answer the question: Is my connection alive or dead? If the
>> connection is dead the client will want to know as quickly as possible so
>> that it can connect to a redundant instance of the server.
>>
>> The PING frame in SPDY addresses this, btw. It is especially important
>> for clients behind NATS.
>>
>> > In my use cases I often want positive confirmation that my connection
>> is still valid approximately every four seconds, plus assurances from
>> intermediates that they are also seeing heartbeats.
>>
>> Keep-alive pings are very to distinguish from DoS attacks. Having the
>> server interpret something once every 4 seconds is probably OK at the layer
>> above the protocol layer.
>>
>> > For long poll use cases this can be taken care of by requesting a short
>> timeout in requests and for long database transactions a slow response can
>> be replaced by an asynchronous interaction, but it would be helpful to have
>> the server send regular updates on the processing status for a given
>> request. A regular high priority OPTIONS * request may suffice to solve
>> this problem.
>>
>>
> I'm not sure how useful this is really. Given that multiplexing will "fill
> the pipe" a lot better than HTTP/1 ever did. Does anyone from SPDY have
> actual numbers on how frequently PING frames are really needed?
>
>
>  >
>> > #4 consider replacing internet media type identification model
>> > A bit of a wishlist item, but mostly self explanatory. As far as m2m
>> use cases go a typical company might need to mint dozens or more media
>> types for internal use without coordination with the IANA, and it would be
>> good to allow a url that refers to the type's specification or allow a
>> combination of centrally registered tokens and urls as per RFC 5988's link
>> relation registry.
>>
>>
> +1.
>
> While playing with network-friendly header optimizations we looked at
> merging the Content-Type + Content-Encoding + Transfer-Encoding headers
> meta data into a simple unified syntax.
>
> The result would look like: "Content-Encoding: text, html, gzip, aes"  to
> describe a AES signed compressed HTML document. Each hop along the way
> could perform its own encoding/decoding to improve efficiency and the
> header received by the client would describe both the received entity and
> steps required to decode it to something usable.
>
> Notice how integrity data (AES) is just a layer of encoding on the entity,
> irrelevant to the protocol itself and to any network software relaying the
> message. One could also add signatures on the HTML level as well, *inside*
> the gzip if the HTML was important to retain integrity but compression
> method was not. eg. "Content-Encoding: text, html, aes, gzip"
>
> Or for the super paranoid: "Content-Encoding: text, xml, sha1, md5, aes,
> foo, gzip, aes, sha1, md5, xz"
>
>  >
>> > #5 A must understand model
>> > Currently if a new feature is added to http requests that must be
>> understood servers the client must use a new http method to ensure that a
>> server who does not understand will reject the request. Perhaps it is time
>> to introduce a more refined model. My thinking is a must understand header
>> that consists of tokens/urls stating special requirements the server must
>> fulfil before accepting the message for processing. The client could
>> include an additional header that indicates its own supported features to
>> allow the server to tailor its own processing or potentially reject the
>> request.
>>
>>
> This was tried with Expect. It broke rollout of new features in a lot of
> areas. Software lifetimes at the deeper levels of the network is measured
> in cycles of 5-10 years. They simply wont be able to keep up with new
> header/feature additions. At present they can at least pass-thru by default.
>
>  >
>> > #6 An idempotent POST
>> > It would be helpful to have a way to idempotently POST new state. My
>> preference would be for the client to be able to supply a unique identifier
>> as part of its request that can be used by the server to ignore repeated
>> instances of the message, preferably as a uuid or guid in uri form or other
>> unique uris.
>>
>> This would require an API change for browsers if this was exposed to
>> webapp designers as well.
>>
>>
> How does this differ from GET with query string and entity?
> The base portion of the URL is the processor script/app address and the
> query portion of the URL is a UUID within that particular URI processor
> space. Together they form a GUID.
>
> In order to be idempotent the URI alone must be able to be used by caches
> to produce a correct response without the entity being even received.
>
> When you have a client implementation that is tied so closely together
> with the server that it can identify what UUID generation algorithm the
> server will be using AND the data points the server will use to generate
> it. You can make any request idempotent with ETag and If-* conditionals.
>
>
>   POST /foo HTTP/1.1
>   If-None-Match: "something"
>   ETag: "something"
>
>
> Amos
>
>

--20cf302acf3caa1d6a04c578ab24
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">For mobile devices it is pretty important.<br>
-=3DR</p>
<div class=3D"gmail_quote">On Jul 22, 2012 2:30 PM, &quot;Amos Jeffries&quo=
t; &lt;<a href=3D"mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 23/07/2012 4:20 a.m., Roberto Peon wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<br>
On Jul 22, 2012 1:54 AM, &quot;Benjamin Carlyle&quot; &lt;<a href=3D"mailto=
:benjamincarlyle@soundadvice.id.au" target=3D"_blank">benjamincarlyle@sound=
advice.<u></u>id.au</a> &lt;mailto:<a href=3D"mailto:benjamincarlyle@sounda=
dvice.id.au" target=3D"_blank">benjamincarlyle@<u></u>soundadvice.id.au</a>=
&gt;&gt; wrote:<br>

&gt;<br>
&gt; This is an individual submission towards the http/2.0 protocol.<br>
&gt; My background is mostly in highly available soft real-time m2m use cas=
es for http, rather strict browser-centric or Web-centric use cases. Http/1=
.1 provides a good basis for these use cases but has a number of deficienci=
es I would hope could be corrected for the new protocol revision.<br>

&gt;<br>
&gt; #1 Message level signatures<br>
&gt; Transport level security provides privacy and non repudiation at the p=
enalty of denying intermediaries the right to inspect messages and otherwis=
e be involved in a transaction. Message level security measures could bring=
 about specific benefits for http in relation to REST and practical use cas=
es. For example:<br>

&gt; A signed representation could be returned by a cache without introduci=
ng man in the middle attacks, particularly if the intermediaries are able t=
o add their own metadata to an envelope that contains the original unmodifi=
ed and signed body and headers from the origin server.<br>

&gt; A signed request could eliminate the need for existing authentication =
mechanisms and allow a message to be authenticated without the need for add=
itional round trips between client and server.<br>
&gt; Signed messages could be inspected by firewalls to prevent requests be=
ing sent that contravene local policy.<br>
&gt; An encrypted response that can be read only by its intended recipients=
 could in theory even be returned to arbitrary clients without needing to f=
irst authenticate them.<br>
&gt; I think that signatures would significantly simplify m2m use cases. En=
cryption may also be of use, although it is less important in my particular=
 use cases.<br>
&gt; Transport level encryption can work against goal of allowing intermedi=
ates to inspect and be involved in transactions.<br>
&gt;<br>
<br>
</blockquote>
<br>
See my answer to #4 below. Signing and integrity meta alterations to the co=
ntent can be considered just another form of encoding at the protocol level=
.<br>
<br>
Signing and integrity of the message headers is a very difficult problem be=
ing discussed in another thread at present.<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt; #2 Canonical form or info set<br>
&gt; The signature and encryption issues may be the tip of a larger canonic=
alization ice berg. HTTP has traditionally allowed new headers a level of f=
reedom in defining both semantics and parsing rules. As we move forwards pe=
rhaps it is time to place some limits on this.<br>

&gt;<br>
&gt; #3 Out of order responses and heartbeat capability<br>
&gt; Modifying http to be able to make efficient use of a single TCP connec=
tion is I think a priority for many members of this list, and is something =
that SPDY has been specifically developed to address. I would like to expan=
d on this with the specific notion of heartbeats to be able to reliably ans=
wer the question: Is my connection alive or dead? If the connection is dead=
 the client will want to know as quickly as possible so that it can connect=
 to a redundant instance of the server.<br>

<br>
The PING frame in SPDY addresses this, btw. It is especially important for =
clients behind NATS.<br>
<br>
&gt; In my use cases I often want positive confirmation that my connection =
is still valid approximately every four seconds, plus assurances from inter=
mediates that they are also seeing heartbeats.<br>
<br>
Keep-alive pings are very to distinguish from DoS attacks. Having the serve=
r interpret something once every 4 seconds is probably OK at the layer abov=
e the protocol layer.<br>
<br>
&gt; For long poll use cases this can be taken care of by requesting a shor=
t timeout in requests and for long database transactions a slow response ca=
n be replaced by an asynchronous interaction, but it would be helpful to ha=
ve the server send regular updates on the processing status for a given req=
uest. A regular high priority OPTIONS * request may suffice to solve this p=
roblem.<br>

<br>
</blockquote>
<br>
I&#39;m not sure how useful this is really. Given that multiplexing will &q=
uot;fill the pipe&quot; a lot better than HTTP/1 ever did. Does anyone from=
 SPDY have actual numbers on how frequently PING frames are really needed?<=
br>

<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt;<br>
&gt; #4 consider replacing internet media type identification model<br>
&gt; A bit of a wishlist item, but mostly self explanatory. As far as m2m u=
se cases go a typical company might need to mint dozens or more media types=
 for internal use without coordination with the IANA, and it would be good =
to allow a url that refers to the type&#39;s specification or allow a combi=
nation of centrally registered tokens and urls as per RFC 5988&#39;s link r=
elation registry.<br>

<br>
</blockquote>
<br>
+1.<br>
<br>
While playing with network-friendly header optimizations we looked at mergi=
ng the Content-Type + Content-Encoding + Transfer-Encoding headers meta dat=
a into a simple unified syntax.<br>
<br>
The result would look like: &quot;Content-Encoding: text, html, gzip, aes&q=
uot; =A0to describe a AES signed compressed HTML document. Each hop along t=
he way could perform its own encoding/decoding to improve efficiency and th=
e header received by the client would describe both the received entity and=
 steps required to decode it to something usable.<br>

<br>
Notice how integrity data (AES) is just a layer of encoding on the entity, =
irrelevant to the protocol itself and to any network software relaying the =
message. One could also add signatures on the HTML level as well, *inside* =
the gzip if the HTML was important to retain integrity but compression meth=
od was not. eg. &quot;Content-Encoding: text, html, aes, gzip&quot;<br>

<br>
Or for the super paranoid: &quot;Content-Encoding: text, xml, sha1, md5, ae=
s, foo, gzip, aes, sha1, md5, xz&quot;<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt;<br>
&gt; #5 A must understand model<br>
&gt; Currently if a new feature is added to http requests that must be unde=
rstood servers the client must use a new http method to ensure that a serve=
r who does not understand will reject the request. Perhaps it is time to in=
troduce a more refined model. My thinking is a must understand header that =
consists of tokens/urls stating special requirements the server must fulfil=
 before accepting the message for processing. The client could include an a=
dditional header that indicates its own supported features to allow the ser=
ver to tailor its own processing or potentially reject the request.<br>

<br>
</blockquote>
<br>
This was tried with Expect. It broke rollout of new features in a lot of ar=
eas. Software lifetimes at the deeper levels of the network is measured in =
cycles of 5-10 years. They simply wont be able to keep up with new header/f=
eature additions. At present they can at least pass-thru by default.<br>

<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt;<br>
&gt; #6 An idempotent POST<br>
&gt; It would be helpful to have a way to idempotently POST new state. My p=
reference would be for the client to be able to supply a unique identifier =
as part of its request that can be used by the server to ignore repeated in=
stances of the message, preferably as a uuid or guid in uri form or other u=
nique uris.<br>

<br>
This would require an API change for browsers if this was exposed to webapp=
 designers as well.<br>
<br>
</blockquote>
<br>
How does this differ from GET with query string and entity?<br>
The base portion of the URL is the processor script/app address and the que=
ry portion of the URL is a UUID within that particular URI processor space.=
 Together they form a GUID.<br>
<br>
In order to be idempotent the URI alone must be able to be used by caches t=
o produce a correct response without the entity being even received.<br>
<br>
When you have a client implementation that is tied so closely together with=
 the server that it can identify what UUID generation algorithm the server =
will be using AND the data points the server will use to generate it. You c=
an make any request idempotent with ETag and If-* conditionals.<br>

<br>
<br>
=A0 POST /foo HTTP/1.1<br>
=A0 If-None-Match: &quot;something&quot;<br>
=A0 ETag: &quot;something&quot;<br>
<br>
<br>
Amos<br>
<br>
</blockquote></div>

--20cf302acf3caa1d6a04c578ab24--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 01:28:51 2012
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 6ED5021F86C8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 01:28:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.654
X-Spam-Level: 
X-Spam-Status: No, score=-9.654 tagged_above=-999 required=5 tests=[AWL=-0.914, BAYES_20=-0.74, 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 i17iQoEJxGIo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 01:28:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 763C121F8687 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 01:28:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StDyO-00022i-2x for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 08:26:36 +0000
Resent-Date: Mon, 23 Jul 2012 08:26:36 +0000
Resent-Message-Id: <E1StDyO-00022i-2x@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1StDyC-000218-7Y for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 08:26:24 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1StDy6-0005mY-HE for ietf-http-wg@w3.org; Mon, 23 Jul 2012 08:26:21 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8508-out with ME id dkRd1j0074WQcrc03kRdZN; Mon, 23 Jul 2012 10:25:51 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 1A3792E21BD; Mon, 23 Jul 2012 10:25:37 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s5V0_9aahKea; Mon, 23 Jul 2012 10:25:24 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Mon, 23 Jul 2012 10:25:24 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Mon, 23 Jul 2012 10:25:24 +0200
Message-ID: <f4cd8bf98f94602d4146f3fd5155029d.squirrel@arekh.dyndns.org>
Date: Mon, 23 Jul 2012 10:25:24 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Anil Sharma" <asharma@sandvine.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-9.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1StDy6-0005mY-HE c8f4ba3952399e58b08aec36073258c6
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/f4cd8bf98f94602d4146f3fd5155029d.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14715
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 Anil,

> I didn’t understand your point 1. Are you saying that no one should be
> allowed to inspect messages if someone wants complete privacy and he has
> enabled end to end encryption?

I think it is quite nice someone from a web services background chose to
participate in the discussion. It's been a few years since I worked with
the EAI/ESB crowd, but to answer your questions:

1. Benjamin Carlyle is not writing about human to web site communication
but about machine to machine communication (m2m)

2. the intermediaries used in this kind of setup are not just caching
proxies (as squid) or aggregator/accelerator proxies (as haproxy) but
full-blown transformation proxies

3. machine to machine http dialog is broken in small atom-like messages

4. the transformation proxies used can perform validation (is the message
well-formed and unlikely to crash the target machine, has it been emitted
from an authorized system), re-routing (machine A thinks it is talking
with machine B but B has been retired last year, reroute to machine C
instead + load-balancing routing), transformation (the dialect used by
machine A is obsolete and won't be understood by machine B, unfortunately
A can't be upgraded for now so transform all its messages in something B
can understand)

Only the most confidential messages will pass through un-inspected in such
a setup (payload crypto), and even then their routing envelope will be
inspected and modified by the proxy to check they are authorized

Quite often (for financial exchanges for example) message signing is
desirable (even though the payload may be altered by the proxy and
resigned before leaving – the proxy still needs to make sure the original
message was legitimate)

The operations performed on message are already quite expensive, and it
can take quite a lot of them before something is displayed on the
human-facing presentation layer, so performance is paramount (to get an UI
that does not crawl and lags) and multiplying the encryption tunnels would
be prohibitive there. In fact to get a chance to work message passing must
be as optimized as possible with each step performing the minimal
necessary transform (for functional purposes) and adding as little
overhead as possible

Those systems are quite common in corporation back offices and the web
site UIs you see everyday are using scores of them without you noticing.

And yes one of the main use cases is definitely MITM transparent
interception and content alteration, as such systems often used to isolate
legacy systems from environment changes they don't understand (the legacy
system does not notice its environment has been replaced and it needs not
to be explicit because if you could change the legacy system you wouldn't
need a transformation proxy in the first place).

Other fun machine to machine http use cases (forgot to mention it before):
environment monitoring station deployed out of the grid (energy grid or
communication grid), that shuts down most of the year, wakes up at
specified intervals to collect data and send it via radio or satellite to
the mothership. Processing is limited to the energy solar cells can
collect in the meanwhile (even in the mid of winter with little sun plus
snow obstruction). Maintenance or battery change can only be done via
helicopter (when the weather permits) or after a few days of trecking
(because where there is no grid, there are no roads). So you'd better be
as parsimonious as possible with your energy uses.

For this particular use case the latency and processing induced by setting
up a crypto tunnel is a killer, payload signing (either from station to
mothership, or orders from mothership to station) is a much better fit,
and cutting down on the application layer (using common protocol and
transport middleware features, which exist already optimized due to large
use, instead of writing your own code without budget to optimise it
properly) is quite appealing.

Regards,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 04:11:00 2012
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 97DEC21F8505 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 04:11:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.399
X-Spam-Level: 
X-Spam-Status: No, score=-7.399 tagged_above=-999 required=5 tests=[AWL=3.200, BAYES_00=-2.599, 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 yrroW2N49PxD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 04:10:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A818421F842B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 04:10:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StGVO-00026F-L9 for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 11:08:50 +0000
Resent-Date: Mon, 23 Jul 2012 11:08:50 +0000
Resent-Message-Id: <E1StGVO-00026F-L9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1StGVB-00024a-DV for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 11:08:37 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1StGV5-0008VL-CN for ietf-http-wg@w3.org; Mon, 23 Jul 2012 11:08:37 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id D63A917147D; Mon, 23 Jul 2012 12:08:08 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1343041688; bh=y4eC13WdJWIe2N 1LSIGrAoPdFH/h/vjU4EGsxR2QDPo=; b=gNymyMbWXrIL9J2M9gM6L/6q8NOFCo HKdu5cclyZr6pKl5l/1odPFchuuq4pRD8fkLc4zgPyBtdgZxlRG/4MQ6Psh17/BY msuqNQiy1w6M0vmres4jc0V2i9uhmVZcW10j8IeVG2Y799zPdYce7X4zurXzId/s ErTRvvPXKaxQYG0blSjKedASDWuTVk+XQGWRtGrRYRvRHiUJsLq+Xm3qzqYQwHEv yNZJoILkDz7Un7PKzLJ/l9VSVQFzc4c6RWuIhiJuo9gtvuWKh8gZ+rM6P+UjTWoU tJZkFU4/leRugI3PZCZdjuZfSAoTumi3I+tx9RD8hWSqMkTTvjc5jPKg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id tOvBAfJXwpin; Mon, 23 Jul 2012 12:08:08 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.45.58.178]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 91561171473; Mon, 23 Jul 2012 12:08:07 +0100 (IST)
Message-ID: <500D3096.4060103@cs.tcd.ie>
Date: Mon, 23 Jul 2012 12:08:06 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <f4cd8bf98f94602d4146f3fd5155029d.squirrel@arekh.dyndns.org>
In-Reply-To: <f4cd8bf98f94602d4146f3fd5155029d.squirrel@arekh.dyndns.org>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1StGV5-0008VL-CN a5ae67f9492e5b1e2c3ff5741ca66960
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/500D3096.4060103@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14716
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 07/23/2012 09:25 AM, Nicolas Mailhot wrote:
> Other fun machine to machine http use cases (forgot to mention it before):
> environment monitoring station deployed out of the grid (energy grid or
> communication grid), that shuts down most of the year, wakes up at
> specified intervals to collect data and send it via radio or satellite to
> the mothership. Processing is limited to the energy solar cells can
> collect in the meanwhile (even in the mid of winter with little sun plus
> snow obstruction). Maintenance or battery change can only be done via
> helicopter (when the weather permits) or after a few days of trecking
> (because where there is no grid, there are no roads). So you'd better be
> as parsimonious as possible with your energy uses.

We've done those, e.g. [1,2].

> For this particular use case the latency and processing induced by setting
> up a crypto tunnel is a killer, 

Disagree. Attempting HTTP e2e would be a killer, as would
anything needing e2e TCP. Nothing to do with crypto.

We use RFC5050 for that kind of environment.

S.

[1] http://down.dsg.cs.tcd.ie/s10inf/
[2] http://down.dsg.cs.tcd.ie/s11inf/


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 04:54:27 2012
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 2BC5521F870E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 04:54:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.538
X-Spam-Level: 
X-Spam-Status: No, score=-10.538 tagged_above=-999 required=5 tests=[AWL=0.061, BAYES_00=-2.599, 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 ptocS2bVSOnM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 04:54:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5410721F8711 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 04:54:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StHBq-0005BC-2y for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 11:52:42 +0000
Resent-Date: Mon, 23 Jul 2012 11:52:42 +0000
Resent-Message-Id: <E1StHBq-0005BC-2y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1StHBe-0005AR-Qp for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 11:52:30 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1StHBa-0001oy-HL for ietf-http-wg@w3.org; Mon, 23 Jul 2012 11:52:30 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8508-out with ME id dnrz1j0024WQcrc03nrzn9; Mon, 23 Jul 2012 13:51:59 +0200
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 219DF2E117C; Mon, 23 Jul 2012 13:51:59 +0200 (CEST)
X-Virus-Scanned: amavisd-new at example.com
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6WHmmqpVM_h5; Mon, 23 Jul 2012 13:51:47 +0200 (CEST)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Mon, 23 Jul 2012 13:51:46 +0200 (CEST)
Received: from 192.196.142.21 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Mon, 23 Jul 2012 13:51:47 +0200
Message-ID: <bd45edbaa407d7488f15a6b1e1e0c842.squirrel@arekh.dyndns.org>
In-Reply-To: <500D3096.4060103@cs.tcd.ie>
References: <f4cd8bf98f94602d4146f3fd5155029d.squirrel@arekh.dyndns.org> <500D3096.4060103@cs.tcd.ie>
Date: Mon, 23 Jul 2012 13:51:47 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
User-Agent: SquirrelMail/1.4.22-9.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1StHBa-0001oy-HL 60d9488ceef09f25c01a025287aae7b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/bd45edbaa407d7488f15a6b1e1e0c842.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14717
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>

Le Lun 23 juillet 2012 13:08, Stephen Farrell a écrit :

> We've done those, e.g. [1,2].

Not exactly this is a general purpose network, I'm referencing direct
endnode to central data collecting node system.

>> For this particular use case the latency and processing induced by
>> setting
>> up a crypto tunnel is a killer,
>
> Disagree. Attempting HTTP e2e would be a killer, as would
> anything needing e2e TCP. Nothing to do with crypto.

Nope, has been done for decades (used to be un-secured ftp exchanges,
moved to http nowadays, ssl has been rejected by manufacturers so far).

In the monitoring station use case most of the money goes into the
instrument themselves and the coms stack is built using generic
off-the-shelf commodity tech (in extreme flash-flood warning systems the
stations are designed to be cheap enough it's ok if some of them get lost
due to the flood itself)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 07:18:29 2012
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 31EE011E808D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 07:18:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.841
X-Spam-Level: 
X-Spam-Status: No, score=-3.841 tagged_above=-999 required=5 tests=[AWL=2.558, BAYES_00=-2.599, FM_IS_IT_OUR_ACCOUNT=4.2, 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 sqPZk7EzEYLd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 07:18:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 503B911E8093 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 07:18: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 1StJRD-00078X-QJ for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 14:16:43 +0000
Resent-Date: Mon, 23 Jul 2012 14:16:43 +0000
Resent-Message-Id: <E1StJRD-00078X-QJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1StJR1-00077K-8v for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 14:16:31 +0000
Received: from ipxbno.tcif.telstra.com.au ([203.35.82.204]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1StJQq-0007GS-TL for ietf-http-wg@w3.org; Mon, 23 Jul 2012 14:16:31 +0000
X-IronPort-AV: E=Sophos;i="4.77,639,1336312800";  d="scan'208";a="82048906"
Received: from unknown (HELO ipccni.tcif.telstra.com.au) ([10.97.216.208]) by ipobni.tcif.telstra.com.au with ESMTP; 24 Jul 2012 00:15:50 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6780"; a="78237689"
Received: from wsmsg3704.srv.dir.telstra.com ([172.49.40.197]) by ipccni.tcif.telstra.com.au with ESMTP; 24 Jul 2012 00:15:49 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3704.srv.dir.telstra.com ([172.49.40.197]) with mapi; Tue, 24 Jul 2012 00:15:49 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: Paul Hoffman <paul.hoffman@gmail.com>, "stephen.farrell@cs.tcd.ie" <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 24 Jul 2012 00:15:47 +1000
Thread-Topic: hoba: mixing origin-bound certs and user login
Thread-Index: Ac1jlL1BKb8Em+MgRZyzdYAxgVreJAAL3AcA
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F7F016B6@WSMSG3153V.srv.dir.telstra.com>
References: <CAPik8yZG5NWLWEsbW9g+1ZjcXxGD3WRS3t-R3hrNotP9beN0GQ@mail.gmail.com>
In-Reply-To: <CAPik8yZG5NWLWEsbW9g+1ZjcXxGD3WRS3t-R3hrNotP9beN0GQ@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.82.204; envelope-from=James.H.Manger@team.telstra.com; helo=ipxbno.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=0.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FM_IS_IT_OUR_ACCOUNT=2.299, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1StJQq-0007GS-TL 319ca6968338520eb4693f88fde2efa0
X-Original-To: ietf-http-wg@w3.org
Subject: hoba: mixing origin-bound certs and user login
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F7F016B6@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14718
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>

U3RlcGhlbiAmIFBhdWwsDQoNClRoYW5rcyBmb3IgZGV2ZWxvcGluZyBIVFRQIE9yaWdpbi1Cb3Vu
ZCBBdXRoZW50aWNhdGlvbiAoSE9CQSkgW2RyYWZ0LWZhcnJlbGwtaHR0cGJpcy1ob2JhLTAxXSwg
YnV0IEkgYW0gY29uZnVzZWQgYWJvdXQgaG93IGl0IHdvcmtzLg0KDQpWZXJzaW9uIC0wMCBsZXZl
cmFnZWQgb3JpZ2luLWJvdW5kIGNlcnRpZmljYXRlcyAoT0JDKSBbaHR0cDovL3Rvb2xzLmlldGYu
b3JnL2h0bWwvZHJhZnQtYmFsZmFuei10bHMtb2JjLTAxXS4gVmVyc2lvbiAtMDEgc3RpbGwgbWVu
dGlvbnMgT0JDIChlZyAiU2lnbmluZyBVcCDigKYgVGhlIE9CQyBNVVNUIGJlIHNlbnQgYmFzZTY0
IGVuY29kZWQiKSwgYnV0IEkgZ2V0IHRoZSBpbXByZXNzaW9uIHRoaXMgaXMgYW4gSFRUUC1sYXll
ciBjZXJ0IHRoYXQgaXMgKnRvdGFsbHkgc2VwYXJhdGUqIGZyb20gYW55IFRMUy1sYXllciBPQkMu
IElzIHRoYXQgdHJ1ZT8NCg0KDQpDIDwtIFM6IFdXVy1BdXRoZW50aWNhdGU6IEhPQkEgcmVhbG09
ImFiYyIsIGNoYWxsZW5nZT0iMTIzIg0KQyAtPiBTOiBBdXRob3JpemF0aW9uOiBIT0JBIHNpZz1z
aWduKG9yaWdpbityZWFsbStjaGFsbGVuZ2UpLCBvYmM9Li4uDQoNClEuIFNob3VsZCB5b3UgYWx3
YXlzIG5lZWQgYSByb3VuZC10cmlwIHRvIGNvbGxlY3QgYSBjaGFsbGVuZ2UgZnJvbSB0aGUgc2Vy
dmVyLCBvciBjYW4gYW4gaW5pdGlhbCBIVFRQIHJlcXVlc3QgYmUgYXV0aGVudGljYXRlZCB1c2lu
ZyBIT0JBPyBQZXJoYXBzIHNpZ25pbmcgYSB0aW1lc3RhbXAgaW5zdGVhZCBvZiBhIGNoYWxsZW5n
ZS4NCg0KDQpJbnN0ZWFkIG9mIFBPU1RpbmcgYSBjZXJ0IChPQkMpIHRvIC8ud2VsbC1rbm93bi9o
b2JhL3NpZ24tdXAsIHRoZSBjbGllbnQgY291bGQganVzdCB1c2UgSE9CQS4gVGhhdCBpcywgdGhl
IGNsaWVudCBnZW5lcmF0ZXMgYSBrZXkgcGFpciAmIE9CQywgdGhlbiBpbmNsdWRlcyB0aGUgT0JD
IGluIHRoZSBBdXRob3JpemF0aW9uIGhlYWRlciB3aGVuIHJlcXVlc3RpbmcgdGhlIHNpZ24tdXAg
VVJJLg0KDQpUaGUgcmVxdWVzdCB0byAvLndlbGwta25vd24vaG9iYS9zaWduLXVwICh3aGljaCBj
YW4gcHJvYmFibHkgYmUgYSBHRVQgaW5zdGVhZCBvZiBhIFBPU1QpIG5lZWRzIHRvIGluY2x1ZGUg
dGhlIHJlYWxtLCB0aG91Z2ggdGhpcyBjb3VsZCBiZSBpbiB0aGUgSE9CQSBBdXRob3JpemF0aW9u
IGhlYWRlciBhcyB3ZWxsLg0KDQoNClRoZXJlIG1pZ2h0IG5lZWQgdG8gYmUgc29tZSBzaWduYWwg
ZnJvbSB0aGUgc2VydmVyIG9uY2UgdGhlIHNpZ24tdXAgaGFzIGNvbXBsZXRlZCBzbyB0aGUgY2xp
ZW50IGtub3dzIGl0IGNhbiBub3cgcmVwZWF0IHRoZSByZXF1ZXN0IHRoYXQgY2F1c2VkIHRoZSBX
V1ctQXV0aGVudGljYXRlIHJlc3BvbnNlIHRoYXQgdHJpZ2dlcmVkIHRoZSBzaWduLXVwLiBVc2lu
ZyBhIHN0YXR1cyBjb2RlIG1pZ2h0IHdvcmsgKGVnIDIwMSBDcmVhdGVkIGluZGljYXRpbmcgdGhl
IGNyZWF0aW9uIG9mIGFuIGFjY291bnQpLCBidXQgYSBzdGF0dXMgY29kZSBpcyBhIGJpdCBhd2t3
YXJkIHNpbmNlIHlvdSBuZWVkIHRvIGRpc3Rpbmd1aXNoIGEgc3RhdHVzIGNvZGUgYWJvdXQgdGhp
cyBwYWdlIG9mIHRoZSBzaWduLXVwIGludGVyYWN0aW9uIHZzIHRoZSBzdGF0dXMgb2YgdGhlIGVu
dGlyZSBzaWduLXVwIHByb2Nlc3MuDQpTaW1pbGFybHkgdGhlcmUgbmVlZHMgdG8gYmUgc29tZSBz
aWduYWwgdGhhdCB0aGUgc2lnbi11cCBwcm9jZXNzIGZhaWxlZC4NCg0KDQpXaHkgZG9lcyBsb2dv
dXQgcmVxdWlyZSBhIHJlcXVlc3QgdG8gLy53ZWxsLWtub3duL2hvYmEvbG9nLW91dCwgaW5zdGVh
ZCBvZiBqdXN0IG5vIGxvbmdlciBpbmNsdWRpbmcgIkF1dGhvcml6YXRpb246IEhPQkEgc2lnPS4u
LiI/IElzIGl0IGJlY2F1c2Ugb25seSAxIEhPQkEgc2lnbmF0dXJlIG1pZ2h0IGJlIHVzZWQgdG8g
YXV0aGVudGljYXRlIGluIGEgc2Vzc2lvbiwgYW5kIGEgc2Vzc2lvbiBjb29raWUgY291bGQgYmUg
dXNlZCBmcm9tIHRoZXJlPyBPciBpcyBpdCBqdXN0IGdlbmVyYWxseSB1c2VmdWwgdG8gaW5mb3Jt
IHRoZSBzZXJ2ZXI/DQoNClNlcnZlcnMgbm90IGFsbG93aW5nIFRMUyBzZXNzaW9uIHJlc3VtcHRp
b24gYWZ0ZXIgZ2V0dGluZyBhIHJlcXVlc3QgdG8gLy53ZWxsLWtub3duL2hvYmEvbG9nLW91dCBm
ZWVscyBzdHJhbmdlIChhbmQgdW5uZWNlc3NhcnkpLiBJcyB0aGUgY3VycmVudCBUTFMgc2Vzc2lv
biBhbHNvIHN1cHBvc2VkIHRvIGJlIHRlcm1pbmF0ZWQgb24gbG9nb3V0PyBDYW4ndCB5b3UgbG9n
b3V0IG9mIHlvdXIgYWNjb3VudCwgYnV0IGtlZXAgYnJvd3NpbmcgdGhlIHNpdGUgb24gdGhlIHNh
bWUgY29ubmVjdGlvbj8NCg0KDQpJcyBpdCB0aGUgaWRlYSB0aGF0IChhZnRlciBhbiBpbml0aWFs
IHNpZ24tdXApIHRoZSBIVFRQLWxheWVyIE9CQyB3b3VsZCBiZSB1c2VkIGF1dG9tYXRpY2FsbHkg
YnkgdGhlIGNsaWVudCB3aGVuZXZlciBhY2Nlc3NpbmcgdGhlIHNpdGU/IE9yIGF1dG9tYXRpY2Fs
bHksIGJ1dCBvbmx5IGFmdGVyIGdldHRpbmcgYSAiV1dXLUF1dGhlbnRpY2F0ZTogSE9CQSAuLi4i
IHJlc3BvbnNlPyBPciBpcyB0aGUgY2xpZW50IHN1cHBvc2VkIHRvIGRpc3BsYXkgYSAiTG9naW4i
IGJ1dHRvbiB3aGVuIHRoZSB1c2VyIGJyb3dzZXJzIHRvIHRoZSBzaXRlPyBPciBkb2VzIHRoZSBj
bGllbnQgcHJvbXB0IHRvIGxvZ2luIG9uIHJlY2VpdmluZyAiV1dXLUF1dGhlbnRpY2F0ZTogSE9C
QSAuLi4iPw0KDQoNCi0tDQpKYW1lcyBNYW5nZXINCg==


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 07:59:45 2012
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 2ABF511E809C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 07:59:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.399
X-Spam-Level: 
X-Spam-Status: No, score=-6.399 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_IS_IT_OUR_ACCOUNT=4.2, 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 aweC3seNG+jp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 07:59:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D68BA11E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 07:59:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StK3l-0000im-PE for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 14:56:33 +0000
Resent-Date: Mon, 23 Jul 2012 14:56:33 +0000
Resent-Message-Id: <E1StK3l-0000im-PE@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1StK2m-0008Ky-5i for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 14:55:32 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1StK2f-0000Gv-Ri for ietf-http-wg@w3.org; Mon, 23 Jul 2012 14:55:31 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 7A43017148D; Mon, 23 Jul 2012 15:55:04 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1343055303; bh=MNxtoof1RU3PLx 850PXw3r1XEONn7gxzV5DlLsULb2k=; b=GNgT3+InU2P4Z8iQVxP+gj52fMnQOX HmK5RzSRpIwNO5+6gIXzjCwruGllSxgk+lpummg1gkH6gjCE+MRCIdeTPT07S1r+ ePrwB9KRJnUiWoY6P/DgY2kWKHeYBtCJKBHm81R1LNK9YJwN9Cf34ULAIDrXef57 th3HI23M+nXcbqYdwHkifxz171APi+0uQOVWWy5OpAJQtKhSNHxHkH4N1G87sbOW SuloNk8NFtezS/NwtLTlHAik8SX/G7teUmT439Zz9xJoX4EZX56Vnv5ozig1MKLm YjM9lxRxMKMhBtdceTYhIcX282JF2IAcBzlEjs4DJtwlrllF2lAi3ZmA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id erUlfNGoNoSL; Mon, 23 Jul 2012 15:55:03 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.46.27.204]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 6B0FA17148C; Mon, 23 Jul 2012 15:55:01 +0100 (IST)
Message-ID: <500D65C5.6050809@cs.tcd.ie>
Date: Mon, 23 Jul 2012 15:55:01 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: "Manger, James H" <James.H.Manger@team.telstra.com>
CC: Paul Hoffman <paul.hoffman@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yZG5NWLWEsbW9g+1ZjcXxGD3WRS3t-R3hrNotP9beN0GQ@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E114F7F016B6@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F7F016B6@WSMSG3153V.srv.dir.telstra.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_IS_IT_OUR_ACCOUNT=2.299, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1StK2f-0000Gv-Ri 108e64132ed120a7a6a4c473bd1a5e02
X-Original-To: ietf-http-wg@w3.org
Subject: Re: hoba: mixing origin-bound certs and user login
Archived-At: <http://www.w3.org/mid/500D65C5.6050809@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14719
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 James,

On 07/23/2012 03:15 PM, Manger, James H wrote:
> Stephen & Paul,
> 
> Thanks for developing HTTP Origin-Bound Authentication (HOBA) [draft-farrell-httpbis-hoba-01], but I am confused about how it works.

Thanks for the review. We're also not yet clear how it works
is the headline answer:-)

> Version -00 leveraged origin-bound certificates (OBC) [http://tools.ietf.org/html/draft-balfanz-tls-obc-01]. Version -01 still mentions OBC (eg "Signing Up … The OBC MUST be sent base64 encoded"), but I get the impression this is an HTTP-layer cert that is *totally separate* from any TLS-layer OBC. Is that true?

Right. Paul's (good) argument for the change is that its much
better to not depend on a modified TLS stack. I'm ok either way
really, but doing this at the HTTP layer was my original plan
(e.g. on the http_auth list maybe a year ago) before TLS-OBC
was published.

I'd like if we can make sure the public credential is the same
in any case, whether the authentication is done within TLS or
in HTTP, or as is maybe more likely, above HTTP. So I reckon
I'll argue to keep the OBC structure on that basis.

> 
> C <- S: WWW-Authenticate: HOBA realm="abc", challenge="123"
> C -> S: Authorization: HOBA sig=sign(origin+realm+challenge), obc=...
> 
> Q. Should you always need a round-trip to collect a challenge from the server, or can an initial HTTP request be authenticated using HOBA? Perhaps signing a timestamp instead of a challenge.

Good question for which I don't have an authoritative answer at
the moment. I guess it depends on a) what will be signed and
b) how often we feel challenges need changing vs. how much we'd
buy into use of timestamps.

Assuming hoba isn't d-o-a, for a) I think I (at least) need
to talk some more to HTTP folks in Vancouver and then to some
security of cfrg folks before proposing details, and then we'd
want to iterate a bit on that. (If hoba is to be part of HTTP
for the next long while, I think we need to do it well.)
For b) I'm wary of timestamps since there are nodes with no
clock, but I can see how the option might be handy. OTOH,
more options is bad too, so I'm just ambivalent right now;-)

> 
> Instead of POSTing a cert (OBC) to /.well-known/hoba/sign-up, the client could just use HOBA. That is, the client generates a key pair & OBC, then includes the OBC in the Authorization header when requesting the sign-up URI.
> 
> The request to /.well-known/hoba/sign-up (which can probably be a GET instead of a POST) needs to include the realm, though this could be in the HOBA Authorization header as well.

Both seem reasonable to me.

> 
> There might need to be some signal from the server once the sign-up has completed so the client knows it can now repeat the request that caused the WWW-Authenticate response that triggered the sign-up. Using a status code might work (eg 201 Created indicating the creation of an account), but a status code is a bit awkward since you need to distinguish a status code about this page of the sign-up interaction vs the status of the entire sign-up process.
> Similarly there needs to be some signal that the sign-up process failed.

I agree that those issues need consideration. Not sure
what's right myself.

> 
> Why does logout require a request to /.well-known/hoba/log-out, instead of just no longer including "Authorization: HOBA sig=..."? Is it because only 1 HOBA signature might be used to authenticate in a session, and a session cookie could be used from there? Or is it just generally useful to inform the server?

I believe the latter. But that raises UI issues for which I'm not
sure we have good answers. ("logout" is, I'm told, something that
folks have been wanting in HTTP, but the details of why aren't very
clear to me, and it may be that the requirements for a logout
operation for a scheme like hoba differ from a password based
scheme.)

> Servers not allowing TLS session resumption after getting a request to /.well-known/hoba/log-out feels strange (and unnecessary). Is the current TLS session also supposed to be terminated on logout? Can't you logout of your account, but keep browsing the site on the same connection?

Fair enough. I'd have no problem separating those fully. (Or not,
basically, whatever the WG would want.) I guess the counter argument
might be that it'd be good to keep one TLS session per login session.

> 
> Is it the idea that (after an initial sign-up) the HTTP-layer OBC would be used automatically by the client whenever accessing the site? Or automatically, but only after getting a "WWW-Authenticate: HOBA ..." response? Or is the client supposed to display a "Login" button when the user browsers to the site? Or does the client prompt to login on receiving "WWW-Authenticate: HOBA ..."?

All good questions that make it clear where we are in the
development of this. (As does the draft itself.) If the wg
choose to adopt hoba or a hoba-like thing, we're happy to
put in the effort to start answering these questions well.

S.


> 
> --
> James Manger
> 


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 10:42:14 2012
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 9E64311E80E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 10:42:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.153
X-Spam-Level: 
X-Spam-Status: No, score=-10.153 tagged_above=-999 required=5 tests=[AWL=0.445, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 eYxcapZXpvoD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 10:42:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A1C911E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 10:42:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StMc0-0000HX-4V for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 17:40:04 +0000
Resent-Date: Mon, 23 Jul 2012 17:40:04 +0000
Resent-Message-Id: <E1StMc0-0000HX-4V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1StMbn-0007bA-AO for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 17:39:51 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1StMbm-0007mz-9s for ietf-http-wg@w3.org; Mon, 23 Jul 2012 17:39:51 +0000
Received: by vcdd16 with SMTP id d16so4904239vcd.2 for <ietf-http-wg@w3.org>; Mon, 23 Jul 2012 10:39:24 -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=dq8kdSYRWbBDrNPO7dGD5aqnkNcyDO9Kl110GKBy7jw=; b=pecAZMGIeyKHdIgvjSP2qJ/AHM76a2pQoBKnjoGc5Uwb48m3scIaCGNqo3CnxYtn2I gAraOhhSMPOwa6U6eNC5Oxc//xAWutD28LzF2XFmvPzSoa6K7TwfFC7O9RDQTQcDkg2U yHjoqRPoJsUxJLtOL107ZSCMSz0BH2a9JFqtSfI7BdhbmlH4jXbMzOR+E6swZjW20jJ+ 3GQhQ6hZnnntOEMNRBY9bG5mob4QlAm34oRk1+corzt4NtOoAgG/KAgbQxUBVxPuVQ98 eoxe3wyeFI3E7CbOazBf94oeoTcXZP0MgGHsg2plAFjG9Fb/0Vqa8YYhmUzK9uamBZkV nLFg==
MIME-Version: 1.0
Received: by 10.52.88.234 with SMTP id bj10mr11590395vdb.48.1343065164456; Mon, 23 Jul 2012 10:39:24 -0700 (PDT)
Received: by 10.52.115.104 with HTTP; Mon, 23 Jul 2012 10:39:24 -0700 (PDT)
In-Reply-To: <bd45edbaa407d7488f15a6b1e1e0c842.squirrel@arekh.dyndns.org>
References: <f4cd8bf98f94602d4146f3fd5155029d.squirrel@arekh.dyndns.org> <500D3096.4060103@cs.tcd.ie> <bd45edbaa407d7488f15a6b1e1e0c842.squirrel@arekh.dyndns.org>
Date: Mon, 23 Jul 2012 10:39:24 -0700
Message-ID: <CAAPAK-6qR-kPYbCa-VFDDMS9jg0hxNZDa8yv7nBbKyz=r-oczQ@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec501672709a42e04c582bab5
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StMbm-0007mz-9s bf1ffc562b520adc5a423141976861a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAAPAK-6qR-kPYbCa-VFDDMS9jg0hxNZDa8yv7nBbKyz=r-oczQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14720
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>

--bcaec501672709a42e04c582bab5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks for this.

I seen the trend where past data driven models have moved to honeypots;
because it is too costly to prove and (for them to) explain why. I know
where I can write scripts for transformation proxies (and resolve), and I
want that VM specifications written with
appropriate authentication schemes, especially compatible unto adhoc
cloud-containers and USB sticks; however, it is not work for engineers
until after the scripts are written. I like this political argument, and
there are (express) standards already in place.

On Monday, July 23, 2012, Nicolas Mailhot wrote:

>
> Le Lun 23 juillet 2012 13:08, Stephen Farrell a =E9crit :
>
> > We've done those, e.g. [1,2].
>
> Not exactly this is a general purpose network, I'm referencing direct
> endnode to central data collecting node system.
>
> >> For this particular use case the latency and processing induced by
> >> setting
> >> up a crypto tunnel is a killer,
> >
> > Disagree. Attempting HTTP e2e would be a killer, as would
> > anything needing e2e TCP. Nothing to do with crypto.
>
> Nope, has been done for decades (used to be un-secured ftp exchanges,
> moved to http nowadays, ssl has been rejected by manufacturers so far).
>
> In the monitoring station use case most of the money goes into the
> instrument themselves and the coms stack is built using generic
> off-the-shelf commodity tech (in extreme flash-flood warning systems the
> stations are designed to be cheap enough it's ok if some of them get lost
> due to the flood itself)
>
> --
> Nicolas Mailhot
>
>
>

--bcaec501672709a42e04c582bab5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks for this.<div><br></div><div>I seen the trend where past data driven=
 models have moved to honeypots; because it is too costly to prove and=A0(f=
or them to)=A0explain why. I know where I can write scripts for transformat=
ion proxies (and resolve), and I want that VM specifications written with a=
ppropriate=A0authentication=A0schemes, especially compatible unto adhoc clo=
ud-containers and USB sticks; however, it is not work for engineers until a=
fter the scripts are written. I like this political argument, and there are=
 (express) standards already in place.</div>
<div><br>On Monday, July 23, 2012, Nicolas Mailhot  wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><br>
Le Lun 23 juillet 2012 13:08, Stephen Farrell a =E9crit :<br>
<br>
&gt; We&#39;ve done those, e.g. [1,2].<br>
<br>
Not exactly this is a general purpose network, I&#39;m referencing direct<b=
r>
endnode to central data collecting node system.<br>
<br>
&gt;&gt; For this particular use case the latency and processing induced by=
<br>
&gt;&gt; setting<br>
&gt;&gt; up a crypto tunnel is a killer,<br>
&gt;<br>
&gt; Disagree. Attempting HTTP e2e would be a killer, as would<br>
&gt; anything needing e2e TCP. Nothing to do with crypto.<br>
<br>
Nope, has been done for decades (used to be un-secured ftp exchanges,<br>
moved to http nowadays, ssl has been rejected by manufacturers so far).<br>
<br>
In the monitoring station use case most of the money goes into the<br>
instrument themselves and the coms stack is built using generic<br>
off-the-shelf commodity tech (in extreme flash-flood warning systems the<br=
>
stations are designed to be cheap enough it&#39;s ok if some of them get lo=
st<br>
due to the flood itself)<br>
<br>
--<br>
Nicolas Mailhot<br>
<br>
<br>
</blockquote></div>

--bcaec501672709a42e04c582bab5--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 12:07:02 2012
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 3EBA511E80EA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 12:07:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.626
X-Spam-Level: 
X-Spam-Status: No, score=-9.626 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 NGQVT0Ojo86E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 12:07:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2EA2711E80E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 12:07:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StNvx-0005d8-4S for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 19:04:45 +0000
Resent-Date: Mon, 23 Jul 2012 19:04:45 +0000
Resent-Message-Id: <E1StNvx-0005d8-4S@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1StNvj-0005cN-L1 for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 19:04:31 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1StNvh-0004wg-9Q for ietf-http-wg@w3.org; Mon, 23 Jul 2012 19:04:31 +0000
Received: by qaas11 with SMTP id s11so1493403qaa.2 for <ietf-http-wg@w3.org>; Mon, 23 Jul 2012 12:04:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=B3lsYW9R2FxRvdKwFVX4Ev2ErV5KG5oylZsygCEHnjM=; b=fnCRdQpMHY7HbjA2zFcREIUoQ0nTVzW2CeVtgD9Oo7GYPkBr7c7pMdU6YEjF9FiM32 599aplgJvZbPp0QALpcfnMu5xRtRtFeVFOaCqaxLsYg0E7siXeW4KGXAepOZABX7MJka /wd38Rqr6Ucw0yjk01M7GFYZ1MRLs5YOiyBFS7mEKm/hZAU7vR+iuER3vxfAJh2dWpZM JxS9BMfTTPyuSMglL1YFTB3ZfZWppmgtYc4wPBNghoeVjf0VBz0v01TpJbDrxjRuckOD AWx0gnxc62DUPCmlU5jncdKcA3FbliJp3hvBF2YPCTJrMdUfvFgxb826iCS+Zqj4hZ5O Unew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=B3lsYW9R2FxRvdKwFVX4Ev2ErV5KG5oylZsygCEHnjM=; b=CgHSO0ltjIduBA6NoGKpUbyMNGbfAARiVCiFub8Wt8ERkPhisUbP/IQvcDNqWaQLNS BBqqOjLRj3Xm5qiXRZI062A6lAFHEfe6Dc5l2FLIIsQFPg0mS5f7AqOXH09Sloe64EPJ EPAGo0UbzZjmVpcI10SKpipGCbYpVjoMy81tGaGPN1aIBVoLbzvru6CVNNQe+gJ/kHqB nifYUMDiSlqni5vc5hCGAGeI6e2mq3EOBKAzGeiVGiDL6Cez5YBTAO75MM1e65agCxDu 2GPkFngupGrDLHBrcyFgLZ7dOZwzAhJ1APvYl3QlPUxs0Hg1stkskEj5jraT6Ow3ukPV b8SA==
Received: by 10.224.187.129 with SMTP id cw1mr26100726qab.78.1343070243095; Mon, 23 Jul 2012 12:04:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.187.129 with SMTP id cw1mr26100701qab.78.1343070242943; Mon, 23 Jul 2012 12:04:02 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.247.211 with HTTP; Mon, 23 Jul 2012 12:04:02 -0700 (PDT)
In-Reply-To: <500C7040.5060501@treenet.co.nz>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz>
Date: Mon, 23 Jul 2012 12:04:02 -0700
X-Google-Sender-Auth: GlV9j0IYgG5rgHsl2LOQr9QRAto
Message-ID: <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=485b397dd2a9bd31a304c583e8c9
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnjqiqbkEiJMKo+1C3lyPUPWNofVJKw6I3wJpowRxTwRP8RrCsXDzUDQbIk00TS20ektlX7rJTtUCZMeIKWmrQLnMkWKJK+trMvxOU+XBnR1fcWeMfjcGRQ1xMjVoujNjpQxkRaS2X3n5DrfS/AXwRLxHzue91gCrGQ2EFo2aw46JyKosNueVMgdgQNkHy7igT7M10q
Received-SPF: pass client-ip=209.85.216.43; envelope-from=willchan@google.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1StNvh-0004wg-9Q 392e51cc4cf74336b3ada6ed1583b314
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14721
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>

--485b397dd2a9bd31a304c583e8c9
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 22, 2012 at 2:27 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 23/07/2012 4:20 a.m., Roberto Peon wrote:
>
>
>>
>> On Jul 22, 2012 1:54 AM, "Benjamin Carlyle" <benjamincarlyle@soundadvice.
>> **id.au <benjamincarlyle@soundadvice.id.au> <mailto:benjamincarlyle@**
>> soundadvice.id.au <benjamincarlyle@soundadvice.id.au>>> wrote:
>> >
>> > This is an individual submission towards the http/2.0 protocol.
>> > My background is mostly in highly available soft real-time m2m use
>> cases for http, rather strict browser-centric or Web-centric use cases.
>> Http/1.1 provides a good basis for these use cases but has a number of
>> deficiencies I would hope could be corrected for the new protocol revision.
>> >
>> > #1 Message level signatures
>> > Transport level security provides privacy and non repudiation at the
>> penalty of denying intermediaries the right to inspect messages and
>> otherwise be involved in a transaction. Message level security measures
>> could bring about specific benefits for http in relation to REST and
>> practical use cases. For example:
>> > A signed representation could be returned by a cache without
>> introducing man in the middle attacks, particularly if the intermediaries
>> are able to add their own metadata to an envelope that contains the
>> original unmodified and signed body and headers from the origin server.
>> > A signed request could eliminate the need for existing authentication
>> mechanisms and allow a message to be authenticated without the need for
>> additional round trips between client and server.
>> > Signed messages could be inspected by firewalls to prevent requests
>> being sent that contravene local policy.
>> > An encrypted response that can be read only by its intended recipients
>> could in theory even be returned to arbitrary clients without needing to
>> first authenticate them.
>> > I think that signatures would significantly simplify m2m use cases.
>> Encryption may also be of use, although it is less important in my
>> particular use cases.
>> > Transport level encryption can work against goal of allowing
>> intermediates to inspect and be involved in transactions.
>> >
>>
>>
> See my answer to #4 below. Signing and integrity meta alterations to the
> content can be considered just another form of encoding at the protocol
> level.
>
> Signing and integrity of the message headers is a very difficult problem
> being discussed in another thread at present.
>
>
>
>  > #2 Canonical form or info set
>> > The signature and encryption issues may be the tip of a larger
>> canonicalization ice berg. HTTP has traditionally allowed new headers a
>> level of freedom in defining both semantics and parsing rules. As we move
>> forwards perhaps it is time to place some limits on this.
>> >
>> > #3 Out of order responses and heartbeat capability
>> > Modifying http to be able to make efficient use of a single TCP
>> connection is I think a priority for many members of this list, and is
>> something that SPDY has been specifically developed to address. I would
>> like to expand on this with the specific notion of heartbeats to be able to
>> reliably answer the question: Is my connection alive or dead? If the
>> connection is dead the client will want to know as quickly as possible so
>> that it can connect to a redundant instance of the server.
>>
>> The PING frame in SPDY addresses this, btw. It is especially important
>> for clients behind NATS.
>>
>> > In my use cases I often want positive confirmation that my connection
>> is still valid approximately every four seconds, plus assurances from
>> intermediates that they are also seeing heartbeats.
>>
>> Keep-alive pings are very to distinguish from DoS attacks. Having the
>> server interpret something once every 4 seconds is probably OK at the layer
>> above the protocol layer.
>>
>> > For long poll use cases this can be taken care of by requesting a short
>> timeout in requests and for long database transactions a slow response can
>> be replaced by an asynchronous interaction, but it would be helpful to have
>> the server send regular updates on the processing status for a given
>> request. A regular high priority OPTIONS * request may suffice to solve
>> this problem.
>>
>>
> I'm not sure how useful this is really. Given that multiplexing will "fill
> the pipe" a lot better than HTTP/1 ever did. Does anyone from SPDY have
> actual numbers on how frequently PING frames are really needed?


What kind of numbers are you looking for? I'm not sure what numbers would
make sense. But I guarantee you it is absolutely necessary. A summary of
the NAT connection timeout issue can be found at
http://code.google.com/p/chromium/issues/detail?id=27400. We "fixed" it for
Chromium (before mobile versions were released) by just turning on TCP
keepalive, which is a horrible hack that doesn't work on mobile because it
wakes up the radio. The problem exists in HTTP/1 too, but the pain is
mitigated due to generally speaking only single request/response pairs over
a single TCP connection (which also means reloads would often use a
different TCP connection that worked). For a multiplexed protocol where you
are trying to share a single connection, a dead connection that isn't
detectable at the application layer results in a horrible user experience.


>
>
>  >
>> > #4 consider replacing internet media type identification model
>> > A bit of a wishlist item, but mostly self explanatory. As far as m2m
>> use cases go a typical company might need to mint dozens or more media
>> types for internal use without coordination with the IANA, and it would be
>> good to allow a url that refers to the type's specification or allow a
>> combination of centrally registered tokens and urls as per RFC 5988's link
>> relation registry.
>>
>>
> +1.
>
> While playing with network-friendly header optimizations we looked at
> merging the Content-Type + Content-Encoding + Transfer-Encoding headers
> meta data into a simple unified syntax.
>
> The result would look like: "Content-Encoding: text, html, gzip, aes"  to
> describe a AES signed compressed HTML document. Each hop along the way
> could perform its own encoding/decoding to improve efficiency and the
> header received by the client would describe both the received entity and
> steps required to decode it to something usable.
>
> Notice how integrity data (AES) is just a layer of encoding on the entity,
> irrelevant to the protocol itself and to any network software relaying the
> message. One could also add signatures on the HTML level as well, *inside*
> the gzip if the HTML was important to retain integrity but compression
> method was not. eg. "Content-Encoding: text, html, aes, gzip"
>
> Or for the super paranoid: "Content-Encoding: text, xml, sha1, md5, aes,
> foo, gzip, aes, sha1, md5, xz"
>
>
>  >
>> > #5 A must understand model
>> > Currently if a new feature is added to http requests that must be
>> understood servers the client must use a new http method to ensure that a
>> server who does not understand will reject the request. Perhaps it is time
>> to introduce a more refined model. My thinking is a must understand header
>> that consists of tokens/urls stating special requirements the server must
>> fulfil before accepting the message for processing. The client could
>> include an additional header that indicates its own supported features to
>> allow the server to tailor its own processing or potentially reject the
>> request.
>>
>>
> This was tried with Expect. It broke rollout of new features in a lot of
> areas. Software lifetimes at the deeper levels of the network is measured
> in cycles of 5-10 years. They simply wont be able to keep up with new
> header/feature additions. At present they can at least pass-thru by default.
>
>
>  >
>> > #6 An idempotent POST
>> > It would be helpful to have a way to idempotently POST new state. My
>> preference would be for the client to be able to supply a unique identifier
>> as part of its request that can be used by the server to ignore repeated
>> instances of the message, preferably as a uuid or guid in uri form or other
>> unique uris.
>>
>> This would require an API change for browsers if this was exposed to
>> webapp designers as well.
>>
>>
> How does this differ from GET with query string and entity?
> The base portion of the URL is the processor script/app address and the
> query portion of the URL is a UUID within that particular URI processor
> space. Together they form a GUID.
>
> In order to be idempotent the URI alone must be able to be used by caches
> to produce a correct response without the entity being even received.
>
> When you have a client implementation that is tied so closely together
> with the server that it can identify what UUID generation algorithm the
> server will be using AND the data points the server will use to generate
> it. You can make any request idempotent with ETag and If-* conditionals.
>
>
>   POST /foo HTTP/1.1
>   If-None-Match: "something"
>   ETag: "something"
>
>
> Amos
>
>

--485b397dd2a9bd31a304c583e8c9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 22, 2012 at 2:27 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:squid3@treenet.co.nz" target=3D"_blank" class=3D"cremed">squid3=
@treenet.co.nz</a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div cla=
ss=3D"gmail_quote">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On 23/07/2012 4:20 a.m., Roberto Peon wrote:=
<div class=3D"im"><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<br>
On Jul 22, 2012 1:54 AM, &quot;Benjamin Carlyle&quot; &lt;<a href=3D"mailto=
:benjamincarlyle@soundadvice.id.au" target=3D"_blank" class=3D"cremed">benj=
amincarlyle@soundadvice.<u></u>id.au</a> &lt;mailto:<a href=3D"mailto:benja=
mincarlyle@soundadvice.id.au" target=3D"_blank" class=3D"cremed">benjaminca=
rlyle@<u></u>soundadvice.id.au</a>&gt;&gt; wrote:<br>

&gt;<br>
&gt; This is an individual submission towards the http/2.0 protocol.<br>
&gt; My background is mostly in highly available soft real-time m2m use cas=
es for http, rather strict browser-centric or Web-centric use cases. Http/1=
.1 provides a good basis for these use cases but has a number of deficienci=
es I would hope could be corrected for the new protocol revision.<br>

&gt;<br>
&gt; #1 Message level signatures<br>
&gt; Transport level security provides privacy and non repudiation at the p=
enalty of denying intermediaries the right to inspect messages and otherwis=
e be involved in a transaction. Message level security measures could bring=
 about specific benefits for http in relation to REST and practical use cas=
es. For example:<br>

&gt; A signed representation could be returned by a cache without introduci=
ng man in the middle attacks, particularly if the intermediaries are able t=
o add their own metadata to an envelope that contains the original unmodifi=
ed and signed body and headers from the origin server.<br>

&gt; A signed request could eliminate the need for existing authentication =
mechanisms and allow a message to be authenticated without the need for add=
itional round trips between client and server.<br>
&gt; Signed messages could be inspected by firewalls to prevent requests be=
ing sent that contravene local policy.<br>
&gt; An encrypted response that can be read only by its intended recipients=
 could in theory even be returned to arbitrary clients without needing to f=
irst authenticate them.<br>
&gt; I think that signatures would significantly simplify m2m use cases. En=
cryption may also be of use, although it is less important in my particular=
 use cases.<br>
&gt; Transport level encryption can work against goal of allowing intermedi=
ates to inspect and be involved in transactions.<br>
&gt;<br>
<br>
</blockquote>
<br></div>
See my answer to #4 below. Signing and integrity meta alterations to the co=
ntent can be considered just another form of encoding at the protocol level=
.<br>
<br>
Signing and integrity of the message headers is a very difficult problem be=
ing discussed in another thread at present.<div class=3D"im"><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt; #2 Canonical form or info set<br>
&gt; The signature and encryption issues may be the tip of a larger canonic=
alization ice berg. HTTP has traditionally allowed new headers a level of f=
reedom in defining both semantics and parsing rules. As we move forwards pe=
rhaps it is time to place some limits on this.<br>

&gt;<br>
&gt; #3 Out of order responses and heartbeat capability<br>
&gt; Modifying http to be able to make efficient use of a single TCP connec=
tion is I think a priority for many members of this list, and is something =
that SPDY has been specifically developed to address. I would like to expan=
d on this with the specific notion of heartbeats to be able to reliably ans=
wer the question: Is my connection alive or dead? If the connection is dead=
 the client will want to know as quickly as possible so that it can connect=
 to a redundant instance of the server.<br>

<br>
The PING frame in SPDY addresses this, btw. It is especially important for =
clients behind NATS.<br>
<br>
&gt; In my use cases I often want positive confirmation that my connection =
is still valid approximately every four seconds, plus assurances from inter=
mediates that they are also seeing heartbeats.<br>
<br>
Keep-alive pings are very to distinguish from DoS attacks. Having the serve=
r interpret something once every 4 seconds is probably OK at the layer abov=
e the protocol layer.<br>
<br>
&gt; For long poll use cases this can be taken care of by requesting a shor=
t timeout in requests and for long database transactions a slow response ca=
n be replaced by an asynchronous interaction, but it would be helpful to ha=
ve the server send regular updates on the processing status for a given req=
uest. A regular high priority OPTIONS * request may suffice to solve this p=
roblem.<br>

<br>
</blockquote>
<br></div>
I&#39;m not sure how useful this is really. Given that multiplexing will &q=
uot;fill the pipe&quot; a lot better than HTTP/1 ever did. Does anyone from=
 SPDY have actual numbers on how frequently PING frames are really needed?<=
/blockquote>
<div><br></div><div>What kind of numbers are you looking for? I&#39;m not s=
ure what numbers would make sense. But I guarantee you it is absolutely nec=
essary. A summary of the NAT connection timeout issue can be found at=A0<a =
href=3D"http://code.google.com/p/chromium/issues/detail?id=3D27400" class=
=3D"cremed">http://code.google.com/p/chromium/issues/detail?id=3D27400</a>.=
 We &quot;fixed&quot; it for Chromium (before mobile versions were released=
) by just turning on TCP keepalive, which is a horrible hack that doesn&#39=
;t work on mobile because it wakes up the radio. The problem exists in HTTP=
/1 too, but the pain is mitigated due to generally speaking only single req=
uest/response pairs over a single TCP connection (which also means reloads =
would often use a different TCP connection that worked). For a multiplexed =
protocol where you are trying to share a single connection, a dead connecti=
on that isn&#39;t detectable at the application layer results in a horrible=
 user experience.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im"><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt;<br>
&gt; #4 consider replacing internet media type identification model<br>
&gt; A bit of a wishlist item, but mostly self explanatory. As far as m2m u=
se cases go a typical company might need to mint dozens or more media types=
 for internal use without coordination with the IANA, and it would be good =
to allow a url that refers to the type&#39;s specification or allow a combi=
nation of centrally registered tokens and urls as per RFC 5988&#39;s link r=
elation registry.<br>

<br>
</blockquote>
<br></div>
+1.<br>
<br>
While playing with network-friendly header optimizations we looked at mergi=
ng the Content-Type + Content-Encoding + Transfer-Encoding headers meta dat=
a into a simple unified syntax.<br>
<br>
The result would look like: &quot;Content-Encoding: text, html, gzip, aes&q=
uot; =A0to describe a AES signed compressed HTML document. Each hop along t=
he way could perform its own encoding/decoding to improve efficiency and th=
e header received by the client would describe both the received entity and=
 steps required to decode it to something usable.<br>

<br>
Notice how integrity data (AES) is just a layer of encoding on the entity, =
irrelevant to the protocol itself and to any network software relaying the =
message. One could also add signatures on the HTML level as well, *inside* =
the gzip if the HTML was important to retain integrity but compression meth=
od was not. eg. &quot;Content-Encoding: text, html, aes, gzip&quot;<br>

<br>
Or for the super paranoid: &quot;Content-Encoding: text, xml, sha1, md5, ae=
s, foo, gzip, aes, sha1, md5, xz&quot;<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt;<br>
&gt; #5 A must understand model<br>
&gt; Currently if a new feature is added to http requests that must be unde=
rstood servers the client must use a new http method to ensure that a serve=
r who does not understand will reject the request. Perhaps it is time to in=
troduce a more refined model. My thinking is a must understand header that =
consists of tokens/urls stating special requirements the server must fulfil=
 before accepting the message for processing. The client could include an a=
dditional header that indicates its own supported features to allow the ser=
ver to tailor its own processing or potentially reject the request.<br>

<br>
</blockquote>
<br></div>
This was tried with Expect. It broke rollout of new features in a lot of ar=
eas. Software lifetimes at the deeper levels of the network is measured in =
cycles of 5-10 years. They simply wont be able to keep up with new header/f=
eature additions. At present they can at least pass-thru by default.<div cl=
ass=3D"im">
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
&gt;<br>
&gt; #6 An idempotent POST<br>
&gt; It would be helpful to have a way to idempotently POST new state. My p=
reference would be for the client to be able to supply a unique identifier =
as part of its request that can be used by the server to ignore repeated in=
stances of the message, preferably as a uuid or guid in uri form or other u=
nique uris.<br>

<br>
This would require an API change for browsers if this was exposed to webapp=
 designers as well.<br>
<br>
</blockquote>
<br></div>
How does this differ from GET with query string and entity?<br>
The base portion of the URL is the processor script/app address and the que=
ry portion of the URL is a UUID within that particular URI processor space.=
 Together they form a GUID.<br>
<br>
In order to be idempotent the URI alone must be able to be used by caches t=
o produce a correct response without the entity being even received.<br>
<br>
When you have a client implementation that is tied so closely together with=
 the server that it can identify what UUID generation algorithm the server =
will be using AND the data points the server will use to generate it. You c=
an make any request idempotent with ETag and If-* conditionals.<br>

<br>
<br>
=A0 POST /foo HTTP/1.1<br>
=A0 If-None-Match: &quot;something&quot;<br>
=A0 ETag: &quot;something&quot;<span class=3D""><font color=3D"#888888"><br=
>
<br>
<br>
Amos<br>
<br>
</font></span></blockquote></div><br></div>

--485b397dd2a9bd31a304c583e8c9--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 16:01:38 2012
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 5006111E80ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:01:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.697
X-Spam-Level: 
X-Spam-Status: No, score=-9.697 tagged_above=-999 required=5 tests=[AWL=0.002, BAYES_00=-2.599, J_CHICKENPOX_47=0.6, 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 S8TbU4+PT6Bi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:01:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 12F0E11E80E2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 16:01: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 1StRaX-0003mO-84 for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 22:58:53 +0000
Resent-Date: Mon, 23 Jul 2012 22:58:53 +0000
Resent-Message-Id: <E1StRaX-0003mO-84@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1StRaH-0003lY-D7 for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 22:58:37 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1StRa5-0004cx-H9 for ietf-http-wg@w3.org; Mon, 23 Jul 2012 22:58:37 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 83DFBE6F49; Tue, 24 Jul 2012 10:57:55 +1200 (NZST)
To: =?UTF-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?=  <willchan@chromium.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 24 Jul 2012 10:57:54 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: <ietf-http-wg@w3.org>
In-Reply-To: <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz> <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com>
Message-ID: <de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1StRa5-0004cx-H9 cf31f05f3892759cf7c9f211beb717d6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14722
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 24.07.2012 07:04, William Chan wrote:
> On Sun, Jul 22, 2012 at 2:27 PM, Amos Jeffries wrote:
>
>> On 23/07/2012 4:20 a.m., Roberto Peon wrote:
>>
>>> On Jul 22, 2012 1:54 AM, "Benjamin Carlyle" wrote:
<snip>
>>  > #2 Canonical form or info set
>>> > The signature and encryption issues may be the tip of a larger
>>> canonicalization ice berg. HTTP has traditionally allowed new 
>>> headers a
>>> level of freedom in defining both semantics and parsing rules. As 
>>> we move
>>> forwards perhaps it is time to place some limits on this.
>>> >
>>> > #3 Out of order responses and heartbeat capability
>>> > Modifying http to be able to make efficient use of a single TCP
>>> connection is I think a priority for many members of this list, and 
>>> is
>>> something that SPDY has been specifically developed to address. I 
>>> would
>>> like to expand on this with the specific notion of heartbeats to be 
>>> able to
>>> reliably answer the question: Is my connection alive or dead? If 
>>> the
>>> connection is dead the client will want to know as quickly as 
>>> possible so
>>> that it can connect to a redundant instance of the server.
>>>
>>> The PING frame in SPDY addresses this, btw. It is especially 
>>> important
>>> for clients behind NATS.
>>>
>>> > In my use cases I often want positive confirmation that my 
>>> connection
>>> is still valid approximately every four seconds, plus assurances 
>>> from
>>> intermediates that they are also seeing heartbeats.
>>>
>>> Keep-alive pings are very to distinguish from DoS attacks. Having 
>>> the
>>> server interpret something once every 4 seconds is probably OK at 
>>> the layer
>>> above the protocol layer.
>>>
>>> > For long poll use cases this can be taken care of by requesting a 
>>> short
>>> timeout in requests and for long database transactions a slow 
>>> response can
>>> be replaced by an asynchronous interaction, but it would be helpful 
>>> to have
>>> the server send regular updates on the processing status for a 
>>> given
>>> request. A regular high priority OPTIONS * request may suffice to 
>>> solve
>>> this problem.
>>>
>>>
>> I'm not sure how useful this is really. Given that multiplexing will 
>> "fill
>> the pipe" a lot better than HTTP/1 ever did. Does anyone from SPDY 
>> have
>> actual numbers on how frequently PING frames are really needed?
>
>
> What kind of numbers are you looking for? I'm not sure what numbers 
> would
> make sense. But I guarantee you it is absolutely necessary. A summary 
> of
> the NAT connection timeout issue can be found at
> http://code.google.com/p/chromium/issues/detail?id=27400. We "fixed" 
> it for
> Chromium (before mobile versions were released) by just turning on 
> TCP
> keepalive, which is a horrible hack that doesn't work on mobile 
> because it
> wakes up the radio. The problem exists in HTTP/1 too, but the pain is
> mitigated due to generally speaking only single request/response 
> pairs over
> a single TCP connection (which also means reloads would often use a
> different TCP connection that worked). For a multiplexed protocol 
> where you
> are trying to share a single connection, a dead connection that isn't
> detectable at the application layer results in a horrible user 
> experience.
>

I was wondering about metrics like how many PING are actually needed to 
keep-alive. With X being some value just enough to keep the radio and 
connection up. If the algorithm for sending them is X milliseconds since 
last frame do we end up with any PING happening at all? some large % of 
the PING+request frame count being PING? or only some small % of that 
count being PING?
  If the case of large % being PING, is it actual user experience being 
interrupted or automated background traffic (which could be delayed by 
the ph itself until user interaction happens instead of drainign battery 
o keep-alive).

Keeping in mind that ph apps do not auto-close any more, so there are 
potentially N applications all consuming TCP connection, radio time, and 
power doing PING.

Amos


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 16:08:33 2012
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 530F711E80F0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:08:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.634
X-Spam-Level: 
X-Spam-Status: No, score=-9.634 tagged_above=-999 required=5 tests=[AWL=0.042, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 6HvTeSivUuA8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:08:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B3CFB11E80E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 16:08:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StRht-0000eJ-UX for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 23:06:29 +0000
Resent-Date: Mon, 23 Jul 2012 23:06:29 +0000
Resent-Message-Id: <E1StRht-0000eJ-UX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1StRhi-0000aO-9K for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 23:06:18 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1StRhh-00030I-DB for ietf-http-wg@w3.org; Mon, 23 Jul 2012 23:06:18 +0000
Received: by qcad1 with SMTP id d1so733164qca.2 for <ietf-http-wg@w3.org>; Mon, 23 Jul 2012 16:05:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=c3t/NUj1xJnXdrmI4CcZn4NS33N2K8t58dqBCLUqFMU=; b=XE7OQN4kwS8Grr77sT4LMI2M8U2OEyLfSIROIotNVCRFzEwPdKzy58g9igEmJln61C FgFCxj7Tt1FxVtbCxVJjGKr7/vs6D7N5l9E/7n+C7I3Z9PphzzTMQkxOUW6yluvfTDIz SLhDB0FvuLDvHspXNUyl8pbIliP9CZtk/K1YVZbV03E0DWYD82wFf1OCifFmtkNPiHOb mBjQqlak0oUOQPrHdSlDkosSQvQDRyMjyVHDlevRbHdsBccyKFsFJuukzr1Yemryy0eU ClmXHwEeG9Tym406M8CMEtbzv2UV3QMKmNOKrgnR5TlNpA7GsHq06Q/1yEkATXvHoqEP dQFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=c3t/NUj1xJnXdrmI4CcZn4NS33N2K8t58dqBCLUqFMU=; b=M1tD77Y3/sZpH5rMsk0eyBvywFwdSRSwVOAD0Cbeb4uoD6u2IdF+yof0Xlm3eIf7qM d9Tnb7fCp48DDDcQyWLlnS56wL4JLfMAD2v6GXp9S8MQwHpT7VfgO0F/909BzOQV3khQ dulqzB4j2/cL+4fwHVrFlwlnUSuugUUJzMDtTeFC5S9ZO7kTFxT/+3M3O2f0AHtunHqP TjG/LvCUcPSpNtSUrVZjoXyFgzt4m0rU/JyobPteJKqJ0VSl3nYBSol3fkFnatK9Akzb Upm8ntcwfzQEQZsuHa3CTYkt1RjLCbL+1syjFVyi4WTfEji2JqRzCuxdHXgNzazlw5fd KG6g==
Received: by 10.224.39.131 with SMTP id g3mr27030463qae.57.1343084751552; Mon, 23 Jul 2012 16:05:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.39.131 with SMTP id g3mr27030456qae.57.1343084751478; Mon, 23 Jul 2012 16:05:51 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.247.211 with HTTP; Mon, 23 Jul 2012 16:05:51 -0700 (PDT)
In-Reply-To: <de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz> <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com> <de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz>
Date: Mon, 23 Jul 2012 16:05:51 -0700
X-Google-Sender-Auth: -VE3qvHT6fTlt3h87i2OCahLA80
Message-ID: <CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf306f74d883dff604c587491e
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQn0R9/qHDV87Znb7mXmOEpzngKjv0uRPguRi8n4pdSYSKI070pw9IZ4y+MI+8hEhWzrff4kxmAL2ZpRUUsrneWk9UmqWPagdLezV8eGWSuyhFyGKsvu1suX99V3v5+cDn9eigPLS0oPG5n/FzfRMU8FPn8B5RNZ1tUqx+waf7NiH+3XLaYaXRsesrNArI9lFvnikpg5
Received-SPF: pass client-ip=209.85.216.171; envelope-from=willchan@google.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1StRhh-00030I-DB bc74b5619de4ae3cace2ad5dba1b49f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14723
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>

--20cf306f74d883dff604c587491e
Content-Type: text/plain; charset=ISO-8859-1

Chromium does not use SPDY PING as a keepalive mechanism. That just
unnecessarily wakes up the radio on mobile devices. We send PING when we
have not sent anything over the SPDY session in awhile and we're about to
send a SYN_STREAM frame. This is a liveness check, which is very different
from a keepalive. Therefore, we do not have metrics about "how many PING
are actually needed to keep-alive" since we don't actually try to do
keepalive.

--20cf306f74d883dff604c587491e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Chromium does not use SPDY PING as a keepalive mechanism. That just unneces=
sarily wakes up the radio on mobile devices. We send PING when we have not =
sent anything over the SPDY session in awhile and we&#39;re about to send a=
 SYN_STREAM frame. This is a liveness check, which is very different from a=
 keepalive. Therefore, we do not have metrics about &quot;how many PING are=
 actually needed to keep-alive&quot; since we don&#39;t actually try to do =
keepalive.<br>

--20cf306f74d883dff604c587491e--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 16:11:04 2012
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 9F9E921F85A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:11:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.64
X-Spam-Level: 
X-Spam-Status: No, score=-9.64 tagged_above=-999 required=5 tests=[AWL=0.036, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 ThuZmWy11t8F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:11:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8753E21F84D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 16:11:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StRlc-0002ZF-HR for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 23:10:20 +0000
Resent-Date: Mon, 23 Jul 2012 23:10:20 +0000
Resent-Message-Id: <E1StRlc-0002ZF-HR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1StRlQ-0002W8-Sw for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 23:10:08 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1StRlP-0004uP-QF for ietf-http-wg@w3.org; Mon, 23 Jul 2012 23:10:08 +0000
Received: by qafl39 with SMTP id l39so1607146qaf.2 for <ietf-http-wg@w3.org>; Mon, 23 Jul 2012 16:09:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=P9NYnwv+5N6jwUTQl+aqlt37qY/pp8HksRq8O7NznIE=; b=B5JT/nz5DZsPsfDJmIXkjTniT1KpZb6K9Q1p9ZTDtubyCrxIMj5ijgsaVChk96+aNh NcO7oC3pKAil6WnBuCbZu9RyjzzC1HfJ852mtFTkzVFcZwXJQJEF3FOzy5jAHhdsZc7C bHWEICFRuhlmjapK0ILq8CSv5XHhn1LtSgT19jbR8l6UpQVoo03JJApEu2xCnGfAcuj5 TtLHLlUZ1brDEbBqa3ABzi4jaNfFegu1jqFKCj9xtbMVbYOYjlR7WBUmHGi1+jUeryVM 5cFa2vcyqbYBTQQ+iWZjC7C/eck3v+/VPGSaM33wYCW9W0vxbRWnLlVU4o3HgF0W7T+/ 1lbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=P9NYnwv+5N6jwUTQl+aqlt37qY/pp8HksRq8O7NznIE=; b=ei9ULa98+kxnz5sAdMUEvg2+5ZAT7mGj0qRUdlOr3XhOd5uL6byj3XIKMsP8zgJRXC 6PoZRarGYtNLHLP0ydXPGs7/dh7qrvJX5DRJuJ5GBh1i4L7d8DepGY/eldehzHsAPyjV 78JeGL3NpszdiCAQli1w2K/VCGngoMjX9QBn5YOJ+hLLYCAs8zdF7aGwysGTkLN7vpp2 DOOlSI2cWIL4xRsRv7BPP6q4HOgvp+q7eKEZ+hLH6OChkqecf8rD+31qVurEEu4TJPCh /3vTKYuXdZrdSne2uUoK1J7HrSfY4CESogyk1sXP6u4SGhqvjrqDOm92Jcs6mkPY8Q8f 0DzQ==
Received: by 10.224.187.129 with SMTP id cw1mr27173293qab.78.1343084981516; Mon, 23 Jul 2012 16:09:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.187.129 with SMTP id cw1mr27173285qab.78.1343084981443; Mon, 23 Jul 2012 16:09:41 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.247.211 with HTTP; Mon, 23 Jul 2012 16:09:41 -0700 (PDT)
In-Reply-To: <CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz> <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com> <de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz> <CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com>
Date: Mon, 23 Jul 2012 16:09:41 -0700
X-Google-Sender-Auth: SMfJ9E9dggyWOysyvDVwuYZ5VnY
Message-ID: <CAA4WUYgfiyHjaOpBK9sNH3F=b2d26AT6Hvv+QgkCgKLH2mitDQ@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=485b397dd2a938db2a04c5875734
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnvW+T74Dl0V9NyGE9SdlWqpwh+hE2tdcOBgGFRAtYFI7SbyqY1b41EEvUdDws5Aa958mZSxFC3jYJgrLE0ra/mz6HgDpvqtBxWY9VsAgE8gy/TnjBiZ0j3osfhHgqe12sV/WRGj9NJNpbxx6wIHv8eDTYWyf1H2Cq2jiJmkMMec/tn+Ti3yY0aclxPG3etehEUk2pM
Received-SPF: pass client-ip=209.85.216.50; envelope-from=willchan@google.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1StRlP-0004uP-QF 8ebf534581721b294a2c7a4f9eac2566
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAA4WUYgfiyHjaOpBK9sNH3F=b2d26AT6Hvv+QgkCgKLH2mitDQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14724
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>

--485b397dd2a938db2a04c5875734
Content-Type: text/plain; charset=ISO-8859-1

Sorry, I realize I misinterpreted your line of questioning. We do not have
data on when we do liveness checks. But I can guarantee that we definitely
hit this plenty of times, and it has solved problems (because before, we
didn't have PING, and we had bug reports due to connections getting
blackholed by NATs).

And yes, it's actual user experience being interrupted. What's ph?

--485b397dd2a938db2a04c5875734
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Sorry, I realize I misinterpreted your line of questioning. We do not have =
data on when we do liveness checks. But I can guarantee that we definitely =
hit this plenty of times, and it has solved problems (because before, we di=
dn&#39;t have PING, and we had bug reports due to connections getting black=
holed by NATs).<div>
<br></div><div>And yes, it&#39;s actual user experience being interrupted. =
What&#39;s ph?</div>

--485b397dd2a938db2a04c5875734--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 16:19:27 2012
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 5236A21F85CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:19:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=-0.150, 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 Sp9boqzAXPC6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 16:19:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8D02E21F85CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 16:19:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StRt5-0006Os-Vb for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jul 2012 23:18:04 +0000
Resent-Date: Mon, 23 Jul 2012 23:18:03 +0000
Resent-Message-Id: <E1StRt5-0006Os-Vb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1StRt0-0006Np-8n for ietf-http-wg@listhub.w3.org; Mon, 23 Jul 2012 23:17:58 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1StRsz-0003Hh-FL for ietf-http-wg@w3.org; Mon, 23 Jul 2012 23:17:58 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 9CEAA10623; Mon, 23 Jul 2012 19:17:35 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 3EFBE10195; Mon, 23 Jul 2012 19:17:31 -0400 (EDT)
Message-ID: <1343085450.2859.13.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: William Chan =?UTF-8?Q?=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Date: Mon, 23 Jul 2012 19:17:30 -0400
In-Reply-To: <CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com>
References:  <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz> <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com> <de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz> <CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1StRsz-0003Hh-FL 629f4425cecc9987ba2744e9a82a0404
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/1343085450.2859.13.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14725
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>

firefox does use idle ping for K-A, at about 50s intervals (60s seems to
be a hot button number with nats)- but we close the session just before
we would need the 3rd one (assuming no other non-ping use of the
session), as 3 minutes has generally been the point of diminishing
returns for an idle connection to be reused anyhow.

its a tradeoff.. using it as a k-a means we have a higher degree of
confidence in the connection when we go to send a request on it (and we
avoid taking the delay of a failed liveness check done in realtime with
the request), but on the downside we need to close the connections at
some relatively early point so they don't just sit there chewing up
battery.

-P

On Mon, 2012-07-23 at 16:05 -0700, William Chan (陈智昌) wrote:
> Chromium does not use SPDY PING as a keepalive mechanism. That just
> unnecessarily wakes up the radio on mobile devices. We send PING when
> we have not sent anything over the SPDY session in awhile and we're
> about to send a SYN_STREAM frame. This is a liveness check, which is
> very different from a keepalive. Therefore, we do not have metrics
> about "how many PING are actually needed to keep-alive" since we don't
> actually try to do keepalive.




From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 19:07:10 2012
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 BD0C011E8111 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 19:07:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.162
X-Spam-Level: 
X-Spam-Status: No, score=-9.162 tagged_above=-999 required=5 tests=[AWL=1.437, BAYES_00=-2.599, 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 qyOs8MI5RATZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 19:07:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0CEAD11E8110 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 19:07:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StUU1-000306-AQ for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 02:04:21 +0000
Resent-Date: Tue, 24 Jul 2012 02:04:21 +0000
Resent-Message-Id: <E1StUU1-000306-AQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1StUTq-0002zL-8X for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 02:04:10 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1StUTp-0000gx-1a for ietf-http-wg@w3.org; Tue, 24 Jul 2012 02:04:10 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E3CDA22E1EB for <ietf-http-wg@w3.org>; Mon, 23 Jul 2012 22:03:46 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 24 Jul 2012 12:03:43 +1000
Message-Id: <1E6613FE-E702-48D9-A869-83E970CEB4D2@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StUTp-0000gx-1a 240b10b25e66115f16898712fa6b2952
X-Original-To: ietf-http-wg@w3.org
Subject: Issues addressed in the -20 drafts
Archived-At: <http://www.w3.org/mid/1E6613FE-E702-48D9-A869-83E970CEB4D2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14726
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>

Please have a look; barring objections, I'll close the issues listed =
below.=20

Issues are linked from =
<http://trac.tools.ietf.org/wg/httpbis/trac/report/15>.

non-specific
#346	make IANA policy definitions consistent
#361	ABNF requirements for recipients

p1-messaging
#218	Explain non-HTTP URIs in HTTP

p2-semantics
#312	should there be a permanent variant of 307
#347	clarify that 201 can imply *multiple* resources were created

p4-conditional
#241	Need to clarify eval order/interaction of conditional headers
#345	Required headers on 304 and 206
#354	ETags and Conditional Requests
#363	Rare cases

p6-cache
#353	Multiple values in Cache-Control header fields
#360	enhance considerations for new cache control directives

p7-auth
#348	Realms and scope
#349	Strength
#357	Authentication exchanges



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





From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 22:38:04 2012
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 6BF7611E810E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 22:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.428
X-Spam-Level: 
X-Spam-Status: No, score=-10.428 tagged_above=-999 required=5 tests=[AWL=0.171, BAYES_00=-2.599, 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 qnX17QMd+n9i for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 22:38:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E51D211E8109 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 22:38:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StXmH-0006Dk-Vv for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 05:35:26 +0000
Resent-Date: Tue, 24 Jul 2012 05:35:25 +0000
Resent-Message-Id: <E1StXmH-0006Dk-Vv@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1StXlz-0006Bx-UW for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 05:35:07 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1StXly-0007Jc-KR for ietf-http-wg@w3.org; Tue, 24 Jul 2012 05:35:07 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id A7D49E6D79 for <ietf-http-wg@w3.org>; Tue, 24 Jul 2012 17:34:41 +1200 (NZST)
Message-ID: <500E33EA.4010805@treenet.co.nz>
Date: Tue, 24 Jul 2012 17:34:34 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz> <CAA4WUYjRQZWex8Yn=B=bMP_L=ntckq86FX=xh573AvGSSQqr9A@mail.gmail.com> <de5d0cda9bfa9943cb6fd449392c2897@treenet.co.nz> <CAA4WUYif-Rhad5nQ7Go2dvCk0aupa=TOKzQLoZUr7zNiwHPfBw@mail.gmail.com> <CAA4WUYgfiyHjaOpBK9sNH3F=b2d26AT6Hvv+QgkCgKLH2mitDQ@mail.gmail.com>
In-Reply-To: <CAA4WUYgfiyHjaOpBK9sNH3F=b2d26AT6Hvv+QgkCgKLH2mitDQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StXly-0007Jc-KR a166176edfe3319f57aa4e707e7148be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/500E33EA.4010805@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14727
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 24/07/2012 11:09 a.m., William Chan (陈智昌) wrote:
> Sorry, I realize I misinterpreted your line of questioning. We do not 
> have data on when we do liveness checks. But I can guarantee that we 
> definitely hit this plenty of times, and it has solved problems 
> (because before, we didn't have PING, and we had bug reports due to 
> connections getting blackholed by NATs).
>
> And yes, it's actual user experience being interrupted. What's ph?

Sorry. "phone".

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Jul 23 23:43:08 2012
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 2D2F321F85F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 23:43:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 s-dLyzNw4AbA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jul 2012 23:43:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9BB6E21F85F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jul 2012 23:43:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StYnU-0004i9-Fb for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 06:40:44 +0000
Resent-Date: Tue, 24 Jul 2012 06:40:44 +0000
Resent-Message-Id: <E1StYnU-0004i9-Fb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1StYnJ-0004gw-Hi for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 06:40:33 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1StYnI-0001An-H0 for ietf-http-wg@w3.org; Tue, 24 Jul 2012 06:40:33 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1C9C650A5D; Tue, 24 Jul 2012 02:40:09 -0400 (EDT)
Date: Tue, 24 Jul 2012 00:39:40 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "Mark Nottingham" <mnot@mnot.net>, "HTTP Working Group" <ietf-http-wg@w3.org>
Message-Id: <20120724003940.19cd850b.eric@bisonsystems.net>
In-Reply-To: <em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed>
References: <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net> <em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StYnI-0001An-H0 7a3f21cce0d05936da5aec79210d09a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/20120724003940.19cd850b.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14728
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>

"Adrien W. de Croy" wrote:
> 
> a) does anyone actually use them?
>

Yes.

>
> b) do they work?
>

I've never heard that they don't, nor run into any problems using them.

>
> c) do we still need them?
> 

Yes, otherwise I have to cache-expire for all changes to resource state,
without the option to declare certain changes insignificant.  Take a
"weblog entry" resource which includes a # of comments counter, with a
link to a comment thread.  XHR is used to synch the count, eventually.

I only change the Etag if the entry itself is edited.  Since metadata
about the entry may change in the meantime, which isn't significant
enough to warrant a new Etag in my caching scheme, I preface with W/ to
indicate variance from the origin server not requiring cache expiration,
i.e. semantic equivalence.

-Eric


From ietf-http-wg-request@listhub.w3.org  Tue Jul 24 00:13:48 2012
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 84AFD11E811C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 00:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.433
X-Spam-Level: 
X-Spam-Status: No, score=-10.433 tagged_above=-999 required=5 tests=[AWL=0.166, BAYES_00=-2.599, 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 MiTZa+eOJB9D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 00:13:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E348B11E8109 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 24 Jul 2012 00:13:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StZHg-0003tM-8b for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 07:11:56 +0000
Resent-Date: Tue, 24 Jul 2012 07:11:56 +0000
Resent-Message-Id: <E1StZHg-0003tM-8b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1StZHU-0003sa-TE for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 07:11:44 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1StZHT-0002fT-PA for ietf-http-wg@w3.org; Tue, 24 Jul 2012 07:11:44 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 9A90EE6D79 for <ietf-http-wg@w3.org>; Tue, 24 Jul 2012 19:11:18 +1200 (NZST)
Message-ID: <500E4A8E.2020803@treenet.co.nz>
Date: Tue, 24 Jul 2012 19:11:10 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net> <em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed> <20120724003940.19cd850b.eric@bisonsystems.net>
In-Reply-To: <20120724003940.19cd850b.eric@bisonsystems.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StZHT-0002fT-PA b77e1fac3873168f94cbe088e15e7d70
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/500E4A8E.2020803@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14729
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 24/07/2012 6:39 p.m., Eric J. Bowman wrote:
> "Adrien W. de Croy" wrote:
>> a) does anyone actually use them?
>>
> Yes.
>
>> b) do they work?
>>
> I've never heard that they don't, nor run into any problems using them.
>
>> c) do we still need them?
>>
> Yes, otherwise I have to cache-expire for all changes to resource state,
> without the option to declare certain changes insignificant.  Take a
> "weblog entry" resource which includes a # of comments counter, with a
> link to a comment thread.  XHR is used to synch the count, eventually.

What type of server do you have which does not send strong ETag on 
binary-level changes anyway?

If a cache called in asking for updates with one of your weak-ETag would 
your server send a new copy or a 304 even if some changes had taken place?
    If its going to emit a new copy why bother sending W/ in the first 
place? a new Etag can goes out and the cache is refreshed with that 
immediately.
    If its not going to emit a new copy on request, why not just send 
the old strong ETag? are you emitting 304 with a different weak-ETag?

  ... Range requests that make it to the origin make things weird, but 
they can be special-cased to either change the ETag to something more 
current before handling, or to use an old copy from which the ETag was 
generated.

> I only change the Etag if the entry itself is edited.  Since metadata
> about the entry may change in the meantime, which isn't significant
> enough to warrant a new Etag in my caching scheme, I preface with W/ to
> indicate variance from the origin server not requiring cache expiration,
> i.e. semantic equivalence.

I assume you mean meta data inside the object itself (that counter, 
keywords list etc) ?

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Jul 24 00:29:57 2012
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 6F5E321F85A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 00:29:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.605
X-Spam-Level: 
X-Spam-Status: No, score=-8.605 tagged_above=-999 required=5 tests=[AWL=1.375, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_IN_SORBS_WEB=0.619]
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 opUB55xDOpw5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 00:29:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DCEE21F85A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 24 Jul 2012 00:29:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StZXC-0002dR-Hx for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 07:27:58 +0000
Resent-Date: Tue, 24 Jul 2012 07:27:58 +0000
Resent-Message-Id: <E1StZXC-0002dR-Hx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1StZX1-0002cf-ON for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 07:27:47 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1StZWx-0004VL-JN for ietf-http-wg@w3.org; Tue, 24 Jul 2012 07:27:47 +0000
Received: (qmail invoked by alias); 24 Jul 2012 07:27:16 -0000
Received: from p54BB2E36.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.46.54] by mail.gmx.net (mp072) with SMTP; 24 Jul 2012 09:27:16 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+rAdguQzmrAfFxedbpaIdcQwLLwLIl8JuEl1x2o+ Sf9T1unJwyNePB
Message-ID: <500E4E4F.5000604@gmx.de>
Date: Tue, 24 Jul 2012 09:27:11 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net> <em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed> <20120724003940.19cd850b.eric@bisonsystems.net> <500E4A8E.2020803@treenet.co.nz>
In-Reply-To: <500E4A8E.2020803@treenet.co.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1StZWx-0004VL-JN d6485e0e21eb1f4d96301c4da95f1ae7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/500E4E4F.5000604@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14730
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 2012-07-24 09:11, Amos Jeffries wrote:
> On 24/07/2012 6:39 p.m., Eric J. Bowman wrote:
>> "Adrien W. de Croy" wrote:
>>> a) does anyone actually use them?
>>>
>> Yes.
>>
>>> b) do they work?
>>>
>> I've never heard that they don't, nor run into any problems using them.
>>
>>> c) do we still need them?
>>>
>> Yes, otherwise I have to cache-expire for all changes to resource state,
>> without the option to declare certain changes insignificant.  Take a
>> "weblog entry" resource which includes a # of comments counter, with a
>> link to a comment thread.  XHR is used to synch the count, eventually.
>
> What type of server do you have which does not send strong ETag on
> binary-level changes anyway?
> ...

As far as I recall, Apache httpd/moddav sends a (timestamp-based) weak 
etag in PUT responses if it doesn't have sufficient time resolution. 
Once the change time for the underlying object is in the past, the ETag 
changes to a strong one.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Jul 24 01:46:22 2012
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 E07BA21F863C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 01:46:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.423
X-Spam-Level: 
X-Spam-Status: No, score=-8.423 tagged_above=-999 required=5 tests=[AWL=2.175, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 2osHscQsIwWz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 01:46:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 143D921F8643 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 24 Jul 2012 01:46:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Staiz-00027c-Qb for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 08:44:13 +0000
Resent-Date: Tue, 24 Jul 2012 08:44:13 +0000
Resent-Message-Id: <E1Staiz-00027c-Qb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Stain-00026U-OP for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 08:44:01 +0000
Received: from mailgw1.ericsson.se ([193.180.251.45]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Staih-00071M-MW for ietf-http-wg@w3.org; Tue, 24 Jul 2012 08:44:01 +0000
X-AuditID: c1b4fb2d-b7f6c6d000001cc5-8c-500e60348c17
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 1B.76.07365.4306E005; Tue, 24 Jul 2012 10:43:32 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0237.eemea.ericsson.se (153.88.115.91) with Microsoft SMTP Server id 8.3.264.0; Tue, 24 Jul 2012 10:43:32 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 178C12531	for <ietf-http-wg@w3.org>; Tue, 24 Jul 2012 11:43:32 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id C1C2A53333	for <ietf-http-wg@w3.org>; Tue, 24 Jul 2012 11:43:32 +0300 (EEST)
Received: from Salvatore-Loretos-MacBook-Pro.local (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 45CF6531F2	for <ietf-http-wg@w3.org>; Tue, 24 Jul 2012 11:43:32 +0300 (EEST)
Message-ID: <500E6032.1020809@ericsson.com>
Date: Tue, 24 Jul 2012 10:43:30 +0200
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="------------000206010509070100090006"
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsUyM+Jvra5JAl+AwaxfFhaHW2YxOTB6HJ23 nzWAMYrLJiU1J7MstUjfLoErY+eXPpaCzxIVxze9Ym1g3CPcxcjJISFgIjHh8xF2CFtM4sK9 9WxdjFwcQgKnGCUObVzPCuFsYJRov3aKCcK5yihx8e05qLITjBJv3v+GKrvIKPG0cyIjyDBe AW2JpU+ngdksAqoSn17uALPZBMwknj/cwtzFyMEhKpAs8fd/OkS5oMTJmU9YQGwRAR2JjpbF TCC2sICBxMcNH9hAbGaBMIlTq+ezQdyqJnH13CZmEFtIQEui92wn0wRGwVlIRs1C0gJh20pc mHMdKi4vsf3tHGYIW1fiwv8pKOILGNlWMQrnJmbmpJcb6qUWZSYXF+fn6RWnbmIEBvnBLb91 dzCeOidyiFGag0VJnJcrab+/kEB6YklqdmpqQWpRfFFpTmrxIUYmDk6pBsbK68vY1vy4aRYw 9dMsNq7zN3W+i4Wa9bSFrz0ml37f4lsT62ytibWPe+f83Xwi99mqlJsP4wPFJwe1T/Ocm/wj YfLrbz7ML6Zy7VRZJmr02WSHnlrKi6j772pex285UnSv44cgv/KuvwkCCo0/l72bpVG8Mftp r/i+E8xrFpcY3cz1ZTWW7nuoxFKckWioxVxUnAgAYFYbMkACAAA=
Received-SPF: pass client-ip=193.180.251.45; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw1.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Staih-00071M-MW 5b87331aa14c6ceac31681110b0cf9c7
X-Original-To: ietf-http-wg@w3.org
Subject: Explicit Proxies for HTTP/2.0: comments
Archived-At: <http://www.w3.org/mid/500E6032.1020809@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14731
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>

--------------000206010509070100090006
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

Hi Robert and all,

let me start to say that IMO the requirements listed in section 4 should 
be meet by
2.0 no matter how the discussion on Mandatory TLS ends.

My biggest concern with the draft is that it seems not to be thought for 
mobile terminals;
for a cellular roaming (abroad) among different telecom operators
the fact (as stated in section 4) that a UA/Browser knows in advance the 
existence of  proxy is a little to restrictive,

          Only proxies which are known to and configured by the user
          should be allowed to intercept communications between the user
          and the content-provider.

however I agree that the UA/Browser MUST become aware of the fact there 
is a proxy in between.

Moreover I am not sure that is a good idea to "provide the decryption 
key material" to the trusted proxy of each
network my mobile will use while I travel around the world.

cheers
Sal

-- 
Salvatore Loreto, PhD
www.sloreto.com


--------------000206010509070100090006
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Robert and all,<br>
    <br>
    let me start to say that IMO the requirements listed in section 4
    should be meet by<br>
    2.0
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <span id="result_box" class="" lang="en"><span class="hps">no matter</span>
      <span class="hps">how&nbsp;</span> <span class="hps">the discussion</span>
      <span class="hps">on</span> <span class="hps">Mandatory</span> <span
        class="hps">TLS</span></span> <span id="result_box" class=""
      lang="en"><span class="hps">ends</span></span>.<br>
    <br>
    My biggest concern with the draft is that it seems not to be thought
    for mobile terminals;<br>
    for a cellular roaming (abroad) among different telecom operators<br>
    the fact (as stated in section 4) that a UA/Browser knows in advance
    the existence of&nbsp; proxy is a little to restrictive,<br>
    <pre>
         Only proxies which are known to and configured by the user
         should be allowed to intercept communications between the user
         and the content-provider.

</pre>
    however I agree that the UA/Browser MUST become aware of the fact
    there is a proxy in between.<br>
    <br>
    Moreover I am not sure that is a good idea to
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    "provide the decryption key material" to the trusted proxy of each<br>
    network my mobile will use while I travel around the world.<br>
    <br>
    cheers<br>
    Sal<br>
    <pre class="moz-signature" cols="72">
-- 
Salvatore Loreto, PhD
<a class="moz-txt-link-abbreviated" href="http://www.sloreto.com">www.sloreto.com</a></pre>
  </body>
</html>

--------------000206010509070100090006--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 24 04:18:35 2012
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 AD94E21F8680 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 04:18:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.845
X-Spam-Level: 
X-Spam-Status: No, score=-9.845 tagged_above=-999 required=5 tests=[AWL=0.453, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 UV2QfC9bEwNQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 04:18:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0341321F8670 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 24 Jul 2012 04:18:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Std5V-0003Zq-4x for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 11:15:37 +0000
Resent-Date: Tue, 24 Jul 2012 11:15:37 +0000
Resent-Message-Id: <E1Std5V-0003Zq-4x@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1Std5K-0003Yw-5R for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 11:15:26 +0000
Received: from mailout-us.gmx.com ([74.208.5.67]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1Std5C-0004yO-EZ for ietf-http-wg@w3.org; Tue, 24 Jul 2012 11:15:26 +0000
Received: (qmail 5151 invoked by uid 0); 24 Jul 2012 11:10:43 -0000
Received: from 121.210.178.174 by rms-us006 with HTTP
Cc: "Tim Bray" <tbray@textuality.com>,ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="========GMXBoundary298411343128242140905"
Date: Tue, 24 Jul 2012 07:10:41 -0400
From: "Dereq Dereq" <dereq@japan.com>
Message-ID: <20120724111042.298410@gmx.com>
MIME-Version: 1.0
To: =?iso-8859-1?Q?=22Reto_Bachmann-Gm=FCr=22?= <reto@gmuer.ch>,=?iso-8859-1?Q?=22Martin_J=2E_D=FCrst=22?= <duerst@it.aoyama.ac.jp>
X-Authenticated: #74088690
X-Flags: 0001
X-Mailer: GMX.com Web Mailer
x-registered: 0
X-GMX-UID: 5ed8cPUV3zOlNZPjAXAh5Gl+IGRvb0C4
Received-SPF: none client-ip=74.208.5.67; envelope-from=dereq@japan.com; helo=mailout-us.gmx.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Std5C-0004yO-EZ a6bf27da79dd65c900e04669a78f52c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/20120724111042.298410@gmx.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14732
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>

--========GMXBoundary298411343128242140905
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

I have reservations about mandating TLS because security may already be provided at a lower protocol level and that may not even be evident to the client or to the server.

 This could arise from client device policy that causes IPSec to be used behind the scenes - assuming that the server supports that.

 Ditto tcpcrypt.

 So mandating TLS may result in double encryption. It also chooses a particular security protocol that may not be the choice of either the client or the server.

 What I _do_ want to see is more secure communications, perhaps going as far as that insecure communications are only used when that is the explicit (non-default) choice, agreed to by both parties. That probably takes it outside the scope of HTTP.

--========GMXBoundary298411343128242140905
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'>I have r=
eservations about mandating TLS because security may already be provided at=
 a lower protocol level and that may not even be evident to the client or t=
o the server.<br />=20
<br />=20
This could arise from client device policy that causes IPSec to be used beh=
ind the scenes - assuming that the server supports that.<br />=20
<br />=20
Ditto tcpcrypt.<br />=20
<br />=20
So mandating TLS may result in double encryption. It also chooses a particu=
lar security protocol that may not be the choice of either the client or th=
e server.<br />=20
<br />=20
What I _do_ want to see is more secure communications, perhaps going as far=
 as that insecure communications are only used when that is the explicit (n=
on-default) choice, agreed to by both parties. That probably takes it outsi=
de the scope of HTTP.<br />=20
</span></span>

--========GMXBoundary298411343128242140905--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 24 10:09:07 2012
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 4B15821F8535 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 10:09:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 gDhKrBJYI59u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 10:09:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9802221F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 24 Jul 2012 10:09:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StiZE-0002e9-93 for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 17:06:40 +0000
Resent-Date: Tue, 24 Jul 2012 17:06:40 +0000
Resent-Message-Id: <E1StiZE-0002e9-93@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1StiZ2-0002cK-G1 for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 17:06:28 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1StiYx-00023r-Go for ietf-http-wg@w3.org; Tue, 24 Jul 2012 17:06:28 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DABDF50A5D; Tue, 24 Jul 2012 13:05:55 -0400 (EDT)
Date: Tue, 24 Jul 2012 11:05:25 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-Id: <20120724110525.5e52aea7.eric@bisonsystems.net>
In-Reply-To: <500E4A8E.2020803@treenet.co.nz>
References: <7D2A809E-F3E0-4128-AFEA-8EEEBF3AC26E@mnot.net> <em4c625b3f-c22f-4feb-a59b-9a742c9f52cb@bombed> <20120724003940.19cd850b.eric@bisonsystems.net> <500E4A8E.2020803@treenet.co.nz>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StiYx-00023r-Go 63b172cdf412dfebcccdf1267f961ad9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our old friends, weak ETags
Archived-At: <http://www.w3.org/mid/20120724110525.5e52aea7.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14733
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>

Amos Jeffries wrote:
>
> Eric J. Bowman wrote:
> > "Adrien W. de Croy" wrote:
> >> a) does anyone actually use them?
> >>
> > Yes.
> >
> >> b) do they work?
> >>
> > I've never heard that they don't, nor run into any problems using
> > them.
> >
> >> c) do we still need them?
> >>
> > Yes, otherwise I have to cache-expire for all changes to resource
> > state, without the option to declare certain changes
> > insignificant.  Take a "weblog entry" resource which includes a #
> > of comments counter, with a link to a comment thread.  XHR is used
> > to synch the count, eventually.
> 
> What type of server do you have which does not send strong ETag on 
> binary-level changes anyway?
> 

My own.

>
> If a cache called in asking for updates with one of your weak-ETag
> would your server send a new copy or a 304 even if some changes had
> taken place?
>

If the changes were insignificant, then 304, because the origin server
is sending fresh content with the same W/Etag being used to validate.
The Etag is only changed for significant updates.

>
> If its going to emit a new copy why bother sending W/ in
> the first place? a new Etag can goes out and the cache is refreshed
> with that immediately.
>

Because I don't want to refresh the cache.

>
>     If its not going to emit a new copy on request, why not just send 
> the old strong ETag? are you emitting 304 with a different weak-ETag?
> 

The Etag stays the same, which is why it has to be weak; otherwise I'd
be sending byte-for-byte-different representations with the same strong
Etag, which would be incorrect.

>
>   ... Range requests that make it to the origin make things weird,
> but they can be special-cased to either change the ETag to something
> more current before handling, or to use an old copy from which the
> ETag was generated.
> 

Or, the origin can be special-cased to ignore range requests with W/.
;-)

>
> > I only change the Etag if the entry itself is edited.  Since
> > metadata about the entry may change in the meantime, which isn't
> > significant enough to warrant a new Etag in my caching scheme, I
> > preface with W/ to indicate variance from the origin server not
> > requiring cache expiration, i.e. semantic equivalence.
> 
> I assume you mean meta data inside the object itself (that counter, 
> keywords list etc) ?
> 

Yes; without W/ I'd have to break those out as their own resources,
adding more round trips.

-Eric


From ietf-http-wg-request@listhub.w3.org  Tue Jul 24 16:30:22 2012
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 1DEF211E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 16:30:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 SoppfnY5z2Pg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 24 Jul 2012 16:30:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 60F1011E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 24 Jul 2012 16:30:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StoWO-0006fc-0n for ietf-http-wg-dist@listhub.w3.org; Tue, 24 Jul 2012 23:28:08 +0000
Resent-Date: Tue, 24 Jul 2012 23:28:08 +0000
Resent-Message-Id: <E1StoWO-0006fc-0n@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1StoW8-0006ei-8z for ietf-http-wg@listhub.w3.org; Tue, 24 Jul 2012 23:27:52 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1StoW7-0000by-8p for ietf-http-wg@w3.org; Tue, 24 Jul 2012 23:27:52 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4A96D509B4; Tue, 24 Jul 2012 19:27:28 -0400 (EDT)
Date: Tue, 24 Jul 2012 17:26:58 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Samuel Erdtman <samuel@erdtman.se>
Cc: ietf-http-wg@w3.org
Message-Id: <20120724172658.f1e7af36.eric@bisonsystems.net>
In-Reply-To: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com>
References: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1StoW7-0000by-8p c116dc3291821ea5fbd2623cb48d13ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/20120724172658.f1e7af36.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14734
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>

Samuel Erdtman wrote:
> 
> Have the requirements for REST APIs been considered?
>

Doesn't look like they have.  My impression, after catching up on 100's
of posts, is that plenty of folks are ready to throw out the baby (REST)
with the bathwater (HTTP 1).

Leading me to give +1 to PHK's point, echoed by others, that starting
with proposals before establishing goals seems to be skipping some
steps, i.e. moving too fast.

Intermediaries aren't optional to the REST style, they're integral to
the success of the Web.  HTTP 2 should not, IMO, result in a new and
incompatible architectural style which only scales well for those big
companies with a global DC presence and CDNs.

I prefer my guerilla approach, which REST allows to compete with the
big boys in terms of user-perceived performance, without spending a
small fortune on hosting/CDN service.  Or equipment, by requiring fancy
new processors to keep on top of the traffic, where my cheap desktop
router +Squid isn't hampered by a 20-year-old ARM design for its CPU.

Please don't relegate me to HTTP 1.1 forever, by pulling the REST rug
out from under me with an HTTP 2 which represents its own, untested,
unproven, and undefined (it'll be whatever we come up with to solve,
piecemeal, a bullet-point list of problems) architectural style which
turns out to be incompatible with my system architecture, requiring a
complex redesign instead of a simple protocol upgrade.

Can we instead use REST to guide the development of HTTP 2?  Seems to
me that's its purpose, evaluating protocol design...

-Eric


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 00:52:16 2012
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 2D7CB21F84E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 00:52:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 OfH-vUmEpH5q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 00:52:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3617A21F84D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 00:52:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StwM3-0006f1-FM for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 07:49:59 +0000
Resent-Date: Wed, 25 Jul 2012 07:49:59 +0000
Resent-Message-Id: <E1StwM3-0006f1-FM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1StwLn-0006dY-QA for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 07:49:43 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1StwLk-0000zw-2h for ietf-http-wg@w3.org; Wed, 25 Jul 2012 07:49:43 +0000
Received: by ggmi1 with SMTP id i1so396092ggm.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 00:49:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WDZeAuN5sVJ9GkJAY6+ETwUWtlX3WmSWrG3tDgqQtxY=; b=HxKYk8eBoOCJNgu2HkuELSf8+A3bJryVLKLpwpG8Pooo+A+FM+exihvGIR8NA7pX+K euDlDGTj82VpRrGynW7/k2CkJMetoX0Mkgrp0n0WPiJltpqMc7VCL8Q9TtRrMoU8zT8Z ntlh1Zw2uHkvQxqimvAtdg/lsRYyDpO3FuTqJzqUTWcq2kR6JI2HPdepE+X7G05eBj1p jjvz2hiiGxrnff9VHQpSQm0qwito5akW6nltqH5LXLsp0z3Zknld0MV3EhQ5ta3Kzwuv kXIc7E7oY0vPk7tDhVgqL+S6X5Pkv87NAPxxgUIc1ZkTLeC73EnmAqIHEHpaBOi3LSMS AbFw==
MIME-Version: 1.0
Received: by 10.42.22.206 with SMTP id p14mr22377497icb.23.1343202553875; Wed, 25 Jul 2012 00:49:13 -0700 (PDT)
Sender: fuzzybsc@gmail.com
Received: by 10.64.52.231 with HTTP; Wed, 25 Jul 2012 00:49:12 -0700 (PDT)
Received: by 10.64.52.231 with HTTP; Wed, 25 Jul 2012 00:49:12 -0700 (PDT)
In-Reply-To: <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <06923070D47780469EBD9A1CDABAB6D6197FF29C@blr-exch-1.sandvine.com>
Date: Wed, 25 Jul 2012 17:49:12 +1000
X-Google-Sender-Auth: 3djfJofJKA_cZ2EOuQIa3BsDuiM
Message-ID: <CAN2g+6a9H8GRC9dPHsK+Jnw0-cQD_gL1-Cc-p0gW3BqvaJdJ6Q@mail.gmail.com>
From: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>
To: Anil Sharma <asharma@sandvine.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf301d3c8615cbb004c5a2b7bf
Received-SPF: pass client-ip=209.85.161.171; envelope-from=fuzzybsc@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1StwLk-0000zw-2h 6d9b066c4418b4dd59cacb788b910119
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAN2g+6a9H8GRC9dPHsK+Jnw0-cQD_gL1-Cc-p0gW3BqvaJdJ6Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14735
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>

--20cf301d3c8615cbb004c5a2b7bf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Anil,

> #1 Message level signatures
> Transport level security provides privacy and non repudiation at the
penalty of denying intermediaries the right to inspect messages and
otherwise be involved in a transaction. Message level security measures
could bring about specific benefits for http in relation to REST and
practical use cases. For example:
On Jul 23, 2012 4:38 AM, "Anil Sharma" <asharma@sandvine.com> wrote:
>
> I didn=E2=80=99t understand your point 1. Are you saying that no one shou=
ld be
allowed to inspect messages if someone wants complete privacy and he has
enabled end to end encryption?

I don't see any reason to deny users the right of end to end protection.
However my cases are machine to machine interactions between railway
control systems and the like. Privacy in such environments is enforced
primarily by keeping networks separated and including firewalls at
connection points between networks. In this context it is necessary to have
visibility at the firewalls of relevant information about requests: which
network they are transiting from and to, which authority they are addressed
to and sometimes more detailed url inspection, which method is being used
and sometimes more detailed header and body inspection.

In this context the firewalls need to see the message content privacy is
broadly not a concern as the message would not be on a given network if the
servers on that network were not allowed to see it. Designating trusted
firewalls could diminish the problem introduced by transport layer
encryption, but may make management of systems over time more complex.
Currently if two adjacent systems need to communicate we place a firewall
on each side of the connection. Each firewall is responsible for protecting
the system that it is member of. Changes to the other system's firewall
currently don't impact my system unless it starts to deny essential traffic=
.

Any traffic not understood by the firewall will be rejected, so certainly
any transport layer encryption must be terminated at each firewall as they
are included into a trusted chain. However it is overkill and complicates
matters to introduce this encryption on these networks which already enjoy
a combination of physical and VPN security measures.

Benjamin.

--20cf301d3c8615cbb004c5a2b7bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>Anil,</p>
<p>&gt; #1 Message level signatures<br>
&gt; Transport level security provides privacy and non repudiation at the p=
enalty of denying intermediaries the right to inspect messages and otherwis=
e be involved in a transaction. Message level security measures could bring=
 about specific benefits for http in relation to REST and practical use cas=
es. For example:<br>

On Jul 23, 2012 4:38 AM, &quot;Anil Sharma&quot; &lt;<a href=3D"mailto:asha=
rma@sandvine.com">asharma@sandvine.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I didn=E2=80=99t understand your point 1. Are you saying that no one s=
hould be allowed to inspect messages if someone wants complete privacy and =
he has enabled end to end encryption?</p>
<p>I don&#39;t see any reason to deny users the right of end to end protect=
ion. However my cases are machine to machine interactions between railway c=
ontrol systems and the like. Privacy in such environments is enforced prima=
rily by keeping networks separated and including firewalls at connection po=
ints between networks. In this context it is necessary to have visibility a=
t the firewalls of relevant information about requests: which network they =
are transiting from and to, which authority they are addressed to and somet=
imes more detailed url inspection, which method is being used and sometimes=
 more detailed header and body inspection.</p>

<p>In this context the firewalls need to see the message content privacy is=
 broadly not a concern as the message would not be on a given network if th=
e servers on that network were not allowed to see it. Designating trusted f=
irewalls could diminish the problem introduced by transport layer encryptio=
n, but may make management of systems over time more complex. Currently if =
two adjacent systems need to communicate we place a firewall on each side o=
f the connection. Each firewall is responsible for protecting the system th=
at it is member of. Changes to the other system&#39;s firewall currently do=
n&#39;t impact my system unless it starts to deny essential traffic.</p>

<p>Any traffic not understood by the firewall will be rejected, so certainl=
y any transport layer encryption must be terminated at each firewall as the=
y are included into a trusted chain. However it is overkill and complicates=
 matters to introduce this encryption on these networks which already enjoy=
 a combination of physical and VPN security measures.</p>

<p>Benjamin.</p>

--20cf301d3c8615cbb004c5a2b7bf--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 00:55:18 2012
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 B03EF21F8526 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 00:55:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.171
X-Spam-Level: 
X-Spam-Status: No, score=-9.171 tagged_above=-999 required=5 tests=[AWL=1.428, BAYES_00=-2.599, 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 JcBrwWMlZfdF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 00:55:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9BECD21F84F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 00:55:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StwQZ-0008Vp-Au for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 07:54:39 +0000
Resent-Date: Wed, 25 Jul 2012 07:54:39 +0000
Resent-Message-Id: <E1StwQZ-0008Vp-Au@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1StwQN-0008V4-Fr for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 07:54:27 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1StwQF-00018k-Av for ietf-http-wg@w3.org; Wed, 25 Jul 2012 07:54:25 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C267F22E256 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 03:53:56 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Wed, 25 Jul 2012 17:53:53 +1000
Message-Id: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1StwQF-00018k-Av 35fda795a5110f83bf405c4d3b8501ca
X-Original-To: ietf-http-wg@w3.org
Subject: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14736
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>

Next week in Vancouver, we'll discuss both the candidate proposals for =
HTTP/2.0 and whether we should re-charter to begin that work, confirming =
consensus on the list afterwards.=20

Assuming we do choose one, we'll also need to discuss the charter =
itself. To facilitate that, I've pasted a straw-man of what such a =
charter might look like below.

Please familiarise yourself with it. We can discuss on-list beforehand, =
of course, but please realise that we need to do this step-by-step, so =
don't get too far ahead of the conversation.=20

Note -- this currently JUST covers the protocol discussion, not the =
authentication half; I've omitted it because there are a few different =
ways that work might end up, and it's going to need discussion before we =
can write even straw-man charter text.

Cheers,

---8<---
This Working Group is charged with maintaining and developing
the "core" specifications for HTTP.

The Working Group's specification deliverables are:
* A document (or set of documents) that is suitable to supersede RFC =
2616 as
  the definition of HTTP/1.1 and move RFC 2817 to Historic status
* A document cataloguing the security properties of HTTP/1.1
* A document (or set of documents) that specifies HTTP/2.0, an improved
  binding of HTTP's semantics to an underlying transport.

HTTP/1.1
--------

HTTP/1.1 is one of the most successful and widely-used protocols on the
Internet today. However, its specification has several editorial issues.
Additionally, after years of implementation and extension, several
ambiguities have become evident, impairing interoperability and the =
ability
to easily implement and use HTTP.

The working group will refine RFC2616 to:
* Incorporate errata and updates (e.g., references, IANA registries,
  ABNF)
* Fix editorial problems which have led to misunderstandings of the
  specification
* Clarify conformance requirements
* Remove known ambiguities where they affect interoperability
* Clarify existing methods of extensibility
* Remove or deprecate those features that are not widely implemented and
  also unduly affect interoperability
* Where necessary, add implementation advice
* Document the security properties of HTTP and its associated mechanisms
  (e.g., Basic and Digest authentication, cookies, TLS) for common
  applications

It will also incorporate the generic authentication framework from RFC
2617, without obsoleting or updating that specification's definition of
the Basic and Digest schemes.

Finally, it will incorporate relevant portions of RFC 2817 (in
particular, the CONNECT method and advice on the use of Upgrade), so
that that specification can be moved to Historic status.

In doing so, it should consider:
* Implementer experience
* Demonstrated use of HTTP
* Impact on existing implementations and deployments

HTTP/2.0
--------

There is emerging implementation experience and interest in a protocol =
that
retains the semantics of HTTP without the legacy of HTTP/1.x message
framing and syntax, which have been identified as hampering performance =
and
encouraging misuse of the underlying transport.

The Working Group will produce a specification of a new expression of =
HTTP's
current semantics in ordered, bi-directional streams. As with HTTP/1.x,=20=

the primary target transport is TCP, but it should be possible to use
other transports.

Work will begin using XXX as a starting point; all proposals are to be =
expressed
in terms of changes to the that document.

It is expected that HTTP/2.0 will:
* Substantially and measurably improve end-user perceived latency in =
most
  cases, over HTTP/1.1 using TCP.
* Not require multiple connections to a server to enable parallelism.
* Require no more configuration or tuning than current HTTP deployments;=20=

   preferably, less.
* Retain the semantics of HTTP/1.1, leveraging existing documentation =
(see
  above), including (but not limited to) HTTP methods, status codes, =
URIs, and
  where appropriate, header fields.
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
  intermediaries (both 2->1 and 1->2).
* Clearly identify any new extensibility points and policy for their=20
  appropriate use.

The resulting specification(s) are expected to be meet these goals for =
common
existing deployments of HTTP; in particular, Web browsing (desktop and
mobile), Web serving (at a variety of scales), and intermediation (by =
proxies,
corporate firewalls, "reverse" proxies and Content Delivery Networks).

Note that this does not include uses of HTTP where non-specified =
behaviours
are relied upon (e.g., connection state such as timeouts or client =
affinity,
and "interception" proxies); these uses may or may not be enabled by the =
final
product.

Explicitly out-of-scope items include:
* Specifying the use of alternate transport protocols. Note that it
  is expected that the Working Group will define how the protocol is =
used
  with the TLS protocol.
* Specifying new semantics for HTTP (whether specific to HTTP/2 or not).=20=

  However, the Working Group may request a re-charter to start work on =
such
  items (during or after work on HTTP/2.0), provided there is consensus =
to
  do so, and it does not interfere with work on the "core" (both =
HTTP/1.x and
  HTTP/2.0).
   =20
The Working Group will prioritize HTTP/1.1 work until it is complete.


Goals and Milestones

Done	First HTTP/1.1 Revision Internet Draft
Done	First HTTP Security Properties Internet Draft
Done	Call for Proposals for HTTP/2.0
Sep 2012	Working Group Last Call for HTTP Security Properties
Sep 2012	Working Group Last Call for HTTP/1.1 Revision
Sep 2012	First WG draft of HTTP/2.0, based upon XXX
Oct 2012	Submit HTTP/1.1 Revision to IESG for consideration as a =
Proposed Standard
Oct 2012	Submit HTTP Security Properties to IESG for =
consideration as Informational RFC
Dec 2013	Working Group Last call for HTTP/2.0
Apr 2014	Submit HTTP/2.0 to IESG for consideration as a Proposed =
Standard
--->8---


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





From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 01:18:16 2012
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 8257121F8564 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 01:18:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 0i02KhFGu41Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 01:18:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2DF1321F8540 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 01:18:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Stwm4-0005uv-DV for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 08:16:52 +0000
Resent-Date: Wed, 25 Jul 2012 08:16:52 +0000
Resent-Message-Id: <E1Stwm4-0005uv-DV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Stwlt-0005uA-KW for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 08:16:41 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Stwlg-00027t-Jm for ietf-http-wg@w3.org; Wed, 25 Jul 2012 08:16:37 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id D78B23B6B9; Wed, 25 Jul 2012 08:16:06 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6P8G5VN001983; Wed, 25 Jul 2012 08:16:06 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 25 Jul 2012 17:53:53 +1000." <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 25 Jul 2012 08:16:05 +0000
Message-ID: <1982.1343204165@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Stwlg-00027t-Jm a148e649fb4a09a6d1d1bd2c97fd614b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/1982.1343204165@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14737
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>

In message <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>, Mark Nottingham wri
tes:

>Assuming we do choose one, we'll also need to discuss the charter 
>itself. To facilitate that, I've pasted a straw-man of what such a 
>charter might look like below.

>It is expected that HTTP/2.0 will:
>* Substantially and measurably improve end-user perceived latency[...]

I miss something about general efficiency (ie: loosing the non
length-prefixed fields):

  * Be optimized for computers efficiency, rather than human readability.

DoS-resistance should be an explicit goal too:

  * Provide stronger DoS resistance than HTTP/1.1, without impacting user
    perceived performance.

And I think we should aim for message protection rather than
connection protection, in order to avoid the HTTP->HTTPS upgrade
needing a new connection, and to make life easier for HTTP routers:

  * Use message based cryptographic protection, rather than connection
    based cryptographic protection.

>Explicitly out-of-scope items include:
>* Specifying the use of alternate transport protocols. Note that it
>  is expected that the Working Group will define how the protocol is used
>  with the TLS protocol.

Given that HTTP/2.0 primarily will be an alternate transport protocol,
I find this bullet needs a rewrite:

  * Specifying transport protocols other than TCP and possibly TLS.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 02:43:54 2012
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 CEEA321F85C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 02:43:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.06
X-Spam-Level: 
X-Spam-Status: No, score=-9.06 tagged_above=-999 required=5 tests=[AWL=1.539, BAYES_00=-2.599, 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 M91YzBCQhP06 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 02:43:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 495AE21F85AC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 02:43:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sty6S-0003g2-H0 for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 09:42:00 +0000
Resent-Date: Wed, 25 Jul 2012 09:42:00 +0000
Resent-Message-Id: <E1Sty6S-0003g2-H0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sty6H-0003fC-9h for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 09:41:49 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sty6A-00066V-5w for ietf-http-wg@w3.org; Wed, 25 Jul 2012 09:41:46 +0000
Received: (qmail invoked by alias); 25 Jul 2012 09:41:15 -0000
Received: from p5DD96E50.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.110.80] by mail.gmx.net (mp036) with SMTP; 25 Jul 2012 11:41:15 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19kxqJZlrBksuDVrCN5I6GzSOGZGbXbmZEJFW62ix zhzFo4yTwmwO1A
Message-ID: <500FBF37.8080705@gmx.de>
Date: Wed, 25 Jul 2012 11:41:11 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "Eric J. Bowman" <eric@bisonsystems.net>
CC: Samuel Erdtman <samuel@erdtman.se>, ietf-http-wg@w3.org
References: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com> <20120724172658.f1e7af36.eric@bisonsystems.net>
In-Reply-To: <20120724172658.f1e7af36.eric@bisonsystems.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sty6A-00066V-5w 7327e6832d3ec5a53267511546a57244
X-Original-To: ietf-http-wg@w3.org
Subject: REST and HTTP, was: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/500FBF37.8080705@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14738
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 2012-07-25 01:26, Eric J. Bowman wrote:
> Samuel Erdtman wrote:
>>
>> Have the requirements for REST APIs been considered?
>>
>
> Doesn't look like they have.  My impression, after catching up on 100's
> of posts, is that plenty of folks are ready to throw out the baby (REST)
> with the bathwater (HTTP 1).
>
> Leading me to give +1 to PHK's point, echoed by others, that starting
> with proposals before establishing goals seems to be skipping some
> steps, i.e. moving too fast.
>
> Intermediaries aren't optional to the REST style, they're integral to
> the success of the Web.  HTTP 2 should not, IMO, result in a new and
> incompatible architectural style which only scales well for those big
> companies with a global DC presence and CDNs.
> ...

Do you have REST-related concerns beyond the ones related to 
intermediaries (which I share)?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 02:47:08 2012
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 D53FE21F8577 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 02:47:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.083
X-Spam-Level: 
X-Spam-Status: No, score=-9.083 tagged_above=-999 required=5 tests=[AWL=1.516, BAYES_00=-2.599, 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 HC2B-3zzmwW0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 02:47:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A0D921F8568 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 02:47:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1StyAp-0007DF-Pb for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 09:46:31 +0000
Resent-Date: Wed, 25 Jul 2012 09:46:31 +0000
Resent-Message-Id: <E1StyAp-0007DF-Pb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1StyAe-0007CU-Ek for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 09:46:20 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1StyAY-0006Fe-Ly for ietf-http-wg@w3.org; Wed, 25 Jul 2012 09:46:20 +0000
Received: (qmail invoked by alias); 25 Jul 2012 09:45:47 -0000
Received: from p5DD96E50.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.110.80] by mail.gmx.net (mp002) with SMTP; 25 Jul 2012 11:45:47 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/919UE5jD9N21RY7l1Kw5AiCB7VYRJGClwpKO3Wv FYdESus+Ssp26k
Message-ID: <500FC049.2020102@gmx.de>
Date: Wed, 25 Jul 2012 11:45:45 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
In-Reply-To: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1StyAY-0006Fe-Ly e3554c8a0743278ecb2f105782323e64
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/500FC049.2020102@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14739
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 2012-07-25 09:53, Mark Nottingham wrote:
> Next week in Vancouver, we'll discuss both the candidate proposals for HTTP/2.0 and whether we should re-charter to begin that work, confirming consensus on the list afterwards.
>
> Assuming we do choose one, we'll also need to discuss the charter itself. To facilitate that, I've pasted a straw-man of what such a charter might look like below.
>
> Please familiarise yourself with it. We can discuss on-list beforehand, of course, but please realise that we need to do this step-by-step, so don't get too far ahead of the conversation.
>
> Note -- this currently JUST covers the protocol discussion, not the authentication half; I've omitted it because there are a few different ways that work might end up, and it's going to need discussion before we can write even straw-man charter text.
>
> Cheers,
>
> ---8<---
> This Working Group is charged with maintaining and developing
> the "core" specifications for HTTP.
>
> The Working Group's specification deliverables are:
> * A document (or set of documents) that is suitable to supersede RFC 2616 as
>    the definition of HTTP/1.1 and move RFC 2817 to Historic status
> * A document cataloguing the security properties of HTTP/1.1

If we are serious about that one, we'll need to restart work on it :-)

> ...
> The Working Group will prioritize HTTP/1.1 work until it is complete.

+1000

> ...
> Sep 2012	Working Group Last Call for HTTP Security Properties

This one appears to be very optimistic.

 > ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 05:05:50 2012
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 23B3421F857D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 05:05:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.439
X-Spam-Level: 
X-Spam-Status: No, score=-10.439 tagged_above=-999 required=5 tests=[AWL=0.160, BAYES_00=-2.599, 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 uxAq9f-sUio7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 05:05:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1B14221F8562 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 05:05:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su0JQ-00088Q-98 for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 12:03:32 +0000
Resent-Date: Wed, 25 Jul 2012 12:03:32 +0000
Resent-Message-Id: <E1Su0JQ-00088Q-98@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Su0JB-00086p-BT for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 12:03:17 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Su0J0-0001K4-Rd for ietf-http-wg@w3.org; Wed, 25 Jul 2012 12:03:17 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 371AE10E7A7 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 00:02:40 +1200 (NZST)
Message-ID: <500FE058.1000005@treenet.co.nz>
Date: Thu, 26 Jul 2012 00:02:32 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
In-Reply-To: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Su0J0-0001K4-Rd f8c3ec219e93a32b1f07fe619e321d92
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/500FE058.1000005@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14740
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 25/07/2012 7:53 p.m., Mark Nottingham wrote:
> Next week in Vancouver, we'll discuss both the candidate proposals for HTTP/2.0 and whether we should re-charter to begin that work, confirming consensus on the list afterwards.
>
> Assuming we do choose one, we'll also need to discuss the charter itself. To facilitate that, I've pasted a straw-man of what such a charter might look like below.
>
> Please familiarise yourself with it. We can discuss on-list beforehand, of course, but please realise that we need to do this step-by-step, so don't get too far ahead of the conversation.
>
> Note -- this currently JUST covers the protocol discussion, not the authentication half; I've omitted it because there are a few different ways that work might end up, and it's going to need discussion before we can write even straw-man charter text.
>
> Cheers,
>
> ---8<---
> This Working Group is charged with maintaining and developing
> the "core" specifications for HTTP.
>
> The Working Group's specification deliverables are:
> * A document (or set of documents) that is suitable to supersede RFC 2616 as
>    the definition of HTTP/1.1 and move RFC 2817 to Historic status
> * A document cataloguing the security properties of HTTP/1.1
> * A document (or set of documents) that specifies HTTP/2.0, an improved
>    binding of HTTP's semantics to an underlying transport.
>
> HTTP/1.1
> --------
>
> HTTP/1.1 is one of the most successful and widely-used protocols on the
> Internet today. However, its specification has several editorial issues.
> Additionally, after years of implementation and extension, several
> ambiguities have become evident, impairing interoperability and the ability
> to easily implement and use HTTP.
>
> The working group will refine RFC2616 to:
> * Incorporate errata and updates (e.g., references, IANA registries,
>    ABNF)
> * Fix editorial problems which have led to misunderstandings of the
>    specification
> * Clarify conformance requirements
> * Remove known ambiguities where they affect interoperability
> * Clarify existing methods of extensibility
> * Remove or deprecate those features that are not widely implemented and
>    also unduly affect interoperability
> * Where necessary, add implementation advice
> * Document the security properties of HTTP and its associated mechanisms
>    (e.g., Basic and Digest authentication, cookies, TLS) for common
>    applications
>
> It will also incorporate the generic authentication framework from RFC
> 2617, without obsoleting or updating that specification's definition of
> the Basic and Digest schemes.
>
> Finally, it will incorporate relevant portions of RFC 2817 (in
> particular, the CONNECT method and advice on the use of Upgrade), so
> that that specification can be moved to Historic status.
>
> In doing so, it should consider:
> * Implementer experience
> * Demonstrated use of HTTP
> * Impact on existing implementations and deployments
>
> HTTP/2.0
> --------
>
> There is emerging implementation experience and interest in a protocol that
> retains the semantics of HTTP without the legacy of HTTP/1.x message
> framing and syntax, which have been identified as hampering performance and
> encouraging misuse of the underlying transport.
>
> The Working Group will produce a specification of a new expression of HTTP's
> current semantics in ordered, bi-directional streams. As with HTTP/1.x,
> the primary target transport is TCP, but it should be possible to use
> other transports.
>
> Work will begin using XXX as a starting point; all proposals are to be expressed
> in terms of changes to the that document.

I just think I'll throw a spanner in the general direction of the works 
here....

How realistic is it to expect the HTTPbis 1.1 draft documents fill that 
role? At least we can guarantee that modifications to adjust them for 
2.0 specifics will not loose or add any features unintentionally that 
could affect HTTP/1.1 compatibility.


>
> It is expected that HTTP/2.0 will:
> * Substantially and measurably improve end-user perceived latency in most
>    cases, over HTTP/1.1 using TCP.

"measureably ... perceived" does not stack up.
Surely we can aim for actual measurable efficiency rather than just 
perceived.

Possibly also improvement over *optimized* 1.1 would be a good aim.

> * Not require multiple connections to a server to enable parallelism.
+1.

> * Require no more configuration or tuning than current HTTP deployments;
>     preferably, less.

What do you means by this?

> * Retain the semantics of HTTP/1.1, leveraging existing documentation (see
>    above), including (but not limited to) HTTP methods, status codes, URIs, and
>    where appropriate, header fields.

see above regarding "XXX as a starting point".

> * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>    intermediaries (both 2->1 and 1->2).
> * Clearly identify any new extensibility points and policy for their
>    appropriate use.

+1.

>
> The resulting specification(s) are expected to be meet these goals for common
> existing deployments of HTTP; in particular, Web browsing (desktop and
> mobile), Web serving (at a variety of scales), and intermediation (by proxies,
> corporate firewalls, "reverse" proxies and Content Delivery Networks).
>
> Note that this does not include uses of HTTP where non-specified behaviours
> are relied upon (e.g., connection state such as timeouts or client affinity,
> and "interception" proxies); these uses may or may not be enabled by the final
> product.
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport protocols. Note that it
>    is expected that the Working Group will define how the protocol is used
>    with the TLS protocol.
> * Specifying new semantics for HTTP (whether specific to HTTP/2 or not).
>    However, the Working Group may request a re-charter to start work on such
>    items (during or after work on HTTP/2.0), provided there is consensus to
>    do so, and it does not interfere with work on the "core" (both HTTP/1.x and
>    HTTP/2.0).

+1. Although I predict that having multiplexing on the table will bring 
up the need for new hop-by-hop features on 2.0 connections. Specifically 
flow control features.

Amos


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 05:26:55 2012
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 36E9221F84F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 05:26:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.016
X-Spam-Level: 
X-Spam-Status: No, score=-9.016 tagged_above=-999 required=5 tests=[AWL=1.583, BAYES_00=-2.599, 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 F3ODUjMEX9MY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 05:26:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8750621F852E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 05:26:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su0dF-0001aU-4V for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 12:24:01 +0000
Resent-Date: Wed, 25 Jul 2012 12:24:01 +0000
Resent-Message-Id: <E1Su0dF-0001aU-4V@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su0d3-0001Zj-UU for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 12:23:49 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su0cz-00047f-GG for ietf-http-wg@w3.org; Wed, 25 Jul 2012 12:23:49 +0000
Received: by vbbfq11 with SMTP id fq11so506020vbb.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 05:23:19 -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=+syM/jSDrhZvUwHFR5b3tYuB+Hh5K+DY+sV14YeO9jI=; b=nlbeAu3CYusxj/NkXdNMsKHMYDkevaGK+j9h/yRUdtf4CdzSGupOJApAyfnULa9sFY C5T7MezJQjcS2V2/Et+g7yNaaXVf2HZj56C3m+8SWy0pN1eH8cINH4w/8HVLHWMGUs7C ebXPEwlVqBDpMWy2ObL7mJa3COtUR123NBM7/6EpMLCal88zWvIH5p4+dQJeM2ld4x2Q r/+ojH6ATcqx5mLpb5F45PQ++HAxPaAFVRSW6Bnd3SLtgXu3ReTCdOAdtWNdOBW8axZT SnS+z/djUNJMwOO8G29E4HXcTft2jA9hSn7kZ/nHayj48wUTOp/slOrLY/EWKkTeYvlu b09w==
MIME-Version: 1.0
Received: by 10.52.35.233 with SMTP id l9mr15818781vdj.7.1343218999534; Wed, 25 Jul 2012 05:23:19 -0700 (PDT)
Received: by 10.58.56.227 with HTTP; Wed, 25 Jul 2012 05:23:19 -0700 (PDT)
In-Reply-To: <500FBF37.8080705@gmx.de>
References: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com> <20120724172658.f1e7af36.eric@bisonsystems.net> <500FBF37.8080705@gmx.de>
Date: Wed, 25 Jul 2012 08:23:19 -0400
Message-ID: <CAMm+LwiKByDLxzg9yN55tV2jgJ-VpWWrnJ55-vymjiP6MxqYuw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "Eric J. Bowman" <eric@bisonsystems.net>, Samuel Erdtman <samuel@erdtman.se>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Su0cz-00047f-GG 55875847e6d686ca1b2ea58c6ba0dea7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: REST and HTTP, was: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/CAMm+LwiKByDLxzg9yN55tV2jgJ-VpWWrnJ55-vymjiP6MxqYuw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14741
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>

Since REST is a particular style constraint on Web Service protocol
design, the requirements of REST should logically be a subset of the
requirements for unconstrained Web Service protocol design.


On Wed, Jul 25, 2012 at 5:41 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-07-25 01:26, Eric J. Bowman wrote:
>>
>> Samuel Erdtman wrote:
>>>
>>>
>>> Have the requirements for REST APIs been considered?
>>>
>>
>> Doesn't look like they have.  My impression, after catching up on 100's
>> of posts, is that plenty of folks are ready to throw out the baby (REST)
>> with the bathwater (HTTP 1).
>>
>> Leading me to give +1 to PHK's point, echoed by others, that starting
>> with proposals before establishing goals seems to be skipping some
>> steps, i.e. moving too fast.
>>
>> Intermediaries aren't optional to the REST style, they're integral to
>> the success of the Web.  HTTP 2 should not, IMO, result in a new and
>> incompatible architectural style which only scales well for those big
>> companies with a global DC presence and CDNs.
>> ...
>
>
> Do you have REST-related concerns beyond the ones related to intermediaries
> (which I share)?
>
> Best regards, Julian
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 07:17:12 2012
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 4B97E21F85F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 07:17:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.245
X-Spam-Level: 
X-Spam-Status: No, score=-10.245 tagged_above=-999 required=5 tests=[AWL=0.353, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 uDJkFv-Da6Ge for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 07:17:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 457D921F85F0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 07:17:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su2MN-0004IG-VE for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 14:14:44 +0000
Resent-Date: Wed, 25 Jul 2012 14:14:43 +0000
Resent-Message-Id: <E1Su2MN-0004IG-VE@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Su2M6-0004F7-95 for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 14:14:26 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Su2Lz-0006He-6o for ietf-http-wg@w3.org; Wed, 25 Jul 2012 14:14:26 +0000
Received: by wibhq4 with SMTP id hq4so697973wib.8 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 07:13:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FSMEn9akCMmQwWrLlx816UW1nYXtn9ubU0CEd/GmxMo=; b=O9RV4CrGu0P1LhOjXnsZNpC6hz/B5Iorcc2+0j+wslbVXcFWXa/4ckDRfR/fhEAiFR TESwUFxUBghIdQwZl2HC86fBZ/Aph9C6CkSPuIoQ8sdAurEyCB/GAev1kWRuaYDqzPaI f+JviYxDkJYgPYCov6l0Zv9myk5hF6vBeSX0dqwjQsQHjoNoDP92x3+DnGAePeElpuXT aXcimFu7UapQDSExUcwxEkkS9rCCrzuHesZyOkdwJtefRdfUmtKc8wC+Qd9QCSpYPyvp JUDqhyivnT3Wxq3zgzS6SseJC/W38tz4GN+BOW9iMisRPEND84/7+/UGjzqXFMQ4LjXr 3glw==
Received: by 10.216.221.74 with SMTP id q52mr12189356wep.181.1343225632731; Wed, 25 Jul 2012 07:13:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 25 Jul 2012 07:13:32 -0700 (PDT)
In-Reply-To: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 25 Jul 2012 07:13:32 -0700
Message-ID: <CABP7Rbf19rsEY9ZeJte8=7gByx=QUbaedQ=VLsxmWk4pP3FbCw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bcab130d604c5a816d1
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Su2Lz-0006He-6o d1121f19338d902f623df76793e2782b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CABP7Rbf19rsEY9ZeJte8=7gByx=QUbaedQ=VLsxmWk4pP3FbCw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14742
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>

--0016e6471bcab130d604c5a816d1
Content-Type: text/plain; charset=UTF-8

On Wed, Jul 25, 2012 at 12:53 AM, Mark Nottingham <mnot@mnot.net> wrote:

> [snip]
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport protocols. Note that it
>   is expected that the Working Group will define how the protocol is used
>   with the TLS protocol.
> * Specifying new semantics for HTTP (whether specific to HTTP/2 or not).
>   However, the Working Group may request a re-charter to start work on such
>   items (during or after work on HTTP/2.0), provided there is consensus to
>   do so, and it does not interfere with work on the "core" (both HTTP/1.x
> and
>   HTTP/2.0).

[snip]

I do not believe new semantics should be entirely out of scope within the
new charter. Particularly in that there are opportunities to..

A) Utilize the transport more efficiently through the use of
binary-encodings of header fields
B) Improve internationalization support by requiring UTF-8 in
character-based header values
C) Improve intermediary support through the introduction of protocol-level
routing tokens that can begin to replace the clumsy and hackish use of
cookies
D) Explore the possibility of in-stream encryption and integrity mechanisms
such as my proposed SPDY KEY_NEGO frame.
E) Provide for millisecond-level resolution within date headers,
particularly Last-Modified and If-Modified-Since
F) Require support for trailing headers

And I'm sure there are others that simply aren't coming to mind at the
moment. Yes, each possible change or addition to existing semantics would
need to be carefully considered with backwards compatibility in mind, and
we would need to carefully consider each individual change.

--0016e6471bcab130d604c5a816d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Jul 25, 2012 at 12:53 AM, Mark Nottingham <span dir=3D"ltr">&lt=
;<a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">[snip]<br>
<br>
Explicitly out-of-scope items include:<br>
* Specifying the use of alternate transport protocols. Note that it<br>
=C2=A0 is expected that the Working Group will define how the protocol is u=
sed<br>
=C2=A0 with the TLS protocol.<br>
* Specifying new semantics for HTTP (whether specific to HTTP/2 or not).<br=
>
=C2=A0 However, the Working Group may request a re-charter to start work on=
 such<br>
=C2=A0 items (during or after work on HTTP/2.0), provided there is consensu=
s to<br>
=C2=A0 do so, and it does not interfere with work on the &quot;core&quot; (=
both HTTP/1.x and<br>
=C2=A0 HTTP/2.0).</blockquote><div>[snip]=C2=A0</div><div><br></div><div>I =
do not believe new semantics should be entirely out of scope within the new=
 charter. Particularly in that there are opportunities to..</div><div><br><=
/div>

<div>A) Utilize the transport more efficiently through the use of binary-en=
codings of header fields</div><div>B) Improve internationalization support =
by requiring UTF-8 in character-based header values</div><div>C) Improve in=
termediary support through the introduction of protocol-level routing token=
s that can begin to replace the clumsy and hackish use of cookies</div>

<div>D) Explore the possibility of in-stream encryption and integrity mecha=
nisms such as my proposed SPDY KEY_NEGO frame.</div><div>E) Provide for mil=
lisecond-level resolution within date headers, particularly Last-Modified a=
nd If-Modified-Since</div>

<div>F) Require support for trailing headers</div><div><br></div><div>And I=
&#39;m sure there are others that simply aren&#39;t coming to mind at the m=
oment. Yes, each possible change or addition to existing semantics would ne=
ed to be carefully considered with backwards compatibility in mind, and we =
would need to carefully consider each individual change.=C2=A0</div>

</div><br>

--0016e6471bcab130d604c5a816d1--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 10:02:41 2012
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 6016E21F86DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 10:02:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.032
X-Spam-Level: 
X-Spam-Status: No, score=-9.032 tagged_above=-999 required=5 tests=[AWL=1.567, BAYES_00=-2.599, 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 NZxF8UaBXkTS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 10:02:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6F29121F86DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 10:02:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su4wo-0007cY-0X for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 17:00:30 +0000
Resent-Date: Wed, 25 Jul 2012 17:00:30 +0000
Resent-Message-Id: <E1Su4wo-0007cY-0X@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su4wX-0007bB-Nu for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 17:00:13 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su4wT-0008WD-D1 for ietf-http-wg@w3.org; Wed, 25 Jul 2012 17:00:13 +0000
Received: by vcdd16 with SMTP id d16so790997vcd.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 09:59:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FTlrdCv5nezNOMmyGAcbzlnuGPk2kmqttNE1Hdhu5DE=; b=kedSXjgKKGsLLWzGbPmzTnQ/ggEZOjc++9LbYffl0HfJOANJ0htnS+XdemKmApWGlo 0/heROuFigmFMO0/XIlsKowTjWqPJpFEaWhCWPwSAV3pxqC0ygm6f1atbWSYMme7uSkx 3kc/Pdj8In9C3d/UryS2NvqEeU/rp+YsOuwzj7NZznkILknBqlzDLiuOiIIdsT3mQ+Mg +2xqy6QhuiEqhdV51CHMdHMuEXQBSMKV+xqcUH9IdL5jspLam5ZIq0EtvqKnZjij0ipU 3dTVwiAtNqnmrae8nmAUNM1e5T56kfgBypTIwFqg5t+qr5OTYoiLODrKB0FpEcwbQqZO wWLA==
MIME-Version: 1.0
Received: by 10.52.16.212 with SMTP id i20mr16630081vdd.118.1343235583112; Wed, 25 Jul 2012 09:59:43 -0700 (PDT)
Received: by 10.58.56.227 with HTTP; Wed, 25 Jul 2012 09:59:43 -0700 (PDT)
Date: Wed, 25 Jul 2012 12:59:43 -0400
Message-ID: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Su4wT-0008WD-D1 e1f247ad48dd174fe1be06439757af19
X-Original-To: ietf-http-wg@w3.org
Subject: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14743
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 have been thinking a lot about Web Services and how their security
needs should be met in HTTP/2.0. I came up with some thoughts that
might provoke discussion:

0) The killer application for HTTP/2.0 (if any) is going to be Web
Services. Anyone supporting a Web server is going to have to support
/1.1 for decades to come. A new Web Service can stipulate HTTP/2.0
transport as a requirement.

1) TLS security is good for what it does, but it is still transport
security and will therefore be hop-by-hop as far as intermediaries are
concerned. This gives rise to the need for security features in HTTP
that are orthogonal to TLS and can survive passage through an
intermediary.

2) Multiplexing changes the nature of Web Services security and allows
for a significant simplification. Under HTTP/1.1 a Web Service that
takes a message from A and forwards it to B has to modify the content
if it is going to provide additional information in the transaction.
This constraint no longer applies under multiplexing.

3) HTTP security controls should only secure content. Signing headers
is not only difficult, it is often counterproductive. If a Web service
depends on information in a header there is probably something wrong.


This last one might seem a little controversial, after all, doesn't
DKIM have a mechanism for header signing? DKIM does have a header
signing mechanism but the headers being signed should probably have
been content in the first place. The subject line, From, To, these are
all message content. They are part of the headers because content and
routing are conflated in SMTP email.

HTTP does have a similar conflation, but nowhere near as severe.
Content is mostly confined to the body and Routing is strictly
confined to the Head. The parts that cross the line are
Content-Encoding and Content-Type. Both of which are ignored in a Web
Services context almost all the time.  Yes, a Web Service could
support multiple character encodings but I cannot see any case where I
would want the service to use Content-Encoding to make the choice.


>From these I draw the following conclusions:

* HTTP 2.0 should draw a distinction between routing headers and
content meta-data
* HTTP encryption and authentication are necessary independent of TLS support

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 10:08:43 2012
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 352BA21F86E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 10:08:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.563
X-Spam-Level: 
X-Spam-Status: No, score=-9.563 tagged_above=-999 required=5 tests=[AWL=1.035, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 FrlJKBQHN1P1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 10:08:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 82F7021F86E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 10:08:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su53M-0001W3-PU for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 17:07:16 +0000
Resent-Date: Wed, 25 Jul 2012 17:07:16 +0000
Resent-Message-Id: <E1Su53M-0001W3-PU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Su53B-0001Ts-Rd for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 17:07:05 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Su535-0000Y1-Vg for ietf-http-wg@w3.org; Wed, 25 Jul 2012 17:07:05 +0000
Received: by wgbdq12 with SMTP id dq12so143725wgb.26 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 10:06:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lXqFKgPJ7liANwHoDTywVHWp6OVZlboJW3tlMWYCscU=; b=B115tr3Mu7rXFIjMl3R9sSyh5gxB9AhM6l9sCBl0ORntrGqPzdE6qBiJ11I2DYgaBc oy9aTPu/YSs82c/92VF5scrK1ahWt2p2U5A1j7BnnjId6wYJaZDa2sRw8OCOWB3WrzFB HaJtZi6uYeUz8gQDOTpRHg9wFOhyKxoRk02sGEyH0jJKiFhplkUBUMtHiUEpqKuZ/cCq 9IJkFu3C+mpHNO3ASbvBUFl8Qn7ewtvqWYC5QSbtS8BSfJ6uRC5rV1VR7cDTIJzELoUd yQbROmLXVdGYvVqC0jpMgBs5rt9ncr7ITqnkLCD2gI87WcDgq2zAIZEb9X/KmyTROh3A OtqQ==
Received: by 10.216.221.74 with SMTP id q52mr12465948wep.181.1343235993388; Wed, 25 Jul 2012 10:06:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 25 Jul 2012 10:06:13 -0700 (PDT)
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 25 Jul 2012 10:06:13 -0700
Message-ID: <CABP7RbcoUZpH4CG2afa0o2Ps9Oe+njFkCfvZ33sAw3PnujDRKw@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca3c469104c5aa8009
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Su535-0000Y1-Vg ba2b5671323c2912f8b40268674064ff
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CABP7RbcoUZpH4CG2afa0o2Ps9Oe+njFkCfvZ33sAw3PnujDRKw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14744
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>

--0016e6471bca3c469104c5aa8009
Content-Type: text/plain; charset=UTF-8

+1

On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> [snip]
> >From these I draw the following conclusions:
>
> * HTTP 2.0 should draw a distinction between routing headers and
> content meta-data
> * HTTP encryption and authentication are necessary independent of TLS
> support
>
> --
> Website: http://hallambaker.com/
>
>

--0016e6471bca3c469104c5aa8009
Content-Type: text/html; charset=UTF-8

<font face="courier new,monospace">+1<br></font><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <span dir="ltr">&lt;<a href="mailto:hallam@gmail.com" target="_blank">hallam@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[snip]<br>
&gt;From these I draw the following conclusions:<br>
<br>
* HTTP 2.0 should draw a distinction between routing headers and<br>
content meta-data<br>
* HTTP encryption and authentication are necessary independent of TLS support<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Website: <a href="http://hallambaker.com/" target="_blank">http://hallambaker.com/</a><br>
<br>
</font></span></blockquote></div><br>

--0016e6471bca3c469104c5aa8009--


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 10:50:41 2012
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 6591721F86CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 10:50:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 j10rx3ODzssv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 10:50:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C974921F8681 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 10:50:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su5hX-0007fL-Aw for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 17:48:47 +0000
Resent-Date: Wed, 25 Jul 2012 17:48:47 +0000
Resent-Message-Id: <E1Su5hX-0007fL-Aw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1Su5hM-0007eD-0o for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 17:48:36 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <paul.hoffman@gmail.com>) id 1Su5hK-0002E0-Rc for ietf-http-wg@w3.org; Wed, 25 Jul 2012 17:48:35 +0000
Received: by vcdd16 with SMTP id d16so835474vcd.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 10:48:09 -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=V/5jwubrS5OAeTvOZpRbzqr7HGYenWVUdgU0ieaOiQY=; b=u4ZaCOXMkTIfigQHQktQvdXrUOKmL0bNqQU9tPFuMi7uFb+JMHi+FQNJsQrSFF50oV n2yrhLTwWCSXrxPlJAHt5HI0YvlFk5GrCTM0se1xD48LDwwnhP3nAMTDPFD0TmtTaRQy Ugp2iiTL7alaaRcD0zZllyx4KLBxZud0yjGL/JkUoGx6ThGgtbrOLSdtb1ljre2TKQBl HOGFCOZdOCuGkJqIdODDxrG3K6FQ65g/0ZqhsGDMo+3TkmcG0w/lbU20Koo+/Msj8tja V+YAyXo92abHNpy7a8rH4SpiHX8X9PLDQIWp3tR17DEfbtFH/loYvMNT+12F9JuQsZp2 wzPQ==
MIME-Version: 1.0
Received: by 10.52.72.79 with SMTP id b15mr16499056vdv.13.1343238488917; Wed, 25 Jul 2012 10:48:08 -0700 (PDT)
Received: by 10.58.244.196 with HTTP; Wed, 25 Jul 2012 10:48:08 -0700 (PDT)
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Date: Wed, 25 Jul 2012 10:48:08 -0700
Message-ID: <CAPik8yaYLRuej=cZCLq8Bubveso=N+__TpgPONzq+8rAvvPUJQ@mail.gmail.com>
From: Paul Hoffman <paul.hoffman@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.220.171; envelope-from=paul.hoffman@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1Su5hK-0002E0-Rc c6f3183263fbf6c84f38e9b6e7451020
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAPik8yaYLRuej=cZCLq8Bubveso=N+__TpgPONzq+8rAvvPUJQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14745
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 Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> . . . long discussion differentiating HTTP headers and body . . .

> From these I draw the following conclusions:
>
> * HTTP 2.0 should draw a distinction between routing headers and
> content meta-data
> * HTTP encryption and authentication are necessary independent of TLS support

Just to be clear, that last bullet should be "Encryption and
authentication of HTTP bodies are necessary independent of TLS
support", yes?


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 11:01:10 2012
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 2353E21F8710 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:01:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 u5pYxj+MjODa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:01:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3C7B921F8702 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 11:01:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su5sF-0002hC-3Z for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 17:59:51 +0000
Resent-Date: Wed, 25 Jul 2012 17:59:51 +0000
Resent-Message-Id: <E1Su5sF-0002hC-3Z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1Su5s4-0002fy-BM for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 17:59:40 +0000
Received: from mailbackend.panix.com ([166.84.1.89]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1Su5s3-0002sc-3i for ietf-http-wg@w3.org; Wed, 25 Jul 2012 17:59:40 +0000
Received: from [192.168.15.5] (unknown [184.78.58.209]) by mailbackend.panix.com (Postfix) with ESMTP id BEA9628317; Wed, 25 Jul 2012 13:59:17 -0400 (EDT)
Message-ID: <501033F7.8040805@panix.com>
Date: Wed, 25 Jul 2012 12:59:19 -0500
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.89; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Su5s3-0002sc-3i 66420c11653a2db1bac768cfdc149eaf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/501033F7.8040805@panix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14746
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>

> HTTP does have a similar conflation, but nowhere near as severe.
> Content is mostly confined to the body and Routing is strictly
> confined to the Head. The parts that cross the line are
> Content-Encoding and Content-Type. Both of which are ignored in a Web
> Services context almost all the time.  Yes, a Web Service could
> support multiple character encodings but I cannot see any case where I
> would want the service to use Content-Encoding to make the choice.

This seems like a reasonable position for web services, but HTTP is also 
a transport for HTML in the context of web browsers, which when mixed 
with JavaScript and dynamic HTML, have done a remarkable job of 
confusing content with metadata, and declarative markup with 
Turning-complete languages.

There must be some security attacks which involve corrupting the headers 
or the request. Maybe HTTP/2.0 will have better framing to resist this.

"HTTP Request Splitting" comes to mind, or maybe adding a 
Content-Disposition header.

You may be right, though that it's easier to apply some kinds of 
security (signing or encryption) to a payload.



From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 11:11:19 2012
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 6ECEB21F8735 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:11:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 TfS53hx6gWZF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:11:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5DFCB21F8734 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 11:11:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su61p-0000W7-P5 for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 18:09:45 +0000
Resent-Message-Id: <E1Su61p-0000W7-P5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Su61j-0000VT-P2 for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 18:09:39 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1Su61j-0007lR-Ms for ietf-http-wg@w3.org; Wed, 25 Jul 2012 18:09:39 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1Su61j-0001Fo-GQ for ietf-http-wg@w3.org; Wed, 25 Jul 2012 14:09:39 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1Stwhg-0002iY-Mg for ylafon@jay.w3.org; Wed, 25 Jul 2012 04:12:20 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Stwhg-00008A-IK for ylafon@w3.org; Wed, 25 Jul 2012 08:12:20 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Stwhg-0002Y7-Cm for ylafon@w3.org; Wed, 25 Jul 2012 08:12:20 +0000
Date: Wed, 25 Jul 2012 08:12:20 +0000
X-From_: fuzzybsc@gmail.com Wed Jul 25 08:12:13 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1StwhZ-0002XQ-QO for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 08:12:13 +0000
X-Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1StwhU-00005r-0e for ietf-http-wg@w3.org; Wed, 25 Jul 2012 08:12:13 +0000
X-Received: by ggmi1 with SMTP id i1so410282ggm.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 01:11:42 -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=icDxLpE53erh3s4cCexonyZkWxsZkWEZEXmgmYERncU=; b=Vak9jU4FiKREBZSbmEu2HAqj6rflgvoPwblgZC2DbV1p5+YEVau5+e417RJ/EOQ9A0 Nj1n6Hc003fQRVejmWfO8dsqyHOr01HCScQMWHIgSYh6Lev/kWVK1weLPMrcSUDffdPm SNPrO3PU2XcEwTU9WUbcSngsnv/v/X6Ok7rBPcI2jY+q2dvWx08UQeuGvIyMS/Iso2+o VFqCgDu+dYoURWb39/S/QoXZzS0F6UGx2dKIyl9ooe9oiD7V9ReO3BHeDjws5aDqLkX5 0Q/Em1khZLWY3XdRbmVhjFtA2pTHsc6ondFuezmXc9Gz3vaU8JRFdy2GXiiOkkm852CC kcDQ==
MIME-Version: 1.0
X-Received: by 10.43.92.71 with SMTP id bp7mr22712239icc.52.1343203902189; Wed, 25 Jul 2012 01:11:42 -0700 (PDT)
X-Received: by 10.64.52.231 with HTTP; Wed, 25 Jul 2012 01:11:42 -0700 (PDT)
X-Received: by 10.64.52.231 with HTTP; Wed, 25 Jul 2012 01:11:42 -0700 (PDT)
In-Reply-To: <500C7040.5060501@treenet.co.nz>
References: <CAN2g+6YVnMkv9=fhWRSTHJk=eik4TUG5juA4ve=G6NR6T5w=xg@mail.gmail.com> <CAN2g+6bRGZp8b4jAZc7dDrVsz9c8Tw3y8QjvZ_Rn1vtUJa+YXw@mail.gmail.com> <CAN2g+6YCyzjXO=qvZTMm7m9CkxkAfvcnBLzVV0Fh4Nxbe0ogjg@mail.gmail.com> <CAN2g+6YL9MJOymrSSUsaRNNwgTYT6vEPFyNotoB7FNhqskJsDA@mail.gmail.com> <CAN2g+6bdyLeaufwwR9HQmHnCfCdyHxJH8zEZLH2d4JFR99tAyg@mail.gmail.com> <CAN2g+6Z+xF4iOH2L32G0zgPEgcMj4aqK3X0hEL=Yc9g=Q_VqBA@mail.gmail.com> <CAN2g+6Z=7HkpjUfZkWA95gz6zLt3tR4yRGkvuFHELGh2ZJLFNQ@mail.gmail.com> <CAN2g+6a_nQPfr3vQJw=WTL_Nab6+1Vqi-yMUS_iNkn4ZBWtLPQ@mail.gmail.com> <CAN2g+6a1WODtAbY1_OsTGYrUxvAXwVGyrPPy6wtKurF2Aqdq6Q@mail.gmail.com> <CAP+FsNeppjYV8EBZeyYun9EbRi5TVx+G8P3oy44SB2Rwx9+f4w@mail.gmail.com> <500C7040.5060501@treenet.co.nz>
Old-Date: Wed, 25 Jul 2012 18:11:42 +1000
Message-ID: <CAN2g+6a5oh9vBbfQQ=_9NCEoXHgaKcx1qNzPazkeo+Yby6oN3w@mail.gmail.com>
From: Benjamin Carlyle <fuzzybsc@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec5186bf6736f9104c5a3074e
Received-SPF: pass client-ip=209.85.161.171; envelope-from=fuzzybsc@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1StwhU-00005r-0e b88be9d4e4b19172c07a6eab8b29ee53
Old-X-Envelope-To: ietf-http-wg
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Jul 25 04:12:21 2012
X-DSPAM-Confidence: 0.9995
X-DSPAM-Improbability: 1 in 190920 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 500faa65104561222944467
ReSent-Date: Wed, 25 Jul 2012 14:09:34 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: Benjamin Carlyle http 2.0 expression of interest
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Carlyle http 2.0 expression of interest
Archived-At: <http://www.w3.org/mid/CAN2g+6a5oh9vBbfQQ=_9NCEoXHgaKcx1qNzPazkeo+Yby6oN3w@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14747
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>

--bcaec5186bf6736f9104c5a3074e
Content-Type: text/plain; charset=UTF-8

On Jul 23, 2012 7:30 AM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>> > #5 A must understand model
>> > Currently if a new feature is added to http requests that must be
understood servers the client must use a new http method to ensure that a
server who does not understand will reject the request. Perhaps it is time
to introduce a more refined model. My thinking is a must understand header
that consists of tokens/urls stating special requirements the server must
fulfil before accepting the message for processing. The client could
include an additional header that indicates its own supported features to
allow the server to tailor its own processing or potentially reject the
request.
>
> This was tried with Expect. It broke rollout of new features in a lot of
areas. Software lifetimes at the deeper levels of the network is measured
in cycles of 5-10 years. They simply wont be able to keep up with new
header/feature additions. At present they can at least pass-thru by default.

I agree that the hop by hop nature of the Expect header is not useful. I
was looking more towards an end to end model. For example, say a client
wants its server to only execute a transaction if it promises to check a
given precondition first. If the precondition is not understood and is
ignored the client will be in dire straits due to the action being executed
when it should not have been. This seems to me the main useful use cases
for a must understand semantic.

>> > #6 An idempotent POST
>> > It would be helpful to have a way to idempotently POST new state. My
preference would be for the client to be able to supply a unique identifier
as part of its request that can be used by the server to ignore repeated
instances of the message, preferably as a uuid or guid in uri form or other
unique uris.
>> This would require an API change for browsers if this was exposed to
webapp designers as well.
>
> How does this differ from GET with query string and entity?
> The base portion of the URL is the processor script/app address and the
query portion of the URL is a UUID within that particular URI processor
space. Together they form a GUID.
>
> In order to be idempotent the URI alone must be able to be used by caches
to produce a correct response without the entity being even received.
>
> When you have a client implementation that is tied so closely together
with the server that it can identify what UUID generation algorithm the
server will be using AND the data points the server will use to generate
it. You can make any request idempotent with ETag and If-* conditionals.
>
>
>   POST /foo HTTP/1.1
>   If-None-Match: "something"
>   ETag: "something"

Yes, all I'm really looking your in this one is the one true way to do it
that eventually all clients will support ("I'll supply this extra header
because it's cheap to do so and usually helpful") and most servers will
implement ("I'll attach the client provided id to the created state for an
appropriate amount of time but otherwise handle it opaquely. I'll use it to
convert future POST requests with the same id into PUT requests over the
already-created state") where security considerations are considered
(clients can't steal each other's ids or force a POST to be misinterpreted).

There are many techniques out there, but not many that can complete in a
single request and not many that are independent of the specific server's
decision about how to structure its uri space. It would be nice to draw a
line under such a common use case.

--bcaec5186bf6736f9104c5a3074e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p><br>
On Jul 23, 2012 7:30 AM, &quot;Amos Jeffries&quot; &lt;<a href=3D"mailto:sq=
uid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt; wrote:<br>
&gt;&gt; &gt; #5 A must understand model<br>
&gt;&gt; &gt; Currently if a new feature is added to http requests that mus=
t be understood servers the client must use a new http method to ensure tha=
t a server who does not understand will reject the request. Perhaps it is t=
ime to introduce a more refined model. My thinking is a must understand hea=
der that consists of tokens/urls stating special requirements the server mu=
st fulfil before accepting the message for processing. The client could inc=
lude an additional header that indicates its own supported features to allo=
w the server to tailor its own processing or potentially reject the request=
.<br>

&gt;<br>
&gt; This was tried with Expect. It broke rollout of new features in a lot =
of areas. Software lifetimes at the deeper levels of the network is measure=
d in cycles of 5-10 years. They simply wont be able to keep up with new hea=
der/feature additions. At present they can at least pass-thru by default.</=
p>

<p>I agree that the hop by hop nature of the Expect header is not useful. I=
 was looking more towards an end to end model. For example, say a client wa=
nts its server to only execute a transaction if it promises to check a give=
n precondition first. If the precondition is not understood and is ignored =
the client will be in dire straits due to the action being executed when it=
 should not have been. This seems to me the main useful use cases for a mus=
t understand semantic.</p>

<p>&gt;&gt; &gt; #6 An idempotent POST<br>
&gt;&gt; &gt; It would be helpful to have a way to idempotently POST new st=
ate. My preference would be for the client to be able to supply a unique id=
entifier as part of its request that can be used by the server to ignore re=
peated instances of the message, preferably as a uuid or guid in uri form o=
r other unique uris.<br>

&gt;&gt; This would require an API change for browsers if this was exposed =
to webapp designers as well.<br>
&gt;<br>
&gt; How does this differ from GET with query string and entity?<br>
&gt; The base portion of the URL is the processor script/app address and th=
e query portion of the URL is a UUID within that particular URI processor s=
pace. Together they form a GUID.<br>
&gt;<br>
&gt; In order to be idempotent the URI alone must be able to be used by cac=
hes to produce a correct response without the entity being even received.<b=
r>
&gt;<br>
&gt; When you have a client implementation that is tied so closely together=
 with the server that it can identify what UUID generation algorithm the se=
rver will be using AND the data points the server will use to generate it. =
You can make any request idempotent with ETag and If-* conditionals.<br>

&gt;<br>
&gt;<br>
&gt; =C2=A0 POST /foo HTTP/1.1<br>
&gt; =C2=A0 If-None-Match: &quot;something&quot;<br>
&gt; =C2=A0 ETag: &quot;something&quot;</p>
<p>Yes, all I&#39;m really looking your in this one is the one true way to =
do it that eventually all clients will support (&quot;I&#39;ll supply this =
extra header because it&#39;s cheap to do so and usually helpful&quot;) and=
 most servers will implement (&quot;I&#39;ll attach the client provided id =
to the created state for an appropriate amount of time but otherwise handle=
 it opaquely. I&#39;ll use it to convert future POST requests with the same=
 id into PUT requests over the already-created state&quot;) where security =
considerations are considered (clients can&#39;t steal each other&#39;s ids=
 or force a POST to be misinterpreted).</p>

<p>There are many techniques out there, but not many that can complete in a=
 single request and not many that are independent of the specific server&#3=
9;s decision about how to structure its uri space. It would be nice to draw=
 a line under such a common use case.</p>


--bcaec5186bf6736f9104c5a3074e--




From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 11:25:21 2012
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 DD0AC21F86FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:25:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.048
X-Spam-Level: 
X-Spam-Status: No, score=-9.048 tagged_above=-999 required=5 tests=[AWL=1.551, BAYES_00=-2.599, 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 7LCYKrdYoUv2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:25:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 94E3321F86DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 11:25:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su6FG-0007wl-MR for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 18:23:38 +0000
Resent-Date: Wed, 25 Jul 2012 18:23:38 +0000
Resent-Message-Id: <E1Su6FG-0007wl-MR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su6F5-0007vV-F6 for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 18:23:27 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su6F4-0008GA-FK for ietf-http-wg@w3.org; Wed, 25 Jul 2012 18:23:27 +0000
Received: by vcdd16 with SMTP id d16so869412vcd.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 11:23:00 -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=iLLCw6N88EuRiVYEdtiRqRG20fVPuE/d7BBvsSooBqE=; b=p5nx2E+JAmqmdqlHrXi/cd00FJ7OL57c1xR2XTFNMMVARPH4c653A45Wa1MHIUVxw4 GJSSC9CDhE7Z1FZ9X2uT175SXK0iUMLXFNXN3LRowBoh5ZJKtfGKQHslAYkTGv2+nhAr 1DX4XpB1C6m9MR8/yo46sZHo+4ZLbU3Zc2V/sY+zKU3V2OGwyPUSbUMY5UVrSvA0DKLa 7Ortqe7JuEmirku0eVTU6Exh6L1IuToCpYckzFbZfvqPKUQfLs+6o95HGSqXEyVoEznO 2kEjyJA+UMh1ewgop9mxWFcSizFkXBNlPwYl1pprnsRzP/czanL/JCMn57tCwmRJq/z+ NWKA==
MIME-Version: 1.0
Received: by 10.52.240.178 with SMTP id wb18mr16472001vdc.100.1343240580592; Wed, 25 Jul 2012 11:23:00 -0700 (PDT)
Received: by 10.58.56.227 with HTTP; Wed, 25 Jul 2012 11:23:00 -0700 (PDT)
In-Reply-To: <CAPik8yaYLRuej=cZCLq8Bubveso=N+__TpgPONzq+8rAvvPUJQ@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAPik8yaYLRuej=cZCLq8Bubveso=N+__TpgPONzq+8rAvvPUJQ@mail.gmail.com>
Date: Wed, 25 Jul 2012 14:23:00 -0400
Message-ID: <CAMm+LwhSVVJjmBA7hj9mZK1cJ02V6twKxi+guS+bNGghd7cRvA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Hoffman <paul.hoffman@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Su6F4-0008GA-FK 9f185ede152429413bea1a2f1c0a84c1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwhSVVJjmBA7hj9mZK1cJ02V6twKxi+guS+bNGghd7cRvA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14748
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>

Yes, in a web service context the two are independent.

* Header confidentiality is a major concern in many instances, ==> TLS
is a requirement
* Integrity and encryption need to flow across intermediaries, ==>
HTTP security is a requirement

TLS is inherently limited to two party conversations (OK you could
possibly force it to do multicast).

Web Services transactions are frequently of the type, A hands data
onto B who looks at it and decides whether to forward it to C or D
which may be immediate or after a delay. TLS is just not the right
tool to achieve that requirement although it would probably be used on
each of the A-B, B-C, C-D links.


On Wed, Jul 25, 2012 at 1:48 PM, Paul Hoffman <paul.hoffman@gmail.com> wrote:
> On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> . . . long discussion differentiating HTTP headers and body . . .
>
>> From these I draw the following conclusions:
>>
>> * HTTP 2.0 should draw a distinction between routing headers and
>> content meta-data
>> * HTTP encryption and authentication are necessary independent of TLS support
>
> Just to be clear, that last bullet should be "Encryption and
> authentication of HTTP bodies are necessary independent of TLS
> support", yes?



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 11:32:19 2012
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 1F25021F874F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:32:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.064
X-Spam-Level: 
X-Spam-Status: No, score=-9.064 tagged_above=-999 required=5 tests=[AWL=1.535, BAYES_00=-2.599, 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 pkUAVrLieXhH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 11:32:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5679221F8748 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 11:32:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su6MG-0004kX-B7 for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 18:30:52 +0000
Resent-Date: Wed, 25 Jul 2012 18:30:52 +0000
Resent-Message-Id: <E1Su6MG-0004kX-B7@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su6Lz-0004ja-16 for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 18:30:35 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Su6Lx-0008U0-OP for ietf-http-wg@w3.org; Wed, 25 Jul 2012 18:30:34 +0000
Received: by vcdd16 with SMTP id d16so876330vcd.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 11:30:08 -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=BvYNTMj2ULcxJraj+T1XV6brWLeuRCL0XAlb5Gm1iGQ=; b=IFDjOMNgW/eOpCfyKtlZ/jB9VLYhvfa/Qr3kPufvJTnoI9Cds0+LO7DCjiqJykXANI x1hY/ubtwRaCuDPP+DcQqRAHcnHjrbQ8drns1ITE3fUi+8Zfdq9Yw/5K+DKrGhU/GPFq GaprR4FcEXIiSXiYxfZAItPAhbFm03rjR29Oii+mpWskxvBOyKvLcVMzYQzR/SnsMs/e 7UHJ1FLogViDIjlU6n5bcNljbNJWNys+niK3DIfB43oQmONxDykxqlgNaFPgS28HcBGY VCHYLlAyn1oOgidasv/bXxjaiK0wyeFELS8fB5BghNDIfN5IXmUlgNSxp6a6W+Tukw0R Eh2w==
MIME-Version: 1.0
Received: by 10.220.150.131 with SMTP id y3mr18766489vcv.42.1343241007900; Wed, 25 Jul 2012 11:30:07 -0700 (PDT)
Received: by 10.58.56.227 with HTTP; Wed, 25 Jul 2012 11:30:07 -0700 (PDT)
In-Reply-To: <501033F7.8040805@panix.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <501033F7.8040805@panix.com>
Date: Wed, 25 Jul 2012 14:30:07 -0400
Message-ID: <CAMm+LwgYgpMv7J1=inPBX7v8CFphp26qAzjBYQz1g_NF-eD3cw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Albert Lunde <atlunde@panix.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1Su6Lx-0008U0-OP aa5d121aaed0aeddf5924ffb7f6c4dc7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwgYgpMv7J1=inPBX7v8CFphp26qAzjBYQz1g_NF-eD3cw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14749
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 Wed, Jul 25, 2012 at 1:59 PM, Albert Lunde <atlunde@panix.com> wrote:
>> HTTP does have a similar conflation, but nowhere near as severe.
>> Content is mostly confined to the body and Routing is strictly
>> confined to the Head. The parts that cross the line are
>> Content-Encoding and Content-Type. Both of which are ignored in a Web
>> Services context almost all the time.  Yes, a Web Service could
>> support multiple character encodings but I cannot see any case where I
>> would want the service to use Content-Encoding to make the choice.
>
>
> This seems like a reasonable position for web services, but HTTP is also a
> transport for HTML in the context of web browsers, which when mixed with
> JavaScript and dynamic HTML, have done a remarkable job of confusing content
> with metadata, and declarative markup with Turning-complete languages.

Hopefully TLS deals with those cases to the extent that it is possible to do so.


> There must be some security attacks which involve corrupting the headers or
> the request. Maybe HTTP/2.0 will have better framing to resist this.
>
> "HTTP Request Splitting" comes to mind, or maybe adding a
> Content-Disposition header.
>
> You may be right, though that it's easier to apply some kinds of security
> (signing or encryption) to a payload.

I suspect it will fall out naturally from the MUX design since pretty
much every MUX design ends up separating routing headers and content
headers. Take a look at MIME for example.

Worst case scenario would be some sort of encapsulation scheme:

GET / HTTP/1.1
Date: Blah..
Proxy-Woxy:
Content-Integrity: wkjfhawkjhqkwjerhg
Content-Length:1029096

Content-Type: application/http
Content-Length:1029048

<?xml 2.3; encoding=utf9>
<....

This does look a little like PEP of course.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 12:08:00 2012
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 90ED121F8746 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 12:08:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 70AzNCwNhqzT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 12:07:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8652221F8747 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 12:07:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su6uh-0004fq-AP for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 19:06:27 +0000
Resent-Date: Wed, 25 Jul 2012 19:06:27 +0000
Resent-Message-Id: <E1Su6uh-0004fq-AP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1Su6uK-0004aY-HI for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 19:06:04 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1Su6uJ-0005Ed-GC for ietf-http-wg@w3.org; Wed, 25 Jul 2012 19:06:04 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3D25750A64; Wed, 25 Jul 2012 15:05:41 -0400 (EDT)
Date: Wed, 25 Jul 2012 13:05:09 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Samuel Erdtman <samuel@erdtman.se>, ietf-http-wg@w3.org
Message-Id: <20120725130509.44211e16.eric@bisonsystems.net>
In-Reply-To: <500FBF37.8080705@gmx.de>
References: <CAF2hCbYMHa7nzh=FbM6acsvrq2k9Z0UdAREwHxknOwGrvQUE0g@mail.gmail.com> <20120724172658.f1e7af36.eric@bisonsystems.net> <500FBF37.8080705@gmx.de>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Su6uJ-0005Ed-GC be7a8e46c6878c2f874f22a1541de30b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: REST and HTTP, was: [ietf-http-wg] <none>
Archived-At: <http://www.w3.org/mid/20120725130509.44211e16.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14750
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>

Julian Reschke wrote:
> 
> Do you have REST-related concerns beyond the ones related to 
> intermediaries (which I share)?
> 

The intermediary issue is merely an example of my primary concern,
which is a failure to use REST as an evaluation tool here.  Resulting
in long, repetitive threads about ideas which should be considered non-
starters, as they represent a break from the established architecture.

The problems lie with HTTP, not REST, as per Chapter 6 of Roy's thesis,
which could be used to establish some goals for moving HTTP forward.
Such a process may even lead to a new constraint, say privacy, which
would create a superset of REST.

Seems to me, that would be a better procedure than "winging it"
architecturally (starting with solutions to specific problems, rather
than establishing overall goals) and hoping for the best.

-Eric


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 12:39:41 2012
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 F3AB221F8763 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 12:39:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 qYC7sOPY5Yp2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 12:39:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0DF8621F8762 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 12:39:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Su7Oz-0002nX-BI for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 19:37:45 +0000
Resent-Date: Wed, 25 Jul 2012 19:37:45 +0000
Resent-Message-Id: <E1Su7Oz-0002nX-BI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1Su7Oo-0002m1-7R for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 19:37:34 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1Su7On-00026l-BJ for ietf-http-wg@w3.org; Wed, 25 Jul 2012 19:37:34 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8270350A5D; Wed, 25 Jul 2012 15:37:11 -0400 (EDT)
Date: Wed, 25 Jul 2012 13:36:40 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <20120725133640.c5246f23.eric@bisonsystems.net>
In-Reply-To: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Su7On-00026l-BJ 2e67b0d80d43c218989ee1f86fea38f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/20120725133640.c5246f23.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14751
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>

Mark Nottingham wrote:
> 
> The resulting specification(s) are expected to be meet these goals
> for common existing deployments of HTTP; in particular, Web browsing
> (desktop and mobile), Web serving (at a variety of scales), and
> intermediation (by proxies, corporate firewalls, "reverse" proxies
> and Content Delivery Networks).
> 

Please change "CDNs" to "caches" to avoid confusion over whether we're
talking about a new architectural style.  "Caches" can include CDNs,
but CDNs does not include the shared-cache architecture which got the
Web where it is.

-Eric


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 16:15:59 2012
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 2335311E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 16:15:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.147
X-Spam-Level: 
X-Spam-Status: No, score=-10.147 tagged_above=-999 required=5 tests=[AWL=0.452, BAYES_00=-2.599, 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 EeIjY+5S+pCB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 16:15:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 45CC911E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 16:15:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuAlj-0006B7-Hb for ietf-http-wg-dist@listhub.w3.org; Wed, 25 Jul 2012 23:13:27 +0000
Resent-Date: Wed, 25 Jul 2012 23:13:27 +0000
Resent-Message-Id: <E1SuAlj-0006B7-Hb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SuAlR-0006AD-Nt for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 23:13:09 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SuAlP-0000M9-UB for ietf-http-wg@w3.org; Wed, 25 Jul 2012 23:13:09 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 6ABE1E6F2D; Thu, 26 Jul 2012 11:12:42 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 26 Jul 2012 11:12:41 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Message-ID: <5024fb72b26e2fed108e05c95801c783@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SuAlP-0000M9-UB 5bcb829c095fe4fac89d9ed5b321b53d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/5024fb72b26e2fed108e05c95801c783@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14752
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 26.07.2012 04:59, Phillip Hallam-Baker wrote:
> I have been thinking a lot about Web Services and how their security
> needs should be met in HTTP/2.0. I came up with some thoughts that
> might provoke discussion:
>
> 0) The killer application for HTTP/2.0 (if any) is going to be Web
> Services. Anyone supporting a Web server is going to have to support
> /1.1 for decades to come. A new Web Service can stipulate HTTP/2.0
> transport as a requirement.
>

We don't *need* any "killer app" unless we break the protocol semantics 
or mandate features which require a lot of administrative intervention 
to deploy 2.0. Seamless gateway for 2.0<->1.1 is a requirement - 
precisely to avoid this type of change.

The existing players who have already fronted up and expressed interest 
in upgrading should be all it takes to get the ball rolling.

> 1) TLS security is good for what it does, but it is still transport
> security and will therefore be hop-by-hop as far as intermediaries 
> are
> concerned. This gives rise to the need for security features in HTTP
> that are orthogonal to TLS and can survive passage through an
> intermediary.

+1000. Well put.

>
> 2) Multiplexing changes the nature of Web Services security and 
> allows
> for a significant simplification. Under HTTP/1.1 a Web Service that
> takes a message from A and forwards it to B has to modify the content
> if it is going to provide additional information in the transaction.
> This constraint no longer applies under multiplexing.
>

This does not follow. A web service which is designed with transport 
details embeded in the content is going to face content modification 
trouble no matter what we do. Unless you are considering the HTTP 
headers "content" somehow.
  The cases of Location, Content-Location and services trying to do 
NAT-like things with URL domain names is an foul smell unrelated to 
multiplexing. I can see the flow controls needed for multiplexing 
leading to better efficiency on these systems, but not removing their 
behaviour entirely.


> 3) HTTP security controls should only secure content. Signing headers
> is not only difficult, it is often counterproductive. If a Web 
> service
> depends on information in a header there is probably something wrong.
>
>
> This last one might seem a little controversial, after all, doesn't
> DKIM have a mechanism for header signing? DKIM does have a header
> signing mechanism but the headers being signed should probably have
> been content in the first place. The subject line, From, To, these 
> are
> all message content. They are part of the headers because content and
> routing are conflated in SMTP email.
>
> HTTP does have a similar conflation, but nowhere near as severe.
> Content is mostly confined to the body and Routing is strictly
> confined to the Head. The parts that cross the line are
> Content-Encoding and Content-Type. Both of which are ignored in a Web
> Services context almost all the time.  Yes, a Web Service could
> support multiple character encodings but I cannot see any case where 
> I
> would want the service to use Content-Encoding to make the choice.


The 1.1 drafts were onto a good thing by separating and identifying 
what headers are "content" meta data and which are "transport" meta 
data.
  If we enshrine the difference in HTTP/2 (different frame sections, 
whatever) we leave ourselves the option of signing the content headers 
against manipulation, while leaving the transport group open for 
intermediary routing etc.

We took this for a theoretical test-drive in the network-friendly-00 
framing design. The headers which are repeated per-request are usually 
the content headers, and the transport headers are aggregated across 
requests into the transport or common frames. Embedding message signing 
into this framing system would mean; sending the non-signed headers in a 
common frame ahead of the signed request, then signing the followup 
request-frame and entity-frames for the request flow frames. Encrypted 
or signed responses can easily operate the same in their flow.
   In theory the trade-off is a small drop in efficiency as common 
frames change from being strictly common, to containing un-signed unique 
things and constantly needing updates. This small drop would seem to be 
a good tradeoff against blanketing an entire connection with TLS 
overheads.

>
>>From these I draw the following conclusions:
>
> * HTTP 2.0 should draw a distinction between routing headers and
> content meta-data
> * HTTP encryption and authentication are necessary independent of TLS 
> support

+1000.

Amos


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 17:07:47 2012
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 6782C11E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:07:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.985
X-Spam-Level: 
X-Spam-Status: No, score=-5.985 tagged_above=-999 required=5 tests=[AWL=4.614, BAYES_00=-2.599, 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 TfC6iZ7fmuS9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:07:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4EF421F85ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 17:07:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuBaK-0004yt-50 for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 00:05:44 +0000
Resent-Date: Thu, 26 Jul 2012 00:05:44 +0000
Resent-Message-Id: <E1SuBaK-0004yt-50@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SuBa5-0004x9-F4 for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 00:05:29 +0000
Received: from ipxcno.tcif.telstra.com.au ([203.35.82.208]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SuBa1-00061j-2K for ietf-http-wg@w3.org; Thu, 26 Jul 2012 00:05:29 +0000
X-IronPort-AV: E=Sophos;i="4.77,656,1336312800";  d="scan'208";a="82652510"
Received: from unknown (HELO ipcbni.tcif.telstra.com.au) ([10.97.216.204]) by ipocni.tcif.telstra.com.au with ESMTP; 26 Jul 2012 10:04:57 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6783"; a="78620355"
Received: from wsmsg3754.srv.dir.telstra.com ([172.49.40.198]) by ipcbni.tcif.telstra.com.au with ESMTP; 26 Jul 2012 10:04:57 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3754.srv.dir.telstra.com ([172.49.40.198]) with mapi; Thu, 26 Jul 2012 10:04:56 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 26 Jul 2012 10:04:55 +1000
Thread-Topic: Content security model
Thread-Index: Ac1qu3LFhYN3Ik2IS5Kt5kjo9PFQggAAVkgQ
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F800B6F5@WSMSG3153V.srv.dir.telstra.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <5024fb72b26e2fed108e05c95801c783@treenet.co.nz>
In-Reply-To: <5024fb72b26e2fed108e05c95801c783@treenet.co.nz>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.82.208; envelope-from=James.H.Manger@team.telstra.com; helo=ipxcno.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SuBa1-00061j-2K 04b1f3dbf8b768c71d302c92bd5ef511
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Content security model
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F800B6F5@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14753
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>

PiA+IDMpIEhUVFAgc2VjdXJpdHkgY29udHJvbHMgc2hvdWxkIG9ubHkgc2VjdXJlIGNvbnRlbnQu
DQo+ID4gU2lnbmluZyBoZWFkZXJzIGlzIG5vdCBvbmx5IGRpZmZpY3VsdCwgaXQgaXMgb2Z0ZW4g
Y291bnRlcnByb2R1Y3RpdmUuDQo+ID4gSWYgYSBXZWIgc2VydmljZSBkZXBlbmRzIG9uIGluZm9y
bWF0aW9uIGluIGEgaGVhZGVyDQo+ID4gdGhlcmUgaXMgcHJvYmFibHkgc29tZXRoaW5nIHdyb25n
Lg0KDQpXaGF0IGFib3V0IHRoZSBVUkk/DQpXaGF0IGFib3V0IHRoZSBtZXRob2QgKEdFVCwgUE9T
VCwgREVMRVRFLi4uKT8NCg0KT25seSBwcm90ZWN0aW5nIHRoZSBib2R5IG9ubHkgd29ya3MgZm9y
IFJQQy1zdHlsZSB3ZWIgc2VydmljZXMgaW4gd2hpY2ggZXZlcnkgcmVxdWVzdCBpcyBhIFBPU1Qg
dG8gYSBzaW5nbGUgQVBJIGVuZHBvaW50IChlZyBQT1NUIC9hcGkvIEhUVFAvMS4xKS4gRXZlbiB0
aGVuIHRoZSBib2R5IG5lZWRzIHRvIGhhdmUgYW4gImF1ZGllbmNlIiBmaWVsZCB0aGF0IGlzIGxp
a2VseSB0byByZXBlYXQgdGhlIGhvc3QgKG9yIFVSSSkuDQoNCkhUVFAvMiBuZWVkcyB0byBzdXBw
b3J0IFJFU1QgQVBJcywgd2hlcmUgdGhlIG1ldGhvZCBhbmQgVVJJIGFyZSBjcnVjaWFsIHBhcnRz
Lg0KDQo+ID4gRnJvbSB0aGVzZSBJIGRyYXcgdGhlIGZvbGxvd2luZyBjb25jbHVzaW9uczoNCj4g
Pg0KPiA+ICogSFRUUCAyLjAgc2hvdWxkIGRyYXcgYSBkaXN0aW5jdGlvbiBiZXR3ZWVuIHJvdXRp
bmcgaGVhZGVycyBhbmQNCj4gPiAgIGNvbnRlbnQgbWV0YS1kYXRhDQoNCisxDQpUaG91Z2ggSSBz
dXNwZWN0IHRoZXJlIGFyZSBsb3RzIG9mIGhlYWRlcnMgd2hlcmUgdGhpcyBkaXN0aW5jdGlvbiBp
cyBub3QgY3J5c3RhbCBjbGVhci4NCg0KPiA+ICogSFRUUCBlbmNyeXB0aW9uIGFuZCBhdXRoZW50
aWNhdGlvbiBhcmUgbmVjZXNzYXJ5IGluZGVwZW5kZW50IG9mIFRMUw0KPiA+ICAgc3VwcG9ydA0K
DQotLQ0KSmFtZXMgTWFuZ2VyDQo=


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 17:16:18 2012
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 BDAD221F86B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:16:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.079
X-Spam-Level: 
X-Spam-Status: No, score=-9.079 tagged_above=-999 required=5 tests=[AWL=1.520, BAYES_00=-2.599, 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 Ok0Q54mQvX0Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:16:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E759321F86B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 17:16:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuBiZ-0007ZA-2l for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 00:14:15 +0000
Resent-Date: Thu, 26 Jul 2012 00:14:15 +0000
Resent-Message-Id: <E1SuBiZ-0007ZA-2l@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuBiN-0007YK-L1 for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 00:14:03 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuBiM-0002BC-Cm for ietf-http-wg@w3.org; Thu, 26 Jul 2012 00:14:03 +0000
Received: by vbbfq11 with SMTP id fq11so1174850vbb.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 17:13:36 -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=V8qdHkkfSj/XBHcPCkDiDnehnpo93sjuiI4lsgeaRns=; b=tbB/or9krQAwl6rd53fKVPgE7rSR2QhE00me+qmiQMXbME3pdhW5acnHQA8CEBDNg5 +WLEr7SdlFblEGtyoIBE/HDcXpgP8NRtQRn8N7EIq9eWSIghy5PrjZ0Nx02GSxBlH6pQ n82zwnFLjaZ4vcH8DlbfCiLrQnzLy36T4Z10672osS7otecXzJOQTJijRdMlitUvsA+T QyoSQVRFqDcX2kzohLEH1NF4Wp1Xsr+7TJYCMuWlBi8LzDb4RUTcE1N0A1uFsujEFWa/ GZIykfvgIDRgVygAr9BeJ2/Lrllpo8byu+QYv5R0VqVY+82Ou6kwsXGnH42aiIHGoNvR DVVw==
MIME-Version: 1.0
Received: by 10.220.119.148 with SMTP id z20mr17303304vcq.50.1343261616470; Wed, 25 Jul 2012 17:13:36 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 25 Jul 2012 17:13:36 -0700 (PDT)
In-Reply-To: <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com>
Date: Wed, 25 Jul 2012 20:13:36 -0400
Message-ID: <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: James French <jfrench@denirostaff.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SuBiM-0002BC-Cm 5ebd3fa58553765f38b6de71e63d928e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14754
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>

As I said, if the content type matters then it really needs to be
considered a part of the content rather than something that
intermediaries have a right to meddle with.

Similarly, if A passes a message to B which 'modifies it' and then
passes 'the message' to C, well, it isn't there are two completely
separate messages from a security point of view, one between A-B and a
second completely different set of content between B-C.

The only way that a message can flow through B with 'modification' in
a meaningful sense is if the message is a composite message and the
parts that have been modified are separated from the parts that remain
constant. So for example, I submit a purchase order to the local
enterprise service which appends a second message with a promise of
payment. The vendor receives two separate signed blobs, one for the
bill of goods, another for the payment promise.



On Wed, Jul 25, 2012 at 6:41 PM, James French <jfrench@denirostaff.com> wrote:
> It occurs to me that a man-in-the-middle could change a Content-Type
> header to trick a web service into a delivering scripted data.
>
> 1.) MITM uploads script.jpg to https2://legit-host/script.jpg
> 2.) Client requests /script.jpg from legit-host
> 3.) legit-host signs and delivers script.jpg with a Content-Type of: image/jpg
> 4.) MITM changes Content-Type header from image/jpg to text/html
> 5.) Client runs script.jpg with the permissions level of a script
> running on legit-host
>
> It's unlikely that this scenario would come up in practice, but it
> does exist as a hypothetical vector.
>
> On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>
>>
>> 3) HTTP security controls should only secure content. Signing headers
>> is not only difficult, it is often counterproductive. If a Web service
>> depends on information in a header there is probably something wrong
>>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 17:24:59 2012
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 CBD3621F865F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:24:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 tDXeOTfr6M73 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:24:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4C1821F85DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 17:24:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuBrI-0003wv-4Q for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 00:23:16 +0000
Resent-Date: Thu, 26 Jul 2012 00:23:16 +0000
Resent-Message-Id: <E1SuBrI-0003wv-4Q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SuBr5-0003vE-Vu for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 00:23:04 +0000
Received: from mail-pb0-f43.google.com ([209.85.160.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SuBr4-0006hM-8k for ietf-http-wg@w3.org; Thu, 26 Jul 2012 00:23:03 +0000
Received: by pbcwz7 with SMTP id wz7so2345447pbc.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 17:22:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=bblzZU0njiEE26IpnvmS9qFiOJ9D6A65iQ7zReqpxZk=; b=r2g+55gNUawQBG8tkH6EvydHmN38l9gSqhtCjO75kl6XBYcbDJ3S/VhU5x9xEd0ooB CNlxfkoj1sWG/tSlbx4l6MDErnUH8+5keSzIR9EejfLjjSn7Pvvpiiz2jg2Y67BWOWua p7koWLiI8sZcKLq5iBTfLMaV21rCCot+ptBp/AEM/JpgthVa/55WjghrpEzz+VBUe4xz ej8zeLF6OB3an2gV4PMxIzfbPSTznRCxMk/X3MOpkGcGgiPbZhSbGSB5IqUtOiQPVTJC kaB+gifsKIpQOLIImwbofmlBPBttKay5PJAvVJTGAqDavnP+2kF5tFnWpTIwpACxTxVZ NUfA==
MIME-Version: 1.0
Received: by 10.68.193.195 with SMTP id hq3mr512053pbc.30.1343262155859; Wed, 25 Jul 2012 17:22:35 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.143.145.12 with HTTP; Wed, 25 Jul 2012 17:22:35 -0700 (PDT)
In-Reply-To: <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com>
Date: Thu, 26 Jul 2012 10:22:35 +1000
X-Google-Sender-Auth: 9HFMznF20R41zNjPSFvzvEfL6n4
Message-ID: <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.43; envelope-from=grahameg@gmail.com; helo=mail-pb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuBr4-0006hM-8k ced7b62be425161d38d4396356391d53
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14755
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>

There's no limit to the things that B might have to do to the content
in order to "make things work" - whatever that is. I think that the key
is to differentiate between the various roles that B may play, and the
limit on them. In the sense of a protocol intermediary, then B is limited
to some kinds of changes, not others. In the case of others, B becomes
something else - an application intermediary. There's some utility in
describing, for instance, to what degree an application intermediary can
provide additional services that include changing some content without
completely invalidating the idea of authenticating the connection between
A and C. That would necessarily include visibility - in the sense that
this kind of intermediary should be visible to the end-points

Grahame


On Thu, Jul 26, 2012 at 10:13 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> As I said, if the content type matters then it really needs to be
> considered a part of the content rather than something that
> intermediaries have a right to meddle with.
>
> Similarly, if A passes a message to B which 'modifies it' and then
> passes 'the message' to C, well, it isn't there are two completely
> separate messages from a security point of view, one between A-B and a
> second completely different set of content between B-C.
>
> The only way that a message can flow through B with 'modification' in
> a meaningful sense is if the message is a composite message and the
> parts that have been modified are separated from the parts that remain
> constant. So for example, I submit a purchase order to the local
> enterprise service which appends a second message with a promise of
> payment. The vendor receives two separate signed blobs, one for the
> bill of goods, another for the payment promise.
>
>
>
> On Wed, Jul 25, 2012 at 6:41 PM, James French <jfrench@denirostaff.com> wrote:
>> It occurs to me that a man-in-the-middle could change a Content-Type
>> header to trick a web service into a delivering scripted data.
>>
>> 1.) MITM uploads script.jpg to https2://legit-host/script.jpg
>> 2.) Client requests /script.jpg from legit-host
>> 3.) legit-host signs and delivers script.jpg with a Content-Type of: image/jpg
>> 4.) MITM changes Content-Type header from image/jpg to text/html
>> 5.) Client runs script.jpg with the permissions level of a script
>> running on legit-host
>>
>> It's unlikely that this scenario would come up in practice, but it
>> does exist as a hypothetical vector.
>>
>> On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>>
>>>
>>> 3) HTTP security controls should only secure content. Signing headers
>>> is not only difficult, it is often counterproductive. If a Web service
>>> depends on information in a header there is probably something wrong
>>>
>
>
>
> --
> Website: http://hallambaker.com/
>



-- 
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 17:30:02 2012
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 2B62521F86DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:30:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.095
X-Spam-Level: 
X-Spam-Status: No, score=-9.095 tagged_above=-999 required=5 tests=[AWL=1.504, BAYES_00=-2.599, 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 XNPYK3wJRmxh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:30:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 36A4021F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 17:30:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuBwN-0005mn-Cp for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 00:28:31 +0000
Resent-Date: Thu, 26 Jul 2012 00:28:31 +0000
Resent-Message-Id: <E1SuBwN-0005mn-Cp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuBwB-0005le-VC for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 00:28:20 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuBwA-0006wQ-EG for ietf-http-wg@w3.org; Thu, 26 Jul 2012 00:28:19 +0000
Received: by vcdd16 with SMTP id d16so1184571vcd.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 17:27:52 -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=L/AbZqj08fopzeA4MsdDLDgySEwx6AKYSPHVhfiZhCo=; b=duYatFTDXTWXNyLbRS0vylB9ixZlrrds8bMT/Bb/ywoJFHnxAYnYMi1BrcL7R3IEom hcs584aKCn9rTH/bebcko6PgkmpUhPhJUOyKu2lgA6DgQHCfmNHkMMfiKzZa4HQ+/QtH 7Rzem2gdVprfi3NFWzx4PkRfVGomHdfk3jlNk1dqrSSWKhTcyW6ZOaKM++qXlcL4hw9r HiyECrHcl9GVkJzleDmDNBcdlB3aazWsRJyMzVVqxcYiQs4qMSpx4Dbzieq8jPwzVoN8 vQDwC3y75kr5iuHKCKkaSTelS0dM3KwpBO8clyPwQsIfjFwgmE/YcHZk5CvkS8WgvDz+ GM9Q==
MIME-Version: 1.0
Received: by 10.52.23.136 with SMTP id m8mr17381662vdf.28.1343262472296; Wed, 25 Jul 2012 17:27:52 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 25 Jul 2012 17:27:52 -0700 (PDT)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F800B6F5@WSMSG3153V.srv.dir.telstra.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <5024fb72b26e2fed108e05c95801c783@treenet.co.nz> <255B9BB34FB7D647A506DC292726F6E114F800B6F5@WSMSG3153V.srv.dir.telstra.com>
Date: Wed, 25 Jul 2012 20:27:52 -0400
Message-ID: <CAMm+LwjoQ54qJ_uO7ra5WQXUnhK6M2Me25_-=aaKjyyONWdCFw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SuBwA-0006wQ-EG f4d04de0c458714604f5dc7040cbe0ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwjoQ54qJ_uO7ra5WQXUnhK6M2Me25_-=aaKjyyONWdCFw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14756
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>

Those are good questions.

I guess it depends very much on what type of intermediary is involved
and whether it is a proxy type object or something 'transformational'.
In the first case the URI is going to be the same, in the second it is
going to change.

So when I design a protocol, I don't actually use the URI at all. My
server dispatch methods cannot see it, and that is exactly what I want
as I don't want the dispatcher to see anything other than the
authenticated data and the credential it is validated against.


If I wanted to pass parameters in the URI then I would make the
authentication token one of the parameters. But seriously, I never saw
the virtue of squashing your whole protocol into the request URI.

The URI line is very limited though, only 1024 bytes. Which means that
any serious service has to use url/form encoding as an option at the
very least. If you are going to pass content in the body of the
message then why not use the JSON encoding in both directions and save
some work?


As far as security goes, the model is rather different between
symmetric and asymmetric key.

With a public key protocol, the message is signed and anyone can check
the signature. This creates opportunity for endless subversion issues
as commands intended for one recipient are redirected to another. I
actually try to avoid using signatures for this very reason unless I
am writing a protocol where that is the requirement.

With a symmetric key protocol the authentication and thus the command
is inherently bound to the keys at both ends.


On Wed, Jul 25, 2012 at 8:04 PM, Manger, James H
<James.H.Manger@team.telstra.com> wrote:
>> > 3) HTTP security controls should only secure content.
>> > Signing headers is not only difficult, it is often counterproductive.
>> > If a Web service depends on information in a header
>> > there is probably something wrong.
>
> What about the URI?
> What about the method (GET, POST, DELETE...)?
>
> Only protecting the body only works for RPC-style web services in which every request is a POST to a single API endpoint (eg POST /api/ HTTP/1.1). Even then the body needs to have an "audience" field that is likely to repeat the host (or URI).
>
> HTTP/2 needs to support REST APIs, where the method and URI are crucial parts.
>
>> > From these I draw the following conclusions:
>> >
>> > * HTTP 2.0 should draw a distinction between routing headers and
>> >   content meta-data
>
> +1
> Though I suspect there are lots of headers where this distinction is not crystal clear.
>
>> > * HTTP encryption and authentication are necessary independent of TLS
>> >   support
>
> --
> James Manger



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 17:36:23 2012
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 6EE5F11E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:36:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.109
X-Spam-Level: 
X-Spam-Status: No, score=-9.109 tagged_above=-999 required=5 tests=[AWL=1.490, BAYES_00=-2.599, 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 UR+veLgPy+F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:36:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84FAB11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 17:36:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuC2v-00027X-0g for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 00:35:17 +0000
Resent-Date: Thu, 26 Jul 2012 00:35:17 +0000
Resent-Message-Id: <E1SuC2v-00027X-0g@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuC2j-000243-0G for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 00:35:05 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuC2h-000348-QZ for ietf-http-wg@w3.org; Thu, 26 Jul 2012 00:35:04 +0000
Received: by vbbfq11 with SMTP id fq11so1188133vbb.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 17:34:38 -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=W3+wNPM2/eKttwFFz4XzV4kcnppJq1KPxEivkXhr8qU=; b=GVOsxKg92xAyODMFp5kyBnmCvNv7Gmw28ygTfvgTPef2Jg41vXePGMHKBYwLFOLWq1 dXQr6jHPHdVsYm5+W8ubtUorEB4HZ3eV2pF58s09Tu7DznsPPdTDCPn7ZYEh97Q+l9bq 6PSU7FiatbAdy7CatcoDWOTf383TYW8vKZwT5/iBpGuJM4+1FPeMTkvJ4yRKF2SJuhcr BtOTpVoc0X8DBMQHhvMxRwRNLPC8Jf3RjjVnVfu85IHdjA0O2y4HWOfI7yqDl1EcUzIe YxqeMPQ3N6mRHt5GRuKS1iL2vBslyfB6v4bqFTtzeOT9J2JFd7Jeymv/PgfiO4rYkeye 20uw==
MIME-Version: 1.0
Received: by 10.52.26.81 with SMTP id j17mr17483179vdg.94.1343262877914; Wed, 25 Jul 2012 17:34:37 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 25 Jul 2012 17:34:37 -0700 (PDT)
In-Reply-To: <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com> <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com>
Date: Wed, 25 Jul 2012 20:34:37 -0400
Message-ID: <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: grahame@healthintersections.com.au
Cc: James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SuC2h-000348-QZ a0b4001fd81b697420958cb3df0319a0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14757
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>

Where security is concerned the problem is that either something is
inside the authentication boundary or it is not. If it is inside the
boundary it must not be modified in any way whatsoever if the
integrity check is to work at all. If it is outside the boundary then
the dispatch service should probably not see it at all lest it end up
making assumptions that it is trustworthy.

What it comes down to is that intermediaries that modify HTTP messages
can cause Web Services to stop working. Which is probably a good thing
since it is rather unlikely that an intermediary that does not
understand the semantics of the Web Service concerned is going to do
anything other than introduce breakage or worse introduce a subtle
error that it is not readily apparent.

The objective should be to ensure that Web Services do not malfunction
in the presence of intermediaries, not to require them to attempt to
repair the damage.


On Wed, Jul 25, 2012 at 8:22 PM, Grahame Grieve <grahame@kestral.com.au> wrote:
> There's no limit to the things that B might have to do to the content
> in order to "make things work" - whatever that is. I think that the key
> is to differentiate between the various roles that B may play, and the
> limit on them. In the sense of a protocol intermediary, then B is limited
> to some kinds of changes, not others. In the case of others, B becomes
> something else - an application intermediary. There's some utility in
> describing, for instance, to what degree an application intermediary can
> provide additional services that include changing some content without
> completely invalidating the idea of authenticating the connection between
> A and C. That would necessarily include visibility - in the sense that
> this kind of intermediary should be visible to the end-points
>
> Grahame
>
>
> On Thu, Jul 26, 2012 at 10:13 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> As I said, if the content type matters then it really needs to be
>> considered a part of the content rather than something that
>> intermediaries have a right to meddle with.
>>
>> Similarly, if A passes a message to B which 'modifies it' and then
>> passes 'the message' to C, well, it isn't there are two completely
>> separate messages from a security point of view, one between A-B and a
>> second completely different set of content between B-C.
>>
>> The only way that a message can flow through B with 'modification' in
>> a meaningful sense is if the message is a composite message and the
>> parts that have been modified are separated from the parts that remain
>> constant. So for example, I submit a purchase order to the local
>> enterprise service which appends a second message with a promise of
>> payment. The vendor receives two separate signed blobs, one for the
>> bill of goods, another for the payment promise.
>>
>>
>>
>> On Wed, Jul 25, 2012 at 6:41 PM, James French <jfrench@denirostaff.com> wrote:
>>> It occurs to me that a man-in-the-middle could change a Content-Type
>>> header to trick a web service into a delivering scripted data.
>>>
>>> 1.) MITM uploads script.jpg to https2://legit-host/script.jpg
>>> 2.) Client requests /script.jpg from legit-host
>>> 3.) legit-host signs and delivers script.jpg with a Content-Type of: image/jpg
>>> 4.) MITM changes Content-Type header from image/jpg to text/html
>>> 5.) Client runs script.jpg with the permissions level of a script
>>> running on legit-host
>>>
>>> It's unlikely that this scenario would come up in practice, but it
>>> does exist as a hypothetical vector.
>>>
>>> On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>>>
>>>>
>>>> 3) HTTP security controls should only secure content. Signing headers
>>>> is not only difficult, it is often counterproductive. If a Web service
>>>> depends on information in a header there is probably something wrong
>>>>
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>>
>
>
>
> --
> -----
> http://www.healthintersections.com.au / grahame@healthintersections.com.au



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 17:45:37 2012
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 1906411E8091 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:45:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 UZF3wkFYn4du for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 17:45:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0944911E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 17:45: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 1SuCBq-0005cn-EU for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 00:44:30 +0000
Resent-Date: Thu, 26 Jul 2012 00:44:30 +0000
Resent-Message-Id: <E1SuCBq-0005cn-EU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SuCBe-0005ba-DE for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 00:44:18 +0000
Received: from mail-pb0-f43.google.com ([209.85.160.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SuCBd-0007KR-DC for ietf-http-wg@w3.org; Thu, 26 Jul 2012 00:44:18 +0000
Received: by pbcwz7 with SMTP id wz7so2371809pbc.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 17:43:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=laFuk/ZuYX3m5OjkBz4gFrUVZpPVO0ACREV/7uJcy3I=; b=YADpWkZ5WVwzniFbAUZJRmxIbS9vdbwC8X3b3c3oJLk9Scmb9N1NO74SxzxXirqQcX BB9T9wG4Gga2Lo2WzGciLGVUWpIhGYVUGBC48VV9kP5r08Oj+sOlX23agAW4UtPwWKxK 0nleuv8kHLwBsCD1rnaTldBA14TKTHKT4CE3W+3y7tIYRlJxykez81fshGARO4tf5fB4 KuPy5QZgpvvPevoB/aRBL5fuVpWplMsz9ScVbw38tp5CVZKxapnDTEFujF0eh4g3PoiB QscSZ0hHIDmtaSyVJmy0CCv6Agu1koD/bDFRxv/nycke7YaTR8Is63g3Jo4VXMzfhm++ xnBw==
MIME-Version: 1.0
Received: by 10.68.130.9 with SMTP id oa9mr436731pbb.95.1343263431104; Wed, 25 Jul 2012 17:43:51 -0700 (PDT)
Reply-To: grahame@healthintersections.com.au
Sender: grahameg@gmail.com
Received: by 10.143.145.12 with HTTP; Wed, 25 Jul 2012 17:43:51 -0700 (PDT)
In-Reply-To: <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com> <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com> <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com>
Date: Thu, 26 Jul 2012 10:43:51 +1000
X-Google-Sender-Auth: YbIDaICGMnW7Wml1IsUtMUuh4cU
Message-ID: <CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com>
From: Grahame Grieve <grahame@kestral.com.au>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.43; envelope-from=grahameg@gmail.com; helo=mail-pb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuCBd-0007KR-DC 5f019ffbf61ae6f508c6177f8fcc3235
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14758
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>

> The objective should be to ensure that Web Services do not malfunction
> in the presence of intermediaries, not to require them to attempt to
> repair the damage.

of course. But since we live in the real world too, we shouldn't prevent
their use to repair the damage.

> Where security is concerned the problem is that either something is
> inside the authentication boundary or it is not. If it is inside the
> boundary it must not be modified in any way whatsoever if the
> integrity check is to work at all. If it is outside the boundary then
> the dispatch service should probably not see it at all lest it end up
> making assumptions that it is trustworthy.

yes, quite. So currently there is a binary choice: you can have managed
interactions, or secure interactions. As you say, in an ideal world, we
would not need managed interactions (nor secure ones, really), But in
the real world we do live in, we very much need secure interactions, and
we also need managed ones. I'd like for the protocol to avoid making
this a binary choice, though it smells ugly to me.

> What it comes down to is that intermediaries that modify HTTP messages
> can cause Web Services to stop working.

oh yes, though they can also cause them to work in the first place.

> Which is probably a good thing
> since it is rather unlikely that an intermediary that does not
> understand the semantics of the Web Service concerned is going to do
> anything other than introduce breakage or worse introduce a subtle
> error that it is not readily apparent.

well, typically, in my world, the intermediary is a general purpose
toolkit introduced over the exchange with the express purpose of
bridging between two end-points that have very specific disagreements
about how things work. This is a common requirement when actually
integrating two off-the-shelf packages that both thought they'd implemented
the same semantics, but in actual case haven't. In the context of a
secure exchange, the general purpose toolkit gets to mount a MITM
attack on them too. This works until the end-to-end security becomes
part of the transaction semantics, at which point the MITM is no longer
transparent, and there is no way forward.

Grahame

p.s. this is obviously about application to application web services, and
the general argument doesn't make sense in a consumer web context.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 18:02:24 2012
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 C702421F860B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 18:02:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.124
X-Spam-Level: 
X-Spam-Status: No, score=-9.124 tagged_above=-999 required=5 tests=[AWL=1.475, BAYES_00=-2.599, 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 TfuWhh+cB3tC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 18:02:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DAB2521F8607 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 18:02:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuCRW-0005fJ-Iv for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 01:00:42 +0000
Resent-Date: Thu, 26 Jul 2012 01:00:42 +0000
Resent-Message-Id: <E1SuCRW-0005fJ-Iv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuCRL-0005eX-31 for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 01:00:31 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuCRI-0007kJ-RI for ietf-http-wg@w3.org; Thu, 26 Jul 2012 01:00:30 +0000
Received: by vcdd16 with SMTP id d16so1203969vcd.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 18:00:02 -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=Ghd6vJMpi7hREGULR1D3Wtbc8OjTxShk/MSQh6Lk3Io=; b=dR31zssSZYfxOe84ZenZv//hDvEnntQdIp4gkR3m//hQ0lV2KXqpNGSBNuXQqzKrcQ 3X1x8vOAP4AKoBw8fJDLMpI/Vyd8zs7sVgEUx1gORiwwBmixnrX96ZFD3qisv+1bpIPc WOVdpl+b1CMNxKn1hStW8vUyJ/F77JkKPfrx3LAijJEsgf+Qkq9XGymWFS6af7jdBaAJ rZ3HWkcJLuTHhAQEGOflkBjTK7U5xElC2SkCt9dtuu4dAARS40nBZJ8Y7H8Hbac3M5tl 2OBTN3Ea4wCps4zzRqnHypryMrP1Vcl+ojZG9W5nFwyyIFSwYen9nA5IIMHfZhHwwWSD TEMg==
MIME-Version: 1.0
Received: by 10.220.220.132 with SMTP id hy4mr19774545vcb.33.1343264402839; Wed, 25 Jul 2012 18:00:02 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Wed, 25 Jul 2012 18:00:02 -0700 (PDT)
In-Reply-To: <CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com> <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com> <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com> <CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com>
Date: Wed, 25 Jul 2012 21:00:02 -0400
Message-ID: <CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: grahame@healthintersections.com.au
Cc: James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SuCRI-0007kJ-RI 60e425cdfe570b4fc6911135a35045cc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14759
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>

A trusted intermediary can do anything it likes and the recipient will
accept the data (provided that the trusted intermediary
re-authenticates it)

Now the trusted intermediary may not be trustworthy, but that is a
whole different thing entirely.

On Wed, Jul 25, 2012 at 8:43 PM, Grahame Grieve <grahame@kestral.com.au> wrote:
>> The objective should be to ensure that Web Services do not malfunction
>> in the presence of intermediaries, not to require them to attempt to
>> repair the damage.
>
> of course. But since we live in the real world too, we shouldn't prevent
> their use to repair the damage.
>
>> Where security is concerned the problem is that either something is
>> inside the authentication boundary or it is not. If it is inside the
>> boundary it must not be modified in any way whatsoever if the
>> integrity check is to work at all. If it is outside the boundary then
>> the dispatch service should probably not see it at all lest it end up
>> making assumptions that it is trustworthy.
>
> yes, quite. So currently there is a binary choice: you can have managed
> interactions, or secure interactions. As you say, in an ideal world, we
> would not need managed interactions (nor secure ones, really), But in
> the real world we do live in, we very much need secure interactions, and
> we also need managed ones. I'd like for the protocol to avoid making
> this a binary choice, though it smells ugly to me.
>
>> What it comes down to is that intermediaries that modify HTTP messages
>> can cause Web Services to stop working.
>
> oh yes, though they can also cause them to work in the first place.
>
>> Which is probably a good thing
>> since it is rather unlikely that an intermediary that does not
>> understand the semantics of the Web Service concerned is going to do
>> anything other than introduce breakage or worse introduce a subtle
>> error that it is not readily apparent.
>
> well, typically, in my world, the intermediary is a general purpose
> toolkit introduced over the exchange with the express purpose of
> bridging between two end-points that have very specific disagreements
> about how things work. This is a common requirement when actually
> integrating two off-the-shelf packages that both thought they'd implemented
> the same semantics, but in actual case haven't. In the context of a
> secure exchange, the general purpose toolkit gets to mount a MITM
> attack on them too. This works until the end-to-end security becomes
> part of the transaction semantics, at which point the MITM is no longer
> transparent, and there is no way forward.
>
> Grahame
>
> p.s. this is obviously about application to application web services, and
> the general argument doesn't make sense in a consumer web context.



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 18:16:27 2012
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 CC35711E8093 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 18:16:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.81
X-Spam-Level: 
X-Spam-Status: No, score=-8.81 tagged_above=-999 required=5 tests=[AWL=1.167, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 XYVGUJ86APse for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 18:16:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 16BBA11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 18: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 1SuCes-0000r8-2U for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 01:14:30 +0000
Resent-Date: Thu, 26 Jul 2012 01:14:30 +0000
Resent-Message-Id: <E1SuCes-0000r8-2U@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1SuCeg-0000qN-LP for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 01:14:18 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1SuCef-0008Ak-DV for ietf-http-wg@w3.org; Thu, 26 Jul 2012 01:14:18 +0000
Received: by qafl39 with SMTP id l39so1015858qaf.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 18:13:51 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=6wP0Q3lTsDPbzaOyzHb1083bKNJFWvESpbrH6DaNYJI=; b=g9zHPHxpA8ASaZFUlKlWaW27eqvDmvdC5XdMtUUixwe5cS5tt43pA5OUA8gdGNvTBA 8Xgpm1JppYuNV4JRoSnZ2TwDmsSeXIuYbKCnRSVUe2C1rSG7fTOvurjHZCRqDATemnTd yv9h+RU1G7JllRdyxBydessE9ZsxJfiN0TtGVl0GDPFOD5rdSvHk5w8A6iUj4xj9kius j3CPMLuFcPbbGoVgj1cxBXRgBrmKFhqRDpNwMH1KbIRpg7xGsBw0Sv1Raan6Hutc7ecg A2N8m4V/ikKP+9KfC5ER5mFoZUXkTIuKmyQtEnt3Zg75RzjrcwXSdx7KPi3ITxRwrTrq 2TfA==
MIME-Version: 1.0
Received: by 10.224.187.136 with SMTP id cw8mr400712qab.70.1343265231336; Wed, 25 Jul 2012 18:13:51 -0700 (PDT)
Received: by 10.229.179.9 with HTTP; Wed, 25 Jul 2012 18:13:49 -0700 (PDT)
In-Reply-To: <CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com>
References: <2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org> <CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com>
Date: Thu, 26 Jul 2012 11:13:49 +1000
Message-ID: <CAH_y2NECz8S0Tyf2tCKdiMQ_NzEtqkyRNvmuDCyJdcE8XU3dfg@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQla0fS3po9EMFCuwwmXQy/azvFnQBXx+5kY/g/XKtRs4rDBsHTdniYOm1pMjE5HWriWG/o5
Received-SPF: pass client-ip=209.85.216.50; envelope-from=gregw@intalio.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuCef-0008Ak-DV 090b07bb4e2ebb749ad31046adbb6647
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAH_y2NECz8S0Tyf2tCKdiMQ_NzEtqkyRNvmuDCyJdcE8XU3dfg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14760
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 20 July 2012 02:05, Tim Bray <tbray@textuality.com> wrote:
> No, privacy is important. There are things on my blog that people in
> certain situations could get in trouble just for reading.  I should
> offer privacy, and it=92s a failure on my part that I don=92t.  -T

Privacy is important.

But I think HTTP/2.0 has to be vary careful about what it promises
with regards to privacy as it is not just content that can get readers
into trouble.  It is possible to infer a lot of private information
even from encrypted traffic, just from where it is directed and even
when it is sent.

Seeing a connection from a work computer to a TSFW server is going to
get the reader in trouble no matter if the content is encrypted or
not... it may even get them into worse trouble as imaginations can
fill in the content.

Also consider a Server using some HTTP/2.0 push feature to push out
stock market prices as they change and users can have a custom
portfolio of stocks that they can watch.  It can be very valuable
information to know what stocks a top trader has in their portfolio,
so if you sniff packets on their network, it does not matter that the
contents are encrypted, because over a period you can correlate the
time that they receive encrypted packets with known fluctuations of
stock prices and thus work out the contents of their portfolio.

In the same way, you can match traffic to/from gmail to posts on
forums and mailing lists and infer authors and subscribers on your
local network.  You can even determine lengths of passwords and other
information that can assist with breaking security.

Privacy is important, I just don't think it is something that we can
truly provide simply by encrypting the transport layer.   So there is
a danger in over promising to say that HTTP/2.0 will be TLS for
reasons of privacy.

regards







--=20
Greg Wilkins <gregw@intalio.com>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Wed Jul 25 23:44:44 2012
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 3221121F86D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 23:44:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 IWgu9LQC2DY7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 25 Jul 2012 23:44:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 391A821F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 25 Jul 2012 23:44:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuHm3-0007Eq-MR for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 06:42:15 +0000
Resent-Date: Thu, 26 Jul 2012 06:42:15 +0000
Resent-Message-Id: <E1SuHm3-0007Eq-MR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SuHlo-0007Dd-S0 for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 06:42:00 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SuHli-0006eF-Gf for ietf-http-wg@w3.org; Thu, 26 Jul 2012 06:42:00 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B2B0E3B6B9; Thu, 26 Jul 2012 06:41:32 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6Q6fUaN004469; Thu, 26 Jul 2012 06:41:32 GMT (envelope-from phk@phk.freebsd.dk)
To: "Manger, James H" <James.H.Manger@team.telstra.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 26 Jul 2012 10:04:55 +1000." <255B9BB34FB7D647A506DC292726F6E114F800B6F5@WSMSG3153V.srv.dir.telstra.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 26 Jul 2012 06:41:30 +0000
Message-ID: <4468.1343284890@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SuHli-0006eF-Gf 4f48683144aa778bd6637f0ce84ed31c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/4468.1343284890@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14761
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>

In message <255B9BB34FB7D647A506DC292726F6E114F800B6F5@WSMSG3153V.srv.dir.telst
ra.com>, "Manger, James H" writes:

> > > 3) HTTP security controls should only secure content.
> > > Signing headers is not only difficult, it is often counterproductive.
> > > If a Web service depends on information in a header
> > > there is probably something wrong.
> 
> What about the URI?
> What about the method (GET, POST, DELETE...)?
> 
> Only protecting the body only works for RPC-style web services [...]

This is where we need to use a more precise terminology than "protect",
and "secure":

Are we talking Authenticity, Privacy or Integrity here ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 00:01:42 2012
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 91FC221F86F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 00:01:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.639
X-Spam-Level: 
X-Spam-Status: No, score=-9.639 tagged_above=-999 required=5 tests=[AWL=0.022, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 Zy+tB1pzHuFk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 00:01:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4FEB021F86E5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 00:01:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuI32-00062O-T7 for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 06:59:48 +0000
Resent-Date: Thu, 26 Jul 2012 06:59:48 +0000
Resent-Message-Id: <E1SuI32-00062O-T7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SuI2r-0005zq-Hk for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 06:59:37 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SuI2p-0002jw-Vc for ietf-http-wg@w3.org; Thu, 26 Jul 2012 06:59:37 +0000
Received: by yenq11 with SMTP id q11so1655715yen.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 23:59:10 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=9BEpcDfx1xmYsa6vMhtG7UocjxyFalGEgVVTCM4nsSU=; b=P/UgJU0D1+aEeyn+swqV5pPW7b6zUKNlxCV9OxYHyzlC9sT38m91uou4lesCMpPUGN XaLbCxWEWzB9U6ppKvisvKkvkfoR0RTE65lMIpYjNklKTDY4eIVA6gnQIjEoBBG1wThR SOywQc0jYUHpZyWyvr4YiW6Ooxmng023ZaY5tQHoMQePqwiL+But6QJBNCpXb75llWVv EEm+zb9BhZbHMG2BIu/4bO3aRK33Qu8+jznPC+Gl/FyG+l/Or1ixG1Mj5kquGVpYihLH eATTjFXnd98iI2hiirlNg8TnnIjV4ad7bGNDvtIxWQX0mznetKuGJuyGUChePiFRJ9rC MO6g==
MIME-Version: 1.0
Received: by 10.42.155.73 with SMTP id t9mr27656564icw.48.1343285949637; Wed, 25 Jul 2012 23:59:09 -0700 (PDT)
Received: by 10.64.41.170 with HTTP; Wed, 25 Jul 2012 23:59:09 -0700 (PDT)
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Date: Wed, 25 Jul 2012 23:59:09 -0700
Message-ID: <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=90e6ba61358adc240c04c5b62144
X-Gm-Message-State: ALoCoQliBZ3QXFhyoufZGRQ4yPsviT200yvQtIbB49i6y7fk66fu32LhNIaIwClaG0QR0E8pQJb9
Received-SPF: none client-ip=209.85.213.171; envelope-from=mike@belshe.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SuI2p-0002jw-Vc 212de0bd0783afe9693be6134cd2a40b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14762
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>

--90e6ba61358adc240c04c5b62144
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> I have been thinking a lot about Web Services and how their security
> needs should be met in HTTP/2.0. I came up with some thoughts that
> might provoke discussion:
>
> 0) The killer application for HTTP/2.0 (if any) is going to be Web
> Services. Anyone supporting a Web server is going to have to support
> /1.1 for decades to come. A new Web Service can stipulate HTTP/2.0
> transport as a requirement.


> 1) TLS security is good for what it does, but it is still transport
> security and will therefore be hop-by-hop as far as intermediaries are
>

Actually, TLS is end-to-end encrypted and just an opaque byte stream as far
as intermediaries are concerned.  I'm not sure what you mean by hop-by-hop,
but TLS is not (to me) hop-by-hop.


> concerned. This gives rise to the need for security features in HTTP
> that are orthogonal to TLS and can survive passage through an
> intermediary.
>



>
> 2) Multiplexing changes the nature of Web Services security and allows
> for a significant simplification. Under HTTP/1.1 a Web Service that
> takes a message from A and forwards it to B has to modify the content
> if it is going to provide additional information in the transaction.
> This constraint no longer applies under multiplexing.
>

I don't think multiplexing has impact on this.  If HTTP/2.0 (with
multiplexing) is truly transparent, then the higher level message
transformations are identical with or without mux.


>
> 3) HTTP security controls should only secure content. Signing headers
> is not only difficult, it is often counterproductive. If a Web service
> depends on information in a header there is probably something wrong.
>

Like a cookie?  We can retroactively try to claim cookies are wrong, but
that doesn't help the millions of services that employ them today.

I think you're just differentiating the securing of the stream (which is
what TLS does) from the securing of the content (some sort of signing).
 These are independent and can be mixed and matched.

Mike






>
>
> This last one might seem a little controversial, after all, doesn't
> DKIM have a mechanism for header signing? DKIM does have a header
> signing mechanism but the headers being signed should probably have
> been content in the first place. The subject line, From, To, these are
> all message content. They are part of the headers because content and
> routing are conflated in SMTP email.
>
> HTTP does have a similar conflation, but nowhere near as severe.
> Content is mostly confined to the body and Routing is strictly
> confined to the Head. The parts that cross the line are
> Content-Encoding and Content-Type. Both of which are ignored in a Web
> Services context almost all the time.  Yes, a Web Service could
> support multiple character encodings but I cannot see any case where I
> would want the service to use Content-Encoding to make the choice.
>
>
> >From these I draw the following conclusions:
>
> * HTTP 2.0 should draw a distinction between routing headers and
> content meta-data
> * HTTP encryption and authentication are necessary independent of TLS
> support
>
> --
> Website: http://hallambaker.com/
>
>

--90e6ba61358adc240c04c5b62144
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Jul 25, 2012 at 9:59 AM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
I have been thinking a lot about Web Services and how their security<br>
needs should be met in HTTP/2.0. I came up with some thoughts that<br>
might provoke discussion:<br>
<br>
0) The killer application for HTTP/2.0 (if any) is going to be Web<br>
Services. Anyone supporting a Web server is going to have to support<br>
/1.1 for decades to come. A new Web Service can stipulate HTTP/2.0<br>
transport as a requirement.</blockquote><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
1) TLS security is good for what it does, but it is still transport<br>
security and will therefore be hop-by-hop as far as intermediaries are<br><=
/blockquote><div><br></div><div>Actually, TLS is end-to-end encrypted and j=
ust an opaque byte stream as far as intermediaries are concerned. =A0I&#39;=
m not sure what you mean by hop-by-hop, but TLS is not (to me) hop-by-hop.<=
/div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
concerned. This gives rise to the need for security features in HTTP<br>
that are orthogonal to TLS and can survive passage through an<br>
intermediary.<br></blockquote><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<br>
2) Multiplexing changes the nature of Web Services security and allows<br>
for a significant simplification. Under HTTP/1.1 a Web Service that<br>
takes a message from A and forwards it to B has to modify the content<br>
if it is going to provide additional information in the transaction.<br>
This constraint no longer applies under multiplexing.<br></blockquote><div>=
<br>I don&#39;t think multiplexing has impact on this. =A0If HTTP/2.0 (with=
 multiplexing) is truly transparent, then the higher level message transfor=
mations are identical with or without mux.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
3) HTTP security controls should only secure content. Signing headers<br>
is not only difficult, it is often counterproductive. If a Web service<br>
depends on information in a header there is probably something wrong.<br></=
blockquote><div><br></div><div>Like a cookie? =A0We can retroactively try t=
o claim cookies are wrong, but that doesn&#39;t help the millions of servic=
es that employ them today.</div>
<div><br></div><div>I think you&#39;re just differentiating the securing of=
 the stream (which is what TLS does) from the securing of the content (some=
 sort of signing). =A0These are independent and can be mixed and matched.</=
div>
<div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div>=
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
This last one might seem a little controversial, after all, doesn&#39;t<br>
DKIM have a mechanism for header signing? DKIM does have a header<br>
signing mechanism but the headers being signed should probably have<br>
been content in the first place. The subject line, From, To, these are<br>
all message content. They are part of the headers because content and<br>
routing are conflated in SMTP email.<br>
<br>
HTTP does have a similar conflation, but nowhere near as severe.<br>
Content is mostly confined to the body and Routing is strictly<br>
confined to the Head. The parts that cross the line are<br>
Content-Encoding and Content-Type. Both of which are ignored in a Web<br>
Services context almost all the time. =A0Yes, a Web Service could<br>
support multiple character encodings but I cannot see any case where I<br>
would want the service to use Content-Encoding to make the choice.<br>
<br>
<br>
&gt;From these I draw the following conclusions:<br>
<br>
* HTTP 2.0 should draw a distinction between routing headers and<br>
content meta-data<br>
* HTTP encryption and authentication are necessary independent of TLS suppo=
rt<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</font></span></blockquote></div><br>

--90e6ba61358adc240c04c5b62144--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 01:51:00 2012
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 5734B21F8754 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 01:51:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 e+sJ1+VezU4w for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 01:50:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A8AF21F8711 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 01:50:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuJl8-0001Zy-8w for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 08:49:26 +0000
Resent-Message-Id: <E1SuJl8-0001Zy-8w@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SuJl1-0001ZK-Bd for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 08:49:19 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SuJl1-00036n-A9 for ietf-http-wg@w3.org; Thu, 26 Jul 2012 08:49:19 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SuJl1-0006Dg-56 for ietf-http-wg@w3.org; Thu, 26 Jul 2012 04:49:19 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1SuAHW-0005iL-1I for ylafon@jay.w3.org; Wed, 25 Jul 2012 18:42:14 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SuAHV-0007sM-TX for ylafon@w3.org; Wed, 25 Jul 2012 22:42:13 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SuAHV-0000s2-Lj for ylafon@w3.org; Wed, 25 Jul 2012 22:42:13 +0000
Date: Wed, 25 Jul 2012 22:42:13 +0000
X-From_: jfrench@denirostaff.com Wed Jul 25 22:42:06 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jfrench@denirostaff.com>) id 1SuAHO-0000rP-PJ for ietf-http-wg@listhub.w3.org; Wed, 25 Jul 2012 22:42:06 +0000
X-Received: from na3sys010aog110.obsmtp.com ([74.125.245.88]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <jfrench@denirostaff.com>) id 1SuAHN-0007rP-Nw for ietf-http-wg@w3.org; Wed, 25 Jul 2012 22:42:06 +0000
X-Received: from mail-gh0-f181.google.com ([209.85.160.181]) (using TLSv1) by na3sys010aob110.postini.com ([74.125.244.12]) with SMTP ID DSNKUBB2J+qJK+A2SOyT6pyYvih1AHo6wScV@postini.com; Wed, 25 Jul 2012 15:42:05 PDT
X-Received: by ghbz13 with SMTP id z13so1404482ghb.12 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 15:41:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denirostaff.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=D7CnyxRseOyhPhZbci3hUrzA/S5HYT9aAy1UJDdzB/Y=; b=fFpjtVCxbdjs3B+lAfhI94PdKVbGZVkAnaASTTdPcLM+sIwdpNIrQhLnCxjOSmuX9K n8sL/bBxkZH+toTU/IFONpLvzykCBkV/U8JdMg6xn1O4tmhzzjoBvbQd2YaQrn6hIvx0 c2hq/zcVClF9CacUEt6aY1X91X+A2EPgj7lCs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=D7CnyxRseOyhPhZbci3hUrzA/S5HYT9aAy1UJDdzB/Y=; b=fZjgvvwyEn2t09LCaVXk9Bf62W3OaFkC8gNRNBqmhuhj28elhQLS7GQtvhzKOLHTgD 5p/Sc4GCSDJtq8nTJA/DsgC12XEQ1ti+9nUsnCGWNBe22dZz65hPmcbEZQF4EpQSY3he D3OXBduCl/Sz83nz58QHMo6coydZX0QS4dPyUkMImrz+w2RYUgBGhhEKXY7LMy8yyTFV 60tZ0b1KBHvOcW/C/BSnxVsiuGdYG4N9Pf9RtRUH2mkl86OGiexKgg20q2AgL0FA+fdk UoBGpCVxJND/a96nBfymf9xeQATJq06dcaMFamnLxSU8wvgoeOWTtOyT4wZw/WgjZVKI wbww==
MIME-Version: 1.0
X-Received: by 10.50.173.69 with SMTP id bi5mr157948igc.38.1343256103002; Wed, 25 Jul 2012 15:41:43 -0700 (PDT)
X-Received: by 10.50.94.229 with HTTP; Wed, 25 Jul 2012 15:41:42 -0700 (PDT)
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Old-Date: Wed, 25 Jul 2012 15:41:42 -0700
Message-ID: <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com>
From: James French <jfrench@denirostaff.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQkIy+QMAyd6WXTLmWj2ccBiCNNP5PEO1qEk5wb43sAA2DVWsCBsvAuVjnJj2iZN550mptT+
Received-SPF: pass client-ip=74.125.245.88; envelope-from=jfrench@denirostaff.com; helo=na3sys010aog110.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SuAHN-0007rP-Nw 8e4a544c21ad6cacee815114022b2e6d
Old-X-Envelope-To: ietf-http-wg
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Jul 25 18:42:14 2012
X-DSPAM-Confidence: 0.9989
X-DSPAM-Improbability: 1 in 91235 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 50107646219751348253982
ReSent-Date: Thu, 26 Jul 2012 04:49:15 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: Content security model
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14765
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>

It occurs to me that a man-in-the-middle could change a Content-Type
header to trick a web service into a delivering scripted data.

1.) MITM uploads script.jpg to https2://legit-host/script.jpg
2.) Client requests /script.jpg from legit-host
3.) legit-host signs and delivers script.jpg with a Content-Type of: image/jpg
4.) MITM changes Content-Type header from image/jpg to text/html
5.) Client runs script.jpg with the permissions level of a script
running on legit-host

It's unlikely that this scenario would come up in practice, but it
does exist as a hypothetical vector.

On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>
>
> 3) HTTP security controls should only secure content. Signing headers
> is not only difficult, it is often counterproductive. If a Web service
> depends on information in a header there is probably something wrong
>




From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 01:51:00 2012
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 B5DEF21F8711 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 01:51:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 0pExf0js3Ok5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 01:50:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A83F21F8700 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 01:50:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuJkg-0001Y4-I9 for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 08:48:58 +0000
Resent-Message-Id: <E1SuJkg-0001Y4-I9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SuJka-0001XM-3u for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 08:48:52 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SuJka-000361-2J for ietf-http-wg@w3.org; Thu, 26 Jul 2012 08:48:52 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SuJkZ-0006Cs-TD for ietf-http-wg@w3.org; Thu, 26 Jul 2012 04:48:51 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1SuCWd-0007Vs-R5 for ylafon@jay.w3.org; Wed, 25 Jul 2012 21:05:59 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SuCWd-00080U-MU for ylafon@w3.org; Thu, 26 Jul 2012 01:05:59 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SuCWd-0007aU-Fq for ylafon@w3.org; Thu, 26 Jul 2012 01:05:59 +0000
Date: Thu, 26 Jul 2012 01:05:59 +0000
X-From_: grahameg@gmail.com Thu Jul 26 01:05:52 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SuCWW-0007ZQ-Ox for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 01:05:52 +0000
X-Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grahameg@gmail.com>) id 1SuCWU-0003zg-VN for ietf-http-wg@w3.org; Thu, 26 Jul 2012 01:05:52 +0000
X-Received: by yenq11 with SMTP id q11so1454102yen.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 18:05:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=q8UVCHN4nrr+CUVSEiuiguSQ8PnbL3wfKqISxGC0rAw=; b=INeTPTgXfZvoSSTn9E08aRJfHTa1iODKHdz0chpGRMCYJHwjmu18Pg4RZoUp5XMT3T Zk9hhlp7335i+yt+KfP1hnXU4deYJSbBFs68Mi5akpJE7EuCUbsSblyBZ37f+zYYVjGM T9/AJqP+jgQSkX4efZ6YI6bwxgVcp7io/wZRPAPDcEgrMrFqgm1227oQ3YiOylhZnioA HHyt6n6CUKyctAlzOPmmo1YP9tieCObsVCKJum23g7Zs+k3A9wnO2xTFqGnCl/7JnFpA SBV9+LUV3pvFT5SvjjYBE8ED06eyPO2qN1uauc8Ku3nLK8MjWLYr9AcYl+IlY+vlh9XZ ICww==
MIME-Version: 1.0
X-Received: by 10.66.83.200 with SMTP id s8mr16572030pay.10.1343264724929; Wed, 25 Jul 2012 18:05:24 -0700 (PDT)
Sender: grahameg@gmail.com
X-Received: by 10.143.145.12 with HTTP; Wed, 25 Jul 2012 18:05:24 -0700 (PDT)
In-Reply-To: <CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com> <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com> <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com> <CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com> <CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com>
Old-Date: Thu, 26 Jul 2012 11:05:24 +1000
X-Google-Sender-Auth: 39a-V012_DiqKuTQMeOORZ4s9lE
Message-ID: <CAG47hGYa9ZSQZ-qW7C-m0a_73YWc9ZXG0Tpm6_C48GxYiLuViA@mail.gmail.com>
From: Grahame Grieve <grahame@healthintersections.com.au>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.213.171; envelope-from=grahameg@gmail.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SuCWU-0003zg-VN bd050798e1c7006530a40ed0bd4b8885
Old-X-Envelope-To: ietf-http-wg
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Jul 25 21:06:00 2012
X-DSPAM-Confidence: 0.9994
X-DSPAM-Improbability: 1 in 169316 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 501097f8288907224784171
ReSent-Date: Thu, 26 Jul 2012 04:48:47 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: Content security model
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAG47hGYa9ZSQZ-qW7C-m0a_73YWc9ZXG0Tpm6_C48GxYiLuViA@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14763
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>

well, perhaps I should express my thinking like this:

   trust is not layered. it's all captured to either the intermediary
   or the server. I wish it were otherwise.

Grahame

On Thu, Jul 26, 2012 at 11:00 AM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> A trusted intermediary can do anything it likes and the recipient will
> accept the data (provided that the trusted intermediary
> re-authenticates it)
>
> Now the trusted intermediary may not be trustworthy, but that is a
> whole different thing entirely.
>
> On Wed, Jul 25, 2012 at 8:43 PM, Grahame Grieve <grahame@kestral.com.au> wrote:
>>> The objective should be to ensure that Web Services do not malfunction
>>> in the presence of intermediaries, not to require them to attempt to
>>> repair the damage.
>>
>> of course. But since we live in the real world too, we shouldn't prevent
>> their use to repair the damage.
>>
>>> Where security is concerned the problem is that either something is
>>> inside the authentication boundary or it is not. If it is inside the
>>> boundary it must not be modified in any way whatsoever if the
>>> integrity check is to work at all. If it is outside the boundary then
>>> the dispatch service should probably not see it at all lest it end up
>>> making assumptions that it is trustworthy.
>>
>> yes, quite. So currently there is a binary choice: you can have managed
>> interactions, or secure interactions. As you say, in an ideal world, we
>> would not need managed interactions (nor secure ones, really), But in
>> the real world we do live in, we very much need secure interactions, and
>> we also need managed ones. I'd like for the protocol to avoid making
>> this a binary choice, though it smells ugly to me.
>>
>>> What it comes down to is that intermediaries that modify HTTP messages
>>> can cause Web Services to stop working.
>>
>> oh yes, though they can also cause them to work in the first place.
>>
>>> Which is probably a good thing
>>> since it is rather unlikely that an intermediary that does not
>>> understand the semantics of the Web Service concerned is going to do
>>> anything other than introduce breakage or worse introduce a subtle
>>> error that it is not readily apparent.
>>
>> well, typically, in my world, the intermediary is a general purpose
>> toolkit introduced over the exchange with the express purpose of
>> bridging between two end-points that have very specific disagreements
>> about how things work. This is a common requirement when actually
>> integrating two off-the-shelf packages that both thought they'd implemented
>> the same semantics, but in actual case haven't. In the context of a
>> secure exchange, the general purpose toolkit gets to mount a MITM
>> attack on them too. This works until the end-to-end security becomes
>> part of the transaction semantics, at which point the MITM is no longer
>> transparent, and there is no way forward.
>>
>> Grahame
>>
>> p.s. this is obviously about application to application web services, and
>> the general argument doesn't make sense in a consumer web context.
>
>
>
> --
> Website: http://hallambaker.com/



-- 
-----
http://www.healthintersections.com.au /
grahame@healthintersections.com.au / +61 411 867 065




From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 01:51:01 2012
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 6B18A21F8700 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 01:51:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 eswGRfQ0f+s9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 01:50:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A87121F8705 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 01:50:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuJkp-0001ZD-OH for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 08:49:07 +0000
Resent-Message-Id: <E1SuJkp-0001ZD-OH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SuJkj-0001Y7-QI for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 08:49:01 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SuJkj-0006pt-Oj for ietf-http-wg@w3.org; Thu, 26 Jul 2012 08:49:01 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SuJkj-0006D5-IX for ietf-http-wg@w3.org; Thu, 26 Jul 2012 04:49:01 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1SuGND-0004K7-Aa for ylafon@jay.w3.org; Thu, 26 Jul 2012 01:12:31 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SuGND-000754-6V for ylafon@w3.org; Thu, 26 Jul 2012 05:12:31 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1SuGND-0008Tk-0V for ylafon@w3.org; Thu, 26 Jul 2012 05:12:31 +0000
Date: Thu, 26 Jul 2012 05:12:31 +0000
X-From_: fuzzybsc@gmail.com Thu Jul 26 05:12:24 2012
X-Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1SuGN6-0008T7-EX for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 05:12:24 +0000
X-Received: from mail-gg0-f171.google.com ([209.85.161.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1SuGN5-00074Q-3Y for ietf-http-wg@w3.org; Thu, 26 Jul 2012 05:12:24 +0000
X-Received: by ggmi1 with SMTP id i1so1575435ggm.2 for <ietf-http-wg@w3.org>; Wed, 25 Jul 2012 22:11:57 -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=gL8nJKdTiSfvXSnr/p8YAUbTX/H5FUbaoSiXmHIzzS0=; b=Voemju3i1F30v5CmSREgAjRjokJlkdkhkbpMriJkO6pQrKSaM+pWzVhedBWWtYB1PP HGYx0fmpH462FsEqe0FDNf1pxr/5D/Z6IIcGSIcUMhzmDHrjHpy8WvaxcjqV9V1eLms3 7UdANCvlqEsusbEagQCxwSUSwrqdLBx7JNo0hL9WIeG+RKawbo3WiBJ+WXDE6x3JzyfC XjTnBxdYEEQ0o4cv7uuURj7Bc3td6eAx0T7POItlWEKN71jACHgwpm5s3SUNGqI6YMB0 gKX8V0ScVT96AQQ8RRPDex/PEnkO36xYlzfyAtFt71TOxjWxIo9v0lTybNBGtODuZmtk tzJg==
MIME-Version: 1.0
X-Received: by 10.42.132.1 with SMTP id b1mr20188824ict.8.1343279517098; Wed, 25 Jul 2012 22:11:57 -0700 (PDT)
X-Received: by 10.64.52.231 with HTTP; Wed, 25 Jul 2012 22:11:53 -0700 (PDT)
X-Received: by 10.64.52.231 with HTTP; Wed, 25 Jul 2012 22:11:53 -0700 (PDT)
In-Reply-To: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com>
Old-Date: Thu, 26 Jul 2012 15:11:53 +1000
Message-ID: <CAN2g+6YKnKeB0X6J3RNN=FozQuQ7vv-hDZ7f7hwrOgmFfh1bKQ@mail.gmail.com>
From: Benjamin Carlyle <fuzzybsc@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=90e6ba3fd4f97364cb04c5b4a2a9
Received-SPF: pass client-ip=209.85.161.171; envelope-from=fuzzybsc@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuGN5-00074Q-3Y 1c8fef6948ed22f46d11d8f80a4f2be5
Old-X-Envelope-To: ietf-http-wg
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Jul 26 01:12:32 2012
X-DSPAM-Confidence: 0.9995
X-DSPAM-Improbability: 1 in 184226 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 5010d1c0166291804284693
ReSent-Date: Thu, 26 Jul 2012 04:48:56 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: Content security model
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAN2g+6YKnKeB0X6J3RNN=FozQuQ7vv-hDZ7f7hwrOgmFfh1bKQ@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14764
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>

--90e6ba3fd4f97364cb04c5b4a2a9
Content-Type: text/plain; charset=UTF-8

On Jul 26, 2012 3:03 AM, "Phillip Hallam-Baker" <hallam@gmail.com> wrote:
> I have been thinking a lot about Web Services and how their security
> needs should be met in HTTP/2.0. I came up with some thoughts that
> might provoke discussion:
> 0) The killer application for HTTP/2.0 (if any) is going to be Web
> Services. Anyone supporting a Web server is going to have to support
> /1.1 for decades to come. A new Web Service can stipulate HTTP/2.0
> transport as a requirement.

Here's a crazy thought. Why don't we put the knives away for a moment and
consider whether the new version of http could line up a little closer with
soap, if not necessarily in syntax then perhaps at least a little in its
model? Currently the structure of a http message is approximately a method
and uri or status code, plus key/value store of headers that each have
additional per header syntax and data model, plus an optional body.
Ignoring the whole of soap for a moment if that were merely translatable to
an xml info set then you could pick up xml canonicalization, signatures,
and encryption for relatively little standards work. It might even be
possible to consider unifying soap and http at this protocol level so we no
longer need to wrap one in the other in order to cross between systems.

I know the soap and http cultures have some distance between them, and I
know that there are technical difficulties as well as dangers of polluting
nice pure architectural style, but it seems to me that to have a run up
towards a new major version as important as http with a rollout that will
take decades to complete that making peace between the political and
technical needs of a few warring factions sold not be too big an issue to
consider biting off.

Maybe I'm crazy and/or naive :)

> 3) HTTP security controls should only secure content. Signing headers
> is not only difficult, it is often counterproductive. If a Web service
> depends on information in a header there is probably something wrong.

I don't see a point in securing a request message unless it's recipient can
authenticate uri, headers and body as being unchanged from when they were
authentically written on behalf of the user with possible additional
annotations from intermediaries. I don't see the point in securing content
returned from a server unless you are also securing cache control
information that tells me it is still valid and is not done kind of replay
attack, and again various header information is relevant to want to secure.

> >From these I draw the following conclusions:
> * HTTP 2.0 should draw a distinction between routing headers and
> content meta-data
> * HTTP encryption and authentication are necessary independent of TLS
support

It seems to me we shouldn't need two solutions to any given problem. Soap's
tenancy to use custom methods, custom headers, and custom media types (ie
custom schemas) are not things we want or need on the Web, but I find it a
shame to be heading in different directions on basic important things like
signatures and encryption of messages. In the end http and soap at the
message structure level have but a hairl's difference between them. It
seems naively to me that I'd http were to take a step towards soap at that
basic message structure level that other standardisation problems might
become simpler to solve, and that the shared solution could facilitate an
unwrapping of soap messages to be able to be sent potentially as first
class citizens on the web... Although problems with WS-Addressing might be
the first hurdle to cross.

Benjamin

--90e6ba3fd4f97364cb04c5b4a2a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p><br>
On Jul 26, 2012 3:03 AM, &quot;Phillip Hallam-Baker&quot; &lt;<a href=3D"ma=
ilto:hallam@gmail.com">hallam@gmail.com</a>&gt; wrote:<br>
&gt; I have been thinking a lot about Web Services and how their security<b=
r>
&gt; needs should be met in HTTP/2.0. I came up with some thoughts that<br>
&gt; might provoke discussion:<br>
&gt; 0) The killer application for HTTP/2.0 (if any) is going to be Web<br>
&gt; Services. Anyone supporting a Web server is going to have to support<b=
r>
&gt; /1.1 for decades to come. A new Web Service can stipulate HTTP/2.0<br>
&gt; transport as a requirement.</p>
<p>Here&#39;s a crazy thought. Why don&#39;t we put the knives away for a m=
oment and consider whether the new version of http could line up a little c=
loser with soap, if not necessarily in syntax then perhaps at least a littl=
e in its model? Currently the structure of a http message is approximately =
a method and uri or status code, plus key/value store of headers that each =
have additional per header syntax and data model, plus an optional body.<br=
>

Ignoring the whole of soap for a moment if that were merely translatable to=
 an xml info set then you could pick up xml canonicalization, signatures, a=
nd encryption for relatively little standards work. It might even be possib=
le to consider unifying soap and http at this protocol level so we no longe=
r need to wrap one in the other in order to cross between systems.</p>

<p>I know the soap and http cultures have some distance between them, and I=
 know that there are technical difficulties as well as dangers of polluting=
 nice pure architectural style, but it seems to me that to have a run up to=
wards a new major version as important as http with a rollout that will tak=
e decades to complete that making peace between the political and technical=
 needs of a few warring factions sold not be too big an issue to consider b=
iting off.</p>

<p>Maybe I&#39;m crazy and/or naive :)</p>
<p>&gt; 3) HTTP security controls should only secure content. Signing heade=
rs<br>
&gt; is not only difficult, it is often counterproductive. If a Web service=
<br>
&gt; depends on information in a header there is probably something wrong.<=
/p>
<p>I don&#39;t see a point in securing a request message unless it&#39;s re=
cipient can authenticate uri, headers and body as being unchanged from when=
 they were authentically written on behalf of the user with possible additi=
onal annotations from intermediaries. I don&#39;t see the point in securing=
 content returned from a server unless you are also securing cache control =
information that tells me it is still valid and is not done kind of replay =
attack, and again various header information is relevant to want to secure.=
</p>

<p>&gt; &gt;From these I draw the following conclusions:<br>
&gt; * HTTP 2.0 should draw a distinction between routing headers and<br>
&gt; content meta-data<br>
&gt; * HTTP encryption and authentication are necessary independent of TLS =
support</p>
<p>It seems to me we shouldn&#39;t need two solutions to any given problem.=
 Soap&#39;s tenancy to use custom methods, custom headers, and custom media=
 types (ie custom schemas) are not things we want or need on the Web, but I=
 find it a shame to be heading in different directions on basic important t=
hings like signatures and encryption of messages. In the end http and soap =
at the message structure level have but a hairl&#39;s difference between th=
em. It seems naively to me that I&#39;d http were to take a step towards so=
ap at that basic message structure level that other standardisation problem=
s might become simpler to solve, and that the shared solution could facilit=
ate an unwrapping of soap messages to be able to be sent potentially as fir=
st class citizens on the web... Although problems with WS-Addressing might =
be the first hurdle to cross.</p>

<p>Benjamin<br>
</p>

--90e6ba3fd4f97364cb04c5b4a2a9--




From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 02:03:18 2012
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 51CC621F8732 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 02:03:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 YcPc2LomAxvL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 02:03:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1F36A21F8735 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 02:03:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuJxG-0000UY-Ik for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 09:01:58 +0000
Resent-Date: Thu, 26 Jul 2012 09:01:58 +0000
Resent-Message-Id: <E1SuJxG-0000UY-Ik@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SuJx5-0000Po-Bl for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 09:01:47 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SuJwv-0007Fk-32 for ietf-http-wg@w3.org; Thu, 26 Jul 2012 09:01:47 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 586E43B081; Thu, 26 Jul 2012 09:01:15 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6Q91E3V004937; Thu, 26 Jul 2012 09:01:14 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 25 Jul 2012 23:59:09 MST." <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 26 Jul 2012 09:01:14 +0000
Message-ID: <4936.1343293274@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SuJwv-0007Fk-32 df84da6d5c3825ed390dfc9a8cf1add2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/4936.1343293274@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14766
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>

In message <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com>
, Mike Belshe writes:

>Actually, TLS is end-to-end encrypted and just an opaque byte stream as far
>as intermediaries are concerned.  I'm not sure what you mean by hop-by-hop,
>but TLS is not (to me) hop-by-hop.

TLS is, as far as content is concerned hop-by-hop.

Usage of the broken CA-certificate model for key-material limits TLS
to one hop which connects end to end, but other key-material models
support more hops.

This is one of the reasons I push the envelope+(metadata+content)
model for HTTP/2.0:  You can use TLS to gain privacy for
the envelope on a hop-by-hop basis, while still allowing the
intermediaries to act on that envelope, and while still having
end-to-end privacy on the metadata+content.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 05:22:40 2012
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 4187C21F875B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 05:22:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.219
X-Spam-Level: 
X-Spam-Status: No, score=-8.219 tagged_above=-999 required=5 tests=[AWL=2.380, BAYES_00=-2.599, 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 7KWYdmwpvijr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 05:22:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B2A521F8758 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 05:22:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuN2k-0002oK-6T for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 12:19:50 +0000
Resent-Date: Thu, 26 Jul 2012 12:19:50 +0000
Resent-Message-Id: <E1SuN2k-0002oK-6T@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SuN2Y-0002lc-8I for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 12:19:38 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SuN2T-0002Qv-Jt for ietf-http-wg@w3.org; Thu, 26 Jul 2012 12:19:38 +0000
Received: (qmail invoked by alias); 26 Jul 2012 12:19:06 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp020) with SMTP; 26 Jul 2012 14:19:06 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX191xuNYYbx1ItP1+MBn+SMx/bt4xQ9C559vNFUKb+ 6SrDsFSNK6V8d9
Message-ID: <501135B7.30400@gmx.de>
Date: Thu, 26 Jul 2012 14:19:03 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Mark Nottingham <mnot@mnot.net>, Larry Masinter <masinter@adobe.com>,  httpbis Group <ietf-http-wg@w3.org>, Adam Barth <ietf@adambarth.com>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net> <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net> <4F3C275E.8000201@gmx.de> <A856BE50-5605-4C63-9C7C-BC3721607628@gbiv.com> <4F3D8317.3050206@gmx.de> <4FCD0862.7020104@gmx.de>
In-Reply-To: <4FCD0862.7020104@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SuN2T-0002Qv-Jt 3d1eabd756bff8670d8e34daa038981a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also    #43)
Archived-At: <http://www.w3.org/mid/501135B7.30400@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14767
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 2012-06-04 21:11, Julian Reschke wrote:

> In the meantime, I have test cases for this at
> <http://greenbytes.de/tech/tc/httpredirects/#l-fragments>: all tested
> User Agents behave as specified, except for
>
> - Internet Explorer (<= 9); but I believe this is fixed in Internet
> Explorer 10, and

It is.

> - Safari.

But Safari 6 still doesn't follow the spec.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 05:23:46 2012
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 D594821F875B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 05:23:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.248
X-Spam-Level: 
X-Spam-Status: No, score=-8.248 tagged_above=-999 required=5 tests=[AWL=2.351, BAYES_00=-2.599, 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 NAOAEcftFRvd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 05:23:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E56CB21F8758 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 05:23:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuN5b-0004Gu-Ab for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 12:22:47 +0000
Resent-Date: Thu, 26 Jul 2012 12:22:47 +0000
Resent-Message-Id: <E1SuN5b-0004Gu-Ab@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SuN5P-0004Di-TW for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 12:22:35 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SuN5K-0002Zn-4h for ietf-http-wg@w3.org; Thu, 26 Jul 2012 12:22:35 +0000
Received: (qmail invoked by alias); 26 Jul 2012 12:22:03 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp024) with SMTP; 26 Jul 2012 14:22:03 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19lda16hjVl+dhLDLktZJQb9sIM5DJxrY/PAwzJIx NqsY7blMV7KFgW
Message-ID: <50113665.5040401@gmx.de>
Date: Thu, 26 Jul 2012 14:21:57 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <912AAC79-C1DA-4580-A124-09C6770A6D8C@mnot.net> <4E5553DC.3030802@gmx.de> <64904A13-5E71-485D-92FD-018CFD1155A7@mnot.net> <4E5D04CD.5020209@gmx.de> <E59DB98D-75B0-43EC-B3C1-8F39BCA9EAA9@mnot.net> <4E5DD0EB.5000304@gmx.de> <9236D00D-E21A-42D8-B885-9B108FB1988E@mnot.net> <4E5DEE0A.2000601@gmx.de> <4E5E459A.9090302@gmx.de> <4E5F5179.3000605@gmx.de> <4EB17406.8070404@gmx.de> <4FCD0621.70405@gmx.de>
In-Reply-To: <4FCD0621.70405@gmx.de>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SuN5K-0002Zn-4h 692fd8465cc43d269ded8c0ccd0da96e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #160: Redirects and non-GET methods
Archived-At: <http://www.w3.org/mid/50113665.5040401@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14768
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 2012-06-04 21:01, Julian Reschke wrote:
> Seven months have passed, and we have updated tests
> (<http://www.mnot.net/javascript/xmlhttprequest/> and
> <http://greenbytes.de/tech/tc/httpredirects/>), and updated test results:
>
> - Firefox has been fixed to only rewrite POST to GET, and the fix is
> part of Firefox 13, to be released tomorrow.
>
> - Chrome (as mentioned above) has been doing the right thing since
> version 17.
>
> - IE has been doing the right thing forever; there's only a small glitch
> with respect to a HEAD request redirected by 303 being rewritten to GET
> (see <http://greenbytes.de/tech/tc/httpredirects/#t303HEAD>)
>
> - Safari still rewrites non-POST methods.

This is still the case for Safari 6.

> - So does apparently Opera, although I have problems running the tests,
> sometimes causing test failures because XHR doesn't see response headers
> (win7, 64bit), sometimes crashing the browser (win7, 32bit).

Same here, but hopefully this is going to be fixed in 12.01.

> - Konqueror has test execution problems as well.
>
> ...this means that at least on the desktop, the vast majority of browser
> installations will do the right thing as of tomorrow.
>
> Best regards, Julian

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 06:27:54 2012
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 2A51621F865E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 06:27:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 EfyBP8JTrlDU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 06:27:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C51A21F85D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 06:27:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuO5H-0004ln-Dj for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 13:26:31 +0000
Resent-Date: Thu, 26 Jul 2012 13:26:31 +0000
Resent-Message-Id: <E1SuO5H-0004ln-Dj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1SuO55-0004kM-TV for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 13:26:19 +0000
Received: from moutng.kundenserver.de ([212.227.17.9]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1SuO50-0005AO-9E for ietf-http-wg@w3.org; Thu, 26 Jul 2012 13:26:19 +0000
Received: from [10.90.130.24] ([87.253.171.207]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Luphl-1TtoKb0837-00zq8K; Thu, 26 Jul 2012 15:25:48 +0200
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Jan Algermissen <jan.algermissen@nordsc.com>
In-Reply-To: <CAN2g+6YKnKeB0X6J3RNN=FozQuQ7vv-hDZ7f7hwrOgmFfh1bKQ@mail.gmail.com>
Date: Thu, 26 Jul 2012 15:25:46 +0200
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8AB39BBA-82FF-4EC6-A028-91E15B40B7EE@nordsc.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAN2g+6YKnKeB0X6J3RNN=FozQuQ7vv-hDZ7f7hwrOgmFfh1bKQ@mail.gmail.com>
To: Benjamin Carlyle <fuzzybsc@gmail.com>
X-Mailer: Apple Mail (2.1278)
X-Provags-ID: V02:K0:iNdDv30FA5qf6r2rBQnVmh1cuflz9aoGFzz+z+/3sZi V6RxVDseDi+nC0oGciBQkdjRLrARrwmLi2hysrpQJGHwuG7lJR PWfgzhYAi+Gvs2YGtB55Ap/wHBQx3wsxKbm9h7E3/hCNISX1Eo B1V2Zc5ZTnn5o74DXXJP32zvmaTgZr4frffJBUc2ELVIgurbZk oVF00O3lSTBc0IuVRV2+q9dWKPYB6lTZUt1yBSFrEfySGLHs7U dqcoAvysY2iQsZ4yAtF82IPR7V39SMLmM3h+3UiFTGKrSMdsQu SWrt/7LIDkOZiy0DcAWiRIJxEIdwt4G6BLg36JIR0XpIH9EjQq iVtHRQHAX2ygx57vpRxoaCpuP8aIlEyw+igwN6hkusxwfjzmQP ZUZfCKbqVCC3Q==
Received-SPF: none client-ip=212.227.17.9; envelope-from=jan.algermissen@nordsc.com; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SuO50-0005AO-9E 3cc178fa10fc8b1de6943019a4dee118
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/8AB39BBA-82FF-4EC6-A028-91E15B40B7EE@nordsc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14769
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 Jul 26, 2012, at 7:12 AM, Benjamin Carlyle wrote:

> It might even be possible to consider unifying soap and http at this =
protocol level

As in 'writing a standard WSDL document for HTTP'?

Jan



From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 07:35:47 2012
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 1A56821F877A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 07:35:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.032
X-Spam-Level: 
X-Spam-Status: No, score=-10.032 tagged_above=-999 required=5 tests=[AWL=0.251, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 O-XznXOj8FjZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 07:35:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9214021F85C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 07:35:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuP8e-0004yy-Ne for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 14:34:04 +0000
Resent-Date: Thu, 26 Jul 2012 14:34:04 +0000
Resent-Message-Id: <E1SuP8e-0004yy-Ne@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SuP8S-0004yD-1m for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 14:33:52 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SuP8L-0003UD-Px for ietf-http-wg@w3.org; Thu, 26 Jul 2012 14:33:52 +0000
Received: by vcdd16 with SMTP id d16so1741460vcd.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 07:33:20 -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=KtWNbV7jAviF+SwTr+mkM6wfyANtrLpzYPonAjkwpxc=; b=co0+tkyJrNOG4YgOSrUQusmDbs1wCLp0hZueMeETnbZsQJ6CrXurRqOC0H0MrgVX1s 265CRw48Jmpdjx7zfY6wyV1lHqcqCJUTh/4nMqKT8s6QZyMNoczahLwtnXnhWxvB5q2t PvlvRE55sWZjnHeAlzCnKS5xf/njHq2qpwiRZxRRWS23dUdwiHJjBuAWkEN/IAz+4qxo Ing1Ug/A2+tYYXxO+aIzDtK9bzeUg+kXDCOJPs39GLXFDIODfHPTSusM7Xq0ls8xPoXt 9ZzKpcAbodNtZTPKbTquyCLuL4PF4nw7hrdfl2AdTcRzLYR5GfK7quwC/2LI6AKCla3/ 9T6A==
MIME-Version: 1.0
Received: by 10.220.154.79 with SMTP id n15mr21780158vcw.61.1343313199739; Thu, 26 Jul 2012 07:33:19 -0700 (PDT)
Received: by 10.58.18.138 with HTTP; Thu, 26 Jul 2012 07:33:19 -0700 (PDT)
In-Reply-To: <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com>
Date: Thu, 26 Jul 2012 07:33:19 -0700
Message-ID: <CAAPAK-5M2v-djorwGGaS7YNGLJZZn6rkFGpQ2dWvZr7xgzxEjw@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043891dd17b53d04c5bc7a84
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuP8L-0003UD-Px 1f506920741eb872722caa7dc0b86fa8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAAPAK-5M2v-djorwGGaS7YNGLJZZn6rkFGpQ2dWvZr7xgzxEjw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14770
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>

--f46d043891dd17b53d04c5bc7a84
Content-Type: text/plain; charset=ISO-8859-1

Message transformations, multiplexed or not, still have no expression for
frames in the schemes. That's where we can rely on said semantics instead
of assume where transformations are identical.

On that note, I wondered if HTTP/2 should state the minimal time resolution
between occurrences of individual messages before the transport must switch
to either streams or another real-time protocol for any higher resolution.

On Wednesday, July 25, 2012, Mike Belshe wrote:

>
>
> On Wed, Jul 25, 2012 at 9:59 AM, Phillip Hallam-Baker <hallam@gmail.com<javascript:_e({}, 'cvml', 'hallam@gmail.com');>
> > wrote:
>
>> I have been thinking a lot about Web Services and how their security
>> needs should be met in HTTP/2.0. I came up with some thoughts that
>> might provoke discussion:
>>
>> 0) The killer application for HTTP/2.0 (if any) is going to be Web
>> Services. Anyone supporting a Web server is going to have to support
>> /1.1 for decades to come. A new Web Service can stipulate HTTP/2.0
>> transport as a requirement.
>
>
>> 1) TLS security is good for what it does, but it is still transport
>> security and will therefore be hop-by-hop as far as intermediaries are
>>
>
> Actually, TLS is end-to-end encrypted and just an opaque byte stream as
> far as intermediaries are concerned.  I'm not sure what you mean by
> hop-by-hop, but TLS is not (to me) hop-by-hop.
>
>
>> concerned. This gives rise to the need for security features in HTTP
>> that are orthogonal to TLS and can survive passage through an
>> intermediary.
>>
>
>
>
>>
>> 2) Multiplexing changes the nature of Web Services security and allows
>> for a significant simplification. Under HTTP/1.1 a Web Service that
>> takes a message from A and forwards it to B has to modify the content
>> if it is going to provide additional information in the transaction.
>> This constraint no longer applies under multiplexing.
>>
>
> I don't think multiplexing has impact on this.  If HTTP/2.0 (with
> multiplexing) is truly transparent, then the higher level message
> transformations are identical with or without mux.
>
>
>>
>> 3) HTTP security controls should only secure content. Signing headers
>> is not only difficult, it is often counterproductive. If a Web service
>> depends on information in a header there is probably something wrong.
>>
>
> Like a cookie?  We can retroactively try to claim cookies are wrong, but
> that doesn't help the millions of services that employ them today.
>
> I think you're just differentiating the securing of the stream (which is
> what TLS does) from the securing of the content (some sort of signing).
>  These are independent and can be mixed and matched.
>
> Mike
>
>
>
>
>
>
>>
>>
>> This last one might seem a little controversial, after all, doesn't
>> DKIM have a mechanism for header signing? DKIM does have a header
>> signing mechanism but the headers being signed should probably have
>> been content in the first place. The subject line, From, To, these are
>> all message content. They are part of the headers because content and
>> routing are conflated in SMTP email.
>>
>> HTTP does have a similar conflation, but nowhere near as severe.
>> Content is mostly confined to the body and Routing is strictly
>> confined to the Head. The parts that cross the line are
>> Content-Encoding and Content-Type. Both of which are ignored in a Web
>> Services context almost all the time.  Yes, a Web Service could
>> support multiple character encodings but I cannot see any case where I
>> would want the service to use Content-Encoding to make the choice.
>>
>>
>> >From these I draw the following conclusions:
>>
>> * HTTP 2.0 should draw a distinction between routing headers and
>> content meta-data
>> * HTTP encryption and authentication are necessary independent of TLS
>> support
>>
>> --
>> Website: http://hallambaker.com/
>>
>>
>

--f46d043891dd17b53d04c5bc7a84
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Message transformations, multiplexed or not, still have no expression for f=
rames in the schemes. That&#39;s where we can rely on said semantics instea=
d of assume where transformations are identical.<div><br></div><div>On that=
 note, I wondered if HTTP/2 should state the minimal time resolution betwee=
n occurrences of individual messages before the transport must switch to ei=
ther streams or another real-time protocol for any higher resolution.<br>
<div><br>On Wednesday, July 25, 2012, Mike Belshe  wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><br><br><div class=3D"gmail_quote">On Wed, Jul 25, 2012 at=
 9:59 AM, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"javascript:=
_e({}, &#39;cvml&#39;, &#39;hallam@gmail.com&#39;);" target=3D"_blank">hall=
am@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I have been thinking a lot about Web Services and how their security<br>
needs should be met in HTTP/2.0. I came up with some thoughts that<br>
might provoke discussion:<br>
<br>
0) The killer application for HTTP/2.0 (if any) is going to be Web<br>
Services. Anyone supporting a Web server is going to have to support<br>
/1.1 for decades to come. A new Web Service can stipulate HTTP/2.0<br>
transport as a requirement.</blockquote><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
1) TLS security is good for what it does, but it is still transport<br>
security and will therefore be hop-by-hop as far as intermediaries are<br><=
/blockquote><div><br></div><div>Actually, TLS is end-to-end encrypted and j=
ust an opaque byte stream as far as intermediaries are concerned. =A0I&#39;=
m not sure what you mean by hop-by-hop, but TLS is not (to me) hop-by-hop.<=
/div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
concerned. This gives rise to the need for security features in HTTP<br>
that are orthogonal to TLS and can survive passage through an<br>
intermediary.<br></blockquote><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<br>
2) Multiplexing changes the nature of Web Services security and allows<br>
for a significant simplification. Under HTTP/1.1 a Web Service that<br>
takes a message from A and forwards it to B has to modify the content<br>
if it is going to provide additional information in the transaction.<br>
This constraint no longer applies under multiplexing.<br></blockquote><div>=
<br>I don&#39;t think multiplexing has impact on this. =A0If HTTP/2.0 (with=
 multiplexing) is truly transparent, then the higher level message transfor=
mations are identical with or without mux.</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
3) HTTP security controls should only secure content. Signing headers<br>
is not only difficult, it is often counterproductive. If a Web service<br>
depends on information in a header there is probably something wrong.<br></=
blockquote><div><br></div><div>Like a cookie? =A0We can retroactively try t=
o claim cookies are wrong, but that doesn&#39;t help the millions of servic=
es that employ them today.</div>

<div><br></div><div>I think you&#39;re just differentiating the securing of=
 the stream (which is what TLS does) from the securing of the content (some=
 sort of signing). =A0These are independent and can be mixed and matched.</=
div>

<div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div>=
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
This last one might seem a little controversial, after all, doesn&#39;t<br>
DKIM have a mechanism for header signing? DKIM does have a header<br>
signing mechanism but the headers being signed should probably have<br>
been content in the first place. The subject line, From, To, these are<br>
all message content. They are part of the headers because content and<br>
routing are conflated in SMTP email.<br>
<br>
HTTP does have a similar conflation, but nowhere near as severe.<br>
Content is mostly confined to the body and Routing is strictly<br>
confined to the Head. The parts that cross the line are<br>
Content-Encoding and Content-Type. Both of which are ignored in a Web<br>
Services context almost all the time. =A0Yes, a Web Service could<br>
support multiple character encodings but I cannot see any case where I<br>
would want the service to use Content-Encoding to make the choice.<br>
<br>
<br>
&gt;From these I draw the following conclusions:<br>
<br>
* HTTP 2.0 should draw a distinction between routing headers and<br>
content meta-data<br>
* HTTP encryption and authentication are necessary independent of TLS suppo=
rt<br>
<span><font color=3D"#888888"><br>
--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</font></span></blockquote></div><br>
</blockquote></div></div>

--f46d043891dd17b53d04c5bc7a84--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 08:20:22 2012
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 7D84B21F85AC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 08:20:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.138
X-Spam-Level: 
X-Spam-Status: No, score=-9.138 tagged_above=-999 required=5 tests=[AWL=1.461, BAYES_00=-2.599, 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 b7pMx1OsUnrJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 08:20:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2068A21F858D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 08:20:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuPqR-000224-7f for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 15:19:19 +0000
Resent-Date: Thu, 26 Jul 2012 15:19:19 +0000
Resent-Message-Id: <E1SuPqR-000224-7f@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuPqF-00021J-0T for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 15:19:07 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuPqD-0005KJ-6Y for ietf-http-wg@w3.org; Thu, 26 Jul 2012 15:19:06 +0000
Received: by vcdd16 with SMTP id d16so1797130vcd.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 08:18:39 -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=hcW/Bi/ZQ8898xfQrnpuZzIUDrtVUP6ilCCm8QGe9c0=; b=F3IktOB5vklr+hCOnnKcKLk1LYahtGX8oOFJ9GoExynjxzkigcX3KQd7d7zBQ9F4xC 29wQaeLQ6mCSb9fD5H6iNS0O6Ariv8dSZw3QZBUWTY7XP0zqOqshM2UmpIFQS8gdzRVj oVkuYX71waPEPqpnucKDlbQZ3+6rZyj20M4UFp3VI/zhRbkaCmSCBYsjDQhOXI3mtWcz W/6BUavVAjk04HZHWqEGARRka1VJfjdgjpIKkgqpcYHTCVaMu8i+bJyw2NcVZqBwG88d no4arlheoL24I51uDzwplO+EK9z5fzQA/6B+wClXWszK27WWrHlHvmgMhktQE1IrGJ+s WOgw==
MIME-Version: 1.0
Received: by 10.220.119.148 with SMTP id z20mr19612569vcq.50.1343315919126; Thu, 26 Jul 2012 08:18:39 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 26 Jul 2012 08:18:39 -0700 (PDT)
In-Reply-To: <CAN2g+6YKnKeB0X6J3RNN=FozQuQ7vv-hDZ7f7hwrOgmFfh1bKQ@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAN2g+6YKnKeB0X6J3RNN=FozQuQ7vv-hDZ7f7hwrOgmFfh1bKQ@mail.gmail.com>
Date: Thu, 26 Jul 2012 11:18:39 -0400
Message-ID: <CAMm+LwiJ5XKeSVw57xvO2if5TZ+RV8iL4sCsP+NrcMbhb9g-JQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Benjamin Carlyle <fuzzybsc@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SuPqD-0005KJ-6Y 44f96f385686edcebff55781d37f4a28
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+LwiJ5XKeSVw57xvO2if5TZ+RV8iL4sCsP+NrcMbhb9g-JQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14771
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 Thu, Jul 26, 2012 at 1:11 AM, Benjamin Carlyle <fuzzybsc@gmail.com> wrote:
>
> On Jul 26, 2012 3:03 AM, "Phillip Hallam-Baker" <hallam@gmail.com> wrote:
>> I have been thinking a lot about Web Services and how their security
>> needs should be met in HTTP/2.0. I came up with some thoughts that
>> might provoke discussion:
>> 0) The killer application for HTTP/2.0 (if any) is going to be Web
>> Services. Anyone supporting a Web server is going to have to support
>> /1.1 for decades to come. A new Web Service can stipulate HTTP/2.0
>> transport as a requirement.
>
> Here's a crazy thought. Why don't we put the knives away for a moment and
> consider whether the new version of http could line up a little closer with
> soap, if not necessarily in syntax then perhaps at least a little in its
> model? Currently the structure of a http message is approximately a method
> and uri or status code, plus key/value store of headers that each have
> additional per header syntax and data model, plus an optional body.
> Ignoring the whole of soap for a moment if that were merely translatable to
> an xml info set then you could pick up xml canonicalization, signatures, and
> encryption for relatively little standards work.

Nothing involving XML Signature is remotely simple, and I was one of
the people who worked on it. I was also an editor of WS-Security.

What I am trying to do with this proposal is to provide the capability
that WS-Security should have provided if the XML nonsense had not got
in the way.


> It might even be possible
> to consider unifying soap and http at this protocol level so we no longer
> need to wrap one in the other in order to cross between systems.

That is the idea.

What makes XML Signature hard is canonicalization combined with the
fact that the signature has to sit in the middle of the data it signs,
thus bringing in transforms.

Put the signature in a HTTP header and pretty much everything that is
hard about XML Signature goes away.


> I know the soap and http cultures have some distance between them, and I
> know that there are technical difficulties as well as dangers of polluting
> nice pure architectural style, but it seems to me that to have a run up
> towards a new major version as important as http with a rollout that will
> take decades to complete that making peace between the political and
> technical needs of a few warring factions sold not be too big an issue to
> consider biting off.
>
> Maybe I'm crazy and/or naive :)

We could look at DIME and my DIME Security proposal :-)


>> 3) HTTP security controls should only secure content. Signing headers
>> is not only difficult, it is often counterproductive. If a Web service
>> depends on information in a header there is probably something wrong.
>
> I don't see a point in securing a request message unless it's recipient can
> authenticate uri, headers and body as being unchanged from when they were
> authentically written on behalf of the user with possible additional
> annotations from intermediaries. I don't see the point in securing content
> returned from a server unless you are also securing cache control
> information that tells me it is still valid and is not done kind of replay
> attack, and again various header information is relevant to want to secure.

Web Services are layered on top of HTTP just like HTTP is layered on
TLS to produce HTTPS. TLS does not secure the TCP headers, so why
should web services require the HTTP routing layer to be secure?

IPSEC tries to secure the TCP header and it turns out to be a major
protocol blunder. They secured the source and destination IP addresses
and so the protocol didn't work through NAT which at this point is the
normal situation for an Internet connection. The designers did that
deliberately to stop the spread of NAT. I remember sitting in the
meeting listening to the rants against the evils of NAT thinking to
myself 'Time Warner wants $10/month per IP address, sod that for a
lark, I have 15 machines and in any case they will only allow 4'.

Ideological commitments such as XML Cannonicalization and NAT-busting
in the face of empirical evidence that they don't work are the reason
that we end up having to do stuff over and over again. Which in turn
is the reason that it is important to make sure that the ideological
commitment that ruined the first spec does not get carried over to the
next. We don't really need JSON encoding, we could do perfectly well
by choosing a rational subset of XML and dropping all the SGML
nonsense that has no place in a web service type transport. But the
political difficulty of rationalizing XML is harder than the political
difficulty of just rebuilding the spec from scratch somewhere that the
ideology can't be re-injected.


The reason that there is an issue is that HTTP has the operation and
the content metadata sprinkled into the routing headers. This gives us
three parts of the message we might need to sign.

* Method + URI
* Content Metadata headers
* The Body

Signing the URI is in turn a little tricky as in a Web service it is
quite often the case that some parts of the URI are actually routing
and other parts are parameters to the Web service.

For example a Web service "Foo" with command "Command" and parameters
"p1=v1.." might be specified as:

http://www.example.com/Foo/Command?p1=v1&p2=v2
http://www.example.com/Foo?cmd=Command&p1=v1&p2=v2

Now let us introduce an intermediary that reroutes the service to a
back end processor that supports versions 1 through 5:

http://foo.example.com/v1/Command?p1=v1&p2=v2
http://foo.example.com/v1?cmd=Command&p1=v1&p2=v2

This is all very standard stuff, but how does the signer know which
part of the uri is routing and which is command? In the first example
there is a part of the URI stem that is security critical, in the
second only the parameters are security critical.


There is always a tension between how much legacy you want to support
and making the spec clean and simple. My personal preference would be
to tell people that if they want to use the integrity features then
they have to design their Web service around the particular
constraints it imposes. But that is an ideological position I probably
can't win so I would have to fallback to something like the following

* Each integrity header contains integrity check(s) for exactly one
range of data.
* The header specifies which parts of the message it covers, these may
be the body, the content meta-data headers or the method and (part) of
the canonicalized URI.

So if we have a message

GET /foo/part HTTP/1.1
Host: Foobar
Content-Type: application/html

We might specify an integrity check on just the body, just the
metadata or both as follows:

Integrity: body ; ...
Integrity: meta ; ...
Integrity: body ; meta ; ...

If we want to sign the method line we might sign the whole thing
(including the Host part) or just the method and '/part' as follows:

Integrity: method;
Integrity: method=5;

The count in method is the part of the suffix that is in the scope of
the signature.


While playing with this scheme last night, I found that it is actually
rather nice to have multiple integrity checks, even if you are using
'fast' symmetric key, like I often do.

Signing content is a pain for a start, you have to cache the whole
message before you can start work. That is not a major hassle when you
are dealing with messages of a few hundred bytes like I usually do.
But one of the projects I want to work on now that I have a working
protocol compiler is to allow me to upload photos from my digital
camera to my server. Since I shoot RAW each of my pictures is 10Mb.
And I want a D800 which would make it even worse.

This is the type of application where REST style makes a lot of sense.
Put the commands in the method line and you can use the whole of the
body for the content being operated on. Separate integrity checks for
each means that a bogus request can be rejected before you have
accepted 10Mb of data.

[And no, I don't think a stateless protocol is the way to move data
objects that size. I am going to be implementing restart and such or
the new scheme is going to be as horrible to use in practice as the
EyeFi is. I also shoot video and those come in 2Gb chunks]

>> >From these I draw the following conclusions:
>> * HTTP 2.0 should draw a distinction between routing headers and
>> content meta-data
>> * HTTP encryption and authentication are necessary independent of TLS
>> support
>
> It seems to me we shouldn't need two solutions to any given problem.

Transport and Message level security are two different beasts. You
cannot get non-repudiation at the transport layer for a start. Message
level security requires the involvement of the application.

> Soap's
> tenancy to use custom methods, custom headers, and custom media types (ie
> custom schemas) are not things we want or need on the Web, but I find it a
> shame to be heading in different directions on basic important things like
> signatures and encryption of messages.

I think some of the SOAP stuff was designed for folk selling SOAP
platforms and consulting services necessary to make them work. Only it
didn't really take off because the whole edifice was too complex for
most people to want to bother with and so we have a fracture in the
Web Services world between the REST camp and the SOAP camp.

What I want to do is to make the division moot by arming the JSON/REST
camp with the same tools that the SOAP camp have always relied on :-)

> In the end http and soap at the
> message structure level have but a hairl's difference between them. It seems
> naively to me that I'd http were to take a step towards soap at that basic
> message structure level that other standardisation problems might become
> simpler to solve, and that the shared solution could facilitate an
> unwrapping of soap messages to be able to be sent potentially as first class
> citizens on the web... Although problems with WS-Addressing might be the
> first hurdle to cross.

Well SOAP really has its origins in COM. To understand SOAP
architecture you need to think about the problem 'how do I expose my
COM service as a Web Service'. That is why it needs all that mechanism
within mechanism and that is perfectly fine if your problem is how to
expose an existing COM service as a Web Service.

SOAP does not end up delivering value when you are designing a Web
Service protocol from scratch.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 08:54:38 2012
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 C9AA021F8594 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 08:54:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.413
X-Spam-Level: 
X-Spam-Status: No, score=-7.413 tagged_above=-999 required=5 tests=[AWL=3.186, BAYES_00=-2.599, 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 dkPQeyS2IKfB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 08:54:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E66B21F8593 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 08:54:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuQNF-00037b-RD for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 15:53:13 +0000
Resent-Date: Thu, 26 Jul 2012 15:53:13 +0000
Resent-Message-Id: <E1SuQNF-00037b-RD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SuQN4-00036l-9m for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 15:53:02 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SuQN3-0006gi-6f for ietf-http-wg@w3.org; Thu, 26 Jul 2012 15:53:02 +0000
Received: by lahg1 with SMTP id g1so1439265lah.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 08:52:34 -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=EFEfaGF6tSGOlpujn1DqmMMVonj2PvSnDjjiZNi52K0=; b=J5yNa2XLt3OUuSRafG2lx4mUqFdAcx98pJeaG488AwDOFN2s6noaDY+Kp2tY9/sBBq Ag9G+zWxGQycXBdS+6yq3xU9JREBWAVsxNja4rV9ufDCyVdrzpuG0YXQhwW93mLot34+ xyapKnprU7Chk+5Nc7kAlUmzjJ+9rQyzI/VzQycSZZ/sOEcnRD+b0kfzkhKA248cuDMr H0KNoonS5EB7w0QAQSVWvKGwsbuCPkGxEHVROYx9eyLHwuCYyagOhQDHG+4laDQDFO5w +9MhBvEFn7+s3woLTcG5ajzjG3fgjPg3pyQhR+bpKnoYJnApxE7E+mgMOGmjqFeb8tJ5 h+NA==
MIME-Version: 1.0
Received: by 10.152.104.44 with SMTP id gb12mr30429040lab.29.1343317954342; Thu, 26 Jul 2012 08:52:34 -0700 (PDT)
Received: by 10.112.82.1 with HTTP; Thu, 26 Jul 2012 08:52:34 -0700 (PDT)
In-Reply-To: <CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com> <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com> <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com> <CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com> <CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com>
Date: Thu, 26 Jul 2012 08:52:34 -0700
Message-ID: <CABkgnnVWuNQHqjV0fhcgwUybBJSbqTwqzYFuq0Zvvmx98fZ6Tw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: grahame@healthintersections.com.au, James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.43; envelope-from=martin.thomson@gmail.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SuQN3-0006gi-6f f5e8a0ae352f913ed3295bd97a1e16d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CABkgnnVWuNQHqjV0fhcgwUybBJSbqTwqzYFuq0Zvvmx98fZ6Tw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14772
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 25 July 2012 18:00, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> A trusted intermediary can do anything it likes and the recipient will
> accept the data (provided that the trusted intermediary
> re-authenticates it)

Well, there is trust and then there is trust.  I might trust an
intermediary to look at my data to determine if it contains bad stuff,
but I might not trust it to modify it.  One problem with the current
system is that you don't get to choose.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 09:23:26 2012
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 148A721F8646 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 09:23:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.476
X-Spam-Level: 
X-Spam-Status: No, score=-7.476 tagged_above=-999 required=5 tests=[AWL=3.123, BAYES_00=-2.599, 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 o0uHJza0+mPH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 09:23:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 23D1121F8643 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 09:23:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuQpQ-0001RP-Af for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 16:22:20 +0000
Resent-Date: Thu, 26 Jul 2012 16:22:20 +0000
Resent-Message-Id: <E1SuQpQ-0001RP-Af@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SuQpE-0001Qe-TZ for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 16:22:08 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SuQpA-0007hn-9q for ietf-http-wg@w3.org; Thu, 26 Jul 2012 16:22:08 +0000
Received: by lahg1 with SMTP id g1so1460876lah.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 09:21:36 -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=HAxLmym0gNsm47jTQ0Wiil28tUqWPzoZlNdiZRbjVuU=; b=veBL4Y6Bzwxashhbgnk6i0/ufTkZxWnIqDqvYpwE3Hs0iGP90EwMlz3q2bKIo1y/i5 QkqaMLdQTllOpRMeaFP7g6fSDmHtjY5yl/TAl6z6Q06FZ620TdRq5eBuxD9PqVRESzv8 ZGeoACMndMZdZOSermQvhwZRex5I4yDAc6xJwycab+Bh5eVFlDY4k+OQ110qkWbVnQu1 mIJDak+dG2yNOyBjuXMBu3/ikPxSAxM4rpLb8wPmJvkDYagp0Kviihs1m/OII/6sE1zS gT/ccfb5ms0uwv6hBrrZsfo/ltQhFdYR3Mvv0ZVMPSG9Z1C1/jogH2BKLa/WePt90Sim +4oQ==
MIME-Version: 1.0
Received: by 10.112.46.166 with SMTP id w6mr13625192lbm.100.1343319696838; Thu, 26 Jul 2012 09:21:36 -0700 (PDT)
Received: by 10.112.82.1 with HTTP; Thu, 26 Jul 2012 09:21:36 -0700 (PDT)
In-Reply-To: <CAH_y2NECz8S0Tyf2tCKdiMQ_NzEtqkyRNvmuDCyJdcE8XU3dfg@mail.gmail.com>
References: <2c3ef6c0554841b83705edb081a855fa.squirrel@arekh.dyndns.org> <CAHBU6is6rrBTvC8wENEtAKc7tuuquA6eBzo0OnQNaRmkRcXQ4g@mail.gmail.com> <CAH_y2NECz8S0Tyf2tCKdiMQ_NzEtqkyRNvmuDCyJdcE8XU3dfg@mail.gmail.com>
Date: Thu, 26 Jul 2012 09:21:36 -0700
Message-ID: <CABkgnnVOMULMWqMaVPW0Kkz=-u459kVqLBvehD2h30DnKNvH6w@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Greg Wilkins <gregw@intalio.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.43; envelope-from=martin.thomson@gmail.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SuQpA-0007hn-9q e15bebc9dc72df510b8b71991acf3e46
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CABkgnnVOMULMWqMaVPW0Kkz=-u459kVqLBvehD2h30DnKNvH6w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14773
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 25 July 2012 18:13, Greg Wilkins <gregw@intalio.com> wrote:
> Also consider a Server using some HTTP/2.0 push feature to push out
> stock market prices as they change and users can have a custom
> portfolio of stocks that they can watch.  It can be very valuable
> information to know what stocks a top trader has in their portfolio,
> so if you sniff packets on their network, it does not matter that the
> contents are encrypted, because over a period you can correlate the
> time that they receive encrypted packets with known fluctuations of
> stock prices and thus work out the contents of their portfolio.

I don't want to disagree with your general argument, but what you are
describing is a traffic analysis attack on the application that works
even when TLS is employed.  That's a good argument against the idea
that TLS solves all security problems, but not one that supports the
case for cleartext HTTP.

We've seen a number of compelling cases for intermediation based on
the value that intermediaries can provide.  But we've also seen that
with the right solution, the decision to enable intermediation can be
made independently of the choice to require or disallow TLS.  But, so
far, I've not seen a workable solution for this problem - only
expressions that it should be possible (i.e.,
draft-rpeon-httpbis-exproxy).  Until such a solution manifests with
reasonable backing, I'd consider these to form a fairly strong
argument in favour of allowing use of HTTP/2 without TLS.

That doesn't mean that we can't also motivate the use of cleartext
HTTP/2 by pointing out disadvantages of secured HTTP/2 or advantages
of cleartext HTTP/2.

The fact that you can't hide who you are talking to is perhaps one
such disadvantage.  Intermediation actually helps those cases by
creating K-anonymity sets... and in the end, that's half of what TOR
does.

--Martin


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 10:44:57 2012
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 A1E4321F850B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 10:44:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.152
X-Spam-Level: 
X-Spam-Status: No, score=-9.152 tagged_above=-999 required=5 tests=[AWL=1.447, BAYES_00=-2.599, 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 sBbtRK6UjMhE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 10:44:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA53221F8455 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 10:44:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuS66-0000sK-Jr for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 17:43:38 +0000
Resent-Date: Thu, 26 Jul 2012 17:43:38 +0000
Resent-Message-Id: <E1SuS66-0000sK-Jr@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuS5v-0000rU-1p for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 17:43:27 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SuS5q-0002ng-S3 for ietf-http-wg@w3.org; Thu, 26 Jul 2012 17:43:27 +0000
Received: by vbbfq11 with SMTP id fq11so1961476vbb.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 10:42:57 -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=Caiuj5ByyPGeDF6FZ1rJ6+sKmv3TA+IiX4Zschhnw1M=; b=cSLYT8N7+uzmysTkQOrgr3rsOzezLqwxC218WoipirFGqnSKKgXo+vnTR4COp5soS/ 1A4LymaLjqa8A3Qp1iwfvMTegpjRiiIeMjrwY4BtVlKFqxm6sE1AqR75HiJU8M08mBu8 MJGDFgcyZ9SySH+sf5vTOAYo5+DyEne+9dF54uaM2NqlMw+Kk2JyLB8EmVejJwHjvQqs NxzHBR7IdJhnH00HGci4Zl7ffmKvK+rfTyT5S+KkkAeiUZEcHJmiAemt+7djJJdLeR8O vXClLbxXnpdF37yF2ZkBbeG83NmVKvycXjjRMnZxwn16qSIOQmeemhTPQAkW+0NKhcXP BTng==
MIME-Version: 1.0
Received: by 10.220.154.148 with SMTP id o20mr13182954vcw.18.1343324575728; Thu, 26 Jul 2012 10:42:55 -0700 (PDT)
Received: by 10.58.161.139 with HTTP; Thu, 26 Jul 2012 10:42:55 -0700 (PDT)
In-Reply-To: <CABkgnnVWuNQHqjV0fhcgwUybBJSbqTwqzYFuq0Zvvmx98fZ6Tw@mail.gmail.com>
References: <CAMm+LwiuQu1uMuYuy_1OeS6pf5XHddgY01227h4qKN4UF7v=6w@mail.gmail.com> <CAD0z36U9GjH4vRbTT_4dnfd2zN4s5fqpM9cHL-x25AkCyeTmZA@mail.gmail.com> <CAMm+LwjRdcndFF0-t5PGWoKbTsfd9-Lnsn0RB=cStsLdQiLZWA@mail.gmail.com> <CAG47hGaWApj3enU4SgE0hm7E2nSg7=PsKfUy+8zWwkYACnRmsQ@mail.gmail.com> <CAMm+LwjHdWZm+JN8Vk3Lk7T=s_oDLoHcKKC6hQ+G1wtEC7V8QQ@mail.gmail.com> <CAG47hGZLN4w7+m370h=OupXQc6ZJ_r2idQ3hP1yhxD0Fi9mLWA@mail.gmail.com> <CAMm+Lwh3C6t3-jLtKr-PANpCV_otSQ246dAw1E_O5wY+HvSDUA@mail.gmail.com> <CABkgnnVWuNQHqjV0fhcgwUybBJSbqTwqzYFuq0Zvvmx98fZ6Tw@mail.gmail.com>
Date: Thu, 26 Jul 2012 13:42:55 -0400
Message-ID: <CAMm+Lwgi7kgFj-z4o+5sGV8f7q6Qj=XbwF-LOL8w5TEE4kSKew@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: grahame@healthintersections.com.au, James French <jfrench@denirostaff.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=hallam@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuS5q-0002ng-S3 822941f2d24d24c9e3375e3f4f26f209
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CAMm+Lwgi7kgFj-z4o+5sGV8f7q6Qj=XbwF-LOL8w5TEE4kSKew@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14774
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 Thu, Jul 26, 2012 at 11:52 AM, Martin Thomson
<martin.thomson@gmail.com> wrote:
> On 25 July 2012 18:00, Phillip Hallam-Baker <hallam@gmail.com> wrote:
>> A trusted intermediary can do anything it likes and the recipient will
>> accept the data (provided that the trusted intermediary
>> re-authenticates it)
>
> Well, there is trust and then there is trust.  I might trust an
> intermediary to look at my data to determine if it contains bad stuff,
> but I might not trust it to modify it.  One problem with the current
> system is that you don't get to choose.

Exactly.

If I have a purchasing system I want to have a split control so that a
purchase order requires an authorization by a manager and a
confirmation by the purchasing clerk.

The purchasing clerk (or rather their computer) needs to see the
contents of the purchase order but must not be capable of generating
orders by themselves. That leads to $15 million carbon credit frauds.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 10:53:40 2012
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 14A9121F85A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 10:53:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.797
X-Spam-Level: 
X-Spam-Status: No, score=-9.797 tagged_above=-999 required=5 tests=[AWL=0.179, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 W+AcmndS-rWc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 10:53:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE22321F85A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 10:53:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuSF1-0006wo-Pb for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 17:52:51 +0000
Resent-Date: Thu, 26 Jul 2012 17:52:51 +0000
Resent-Message-Id: <E1SuSF1-0006wo-Pb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SuSEq-0006w3-1w for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 17:52:40 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SuSEo-00037f-UF for ietf-http-wg@w3.org; Thu, 26 Jul 2012 17:52:40 +0000
Received: by lbom4 with SMTP id m4so1629363lbo.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 10:52:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=blkKKaUHOzYpo+3QYkTwpsJpYPbDB2rXveiRketpjSA=; b=l7s+Ii3QYfgRSBpwqw7Q6vvlSPSgMMcp61BVcRW6rhsZ4LEzsoeaR49bmgK9SCKmmV 1iWnSHAiznTSY2dKb3CL3AMAZKBbWkg0WApWcCsuyXFsl0HDPzGsBA20NYJk8UPb6OPe Ss7ALNoKAXCFh2uQiFZK30BSnNip58LtUY97k4Uvs+J8JlAiSMW7NqXbZGBE01+uBkxw 0LkC+rT5bAwZMwsL6LjR8xoCa2ePlVuqh6P4RYsEMALkzpv/8RRs0ajkaIQhrg3hczY3 I6ZexXx6k0Hpg9SQrNLvACVSdu7Bz29pxoRvA9EAo1VmyOnWmjguYRuNu9/HaTZj60Vl 0A4g==
MIME-Version: 1.0
Received: by 10.152.48.37 with SMTP id i5mr30569910lan.36.1343325131985; Thu, 26 Jul 2012 10:52:11 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Thu, 26 Jul 2012 10:52:11 -0700 (PDT)
In-Reply-To: <4936.1343293274@critter.freebsd.dk>
References: <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=5pZg7kGGA@mail.gmail.com> <4936.1343293274@critter.freebsd.dk>
Date: Thu, 26 Jul 2012 10:52:11 -0700
Message-ID: <CABaLYCtHp2+Pouu-V4faHg8JP7x5QfW54kHPyuuha_qGbgarXQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec55239804f51bc04c5bf414b
X-Gm-Message-State: ALoCoQkzag8zSDecbJ6PsOkuEuQ1ayXXRUREJ1LZ4gPTsEaFUmbYtKjJgSwAuyFLvcXCM6ymy1MZ
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SuSEo-00037f-UF a91ecc85c4473a1c75b655adec6304d9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/CABaLYCtHp2+Pouu-V4faHg8JP7x5QfW54kHPyuuha_qGbgarXQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14775
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>

--bcaec55239804f51bc04c5bf414b
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Jul 26, 2012 at 2:01 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=
> 5pZg7kGGA@mail.gmail.com>
> , Mike Belshe writes:
>
> >Actually, TLS is end-to-end encrypted and just an opaque byte stream as
> far
> >as intermediaries are concerned.  I'm not sure what you mean by
> hop-by-hop,
> >but TLS is not (to me) hop-by-hop.
>
> TLS is, as far as content is concerned hop-by-hop.
>

Usage of the broken CA-certificate model for key-material limits TLS
> to one hop which connects end to end, but other key-material models
> support more hops.
>
>
No - its end to end- those in the middle cannot see the contents.    The
only ones that can see the content are the client and the origin server.
 This is the basic building block of e-commerce.

You're saying the CA system is so broken that every proxy has access to all
TLS traffic, which is provably false.

Mike




> This is one of the reasons I push the envelope+(metadata+content)
> model for HTTP/2.0:  You can use TLS to gain privacy for
> the envelope on a hop-by-hop basis, while still allowing the
> intermediaries to act on that envelope, and while still having
> end-to-end privacy on the metadata+content.
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--bcaec55239804f51bc04c5bf414b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Jul 26, 2012 at 2:01 AM, Poul-He=
nning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.freebsd.dk" targ=
et=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
In message &lt;CABaLYCtZjfR0S3fz-vt8S6ZPaa05B0e5X+7tWPYb=3D<a href=3D"mailt=
o:5pZg7kGGA@mail.gmail.com">5pZg7kGGA@mail.gmail.com</a>&gt;<br>
<div class=3D"im">, Mike Belshe writes:<br>
<br>
&gt;Actually, TLS is end-to-end encrypted and just an opaque byte stream as=
 far<br>
&gt;as intermediaries are concerned. =A0I&#39;m not sure what you mean by h=
op-by-hop,<br>
&gt;but TLS is not (to me) hop-by-hop.<br>
<br>
</div>TLS is, as far as content is concerned hop-by-hop.<br>=A0</blockquote=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">
Usage of the broken CA-certificate model for key-material limits TLS<br>
to one hop which connects end to end, but other key-material models<br>
support more hops.<br>
<br></blockquote><div><br></div><div>No - its end to end- those in the midd=
le cannot see the contents. =A0 =A0The only ones that can see the content a=
re the client and the origin server. =A0This is the basic building block of=
 e-commerce.</div>
<div><br></div><div>You&#39;re saying the CA system is so broken that every=
 proxy has access to all TLS traffic, which is provably false.</div><div><b=
r>Mike</div><div><br></div><div><br></div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

This is one of the reasons I push the envelope+(metadata+content)<br>
model for HTTP/2.0: =A0You can use TLS to gain privacy for<br>
the envelope on a hop-by-hop basis, while still allowing the<br>
intermediaries to act on that envelope, and while still having<br>
end-to-end privacy on the metadata+content.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--bcaec55239804f51bc04c5bf414b--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 11:19:08 2012
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 6BC7721F85AC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 11:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 VdO636ycdv7B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 11:19:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E0FDF21F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 11:19:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuSdN-00039Y-3R for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 18:18:01 +0000
Resent-Date: Thu, 26 Jul 2012 18:18:01 +0000
Resent-Message-Id: <E1SuSdN-00039Y-3R@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SuSdB-00038j-Qo for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 18:17:49 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SuSd7-0007ba-Pe for ietf-http-wg@w3.org; Thu, 26 Jul 2012 18:17:49 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 428C43B599; Thu, 26 Jul 2012 18:17:24 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6QIHNMY006511; Thu, 26 Jul 2012 18:17:23 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 26 Jul 2012 10:52:11 MST." <CABaLYCtHp2+Pouu-V4faHg8JP7x5QfW54kHPyuuha_qGbgarXQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 26 Jul 2012 18:17:23 +0000
Message-ID: <6510.1343326643@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SuSd7-0007ba-Pe ffea40a3af9c68efd35cbd234d2069b2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Content security model
Archived-At: <http://www.w3.org/mid/6510.1343326643@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14776
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>

In message <CABaLYCtHp2+Pouu-V4faHg8JP7x5QfW54kHPyuuha_qGbgarXQ@mail.gmail.com>
, Mike Belshe writes:

>You're saying the CA system is so broken that every proxy has access to all
>TLS traffic, which is provably false.

How about we decide that you say what you want to say, and then I'll
say what I want to say ?

I'm sure it would work much better than you making claims about what
I am saying or not...


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 11:28:22 2012
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 500BD21F86B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 11:28:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 OjZntW9ceRuk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 11:28:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CF74521F86A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 11:28:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuSmr-0006U2-7K for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Jul 2012 18:27:49 +0000
Resent-Date: Thu, 26 Jul 2012 18:27:49 +0000
Resent-Message-Id: <E1SuSmr-0006U2-7K@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SuSmf-0006Nh-SI for ietf-http-wg@listhub.w3.org; Thu, 26 Jul 2012 18:27:37 +0000
Received: from prod-mail-xrelay06.akamai.com ([96.6.114.98]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <sludin@akamai.com>) id 1SuSme-0004N4-By for ietf-http-wg@w3.org; Thu, 26 Jul 2012 18:27:37 +0000
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 7184D1654DE; Thu, 26 Jul 2012 18:27:10 +0000 (GMT)
Received: from prod-mail-relay03.akamai.com (prod-mail-relay03.akamai.com [172.27.8.26]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 66A49165502; Thu, 26 Jul 2012 18:27:10 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub5.dfw01.corp.akamai.com [172.27.33.71]) by prod-mail-relay03.akamai.com (Postfix) with ESMTP id 7B28E2FD5E; Thu, 26 Jul 2012 18:27:09 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.2.30]) by ustx2ex-cashub5.dfw01.corp.akamai.com ([172.27.33.71]) with mapi; Thu, 26 Jul 2012 13:27:09 -0500
From: "Ludin, Stephen" <sludin@akamai.com>
To: "Eric J. Bowman" <eric@bisonsystems.net>, Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 26 Jul 2012 13:26:58 -0500
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1rXEPDT/IpSGvlRGKqx6kdZIYewQ==
Message-ID: <CC36D7A3.5DA8B%sludin@akamai.com>
In-Reply-To: <20120725133640.c5246f23.eric@bisonsystems.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.3.120616
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.98; envelope-from=sludin@akamai.com; helo=prod-mail-xrelay06.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SuSme-0004N4-By 7080ab42c8f00463350c66c0f31704b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CC36D7A3.5DA8B%25sludin@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14777
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 7/25/12 12:36 PM, "Eric J. Bowman" <eric@bisonsystems.net> wrote:

>Mark Nottingham wrote:
>>=20
>> The resulting specification(s) are expected to be meet these goals
>> for common existing deployments of HTTP; in particular, Web browsing
>> (desktop and mobile), Web serving (at a variety of scales), and
>> intermediation (by proxies, corporate firewalls, "reverse" proxies
>> and Content Delivery Networks).
>>=20
>
>Please change "CDNs" to "caches" to avoid confusion over whether we're
>talking about a new architectural style.  "Caches" can include CDNs,
>but CDNs does not include the shared-cache architecture which got the
>Web where it is.
>
>-Eric
>

If we want to refine Mark's text that then equating a CDN to a cache is
not accurate.  Today's CDNs do cache, but they more importantly provide
acceleration, optimized routing, security, edge logic, content assembly,
and content modification just to name a few.  Rather than open that can of
worms, I think keeping CNDs in the proposed straw-man text would be
better. =20

Alternatively, we drop the parenthetical list and just go with
'intermediation'.

-stephen




From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 17:33:47 2012
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 575AF11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 17:33:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.87
X-Spam-Level: 
X-Spam-Status: No, score=-8.87 tagged_above=-999 required=5 tests=[AWL=-0.949, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_83=0.6, RCVD_IN_DNSWL_HI=-8, SUBJ_ALL_CAPS=2.077]
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 Oirq1UhWGrFZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 17:33:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9F2F011E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 17:33:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuYT0-0003FP-Rf for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 00:31:42 +0000
Resent-Date: Fri, 27 Jul 2012 00:31:42 +0000
Resent-Message-Id: <E1SuYT0-0003FP-Rf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SuYSl-0003E9-FA for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 00:31:27 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SuYSk-0007xU-5N for ietf-http-wg@w3.org; Fri, 27 Jul 2012 00:31:27 +0000
Received: by vbbfq11 with SMTP id fq11so2312268vbb.2 for <ietf-http-wg@w3.org>; Thu, 26 Jul 2012 17:31:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=d7w8srper3HP0Mx6ggA/227C4nGI9gQY5Rw5IyRo9yE=; b=M5DD6VoteNgD2+lsJ63f1o+tDFoPnTJ/q4W0OVOM/0ioL8hk8Qfo8i5NiLkT/cgH1D WCuRjRbyn/WiCXbHowUL52hkDQ4MZ/RRzK1LtpyCbdF3v89qDYiqGaTcelvSWYWTWHAm ySec66822Ex+rfKM5IrqxVQMDVNadj94fTMsZ/snFm0I+uaCE0b4GYvTrAy87ibxy4m5 OAf0+Zwy+oybsJT3pdQIGo1FhrEkMUW2oYyvF5UhqqNW9KGhO15pWqhvUMCVxFGvJ6GD DPMw/wsbf+Rp4iGlOCfkoZOx3OpVocRzA5OInYZeZvnkN5+8djBWPMiz6s3DEpEggzkA 7RHQ==
MIME-Version: 1.0
Received: by 10.52.173.39 with SMTP id bh7mr549359vdc.101.1343349060123; Thu, 26 Jul 2012 17:31:00 -0700 (PDT)
Received: by 10.58.18.138 with HTTP; Thu, 26 Jul 2012 17:31:00 -0700 (PDT)
Date: Thu, 26 Jul 2012 17:31:00 -0700
Message-ID: <CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec51b9d0189be1504c5c4d32f
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, SUBJ_ALL_CAPS=1.506
X-W3C-Scan-Sig: lisa.w3.org 1SuYSk-0007xU-5N d42419f0198d1dc3c06e53d509d7d86d
X-Original-To: ietf-http-wg@w3.org
Subject: RFC6585+HTTP/2.0 := 101
Archived-At: <http://www.w3.org/mid/CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14778
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>

--bcaec51b9d0189be1504c5c4d32f
Content-Type: text/plain; charset=ISO-8859-1

In Re: http://tools.ietf.org/html/rfc6585 (page ~2)

I looked at this RFC as if I wanted to derive it into the revision for 2.0:


"""
   HTTP/1.1 428 Precondition Required
   Content-Type: text/html   <html>

      <head>
         <title>Precondition Required</title>
      </head>
      <body>
         <h1>Precondition Required</h1>
         <p>This request is required to be conditional;
         try using "If-Match".</p>
      </body>
   </html>

"""


(instead of from scratch)


"""
   HTTP/2.0 428 Precondition Required

 <head id=428>

       Date: <time>&xhtml.now;</time>

       <meta>

         Content-Type: text/html+xml

         Title: Precondition Required

       </meta>

 </head>

 <body itemscope itemtype="urn:http:status">
       <h1  itemprop=name>Precondition Required</h1>
       <p   itemprop=description>This request is required

                                 to be conditional;
                                 try using "If-Match".</p>

       <img itemprop=image />

       <a   itemprop=url />
 </body>"""


I exhausted myself, today, over the idea of the calendar application
integration with blogger. What I had on mind was how do we describe: POST
/.well-known/509 HTTP/2.0, especially for cloud-containers that do not have
nested directories. This is how far I got. I figured GET /.well-known/428
HTTP/2.0 would display the above.

Enjoy the Olympics...

--bcaec51b9d0189be1504c5c4d32f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<font face=3D"arial, sans-serif">In Re:=A0<a href=3D"http://tools.ietf.org/=
html/rfc6585">http://tools.ietf.org/html/rfc6585</a>=A0(page ~2)</font><div=
><font face=3D"arial, sans-serif"><br></font></div><div><font face=3D"arial=
, sans-serif">I looked at this RFC as if I wanted to derive it into the rev=
ision for 2.0:</font></div>
<div><pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bo=
ttom:0px"><br class=3D"Apple-interchange-newline">&quot;&quot;&quot;
   HTTP/1.1 428 Precondition Required
   Content-Type: text/html
<span style=3D"font-size:1em;font-family:&#39;Helvetica Neue&#39;,Helvetica=
,Arial,sans-serif">   &lt;html&gt;</span></pre><pre class=3D"newpage" style=
=3D"font-size:1em;margin-top:0px;margin-bottom:0px">      &lt;head&gt;
         &lt;title&gt;Precondition Required&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
         &lt;h1&gt;Precondition Required&lt;/h1&gt;
         &lt;p&gt;This request is required to be conditional;
         try using &quot;If-Match&quot;.&lt;/p&gt;
      &lt;/body&gt;
   &lt;/html&gt;</pre><pre class=3D"newpage" style=3D"font-size:1em;margin-=
top:0px;margin-bottom:0px">&quot;&quot;&quot;</pre><pre class=3D"newpage" s=
tyle=3D"font-size:1em;margin-top:0px;margin-bottom:0px"><br></pre><pre clas=
s=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:0px">
<font face=3D"arial, sans-serif">(instead of from scratch)</font></pre><pre=
 class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:0px"=
><br></pre><pre class=3D"newpage" style=3D"margin-top:0px;margin-bottom:0px=
"><pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-botto=
m:0px">
<font face=3D"courier new, monospace">&quot;&quot;&quot;
   HTTP/2.0 428 Precondition Required</font></pre><pre class=3D"newpage" st=
yle=3D"font-size:1em;margin-top:0px;margin-bottom:0px"><font face=3D"courie=
r new, monospace"> &lt;head id=3D428&gt;</font></pre><pre class=3D"newpage"=
 style=3D"font-size:1em;margin-top:0px;margin-bottom:0px">
<font face=3D"courier new, monospace"><span style=3D"font-size:1em">       =
Date: &lt;time&gt;&amp;xhtml.now;&lt;/time&gt;</span></font></pre><pre clas=
s=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:0px"><fon=
t face=3D"courier new, monospace"><span style=3D"font-size:1em">       &lt;=
meta&gt;</span></font></pre>
<pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:=
0px"><font face=3D"courier new, monospace"><span style=3D"font-size:1em">  =
       </span><span style=3D"font-size:1em">Content-Type: text/html+xml</sp=
an></font></pre>
<pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:=
0px"><span style=3D"font-size:1em"><font face=3D"courier new, monospace">  =
       Title: Precondition Required</font></span></pre><pre class=3D"newpag=
e" style=3D"font-size:1em;margin-top:0px;margin-bottom:0px">
<span style=3D"font-size:1em"><font face=3D"courier new, monospace">       =
&lt;/meta&gt;</font></span></pre><pre class=3D"newpage" style=3D"font-size:=
1em;margin-top:0px;margin-bottom:0px"><span style=3D"font-size:1em"><font f=
ace=3D"courier new, monospace"> &lt;/head&gt;</font></span></pre>
<pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:=
0px"><font face=3D"courier new, monospace"> &lt;body itemscope itemtype=3D&=
quot;urn:http:status&quot;&gt;
       &lt;h1  itemprop=3Dname&gt;Precondition Required&lt;/h1&gt;
       &lt;p   itemprop=3Ddescription&gt;This request is required</font></p=
re><pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bott=
om:0px"><font face=3D"courier new, monospace">                             =
    to be conditional;
                                 try using &quot;If-Match&quot;.&lt;/p&gt;<=
/font></pre><pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;ma=
rgin-bottom:0px"><font face=3D"courier new, monospace">       &lt;img itemp=
rop=3Dimage /&gt;</font></pre>
<pre class=3D"newpage" style=3D"font-size:1em;margin-top:0px;margin-bottom:=
0px"><font face=3D"courier new, monospace">       &lt;a   itemprop=3Durl /&=
gt;
 &lt;/body&gt;
<span style=3D"font-size:1em">&quot;&quot;&quot;</span></font></pre><div st=
yle=3D"font-size:1em"><font face=3D"arial, sans-serif"><br></font></div><di=
v style=3D"font-size:1em"><font face=3D"arial, sans-serif">I exhausted myse=
lf, today, over the idea of the calendar application integration with blogg=
er. What I had on mind was how do we describe: </font><font face=3D"courier=
 new, monospace">POST /.well-known/509 HTTP/2.0</font><font face=3D"arial, =
sans-serif">, especially for cloud-containers that do not have nested direc=
tories. This is how far I got. I figured </font><font face=3D"courier new, =
monospace">GET </font><span style=3D"font-size:1em"><font face=3D"courier n=
ew, monospace">/.well-known/428 HTTP/2.0</font><font face=3D"arial, sans-se=
rif"> would display the above.</font></span></div>
<div style=3D"font-size:1em"><span style=3D"font-size:1em"><font face=3D"ar=
ial, sans-serif"><br></font></span></div><div><font face=3D"arial, sans-ser=
if"><span style=3D"font-size:1em">Enjoy the  </span>Olympics.<span style=3D=
"font-size:1em">..</span></font></div>
</pre></div>

--bcaec51b9d0189be1504c5c4d32f--


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 22:26:28 2012
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 5FD2911E80CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:26:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.18
X-Spam-Level: 
X-Spam-Status: No, score=-9.18 tagged_above=-999 required=5 tests=[AWL=1.419, BAYES_00=-2.599, 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 AKQoyLigOBSH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:26:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6D2DD11E80CA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 22:26: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 1Sud1v-0005X0-PP for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 05:24:03 +0000
Resent-Date: Fri, 27 Jul 2012 05:24:03 +0000
Resent-Message-Id: <E1Sud1v-0005X0-PP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sud1f-0005WE-NQ for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 05:23:47 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sud1e-0003IK-N6 for ietf-http-wg@w3.org; Fri, 27 Jul 2012 05:23:47 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1ED8422DD6D; Fri, 27 Jul 2012 01:23:23 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <500FC049.2020102@gmx.de>
Date: Fri, 27 Jul 2012 15:23:20 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <F249B7E9-DDE5-40C5-A5B4-0583ED288BFE@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FC049.2020102@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sud1e-0003IK-N6 1a0a823638288c571b6dfb5d905bf1cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/F249B7E9-DDE5-40C5-A5B4-0583ED288BFE@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14779
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 25/07/2012, at 7:45 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>> 
>> * A document cataloguing the security properties of HTTP/1.1
> 
> If we are serious about that one, we'll need to restart work on it :-)

That's another thing that's likely to be discussed in Vancouver.

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 22:29:30 2012
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 AB8AB11E80C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:29:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.188
X-Spam-Level: 
X-Spam-Status: No, score=-9.188 tagged_above=-999 required=5 tests=[AWL=1.411, BAYES_00=-2.599, 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 xNfYFcWkb89B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:29:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA5E811E80B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 22:29:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sud5v-000714-UF for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 05:28:11 +0000
Resent-Date: Fri, 27 Jul 2012 05:28:11 +0000
Resent-Message-Id: <E1Sud5v-000714-UF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sud5k-0006zw-4r for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 05:28:00 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sud5i-0008RP-R8 for ietf-http-wg@w3.org; Fri, 27 Jul 2012 05:28:00 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E7AB022E1EB; Fri, 27 Jul 2012 01:27:32 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <500FE058.1000005@treenet.co.nz>
Date: Fri, 27 Jul 2012 15:27:30 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sud5i-0008RP-R8 f4e93853ff97a22ebb7662cbf35b19c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14780
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 Amos,

On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>> Work will begin using XXX as a starting point; all proposals are to =
be expressed
>> in terms of changes to the that document.
>=20
> I just think I'll throw a spanner in the general direction of the =
works here....
>=20
> How realistic is it to expect the HTTPbis 1.1 draft documents fill =
that role? At least we can guarantee that modifications to adjust them =
for 2.0 specifics will not loose or add any features unintentionally =
that could affect HTTP/1.1 compatibility.

I'm not sure what your concern is here...=20


> It is expected that HTTP/2.0 will:
>> * Substantially and measurably improve end-user perceived latency in =
most
>>   cases, over HTTP/1.1 using TCP.
>=20
> "measureably ... perceived" does not stack up.
> Surely we can aim for actual measurable efficiency rather than just =
perceived.
>=20
> Possibly also improvement over *optimized* 1.1 would be a good aim.

Yes; there's some interesting discussion to be had here, I imagine.


>> The resulting specification(s) are expected to be meet these goals =
for common
>> existing deployments of HTTP; in particular, Web browsing (desktop =
and
>> mobile), Web serving (at a variety of scales), and intermediation (by =
proxies,
>> corporate firewalls, "reverse" proxies and Content Delivery =
Networks).
>>=20
>> Note that this does not include uses of HTTP where non-specified =
behaviours
>> are relied upon (e.g., connection state such as timeouts or client =
affinity,
>> and "interception" proxies); these uses may or may not be enabled by =
the final
>> product.
>>=20
>> Explicitly out-of-scope items include:
>> * Specifying the use of alternate transport protocols. Note that it
>>   is expected that the Working Group will define how the protocol is =
used
>>   with the TLS protocol.
>> * Specifying new semantics for HTTP (whether specific to HTTP/2 or =
not).
>>   However, the Working Group may request a re-charter to start work =
on such
>>   items (during or after work on HTTP/2.0), provided there is =
consensus to
>>   do so, and it does not interfere with work on the "core" (both =
HTTP/1.x and
>>   HTTP/2.0).
>=20
> +1. Although I predict that having multiplexing on the table will =
bring up the need for new hop-by-hop features on 2.0 connections. =
Specifically flow control features.


Yes, and I think that's OK; what I want to avoid (and we can work on =
language around this) is making material changes to the abstraction that =
HTTP presents to applications; i.e., necessitating changes in HTTP APIs. =
Of course, abstractions are leaky (e.g., optimisations around =
connections leak through), and we can't prevent that.

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 22:45:29 2012
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 CE88521F8421 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.197
X-Spam-Level: 
X-Spam-Status: No, score=-9.197 tagged_above=-999 required=5 tests=[AWL=1.402, BAYES_00=-2.599, 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 F4aybSmXpz6H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:45:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8A37321F841A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 22:45:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SudKt-00056g-Ro for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 05:43:39 +0000
Resent-Date: Fri, 27 Jul 2012 05:43:39 +0000
Resent-Message-Id: <E1SudKt-00056g-Ro@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SudKi-00055Y-9S for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 05:43:28 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SudKc-00044M-Mj for ietf-http-wg@w3.org; Fri, 27 Jul 2012 05:43:28 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 94AC422E1F4; Fri, 27 Jul 2012 01:43:00 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7Rbf19rsEY9ZeJte8=7gByx=QUbaedQ=VLsxmWk4pP3FbCw@mail.gmail.com>
Date: Fri, 27 Jul 2012 15:42:57 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <83281BFC-F40C-48B9-9C6D-1C78CE4E1AF9@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <CABP7Rbf19rsEY9ZeJte8=7gByx=QUbaedQ=VLsxmWk4pP3FbCw@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SudKc-00044M-Mj 8192ccc23578fc38f6722ac2e4ff21fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/83281BFC-F40C-48B9-9C6D-1C78CE4E1AF9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14781
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 26/07/2012, at 12:13 AM, James M Snell <jasnell@gmail.com> wrote:

> On Wed, Jul 25, 2012 at 12:53 AM, Mark Nottingham <mnot@mnot.net> =
wrote:
> [snip]
>=20
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport protocols. Note that it
>   is expected that the Working Group will define how the protocol is =
used
>   with the TLS protocol.
> * Specifying new semantics for HTTP (whether specific to HTTP/2 or =
not).
>   However, the Working Group may request a re-charter to start work on =
such
>   items (during or after work on HTTP/2.0), provided there is =
consensus to
>   do so, and it does not interfere with work on the "core" (both =
HTTP/1.x and
>   HTTP/2.0).
> [snip]=20
>=20
> I do not believe new semantics should be entirely out of scope within =
the new charter. Particularly in that there are opportunities to..
>=20
> A) Utilize the transport more efficiently through the use of =
binary-encodings of header fields
> B) Improve internationalization support by requiring UTF-8 in =
character-based header values
> C) Improve intermediary support through the introduction of =
protocol-level routing tokens that can begin to replace the clumsy and =
hackish use of cookies
> D) Explore the possibility of in-stream encryption and integrity =
mechanisms such as my proposed SPDY KEY_NEGO frame.
> E) Provide for millisecond-level resolution within date headers, =
particularly Last-Modified and If-Modified-Since
> F) Require support for trailing headers
>=20
> And I'm sure there are others that simply aren't coming to mind at the =
moment. Yes, each possible change or addition to existing semantics =
would need to be carefully considered with backwards compatibility in =
mind, and we would need to carefully consider each individual change.=20

Without going into the specific issues, I'm going to push back strongly =
on anything that changes the abstraction of HTTP, or that could be =
layered onto HTTP/1 and /2 as an extension.

We need to stay focused.

That said, note that there is an option in there to expand scope =
*cautiously* when we think it's worthwhile.

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 22:55:42 2012
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 D7D3A11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:55:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.905
X-Spam-Level: 
X-Spam-Status: No, score=-8.905 tagged_above=-999 required=5 tests=[AWL=1.094, BAYES_00=-2.599, J_CHICKENPOX_83=0.6, 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 gxdnw5oul5Ij for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:55:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 08D1A11E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 22:55:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SudVR-0005sB-Eq for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 05:54:33 +0000
Resent-Date: Fri, 27 Jul 2012 05:54:33 +0000
Resent-Message-Id: <E1SudVR-0005sB-Eq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SudVG-0005qy-0c for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 05:54:22 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SudVB-0004Pc-T4 for ietf-http-wg@w3.org; Fri, 27 Jul 2012 05:54:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4AD8922E1EB; Fri, 27 Jul 2012 01:53:53 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com>
Date: Fri, 27 Jul 2012 15:53:50 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Pete Resnick <presnick@qualcomm.com>, Barry Leiba <barryleiba@computer.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6643F2D8-9E6A-41DD-94B7-D8CE27B80419@mnot.net>
References: <CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com>
To: Jonathan Ballard <dzonatas@gmail.com>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SudVB-0004Pc-T4 552c30ad1118d86ffb4c341b569717ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC6585+HTTP/2.0 := 101
Archived-At: <http://www.w3.org/mid/6643F2D8-9E6A-41DD-94B7-D8CE27B80419@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14782
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>

Jonathan / Dzonatas,

This is off-topic for this working group.

You've been warned privately on several occasions. Consider this a =
public warning, as per BCP94. If you continue to disrupt the work, your =
posting privileges will be suspended.



On 27/07/2012, at 10:31 AM, Jonathan Ballard <dzonatas@gmail.com> wrote:

> In Re: http://tools.ietf.org/html/rfc6585 (page ~2)
>=20
> I looked at this RFC as if I wanted to derive it into the revision for =
2.0:
>=20
> """
>    HTTP/1.1 428 Precondition Required
>    Content-Type: text/html
>=20
>    <html>
>       <head>
>          <title>Precondition Required</title>
>       </head>
>       <body>
>          <h1>Precondition Required</h1>
>          <p>This request is required to be conditional;
>          try using "If-Match".</p>
>       </body>
>    </html>
>=20
> """
>=20
> (instead of from scratch)
>=20
> """
>    HTTP/2.0 428 Precondition Required
>=20
>  <head id=3D428>
>        Date: <time>&xhtml.now;</time>
>        <meta>
>=20
>          Content-Type: text/html+xml
>=20
>          Title: Precondition Required
>        </meta>
>  </head>
>=20
>  <body itemscope itemtype=3D"urn:http:status">
>        <h1  itemprop=3Dname>Precondition Required</h1>
>        <p   itemprop=3Ddescription>This request is required
>=20
>                                  to be conditional;
>                                  try using "If-Match".</p>
>=20
>        <img itemprop=3Dimage />
>=20
>        <a   itemprop=3Durl />
>  </body>
>=20
> """
>=20
> I exhausted myself, today, over the idea of the calendar application =
integration with blogger. What I had on mind was how do we describe: =
POST /.well-known/509 HTTP/2.0, especially for cloud-containers that do =
not have nested directories. This is how far I got. I figured GET =
/.well-known/428 HTTP/2.0 would display the above.
>=20
>=20
> Enjoy the  Olympics...
>=20

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





From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 22:55:57 2012
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 457DA11E80B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:55:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.144
X-Spam-Level: 
X-Spam-Status: No, score=-10.144 tagged_above=-999 required=5 tests=[AWL=-0.145, BAYES_00=-2.599, J_CHICKENPOX_83=0.6, 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 XRN7D9VkVBSx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 22:55:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC1C111E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 22:55:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SudVr-0005t7-VO for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 05:54:59 +0000
Resent-Date: Fri, 27 Jul 2012 05:54:59 +0000
Resent-Message-Id: <E1SudVr-0005t7-VO@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SudVg-0005sM-EX for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 05:54:48 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SudVe-0004QJ-Qo for ietf-http-wg@w3.org; Fri, 27 Jul 2012 05:54:48 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 59377E6D79 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 17:54:21 +1200 (NZST)
Message-ID: <50122D04.5060708@treenet.co.nz>
Date: Fri, 27 Jul 2012 17:54:12 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com>
In-Reply-To: <CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SudVe-0004QJ-Qo f93f6220b1da934f95cd884aeff13c8b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC6585+HTTP/2.0 := 101
Archived-At: <http://www.w3.org/mid/50122D04.5060708@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14783
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 27/07/2012 12:31 p.m., Jonathan Ballard wrote:
> In Re: http://tools.ietf.org/html/rfc6585 (page ~2)
>
> I looked at this RFC as if I wanted to derive it into the revision for 
> 2.0:
> """
>     HTTP/1.1 428 Precondition Required
>     Content-Type: text/html
>     <html>
>        <head>
>           <title>Precondition Required</title>
>        </head>
>        <body>
>           <h1>Precondition Required</h1>
>           <p>This request is required to be conditional;
>           try using "If-Match".</p>
>        </body>
>     </html>
> """
> (instead of from scratch)
> """
>     HTTP/2.0 428 Precondition Required
>   <head id=428>
>         Date: <time>&xhtml.now;</time>
>         <meta>
>
>           Content-Type: text/html+xml
>
>           Title: Precondition Required
>         </meta>
>   </head>
>
>   <body itemscope itemtype="urn:http:status">
>         <h1  itemprop=name>Precondition Required</h1>
>         <p   itemprop=description>This request is required
>                                   to be conditional;
>                                   try using "If-Match".</p>
>         <img itemprop=image />
>
>         <a   itemprop=url />
>   </body>
> """

I think the thing to notice here is the 295% *increase* in bandwidth 
consumption for content meta data. After removing the unnecessary 
whitespace.

AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 23:12:13 2012
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 F00CC11E8073 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 23:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.439
X-Spam-Level: 
X-Spam-Status: No, score=-10.439 tagged_above=-999 required=5 tests=[AWL=0.160, BAYES_00=-2.599, 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 kdM88gvUBeVj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 23:12:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3B6A221F847D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 23:12:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SudlH-0005XT-19 for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 06:10:55 +0000
Resent-Date: Fri, 27 Jul 2012 06:10:55 +0000
Resent-Message-Id: <E1SudlH-0005XT-19@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sudl5-0005Vu-SH for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 06:10:43 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sudl4-0001UX-DA for ietf-http-wg@w3.org; Fri, 27 Jul 2012 06:10:43 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id B8A18E6D79; Fri, 27 Jul 2012 18:10:19 +1200 (NZST)
Message-ID: <501230C2.1060602@treenet.co.nz>
Date: Fri, 27 Jul 2012 18:10:10 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: ietf-http-wg@w3.org
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net>
In-Reply-To: <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sudl4-0001UX-DA 3b8d29103af990609f3f83917e2c7929
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/501230C2.1060602@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14784
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 27/07/2012 5:27 p.m., Mark Nottingham wrote:
> Hi Amos,
>
> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>>> Work will begin using XXX as a starting point; all proposals are to be expressed
>>> in terms of changes to the that document.
>> I just think I'll throw a spanner in the general direction of the works here....
>>
>> How realistic is it to expect the HTTPbis 1.1 draft documents fill that role? At least we can guarantee that modifications to adjust them for 2.0 specifics will not loose or add any features unintentionally that could affect HTTP/1.1 compatibility.
> I'm not sure what your concern is here...

concern 1) is the feature parity between the HTTP/1 drafts and any other 
document that gets picked. ie workload to get the new doc completed.

concern 2) is the politcal battle to get document X to meet the WG goals.

Much like what I said in my expression of interest summary. The HTTP/2 
drafts on the tables (own one included) do not come up to scratch for 
HTTP/2 starting points.

I know a lot of people have interest in SPDY, but to make that the 
HTTP/2 base doc there are a fair chunk of things which will need pruning 
out - if only because they are new semantics. It is probably not a good 
idea for the WG to start off facing that political battle to ensure its 
semantically seamless to HTTP/1.1. The other documents are bare-bones 
with specific focus on framing improvement over WG drafts part1-2.

However taking the HTTPbis draft documents and replacing sections of 
them with SPDY mechanisms, frame design, etc as we agree on particulars 
- that has a clear chance of faster success.

Amos


From ietf-http-wg-request@listhub.w3.org  Thu Jul 26 23:16:19 2012
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 D4DFD11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 23:16:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.212
X-Spam-Level: 
X-Spam-Status: No, score=-9.212 tagged_above=-999 required=5 tests=[AWL=1.387, BAYES_00=-2.599, 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 u3rBCXvIlgx3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Jul 2012 23:16:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D58B411E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Jul 2012 23:16:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sudph-0001CI-Kp for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 06:15:29 +0000
Resent-Date: Fri, 27 Jul 2012 06:15:29 +0000
Resent-Message-Id: <E1Sudph-0001CI-Kp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SudpV-0001BW-FY for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 06:15:17 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SudpN-0001eY-S3 for ietf-http-wg@w3.org; Fri, 27 Jul 2012 06:15:15 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 5D91122DD6D; Fri, 27 Jul 2012 02:14:47 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <501230C2.1060602@treenet.co.nz>
Date: Fri, 27 Jul 2012 16:14:44 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <6ABAF033-557A-488B-9EB2-7F79C4760C5A@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net> <501230C2.1060602@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SudpN-0001eY-S3 49592342b3b08a3149619ba922c53a6f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/6ABAF033-557A-488B-9EB2-7F79C4760C5A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14785
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 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
>> Hi Amos,
>>=20
>> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> =
wrote:
>>>> Work will begin using XXX as a starting point; all proposals are to =
be expressed
>>>> in terms of changes to the that document.
>>> I just think I'll throw a spanner in the general direction of the =
works here....
>>>=20
>>> How realistic is it to expect the HTTPbis 1.1 draft documents fill =
that role? At least we can guarantee that modifications to adjust them =
for 2.0 specifics will not loose or add any features unintentionally =
that could affect HTTP/1.1 compatibility.
>> I'm not sure what your concern is here...
>=20
> concern 1) is the feature parity between the HTTP/1 drafts and any =
other document that gets picked. ie workload to get the new doc =
completed.
>=20
> concern 2) is the politcal battle to get document X to meet the WG =
goals.
>=20
> Much like what I said in my expression of interest summary. The HTTP/2 =
drafts on the tables (own one included) do not come up to scratch for =
HTTP/2 starting points.
>=20
> I know a lot of people have interest in SPDY, but to make that the =
HTTP/2 base doc there are a fair chunk of things which will need pruning =
out - if only because they are new semantics. It is probably not a good =
idea for the WG to start off facing that political battle to ensure its =
semantically seamless to HTTP/1.1. The other documents are bare-bones =
with specific focus on framing improvement over WG drafts part1-2.

Aha. I was assuming that would come up; please discuss (details would =
help).


> However taking the HTTPbis draft documents and replacing sections of =
them with SPDY mechanisms, frame design, etc as we agree on particulars =
- that has a clear chance of faster success.

That's an interesting approach.=20

Cheers,



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





From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 07:43:30 2012
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 B768B21F877F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 07:43:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.141
X-Spam-Level: 
X-Spam-Status: No, score=-10.141 tagged_above=-999 required=5 tests=[AWL=0.457, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 bYKaxwF7goeV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 07:43:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 26BFD21F870B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 07:43:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sulim-0006bG-UJ for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 14:40:52 +0000
Resent-Date: Fri, 27 Jul 2012 14:40:52 +0000
Resent-Message-Id: <E1Sulim-0006bG-UJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1Sulia-0006a5-Ob for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 14:40:40 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SuliV-0002yw-5D for ietf-http-wg@w3.org; Fri, 27 Jul 2012 14:40:40 +0000
Received: by vcdd16 with SMTP id d16so2829344vcd.2 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 07:40:09 -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=elOB3ESlGmJDgpKFfdI+IiOOHFoOgkX3am+exKMJknA=; b=zJ0+gwNhgZzD8GnLaharusubKkbfKgruY5JMJFXsX3oF0nSZeH2YK12QV+3q+riYqN 7FbMKQeUiaZY5HnOucm4Hooy4jHoEStCAt42AnA6dCIEqgkRWcWvbFGzo3iuIeuAeC6B Jami4lVn3PIsRTpOeDDFckzg0g6hm3ZwpE03BDdGGz243JEcXhoiG/TtMZ12NgrzMtLB Q+E2ZIoWLwENoLYJ/0AjaY8yukjL+rDS0hSfeeISjRvrEU28QO/t62p8b4fAazT8uM5U x4UaiIpSqOnc1IR4erPRIT3U3M92/jHEnpX2oclZV0p96i1Httvjvy5ZNWisCIHDbhW5 rc6A==
MIME-Version: 1.0
Received: by 10.52.23.14 with SMTP id i14mr2371974vdf.47.1343400009240; Fri, 27 Jul 2012 07:40:09 -0700 (PDT)
Received: by 10.58.18.138 with HTTP; Fri, 27 Jul 2012 07:40:09 -0700 (PDT)
In-Reply-To: <50122D04.5060708@treenet.co.nz>
References: <CAAPAK-5T6tNO9+vRf=SqRyWWU9EqZRt=Q09AMHD1tFOqbRoR7g@mail.gmail.com> <50122D04.5060708@treenet.co.nz>
Date: Fri, 27 Jul 2012 07:40:09 -0700
Message-ID: <CAAPAK-4ieb3mrKkyDR7q4DjaZmKALhzvbwAg3TP-raqXTCCasw@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf307c9e5457909604c5d0b073
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuliV-0002yw-5D 8baebef14ad17c0fd7e10c64e7ad42cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC6585+HTTP/2.0 := 101
Archived-At: <http://www.w3.org/mid/CAAPAK-4ieb3mrKkyDR7q4DjaZmKALhzvbwAg3TP-raqXTCCasw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14786
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>

--20cf307c9e5457909604c5d0b073
Content-Type: text/plain; charset=ISO-8859-1

Thanks for the notice.

My intent is to stay on-topic, and my post appeared like it leaped. We
already argued canonicalization, and its process modes, around ~1990, so I
thought there was no issue about that. I haven't been bound by BSD
given prevalent authority since then, so sorry.

On Thursday, July 26, 2012, Amos Jeffries wrote:

>
> I think the thing to notice here is the 295% *increase* in bandwidth
> consumption for content meta data. After removing the unnecessary
> whitespace.
>
> AYJ
>
>

--20cf307c9e5457909604c5d0b073
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks for the notice.<div><br></div><div>My intent is to stay on-topic, an=
d my post appeared like it leaped. We already argued canonicalization, and =
its process modes, around ~1990, so I thought there was no issue about that=
. I haven&#39;t been bound by BSD given=A0prevalent authority since then, s=
o=A0sorry.<br>
<br>On Thursday, July 26, 2012, Amos Jeffries  wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><br>
I think the thing to notice here is the 295% *increase* in bandwidth consum=
ption for content meta data. After removing the unnecessary whitespace.<br>
<br>
AYJ<br>
<br>
</blockquote></div>

--20cf307c9e5457909604c5d0b073--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 11:28:44 2012
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 46B3C11E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 11:28:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 idKIA9kLzsfX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 11:28:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DEF321F860B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 11:28:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SupFW-0005Sm-2V for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 18:26:54 +0000
Resent-Date: Fri, 27 Jul 2012 18:26:54 +0000
Resent-Message-Id: <E1SupFW-0005Sm-2V@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1SupFJ-0005RI-GZ for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 18:26:41 +0000
Received: from prod-mail-xrelay01.akamai.com ([72.246.2.12]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1SupFH-000203-Hi for ietf-http-wg@w3.org; Fri, 27 Jul 2012 18:26:41 +0000
Received: from prod-mail-xrelay01.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 86B36CF111 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 18:26:13 +0000 (GMT)
Received: from prod-mail-relay02.akamai.com (prod-mail-relay02.akamai.com [172.17.50.21]) by prod-mail-xrelay01.akamai.com (Postfix) with ESMTP id 6C88BCF109 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 18:26:13 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub1.dfw01.corp.akamai.com [172.27.33.75]) by prod-mail-relay02.akamai.com (Postfix) with ESMTP id ECEDEFE06D for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 18:26:12 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub1.dfw01.corp.akamai.com ([172.27.33.75]) with mapi; Fri, 27 Jul 2012 13:26:12 -0500
From: "Safruti, Ido" <ido@akamai.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Fri, 27 Jul 2012 13:26:09 -0500
Thread-Topic: Thoughts on server push and http/2.0
Thread-Index: Ac1sJUynLRhP+q6wTKWwwCn2/nZc4Q==
Message-ID: <CC382B51.3D7C0%ido@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.3.120616
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CC382B513D7C0idoakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=72.246.2.12; envelope-from=ido@akamai.com; helo=prod-mail-xrelay01.akamai.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SupFH-000203-Hi 0bf4c233b34fff1d88a664269fb6b24d
X-Original-To: ietf-http-wg@w3.org
Subject: Thoughts on server push and http/2.0
Archived-At: <http://www.w3.org/mid/CC382B51.3D7C0%25ido@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14787
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>

--_000_CC382B513D7C0idoakamaicom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I want to propose somewhat of a new approach with regards to server push, w=
hich was a charged and debated topic here.

server-push has various limitations, but the reality is server-push is here=
, whether we like it or not, in the form of inlining. The different impleme=
ntations out there could be a good resource for analysis and help us determ=
ine what are the limitations and which tools can we provide within the fram=
ework of HTTP/2.0.

The challenges/reservations that were presented so far with regards to serv=
er push are:

 1.  This is not controlled by the client
 2.  Potentially increase bandwidth consumption, battery life etc.
 3.  The cache management mechanism in place for request based resources ar=
en't there for push. This may result in the server sending content already =
stored in client's cache.
 4.  There are suggestions calling for client poll rather than server push =
- this way the client can inspect the cache and decide which resources to r=
equest, and what info to report when requesting them.

One of the strongest arguments supporting server push, is that not only the=
 demand is there, but in fact server push is already out there as mentioned=
 above =96 in inlining resources, and consolidating resources for following=
 requests.
As this is already done, it would be helpful if we can suggest a model that=
 provides better tools and more control to do exactly that.
The demand for server push is to better utilize the network. Any client dri=
ven method will have the initial (top-level) request, and only after receiv=
ing the response with the embedded/hinted resources the following requests =
can be issued. Which means that there is a full round-trip time in which th=
e server can send data but isn't doing it. This is practically "free" bandw=
idth. High latency connections, especially high latency high-bandwidth (mob=
ile for instance) could especially benefit from that.


 *   The alternatives used today, lack the additional control that support =
from the protocol can provide: for instance, a client can request to stop a=
 pushed object, while it can't do so if the push is done via inlining (as i=
t is consolidated into one request).
 *   We can learn from FEO and optimization techniques used today (especial=
ly around mobile) on how to hint on what is cached on the client, and how t=
o use this data. today, when inlining and storing objects in local storage,=
 the server sets a cookie (or cookies) to indicate the presence of the obje=
ct in cache. this way, the client will report on following requests, and th=
e server can decide not to inline the request.
 *   There are some obvious deficiencies to the cookie solution: nothing en=
sures the cookies are in sync with the cache/local storage, and we are over=
loading the cookie mechanism, which is already used for many other applicat=
ion specific needs.
 *   Inlining prevents efficient cache management. in some cases local stor=
age is used as a "hack" to enable caching, but I believe we can do better.
 *   Adding client control (as mentioned above), as well as prioritization =
of streams: pushed content could be set with a low priority, ensuring that =
when other requests arrive, they will not be blocked.

Based on the above, I believe we should look again on enabling server push =
in the protocol, with the approach of helping facilitate the concerns and r=
equirements needed for successful server push. My expectation from HTTP is =
to provide the tools and mechanisms to enable a successful implementation o=
f server push, but keep it flexible enough so that the layers on top of it,=
 or the application on top of HTTP can use it for a useful implementation. =
similar to how HTTP defines cookies, ETAGs and vary headers, but the other =
layers controls them and use them efficiently (even though you can easily g=
o very wrong with these, and result in a highly inefficient implementation)=
.

I'd like to propose a solution to mitigate the server-push limitations. The=
 generic flow is explained below, but I'll start with a simple common scena=
rio:

 1.  A user requests a page, and the server delivers the page as usual, wit=
hout using server-push
 2.  When delivering the JS & CSS files of the page, the server marks the m=
ost common resources by adding to their cache instructions an ID, such as a=
n 8-10 byte signature on the URL, ~12-15 base64 encoded.
 3.  Future request to pages (not resources, just pages) on this domain wil=
l include a new header which holds all the IDs of the JS/CSS files still in=
 cache, served from this domain (or domains associated with this connection=
). Assuming an average case will include 10 such resources, the header valu=
e will be 150 bytes, added only to requests for pages
 4.  The server will use this information to decide whether and what to pus=
h more intelligently

With that simple scenario in mind, I would like to continue and suggest the=
 more generic details (I specifically didn't go into the syntax details, as=
 I think those could be easily resolved once agreeing on the concept):


 1.  when serving content (through push or in regular delivery), a server *=
can* add to the caching instructions associated with the object the followi=
ng data:
    *   generate a specific id for the resource within the domain. this cou=
ld be a hash similar to the etag generation. I believe that 8-10 bytes woul=
d be sufficient. the id should include the object reference (e.g. URL) and =
its version.
    *   define a scope for the object. this is similar to the scope of a co=
okie (domain, directory) but should also have the ability to specify conten=
t type. specifically - a common use-case will be to only include a top-leve=
l page (e.g. the main HTML or a frame HTML).
 2.  a client receiving a pushed object, will store the ID and scope associ=
ated with it, as a part of the cached entry.
 3.  when requesting a resource, the client (user-agent) should report the =
IDs of objects in its cache, for which the request is in scope:
    *   this will be reported in a dedicated header ("stored-objects:", "ca=
che-map:" or any other name)
    *   assuming the server will not push unless it received client-cache-s=
tatus info, the client can send this as a delayed header (currently support=
ed in SPDY), and thus avoid delaying the processing of the request itself.
    *   It may make sense to enable reporting client cache out of context, =
to provide more info to the server. Not sure about it yet, it will definite=
ly require maintaining a state on the server side of the client cache along=
 the entire session, which adds complexity.

given the above tools, a server can now determine which resources to push b=
ased on tagging the common resources, or analyzing logs for most common res=
ources. the scope is important in verifying that only required resources wi=
ll be reported, as we don't want to transmit the entire cache map of a clie=
nt.

I believe this approach provides the right tools to implement server push w=
isely, and leaves the tools flexible enough so that applications and specif=
ic implementations still have the capability to innovate and use it in smar=
ter ways that we currently can't plan for.

All comments and ideas on how to make it better (or why should we kill it a=
ltogether) are appreciated.

- Ido



--_000_CC382B513D7C0idoakamaicom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif; "><div style=3D"font-size: 14px; font-=
family: Calibri, sans-serif; "><span class=3D"Apple-style-span" style=3D"fo=
nt-family: Arial; ">I want to propose somewhat of a new approach with regar=
ds to server push, which was a charged and debated topic here.</span></div>=
<div><div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><fo=
nt class=3D"Apple-style-span" face=3D"Arial"><br></font></div><div style=3D=
"font-family: Calibri, sans-serif; font-size: 14px; "><font class=3D"Apple-=
style-span" face=3D"Arial">server-push has various limitations, but the rea=
lity is server-push is here, whether we like it or not, in the form of inli=
ning. The different implementations out there could be a good resource for =
analysis and help us determine what are the limitations and which tools can=
 we provide within the framework of HTTP/2.0.&nbsp;</font></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div><di=
v style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"font-family: Arial; font-size: medium; ">The=
 challenges/reservations that were presented so far with regards to server =
push are:</span></div><ol><li><span class=3D"Apple-style-span" style=3D"bor=
der-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style=
: normal; font-variant: normal; font-weight: normal; letter-spacing: normal=
; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0=
px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px=
; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: au=
to; -webkit-text-stroke-width: 0px; font-size: medium; ">This is not contro=
lled by the client</span></li><li><span class=3D"Apple-style-span" style=3D=
"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-s=
tyle: normal; font-variant: normal; font-weight: normal; letter-spacing: no=
rmal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-inden=
t: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:=
 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spaci=
ng: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust=
: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Potentially in=
crease bandwidth consumption, battery life etc.</span></li><li><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, =
0); font-family: Arial; font-style: normal; font-variant: normal; font-weig=
ht: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-a=
lign: -webkit-auto; text-indent: 0px; text-transform: none; white-space: no=
rmal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;=
 -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: =
none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-=
size: medium; ">The cache management mechanism in place for request based r=
esources aren't there for push. This may result in the server sending conte=
nt already stored in client's cache.&nbsp;</span></li><li><span class=3D"Ap=
ple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); fo=
nt-family: Arial; font-style: normal; font-variant: normal; font-weight: no=
rmal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webk=
it-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: =
medium; ">There are suggestions calling for client poll rather than server =
push - this way the client can inspect the cache and decide which resources=
 to request, and what info to report when requesting them.</span></li></ol>=
<div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span cl=
ass=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, =
0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-w=
eight: normal; letter-spacing: normal; line-height: normal; orphans: 2; tex=
t-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space:=
 normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0=
px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effec=
t: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; fo=
nt-size: medium; ">One of the strongest arguments supporting server push, i=
s that not only the demand is there, but in fact server push is already out=
 there as mentioned above =96 in&nbsp;</span><span class=3D"Apple-style-spa=
n" style=3D"font-family: Arial; font-size: medium; ">inlining resources, an=
d consolidating resources for following requests.&nbsp;</span></div><div st=
yle=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: medium; ">As this=
 is already done, it would be helpful if we can suggest a model that provid=
es better tools and more control to do exactly that.</span></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"font-family: Arial; font-size: medium; ">The demand=
 for server push is to better utilize the network. Any client driven method=
 will have the initial (top-level) request, and only after receiving the re=
sponse with the embedded/hinted resources the following requests can be iss=
ued. Which means that there is a full round-trip time in which the server c=
an send data but isn't doing it. This is practically &quot;free&quot; bandw=
idth. High latency connections, especially high latency high-bandwidth (mob=
ile for instance) could especially benefit from that.&nbsp;</span></div><di=
v style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"font-family: Arial; font-size: medium; "><br=
></span></div><ul><li><span class=3D"Apple-style-span" style=3D"font-family=
: Arial; ">The alternatives used today, lack the additional control that su=
pport from the protocol can provide: for instance, a client can request to =
stop a pushed object, while it can't do so if the push is done via inlining=
 (as it is consolidated into one request).</span></li><li><span class=3D"Ap=
ple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); fo=
nt-family: Arial; font-style: normal; font-variant: normal; font-weight: no=
rmal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webk=
it-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: =
medium; ">We can learn from FEO and optimization techniques used today (esp=
ecially around mobile) on how to hint on what is cached on the client, and =
how to use this data. today, when inlining and storing objects in local sto=
rage, the server sets a cookie (or cookies) to indicate the presence of the=
 object in cache. this way, the client will report on following requests, a=
nd the server can decide not to inline the request.</span></li><li><span cl=
ass=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, =
0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-w=
eight: normal; letter-spacing: normal; line-height: normal; orphans: 2; tex=
t-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space:=
 normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0=
px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effec=
t: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; fo=
nt-size: medium; ">There are some obvious deficiencies to the cookie soluti=
on: nothing ensures the cookies are in sync with the cache/local storage, a=
nd we are overloading the cookie mechanism, which is already used for many =
other application specific needs.&nbsp;</span></li><li><span class=3D"Apple=
-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-=
family: Arial; font-style: normal; font-variant: normal; font-weight: norma=
l; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -we=
bkit-auto; text-indent: 0px; text-transform: none; white-space: normal; wid=
ows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-=
border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -we=
bkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: med=
ium; ">Inlining prevents efficient cache management.&nbsp;</span><span clas=
s=3D"Apple-style-span" style=3D"font-family: Arial; font-size: medium; ">in=
 some cases local storage is used as a &quot;hack&quot; to enable caching, =
but I believe we can do better.</span></li><li><span class=3D"Apple-style-s=
pan" style=3D"font-family: Arial; font-size: 14px; ">Adding client control =
(as mentioned above), as well as prioritization of streams: pushed content =
could be set with a low priority, ensuring that when other requests arrive,=
 they will not be blocked.</span></li></ul><div><span style=3D"color: rgb(0=
, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-weig=
ht: normal; text-decoration: none; "><br></span></div><div style=3D"font-si=
ze: 14px; font-family: Calibri, sans-serif; "><font class=3D"Apple-style-sp=
an" face=3D"Arial">Based on the above, I believe</font><span class=3D"Apple=
-style-span" style=3D"font-family: Arial; ">&nbsp;we should look again on e=
nabling server push in the protocol, with the approach of helping facilitat=
e the concerns and requirements needed for successful server push. My expec=
tation from HTTP is to provide the tools and mechanisms to enable a success=
ful implementation of server push, but keep it flexible enough so that the =
layers on top of it, or the application on top of HTTP can use it for a use=
ful implementation. similar to how HTTP defines cookies, ETAGs and vary hea=
ders, but the other layers controls them and use them efficiently (even tho=
ugh you can easily go very wrong with these, and result in a highly ineffic=
ient implementation).</span></div><div style=3D"font-family: Calibri, sans-=
serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-=
collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; li=
ne-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -w=
ebkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;=
 -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; font-size: medium; "><br></span></div><div =
style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, =
0); font-style: normal; font-variant: normal; font-weight: normal; letter-s=
pacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; wor=
d-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vert=
ical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-s=
ize-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><spa=
n class=3D"Apple-style-span" style=3D"font-size: 14px; "><font class=3D"App=
le-style-span" face=3D"Arial">I'd like to propose a solution to mitigate th=
e server-push limitations. The generic flow is explained below, but I'll st=
art with a simple common scenario:</font></span></span></div><div style=3D"=
font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-s=
tyle-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-st=
yle: normal; font-variant: normal; font-weight: normal; letter-spacing: nor=
mal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent=
: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacin=
g: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:=
 auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class=3D"=
Apple-style-span" style=3D"font-size: 14px; "><div><font class=3D"Apple-sty=
le-span" face=3D"Arial"><ol><li>A user requests a page, and the server deli=
vers the page as usual, without using server-push&nbsp;</li><li>When delive=
ring the&nbsp;JS &amp; CSS files of the page, the server marks the most com=
mon resources by adding to their cache instructions an ID, such as an 8-10 =
byte signature on the URL, ~12-15 base64 encoded.</li><li>Future request to=
 pages (not resources, just pages) on this domain will include a new header=
 which holds all the IDs of the JS/CSS files still in cache, served from th=
is domain (or domains associated with this connection). Assuming an average=
 case will include 10 such resources, the header value will be 150 bytes, a=
dded only to requests for pages</li><li>The server will use this informatio=
n to decide whether and what to push more intelligently</li></ol><div></div=
></font></div></span></span></div><div style=3D"font-family: Calibri, sans-=
serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-=
collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: normal; o=
rphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none=
; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizon=
tal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decora=
tions-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-=
width: 0px; font-size: medium; "><font class=3D"Apple-style-span" face=3D"A=
rial">With that simple scenario in mind, I would like to continue and sugge=
st the more generic details</font></span><span class=3D"Apple-style-span" s=
tyle=3D"font-family: Arial; font-size: medium; ">&nbsp;(I specifically didn=
't go into the syntax details, as I think those could be easily resolved on=
ce agreeing on the concept):</span></div><div style=3D"font-family: Calibri=
, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"=
font-family: Arial; font-size: medium; "><br></span></div><ol><li><span cla=
ss=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0=
, 0); font-family: Arial; font-style: normal; font-variant: normal; font-we=
ight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text=
-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0p=
x; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect=
: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; fon=
t-size: medium; ">when&nbsp;</span><span class=3D"Apple-style-span" style=
=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; fon=
t-style: normal; font-variant: normal; letter-spacing: normal; line-height:=
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bord=
er-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-te=
xt-stroke-width: 0px; font-size: medium; ">serving</span><span class=3D"App=
le-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); fon=
t-family: Arial; font-style: normal; font-variant: normal; font-weight: nor=
mal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -=
webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webki=
t-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -=
webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: m=
edium; ">&nbsp;content (</span><span class=3D"Apple-style-span" style=3D"bo=
rder-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-styl=
e: normal; font-variant: normal; letter-spacing: normal; line-height: norma=
l; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-hor=
izontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-de=
corations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-str=
oke-width: 0px; font-size: medium; ">through push or in regular delivery)</=
span><span class=3D"Apple-style-span" style=3D"border-collapse: separate; c=
olor: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: n=
ormal; letter-spacing: normal; line-height: normal; orphans: 2; text-align:=
 -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal;=
 widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -web=
kit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;=
 -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:=
 medium; ">, a server *can*&nbsp;add</span><span class=3D"Apple-style-span"=
 style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Aria=
l; font-style: normal; font-variant: normal; font-weight: normal; letter-sp=
acing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: 2; word=
-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-verti=
cal-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-si=
ze-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "> to t=
he caching instructions associated with the object the following data:</spa=
n></li><ol><li><span class=3D"Apple-style-span" style=3D"font-family: Arial=
; ">generate a specific id for the resource within the domain. this could b=
e a hash similar to the etag generation. I believe that 8-10 bytes would be=
 sufficient. the id should include the object reference&nbsp;</span><span c=
lass=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0,=
 0, 0); font-family: Arial; font-style: normal; font-variant: normal; lette=
r-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-aut=
o; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-v=
ertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-tex=
t-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">(=
e.g. URL)</span><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font=
-variant: normal; font-weight: normal; letter-spacing: normal; line-height:=
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bord=
er-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-te=
xt-stroke-width: 0px; font-size: medium; ">&nbsp;and its version.</span></l=
i><li><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-=
serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-=
collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; li=
ne-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -w=
ebkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;=
 -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; font-size: medium; ">define a scope for the=
 object. this is similar to the scope of a cookie (domain, directory) but <=
/span><span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align=
: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal=
; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -we=
bkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none=
; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size=
: medium; ">should also have the ability to specify content type. specifica=
lly - a common use-case will be</span><span class=3D"Apple-style-span" styl=
e=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; fo=
nt-style: normal; font-variant: normal; letter-spacing: normal; line-height=
: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-tran=
sform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bor=
der-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-=
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-t=
ext-stroke-width: 0px; font-size: medium; ">&nbsp;to only include</span><sp=
an class=3D"Apple-style-span" style=3D"border-collapse: separate; color: rg=
b(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; l=
etter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit=
-auto; text-indent: 0px; text-transform: none; white-space: normal; widows:=
 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bord=
er-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit=
-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;=
 ">&nbsp;a top-level page (</span><span class=3D"Apple-style-span" style=3D=
"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-s=
tyle: normal; font-variant: normal; letter-spacing: normal; line-height: no=
rmal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transfor=
m: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-=
horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text=
-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-=
stroke-width: 0px; font-size: medium; ">e.g. the main HTML or a frame HTML<=
/span><span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align=
: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal=
; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -we=
bkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none=
; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size=
: medium; ">).</span></span></li></ol><li><span class=3D"Apple-style-span" =
style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, =
0); font-family: Arial; font-style: normal; font-variant: normal; letter-sp=
acing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: 2; word=
-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-verti=
cal-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-si=
ze-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">a cli=
ent receiving a pushed object, will store th</span><span class=3D"Apple-sty=
le-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fami=
ly: Arial; font-style: normal; font-variant: normal; letter-spacing: normal=
; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0=
px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px=
; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: au=
to; -webkit-text-stroke-width: 0px; font-size: medium; ">e ID and scope</sp=
an><span class=3D"Apple-style-span" style=3D"border-collapse: separate; col=
or: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: nor=
mal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -=
webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webki=
t-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -=
webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: m=
edium; ">&nbsp;associated with it</span><span class=3D"Apple-style-span" st=
yle=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; =
font-style: normal; font-variant: normal; letter-spacing: normal; line-heig=
ht: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-tr=
ansform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-b=
order-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webki=
t-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit=
-text-stroke-width: 0px; font-size: medium; ">, as a part of the cached ent=
ry</span><span class=3D"Apple-style-span" style=3D"border-collapse: separat=
e; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-varian=
t: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-al=
ign: -webkit-auto; text-indent: 0px; text-transform: none; white-space: nor=
mal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: n=
one; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-s=
ize: medium; ">.</span></span></li><li><span class=3D"Apple-style-span" sty=
le=3D"font-family: Arial; ">when requesting a resource, the client (user-ag=
ent) should report the IDs of objects in its cache, for which the request i=
s in scope:</span></li><ol><li><span class=3D"Apple-style-span" style=3D"fo=
nt-family: Arial; ">this will be reported in a dedicated header (&quot;stor=
ed-objects:&quot;, &quot;cache-map:&quot; or any other name)</span></li><li=
><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-serif=
; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial; ">assuming the server will not push unless it received client-cache=
-status info, the client can send this as a delayed header (currently suppo=
rted in SPDY), and thus avoid delaying the processing of the request itself=
.</span></span></li><li><span class=3D"Apple-style-span" style=3D"font-fami=
ly: Arial; ">It may make sense to enable reporting client cache out of cont=
ext, to provide more info to the server. Not sure about it yet, it will def=
initely require maintaining a state on the server side of the client cache =
along the entire session, which adds complexity.</span></li></ol></ol><div>=
<font class=3D"Apple-style-span" face=3D"Arial"><br></font></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); fon=
t-family: Arial; font-style: normal; font-variant: normal; font-weight: nor=
mal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -=
webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webki=
t-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -=
webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: m=
edium; ">given the above tools, a server can now determine which resources =
to push based on tagging the common resources, or analyzing logs for most c=
ommon resources. the scope is important in verifying that only required res=
ources will be reported, as we don't want to transmit the entire cache map =
of a client.</span></div><div style=3D"font-family: Calibri, sans-serif; fo=
nt-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collapse:=
 separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; fon=
t-variant: normal; font-weight: normal; letter-spacing: normal; line-height=
: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-tran=
sform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bor=
der-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-=
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-t=
ext-stroke-width: 0px; font-size: medium; "><br></span></div><div style=3D"=
font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-s=
tyle-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fa=
mily: Arial; font-style: normal; font-variant: normal; font-weight: normal;=
 letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webk=
it-auto; text-indent: 0px; text-transform: none; white-space: normal; widow=
s: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bo=
rder-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webk=
it-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: mediu=
m; ">I believe this approach provides the right tools to implement server p=
ush wisely, and leaves the tools flexible enough so that applications and s=
pecific implementations still have the capability to innovate and use it in=
 smarter ways that we currently can't plan for.</span></div><div style=3D"f=
ont-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-st=
yle-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fam=
ily: Arial; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webki=
t-auto; text-indent: 0px; text-transform: none; white-space: normal; widows=
: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bor=
der-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webki=
t-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium=
; "><br></span></div><div style=3D"font-family: Calibri, sans-serif; font-s=
ize: 14px; "><span class=3D"Apple-style-span" style=3D"border-collapse: sep=
arate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-va=
riant: normal; font-weight: normal; letter-spacing: normal; line-height: no=
rmal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transfor=
m: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-=
horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text=
-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-=
stroke-width: 0px; font-size: medium; ">All comments and ideas on how to ma=
ke it better (or why should we kill it altogether) are appreciated.</span><=
/div><div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><sp=
an class=3D"Apple-style-span" style=3D"border-collapse: separate; color: rg=
b(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; f=
ont-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2=
; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-s=
pace: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spaci=
ng: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-=
effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0p=
x; font-size: medium; "><br></span></div><div><font class=3D"Apple-style-sp=
an" face=3D"Arial">- Ido</font></div><div><font class=3D"Apple-style-span" =
face=3D"Arial"><br></font></div><div style=3D"font-family: Calibri, sans-se=
rif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-co=
llapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: norm=
al; font-variant: normal; font-weight: normal; letter-spacing: normal; line=
-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; te=
xt-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -web=
kit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -=
webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -w=
ebkit-text-stroke-width: 0px; font-size: medium; "><br></span></div></div><=
/div></body></html>

--_000_CC382B513D7C0idoakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 14:16:23 2012
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 7CCA611E80AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 14:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.447
X-Spam-Level: 
X-Spam-Status: No, score=-10.447 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RDNS_DOTCOM_HELO=0.001, 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 ZctKxqATAQu4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 14:16:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B15A911E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 14:16:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SurrU-0001BZ-1b for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 21:14:16 +0000
Resent-Date: Fri, 27 Jul 2012 21:14:16 +0000
Resent-Message-Id: <E1SurrU-0001BZ-1b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1SurrG-00019x-EV for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 21:14:02 +0000
Received: from mrout3.yahoo.com ([216.145.54.173]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1SurrE-0003NZ-Ac for ietf-http-wg@w3.org; Fri, 27 Jul 2012 21:14:02 +0000
Received: from SP2-EX07CAS01.ds.corp.yahoo.com (sp2-ex07cas01.corp.sp2.yahoo.com [98.137.59.37]) by mrout3.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q6RLDP2e045314; Fri, 27 Jul 2012 14:13:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1343423606; bh=IVsZhYoGaHLinzQxotmJzJXjI0CwlrLozip1xyfESuQ=; h=From:To:Date:Subject:Message-ID:In-Reply-To:Content-Type: MIME-Version; b=htJF36wcpjx8vxqCU9JiSrKdfa8mHuXL9k72NFoBlepo0851BoaE+omwK3Misxmcm iPgB52wbfKe+NItB6UWaNESzW+f3VkUjWlw8y9wVsV3shFSXMtkBFeMCGCb/9MESSB rlUaJSSQ6HlM7w5L2aeD1v3PI8IvLhoLnBXpVRbI=
Received: from SP2-EX07VS03.ds.corp.yahoo.com ([98.137.59.32]) by SP2-EX07CAS01.ds.corp.yahoo.com ([98.137.59.37]) with mapi; Fri, 27 Jul 2012 14:13:25 -0700
From: Rajeev Bector <rbector@yahoo-inc.com>
To: "Safruti, Ido" <ido@akamai.com>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Fri, 27 Jul 2012 14:13:21 -0700
Thread-Topic: Thoughts on server push and http/2.0
Thread-Index: Ac1sPKjztLP0zBZ/Qa6fGq0b9H3T7g==
Message-ID: <CC386B36.473CD%rbector@yahoo-inc.com>
In-Reply-To: <CC382B51.3D7C0%ido@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.14.0.111121
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CC386B36473CDrbectoryahooinccom_"
MIME-Version: 1.0
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 423606000
Received-SPF: neutral client-ip=216.145.54.173; envelope-from=rbector@yahoo-inc.com; helo=mrout3.yahoo.com
X-W3C-Hub-Spam-Status: No, score=-16.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, NO_RDNS_DOTCOM_HELO=0.823, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779, USER_IN_DEF_WHITELIST=-15
X-W3C-Scan-Sig: maggie.w3.org 1SurrE-0003NZ-Ac f65b25ea58ec334bcdc6e35f0daa83c6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Thoughts on server push and http/2.0
Archived-At: <http://www.w3.org/mid/CC386B36.473CD%25rbector@yahoo-inc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14788
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>

--_000_CC386B36473CDrbectoryahooinccom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

For the first time visit case, where the browser/device has no "resources c=
ached from the domain", browser could simply indicate that with a empty fin=
ger-print/ID header and the server can start pushing those resources. For f=
requently visited sites, it probably doesn't matter (since stuff is cached)=
 but for the long tail of content, it may be important to optimize this use=
-case.

Overall =96 I was (sort of) thinking of similar mechanisms.  Inlining all t=
he way is very bandwidth intensive (as you cite) so your approach seems lik=
e a fairly reasonable trade-off to me.

In the scenarios where there are intermediate caches much closer to the bro=
wser, there is still a gap because servers will push content which intermed=
iate caches may have cached. .. Maybe the intermediaries can add on to the =
Id-header of the content when they fwd the requests upstream so server(s) c=
an avoid resending the content that is cached downstream (unless requested,=
 of course).
But wait a second =96 we are already thinking of cutting them out from the =
equation !

I think this approach has a lot of merit and we should explore it further.

Thanks,
Rajeev

From: "Safruti, Ido" <ido@akamai.com<mailto:ido@akamai.com>>
Date: Fri, 27 Jul 2012 11:26:09 -0700
To: HTTP Working Group <ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>>
Subject: Thoughts on server push and http/2.0

I want to propose somewhat of a new approach with regards to server push, w=
hich was a charged and debated topic here.

server-push has various limitations, but the reality is server-push is here=
, whether we like it or not, in the form of inlining. The different impleme=
ntations out there could be a good resource for analysis and help us determ=
ine what are the limitations and which tools can we provide within the fram=
ework of HTTP/2.0.

The challenges/reservations that were presented so far with regards to serv=
er push are:

 1.  This is not controlled by the client
 2.  Potentially increase bandwidth consumption, battery life etc.
 3.  The cache management mechanism in place for request based resources ar=
en't there for push. This may result in the server sending content already =
stored in client's cache.
 4.  There are suggestions calling for client poll rather than server push =
- this way the client can inspect the cache and decide which resources to r=
equest, and what info to report when requesting them.

One of the strongest arguments supporting server push, is that not only the=
 demand is there, but in fact server push is already out there as mentioned=
 above =96 in inlining resources, and consolidating resources for following=
 requests.
As this is already done, it would be helpful if we can suggest a model that=
 provides better tools and more control to do exactly that.
The demand for server push is to better utilize the network. Any client dri=
ven method will have the initial (top-level) request, and only after receiv=
ing the response with the embedded/hinted resources the following requests =
can be issued. Which means that there is a full round-trip time in which th=
e server can send data but isn't doing it. This is practically "free" bandw=
idth. High latency connections, especially high latency high-bandwidth (mob=
ile for instance) could especially benefit from that.


 *   The alternatives used today, lack the additional control that support =
from the protocol can provide: for instance, a client can request to stop a=
 pushed object, while it can't do so if the push is done via inlining (as i=
t is consolidated into one request).
 *   We can learn from FEO and optimization techniques used today (especial=
ly around mobile) on how to hint on what is cached on the client, and how t=
o use this data. today, when inlining and storing objects in local storage,=
 the server sets a cookie (or cookies) to indicate the presence of the obje=
ct in cache. this way, the client will report on following requests, and th=
e server can decide not to inline the request.
 *   There are some obvious deficiencies to the cookie solution: nothing en=
sures the cookies are in sync with the cache/local storage, and we are over=
loading the cookie mechanism, which is already used for many other applicat=
ion specific needs.
 *   Inlining prevents efficient cache management. in some cases local stor=
age is used as a "hack" to enable caching, but I believe we can do better.
 *   Adding client control (as mentioned above), as well as prioritization =
of streams: pushed content could be set with a low priority, ensuring that =
when other requests arrive, they will not be blocked.

Based on the above, I believe we should look again on enabling server push =
in the protocol, with the approach of helping facilitate the concerns and r=
equirements needed for successful server push. My expectation from HTTP is =
to provide the tools and mechanisms to enable a successful implementation o=
f server push, but keep it flexible enough so that the layers on top of it,=
 or the application on top of HTTP can use it for a useful implementation. =
similar to how HTTP defines cookies, ETAGs and vary headers, but the other =
layers controls them and use them efficiently (even though you can easily g=
o very wrong with these, and result in a highly inefficient implementation)=
.

I'd like to propose a solution to mitigate the server-push limitations. The=
 generic flow is explained below, but I'll start with a simple common scena=
rio:

 1.  A user requests a page, and the server delivers the page as usual, wit=
hout using server-push
 2.  When delivering the JS & CSS files of the page, the server marks the m=
ost common resources by adding to their cache instructions an ID, such as a=
n 8-10 byte signature on the URL, ~12-15 base64 encoded.
 3.  Future request to pages (not resources, just pages) on this domain wil=
l include a new header which holds all the IDs of the JS/CSS files still in=
 cache, served from this domain (or domains associated with this connection=
). Assuming an average case will include 10 such resources, the header valu=
e will be 150 bytes, added only to requests for pages
 4.  The server will use this information to decide whether and what to pus=
h more intelligently

With that simple scenario in mind, I would like to continue and suggest the=
 more generic details (I specifically didn't go into the syntax details, as=
 I think those could be easily resolved once agreeing on the concept):


 1.  when serving content (through push or in regular delivery), a server *=
can* add to the caching instructions associated with the object the followi=
ng data:
    *   generate a specific id for the resource within the domain. this cou=
ld be a hash similar to the etag generation. I believe that 8-10 bytes woul=
d be sufficient. the id should include the object reference (e.g. URL) and =
its version.
    *   define a scope for the object. this is similar to the scope of a co=
okie (domain, directory) but should also have the ability to specify conten=
t type. specifically - a common use-case will be to only include a top-leve=
l page (e.g. the main HTML or a frame HTML).
 2.  a client receiving a pushed object, will store the ID and scope associ=
ated with it, as a part of the cached entry.
 3.  when requesting a resource, the client (user-agent) should report the =
IDs of objects in its cache, for which the request is in scope:
    *   this will be reported in a dedicated header ("stored-objects:", "ca=
che-map:" or any other name)
    *   assuming the server will not push unless it received client-cache-s=
tatus info, the client can send this as a delayed header (currently support=
ed in SPDY), and thus avoid delaying the processing of the request itself.
    *   It may make sense to enable reporting client cache out of context, =
to provide more info to the server. Not sure about it yet, it will definite=
ly require maintaining a state on the server side of the client cache along=
 the entire session, which adds complexity.

given the above tools, a server can now determine which resources to push b=
ased on tagging the common resources, or analyzing logs for most common res=
ources. the scope is important in verifying that only required resources wi=
ll be reported, as we don't want to transmit the entire cache map of a clie=
nt.

I believe this approach provides the right tools to implement server push w=
isely, and leaves the tools flexible enough so that applications and specif=
ic implementations still have the capability to innovate and use it in smar=
ter ways that we currently can't plan for.

All comments and ideas on how to make it better (or why should we kill it a=
ltogether) are appreciated.

- Ido



--_000_CC386B36473CDrbectoryahooinccom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif; "><div>For the first time visit case, =
where the browser/device has no &quot;resources cached from the domain&quot=
;, browser could simply indicate that with a empty finger-print/ID header a=
nd the server can start pushing those resources. For frequently visited sit=
es, it probably doesn't matter (since stuff is cached) but for the long tai=
l of content, it may be important to optimize this use-case.</div><div><br>=
</div><div>Overall =96 I was (sort of) thinking of similar mechanisms. &nbs=
p;Inlining all the way is very bandwidth intensive (as you cite) so your ap=
proach seems like a fairly reasonable trade-off to me.&nbsp;</div><div><br>=
</div><div>In the scenarios where there are intermediate caches much closer=
 to the browser, there is still a gap because servers will push content whi=
ch intermediate caches may have cached. .. Maybe the intermediaries can add=
 on to the Id-header of the content when they fwd the requests upstream so =
server(s) can avoid resending the content that is cached downstream (unless=
 requested, of course).&nbsp;</div><div>But wait a second =96 we are alread=
y thinking of cutting them out from the equation !&nbsp;</div><div><br></di=
v><div>I think this approach has a lot of merit and we should explore it fu=
rther.</div><div><br></div><div>Thanks,</div><div>Rajeev</div><div><br></di=
v><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font=
-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDE=
R-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT:=
 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP=
: 3pt"><span style=3D"font-weight:bold">From: </span> &quot;Safruti, Ido&qu=
ot; &lt;<a href=3D"mailto:ido@akamai.com">ido@akamai.com</a>&gt;<br><span s=
tyle=3D"font-weight:bold">Date: </span> Fri, 27 Jul 2012 11:26:09 -0700<br>=
<span style=3D"font-weight:bold">To: </span> HTTP Working Group &lt;<a href=
=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br><span style=
=3D"font-weight:bold">Subject: </span> Thoughts on server push and http/2.0=
<br></div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUO=
TE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;=
"><div><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webk=
it-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; fon=
t-family: Calibri, sans-serif; "><div style=3D"font-size: 14px; font-family=
: Calibri, sans-serif; "><span class=3D"Apple-style-span" style=3D"font-fam=
ily: Arial; ">I want to propose somewhat of a new approach with regards to =
server push, which was a charged and debated topic here.</span></div><div><=
div style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><font cla=
ss=3D"Apple-style-span" face=3D"Arial"><br></font></div><div style=3D"font-=
family: Calibri, sans-serif; font-size: 14px; "><font class=3D"Apple-style-=
span" face=3D"Arial">server-push has various limitations, but the reality i=
s server-push is here, whether we like it or not, in the form of inlining. =
The different implementations out there could be a good resource for analys=
is and help us determine what are the limitations and which tools can we pr=
ovide within the framework of HTTP/2.0.&nbsp;</font></div><div style=3D"fon=
t-family: Calibri, sans-serif; font-size: 14px; "><br></div><div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"font-family: Arial; font-size: medium; ">The challe=
nges/reservations that were presented so far with regards to server push ar=
e:</span></div><ol><li><span class=3D"Apple-style-span" style=3D"border-col=
lapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: norma=
l; font-variant: normal; font-weight: normal; letter-spacing: normal; line-=
height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; tex=
t-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webk=
it-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -w=
ebkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -we=
bkit-text-stroke-width: 0px; font-size: medium; ">This is not controlled by=
 the client</span></li><li><span class=3D"Apple-style-span" style=3D"border=
-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: n=
ormal; font-variant: normal; font-weight: normal; letter-spacing: normal; l=
ine-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;=
 text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -=
webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px=
; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto;=
 -webkit-text-stroke-width: 0px; font-size: medium; ">Potentially increase =
bandwidth consumption, battery life etc.</span></li><li><span class=3D"Appl=
e-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font=
-family: Arial; font-style: normal; font-variant: normal; font-weight: norm=
al; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -w=
ebkit-auto; text-indent: 0px; text-transform: none; white-space: normal; wi=
dows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit=
-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -w=
ebkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: me=
dium; ">The cache management mechanism in place for request based resources=
 aren't there for push. This may result in the server sending content alrea=
dy stored in client's cache.&nbsp;</span></li><li><span class=3D"Apple-styl=
e-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-famil=
y: Arial; font-style: normal; font-variant: normal; font-weight: normal; le=
tter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-=
auto; text-indent: 0px; text-transform: none; white-space: normal; widows: =
2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-borde=
r-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-=
text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; =
">There are suggestions calling for client poll rather than server push - t=
his way the client can inspect the cache and decide which resources to requ=
est, and what info to report when requesting them.</span></li></ol><div sty=
le=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"A=
pple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); f=
ont-family: Arial; font-style: normal; font-variant: normal; font-weight: n=
ormal; letter-spacing: normal; line-height: normal; orphans: 2; text-align:=
 -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal;=
 widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -web=
kit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;=
 -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:=
 medium; ">One of the strongest arguments supporting server push, is that n=
ot only the demand is there, but in fact server push is already out there a=
s mentioned above =96 in&nbsp;</span><span class=3D"Apple-style-span" style=
=3D"font-family: Arial; font-size: medium; ">inlining resources, and consol=
idating resources for following requests.&nbsp;</span></div><div style=3D"f=
ont-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-st=
yle-span" style=3D"font-family: Arial; font-size: medium; ">As this is alre=
ady done, it would be helpful if we can suggest a model that provides bette=
r tools and more control to do exactly that.</span></div><div style=3D"font=
-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style=
-span" style=3D"font-family: Arial; font-size: medium; ">The demand for ser=
ver push is to better utilize the network. Any client driven method will ha=
ve the initial (top-level) request, and only after receiving the response w=
ith the embedded/hinted resources the following requests can be issued. Whi=
ch means that there is a full round-trip time in which the server can send =
data but isn't doing it. This is practically &quot;free&quot; bandwidth. Hi=
gh latency connections, especially high latency high-bandwidth (mobile for =
instance) could especially benefit from that.&nbsp;</span></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"font-family: Arial; font-size: medium; "><br></span=
></div><ul><li><span class=3D"Apple-style-span" style=3D"font-family: Arial=
; ">The alternatives used today, lack the additional control that support f=
rom the protocol can provide: for instance, a client can request to stop a =
pushed object, while it can't do so if the push is done via inlining (as it=
 is consolidated into one request).</span></li><li><span class=3D"Apple-sty=
le-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fami=
ly: Arial; font-style: normal; font-variant: normal; font-weight: normal; l=
etter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit=
-auto; text-indent: 0px; text-transform: none; white-space: normal; widows:=
 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bord=
er-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit=
-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;=
 ">We can learn from FEO and optimization techniques used today (especially=
 around mobile) on how to hint on what is cached on the client, and how to =
use this data. today, when inlining and storing objects in local storage, t=
he server sets a cookie (or cookies) to indicate the presence of the object=
 in cache. this way, the client will report on following requests, and the =
server can decide not to inline the request.</span></li><li><span class=3D"=
Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); =
font-family: Arial; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align=
: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal=
; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -we=
bkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none=
; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size=
: medium; ">There are some obvious deficiencies to the cookie solution: not=
hing ensures the cookies are in sync with the cache/local storage, and we a=
re overloading the cookie mechanism, which is already used for many other a=
pplication specific needs.&nbsp;</span></li><li><span class=3D"Apple-style-=
span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family:=
 Arial; font-style: normal; font-variant: normal; font-weight: normal; lett=
er-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-au=
to; text-indent: 0px; text-transform: none; white-space: normal; widows: 2;=
 word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-=
vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-te=
xt-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">=
Inlining prevents efficient cache management.&nbsp;</span><span class=3D"Ap=
ple-style-span" style=3D"font-family: Arial; font-size: medium; ">in some c=
ases local storage is used as a &quot;hack&quot; to enable caching, but I b=
elieve we can do better.</span></li><li><span class=3D"Apple-style-span" st=
yle=3D"font-family: Arial; font-size: 14px; ">Adding client control (as men=
tioned above), as well as prioritization of streams: pushed content could b=
e set with a low priority, ensuring that when other requests arrive, they w=
ill not be blocked.</span></li></ul><div><span style=3D"color: rgb(0, 0, 0)=
; font-family: Arial; font-size: 14px; font-style: normal; font-weight: nor=
mal; text-decoration: none; "><br></span></div><div style=3D"font-size: 14p=
x; font-family: Calibri, sans-serif; "><font class=3D"Apple-style-span" fac=
e=3D"Arial">Based on the above, I believe</font><span class=3D"Apple-style-=
span" style=3D"font-family: Arial; ">&nbsp;we should look again on enabling=
 server push in the protocol, with the approach of helping facilitate the c=
oncerns and requirements needed for successful server push. My expectation =
from HTTP is to provide the tools and mechanisms to enable a successful imp=
lementation of server push, but keep it flexible enough so that the layers =
on top of it, or the application on top of HTTP can use it for a useful imp=
lementation. similar to how HTTP defines cookies, ETAGs and vary headers, b=
ut the other layers controls them and use them efficiently (even though you=
 can easily go very wrong with these, and result in a highly inefficient im=
plementation).</span></div><div style=3D"font-family: Calibri, sans-serif; =
font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collaps=
e: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; f=
ont-variant: normal; font-weight: normal; letter-spacing: normal; line-heig=
ht: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-tr=
ansform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-b=
order-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webki=
t-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit=
-text-stroke-width: 0px; font-size: medium; "><br></span></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); fon=
t-style: normal; font-variant: normal; font-weight: normal; letter-spacing:=
 normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-in=
dent: 0px; text-transform: none; white-space: normal; widows: 2; word-spaci=
ng: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-sp=
acing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adj=
ust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class=
=3D"Apple-style-span" style=3D"font-size: 14px; "><font class=3D"Apple-styl=
e-span" face=3D"Arial">I'd like to propose a solution to mitigate the serve=
r-push limitations. The generic flow is explained below, but I'll start wit=
h a simple common scenario:</font></span></span></div><div style=3D"font-fa=
mily: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-sp=
an" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; li=
ne-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -w=
ebkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;=
 -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; font-size: medium; "><span class=3D"Apple-s=
tyle-span" style=3D"font-size: 14px; "><div><font class=3D"Apple-style-span=
" face=3D"Arial"><ol><li>A user requests a page, and the server delivers th=
e page as usual, without using server-push&nbsp;</li><li>When delivering th=
e&nbsp;JS &amp; CSS files of the page, the server marks the most common res=
ources by adding to their cache instructions an ID, such as an 8-10 byte si=
gnature on the URL, ~12-15 base64 encoded.</li><li>Future request to pages =
(not resources, just pages) on this domain will include a new header which =
holds all the IDs of the JS/CSS files still in cache, served from this doma=
in (or domains associated with this connection). Assuming an average case w=
ill include 10 such resources, the header value will be 150 bytes, added on=
ly to requests for pages</li><li>The server will use this information to de=
cide whether and what to push more intelligently</li></ol><div></div></font=
></div></span></span></div><div style=3D"font-family: Calibri, sans-serif; =
font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collaps=
e: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal;=
 font-weight: normal; letter-spacing: normal; line-height: normal; orphans:=
 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white=
-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spa=
cing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-i=
n-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: =
0px; font-size: medium; "><font class=3D"Apple-style-span" face=3D"Arial">W=
ith that simple scenario in mind, I would like to continue and suggest the =
more generic details</font></span><span class=3D"Apple-style-span" style=3D=
"font-family: Arial; font-size: medium; ">&nbsp;(I specifically didn't go i=
nto the syntax details, as I think those could be easily resolved once agre=
eing on the concept):</span></div><div style=3D"font-family: Calibri, sans-=
serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"font-fa=
mily: Arial; font-size: medium; "><br></span></div><ol><li><span class=3D"A=
pple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); f=
ont-family: Arial; font-style: normal; font-variant: normal; font-weight: n=
ormal; letter-spacing: normal; line-height: normal; orphans: 2; text-align:=
 -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal;=
 widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -web=
kit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none;=
 -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size:=
 medium; ">when&nbsp;</span><span class=3D"Apple-style-span" style=3D"borde=
r-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: =
normal; font-variant: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: non=
e; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizo=
ntal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decor=
ations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke=
-width: 0px; font-size: medium; ">serving</span><span class=3D"Apple-style-=
span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family:=
 Arial; font-style: normal; font-variant: normal; font-weight: normal; lett=
er-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-au=
to; text-indent: 0px; text-transform: none; white-space: normal; widows: 2;=
 word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-=
vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-te=
xt-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">=
&nbsp;content (</span><span class=3D"Apple-style-span" style=3D"border-coll=
apse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal=
; font-variant: normal; letter-spacing: normal; line-height: normal; orphan=
s: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; whi=
te-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-s=
pacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations=
-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width=
: 0px; font-size: medium; ">through push or in regular delivery)</span><spa=
n class=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb=
(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; le=
tter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-=
auto; text-indent: 0px; text-transform: none; white-space: normal; widows: =
2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-borde=
r-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-=
text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; =
">, a server *can*&nbsp;add</span><span class=3D"Apple-style-span" style=3D=
"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-s=
tyle: normal; font-variant: normal; font-weight: normal; letter-spacing: no=
rmal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-inden=
t: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:=
 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spaci=
ng: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust=
: auto; -webkit-text-stroke-width: 0px; font-size: medium; "> to the cachin=
g instructions associated with the object the following data:</span></li><o=
l><li><span class=3D"Apple-style-span" style=3D"font-family: Arial; ">gener=
ate a specific id for the resource within the domain. this could be a hash =
similar to the etag generation. I believe that 8-10 bytes would be sufficie=
nt. the id should include the object reference&nbsp;</span><span class=3D"A=
pple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); f=
ont-family: Arial; font-style: normal; font-variant: normal; letter-spacing=
: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-i=
ndent: 0px; text-transform: none; white-space: normal; widows: 2; word-spac=
ing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-s=
pacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-ad=
just: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">(e.g. URL)=
</span><span class=3D"Apple-style-span" style=3D"border-collapse: separate;=
 color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant:=
 normal; font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: non=
e; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizo=
ntal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decor=
ations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke=
-width: 0px; font-size: medium; ">&nbsp;and its version.</span></li><li><sp=
an class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-serif; fo=
nt-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collapse:=
 separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; fon=
t-variant: normal; font-weight: normal; letter-spacing: normal; line-height=
: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-tran=
sform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bor=
der-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-=
text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-t=
ext-stroke-width: 0px; font-size: medium; ">define a scope for the object. =
this is similar to the scope of a cookie (domain, directory) but </span><sp=
an class=3D"Apple-style-span" style=3D"border-collapse: separate; color: rg=
b(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; l=
etter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit=
-auto; text-indent: 0px; text-transform: none; white-space: normal; widows:=
 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bord=
er-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit=
-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;=
 ">should also have the ability to specify content type. specifically - a c=
ommon use-case will be</span><span class=3D"Apple-style-span" style=3D"bord=
er-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style:=
 normal; font-variant: normal; letter-spacing: normal; line-height: normal;=
 orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: no=
ne; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horiz=
ontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-deco=
rations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-strok=
e-width: 0px; font-size: medium; ">&nbsp;to only include</span><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, =
0); font-family: Arial; font-style: normal; font-variant: normal; letter-sp=
acing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: 2; word=
-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-verti=
cal-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-si=
ze-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">&nbsp=
;a top-level page (</span><span class=3D"Apple-style-span" style=3D"border-=
collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: no=
rmal; font-variant: normal; letter-spacing: normal; line-height: normal; or=
phans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none;=
 white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizont=
al-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorat=
ions-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-w=
idth: 0px; font-size: medium; ">e.g. the main HTML or a frame HTML</span><s=
pan class=3D"Apple-style-span" style=3D"border-collapse: separate; color: r=
gb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webki=
t-auto; text-indent: 0px; text-transform: none; white-space: normal; widows=
: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bor=
der-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webki=
t-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium=
; ">).</span></span></li></ol><li><span class=3D"Apple-style-span" style=3D=
"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-=
style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-f=
amily: Arial; font-style: normal; font-variant: normal; letter-spacing: nor=
mal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent=
: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacin=
g: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:=
 auto; -webkit-text-stroke-width: 0px; font-size: medium; ">a client receiv=
ing a pushed object, will store th</span><span class=3D"Apple-style-span" s=
tyle=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial;=
 font-style: normal; font-variant: normal; letter-spacing: normal; line-hei=
ght: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-t=
ransform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-=
border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webk=
it-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webki=
t-text-stroke-width: 0px; font-size: medium; ">e ID and scope</span><span c=
lass=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0,=
 0, 0); font-family: Arial; font-style: normal; font-variant: normal; lette=
r-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-aut=
o; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-v=
ertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-tex=
t-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">&=
nbsp;associated with it</span><span class=3D"Apple-style-span" style=3D"bor=
der-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style=
: normal; font-variant: normal; letter-spacing: normal; line-height: normal=
; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: n=
one; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-hori=
zontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-dec=
orations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stro=
ke-width: 0px; font-size: medium; ">, as a part of the cached entry</span><=
span class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal;=
 letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webk=
it-auto; text-indent: 0px; text-transform: none; white-space: normal; widow=
s: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bo=
rder-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webk=
it-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: mediu=
m; ">.</span></span></li><li><span class=3D"Apple-style-span" style=3D"font=
-family: Arial; ">when requesting a resource, the client (user-agent) shoul=
d report the IDs of objects in its cache, for which the request is in scope=
:</span></li><ol><li><span class=3D"Apple-style-span" style=3D"font-family:=
 Arial; ">this will be reported in a dedicated header (&quot;stored-objects=
:&quot;, &quot;cache-map:&quot; or any other name)</span></li><li><span cla=
ss=3D"Apple-style-span" style=3D"font-family: Calibri, sans-serif; font-siz=
e: 14px; "><span class=3D"Apple-style-span" style=3D"font-family: Arial; ">=
assuming the server will not push unless it received client-cache-status in=
fo, the client can send this as a delayed header (currently supported in SP=
DY), and thus avoid delaying the processing of the request itself.</span></=
span></li><li><span class=3D"Apple-style-span" style=3D"font-family: Arial;=
 ">It may make sense to enable reporting client cache out of context, to pr=
ovide more info to the server. Not sure about it yet, it will definitely re=
quire maintaining a state on the server side of the client cache along the =
entire session, which adds complexity.</span></li></ol></ol><div><font clas=
s=3D"Apple-style-span" face=3D"Arial"><br></font></div><div style=3D"font-f=
amily: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-s=
pan" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Arial; font-style: normal; font-variant: normal; font-weight: normal; lette=
r-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-aut=
o; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-v=
ertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-tex=
t-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">g=
iven the above tools, a server can now determine which resources to push ba=
sed on tagging the common resources, or analyzing logs for most common reso=
urces. the scope is important in verifying that only required resources wil=
l be reported, as we don't want to transmit the entire cache map of a clien=
t.</span></div><div style=3D"font-family: Calibri, sans-serif; font-size: 1=
4px; "><span class=3D"Apple-style-span" style=3D"border-collapse: separate;=
 color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant:=
 normal; font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: non=
e; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizo=
ntal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decor=
ations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke=
-width: 0px; font-size: medium; "><br></span></div><div style=3D"font-famil=
y: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span"=
 style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Aria=
l; font-style: normal; font-variant: normal; font-weight: normal; letter-sp=
acing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: 2; word=
-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-verti=
cal-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-si=
ze-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">I bel=
ieve this approach provides the right tools to implement server push wisely=
, and leaves the tools flexible enough so that applications and specific im=
plementations still have the capability to innovate and use it in smarter w=
ays that we currently can't plan for.</span></div><div style=3D"font-family=
: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial=
; font-style: normal; font-variant: normal; font-weight: normal; letter-spa=
cing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; te=
xt-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-=
spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertic=
al-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-siz=
e-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br></=
span></div><div style=3D"font-family: Calibri, sans-serif; font-size: 14px;=
 "><span class=3D"Apple-style-span" style=3D"border-collapse: separate; col=
or: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: nor=
mal; font-weight: normal; letter-spacing: normal; line-height: normal; orph=
ans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; w=
hite-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal=
-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decoratio=
ns-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wid=
th: 0px; font-size: medium; ">All comments and ideas on how to make it bett=
er (or why should we kill it altogether) are appreciated.</span></div><div =
style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, =
0); font-family: Arial; font-style: normal; font-variant: normal; font-weig=
ht: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-a=
lign: -webkit-auto; text-indent: 0px; text-transform: none; white-space: no=
rmal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;=
 -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: =
none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-=
size: medium; "><br></span></div><div><font class=3D"Apple-style-span" face=
=3D"Arial">- Ido</font></div><div><font class=3D"Apple-style-span" face=3D"=
Arial"><br></font></div><div style=3D"font-family: Calibri, sans-serif; fon=
t-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font=
-variant: normal; font-weight: normal; letter-spacing: normal; line-height:=
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bord=
er-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-te=
xt-stroke-width: 0px; font-size: medium; "><br></span></div></div></div></d=
iv></div></blockquote></span></body></html>

--_000_CC386B36473CDrbectoryahooinccom_--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 14:32:43 2012
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 17E5311E80AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 14:32:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 bNWUKnFY95ic for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 14:32:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3BA8111E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 14:32:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sus7b-0002s4-Qt for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 21:30:55 +0000
Resent-Date: Fri, 27 Jul 2012 21:30:55 +0000
Resent-Message-Id: <E1Sus7b-0002s4-Qt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Rob.Trace@microsoft.com>) id 1Sus7N-0002rF-VI for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 21:30:41 +0000
Received: from ch1ehsobe001.messaging.microsoft.com ([216.32.181.181] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Rob.Trace@microsoft.com>) id 1Sus7M-0008D6-JN for ietf-http-wg@w3.org; Fri, 27 Jul 2012 21:30:41 +0000
Received: from mail30-ch1-R.bigfish.com (10.43.68.246) by CH1EHSOBE018.bigfish.com (10.43.70.68) with Microsoft SMTP Server id 14.1.225.23; Fri, 27 Jul 2012 21:30:14 +0000
Received: from mail30-ch1 (localhost [127.0.0.1])	by mail30-ch1-R.bigfish.com (Postfix) with ESMTP id 36AA1A0316;	Fri, 27 Jul 2012 21:30:14 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zzbb2dI98dI9371I103dK542M1432I853kzz1202hzz8275ch8275dhz2fh2a8h668h839h944hd25hf0ah107ah)
Received-SPF: pass (mail30-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Rob.Trace@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail30-ch1 (localhost.localdomain [127.0.0.1]) by mail30-ch1 (MessageSwitch) id 1343424612427874_10702; Fri, 27 Jul 2012 21:30:12 +0000 (UTC)
Received: from CH1EHSMHS022.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.250])	by mail30-ch1.bigfish.com (Postfix) with ESMTP id 5C4242400A2;	Fri, 27 Jul 2012 21:30:12 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS022.bigfish.com (10.43.70.22) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 27 Jul 2012 21:30:12 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC104.redmond.corp.microsoft.com (157.54.80.25) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 27 Jul 2012 21:30:08 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Fri, 27 Jul 2012 14:30:08 -0700
From: Rob Trace <Rob.Trace@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Straw-man for our next charter
Thread-Index: AQHNa7iEsCY9ujihH0adF3GYxGh5OZc9GtsAgAABRwCAAIjCwA==
Date: Fri, 27 Jul 2012 21:30:08 +0000
Message-ID: <FF649A28BA27384396FD4F7BADF45DDF382E703C@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net> <501230C2.1060602@treenet.co.nz> <6ABAF033-557A-488B-9EB2-7F79C4760C5A@mnot.net>
In-Reply-To: <6ABAF033-557A-488B-9EB2-7F79C4760C5A@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.181; envelope-from=Rob.Trace@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sus7M-0008D6-JN 91aeceb8c9c94a91e65054a7f1febc80
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/FF649A28BA27384396FD4F7BADF45DDF382E703C@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14789
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>

+1.  Starting from 1.1 is an interesting approach and worth discussing.

Thanks!!

-Rob

-----Original Message-----
From: Mark Nottingham [mailto:mnot@mnot.net]=20
Sent: Thursday, July 26, 2012 11:15 PM
To: Amos Jeffries
Cc: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter


On 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
>> Hi Amos,
>>=20
>> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>>>> Work will begin using XXX as a starting point; all proposals are to=20
>>>> be expressed in terms of changes to the that document.
>>> I just think I'll throw a spanner in the general direction of the works=
 here....
>>>=20
>>> How realistic is it to expect the HTTPbis 1.1 draft documents fill that=
 role? At least we can guarantee that modifications to adjust them for 2.0 =
specifics will not loose or add any features unintentionally that could aff=
ect HTTP/1.1 compatibility.
>> I'm not sure what your concern is here...
>=20
> concern 1) is the feature parity between the HTTP/1 drafts and any other =
document that gets picked. ie workload to get the new doc completed.
>=20
> concern 2) is the politcal battle to get document X to meet the WG goals.
>=20
> Much like what I said in my expression of interest summary. The HTTP/2 dr=
afts on the tables (own one included) do not come up to scratch for HTTP/2 =
starting points.
>=20
> I know a lot of people have interest in SPDY, but to make that the HTTP/2=
 base doc there are a fair chunk of things which will need pruning out - if=
 only because they are new semantics. It is probably not a good idea for th=
e WG to start off facing that political battle to ensure its semantically s=
eamless to HTTP/1.1. The other documents are bare-bones with specific focus=
 on framing improvement over WG drafts part1-2.

Aha. I was assuming that would come up; please discuss (details would help)=
.


> However taking the HTTPbis draft documents and replacing sections of them=
 with SPDY mechanisms, frame design, etc as we agree on particulars - that =
has a clear chance of faster success.

That's an interesting approach.=20

Cheers,



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








From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 16:44:43 2012
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 BD97611E80BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 16:44:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 1pYrAAaaKVFO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 16:44:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E6A8921F8685 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 16:44:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SuuBN-0005E6-9I for ietf-http-wg-dist@listhub.w3.org; Fri, 27 Jul 2012 23:42:57 +0000
Resent-Date: Fri, 27 Jul 2012 23:42:57 +0000
Resent-Message-Id: <E1SuuBN-0005E6-9I@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1SuuB6-0005Cp-0M for ietf-http-wg@listhub.w3.org; Fri, 27 Jul 2012 23:42:40 +0000
Received: from prod-mail-xrelay01.akamai.com ([72.246.2.12]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1SuuB3-0003Ma-RD for ietf-http-wg@w3.org; Fri, 27 Jul 2012 23:42:39 +0000
Received: from prod-mail-xrelay01.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id B7AB2CF113; Fri, 27 Jul 2012 23:42:11 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay01.akamai.com (Postfix) with ESMTP id 9CF01CF108; Fri, 27 Jul 2012 23:42:11 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub1.dfw01.corp.akamai.com [172.27.33.75]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id 1CC371FFB; Fri, 27 Jul 2012 23:42:11 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.211]) by ustx2ex-cashub1.dfw01.corp.akamai.com ([172.27.33.75]) with mapi; Fri, 27 Jul 2012 18:42:10 -0500
From: "Safruti, Ido" <ido@akamai.com>
To: Rajeev Bector <rbector@yahoo-inc.com>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Fri, 27 Jul 2012 18:42:06 -0500
Thread-Topic: Thoughts on server push and http/2.0
Thread-Index: Ac1sUXBJuuy14jG6TSGG4S86SZXM7w==
Message-ID: <CC387417.3D808%ido@akamai.com>
In-Reply-To: <CC386B36.473CD%rbector@yahoo-inc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.3.120616
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CC3874173D808idoakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=72.246.2.12; envelope-from=ido@akamai.com; helo=prod-mail-xrelay01.akamai.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SuuB3-0003Ma-RD 7806afb60668a546745d520cf0b67cb7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Thoughts on server push and http/2.0
Archived-At: <http://www.w3.org/mid/CC387417.3D808%25ido@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14790
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>

--_000_CC3874173D808idoakamaicom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Good point about he empty header, and about the intermediates.

I believe intermediates can potentially push resources based on their own i=
nternal logic and settings (they too can analyze the page, or frequent reso=
urces), and they can report to the origin as you suggested the resources th=
ey have in cache.
Another option is adding push hints from the origin to the intermediate =96=
 this is important to cover the case when the resource is cached at the edg=
e but should be pushed. The origin can instruct which resources should be p=
ushed on the top-level response. (this can also be used for client pull).



From: Rajeev Bector <rbector@yahoo-inc.com<mailto:rbector@yahoo-inc.com>>
Date: Friday, July 27, 2012 2:13 PM
To: Ido Safruti <ido@akamai.com<mailto:ido@akamai.com>>, HTTP Working Group=
 <ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>>
Subject: Re: Thoughts on server push and http/2.0

For the first time visit case, where the browser/device has no "resources c=
ached from the domain", browser could simply indicate that with a empty fin=
ger-print/ID header and the server can start pushing those resources. For f=
requently visited sites, it probably doesn't matter (since stuff is cached)=
 but for the long tail of content, it may be important to optimize this use=
-case.

Overall =96 I was (sort of) thinking of similar mechanisms.  Inlining all t=
he way is very bandwidth intensive (as you cite) so your approach seems lik=
e a fairly reasonable trade-off to me.

In the scenarios where there are intermediate caches much closer to the bro=
wser, there is still a gap because servers will push content which intermed=
iate caches may have cached. .. Maybe the intermediaries can add on to the =
Id-header of the content when they fwd the requests upstream so server(s) c=
an avoid resending the content that is cached downstream (unless requested,=
 of course).
But wait a second =96 we are already thinking of cutting them out from the =
equation !

I think this approach has a lot of merit and we should explore it further.

Thanks,
Rajeev

From: "Safruti, Ido" <ido@akamai.com<mailto:ido@akamai.com>>
Date: Fri, 27 Jul 2012 11:26:09 -0700
To: HTTP Working Group <ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>>
Subject: Thoughts on server push and http/2.0

I want to propose somewhat of a new approach with regards to server push, w=
hich was a charged and debated topic here.

server-push has various limitations, but the reality is server-push is here=
, whether we like it or not, in the form of inlining. The different impleme=
ntations out there could be a good resource for analysis and help us determ=
ine what are the limitations and which tools can we provide within the fram=
ework of HTTP/2.0.

The challenges/reservations that were presented so far with regards to serv=
er push are:

 1.  This is not controlled by the client
 2.  Potentially increase bandwidth consumption, battery life etc.
 3.  The cache management mechanism in place for request based resources ar=
en't there for push. This may result in the server sending content already =
stored in client's cache.
 4.  There are suggestions calling for client poll rather than server push =
- this way the client can inspect the cache and decide which resources to r=
equest, and what info to report when requesting them.

One of the strongest arguments supporting server push, is that not only the=
 demand is there, but in fact server push is already out there as mentioned=
 above =96 in inlining resources, and consolidating resources for following=
 requests.
As this is already done, it would be helpful if we can suggest a model that=
 provides better tools and more control to do exactly that.
The demand for server push is to better utilize the network. Any client dri=
ven method will have the initial (top-level) request, and only after receiv=
ing the response with the embedded/hinted resources the following requests =
can be issued. Which means that there is a full round-trip time in which th=
e server can send data but isn't doing it. This is practically "free" bandw=
idth. High latency connections, especially high latency high-bandwidth (mob=
ile for instance) could especially benefit from that.


 *   The alternatives used today, lack the additional control that support =
from the protocol can provide: for instance, a client can request to stop a=
 pushed object, while it can't do so if the push is done via inlining (as i=
t is consolidated into one request).
 *   We can learn from FEO and optimization techniques used today (especial=
ly around mobile) on how to hint on what is cached on the client, and how t=
o use this data. today, when inlining and storing objects in local storage,=
 the server sets a cookie (or cookies) to indicate the presence of the obje=
ct in cache. this way, the client will report on following requests, and th=
e server can decide not to inline the request.
 *   There are some obvious deficiencies to the cookie solution: nothing en=
sures the cookies are in sync with the cache/local storage, and we are over=
loading the cookie mechanism, which is already used for many other applicat=
ion specific needs.
 *   Inlining prevents efficient cache management. in some cases local stor=
age is used as a "hack" to enable caching, but I believe we can do better.
 *   Adding client control (as mentioned above), as well as prioritization =
of streams: pushed content could be set with a low priority, ensuring that =
when other requests arrive, they will not be blocked.

Based on the above, I believe we should look again on enabling server push =
in the protocol, with the approach of helping facilitate the concerns and r=
equirements needed for successful server push. My expectation from HTTP is =
to provide the tools and mechanisms to enable a successful implementation o=
f server push, but keep it flexible enough so that the layers on top of it,=
 or the application on top of HTTP can use it for a useful implementation. =
similar to how HTTP defines cookies, ETAGs and vary headers, but the other =
layers controls them and use them efficiently (even though you can easily g=
o very wrong with these, and result in a highly inefficient implementation)=
.

I'd like to propose a solution to mitigate the server-push limitations. The=
 generic flow is explained below, but I'll start with a simple common scena=
rio:

 1.  A user requests a page, and the server delivers the page as usual, wit=
hout using server-push
 2.  When delivering the JS & CSS files of the page, the server marks the m=
ost common resources by adding to their cache instructions an ID, such as a=
n 8-10 byte signature on the URL, ~12-15 base64 encoded.
 3.  Future request to pages (not resources, just pages) on this domain wil=
l include a new header which holds all the IDs of the JS/CSS files still in=
 cache, served from this domain (or domains associated with this connection=
). Assuming an average case will include 10 such resources, the header valu=
e will be 150 bytes, added only to requests for pages
 4.  The server will use this information to decide whether and what to pus=
h more intelligently

With that simple scenario in mind, I would like to continue and suggest the=
 more generic details (I specifically didn't go into the syntax details, as=
 I think those could be easily resolved once agreeing on the concept):


 1.  when serving content (through push or in regular delivery), a server *=
can* add to the caching instructions associated with the object the followi=
ng data:
    *   generate a specific id for the resource within the domain. this cou=
ld be a hash similar to the etag generation. I believe that 8-10 bytes woul=
d be sufficient. the id should include the object reference (e.g. URL) and =
its version.
    *   define a scope for the object. this is similar to the scope of a co=
okie (domain, directory) but should also have the ability to specify conten=
t type. specifically - a common use-case will be to only include a top-leve=
l page (e.g. the main HTML or a frame HTML).
 2.  a client receiving a pushed object, will store the ID and scope associ=
ated with it, as a part of the cached entry.
 3.  when requesting a resource, the client (user-agent) should report the =
IDs of objects in its cache, for which the request is in scope:
    *   this will be reported in a dedicated header ("stored-objects:", "ca=
che-map:" or any other name)
    *   assuming the server will not push unless it received client-cache-s=
tatus info, the client can send this as a delayed header (currently support=
ed in SPDY), and thus avoid delaying the processing of the request itself.
    *   It may make sense to enable reporting client cache out of context, =
to provide more info to the server. Not sure about it yet, it will definite=
ly require maintaining a state on the server side of the client cache along=
 the entire session, which adds complexity.

given the above tools, a server can now determine which resources to push b=
ased on tagging the common resources, or analyzing logs for most common res=
ources. the scope is important in verifying that only required resources wi=
ll be reported, as we don't want to transmit the entire cache map of a clie=
nt.

I believe this approach provides the right tools to implement server push w=
isely, and leaves the tools flexible enough so that applications and specif=
ic implementations still have the capability to innovate and use it in smar=
ter ways that we currently can't plan for.

All comments and ideas on how to make it better (or why should we kill it a=
ltogether) are appreciated.

- Ido



--_000_CC3874173D808idoakamaicom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif; "><div>Good point about he empty heade=
r, and about the intermediates.</div><div><br></div><div>I believe intermed=
iates can potentially push resources based on their own internal logic and =
settings (they too can analyze the page, or frequent resources), and they c=
an report to the origin as you suggested the resources they have in cache.<=
/div><div>Another option is adding push hints from the origin to the interm=
ediate =96 this is important to cover the case when the resource is cached =
at the edge but should be pushed. The origin can instruct which resources s=
hould be pushed on the top-level response. (this can also be used for clien=
t pull).</div><div><br></div><div><br></div><div><br></div><span id=3D"OLK_=
SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text-a=
lign:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium non=
e; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: =
#b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=
=3D"font-weight:bold">From: </span> Rajeev Bector &lt;<a href=3D"mailto:rbe=
ctor@yahoo-inc.com">rbector@yahoo-inc.com</a>&gt;<br><span style=3D"font-we=
ight:bold">Date: </span> Friday, July 27, 2012 2:13 PM<br><span style=3D"fo=
nt-weight:bold">To: </span> Ido Safruti &lt;<a href=3D"mailto:ido@akamai.co=
m">ido@akamai.com</a>&gt;, HTTP Working Group &lt;<a href=3D"mailto:ietf-ht=
tp-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br><span style=3D"font-weight:bol=
d">Subject: </span> Re: Thoughts on server push and http/2.0<br></div><div>=
<br></div><div><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: spac=
e; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 1=
4px; font-family: Calibri, sans-serif; "><div>For the first time visit case=
, where the browser/device has no &quot;resources cached from the domain&qu=
ot;, browser could simply indicate that with a empty finger-print/ID header=
 and the server can start pushing those resources. For frequently visited s=
ites, it
 probably doesn't matter (since stuff is cached) but for the long tail of c=
ontent, it may be important to optimize this use-case.</div><div><br></div>=
<div>Overall =96 I was (sort of) thinking of similar mechanisms. &nbsp;Inli=
ning all the way is very bandwidth intensive (as you cite) so your approach=
 seems like a fairly reasonable trade-off to me.&nbsp;</div><div><br></div>=
<div>In the scenarios where there are intermediate caches much closer to th=
e browser, there is still a gap because servers will push content which int=
ermediate caches may have cached. .. Maybe the intermediaries can add on to=
 the Id-header of the content when
 they fwd the requests upstream so server(s) can avoid resending the conten=
t that is cached downstream (unless requested, of course).&nbsp;</div><div>=
But wait a second =96 we are already thinking of cutting them out from the =
equation !&nbsp;</div><div><br></div><div>I think this approach has a lot o=
f merit and we should explore it further.</div><div><br></div><div>Thanks,<=
/div><div>Rajeev</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div=
 style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:black=
; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in=
; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BOR=
DER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">=
From: </span>&quot;Safruti, Ido&quot; &lt;<a href=3D"mailto:ido@akamai.com"=
>ido@akamai.com</a>&gt;<br><span style=3D"font-weight:bold">Date: </span>Fr=
i, 27 Jul 2012 11:26:09 -0700<br><span style=3D"font-weight:bold">To: </spa=
n>HTTP Working Group &lt;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-w=
g@w3.org</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span>Though=
ts on server push and http/2.0<br></div><div><br></div><blockquote id=3D"MA=
C_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PA=
DDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style=3D"word-wrap: break-word; -=
webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(=
0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div style=
=3D"font-size: 14px; font-family: Calibri, sans-serif; "><span class=3D"App=
le-style-span" style=3D"font-family: Arial; ">I want to propose somewhat of=
 a new approach with regards to server push, which was a charged and debate=
d topic here.</span></div><div><div style=3D"font-family: Calibri, sans-ser=
if; font-size: 14px; "><font class=3D"Apple-style-span" face=3D"Arial"><br>=
</font></div><div style=3D"font-family: Calibri, sans-serif; font-size: 14p=
x; "><font class=3D"Apple-style-span" face=3D"Arial">server-push has variou=
s limitations, but the reality is server-push is here, whether we like it o=
r not, in the form of inlining. The different implementations
 out there could be a good resource for analysis and help us determine what=
 are the limitations and which tools can we provide within the framework of=
 HTTP/2.0.&nbsp;</font></div><div style=3D"font-family: Calibri, sans-serif=
; font-size: 14px; "><br></div><div><div style=3D"font-family: Calibri, san=
s-serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"font-=
family: Arial; font-size: medium; ">The challenges/reservations that were p=
resented so far with regards to server push are:</span></div><ol><li><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0=
, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font=
-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; t=
ext-align: -webkit-auto; text-indent: 0px; text-transform: none; white-spac=
e: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing:=
 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-eff=
ect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
font-size: medium; ">This is not controlled by the client</span></li><li><s=
pan class=3D"Apple-style-span" style=3D"border-collapse: separate; color: r=
gb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; orphans: =
2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-=
space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spac=
ing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in=
-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0=
px; font-size: medium; ">Potentially increase bandwidth consumption, batter=
y life etc.</span></li><li><span class=3D"Apple-style-span" style=3D"border=
-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: n=
ormal; font-variant: normal; font-weight: normal; letter-spacing: normal; l=
ine-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;=
 text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -=
webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px=
; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto;=
 -webkit-text-stroke-width: 0px; font-size: medium; ">The
 cache management mechanism in place for request based resources aren't the=
re for push. This may result in the server sending content already stored i=
n client's cache.&nbsp;</span></li><li><span class=3D"Apple-style-span" sty=
le=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; f=
ont-style: normal; font-variant: normal; font-weight: normal; letter-spacin=
g: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-=
indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spa=
cing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-=
spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-a=
djust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">There
 are suggestions calling for client poll rather than server push - this way=
 the client can inspect the cache and decide which resources to request, an=
d what info to report when requesting them.</span></li></ol><div style=3D"f=
ont-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-st=
yle-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fam=
ily: Arial; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webki=
t-auto; text-indent: 0px; text-transform: none; white-space: normal; widows=
: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bor=
der-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webki=
t-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium=
; ">One
 of the strongest arguments supporting server push, is that not only the de=
mand is there, but in fact server push is already out there as mentioned ab=
ove =96 in&nbsp;</span><span class=3D"Apple-style-span" style=3D"font-famil=
y: Arial; font-size: medium; ">inlining resources,
 and consolidating resources for following requests.&nbsp;</span></div><div=
 style=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=
=3D"Apple-style-span" style=3D"font-family: Arial; font-size: medium; ">As =
this is already done, it would be helpful if we can suggest a model that pr=
ovides better tools and more control
 to do exactly that.</span></div><div style=3D"font-family: Calibri, sans-s=
erif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"font-fam=
ily: Arial; font-size: medium; ">The demand for server push is to better ut=
ilize the network. Any client driven method will have the initial (top-leve=
l)
 request, and only after receiving the response with the embedded/hinted re=
sources the following requests can be issued. Which means that there is a f=
ull round-trip time in which the server can send data but isn't doing it. T=
his is practically &quot;free&quot; bandwidth.
 High latency connections, especially high latency high-bandwidth (mobile f=
or instance) could especially benefit from that.&nbsp;</span></div><div sty=
le=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"A=
pple-style-span" style=3D"font-family: Arial; font-size: medium; "><br></sp=
an></div><ul><li><span class=3D"Apple-style-span" style=3D"font-family: Ari=
al; ">The alternatives used today, lack the additional control that support=
 from the protocol can provide: for instance, a client can request to stop =
a pushed object, while it can't do so if the push
 is done via inlining (as it is consolidated into one request).</span></li>=
<li><span class=3D"Apple-style-span" style=3D"border-collapse: separate; co=
lor: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: no=
rmal; font-weight: normal; letter-spacing: normal; line-height: normal; orp=
hans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizonta=
l-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati=
ons-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wi=
dth: 0px; font-size: medium; ">We
 can learn from FEO and optimization techniques used today (especially arou=
nd mobile) on how to hint on what is cached on the client, and how to use t=
his data. today, when inlining and storing objects in local storage, the se=
rver sets a cookie (or cookies)
 to indicate the presence of the object in cache. this way, the client will=
 report on following requests, and the server can decide not to inline the =
request.</span></li><li><span class=3D"Apple-style-span" style=3D"border-co=
llapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: norm=
al; font-variant: normal; font-weight: normal; letter-spacing: normal; line=
-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; te=
xt-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -web=
kit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -=
webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -w=
ebkit-text-stroke-width: 0px; font-size: medium; ">There
 are some obvious deficiencies to the cookie solution: nothing ensures the =
cookies are in sync with the cache/local storage, and we are overloading th=
e cookie mechanism, which is already used for many other application specif=
ic needs.&nbsp;</span></li><li><span class=3D"Apple-style-span" style=3D"bo=
rder-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-styl=
e: normal; font-variant: normal; font-weight: normal; letter-spacing: norma=
l; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0p=
x; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:=
 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: a=
uto; -webkit-text-stroke-width: 0px; font-size: medium; ">Inlining
 prevents efficient cache management.&nbsp;</span><span class=3D"Apple-styl=
e-span" style=3D"font-family: Arial; font-size: medium; ">in some cases loc=
al storage is used as a &quot;hack&quot; to enable caching, but I believe w=
e can do better.</span></li><li><span class=3D"Apple-style-span" style=3D"f=
ont-family: Arial; font-size: 14px; ">Adding client control (as mentioned a=
bove), as well as prioritization of streams: pushed content could be set wi=
th a low priority, ensuring that when other requests arrive, they
 will not be blocked.</span></li></ul><div><span style=3D"color: rgb(0, 0, =
0); font-family: Arial; font-size: 14px; font-style: normal; font-weight: n=
ormal; text-decoration: none; "><br></span></div><div style=3D"font-size: 1=
4px; font-family: Calibri, sans-serif; "><font class=3D"Apple-style-span" f=
ace=3D"Arial">Based on the above, I believe</font><span class=3D"Apple-styl=
e-span" style=3D"font-family: Arial; ">&nbsp;we should look again on enabli=
ng server push in the
 protocol, with the approach of helping facilitate the concerns and require=
ments needed for successful server push. My expectation from HTTP is to pro=
vide the tools and mechanisms to enable a successful implementation of serv=
er push, but keep it flexible enough
 so that the layers on top of it, or the application on top of HTTP can use=
 it for a useful implementation. similar to how HTTP defines cookies, ETAGs=
 and vary headers, but the other layers controls them and use them efficien=
tly (even though you can easily
 go very wrong with these, and result in a highly inefficient implementatio=
n).</span></div><div style=3D"font-family: Calibri, sans-serif; font-size: =
14px; "><span class=3D"Apple-style-span" style=3D"border-collapse: separate=
; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant=
: normal; font-weight: normal; letter-spacing: normal; line-height: normal;=
 orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: no=
ne; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horiz=
ontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-deco=
rations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-strok=
e-width: 0px; font-size: medium; "><br></span></div><div style=3D"font-fami=
ly: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span=
" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-style: norm=
al; font-variant: normal; font-weight: normal; letter-spacing: normal; line=
-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; te=
xt-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -web=
kit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -=
webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -w=
ebkit-text-stroke-width: 0px; font-size: medium; "><span class=3D"Apple-sty=
le-span" style=3D"font-size: 14px; "><font class=3D"Apple-style-span" face=
=3D"Arial">I'd
 like to propose a solution to mitigate the server-push limitations. The ge=
neric flow is explained below, but I'll start with a simple common scenario=
:</font></span></span></div><div style=3D"font-family: Calibri, sans-serif;=
 font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collap=
se: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal=
; font-weight: normal; letter-spacing: normal; line-height: normal; orphans=
: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; whit=
e-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-sp=
acing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-=
in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width:=
 0px; font-size: medium; "><span class=3D"Apple-style-span" style=3D"font-s=
ize: 14px; "><div><font class=3D"Apple-style-span" face=3D"Arial"><ol><li>A=
 user requests a page, and the server delivers the page as usual, without u=
sing server-push&nbsp;</li><li>When delivering the&nbsp;JS &amp; CSS files =
of the page, the server marks the most common resources by adding to their =
cache instructions an ID, such as an 8-10 byte signature on the URL, ~12-15=
 base64 encoded.</li><li>Future request to pages (not resources, just pages=
) on this domain will include a new header which holds all the IDs of the J=
S/CSS files still in cache, served from this domain (or domains associated =
with this connection). Assuming an average case will
 include 10 such resources, the header value will be 150 bytes, added only =
to requests for pages</li><li>The server will use this information to decid=
e whether and what to push more intelligently</li></ol><div></div></font></=
div></span></span></div><div style=3D"font-family: Calibri, sans-serif; fon=
t-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; fo=
nt-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2;=
 text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-sp=
ace: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacin=
g: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-e=
ffect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px=
; font-size: medium; "><font class=3D"Apple-style-span" face=3D"Arial">With
 that simple scenario in mind, I would like to continue and suggest the mor=
e generic details</font></span><span class=3D"Apple-style-span" style=3D"fo=
nt-family: Arial; font-size: medium; ">&nbsp;(I specifically didn't go into=
 the syntax details, as I think those could
 be easily resolved once agreeing on the concept):</span></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"font-family: Arial; font-size: medium; "><br></span=
></div><ol><li><span class=3D"Apple-style-span" style=3D"border-collapse: s=
eparate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-=
variant: normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transf=
orm: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-borde=
r-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-te=
xt-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-tex=
t-stroke-width: 0px; font-size: medium; ">when&nbsp;</span><span class=3D"A=
pple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); f=
ont-family: Arial; font-style: normal; font-variant: normal; letter-spacing=
: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-i=
ndent: 0px; text-transform: none; white-space: normal; widows: 2; word-spac=
ing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-s=
pacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-ad=
just: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">serving</s=
pan><span class=3D"Apple-style-span" style=3D"border-collapse: separate; co=
lor: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: no=
rmal; font-weight: normal; letter-spacing: normal; line-height: normal; orp=
hans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizonta=
l-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati=
ons-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wi=
dth: 0px; font-size: medium; ">&nbsp;content (</span><span class=3D"Apple-s=
tyle-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fa=
mily: Arial; font-style: normal; font-variant: normal; letter-spacing: norm=
al; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent:=
 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0=
px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing=
: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; ">through
 push or in regular delivery)</span><span class=3D"Apple-style-span" style=
=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; fon=
t-style: normal; font-variant: normal; letter-spacing: normal; line-height:=
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bord=
er-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-te=
xt-stroke-width: 0px; font-size: medium; ">,
 a server *can*&nbsp;add</span><span class=3D"Apple-style-span" style=3D"bo=
rder-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-styl=
e: normal; font-variant: normal; font-weight: normal; letter-spacing: norma=
l; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0p=
x; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:=
 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: a=
uto; -webkit-text-stroke-width: 0px; font-size: medium; ">
 to the caching instructions associated with the object the following data:=
</span><ol><li><span class=3D"Apple-style-span" style=3D"font-family: Arial=
; ">generate a specific id for the resource within the domain. this could b=
e a hash similar to the etag generation. I believe that 8-10 bytes would be=
 sufficient. the id should include the object reference&nbsp;</span><span c=
lass=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0,=
 0, 0); font-family: Arial; font-style: normal; font-variant: normal; lette=
r-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-aut=
o; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-v=
ertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-tex=
t-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">(=
e.g.
 URL)</span><span class=3D"Apple-style-span" style=3D"border-collapse: sepa=
rate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-var=
iant: normal; font-weight: normal; letter-spacing: normal; line-height: nor=
mal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform=
: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-h=
orizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-=
decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-s=
troke-width: 0px; font-size: medium; ">&nbsp;and
 its version.</span></li><li><span class=3D"Apple-style-span" style=3D"font=
-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style=
-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family=
: Arial; font-style: normal; font-variant: normal; font-weight: normal; let=
ter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-a=
uto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2=
; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border=
-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-t=
ext-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "=
>define
 a scope for the object. this is similar to the scope of a cookie (domain, =
directory) but
</span><span class=3D"Apple-style-span" style=3D"border-collapse: separate;=
 color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant:=
 normal; letter-spacing: normal; line-height: normal; orphans: 2; text-alig=
n: -webkit-auto; text-indent: 0px; text-transform: none; white-space: norma=
l; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -w=
ebkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: non=
e; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-siz=
e: medium; ">should
 also have the ability to specify content type. specifically - a common use=
-case will be</span><span class=3D"Apple-style-span" style=3D"border-collap=
se: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; =
font-variant: normal; letter-spacing: normal; line-height: normal; orphans:=
 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white=
-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spa=
cing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-i=
n-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: =
0px; font-size: medium; ">&nbsp;to
 only include</span><span class=3D"Apple-style-span" style=3D"border-collap=
se: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; =
font-variant: normal; letter-spacing: normal; line-height: normal; orphans:=
 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white=
-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spa=
cing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-i=
n-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: =
0px; font-size: medium; ">&nbsp;a
 top-level page (</span><span class=3D"Apple-style-span" style=3D"border-co=
llapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: norm=
al; font-variant: normal; letter-spacing: normal; line-height: normal; orph=
ans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; w=
hite-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal=
-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decoratio=
ns-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wid=
th: 0px; font-size: medium; ">e.g.
 the main HTML or a frame HTML</span><span class=3D"Apple-style-span" style=
=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; fon=
t-style: normal; font-variant: normal; letter-spacing: normal; line-height:=
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bord=
er-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-te=
xt-stroke-width: 0px; font-size: medium; ">).</span></span></li></ol></li><=
li><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-ser=
if; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-col=
lapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: norma=
l; font-variant: normal; letter-spacing: normal; line-height: normal; orpha=
ns: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; wh=
ite-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-=
spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decoration=
s-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-widt=
h: 0px; font-size: medium; ">a
 client receiving a pushed object, will store th</span><span class=3D"Apple=
-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-=
family: Arial; font-style: normal; font-variant: normal; letter-spacing: no=
rmal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-inden=
t: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:=
 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spaci=
ng: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust=
: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">e
 ID and scope</span><span class=3D"Apple-style-span" style=3D"border-collap=
se: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; =
font-variant: normal; letter-spacing: normal; line-height: normal; orphans:=
 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white=
-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spa=
cing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-i=
n-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: =
0px; font-size: medium; ">&nbsp;associated
 with it</span><span class=3D"Apple-style-span" style=3D"border-collapse: s=
eparate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-=
variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; t=
ext-align: -webkit-auto; text-indent: 0px; text-transform: none; white-spac=
e: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing:=
 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-eff=
ect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
font-size: medium; ">,
 as a part of the cached entry</span><span class=3D"Apple-style-span" style=
=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; fon=
t-style: normal; font-variant: normal; letter-spacing: normal; line-height:=
 normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bord=
er-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-te=
xt-stroke-width: 0px; font-size: medium; ">.</span></span></li><li><span cl=
ass=3D"Apple-style-span" style=3D"font-family: Arial; ">when requesting a r=
esource, the client (user-agent) should report the IDs of objects in its ca=
che, for which the request is in scope:</span><ol><li><span class=3D"Apple-=
style-span" style=3D"font-family: Arial; ">this will be reported in a dedic=
ated header (&quot;stored-objects:&quot;, &quot;cache-map:&quot; or any oth=
er name)</span></li><li><span class=3D"Apple-style-span" style=3D"font-fami=
ly: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span=
" style=3D"font-family: Arial; ">assuming the server will not push unless i=
t received client-cache-status info, the client can send this
 as a delayed header (currently supported in SPDY), and thus avoid delaying=
 the processing of the request itself.</span></span></li><li><span class=3D=
"Apple-style-span" style=3D"font-family: Arial; ">It may make sense to enab=
le reporting client cache out of context, to provide more info to the serve=
r. Not sure about it yet, it will definitely require maintaining a state on=
 the server side of
 the client cache along the entire session, which adds complexity.</span></=
li></ol></li></ol><div><font class=3D"Apple-style-span" face=3D"Arial"><br>=
</font></div><div style=3D"font-family: Calibri, sans-serif; font-size: 14p=
x; "><span class=3D"Apple-style-span" style=3D"border-collapse: separate; c=
olor: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: n=
ormal; font-weight: normal; letter-spacing: normal; line-height: normal; or=
phans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none;=
 white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizont=
al-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorat=
ions-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-w=
idth: 0px; font-size: medium; ">given
 the above tools, a server can now determine which resources to push based =
on tagging the common resources, or analyzing logs for most common resource=
s. the scope is important in verifying that only required resources will be=
 reported, as we don't want to transmit
 the entire cache map of a client.</span></div><div style=3D"font-family: C=
alibri, sans-serif; font-size: 14px; "><span class=3D"Apple-style-span" sty=
le=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; f=
ont-style: normal; font-variant: normal; font-weight: normal; letter-spacin=
g: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-=
indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spa=
cing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-=
spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-a=
djust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br></spa=
n></div><div style=3D"font-family: Calibri, sans-serif; font-size: 14px; ">=
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; color:=
 rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal=
; font-weight: normal; letter-spacing: normal; line-height: normal; orphans=
: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; whit=
e-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-sp=
acing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-=
in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width:=
 0px; font-size: medium; ">I believe this approach provides the right tools=
 to implement server push wisely, and leaves the tools flexible enough so t=
hat applications and specific implementations still have the capability to =
innovate and use it in smarter ways that we currently can't
 plan for.</span></div><div style=3D"font-family: Calibri, sans-serif; font=
-size: 14px; "><span class=3D"Apple-style-span" style=3D"border-collapse: s=
eparate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-=
variant: normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transf=
orm: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-borde=
r-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-te=
xt-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-tex=
t-stroke-width: 0px; font-size: medium; "><br></span></div><div style=3D"fo=
nt-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"Apple-sty=
le-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-fami=
ly: Arial; font-style: normal; font-variant: normal; font-weight: normal; l=
etter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit=
-auto; text-indent: 0px; text-transform: none; white-space: normal; widows:=
 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bord=
er-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit=
-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;=
 ">All
 comments and ideas on how to make it better (or why should we kill it alto=
gether) are appreciated.</span></div><div style=3D"font-family: Calibri, sa=
ns-serif; font-size: 14px; "><span class=3D"Apple-style-span" style=3D"bord=
er-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style:=
 normal; font-variant: normal; font-weight: normal; letter-spacing: normal;=
 line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0p=
x; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;=
 -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0=
px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: aut=
o; -webkit-text-stroke-width: 0px; font-size: medium; "><br></span></div><d=
iv><font class=3D"Apple-style-span" face=3D"Arial">- Ido</font></div><div><=
font class=3D"Apple-style-span" face=3D"Arial"><br></font></div><div style=
=3D"font-family: Calibri, sans-serif; font-size: 14px; "><span class=3D"App=
le-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); fon=
t-family: Arial; font-style: normal; font-variant: normal; font-weight: nor=
mal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -=
webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webki=
t-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -=
webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: m=
edium; "><br></span></div></div></div></div></div></blockquote></span></div=
></div></span></body></html>

--_000_CC3874173D808idoakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 17:38:21 2012
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 D8B8011E8107 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 17:38:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.389
X-Spam-Level: 
X-Spam-Status: No, score=-10.389 tagged_above=-999 required=5 tests=[AWL=0.209, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 20UBQN3pFqvM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 17:38:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3735C11E8104 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 17:38:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Suv1N-0002UN-Uu for ietf-http-wg-dist@listhub.w3.org; Sat, 28 Jul 2012 00:36:41 +0000
Resent-Date: Sat, 28 Jul 2012 00:36:41 +0000
Resent-Message-Id: <E1Suv1N-0002UN-Uu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Suv1B-0002TF-61 for ietf-http-wg@listhub.w3.org; Sat, 28 Jul 2012 00:36:29 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Suv19-00012A-9F for ietf-http-wg@w3.org; Sat, 28 Jul 2012 00:36:29 +0000
Received: by wibhm2 with SMTP id hm2so1079205wib.2 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 17:36:00 -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=3TXvwOuT9VOvU5T7vXmkmRPSuEpD55cgur8oGZ80xxY=; b=QYbTjj1xtsL+qF3COIJlvgqiiwFPZji3C++vof3G/0d2l9FAJDQTCaRWIhMEQQQvXc Us0of6FV3X8M0goLLSB67Y8Gn8ndVoBeDrJXkzzfQDzffCFss/gyATR9lS0r2gbZLK8i XrGdsczfhIV3RNTP/Xd0hLI7QCIGGrfGY7yBy7+9K8V0ZcvMka1/IT1GWsCgM/+KOdOe BQFAiToFsi0oPVb/KPqed/Lg9UjV2MP5B78kgyXfz2WyMYgu+ObEkY8smrsJPcNSFQrp pF+KzYbxggOPOKqZN9/9j9BQlZXfXOiFdKXFOXWkLA9yJAP+kKeY5C5F3qusaaZ5pLoX sT+g==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr10067954wib.20.1343435760786; Fri, 27 Jul 2012 17:36:00 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Fri, 27 Jul 2012 17:36:00 -0700 (PDT)
In-Reply-To: <CC382B51.3D7C0%ido@akamai.com>
References: <CC382B51.3D7C0%ido@akamai.com>
Date: Fri, 27 Jul 2012 17:36:00 -0700
Message-ID: <CAP+FsNehYjcFr-C9=SDpm28hhSD_jpPya2oB2qS+ZecvxMjsgg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: "Safruti, Ido" <ido@akamai.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d044304464cdb8f04c5d9035f
Received-SPF: pass client-ip=209.85.212.169; envelope-from=grmocg@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Suv19-00012A-9F 658b3cb1cfb782307eb9e803654acc75
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Thoughts on server push and http/2.0
Archived-At: <http://www.w3.org/mid/CAP+FsNehYjcFr-C9=SDpm28hhSD_jpPya2oB2qS+ZecvxMjsgg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14791
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>

--f46d044304464cdb8f04c5d9035f
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 27, 2012 at 11:26 AM, Safruti, Ido <ido@akamai.com> wrote:

> I want to propose somewhat of a new approach with regards to server push,
> which was a charged and debated topic here.
>
> server-push has various limitations, but the reality is server-push is
> here, whether we like it or not, in the form of inlining. The different
> implementations out there could be a good resource for analysis and help =
us
> determine what are the limitations and which tools can we provide within
> the framework of HTTP/2.0.
>
> The challenges/reservations that were presented so far with regards to
> server push are:
>
>    1. This is not controlled by the client
>    2. Potentially increase bandwidth consumption, battery life etc.
>    3. The cache management mechanism in place for request based resources
>    aren't there for push. This may result in the server sending content
>    already stored in client's cache.
>    4. There are suggestions calling for client poll rather than server
>    push - this way the client can inspect the cache and decide which reso=
urces
>    to request, and what info to report when requesting them.
>
> One of the strongest arguments supporting server push, is that not only
> the demand is there, but in fact server push is already out there as
> mentioned above =96 in inlining resources, and consolidating resources fo=
r
> following requests.
> As this is already done, it would be helpful if we can suggest a model
> that provides better tools and more control to do exactly that.
> The demand for server push is to better utilize the network. Any client
> driven method will have the initial (top-level) request, and only after
> receiving the response with the embedded/hinted resources the following
> requests can be issued. Which means that there is a full round-trip time =
in
> which the server can send data but isn't doing it. This is practically
> "free" bandwidth. High latency connections, especially high latency
> high-bandwidth (mobile for instance) could especially benefit from that.
>
>
>    - The alternatives used today, lack the additional control that
>    support from the protocol can provide: for instance, a client can requ=
est
>    to stop a pushed object, while it can't do so if the push is done via
>    inlining (as it is consolidated into one request).
>    - We can learn from FEO and optimization techniques used today
>    (especially around mobile) on how to hint on what is cached on the cli=
ent,
>    and how to use this data. today, when inlining and storing objects in =
local
>    storage, the server sets a cookie (or cookies) to indicate the presenc=
e of
>    the object in cache. this way, the client will report on following
>    requests, and the server can decide not to inline the request.
>    - There are some obvious deficiencies to the cookie solution: nothing
>    ensures the cookies are in sync with the cache/local storage, and we a=
re
>    overloading the cookie mechanism, which is already used for many other
>    application specific needs.
>    - Inlining prevents efficient cache management. in some cases local
>    storage is used as a "hack" to enable caching, but I believe we can do
>    better.
>    - Adding client control (as mentioned above), as well as
>    prioritization of streams: pushed content could be set with a low prio=
rity,
>    ensuring that when other requests arrive, they will not be blocked.
>
>
> Based on the above, I believe we should look again on enabling server
> push in the protocol, with the approach of helping facilitate the concern=
s
> and requirements needed for successful server push. My expectation from
> HTTP is to provide the tools and mechanisms to enable a successful
> implementation of server push, but keep it flexible enough so that the
> layers on top of it, or the application on top of HTTP can use it for a
> useful implementation. similar to how HTTP defines cookies, ETAGs and var=
y
> headers, but the other layers controls them and use them efficiently (eve=
n
> though you can easily go very wrong with these, and result in a highly
> inefficient implementation).
>
> I'd like to propose a solution to mitigate the server-push limitations.
> The generic flow is explained below, but I'll start with a simple common
> scenario:
>
>    1. A user requests a page, and the server delivers the page as usual,
>    without using server-push
>    2. When delivering the JS & CSS files of the page, the server marks
>    the most common resources by adding to their cache instructions an ID,=
 such
>    as an 8-10 byte signature on the URL, ~12-15 base64 encoded.
>    3. Future request to pages (not resources, just pages) on this domain
>    will include a new header which holds all the IDs of the JS/CSS files =
still
>    in cache, served from this domain (or domains associated with this
>    connection). Assuming an average case will include 10 such resources, =
the
>    header value will be 150 bytes, added only to requests for pages
>    4. The server will use this information to decide whether and what to
>    push more intelligently
>
> With that simple scenario in mind, I would like to continue and suggest
> the more generic details (I specifically didn't go into the syntax
> details, as I think those could be easily resolved once agreeing on the
> concept):
>
>
>    1. when serving content (through push or in regular delivery), a
>    server *can* add to the caching instructions associated with the
>    object the following data:
>       1. generate a specific id for the resource within the domain. this
>       could be a hash similar to the etag generation. I believe that 8-10=
 bytes
>       would be sufficient. the id should include the object reference (e.=
g.
>       URL) and its version.
>       2. define a scope for the object. this is similar to the scope of a
>       cookie (domain, directory) but should also have the ability to
>       specify content type. specifically - a common use-case will be to
>       only include a top-level page (e.g. the main HTML or a frame HTML).
>    2. a client receiving a pushed object, will store the ID and scope ass=
ociated
>    with it, as a part of the cached entry.
>    3. when requesting a resource, the client (user-agent) should report
>    the IDs of objects in its cache, for which the request is in scope:
>       1. this will be reported in a dedicated header ("stored-objects:",
>       "cache-map:" or any other name)
>       2. assuming the server will not push unless it received
>       client-cache-status info, the client can send this as a delayed hea=
der
>       (currently supported in SPDY), and thus avoid delaying the processi=
ng of
>       the request itself.
>       3. It may make sense to enable reporting client cache out of
>       context, to provide more info to the server. Not sure about it yet,=
 it will
>       definitely require maintaining a state on the server side of the cl=
ient
>       cache along the entire session, which adds complexity.
>
>
> given the above tools, a server can now determine which resources to push
> based on tagging the common resources, or analyzing logs for most common
> resources. the scope is important in verifying that only required resourc=
es
> will be reported, as we don't want to transmit the entire cache map of a
> client.
>

> I believe this approach provides the right tools to implement server push
> wisely, and leaves the tools flexible enough so that applications and
> specific implementations still have the capability to innovate and use it
> in smarter ways that we currently can't plan for.
>
> All comments and ideas on how to make it better (or why should we kill it
> altogether) are appreciated.
>

It seems like something it'd be worthwhile to try out!

I've been thinking about something similar, yet different.
For each new request one must make as a result of the first one on the same
connection, indicate the stream id of the original request.
This is similar to referrer, but takes up far less space and has a much
more robust security aspect of sending this only to the thing which served
the resource in the first place.

This would allow servers to learn very quickly and highly effectively which
resources make sense to push, and *when* (e.g. at the beginning of the
connection vs the end).
I think we should play around with this to figure out if any of scenarios
where the client indicates what is in the cache really work as well. It is
a wonder field of hard problems, but in almost every case, the result is
better than the current case (inlining as poor-man's server push).





> - Ido
>
>
>

--f46d044304464cdb8f04c5d9035f
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Fri, Jul 27, 2012 at 11:26 AM, Safrut=
i, Ido <span dir=3D"ltr">&lt;<a href=3D"mailto:ido@akamai.com" target=3D"_b=
lank">ido@akamai.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">

<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div style=3D"font-size:14px;font-family:Calibri,sans-serif"><span s=
tyle=3D"font-family:Arial">I want to propose somewhat of a new approach wit=
h regards to server push, which was a charged and debated topic here.</span=
></div>
<div><div style=3D"font-family:Calibri,sans-serif;font-size:14px"><font fac=
e=3D"Arial"><br></font></div><div style=3D"font-family:Calibri,sans-serif;f=
ont-size:14px"><font face=3D"Arial">server-push has various limitations, bu=
t the reality is server-push is here, whether we like it or not, in the for=
m of inlining. The different implementations out there could be a good reso=
urce for analysis and help us determine what are the limitations and which =
tools can we provide within the framework of HTTP/2.0.=A0</font></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><br></div><div=
><div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=
=3D"font-family:Arial;font-size:medium">The challenges/reservations that we=
re presented so far with regards to server push are:</span></div>
<ol><li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:n=
ormal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-hei=
ght:normal;border-collapse:separate;text-transform:none;font-size:medium;wh=
ite-space:normal;font-family:Arial;word-spacing:0px">This is not controlled=
 by the client</span></li>
<li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:norma=
l;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:=
normal;border-collapse:separate;text-transform:none;font-size:medium;white-=
space:normal;font-family:Arial;word-spacing:0px">Potentially increase bandw=
idth consumption, battery life etc.</span></li>
<li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:norma=
l;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:=
normal;border-collapse:separate;text-transform:none;font-size:medium;white-=
space:normal;font-family:Arial;word-spacing:0px">The cache management mecha=
nism in place for request based resources aren&#39;t there for push. This m=
ay result in the server sending content already stored in client&#39;s cach=
e.=A0</span></li>
<li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:norma=
l;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:=
normal;border-collapse:separate;text-transform:none;font-size:medium;white-=
space:normal;font-family:Arial;word-spacing:0px">There are suggestions call=
ing for client poll rather than server push - this way the client can inspe=
ct the cache and decide which resources to request, and what info to report=
 when requesting them.</span></li>
</ol><div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span sty=
le=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:=
-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border=
-collapse:separate;text-transform:none;font-size:medium;white-space:normal;=
font-family:Arial;word-spacing:0px">One of the strongest arguments supporti=
ng server push, is that not only the demand is there, but in fact server pu=
sh is already out there as mentioned above =96 in=A0</span><span style=3D"f=
ont-family:Arial;font-size:medium">inlining resources, and consolidating re=
sources for following requests.=A0</span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"font-family:Arial;font-size:medium">As this is already done, it would be h=
elpful if we can suggest a model that provides better tools and more contro=
l to do exactly that.</span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"font-family:Arial;font-size:medium">The demand for server push is to bette=
r utilize the network. Any client driven method will have the initial (top-=
level) request, and only after receiving the response with the embedded/hin=
ted resources the following requests can be issued. Which means that there =
is a full round-trip time in which the server can send data but isn&#39;t d=
oing it. This is practically &quot;free&quot; bandwidth. High latency conne=
ctions, especially high latency high-bandwidth (mobile for instance) could =
especially benefit from that.=A0</span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"font-family:Arial;font-size:medium"><br></span></div><ul><li><span style=
=3D"font-family:Arial">The alternatives used today, lack the additional con=
trol that support from the protocol can provide: for instance, a client can=
 request to stop a pushed object, while it can&#39;t do so if the push is d=
one via inlining (as it is consolidated into one request).</span></li>
<li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:norma=
l;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:=
normal;border-collapse:separate;text-transform:none;font-size:medium;white-=
space:normal;font-family:Arial;word-spacing:0px">We can learn from FEO and =
optimization techniques used today (especially around mobile) on how to hin=
t on what is cached on the client, and how to use this data. today, when in=
lining and storing objects in local storage, the server sets a cookie (or c=
ookies) to indicate the presence of the object in cache. this way, the clie=
nt will report on following requests, and the server can decide not to inli=
ne the request.</span></li>
<li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:norma=
l;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:=
normal;border-collapse:separate;text-transform:none;font-size:medium;white-=
space:normal;font-family:Arial;word-spacing:0px">There are some obvious def=
iciencies to the cookie solution: nothing ensures the cookies are in sync w=
ith the cache/local storage, and we are overloading the cookie mechanism, w=
hich is already used for many other application specific needs.=A0</span></=
li>
<li><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:norma=
l;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:=
normal;border-collapse:separate;text-transform:none;font-size:medium;white-=
space:normal;font-family:Arial;word-spacing:0px">Inlining prevents efficien=
t cache management.=A0</span><span style=3D"font-family:Arial;font-size:med=
ium">in some cases local storage is used as a &quot;hack&quot; to enable ca=
ching, but I believe we can do better.</span></li>
<li><span style=3D"font-family:Arial;font-size:14px">Adding client control =
(as mentioned above), as well as prioritization of streams: pushed content =
could be set with a low priority, ensuring that when other requests arrive,=
 they will not be blocked.</span></li>
</ul><div><span style=3D"font-style:normal;font-size:14px;text-decoration:n=
one;font-family:Arial;font-weight:normal"><br></span></div><div style=3D"fo=
nt-size:14px;font-family:Calibri,sans-serif"><font face=3D"Arial">Based on =
the above, I believe</font><span style=3D"font-family:Arial">=A0we should l=
ook again on enabling server push in the protocol, with the approach of hel=
ping facilitate the concerns and requirements needed for successful server =
push. My expectation from HTTP is to provide the tools and mechanisms to en=
able a successful implementation of server push, but keep it flexible enoug=
h so that the layers on top of it, or the application on top of HTTP can us=
e it for a useful implementation. similar to how HTTP defines cookies, ETAG=
s and vary headers, but the other layers controls them and use them efficie=
ntly (even though you can easily go very wrong with these, and result in a =
highly inefficient implementation).</span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webk=
it-auto;font-style:normal;font-weight:normal;line-height:normal;border-coll=
apse:separate;text-transform:none;font-size:medium;white-space:normal;font-=
family:Arial;word-spacing:0px"><br>
</span></div><div style=3D"font-family:Calibri,sans-serif;font-size:14px"><=
span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;tex=
t-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norma=
l;border-collapse:separate;text-transform:none;font-size:medium;white-space=
:normal;word-spacing:0px"><span style=3D"font-size:14px"><font face=3D"Aria=
l">I&#39;d like to propose a solution to mitigate the server-push limitatio=
ns. The generic flow is explained below, but I&#39;ll start with a simple c=
ommon scenario:</font></span></span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webk=
it-auto;font-style:normal;font-weight:normal;line-height:normal;border-coll=
apse:separate;text-transform:none;font-size:medium;white-space:normal;word-=
spacing:0px"><span style=3D"font-size:14px"><div>
<font face=3D"Arial"><ol><li>A user requests a page, and the server deliver=
s the page as usual, without using server-push=A0</li><li>When delivering t=
he=A0JS &amp; CSS files of the page, the server marks the most common resou=
rces by adding to their cache instructions an ID, such as an 8-10 byte sign=
ature on the URL, ~12-15 base64 encoded.</li>
<li>Future request to pages (not resources, just pages) on this domain will=
 include a new header which holds all the IDs of the JS/CSS files still in =
cache, served from this domain (or domains associated with this connection)=
. Assuming an average case will include 10 such resources, the header value=
 will be 150 bytes, added only to requests for pages</li>
<li>The server will use this information to decide whether and what to push=
 more intelligently</li></ol><div></div></font></div></span></span></div><d=
iv style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D"t=
ext-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit=
-auto;font-style:normal;font-weight:normal;line-height:normal;border-collap=
se:separate;text-transform:none;font-size:medium;white-space:normal;word-sp=
acing:0px"><font face=3D"Arial">With that simple scenario in mind, I would =
like to continue and suggest the more generic details</font></span><span st=
yle=3D"font-family:Arial;font-size:medium">=A0(I specifically didn&#39;t go=
 into the syntax details, as I think those could be easily resolved once ag=
reeing on the concept):</span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"font-family:Arial;font-size:medium"><br></span></div><ol><li><span style=
=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-w=
ebkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-c=
ollapse:separate;text-transform:none;font-size:medium;white-space:normal;fo=
nt-family:Arial;word-spacing:0px">when=A0</span><span style=3D"text-indent:=
0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-=
style:normal;line-height:normal;border-collapse:separate;text-transform:non=
e;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px">s=
erving</span><span style=3D"text-indent:0px;letter-spacing:normal;font-vari=
ant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;lin=
e-height:normal;border-collapse:separate;text-transform:none;font-size:medi=
um;white-space:normal;font-family:Arial;word-spacing:0px">=A0content (</spa=
n><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;=
text-align:-webkit-auto;font-style:normal;line-height:normal;border-collaps=
e:separate;text-transform:none;font-size:medium;white-space:normal;font-fam=
ily:Arial;word-spacing:0px">through push or in regular delivery)</span><spa=
n style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-a=
lign:-webkit-auto;font-style:normal;line-height:normal;border-collapse:sepa=
rate;text-transform:none;font-size:medium;white-space:normal;font-family:Ar=
ial;word-spacing:0px">, a server *can*=A0add</span><span style=3D"text-inde=
nt:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;fo=
nt-style:normal;font-weight:normal;line-height:normal;border-collapse:separ=
ate;text-transform:none;font-size:medium;white-space:normal;font-family:Ari=
al;word-spacing:0px"> to the caching instructions associated with the objec=
t the following data:</span></li>
<ol><li><span style=3D"font-family:Arial">generate a specific id for the re=
source within the domain. this could be a hash similar to the etag generati=
on. I believe that 8-10 bytes would be sufficient. the id should include th=
e object reference=A0</span><span style=3D"text-indent:0px;letter-spacing:n=
ormal;font-variant:normal;text-align:-webkit-auto;font-style:normal;line-he=
ight:normal;border-collapse:separate;text-transform:none;font-size:medium;w=
hite-space:normal;font-family:Arial;word-spacing:0px">(e.g. URL)</span><spa=
n style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-a=
lign:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;b=
order-collapse:separate;text-transform:none;font-size:medium;white-space:no=
rmal;font-family:Arial;word-spacing:0px">=A0and its version.</span></li>
<li><span style=3D"font-family:Calibri,sans-serif;font-size:14px"><span sty=
le=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:=
-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border=
-collapse:separate;text-transform:none;font-size:medium;white-space:normal;=
font-family:Arial;word-spacing:0px">define a scope for the object. this is =
similar to the scope of a cookie (domain, directory) but </span><span style=
=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-w=
ebkit-auto;font-style:normal;line-height:normal;border-collapse:separate;te=
xt-transform:none;font-size:medium;white-space:normal;font-family:Arial;wor=
d-spacing:0px">should also have the ability to specify content type. specif=
ically - a common use-case will be</span><span style=3D"text-indent:0px;let=
ter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:n=
ormal;line-height:normal;border-collapse:separate;text-transform:none;font-=
size:medium;white-space:normal;font-family:Arial;word-spacing:0px">=A0to on=
ly include</span><span style=3D"text-indent:0px;letter-spacing:normal;font-=
variant:normal;text-align:-webkit-auto;font-style:normal;line-height:normal=
;border-collapse:separate;text-transform:none;font-size:medium;white-space:=
normal;font-family:Arial;word-spacing:0px">=A0a top-level page (</span><spa=
n style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-a=
lign:-webkit-auto;font-style:normal;line-height:normal;border-collapse:sepa=
rate;text-transform:none;font-size:medium;white-space:normal;font-family:Ar=
ial;word-spacing:0px">e.g. the main HTML or a frame HTML</span><span style=
=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-w=
ebkit-auto;font-style:normal;line-height:normal;border-collapse:separate;te=
xt-transform:none;font-size:medium;white-space:normal;font-family:Arial;wor=
d-spacing:0px">).</span></span></li>
</ol><li><span style=3D"font-family:Calibri,sans-serif;font-size:14px"><spa=
n style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-a=
lign:-webkit-auto;font-style:normal;line-height:normal;border-collapse:sepa=
rate;text-transform:none;font-size:medium;white-space:normal;font-family:Ar=
ial;word-spacing:0px">a client receiving a pushed object, will store th</sp=
an><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal=
;text-align:-webkit-auto;font-style:normal;line-height:normal;border-collap=
se:separate;text-transform:none;font-size:medium;white-space:normal;font-fa=
mily:Arial;word-spacing:0px">e ID and scope</span><span style=3D"text-inden=
t:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;fon=
t-style:normal;line-height:normal;border-collapse:separate;text-transform:n=
one;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px"=
>=A0associated with it</span><span style=3D"text-indent:0px;letter-spacing:=
normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;line-h=
eight:normal;border-collapse:separate;text-transform:none;font-size:medium;=
white-space:normal;font-family:Arial;word-spacing:0px">, as a part of the c=
ached entry</span><span style=3D"text-indent:0px;letter-spacing:normal;font=
-variant:normal;text-align:-webkit-auto;font-style:normal;line-height:norma=
l;border-collapse:separate;text-transform:none;font-size:medium;white-space=
:normal;font-family:Arial;word-spacing:0px">.</span></span></li>
<li><span style=3D"font-family:Arial">when requesting a resource, the clien=
t (user-agent) should report the IDs of objects in its cache, for which the=
 request is in scope:</span></li><ol><li><span style=3D"font-family:Arial">=
this will be reported in a dedicated header (&quot;stored-objects:&quot;, &=
quot;cache-map:&quot; or any other name)</span></li>
<li><span style=3D"font-family:Calibri,sans-serif;font-size:14px"><span sty=
le=3D"font-family:Arial">assuming the server will not push unless it receiv=
ed client-cache-status info, the client can send this as a delayed header (=
currently supported in SPDY), and thus avoid delaying the processing of the=
 request itself.</span></span></li>
<li><span style=3D"font-family:Arial">It may make sense to enable reporting=
 client cache out of context, to provide more info to the server. Not sure =
about it yet, it will definitely require maintaining a state on the server =
side of the client cache along the entire session, which adds complexity.</=
span></li>
</ol></ol><div><font face=3D"Arial"><br></font></div><div style=3D"font-fam=
ily:Calibri,sans-serif;font-size:14px"><span style=3D"text-indent:0px;lette=
r-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:nor=
mal;font-weight:normal;line-height:normal;border-collapse:separate;text-tra=
nsform:none;font-size:medium;white-space:normal;font-family:Arial;word-spac=
ing:0px">given the above tools, a server can now determine which resources =
to push based on tagging the common resources, or analyzing logs for most c=
ommon resources. the scope is important in verifying that only required res=
ources will be reported, as we don&#39;t want to transmit the entire cache =
map of a client.</span></div>
</div></div></div></blockquote><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D=
"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div><=
div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webk=
it-auto;font-style:normal;font-weight:normal;line-height:normal;border-coll=
apse:separate;text-transform:none;font-size:medium;white-space:normal;font-=
family:Arial;word-spacing:0px"><br>
</span></div><div style=3D"font-family:Calibri,sans-serif;font-size:14px"><=
span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;tex=
t-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norma=
l;border-collapse:separate;text-transform:none;font-size:medium;white-space=
:normal;font-family:Arial;word-spacing:0px">I believe this approach provide=
s the right tools to implement server push wisely, and leaves the tools fle=
xible enough so that applications and specific implementations still have t=
he capability to innovate and use it in smarter ways that we currently can&=
#39;t plan for.</span></div>
<div style=3D"font-family:Calibri,sans-serif;font-size:14px"><span style=3D=
"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webk=
it-auto;font-style:normal;font-weight:normal;line-height:normal;border-coll=
apse:separate;text-transform:none;font-size:medium;white-space:normal;font-=
family:Arial;word-spacing:0px"><br>
</span></div><div style=3D"font-family:Calibri,sans-serif;font-size:14px"><=
span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;tex=
t-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norma=
l;border-collapse:separate;text-transform:none;font-size:medium;white-space=
:normal;font-family:Arial;word-spacing:0px">All comments and ideas on how t=
o make it better (or why should we kill it altogether) are appreciated.</sp=
an></div>
</div></div></div></blockquote><div><br></div><div>It seems like something =
it&#39;d be worthwhile to try out!</div><div><br></div><div><div>I&#39;ve b=
een thinking about something similar, yet different.</div><div>For each new=
 request one must make as a result of the first one on the same connection,=
 indicate the stream id of the original request.</div>
<div>This is similar to referrer, but takes up far less space and has a muc=
h more robust security aspect of sending this only to the thing which serve=
d the resource in the first place.</div><div><br></div><div>This would allo=
w servers to learn very quickly and highly effectively which resources make=
 sense to push, and *when* (e.g. at the beginning of the connection vs the =
end).</div>
<div>I think we should play around with this to figure out if any of scenar=
ios where the client indicates what is in the cache really work as well. It=
 is a wonder field of hard problems, but in almost every case, the result i=
s better than the current case (inlining as poor-man&#39;s server push).</d=
iv>
</div><div><br></div><div><br></div><div><br></div><div><br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Calibri,sans=
-serif;word-wrap:break-word">
<div><div><span class=3D"HOEnZb"><font color=3D"#888888"><div style=3D"font=
-family:Calibri,sans-serif;font-size:14px"><span style=3D"text-indent:0px;l=
etter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style=
:normal;font-weight:normal;line-height:normal;border-collapse:separate;text=
-transform:none;font-size:medium;white-space:normal;font-family:Arial;word-=
spacing:0px"><br>
</span></div><div><font face=3D"Arial">- Ido</font></div><div><font face=3D=
"Arial"><br></font></div><div style=3D"font-family:Calibri,sans-serif;font-=
size:14px"><span style=3D"text-indent:0px;letter-spacing:normal;font-varian=
t:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-=
height:normal;border-collapse:separate;text-transform:none;font-size:medium=
;white-space:normal;font-family:Arial;word-spacing:0px"><br>
</span></div></font></span></div></div></div>
</blockquote></div><br>

--f46d044304464cdb8f04c5d9035f--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 21:37:45 2012
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 5C4E311E813C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 21:37:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.985
X-Spam-Level: 
X-Spam-Status: No, score=-7.985 tagged_above=-999 required=5 tests=[AWL=2.614, BAYES_00=-2.599, 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 sigLx2qUEUp8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 21:37:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BAA0C11E80A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 21:37:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Suykc-0001Tk-Ev for ietf-http-wg-dist@listhub.w3.org; Sat, 28 Jul 2012 04:35:38 +0000
Resent-Date: Sat, 28 Jul 2012 04:35:38 +0000
Resent-Message-Id: <E1Suykc-0001Tk-Ev@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SuykJ-0001Sb-KT for ietf-http-wg@listhub.w3.org; Sat, 28 Jul 2012 04:35:19 +0000
Received: from exprod6og113.obsmtp.com ([64.18.1.31]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SuykH-0001un-LS for ietf-http-wg@w3.org; Sat, 28 Jul 2012 04:35:19 +0000
Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob113.postini.com ([64.18.5.12]) with SMTP ID DSNKUBNr7otedalu6rfQ2zFmkcdED7DPdbVJ@postini.com; Fri, 27 Jul 2012 21:35:17 PDT
Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6S4Yr8N022578 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 21:34:53 -0700 (PDT)
Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q6S4YqYr003844 for <ietf-http-wg@w3.org>; Fri, 27 Jul 2012 21:34:52 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Fri, 27 Jul 2012 21:34:51 -0700
From: Larry Masinter <masinter@adobe.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 27 Jul 2012 21:34:49 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1rkDa+oSRB/p4eTNCzySKLS+DhggA5mH0A
Message-ID: <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz>
In-Reply-To: <500FE058.1000005@treenet.co.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.31; envelope-from=masinter@adobe.com; helo=exprod6og113.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SuykH-0001un-LS 7910bcaec1eb5dd2d8f85ddb379d867c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14792
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'd suggest the HTTP/2.0 work would be best served by first focusing on doc=
umenting "substantial and measurable improvement".
I suggest the charter not be extended to accept proposals and start on deve=
lopment of the protocol itself until this is done.

There are conflicting characterizations of SPDY performance results (the re=
sults aren't in conflict as much as whether you could summarize the results=
 as "better").=20
    http://www.ietf.org/proceedings/83/slides/slides-83-httpbis-3.pdf  said=
  "Google recently reported that SPDY over SSL is now faster than HTTP with=
out SSL" plus "BoostEdge paper confirms Google numbers", which I'd take to =
mean that it's always faster.

   but  http://www.guypo.com/technical/not-as-spdy-as-you-thought/  it isn'=
t as SPDY as you (Someone) thought, and noted many circumstances where it d=
idn't help.

Unless there's agreement on what "improvement" is, it's hard to even discus=
s features for how well they "improve".


What can site administrators depend on, expect from a SPDY upgrade?=20

I'm still concerned about head-of-line blocking that comes from multiplexin=
g and doing flow control at two levels of the protocol stack. It seems intr=
insically a likely problem, for which the only solution is proper managemen=
t and control of performance of all of the sources of data ("scheduling"). =
 I think getting an agreement on why that isn't a problem here (or at least=
, how to minimize the problem) first would help, too.
With head-of-line blocking, the latency has spikes, and averages won't suff=
ice if what you care about is common-worst-case.

Larry
--
http://larry.masinter.net





-----Original Message-----
From: Amos Jeffries [mailto:squid3@treenet.co.nz]=20
Sent: Wednesday, July 25, 2012 5:03 AM
To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter

On 25/07/2012 7:53 p.m., Mark Nottingham wrote:
> Next week in Vancouver, we'll discuss both the candidate proposals for HT=
TP/2.0 and whether we should re-charter to begin that work, confirming cons=
ensus on the list afterwards.
>
> Assuming we do choose one, we'll also need to discuss the charter itself.=
 To facilitate that, I've pasted a straw-man of what such a charter might l=
ook like below.
>
> Please familiarise yourself with it. We can discuss on-list beforehand, o=
f course, but please realise that we need to do this step-by-step, so don't=
 get too far ahead of the conversation.
>
> Note -- this currently JUST covers the protocol discussion, not the authe=
ntication half; I've omitted it because there are a few different ways that=
 work might end up, and it's going to need discussion before we can write e=
ven straw-man charter text.
>
> Cheers,
>
> ---8<---
> This Working Group is charged with maintaining and developing
> the "core" specifications for HTTP.
>
> The Working Group's specification deliverables are:
> * A document (or set of documents) that is suitable to supersede RFC 2616=
 as
>    the definition of HTTP/1.1 and move RFC 2817 to Historic status
> * A document cataloguing the security properties of HTTP/1.1
> * A document (or set of documents) that specifies HTTP/2.0, an improved
>    binding of HTTP's semantics to an underlying transport.
>
> HTTP/1.1
> --------
>
> HTTP/1.1 is one of the most successful and widely-used protocols on the
> Internet today. However, its specification has several editorial issues.
> Additionally, after years of implementation and extension, several
> ambiguities have become evident, impairing interoperability and the abili=
ty
> to easily implement and use HTTP.
>
> The working group will refine RFC2616 to:
> * Incorporate errata and updates (e.g., references, IANA registries,
>    ABNF)
> * Fix editorial problems which have led to misunderstandings of the
>    specification
> * Clarify conformance requirements
> * Remove known ambiguities where they affect interoperability
> * Clarify existing methods of extensibility
> * Remove or deprecate those features that are not widely implemented and
>    also unduly affect interoperability
> * Where necessary, add implementation advice
> * Document the security properties of HTTP and its associated mechanisms
>    (e.g., Basic and Digest authentication, cookies, TLS) for common
>    applications
>
> It will also incorporate the generic authentication framework from RFC
> 2617, without obsoleting or updating that specification's definition of
> the Basic and Digest schemes.
>
> Finally, it will incorporate relevant portions of RFC 2817 (in
> particular, the CONNECT method and advice on the use of Upgrade), so
> that that specification can be moved to Historic status.
>
> In doing so, it should consider:
> * Implementer experience
> * Demonstrated use of HTTP
> * Impact on existing implementations and deployments
>
> HTTP/2.0
> --------
>
> There is emerging implementation experience and interest in a protocol th=
at
> retains the semantics of HTTP without the legacy of HTTP/1.x message
> framing and syntax, which have been identified as hampering performance a=
nd
> encouraging misuse of the underlying transport.
>
> The Working Group will produce a specification of a new expression of HTT=
P's
> current semantics in ordered, bi-directional streams. As with HTTP/1.x,
> the primary target transport is TCP, but it should be possible to use
> other transports.
>
> Work will begin using XXX as a starting point; all proposals are to be ex=
pressed
> in terms of changes to the that document.

I just think I'll throw a spanner in the general direction of the works=20
here....

How realistic is it to expect the HTTPbis 1.1 draft documents fill that=20
role? At least we can guarantee that modifications to adjust them for=20
2.0 specifics will not loose or add any features unintentionally that=20
could affect HTTP/1.1 compatibility.


>
> It is expected that HTTP/2.0 will:
> * Substantially and measurably improve end-user perceived latency in most
>    cases, over HTTP/1.1 using TCP.

"measureably ... perceived" does not stack up.
Surely we can aim for actual measurable efficiency rather than just=20
perceived.

Possibly also improvement over *optimized* 1.1 would be a good aim.

> * Not require multiple connections to a server to enable parallelism.
+1.

> * Require no more configuration or tuning than current HTTP deployments;
>     preferably, less.

What do you means by this?

> * Retain the semantics of HTTP/1.1, leveraging existing documentation (se=
e
>    above), including (but not limited to) HTTP methods, status codes, URI=
s, and
>    where appropriate, header fields.

see above regarding "XXX as a starting point".

> * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>    intermediaries (both 2->1 and 1->2).
> * Clearly identify any new extensibility points and policy for their
>    appropriate use.

+1.

>
> The resulting specification(s) are expected to be meet these goals for co=
mmon
> existing deployments of HTTP; in particular, Web browsing (desktop and
> mobile), Web serving (at a variety of scales), and intermediation (by pro=
xies,
> corporate firewalls, "reverse" proxies and Content Delivery Networks).
>
> Note that this does not include uses of HTTP where non-specified behaviou=
rs
> are relied upon (e.g., connection state such as timeouts or client affini=
ty,
> and "interception" proxies); these uses may or may not be enabled by the =
final
> product.
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport protocols. Note that it
>    is expected that the Working Group will define how the protocol is use=
d
>    with the TLS protocol.
> * Specifying new semantics for HTTP (whether specific to HTTP/2 or not).
>    However, the Working Group may request a re-charter to start work on s=
uch
>    items (during or after work on HTTP/2.0), provided there is consensus =
to
>    do so, and it does not interfere with work on the "core" (both HTTP/1.=
x and
>    HTTP/2.0).

+1. Although I predict that having multiplexing on the table will bring=20
up the need for new hop-by-hop features on 2.0 connections. Specifically=20
flow control features.

Amos



From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 23:41:41 2012
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 4DF5011E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 23:41:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 6D-gWDg2Yw3B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 23:41:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDD4811E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 23:41:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sv0gW-0004Cy-23 for ietf-http-wg-dist@listhub.w3.org; Sat, 28 Jul 2012 06:39:32 +0000
Resent-Date: Sat, 28 Jul 2012 06:39:32 +0000
Resent-Message-Id: <E1Sv0gW-0004Cy-23@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Sv0gG-0004C9-Tq for ietf-http-wg@listhub.w3.org; Sat, 28 Jul 2012 06:39:16 +0000
Received: from exprod6og105.obsmtp.com ([64.18.1.189]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Sv0gD-00057t-6g for ietf-http-wg@w3.org; Sat, 28 Jul 2012 06:39:16 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob105.postini.com ([64.18.5.12]) with SMTP ID DSNKUBOI+Tj05fRPPa++qFe0NVhxeGRmGJlc@postini.com; Fri, 27 Jul 2012 23:39:13 PDT
Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6S6aNk0014407; Fri, 27 Jul 2012 23:36:23 -0700 (PDT)
Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6S6cmvm026965; Fri, 27 Jul 2012 23:38:49 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Fri, 27 Jul 2012 23:38:48 -0700
From: Larry Masinter <masinter@adobe.com>
To: "mnot@mnot.net" <mnot@mnot.net>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 27 Jul 2012 23:39:01 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1si6QXVlKHKx7XQAScR+69+Gnayg==
Message-ID: <80f57360-6d21-43be-952c-87344a010013@blur>
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur>
In-Reply-To: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_80f573606d2143be952c87344a010013blur_"
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.189; envelope-from=masinter@adobe.com; helo=exprod6og105.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sv0gD-00057t-6g 549c3da55dc890a0a901f4f3fa1c1937
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/80f57360-6d21-43be-952c-87344a010013@blur>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14793
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>

--_000_80f573606d2143be952c87344a010013blur_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

cmUgY2hhbmdlcyB0byBzZW1hbnRpY3M6IGNvbnNpZGVyIHRoZSBwb3NzaWJpbGl0eSBvZiBlbGlt
aW5hdGluZyAic25pZmZpbmciIGluIEhUVFAvMi4wLiBJZiBzbmlmZmluZyBpcyBqdXN0aWZpZWQg
Zm9yIGNvbXBhdGliaWxpdHkgd2l0aCBkZXBsb3llZCBzZXJ2ZXJzLCBjb3VsZCB3ZSBlbGltaW5h
dGUgc25pZmZpbmcgZm9yIDIuMCBzaXRlcz8NCg0KSXQgd291bGQgaW1wcm92ZSByZWxpYWJpbGl0
eSwgc2VjdXJpdHksIGFuZCBldmVuIHBlcmZvcm1hbmNlLiBZZXMsIHBvcHVsYXIgYnJvd3NlcnMg
d291bGQgaGF2ZSB0byBhZ3JlZSBub3QgdG8gc25pZmYgc2l0ZXMgcnVubmluZyAyLjAsIHNvIHRo
YXQgc2l0ZXMgd2FudGluZyAyOjAgYmVuZWZpdHMgd2lsbCBmaXggdGhlaXIgY29uZmlndXJhdGlv
bi4NCg0KTGlrZWx5IHRoZXJlIGFyZSBtYW55IG90aGVyIHdhcnRzIHRoYXQgY2FuIGJlIHJlbW92
ZWQgaWYgdGhlcmUgaXMgYSB2ZXJzaW9uIHVwZ3JhZGUuDQoNCg0KLS0tLS1PcmlnaW5hbCBtZXNz
YWdlLS0tLS0NCkZyb206IE1hcmsgTm90dGluZ2hhbSA8bW5vdEBtbm90Lm5ldD4NClRvOiBBbW9z
IEplZmZyaWVzIDxzcXVpZDNAdHJlZW5ldC5jby5uej4NCkNjOiAiaWV0Zi1odHRwLXdnQHczLm9y
ZyIgPGlldGYtaHR0cC13Z0B3My5vcmc+DQpTZW50OiBGcmksIEp1bCAyNywgMjAxMiAwNjoxNjoz
MSBHTVQrMDA6MDANClN1YmplY3Q6IFJlOiBTdHJhdy1tYW4gZm9yIG91ciBuZXh0IGNoYXJ0ZXIN
Cg0KDQpPbiAyNy8wNy8yMDEyLCBhdCA0OjEwIFBNLCBBbW9zIEplZmZyaWVzIDxzcXVpZDNAdHJl
ZW5ldC5jby5uej4gd3JvdGU6DQoNCj4gT24gMjcvMDcvMjAxMiA1OjI3IHAubS4sIE1hcmsgTm90
dGluZ2hhbSB3cm90ZToNCj4+IEhpIEFtb3MsDQo+Pg0KPj4gT24gMjUvMDcvMjAxMiwgYXQgMTA6
MDIgUE0sIEFtb3MgSmVmZnJpZXMgPHNxdWlkM0B0cmVlbmV0LmNvLm56PiB3cm90ZToNCj4+Pj4g
V29yayB3aWxsIGJlZ2luIHVzaW5nIFhYWCBhcyBhIHN0YXJ0aW5nIHBvaW50OyBhbGwgcHJvcG9z
YWxzIGFyZSB0byBiZSBleHByZXNzZWQNCj4+Pj4gaW4gdGVybXMgb2YgY2hhbmdlcyB0byB0aGUg
dGhhdCBkb2N1bWVudC4NCj4+PiBJIGp1c3QgdGhpbmsgSSdsbCB0aHJvdyBhIHNwYW5uZXIgaW4g
dGhlIGdlbmVyYWwgZGlyZWN0aW9uIG9mIHRoZSB3b3JrcyBoZXJlLi4uLg0KPj4+DQo+Pj4gSG93
IHJlYWxpc3RpYyBpcyBpdCB0byBleHBlY3QgdGhlIEhUVFBiaXMgMS4xIGRyYWZ0IGRvY3VtZW50
cyBmaWxsIHRoYXQgcm9sZT8gQXQgbGVhc3Qgd2UgY2FuIGd1YXJhbnRlZSB0aGF0IG1vZGlmaWNh
dGlvbnMgdG8gYWRqdXN0IHRoZW0gZm9yIDIuMCBzcGVjaWZpY3Mgd2lsbCBub3QgbG9vc2Ugb3Ig
YWRkIGFueSBmZWF0dXJlcyB1bmludGVudGlvbmFsbHkgdGhhdCBjb3VsZCBhZmZlY3QgSFRUUC8x
LjEgY29tcGF0aWJpbGl0eS4NCj4+IEknbSBub3Qgc3VyZSB3aGF0IHlvdXIgY29uY2VybiBpcyBo
ZXJlLi4uDQo+DQo+IGNvbmNlcm4gMSkgaXMgdGhlIGZlYXR1cmUgcGFyaXR5IGJldHdlZW4gdGhl
IEhUVFAvMSBkcmFmdHMgYW5kIGFueSBvdGhlciBkb2N1bWVudCB0aGF0IGdldHMgcGlja2VkLiBp
ZSB3b3JrbG9hZCB0byBnZXQgdGhlIG5ldyBkb2MgY29tcGxldGVkLg0KPg0KPiBjb25jZXJuIDIp
IGlzIHRoZSBwb2xpdGNhbCBiYXR0bGUgdG8gZ2V0IGRvY3VtZW50IFggdG8gbWVldCB0aGUgV0cg
Z29hbHMuDQo+DQo+IE11Y2ggbGlrZSB3aGF0IEkgc2FpZCBpbiBteSBleHByZXNzaW9uIG9mIGlu
dGVyZXN0IHN1bW1hcnkuIFRoZSBIVFRQLzIgZHJhZnRzIG9uIHRoZSB0YWJsZXMgKG93biBvbmUg
aW5jbHVkZWQpIGRvIG5vdCBjb21lIHVwIHRvIHNjcmF0Y2ggZm9yIEhUVFAvMiBzdGFydGluZyBw
b2ludHMuDQo+DQo+IEkga25vdyBhIGxvdCBvZiBwZW9wbGUgaGF2ZSBpbnRlcmVzdCBpbiBTUERZ
LCBidXQgdG8gbWFrZSB0aGF0IHRoZSBIVFRQLzIgYmFzZSBkb2MgdGhlcmUgYXJlIGEgZmFpciBj
aHVuayBvZiB0aGluZ3Mgd2hpY2ggd2lsbCBuZWVkIHBydW5pbmcgb3V0IC0gaWYgb25seSBiZWNh
dXNlIHRoZXkgYXJlIG5ldyBzZW1hbnRpY3MuIEl0IGlzIHByb2JhYmx5IG5vdCBhIGdvb2QgaWRl
YSBmb3IgdGhlIFdHIHRvIHN0YXJ0IG9mZiBmYWNpbmcgdGhhdCBwb2xpdGljYWwgYmF0dGxlIHRv
IGVuc3VyZSBpdHMgc2VtYW50aWNhbGx5IHNlYW1sZXNzIHRvIEhUVFAvMS4xLiBUaGUgb3RoZXIg
ZG9jdW1lbnRzIGFyZSBiYXJlLWJvbmVzIHdpdGggc3BlY2lmaWMgZm9jdXMgb24gZnJhbWluZyBp
bXByb3ZlbWVudCBvdmVyIFdHIGRyYWZ0cyBwYXJ0MS0yLg0KDQpBaGEuIEkgd2FzIGFzc3VtaW5n
IHRoYXQgd291bGQgY29tZSB1cDsgcGxlYXNlIGRpc2N1c3MgKGRldGFpbHMgd291bGQgaGVscCku
DQoNCg0KPiBIb3dldmVyIHRha2luZyB0aGUgSFRUUGJpcyBkcmFmdCBkb2N1bWVudHMgYW5kIHJl
cGxhY2luZyBzZWN0aW9ucyBvZiB0aGVtIHdpdGggU1BEWSBtZWNoYW5pc21zLCBmcmFtZSBkZXNp
Z24sIGV0YyBhcyB3ZSBhZ3JlZSBvbiBwYXJ0aWN1bGFycyAtIHRoYXQgaGFzIGEgY2xlYXIgY2hh
bmNlIG9mIGZhc3RlciBzdWNjZXNzLg0KDQpUaGF0J3MgYW4gaW50ZXJlc3RpbmcgYXBwcm9hY2gu
DQoNCkNoZWVycywNCg0KDQoNCi0tDQpNYXJrIE5vdHRpbmdoYW0gICBodHRwOi8vd3d3Lm1ub3Qu
bmV0Lw0KDQoNCg0KDQo=

--_000_80f573606d2143be952c87344a010013blur_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5ib2R5IHt3b3JkLXdyYXA6IGJyZWFr
LXdvcmQ7IGJhY2tncm91bmQtY29sb3I6I2ZmZmZmZjt9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGRp
diBzdHlsZT0iZm9udC1mYW1pbHk6IHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTZweCI+cmUgY2hh
bmdlcyB0byBzZW1hbnRpY3M6IGNvbnNpZGVyIHRoZSBwb3NzaWJpbGl0eSBvZiBlbGltaW5hdGlu
ZyAic25pZmZpbmciIGluIEhUVFAvMi4wLiBJZiBzbmlmZmluZyBpcyBqdXN0aWZpZWQgZm9yIGNv
bXBhdGliaWxpdHkgd2l0aCBkZXBsb3llZCBzZXJ2ZXJzLCBjb3VsZCB3ZSBlbGltaW5hdGUgc25p
ZmZpbmcgZm9yIDIuMCBzaXRlcz88YnI+PGJyPkl0IHdvdWxkIGltcHJvdmUgcmVsaWFiaWxpdHks
IHNlY3VyaXR5LCBhbmQgZXZlbiBwZXJmb3JtYW5jZS4gWWVzLCBwb3B1bGFyIGJyb3dzZXJzIHdv
dWxkIGhhdmUgdG8gYWdyZWUgbm90IHRvIHNuaWZmIHNpdGVzIHJ1bm5pbmcgMi4wLCBzbyB0aGF0
IHNpdGVzIHdhbnRpbmcgMjowIGJlbmVmaXRzIHdpbGwgZml4IHRoZWlyIGNvbmZpZ3VyYXRpb24u
JiMxNjA7IDxicj48YnI+TGlrZWx5IHRoZXJlIGFyZSBtYW55IG90aGVyIHdhcnRzIHRoYXQgY2Fu
IGJlIHJlbW92ZWQgaWYgdGhlcmUgaXMgYSB2ZXJzaW9uIHVwZ3JhZGUuPC9kaXY+PGJyPjxicj4t
LS0tLU9yaWdpbmFsIG1lc3NhZ2UtLS0tLTxicj48YmxvY2txdW90ZSBzdHlsZT0iOyBib3JkZXIt
bGVmdDogMnB4IHNvbGlkIHJnYigxNiwgMTYsIDI1NSk7IG1hcmdpbi1sZWZ0OiA1cHg7IHBhZGRp
bmctbGVmdDogNXB4OyI+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IHNhbnMtc2VyaWY7IGZvbnQt
c2l6ZTogMTRweCI+PGI+RnJvbTogPC9iPk1hcmsgTm90dGluZ2hhbSAmbHQ7bW5vdEBtbm90Lm5l
dCZndDs8Yj48YnI+VG86IDwvYj5BbW9zIEplZmZyaWVzICZsdDtzcXVpZDNAdHJlZW5ldC5jby5u
eiZndDs8Yj48YnI+Q2M6IDwvYj4mcXVvdDtpZXRmLWh0dHAtd2dAdzMub3JnJnF1b3Q7ICZsdDtp
ZXRmLWh0dHAtd2dAdzMub3JnJmd0OzxiPjxicj5TZW50OiA8L2I+RnJpLCBKdWwgMjcsIDIwMTIg
MDY6MTY6MzEgR01UKzAwOjAwPGI+PGJyPlN1YmplY3Q6IDwvYj5SZTogU3RyYXctbWFuIGZvciBv
dXIgbmV4dCBjaGFydGVyPGJyPjxicj48L2Rpdj48ZGl2PjxtZXRhIG5hbWU9IkdlbmVyYXRvciIg
Y29udGVudD0iTWljcm9zb2Z0IEV4Y2hhbmdlIFNlcnZlciI+DQo8IS0tIGNvbnZlcnRlZCBmcm9t
IHRleHQgLS0+DQo8c3R5bGU+PCEtLSAuRW1haWxRdW90ZSB7IG1hcmdpbi1sZWZ0OiAxcHQ7IHBh
ZGRpbmctbGVmdDogNHB0OyBib3JkZXItbGVmdDogIzgwMDAwMCAycHggc29saWQ7IH0gLS0+PC9z
dHlsZT4NCjxkaXY+DQo8Zm9udCBzaXplPSIyIj48ZGl2IGNsYXNzPSJQbGFpblRleHQiPjxicj4N
Ck9uIDI3LzA3LzIwMTIsIGF0IDQ6MTAgUE0sIEFtb3MgSmVmZnJpZXMgJmx0O3NxdWlkM0B0cmVl
bmV0LmNvLm56Jmd0OyB3cm90ZTo8YnI+DQo8YnI+DQomZ3Q7IE9uIDI3LzA3LzIwMTIgNToyNyBw
Lm0uLCBNYXJrIE5vdHRpbmdoYW0gd3JvdGU6PGJyPg0KJmd0OyZndDsgSGkgQW1vcyw8YnI+DQom
Z3Q7Jmd0OyA8YnI+DQomZ3Q7Jmd0OyBPbiAyNS8wNy8yMDEyLCBhdCAxMDowMiBQTSwgQW1vcyBK
ZWZmcmllcyAmbHQ7c3F1aWQzQHRyZWVuZXQuY28ubnomZ3Q7IHdyb3RlOjxicj4NCiZndDsmZ3Q7
Jmd0OyZndDsgV29yayB3aWxsIGJlZ2luIHVzaW5nIFhYWCBhcyBhIHN0YXJ0aW5nIHBvaW50OyBh
bGwgcHJvcG9zYWxzIGFyZSB0byBiZSBleHByZXNzZWQ8YnI+DQomZ3Q7Jmd0OyZndDsmZ3Q7IGlu
IHRlcm1zIG9mIGNoYW5nZXMgdG8gdGhlIHRoYXQgZG9jdW1lbnQuPGJyPg0KJmd0OyZndDsmZ3Q7
IEkganVzdCB0aGluayBJJ2xsIHRocm93IGEgc3Bhbm5lciBpbiB0aGUgZ2VuZXJhbCBkaXJlY3Rp
b24gb2YgdGhlIHdvcmtzIGhlcmUuLi4uPGJyPg0KJmd0OyZndDsmZ3Q7IDxicj4NCiZndDsmZ3Q7
Jmd0OyBIb3cgcmVhbGlzdGljIGlzIGl0IHRvIGV4cGVjdCB0aGUgSFRUUGJpcyAxLjEgZHJhZnQg
ZG9jdW1lbnRzIGZpbGwgdGhhdCByb2xlPyBBdCBsZWFzdCB3ZSBjYW4gZ3VhcmFudGVlIHRoYXQg
bW9kaWZpY2F0aW9ucyB0byBhZGp1c3QgdGhlbSBmb3IgMi4wIHNwZWNpZmljcyB3aWxsIG5vdCBs
b29zZSBvciBhZGQgYW55IGZlYXR1cmVzIHVuaW50ZW50aW9uYWxseSB0aGF0IGNvdWxkIGFmZmVj
dCBIVFRQLzEuMSBjb21wYXRpYmlsaXR5Ljxicj4NCiZndDsmZ3Q7IEknbSBub3Qgc3VyZSB3aGF0
IHlvdXIgY29uY2VybiBpcyBoZXJlLi4uPGJyPg0KJmd0OyA8YnI+DQomZ3Q7IGNvbmNlcm4gMSkg
aXMgdGhlIGZlYXR1cmUgcGFyaXR5IGJldHdlZW4gdGhlIEhUVFAvMSBkcmFmdHMgYW5kIGFueSBv
dGhlciBkb2N1bWVudCB0aGF0IGdldHMgcGlja2VkLiBpZSB3b3JrbG9hZCB0byBnZXQgdGhlIG5l
dyBkb2MgY29tcGxldGVkLjxicj4NCiZndDsgPGJyPg0KJmd0OyBjb25jZXJuIDIpIGlzIHRoZSBw
b2xpdGNhbCBiYXR0bGUgdG8gZ2V0IGRvY3VtZW50IFggdG8gbWVldCB0aGUgV0cgZ29hbHMuPGJy
Pg0KJmd0OyA8YnI+DQomZ3Q7IE11Y2ggbGlrZSB3aGF0IEkgc2FpZCBpbiBteSBleHByZXNzaW9u
IG9mIGludGVyZXN0IHN1bW1hcnkuIFRoZSBIVFRQLzIgZHJhZnRzIG9uIHRoZSB0YWJsZXMgKG93
biBvbmUgaW5jbHVkZWQpIGRvIG5vdCBjb21lIHVwIHRvIHNjcmF0Y2ggZm9yIEhUVFAvMiBzdGFy
dGluZyBwb2ludHMuPGJyPg0KJmd0OyA8YnI+DQomZ3Q7IEkga25vdyBhIGxvdCBvZiBwZW9wbGUg
aGF2ZSBpbnRlcmVzdCBpbiBTUERZLCBidXQgdG8gbWFrZSB0aGF0IHRoZSBIVFRQLzIgYmFzZSBk
b2MgdGhlcmUgYXJlIGEgZmFpciBjaHVuayBvZiB0aGluZ3Mgd2hpY2ggd2lsbCBuZWVkIHBydW5p
bmcgb3V0IC0gaWYgb25seSBiZWNhdXNlIHRoZXkgYXJlIG5ldyBzZW1hbnRpY3MuIEl0IGlzIHBy
b2JhYmx5IG5vdCBhIGdvb2QgaWRlYSBmb3IgdGhlIFdHIHRvIHN0YXJ0IG9mZiBmYWNpbmcgdGhh
dCBwb2xpdGljYWwgYmF0dGxlIHRvIGVuc3VyZSBpdHMgc2VtYW50aWNhbGx5IHNlYW1sZXNzIHRv
IEhUVFAvMS4xLiBUaGUgb3RoZXIgZG9jdW1lbnRzIGFyZSBiYXJlLWJvbmVzIHdpdGggc3BlY2lm
aWMgZm9jdXMgb24gZnJhbWluZyBpbXByb3ZlbWVudCBvdmVyIFdHIGRyYWZ0cyBwYXJ0MS0yLjxi
cj4NCjxicj4NCkFoYS4gSSB3YXMgYXNzdW1pbmcgdGhhdCB3b3VsZCBjb21lIHVwOyBwbGVhc2Ug
ZGlzY3VzcyAoZGV0YWlscyB3b3VsZCBoZWxwKS48YnI+DQo8YnI+DQo8YnI+DQomZ3Q7IEhvd2V2
ZXIgdGFraW5nIHRoZSBIVFRQYmlzIGRyYWZ0IGRvY3VtZW50cyBhbmQgcmVwbGFjaW5nIHNlY3Rp
b25zIG9mIHRoZW0gd2l0aCBTUERZIG1lY2hhbmlzbXMsIGZyYW1lIGRlc2lnbiwgZXRjIGFzIHdl
IGFncmVlIG9uIHBhcnRpY3VsYXJzIC0gdGhhdCBoYXMgYSBjbGVhciBjaGFuY2Ugb2YgZmFzdGVy
IHN1Y2Nlc3MuPGJyPg0KPGJyPg0KVGhhdCdzIGFuIGludGVyZXN0aW5nIGFwcHJvYWNoLiA8YnI+
DQo8YnI+DQpDaGVlcnMsPGJyPg0KPGJyPg0KPGJyPg0KPGJyPg0KLS08YnI+DQpNYXJrIE5vdHRp
bmdoYW0mbmJzcDsmbmJzcDsgPGEgaHJlZj0iaHR0cDovL3d3dy5tbm90Lm5ldC8iIHRhcmdldD0i
X0JMQU5LIj5odHRwOi8vd3d3Lm1ub3QubmV0LzwvYT48YnI+DQo8YnI+DQo8YnI+DQo8YnI+DQo8
YnI+DQo8L2Rpdj48L2ZvbnQ+DQo8L2Rpdj4NCg0KPC9kaXY+PC9ibG9ja3F1b3RlPjwvYm9keT48
L2h0bWw+DQo=

--_000_80f573606d2143be952c87344a010013blur_--


From ietf-http-wg-request@listhub.w3.org  Fri Jul 27 23:55:16 2012
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 64E0621F866C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 23:55:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.444
X-Spam-Level: 
X-Spam-Status: No, score=-10.444 tagged_above=-999 required=5 tests=[AWL=0.155, BAYES_00=-2.599, 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 PO0uPCz4+aIL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 27 Jul 2012 23:55:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DF8BC21F866A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 27 Jul 2012 23:55:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sv0ug-0001uv-MM for ietf-http-wg-dist@listhub.w3.org; Sat, 28 Jul 2012 06:54:10 +0000
Resent-Date: Sat, 28 Jul 2012 06:54:10 +0000
Resent-Message-Id: <E1Sv0ug-0001uv-MM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sv0uU-0001ti-Ri for ietf-http-wg@listhub.w3.org; Sat, 28 Jul 2012 06:53:58 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sv0uT-00037z-KY for ietf-http-wg@w3.org; Sat, 28 Jul 2012 06:53:58 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 74C04E704A for <ietf-http-wg@w3.org>; Sat, 28 Jul 2012 18:53:31 +1200 (NZST)
Message-ID: <50138C62.3020407@treenet.co.nz>
Date: Sat, 28 Jul 2012 18:53:22 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur> <80f57360-6d21-43be-952c-87344a010013@blur>
In-Reply-To: <80f57360-6d21-43be-952c-87344a010013@blur>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sv0uT-00037z-KY 7ebcd970d2f0161674a13c64fcee2ba0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/50138C62.3020407@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14794
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 28/07/2012 6:39 p.m., Larry Masinter wrote:
> re changes to semantics: consider the possibility of eliminating 
> "sniffing" in HTTP/2.0. If sniffing is justified for compatibility 
> with deployed servers, could we eliminate sniffing for 2.0 sites?
>
> It would improve reliability, security, and even performance. Yes, 
> popular browsers would have to agree not to sniff sites running 2.0, 
> so that sites wanting 2:0 benefits will fix their configuration.
>
> Likely there are many other warts that can be removed if there is a 
> version upgrade.

Which of the several meanings of "sniffing" are you talking about exactly?

AYJ



From ietf-http-wg-request@listhub.w3.org  Sat Jul 28 08:04:01 2012
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 EBECE21F862A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 28 Jul 2012 08:04:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 sH++bcXcd4I6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 28 Jul 2012 08:04:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1A46521F8629 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 28 Jul 2012 08:04:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sv8Wb-0006Uq-HM for ietf-http-wg-dist@listhub.w3.org; Sat, 28 Jul 2012 15:01:49 +0000
Resent-Date: Sat, 28 Jul 2012 15:01:49 +0000
Resent-Message-Id: <E1Sv8Wb-0006Uq-HM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Sv8WO-0006U1-VH for ietf-http-wg@listhub.w3.org; Sat, 28 Jul 2012 15:01:36 +0000
Received: from exprod6og112.obsmtp.com ([64.18.1.29]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Sv8WN-0002jS-Gq for ietf-http-wg@w3.org; Sat, 28 Jul 2012 15:01:36 +0000
Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob112.postini.com ([64.18.5.12]) with SMTP ID DSNKUBP+uA99FHgbg5ryecw5pNLRAUWdAdUl@postini.com; Sat, 28 Jul 2012 08:01:35 PDT
Received: from inner-relay-1.corp.adobe.com (inner-relay-1.sea.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6SF1A8N006866 for <ietf-http-wg@w3.org>; Sat, 28 Jul 2012 08:01:11 -0700 (PDT)
Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6SF1Avm009016 for <ietf-http-wg@w3.org>; Sat, 28 Jul 2012 08:01:10 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Sat, 28 Jul 2012 08:01:10 -0700
From: Larry Masinter <masinter@adobe.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sat, 28 Jul 2012 08:01:08 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1sjftHU18PMyJWT3K6uno+Qs/mgwAQkf8w
Message-ID: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com>
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur> <80f57360-6d21-43be-952c-87344a010013@blur> <50138C62.3020407@treenet.co.nz>
In-Reply-To: <50138C62.3020407@treenet.co.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.29; envelope-from=masinter@adobe.com; helo=exprod6og112.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sv8WN-0002jS-Gq 48a6331c849fd69f00945c5bbc78a047
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14795
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>

VGhlIHNuaWZmaW5nIEkgd2FzIGluIHBhcnRpY3VsYXIgaG9waW5nIHRvIHN0b3AgaXMgY29udGVu
dC10eXBlIHNuaWZmaW5nLg0KaHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi13
ZWJzZWMtbWltZS1zbmlmZi0wMw0KDQoiIE1hbnkgd2ViIHNlcnZlcnMgc3VwcGx5IGluY29ycmVj
dCBDb250ZW50LVR5cGUgaGVhZGVyIGZpZWxkcyB3aXRoDQogICB0aGVpciBIVFRQIHJlc3BvbnNl
cy4gIEluIG9yZGVyIHRvIGJlIGNvbXBhdGlibGUgd2l0aCB0aGVzZSBzZXJ2ZXJzLA0KICAgdXNl
ciBhZ2VudHMgY29uc2lkZXIgdGhlIGNvbnRlbnQgb2YgSFRUUCByZXNwb25zZXMgYXMgd2VsbCBh
cyB0aGUNCiAgIENvbnRlbnQtVHlwZSBoZWFkZXIgZmllbGRzIHdoZW4gZGV0ZXJtaW5pbmcgdGhl
IGVmZmVjdGl2ZSBtZWRpYSB0eXBlDQogICBvZiB0aGUgcmVzcG9uc2UuIg0KDQpJZiBicm93c2Vy
cyBzdWRkZW5seSBzdG9wcGVkIHNuaWZmaW5nIEhUVFAvMS4xIGNvbnRlbnQsIGl0IHdvdWxkIGJy
ZWFrIGV4aXN0aW5nIHdlYiBzaXRlcywgc28gb2YgY291cnNlIHRoZSBicm93c2VyIG1ha2VycyBh
cmUgcmVsdWN0YW50IHRvIGRvIHRoYXQuDQoNCkhvd2V2ZXIsIGlmIGl0IHdhcyBhIHJlcXVpcmVt
ZW50IHRvIHN1cHBseSBhIF9jb3JyZWN0XyBjb250ZW50LXR5cGUgaGVhZGVyIGZvciBIVFRQLzIu
MCwgYW5kIG5vIEhUVFAvMi4wIGNsaWVudCBzbmlmZmVkLCB0aGVuIHNpdGVzIHVwZ3JhZGluZyB0
byBIVFRQLzIuMCB3b3VsZCBmaXggdGhlaXIgY29udGVudC10eXBlIHNlbmRpbmcgKGJlY2F1c2Ug
d2hlbiB0aGV5IHdlcmUgZGVwbG95aW5nIEhUVFAvMi4wIHRoZXkgd291bGQgaGF2ZSB0byBpbiBv
cmRlciB0byBnZXQgYW55IGJyb3dzZXIgdG8gd29yayB3aXRoIHRoZW0uKQ0KDQpCYXNpY2FsbHks
IHNuaWZmaW5nIGlzIGEgd2FydCB3aGljaCBiYWNrd2FyZCBjb21wYXRpYmlsaXR5IGtlZXBzIGlu
IHBsYWNlLiBJbnRyb2R1Y2luZyBhIG5ldyB2ZXJzaW9uIGlzIGEgdW5pcXVlIG9wcG9ydHVuaXR5
IHRvIHJlbW92ZSBpdC4gDQoNClRoZSBpbXByb3ZlZCBwZXJmb3JtYW5jZSB3b3VsZCBjb21lIGZy
b20gaGF2aW5nIHRvIGxvb2sgYXQgdGhlIGNvbnRlbnQgdG8gZGV0ZXJtaW5lIGJlZm9yZSByb3V0
aW5nIHRvIHRoZSBhcHByb3ByaWF0ZSBwcm9jZXNzb3IuDQoNCkxhcnJ5DQoNCg0KLS0tLS1Pcmln
aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEFtb3MgSmVmZnJpZXMgW21haWx0bzpzcXVpZDNAdHJl
ZW5ldC5jby5uel0gDQpTZW50OiBGcmlkYXksIEp1bHkgMjcsIDIwMTIgMTE6NTMgUE0NClRvOiBp
ZXRmLWh0dHAtd2dAdzMub3JnDQpTdWJqZWN0OiBSZTogU3RyYXctbWFuIGZvciBvdXIgbmV4dCBj
aGFydGVyDQoNCk9uIDI4LzA3LzIwMTIgNjozOSBwLm0uLCBMYXJyeSBNYXNpbnRlciB3cm90ZToN
Cj4gcmUgY2hhbmdlcyB0byBzZW1hbnRpY3M6IGNvbnNpZGVyIHRoZSBwb3NzaWJpbGl0eSBvZiBl
bGltaW5hdGluZyANCj4gInNuaWZmaW5nIiBpbiBIVFRQLzIuMC4gSWYgc25pZmZpbmcgaXMganVz
dGlmaWVkIGZvciBjb21wYXRpYmlsaXR5IA0KPiB3aXRoIGRlcGxveWVkIHNlcnZlcnMsIGNvdWxk
IHdlIGVsaW1pbmF0ZSBzbmlmZmluZyBmb3IgMi4wIHNpdGVzPw0KPg0KPiBJdCB3b3VsZCBpbXBy
b3ZlIHJlbGlhYmlsaXR5LCBzZWN1cml0eSwgYW5kIGV2ZW4gcGVyZm9ybWFuY2UuIFllcywgDQo+
IHBvcHVsYXIgYnJvd3NlcnMgd291bGQgaGF2ZSB0byBhZ3JlZSBub3QgdG8gc25pZmYgc2l0ZXMg
cnVubmluZyAyLjAsIA0KPiBzbyB0aGF0IHNpdGVzIHdhbnRpbmcgMjowIGJlbmVmaXRzIHdpbGwg
Zml4IHRoZWlyIGNvbmZpZ3VyYXRpb24uDQo+DQo+IExpa2VseSB0aGVyZSBhcmUgbWFueSBvdGhl
ciB3YXJ0cyB0aGF0IGNhbiBiZSByZW1vdmVkIGlmIHRoZXJlIGlzIGEgDQo+IHZlcnNpb24gdXBn
cmFkZS4NCg0KV2hpY2ggb2YgdGhlIHNldmVyYWwgbWVhbmluZ3Mgb2YgInNuaWZmaW5nIiBhcmUg
eW91IHRhbGtpbmcgYWJvdXQgZXhhY3RseT8NCg0KQVlKDQoNCg0K


From ietf-http-wg-request@listhub.w3.org  Sat Jul 28 17:56:26 2012
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 1CC4E21F8669 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 28 Jul 2012 17:56:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.051
X-Spam-Level: 
X-Spam-Status: No, score=-8.051 tagged_above=-999 required=5 tests=[AWL=-1.926, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, 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 d8QKBa17djIP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 28 Jul 2012 17:56:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 394F321F8602 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 28 Jul 2012 17:56:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvHm6-00034Y-Cf for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 00:54:26 +0000
Resent-Date: Sun, 29 Jul 2012 00:54:26 +0000
Resent-Message-Id: <E1SvHm6-00034Y-Cf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1SvHlq-00033j-Gl for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 00:54:10 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1SvHlp-0000ln-19 for ietf-http-wg@w3.org; Sun, 29 Jul 2012 00:54:10 +0000
Received: by yhl10 with SMTP id 10so4124633yhl.2 for <ietf-http-wg@w3.org>; Sat, 28 Jul 2012 17:53:42 -0700 (PDT)
Received: by 10.236.197.42 with SMTP id s30mr6396664yhn.64.1343523222715; Sat, 28 Jul 2012 17:53:42 -0700 (PDT)
Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by mx.google.com with ESMTPS id s1sm5748547anl.8.2012.07.28.17.53.40 (version=SSLv3 cipher=OTHER); Sat, 28 Jul 2012 17:53:40 -0700 (PDT)
Received: by obqv19 with SMTP id v19so6846309obq.2 for <ietf-http-wg@w3.org>; Sat, 28 Jul 2012 17:53:39 -0700 (PDT)
Received: by 10.182.232.101 with SMTP id tn5mr10594285obc.49.1343523219474; Sat, 28 Jul 2012 17:53:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.226.5 with HTTP; Sat, 28 Jul 2012 17:53:05 -0700 (PDT)
In-Reply-To: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com>
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur> <80f57360-6d21-43be-952c-87344a010013@blur> <50138C62.3020407@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com>
From: Adam Barth <w3c@adambarth.com>
Date: Sat, 28 Jul 2012 17:53:05 -0700
Message-ID: <CAJE5ia_dy17wEAYCzCVViT8MrUMRis8o6iEB3QJSrDX0jxpFAg@mail.gmail.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d044517433e874804c5ed60d1
Received-SPF: none client-ip=209.85.213.43; envelope-from=w3c@adambarth.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SvHlp-0000ln-19 18c2ae9efd5a935fb341877fa1ed0945
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAJE5ia_dy17wEAYCzCVViT8MrUMRis8o6iEB3QJSrDX0jxpFAg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14796
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>

--f46d044517433e874804c5ed60d1
Content-Type: text/plain; charset=ISO-8859-1

>From the charter:

---8<---
Changes to the existing semantics of HTTP are out of scope in order to
preserve the meaning of messages that might cross a 1.1 --> 2.0 --> 1.1
request chain.
--->8---

http://datatracker.ietf.org/wg/httpbis/charter/

Changing how user agents interpret the Content-Type header would change the
semantics of HTTP and are therefore out of scope for HTTP/2.0 according to
our current charter.

Adam


On Sat, Jul 28, 2012 at 8:01 AM, Larry Masinter <masinter@adobe.com> wrote:

> The sniffing I was in particular hoping to stop is content-type sniffing.
> http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03
>
> " Many web servers supply incorrect Content-Type header fields with
>    their HTTP responses.  In order to be compatible with these servers,
>    user agents consider the content of HTTP responses as well as the
>    Content-Type header fields when determining the effective media type
>    of the response."
>
> If browsers suddenly stopped sniffing HTTP/1.1 content, it would break
> existing web sites, so of course the browser makers are reluctant to do
> that.
>
> However, if it was a requirement to supply a _correct_ content-type header
> for HTTP/2.0, and no HTTP/2.0 client sniffed, then sites upgrading to
> HTTP/2.0 would fix their content-type sending (because when they were
> deploying HTTP/2.0 they would have to in order to get any browser to work
> with them.)
>
> Basically, sniffing is a wart which backward compatibility keeps in place.
> Introducing a new version is a unique opportunity to remove it.
>
> The improved performance would come from having to look at the content to
> determine before routing to the appropriate processor.
>
> Larry
>
>
> -----Original Message-----
> From: Amos Jeffries [mailto:squid3@treenet.co.nz]
> Sent: Friday, July 27, 2012 11:53 PM
> To: ietf-http-wg@w3.org
> Subject: Re: Straw-man for our next charter
>
> On 28/07/2012 6:39 p.m., Larry Masinter wrote:
> > re changes to semantics: consider the possibility of eliminating
> > "sniffing" in HTTP/2.0. If sniffing is justified for compatibility
> > with deployed servers, could we eliminate sniffing for 2.0 sites?
> >
> > It would improve reliability, security, and even performance. Yes,
> > popular browsers would have to agree not to sniff sites running 2.0,
> > so that sites wanting 2:0 benefits will fix their configuration.
> >
> > Likely there are many other warts that can be removed if there is a
> > version upgrade.
>
> Which of the several meanings of "sniffing" are you talking about exactly?
>
> AYJ
>
>
>

--f46d044517433e874804c5ed60d1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

>From the charter:<div><br></div><div>---8&lt;---</div><div><span style=3D"f=
ont-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:16px=
">Changes to the existing semantics of HTTP are out of scope in order to=A0=
</span><br style=3D"font-family:arial,helvetica,clean,sans-serif;font-size:=
13px;line-height:16px">

<span style=3D"font-family:arial,helvetica,clean,sans-serif;font-size:13px;=
line-height:16px">preserve the meaning of messages that might cross a 1.1 -=
-&gt; 2.0 --&gt; 1.1=A0</span><br style=3D"font-family:arial,helvetica,clea=
n,sans-serif;font-size:13px;line-height:16px">

<span style=3D"font-family:arial,helvetica,clean,sans-serif;font-size:13px;=
line-height:16px">request chain.</span></div><div><div>---&gt;8---</div></d=
iv><div><br></div><div><font face=3D"arial, helvetica, clean, sans-serif"><=
span style=3D"line-height:16px"><a href=3D"http://datatracker.ietf.org/wg/h=
ttpbis/charter/">http://datatracker.ietf.org/wg/httpbis/charter/</a></span>=
</font></div>

<div><font face=3D"arial, helvetica, clean, sans-serif"><span style=3D"line=
-height:16px"><br></span></font></div><div><font face=3D"arial, helvetica, =
clean, sans-serif"><span style=3D"line-height:16px">Changing how user agent=
s interpret the Content-Type header would change the semantics of HTTP and =
are therefore out of scope for HTTP/2.0 according to our current charter.</=
span></font></div>

<div><font face=3D"arial, helvetica, clean, sans-serif"><span style=3D"line=
-height:16px"><br></span></font></div><div><font face=3D"arial, helvetica, =
clean, sans-serif"><span style=3D"line-height:16px">Adam</span></font></div=
><div>

<font face=3D"arial, helvetica, clean, sans-serif"><span style=3D"line-heig=
ht:16px"><br></span></font><br><div class=3D"gmail_quote">On Sat, Jul 28, 2=
012 at 8:01 AM, Larry Masinter <span dir=3D"ltr">&lt;<a href=3D"mailto:masi=
nter@adobe.com" target=3D"_blank">masinter@adobe.com</a>&gt;</span> wrote:<=
br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">The sniffing I was in particular hoping to s=
top is content-type sniffing.<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03" targ=
et=3D"_blank">http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03</a=
><br>
<br>
&quot; Many web servers supply incorrect Content-Type header fields with<br=
>
=A0 =A0their HTTP responses. =A0In order to be compatible with these server=
s,<br>
=A0 =A0user agents consider the content of HTTP responses as well as the<br=
>
=A0 =A0Content-Type header fields when determining the effective media type=
<br>
=A0 =A0of the response.&quot;<br>
<br>
If browsers suddenly stopped sniffing HTTP/1.1 content, it would break exis=
ting web sites, so of course the browser makers are reluctant to do that.<b=
r>
<br>
However, if it was a requirement to supply a _correct_ content-type header =
for HTTP/2.0, and no HTTP/2.0 client sniffed, then sites upgrading to HTTP/=
2.0 would fix their content-type sending (because when they were deploying =
HTTP/2.0 they would have to in order to get any browser to work with them.)=
<br>


<br>
Basically, sniffing is a wart which backward compatibility keeps in place. =
Introducing a new version is a unique opportunity to remove it.<br>
<br>
The improved performance would come from having to look at the content to d=
etermine before routing to the appropriate processor.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Larry<br>
</font></span><div class=3D"im HOEnZb"><br>
<br>
-----Original Message-----<br>
From: Amos Jeffries [mailto:<a href=3D"mailto:squid3@treenet.co.nz">squid3@=
treenet.co.nz</a>]<br>
</div><div class=3D"im HOEnZb">Sent: Friday, July 27, 2012 11:53 PM<br>
To: <a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
Subject: Re: Straw-man for our next charter<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">On 28/07/2012 6:39 p.m., Larr=
y Masinter wrote:<br>
&gt; re changes to semantics: consider the possibility of eliminating<br>
&gt; &quot;sniffing&quot; in HTTP/2.0. If sniffing is justified for compati=
bility<br>
&gt; with deployed servers, could we eliminate sniffing for 2.0 sites?<br>
&gt;<br>
&gt; It would improve reliability, security, and even performance. Yes,<br>
&gt; popular browsers would have to agree not to sniff sites running 2.0,<b=
r>
&gt; so that sites wanting 2:0 benefits will fix their configuration.<br>
&gt;<br>
&gt; Likely there are many other warts that can be removed if there is a<br=
>
&gt; version upgrade.<br>
<br>
Which of the several meanings of &quot;sniffing&quot; are you talking about=
 exactly?<br>
<br>
AYJ<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--f46d044517433e874804c5ed60d1--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 00:16:32 2012
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 2721811E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 00:16:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.645
X-Spam-Level: 
X-Spam-Status: No, score=-9.645 tagged_above=-999 required=5 tests=[AWL=0.332, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 MEMUF1TxqjgX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 00:16:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 43E1211E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 00:16:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvNi0-00078M-3F for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 07:14:36 +0000
Resent-Date: Sun, 29 Jul 2012 07:14:36 +0000
Resent-Message-Id: <E1SvNi0-00078M-3F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SvNhk-00077G-7N for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 07:14:20 +0000
Received: from na3sys010aog113.obsmtp.com ([74.125.245.94]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SvNhd-00087a-Jz for ietf-http-wg@w3.org; Sun, 29 Jul 2012 07:14:18 +0000
Received: from mail-ob0-f175.google.com ([209.85.214.175]) (using TLSv1) by na3sys010aob113.postini.com ([74.125.244.12]) with SMTP ID DSNKUBTiroBhxRBaH1RZxrw2zaoZBHl1QUg+@postini.com; Sun, 29 Jul 2012 00:14:13 PDT
Received: by obcva7 with SMTP id va7so7273016obc.34 for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 00:13:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=UV8Ndi8KRS42N+pt8asKyJAq9SZrrFy9CtITqqwvLy4=; b=k1Ak0Eun7uB2Hyrp0bc9rWsix/bTB/mNDJ2wDH2I6+Lshgr8j80xaEx0VPea0pjI2D ohMKsRMHc+BC9nNkhUomjZrsf6Iabxbo8tJ4xdr17gvPo9n1JmixToNUWNcl4v6pzw97 WHfDzJJYlB8ykHgiKgRVNgvJ0/eoh5Fl9V2yo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=UV8Ndi8KRS42N+pt8asKyJAq9SZrrFy9CtITqqwvLy4=; b=i6wT2pxlon6k3b4mGyNcuichHQpVwn07d6OdYlPYBpql3u5pA9GXbvqIu2czopkifJ f/2Nlxh0f3jzccAHwOQqRKtupb6bzJcc7CAgNY7yXG067ij0Rs7UlNnk+Qch7/nAby2a 0GyyoySTVvBsGwXczRe1DprRPoJha5apVpkYgNEo29Z7J5gsyRvyoIkUctrHhuyq35U2 iPhcqMi1ii3HVJLIsNBnOnyDoykyc0znZV8w81qJ9+pK29v9ui9yqAs56nVzx49Tzrs/ kS4U9RilzMqu77YCpnrQtiz3/olUgjWETAZIAvi3OJnoTlqH/JXz4QTo14WF9gAlZ299 T6JQ==
Received: by 10.50.89.130 with SMTP id bo2mr5768272igb.19.1343546030175; Sun, 29 Jul 2012 00:13:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.168.104 with HTTP; Sun, 29 Jul 2012 00:13:30 -0700 (PDT)
In-Reply-To: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Sun, 29 Jul 2012 16:13:30 +0900
Message-ID: <CAMeZVwt2r_b_pCJZh-FwRSaf9toZ4+NyiRAa5bRoccT4rmRvPw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmp4iaz2DnOgpX/NzNuo/V6j/xR3uTlzMmUWVdsTgNbCsVLUS549NQ6EdRAgFbu9RjWTA6K
Received-SPF: pass client-ip=74.125.245.94; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog113.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SvNhd-00087a-Jz f7ff1b1a97668359f0dd269c908fa390
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAMeZVwt2r_b_pCJZh-FwRSaf9toZ4+NyiRAa5bRoccT4rmRvPw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14797
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>

Dear Mark,

Regarding http authentication,
do we have some specific materials to prepare for the Tuesday's session?
Just a discussion?

I'm looking forward to seeing all of you in Vancouver.

-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 00:16:33 2012
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 AEFF411E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 00:16:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.449
X-Spam-Level: 
X-Spam-Status: No, score=-9.449 tagged_above=-999 required=5 tests=[AWL=-2.228, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 AHjTLwAqq3oT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 00:16:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2ED911E808E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 00:16:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvNi8-000791-Ty for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 07:14:44 +0000
Resent-Date: Sun, 29 Jul 2012 07:14:44 +0000
Resent-Message-Id: <E1SvNi8-000791-Ty@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ifette@google.com>) id 1SvNhw-00077p-16 for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 07:14:32 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ifette@google.com>) id 1SvNhu-0008D8-53 for ietf-http-wg@w3.org; Sun, 29 Jul 2012 07:14:31 +0000
Received: by obqv19 with SMTP id v19so7233389obq.2 for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 00:14:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-system-of-record; bh=GulKLC54aaZV23FUnDIyF28C/SZ44a6IeG9/HZDehBY=; b=fhNPoi2Oc8GTGRVtR0m1xw2nqmFNbyTZiFAJkO9CT7K5ro4A4UI6IvhkblqmPKLCqG jFBgRg6LWRhxS7v7cMqAFTwmteqp/WI877Rb/sSL4hVib/wOHcEmQlHmsmw0L8+xeiCH HuRlzBPI5uszMT/8C8CfUZ3B/tM79wdhNhbshrDPHQBmNJm8fd41y0CttbTeeDj0Ia/y Bjj772iHyz53WDa+Sfc5aNUCOLR3iWcErI/ec6PB8TrcBS1aqVZVG/pXUVrZXqY8ffpO yNwa4cQPsicQgvU/3wG4dbtBBP7Qevzv6DX4CnjKQK0G7YOfkj8dZAhiQ8vsK8cL4bk0 lMLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-system-of-record:x-gm-message-state; bh=GulKLC54aaZV23FUnDIyF28C/SZ44a6IeG9/HZDehBY=; b=as/Z6cnyQNqW8Utt5ZjmVrV2a5vXrPtyl0CiWp6oGpJ80jaeD1wtYe/bi5Rs/WUJ8N 7ANqbZUOwSm/yecPrcNMx+UAcqxPgqWgaBKASAGXCgyqkHPCjAZ9lQyjii7QHeX+sEp2 O+ZksK2awOW3FchjXyYcCgjZRYCzwFkeSyXjLPz0h2C9Drw3mQe+Ihw01R5Vo8cSsi6x c9vHEXl5Kg7bUc+xWB/Dph03oaTWgxQiFr7OXX7h16RkTxXs2cKcxOvac0tQY/Zlgak/ mJ2wJTk3C7AO0feXrfw4/WnFE3Wbyh8fPTgExXMWzlJ7+bsk9CfsuaGCJ+1YSkjDuyPz 7prw==
Received: by 10.60.13.201 with SMTP id j9mr11263986oec.51.1343546043602; Sun, 29 Jul 2012 00:14:03 -0700 (PDT)
Received: by 10.60.13.201 with SMTP id j9mr11263969oec.51.1343546043218; Sun, 29 Jul 2012 00:14:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.80.68 with HTTP; Sun, 29 Jul 2012 00:14:02 -0700 (PDT)
Reply-To: ifette@google.com
In-Reply-To: <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com>
From: =?UTF-8?B?SWFuIEZldHRlICjjgqTjgqLjg7Pjg5Xjgqfjg4Pjg4bjgqMp?= <ifette@google.com>
Date: Sun, 29 Jul 2012 00:14:02 -0700
Message-ID: <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f838b37a539d004c5f2b01b
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmMGG7cTwpaZgX5NL+5/N9sasH7eLMxCPjhvfaHzrJJf/EM0vA7RCZNVlDTp0/pgn57e6Eg+cLNlv8+ZszEmpYT+C7ChzqCg2+Nc4vHa473cGBpFCCXSucTvVVCtcVRyQ4DLMuSn+Y72TBjFM5KefPS7wchaZ6pVGHM6W60XaPFLElyDQLAyb45yGbqCQnVZQ84hfaF
Received-SPF: pass client-ip=209.85.214.171; envelope-from=ifette@google.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SvNhu-0008D8-53 0727adc76e41e3d82305242a736d4614
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14798
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>

--e89a8f838b37a539d004c5f2b01b
Content-Type: text/plain; charset=UTF-8

Without re-hashing what's already been said, I'll point out that the "Not
as SPDY as You Thought" isn't a test of "what performance do we get in a
world of SPDY" but rather "What performance do we get in a world of partial
SPDY deployment." Mike has a nice in-depth writeup at
http://www.belshe.com/2012/06/24/followup-to-not-as-spdy-as-you-thought/

-Ian

On Fri, Jul 27, 2012 at 9:34 PM, Larry Masinter <masinter@adobe.com> wrote:

> I'd suggest the HTTP/2.0 work would be best served by first focusing on
> documenting "substantial and measurable improvement".
> I suggest the charter not be extended to accept proposals and start on
> development of the protocol itself until this is done.
>
> There are conflicting characterizations of SPDY performance results (the
> results aren't in conflict as much as whether you could summarize the
> results as "better").
>     http://www.ietf.org/proceedings/83/slides/slides-83-httpbis-3.pdf said  "Google recently reported that SPDY over SSL is now faster than HTTP
> without SSL" plus "BoostEdge paper confirms Google numbers", which I'd take
> to mean that it's always faster.
>
>    but  http://www.guypo.com/technical/not-as-spdy-as-you-thought/  it
> isn't as SPDY as you (Someone) thought, and noted many circumstances where
> it didn't help.
>
> Unless there's agreement on what "improvement" is, it's hard to even
> discuss features for how well they "improve".
>
>
> What can site administrators depend on, expect from a SPDY upgrade?
>
> I'm still concerned about head-of-line blocking that comes from
> multiplexing and doing flow control at two levels of the protocol stack. It
> seems intrinsically a likely problem, for which the only solution is proper
> management and control of performance of all of the sources of data
> ("scheduling").  I think getting an agreement on why that isn't a problem
> here (or at least, how to minimize the problem) first would help, too.
> With head-of-line blocking, the latency has spikes, and averages won't
> suffice if what you care about is common-worst-case.
>
> Larry
> --
> http://larry.masinter.net
>
>
>
>
>
> -----Original Message-----
> From: Amos Jeffries [mailto:squid3@treenet.co.nz]
> Sent: Wednesday, July 25, 2012 5:03 AM
> To: ietf-http-wg@w3.org
> Subject: Re: Straw-man for our next charter
>
> On 25/07/2012 7:53 p.m., Mark Nottingham wrote:
> > Next week in Vancouver, we'll discuss both the candidate proposals for
> HTTP/2.0 and whether we should re-charter to begin that work, confirming
> consensus on the list afterwards.
> >
> > Assuming we do choose one, we'll also need to discuss the charter
> itself. To facilitate that, I've pasted a straw-man of what such a charter
> might look like below.
> >
> > Please familiarise yourself with it. We can discuss on-list beforehand,
> of course, but please realise that we need to do this step-by-step, so
> don't get too far ahead of the conversation.
> >
> > Note -- this currently JUST covers the protocol discussion, not the
> authentication half; I've omitted it because there are a few different ways
> that work might end up, and it's going to need discussion before we can
> write even straw-man charter text.
> >
> > Cheers,
> >
> > ---8<---
> > This Working Group is charged with maintaining and developing
> > the "core" specifications for HTTP.
> >
> > The Working Group's specification deliverables are:
> > * A document (or set of documents) that is suitable to supersede RFC
> 2616 as
> >    the definition of HTTP/1.1 and move RFC 2817 to Historic status
> > * A document cataloguing the security properties of HTTP/1.1
> > * A document (or set of documents) that specifies HTTP/2.0, an improved
> >    binding of HTTP's semantics to an underlying transport.
> >
> > HTTP/1.1
> > --------
> >
> > HTTP/1.1 is one of the most successful and widely-used protocols on the
> > Internet today. However, its specification has several editorial issues.
> > Additionally, after years of implementation and extension, several
> > ambiguities have become evident, impairing interoperability and the
> ability
> > to easily implement and use HTTP.
> >
> > The working group will refine RFC2616 to:
> > * Incorporate errata and updates (e.g., references, IANA registries,
> >    ABNF)
> > * Fix editorial problems which have led to misunderstandings of the
> >    specification
> > * Clarify conformance requirements
> > * Remove known ambiguities where they affect interoperability
> > * Clarify existing methods of extensibility
> > * Remove or deprecate those features that are not widely implemented and
> >    also unduly affect interoperability
> > * Where necessary, add implementation advice
> > * Document the security properties of HTTP and its associated mechanisms
> >    (e.g., Basic and Digest authentication, cookies, TLS) for common
> >    applications
> >
> > It will also incorporate the generic authentication framework from RFC
> > 2617, without obsoleting or updating that specification's definition of
> > the Basic and Digest schemes.
> >
> > Finally, it will incorporate relevant portions of RFC 2817 (in
> > particular, the CONNECT method and advice on the use of Upgrade), so
> > that that specification can be moved to Historic status.
> >
> > In doing so, it should consider:
> > * Implementer experience
> > * Demonstrated use of HTTP
> > * Impact on existing implementations and deployments
> >
> > HTTP/2.0
> > --------
> >
> > There is emerging implementation experience and interest in a protocol
> that
> > retains the semantics of HTTP without the legacy of HTTP/1.x message
> > framing and syntax, which have been identified as hampering performance
> and
> > encouraging misuse of the underlying transport.
> >
> > The Working Group will produce a specification of a new expression of
> HTTP's
> > current semantics in ordered, bi-directional streams. As with HTTP/1.x,
> > the primary target transport is TCP, but it should be possible to use
> > other transports.
> >
> > Work will begin using XXX as a starting point; all proposals are to be
> expressed
> > in terms of changes to the that document.
>
> I just think I'll throw a spanner in the general direction of the works
> here....
>
> How realistic is it to expect the HTTPbis 1.1 draft documents fill that
> role? At least we can guarantee that modifications to adjust them for
> 2.0 specifics will not loose or add any features unintentionally that
> could affect HTTP/1.1 compatibility.
>
>
> >
> > It is expected that HTTP/2.0 will:
> > * Substantially and measurably improve end-user perceived latency in most
> >    cases, over HTTP/1.1 using TCP.
>
> "measureably ... perceived" does not stack up.
> Surely we can aim for actual measurable efficiency rather than just
> perceived.
>
> Possibly also improvement over *optimized* 1.1 would be a good aim.
>
> > * Not require multiple connections to a server to enable parallelism.
> +1.
>
> > * Require no more configuration or tuning than current HTTP deployments;
> >     preferably, less.
>
> What do you means by this?
>
> > * Retain the semantics of HTTP/1.1, leveraging existing documentation
> (see
> >    above), including (but not limited to) HTTP methods, status codes,
> URIs, and
> >    where appropriate, header fields.
>
> see above regarding "XXX as a starting point".
>
> > * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
> >    intermediaries (both 2->1 and 1->2).
> > * Clearly identify any new extensibility points and policy for their
> >    appropriate use.
>
> +1.
>
> >
> > The resulting specification(s) are expected to be meet these goals for
> common
> > existing deployments of HTTP; in particular, Web browsing (desktop and
> > mobile), Web serving (at a variety of scales), and intermediation (by
> proxies,
> > corporate firewalls, "reverse" proxies and Content Delivery Networks).
> >
> > Note that this does not include uses of HTTP where non-specified
> behaviours
> > are relied upon (e.g., connection state such as timeouts or client
> affinity,
> > and "interception" proxies); these uses may or may not be enabled by the
> final
> > product.
> >
> > Explicitly out-of-scope items include:
> > * Specifying the use of alternate transport protocols. Note that it
> >    is expected that the Working Group will define how the protocol is
> used
> >    with the TLS protocol.
> > * Specifying new semantics for HTTP (whether specific to HTTP/2 or not).
> >    However, the Working Group may request a re-charter to start work on
> such
> >    items (during or after work on HTTP/2.0), provided there is consensus
> to
> >    do so, and it does not interfere with work on the "core" (both
> HTTP/1.x and
> >    HTTP/2.0).
>
> +1. Although I predict that having multiplexing on the table will bring
> up the need for new hop-by-hop features on 2.0 connections. Specifically
> flow control features.
>
> Amos
>
>
>

--e89a8f838b37a539d004c5f2b01b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Without re-hashing what&#39;s already been said, I&#39;ll point out that th=
e &quot;Not as SPDY as You Thought&quot; isn&#39;t a test of &quot;what per=
formance do we get in a world of SPDY&quot; but rather &quot;What performan=
ce do we get in a world of partial SPDY deployment.&quot; Mike has a nice i=
n-depth writeup at=C2=A0<a href=3D"http://www.belshe.com/2012/06/24/followu=
p-to-not-as-spdy-as-you-thought/">http://www.belshe.com/2012/06/24/followup=
-to-not-as-spdy-as-you-thought/</a><div>

<br></div><div>-Ian<br><br><div class=3D"gmail_quote">On Fri, Jul 27, 2012 =
at 9:34 PM, Larry Masinter <span dir=3D"ltr">&lt;<a href=3D"mailto:masinter=
@adobe.com" target=3D"_blank">masinter@adobe.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">

I&#39;d suggest the HTTP/2.0 work would be best served by first focusing on=
 documenting &quot;substantial and measurable improvement&quot;.<br>
I suggest the charter not be extended to accept proposals and start on deve=
lopment of the protocol itself until this is done.<br>
<br>
There are conflicting characterizations of SPDY performance results (the re=
sults aren&#39;t in conflict as much as whether you could summarize the res=
ults as &quot;better&quot;).<br>
=C2=A0 =C2=A0 <a href=3D"http://www.ietf.org/proceedings/83/slides/slides-8=
3-httpbis-3.pdf" target=3D"_blank">http://www.ietf.org/proceedings/83/slide=
s/slides-83-httpbis-3.pdf</a> =C2=A0said =C2=A0&quot;Google recently report=
ed that SPDY over SSL is now faster than HTTP without SSL&quot; plus &quot;=
BoostEdge paper confirms Google numbers&quot;, which I&#39;d take to mean t=
hat it&#39;s always faster.<br>


<br>
=C2=A0 =C2=A0but =C2=A0<a href=3D"http://www.guypo.com/technical/not-as-spd=
y-as-you-thought/" target=3D"_blank">http://www.guypo.com/technical/not-as-=
spdy-as-you-thought/</a> =C2=A0it isn&#39;t as SPDY as you (Someone) though=
t, and noted many circumstances where it didn&#39;t help.<br>


<br>
Unless there&#39;s agreement on what &quot;improvement&quot; is, it&#39;s h=
ard to even discuss features for how well they &quot;improve&quot;.<br>
<br>
<br>
What can site administrators depend on, expect from a SPDY upgrade?<br>
<br>
I&#39;m still concerned about head-of-line blocking that comes from multipl=
exing and doing flow control at two levels of the protocol stack. It seems =
intrinsically a likely problem, for which the only solution is proper manag=
ement and control of performance of all of the sources of data (&quot;sched=
uling&quot;). =C2=A0I think getting an agreement on why that isn&#39;t a pr=
oblem here (or at least, how to minimize the problem) first would help, too=
.<br>


With head-of-line blocking, the latency has spikes, and averages won&#39;t =
suffice if what you care about is common-worst-case.<br>
<br>
Larry<br>
--<br>
<a href=3D"http://larry.masinter.net" target=3D"_blank">http://larry.masint=
er.net</a><br>
<div class=3D"im HOEnZb"><br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Amos Jeffries [mailto:<a href=3D"mailto:squid3@treenet.co.nz">squid3@=
treenet.co.nz</a>]<br>
Sent: Wednesday, July 25, 2012 5:03 AM<br>
To: <a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
Subject: Re: Straw-man for our next charter<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">On 25/07/2012 7:53 p.m., Mark=
 Nottingham wrote:<br>
&gt; Next week in Vancouver, we&#39;ll discuss both the candidate proposals=
 for HTTP/2.0 and whether we should re-charter to begin that work, confirmi=
ng consensus on the list afterwards.<br>
&gt;<br>
&gt; Assuming we do choose one, we&#39;ll also need to discuss the charter =
itself. To facilitate that, I&#39;ve pasted a straw-man of what such a char=
ter might look like below.<br>
&gt;<br>
&gt; Please familiarise yourself with it. We can discuss on-list beforehand=
, of course, but please realise that we need to do this step-by-step, so do=
n&#39;t get too far ahead of the conversation.<br>
&gt;<br>
&gt; Note -- this currently JUST covers the protocol discussion, not the au=
thentication half; I&#39;ve omitted it because there are a few different wa=
ys that work might end up, and it&#39;s going to need discussion before we =
can write even straw-man charter text.<br>


&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; ---8&lt;---<br>
&gt; This Working Group is charged with maintaining and developing<br>
&gt; the &quot;core&quot; specifications for HTTP.<br>
&gt;<br>
&gt; The Working Group&#39;s specification deliverables are:<br>
&gt; * A document (or set of documents) that is suitable to supersede RFC 2=
616 as<br>
&gt; =C2=A0 =C2=A0the definition of HTTP/1.1 and move RFC 2817 to Historic =
status<br>
&gt; * A document cataloguing the security properties of HTTP/1.1<br>
&gt; * A document (or set of documents) that specifies HTTP/2.0, an improve=
d<br>
&gt; =C2=A0 =C2=A0binding of HTTP&#39;s semantics to an underlying transpor=
t.<br>
&gt;<br>
&gt; HTTP/1.1<br>
&gt; --------<br>
&gt;<br>
&gt; HTTP/1.1 is one of the most successful and widely-used protocols on th=
e<br>
&gt; Internet today. However, its specification has several editorial issue=
s.<br>
&gt; Additionally, after years of implementation and extension, several<br>
&gt; ambiguities have become evident, impairing interoperability and the ab=
ility<br>
&gt; to easily implement and use HTTP.<br>
&gt;<br>
&gt; The working group will refine RFC2616 to:<br>
&gt; * Incorporate errata and updates (e.g., references, IANA registries,<b=
r>
&gt; =C2=A0 =C2=A0ABNF)<br>
&gt; * Fix editorial problems which have led to misunderstandings of the<br=
>
&gt; =C2=A0 =C2=A0specification<br>
&gt; * Clarify conformance requirements<br>
&gt; * Remove known ambiguities where they affect interoperability<br>
&gt; * Clarify existing methods of extensibility<br>
&gt; * Remove or deprecate those features that are not widely implemented a=
nd<br>
&gt; =C2=A0 =C2=A0also unduly affect interoperability<br>
&gt; * Where necessary, add implementation advice<br>
&gt; * Document the security properties of HTTP and its associated mechanis=
ms<br>
&gt; =C2=A0 =C2=A0(e.g., Basic and Digest authentication, cookies, TLS) for=
 common<br>
&gt; =C2=A0 =C2=A0applications<br>
&gt;<br>
&gt; It will also incorporate the generic authentication framework from RFC=
<br>
&gt; 2617, without obsoleting or updating that specification&#39;s definiti=
on of<br>
&gt; the Basic and Digest schemes.<br>
&gt;<br>
&gt; Finally, it will incorporate relevant portions of RFC 2817 (in<br>
&gt; particular, the CONNECT method and advice on the use of Upgrade), so<b=
r>
&gt; that that specification can be moved to Historic status.<br>
&gt;<br>
&gt; In doing so, it should consider:<br>
&gt; * Implementer experience<br>
&gt; * Demonstrated use of HTTP<br>
&gt; * Impact on existing implementations and deployments<br>
&gt;<br>
&gt; HTTP/2.0<br>
&gt; --------<br>
&gt;<br>
&gt; There is emerging implementation experience and interest in a protocol=
 that<br>
&gt; retains the semantics of HTTP without the legacy of HTTP/1.x message<b=
r>
&gt; framing and syntax, which have been identified as hampering performanc=
e and<br>
&gt; encouraging misuse of the underlying transport.<br>
&gt;<br>
&gt; The Working Group will produce a specification of a new expression of =
HTTP&#39;s<br>
&gt; current semantics in ordered, bi-directional streams. As with HTTP/1.x=
,<br>
&gt; the primary target transport is TCP, but it should be possible to use<=
br>
&gt; other transports.<br>
&gt;<br>
&gt; Work will begin using XXX as a starting point; all proposals are to be=
 expressed<br>
&gt; in terms of changes to the that document.<br>
<br>
I just think I&#39;ll throw a spanner in the general direction of the works=
<br>
here....<br>
<br>
How realistic is it to expect the HTTPbis 1.1 draft documents fill that<br>
role? At least we can guarantee that modifications to adjust them for<br>
2.0 specifics will not loose or add any features unintentionally that<br>
could affect HTTP/1.1 compatibility.<br>
<br>
<br>
&gt;<br>
&gt; It is expected that HTTP/2.0 will:<br>
&gt; * Substantially and measurably improve end-user perceived latency in m=
ost<br>
&gt; =C2=A0 =C2=A0cases, over HTTP/1.1 using TCP.<br>
<br>
&quot;measureably ... perceived&quot; does not stack up.<br>
Surely we can aim for actual measurable efficiency rather than just<br>
perceived.<br>
<br>
Possibly also improvement over *optimized* 1.1 would be a good aim.<br>
<br>
&gt; * Not require multiple connections to a server to enable parallelism.<=
br>
+1.<br>
<br>
&gt; * Require no more configuration or tuning than current HTTP deployment=
s;<br>
&gt; =C2=A0 =C2=A0 preferably, less.<br>
<br>
What do you means by this?<br>
<br>
&gt; * Retain the semantics of HTTP/1.1, leveraging existing documentation =
(see<br>
&gt; =C2=A0 =C2=A0above), including (but not limited to) HTTP methods, stat=
us codes, URIs, and<br>
&gt; =C2=A0 =C2=A0where appropriate, header fields.<br>
<br>
see above regarding &quot;XXX as a starting point&quot;.<br>
<br>
&gt; * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in<b=
r>
&gt; =C2=A0 =C2=A0intermediaries (both 2-&gt;1 and 1-&gt;2).<br>
&gt; * Clearly identify any new extensibility points and policy for their<b=
r>
&gt; =C2=A0 =C2=A0appropriate use.<br>
<br>
+1.<br>
<br>
&gt;<br>
&gt; The resulting specification(s) are expected to be meet these goals for=
 common<br>
&gt; existing deployments of HTTP; in particular, Web browsing (desktop and=
<br>
&gt; mobile), Web serving (at a variety of scales), and intermediation (by =
proxies,<br>
&gt; corporate firewalls, &quot;reverse&quot; proxies and Content Delivery =
Networks).<br>
&gt;<br>
&gt; Note that this does not include uses of HTTP where non-specified behav=
iours<br>
&gt; are relied upon (e.g., connection state such as timeouts or client aff=
inity,<br>
&gt; and &quot;interception&quot; proxies); these uses may or may not be en=
abled by the final<br>
&gt; product.<br>
&gt;<br>
&gt; Explicitly out-of-scope items include:<br>
&gt; * Specifying the use of alternate transport protocols. Note that it<br=
>
&gt; =C2=A0 =C2=A0is expected that the Working Group will define how the pr=
otocol is used<br>
&gt; =C2=A0 =C2=A0with the TLS protocol.<br>
&gt; * Specifying new semantics for HTTP (whether specific to HTTP/2 or not=
).<br>
&gt; =C2=A0 =C2=A0However, the Working Group may request a re-charter to st=
art work on such<br>
&gt; =C2=A0 =C2=A0items (during or after work on HTTP/2.0), provided there =
is consensus to<br>
&gt; =C2=A0 =C2=A0do so, and it does not interfere with work on the &quot;c=
ore&quot; (both HTTP/1.x and<br>
&gt; =C2=A0 =C2=A0HTTP/2.0).<br>
<br>
+1. Although I predict that having multiplexing on the table will bring<br>
up the need for new hop-by-hop features on 2.0 connections. Specifically<br=
>
flow control features.<br>
<br>
Amos<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--e89a8f838b37a539d004c5f2b01b--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 10:47:52 2012
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 1BAD821F858E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 10:47:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.371
X-Spam-Level: 
X-Spam-Status: No, score=-9.371 tagged_above=-999 required=5 tests=[AWL=-1.228, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 HdhphVzAcSjf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 10:47:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31C3E21F857E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 10:47:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvXYc-0005Z1-4R for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 17:45:34 +0000
Resent-Date: Sun, 29 Jul 2012 17:45:34 +0000
Resent-Message-Id: <E1SvXYc-0005Z1-4R@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvXYP-0005YC-00 for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 17:45:21 +0000
Received: from exprod6og101.obsmtp.com ([64.18.1.181]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvXYM-0006CK-GD for ietf-http-wg@w3.org; Sun, 29 Jul 2012 17:45:20 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob101.postini.com ([64.18.5.12]) with SMTP ID DSNKUBV2l9iUr4dkBTUXi84PcScPFWtWs/nJ@postini.com; Sun, 29 Jul 2012 10:45:18 PDT
Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6THgSk0022760; Sun, 29 Jul 2012 10:42:28 -0700 (PDT)
Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6THisvm019680; Sun, 29 Jul 2012 10:44:54 -0700 (PDT)
Received: from SJ1SWM219.corp.adobe.com (10.5.77.61) by nacas03.corp.adobe.com (10.8.189.121) with Microsoft SMTP Server (TLS) id 8.3.264.0; Sun, 29 Jul 2012 10:44:54 -0700
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by SJ1SWM219.corp.adobe.com ([fe80::d55c:7209:7a34:fcf7%12]) with mapi; Sun, 29 Jul 2012 10:44:54 -0700
From: Larry Masinter <masinter@adobe.com>
To: "ifette@google.com" <ifette@google.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 29 Jul 2012 10:45:07 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1tsdwHtfnp6kxnRyiePcj+GfoAXw==
Message-ID: <d85655d0-c544-485f-8b84-c3888e83d13a@blur>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com> <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com>
In-Reply-To: <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_d85655d0c544485f8b84c3888e83d13ablur_"
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.181; envelope-from=masinter@adobe.com; helo=exprod6og101.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SvXYM-0006CK-GD 8f006bb13c65b651b44782b0da866003
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/d85655d0-c544-485f-8b84-c3888e83d13a@blur>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14799
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>

--_000_d85655d0c544485f8b84c3888e83d13ablur_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

WW91ciBwb3N0IGlzIGNvbnNpc3RlbnQgd2l0aCB0aGUgYXNzZXJ0aW9uIHRoYXQgdGhlcmUgaXNu
J3QgYWdyZWVtZW50IHlldCBhYm91dCB3aGF0ICJmYXN0ZXIgdGhhbiBIVFRQLzEuMSIgbWVhbnMs
IG9yIGhvdyB0byBjb21wYXJlIHByb3Bvc2FscyBmb3IgaW1wcm92ZW1lbnQuIEFuZCBuZWl0aGVy
IG1lYXN1cmVkIHdvcnN0IGNhc2UgbGF0ZW5jeSBvciByZWFsIG5ldHdvcmsgdHJhZmZpYyB3aXRo
IGJ1ZmZlciBibG9hdCwgb3Igc2l0dWF0aW9ucyB0aGF0IHdvdWxkIGRldGVjdCB0aGUgaW1wYWN0
IG9mIEhPTCBibG9ja2luZy4NCg0KRmVhdHVyZXMgbGlrZSBzbmlmZmluZyB3aGVyZSB0aGUgcmVj
ZWl2ZXIgbmVlZHMgdG8gbG9vayBhdCBpbml0aWFsIHNlZ21lbnRzIG9mIHRyYWZmaWMgYmVmb3Jl
IGRpc3BhdGNoaW5nIGV4YWNlcmJhdGUgdGhlIGltcGFjdCBvZiB1bmV2ZW4gbGF0ZW5jeSBieSBp
bXBvc2luZyBhbiBvdGhlcndpc2UgdW5uZWNlc3Nhcnkgc2VyaWFsaXphdGlvbiBjb25zdHJhaW50
Lg0KDQpkZXBsb3ltZW50IGlzc3VlcyBhcmUgaW4gc2NvcGUuLi4gdGhleSBhcmUgd2hhdCBkcml2
ZSB0aGUgcHVzaCBmb3IgU1NMIGluIHRoZSBmaXJzdCBwbGFjZS4NCg0KQW5kIGlmIHNpdGVzIHdv
bnQgc2VlIGltcHJvdmVtZW50ICAob3IgZXZlbiBhIHBlcmZvcm1hbmNlIGhpdCkgaW4gYSB3b3Js
ZCBvZiBwYXJ0aWFsIGRlcGxveW1lbnQgb2YgSFRUUCAyLjAsIHdobyAodGhhdCBpc24ndCBhbHJl
YWR5IHVzaW5nIFNQRFkgYXMgaXMpIHdvdWxkIGRlcGxveSBpdD8NCg0KLS0tLS1PcmlnaW5hbCBt
ZXNzYWdlLS0tLS0NCkZyb206ICJpZmV0dGVAZ29vZ2xlLmNvbSIgPGlmZXR0ZUBnb29nbGUuY29t
Pg0KVG86IExhcnJ5IE1hc2ludGVyIDxtYXNpbnRlckBhZG9iZS5jb20+DQpDYzogImlldGYtaHR0
cC13Z0B3My5vcmciIDxpZXRmLWh0dHAtd2dAdzMub3JnPg0KU2VudDogU3VuLCBKdWwgMjksIDIw
MTIgMDc6MTQ6MDIgR01UKzAwOjAwDQpTdWJqZWN0OiBSZTogU3RyYXctbWFuIGZvciBvdXIgbmV4
dCBjaGFydGVyDQoNCldpdGhvdXQgcmUtaGFzaGluZyB3aGF0J3MgYWxyZWFkeSBiZWVuIHNhaWQs
IEknbGwgcG9pbnQgb3V0IHRoYXQgdGhlICJOb3QgYXMgU1BEWSBhcyBZb3UgVGhvdWdodCIgaXNu
J3QgYSB0ZXN0IG9mICJ3aGF0IHBlcmZvcm1hbmNlIGRvIHdlIGdldCBpbiBhIHdvcmxkIG9mIFNQ
RFkiIGJ1dCByYXRoZXIgIldoYXQgcGVyZm9ybWFuY2UgZG8gd2UgZ2V0IGluIGEgd29ybGQgb2Yg
cGFydGlhbCBTUERZIGRlcGxveW1lbnQuIiBNaWtlIGhhcyBhIG5pY2UgaW4tZGVwdGggd3JpdGV1
cCBhdCBodHRwOi8vd3d3LmJlbHNoZS5jb20vMjAxMi8wNi8yNC9mb2xsb3d1cC10by1ub3QtYXMt
c3BkeS1hcy15b3UtdGhvdWdodC8NCg0KLUlhbg0KDQpPbiBGcmksIEp1bCAyNywgMjAxMiBhdCA5
OjM0IFBNLCBMYXJyeSBNYXNpbnRlciA8bWFzaW50ZXJAYWRvYmUuY29tPG1haWx0bzptYXNpbnRl
ckBhZG9iZS5jb20+PiB3cm90ZToNCkknZCBzdWdnZXN0IHRoZSBIVFRQLzIuMCB3b3JrIHdvdWxk
IGJlIGJlc3Qgc2VydmVkIGJ5IGZpcnN0IGZvY3VzaW5nIG9uIGRvY3VtZW50aW5nICJzdWJzdGFu
dGlhbCBhbmQgbWVhc3VyYWJsZSBpbXByb3ZlbWVudCIuDQpJIHN1Z2dlc3QgdGhlIGNoYXJ0ZXIg
bm90IGJlIGV4dGVuZGVkIHRvIGFjY2VwdCBwcm9wb3NhbHMgYW5kIHN0YXJ0IG9uIGRldmVsb3Bt
ZW50IG9mIHRoZSBwcm90b2NvbCBpdHNlbGYgdW50aWwgdGhpcyBpcyBkb25lLg0KDQpUaGVyZSBh
cmUgY29uZmxpY3RpbmcgY2hhcmFjdGVyaXphdGlvbnMgb2YgU1BEWSBwZXJmb3JtYW5jZSByZXN1
bHRzICh0aGUgcmVzdWx0cyBhcmVuJ3QgaW4gY29uZmxpY3QgYXMgbXVjaCBhcyB3aGV0aGVyIHlv
dSBjb3VsZCBzdW1tYXJpemUgdGhlIHJlc3VsdHMgYXMgImJldHRlciIpLg0KICAgIGh0dHA6Ly93
d3cuaWV0Zi5vcmcvcHJvY2VlZGluZ3MvODMvc2xpZGVzL3NsaWRlcy04My1odHRwYmlzLTMucGRm
ICBzYWlkICAiR29vZ2xlIHJlY2VudGx5IHJlcG9ydGVkIHRoYXQgU1BEWSBvdmVyIFNTTCBpcyBu
b3cgZmFzdGVyIHRoYW4gSFRUUCB3aXRob3V0IFNTTCIgcGx1cyAiQm9vc3RFZGdlIHBhcGVyIGNv
bmZpcm1zIEdvb2dsZSBudW1iZXJzIiwgd2hpY2ggSSdkIHRha2UgdG8gbWVhbiB0aGF0IGl0J3Mg
YWx3YXlzIGZhc3Rlci4NCg0KICAgYnV0ICBodHRwOi8vd3d3Lmd1eXBvLmNvbS90ZWNobmljYWwv
bm90LWFzLXNwZHktYXMteW91LXRob3VnaHQvICBpdCBpc24ndCBhcyBTUERZIGFzIHlvdSAoU29t
ZW9uZSkgdGhvdWdodCwgYW5kIG5vdGVkIG1hbnkgY2lyY3Vtc3RhbmNlcyB3aGVyZSBpdCBkaWRu
J3QgaGVscC4NCg0KVW5sZXNzIHRoZXJlJ3MgYWdyZWVtZW50IG9uIHdoYXQgImltcHJvdmVtZW50
IiBpcywgaXQncyBoYXJkIHRvIGV2ZW4gZGlzY3VzcyBmZWF0dXJlcyBmb3IgaG93IHdlbGwgdGhl
eSAiaW1wcm92ZSIuDQoNCg0KV2hhdCBjYW4gc2l0ZSBhZG1pbmlzdHJhdG9ycyBkZXBlbmQgb24s
IGV4cGVjdCBmcm9tIGEgU1BEWSB1cGdyYWRlPw0KDQpJJ20gc3RpbGwgY29uY2VybmVkIGFib3V0
IGhlYWQtb2YtbGluZSBibG9ja2luZyB0aGF0IGNvbWVzIGZyb20gbXVsdGlwbGV4aW5nIGFuZCBk
b2luZyBmbG93IGNvbnRyb2wgYXQgdHdvIGxldmVscyBvZiB0aGUgcHJvdG9jb2wgc3RhY2suIEl0
IHNlZW1zIGludHJpbnNpY2FsbHkgYSBsaWtlbHkgcHJvYmxlbSwgZm9yIHdoaWNoIHRoZSBvbmx5
IHNvbHV0aW9uIGlzIHByb3BlciBtYW5hZ2VtZW50IGFuZCBjb250cm9sIG9mIHBlcmZvcm1hbmNl
IG9mIGFsbCBvZiB0aGUgc291cmNlcyBvZiBkYXRhICgic2NoZWR1bGluZyIpLiAgSSB0aGluayBn
ZXR0aW5nIGFuIGFncmVlbWVudCBvbiB3aHkgdGhhdCBpc24ndCBhIHByb2JsZW0gaGVyZSAob3Ig
YXQgbGVhc3QsIGhvdyB0byBtaW5pbWl6ZSB0aGUgcHJvYmxlbSkgZmlyc3Qgd291bGQgaGVscCwg
dG9vLg0KV2l0aCBoZWFkLW9mLWxpbmUgYmxvY2tpbmcsIHRoZSBsYXRlbmN5IGhhcyBzcGlrZXMs
IGFuZCBhdmVyYWdlcyB3b24ndCBzdWZmaWNlIGlmIHdoYXQgeW91IGNhcmUgYWJvdXQgaXMgY29t
bW9uLXdvcnN0LWNhc2UuDQoNCkxhcnJ5DQotLQ0KaHR0cDovL2xhcnJ5Lm1hc2ludGVyLm5ldA0K
DQoNCg0KDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBBbW9zIEplZmZyaWVz
IFttYWlsdG86c3F1aWQzQHRyZWVuZXQuY28ubno8bWFpbHRvOnNxdWlkM0B0cmVlbmV0LmNvLm56
Pl0NClNlbnQ6IFdlZG5lc2RheSwgSnVseSAyNSwgMjAxMiA1OjAzIEFNDQpUbzogaWV0Zi1odHRw
LXdnQHczLm9yZzxtYWlsdG86aWV0Zi1odHRwLXdnQHczLm9yZz4NClN1YmplY3Q6IFJlOiBTdHJh
dy1tYW4gZm9yIG91ciBuZXh0IGNoYXJ0ZXINCg0KT24gMjUvMDcvMjAxMiA3OjUzIHAubS4sIE1h
cmsgTm90dGluZ2hhbSB3cm90ZToNCj4gTmV4dCB3ZWVrIGluIFZhbmNvdXZlciwgd2UnbGwgZGlz
Y3VzcyBib3RoIHRoZSBjYW5kaWRhdGUgcHJvcG9zYWxzIGZvciBIVFRQLzIuMCBhbmQgd2hldGhl
ciB3ZSBzaG91bGQgcmUtY2hhcnRlciB0byBiZWdpbiB0aGF0IHdvcmssIGNvbmZpcm1pbmcgY29u
c2Vuc3VzIG9uIHRoZSBsaXN0IGFmdGVyd2FyZHMuDQo+DQo+IEFzc3VtaW5nIHdlIGRvIGNob29z
ZSBvbmUsIHdlJ2xsIGFsc28gbmVlZCB0byBkaXNjdXNzIHRoZSBjaGFydGVyIGl0c2VsZi4gVG8g
ZmFjaWxpdGF0ZSB0aGF0LCBJJ3ZlIHBhc3RlZCBhIHN0cmF3LW1hbiBvZiB3aGF0IHN1Y2ggYSBj
aGFydGVyIG1pZ2h0IGxvb2sgbGlrZSBiZWxvdy4NCj4NCj4gUGxlYXNlIGZhbWlsaWFyaXNlIHlv
dXJzZWxmIHdpdGggaXQuIFdlIGNhbiBkaXNjdXNzIG9uLWxpc3QgYmVmb3JlaGFuZCwgb2YgY291
cnNlLCBidXQgcGxlYXNlIHJlYWxpc2UgdGhhdCB3ZSBuZWVkIHRvIGRvIHRoaXMgc3RlcC1ieS1z
dGVwLCBzbyBkb24ndCBnZXQgdG9vIGZhciBhaGVhZCBvZiB0aGUgY29udmVyc2F0aW9uLg0KPg0K
PiBOb3RlIC0tIHRoaXMgY3VycmVudGx5IEpVU1QgY292ZXJzIHRoZSBwcm90b2NvbCBkaXNjdXNz
aW9uLCBub3QgdGhlIGF1dGhlbnRpY2F0aW9uIGhhbGY7IEkndmUgb21pdHRlZCBpdCBiZWNhdXNl
IHRoZXJlIGFyZSBhIGZldyBkaWZmZXJlbnQgd2F5cyB0aGF0IHdvcmsgbWlnaHQgZW5kIHVwLCBh
bmQgaXQncyBnb2luZyB0byBuZWVkIGRpc2N1c3Npb24gYmVmb3JlIHdlIGNhbiB3cml0ZSBldmVu
IHN0cmF3LW1hbiBjaGFydGVyIHRleHQuDQo+DQo+IENoZWVycywNCj4NCj4gLS0tODwtLS0NCj4g
VGhpcyBXb3JraW5nIEdyb3VwIGlzIGNoYXJnZWQgd2l0aCBtYWludGFpbmluZyBhbmQgZGV2ZWxv
cGluZw0KPiB0aGUgImNvcmUiIHNwZWNpZmljYXRpb25zIGZvciBIVFRQLg0KPg0KPiBUaGUgV29y
a2luZyBHcm91cCdzIHNwZWNpZmljYXRpb24gZGVsaXZlcmFibGVzIGFyZToNCj4gKiBBIGRvY3Vt
ZW50IChvciBzZXQgb2YgZG9jdW1lbnRzKSB0aGF0IGlzIHN1aXRhYmxlIHRvIHN1cGVyc2VkZSBS
RkMgMjYxNiBhcw0KPiAgICB0aGUgZGVmaW5pdGlvbiBvZiBIVFRQLzEuMSBhbmQgbW92ZSBSRkMg
MjgxNyB0byBIaXN0b3JpYyBzdGF0dXMNCj4gKiBBIGRvY3VtZW50IGNhdGFsb2d1aW5nIHRoZSBz
ZWN1cml0eSBwcm9wZXJ0aWVzIG9mIEhUVFAvMS4xDQo+ICogQSBkb2N1bWVudCAob3Igc2V0IG9m
IGRvY3VtZW50cykgdGhhdCBzcGVjaWZpZXMgSFRUUC8yLjAsIGFuIGltcHJvdmVkDQo+ICAgIGJp
bmRpbmcgb2YgSFRUUCdzIHNlbWFudGljcyB0byBhbiB1bmRlcmx5aW5nIHRyYW5zcG9ydC4NCj4N
Cj4gSFRUUC8xLjENCj4gLS0tLS0tLS0NCj4NCj4gSFRUUC8xLjEgaXMgb25lIG9mIHRoZSBtb3N0
IHN1Y2Nlc3NmdWwgYW5kIHdpZGVseS11c2VkIHByb3RvY29scyBvbiB0aGUNCj4gSW50ZXJuZXQg
dG9kYXkuIEhvd2V2ZXIsIGl0cyBzcGVjaWZpY2F0aW9uIGhhcyBzZXZlcmFsIGVkaXRvcmlhbCBp
c3N1ZXMuDQo+IEFkZGl0aW9uYWxseSwgYWZ0ZXIgeWVhcnMgb2YgaW1wbGVtZW50YXRpb24gYW5k
IGV4dGVuc2lvbiwgc2V2ZXJhbA0KPiBhbWJpZ3VpdGllcyBoYXZlIGJlY29tZSBldmlkZW50LCBp
bXBhaXJpbmcgaW50ZXJvcGVyYWJpbGl0eSBhbmQgdGhlIGFiaWxpdHkNCj4gdG8gZWFzaWx5IGlt
cGxlbWVudCBhbmQgdXNlIEhUVFAuDQo+DQo+IFRoZSB3b3JraW5nIGdyb3VwIHdpbGwgcmVmaW5l
IFJGQzI2MTYgdG86DQo+ICogSW5jb3Jwb3JhdGUgZXJyYXRhIGFuZCB1cGRhdGVzIChlLmcuLCBy
ZWZlcmVuY2VzLCBJQU5BIHJlZ2lzdHJpZXMsDQo+ICAgIEFCTkYpDQo+ICogRml4IGVkaXRvcmlh
bCBwcm9ibGVtcyB3aGljaCBoYXZlIGxlZCB0byBtaXN1bmRlcnN0YW5kaW5ncyBvZiB0aGUNCj4g
ICAgc3BlY2lmaWNhdGlvbg0KPiAqIENsYXJpZnkgY29uZm9ybWFuY2UgcmVxdWlyZW1lbnRzDQo+
ICogUmVtb3ZlIGtub3duIGFtYmlndWl0aWVzIHdoZXJlIHRoZXkgYWZmZWN0IGludGVyb3BlcmFi
aWxpdHkNCj4gKiBDbGFyaWZ5IGV4aXN0aW5nIG1ldGhvZHMgb2YgZXh0ZW5zaWJpbGl0eQ0KPiAq
IFJlbW92ZSBvciBkZXByZWNhdGUgdGhvc2UgZmVhdHVyZXMgdGhhdCBhcmUgbm90IHdpZGVseSBp
bXBsZW1lbnRlZCBhbmQNCj4gICAgYWxzbyB1bmR1bHkgYWZmZWN0IGludGVyb3BlcmFiaWxpdHkN
Cj4gKiBXaGVyZSBuZWNlc3NhcnksIGFkZCBpbXBsZW1lbnRhdGlvbiBhZHZpY2UNCj4gKiBEb2N1
bWVudCB0aGUgc2VjdXJpdHkgcHJvcGVydGllcyBvZiBIVFRQIGFuZCBpdHMgYXNzb2NpYXRlZCBt
ZWNoYW5pc21zDQo+ICAgIChlLmcuLCBCYXNpYyBhbmQgRGlnZXN0IGF1dGhlbnRpY2F0aW9uLCBj
b29raWVzLCBUTFMpIGZvciBjb21tb24NCj4gICAgYXBwbGljYXRpb25zDQo+DQo+IEl0IHdpbGwg
YWxzbyBpbmNvcnBvcmF0ZSB0aGUgZ2VuZXJpYyBhdXRoZW50aWNhdGlvbiBmcmFtZXdvcmsgZnJv
bSBSRkMNCj4gMjYxNywgd2l0aG91dCBvYnNvbGV0aW5nIG9yIHVwZGF0aW5nIHRoYXQgc3BlY2lm
aWNhdGlvbidzIGRlZmluaXRpb24gb2YNCj4gdGhlIEJhc2ljIGFuZCBEaWdlc3Qgc2NoZW1lcy4N
Cj4NCj4gRmluYWxseSwgaXQgd2lsbCBpbmNvcnBvcmF0ZSByZWxldmFudCBwb3J0aW9ucyBvZiBS
RkMgMjgxNyAoaW4NCj4gcGFydGljdWxhciwgdGhlIENPTk5FQ1QgbWV0aG9kIGFuZCBhZHZpY2Ug
b24gdGhlIHVzZSBvZiBVcGdyYWRlKSwgc28NCj4gdGhhdCB0aGF0IHNwZWNpZmljYXRpb24gY2Fu
IGJlIG1vdmVkIHRvIEhpc3RvcmljIHN0YXR1cy4NCj4NCj4gSW4gZG9pbmcgc28sIGl0IHNob3Vs
ZCBjb25zaWRlcjoNCj4gKiBJbXBsZW1lbnRlciBleHBlcmllbmNlDQo+ICogRGVtb25zdHJhdGVk
IHVzZSBvZiBIVFRQDQo+ICogSW1wYWN0IG9uIGV4aXN0aW5nIGltcGxlbWVudGF0aW9ucyBhbmQg
ZGVwbG95bWVudHMNCj4NCj4gSFRUUC8yLjANCj4gLS0tLS0tLS0NCj4NCj4gVGhlcmUgaXMgZW1l
cmdpbmcgaW1wbGVtZW50YXRpb24gZXhwZXJpZW5jZSBhbmQgaW50ZXJlc3QgaW4gYSBwcm90b2Nv
bCB0aGF0DQo+IHJldGFpbnMgdGhlIHNlbWFudGljcyBvZiBIVFRQIHdpdGhvdXQgdGhlIGxlZ2Fj
eSBvZiBIVFRQLzEueCBtZXNzYWdlDQo+IGZyYW1pbmcgYW5kIHN5bnRheCwgd2hpY2ggaGF2ZSBi
ZWVuIGlkZW50aWZpZWQgYXMgaGFtcGVyaW5nIHBlcmZvcm1hbmNlIGFuZA0KPiBlbmNvdXJhZ2lu
ZyBtaXN1c2Ugb2YgdGhlIHVuZGVybHlpbmcgdHJhbnNwb3J0Lg0KPg0KPiBUaGUgV29ya2luZyBH
cm91cCB3aWxsIHByb2R1Y2UgYSBzcGVjaWZpY2F0aW9uIG9mIGEgbmV3IGV4cHJlc3Npb24gb2Yg
SFRUUCdzDQo+IGN1cnJlbnQgc2VtYW50aWNzIGluIG9yZGVyZWQsIGJpLWRpcmVjdGlvbmFsIHN0
cmVhbXMuIEFzIHdpdGggSFRUUC8xLngsDQo+IHRoZSBwcmltYXJ5IHRhcmdldCB0cmFuc3BvcnQg
aXMgVENQLCBidXQgaXQgc2hvdWxkIGJlIHBvc3NpYmxlIHRvIHVzZQ0KPiBvdGhlciB0cmFuc3Bv
cnRzLg0KPg0KPiBXb3JrIHdpbGwgYmVnaW4gdXNpbmcgWFhYIGFzIGEgc3RhcnRpbmcgcG9pbnQ7
IGFsbCBwcm9wb3NhbHMgYXJlIHRvIGJlIGV4cHJlc3NlZA0KPiBpbiB0ZXJtcyBvZiBjaGFuZ2Vz
IHRvIHRoZSB0aGF0IGRvY3VtZW50Lg0KDQpJIGp1c3QgdGhpbmsgSSdsbCB0aHJvdyBhIHNwYW5u
ZXIgaW4gdGhlIGdlbmVyYWwgZGlyZWN0aW9uIG9mIHRoZSB3b3Jrcw0KaGVyZS4uLi4NCg0KSG93
IHJlYWxpc3RpYyBpcyBpdCB0byBleHBlY3QgdGhlIEhUVFBiaXMgMS4xIGRyYWZ0IGRvY3VtZW50
cyBmaWxsIHRoYXQNCnJvbGU/IEF0IGxlYXN0IHdlIGNhbiBndWFyYW50ZWUgdGhhdCBtb2RpZmlj
YXRpb25zIHRvIGFkanVzdCB0aGVtIGZvcg0KMi4wIHNwZWNpZmljcyB3aWxsIG5vdCBsb29zZSBv
ciBhZGQgYW55IGZlYXR1cmVzIHVuaW50ZW50aW9uYWxseSB0aGF0DQpjb3VsZCBhZmZlY3QgSFRU
UC8xLjEgY29tcGF0aWJpbGl0eS4NCg0KDQo+DQo+IEl0IGlzIGV4cGVjdGVkIHRoYXQgSFRUUC8y
LjAgd2lsbDoNCj4gKiBTdWJzdGFudGlhbGx5IGFuZCBtZWFzdXJhYmx5IGltcHJvdmUgZW5kLXVz
ZXIgcGVyY2VpdmVkIGxhdGVuY3kgaW4gbW9zdA0KPiAgICBjYXNlcywgb3ZlciBIVFRQLzEuMSB1
c2luZyBUQ1AuDQoNCiJtZWFzdXJlYWJseSAuLi4gcGVyY2VpdmVkIiBkb2VzIG5vdCBzdGFjayB1
cC4NClN1cmVseSB3ZSBjYW4gYWltIGZvciBhY3R1YWwgbWVhc3VyYWJsZSBlZmZpY2llbmN5IHJh
dGhlciB0aGFuIGp1c3QNCnBlcmNlaXZlZC4NCg0KUG9zc2libHkgYWxzbyBpbXByb3ZlbWVudCBv
dmVyICpvcHRpbWl6ZWQqIDEuMSB3b3VsZCBiZSBhIGdvb2QgYWltLg0KDQo+ICogTm90IHJlcXVp
cmUgbXVsdGlwbGUgY29ubmVjdGlvbnMgdG8gYSBzZXJ2ZXIgdG8gZW5hYmxlIHBhcmFsbGVsaXNt
Lg0KKzEuDQoNCj4gKiBSZXF1aXJlIG5vIG1vcmUgY29uZmlndXJhdGlvbiBvciB0dW5pbmcgdGhh
biBjdXJyZW50IEhUVFAgZGVwbG95bWVudHM7DQo+ICAgICBwcmVmZXJhYmx5LCBsZXNzLg0KDQpX
aGF0IGRvIHlvdSBtZWFucyBieSB0aGlzPw0KDQo+ICogUmV0YWluIHRoZSBzZW1hbnRpY3Mgb2Yg
SFRUUC8xLjEsIGxldmVyYWdpbmcgZXhpc3RpbmcgZG9jdW1lbnRhdGlvbiAoc2VlDQo+ICAgIGFi
b3ZlKSwgaW5jbHVkaW5nIChidXQgbm90IGxpbWl0ZWQgdG8pIEhUVFAgbWV0aG9kcywgc3RhdHVz
IGNvZGVzLCBVUklzLCBhbmQNCj4gICAgd2hlcmUgYXBwcm9wcmlhdGUsIGhlYWRlciBmaWVsZHMu
DQoNCnNlZSBhYm92ZSByZWdhcmRpbmcgIlhYWCBhcyBhIHN0YXJ0aW5nIHBvaW50Ii4NCg0KPiAq
IENsZWFybHkgZGVmaW5lIGhvdyBIVFRQLzIuMCBpbnRlcmFjdHMgd2l0aCBIVFRQLzEueCwgZXNw
ZWNpYWxseSBpbg0KPiAgICBpbnRlcm1lZGlhcmllcyAoYm90aCAyLT4xIGFuZCAxLT4yKS4NCj4g
KiBDbGVhcmx5IGlkZW50aWZ5IGFueSBuZXcgZXh0ZW5zaWJpbGl0eSBwb2ludHMgYW5kIHBvbGlj
eSBmb3IgdGhlaXINCj4gICAgYXBwcm9wcmlhdGUgdXNlLg0KDQorMS4NCg0KPg0KPiBUaGUgcmVz
dWx0aW5nIHNwZWNpZmljYXRpb24ocykgYXJlIGV4cGVjdGVkIHRvIGJlIG1lZXQgdGhlc2UgZ29h
bHMgZm9yIGNvbW1vbg0KPiBleGlzdGluZyBkZXBsb3ltZW50cyBvZiBIVFRQOyBpbiBwYXJ0aWN1
bGFyLCBXZWIgYnJvd3NpbmcgKGRlc2t0b3AgYW5kDQo+IG1vYmlsZSksIFdlYiBzZXJ2aW5nIChh
dCBhIHZhcmlldHkgb2Ygc2NhbGVzKSwgYW5kIGludGVybWVkaWF0aW9uIChieSBwcm94aWVzLA0K
PiBjb3Jwb3JhdGUgZmlyZXdhbGxzLCAicmV2ZXJzZSIgcHJveGllcyBhbmQgQ29udGVudCBEZWxp
dmVyeSBOZXR3b3JrcykuDQo+DQo+IE5vdGUgdGhhdCB0aGlzIGRvZXMgbm90IGluY2x1ZGUgdXNl
cyBvZiBIVFRQIHdoZXJlIG5vbi1zcGVjaWZpZWQgYmVoYXZpb3Vycw0KPiBhcmUgcmVsaWVkIHVw
b24gKGUuZy4sIGNvbm5lY3Rpb24gc3RhdGUgc3VjaCBhcyB0aW1lb3V0cyBvciBjbGllbnQgYWZm
aW5pdHksDQo+IGFuZCAiaW50ZXJjZXB0aW9uIiBwcm94aWVzKTsgdGhlc2UgdXNlcyBtYXkgb3Ig
bWF5IG5vdCBiZSBlbmFibGVkIGJ5IHRoZSBmaW5hbA0KPiBwcm9kdWN0Lg0KPg0KPiBFeHBsaWNp
dGx5IG91dC1vZi1zY29wZSBpdGVtcyBpbmNsdWRlOg0KPiAqIFNwZWNpZnlpbmcgdGhlIHVzZSBv
ZiBhbHRlcm5hdGUgdHJhbnNwb3J0IHByb3RvY29scy4gTm90ZSB0aGF0IGl0DQo+ICAgIGlzIGV4
cGVjdGVkIHRoYXQgdGhlIFdvcmtpbmcgR3JvdXAgd2lsbCBkZWZpbmUgaG93IHRoZSBwcm90b2Nv
bCBpcyB1c2VkDQo+ICAgIHdpdGggdGhlIFRMUyBwcm90b2NvbC4NCj4gKiBTcGVjaWZ5aW5nIG5l
dyBzZW1hbnRpY3MgZm9yIEhUVFAgKHdoZXRoZXIgc3BlY2lmaWMgdG8gSFRUUC8yIG9yIG5vdCku
DQo+ICAgIEhvd2V2ZXIsIHRoZSBXb3JraW5nIEdyb3VwIG1heSByZXF1ZXN0IGEgcmUtY2hhcnRl
ciB0byBzdGFydCB3b3JrIG9uIHN1Y2gNCj4gICAgaXRlbXMgKGR1cmluZyBvciBhZnRlciB3b3Jr
IG9uIEhUVFAvMi4wKSwgcHJvdmlkZWQgdGhlcmUgaXMgY29uc2Vuc3VzIHRvDQo+ICAgIGRvIHNv
LCBhbmQgaXQgZG9lcyBub3QgaW50ZXJmZXJlIHdpdGggd29yayBvbiB0aGUgImNvcmUiIChib3Ro
IEhUVFAvMS54IGFuZA0KPiAgICBIVFRQLzIuMCkuDQoNCisxLiBBbHRob3VnaCBJIHByZWRpY3Qg
dGhhdCBoYXZpbmcgbXVsdGlwbGV4aW5nIG9uIHRoZSB0YWJsZSB3aWxsIGJyaW5nDQp1cCB0aGUg
bmVlZCBmb3IgbmV3IGhvcC1ieS1ob3AgZmVhdHVyZXMgb24gMi4wIGNvbm5lY3Rpb25zLiBTcGVj
aWZpY2FsbHkNCmZsb3cgY29udHJvbCBmZWF0dXJlcy4NCg0KQW1vcw0KDQoNCg0K

--_000_d85655d0c544485f8b84c3888e83d13ablur_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5ib2R5IHt3b3JkLXdyYXA6IGJyZWFr
LXdvcmQ7IGJhY2tncm91bmQtY29sb3I6I2ZmZmZmZjt9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGRp
diBzdHlsZT0iZm9udC1mYW1pbHk6IHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTZweCI+WW91ciBw
b3N0IGlzIGNvbnNpc3RlbnQgd2l0aCB0aGUgYXNzZXJ0aW9uIHRoYXQgdGhlcmUgaXNuJ3QgYWdy
ZWVtZW50IHlldCBhYm91dCB3aGF0ICJmYXN0ZXIgdGhhbiBIVFRQLzEuMSIgbWVhbnMsIG9yIGhv
dyB0byBjb21wYXJlIHByb3Bvc2FscyBmb3IgaW1wcm92ZW1lbnQuIEFuZCBuZWl0aGVyIG1lYXN1
cmVkIHdvcnN0IGNhc2UgbGF0ZW5jeSBvciByZWFsIG5ldHdvcmsgdHJhZmZpYyB3aXRoIGJ1ZmZl
ciBibG9hdCwgb3Igc2l0dWF0aW9ucyB0aGF0IHdvdWxkIGRldGVjdCB0aGUgaW1wYWN0IG9mIEhP
TCBibG9ja2luZy48YnI+PGJyPkZlYXR1cmVzIGxpa2Ugc25pZmZpbmcgd2hlcmUgdGhlIHJlY2Vp
dmVyIG5lZWRzIHRvIGxvb2sgYXQgaW5pdGlhbCBzZWdtZW50cyBvZiB0cmFmZmljIGJlZm9yZSBk
aXNwYXRjaGluZyBleGFjZXJiYXRlIHRoZSBpbXBhY3Qgb2YgdW5ldmVuIGxhdGVuY3kgYnkgaW1w
b3NpbmcgYW4gb3RoZXJ3aXNlIHVubmVjZXNzYXJ5IHNlcmlhbGl6YXRpb24gY29uc3RyYWludC4g
PGJyPjxicj5kZXBsb3ltZW50IGlzc3VlcyBhcmUgaW4gc2NvcGUuLi4gdGhleSBhcmUgd2hhdCBk
cml2ZSB0aGUgcHVzaCBmb3IgU1NMIGluIHRoZSBmaXJzdCBwbGFjZS4gPGJyPjxicj5BbmQgaWYg
c2l0ZXMgd29udCBzZWUgaW1wcm92ZW1lbnQmbmJzcDsgKG9yIGV2ZW4gYSBwZXJmb3JtYW5jZSBo
aXQpIGluIGEgd29ybGQgb2YgcGFydGlhbCBkZXBsb3ltZW50IG9mIEhUVFAgMi4wLCB3aG8gKHRo
YXQgaXNuJ3QgYWxyZWFkeSB1c2luZyBTUERZIGFzIGlzKSB3b3VsZCBkZXBsb3kgaXQ/IDxicj48
YnI+PC9kaXY+LS0tLS1PcmlnaW5hbCBtZXNzYWdlLS0tLS08YnI+PGJsb2NrcXVvdGUgc3R5bGU9
IjsgYm9yZGVyLWxlZnQ6IDJweCBzb2xpZCByZ2IoMTYsIDE2LCAyNTUpOyBtYXJnaW4tbGVmdDog
NXB4OyBwYWRkaW5nLWxlZnQ6IDVweDsiPjxkaXYgc3R5bGU9ImZvbnQtZmFtaWx5OiBzYW5zLXNl
cmlmOyBmb250LXNpemU6IDE0cHgiPjxiPkZyb206IDwvYj4mcXVvdDtpZmV0dGVAZ29vZ2xlLmNv
bSZxdW90OyAmbHQ7aWZldHRlQGdvb2dsZS5jb20mZ3Q7PGI+PGJyPlRvOiA8L2I+TGFycnkgTWFz
aW50ZXIgJmx0O21hc2ludGVyQGFkb2JlLmNvbSZndDs8Yj48YnI+Q2M6IDwvYj4mcXVvdDtpZXRm
LWh0dHAtd2dAdzMub3JnJnF1b3Q7ICZsdDtpZXRmLWh0dHAtd2dAdzMub3JnJmd0OzxiPjxicj5T
ZW50OiA8L2I+U3VuLCBKdWwgMjksIDIwMTIgMDc6MTQ6MDIgR01UKzAwOjAwPGI+PGJyPlN1Ympl
Y3Q6IDwvYj5SZTogU3RyYXctbWFuIGZvciBvdXIgbmV4dCBjaGFydGVyPGJyPjxicj48L2Rpdj48
ZGl2PldpdGhvdXQgcmUtaGFzaGluZyB3aGF0JiMzOTtzIGFscmVhZHkgYmVlbiBzYWlkLCBJJiMz
OTtsbCBwb2ludCBvdXQgdGhhdCB0aGUgJnF1b3Q7Tm90IGFzIFNQRFkgYXMgWW91IFRob3VnaHQm
cXVvdDsgaXNuJiMzOTt0IGEgdGVzdCBvZiAmcXVvdDt3aGF0IHBlcmZvcm1hbmNlIGRvIHdlIGdl
dCBpbiBhIHdvcmxkIG9mIFNQRFkmcXVvdDsgYnV0IHJhdGhlciAmcXVvdDtXaGF0IHBlcmZvcm1h
bmNlIGRvIHdlIGdldCBpbiBhIHdvcmxkIG9mIHBhcnRpYWwgU1BEWSBkZXBsb3ltZW50LiZxdW90
OyBNaWtlIGhhcyBhIG5pY2UgaW4tZGVwdGggd3JpdGV1cCBhdMKgPGEgaHJlZj0iaHR0cDovL3d3
dy5iZWxzaGUuY29tLzIwMTIvMDYvMjQvZm9sbG93dXAtdG8tbm90LWFzLXNwZHktYXMteW91LXRo
b3VnaHQvIj5odHRwOi8vd3d3LmJlbHNoZS5jb20vMjAxMi8wNi8yNC9mb2xsb3d1cC10by1ub3Qt
YXMtc3BkeS1hcy15b3UtdGhvdWdodC88L2E+PGRpdj4NCg0KPGJyPjwvZGl2PjxkaXY+LUlhbjxi
cj48YnI+PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPk9uIEZyaSwgSnVsIDI3LCAyMDEyIGF0IDk6
MzQgUE0sIExhcnJ5IE1hc2ludGVyIDxzcGFuIGRpcj0ibHRyIj4mbHQ7PGEgaHJlZj0ibWFpbHRv
Om1hc2ludGVyQGFkb2JlLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPm1hc2ludGVyQGFkb2JlLmNvbTwv
YT4mZ3Q7PC9zcGFuPiB3cm90ZTo8YnI+PGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBz
dHlsZT0ibWFyZ2luOjAgMCAwIC44ZXg7Ym9yZGVyLWxlZnQ6MXB4ICNjY2Mgc29saWQ7cGFkZGlu
Zy1sZWZ0OjFleCI+DQoNCkkmIzM5O2Qgc3VnZ2VzdCB0aGUgSFRUUC8yLjAgd29yayB3b3VsZCBi
ZSBiZXN0IHNlcnZlZCBieSBmaXJzdCBmb2N1c2luZyBvbiBkb2N1bWVudGluZyAmcXVvdDtzdWJz
dGFudGlhbCBhbmQgbWVhc3VyYWJsZSBpbXByb3ZlbWVudCZxdW90Oy48YnI+DQpJIHN1Z2dlc3Qg
dGhlIGNoYXJ0ZXIgbm90IGJlIGV4dGVuZGVkIHRvIGFjY2VwdCBwcm9wb3NhbHMgYW5kIHN0YXJ0
IG9uIGRldmVsb3BtZW50IG9mIHRoZSBwcm90b2NvbCBpdHNlbGYgdW50aWwgdGhpcyBpcyBkb25l
Ljxicj4NCjxicj4NClRoZXJlIGFyZSBjb25mbGljdGluZyBjaGFyYWN0ZXJpemF0aW9ucyBvZiBT
UERZIHBlcmZvcm1hbmNlIHJlc3VsdHMgKHRoZSByZXN1bHRzIGFyZW4mIzM5O3QgaW4gY29uZmxp
Y3QgYXMgbXVjaCBhcyB3aGV0aGVyIHlvdSBjb3VsZCBzdW1tYXJpemUgdGhlIHJlc3VsdHMgYXMg
JnF1b3Q7YmV0dGVyJnF1b3Q7KS48YnI+DQrCoCDCoCA8YSBocmVmPSJodHRwOi8vd3d3LmlldGYu
b3JnL3Byb2NlZWRpbmdzLzgzL3NsaWRlcy9zbGlkZXMtODMtaHR0cGJpcy0zLnBkZiIgdGFyZ2V0
PSJfYmxhbmsiPmh0dHA6Ly93d3cuaWV0Zi5vcmcvcHJvY2VlZGluZ3MvODMvc2xpZGVzL3NsaWRl
cy04My1odHRwYmlzLTMucGRmPC9hPiDCoHNhaWQgwqAmcXVvdDtHb29nbGUgcmVjZW50bHkgcmVw
b3J0ZWQgdGhhdCBTUERZIG92ZXIgU1NMIGlzIG5vdyBmYXN0ZXIgdGhhbiBIVFRQIHdpdGhvdXQg
U1NMJnF1b3Q7IHBsdXMgJnF1b3Q7Qm9vc3RFZGdlIHBhcGVyIGNvbmZpcm1zIEdvb2dsZSBudW1i
ZXJzJnF1b3Q7LCB3aGljaCBJJiMzOTtkIHRha2UgdG8gbWVhbiB0aGF0IGl0JiMzOTtzIGFsd2F5
cyBmYXN0ZXIuPGJyPg0KDQoNCjxicj4NCsKgIMKgYnV0IMKgPGEgaHJlZj0iaHR0cDovL3d3dy5n
dXlwby5jb20vdGVjaG5pY2FsL25vdC1hcy1zcGR5LWFzLXlvdS10aG91Z2h0LyIgdGFyZ2V0PSJf
YmxhbmsiPmh0dHA6Ly93d3cuZ3V5cG8uY29tL3RlY2huaWNhbC9ub3QtYXMtc3BkeS1hcy15b3Ut
dGhvdWdodC88L2E+IMKgaXQgaXNuJiMzOTt0IGFzIFNQRFkgYXMgeW91IChTb21lb25lKSB0aG91
Z2h0LCBhbmQgbm90ZWQgbWFueSBjaXJjdW1zdGFuY2VzIHdoZXJlIGl0IGRpZG4mIzM5O3QgaGVs
cC48YnI+DQoNCg0KPGJyPg0KVW5sZXNzIHRoZXJlJiMzOTtzIGFncmVlbWVudCBvbiB3aGF0ICZx
dW90O2ltcHJvdmVtZW50JnF1b3Q7IGlzLCBpdCYjMzk7cyBoYXJkIHRvIGV2ZW4gZGlzY3VzcyBm
ZWF0dXJlcyBmb3IgaG93IHdlbGwgdGhleSAmcXVvdDtpbXByb3ZlJnF1b3Q7Ljxicj4NCjxicj4N
Cjxicj4NCldoYXQgY2FuIHNpdGUgYWRtaW5pc3RyYXRvcnMgZGVwZW5kIG9uLCBleHBlY3QgZnJv
bSBhIFNQRFkgdXBncmFkZT88YnI+DQo8YnI+DQpJJiMzOTttIHN0aWxsIGNvbmNlcm5lZCBhYm91
dCBoZWFkLW9mLWxpbmUgYmxvY2tpbmcgdGhhdCBjb21lcyBmcm9tIG11bHRpcGxleGluZyBhbmQg
ZG9pbmcgZmxvdyBjb250cm9sIGF0IHR3byBsZXZlbHMgb2YgdGhlIHByb3RvY29sIHN0YWNrLiBJ
dCBzZWVtcyBpbnRyaW5zaWNhbGx5IGEgbGlrZWx5IHByb2JsZW0sIGZvciB3aGljaCB0aGUgb25s
eSBzb2x1dGlvbiBpcyBwcm9wZXIgbWFuYWdlbWVudCBhbmQgY29udHJvbCBvZiBwZXJmb3JtYW5j
ZSBvZiBhbGwgb2YgdGhlIHNvdXJjZXMgb2YgZGF0YSAoJnF1b3Q7c2NoZWR1bGluZyZxdW90Oyku
IMKgSSB0aGluayBnZXR0aW5nIGFuIGFncmVlbWVudCBvbiB3aHkgdGhhdCBpc24mIzM5O3QgYSBw
cm9ibGVtIGhlcmUgKG9yIGF0IGxlYXN0LCBob3cgdG8gbWluaW1pemUgdGhlIHByb2JsZW0pIGZp
cnN0IHdvdWxkIGhlbHAsIHRvby48YnI+DQoNCg0KV2l0aCBoZWFkLW9mLWxpbmUgYmxvY2tpbmcs
IHRoZSBsYXRlbmN5IGhhcyBzcGlrZXMsIGFuZCBhdmVyYWdlcyB3b24mIzM5O3Qgc3VmZmljZSBp
ZiB3aGF0IHlvdSBjYXJlIGFib3V0IGlzIGNvbW1vbi13b3JzdC1jYXNlLjxicj4NCjxicj4NCkxh
cnJ5PGJyPg0KLS08YnI+DQo8YSBocmVmPSJodHRwOi8vbGFycnkubWFzaW50ZXIubmV0IiB0YXJn
ZXQ9Il9ibGFuayI+aHR0cDovL2xhcnJ5Lm1hc2ludGVyLm5ldDwvYT48YnI+DQo8ZGl2IGNsYXNz
PSJpbSBIT0VuWmIiPjxicj4NCjxicj4NCjxicj4NCjxicj4NCjxicj4NCi0tLS0tT3JpZ2luYWwg
TWVzc2FnZS0tLS0tPGJyPg0KRnJvbTogQW1vcyBKZWZmcmllcyBbbWFpbHRvOjxhIGhyZWY9Im1h
aWx0bzpzcXVpZDNAdHJlZW5ldC5jby5ueiI+c3F1aWQzQHRyZWVuZXQuY28ubno8L2E+XTxicj4N
ClNlbnQ6IFdlZG5lc2RheSwgSnVseSAyNSwgMjAxMiA1OjAzIEFNPGJyPg0KVG86IDxhIGhyZWY9
Im1haWx0bzppZXRmLWh0dHAtd2dAdzMub3JnIj5pZXRmLWh0dHAtd2dAdzMub3JnPC9hPjxicj4N
ClN1YmplY3Q6IFJlOiBTdHJhdy1tYW4gZm9yIG91ciBuZXh0IGNoYXJ0ZXI8YnI+DQo8YnI+DQo8
L2Rpdj48ZGl2IGNsYXNzPSJIT0VuWmIiPjxkaXYgY2xhc3M9Img1Ij5PbiAyNS8wNy8yMDEyIDc6
NTMgcC5tLiwgTWFyayBOb3R0aW5naGFtIHdyb3RlOjxicj4NCiZndDsgTmV4dCB3ZWVrIGluIFZh
bmNvdXZlciwgd2UmIzM5O2xsIGRpc2N1c3MgYm90aCB0aGUgY2FuZGlkYXRlIHByb3Bvc2FscyBm
b3IgSFRUUC8yLjAgYW5kIHdoZXRoZXIgd2Ugc2hvdWxkIHJlLWNoYXJ0ZXIgdG8gYmVnaW4gdGhh
dCB3b3JrLCBjb25maXJtaW5nIGNvbnNlbnN1cyBvbiB0aGUgbGlzdCBhZnRlcndhcmRzLjxicj4N
CiZndDs8YnI+DQomZ3Q7IEFzc3VtaW5nIHdlIGRvIGNob29zZSBvbmUsIHdlJiMzOTtsbCBhbHNv
IG5lZWQgdG8gZGlzY3VzcyB0aGUgY2hhcnRlciBpdHNlbGYuIFRvIGZhY2lsaXRhdGUgdGhhdCwg
SSYjMzk7dmUgcGFzdGVkIGEgc3RyYXctbWFuIG9mIHdoYXQgc3VjaCBhIGNoYXJ0ZXIgbWlnaHQg
bG9vayBsaWtlIGJlbG93Ljxicj4NCiZndDs8YnI+DQomZ3Q7IFBsZWFzZSBmYW1pbGlhcmlzZSB5
b3Vyc2VsZiB3aXRoIGl0LiBXZSBjYW4gZGlzY3VzcyBvbi1saXN0IGJlZm9yZWhhbmQsIG9mIGNv
dXJzZSwgYnV0IHBsZWFzZSByZWFsaXNlIHRoYXQgd2UgbmVlZCB0byBkbyB0aGlzIHN0ZXAtYnkt
c3RlcCwgc28gZG9uJiMzOTt0IGdldCB0b28gZmFyIGFoZWFkIG9mIHRoZSBjb252ZXJzYXRpb24u
PGJyPg0KJmd0Ozxicj4NCiZndDsgTm90ZSAtLSB0aGlzIGN1cnJlbnRseSBKVVNUIGNvdmVycyB0
aGUgcHJvdG9jb2wgZGlzY3Vzc2lvbiwgbm90IHRoZSBhdXRoZW50aWNhdGlvbiBoYWxmOyBJJiMz
OTt2ZSBvbWl0dGVkIGl0IGJlY2F1c2UgdGhlcmUgYXJlIGEgZmV3IGRpZmZlcmVudCB3YXlzIHRo
YXQgd29yayBtaWdodCBlbmQgdXAsIGFuZCBpdCYjMzk7cyBnb2luZyB0byBuZWVkIGRpc2N1c3Np
b24gYmVmb3JlIHdlIGNhbiB3cml0ZSBldmVuIHN0cmF3LW1hbiBjaGFydGVyIHRleHQuPGJyPg0K
DQoNCiZndDs8YnI+DQomZ3Q7IENoZWVycyw8YnI+DQomZ3Q7PGJyPg0KJmd0OyAtLS04Jmx0Oy0t
LTxicj4NCiZndDsgVGhpcyBXb3JraW5nIEdyb3VwIGlzIGNoYXJnZWQgd2l0aCBtYWludGFpbmlu
ZyBhbmQgZGV2ZWxvcGluZzxicj4NCiZndDsgdGhlICZxdW90O2NvcmUmcXVvdDsgc3BlY2lmaWNh
dGlvbnMgZm9yIEhUVFAuPGJyPg0KJmd0Ozxicj4NCiZndDsgVGhlIFdvcmtpbmcgR3JvdXAmIzM5
O3Mgc3BlY2lmaWNhdGlvbiBkZWxpdmVyYWJsZXMgYXJlOjxicj4NCiZndDsgKiBBIGRvY3VtZW50
IChvciBzZXQgb2YgZG9jdW1lbnRzKSB0aGF0IGlzIHN1aXRhYmxlIHRvIHN1cGVyc2VkZSBSRkMg
MjYxNiBhczxicj4NCiZndDsgwqAgwqB0aGUgZGVmaW5pdGlvbiBvZiBIVFRQLzEuMSBhbmQgbW92
ZSBSRkMgMjgxNyB0byBIaXN0b3JpYyBzdGF0dXM8YnI+DQomZ3Q7ICogQSBkb2N1bWVudCBjYXRh
bG9ndWluZyB0aGUgc2VjdXJpdHkgcHJvcGVydGllcyBvZiBIVFRQLzEuMTxicj4NCiZndDsgKiBB
IGRvY3VtZW50IChvciBzZXQgb2YgZG9jdW1lbnRzKSB0aGF0IHNwZWNpZmllcyBIVFRQLzIuMCwg
YW4gaW1wcm92ZWQ8YnI+DQomZ3Q7IMKgIMKgYmluZGluZyBvZiBIVFRQJiMzOTtzIHNlbWFudGlj
cyB0byBhbiB1bmRlcmx5aW5nIHRyYW5zcG9ydC48YnI+DQomZ3Q7PGJyPg0KJmd0OyBIVFRQLzEu
MTxicj4NCiZndDsgLS0tLS0tLS08YnI+DQomZ3Q7PGJyPg0KJmd0OyBIVFRQLzEuMSBpcyBvbmUg
b2YgdGhlIG1vc3Qgc3VjY2Vzc2Z1bCBhbmQgd2lkZWx5LXVzZWQgcHJvdG9jb2xzIG9uIHRoZTxi
cj4NCiZndDsgSW50ZXJuZXQgdG9kYXkuIEhvd2V2ZXIsIGl0cyBzcGVjaWZpY2F0aW9uIGhhcyBz
ZXZlcmFsIGVkaXRvcmlhbCBpc3N1ZXMuPGJyPg0KJmd0OyBBZGRpdGlvbmFsbHksIGFmdGVyIHll
YXJzIG9mIGltcGxlbWVudGF0aW9uIGFuZCBleHRlbnNpb24sIHNldmVyYWw8YnI+DQomZ3Q7IGFt
YmlndWl0aWVzIGhhdmUgYmVjb21lIGV2aWRlbnQsIGltcGFpcmluZyBpbnRlcm9wZXJhYmlsaXR5
IGFuZCB0aGUgYWJpbGl0eTxicj4NCiZndDsgdG8gZWFzaWx5IGltcGxlbWVudCBhbmQgdXNlIEhU
VFAuPGJyPg0KJmd0Ozxicj4NCiZndDsgVGhlIHdvcmtpbmcgZ3JvdXAgd2lsbCByZWZpbmUgUkZD
MjYxNiB0bzo8YnI+DQomZ3Q7ICogSW5jb3Jwb3JhdGUgZXJyYXRhIGFuZCB1cGRhdGVzIChlLmcu
LCByZWZlcmVuY2VzLCBJQU5BIHJlZ2lzdHJpZXMsPGJyPg0KJmd0OyDCoCDCoEFCTkYpPGJyPg0K
Jmd0OyAqIEZpeCBlZGl0b3JpYWwgcHJvYmxlbXMgd2hpY2ggaGF2ZSBsZWQgdG8gbWlzdW5kZXJz
dGFuZGluZ3Mgb2YgdGhlPGJyPg0KJmd0OyDCoCDCoHNwZWNpZmljYXRpb248YnI+DQomZ3Q7ICog
Q2xhcmlmeSBjb25mb3JtYW5jZSByZXF1aXJlbWVudHM8YnI+DQomZ3Q7ICogUmVtb3ZlIGtub3du
IGFtYmlndWl0aWVzIHdoZXJlIHRoZXkgYWZmZWN0IGludGVyb3BlcmFiaWxpdHk8YnI+DQomZ3Q7
ICogQ2xhcmlmeSBleGlzdGluZyBtZXRob2RzIG9mIGV4dGVuc2liaWxpdHk8YnI+DQomZ3Q7ICog
UmVtb3ZlIG9yIGRlcHJlY2F0ZSB0aG9zZSBmZWF0dXJlcyB0aGF0IGFyZSBub3Qgd2lkZWx5IGlt
cGxlbWVudGVkIGFuZDxicj4NCiZndDsgwqAgwqBhbHNvIHVuZHVseSBhZmZlY3QgaW50ZXJvcGVy
YWJpbGl0eTxicj4NCiZndDsgKiBXaGVyZSBuZWNlc3NhcnksIGFkZCBpbXBsZW1lbnRhdGlvbiBh
ZHZpY2U8YnI+DQomZ3Q7ICogRG9jdW1lbnQgdGhlIHNlY3VyaXR5IHByb3BlcnRpZXMgb2YgSFRU
UCBhbmQgaXRzIGFzc29jaWF0ZWQgbWVjaGFuaXNtczxicj4NCiZndDsgwqAgwqAoZS5nLiwgQmFz
aWMgYW5kIERpZ2VzdCBhdXRoZW50aWNhdGlvbiwgY29va2llcywgVExTKSBmb3IgY29tbW9uPGJy
Pg0KJmd0OyDCoCDCoGFwcGxpY2F0aW9uczxicj4NCiZndDs8YnI+DQomZ3Q7IEl0IHdpbGwgYWxz
byBpbmNvcnBvcmF0ZSB0aGUgZ2VuZXJpYyBhdXRoZW50aWNhdGlvbiBmcmFtZXdvcmsgZnJvbSBS
RkM8YnI+DQomZ3Q7IDI2MTcsIHdpdGhvdXQgb2Jzb2xldGluZyBvciB1cGRhdGluZyB0aGF0IHNw
ZWNpZmljYXRpb24mIzM5O3MgZGVmaW5pdGlvbiBvZjxicj4NCiZndDsgdGhlIEJhc2ljIGFuZCBE
aWdlc3Qgc2NoZW1lcy48YnI+DQomZ3Q7PGJyPg0KJmd0OyBGaW5hbGx5LCBpdCB3aWxsIGluY29y
cG9yYXRlIHJlbGV2YW50IHBvcnRpb25zIG9mIFJGQyAyODE3IChpbjxicj4NCiZndDsgcGFydGlj
dWxhciwgdGhlIENPTk5FQ1QgbWV0aG9kIGFuZCBhZHZpY2Ugb24gdGhlIHVzZSBvZiBVcGdyYWRl
KSwgc288YnI+DQomZ3Q7IHRoYXQgdGhhdCBzcGVjaWZpY2F0aW9uIGNhbiBiZSBtb3ZlZCB0byBI
aXN0b3JpYyBzdGF0dXMuPGJyPg0KJmd0Ozxicj4NCiZndDsgSW4gZG9pbmcgc28sIGl0IHNob3Vs
ZCBjb25zaWRlcjo8YnI+DQomZ3Q7ICogSW1wbGVtZW50ZXIgZXhwZXJpZW5jZTxicj4NCiZndDsg
KiBEZW1vbnN0cmF0ZWQgdXNlIG9mIEhUVFA8YnI+DQomZ3Q7ICogSW1wYWN0IG9uIGV4aXN0aW5n
IGltcGxlbWVudGF0aW9ucyBhbmQgZGVwbG95bWVudHM8YnI+DQomZ3Q7PGJyPg0KJmd0OyBIVFRQ
LzIuMDxicj4NCiZndDsgLS0tLS0tLS08YnI+DQomZ3Q7PGJyPg0KJmd0OyBUaGVyZSBpcyBlbWVy
Z2luZyBpbXBsZW1lbnRhdGlvbiBleHBlcmllbmNlIGFuZCBpbnRlcmVzdCBpbiBhIHByb3RvY29s
IHRoYXQ8YnI+DQomZ3Q7IHJldGFpbnMgdGhlIHNlbWFudGljcyBvZiBIVFRQIHdpdGhvdXQgdGhl
IGxlZ2FjeSBvZiBIVFRQLzEueCBtZXNzYWdlPGJyPg0KJmd0OyBmcmFtaW5nIGFuZCBzeW50YXgs
IHdoaWNoIGhhdmUgYmVlbiBpZGVudGlmaWVkIGFzIGhhbXBlcmluZyBwZXJmb3JtYW5jZSBhbmQ8
YnI+DQomZ3Q7IGVuY291cmFnaW5nIG1pc3VzZSBvZiB0aGUgdW5kZXJseWluZyB0cmFuc3BvcnQu
PGJyPg0KJmd0Ozxicj4NCiZndDsgVGhlIFdvcmtpbmcgR3JvdXAgd2lsbCBwcm9kdWNlIGEgc3Bl
Y2lmaWNhdGlvbiBvZiBhIG5ldyBleHByZXNzaW9uIG9mIEhUVFAmIzM5O3M8YnI+DQomZ3Q7IGN1
cnJlbnQgc2VtYW50aWNzIGluIG9yZGVyZWQsIGJpLWRpcmVjdGlvbmFsIHN0cmVhbXMuIEFzIHdp
dGggSFRUUC8xLngsPGJyPg0KJmd0OyB0aGUgcHJpbWFyeSB0YXJnZXQgdHJhbnNwb3J0IGlzIFRD
UCwgYnV0IGl0IHNob3VsZCBiZSBwb3NzaWJsZSB0byB1c2U8YnI+DQomZ3Q7IG90aGVyIHRyYW5z
cG9ydHMuPGJyPg0KJmd0Ozxicj4NCiZndDsgV29yayB3aWxsIGJlZ2luIHVzaW5nIFhYWCBhcyBh
IHN0YXJ0aW5nIHBvaW50OyBhbGwgcHJvcG9zYWxzIGFyZSB0byBiZSBleHByZXNzZWQ8YnI+DQom
Z3Q7IGluIHRlcm1zIG9mIGNoYW5nZXMgdG8gdGhlIHRoYXQgZG9jdW1lbnQuPGJyPg0KPGJyPg0K
SSBqdXN0IHRoaW5rIEkmIzM5O2xsIHRocm93IGEgc3Bhbm5lciBpbiB0aGUgZ2VuZXJhbCBkaXJl
Y3Rpb24gb2YgdGhlIHdvcmtzPGJyPg0KaGVyZS4uLi48YnI+DQo8YnI+DQpIb3cgcmVhbGlzdGlj
IGlzIGl0IHRvIGV4cGVjdCB0aGUgSFRUUGJpcyAxLjEgZHJhZnQgZG9jdW1lbnRzIGZpbGwgdGhh
dDxicj4NCnJvbGU/IEF0IGxlYXN0IHdlIGNhbiBndWFyYW50ZWUgdGhhdCBtb2RpZmljYXRpb25z
IHRvIGFkanVzdCB0aGVtIGZvcjxicj4NCjIuMCBzcGVjaWZpY3Mgd2lsbCBub3QgbG9vc2Ugb3Ig
YWRkIGFueSBmZWF0dXJlcyB1bmludGVudGlvbmFsbHkgdGhhdDxicj4NCmNvdWxkIGFmZmVjdCBI
VFRQLzEuMSBjb21wYXRpYmlsaXR5Ljxicj4NCjxicj4NCjxicj4NCiZndDs8YnI+DQomZ3Q7IEl0
IGlzIGV4cGVjdGVkIHRoYXQgSFRUUC8yLjAgd2lsbDo8YnI+DQomZ3Q7ICogU3Vic3RhbnRpYWxs
eSBhbmQgbWVhc3VyYWJseSBpbXByb3ZlIGVuZC11c2VyIHBlcmNlaXZlZCBsYXRlbmN5IGluIG1v
c3Q8YnI+DQomZ3Q7IMKgIMKgY2FzZXMsIG92ZXIgSFRUUC8xLjEgdXNpbmcgVENQLjxicj4NCjxi
cj4NCiZxdW90O21lYXN1cmVhYmx5IC4uLiBwZXJjZWl2ZWQmcXVvdDsgZG9lcyBub3Qgc3RhY2sg
dXAuPGJyPg0KU3VyZWx5IHdlIGNhbiBhaW0gZm9yIGFjdHVhbCBtZWFzdXJhYmxlIGVmZmljaWVu
Y3kgcmF0aGVyIHRoYW4ganVzdDxicj4NCnBlcmNlaXZlZC48YnI+DQo8YnI+DQpQb3NzaWJseSBh
bHNvIGltcHJvdmVtZW50IG92ZXIgKm9wdGltaXplZCogMS4xIHdvdWxkIGJlIGEgZ29vZCBhaW0u
PGJyPg0KPGJyPg0KJmd0OyAqIE5vdCByZXF1aXJlIG11bHRpcGxlIGNvbm5lY3Rpb25zIHRvIGEg
c2VydmVyIHRvIGVuYWJsZSBwYXJhbGxlbGlzbS48YnI+DQorMS48YnI+DQo8YnI+DQomZ3Q7ICog
UmVxdWlyZSBubyBtb3JlIGNvbmZpZ3VyYXRpb24gb3IgdHVuaW5nIHRoYW4gY3VycmVudCBIVFRQ
IGRlcGxveW1lbnRzOzxicj4NCiZndDsgwqAgwqAgcHJlZmVyYWJseSwgbGVzcy48YnI+DQo8YnI+
DQpXaGF0IGRvIHlvdSBtZWFucyBieSB0aGlzPzxicj4NCjxicj4NCiZndDsgKiBSZXRhaW4gdGhl
IHNlbWFudGljcyBvZiBIVFRQLzEuMSwgbGV2ZXJhZ2luZyBleGlzdGluZyBkb2N1bWVudGF0aW9u
IChzZWU8YnI+DQomZ3Q7IMKgIMKgYWJvdmUpLCBpbmNsdWRpbmcgKGJ1dCBub3QgbGltaXRlZCB0
bykgSFRUUCBtZXRob2RzLCBzdGF0dXMgY29kZXMsIFVSSXMsIGFuZDxicj4NCiZndDsgwqAgwqB3
aGVyZSBhcHByb3ByaWF0ZSwgaGVhZGVyIGZpZWxkcy48YnI+DQo8YnI+DQpzZWUgYWJvdmUgcmVn
YXJkaW5nICZxdW90O1hYWCBhcyBhIHN0YXJ0aW5nIHBvaW50JnF1b3Q7Ljxicj4NCjxicj4NCiZn
dDsgKiBDbGVhcmx5IGRlZmluZSBob3cgSFRUUC8yLjAgaW50ZXJhY3RzIHdpdGggSFRUUC8xLngs
IGVzcGVjaWFsbHkgaW48YnI+DQomZ3Q7IMKgIMKgaW50ZXJtZWRpYXJpZXMgKGJvdGggMi0mZ3Q7
MSBhbmQgMS0mZ3Q7MikuPGJyPg0KJmd0OyAqIENsZWFybHkgaWRlbnRpZnkgYW55IG5ldyBleHRl
bnNpYmlsaXR5IHBvaW50cyBhbmQgcG9saWN5IGZvciB0aGVpcjxicj4NCiZndDsgwqAgwqBhcHBy
b3ByaWF0ZSB1c2UuPGJyPg0KPGJyPg0KKzEuPGJyPg0KPGJyPg0KJmd0Ozxicj4NCiZndDsgVGhl
IHJlc3VsdGluZyBzcGVjaWZpY2F0aW9uKHMpIGFyZSBleHBlY3RlZCB0byBiZSBtZWV0IHRoZXNl
IGdvYWxzIGZvciBjb21tb248YnI+DQomZ3Q7IGV4aXN0aW5nIGRlcGxveW1lbnRzIG9mIEhUVFA7
IGluIHBhcnRpY3VsYXIsIFdlYiBicm93c2luZyAoZGVza3RvcCBhbmQ8YnI+DQomZ3Q7IG1vYmls
ZSksIFdlYiBzZXJ2aW5nIChhdCBhIHZhcmlldHkgb2Ygc2NhbGVzKSwgYW5kIGludGVybWVkaWF0
aW9uIChieSBwcm94aWVzLDxicj4NCiZndDsgY29ycG9yYXRlIGZpcmV3YWxscywgJnF1b3Q7cmV2
ZXJzZSZxdW90OyBwcm94aWVzIGFuZCBDb250ZW50IERlbGl2ZXJ5IE5ldHdvcmtzKS48YnI+DQom
Z3Q7PGJyPg0KJmd0OyBOb3RlIHRoYXQgdGhpcyBkb2VzIG5vdCBpbmNsdWRlIHVzZXMgb2YgSFRU
UCB3aGVyZSBub24tc3BlY2lmaWVkIGJlaGF2aW91cnM8YnI+DQomZ3Q7IGFyZSByZWxpZWQgdXBv
biAoZS5nLiwgY29ubmVjdGlvbiBzdGF0ZSBzdWNoIGFzIHRpbWVvdXRzIG9yIGNsaWVudCBhZmZp
bml0eSw8YnI+DQomZ3Q7IGFuZCAmcXVvdDtpbnRlcmNlcHRpb24mcXVvdDsgcHJveGllcyk7IHRo
ZXNlIHVzZXMgbWF5IG9yIG1heSBub3QgYmUgZW5hYmxlZCBieSB0aGUgZmluYWw8YnI+DQomZ3Q7
IHByb2R1Y3QuPGJyPg0KJmd0Ozxicj4NCiZndDsgRXhwbGljaXRseSBvdXQtb2Ytc2NvcGUgaXRl
bXMgaW5jbHVkZTo8YnI+DQomZ3Q7ICogU3BlY2lmeWluZyB0aGUgdXNlIG9mIGFsdGVybmF0ZSB0
cmFuc3BvcnQgcHJvdG9jb2xzLiBOb3RlIHRoYXQgaXQ8YnI+DQomZ3Q7IMKgIMKgaXMgZXhwZWN0
ZWQgdGhhdCB0aGUgV29ya2luZyBHcm91cCB3aWxsIGRlZmluZSBob3cgdGhlIHByb3RvY29sIGlz
IHVzZWQ8YnI+DQomZ3Q7IMKgIMKgd2l0aCB0aGUgVExTIHByb3RvY29sLjxicj4NCiZndDsgKiBT
cGVjaWZ5aW5nIG5ldyBzZW1hbnRpY3MgZm9yIEhUVFAgKHdoZXRoZXIgc3BlY2lmaWMgdG8gSFRU
UC8yIG9yIG5vdCkuPGJyPg0KJmd0OyDCoCDCoEhvd2V2ZXIsIHRoZSBXb3JraW5nIEdyb3VwIG1h
eSByZXF1ZXN0IGEgcmUtY2hhcnRlciB0byBzdGFydCB3b3JrIG9uIHN1Y2g8YnI+DQomZ3Q7IMKg
IMKgaXRlbXMgKGR1cmluZyBvciBhZnRlciB3b3JrIG9uIEhUVFAvMi4wKSwgcHJvdmlkZWQgdGhl
cmUgaXMgY29uc2Vuc3VzIHRvPGJyPg0KJmd0OyDCoCDCoGRvIHNvLCBhbmQgaXQgZG9lcyBub3Qg
aW50ZXJmZXJlIHdpdGggd29yayBvbiB0aGUgJnF1b3Q7Y29yZSZxdW90OyAoYm90aCBIVFRQLzEu
eCBhbmQ8YnI+DQomZ3Q7IMKgIMKgSFRUUC8yLjApLjxicj4NCjxicj4NCisxLiBBbHRob3VnaCBJ
IHByZWRpY3QgdGhhdCBoYXZpbmcgbXVsdGlwbGV4aW5nIG9uIHRoZSB0YWJsZSB3aWxsIGJyaW5n
PGJyPg0KdXAgdGhlIG5lZWQgZm9yIG5ldyBob3AtYnktaG9wIGZlYXR1cmVzIG9uIDIuMCBjb25u
ZWN0aW9ucy4gU3BlY2lmaWNhbGx5PGJyPg0KZmxvdyBjb250cm9sIGZlYXR1cmVzLjxicj4NCjxi
cj4NCkFtb3M8YnI+DQo8YnI+DQo8YnI+DQo8L2Rpdj48L2Rpdj48L2Jsb2NrcXVvdGU+PC9kaXY+
PGJyPjwvZGl2Pg0KPC9kaXY+PC9ibG9ja3F1b3RlPjwvYm9keT48L2h0bWw+DQo=

--_000_d85655d0c544485f8b84c3888e83d13ablur_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 10:59:02 2012
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 F1FF921F8736 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 10:59:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.962
X-Spam-Level: 
X-Spam-Status: No, score=-8.962 tagged_above=-999 required=5 tests=[AWL=-0.818, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 ojArI5mSfdhJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 10:59:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0C8C521F8712 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 10:59:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvXkT-0000Lw-Od for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 17:57:49 +0000
Resent-Date: Sun, 29 Jul 2012 17:57:49 +0000
Resent-Message-Id: <E1SvXkT-0000Lw-Od@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvXkH-0000LB-LE for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 17:57:37 +0000
Received: from exprod6og112.obsmtp.com ([64.18.1.29]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvXkF-0007yH-W1 for ietf-http-wg@w3.org; Sun, 29 Jul 2012 17:57:37 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob112.postini.com ([64.18.5.12]) with SMTP ID DSNKUBV5ecWGsEl91vZ+snKEtNhVbc6zWlIG@postini.com; Sun, 29 Jul 2012 10:57:35 PDT
Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6THskk0023011; Sun, 29 Jul 2012 10:54:46 -0700 (PDT)
Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6THvCvm020287; Sun, 29 Jul 2012 10:57:12 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Sun, 29 Jul 2012 10:57:12 -0700
From: Larry Masinter <masinter@adobe.com>
To: Adam Barth <w3c@adambarth.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 29 Jul 2012 10:57:25 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1ts5P+zQ+PIfHvQmWxRPNoqAOj/Q==
Message-ID: <c3ae1b1c-912e-4191-84ce-d50caef9a0e3@blur>
References: <bc7c1538-d793-44f1-9599-57c37fe3d4ce@blur>
In-Reply-To: <bc7c1538-d793-44f1-9599-57c37fe3d4ce@blur>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_c3ae1b1c912e419184ced50caef9a0e3blur_"
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.29; envelope-from=masinter@adobe.com; helo=exprod6og112.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvXkF-0007yH-W1 23a21772cfc421f73f4b8d0fb632ab9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/c3ae1b1c-912e-4191-84ce-d50caef9a0e3@blur>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14800
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>

--_000_c3ae1b1c912e419184ced50caef9a0e3blur_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

d2hhdCBhcmUgdGhlIHVzZSBjYXNlcyBhbmQgcmVxdWlyZW1lbnRzIGZvciBzdWNoIGdhdGV3YXlz
Pw0KDQpBIGdlbmVyYWwgcHVycG9zZSBvbW5pLXNpdGUgMi4wLT4xLjEgZ2F0ZXdheSBtaWdodCBu
ZWVkIHRvIGRvIHNuaWZmaW5nIG9mIHNpdGVzIG5vdCBrbm93biB0byBoYXZlIGNvcnJlY3QgY29u
dGVudC10eXBlIGhlYWRlcnMsIGJ1dCAxLjEtPjIuMCBnYXRld2F5cyBzaG91bGRuJ3QgbmVlZCB0
byBjaGFuZ2UgY29udGVudC10eXBlIC4uLi4gc25pZmZpbmcgbGVhdmVzIGNvcnJlY3RseSBsYWJl
bGVkIGNvbnRlbnQgaW50YWN0LCBvZiBjb3Vyc2UuIDopDQoNCkNvbm5lY3RlZCBieSBEUk9JRCBv
biBWZXJpem9uIFdpcmVsZXNzDQoNCg0KLS0tLS1PcmlnaW5hbCBtZXNzYWdlLS0tLS0NCkZyb206
IEFkYW0gQmFydGggPHczY0BhZGFtYmFydGguY29tPg0KVG86IExhcnJ5IE1hc2ludGVyIDxtYXNp
bnRlckBhZG9iZS5jb20+DQpDYzogImlldGYtaHR0cC13Z0B3My5vcmciIDxpZXRmLWh0dHAtd2dA
dzMub3JnPg0KU2VudDogU3VuLCBKdWwgMjksIDIwMTIgMDA6NTM6NDQgR01UKzAwOjAwDQpTdWJq
ZWN0OiBSZTogU3RyYXctbWFuIGZvciBvdXIgbmV4dCBjaGFydGVyDQoNCkZyb20gdGhlIGNoYXJ0
ZXI6DQoNCi0tLTg8LS0tDQpDaGFuZ2VzIHRvIHRoZSBleGlzdGluZyBzZW1hbnRpY3Mgb2YgSFRU
UCBhcmUgb3V0IG9mIHNjb3BlIGluIG9yZGVyIHRvDQpwcmVzZXJ2ZSB0aGUgbWVhbmluZyBvZiBt
ZXNzYWdlcyB0aGF0IG1pZ2h0IGNyb3NzIGEgMS4xIC0tPiAyLjAgLS0+IDEuMQ0KcmVxdWVzdCBj
aGFpbi4NCi0tLT44LS0tDQoNCmh0dHA6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy93Zy9odHRwYmlz
L2NoYXJ0ZXIvDQoNCkNoYW5naW5nIGhvdyB1c2VyIGFnZW50cyBpbnRlcnByZXQgdGhlIENvbnRl
bnQtVHlwZSBoZWFkZXIgd291bGQgY2hhbmdlIHRoZSBzZW1hbnRpY3Mgb2YgSFRUUCBhbmQgYXJl
IHRoZXJlZm9yZSBvdXQgb2Ygc2NvcGUgZm9yIEhUVFAvMi4wIGFjY29yZGluZyB0byBvdXIgY3Vy
cmVudCBjaGFydGVyLg0KDQpBZGFtDQoNCg0KT24gU2F0LCBKdWwgMjgsIDIwMTIgYXQgODowMSBB
TSwgTGFycnkgTWFzaW50ZXIgPG1hc2ludGVyQGFkb2JlLmNvbTxtYWlsdG86bWFzaW50ZXJAYWRv
YmUuY29tPj4gd3JvdGU6DQpUaGUgc25pZmZpbmcgSSB3YXMgaW4gcGFydGljdWxhciBob3Bpbmcg
dG8gc3RvcCBpcyBjb250ZW50LXR5cGUgc25pZmZpbmcuDQpodHRwOi8vdG9vbHMuaWV0Zi5vcmcv
aHRtbC9kcmFmdC1pZXRmLXdlYnNlYy1taW1lLXNuaWZmLTAzDQoNCiIgTWFueSB3ZWIgc2VydmVy
cyBzdXBwbHkgaW5jb3JyZWN0IENvbnRlbnQtVHlwZSBoZWFkZXIgZmllbGRzIHdpdGgNCiAgIHRo
ZWlyIEhUVFAgcmVzcG9uc2VzLiAgSW4gb3JkZXIgdG8gYmUgY29tcGF0aWJsZSB3aXRoIHRoZXNl
IHNlcnZlcnMsDQogICB1c2VyIGFnZW50cyBjb25zaWRlciB0aGUgY29udGVudCBvZiBIVFRQIHJl
c3BvbnNlcyBhcyB3ZWxsIGFzIHRoZQ0KICAgQ29udGVudC1UeXBlIGhlYWRlciBmaWVsZHMgd2hl
biBkZXRlcm1pbmluZyB0aGUgZWZmZWN0aXZlIG1lZGlhIHR5cGUNCiAgIG9mIHRoZSByZXNwb25z
ZS4iDQoNCklmIGJyb3dzZXJzIHN1ZGRlbmx5IHN0b3BwZWQgc25pZmZpbmcgSFRUUC8xLjEgY29u
dGVudCwgaXQgd291bGQgYnJlYWsgZXhpc3Rpbmcgd2ViIHNpdGVzLCBzbyBvZiBjb3Vyc2UgdGhl
IGJyb3dzZXIgbWFrZXJzIGFyZSByZWx1Y3RhbnQgdG8gZG8gdGhhdC4NCg0KSG93ZXZlciwgaWYg
aXQgd2FzIGEgcmVxdWlyZW1lbnQgdG8gc3VwcGx5IGEgX2NvcnJlY3RfIGNvbnRlbnQtdHlwZSBo
ZWFkZXIgZm9yIEhUVFAvMi4wLCBhbmQgbm8gSFRUUC8yLjAgY2xpZW50IHNuaWZmZWQsIHRoZW4g
c2l0ZXMgdXBncmFkaW5nIHRvIEhUVFAvMi4wIHdvdWxkIGZpeCB0aGVpciBjb250ZW50LXR5cGUg
c2VuZGluZyAoYmVjYXVzZSB3aGVuIHRoZXkgd2VyZSBkZXBsb3lpbmcgSFRUUC8yLjAgdGhleSB3
b3VsZCBoYXZlIHRvIGluIG9yZGVyIHRvIGdldCBhbnkgYnJvd3NlciB0byB3b3JrIHdpdGggdGhl
bS4pDQoNCkJhc2ljYWxseSwgc25pZmZpbmcgaXMgYSB3YXJ0IHdoaWNoIGJhY2t3YXJkIGNvbXBh
dGliaWxpdHkga2VlcHMgaW4gcGxhY2UuIEludHJvZHVjaW5nIGEgbmV3IHZlcnNpb24gaXMgYSB1
bmlxdWUgb3Bwb3J0dW5pdHkgdG8gcmVtb3ZlIGl0Lg0KDQpUaGUgaW1wcm92ZWQgcGVyZm9ybWFu
Y2Ugd291bGQgY29tZSBmcm9tIGhhdmluZyB0byBsb29rIGF0IHRoZSBjb250ZW50IHRvIGRldGVy
bWluZSBiZWZvcmUgcm91dGluZyB0byB0aGUgYXBwcm9wcmlhdGUgcHJvY2Vzc29yLg0KDQpMYXJy
eQ0KDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBBbW9zIEplZmZyaWVzIFtt
YWlsdG86c3F1aWQzQHRyZWVuZXQuY28ubno8bWFpbHRvOnNxdWlkM0B0cmVlbmV0LmNvLm56Pl0N
ClNlbnQ6IEZyaWRheSwgSnVseSAyNywgMjAxMiAxMTo1MyBQTQ0KVG86IGlldGYtaHR0cC13Z0B3
My5vcmc8bWFpbHRvOmlldGYtaHR0cC13Z0B3My5vcmc+DQpTdWJqZWN0OiBSZTogU3RyYXctbWFu
IGZvciBvdXIgbmV4dCBjaGFydGVyDQoNCk9uIDI4LzA3LzIwMTIgNjozOSBwLm0uLCBMYXJyeSBN
YXNpbnRlciB3cm90ZToNCj4gcmUgY2hhbmdlcyB0byBzZW1hbnRpY3M6IGNvbnNpZGVyIHRoZSBw
b3NzaWJpbGl0eSBvZiBlbGltaW5hdGluZw0KPiAic25pZmZpbmciIGluIEhUVFAvMi4wLiBJZiBz
bmlmZmluZyBpcyBqdXN0aWZpZWQgZm9yIGNvbXBhdGliaWxpdHkNCj4gd2l0aCBkZXBsb3llZCBz
ZXJ2ZXJzLCBjb3VsZCB3ZSBlbGltaW5hdGUgc25pZmZpbmcgZm9yIDIuMCBzaXRlcz8NCj4NCj4g
SXQgd291bGQgaW1wcm92ZSByZWxpYWJpbGl0eSwgc2VjdXJpdHksIGFuZCBldmVuIHBlcmZvcm1h
bmNlLiBZZXMsDQo+IHBvcHVsYXIgYnJvd3NlcnMgd291bGQgaGF2ZSB0byBhZ3JlZSBub3QgdG8g
c25pZmYgc2l0ZXMgcnVubmluZyAyLjAsDQo+IHNvIHRoYXQgc2l0ZXMgd2FudGluZyAyOjAgYmVu
ZWZpdHMgd2lsbCBmaXggdGhlaXIgY29uZmlndXJhdGlvbi4NCj4NCj4gTGlrZWx5IHRoZXJlIGFy
ZSBtYW55IG90aGVyIHdhcnRzIHRoYXQgY2FuIGJlIHJlbW92ZWQgaWYgdGhlcmUgaXMgYQ0KPiB2
ZXJzaW9uIHVwZ3JhZGUuDQoNCldoaWNoIG9mIHRoZSBzZXZlcmFsIG1lYW5pbmdzIG9mICJzbmlm
ZmluZyIgYXJlIHlvdSB0YWxraW5nIGFib3V0IGV4YWN0bHk/DQoNCkFZSg0KDQoNCg0K

--_000_c3ae1b1c912e419184ced50caef9a0e3blur_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5ib2R5IHt3b3JkLXdyYXA6IGJyZWFr
LXdvcmQ7IGJhY2tncm91bmQtY29sb3I6I2ZmZmZmZjt9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGRp
diBzdHlsZT0iZm9udC1mYW1pbHk6IHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTZweCI+d2hhdCBh
cmUgdGhlIHVzZSBjYXNlcyBhbmQgcmVxdWlyZW1lbnRzIGZvciBzdWNoIGdhdGV3YXlzPzxicj48
YnI+QSBnZW5lcmFsIHB1cnBvc2Ugb21uaS1zaXRlIDIuMC0mZ3Q7MS4xIGdhdGV3YXkgbWlnaHQg
bmVlZCB0byBkbyBzbmlmZmluZyBvZiBzaXRlcyBub3Qga25vd24gdG8gaGF2ZSBjb3JyZWN0IGNv
bnRlbnQtdHlwZSBoZWFkZXJzLCBidXQgMS4xLSZndDsyLjAgZ2F0ZXdheXMgc2hvdWxkbid0IG5l
ZWQgdG8gY2hhbmdlIGNvbnRlbnQtdHlwZSAuLi4uIHNuaWZmaW5nIGxlYXZlcyBjb3JyZWN0bHkg
bGFiZWxlZCBjb250ZW50IGludGFjdCwgb2YgY291cnNlLiA6KSZuYnNwOyA8YnI+PGJyPjxmb250
IGNvbG9yPSIjMzMzMzMzIj48aT48c3BhbiBzdHlsZT0iZm9udC1zaXplOiAxNHB4Ij48Zm9udCBm
YWNlPSJzYW5zLXNlcmlmIj5Db25uZWN0ZWQgYnkgRFJPSUQgb24gVmVyaXpvbiBXaXJlbGVzczwv
Zm9udD48L3NwYW4+PC9pPjwvZm9udD48L2Rpdj48YnI+PGJyPi0tLS0tT3JpZ2luYWwgbWVzc2Fn
ZS0tLS0tPGJyPjxibG9ja3F1b3RlIHN0eWxlPSI7IGJvcmRlci1sZWZ0OiAycHggc29saWQgcmdi
KDE2LCAxNiwgMjU1KTsgbWFyZ2luLWxlZnQ6IDVweDsgcGFkZGluZy1sZWZ0OiA1cHg7Ij48ZGl2
IHN0eWxlPSJmb250LWZhbWlseTogc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4Ij48Yj5Gcm9t
OiA8L2I+QWRhbSBCYXJ0aCAmbHQ7dzNjQGFkYW1iYXJ0aC5jb20mZ3Q7PGI+PGJyPlRvOiA8L2I+
TGFycnkgTWFzaW50ZXIgJmx0O21hc2ludGVyQGFkb2JlLmNvbSZndDs8Yj48YnI+Q2M6IDwvYj4m
cXVvdDtpZXRmLWh0dHAtd2dAdzMub3JnJnF1b3Q7ICZsdDtpZXRmLWh0dHAtd2dAdzMub3JnJmd0
OzxiPjxicj5TZW50OiA8L2I+U3VuLCBKdWwgMjksIDIwMTIgMDA6NTM6NDQgR01UKzAwOjAwPGI+
PGJyPlN1YmplY3Q6IDwvYj5SZTogU3RyYXctbWFuIGZvciBvdXIgbmV4dCBjaGFydGVyPGJyPjxi
cj48L2Rpdj48ZGl2Pg0KDQo8ZGl2Pg0KRnJvbSB0aGUgY2hhcnRlcjoNCjxkaXY+PGJyPg0KPC9k
aXY+DQo8ZGl2Pi0tLTgmbHQ7LS0tPC9kaXY+DQo8ZGl2PjxzcGFuIHN0eWxlPSJmb250LWZhbWls
eTphcmlhbCxoZWx2ZXRpY2EsY2xlYW4sc2Fucy1zZXJpZjsgZm9udC1zaXplOjEzcHg7IGxpbmUt
aGVpZ2h0OjE2cHgiPkNoYW5nZXMgdG8gdGhlIGV4aXN0aW5nIHNlbWFudGljcyBvZiBIVFRQIGFy
ZSBvdXQgb2Ygc2NvcGUgaW4gb3JkZXIgdG8mbmJzcDs8L3NwYW4+PGJyIHN0eWxlPSJmb250LWZh
bWlseTphcmlhbCxoZWx2ZXRpY2EsY2xlYW4sc2Fucy1zZXJpZjsgZm9udC1zaXplOjEzcHg7IGxp
bmUtaGVpZ2h0OjE2cHgiPg0KPHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OmFyaWFsLGhlbHZldGlj
YSxjbGVhbixzYW5zLXNlcmlmOyBmb250LXNpemU6MTNweDsgbGluZS1oZWlnaHQ6MTZweCI+cHJl
c2VydmUgdGhlIG1lYW5pbmcgb2YgbWVzc2FnZXMgdGhhdCBtaWdodCBjcm9zcyBhIDEuMSAtLSZn
dDsgMi4wIC0tJmd0OyAxLjEmbmJzcDs8L3NwYW4+PGJyIHN0eWxlPSJmb250LWZhbWlseTphcmlh
bCxoZWx2ZXRpY2EsY2xlYW4sc2Fucy1zZXJpZjsgZm9udC1zaXplOjEzcHg7IGxpbmUtaGVpZ2h0
OjE2cHgiPg0KPHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OmFyaWFsLGhlbHZldGljYSxjbGVhbixz
YW5zLXNlcmlmOyBmb250LXNpemU6MTNweDsgbGluZS1oZWlnaHQ6MTZweCI+cmVxdWVzdCBjaGFp
bi48L3NwYW4+PC9kaXY+DQo8ZGl2Pg0KPGRpdj4tLS0mZ3Q7OC0tLTwvZGl2Pg0KPC9kaXY+DQo8
ZGl2Pjxicj4NCjwvZGl2Pg0KPGRpdj48Zm9udCBmYWNlPSJhcmlhbCwgaGVsdmV0aWNhLCBjbGVh
biwgc2Fucy1zZXJpZiI+PHNwYW4gc3R5bGU9ImxpbmUtaGVpZ2h0OjE2cHgiPjxhIGhyZWY9Imh0
dHA6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy93Zy9odHRwYmlzL2NoYXJ0ZXIvIiB0YXJnZXQ9Il9C
TEFOSyI+aHR0cDovL2RhdGF0cmFja2VyLmlldGYub3JnL3dnL2h0dHBiaXMvY2hhcnRlci88L2E+
PC9zcGFuPjwvZm9udD48L2Rpdj4NCjxkaXY+PGZvbnQgZmFjZT0iYXJpYWwsIGhlbHZldGljYSwg
Y2xlYW4sIHNhbnMtc2VyaWYiPjxzcGFuIHN0eWxlPSJsaW5lLWhlaWdodDoxNnB4Ij48YnI+DQo8
L3NwYW4+PC9mb250PjwvZGl2Pg0KPGRpdj48Zm9udCBmYWNlPSJhcmlhbCwgaGVsdmV0aWNhLCBj
bGVhbiwgc2Fucy1zZXJpZiI+PHNwYW4gc3R5bGU9ImxpbmUtaGVpZ2h0OjE2cHgiPkNoYW5naW5n
IGhvdyB1c2VyIGFnZW50cyBpbnRlcnByZXQgdGhlIENvbnRlbnQtVHlwZSBoZWFkZXIgd291bGQg
Y2hhbmdlIHRoZSBzZW1hbnRpY3Mgb2YgSFRUUCBhbmQgYXJlIHRoZXJlZm9yZSBvdXQgb2Ygc2Nv
cGUgZm9yIEhUVFAvMi4wIGFjY29yZGluZyB0byBvdXIgY3VycmVudCBjaGFydGVyLjwvc3Bhbj48
L2ZvbnQ+PC9kaXY+DQo8ZGl2Pjxmb250IGZhY2U9ImFyaWFsLCBoZWx2ZXRpY2EsIGNsZWFuLCBz
YW5zLXNlcmlmIj48c3BhbiBzdHlsZT0ibGluZS1oZWlnaHQ6MTZweCI+PGJyPg0KPC9zcGFuPjwv
Zm9udD48L2Rpdj4NCjxkaXY+PGZvbnQgZmFjZT0iYXJpYWwsIGhlbHZldGljYSwgY2xlYW4sIHNh
bnMtc2VyaWYiPjxzcGFuIHN0eWxlPSJsaW5lLWhlaWdodDoxNnB4Ij5BZGFtPC9zcGFuPjwvZm9u
dD48L2Rpdj4NCjxkaXY+PGZvbnQgZmFjZT0iYXJpYWwsIGhlbHZldGljYSwgY2xlYW4sIHNhbnMt
c2VyaWYiPjxzcGFuIHN0eWxlPSJsaW5lLWhlaWdodDoxNnB4Ij48YnI+DQo8L3NwYW4+PC9mb250
Pjxicj4NCjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj5PbiBTYXQsIEp1bCAyOCwgMjAxMiBhdCA4
OjAxIEFNLCBMYXJyeSBNYXNpbnRlciA8c3BhbiBkaXI9Imx0ciI+DQombHQ7PGEgaHJlZj0ibWFp
bHRvOm1hc2ludGVyQGFkb2JlLmNvbSI+bWFzaW50ZXJAYWRvYmUuY29tPC9hPiZndDs8L3NwYW4+
IHdyb3RlOjxicj4NCjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1hcmdp
bjowIDAgMCAuOGV4OyBib3JkZXItbGVmdDoxcHggI2NjYyBzb2xpZDsgcGFkZGluZy1sZWZ0OjFl
eCI+DQpUaGUgc25pZmZpbmcgSSB3YXMgaW4gcGFydGljdWxhciBob3BpbmcgdG8gc3RvcCBpcyBj
b250ZW50LXR5cGUgc25pZmZpbmcuPGJyPg0KPGEgaHJlZj0iaHR0cDovL3Rvb2xzLmlldGYub3Jn
L2h0bWwvZHJhZnQtaWV0Zi13ZWJzZWMtbWltZS1zbmlmZi0wMyIgdGFyZ2V0PSJfQkxBTksiPmh0
dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LWlldGYtd2Vic2VjLW1pbWUtc25pZmYtMDM8
L2E+PGJyPg0KPGJyPg0KJnF1b3Q7IE1hbnkgd2ViIHNlcnZlcnMgc3VwcGx5IGluY29ycmVjdCBD
b250ZW50LVR5cGUgaGVhZGVyIGZpZWxkcyB3aXRoPGJyPg0KJm5ic3A7ICZuYnNwO3RoZWlyIEhU
VFAgcmVzcG9uc2VzLiAmbmJzcDtJbiBvcmRlciB0byBiZSBjb21wYXRpYmxlIHdpdGggdGhlc2Ug
c2VydmVycyw8YnI+DQombmJzcDsgJm5ic3A7dXNlciBhZ2VudHMgY29uc2lkZXIgdGhlIGNvbnRl
bnQgb2YgSFRUUCByZXNwb25zZXMgYXMgd2VsbCBhcyB0aGU8YnI+DQombmJzcDsgJm5ic3A7Q29u
dGVudC1UeXBlIGhlYWRlciBmaWVsZHMgd2hlbiBkZXRlcm1pbmluZyB0aGUgZWZmZWN0aXZlIG1l
ZGlhIHR5cGU8YnI+DQombmJzcDsgJm5ic3A7b2YgdGhlIHJlc3BvbnNlLiZxdW90Ozxicj4NCjxi
cj4NCklmIGJyb3dzZXJzIHN1ZGRlbmx5IHN0b3BwZWQgc25pZmZpbmcgSFRUUC8xLjEgY29udGVu
dCwgaXQgd291bGQgYnJlYWsgZXhpc3Rpbmcgd2ViIHNpdGVzLCBzbyBvZiBjb3Vyc2UgdGhlIGJy
b3dzZXIgbWFrZXJzIGFyZSByZWx1Y3RhbnQgdG8gZG8gdGhhdC48YnI+DQo8YnI+DQpIb3dldmVy
LCBpZiBpdCB3YXMgYSByZXF1aXJlbWVudCB0byBzdXBwbHkgYSBfY29ycmVjdF8gY29udGVudC10
eXBlIGhlYWRlciBmb3IgSFRUUC8yLjAsIGFuZCBubyBIVFRQLzIuMCBjbGllbnQgc25pZmZlZCwg
dGhlbiBzaXRlcyB1cGdyYWRpbmcgdG8gSFRUUC8yLjAgd291bGQgZml4IHRoZWlyIGNvbnRlbnQt
dHlwZSBzZW5kaW5nIChiZWNhdXNlIHdoZW4gdGhleSB3ZXJlIGRlcGxveWluZyBIVFRQLzIuMCB0
aGV5IHdvdWxkIGhhdmUgdG8gaW4gb3JkZXINCiB0byBnZXQgYW55IGJyb3dzZXIgdG8gd29yayB3
aXRoIHRoZW0uKTxicj4NCjxicj4NCkJhc2ljYWxseSwgc25pZmZpbmcgaXMgYSB3YXJ0IHdoaWNo
IGJhY2t3YXJkIGNvbXBhdGliaWxpdHkga2VlcHMgaW4gcGxhY2UuIEludHJvZHVjaW5nIGEgbmV3
IHZlcnNpb24gaXMgYSB1bmlxdWUgb3Bwb3J0dW5pdHkgdG8gcmVtb3ZlIGl0Ljxicj4NCjxicj4N
ClRoZSBpbXByb3ZlZCBwZXJmb3JtYW5jZSB3b3VsZCBjb21lIGZyb20gaGF2aW5nIHRvIGxvb2sg
YXQgdGhlIGNvbnRlbnQgdG8gZGV0ZXJtaW5lIGJlZm9yZSByb3V0aW5nIHRvIHRoZSBhcHByb3By
aWF0ZSBwcm9jZXNzb3IuPGJyPg0KPHNwYW4gY2xhc3M9IkhPRW5aYiI+PGZvbnQgY29sb3I9IiM4
ODg4ODgiPjxicj4NCkxhcnJ5PGJyPg0KPC9mb250Pjwvc3Bhbj4NCjxkaXYgY2xhc3M9ImltIEhP
RW5aYiI+PGJyPg0KPGJyPg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS08YnI+DQpGcm9tOiBB
bW9zIEplZmZyaWVzIFttYWlsdG86PGEgaHJlZj0ibWFpbHRvOnNxdWlkM0B0cmVlbmV0LmNvLm56
Ij5zcXVpZDNAdHJlZW5ldC5jby5uejwvYT5dPGJyPg0KPC9kaXY+DQo8ZGl2IGNsYXNzPSJpbSBI
T0VuWmIiPlNlbnQ6IEZyaWRheSwgSnVseSAyNywgMjAxMiAxMTo1MyBQTTxicj4NClRvOiA8YSBo
cmVmPSJtYWlsdG86aWV0Zi1odHRwLXdnQHczLm9yZyI+aWV0Zi1odHRwLXdnQHczLm9yZzwvYT48
YnI+DQpTdWJqZWN0OiBSZTogU3RyYXctbWFuIGZvciBvdXIgbmV4dCBjaGFydGVyPGJyPg0KPGJy
Pg0KPC9kaXY+DQo8ZGl2IGNsYXNzPSJIT0VuWmIiPg0KPGRpdiBjbGFzcz0iaDUiPk9uIDI4LzA3
LzIwMTIgNjozOSBwLm0uLCBMYXJyeSBNYXNpbnRlciB3cm90ZTo8YnI+DQomZ3Q7IHJlIGNoYW5n
ZXMgdG8gc2VtYW50aWNzOiBjb25zaWRlciB0aGUgcG9zc2liaWxpdHkgb2YgZWxpbWluYXRpbmc8
YnI+DQomZ3Q7ICZxdW90O3NuaWZmaW5nJnF1b3Q7IGluIEhUVFAvMi4wLiBJZiBzbmlmZmluZyBp
cyBqdXN0aWZpZWQgZm9yIGNvbXBhdGliaWxpdHk8YnI+DQomZ3Q7IHdpdGggZGVwbG95ZWQgc2Vy
dmVycywgY291bGQgd2UgZWxpbWluYXRlIHNuaWZmaW5nIGZvciAyLjAgc2l0ZXM/PGJyPg0KJmd0
Ozxicj4NCiZndDsgSXQgd291bGQgaW1wcm92ZSByZWxpYWJpbGl0eSwgc2VjdXJpdHksIGFuZCBl
dmVuIHBlcmZvcm1hbmNlLiBZZXMsPGJyPg0KJmd0OyBwb3B1bGFyIGJyb3dzZXJzIHdvdWxkIGhh
dmUgdG8gYWdyZWUgbm90IHRvIHNuaWZmIHNpdGVzIHJ1bm5pbmcgMi4wLDxicj4NCiZndDsgc28g
dGhhdCBzaXRlcyB3YW50aW5nIDI6MCBiZW5lZml0cyB3aWxsIGZpeCB0aGVpciBjb25maWd1cmF0
aW9uLjxicj4NCiZndDs8YnI+DQomZ3Q7IExpa2VseSB0aGVyZSBhcmUgbWFueSBvdGhlciB3YXJ0
cyB0aGF0IGNhbiBiZSByZW1vdmVkIGlmIHRoZXJlIGlzIGE8YnI+DQomZ3Q7IHZlcnNpb24gdXBn
cmFkZS48YnI+DQo8YnI+DQpXaGljaCBvZiB0aGUgc2V2ZXJhbCBtZWFuaW5ncyBvZiAmcXVvdDtz
bmlmZmluZyZxdW90OyBhcmUgeW91IHRhbGtpbmcgYWJvdXQgZXhhY3RseT88YnI+DQo8YnI+DQpB
WUo8YnI+DQo8YnI+DQo8YnI+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9ibG9ja3F1b3RlPg0KPC9kaXY+
DQo8YnI+DQo8L2Rpdj4NCjwvZGl2Pg0KDQo8L2Rpdj48L2Jsb2NrcXVvdGU+PC9ib2R5PjwvaHRt
bD4NCg==

--_000_c3ae1b1c912e419184ced50caef9a0e3blur_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 11:54:35 2012
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 4511721F875C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 11:54:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.144
X-Spam-Level: 
X-Spam-Status: No, score=-8.144 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 g9BVu2hYAl0Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 11:54:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8567021F875A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 11:54:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvYbi-0007Z8-SA for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 18:52:50 +0000
Resent-Date: Sun, 29 Jul 2012 18:52:50 +0000
Resent-Message-Id: <E1SvYbi-0007Z8-SA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvYbW-0007EW-Kw for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 18:52:38 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvYbV-0001Dr-6u for ietf-http-wg@w3.org; Sun, 29 Jul 2012 18:52:38 +0000
Received: from dhcp-51a6.meeting.ietf.org (unknown [130.129.81.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 75C4B22E256; Sun, 29 Jul 2012 14:52:15 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <80f57360-6d21-43be-952c-87344a010013@blur>
Date: Sun, 29 Jul 2012 11:52:15 -0700
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2FE08411-B722-4F4E-AF5C-98ED2239D0FE@mnot.net>
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur> <80f57360-6d21-43be-952c-87344a010013@blur>
To: Larry Masinter <masinter@adobe.com>
X-Mailer: Apple Mail (2.1485)
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=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvYbV-0001Dr-6u 980452d76016d877c6e3f6fa22e6de11
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/2FE08411-B722-4F4E-AF5C-98ED2239D0FE@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14801
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>

Sniffing -- for better or worse -- isn't really a HTTP behaviour. I.e., =
it may use a HTTP header (User-Agent), but it's more a use *of* HTTP -- =
just as Web browsing is generally.

Also -- and everyone really needs to understand this -- HTTP is NOT an =
end-to-end protocol, and therefore browsers can't tell whether or not =
it's a "2.0 site" because there may be intermediary transitions in the =
middle.=20

As far as shaving warts off -- doing so in the protocol is really, =
really hard, because the deployed footprint is so large. My preferred =
approach is to allow sites to opt out -- e.g., =
<http://tools.ietf.org/html/draft-nottingham-http-browser-hints-00>.

Cheers,


On 27/07/2012, at 11:39 PM, Larry Masinter <masinter@adobe.com> wrote:

> re changes to semantics: consider the possibility of eliminating =
"sniffing" in HTTP/2.0. If sniffing is justified for compatibility with =
deployed servers, could we eliminate sniffing for 2.0 sites?
>=20
> It would improve reliability, security, and even performance. Yes, =
popular browsers would have to agree not to sniff sites running 2.0, so =
that sites wanting 2:0 benefits will fix their configuration. =20
>=20
> Likely there are many other warts that can be removed if there is a =
version upgrade.
>=20
>=20
> -----Original message-----
> From: Mark Nottingham <mnot@mnot.net>
> To: Amos Jeffries <squid3@treenet.co.nz>
> Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: Fri, Jul 27, 2012 06:16:31 GMT+00:00
> Subject: Re: Straw-man for our next charter
>=20
>=20
> On 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>=20
> > On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
> >> Hi Amos,
> >>=20
> >> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> =
wrote:
> >>>> Work will begin using XXX as a starting point; all proposals are =
to be expressed
> >>>> in terms of changes to the that document.
> >>> I just think I'll throw a spanner in the general direction of the =
works here....
> >>>=20
> >>> How realistic is it to expect the HTTPbis 1.1 draft documents fill =
that role? At least we can guarantee that modifications to adjust them =
for 2.0 specifics will not loose or add any features unintentionally =
that could affect HTTP/1.1 compatibility.
> >> I'm not sure what your concern is here...
> >=20
> > concern 1) is the feature parity between the HTTP/1 drafts and any =
other document that gets picked. ie workload to get the new doc =
completed.
> >=20
> > concern 2) is the politcal battle to get document X to meet the WG =
goals.
> >=20
> > Much like what I said in my expression of interest summary. The =
HTTP/2 drafts on the tables (own one included) do not come up to scratch =
for HTTP/2 starting points.
> >=20
> > I know a lot of people have interest in SPDY, but to make that the =
HTTP/2 base doc there are a fair chunk of things which will need pruning =
out - if only because they are new semantics. It is probably not a good =
idea for the WG to start off facing that political battle to ensure its =
semantically seamless to HTTP/1.1. The other documents are bare-bones =
with specific focus on framing improvement over WG drafts part1-2.
>=20
> Aha. I was assuming that would come up; please discuss (details would =
help).
>=20
>=20
> > However taking the HTTPbis draft documents and replacing sections of =
them with SPDY mechanisms, frame design, etc as we agree on particulars =
- that has a clear chance of faster success.
>=20
> That's an interesting approach.=20
>=20
> Cheers,
>=20
>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 11:56:50 2012
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 CD2F621F8652 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 11:56:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.372
X-Spam-Level: 
X-Spam-Status: No, score=-9.372 tagged_above=-999 required=5 tests=[AWL=1.228, BAYES_00=-2.599, 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 wZ1fv5JbZ3cA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 11:56:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0456621F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 11:56:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvYev-0000gP-T1 for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 18:56:09 +0000
Resent-Date: Sun, 29 Jul 2012 18:56:09 +0000
Resent-Message-Id: <E1SvYev-0000gP-T1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvYek-0000fZ-6s for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 18:55:58 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvYej-0001Ig-0K for ietf-http-wg@w3.org; Sun, 29 Jul 2012 18:55:58 +0000
Received: from dhcp-51a6.meeting.ietf.org (unknown [130.129.81.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7EBAE22E253; Sun, 29 Jul 2012 14:55:31 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <FF649A28BA27384396FD4F7BADF45DDF382E703C@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Date: Sun, 29 Jul 2012 11:55:32 -0700
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <16625E66-FF5E-4ED8-BA12-87E4D694903D@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net> <501230C2.1060602@treenet.co.nz> <6ABAF033-557A-488B-9EB2-7F79C4760C5A@mnot.net> <FF649A28BA27384396FD4F7BADF45DDF382E703C@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
To: Rob Trace <Rob.Trace@microsoft.com>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvYej-0001Ig-0K 5329da75ed9bc7406f9b3830ed8a63aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/16625E66-FF5E-4ED8-BA12-87E4D694903D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14802
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>

So, we need to have some more detail here.

My take is that we're already implicitly starting from HTTP/1.1. I.e., =
I'd be very surprised (and concerned) if we found ourselves rewriting =
any of parts 2-7; all of our changes *should* be confined to part 1.=20

And, while I can imagine starting from part 1 and changing it =
section-by-section, I do wonder if it offers significant benefit over =
writing something that just aims to replace p1.

All of that said -- it's pretty clear that the current proposals are not =
written as analogues to p1, and probably need to move in that direction.

Cheers,


On 27/07/2012, at 2:30 PM, Rob Trace <Rob.Trace@microsoft.com> wrote:

> +1.  Starting from 1.1 is an interesting approach and worth =
discussing.
>=20
> Thanks!!
>=20
> -Rob
>=20
> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]=20
> Sent: Thursday, July 26, 2012 11:15 PM
> To: Amos Jeffries
> Cc: ietf-http-wg@w3.org
> Subject: Re: Straw-man for our next charter
>=20
>=20
> On 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>=20
>> On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
>>> Hi Amos,
>>>=20
>>> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> =
wrote:
>>>>> Work will begin using XXX as a starting point; all proposals are =
to=20
>>>>> be expressed in terms of changes to the that document.
>>>> I just think I'll throw a spanner in the general direction of the =
works here....
>>>>=20
>>>> How realistic is it to expect the HTTPbis 1.1 draft documents fill =
that role? At least we can guarantee that modifications to adjust them =
for 2.0 specifics will not loose or add any features unintentionally =
that could affect HTTP/1.1 compatibility.
>>> I'm not sure what your concern is here...
>>=20
>> concern 1) is the feature parity between the HTTP/1 drafts and any =
other document that gets picked. ie workload to get the new doc =
completed.
>>=20
>> concern 2) is the politcal battle to get document X to meet the WG =
goals.
>>=20
>> Much like what I said in my expression of interest summary. The =
HTTP/2 drafts on the tables (own one included) do not come up to scratch =
for HTTP/2 starting points.
>>=20
>> I know a lot of people have interest in SPDY, but to make that the =
HTTP/2 base doc there are a fair chunk of things which will need pruning =
out - if only because they are new semantics. It is probably not a good =
idea for the WG to start off facing that political battle to ensure its =
semantically seamless to HTTP/1.1. The other documents are bare-bones =
with specific focus on framing improvement over WG drafts part1-2.
>=20
> Aha. I was assuming that would come up; please discuss (details would =
help).
>=20
>=20
>> However taking the HTTPbis draft documents and replacing sections of =
them with SPDY mechanisms, frame design, etc as we agree on particulars =
- that has a clear chance of faster success.
>=20
> That's an interesting approach.=20
>=20
> Cheers,
>=20
>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20
>=20
>=20

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 11:57:37 2012
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 2480C21F8751 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 11:57:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.985
X-Spam-Level: 
X-Spam-Status: No, score=-9.985 tagged_above=-999 required=5 tests=[AWL=0.614, BAYES_00=-2.599, 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 qE29B3heMWuw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 11:57:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B5AE21F8652 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 11:57: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 1SvYft-0000s9-GU for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 18:57:09 +0000
Resent-Date: Sun, 29 Jul 2012 18:57:09 +0000
Resent-Message-Id: <E1SvYft-0000s9-GU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvYfh-0000qT-DV for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 18:56:57 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvYfg-0001K3-DA for ietf-http-wg@w3.org; Sun, 29 Jul 2012 18:56:57 +0000
Received: from dhcp-51a6.meeting.ietf.org (unknown [130.129.81.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 31F2D22E253; Sun, 29 Jul 2012 14:56:34 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwt2r_b_pCJZh-FwRSaf9toZ4+NyiRAa5bRoccT4rmRvPw@mail.gmail.com>
Date: Sun, 29 Jul 2012 11:56:36 -0700
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2AD69546-762C-43CC-82C5-710981F59DEB@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <CAMeZVwt2r_b_pCJZh-FwRSaf9toZ4+NyiRAa5bRoccT4rmRvPw@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
X-Mailer: Apple Mail (2.1485)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvYfg-0001K3-DA 6c98513658ee1c2cc3cf7c68b3933c75
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/2AD69546-762C-43CC-82C5-710981F59DEB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14803
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>

Hello,

At this point, I think it's just discussion; I'm still talking to the =
Security ADs and others about how to get the most benefit from our time =
together.=20

Cheers,


On 29/07/2012, at 12:13 AM, Yutaka OIWA <y.oiwa@aist.go.jp> wrote:

> Dear Mark,
>=20
> Regarding http authentication,
> do we have some specific materials to prepare for the Tuesday's =
session?
> Just a discussion?
>=20
> I'm looking forward to seeing all of you in Vancouver.
>=20
> --=20
> Yutaka OIWA, Ph.D.              Leader, Software Reliability Research =
Group
>                             Research Institute for Secure Systems =
(RISEC)
>   National Institute of Advanced Industrial Science and Technology =
(AIST)
>                     Mail addresses: <y.oiwa@aist.go.jp>, =
<yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 =
46B5]

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 12:24:07 2012
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 6D48321F8777 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 12:24:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.628
X-Spam-Level: 
X-Spam-Status: No, score=-7.628 tagged_above=-999 required=5 tests=[AWL=0.515, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 QSuwkQG1EmZV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 12:24:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 24A0821F8753 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 12:24:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvZ50-0003ch-Ph for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 19:23:06 +0000
Resent-Date: Sun, 29 Jul 2012 19:23:06 +0000
Resent-Message-Id: <E1SvZ50-0003ch-Ph@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvZ4o-0003bm-AI for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 19:22:54 +0000
Received: from exprod6og101.obsmtp.com ([64.18.1.181]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvZ4m-0001xk-Ld for ietf-http-wg@w3.org; Sun, 29 Jul 2012 19:22:54 +0000
Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob101.postini.com ([64.18.5.12]) with SMTP ID DSNKUBWNdBAIC96tNmqD8AsBfPivYVVYz4N1@postini.com; Sun, 29 Jul 2012 12:22:52 PDT
Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6TJMR8N010358; Sun, 29 Jul 2012 12:22:27 -0700 (PDT)
Received: from nahub02.corp.adobe.com (nahub02.corp.adobe.com [10.8.189.98]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q6TJMQYr003576; Sun, 29 Jul 2012 12:22:27 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub02.corp.adobe.com ([10.8.189.98]) with mapi; Sun, 29 Jul 2012 12:22:26 -0700
From: Larry Masinter <masinter@adobe.com>
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 29 Jul 2012 12:22:40 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1tv3x3R4NQj/aOT2ysM0gzUS5Wqw==
Message-ID: <083cb3bf-f4fb-4f58-aa52-967a1c8d2767@blur>
References: <78a6f5a1-ea4a-44a8-8e0b-d3e6041a3142@blur>
In-Reply-To: <78a6f5a1-ea4a-44a8-8e0b-d3e6041a3142@blur>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_083cb3bff4fb4f58aa52967a1c8d2767blur_"
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.181; envelope-from=masinter@adobe.com; helo=exprod6og101.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvZ4m-0001xk-Ld 124c2db00a5fecda7cedd195aa009ae3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/083cb3bf-f4fb-4f58-aa52-967a1c8d2767@blur>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14804
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>

--_000_083cb3bff4fb4f58aa52967a1c8d2767blur_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

ZGVmaW5pbmcgdGhlIG1lYW5pbmcgYW5kIGV4cGVjdGVkIGJlaGF2aW9yIG9mIHJlY2lwaWVudHMg
b2YgaGVhZGVycyBpcyBhIHByb3RvY29sIGlzc3VlIG9mIGludGVyZXN0IHRvIGludGVybWVkaWFy
aWVzIGFzIHdlbGwgYXMgcmVjZWl2ZXJzLg0KDQoNCi0tLS0tT3JpZ2luYWwgbWVzc2FnZS0tLS0t
DQpGcm9tOiBNYXJrIE5vdHRpbmdoYW0gPG1ub3RAbW5vdC5uZXQ+DQpUbzogTGFycnkgTWFzaW50
ZXIgPG1hc2ludGVyQGFkb2JlLmNvbT4NCkNjOiAiaWV0Zi1odHRwLXdnQHczLm9yZyIgPGlldGYt
aHR0cC13Z0B3My5vcmc+DQpTZW50OiBTdW4sIEp1bCAyOSwgMjAxMiAxODo1MjoxOSBHTVQrMDA6
MDANClN1YmplY3Q6IFJlOiBTdHJhdy1tYW4gZm9yIG91ciBuZXh0IGNoYXJ0ZXINCg0KU25pZmZp
bmcgLS0gZm9yIGJldHRlciBvciB3b3JzZSAtLSBpc24ndCByZWFsbHkgYSBIVFRQIGJlaGF2aW91
ci4gSS5lLiwgaXQgbWF5IHVzZSBhIEhUVFAgaGVhZGVyIChVc2VyLUFnZW50KSwgYnV0IGl0J3Mg
bW9yZSBhIHVzZSAqb2YqIEhUVFAgLS0ganVzdCBhcyBXZWIgYnJvd3NpbmcgaXMgZ2VuZXJhbGx5
Lg0KDQpBbHNvIC0tIGFuZCBldmVyeW9uZSByZWFsbHkgbmVlZHMgdG8gdW5kZXJzdGFuZCB0aGlz
IC0tIEhUVFAgaXMgTk9UIGFuIGVuZC10by1lbmQgcHJvdG9jb2wsIGFuZCB0aGVyZWZvcmUgYnJv
d3NlcnMgY2FuJ3QgdGVsbCB3aGV0aGVyIG9yIG5vdCBpdCdzIGEgIjIuMCBzaXRlIiBiZWNhdXNl
IHRoZXJlIG1heSBiZSBpbnRlcm1lZGlhcnkgdHJhbnNpdGlvbnMgaW4gdGhlIG1pZGRsZS4NCg0K
QXMgZmFyIGFzIHNoYXZpbmcgd2FydHMgb2ZmIC0tIGRvaW5nIHNvIGluIHRoZSBwcm90b2NvbCBp
cyByZWFsbHksIHJlYWxseSBoYXJkLCBiZWNhdXNlIHRoZSBkZXBsb3llZCBmb290cHJpbnQgaXMg
c28gbGFyZ2UuIE15IHByZWZlcnJlZCBhcHByb2FjaCBpcyB0byBhbGxvdyBzaXRlcyB0byBvcHQg
b3V0IC0tIGUuZy4sIDxodHRwOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1ub3R0aW5naGFt
LWh0dHAtYnJvd3Nlci1oaW50cy0wMD4uDQoNCkNoZWVycywNCg0KDQpPbiAyNy8wNy8yMDEyLCBh
dCAxMTozOSBQTSwgTGFycnkgTWFzaW50ZXIgPG1hc2ludGVyQGFkb2JlLmNvbT4gd3JvdGU6DQoN
Cj4gcmUgY2hhbmdlcyB0byBzZW1hbnRpY3M6IGNvbnNpZGVyIHRoZSBwb3NzaWJpbGl0eSBvZiBl
bGltaW5hdGluZyAic25pZmZpbmciIGluIEhUVFAvMi4wLiBJZiBzbmlmZmluZyBpcyBqdXN0aWZp
ZWQgZm9yIGNvbXBhdGliaWxpdHkgd2l0aCBkZXBsb3llZCBzZXJ2ZXJzLCBjb3VsZCB3ZSBlbGlt
aW5hdGUgc25pZmZpbmcgZm9yIDIuMCBzaXRlcz8NCj4NCj4gSXQgd291bGQgaW1wcm92ZSByZWxp
YWJpbGl0eSwgc2VjdXJpdHksIGFuZCBldmVuIHBlcmZvcm1hbmNlLiBZZXMsIHBvcHVsYXIgYnJv
d3NlcnMgd291bGQgaGF2ZSB0byBhZ3JlZSBub3QgdG8gc25pZmYgc2l0ZXMgcnVubmluZyAyLjAs
IHNvIHRoYXQgc2l0ZXMgd2FudGluZyAyOjAgYmVuZWZpdHMgd2lsbCBmaXggdGhlaXIgY29uZmln
dXJhdGlvbi4NCj4NCj4gTGlrZWx5IHRoZXJlIGFyZSBtYW55IG90aGVyIHdhcnRzIHRoYXQgY2Fu
IGJlIHJlbW92ZWQgaWYgdGhlcmUgaXMgYSB2ZXJzaW9uIHVwZ3JhZGUuDQo+DQo+DQo+IC0tLS0t
T3JpZ2luYWwgbWVzc2FnZS0tLS0tDQo+IEZyb206IE1hcmsgTm90dGluZ2hhbSA8bW5vdEBtbm90
Lm5ldD4NCj4gVG86IEFtb3MgSmVmZnJpZXMgPHNxdWlkM0B0cmVlbmV0LmNvLm56Pg0KPiBDYzog
ImlldGYtaHR0cC13Z0B3My5vcmciIDxpZXRmLWh0dHAtd2dAdzMub3JnPg0KPiBTZW50OiBGcmks
IEp1bCAyNywgMjAxMiAwNjoxNjozMSBHTVQrMDA6MDANCj4gU3ViamVjdDogUmU6IFN0cmF3LW1h
biBmb3Igb3VyIG5leHQgY2hhcnRlcg0KPg0KPg0KPiBPbiAyNy8wNy8yMDEyLCBhdCA0OjEwIFBN
LCBBbW9zIEplZmZyaWVzIDxzcXVpZDNAdHJlZW5ldC5jby5uej4gd3JvdGU6DQo+DQo+ID4gT24g
MjcvMDcvMjAxMiA1OjI3IHAubS4sIE1hcmsgTm90dGluZ2hhbSB3cm90ZToNCj4gPj4gSGkgQW1v
cywNCj4gPj4NCj4gPj4gT24gMjUvMDcvMjAxMiwgYXQgMTA6MDIgUE0sIEFtb3MgSmVmZnJpZXMg
PHNxdWlkM0B0cmVlbmV0LmNvLm56PiB3cm90ZToNCj4gPj4+PiBXb3JrIHdpbGwgYmVnaW4gdXNp
bmcgWFhYIGFzIGEgc3RhcnRpbmcgcG9pbnQ7IGFsbCBwcm9wb3NhbHMgYXJlIHRvIGJlIGV4cHJl
c3NlZA0KPiA+Pj4+IGluIHRlcm1zIG9mIGNoYW5nZXMgdG8gdGhlIHRoYXQgZG9jdW1lbnQuDQo+
ID4+PiBJIGp1c3QgdGhpbmsgSSdsbCB0aHJvdyBhIHNwYW5uZXIgaW4gdGhlIGdlbmVyYWwgZGly
ZWN0aW9uIG9mIHRoZSB3b3JrcyBoZXJlLi4uLg0KPiA+Pj4NCj4gPj4+IEhvdyByZWFsaXN0aWMg
aXMgaXQgdG8gZXhwZWN0IHRoZSBIVFRQYmlzIDEuMSBkcmFmdCBkb2N1bWVudHMgZmlsbCB0aGF0
IHJvbGU/IEF0IGxlYXN0IHdlIGNhbiBndWFyYW50ZWUgdGhhdCBtb2RpZmljYXRpb25zIHRvIGFk
anVzdCB0aGVtIGZvciAyLjAgc3BlY2lmaWNzIHdpbGwgbm90IGxvb3NlIG9yIGFkZCBhbnkgZmVh
dHVyZXMgdW5pbnRlbnRpb25hbGx5IHRoYXQgY291bGQgYWZmZWN0IEhUVFAvMS4xIGNvbXBhdGli
aWxpdHkuDQo+ID4+IEknbSBub3Qgc3VyZSB3aGF0IHlvdXIgY29uY2VybiBpcyBoZXJlLi4uDQo+
ID4NCj4gPiBjb25jZXJuIDEpIGlzIHRoZSBmZWF0dXJlIHBhcml0eSBiZXR3ZWVuIHRoZSBIVFRQ
LzEgZHJhZnRzIGFuZCBhbnkgb3RoZXIgZG9jdW1lbnQgdGhhdCBnZXRzIHBpY2tlZC4gaWUgd29y
a2xvYWQgdG8gZ2V0IHRoZSBuZXcgZG9jIGNvbXBsZXRlZC4NCj4gPg0KPiA+IGNvbmNlcm4gMikg
aXMgdGhlIHBvbGl0Y2FsIGJhdHRsZSB0byBnZXQgZG9jdW1lbnQgWCB0byBtZWV0IHRoZSBXRyBn
b2Fscy4NCj4gPg0KPiA+IE11Y2ggbGlrZSB3aGF0IEkgc2FpZCBpbiBteSBleHByZXNzaW9uIG9m
IGludGVyZXN0IHN1bW1hcnkuIFRoZSBIVFRQLzIgZHJhZnRzIG9uIHRoZSB0YWJsZXMgKG93biBv
bmUgaW5jbHVkZWQpIGRvIG5vdCBjb21lIHVwIHRvIHNjcmF0Y2ggZm9yIEhUVFAvMiBzdGFydGlu
ZyBwb2ludHMuDQo+ID4NCj4gPiBJIGtub3cgYSBsb3Qgb2YgcGVvcGxlIGhhdmUgaW50ZXJlc3Qg
aW4gU1BEWSwgYnV0IHRvIG1ha2UgdGhhdCB0aGUgSFRUUC8yIGJhc2UgZG9jIHRoZXJlIGFyZSBh
IGZhaXIgY2h1bmsgb2YgdGhpbmdzIHdoaWNoIHdpbGwgbmVlZCBwcnVuaW5nIG91dCAtIGlmIG9u
bHkgYmVjYXVzZSB0aGV5IGFyZSBuZXcgc2VtYW50aWNzLiBJdCBpcyBwcm9iYWJseSBub3QgYSBn
b29kIGlkZWEgZm9yIHRoZSBXRyB0byBzdGFydCBvZmYgZmFjaW5nIHRoYXQgcG9saXRpY2FsIGJh
dHRsZSB0byBlbnN1cmUgaXRzIHNlbWFudGljYWxseSBzZWFtbGVzcyB0byBIVFRQLzEuMS4gVGhl
IG90aGVyIGRvY3VtZW50cyBhcmUgYmFyZS1ib25lcyB3aXRoIHNwZWNpZmljIGZvY3VzIG9uIGZy
YW1pbmcgaW1wcm92ZW1lbnQgb3ZlciBXRyBkcmFmdHMgcGFydDEtMi4NCj4NCj4gQWhhLiBJIHdh
cyBhc3N1bWluZyB0aGF0IHdvdWxkIGNvbWUgdXA7IHBsZWFzZSBkaXNjdXNzIChkZXRhaWxzIHdv
dWxkIGhlbHApLg0KPg0KPg0KPiA+IEhvd2V2ZXIgdGFraW5nIHRoZSBIVFRQYmlzIGRyYWZ0IGRv
Y3VtZW50cyBhbmQgcmVwbGFjaW5nIHNlY3Rpb25zIG9mIHRoZW0gd2l0aCBTUERZIG1lY2hhbmlz
bXMsIGZyYW1lIGRlc2lnbiwgZXRjIGFzIHdlIGFncmVlIG9uIHBhcnRpY3VsYXJzIC0gdGhhdCBo
YXMgYSBjbGVhciBjaGFuY2Ugb2YgZmFzdGVyIHN1Y2Nlc3MuDQo+DQo+IFRoYXQncyBhbiBpbnRl
cmVzdGluZyBhcHByb2FjaC4NCj4NCj4gQ2hlZXJzLA0KPg0KPg0KPg0KPiAtLQ0KPiBNYXJrIE5v
dHRpbmdoYW0gICBodHRwOi8vd3d3Lm1ub3QubmV0Lw0KPg0KPg0KPg0KPg0KDQotLQ0KTWFyayBO
b3R0aW5naGFtDQpodHRwOi8vd3d3Lm1ub3QubmV0Lw0KDQoNCg0KDQo=

--_000_083cb3bff4fb4f58aa52967a1c8d2767blur_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5ib2R5IHt3b3JkLXdyYXA6IGJyZWFr
LXdvcmQ7IGJhY2tncm91bmQtY29sb3I6I2ZmZmZmZjt9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGRp
diBzdHlsZT0iZm9udC1mYW1pbHk6IHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTZweCI+ZGVmaW5p
bmcgdGhlIG1lYW5pbmcgYW5kIGV4cGVjdGVkIGJlaGF2aW9yIG9mIHJlY2lwaWVudHMgb2YgaGVh
ZGVycyBpcyBhIHByb3RvY29sIGlzc3VlIG9mIGludGVyZXN0IHRvIGludGVybWVkaWFyaWVzIGFz
IHdlbGwgYXMgcmVjZWl2ZXJzLjwvZGl2Pjxicj48YnI+LS0tLS1PcmlnaW5hbCBtZXNzYWdlLS0t
LS08YnI+PGJsb2NrcXVvdGUgc3R5bGU9IjsgYm9yZGVyLWxlZnQ6IDJweCBzb2xpZCByZ2IoMTYs
IDE2LCAyNTUpOyBtYXJnaW4tbGVmdDogNXB4OyBwYWRkaW5nLWxlZnQ6IDVweDsiPjxkaXYgc3R5
bGU9ImZvbnQtZmFtaWx5OiBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHgiPjxiPkZyb206IDwv
Yj5NYXJrIE5vdHRpbmdoYW0gJmx0O21ub3RAbW5vdC5uZXQmZ3Q7PGI+PGJyPlRvOiA8L2I+TGFy
cnkgTWFzaW50ZXIgJmx0O21hc2ludGVyQGFkb2JlLmNvbSZndDs8Yj48YnI+Q2M6IDwvYj4mcXVv
dDtpZXRmLWh0dHAtd2dAdzMub3JnJnF1b3Q7ICZsdDtpZXRmLWh0dHAtd2dAdzMub3JnJmd0Ozxi
Pjxicj5TZW50OiA8L2I+U3VuLCBKdWwgMjksIDIwMTIgMTg6NTI6MTkgR01UKzAwOjAwPGI+PGJy
PlN1YmplY3Q6IDwvYj5SZTogU3RyYXctbWFuIGZvciBvdXIgbmV4dCBjaGFydGVyPGJyPjxicj48
L2Rpdj48ZGl2PjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29udGVudD0iTWljcm9zb2Z0IEV4Y2hh
bmdlIFNlcnZlciI+DQo8IS0tIGNvbnZlcnRlZCBmcm9tIHRleHQgLS0+DQo8c3R5bGU+PCEtLSAu
RW1haWxRdW90ZSB7IG1hcmdpbi1sZWZ0OiAxcHQ7IHBhZGRpbmctbGVmdDogNHB0OyBib3JkZXIt
bGVmdDogIzgwMDAwMCAycHggc29saWQ7IH0gLS0+PC9zdHlsZT4NCjxkaXY+DQo8Zm9udCBzaXpl
PSIyIj48ZGl2IGNsYXNzPSJQbGFpblRleHQiPlNuaWZmaW5nIC0tIGZvciBiZXR0ZXIgb3Igd29y
c2UgLS0gaXNuJ3QgcmVhbGx5IGEgSFRUUCBiZWhhdmlvdXIuIEkuZS4sIGl0IG1heSB1c2UgYSBI
VFRQIGhlYWRlciAoVXNlci1BZ2VudCksIGJ1dCBpdCdzIG1vcmUgYSB1c2UgKm9mKiBIVFRQIC0t
IGp1c3QgYXMgV2ViIGJyb3dzaW5nIGlzIGdlbmVyYWxseS48YnI+DQo8YnI+DQpBbHNvIC0tIGFu
ZCBldmVyeW9uZSByZWFsbHkgbmVlZHMgdG8gdW5kZXJzdGFuZCB0aGlzIC0tIEhUVFAgaXMgTk9U
IGFuIGVuZC10by1lbmQgcHJvdG9jb2wsIGFuZCB0aGVyZWZvcmUgYnJvd3NlcnMgY2FuJ3QgdGVs
bCB3aGV0aGVyIG9yIG5vdCBpdCdzIGEgJnF1b3Q7Mi4wIHNpdGUmcXVvdDsgYmVjYXVzZSB0aGVy
ZSBtYXkgYmUgaW50ZXJtZWRpYXJ5IHRyYW5zaXRpb25zIGluIHRoZSBtaWRkbGUuIDxicj4NCjxi
cj4NCkFzIGZhciBhcyBzaGF2aW5nIHdhcnRzIG9mZiAtLSBkb2luZyBzbyBpbiB0aGUgcHJvdG9j
b2wgaXMgcmVhbGx5LCByZWFsbHkgaGFyZCwgYmVjYXVzZSB0aGUgZGVwbG95ZWQgZm9vdHByaW50
IGlzIHNvIGxhcmdlLiBNeSBwcmVmZXJyZWQgYXBwcm9hY2ggaXMgdG8gYWxsb3cgc2l0ZXMgdG8g
b3B0IG91dCAtLSBlLmcuLCAmbHQ7PGEgaHJlZj0iaHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwv
ZHJhZnQtbm90dGluZ2hhbS1odHRwLWJyb3dzZXItaGludHMtMDAiIHRhcmdldD0iX0JMQU5LIj5o
dHRwOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1ub3R0aW5naGFtLWh0dHAtYnJvd3Nlci1o
aW50cy0wMDwvYT4mZ3Q7Ljxicj4NCjxicj4NCkNoZWVycyw8YnI+DQo8YnI+DQo8YnI+DQpPbiAy
Ny8wNy8yMDEyLCBhdCAxMTozOSBQTSwgTGFycnkgTWFzaW50ZXIgJmx0O21hc2ludGVyQGFkb2Jl
LmNvbSZndDsgd3JvdGU6PGJyPg0KPGJyPg0KJmd0OyByZSBjaGFuZ2VzIHRvIHNlbWFudGljczog
Y29uc2lkZXIgdGhlIHBvc3NpYmlsaXR5IG9mIGVsaW1pbmF0aW5nICZxdW90O3NuaWZmaW5nJnF1
b3Q7IGluIEhUVFAvMi4wLiBJZiBzbmlmZmluZyBpcyBqdXN0aWZpZWQgZm9yIGNvbXBhdGliaWxp
dHkgd2l0aCBkZXBsb3llZCBzZXJ2ZXJzLCBjb3VsZCB3ZSBlbGltaW5hdGUgc25pZmZpbmcgZm9y
IDIuMCBzaXRlcz88YnI+DQomZ3Q7IDxicj4NCiZndDsgSXQgd291bGQgaW1wcm92ZSByZWxpYWJp
bGl0eSwgc2VjdXJpdHksIGFuZCBldmVuIHBlcmZvcm1hbmNlLiBZZXMsIHBvcHVsYXIgYnJvd3Nl
cnMgd291bGQgaGF2ZSB0byBhZ3JlZSBub3QgdG8gc25pZmYgc2l0ZXMgcnVubmluZyAyLjAsIHNv
IHRoYXQgc2l0ZXMgd2FudGluZyAyOjAgYmVuZWZpdHMgd2lsbCBmaXggdGhlaXIgY29uZmlndXJh
dGlvbi4mbmJzcDsgPGJyPg0KJmd0OyA8YnI+DQomZ3Q7IExpa2VseSB0aGVyZSBhcmUgbWFueSBv
dGhlciB3YXJ0cyB0aGF0IGNhbiBiZSByZW1vdmVkIGlmIHRoZXJlIGlzIGEgdmVyc2lvbiB1cGdy
YWRlLjxicj4NCiZndDsgPGJyPg0KJmd0OyA8YnI+DQomZ3Q7IC0tLS0tT3JpZ2luYWwgbWVzc2Fn
ZS0tLS0tPGJyPg0KJmd0OyBGcm9tOiBNYXJrIE5vdHRpbmdoYW0gJmx0O21ub3RAbW5vdC5uZXQm
Z3Q7PGJyPg0KJmd0OyBUbzogQW1vcyBKZWZmcmllcyAmbHQ7c3F1aWQzQHRyZWVuZXQuY28ubnom
Z3Q7PGJyPg0KJmd0OyBDYzogJnF1b3Q7aWV0Zi1odHRwLXdnQHczLm9yZyZxdW90OyAmbHQ7aWV0
Zi1odHRwLXdnQHczLm9yZyZndDs8YnI+DQomZ3Q7IFNlbnQ6IEZyaSwgSnVsIDI3LCAyMDEyIDA2
OjE2OjMxIEdNVCYjNDM7MDA6MDA8YnI+DQomZ3Q7IFN1YmplY3Q6IFJlOiBTdHJhdy1tYW4gZm9y
IG91ciBuZXh0IGNoYXJ0ZXI8YnI+DQomZ3Q7IDxicj4NCiZndDsgPGJyPg0KJmd0OyBPbiAyNy8w
Ny8yMDEyLCBhdCA0OjEwIFBNLCBBbW9zIEplZmZyaWVzICZsdDtzcXVpZDNAdHJlZW5ldC5jby5u
eiZndDsgd3JvdGU6PGJyPg0KJmd0OyA8YnI+DQomZ3Q7ICZndDsgT24gMjcvMDcvMjAxMiA1OjI3
IHAubS4sIE1hcmsgTm90dGluZ2hhbSB3cm90ZTo8YnI+DQomZ3Q7ICZndDsmZ3Q7IEhpIEFtb3Ms
PGJyPg0KJmd0OyAmZ3Q7Jmd0OyA8YnI+DQomZ3Q7ICZndDsmZ3Q7IE9uIDI1LzA3LzIwMTIsIGF0
IDEwOjAyIFBNLCBBbW9zIEplZmZyaWVzICZsdDtzcXVpZDNAdHJlZW5ldC5jby5ueiZndDsgd3Jv
dGU6PGJyPg0KJmd0OyAmZ3Q7Jmd0OyZndDsmZ3Q7IFdvcmsgd2lsbCBiZWdpbiB1c2luZyBYWFgg
YXMgYSBzdGFydGluZyBwb2ludDsgYWxsIHByb3Bvc2FscyBhcmUgdG8gYmUgZXhwcmVzc2VkPGJy
Pg0KJmd0OyAmZ3Q7Jmd0OyZndDsmZ3Q7IGluIHRlcm1zIG9mIGNoYW5nZXMgdG8gdGhlIHRoYXQg
ZG9jdW1lbnQuPGJyPg0KJmd0OyAmZ3Q7Jmd0OyZndDsgSSBqdXN0IHRoaW5rIEknbGwgdGhyb3cg
YSBzcGFubmVyIGluIHRoZSBnZW5lcmFsIGRpcmVjdGlvbiBvZiB0aGUgd29ya3MgaGVyZS4uLi48
YnI+DQomZ3Q7ICZndDsmZ3Q7Jmd0OyA8YnI+DQomZ3Q7ICZndDsmZ3Q7Jmd0OyBIb3cgcmVhbGlz
dGljIGlzIGl0IHRvIGV4cGVjdCB0aGUgSFRUUGJpcyAxLjEgZHJhZnQgZG9jdW1lbnRzIGZpbGwg
dGhhdCByb2xlPyBBdCBsZWFzdCB3ZSBjYW4gZ3VhcmFudGVlIHRoYXQgbW9kaWZpY2F0aW9ucyB0
byBhZGp1c3QgdGhlbSBmb3IgMi4wIHNwZWNpZmljcyB3aWxsIG5vdCBsb29zZSBvciBhZGQgYW55
IGZlYXR1cmVzIHVuaW50ZW50aW9uYWxseSB0aGF0IGNvdWxkIGFmZmVjdCBIVFRQLzEuMSBjb21w
YXRpYmlsaXR5Ljxicj4NCiZndDsgJmd0OyZndDsgSSdtIG5vdCBzdXJlIHdoYXQgeW91ciBjb25j
ZXJuIGlzIGhlcmUuLi48YnI+DQomZ3Q7ICZndDsgPGJyPg0KJmd0OyAmZ3Q7IGNvbmNlcm4gMSkg
aXMgdGhlIGZlYXR1cmUgcGFyaXR5IGJldHdlZW4gdGhlIEhUVFAvMSBkcmFmdHMgYW5kIGFueSBv
dGhlciBkb2N1bWVudCB0aGF0IGdldHMgcGlja2VkLiBpZSB3b3JrbG9hZCB0byBnZXQgdGhlIG5l
dyBkb2MgY29tcGxldGVkLjxicj4NCiZndDsgJmd0OyA8YnI+DQomZ3Q7ICZndDsgY29uY2VybiAy
KSBpcyB0aGUgcG9saXRjYWwgYmF0dGxlIHRvIGdldCBkb2N1bWVudCBYIHRvIG1lZXQgdGhlIFdH
IGdvYWxzLjxicj4NCiZndDsgJmd0OyA8YnI+DQomZ3Q7ICZndDsgTXVjaCBsaWtlIHdoYXQgSSBz
YWlkIGluIG15IGV4cHJlc3Npb24gb2YgaW50ZXJlc3Qgc3VtbWFyeS4gVGhlIEhUVFAvMiBkcmFm
dHMgb24gdGhlIHRhYmxlcyAob3duIG9uZSBpbmNsdWRlZCkgZG8gbm90IGNvbWUgdXAgdG8gc2Ny
YXRjaCBmb3IgSFRUUC8yIHN0YXJ0aW5nIHBvaW50cy48YnI+DQomZ3Q7ICZndDsgPGJyPg0KJmd0
OyAmZ3Q7IEkga25vdyBhIGxvdCBvZiBwZW9wbGUgaGF2ZSBpbnRlcmVzdCBpbiBTUERZLCBidXQg
dG8gbWFrZSB0aGF0IHRoZSBIVFRQLzIgYmFzZSBkb2MgdGhlcmUgYXJlIGEgZmFpciBjaHVuayBv
ZiB0aGluZ3Mgd2hpY2ggd2lsbCBuZWVkIHBydW5pbmcgb3V0IC0gaWYgb25seSBiZWNhdXNlIHRo
ZXkgYXJlIG5ldyBzZW1hbnRpY3MuIEl0IGlzIHByb2JhYmx5IG5vdCBhIGdvb2QgaWRlYSBmb3Ig
dGhlIFdHIHRvIHN0YXJ0IG9mZiBmYWNpbmcgdGhhdCBwb2xpdGljYWwgYmF0dGxlIHRvIGVuc3Vy
ZSBpdHMgc2VtYW50aWNhbGx5IHNlYW1sZXNzIHRvIEhUVFAvMS4xLiBUaGUgb3RoZXIgZG9jdW1l
bnRzIGFyZSBiYXJlLWJvbmVzIHdpdGggc3BlY2lmaWMgZm9jdXMgb24gZnJhbWluZyBpbXByb3Zl
bWVudCBvdmVyIFdHIGRyYWZ0cyBwYXJ0MS0yLjxicj4NCiZndDsgPGJyPg0KJmd0OyBBaGEuIEkg
d2FzIGFzc3VtaW5nIHRoYXQgd291bGQgY29tZSB1cDsgcGxlYXNlIGRpc2N1c3MgKGRldGFpbHMg
d291bGQgaGVscCkuPGJyPg0KJmd0OyA8YnI+DQomZ3Q7IDxicj4NCiZndDsgJmd0OyBIb3dldmVy
IHRha2luZyB0aGUgSFRUUGJpcyBkcmFmdCBkb2N1bWVudHMgYW5kIHJlcGxhY2luZyBzZWN0aW9u
cyBvZiB0aGVtIHdpdGggU1BEWSBtZWNoYW5pc21zLCBmcmFtZSBkZXNpZ24sIGV0YyBhcyB3ZSBh
Z3JlZSBvbiBwYXJ0aWN1bGFycyAtIHRoYXQgaGFzIGEgY2xlYXIgY2hhbmNlIG9mIGZhc3RlciBz
dWNjZXNzLjxicj4NCiZndDsgPGJyPg0KJmd0OyBUaGF0J3MgYW4gaW50ZXJlc3RpbmcgYXBwcm9h
Y2guIDxicj4NCiZndDsgPGJyPg0KJmd0OyBDaGVlcnMsPGJyPg0KJmd0OyA8YnI+DQomZ3Q7IDxi
cj4NCiZndDsgPGJyPg0KJmd0OyAtLTxicj4NCiZndDsgTWFyayBOb3R0aW5naGFtJm5ic3A7Jm5i
c3A7IDxhIGhyZWY9Imh0dHA6Ly93d3cubW5vdC5uZXQvIiB0YXJnZXQ9Il9CTEFOSyI+aHR0cDov
L3d3dy5tbm90Lm5ldC88L2E+PGJyPg0KJmd0OyA8YnI+DQomZ3Q7IDxicj4NCiZndDsgPGJyPg0K
Jmd0OyA8YnI+DQo8YnI+DQotLTxicj4NCk1hcmsgTm90dGluZ2hhbTxicj4NCjxhIGhyZWY9Imh0
dHA6Ly93d3cubW5vdC5uZXQvIiB0YXJnZXQ9Il9CTEFOSyI+aHR0cDovL3d3dy5tbm90Lm5ldC88
L2E+PGJyPg0KPGJyPg0KPGJyPg0KPGJyPg0KPGJyPg0KPC9kaXY+PC9mb250Pg0KPC9kaXY+DQoN
CjwvZGl2PjwvYmxvY2txdW90ZT48L2JvZHk+PC9odG1sPg0K

--_000_083cb3bff4fb4f58aa52967a1c8d2767blur_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 12:26:51 2012
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 8E7C421F853F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 12:26:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.962
X-Spam-Level: 
X-Spam-Status: No, score=-8.962 tagged_above=-999 required=5 tests=[AWL=-0.818, BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 ETNE9Zs120pm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 12:26:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B6AE821F853A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 12:26:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvZ8A-00052w-B7 for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 19:26:22 +0000
Resent-Date: Sun, 29 Jul 2012 19:26:22 +0000
Resent-Message-Id: <E1SvZ8A-00052w-B7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvZ7z-00052B-1E for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 19:26:11 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvZ7x-0000gw-RW for ietf-http-wg@w3.org; Sun, 29 Jul 2012 19:26:10 +0000
Received: from dhcp-51a6.meeting.ietf.org (unknown [130.129.81.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 280C122E256; Sun, 29 Jul 2012 15:25:48 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com>
Date: Sun, 29 Jul 2012 12:25:48 -0700
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C1CCC1BC-654D-49C4-9E9E-708D0458DBA4@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com>
To: Larry Masinter <masinter@adobe.com>
X-Mailer: Apple Mail (2.1485)
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=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SvZ7x-0000gw-RW 1fbdcbd475d47b8fb67bfd5d6d4232be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/C1CCC1BC-654D-49C4-9E9E-708D0458DBA4@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14805
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 27/07/2012, at 9:34 PM, Larry Masinter <masinter@adobe.com> wrote:

> I'd suggest the HTTP/2.0 work would be best served by first focusing =
on documenting "substantial and measurable improvement".
> I suggest the charter not be extended to accept proposals and start on =
development of the protocol itself until this is done.
>=20
> There are conflicting characterizations of SPDY performance results =
(the results aren't in conflict as much as whether you could summarize =
the results as "better").=20
>    http://www.ietf.org/proceedings/83/slides/slides-83-httpbis-3.pdf  =
said  "Google recently reported that SPDY over SSL is now faster than =
HTTP without SSL" plus "BoostEdge paper confirms Google numbers", which =
I'd take to mean that it's always faster.
>=20
>   but  http://www.guypo.com/technical/not-as-spdy-as-you-thought/  it =
isn't as SPDY as you (Someone) thought, and noted many circumstances =
where it didn't help.
>=20
> Unless there's agreement on what "improvement" is, it's hard to even =
discuss features for how well they "improve".

The short answer is that we'll know that it's good enough when we have =
rough consensus that it's good enough.=20

Now, if someone wants to propose a set of measurements that are openly =
defined with an open implementation that anyone can run repeatably, we =
can try to get consensus around including those as exit criteria.=20

However, no one has yet produced them, and I'm wary of doing that kind =
of work post-charter; we'll get caught up in an endless debate.

Hence, rough consensus.


> What can site administrators depend on, expect from a SPDY upgrade?=20
>=20
> I'm still concerned about head-of-line blocking that comes from =
multiplexing and doing flow control at two levels of the protocol stack. =
It seems intrinsically a likely problem, for which the only solution is =
proper management and control of performance of all of the sources of =
data ("scheduling").  I think getting an agreement on why that isn't a =
problem here (or at least, how to minimize the problem) first would =
help, too.

Proving a negative is notoriously difficult; can you prove it *is* a =
problem? I think this needs discussion, but the easiest way to move it =
forward is to demonstrate the issue.

Regards,
=20

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 12:27:41 2012
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 6E4D621F853F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 12:27:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.758
X-Spam-Level: 
X-Spam-Status: No, score=-8.758 tagged_above=-999 required=5 tests=[AWL=-0.614, BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 C-L2WBjvA-bp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 12:27:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A617621F853A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 12:27:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvZ8y-0005AZ-PM for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 19:27:12 +0000
Resent-Date: Sun, 29 Jul 2012 19:27:12 +0000
Resent-Message-Id: <E1SvZ8y-0005AZ-PM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvZ8l-00059I-WF for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 19:27:00 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SvZ8k-0000id-KL for ietf-http-wg@w3.org; Sun, 29 Jul 2012 19:26:59 +0000
Received: from dhcp-51a6.meeting.ietf.org (unknown [130.129.81.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3637922E253; Sun, 29 Jul 2012 15:26:37 -0400 (EDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <083cb3bf-f4fb-4f58-aa52-967a1c8d2767@blur>
Date: Sun, 29 Jul 2012 12:26:39 -0700
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9E8B68ED-76DE-4D6F-BA06-01F2CD858B2E@mnot.net>
References: <78a6f5a1-ea4a-44a8-8e0b-d3e6041a3142@blur> <083cb3bf-f4fb-4f58-aa52-967a1c8d2767@blur>
To: Larry Masinter <masinter@adobe.com>
X-Mailer: Apple Mail (2.1485)
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=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SvZ8k-0000id-KL e1321559daaacebe7964f67eeac627ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/9E8B68ED-76DE-4D6F-BA06-01F2CD858B2E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14806
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>

Perhaps, but you're still talking about refining HTTP's semantics=85


On 29/07/2012, at 12:22 PM, Larry Masinter <masinter@adobe.com> wrote:

> defining the meaning and expected behavior of recipients of headers is =
a protocol issue of interest to intermediaries as well as receivers.
>=20
>=20
> -----Original message-----
> From: Mark Nottingham <mnot@mnot.net>
> To: Larry Masinter <masinter@adobe.com>
> Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: Sun, Jul 29, 2012 18:52:19 GMT+00:00
> Subject: Re: Straw-man for our next charter
>=20
> Sniffing -- for better or worse -- isn't really a HTTP behaviour. =
I.e., it may use a HTTP header (User-Agent), but it's more a use *of* =
HTTP -- just as Web browsing is generally.
>=20
> Also -- and everyone really needs to understand this -- HTTP is NOT an =
end-to-end protocol, and therefore browsers can't tell whether or not =
it's a "2.0 site" because there may be intermediary transitions in the =
middle.=20
>=20
> As far as shaving warts off -- doing so in the protocol is really, =
really hard, because the deployed footprint is so large. My preferred =
approach is to allow sites to opt out -- e.g., =
<http://tools.ietf.org/html/draft-nottingham-http-browser-hints-00>.
>=20
> Cheers,
>=20
>=20
> On 27/07/2012, at 11:39 PM, Larry Masinter <masinter@adobe.com> wrote:
>=20
> > re changes to semantics: consider the possibility of eliminating =
"sniffing" in HTTP/2.0. If sniffing is justified for compatibility with =
deployed servers, could we eliminate sniffing for 2.0 sites?
> >=20
> > It would improve reliability, security, and even performance. Yes, =
popular browsers would have to agree not to sniff sites running 2.0, so =
that sites wanting 2:0 benefits will fix their configuration. =20
> >=20
> > Likely there are many other warts that can be removed if there is a =
version upgrade.
> >=20
> >=20
> > -----Original message-----
> > From: Mark Nottingham <mnot@mnot.net>
> > To: Amos Jeffries <squid3@treenet.co.nz>
> > Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> > Sent: Fri, Jul 27, 2012 06:16:31 GMT+00:00
> > Subject: Re: Straw-man for our next charter
> >=20
> >=20
> > On 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz> =
wrote:
> >=20
> > > On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
> > >> Hi Amos,
> > >>=20
> > >> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> =
wrote:
> > >>>> Work will begin using XXX as a starting point; all proposals =
are to be expressed
> > >>>> in terms of changes to the that document.
> > >>> I just think I'll throw a spanner in the general direction of =
the works here....
> > >>>=20
> > >>> How realistic is it to expect the HTTPbis 1.1 draft documents =
fill that role? At least we can guarantee that modifications to adjust =
them for 2.0 specifics will not loose or add any features =
unintentionally that could affect HTTP/1.1 compatibility.
> > >> I'm not sure what your concern is here...
> > >=20
> > > concern 1) is the feature parity between the HTTP/1 drafts and any =
other document that gets picked. ie workload to get the new doc =
completed.
> > >=20
> > > concern 2) is the politcal battle to get document X to meet the WG =
goals.
> > >=20
> > > Much like what I said in my expression of interest summary. The =
HTTP/2 drafts on the tables (own one included) do not come up to scratch =
for HTTP/2 starting points.
> > >=20
> > > I know a lot of people have interest in SPDY, but to make that the =
HTTP/2 base doc there are a fair chunk of things which will need pruning =
out - if only because they are new semantics. It is probably not a good =
idea for the WG to start off facing that political battle to ensure its =
semantically seamless to HTTP/1.1. The other documents are bare-bones =
with specific focus on framing improvement over WG drafts part1-2.
> >=20
> > Aha. I was assuming that would come up; please discuss (details =
would help).
> >=20
> >=20
> > > However taking the HTTPbis draft documents and replacing sections =
of them with SPDY mechanisms, frame design, etc as we agree on =
particulars - that has a clear chance of faster success.
> >=20
> > That's an interesting approach.=20
> >=20
> > Cheers,
> >=20
> >=20
> >=20
> > --
> > Mark Nottingham   http://www.mnot.net/
> >=20
> >=20
> >=20
> >=20
>=20
> --
> Mark Nottingham
> http://www.mnot.net/
>=20
>=20
>=20
>=20

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






From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 13:17:37 2012
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 36FDF21F855F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 13:17:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.998
X-Spam-Level: 
X-Spam-Status: No, score=-9.998 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, 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 br7QtXNhGhPJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 13:17:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C634721F847A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 13:17:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvZuO-0003Rz-CC for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 20:16:12 +0000
Resent-Date: Sun, 29 Jul 2012 20:16:12 +0000
Resent-Message-Id: <E1SvZuO-0003Rz-CC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SvZu9-0003Qo-3T for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 20:15:57 +0000
Received: from va3ehsobe002.messaging.microsoft.com ([216.32.180.12] helo=va3outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SvZu5-0003ZG-8M for ietf-http-wg@w3.org; Sun, 29 Jul 2012 20:15:57 +0000
Received: from mail173-va3-R.bigfish.com (10.7.14.250) by VA3EHSOBE007.bigfish.com (10.7.40.11) with Microsoft SMTP Server id 14.1.225.23; Sun, 29 Jul 2012 20:15:26 +0000
Received: from mail173-va3 (localhost [127.0.0.1])	by mail173-va3-R.bigfish.com (Postfix) with ESMTP id 79AE816033B	for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 20:15:26 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -23
X-BigFish: VS-23(zzc85fhzz1202hzz1033IL8275bh8275dh186Mz2fh2a8h683h839hd24hf0ah107ah9a9j)
Received-SPF: pass (mail173-va3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail173-va3 (localhost.localdomain [127.0.0.1]) by mail173-va3 (MessageSwitch) id 1343592905137296_20889; Sun, 29 Jul 2012 20:15:05 +0000 (UTC)
Received: from VA3EHSMHS006.bigfish.com (unknown [10.7.14.252])	by mail173-va3.bigfish.com (Postfix) with ESMTP id 14B723E004B	for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 20:15:05 +0000 (UTC)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.8) by VA3EHSMHS006.bigfish.com (10.7.99.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sun, 29 Jul 2012 20:15:05 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.81) by mail.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.2.309.3; Sun, 29 Jul 2012 20:15:02 +0000
Received: from mail36-co1-R.bigfish.com (10.243.78.235) by CO1EHSOBE013.bigfish.com (10.243.66.76) with Microsoft SMTP Server id 14.1.225.23; Sun, 29 Jul 2012 20:15:02 +0000
Received: from mail36-co1 (localhost [127.0.0.1])	by mail36-co1-R.bigfish.com (Postfix) with ESMTP id A18925802DF	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Sun, 29 Jul 2012 20:15:02 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(42186003)(16406001)(33646001)(5343635001)(5343655001)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail36-co1 (localhost.localdomain [127.0.0.1]) by mail36-co1 (MessageSwitch) id 1343592900412505_5115; Sun, 29 Jul 2012 20:15:00 +0000 (UTC)
Received: from CO1EHSMHS006.bigfish.com (unknown [10.243.78.229])	by mail36-co1.bigfish.com (Postfix) with ESMTP id 61291340044	for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 20:15:00 +0000 (UTC)
Received: from BL2PRD0310HT005.namprd03.prod.outlook.com (157.56.240.21) by CO1EHSMHS006.bigfish.com (10.243.66.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sun, 29 Jul 2012 20:14:58 +0000
Received: from CH1PR03MB624.namprd03.prod.outlook.com (10.255.156.171) by BL2PRD0310HT005.namprd03.prod.outlook.com (10.255.97.40) with Microsoft SMTP Server (TLS) id 14.16.175.8; Sun, 29 Jul 2012 20:14:38 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com (10.255.156.169) by CH1PR03MB624.namprd03.prod.outlook.com (10.255.156.171) with Microsoft SMTP Server (TLS) id 15.0.466.11; Sun, 29 Jul 2012 20:14:16 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com ([169.254.5.138]) by CH1PR03MB622.namprd03.prod.outlook.com ([169.254.5.188]) with mapi id 15.00.0466.010; Sun, 29 Jul 2012 20:14:03 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
CC: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71Q==
Date: Sun, 29 Jul 2012 20:14:02 +0000
Message-ID: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.154]
x-forefront-prvs: 0557CBAD84
Content-Type: multipart/alternative; boundary="_000_723b83d47f93417290cca860e2925703CH1PR03MB622namprd03pro_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PR03MB624.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.12; envelope-from=henrikn@microsoft.com; helo=va3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SvZu5-0003ZG-8M 06c3a56fe3e4d31dc31f840a722f240f
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14807
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>

--_000_723b83d47f93417290cca860e2925703CH1PR03MB622namprd03pro_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Dear All,



We remain committed to the HTTP/2.0 standards process and look forward to s=
eeing many of you this week at the IETF meeting in Vancouver to continue th=
e discussion.  In the spirit of open discussion, we wanted to share some ob=
servations in advance of the meeting and share the latest progress from pro=
totyping and testing.



There are currently three different proposals that the group is working thr=
ough:



   * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),

   * HTTP Speed+Mobility (http://tools.ietf.org/html/draft-montenegro-httpb=
is-speed-mobility),

   * Network-Friendly HTTP Upgrade (http://tools.ietf.org/html/draft-tarrea=
u-httpbis-network-friendly).



The good news is that everyone involved wants to make the Web faster, more =
scalable, more secure, and more mobile-friendly, and each proposal has bene=
fits in different areas that the discussion can choose from.



--- A Genuinely Faster Web ---



The SPDY proposal has been great for raising awareness of Web performance. =
It takes a "clean slate" approach to improving HTTP.



To compare the performance of SPDY with HTTP/1.1 we have run tests comparin=
g download times of several public web sites using a controlled tested stud=
y. The test uses publically available software run with mostly default conf=
igurations while applying all the currently available optimizations to HTTP=
/1.1. You can find a preliminary report on the test results here: http://re=
search.microsoft.com/apps/pubs/?id=3D170059. The results mirror other data =
(http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate m=
ixed results with SPDY performance.



Our results indicate almost equal performance between SPDY and HTTP/1.1 whe=
n one applies all the known optimizations to HTTP/1.1. SPDY's performance i=
mprovements are not consistent and significant. We will continue our testin=
g, and we welcome others to publish their results so that HTTP/2.0 can choo=
se the best changes and deliver the best possible performance and scalabili=
ty improvements compared to HTTP/1.1.





--- Taking the Best from Each ---



Speed is one of several areas of improvement. Currently, there's no clear c=
onsensus that any one of the proposals is the clear choice or even starting=
 point for HTTP/2.0 (based on our reading the Expressions of Interest and d=
iscussions on this mailing list. A good example of this is the vigorous dis=
cussion around mandating TLS encryption (http://tools.ietf.org/html/rfc5246=
) for HTTP/2.0.



We think a good approach for HTTP/2.0 is to take the best solution for each=
 of these areas from each of the proposals.  This approach helps us focus t=
he discussion for each area of the protocol. Of course, this approach would=
 still allow the standard to benefit from the extensive knowledge gained fr=
om implementing existing proposals.



We believe that the group can converge on consensus in the following areas,=
 based on our reading of the Expressions of Interest, by starting from the =
different proposals.



------------------|------------------

Area              | Opinion that

                  | seems to prevail

------------------|------------------

1. Compression    | SPDY or Friendly

------------------|------------------

2. Multiplexing   | SPDY

------------------|------------------

3. Mandatory TLS  | Speed+Mobility

------------------|------------------

4. Negotiation    | Friendly or

                  |   Speed+Mobility

------------------|------------------

5. Client Pull/   | Speed+Mobility

      Server Push |

------------------|------------------

6. Flow Control   | SPDY

------------------|------------------

7. WebSockets     | Speed+Mobility

------------------|------------------



Below, we discuss each HTTP/2.0 element and the current consensus that appe=
ars to be forming within the Working Group.



1. Compression



Compression is simple to conceptualize and implement, and it is important. =
Proxies and other boxes in the middle on today's Web often face problems wi=
th it. The HTTP/2.0 discussion has been rich but with little consensus.

Though some studies suggest that SPDY's header compression approach shows p=
romise, other studies show this compression to be prohibitively onerous for=
 intermediary devices. More information here would help us make sure we're =
making the Web faster and better.



Also, an entire segment of implementers are not interested in compression a=
s defined in SPDY.  That's a challenge because the latest strawman for the =
working group charter (http://lists.w3.org/Archives/Public/ietf-http-wg/201=
2JulSep/0784.html) states that the "resulting specification(s) are expected=
 to be meet these goals for common existing deployments of HTTP; in particu=
lar, ... intermediation (by proxies, corporate firewalls, 'reverse' proxies=
 and Content Delivery Networks)."



We think the SPDY or Friendly proposals is a good starting point for progre=
ss.



2. Multiplexing



All three proposals define similar multiplexing models. We haven't had subs=
tantial discussion on the differences. This lack of discussion suggests tha=
t there is rough consensus around the SPDY framing for multiplexing.



We think that the SPDY proposal is a good starting point here and best capt=
ures the current consensus.



3. Mandating Always On TLS



There is definitely no consensus to mandate TLS for all Web communication, =
but some major implementers have stated they will not to adopt HTTP/2.0 unl=
ess the working group supports a "TLS is mandatory" position. A very prelim=
inary note from the chair (http://lists.w3.org/Archives/Public/ietf-http-wg=
/2012JulSep/0601.html) states that there is a lack of consensus for mandati=
ng TLS.



We think the Speed+Mobility proposal is a good starting point here as it pr=
ovides options to turn TLS on (or not).



4. Negotiation



Only two of the proposals actually discuss how different endpoints agree to=
 use HTTP/2.0.



(The SPDY proposal does not specify a negotiation method. Current prototype=
 implementations use the TLS-NPN (http://tools.ietf.org/html/draft-agl-tls-=
nextprotoneg) extension.  While the other proposals use HTTP Upgrade to neg=
otiate HTTP/2.0, some parties have expressed non-support for this method as=
 well.)



We think either of the Friendly or Speed+Mobility proposals is a good start=
ing point because they are the only ones that have any language in this res=
pect.



5. Client Pull and Server Push



There are tradeoffs between a server push model and a client pull model. Th=
e main question is how to improve performance while respecting bandwidth an=
d client caches.



Server Push has not had the same level of implementation and experimentatio=
n as the other features in SPDY. More information here would help us make s=
ure we're making the Web faster and better.



We think the Speed+Mobility proposal is a good starting point here, suggest=
ing that this issue may be better served in a separate document rather than=
 tied to the core HTTP/2.0 protocol.



6. Flow Control



There has only been limited discussion in the HTTPbis working group on flow=
 control. Flow Control offers a lot of opportunity make the Web faster as w=
ell as to break it; for example, implementations need to figure out how to =
optimize for opposing goals (like throughput and responsiveness) at the sam=
e time.



The current version of the SPDY proposal specifies a flow control message w=
ith many settings are that are not well-defined. The Speed+Mobilty proposal=
 has a simplified flow control model based on certain assumptions. More exp=
erimentation and information here would help us make sure we're making the =
Web faster and better.



We think that the SPDY proposal is a good starting point here.



7. WebSockets



We see support  for aligning HTTP/2.0 with a future version of WebSockets, =
as suggested in the introduction of the Speed+Mobility proposal.





--- Moving forward ---



We're excited for the Web to get faster, more stable, and more capable, and=
 HTTP/2.0 is an important part of that.



We believe that bringing together the best elements of the current SPDY, HT=
TP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the best =
approach to make that happen.



Based on the discussions on the HTTPbis mailing list, we've suggested which=
 proposals make the most sense to start from for each of the areas that HTT=
P/2.0 is addressing. Each of these areas needs more prototyping and experim=
entation and data. We're looking forward to the discussion this week.



Sincerely,



Henrik Frystyk Nielsen

Principal Architect, Microsoft Open Technologies, Inc.



Gabriel Montenegro

Principal Software Development Engineer, Microsoft Corporation



Rob Trace

Senior Program Manager Lead, Microsoft Corporation



Adalberto Foresti

Senior Program Manager, Microsoft Open Technologies, Inc.





--_000_723b83d47f93417290cca860e2925703CH1PR03MB622namprd03pro_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoPlainText">Dear All,<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We remain committed to the HTTP/2.0 standards pro=
cess and look forward to seeing many of you this week at the IETF meeting i=
n Vancouver to continue the discussion.&nbsp; In the spirit of open discuss=
ion, we wanted to share some observations
 in advance of the meeting and share the latest progress from prototyping a=
nd testing.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">There are currently three different proposals tha=
t the group is working through:<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; * SPDY (<a href=3D"http://tools.ietf=
.org/html/draft-mbelshe-httpbis-spdy">http://tools.ietf.org/html/draft-mbel=
she-httpbis-spdy</a>),<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; * HTTP Speed&#43;Mobility (<a href=
=3D"http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility">htt=
p://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility</a>),<o:p><=
/o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; * Network-Friendly HTTP Upgrade (<a =
href=3D"http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly">=
http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">The good news is that everyone involved wants to =
make the Web faster, more scalable, more secure, and more mobile-friendly, =
and each proposal has benefits in different areas that the discussion can c=
hoose from.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">--- A Genuinely Faster Web ---<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">The SPDY proposal has been great for raising awar=
eness of Web performance. It takes a &#8220;clean slate&#8221; approach to =
improving HTTP.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">To compare the performance of SPDY with HTTP/1.1 =
we have run tests comparing download times of several public web sites usin=
g a controlled tested study. The test uses publically available software ru=
n with mostly default configurations
 while applying all the currently available optimizations to HTTP/1.1. You =
can find a preliminary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059">http://res=
earch.microsoft.com/apps/pubs/?id=3D170059</a>. The results mirror other da=
ta (<a href=3D"http://www.guypo.com/technical/not-as-spdy-as-you-thought">h=
ttp://www.guypo.com/technical/not-as-spdy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Our results indicate almost equal performance bet=
ween SPDY and HTTP/1.1 when one applies all the known optimizations to HTTP=
/1.1. SPDY&#8217;s performance improvements are not consistent and signific=
ant. We will continue our testing, and we
 welcome others to publish their results so that HTTP/2.0 can choose the be=
st changes and deliver the best possible performance and scalability improv=
ements compared to HTTP/1.1.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">--- Taking the Best from Each ---<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Speed is one of several areas of improvement. Cur=
rently, there&#8217;s no clear consensus that any one of the proposals is t=
he clear choice or even starting point for HTTP/2.0 (based on our reading t=
he Expressions of Interest and discussions
 on this mailing list. A good example of this is the vigorous discussion ar=
ound mandating TLS encryption (<a href=3D"http://tools.ietf.org/html/rfc524=
6">http://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think a good approach for HTTP/2.0 is to take =
the best solution for each of these areas from each of the proposals. &nbsp=
;This approach helps us focus the discussion for each area of the protocol.=
 Of course, this approach would still allow
 the standard to benefit from the extensive knowledge gained from implement=
ing existing proposals.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We believe that the group can converge on consens=
us in the following areas, based on our reading of the Expressions of Inter=
est, by starting from the different proposals.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">Area&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; | Opinion that
<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| seems to prevail<o:p></o:p></span></p=
>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">1. Compression&nbsp;&nbsp;&nbsp; | SPDY or Friendly<o:p></o:p></span></p=
>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">2. Multiplexing&nbsp;&nbsp; | SPDY<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">3. Mandatory TLS&nbsp; | Speed&#43;Mobility<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">4. Negotiation&nbsp;&nbsp;&nbsp; | Friendly or<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; Speed&#43;Mobility<o:p></o:p><=
/span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">5. Client Pull/&nbsp;&nbsp; | Speed&#43;Mobility<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Server Push |
<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">6. Flow Control&nbsp;&nbsp; | SPDY<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">7. WebSockets&nbsp;&nbsp;&nbsp;&nbsp; | Speed&#43;Mobility<o:p></o:p></s=
pan></p>
<p class=3D"MsoPlainText"><span style=3D"font-family:&quot;Courier New&quot=
;">------------------|------------------<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Below, we discuss each HTTP/2.0 element and the c=
urrent consensus that appears to be forming within the Working Group.<o:p><=
/o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">1. Compression<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Compression is simple to conceptualize and implem=
ent, and it is important. Proxies and other boxes in the middle on today&#8=
217;s Web often face problems with it. The HTTP/2.0 discussion has been ric=
h but with little consensus.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p></o:p></p>
<p class=3D"MsoPlainText">Though some studies suggest that SPDY&#8217;s hea=
der compression approach shows promise, other studies show this compression=
 to be prohibitively onerous for intermediary devices. More information her=
e would help us make sure we&#8217;re making the
 Web faster and better. <o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Also, an entire segment of implementers are not i=
nterested in compression as defined in SPDY.&nbsp; That&#8217;s a challenge=
 because the latest strawman for the working group charter (<a href=3D"http=
://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html">http://l=
ists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the &#8220;resulting specification(s) are expected to be meet =
these goals for common existing deployments of HTTP; in particular, &#8230;=
 intermediation (by proxies, corporate firewalls, &#8216;reverse&#8217; pro=
xies and Content Delivery Networks).&#8221;
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think the SPDY or Friendly proposals is a good=
 starting point for progress.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">2. Multiplexing<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">All three proposals define similar multiplexing m=
odels. We haven&#8217;t had substantial discussion on the differences. This=
 lack of discussion suggests that there is rough consensus around the SPDY =
framing for multiplexing.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think that the SPDY proposal is a good startin=
g point here and best captures the current consensus.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">3. Mandating Always On TLS <o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">There is definitely no consensus to mandate TLS f=
or all Web communication, but some major implementers have stated they will=
 not to adopt HTTP/2.0 unless the working group supports a &#8220;TLS is ma=
ndatory&#8221; position. A very preliminary note
 from the chair (<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-w=
g/2012JulSep/0601.html">http://lists.w3.org/Archives/Public/ietf-http-wg/20=
12JulSep/0601.html</a>) states that there is a lack of consensus for mandat=
ing TLS.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think the Speed&#43;Mobility proposal is a goo=
d starting point here as it provides options to turn TLS on (or not).<o:p><=
/o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">4. Negotiation<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Only two of the proposals actually discuss how di=
fferent endpoints agree to use HTTP/2.0.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">(The SPDY proposal does not specify a negotiation=
 method. Current prototype implementations use the TLS-NPN (<a href=3D"http=
://tools.ietf.org/html/draft-agl-tls-nextprotoneg">http://tools.ietf.org/ht=
ml/draft-agl-tls-nextprotoneg</a>) extension.&nbsp;
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think either of the Friendly or Speed&#43;Mobi=
lity proposals is a good starting point because they are the only ones that=
 have any language in this respect.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">5. Client Pull and Server Push<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">There are tradeoffs between a server push model a=
nd a client pull model. The main question is how to improve performance whi=
le respecting bandwidth and client caches.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Server Push has not had the same level of impleme=
ntation and experimentation as the other features in SPDY. More information=
 here would help us make sure we&#8217;re making the Web faster and better.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think the Speed&#43;Mobility proposal is a goo=
d starting point here, suggesting that this issue may be better served in a=
 separate document rather than tied to the core HTTP/2.0 protocol.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">6. Flow Control<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">There has only been limited discussion in the HTT=
Pbis working group on flow control. Flow Control offers a lot of opportunit=
y make the Web faster as well as to break it; for example, implementations =
need to figure out how to optimize
 for opposing goals (like throughput and responsiveness) at the same time. =
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">The current version of the SPDY proposal specifie=
s a flow control message with many settings are that are not well-defined. =
The Speed&#43;Mobilty proposal has a simplified flow control model based on=
 certain assumptions. More experimentation
 and information here would help us make sure we&#8217;re making the Web fa=
ster and better.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We think that the SPDY proposal is a good startin=
g point here.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">7. WebSockets<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We see support&nbsp; for aligning HTTP/2.0 with a=
 future version of WebSockets, as suggested in the introduction of the Spee=
d&#43;Mobility proposal.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">--- Moving forward ---<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We&#8217;re excited for the Web to get faster, mo=
re stable, and more capable, and HTTP/2.0 is an important part of that.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">We believe that bringing together the best elemen=
ts of the current SPDY, HTTP Speed&#43;Mobility, and Network-Friendly HTTP =
Upgrade proposals is the best approach to make that happen.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Based on the discussions on the HTTPbis mailing l=
ist, we&#8217;ve suggested which proposals make the most sense to start fro=
m for each of the areas that HTTP/2.0 is addressing. Each of these areas ne=
eds more prototyping and experimentation
 and data. We&#8217;re looking forward to the discussion this week.<o:p></o=
:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Sincerely,<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Henrik Frystyk Nielsen<o:p></o:p></p>
<p class=3D"MsoPlainText">Principal Architect, Microsoft Open Technologies,=
 Inc.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Gabriel Montenegro<o:p></o:p></p>
<p class=3D"MsoPlainText">Principal Software Development Engineer, Microsof=
t Corporation<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Rob Trace<o:p></o:p></p>
<p class=3D"MsoPlainText">Senior Program Manager Lead, Microsoft Corporatio=
n<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Adalberto Foresti<o:p></o:p></p>
<p class=3D"MsoPlainText">Senior Program Manager, Microsoft Open Technologi=
es, Inc.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_723b83d47f93417290cca860e2925703CH1PR03MB622namprd03pro_--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 15:18:25 2012
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 28D9911E80D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 15:18:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.561
X-Spam-Level: 
X-Spam-Status: No, score=-9.561 tagged_above=-999 required=5 tests=[AWL=1.038, BAYES_00=-2.599, 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 vn3zvzD7B5aZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 15:18:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4195711E80C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 15:18:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svbnh-0002J0-Ly for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 22:17:25 +0000
Resent-Date: Sun, 29 Jul 2012 22:17:25 +0000
Resent-Message-Id: <E1Svbnh-0002J0-Ly@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SvbnW-0002HX-1B for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 22:17:14 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SvbnU-0004cf-EX for ietf-http-wg@w3.org; Sun, 29 Jul 2012 22:17:13 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6TMGhnU022064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 22:16:44 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Mon, 30 Jul 2012 00:16:39 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvbnU-0004cf-EX 4eb6efd8b864a63728e876b9373c4ce0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14809
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 Sun, 29 Jul 2012 22:14:02 +0200, Henrik Frystyk Nielsen  
<henrikn@microsoft.com> wrote:

>
> To compare the performance of SPDY with HTTP/1.1 we have run tests  
> comparing download times of several public web sites using a controlled  
> tested study. The test uses publically available software run with  
> mostly default configurations while applying all the currently available  
> optimizations to HTTP/1.1. You can find a preliminary report on the test  
> results here: http://research.microsoft.com/apps/pubs/?id=170059.

This is an interesting demonstration of a use case HTTP was made for, and  
where HTTP works well. The issues we are facing are non-working pipelining  
in HTTP/1, increase in HTTP header size from things like cookies and  
ua-prof-diff, and streaming of video. It doesn't appear that you are  
testing these issues, so it makes sense that the performance difference  
isn't that great. It would be preferable if HTTP/2 would always win over  
HTTP/1 though.

Since your minify-tests performs non-reversible content modifications, I  
would be very careful to use those results.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 15:18:26 2012
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 AC4DA11E80C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 15:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.243
X-Spam-Level: 
X-Spam-Status: No, score=-10.243 tagged_above=-999 required=5 tests=[AWL=-0.245, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, 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 1cj+5UmT76PN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 15:18:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A5E0911E80BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 15:18:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svbn0-0002HF-6U for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 22:16:42 +0000
Resent-Date: Sun, 29 Jul 2012 22:16:42 +0000
Resent-Message-Id: <E1Svbn0-0002HF-6U@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Svbmc-0002Fv-VT for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 22:16:18 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Svbma-0004bk-6G for ietf-http-wg@w3.org; Sun, 29 Jul 2012 22:16:18 +0000
Received: by wgbdq12 with SMTP id dq12so3378495wgb.26 for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 15:15:49 -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=6bQtSz/Px+4N4RGlXFg9wVi6qTGRtsFw89I8WUhZqbo=; b=mefj/2ESIrs1RWVD6lBJgvYD0mgwzAEUzjo0J0wha6btNp5SWEDv46dZgt8AZ0zC6N d5/NNxSHv73LPS7XVktRQx97r3BIvGEj5klI1FbDXy4GVAh2UHheGgnbawEC867oupT0 eqPhva1ewubiSgygbp8+9xuR/IeJHFcPYyWrUPWSFlRldzG5vLnE1twdq9GHpVVEXqSl UBh2UJJ7jGy09lz1eR85IAgd76V/pZWbq2nCCIL/oyOndNtfdZvYsWnrxpQPcyQ/HrwQ M89RHQgi+YOcnpO/rXD5K+brp8ajfN14oQh82bvNBX4Y1/Sxj6Ki1ZVfaXZ8tzTWNoMf ZQow==
MIME-Version: 1.0
Received: by 10.180.87.199 with SMTP id ba7mr37706485wib.10.1343600149689; Sun, 29 Jul 2012 15:15:49 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Sun, 29 Jul 2012 15:15:49 -0700 (PDT)
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Sun, 29 Jul 2012 15:15:49 -0700
Message-ID: <CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d0444e939a4768504c5ff49b7
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Svbma-0004bk-6G 750a6fe94d089c97254c317233545656
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14808
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>

--f46d0444e939a4768504c5ff49b7
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Interesting data! Questions about test methodology:

Was the client/server speaking SPDY/2 or SPDY/3?
A percentage of the time, Chrome will not use SPDY (it decides this at
startup). Did you verify that it was always speaking SPDY? (I'd guess yes!)
Was the server using the CWND set sent in the SETTINGS frame, and was it
sending it to the client?
What was the server's initcwnd?
Was slow-start-after-idle turned off on the kernel?
How long were the various connections in slow start, and did they ever exit
slow-start?
Was the SSL cert chain the same size and using the same algorithms?
Was the dummynet (or equivalent) configured to have appropriate buffer size
(else it does packet drops silently)?
Were these all cold-connection, cold-cache first-page load timings? The use
of keep-alive in figure 3 would seem to indicate otherwise, but I'm not
sure which are which...
Did you put Chromium into 'replay' mode (where date and random always
return in the same manner, regardless of actual date)?
Any particular reason that you turned off entity-body compression in
Apache? Were the resources saved verbatim from WinHTTrack (in which case
it'd make sense)?
Was the server emulating the original server's think times? This can have a
very, very large impact on pipelined HTTP performance.

We've found that the various automatic page-is-done signals are often less
useful than something which measures the above-the-fold page load time.
This generally involves cameras pointed at screens and a human looking at
the video to determine at which frame the page is useful, and designating
that frame as 'done-for-above-the-fold'

I'd love to see if we could get a common suite of test data over which we
could all run experiments/benchmarks.
Is anyone else interested in doing so?

-=3DR

On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

>  Dear All,****
>
> ** **
>
> We remain committed to the HTTP/2.0 standards process and look forward to
> seeing many of you this week at the IETF meeting in Vancouver to continue
> the discussion.  In the spirit of open discussion, we wanted to share som=
e
> observations in advance of the meeting and share the latest progress from
> prototyping and testing. ****
>
> ** **
>
> There are currently three different proposals that the group is working
> through:****
>
> ** **
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),****
>
>    * HTTP Speed+Mobility (
> http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),****
>
>    * Network-Friendly HTTP Upgrade (
> http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly). ****
>
> ** **
>
> The good news is that everyone involved wants to make the Web faster, mor=
e
> scalable, more secure, and more mobile-friendly, and each proposal has
> benefits in different areas that the discussion can choose from.****
>
> ** **
>
> --- A Genuinely Faster Web ---****
>
> ** **
>
> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =93clean slate=94 approach to improving HTTP.****
>
> ** **
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a controlled
> tested study. The test uses publically available software run with mostly
> default configurations while applying all the currently available
> optimizations to HTTP/1.1. You can find a preliminary report on the test
> results here: http://research.microsoft.com/apps/pubs/?id=3D170059. The
> results mirror other data (
> http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate
> mixed results with SPDY performance.****
>
> ** **
>
> Our results indicate almost equal performance between SPDY and HTTP/1.1
> when one applies all the known optimizations to HTTP/1.1. SPDY=92s
> performance improvements are not consistent and significant. We will
> continue our testing, and we welcome others to publish their results so
> that HTTP/2.0 can choose the best changes and deliver the best possible
> performance and scalability improvements compared to HTTP/1.1.****
>
> ** **
>
> ** **
>
> --- Taking the Best from Each ---****
>
> ** **
>
> Speed is one of several areas of improvement. Currently, there=92s no cle=
ar
> consensus that any one of the proposals is the clear choice or even
> starting point for HTTP/2.0 (based on our reading the Expressions of
> Interest and discussions on this mailing list. A good example of this is
> the vigorous discussion around mandating TLS encryption (
> http://tools.ietf.org/html/rfc5246) for HTTP/2.0. ****
>
> ** **
>
> We think a good approach for HTTP/2.0 is to take the best solution for
> each of these areas from each of the proposals.  This approach helps us
> focus the discussion for each area of the protocol. Of course, this
> approach would still allow the standard to benefit from the extensive
> knowledge gained from implementing existing proposals.  ****
>
> ** **
>
> We believe that the group can converge on consensus in the following
> areas, based on our reading of the Expressions of Interest, by starting
> from the different proposals.****
>
> ** **
>
> ------------------|------------------****
>
> Area              | Opinion that ****
>
>                   | seems to prevail****
>
> ------------------|------------------****
>
> 1. Compression    | SPDY or Friendly****
>
> ------------------|------------------****
>
> 2. Multiplexing   | SPDY****
>
> ------------------|------------------****
>
> 3. Mandatory TLS  | Speed+Mobility****
>
> ------------------|------------------****
>
> 4. Negotiation    | Friendly or****
>
>                   |   Speed+Mobility****
>
> ------------------|------------------****
>
> 5. Client Pull/   | Speed+Mobility****
>
>       Server Push | ****
>
> ------------------|------------------****
>
> 6. Flow Control   | SPDY****
>
> ------------------|------------------****
>
> 7. WebSockets     | Speed+Mobility****
>
> ------------------|------------------****
>
> ** **
>
> Below, we discuss each HTTP/2.0 element and the current consensus that
> appears to be forming within the Working Group.****
>
> ** **
>
> 1. Compression****
>
> ** **
>
> Compression is simple to conceptualize and implement, and it is important=
.
> Proxies and other boxes in the middle on today=92s Web often face problem=
s
> with it. The HTTP/2.0 discussion has been rich but with little consensus.=
*
> ***
>
> ****
>
> Though some studies suggest that SPDY=92s header compression approach sho=
ws
> promise, other studies show this compression to be prohibitively onerous
> for intermediary devices. More information here would help us make sure
> we=92re making the Web faster and better. ****
>
> ** **
>
> Also, an entire segment of implementers are not interested in compression
> as defined in SPDY.  That=92s a challenge because the latest strawman for=
 the
> working group charter (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html)
> states that the =93resulting specification(s) are expected to be meet the=
se
> goals for common existing deployments of HTTP; in particular, =85
> intermediation (by proxies, corporate firewalls, =91reverse=92 proxies an=
d
> Content Delivery Networks).=94 ****
>
> ** **
>
> We think the SPDY or Friendly proposals is a good starting point for
> progress.****
>
> ** **
>
> 2. Multiplexing****
>
> ** **
>
> All three proposals define similar multiplexing models. We haven=92t had
> substantial discussion on the differences. This lack of discussion sugges=
ts
> that there is rough consensus around the SPDY framing for multiplexing. *=
*
> **
>
> ** **
>
> We think that the SPDY proposal is a good starting point here and best
> captures the current consensus.****
>
> ** **
>
> 3. Mandating Always On TLS ****
>
> ** **
>
> There is definitely no consensus to mandate TLS for all Web communication=
,
> but some major implementers have stated they will not to adopt HTTP/2.0
> unless the working group supports a =93TLS is mandatory=94 position. A ve=
ry
> preliminary note from the chair (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html)
> states that there is a lack of consensus for mandating TLS. ****
>
> ** **
>
> We think the Speed+Mobility proposal is a good starting point here as it
> provides options to turn TLS on (or not).****
>
> ** **
>
> 4. Negotiation****
>
> ** **
>
> Only two of the proposals actually discuss how different endpoints agree
> to use HTTP/2.0. ****
>
> ** **
>
> (The SPDY proposal does not specify a negotiation method. Current
> prototype implementations use the TLS-NPN (
> http://tools.ietf.org/html/draft-agl-tls-nextprotoneg) extension.  While
> the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some parties
> have expressed non-support for this method as well.) ****
>
> ** **
>
> We think either of the Friendly or Speed+Mobility proposals is a good
> starting point because they are the only ones that have any language in
> this respect.  ****
>
> ** **
>
> 5. Client Pull and Server Push****
>
> ** **
>
> There are tradeoffs between a server push model and a client pull model.
> The main question is how to improve performance while respecting bandwidt=
h
> and client caches. ****
>
> ** **
>
> Server Push has not had the same level of implementation and
> experimentation as the other features in SPDY. More information here woul=
d
> help us make sure we=92re making the Web faster and better. ****
>
> ** **
>
> We think the Speed+Mobility proposal is a good starting point here,
> suggesting that this issue may be better served in a separate document
> rather than tied to the core HTTP/2.0 protocol. ****
>
> ** **
>
> 6. Flow Control****
>
> ** **
>
> There has only been limited discussion in the HTTPbis working group on
> flow control. Flow Control offers a lot of opportunity make the Web faste=
r
> as well as to break it; for example, implementations need to figure out h=
ow
> to optimize for opposing goals (like throughput and responsiveness) at th=
e
> same time. ****
>
> ** **
>
> The current version of the SPDY proposal specifies a flow control message
> with many settings are that are not well-defined. The Speed+Mobilty
> proposal has a simplified flow control model based on certain assumptions=
.
> More experimentation and information here would help us make sure we=92re
> making the Web faster and better. ****
>
> ** **
>
> We think that the SPDY proposal is a good starting point here. ****
>
> ** **
>
> 7. WebSockets****
>
> ** **
>
> We see support  for aligning HTTP/2.0 with a future version of WebSockets=
,
> as suggested in the introduction of the Speed+Mobility proposal.****
>
> ** **
>
> ** **
>
> --- Moving forward ---****
>
> ** **
>
> We=92re excited for the Web to get faster, more stable, and more capable,
> and HTTP/2.0 is an important part of that. ****
>
> ** **
>
> We believe that bringing together the best elements of the current SPDY,
> HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the
> best approach to make that happen. ****
>
> ** **
>
> Based on the discussions on the HTTPbis mailing list, we=92ve suggested
> which proposals make the most sense to start from for each of the areas
> that HTTP/2.0 is addressing. Each of these areas needs more prototyping a=
nd
> experimentation and data. We=92re looking forward to the discussion this =
week.
> ****
>
> ** **
>
> Sincerely,****
>
> ** **
>
> Henrik Frystyk Nielsen****
>
> Principal Architect, Microsoft Open Technologies, Inc.****
>
> ** **
>
> Gabriel Montenegro****
>
> Principal Software Development Engineer, Microsoft Corporation****
>
> ** **
>
> Rob Trace****
>
> Senior Program Manager Lead, Microsoft Corporation****
>
> ** **
>
> Adalberto Foresti****
>
> Senior Program Manager, Microsoft Open Technologies, Inc.****
>
> ** **
>
> ** **
>

--f46d0444e939a4768504c5ff49b7
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div><br></div><div>Interesting data!=A0Questions about test methodology:</=
div><div><br></div><div>Was the client/server speaking SPDY/2 or SPDY/3?</d=
iv><div>A percentage of the time, Chrome will not use SPDY (it decides this=
 at startup). Did you verify that it was always speaking SPDY? (I&#39;d gue=
ss yes!)</div>
<div>Was the server using the CWND set sent in the SETTINGS frame, and was =
it sending it to the client?</div><div>What was the server&#39;s initcwnd?<=
/div><div>Was slow-start-after-idle turned off on the kernel?</div><div>
How long were the various connections in slow start, and did they ever exit=
 slow-start?<br><div>Was the SSL cert chain the same size and using the sam=
e algorithms?</div><div>Was the dummynet (or equivalent) configured to have=
 appropriate buffer size (else it does packet drops silently)?</div>
<div>Were these all cold-connection, cold-cache first-page load timings? Th=
e use of keep-alive in figure 3 would seem to indicate otherwise, but I&#39=
;m not sure which are which...</div><div>Did you put Chromium into &#39;rep=
lay&#39; mode (where date and random always return in the same manner, rega=
rdless of actual date)?</div>
<div>Any particular reason that you turned off entity-body compression in A=
pache? Were the resources saved verbatim from WinHTTrack (in which case it&=
#39;d make sense)?</div><div><div>Was the server emulating the original ser=
ver&#39;s think times? This can have a very, very large impact on pipelined=
 HTTP performance.=A0</div>
<br class=3D"Apple-interchange-newline"></div><div>We&#39;ve found that the=
 various automatic page-is-done signals are often less useful than somethin=
g which measures the above-the-fold page load time. This generally involves=
 cameras pointed at screens and a human looking at the video to determine a=
t which frame the page is useful, and designating that frame as &#39;done-f=
or-above-the-fold&#39;</div>
<div><br></div><div>I&#39;d love to see if we could get a common suite of t=
est data over which we could all run experiments/benchmarks.</div><div>Is a=
nyone else interested in doing so?</div><div><br></div><div>-=3DR<br><br>
<div class=3D"gmail_quote">On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk =
Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.com" targ=
et=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">






<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p>Dear All,<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.=A0 In the spirit of open discussion, we wanted to share so=
me observations
 in advance of the meeting and share the latest progress from prototyping a=
nd testing.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There are currently three different proposals that the group is working =
through:<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>=A0=A0 * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpb=
is-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis=
-spdy</a>),<u></u><u></u></p>
<p>=A0=A0 * HTTP Speed+Mobility (<a href=3D"http://tools.ietf.org/html/draf=
t-montenegro-httpbis-speed-mobility" target=3D"_blank">http://tools.ietf.or=
g/html/draft-montenegro-httpbis-speed-mobility</a>),<u></u><u></u></p>
<p>=A0=A0 * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ietf.org=
/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank">http://tool=
s.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<u></u><u></=
u></p>

<p><u></u>=A0<u></u></p>
<p>--- A Genuinely Faster Web ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a =93clean slate=94 approach to improving HTTP.<u></u><u></u></=
p>
<p><u></u>=A0<u></u></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations
 while applying all the currently available optimizations to HTTP/1.1. You =
can find a preliminary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY=92s performa=
nce improvements are not consistent and significant. We will continue our t=
esting, and we
 welcome others to publish their results so that HTTP/2.0 can choose the be=
st changes and deliver the best possible performance and scalability improv=
ements compared to HTTP/1.1.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p>--- Taking the Best from Each ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Speed is one of several areas of improvement. Currently, there=92s no cl=
ear consensus that any one of the proposals is the clear choice or even sta=
rting point for HTTP/2.0 (based on our reading the Expressions of Interest =
and discussions
 on this mailing list. A good example of this is the vigorous discussion ar=
ound mandating TLS encryption (<a href=3D"http://tools.ietf.org/html/rfc524=
6" target=3D"_blank">http://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think a good approach for HTTP/2.0 is to take the best solution for e=
ach of these areas from each of the proposals. =A0This approach helps us fo=
cus the discussion for each area of the protocol. Of course, this approach =
would still allow
 the standard to benefit from the extensive knowledge gained from implement=
ing existing proposals.=A0
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We believe that the group can converge on consensus in the following are=
as, based on our reading of the Expressions of Interest, by starting from t=
he different proposals.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">Area=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 | Opinion that
<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0| seems to prevail<u></u><u></u></span>=
</p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">1. Compression=A0=A0=
=A0 | SPDY or Friendly<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">2. Multiplexing=A0=
=A0 | SPDY<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">3. Mandatory TLS=A0 =
| Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">4. Negotiation=A0=A0=
=A0 | Friendly or<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0 Speed+Mobility<u></u><u></u></spa=
n></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">5. Client Pull/=A0=
=A0 | Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0 Serv=
er Push |
<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">6. Flow Control=A0=
=A0 | SPDY<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">7. WebSockets=A0=A0=
=A0=A0 | Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><u></u>=A0<u></u></p>
<p>Below, we discuss each HTTP/2.0 element and the current consensus that a=
ppears to be forming within the Working Group.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>1. Compression<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Compression is simple to conceptualize and implement, and it is importan=
t. Proxies and other boxes in the middle on today=92s Web often face proble=
ms with it. The HTTP/2.0 discussion has been rich but with little consensus=
.<u></u><u></u></p>

<p><u></u><u></u></p>
<p>Though some studies suggest that SPDY=92s header compression approach sh=
ows promise, other studies show this compression to be prohibitively onerou=
s for intermediary devices. More information here would help us make sure w=
e=92re making the
 Web faster and better. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Also, an entire segment of implementers are not interested in compressio=
n as defined in SPDY.=A0 That=92s a challenge because the latest strawman f=
or the working group charter (<a href=3D"http://lists.w3.org/Archives/Publi=
c/ietf-http-wg/2012JulSep/0784.html" target=3D"_blank">http://lists.w3.org/=
Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the =93resulting specification(s) are expected to be meet thes=
e goals for common existing deployments of HTTP; in particular, =85 interme=
diation (by proxies, corporate firewalls, =91reverse=92 proxies and Content=
 Delivery Networks).=94
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the SPDY or Friendly proposals is a good starting point for pro=
gress.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>2. Multiplexing<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>All three proposals define similar multiplexing models. We haven=92t had=
 substantial discussion on the differences. This lack of discussion suggest=
s that there is rough consensus around the SPDY framing for multiplexing.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think that the SPDY proposal is a good starting point here and best c=
aptures the current consensus.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>3. Mandating Always On TLS <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There is definitely no consensus to mandate TLS for all Web communicatio=
n, but some major implementers have stated they will not to adopt HTTP/2.0 =
unless the working group supports a =93TLS is mandatory=94 position. A very=
 preliminary note
 from the chair (<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-w=
g/2012JulSep/0601.html" target=3D"_blank">http://lists.w3.org/Archives/Publ=
ic/ietf-http-wg/2012JulSep/0601.html</a>) states that there is a lack of co=
nsensus for mandating TLS.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here as it=
 provides options to turn TLS on (or not).<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>4. Negotiation<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Only two of the proposals actually discuss how different endpoints agree=
 to use HTTP/2.0.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>(The SPDY proposal does not specify a negotiation method. Current protot=
ype implementations use the TLS-NPN (<a href=3D"http://tools.ietf.org/html/=
draft-agl-tls-nextprotoneg" target=3D"_blank">http://tools.ietf.org/html/dr=
aft-agl-tls-nextprotoneg</a>) extension.=A0
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think either of the Friendly or Speed+Mobility proposals is a good st=
arting point because they are the only ones that have any language in this =
respect.=A0
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>5. Client Pull and Server Push<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There are tradeoffs between a server push model and a client pull model.=
 The main question is how to improve performance while respecting bandwidth=
 and client caches.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Server Push has not had the same level of implementation and experimenta=
tion as the other features in SPDY. More information here would help us mak=
e sure we=92re making the Web faster and better.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here, sugg=
esting that this issue may be better served in a separate document rather t=
han tied to the core HTTP/2.0 protocol.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>6. Flow Control<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There has only been limited discussion in the HTTPbis working group on f=
low control. Flow Control offers a lot of opportunity make the Web faster a=
s well as to break it; for example, implementations need to figure out how =
to optimize
 for opposing goals (like throughput and responsiveness) at the same time. =
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The current version of the SPDY proposal specifies a flow control messag=
e with many settings are that are not well-defined. The Speed+Mobilty propo=
sal has a simplified flow control model based on certain assumptions. More =
experimentation
 and information here would help us make sure we=92re making the Web faster=
 and better.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think that the SPDY proposal is a good starting point here.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>7. WebSockets<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We see support=A0 for aligning HTTP/2.0 with a future version of WebSock=
ets, as suggested in the introduction of the Speed+Mobility proposal.<u></u=
><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p>--- Moving forward ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We=92re excited for the Web to get faster, more stable, and more capable=
, and HTTP/2.0 is an important part of that.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We believe that bringing together the best elements of the current SPDY,=
 HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the be=
st approach to make that happen.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Based on the discussions on the HTTPbis mailing list, we=92ve suggested =
which proposals make the most sense to start from for each of the areas tha=
t HTTP/2.0 is addressing. Each of these areas needs more prototyping and ex=
perimentation
 and data. We=92re looking forward to the discussion this week.<u></u><u></=
u></p>
<p><u></u>=A0<u></u></p>
<p>Sincerely,<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Henrik Frystyk Nielsen<u></u><u></u></p>
<p>Principal Architect, Microsoft Open Technologies, Inc.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Gabriel Montenegro<u></u><u></u></p>
<p>Principal Software Development Engineer, Microsoft Corporation<u></u><u>=
</u></p>
<p><u></u>=A0<u></u></p>
<p>Rob Trace<u></u><u></u></p>
<p>Senior Program Manager Lead, Microsoft Corporation<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Adalberto Foresti<u></u><u></u></p>
<p>Senior Program Manager, Microsoft Open Technologies, Inc.<u></u><u></u><=
/p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
</div>
</div>

</blockquote></div><br></div></div>

--f46d0444e939a4768504c5ff49b7--


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 15:20:01 2012
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 9F15721F84B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 15:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.866
X-Spam-Level: 
X-Spam-Status: No, score=-9.866 tagged_above=-999 required=5 tests=[AWL=0.133, BAYES_00=-2.599, J_CHICKENPOX_57=0.6, 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 M+39wVGc13XV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 15:20:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 50D7521F8442 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 15:20:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvbpK-0002XA-NW for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 22:19:06 +0000
Resent-Date: Sun, 29 Jul 2012 22:19:06 +0000
Resent-Message-Id: <E1SvbpK-0002XA-NW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Svbp8-0002TE-Kl for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 22:18:54 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Svbp6-0006Jd-Db for ietf-http-wg@w3.org; Sun, 29 Jul 2012 22:18:54 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 1E0F5E6FCF; Mon, 30 Jul 2012 10:18:27 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 30 Jul 2012 10:18:26 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Message-ID: <83c188beec32a84626eb80284edf3ca9@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Svbp6-0006Jd-Db 30887f80db25c880d8054f5f37d6ecd6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/83c188beec32a84626eb80284edf3ca9@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14810
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 30.07.2012 08:14, Henrik Frystyk Nielsen wrote:
> Dear All,
>
>
>
> We remain committed to the HTTP/2.0 standards process and look
> forward to seeing many of you this week at the IETF meeting in
> Vancouver to continue the discussion.  In the spirit of open
> discussion, we wanted to share some observations in advance of the
> meeting and share the latest progress from prototyping and testing.
>
>
>
> There are currently three different proposals that the group is
> working through:
>
>
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),
>
>    * HTTP Speed+Mobility
> (http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),
>
>    * Network-Friendly HTTP Upgrade
> (http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly).
>
>
>
> The good news is that everyone involved wants to make the Web faster,
> more scalable, more secure, and more mobile-friendly, and each
> proposal has benefits in different areas that the discussion can
> choose from.
>
>
>
> --- A Genuinely Faster Web ---
>
>
>
> The SPDY proposal has been great for raising awareness of Web
> performance. It takes a "clean slate" approach to improving HTTP.
>
>
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a
> controlled tested study. The test uses publically available software
> run with mostly default configurations while applying all the
> currently available optimizations to HTTP/1.1. You can find a
> preliminary report on the test results here:
> http://research.microsoft.com/apps/pubs/?id=170059. The results 
> mirror
> other data 
> (http://www.guypo.com/technical/not-as-spdy-as-you-thought)
> that indicate mixed results with SPDY performance.
>
>
>
> Our results indicate almost equal performance between SPDY and
> HTTP/1.1 when one applies all the known optimizations to HTTP/1.1.
> SPDY's performance improvements are not consistent and significant. 
> We
> will continue our testing, and we welcome others to publish their
> results so that HTTP/2.0 can choose the best changes and deliver the
> best possible performance and scalability improvements compared to
> HTTP/1.1.
>
>
>
>
>
> --- Taking the Best from Each ---
>
>
>
> Speed is one of several areas of improvement. Currently, there's no
> clear consensus that any one of the proposals is the clear choice or
> even starting point for HTTP/2.0 (based on our reading the 
> Expressions
> of Interest and discussions on this mailing list. A good example of
> this is the vigorous discussion around mandating TLS encryption
> (http://tools.ietf.org/html/rfc5246) for HTTP/2.0.
>
>
>
> We think a good approach for HTTP/2.0 is to take the best solution
> for each of these areas from each of the proposals.  This approach
> helps us focus the discussion for each area of the protocol. Of
> course, this approach would still allow the standard to benefit from
> the extensive knowledge gained from implementing existing proposals.
>
>
>
> We believe that the group can converge on consensus in the following
> areas, based on our reading of the Expressions of Interest, by
> starting from the different proposals.
>
>
>
> ------------------|------------------
>
> Area              | Opinion that
>
>                   | seems to prevail
>
> ------------------|------------------
>
> 1. Compression    | SPDY or Friendly
>
> ------------------|------------------
>
> 2. Multiplexing   | SPDY
>
> ------------------|------------------
>
> 3. Mandatory TLS  | Speed+Mobility
>
> ------------------|------------------
>
> 4. Negotiation    | Friendly or
>
>                   |   Speed+Mobility
>
> ------------------|------------------
>
> 5. Client Pull/   | Speed+Mobility
>
>       Server Push |
>
> ------------------|------------------
>
> 6. Flow Control   | SPDY
>
> ------------------|------------------
>
> 7. WebSockets     | Speed+Mobility
>
> ------------------|------------------
>
>
>
> Below, we discuss each HTTP/2.0 element and the current consensus
> that appears to be forming within the Working Group.
>

I question why SPDY is the only content from multiplexing? 
network-friendly was designed based on the SPDY multiplexing model with 
improvements for intermediary flow control in mind.

In light of the WG discussions since publishing network-friendly-00 we 
have alterations to the frames which should place it at as a stronger 
contender for:
  2 - better flow identification / control options.
  5 - client pull initiated with optional multiple responses (aka 
optional/negotiated server push),
  7 - WebSockets as extension frames. (also SPDY as extension frames).


>
> 1. Compression
>
>
>
> Compression is simple to conceptualize and implement, and it is
> important. Proxies and other boxes in the middle on today's Web often
> face problems with it. The HTTP/2.0 discussion has been rich but with
> little consensus.
>
> Though some studies suggest that SPDY's header compression approach
> shows promise, other studies show this compression to be 
> prohibitively
> onerous for intermediary devices. More information here would help us
> make sure we're making the Web faster and better.
>
>
>
> Also, an entire segment of implementers are not interested in
> compression as defined in SPDY.  That's a challenge because the 
> latest
> strawman for the working group charter
> 
> (http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html)
> states that the "resulting specification(s) are expected to be meet
> these goals for common existing deployments of HTTP; in particular,
> ... intermediation (by proxies, corporate firewalls, 'reverse' 
> proxies
> and Content Delivery Networks)."
>
>
>
> We think the SPDY or Friendly proposals is a good starting point for
> progress.
>
>
>
> 2. Multiplexing
>
>
>
> All three proposals define similar multiplexing models. We haven't
> had substantial discussion on the differences. This lack of 
> discussion
> suggests that there is rough consensus around the SPDY framing for
> multiplexing.
>
>
> We think that the SPDY proposal is a good starting point here and
> best captures the current consensus.
>
>
>
> 3. Mandating Always On TLS
>
>
>
> There is definitely no consensus to mandate TLS for all Web
> communication, but some major implementers have stated they will not
> to adopt HTTP/2.0 unless the working group supports a "TLS is
> mandatory" position. A very preliminary note from the chair
> 
> (http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html)
> states that there is a lack of consensus for mandating TLS.
>
>
>
> We think the Speed+Mobility proposal is a good starting point here as
> it provides options to turn TLS on (or not).
>

As does network-friendly, which has the ability to negotiate any 
feature in either client request frames or mid-stream interleaved 
control frames.



>
> 4. Negotiation
>
>
>
> Only two of the proposals actually discuss how different endpoints
> agree to use HTTP/2.0.
>
>
>
> (The SPDY proposal does not specify a negotiation method. Current
> prototype implementations use the TLS-NPN
> (http://tools.ietf.org/html/draft-agl-tls-nextprotoneg) extension.
> While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, 
> some
> parties have expressed non-support for this method as well.)
>
>
>
> We think either of the Friendly or Speed+Mobility proposals is a good
> starting point because they are the only ones that have any language
> in this respect.
>
>
>
> 5. Client Pull and Server Push
>
>
>
> There are tradeoffs between a server push model and a client pull
> model. The main question is how to improve performance while
> respecting bandwidth and client caches.
>
>
>
> Server Push has not had the same level of implementation and
> experimentation as the other features in SPDY. More information here
> would help us make sure we're making the Web faster and better.
>
>
>
> We think the Speed+Mobility proposal is a good starting point here,
> suggesting that this issue may be better served in a separate 
> document
> rather than tied to the core HTTP/2.0 protocol.
>
>

Indeed. The point being that the framing model needs to be able to be 
used by a reasonable server-push even if the details of push flow 
control are omitted from the initial HTTP/2 spec.


>
> 6. Flow Control
>
>
>
> There has only been limited discussion in the HTTPbis working group
> on flow control. Flow Control offers a lot of opportunity make the 
> Web
> faster as well as to break it; for example, implementations need to
> figure out how to optimize for opposing goals (like throughput and
> responsiveness) at the same time.
>
>
>
> The current version of the SPDY proposal specifies a flow control
> message with many settings are that are not well-defined. The
> Speed+Mobilty proposal has a simplified flow control model based on
> certain assumptions. More experimentation and information here would
> help us make sure we're making the Web faster and better.
>
>
>
> We think that the SPDY proposal is a good starting point here.
>
>
>
> 7. WebSockets
>
>
>
> We see support  for aligning HTTP/2.0 with a future version of
> WebSockets, as suggested in the introduction of the Speed+Mobility
> proposal.
>
>
>
> --- Moving forward ---
>
>
>
> We're excited for the Web to get faster, more stable, and more
> capable, and HTTP/2.0 is an important part of that.
>
>
>
> We believe that bringing together the best elements of the current
> SPDY, HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade 
> proposals
> is the best approach to make that happen.
>
>

+1.

AYJ


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 16:01:34 2012
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 2476821F8535 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 16:01:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.635
X-Spam-Level: 
X-Spam-Status: No, score=-5.635 tagged_above=-999 required=5 tests=[AWL=0.909, BAYES_00=-2.599, FRT_ADOBE2=2.455, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 MHpqD9mbYHuN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 16:01:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7953921F8534 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 16:01:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvcTL-0004cP-Fx for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 23:00:27 +0000
Resent-Date: Sun, 29 Jul 2012 23:00:27 +0000
Resent-Message-Id: <E1SvcTL-0004cP-Fx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SvcT4-0004Jr-7I for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 23:00:10 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SvcT1-0005je-SG for ietf-http-wg@w3.org; Sun, 29 Jul 2012 23:00:10 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.4 (Build 3445)) with SMTP id <0019165537@smtp.qbik.com>; Mon, 30 Jul 2012 10:59:43 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Larry Masinter" <masinter@adobe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 29 Jul 2012 22:59:42 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com>
Message-Id: <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvcT1-0005je-SG 006b67ffc99d6144184b0096fae1948f
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/em704e4b8a-ca78-4787-810d-6b51e6587714@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14811
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>

=EF=BB=BF
We see this problem a lot at the gateway.  We have processing agents=20
that only want to process say text/html, and really don't like getting=20
streamed MP4s labelled as text/html by some brain-dead server

But in the end, where does the server get the C-T from?  Most just do a=20
map lookup on file extension.

Even if we tried to push the meta-data into the resource itself, so it=20
could be specified by the actual author (think about the hosted site,=20
where the site maintainer has no control over content types the server=20
will send, or not easily), then how do we trust that information?  Some=20
attacker can label whatever content as whatever type if they can find=20
some purpose to do so.

In the end, I think it basically makes Content-Type largely unreliable.=20
  I don't see this changing with 2.0 (at least not properly), unless we=20
introduce the concept of trust - either sign content by someone=20
vouching for its type, or run RBLs of known bad servers.

Do we even need C-T if clients are sniffing anyway?

Adrien

------ Original Message ------
From: "Larry Masinter" <masinter@adobe.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 29/07/2012 3:01:08 a.m.
Subject: RE: Straw-man for our next charter
>The sniffing I was in particular hoping to stop is content-type sniffing.
>http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03
>
>" Many web servers supply incorrect Content-Type header fields with
>  their HTTP responses.  In order to be compatible with these servers,
>  user agents consider the content of HTTP responses as well as the
>  Content-Type header fields when determining the effective media type
>  of the response."
>
>If browsers suddenly stopped sniffing HTTP/1.1 content, it would break =
existing web sites, so of course the browser makers are reluctant to do =
that.
>
>However, if it was a requirement to supply a _correct_ content-type header=
 for HTTP/2.0, and no HTTP/2.0 client sniffed, then sites upgrading to HTTP=
/2.0 would fix their content-type sending (because when they were deploying=
 HTTP/2.0 they would have to in order to get any browser to work with them.=
)
>
>Basically, sniffing is a wart which backward compatibility keeps in place.=
 Introducing a new version is a unique opportunity to remove it.
>
>The improved performance would come from having to look at the content =
to determine before routing to the appropriate processor.
>
>Larry
>
>
>-----Original Message-----
>From: Amos Jeffries [mailto:squid3@treenet.co.nz]
>Sent: Friday, July 27, 2012 11:53 PM
>To: ietf-http-wg@w3.org
>Subject: Re: Straw-man for our next charter
>
>On 28/07/2012 6:39 p.m., Larry Masinter wrote:
>
>>
>>re changes to semantics: consider the possibility of eliminating
>>"sniffing" in HTTP/2.0. If sniffing is justified for compatibility
>>with deployed servers, could we eliminate sniffing for 2.0 sites?
>>
>>It would improve reliability, security, and even performance. Yes,
>>popular browsers would have to agree not to sniff sites running 2.0,
>>so that sites wanting 2:0 benefits will fix their configuration.
>>
>>Likely there are many other warts that can be removed if there is a
>>version upgrade.
>>
>
>
>Which of the several meanings of "sniffing" are you talking about exactly?
>
>AYJ
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 16:38:20 2012
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 1680721F84FB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 16:38:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.172
X-Spam-Level: 
X-Spam-Status: No, score=-10.172 tagged_above=-999 required=5 tests=[AWL=0.427, BAYES_00=-2.599, 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 3F97R4K9LFx2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 16:38:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7911421F84B9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 16:38:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svd2n-0002Wf-AM for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 23:37:05 +0000
Resent-Date: Sun, 29 Jul 2012 23:37:05 +0000
Resent-Message-Id: <E1Svd2n-0002Wf-AM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Svd2b-0002Vp-Vh for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 23:36:54 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Svd2a-0006Rl-SC for ietf-http-wg@w3.org; Sun, 29 Jul 2012 23:36:53 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 8DD2EE6FCF; Mon, 30 Jul 2012 11:36:28 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 30 Jul 2012 11:36:28 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <16625E66-FF5E-4ED8-BA12-87E4D694903D@mnot.net>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C2EA56D9-69A2-485D-BC11-3E785CDF3A4D@mnot.net> <501230C2.1060602@treenet.co.nz> <6ABAF033-557A-488B-9EB2-7F79C4760C5A@mnot.net> <FF649A28BA27384396FD4F7BADF45DDF382E703C@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <16625E66-FF5E-4ED8-BA12-87E4D694903D@mnot.net>
Message-ID: <3dea0d649c7fe7d8c77ef75e2cf091a6@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Svd2a-0006Rl-SC 4a17adf4c7ed889f05a350214981d5a9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/3dea0d649c7fe7d8c77ef75e2cf091a6@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14812
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 30.07.2012 06:55, Mark Nottingham wrote:
> So, we need to have some more detail here.
>
> My take is that we're already implicitly starting from HTTP/1.1.
> I.e., I'd be very surprised (and concerned) if we found ourselves
> rewriting any of parts 2-7; all of our changes *should* be confined 
> to
> part 1.
>

I do see us writing an "HTTP 1.1 and 2.0 translation" document though 
which updates P2-7.

> And, while I can imagine starting from part 1 and changing it
> section-by-section, I do wonder if it offers significant benefit over
> writing something that just aims to replace p1.
>
> All of that said -- it's pretty clear that the current proposals are
> not written as analogues to p1, and probably need to move in that
> direction.
>
> Cheers,

+100. Ack.

AYJ



From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 17:00:22 2012
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 9702F21F84B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 17:00:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.769
X-Spam-Level: 
X-Spam-Status: No, score=-9.769 tagged_above=-999 required=5 tests=[AWL=0.830, BAYES_00=-2.599, 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 wniRTdUZKmAz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 17:00:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7BA121F8476 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 17:00:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvdOX-0001Nf-Fx for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 23:59:33 +0000
Resent-Date: Sun, 29 Jul 2012 23:59:33 +0000
Resent-Message-Id: <E1SvdOX-0001Nf-Fx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SvdOL-0001LF-T1 for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 23:59:21 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SvdOK-0006wB-6c for ietf-http-wg@w3.org; Sun, 29 Jul 2012 23:59:21 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6TNwpdB005121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 23:58:52 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com> <em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist> <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com>
Date: Mon, 30 Jul 2012 01:58:50 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wh8fkc0liw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvdOK-0006wB-6c 0402e60b4a34bd0de4587eef2bbf1ef6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/op.wh8fkc0liw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14813
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 Mon, 16 Jul 2012 16:19:36 +0200, Mike Belshe <mike@belshe.com> wrote:

> Making it a client decision kills the feature entirely.  We
> need to either support push or not support it.  But seriously, who are
> these clients which will reject the pushes?  You can't push random data.
>  You can only push in-domain data.  If the browser doesn't need it, you
> only hurt yourself.  Seriously, why would any browser block the push?
>

I'll disagree with you from two different directions...

First of all I think it would be useful if a client could set up a  
subscription on a resource or a set of resources. I guess you could  
associate the resources with the subscription request, but the duration  
would be different than from a normal request (e.g. for the duration of  
the connection). This is obviously outside of the scope of HTTP semantics,  
but it would be nice if the infrastructure was in place on a binary level  
(e.g. current SPDY/3 can be twisted to support it).

Secondly, if I disable javascript and images, override CSS and turn on  
on-demand-plugins there are very few relevant resources the server can  
push (frame documents and favicons). The issue is for the server to  
determine what types of resources are relevant for the client. If the  
purpose is to limit bandwidth (which is likely if e.g. images are turned  
off), rejecting the incoming pushed content is pointless, as most  
resources are less than 64K and thus fully on the wire already, with  
default SPDY initial window. Some sort of actually working Accept-header  
system could be one way to go.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 17:13:41 2012
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 02B5321F85D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 17:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.487
X-Spam-Level: 
X-Spam-Status: No, score=-7.487 tagged_above=-999 required=5 tests=[AWL=-0.565, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, J_CHICKENPOX_21=0.6, 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 jU7LGpEH8j6u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 17:13:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E331B21F85D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 17:13:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvdbF-0007Ej-1h for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 00:12:41 +0000
Resent-Date: Mon, 30 Jul 2012 00:12:41 +0000
Resent-Message-Id: <E1SvdbF-0007Ej-1h@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Svdb2-0007Dt-8t for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 00:12:28 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Svdb0-0007EA-KM for ietf-http-wg@w3.org; Mon, 30 Jul 2012 00:12:28 +0000
Received: by yenq11 with SMTP id q11so4315597yen.2 for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 17:12:00 -0700 (PDT)
Received: by 10.236.157.131 with SMTP id o3mr8377178yhk.84.1343607120442; Sun, 29 Jul 2012 17:12:00 -0700 (PDT)
Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by mx.google.com with ESMTPS id g46sm2243223yhm.19.2012.07.29.17.11.58 (version=SSLv3 cipher=OTHER); Sun, 29 Jul 2012 17:11:59 -0700 (PDT)
Received: by obqv19 with SMTP id v19so8372078obq.2 for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 17:11:57 -0700 (PDT)
Received: by 10.182.207.6 with SMTP id ls6mr14636926obc.36.1343607117337; Sun, 29 Jul 2012 17:11:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.226.5 with HTTP; Sun, 29 Jul 2012 17:11:26 -0700 (PDT)
In-Reply-To: <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed>
References: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com> <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed>
From: Adam Barth <w3c@adambarth.com>
Date: Sun, 29 Jul 2012 17:11:26 -0700
Message-ID: <CAJE5ia80UM18UYJs2Cg9hhX41fj2oxYHs1S-n6j4tNXy2+DwWA@mail.gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Larry Masinter <masinter@adobe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: none client-ip=209.85.213.171; envelope-from=w3c@adambarth.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Svdb0-0007EA-KM 25ecf3e706c8577351d085a96f031abb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAJE5ia80UM18UYJs2Cg9hhX41fj2oxYHs1S-n6j4tNXy2+DwWA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14814
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 Sun, Jul 29, 2012 at 3:59 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>
> We see this problem a lot at the gateway.  We have processing agents that
> only want to process say text/html, and really don't like getting streamed
> MP4s labelled as text/html by some brain-dead server
>
> But in the end, where does the server get the C-T from?  Most just do a map
> lookup on file extension.
>
> Even if we tried to push the meta-data into the resource itself, so it could
> be specified by the actual author (think about the hosted site, where the
> site maintainer has no control over content types the server will send, or
> not easily), then how do we trust that information?  Some attacker can label
> whatever content as whatever type if they can find some purpose to do so.
>
> In the end, I think it basically makes Content-Type largely unreliable.  I
> don't see this changing with 2.0 (at least not properly), unless we
> introduce the concept of trust - either sign content by someone vouching for
> its type, or run RBLs of known bad servers.
>
> Do we even need C-T if clients are sniffing anyway?

It's certainly used in an essential way in the web browser security
model.  In any case, I'm pretty sure this discussion is getting
off-topic.

Adam


> ------ Original Message ------
> From: "Larry Masinter" <masinter@adobe.com>
> To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 29/07/2012 3:01:08 a.m.
> Subject: RE: Straw-man for our next charter
>>
>> The sniffing I was in particular hoping to stop is content-type sniffing.
>> http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03
>>
>> " Many web servers supply incorrect Content-Type header fields with
>>  their HTTP responses.  In order to be compatible with these servers,
>>  user agents consider the content of HTTP responses as well as the
>>  Content-Type header fields when determining the effective media type
>>  of the response."
>>
>> If browsers suddenly stopped sniffing HTTP/1.1 content, it would break
>> existing web sites, so of course the browser makers are reluctant to do
>> that.
>>
>> However, if it was a requirement to supply a _correct_ content-type header
>> for HTTP/2.0, and no HTTP/2.0 client sniffed, then sites upgrading to
>> HTTP/2.0 would fix their content-type sending (because when they were
>> deploying HTTP/2.0 they would have to in order to get any browser to work
>> with them.)
>>
>> Basically, sniffing is a wart which backward compatibility keeps in place.
>> Introducing a new version is a unique opportunity to remove it.
>>
>> The improved performance would come from having to look at the content to
>> determine before routing to the appropriate processor.
>>
>> Larry
>>
>>
>> -----Original Message-----
>> From: Amos Jeffries [mailto:squid3@treenet.co.nz]
>> Sent: Friday, July 27, 2012 11:53 PM
>> To: ietf-http-wg@w3.org
>> Subject: Re: Straw-man for our next charter
>>
>> On 28/07/2012 6:39 p.m., Larry Masinter wrote:
>>
>>>
>>> re changes to semantics: consider the possibility of eliminating
>>> "sniffing" in HTTP/2.0. If sniffing is justified for compatibility
>>> with deployed servers, could we eliminate sniffing for 2.0 sites?
>>>
>>> It would improve reliability, security, and even performance. Yes,
>>> popular browsers would have to agree not to sniff sites running 2.0,
>>> so that sites wanting 2:0 benefits will fix their configuration.
>>>
>>> Likely there are many other warts that can be removed if there is a
>>> version upgrade.
>>>
>>
>>
>> Which of the several meanings of "sniffing" are you talking about exactly?
>>
>> AYJ
>>
>>
>>
>>
>
>


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 20:27:36 2012
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 0BF1411E8104 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 20:27:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.457
X-Spam-Level: 
X-Spam-Status: No, score=-7.457 tagged_above=-999 required=5 tests=[AWL=0.087, BAYES_00=-2.599, FRT_ADOBE2=2.455, J_CHICKENPOX_21=0.6, 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 PyjS+yJLg2uJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 20:27:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 06FBA21F8630 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 20:27:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svgbn-00022W-Re for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 03:25:27 +0000
Resent-Date: Mon, 30 Jul 2012 03:25:27 +0000
Resent-Message-Id: <E1Svgbn-00022W-Re@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Svgba-000214-Td for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 03:25:14 +0000
Received: from exprod6og111.obsmtp.com ([64.18.1.27]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvgbX-0006Oz-4S for ietf-http-wg@w3.org; Mon, 30 Jul 2012 03:25:14 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob111.postini.com ([64.18.5.12]) with SMTP ID DSNKUBX+fNkI5T/k14b6mHvlv/1QVP8yVcve@postini.com; Sun, 29 Jul 2012 20:25:11 PDT
Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6U3MGk0007176; Sun, 29 Jul 2012 20:22:17 -0700 (PDT)
Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q6U3OfYr028130; Sun, 29 Jul 2012 20:24:42 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Sun, 29 Jul 2012 20:24:41 -0700
From: Larry Masinter <masinter@adobe.com>
To: Adam Barth <w3c@adambarth.com>, "Adrien W. de Croy" <adrien@qbik.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 29 Jul 2012 20:24:38 -0700
Thread-Topic: Re[2]: Straw-man for our next charter
Thread-Index: Ac1t5/G+0uRfsTfdTWK+dCjQf4Y2ZgAGTMnw
Message-ID: <C68CB012D9182D408CED7B884F441D4D1E2D86A111@nambxv01a.corp.adobe.com>
References: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com> <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed> <CAJE5ia80UM18UYJs2Cg9hhX41fj2oxYHs1S-n6j4tNXy2+DwWA@mail.gmail.com>
In-Reply-To: <CAJE5ia80UM18UYJs2Cg9hhX41fj2oxYHs1S-n6j4tNXy2+DwWA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.27; envelope-from=masinter@adobe.com; helo=exprod6og111.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvgbX-0006Oz-4S e8fd1fe40edb86eb39e73fa9e135c2dc
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/C68CB012D9182D408CED7B884F441D4D1E2D86A111@nambxv01a.corp.adobe.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14815
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>

HTTP 2.0 can tighten requirements where loose interpretation in HTTP 1.x le=
ads to performance, reliability, security problems.

For some areas (like pipelining) it would require browsers and other HTTP a=
gents to implement MORE, and perhaps that isn't realistic.
But for sniffing, we would not be asking browsers to implement more, but ra=
ther to turn off heuristic interpretation.
So I think it's feasible and quite consistent with the goals and can meet t=
he gateway requirements as well.

There's no need to sign content. There's just a need to for tooling to aid =
site owners into making their web sites "HTTP 2.0 ready".
That seems to require a variety of optimizations, anyway, so cleaning up co=
ntent-type labels.

Perhaps this is just a matter of reversing the sense of the "nosniff" heade=
r, that is 2.0 defaults nosniff to true. 1.1 defaults to false. Gateways ca=
n just make it explicit.



-----Original Message-----
From: Adam Barth [mailto:w3c@adambarth.com]=20
Sent: Sunday, July 29, 2012 5:11 PM
To: Adrien W. de Croy
Cc: Larry Masinter; ietf-http-wg@w3.org
Subject: Re: Re[2]: Straw-man for our next charter

On Sun, Jul 29, 2012 at 3:59 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>
> We see this problem a lot at the gateway.  We have processing agents that
> only want to process say text/html, and really don't like getting streame=
d
> MP4s labelled as text/html by some brain-dead server
>
> But in the end, where does the server get the C-T from?  Most just do a m=
ap
> lookup on file extension.
>
> Even if we tried to push the meta-data into the resource itself, so it co=
uld
> be specified by the actual author (think about the hosted site, where the
> site maintainer has no control over content types the server will send, o=
r
> not easily), then how do we trust that information?  Some attacker can la=
bel
> whatever content as whatever type if they can find some purpose to do so.
>
> In the end, I think it basically makes Content-Type largely unreliable.  =
I
> don't see this changing with 2.0 (at least not properly), unless we
> introduce the concept of trust - either sign content by someone vouching =
for
> its type, or run RBLs of known bad servers.
>
> Do we even need C-T if clients are sniffing anyway?

It's certainly used in an essential way in the web browser security
model.  In any case, I'm pretty sure this discussion is getting
off-topic.

Adam


> ------ Original Message ------
> From: "Larry Masinter" <masinter@adobe.com>
> To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 29/07/2012 3:01:08 a.m.
> Subject: RE: Straw-man for our next charter
>>
>> The sniffing I was in particular hoping to stop is content-type sniffing=
.
>> http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03
>>
>> " Many web servers supply incorrect Content-Type header fields with
>>  their HTTP responses.  In order to be compatible with these servers,
>>  user agents consider the content of HTTP responses as well as the
>>  Content-Type header fields when determining the effective media type
>>  of the response."
>>
>> If browsers suddenly stopped sniffing HTTP/1.1 content, it would break
>> existing web sites, so of course the browser makers are reluctant to do
>> that.
>>
>> However, if it was a requirement to supply a _correct_ content-type head=
er
>> for HTTP/2.0, and no HTTP/2.0 client sniffed, then sites upgrading to
>> HTTP/2.0 would fix their content-type sending (because when they were
>> deploying HTTP/2.0 they would have to in order to get any browser to wor=
k
>> with them.)
>>
>> Basically, sniffing is a wart which backward compatibility keeps in plac=
e.
>> Introducing a new version is a unique opportunity to remove it.
>>
>> The improved performance would come from having to look at the content t=
o
>> determine before routing to the appropriate processor.
>>
>> Larry
>>
>>
>> -----Original Message-----
>> From: Amos Jeffries [mailto:squid3@treenet.co.nz]
>> Sent: Friday, July 27, 2012 11:53 PM
>> To: ietf-http-wg@w3.org
>> Subject: Re: Straw-man for our next charter
>>
>> On 28/07/2012 6:39 p.m., Larry Masinter wrote:
>>
>>>
>>> re changes to semantics: consider the possibility of eliminating
>>> "sniffing" in HTTP/2.0. If sniffing is justified for compatibility
>>> with deployed servers, could we eliminate sniffing for 2.0 sites?
>>>
>>> It would improve reliability, security, and even performance. Yes,
>>> popular browsers would have to agree not to sniff sites running 2.0,
>>> so that sites wanting 2:0 benefits will fix their configuration.
>>>
>>> Likely there are many other warts that can be removed if there is a
>>> version upgrade.
>>>
>>
>>
>> Which of the several meanings of "sniffing" are you talking about exactl=
y?
>>
>> AYJ
>>
>>
>>
>>
>
>


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 23:25:33 2012
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 3683911E8120 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 23:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_57=0.6, 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 u2G9AXF26wvk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 23:25:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9115811E8108 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 23:25:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvjO2-0003iB-69 for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 06:23:26 +0000
Resent-Date: Mon, 30 Jul 2012 06:23:26 +0000
Resent-Message-Id: <E1SvjO2-0003iB-69@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <figroc@gmail.com>) id 1SvjNl-0003h3-ON for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 06:23:09 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <figroc@gmail.com>) id 1SvjNj-0001Yz-Jh for ietf-http-wg@w3.org; Mon, 30 Jul 2012 06:23:09 +0000
Received: by lbom4 with SMTP id m4so3257107lbo.2 for <ietf-http-wg@w3.org>; Sun, 29 Jul 2012 23:22:40 -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=oBuIQikHPaMm4KBbPWq6M7qIpUHpXSwnRb/BRwFvnh4=; b=GKTsT0m1k9vYIgp3dGvPm3BmjrouUBmULYhmn41YzsPp1BOLOTq9lqW3PNQ2J9+MKP wKu3QMm+tn7wAG/9mFZl/bcZbB4Bms6ymZRoTqr4tAhGWNMWO7BhVLC8I8g7dE1ULt/U HLb5dSCE4Ms2WEYTxZADjScLbO+6G1lC7fWaIdcz3jws5ps/tL9pmwjGAwGMVBHXOF5C C8SNy2ApJZxIhgkO7NRRo+eFJ3nA+VjdMZj5hjFn2bIDM91Icj3QRKEWWUJIuQanhIrt ulW3avrH7iqC8cLRTkeVbgckjdr/xsEdQOzBT6dUQi2QUTt6GN0EbPyRMioZWV9kNihc DXaw==
MIME-Version: 1.0
Received: by 10.112.85.225 with SMTP id k1mr4789491lbz.38.1343629360713; Sun, 29 Jul 2012 23:22:40 -0700 (PDT)
Received: by 10.112.97.17 with HTTP; Sun, 29 Jul 2012 23:22:40 -0700 (PDT)
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Mon, 30 Jul 2012 14:22:40 +0800
Message-ID: <CAAjxXJ3jYZpV7jQnEVGeRFNZPcVp5FHfGaDzSZwRxY20FGZePA@mail.gmail.com>
From: Figroc Chen <figroc@gmail.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.217.171; envelope-from=figroc@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SvjNj-0001Yz-Jh f87c5e4f3341533891936b89580bf21d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CAAjxXJ3jYZpV7jQnEVGeRFNZPcVp5FHfGaDzSZwRxY20FGZePA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14816
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,

What's the usecase of HTTP? And what kind of target does the HTTP/2.0
want to achieve?

The main performance issue of HTTP/1.0 is that one connection for one
request. Since, pipelining has been introduced in HTTP/1.1, without
introducing new header. People argue that pipelining only works
partially because of the interference of network intermediate. Why
don't we just change the default TCP port, or the URL schema? As all
those three protocols break current HTTP-compliant deployment.
Everything has to upgrade to stay in operation.

Considering the networking characteristic of mobile devices, the TCP
connection is meant to be unstable and fragile. Framing control
introduces lot of state in the yet another transport layer. In fact we
have the SIP protocol to refer. As we consider TCP only, the job can
be done by just two headers: Call-ID and CSeq, or squeeze them into
just one header: Transaction-ID. That's much more simple, and much
cleaner.

Speaking about the server notification, I think long-pulling is a very
good way to go. As we are defining new protocol here, we can make the
long-pull operation really very long, maybe as long as the connection
stays alive. If we do that, there is no performance difference between
long-pull and direct push. But for the compatibility sake, long-pull
is far more superior.

For every framing mechanism, the chunked transfer encoding is the
nightmare. We can leverage the 1xx provisional response to eliminate
it, and still retain the streaming ability. This way, network
intermediate will function more effectively.

We don't need another layer of "TCP", do we?

Regards,
Figroc

On Mon, Jul 30, 2012 at 4:14 AM, Henrik Frystyk Nielsen
<henrikn@microsoft.com> wrote:
> Dear All,
>
>
>
> We remain committed to the HTTP/2.0 standards process and look forward to
> seeing many of you this week at the IETF meeting in Vancouver to continue
> the discussion.  In the spirit of open discussion, we wanted to share som=
e
> observations in advance of the meeting and share the latest progress from
> prototyping and testing.
>
>
>
> There are currently three different proposals that the group is working
> through:
>
>
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),
>
>    * HTTP Speed+Mobility
> (http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),
>
>    * Network-Friendly HTTP Upgrade
> (http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly).
>
>
>
> The good news is that everyone involved wants to make the Web faster, mor=
e
> scalable, more secure, and more mobile-friendly, and each proposal has
> benefits in different areas that the discussion can choose from.
>
>
>
> --- A Genuinely Faster Web ---
>
>
>
> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =93clean slate=94 approach to improving HTTP.
>
>
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests compar=
ing
> download times of several public web sites using a controlled tested stud=
y.
> The test uses publically available software run with mostly default
> configurations while applying all the currently available optimizations t=
o
> HTTP/1.1. You can find a preliminary report on the test results here:
> http://research.microsoft.com/apps/pubs/?id=3D170059. The results mirror =
other
> data (http://www.guypo.com/technical/not-as-spdy-as-you-thought) that
> indicate mixed results with SPDY performance.
>
>
>
> Our results indicate almost equal performance between SPDY and HTTP/1.1 w=
hen
> one applies all the known optimizations to HTTP/1.1. SPDY=92s performance
> improvements are not consistent and significant. We will continue our
> testing, and we welcome others to publish their results so that HTTP/2.0 =
can
> choose the best changes and deliver the best possible performance and
> scalability improvements compared to HTTP/1.1.
>
>
>
>
>
> --- Taking the Best from Each ---
>
>
>
> Speed is one of several areas of improvement. Currently, there=92s no cle=
ar
> consensus that any one of the proposals is the clear choice or even start=
ing
> point for HTTP/2.0 (based on our reading the Expressions of Interest and
> discussions on this mailing list. A good example of this is the vigorous
> discussion around mandating TLS encryption
> (http://tools.ietf.org/html/rfc5246) for HTTP/2.0.
>
>
>
> We think a good approach for HTTP/2.0 is to take the best solution for ea=
ch
> of these areas from each of the proposals.  This approach helps us focus =
the
> discussion for each area of the protocol. Of course, this approach would
> still allow the standard to benefit from the extensive knowledge gained f=
rom
> implementing existing proposals.
>
>
>
> We believe that the group can converge on consensus in the following area=
s,
> based on our reading of the Expressions of Interest, by starting from the
> different proposals.
>
>
>
> ------------------|------------------
>
> Area              | Opinion that
>
>                   | seems to prevail
>
> ------------------|------------------
>
> 1. Compression    | SPDY or Friendly
>
> ------------------|------------------
>
> 2. Multiplexing   | SPDY
>
> ------------------|------------------
>
> 3. Mandatory TLS  | Speed+Mobility
>
> ------------------|------------------
>
> 4. Negotiation    | Friendly or
>
>                   |   Speed+Mobility
>
> ------------------|------------------
>
> 5. Client Pull/   | Speed+Mobility
>
>       Server Push |
>
> ------------------|------------------
>
> 6. Flow Control   | SPDY
>
> ------------------|------------------
>
> 7. WebSockets     | Speed+Mobility
>
> ------------------|------------------
>
>
>
> Below, we discuss each HTTP/2.0 element and the current consensus that
> appears to be forming within the Working Group.
>
>
>
> 1. Compression
>
>
>
> Compression is simple to conceptualize and implement, and it is important=
.
> Proxies and other boxes in the middle on today=92s Web often face problem=
s
> with it. The HTTP/2.0 discussion has been rich but with little consensus.
>
> Though some studies suggest that SPDY=92s header compression approach sho=
ws
> promise, other studies show this compression to be prohibitively onerous =
for
> intermediary devices. More information here would help us make sure we=92=
re
> making the Web faster and better.
>
>
>
> Also, an entire segment of implementers are not interested in compression=
 as
> defined in SPDY.  That=92s a challenge because the latest strawman for th=
e
> working group charter
> (http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html)
> states that the =93resulting specification(s) are expected to be meet the=
se
> goals for common existing deployments of HTTP; in particular, =85
> intermediation (by proxies, corporate firewalls, =91reverse=92 proxies an=
d
> Content Delivery Networks).=94
>
>
>
> We think the SPDY or Friendly proposals is a good starting point for
> progress.
>
>
>
> 2. Multiplexing
>
>
>
> All three proposals define similar multiplexing models. We haven=92t had
> substantial discussion on the differences. This lack of discussion sugges=
ts
> that there is rough consensus around the SPDY framing for multiplexing.
>
>
>
> We think that the SPDY proposal is a good starting point here and best
> captures the current consensus.
>
>
>
> 3. Mandating Always On TLS
>
>
>
> There is definitely no consensus to mandate TLS for all Web communication=
,
> but some major implementers have stated they will not to adopt HTTP/2.0
> unless the working group supports a =93TLS is mandatory=94 position. A ve=
ry
> preliminary note from the chair
> (http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html)
> states that there is a lack of consensus for mandating TLS.
>
>
>
> We think the Speed+Mobility proposal is a good starting point here as it
> provides options to turn TLS on (or not).
>
>
>
> 4. Negotiation
>
>
>
> Only two of the proposals actually discuss how different endpoints agree =
to
> use HTTP/2.0.
>
>
>
> (The SPDY proposal does not specify a negotiation method. Current prototy=
pe
> implementations use the TLS-NPN
> (http://tools.ietf.org/html/draft-agl-tls-nextprotoneg) extension.  While
> the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some parties
> have expressed non-support for this method as well.)
>
>
>
> We think either of the Friendly or Speed+Mobility proposals is a good
> starting point because they are the only ones that have any language in t=
his
> respect.
>
>
>
> 5. Client Pull and Server Push
>
>
>
> There are tradeoffs between a server push model and a client pull model. =
The
> main question is how to improve performance while respecting bandwidth an=
d
> client caches.
>
>
>
> Server Push has not had the same level of implementation and experimentat=
ion
> as the other features in SPDY. More information here would help us make s=
ure
> we=92re making the Web faster and better.
>
>
>
> We think the Speed+Mobility proposal is a good starting point here,
> suggesting that this issue may be better served in a separate document
> rather than tied to the core HTTP/2.0 protocol.
>
>
>
> 6. Flow Control
>
>
>
> There has only been limited discussion in the HTTPbis working group on fl=
ow
> control. Flow Control offers a lot of opportunity make the Web faster as
> well as to break it; for example, implementations need to figure out how =
to
> optimize for opposing goals (like throughput and responsiveness) at the s=
ame
> time.
>
>
>
> The current version of the SPDY proposal specifies a flow control message
> with many settings are that are not well-defined. The Speed+Mobilty propo=
sal
> has a simplified flow control model based on certain assumptions. More
> experimentation and information here would help us make sure we=92re maki=
ng
> the Web faster and better.
>
>
>
> We think that the SPDY proposal is a good starting point here.
>
>
>
> 7. WebSockets
>
>
>
> We see support  for aligning HTTP/2.0 with a future version of WebSockets=
,
> as suggested in the introduction of the Speed+Mobility proposal.
>
>
>
>
>
> --- Moving forward ---
>
>
>
> We=92re excited for the Web to get faster, more stable, and more capable,=
 and
> HTTP/2.0 is an important part of that.
>
>
>
> We believe that bringing together the best elements of the current SPDY,
> HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the b=
est
> approach to make that happen.
>
>
>
> Based on the discussions on the HTTPbis mailing list, we=92ve suggested w=
hich
> proposals make the most sense to start from for each of the areas that
> HTTP/2.0 is addressing. Each of these areas needs more prototyping and
> experimentation and data. We=92re looking forward to the discussion this =
week.
>
>
>
> Sincerely,
>
>
>
> Henrik Frystyk Nielsen
>
> Principal Architect, Microsoft Open Technologies, Inc.
>
>
>
> Gabriel Montenegro
>
> Principal Software Development Engineer, Microsoft Corporation
>
>
>
> Rob Trace
>
> Senior Program Manager Lead, Microsoft Corporation
>
>
>
> Adalberto Foresti
>
> Senior Program Manager, Microsoft Open Technologies, Inc.
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Sun Jul 29 23:34:11 2012
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 9D9CC11E811F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 23:34:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.732
X-Spam-Level: 
X-Spam-Status: No, score=-8.732 tagged_above=-999 required=5 tests=[AWL=-1.265, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 rFES9ES9dq-x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 23:34:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8874711E811A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 23:34:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvjXO-0000WH-BZ for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 06:33:06 +0000
Resent-Date: Mon, 30 Jul 2012 06:33:06 +0000
Resent-Message-Id: <E1SvjXO-0000WH-BZ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SvjXA-0000Ut-T7 for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 06:32:52 +0000
Received: from co1ehsobe004.messaging.microsoft.com ([216.32.180.187] helo=co1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SvjX9-0004BX-EE for ietf-http-wg@w3.org; Mon, 30 Jul 2012 06:32:52 +0000
Received: from mail183-co1-R.bigfish.com (10.243.78.236) by CO1EHSOBE013.bigfish.com (10.243.66.76) with Microsoft SMTP Server id 14.1.225.23; Mon, 30 Jul 2012 06:32:24 +0000
Received: from mail183-co1 (localhost [127.0.0.1])	by mail183-co1-R.bigfish.com (Postfix) with ESMTP id 1D9C328037A	for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 06:32:24 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -12
X-BigFish: VS-12(zz98dI9371I542M1432I4015Izz1202hzz8275bh8275dh186Mz2fh2a8h683h839h944hd24hf0ah107ah9a9j)
Received-SPF: pass (mail183-co1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT004.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail183-co1 (localhost.localdomain [127.0.0.1]) by mail183-co1 (MessageSwitch) id 1343629942486869_10227; Mon, 30 Jul 2012 06:32:22 +0000 (UTC)
Received: from CO1EHSMHS006.bigfish.com (unknown [10.243.78.254])	by mail183-co1.bigfish.com (Postfix) with ESMTP id 754D5560044	for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 06:32:22 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by CO1EHSMHS006.bigfish.com (10.243.66.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 30 Jul 2012 06:32:22 +0000
Received: from ch1outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Mon, 30 Jul 2012 06:32:21 +0000
Received: from mail146-ch1-R.bigfish.com (10.43.68.234) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.23; Mon, 30 Jul 2012 06:32:20 +0000
Received: from mail146-ch1 (localhost [127.0.0.1])	by mail146-ch1-R.bigfish.com (Postfix) with ESMTP id 763EA100439	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 30 Jul 2012 06:32:20 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(13464001)(24454001)(377454001)(164054002)(51704002)(33646001)(42186003)(16406001)(5343655001)(5343635001)(266001)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail146-ch1 (localhost.localdomain [127.0.0.1]) by mail146-ch1 (MessageSwitch) id 1343629938791158_31414; Mon, 30 Jul 2012 06:32:18 +0000 (UTC)
Received: from CH1EHSMHS007.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.247])	by mail146-ch1.bigfish.com (Postfix) with ESMTP id BD9C92A004B;	Mon, 30 Jul 2012 06:32:18 +0000 (UTC)
Received: from BL2PRD0310HT004.namprd03.prod.outlook.com (157.56.240.21) by CH1EHSMHS007.bigfish.com (10.43.70.7) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 30 Jul 2012 06:32:18 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com (10.255.156.169) by BL2PRD0310HT004.namprd03.prod.outlook.com (10.255.97.39) with Microsoft SMTP Server (TLS) id 14.16.175.8; Mon, 30 Jul 2012 06:32:17 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com (10.255.156.169) by CH1PR03MB622.namprd03.prod.outlook.com (10.255.156.169) with Microsoft SMTP Server (TLS) id 15.0.466.11; Mon, 30 Jul 2012 06:32:14 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com ([169.254.5.138]) by CH1PR03MB622.namprd03.prod.outlook.com ([169.254.5.188]) with mapi id 15.00.0466.010; Mon, 30 Jul 2012 06:32:08 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Martin Nilsson <nilsson@opera.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
CC: Jitu Padhye <padhye@microsoft.com>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71QAF5dSAABCyaHA=
Date: Mon, 30 Jul 2012 06:32:07 +0000
Message-ID: <299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.148]
x-forefront-prvs: 0558D3C5AC
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PR03MB622.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%OPERA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.187; envelope-from=henrikn@microsoft.com; helo=co1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SvjX9-0004BX-EE 78b76888b8275806cd641f5db47eea8a
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14817
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>

Martin,

What scenarios do you have in mind where pipelining does not work? Obviousl=
y it only works for GET so for web sites using lots of non-GET requests it =
won't work but GET is the predominant method on most sites.

We took some pretty normal sites so I do think they represent reasonable da=
ta. We'd be happy to expand the sites but the whole point was to show diffe=
rences in relatively common sites. It is correct that we didn't use cookies=
. Cookie and UA-header sizes can indeed vary a lot but that is a much more =
isolated problem to solve that can be done in any number of ways.

As for video (assuming you use TCP) the bottleneck is likely going to be se=
t by TCP throughput. The overhead of HTTP headers will be negligible due to=
 the size of the payload. We'd be happy to do some tests but all things bei=
ng equal I can say based on experience that adding a credit-based session l=
ayer such as SPDY will not perform as well as running straight over TCP for=
 large payloads. The reason is that the credit scheme by its very purpose a=
cts as a throttle so that one session doesn't take the entire bandwidth.

As for minification, the intention is not to do those unbeknownst to the we=
bsite designer -- it is something that is an integral part of the design of=
 a web site so there is no reason why this isn't a valid optimization.

Thanks,

Henrik

-----Original Message-----
From: Martin Nilsson [mailto:nilsson@opera.com]=20
Sent: Sunday, July 29, 2012 3:17 PM
To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web

On Sun, 29 Jul 2012 22:14:02 +0200, Henrik Frystyk Nielsen <henrikn@microso=
ft.com> wrote:

>
> To compare the performance of SPDY with HTTP/1.1 we have run tests =20
> comparing download times of several public web sites using a controlled =
=20
> tested study. The test uses publically available software run with =20
> mostly default configurations while applying all the currently available =
=20
> optimizations to HTTP/1.1. You can find a preliminary report on the test =
=20
> results here: http://research.microsoft.com/apps/pubs/?id=3D170059.

This is an interesting demonstration of a use case HTTP was made for, and =
=20
where HTTP works well. The issues we are facing are non-working pipelining =
=20
in HTTP/1, increase in HTTP header size from things like cookies and =20
ua-prof-diff, and streaming of video. It doesn't appear that you are =20
testing these issues, so it makes sense that the performance difference =20
isn't that great. It would be preferable if HTTP/2 would always win over =20
HTTP/1 though.

Since your minify-tests performs non-reversible content modifications, I =20
would be very careful to use those results.

/Martin Nilsson

--=20
Using Opera's revolutionary email client: http://www.opera.com/mail/








From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 00:04:42 2012
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 C8B7811E811C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 00:04:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 6aNhVISXkKI4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 00:04:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1DBAA11E8114 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 00:04:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svk0h-0006Rs-8W for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 07:03:23 +0000
Resent-Date: Mon, 30 Jul 2012 07:03:23 +0000
Resent-Message-Id: <E1Svk0h-0006Rs-8W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Svk0V-0006R2-FE for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 07:03:11 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Svk0U-0005Dc-BI for ietf-http-wg@w3.org; Mon, 30 Jul 2012 07:03:11 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 5F3F73B745; Mon, 30 Jul 2012 07:02:48 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6U72jtY061788; Mon, 30 Jul 2012 07:02:47 GMT (envelope-from phk@phk.freebsd.dk)
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 29 Jul 2012 20:14:02 GMT." <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 30 Jul 2012 07:02:45 +0000
Message-ID: <61787.1343631765@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Svk0U-0005Dc-BI 56344bc2a4a2c62e6eb0574d712f68a0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/61787.1343631765@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14818
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>

>2. Multiplexing
>
>All three proposals define similar multiplexing models. We haven't had
>substantial discussion on the differences. This lack of discussion suggests
>that there is rough consensus around the SPDY framing for multiplexing.

... or that more important topics have stolen the time.

(Absense of evidence is not evidence of absence.)

>There is definitely no consensus to mandate TLS for all Web communication, 
>but some major implementers have stated they will not to adopt HTTP/2.0 
>unless the working group supports a "TLS is mandatory" position.

It is not clear to me exactly what these major implementers mean when
they say "TLS is mandatory"

Do they mean "TLS MUST be supported" or "TLS MUST be used" ?

It is also not clear to me which property of TLS they are after, is
it identification, authentication, secrecy or privacy they want ?

I also wonder about their motives:  Do they really insist on TLS
in order to shut out intermediaries ?

>5. Client Pull and Server Push
>
>There are tradeoffs between a server push model and a client pull model. 
>The main question is how to improve performance while respecting bandwidth 
>and client caches.

I would Server Push for HTTP/2.1, but keep an eye out for what it will
need while designing HTTP/2.0.

>6. Flow Control
>
>There has only been limited discussion in the HTTPbis working group on flow
> control. 

One very important aspect of flow control is DoS mitigation, and we have
barely mentioned that until now.

It would be a great step forward in DoS resistance if HTTP/2.0 put
a very tight limit on the initial "resource window" the client can
use, in order to give the server maximum control over allocation
of resources, from the very begining.

If the limit was set around "max 1 connection, max 6 pipelines requests
no request bodies larger than 4k" until the server says otherwise,
DoS attacks against HTTP/2.0 will be easier to cope with.


I too agree that all three proposals bring good things to the table,
but I think we would be better off starting from scratch, cherry picking
from the three suggestions as we go along, rather than try to evict
text already added to one of the proposals.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 00:25:17 2012
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 F12F011E80F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 00:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 MLrqFo-rzCez for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 00:25:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6FEE611E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 00:25:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvkKo-0007zC-9y for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 07:24:10 +0000
Resent-Date: Mon, 30 Jul 2012 07:24:10 +0000
Resent-Message-Id: <E1SvkKo-0007zC-9y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SvkKc-0007vo-Fv for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 07:23:58 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SvkKb-0003kq-7g for ietf-http-wg@w3.org; Mon, 30 Jul 2012 07:23:58 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 790C63B76A; Mon, 30 Jul 2012 07:23:35 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6U7NXW6061864; Mon, 30 Jul 2012 07:23:34 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien W. de Croy" <adrien@qbik.com>
cc: "Larry Masinter" <masinter@adobe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 29 Jul 2012 22:59:42 GMT." <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 30 Jul 2012 07:23:32 +0000
Message-ID: <61863.1343633012@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvkKb-0003kq-7g 2ffc58fe71cd2e26c599842c019bc09b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/61863.1343633012@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14819
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>

In message <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed>, "Adrien W. de Croy"
 writes:

>Do we even need C-T if clients are sniffing anyway?

Actually not.

If we want maximum efficiency and lowest latency, the content should
always use some kind of efficiently compressed format for content.

Most A-V content do so already, and self-indentify as a result.

In fact, about the only content which does not automatically compress
is XML, HTML, CSS, ASCII and Javascript.

Unfortunately the readily available general purpose compression
standards only identify the compression algorithem and not the
content in the compressed bitstream.

But I think this would work:

	Remove the C-T header.

	Mandate that content be compresssed with a self-identifying
	compression.

	Mandate support for gzip compression of content, with an optional
	MIME type in the gzip "comment" header field.

The important detail that would make this work in practice, is
that GZIP has a no compression mode, where bytes are just framed
by other bytes, so in the rare case of a precompressed but not
self-identifying data type, gzip can provide the identification
without the overhead of repeated compression.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 01:00:50 2012
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 D21C721F86C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 01:00:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.598
X-Spam-Level: 
X-Spam-Status: No, score=-7.598 tagged_above=-999 required=5 tests=[AWL=-0.076, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, 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 knYlAt-AGGeC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 01:00:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1FB1221F86B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 01:00:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvktA-0007hF-TY for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 07:59:40 +0000
Resent-Date: Mon, 30 Jul 2012 07:59:40 +0000
Resent-Message-Id: <E1SvktA-0007hF-TY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Svksz-0007gT-HJ for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 07:59:29 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Svksr-0004rN-8m for ietf-http-wg@w3.org; Mon, 30 Jul 2012 07:59:29 +0000
Received: by ghy10 with SMTP id 10so4506156ghy.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 00:58:55 -0700 (PDT)
Received: by 10.236.143.237 with SMTP id l73mr9083235yhj.68.1343635135476; Mon, 30 Jul 2012 00:58:55 -0700 (PDT)
Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by mx.google.com with ESMTPS id k2sm8601652anl.11.2012.07.30.00.58.53 (version=SSLv3 cipher=OTHER); Mon, 30 Jul 2012 00:58:54 -0700 (PDT)
Received: by obqv19 with SMTP id v19so8877520obq.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 00:58:53 -0700 (PDT)
Received: by 10.182.136.2 with SMTP id pw2mr15915342obb.54.1343635133075; Mon, 30 Jul 2012 00:58:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.226.5 with HTTP; Mon, 30 Jul 2012 00:58:22 -0700 (PDT)
In-Reply-To: <C68CB012D9182D408CED7B884F441D4D1E2D86A111@nambxv01a.corp.adobe.com>
References: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com> <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed> <CAJE5ia80UM18UYJs2Cg9hhX41fj2oxYHs1S-n6j4tNXy2+DwWA@mail.gmail.com> <C68CB012D9182D408CED7B884F441D4D1E2D86A111@nambxv01a.corp.adobe.com>
From: Adam Barth <w3c@adambarth.com>
Date: Mon, 30 Jul 2012 00:58:22 -0700
Message-ID: <CAJE5ia9KjNNki22+9BZszvpLp9pq_VTbJwM_hgcVwqwywimqgQ@mail.gmail.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: none client-ip=209.85.160.171; envelope-from=w3c@adambarth.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Svksr-0004rN-8m cd6cb3150029709b903e8035e1359034
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAJE5ia9KjNNki22+9BZszvpLp9pq_VTbJwM_hgcVwqwywimqgQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14820
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 Sun, Jul 29, 2012 at 8:24 PM, Larry Masinter <masinter@adobe.com> wrote:
> HTTP 2.0 can tighten requirements where loose interpretation in HTTP 1.x leads to performance, reliability, security problems.

Where does the charter say that?  My reading of the charter is that
"changes to the existing semantics of HTTP are out of scope."

Adam


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 01:07:40 2012
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 12D7321F84B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 01:07:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.38
X-Spam-Level: 
X-Spam-Status: No, score=-4.38 tagged_above=-999 required=5 tests=[AWL=3.464, BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 SLOuw-0Kanzq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 01:07:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1FAE321F84B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 01:07:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svkzr-0004en-7H for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 08:06:35 +0000
Resent-Date: Mon, 30 Jul 2012 08:06:35 +0000
Resent-Message-Id: <E1Svkzr-0004en-7H@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Svkzf-0004e2-88 for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 08:06:23 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SvkzW-0005Dj-Q5 for ietf-http-wg@w3.org; Mon, 30 Jul 2012 08:06:23 +0000
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q6U85jf3031593 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 17:05:45 +0900
Received: from (unknown [133.2.206.133]) by scmse02.scbb.aoyama.ac.jp with smtp id 05bc_0fb7_5db91c74_da1d_11e1_b89a_001d096c5782; Mon, 30 Jul 2012 17:05:45 +0900
Received: from [IPv6:::1] ([133.2.210.1]:39017) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15E98AF> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Mon, 30 Jul 2012 17:05:45 +0900
Message-ID: <5016404D.6040601@it.aoyama.ac.jp>
Date: Mon, 30 Jul 2012 17:05:33 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Adam Barth <w3c@adambarth.com>
CC: Larry Masinter <masinter@adobe.com>, "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <C68CB012D9182D408CED7B884F441D4D1E2D86A0FF@nambxv01a.corp.adobe.com> <em704e4b8a-ca78-4787-810d-6b51e6587714@bombed> <CAJE5ia80UM18UYJs2Cg9hhX41fj2oxYHs1S-n6j4tNXy2+DwWA@mail.gmail.com> <C68CB012D9182D408CED7B884F441D4D1E2D86A111@nambxv01a.corp.adobe.com> <CAJE5ia9KjNNki22+9BZszvpLp9pq_VTbJwM_hgcVwqwywimqgQ@mail.gmail.com>
In-Reply-To: <CAJE5ia9KjNNki22+9BZszvpLp9pq_VTbJwM_hgcVwqwywimqgQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvkzW-0005Dj-Q5 12aa21dfa52d6f182a43e6dbd553f610
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/5016404D.6040601@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14821
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>

Hello Adam,

On 2012/07/30 16:58, Adam Barth wrote:
> On Sun, Jul 29, 2012 at 8:24 PM, Larry Masinter<masinter@adobe.com>  wrote:
>> HTTP 2.0 can tighten requirements where loose interpretation in HTTP 1.x leads to performance, reliability, security problems.
>
> Where does the charter say that?  My reading of the charter is that
> "changes to the existing semantics of HTTP are out of scope."

That may well be the correct reading of the current charter. But the WG, 
in Vancouver and afterwards on the mailing list, is going to decide on a 
charter update, which may (or may not) change this.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 02:27:57 2012
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 286F721F8723 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 02:27:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.345
X-Spam-Level: 
X-Spam-Status: No, score=-9.345 tagged_above=-999 required=5 tests=[AWL=-0.269, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, 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 AG0yZxpM3Kiz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 02:27:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0AEAA21F869F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 02:27:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvmEu-0001Hg-IA for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 09:26:12 +0000
Resent-Date: Mon, 30 Jul 2012 09:26:12 +0000
Resent-Message-Id: <E1SvmEu-0001Hg-IA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1SvmEg-0001Gq-SZ for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 09:25:58 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1SvmEb-0002OZ-N9 for ietf-http-wg@w3.org; Mon, 30 Jul 2012 09:25:58 +0000
Received: by qafl39 with SMTP id l39so897957qaf.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 02:25:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=onyAE25XqUn5fe6v5SNbZa0B6f0Ha2Jbljoql1jTojw=; b=UO2hMZ2cl1BRE2/Se3zkV5Cxx2Ysvw/7fSbXJJ+lqC+mZmJU0PSDpdmoWtri+qHuRS Dv0xGu5XudHKH/uGXdYZmODjIYrHSktDwisThXakyv+N0dyDXyGIxv0B5B2JGhvScJEf N18QsWsORn3yriA70lI60nvhNhVMVqY2rSe6gqyYecAki7HSBpELtVtbQovPLwEibEz8 exdwWd7OhzEwSkzW+fPX0/ZKX/jvTRng9vdsdjXgUWsrvSwe66Lq1QBkT/UXZquU7ZKM yPMIgEHK7IaJYB4PAmLnTKVkh0rlwsvSXY/kIm349283phSRMFDp6UMYv95PyEpsepvk GrtQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=onyAE25XqUn5fe6v5SNbZa0B6f0Ha2Jbljoql1jTojw=; b=BQ/GlafAWFaVMs8kJJzlp0fcjsnUwLyhQ3M5qnWrHcLXGhtkO9vc1OgF7tkSrCFa80 rXQt9LV5awMpDBoOfPq3MmdUWuZ4QrMr2Mup1kJBgpc5R58HR2Ad3ZqG8tWEgYoo6q4D 1uMpImBjVNExAEGknm3cmn55+oOfQ+txJ1NfcZqazvG/codwWAzgJKR92YSS3DIGW/xy cmO+l689LuqBRJOKYJqH3hWVZsWUObWEqmH1ZMB9cVuVi3thpSu+QeBiN1SrCi1iJJHy b6AeiykVxM6LelF0bxXw/64Bgodkw7v+v4yD2sReVN3UJK6FFJZHys7R0A5Atq9SHbQx cakw==
Received: by 10.224.187.129 with SMTP id cw1mr22262699qab.78.1343640327273; Mon, 30 Jul 2012 02:25:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.187.129 with SMTP id cw1mr22262681qab.78.1343640326972; Mon, 30 Jul 2012 02:25:26 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.247.211 with HTTP; Mon, 30 Jul 2012 02:25:26 -0700 (PDT)
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Mon, 30 Jul 2012 02:25:26 -0700
X-Google-Sender-Auth: sI0nc5jA6AKeNagX2j3xLel8M7s
Message-ID: <CAA4WUYi=Sj_hV9-RcZK2Dyb-vt0MKoJfhH_g1Rmb0QfMmKm34w@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: multipart/alternative; boundary=485b397dd2a965247004c608a4e5
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmHmGCXo49H/JirXFKqbmupowvcYS9T7K6CIki/KyJTAL2I6rS9zuO3RoXvfxF/Bf56IcDvz+Jgb8aPXVwbjGoZr5RItqBW34qoLEhpEdXUkMUSHwBOkJKEqMt01X0iscR0oT5NzCFzqiyZagP3KBSYzuJHBzQyH9Ri8ip6kxYWbtkV4Dbge+RDodybV/rMZqjbch3n
Received-SPF: pass client-ip=209.85.216.50; envelope-from=willchan@google.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SvmEb-0002OZ-N9 a7eab3c2b787612cbdc065f7fad1a4e1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CAA4WUYi=Sj_hV9-RcZK2Dyb-vt0MKoJfhH_g1Rmb0QfMmKm34w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14822
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>

--485b397dd2a965247004c608a4e5
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Thanks for sending this out Henrik! I appreciate the work you guys have
done to gather data here. There's a lot to say about this (and it looks
like Roberto already commented a lot on the test results themselves), and I
ought to sleep now, but I wanted to point out some initial things first.

On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

>  Dear All,****
>
> ** **
>
> We remain committed to the HTTP/2.0 standards process and look forward to
> seeing many of you this week at the IETF meeting in Vancouver to continue
> the discussion.  In the spirit of open discussion, we wanted to share som=
e
> observations in advance of the meeting and share the latest progress from
> prototyping and testing. ****
>
> ** **
>
> There are currently three different proposals that the group is working
> through:****
>
> ** **
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),****
>
>    * HTTP Speed+Mobility (
> http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),****
>
>    * Network-Friendly HTTP Upgrade (
> http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly). ****
>
> ** **
>
> The good news is that everyone involved wants to make the Web faster, mor=
e
> scalable, more secure, and more mobile-friendly, and each proposal has
> benefits in different areas that the discussion can choose from.****
>
> ** **
>
> --- A Genuinely Faster Web ---****
>
> ** **
>
> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =93clean slate=94 approach to improving HTTP.****
>
> ** **
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a controlled
> tested study. The test uses publically available software run with mostly
> default configurations while applying all the currently available
> optimizations to HTTP/1.1. You can find a preliminary report on the test
> results here: http://research.microsoft.com/apps/pubs/?id=3D170059. The
> results mirror other
>
Is the PDF broken? I don't see a link to the dummy webpage in the report
PDF.


> data (http://www.guypo.com/technical/not-as-spdy-as-you-thought) that
> indicate mixed results with SPDY performance.****
>
> **
>
I find it very curious you mention these two results in conjunction when
discussing SPDY performance. The former relies heavily on pipelining,
which, if you believe Guypo's test results (which I more or less do,
although I don't necessarily agree with the title for his spdy post), show
that pipelining has mixed results. Please refer to
http://www.guypo.com/technical/http-pipelining-not-so-fast-nor-slow/.
Anyhow, I don't feel like we need to belabor pipelining too much, since it
seems like everyone's in support of multiplexing anyway, which I think is
great.

>  **
>
> Our results indicate almost equal performance between SPDY and HTTP/1.1
> when one applies all the known optimizations to HTTP/1.1. SPDY=92s
> performance improvements are not consistent and significant. We will
> continue our testing, and we welcome others to publish their results so
> that HTTP/2.0 can choose the best changes and deliver the best possible
> performance and scalability improvements compared to HTTP/1.1.
>
I'm trying to understand the comments here. Can you clarify some
ambiguities?
- When you say SPDY's performance improvements are not consistent and
significant, are you saying compared to the HTTP+pipelining+minify results
or just compared to naive HTTP? I find the fact that Microsoft's synthetic
test results help validate what we've already known, that reducing
roundtrips is important. Lots of the pipelining and minify techniques are
designed to help reduce roundtrips. SPDY does this too via features like
multiplexing.
- Are you asserting that, because there are ways to workaround HTTP level
bottlenecks via application level optimizations, we shouldn't address HTTP
issues? While I do wish that more websites applied web performance
techniques and leveraged tools like mod_pagespeed, I think it's a sad
reality that most websites do not. It'd be great if we could resolve many
HTTP level performance bottlenecks so that all users of HTTP/2.0 get those
gains, not just the ones who are willing to put in extra time to obtain
them.

> ****
>
> ** **
>
> ** **
>
> --- Taking the Best from Each ---****
>
> ** **
>
> Speed is one of several areas of improvement. Currently, there=92s no cle=
ar
> consensus that any one of the proposals is the clear choice or even
> starting point for HTTP/2.0 (based on our reading the Expressions of
> Interest and discussions on this mailing list. A good example of this is
> the vigorous discussion around mandating TLS encryption (
> http://tools.ietf.org/html/rfc5246) for HTTP/2.0. ****
>
> ** **
>
> We think a good approach for HTTP/2.0 is to take the best solution for
> each of these areas from each of the proposals.  This approach helps us
> focus the discussion for each area of the protocol. Of course, this
> approach would still allow the standard to benefit from the extensive
> knowledge gained from implementing existing proposals.  ****
>
> ** **
>
> We believe that the group can converge on consensus in the following
> areas, based on our reading of the Expressions of Interest, by starting
> from the different proposals.****
>
> ** **
>
> ------------------|------------------****
>
> Area              | Opinion that ****
>
>                   | seems to prevail****
>
> ------------------|------------------****
>
> 1. Compression    | SPDY or Friendly****
>
> ------------------|------------------****
>
> 2. Multiplexing   | SPDY****
>
> ------------------|------------------****
>
> 3. Mandatory TLS  | Speed+Mobility****
>
> ------------------|------------------****
>
> 4. Negotiation    | Friendly or****
>
>                   |   Speed+Mobility****
>
> ------------------|------------------****
>
> 5. Client Pull/   | Speed+Mobility****
>
>       Server Push | ****
>
> ------------------|------------------****
>
> 6. Flow Control   | SPDY****
>
> ------------------|------------------****
>
> 7. WebSockets     | Speed+Mobility****
>
> ------------------|------------------****
>
> ** **
>
> Below, we discuss each HTTP/2.0 element and the current consensus that
> appears to be forming within the Working Group.****
>
> ** **
>
> 1. Compression****
>
> ** **
>
> Compression is simple to conceptualize and implement, and it is important=
.
> Proxies and other boxes in the middle on today=92s Web often face problem=
s
> with it. The HTTP/2.0 discussion has been rich but with little consensus.=
*
> ***
>
> ****
>
> Though some studies suggest that SPDY=92s header compression approach sho=
ws
> promise, other studies show this compression to be prohibitively onerous
> for intermediary devices. More information here would help us make sure
> we=92re making the Web faster and better. ****
>
> ** **
>
> Also, an entire segment of implementers are not interested in compression
> as defined in SPDY.  That=92s a challenge because the latest strawman for=
 the
> working group charter (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html)
> states that the =93resulting specification(s) are expected to be meet the=
se
> goals for common existing deployments of HTTP; in particular, =85
> intermediation (by proxies, corporate firewalls, =91reverse=92 proxies an=
d
> Content Delivery Networks).=94 ****
>
> ** **
>
> We think the SPDY or Friendly proposals is a good starting point for
> progress.****
>
> ** **
>
> 2. Multiplexing****
>
> ** **
>
> All three proposals define similar multiplexing models. We haven=92t had
> substantial discussion on the differences. This lack of discussion sugges=
ts
> that there is rough consensus around the SPDY framing for multiplexing.
>
Great!

> ****
>
> ** **
>
> We think that the SPDY proposal is a good starting point here and best
> captures the current consensus.****
>
> ** **
>
> 3. Mandating Always On TLS ****
>
> ** **
>
> There is definitely no consensus to mandate TLS for all Web communication=
,
> but some major implementers have stated they will not to adopt HTTP/2.0
> unless the working group supports a =93TLS is mandatory=94 position. A ve=
ry
> preliminary note from the chair (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html)
> states that there is a lack of consensus for mandating TLS. ****
>
> ** **
>
> We think the Speed+Mobility proposal is a good starting point here as it
> provides options to turn TLS on (or not).****
>
> ** **
>
> 4. Negotiation****
>
> ** **
>
> Only two of the proposals actually discuss how different endpoints agree
> to use HTTP/2.0. ****
>
> ** **
>
> (The SPDY proposal does not specify a negotiation method. Current
> prototype implementations use the TLS-NPN (
> http://tools.ietf.org/html/draft-agl-tls-nextprotoneg) extension.  While
> the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some parties
> have expressed non-support for this method as well.) ****
>
> ** **
>
> We think either of the Friendly or Speed+Mobility proposals is a good
> starting point because they are the only ones that have any language in
> this respect.  ****
>
> ** **
>
> 5. Client Pull and Server Push****
>
> ** **
>
> There are tradeoffs between a server push model and a client pull model.
> The main question is how to improve performance while respecting bandwidt=
h
> and client caches.
>
I want to re-emphasize that server push, as defined by SPDY, provides for
better inlining. Even Microsoft's tests results seem to leverage inlining
to reduce roundtrips. People complain about server push for not respecting
bandwidth and client caches, but current inlining techniques already do
that.

> ****
>
> ** **
>
> Server Push has not had the same level of implementation and
> experimentation as the other features in SPDY. More information here woul=
d
> help us make sure we=92re making the Web faster and better.
>
Totally agreed, and we're working on this. I hope in the future we will be
able to contribute much more data here.


> ****
>
> ** **
>
> We think the Speed+Mobility proposal is a good starting point here,
> suggesting that this issue may be better served in a separate document
> rather than tied to the core HTTP/2.0 protocol. ****
>
> ** **
>
> 6. Flow Control****
>
> ** **
>
> There has only been limited discussion in the HTTPbis working group on
> flow control. Flow Control offers a lot of opportunity make the Web faste=
r
> as well as to break it; for example, implementations need to figure out h=
ow
> to optimize for opposing goals (like throughput and responsiveness) at th=
e
> same time. ****
>
> ** **
>
> The current version of the SPDY proposal specifies a flow control message
> with many settings are that are not well-defined. The Speed+Mobilty
> proposal has a simplified flow control model based on certain assumptions=
.
> More experimentation and information here would help us make sure we=92re
> making the Web faster and better. ****
>
> ** **
>
> We think that the SPDY proposal is a good starting point here. ****
>
> ** **
>
> 7. WebSockets****
>
> ** **
>
> We see support  for aligning HTTP/2.0 with a future version of WebSockets=
,
> as suggested in the introduction of the Speed+Mobility proposal.****
>
> ** **
>
> ** **
>
> --- Moving forward ---****
>
> ** **
>
> We=92re excited for the Web to get faster, more stable, and more capable,
> and HTTP/2.0 is an important part of that. ****
>
> ** **
>
> We believe that bringing together the best elements of the current SPDY,
> HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the
> best approach to make that happen. ****
>
> ** **
>
> Based on the discussions on the HTTPbis mailing list, we=92ve suggested
> which proposals make the most sense to start from for each of the areas
> that HTTP/2.0 is addressing. Each of these areas needs more prototyping a=
nd
> experimentation and data. We=92re looking forward to the discussion this =
week.
> ****
>
> ** **
>
> Sincerely,****
>
> ** **
>
> Henrik Frystyk Nielsen****
>
> Principal Architect, Microsoft Open Technologies, Inc.****
>
> ** **
>
> Gabriel Montenegro****
>
> Principal Software Development Engineer, Microsoft Corporation****
>
> ** **
>
> Rob Trace****
>
> Senior Program Manager Lead, Microsoft Corporation****
>
> ** **
>
> Adalberto Foresti****
>
> Senior Program Manager, Microsoft Open Technologies, Inc.****
>
> ** **
>
> ** **
>
Btw, since the subject of this email talks about a mobile friendly web, can
you speak to what features in HTTP/2.0 will help make the web more
mobile-friendly? I've got my own ideas, relating to SPDY, but I'm curious
what Microsoft thinks here, especially since HTTP S+M references mobile in
its name.

--485b397dd2a965247004c608a4e5
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Thanks for sending this out Henrik! I appreciate the work you guys have don=
e to gather data here. There&#39;s a lot to say about this (and it looks li=
ke Roberto already commented a lot on the test results themselves), and I o=
ught to sleep now, but I wanted to point out some initial things first.<div=
 class=3D"gmail_extra">

<br><div class=3D"gmail_quote">On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frys=
tyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.com" =
target=3D"_blank" class=3D"cremed">henrikn@microsoft.com</a>&gt;</span> wro=
te:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p>Dear All,<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.=A0 In the spirit of open discussion, we wanted to share so=
me observations
 in advance of the meeting and share the latest progress from prototyping a=
nd testing.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There are currently three different proposals that the group is working =
through:<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>=A0=A0 * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpb=
is-spdy" target=3D"_blank" class=3D"cremed">http://tools.ietf.org/html/draf=
t-mbelshe-httpbis-spdy</a>),<u></u><u></u></p>
<p>=A0=A0 * HTTP Speed+Mobility (<a href=3D"http://tools.ietf.org/html/draf=
t-montenegro-httpbis-speed-mobility" target=3D"_blank" class=3D"cremed">htt=
p://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility</a>),<u></u=
><u></u></p>


<p>=A0=A0 * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ietf.org=
/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank" class=3D"cr=
emed">http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>=
).
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<u></u><u></=
u></p>


<p><u></u>=A0<u></u></p>
<p>--- A Genuinely Faster Web ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a =93clean slate=94 approach to improving HTTP.<u></u><u></u></=
p>
<p><u></u>=A0<u></u></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations
 while applying all the currently available optimizations to HTTP/1.1. You =
can find a preliminary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank" class=3D"cremed">http://research.microsoft.com/apps/pubs/?id=3D1700=
59</a>. The results mirror other</p></div></div></blockquote><div>Is the PD=
F broken? I don&#39;t see a link to the dummy webpage in the report PDF.</d=
iv>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"bl=
ue" vlink=3D"purple"><div><p>data (<a href=3D"http://www.guypo.com/technica=
l/not-as-spdy-as-you-thought" target=3D"_blank" class=3D"cremed">http://www=
.guypo.com/technical/not-as-spdy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<u></u><u></u></p>
<p><u></u></p></div></div></blockquote><div>I find it very curious you ment=
ion these two results in conjunction when discussing SPDY performance. The =
former relies heavily on pipelining, which, if you believe Guypo&#39;s test=
 results (which I more or less do, although I don&#39;t necessarily agree w=
ith the title for his spdy post), show that pipelining has mixed results. P=
lease refer to=A0<a href=3D"http://www.guypo.com/technical/http-pipelining-=
not-so-fast-nor-slow/">http://www.guypo.com/technical/http-pipelining-not-s=
o-fast-nor-slow/</a>. Anyhow, I don&#39;t feel like we need to belabor pipe=
lining too much, since it seems like everyone&#39;s in support of multiplex=
ing anyway, which I think is great.<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlin=
k=3D"purple"><div><p>
=A0<u></u></p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY=92s performa=
nce improvements are not consistent and significant. We will continue our t=
esting, and we
 welcome others to publish their results so that HTTP/2.0 can choose the be=
st changes and deliver the best possible performance and scalability improv=
ements compared to HTTP/1.1.</p></div></div></blockquote><div>I&#39;m tryin=
g to understand the comments here. Can you clarify some ambiguities?</div>
<div>- When you say SPDY&#39;s performance improvements are not consistent =
and significant, are you saying compared to the HTTP+pipelining+minify resu=
lts or just compared to naive HTTP? I find the fact that Microsoft&#39;s sy=
nthetic test results help validate what we&#39;ve already known, that reduc=
ing roundtrips is important. Lots of the pipelining and minify techniques a=
re designed to help reduce roundtrips. SPDY does this too via features like=
 multiplexing.</div>
<div>- Are you asserting that, because there are ways to workaround HTTP le=
vel bottlenecks via application level optimizations, we shouldn&#39;t addre=
ss HTTP issues? While I do wish that more websites applied web performance =
techniques and leveraged tools like mod_pagespeed, I think it&#39;s a sad r=
eality that most websites do not. It&#39;d be great if we could resolve man=
y HTTP level performance bottlenecks so that all users of HTTP/2.0 get thos=
e gains, not just the ones who are willing to put in extra time to obtain t=
hem.</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"p=
urple"><div><p><u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p>--- Taking the Best from Each ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Speed is one of several areas of improvement. Currently, there=92s no cl=
ear consensus that any one of the proposals is the clear choice or even sta=
rting point for HTTP/2.0 (based on our reading the Expressions of Interest =
and discussions
 on this mailing list. A good example of this is the vigorous discussion ar=
ound mandating TLS encryption (<a href=3D"http://tools.ietf.org/html/rfc524=
6" target=3D"_blank" class=3D"cremed">http://tools.ietf.org/html/rfc5246</a=
>) for HTTP/2.0.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think a good approach for HTTP/2.0 is to take the best solution for e=
ach of these areas from each of the proposals. =A0This approach helps us fo=
cus the discussion for each area of the protocol. Of course, this approach =
would still allow
 the standard to benefit from the extensive knowledge gained from implement=
ing existing proposals.=A0
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We believe that the group can converge on consensus in the following are=
as, based on our reading of the Expressions of Interest, by starting from t=
he different proposals.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">Area=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 | Opinion that
<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0| seems to prevail<u></u><u></u></span>=
</p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">1. Compression=A0=A0=
=A0 | SPDY or Friendly<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">2. Multiplexing=A0=
=A0 | SPDY<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">3. Mandatory TLS=A0 =
| Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">4. Negotiation=A0=A0=
=A0 | Friendly or<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0 Speed+Mobility<u></u><u></u></spa=
n></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">5. Client Pull/=A0=
=A0 | Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0 Serv=
er Push |
<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">6. Flow Control=A0=
=A0 | SPDY<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">7. WebSockets=A0=A0=
=A0=A0 | Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><u></u>=A0<u></u></p>
<p>Below, we discuss each HTTP/2.0 element and the current consensus that a=
ppears to be forming within the Working Group.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>1. Compression<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Compression is simple to conceptualize and implement, and it is importan=
t. Proxies and other boxes in the middle on today=92s Web often face proble=
ms with it. The HTTP/2.0 discussion has been rich but with little consensus=
.<u></u><u></u></p>


<p><u></u><u></u></p>
<p>Though some studies suggest that SPDY=92s header compression approach sh=
ows promise, other studies show this compression to be prohibitively onerou=
s for intermediary devices. More information here would help us make sure w=
e=92re making the
 Web faster and better. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Also, an entire segment of implementers are not interested in compressio=
n as defined in SPDY.=A0 That=92s a challenge because the latest strawman f=
or the working group charter (<a href=3D"http://lists.w3.org/Archives/Publi=
c/ietf-http-wg/2012JulSep/0784.html" target=3D"_blank" class=3D"cremed">htt=
p://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the =93resulting specification(s) are expected to be meet thes=
e goals for common existing deployments of HTTP; in particular, =85 interme=
diation (by proxies, corporate firewalls, =91reverse=92 proxies and Content=
 Delivery Networks).=94
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the SPDY or Friendly proposals is a good starting point for pro=
gress.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>2. Multiplexing<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>All three proposals define similar multiplexing models. We haven=92t had=
 substantial discussion on the differences. This lack of discussion suggest=
s that there is rough consensus around the SPDY framing for multiplexing.</=
p>
</div></div></blockquote><div>Great!=A0<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p>
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think that the SPDY proposal is a good starting point here and best c=
aptures the current consensus.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>3. Mandating Always On TLS <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There is definitely no consensus to mandate TLS for all Web communicatio=
n, but some major implementers have stated they will not to adopt HTTP/2.0 =
unless the working group supports a =93TLS is mandatory=94 position. A very=
 preliminary note
 from the chair (<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-w=
g/2012JulSep/0601.html" target=3D"_blank" class=3D"cremed">http://lists.w3.=
org/Archives/Public/ietf-http-wg/2012JulSep/0601.html</a>) states that ther=
e is a lack of consensus for mandating TLS.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here as it=
 provides options to turn TLS on (or not).<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>4. Negotiation<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Only two of the proposals actually discuss how different endpoints agree=
 to use HTTP/2.0.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>(The SPDY proposal does not specify a negotiation method. Current protot=
ype implementations use the TLS-NPN (<a href=3D"http://tools.ietf.org/html/=
draft-agl-tls-nextprotoneg" target=3D"_blank" class=3D"cremed">http://tools=
.ietf.org/html/draft-agl-tls-nextprotoneg</a>) extension.=A0
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think either of the Friendly or Speed+Mobility proposals is a good st=
arting point because they are the only ones that have any language in this =
respect.=A0
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>5. Client Pull and Server Push<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There are tradeoffs between a server push model and a client pull model.=
 The main question is how to improve performance while respecting bandwidth=
 and client caches.</p></div></div></blockquote><div>I want to re-emphasize=
 that server push, as defined by SPDY, provides for better inlining. Even M=
icrosoft&#39;s tests results seem to leverage inlining to reduce roundtrips=
. People complain about server push for not respecting bandwidth and client=
 caches, but current inlining techniques already do that.<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlin=
k=3D"purple"><div><p>
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Server Push has not had the same level of implementation and experimenta=
tion as the other features in SPDY. More information here would help us mak=
e sure we=92re making the Web faster and better.</p></div></div></blockquot=
e>
<div>Totally agreed, and we&#39;re working on this. I hope in the future we=
 will be able to contribute much more data here.</div><div>=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p>
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here, sugg=
esting that this issue may be better served in a separate document rather t=
han tied to the core HTTP/2.0 protocol.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>6. Flow Control<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There has only been limited discussion in the HTTPbis working group on f=
low control. Flow Control offers a lot of opportunity make the Web faster a=
s well as to break it; for example, implementations need to figure out how =
to optimize
 for opposing goals (like throughput and responsiveness) at the same time. =
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The current version of the SPDY proposal specifies a flow control messag=
e with many settings are that are not well-defined. The Speed+Mobilty propo=
sal has a simplified flow control model based on certain assumptions. More =
experimentation
 and information here would help us make sure we=92re making the Web faster=
 and better.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think that the SPDY proposal is a good starting point here.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>7. WebSockets<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We see support=A0 for aligning HTTP/2.0 with a future version of WebSock=
ets, as suggested in the introduction of the Speed+Mobility proposal.<u></u=
><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p>--- Moving forward ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We=92re excited for the Web to get faster, more stable, and more capable=
, and HTTP/2.0 is an important part of that.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We believe that bringing together the best elements of the current SPDY,=
 HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the be=
st approach to make that happen.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Based on the discussions on the HTTPbis mailing list, we=92ve suggested =
which proposals make the most sense to start from for each of the areas tha=
t HTTP/2.0 is addressing. Each of these areas needs more prototyping and ex=
perimentation
 and data. We=92re looking forward to the discussion this week.<u></u><u></=
u></p>
<p><u></u>=A0<u></u></p>
<p>Sincerely,<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Henrik Frystyk Nielsen<u></u><u></u></p>
<p>Principal Architect, Microsoft Open Technologies, Inc.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Gabriel Montenegro<u></u><u></u></p>
<p>Principal Software Development Engineer, Microsoft Corporation<u></u><u>=
</u></p>
<p><u></u>=A0<u></u></p>
<p>Rob Trace<u></u><u></u></p>
<p>Senior Program Manager Lead, Microsoft Corporation<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Adalberto Foresti<u></u><u></u></p>
<p>Senior Program Manager, Microsoft Open Technologies, Inc.<u></u><u></u><=
/p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
</div>
</div>

</blockquote></div>Btw, since the subject of this email talks about a mobil=
e friendly web, can you speak to what features in HTTP/2.0 will help make t=
he web more mobile-friendly? I&#39;ve got my own ideas, relating to SPDY, b=
ut I&#39;m curious what Microsoft thinks here, especially since HTTP S+M re=
ferences mobile in its name.</div>


--485b397dd2a965247004c608a4e5--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 06:38:38 2012
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 50CF321F8731 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 06:38:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.774
X-Spam-Level: 
X-Spam-Status: No, score=-7.774 tagged_above=-999 required=5 tests=[AWL=0.369, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 DR77v1RhRhNk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 06:38:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AECE321F8723 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 06:38:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svq9J-0005jT-EB for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 13:36:41 +0000
Resent-Date: Mon, 30 Jul 2012 13:36:41 +0000
Resent-Message-Id: <E1Svq9J-0005jT-EB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Svq94-0005i8-L2 for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 13:36:26 +0000
Received: from exprod6og114.obsmtp.com ([64.18.1.33]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1Svq8w-0001kB-LT for ietf-http-wg@w3.org; Mon, 30 Jul 2012 13:36:26 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob114.postini.com ([64.18.5.12]) with SMTP ID DSNKUBaNuv8LaY67YH8EPRh11tseMV1mcGF5@postini.com; Mon, 30 Jul 2012 06:36:18 PDT
Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6UDXQk0014541; Mon, 30 Jul 2012 06:33:27 -0700 (PDT)
Received: from nahub02.corp.adobe.com (nahub02.corp.adobe.com [10.8.189.98]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q6UDZpYr007369; Mon, 30 Jul 2012 06:35:51 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub02.corp.adobe.com ([10.8.189.98]) with mapi; Mon, 30 Jul 2012 06:35:50 -0700
From: Larry Masinter <masinter@adobe.com>
To: Adam Barth <w3c@adambarth.com>
CC: "adrien@qbik.com" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Mon, 30 Jul 2012 06:36:04 -0700
Thread-Topic: Re[2]: Straw-man for our next charter
Thread-Index: Ac1uWDubMkR84t3tRzGAq+pU7lX72A==
Message-ID: <a551e462-703d-43cb-a8e0-be6f2296da07@blur>
References: <649ee618-faf6-4777-a7e8-7afa5323112e@blur>
In-Reply-To: <649ee618-faf6-4777-a7e8-7afa5323112e@blur>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_a551e462703d43cba8e0be6f2296da07blur_"
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.33; envelope-from=masinter@adobe.com; helo=exprod6og114.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Svq8w-0001kB-LT c83878f09f07c96ff3de2e6186fa8d25
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/a551e462-703d-43cb-a8e0-be6f2296da07@blur>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14823
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>

--_000_a551e462703d43cba8e0be6f2296da07blur_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

b2RkbHksIHRoZSBzdWJqZWN0IG9mIHRoaXMgdGhyZWFkIGlzICJvdXIgbmV4dCBjaGFydGVyIiBh
bmQgbXkgZGlzY3Vzc2lvbiBpcyBhYm91dCB3aGF0IHRoZSBuZXh0IGNoYXJ0ZXIgc2hvdWxkIHNh
eS4gU28gSSdtIGJld2lsZGVyZWQgYnkgeW91ciByZXBlYXRpbmcgdGhhdCB5b3UgdGhpbmsgbXkg
Y29tbWVudCBpcyBvdXQgb2Ygb3JkZXIsDQoNClRoZSB1c2UgY2FzZSBnaXZlbiBmb3IgbGltaXRp
bmcgc2VtYW50aWNzIGNoYW5nZXMgIGlzIHRvIGVuYWJsZSAxLjEgPC0tPiAyOjAgZ2F0ZXdheXMu
ICBBZGFwdGF0aW9ucyB3aGljaCBjYW4gYmUgaGFuZGxlZCBpbiBnYXRld2F5cyBzaG91bGQgYmUg
aW4gc2NvcGUgZm9yIGNvbnNpZGVyYXRpb24sIGlmIHRoZXkgbWVldCBvdGhlciBIVFRQLzIgZ29h
bHMuDQoNCi0tLS0tT3JpZ2luYWwgbWVzc2FnZS0tLS0tDQpGcm9tOiBBZGFtIEJhcnRoIDx3M2NA
YWRhbWJhcnRoLmNvbT4NClRvOiBMYXJyeSBNYXNpbnRlciA8bWFzaW50ZXJAYWRvYmUuY29tPg0K
Q2M6ICJBZHJpZW4gVy4gZGUgQ3JveSIgPGFkcmllbkBxYmlrLmNvbT4sICJpZXRmLWh0dHAtd2dA
dzMub3JnIiA8aWV0Zi1odHRwLXdnQHczLm9yZz4NClNlbnQ6IE1vbiwgSnVsIDMwLCAyMDEyIDA3
OjU4OjU5IEdNVCswMDowMA0KU3ViamVjdDogUmU6IFJlWzJdOiBTdHJhdy1tYW4gZm9yIG91ciBu
ZXh0IGNoYXJ0ZXINCg0KT24gU3VuLCBKdWwgMjksIDIwMTIgYXQgODoyNCBQTSwgTGFycnkgTWFz
aW50ZXIgPG1hc2ludGVyQGFkb2JlLmNvbT4gd3JvdGU6DQo+IEhUVFAgMi4wIGNhbiB0aWdodGVu
IHJlcXVpcmVtZW50cyB3aGVyZSBsb29zZSBpbnRlcnByZXRhdGlvbiBpbiBIVFRQIDEueCBsZWFk
cyB0byBwZXJmb3JtYW5jZSwgcmVsaWFiaWxpdHksIHNlY3VyaXR5IHByb2JsZW1zLg0KDQpXaGVy
ZSBkb2VzIHRoZSBjaGFydGVyIHNheSB0aGF0PyAgTXkgcmVhZGluZyBvZiB0aGUgY2hhcnRlciBp
cyB0aGF0DQoiY2hhbmdlcyB0byB0aGUgZXhpc3Rpbmcgc2VtYW50aWNzIG9mIEhUVFAgYXJlIG91
dCBvZiBzY29wZS4iDQoNCkFkYW0NCg==

--_000_a551e462703d43cba8e0be6f2296da07blur_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5ib2R5IHt3b3JkLXdyYXA6IGJyZWFr
LXdvcmQ7IGJhY2tncm91bmQtY29sb3I6I2ZmZmZmZjt9PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGRp
diBzdHlsZT0iZm9udC1mYW1pbHk6IHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTZweCI+b2RkbHks
IHRoZSBzdWJqZWN0IG9mIHRoaXMgdGhyZWFkIGlzICJvdXIgbmV4dCBjaGFydGVyIiBhbmQgbXkg
ZGlzY3Vzc2lvbiBpcyBhYm91dCB3aGF0IHRoZSBuZXh0IGNoYXJ0ZXIgc2hvdWxkIHNheS4gU28g
SSdtIGJld2lsZGVyZWQgYnkgeW91ciByZXBlYXRpbmcgdGhhdCB5b3UgdGhpbmsgbXkgY29tbWVu
dCBpcyBvdXQgb2Ygb3JkZXIsPGJyPjxicj5UaGUgdXNlIGNhc2UgZ2l2ZW4gZm9yIGxpbWl0aW5n
IHNlbWFudGljcyBjaGFuZ2VzJm5ic3A7IGlzIHRvIGVuYWJsZSAxLjEgJmx0Oy0tJmd0OyAyOjAg
Z2F0ZXdheXMuJm5ic3A7IEFkYXB0YXRpb25zIHdoaWNoIGNhbiBiZSBoYW5kbGVkIGluIGdhdGV3
YXlzIHNob3VsZCBiZSBpbiBzY29wZSBmb3IgY29uc2lkZXJhdGlvbiwgaWYgdGhleSBtZWV0IG90
aGVyIEhUVFAvMiBnb2Fscy48YnI+PGJyPjwvZGl2Pi0tLS0tT3JpZ2luYWwgbWVzc2FnZS0tLS0t
PGJyPjxibG9ja3F1b3RlIHN0eWxlPSI7IGJvcmRlci1sZWZ0OiAycHggc29saWQgcmdiKDE2LCAx
NiwgMjU1KTsgbWFyZ2luLWxlZnQ6IDVweDsgcGFkZGluZy1sZWZ0OiA1cHg7Ij48ZGl2IHN0eWxl
PSJmb250LWZhbWlseTogc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4Ij48Yj5Gcm9tOiA8L2I+
QWRhbSBCYXJ0aCAmbHQ7dzNjQGFkYW1iYXJ0aC5jb20mZ3Q7PGI+PGJyPlRvOiA8L2I+TGFycnkg
TWFzaW50ZXIgJmx0O21hc2ludGVyQGFkb2JlLmNvbSZndDs8Yj48YnI+Q2M6IDwvYj4mcXVvdDtB
ZHJpZW4gVy4gZGUgQ3JveSZxdW90OyAmbHQ7YWRyaWVuQHFiaWsuY29tJmd0OywgJnF1b3Q7aWV0
Zi1odHRwLXdnQHczLm9yZyZxdW90OyAmbHQ7aWV0Zi1odHRwLXdnQHczLm9yZyZndDs8Yj48YnI+
U2VudDogPC9iPk1vbiwgSnVsIDMwLCAyMDEyIDA3OjU4OjU5IEdNVCswMDowMDxiPjxicj5TdWJq
ZWN0OiA8L2I+UmU6IFJlWzJdOiBTdHJhdy1tYW4gZm9yIG91ciBuZXh0IGNoYXJ0ZXI8YnI+PGJy
PjwvZGl2PjxkaXY+PG1ldGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgRXhj
aGFuZ2UgU2VydmVyIj4NCjwhLS0gY29udmVydGVkIGZyb20gdGV4dCAtLT4NCjxzdHlsZT48IS0t
IC5FbWFpbFF1b3RlIHsgbWFyZ2luLWxlZnQ6IDFwdDsgcGFkZGluZy1sZWZ0OiA0cHQ7IGJvcmRl
ci1sZWZ0OiAjODAwMDAwIDJweCBzb2xpZDsgfSAtLT48L3N0eWxlPg0KPGRpdj4NCjxmb250IHNp
emU9IjIiPjxkaXYgY2xhc3M9IlBsYWluVGV4dCI+T24gU3VuLCBKdWwgMjksIDIwMTIgYXQgODoy
NCBQTSwgTGFycnkgTWFzaW50ZXIgJmx0O21hc2ludGVyQGFkb2JlLmNvbSZndDsgd3JvdGU6PGJy
Pg0KJmd0OyBIVFRQIDIuMCBjYW4gdGlnaHRlbiByZXF1aXJlbWVudHMgd2hlcmUgbG9vc2UgaW50
ZXJwcmV0YXRpb24gaW4gSFRUUCAxLnggbGVhZHMgdG8gcGVyZm9ybWFuY2UsIHJlbGlhYmlsaXR5
LCBzZWN1cml0eSBwcm9ibGVtcy48YnI+DQo8YnI+DQpXaGVyZSBkb2VzIHRoZSBjaGFydGVyIHNh
eSB0aGF0PyZuYnNwOyBNeSByZWFkaW5nIG9mIHRoZSBjaGFydGVyIGlzIHRoYXQ8YnI+DQomcXVv
dDtjaGFuZ2VzIHRvIHRoZSBleGlzdGluZyBzZW1hbnRpY3Mgb2YgSFRUUCBhcmUgb3V0IG9mIHNj
b3BlLiZxdW90Ozxicj4NCjxicj4NCkFkYW08YnI+DQo8L2Rpdj48L2ZvbnQ+DQo8L2Rpdj4NCg0K
PC9kaXY+PC9ibG9ja3F1b3RlPjwvYm9keT48L2h0bWw+DQo=

--_000_a551e462703d43cba8e0be6f2296da07blur_--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:00:19 2012
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 B6C7921F86D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:00:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.944
X-Spam-Level: 
X-Spam-Status: No, score=-8.944 tagged_above=-999 required=5 tests=[AWL=-0.801, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 nAKf6QFKkFGu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:00:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3766121F8811 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:00:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvrQn-0000PO-8C for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 14:58:49 +0000
Resent-Date: Mon, 30 Jul 2012 14:58:49 +0000
Resent-Message-Id: <E1SvrQn-0000PO-8C@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SvrQb-0000OA-An for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 14:58:37 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SvrQV-0004N7-Hg for ietf-http-wg@w3.org; Mon, 30 Jul 2012 14:58:37 +0000
Received: by vbbfq11 with SMTP id fq11so4907512vbb.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 07:58:05 -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=XyWv4Rsjkkl4E6H+Kt6Ac/DOXbJeWvkiA8ArhBHN2OA=; b=PPU6z+vP15f2NkLQFmUQTjkWsAcS+YIhnoeI8/+agy0X2P42TwWzu7oYy9qF+HN4OA RKbIdy189tOHAXPuNaMmAl+btcdwxyxm5knXt6GZzXBTnGeVrtF/YvhXAhHYr8VF90F2 gxwjQRnjWaLkMk0gwcS/DSSaLjfgBJRk3sI4SWnrZ4LEFTXde2/zMuAxpKJJLddXIdLG QOhoYeiQgiwZM89grLcd8+CaPPlPfJGGSnCHInK1EkUKwh7vKpfMNnbdIVlDI73PNeT0 7oSXnq7WUuDYClOl5AvaDpyxOUFeoCVR+JE3rPveXk7AsIcAVx8FQFIyY7YGaKO6s0Jh cfqg==
MIME-Version: 1.0
Received: by 10.220.229.198 with SMTP id jj6mr10926126vcb.38.1343660285706; Mon, 30 Jul 2012 07:58:05 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Mon, 30 Jul 2012 07:58:05 -0700 (PDT)
In-Reply-To: <a551e462-703d-43cb-a8e0-be6f2296da07@blur>
References: <649ee618-faf6-4777-a7e8-7afa5323112e@blur> <a551e462-703d-43cb-a8e0-be6f2296da07@blur>
Date: Mon, 30 Jul 2012 07:58:05 -0700
Message-ID: <CAAPAK-7+7t9oVvb9FoD1b8mdb4WZ9diz=KDs8_BG3UwzSq8C=w@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Larry Masinter <masinter@adobe.com>
Cc: Adam Barth <w3c@adambarth.com>, "adrien@qbik.com" <adrien@qbik.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae9cdcb4507436404c60d4af1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvrQV-0004N7-Hg d8b3fee1e1923b1a5e48a7e76c3f9327
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAAPAK-7+7t9oVvb9FoD1b8mdb4WZ9diz=KDs8_BG3UwzSq8C=w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14824
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>

--14dae9cdcb4507436404c60d4af1
Content-Type: text/plain; charset=ISO-8859-1

Right. If we make sure the semantics are consistent and the same between
connections of interest then, that allows us to verify them (each one of
them). We shouldn't have to always do that verification step or consistency
check so manually, especially when there is less costly automation. The
implementation or, more on overall topic, brief specifications of such
automation is not change in said semantics even if it implies change to
their perceivable weight.

On Monday, July 30, 2012, Larry Masinter wrote:

> oddly, the subject of this thread is "our next charter" and my discussion
> is about what the next charter should say. So I'm bewildered by your
> repeating that you think my comment is out of order,
>
> The use case given for limiting semantics changes  is to enable 1.1 <-->
> 2:0 gateways.  Adaptations which can be handled in gateways should be in
> scope for consideration, if they meet other HTTP/2 goals.
>
> -----Original message-----
>
> *From: *Adam Barth <w3c@adambarth.com <javascript:_e({}, 'cvml',
> 'w3c@adambarth.com');>>*
> To: *Larry Masinter <masinter@adobe.com <javascript:_e({}, 'cvml',
> 'masinter@adobe.com');>>*
> Cc: *"Adrien W. de Croy" <adrien@qbik.com <javascript:_e({}, 'cvml',
> 'adrien@qbik.com');>>, "ietf-http-wg@w3.org <javascript:_e({}, 'cvml',
> 'ietf-http-wg@w3.org');>" <ietf-http-wg@w3.org <javascript:_e({}, 'cvml',
> 'ietf-http-wg@w3.org');>>*
> Sent: *Mon, Jul 30, 2012 07:58:59 GMT+00:00*
> Subject: *Re: Re[2]: Straw-man for our next charter
>
>  On Sun, Jul 29, 2012 at 8:24 PM, Larry Masinter <masinter@adobe.com<javascript:_e({}, 'cvml', 'masinter@adobe.com');>>
> wrote:
> > HTTP 2.0 can tighten requirements where loose interpretation in HTTP 1.x
> leads to performance, reliability, security problems.
>
> Where does the charter say that?  My reading of the charter is that
> "changes to the existing semantics of HTTP are out of scope."
>
> Adam
>
>

--14dae9cdcb4507436404c60d4af1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Right. If we make sure the semantics are consistent and the same between co=
nnections of interest then, that allows us to verify them (each one of them=
). We shouldn&#39;t have to always do that verification step or consistency=
 check so manually, especially when there is less costly automation. The im=
plementation or, more on overall topic, brief specifications of such automa=
tion is not change in said semantics even if it implies change to their=A0p=
erceivable=A0weight.<br>
<br>On Monday, July 30, 2012, Larry Masinter  wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div><div style=3D"font-family:sans-serif;font-size:16px">odd=
ly, the subject of this thread is &quot;our next charter&quot; and my discu=
ssion is about what the next charter should say. So I&#39;m bewildered by y=
our repeating that you think my comment is out of order,<br>
<br>The use case given for limiting semantics changes=A0 is to enable 1.1 &=
lt;--&gt; 2:0 gateways.=A0 Adaptations which can be handled in gateways sho=
uld be in scope for consideration, if they meet other HTTP/2 goals.<br><br>
</div>-----Original message-----<br><blockquote><div style=3D"font-family:s=
ans-serif;font-size:14px"><b>From: </b>Adam Barth &lt;<a href=3D"javascript=
:_e({}, &#39;cvml&#39;, &#39;w3c@adambarth.com&#39;);" target=3D"_blank">w3=
c@adambarth.com</a>&gt;<b><br>
To: </b>Larry Masinter &lt;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#3=
9;masinter@adobe.com&#39;);" target=3D"_blank">masinter@adobe.com</a>&gt;<b=
><br>Cc: </b>&quot;Adrien W. de Croy&quot; &lt;<a href=3D"javascript:_e({},=
 &#39;cvml&#39;, &#39;adrien@qbik.com&#39;);" target=3D"_blank">adrien@qbik=
.com</a>&gt;, &quot;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf-=
http-wg@w3.org&#39;);" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;=
<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf-http-wg@w3.org&#39;)=
;" target=3D"_blank">ietf-http-wg@w3.org</a>&gt;<b><br>
Sent: </b>Mon, Jul 30, 2012 07:58:59 GMT+00:00<b><br>Subject: </b>Re: Re[2]=
: Straw-man for our next charter<br><br></div><div>


<div>
<font><div>On Sun, Jul 29, 2012 at 8:24 PM, Larry Masinter &lt;<a href=3D"j=
avascript:_e({}, &#39;cvml&#39;, &#39;masinter@adobe.com&#39;);" target=3D"=
_blank">masinter@adobe.com</a>&gt; wrote:<br>
&gt; HTTP 2.0 can tighten requirements where loose interpretation in HTTP 1=
.x leads to performance, reliability, security problems.<br>
<br>
Where does the charter say that?=A0 My reading of the charter is that<br>
&quot;changes to the existing semantics of HTTP are out of scope.&quot;<br>
<br>
Adam<br>
</div></font>
</div>

</div></blockquote></div>
</blockquote>

--14dae9cdcb4507436404c60d4af1--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:11:31 2012
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 CD33721F86EC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:11:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 PDtPOeSSp3sJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:11:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 563C221F86E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:11:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvrcL-00075Z-Ph for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 15:10:45 +0000
Resent-Date: Mon, 30 Jul 2012 15:10:45 +0000
Resent-Message-Id: <E1SvrcL-00075Z-Ph@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SvrcA-00074o-1a for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 15:10:34 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Svrc9-0002g3-23 for ietf-http-wg@w3.org; Mon, 30 Jul 2012 15:10:33 +0000
Received: from [130.129.66.238] (dhcp-42ee.meeting.ietf.org [130.129.66.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 76086101A2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 11:10:09 -0400 (EDT)
Message-ID: <5016A3C5.2030708@mozilla.com>
Date: Mon, 30 Jul 2012 08:09:57 -0700
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <61787.1343631765@critter.freebsd.dk>
In-Reply-To: <61787.1343631765@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1Svrc9-0002g3-23 52e6ee1d92a3d6ee26675c49e628f394
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/5016A3C5.2030708@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14825
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 7/30/2012 12:02 AM, Poul-Henning Kamp wrote:
>
> It is not clear to me exactly what these major implementers mean when
> they say "TLS is mandatory"
>
> Do they mean "TLS MUST be supported" or "TLS MUST be used" ?

I mean that HTTP/2 must be secure against (at least) passive 
eavesdropping attacks at all times. TLS is the bird-in-hand for that 
right now, but it does not exclude other solutions. Other properties of 
TLS are desirable too, but they don't necessarily rise to the level of 
mandatory to implement for me.




From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:23:02 2012
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 E382121F87D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:23:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.592
X-Spam-Level: 
X-Spam-Status: No, score=-10.592 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, 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 gAlKc6WW4oDE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:23:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 67A2121F8794 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:23:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvrnG-0004Ng-Am for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 15:22:02 +0000
Resent-Date: Mon, 30 Jul 2012 15:22:02 +0000
Resent-Message-Id: <E1SvrnG-0004Ng-Am@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Svrn4-0004MC-Lk for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 15:21:50 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Svrn3-00030l-Gv for ietf-http-wg@w3.org; Mon, 30 Jul 2012 15:21:50 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id ECB3A3B753; Mon, 30 Jul 2012 15:21:27 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6UFLRcL021368; Mon, 30 Jul 2012 15:21:27 GMT (envelope-from phk@phk.freebsd.dk)
To: patrick mcmanus <pmcmanus@mozilla.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 30 Jul 2012 08:09:57 MST." <5016A3C5.2030708@mozilla.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 30 Jul 2012 15:21:27 +0000
Message-ID: <21367.1343661687@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Svrn3-00030l-Gv 8017dcdcdfffbd96e8a76b85a1653cd4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/21367.1343661687@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14826
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>

In message <5016A3C5.2030708@mozilla.com>, patrick mcmanus writes:

>I mean that HTTP/2 must be secure against (at least) passive 
>eavesdropping attacks at all times. 

Pardon me for being a bit blunt:   You and what army ?

I can understand if you insist that _your_ website can always
be protected if you desire that.

But I utterly fail to see what mandate you have to insist that some
random 3rd party must protect their website at all times, countrary
to their own wishes, and in particular when they may be legally
prevented from doing so by applicable regulations.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:38:55 2012
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 6E24821F8596 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:38:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 DJhO3x1y9e8f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:38:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CC93C21F8562 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:38:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svs2d-0005NG-NY for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 15:37:55 +0000
Resent-Date: Mon, 30 Jul 2012 15:37:55 +0000
Resent-Message-Id: <E1Svs2d-0005NG-NY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Svs2R-0005MV-AQ for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 15:37:43 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Svs2L-0003kr-EQ for ietf-http-wg@w3.org; Mon, 30 Jul 2012 15:37:43 +0000
Received: from [130.129.66.238] (dhcp-42ee.meeting.ietf.org [130.129.66.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 11969101A2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 11:37:14 -0400 (EDT)
Message-ID: <5016AA21.2010603@mozilla.com>
Date: Mon, 30 Jul 2012 08:37:05 -0700
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se> <299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com>
In-Reply-To: <299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1Svs2L-0003kr-EQ 920fedb05a03b4f81e25585f40b2399a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/5016AA21.2010603@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14827
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 7/29/2012 11:32 PM, Henrik Frystyk Nielsen wrote:
> Martin,
>
> What scenarios do you have in mind where pipelining does not work? Obviously it only works for GET so for web sites using lots of non-GET requests it won't work but GET is the predominant method on most sites.

I'm a believer that we can get more benefit from pipelines than we 
currently do, and I remain committed to seeing that happen on today's 
http/1 web. But the challenges go beyond non-get and mangling 
intermediaries(*).. so in a pro-pipeline, but eyes-wide-open spirit:

1] you still need parallelism because of priority head of line blocking 
issues. But now some of the parallel flows are filling the pipe and 
buffers very well, and its hard to manage the prioritization 
effectively. Using a priority mux instead of pipeline+parallelism makes 
that work a bit better (buffering in the network remains a problem - 
though with fewer connections they should at least not be filled as deeply)

2] even on get - blocking responses are common and they screw up the 
pipeline. database operations, web service callouts, etc all can create 
variability in response times, and that creates time-to-utilization gaps

3] http/1 cancellation semantics don't exist other than closing the 
connection, and pipelines make this worse. This comes up all the time in 
the form of links clicked on partially rendered pages. (think "next" on 
a webmail inbox). To process the click you need to decide between 
waiting for the old one to drain, adding more to its existing pipeline, 
or making a new connection.. this problem always existed without 
pipelines but the amount of data in the queue has now gone up.

[*] in my experience the most significant intermediary challenges these 
days come from AV and firewall software.. actual network devices and 
servers fair ok with a couple notable exceptions. I don't know that this 
makes it any easier :)

pipelines are useful things - but I think we can do better than just 
working around their warts.

>
> We took some pretty normal sites so I do think they represent reasonable data. We'd be happy to expand the sites but the whole point was to show differences in relatively common sites. It is correct that we didn't use cookies. Cookie and UA-header sizes can indeed vary a lot but that is a much more isolated problem to solve that can be done in any number of ways.

cookies and pipeline performance are pretty tightly tied. Pipeline depth 
is driven by client cwnd and the difference in pipeline depth on a cold 
TCP session goes from 10 to 2 as cookie sizes go from 0 to 2KB. An 
HTTP/2 approach that removes header redundancy (whether that be by some 
manual table approach like network-friendly, or a automagic gzip 
approach like spdy) is critical to addressing the fundamental round trip 
problem.

cheers,
-Patrick



From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:45:20 2012
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 74E1D21F844C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:45:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 06M+SJigQ7tN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:45:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 01C6721F844B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:45:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svs97-00076C-Fv for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 15:44:37 +0000
Resent-Date: Mon, 30 Jul 2012 15:44:37 +0000
Resent-Message-Id: <E1Svs97-00076C-Fv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Svs8v-00075M-Ru for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 15:44:25 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Svs8r-0003xf-NJ for ietf-http-wg@w3.org; Mon, 30 Jul 2012 15:44:25 +0000
Received: from [130.129.66.238] (dhcp-42ee.meeting.ietf.org [130.129.66.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id D9F7E101A2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 11:43:59 -0400 (EDT)
Message-ID: <5016ABB6.1030402@mozilla.com>
Date: Mon, 30 Jul 2012 08:43:50 -0700
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <21367.1343661687@critter.freebsd.dk>
In-Reply-To: <21367.1343661687@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1Svs8r-0003xf-NJ a9f2b7f28381d63317dce81253cf0888
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/5016ABB6.1030402@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14828
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 7/30/2012 8:21 AM, Poul-Henning Kamp wrote:
> In message<5016A3C5.2030708@mozilla.com>, patrick mcmanus writes:
>
>> I mean that HTTP/2 must be secure against (at least) passive
>> eavesdropping attacks at all times.
> Pardon me for being a bit blunt:   You and what army ?

please don't be so difficult. You asked what I (and others) meant by 
what you called mandatory TLS and I provided clarification for my pov.

The merits have been discussed here before (and will be again) but I 
hoped my clarification, that the notion-of-mandatory-tls isn't quite 
accurate, was helpful.



From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:47:45 2012
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 A0CB921F863B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:47:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.29
X-Spam-Level: 
X-Spam-Status: No, score=-10.29 tagged_above=-999 required=5 tests=[AWL=0.309, BAYES_00=-2.599, 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 BqcJLqmZf5n7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:47:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EA9AE21F861E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:47:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvsBo-0003Vw-3W for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 15:47:24 +0000
Resent-Date: Mon, 30 Jul 2012 15:47:24 +0000
Resent-Message-Id: <E1SvsBo-0003Vw-3W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SvsBc-0003VB-Fw for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 15:47:12 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SvsBY-00066h-Fr for ietf-http-wg@w3.org; Mon, 30 Jul 2012 15:47:12 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6UFkYe3004240; Mon, 30 Jul 2012 18:46:34 +0300
X-CheckPoint: {5016A9E9-1-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Mon, 30 Jul 2012 18:46:33 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: patrick mcmanus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Mon, 30 Jul 2012 18:46:32 +0300
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1uan5jLeZPvFOES0mB8W4FMWpEMw==
Message-ID: <5F52BC6B-66E8-4FEF-A94D-C449EC2923EF@checkpoint.com>
References: <21367.1343661687@critter.freebsd.dk>
In-Reply-To: <21367.1343661687@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SvsBY-00066h-Fr b56e4a1f885b9cfa498873316df99382
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/5F52BC6B-66E8-4FEF-A94D-C449EC2923EF@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14829
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 Jul 30, 2012, at 8:21 AM, Poul-Henning Kamp wrote:

> In message <5016A3C5.2030708@mozilla.com>, patrick mcmanus writes:
>=20
>> I mean that HTTP/2 must be secure against (at least) passive=20
>> eavesdropping attacks at all times.=20
>=20
> Pardon me for being a bit blunt:   You and what army ?

Him and all the proponents of SPDY (I'm not one of them)

> I can understand if you insist that _your_ website can always
> be protected if you desire that.

If not all HTTP has TLS, then an active attacker can lead viewers to a look=
alike website, so _his_ website (or rather, his users) is not protected aga=
inst active attackers.

> But I utterly fail to see what mandate you have to insist that some
> random 3rd party must protect their website at all times, countrary
> to their own wishes, and in particular when they may be legally
> prevented from doing so by applicable regulations.

+1

Additionally, TLS requires the client to check revocation of the server cer=
tificate. Some browsers don't, but that's besides the point. Checking revoc=
ation involves fetching either a CRL or an OCSP response, and they are typi=
cally fetched over HTTP. If HTTP has to have TLS we have a bootstrap proble=
m, unless checking revocation is relegated back down to HTTP/1.0.

If we're only interested in preventing passive attacks, then we don't reall=
y need to check revocation, but then what of websites that do care about ac=
tive attacks?  They do need to fetch revocation data, so are you going to h=
ave them fetch it over insecure TLS?



From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 08:54:20 2012
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 E1D2921F84A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:54:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 BXuS4vEyMtBF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 08:54:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6056C21F84A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 08:54:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvsHq-0005LB-Bf for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 15:53:38 +0000
Resent-Date: Mon, 30 Jul 2012 15:53:38 +0000
Resent-Message-Id: <E1SvsHq-0005LB-Bf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SvsHf-0005Hi-23 for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 15:53:27 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SvsHb-0004KN-0b for ietf-http-wg@w3.org; Mon, 30 Jul 2012 15:53:27 +0000
Received: from [130.129.66.238] (dhcp-42ee.meeting.ietf.org [130.129.66.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id BD81C101A2; Mon, 30 Jul 2012 11:53:00 -0400 (EDT)
Message-ID: <5016ADD3.4010600@mozilla.com>
Date: Mon, 30 Jul 2012 08:52:51 -0700
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <21367.1343661687@critter.freebsd.dk> <5F52BC6B-66E8-4FEF-A94D-C449EC2923EF@checkpoint.com>
In-Reply-To: <5F52BC6B-66E8-4FEF-A94D-C449EC2923EF@checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SvsHb-0004KN-0b 95fcb7a0a48b3d08013b5031ce14161e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/5016ADD3.4010600@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14830
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 7/30/2012 8:46 AM, Yoav Nir wrote:
>
> Additionally, TLS requires the client to check revocation of the server certificate. Some browsers don't, but that's besides the point. Checking revocation involves fetching either a CRL or an OCSP response, and they are typically fetched over HTTP. If HTTP has to have TLS we have a bootstrap problem, unless checking revocation is relegated back down to HTTP/1.0.
that's not a roadblock.. we can address this largely via ocsp stapling.. 
also ocsp with a ca can be done over tls without cert verification 
because the ocsp response is signed separately.



From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 09:12:41 2012
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 C283421F852E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 09:12:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.579
X-Spam-Level: 
X-Spam-Status: No, score=-7.579 tagged_above=-999 required=5 tests=[AWL=-0.057, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, 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 CWQ2JLq1IFiK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 09:12:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B666421F85D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 09:12:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvsZ3-0005m5-VN for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 16:11:25 +0000
Resent-Date: Mon, 30 Jul 2012 16:11:25 +0000
Resent-Message-Id: <E1SvsZ3-0005m5-VN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1SvsYs-0005lK-EG for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 16:11:14 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1SvsYk-000717-8c for ietf-http-wg@w3.org; Mon, 30 Jul 2012 16:11:14 +0000
Received: by ggmi1 with SMTP id i1so4950049ggm.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 09:10:40 -0700 (PDT)
Received: by 10.101.152.1 with SMTP id e1mr1454828ano.61.1343664640431; Mon, 30 Jul 2012 09:10:40 -0700 (PDT)
Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by mx.google.com with ESMTPS id j10sm9470719anl.20.2012.07.30.09.10.38 (version=SSLv3 cipher=OTHER); Mon, 30 Jul 2012 09:10:39 -0700 (PDT)
Received: by obqv19 with SMTP id v19so9438778obq.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 09:10:38 -0700 (PDT)
Received: by 10.182.37.41 with SMTP id v9mr18554311obj.23.1343664638058; Mon, 30 Jul 2012 09:10:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.226.5 with HTTP; Mon, 30 Jul 2012 09:10:07 -0700 (PDT)
In-Reply-To: <a551e462-703d-43cb-a8e0-be6f2296da07@blur>
References: <649ee618-faf6-4777-a7e8-7afa5323112e@blur> <a551e462-703d-43cb-a8e0-be6f2296da07@blur>
From: Adam Barth <w3c@adambarth.com>
Date: Mon, 30 Jul 2012 09:10:07 -0700
Message-ID: <CAJE5ia_eMnpSKX7Dsgq3=Wb1tHNzwQrgJeZBWZ9gXv5feWW5pg@mail.gmail.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "adrien@qbik.com" <adrien@qbik.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: none client-ip=209.85.161.171; envelope-from=w3c@adambarth.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SvsYk-000717-8c 0c872fdbbd71d19eea56d8021a9caab9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAJE5ia_eMnpSKX7Dsgq3=Wb1tHNzwQrgJeZBWZ9gXv5feWW5pg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14831
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>

Ah, I didn't understand the context.

In that case, I don't think we should expand our charter to include
changing the semantics of HTTP.  That's a can of worms that will
derail the HTTP/2.0 effort.  It's going to be hard enough to keep the
working group productive with the limited scope we have already.

Adam


On Mon, Jul 30, 2012 at 6:36 AM, Larry Masinter <masinter@adobe.com> wrote:
> oddly, the subject of this thread is "our next charter" and my discussion is
> about what the next charter should say. So I'm bewildered by your repeating
> that you think my comment is out of order,
>
> The use case given for limiting semantics changes  is to enable 1.1 <--> 2:0
> gateways.  Adaptations which can be handled in gateways should be in scope
> for consideration, if they meet other HTTP/2 goals.
>
> -----Original message-----
>
> From: Adam Barth <w3c@adambarth.com>
> To: Larry Masinter <masinter@adobe.com>
> Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org"
> <ietf-http-wg@w3.org>
> Sent: Mon, Jul 30, 2012 07:58:59 GMT+00:00
>
> Subject: Re: Re[2]: Straw-man for our next charter
>
> On Sun, Jul 29, 2012 at 8:24 PM, Larry Masinter <masinter@adobe.com> wrote:
>> HTTP 2.0 can tighten requirements where loose interpretation in HTTP 1.x
>> leads to performance, reliability, security problems.
>
> Where does the charter say that?  My reading of the charter is that
> "changes to the existing semantics of HTTP are out of scope."
>
> Adam


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 09:38:12 2012
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 F1EAE21F8655 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 09:38:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.98
X-Spam-Level: 
X-Spam-Status: No, score=-9.98 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_IN_SORBS_WEB=0.619]
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 shF-UMtkvO78 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 09:38:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 122D211E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 09:38:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svsxw-0002rp-PW for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 16:37:08 +0000
Resent-Date: Mon, 30 Jul 2012 16:37:08 +0000
Resent-Message-Id: <E1Svsxw-0002rp-PW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1Svsxk-0001wD-Ea for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 16:36:56 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1Svsxi-0005tg-Dk for ietf-http-wg@w3.org; Mon, 30 Jul 2012 16:36:56 +0000
Received: from uranium (static-88.131.62.36.addr.tdcsong.se [88.131.62.36]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6UGaJAn005286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Jul 2012 16:36:22 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
Cc: "Jitu Padhye" <padhye@microsoft.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se> <299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Mon, 30 Jul 2012 18:36:19 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wh9pqtcwiw9drz@uranium>
In-Reply-To: <299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Svsxi-0005tg-Dk 143fa9a01fe2cff63d4035a6a76d0991
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/op.wh9pqtcwiw9drz@uranium>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14832
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>

Henrik,

Current HTTP pipelining works fine when it works, but there are a lot of  
servers that doesn't support it. As soon as you start having more than one  
outstanding request on a connection you'll run into issues ranging from  
ignoring subsequent requests (forcing a reissue of the queued requests),  
to closing the connection as soon as a second request is received  
(truncating the first response), to scrambling the response (i.e. multiple  
responses written to the same socket at the same time). Due to the real  
world complexities and the amount of heuristics needed, browser support  
has been low.

All three HTTP/2 proposals address this by explicitly mandating  
pipelining, and improves it with out-of-order response to address stalling  
of a specific resource. Compared with HTTP/1.1 it would likely make little  
difference, as today resources with similar response times are grouped on  
different hosts.

The biggest increase in header size is, to the best of my knowledge,  
ironically on the mobile side, where the use of UA-prof-diff-headers have  
resulted in several kilobytes of data extra per request on some devices.  
This is again addressed in all the proposals, deflate for SPDY and a  
bucket based delta compression for Network-Friendly. We use a straight  
delta compression (only send headers that changed from previous request)  
in all of Operas own HTTP-replacements. Comparing against HTTP/1.1 should  
give a good improvement in radio time allocation in a low bandwidth, high  
latency environment.

Video, specifically rate limited video, adds the requirement of  
multiplexing the data streams, as an HTTP/1.1 pipeline would stall as soon  
as the video starts being transferred. All three proposals should give  
much better user experience than HTTP/1.1 when a page consists of both  
very large and very small resources (e.g. large background and small  
inline images). In terms of raw numbers, multiplexing (insignificantly)  
increases the amount of data.

As for minification, it only adds confusion. You can take a site, minify  
the resources and pack it all together into a 7zip package, and no one  
will be surprised that downloading it is faster than loading the  
unprocessed site. But it doesn't tell you anything about the protocols  
used to perform the downloads.

/Martin Nilsson

On Mon, 30 Jul 2012 08:32:07 +0200, Henrik Frystyk Nielsen  
<henrikn@microsoft.com> wrote:

> Martin,
>
> What scenarios do you have in mind where pipelining does not work?  
> Obviously it only works for GET so for web sites using lots of non-GET  
> requests it won't work but GET is the predominant method on most sites.
>
> We took some pretty normal sites so I do think they represent reasonable  
> data. We'd be happy to expand the sites but the whole point was to show  
> differences in relatively common sites. It is correct that we didn't use  
> cookies. Cookie and UA-header sizes can indeed vary a lot but that is a  
> much more isolated problem to solve that can be done in any number of  
> ways.
>
> As for video (assuming you use TCP) the bottleneck is likely going to be  
> set by TCP throughput. The overhead of HTTP headers will be negligible  
> due to the size of the payload. We'd be happy to do some tests but all  
> things being equal I can say based on experience that adding a  
> credit-based session layer such as SPDY will not perform as well as  
> running straight over TCP for large payloads. The reason is that the  
> credit scheme by its very purpose acts as a throttle so that one session  
> doesn't take the entire bandwidth.
>
> As for minification, the intention is not to do those unbeknownst to the  
> website designer -- it is something that is an integral part of the  
> design of a web site so there is no reason why this isn't a valid  
> optimization.
>
> Thanks,
>
> Henrik
>


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 09:42:49 2012
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 3FB2711E810D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 09:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.593
X-Spam-Level: 
X-Spam-Status: No, score=-10.593 tagged_above=-999 required=5 tests=[AWL=0.006, BAYES_00=-2.599, 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 SJ4FGPlqwWYa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 09:42:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9AEFA11E810B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 09:42:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svt2r-0005Md-Oj for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 16:42:13 +0000
Resent-Date: Mon, 30 Jul 2012 16:42:13 +0000
Resent-Message-Id: <E1Svt2r-0005Md-Oj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Svt2g-0005Ii-By for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 16:42:02 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Svt2a-00085o-Kr for ietf-http-wg@w3.org; Mon, 30 Jul 2012 16:42:02 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 8A7FF3B745; Mon, 30 Jul 2012 16:41:35 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q6UGfXXU072538; Mon, 30 Jul 2012 16:41:33 GMT (envelope-from phk@phk.freebsd.dk)
To: "Martin Nilsson" <nilsson@opera.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "Henrik Frystyk Nielsen" <henrikn@microsoft.com>, "Jitu Padhye" <padhye@microsoft.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 30 Jul 2012 18:36:19 +0200." <op.wh9pqtcwiw9drz@uranium>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 30 Jul 2012 16:41:33 +0000
Message-ID: <72537.1343666493@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Svt2a-00085o-Kr f5eaec1e60284e985bfab1fe99d82faf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/72537.1343666493@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14833
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>

In message <op.wh9pqtcwiw9drz@uranium>, "Martin Nilsson" writes:

>Current HTTP pipelining works fine when it works, but there are a lot of  
>servers that doesn't support it. As soon as you start having more than one  
>outstanding request on a connection you'll run into issues ranging from  
>ignoring subsequent requests (forcing a reissue of the queued requests),  
>to closing the connection as soon as a second request is received  
>(truncating the first response), to scrambling the response (i.e. multiple  
>responses written to the same socket at the same time). 

A surprising number of intermediaries expect HTTP/1.1 request to start
at a packet boundary...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 10:16:15 2012
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 7440F11E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 10:16:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.29
X-Spam-Level: 
X-Spam-Status: No, score=-10.29 tagged_above=-999 required=5 tests=[AWL=0.309, BAYES_00=-2.599, 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 xCOHp9bdQ67b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 10:16:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8AF8C11E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 10:16:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvtYe-0000Xw-El for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 17:15:04 +0000
Resent-Date: Mon, 30 Jul 2012 17:15:04 +0000
Resent-Message-Id: <E1SvtYe-0000Xw-El@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SvtYS-0006aP-RO for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 17:14:52 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SvtYN-0007Eb-40 for ietf-http-wg@w3.org; Mon, 30 Jul 2012 17:14:52 +0000
Received: from uranium.quadriga.com ([88.131.58.113]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6UHEJmW014005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 17:14:20 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <61787.1343631765@critter.freebsd.dk> <5016A3C5.2030708@mozilla.com>
Date: Mon, 30 Jul 2012 19:14:19 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wh9rh50uiw9drz@uranium.quadriga.com>
In-Reply-To: <5016A3C5.2030708@mozilla.com>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvtYN-0007Eb-40 66c8e25c65b266597d01403c7010516d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/op.wh9rh50uiw9drz@uranium.quadriga.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14834
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 Mon, 30 Jul 2012 17:09:57 +0200, patrick mcmanus <pmcmanus@mozilla.com>  
wrote:

> On 7/30/2012 12:02 AM, Poul-Henning Kamp wrote:
>>
>> It is not clear to me exactly what these major implementers mean when
>> they say "TLS is mandatory"
>>
>> Do they mean "TLS MUST be supported" or "TLS MUST be used" ?
>
> I mean that HTTP/2 must be secure against (at least) passive  
> eavesdropping attacks at all times. TLS is the bird-in-hand for that  
> right now, but it does not exclude other solutions. Other properties of  
> TLS are desirable too, but they don't necessarily rise to the level of  
> mandatory to implement for me.
>

I think such requirement will immediately prompt development of  
HTTP/2-light without TLS for use in intra-data-center communications (and  
China and India).

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 10:39:54 2012
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 71C1611E8193 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 10:39:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.866
X-Spam-Level: 
X-Spam-Status: No, score=-6.866 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 Mr9m441IQhWc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 10:39:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9410611E808E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 10:39:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvtvU-0004im-5v for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 17:38:40 +0000
Resent-Date: Mon, 30 Jul 2012 17:38:40 +0000
Resent-Message-Id: <E1SvtvU-0004im-5v@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SvtvC-0004he-DO for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 17:38:22 +0000
Received: from ch1ehsobe006.messaging.microsoft.com ([216.32.181.186] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1Svtv7-0001Us-6f for ietf-http-wg@w3.org; Mon, 30 Jul 2012 17:38:22 +0000
Received: from mail75-ch1-R.bigfish.com (10.43.68.236) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.23; Mon, 30 Jul 2012 17:37:51 +0000
Received: from mail75-ch1 (localhost [127.0.0.1])	by mail75-ch1-R.bigfish.com (Postfix) with ESMTP id 06BE81001C1	for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 17:37:51 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC106.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -27
X-BigFish: VS-27(zz98dI9371Ic89bhc85dhzz1202hzz1033IL8275bh8275dh186Mz2fh2a8h683h839hd25hf0ah107ah)
Received-SPF: pass (mail75-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=padhye@microsoft.com; helo=TK5EX14HUBC106.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.236.5;KIP:(null);UIP:(null);(null);H:BY2PRD0310HT001.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail75-ch1 (localhost.localdomain [127.0.0.1]) by mail75-ch1 (MessageSwitch) id 1343669869187832_2035; Mon, 30 Jul 2012 17:37:49 +0000 (UTC)
Received: from CH1EHSMHS003.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.236])	by mail75-ch1.bigfish.com (Postfix) with ESMTP id 2B5BC4800C9 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 17:37:49 +0000 (UTC)
Received: from TK5EX14HUBC106.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS003.bigfish.com (10.43.70.3) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 30 Jul 2012 17:37:48 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.80.61) with Microsoft SMTP Server (TLS) id 14.2.309.3; Mon, 30 Jul 2012 17:37:11 +0000
Received: from mail27-co1-R.bigfish.com (10.243.78.249) by CO1EHSOBE010.bigfish.com (10.243.66.73) with Microsoft SMTP Server id 14.1.225.23; Mon, 30 Jul 2012 17:36:16 +0000
Received: from mail27-co1 (localhost [127.0.0.1])	by mail27-co1-R.bigfish.com (Postfix) with ESMTP id 9A3E81400AD	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 30 Jul 2012 17:36:16 +0000 (UTC)
Received: from mail27-co1 (localhost.localdomain [127.0.0.1]) by mail27-co1 (MessageSwitch) id 1343669773484447_8316; Mon, 30 Jul 2012 17:36:13 +0000 (UTC)
Received: from CO1EHSMHS031.bigfish.com (unknown [10.243.78.238])	by mail27-co1.bigfish.com (Postfix) with ESMTP id 7244758005A;	Mon, 30 Jul 2012 17:36:13 +0000 (UTC)
Received: from BY2PRD0310HT001.namprd03.prod.outlook.com (157.56.236.5) by CO1EHSMHS031.bigfish.com (10.243.66.41) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 30 Jul 2012 17:36:12 +0000
Received: from BY2PRD0310MB354.namprd03.prod.outlook.com ([169.254.6.38]) by BY2PRD0310HT001.namprd03.prod.outlook.com ([10.255.80.36]) with mapi id 14.16.0175.005; Mon, 30 Jul 2012 17:36:07 +0000
From: Jitu Padhye <padhye@microsoft.com>
To: Roberto Peon <grmocg@gmail.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71QAF3mGAACgqBmA=
Date: Mon, 30 Jul 2012 17:36:06 +0000
Message-ID: <4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com>
In-Reply-To: <CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.27]
Content-Type: multipart/alternative; boundary="_000_4C032A8F343D304CBF7C6EE7AF002F44187F841BBY2PRD0310MB354_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BY2PRD0310HT001.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC106.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC106.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.186; envelope-from=padhye@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Svtv7-0001Us-6f e9ee15769cb355f57b07b60f5d60755f
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14835
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>

--_000_4C032A8F343D304CBF7C6EE7AF002F44187F841BBY2PRD0310MB354_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=D8  Was the client/server speaking SPDY/2 or SPDY/3?
      Spdy/2


=D8  A percentage of the time, Chrome will not use SPDY (it decides this at=
 startup). Did you verify that it was always speaking SPDY? (I'd guess yes!=
)

Yes.



=D8  Was the server using the CWND set sent in the SETTINGS frame, and was =
it sending it to the client?

I did not check this - I will go back and look.



=D8  What was the server's initcwnd?

Whatever the default is. I think it was 2 or 4. I will take a look.



=D8  Was slow-start-after-idle turned off on the kernel?

No. Again, we only used default settings.



=D8  How long were the various connections in slow start, and did they ever=
 exit slow-start?

I will have to take a look.



=D8  Was the SSL cert chain the same size and using the same algorithms?

Yes.



=D8  Was the dummynet (or equivalent) configured to have appropriate buffer=
 size (else it does packet drops silently)?

Yes, and I know this, because I had initially screwed this up :)



=D8  Were these all cold-connection, cold-cache first-page load timings? Th=
e use of keep-alive in figure 3 would seem to indicate otherwise, but I'm n=
ot sure which are which...

All cold cache. Keep alive is for only fetches while loading the first page=
.



=D8  Did you put Chromium into 'replay' mode (where date and random always =
return in the same manner, regardless of actual date)?

No, but I agree that this setting would have made more sense.



=D8  Any particular reason that you turned off entity-body compression in A=
pache? Were the resources saved verbatim from WinHTTrack (in which case it'=
d make sense)?

Not quite sure what you are asking here ... can you please clarify?



=D8  Was the server emulating the original server's think times? This can h=
ave a very, very large impact on pipelined HTTP performance.
      Only "index.html" was loaded for each site. I should clarify that in =
text. So think times are not an issue.


=D8  We've found that the various automatic page-is-done signals are often =
less useful than something which measures the above-the-fold page load time=
. This generally involves cameras pointed at screens and a human looking at=
 the video to determine at which frame the page is useful, and designating =
that frame as 'done-for-above-the-fold'

I agree that age load time, as we measured it, is not a foolproof metric. T=
he problem is that all other alternatives are too cumbersome to measure (an=
d worse) replicate correctly.


=D8  I'd love to see if we could get a common suite of test data over which=
 we could all run experiments/benchmarks. Is anyone else interested in doin=
g so?

This is definitely interesting. Something like RFC5033?


From: Roberto Peon [mailto:grmocg@gmail.com]
Sent: Sunday, July 29, 2012 3:16 PM
To: Henrik Frystyk Nielsen
Cc: ietf-http-wg@w3.org; Gabriel Montenegro; Rob Trace; Adalberto Foresti (=
MS OPEN TECH)
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web


Interesting data! Questions about test methodology:

Was the client/server speaking SPDY/2 or SPDY/3?
A percentage of the time, Chrome will not use SPDY (it decides this at star=
tup). Did you verify that it was always speaking SPDY? (I'd guess yes!)
Was the server using the CWND set sent in the SETTINGS frame, and was it se=
nding it to the client?
What was the server's initcwnd?
Was slow-start-after-idle turned off on the kernel?
How long were the various connections in slow start, and did they ever exit=
 slow-start?
Was the SSL cert chain the same size and using the same algorithms?
Was the dummynet (or equivalent) configured to have appropriate buffer size=
 (else it does packet drops silently)?
Were these all cold-connection, cold-cache first-page load timings? The use=
 of keep-alive in figure 3 would seem to indicate otherwise, but I'm not su=
re which are which...
Did you put Chromium into 'replay' mode (where date and random always retur=
n in the same manner, regardless of actual date)?
Any particular reason that you turned off entity-body compression in Apache=
? Were the resources saved verbatim from WinHTTrack (in which case it'd mak=
e sense)?
Was the server emulating the original server's think times? This can have a=
 very, very large impact on pipelined HTTP performance.

We've found that the various automatic page-is-done signals are often less =
useful than something which measures the above-the-fold page load time. Thi=
s generally involves cameras pointed at screens and a human looking at the =
video to determine at which frame the page is useful, and designating that =
frame as 'done-for-above-the-fold'

I'd love to see if we could get a common suite of test data over which we c=
ould all run experiments/benchmarks.
Is anyone else interested in doing so?

-=3DR
On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <henrikn@microsoft.=
com<mailto:henrikn@microsoft.com>> wrote:

Dear All,



We remain committed to the HTTP/2.0 standards process and look forward to s=
eeing many of you this week at the IETF meeting in Vancouver to continue th=
e discussion.  In the spirit of open discussion, we wanted to share some ob=
servations in advance of the meeting and share the latest progress from pro=
totyping and testing.



There are currently three different proposals that the group is working thr=
ough:



   * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),

   * HTTP Speed+Mobility (http://tools.ietf.org/html/draft-montenegro-httpb=
is-speed-mobility),

   * Network-Friendly HTTP Upgrade (http://tools.ietf.org/html/draft-tarrea=
u-httpbis-network-friendly).



The good news is that everyone involved wants to make the Web faster, more =
scalable, more secure, and more mobile-friendly, and each proposal has bene=
fits in different areas that the discussion can choose from.



--- A Genuinely Faster Web ---



The SPDY proposal has been great for raising awareness of Web performance. =
It takes a "clean slate" approach to improving HTTP.



To compare the performance of SPDY with HTTP/1.1 we have run tests comparin=
g download times of several public web sites using a controlled tested stud=
y. The test uses publically available software run with mostly default conf=
igurations while applying all the currently available optimizations to HTTP=
/1.1. You can find a preliminary report on the test results here: http://re=
search.microsoft.com/apps/pubs/?id=3D170059. The results mirror other data =
(http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate m=
ixed results with SPDY performance.



Our results indicate almost equal performance between SPDY and HTTP/1.1 whe=
n one applies all the known optimizations to HTTP/1.1. SPDY's performance i=
mprovements are not consistent and significant. We will continue our testin=
g, and we welcome others to publish their results so that HTTP/2.0 can choo=
se the best changes and deliver the best possible performance and scalabili=
ty improvements compared to HTTP/1.1.





--- Taking the Best from Each ---



Speed is one of several areas of improvement. Currently, there's no clear c=
onsensus that any one of the proposals is the clear choice or even starting=
 point for HTTP/2.0 (based on our reading the Expressions of Interest and d=
iscussions on this mailing list. A good example of this is the vigorous dis=
cussion around mandating TLS encryption (http://tools.ietf.org/html/rfc5246=
) for HTTP/2.0.



We think a good approach for HTTP/2.0 is to take the best solution for each=
 of these areas from each of the proposals.  This approach helps us focus t=
he discussion for each area of the protocol. Of course, this approach would=
 still allow the standard to benefit from the extensive knowledge gained fr=
om implementing existing proposals.



We believe that the group can converge on consensus in the following areas,=
 based on our reading of the Expressions of Interest, by starting from the =
different proposals.



------------------|------------------

Area              | Opinion that

                  | seems to prevail

------------------|------------------

1. Compression    | SPDY or Friendly

------------------|------------------

2. Multiplexing   | SPDY

------------------|------------------

3. Mandatory TLS  | Speed+Mobility

------------------|------------------

4. Negotiation    | Friendly or

                  |   Speed+Mobility

------------------|------------------

5. Client Pull/   | Speed+Mobility

      Server Push |

------------------|------------------

6. Flow Control   | SPDY

------------------|------------------

7. WebSockets     | Speed+Mobility

------------------|------------------



Below, we discuss each HTTP/2.0 element and the current consensus that appe=
ars to be forming within the Working Group.



1. Compression



Compression is simple to conceptualize and implement, and it is important. =
Proxies and other boxes in the middle on today's Web often face problems wi=
th it. The HTTP/2.0 discussion has been rich but with little consensus.

Though some studies suggest that SPDY's header compression approach shows p=
romise, other studies show this compression to be prohibitively onerous for=
 intermediary devices. More information here would help us make sure we're =
making the Web faster and better.



Also, an entire segment of implementers are not interested in compression a=
s defined in SPDY.  That's a challenge because the latest strawman for the =
working group charter (http://lists.w3.org/Archives/Public/ietf-http-wg/201=
2JulSep/0784.html) states that the "resulting specification(s) are expected=
 to be meet these goals for common existing deployments of HTTP; in particu=
lar, ... intermediation (by proxies, corporate firewalls, 'reverse' proxies=
 and Content Delivery Networks)."



We think the SPDY or Friendly proposals is a good starting point for progre=
ss.



2. Multiplexing



All three proposals define similar multiplexing models. We haven't had subs=
tantial discussion on the differences. This lack of discussion suggests tha=
t there is rough consensus around the SPDY framing for multiplexing.



We think that the SPDY proposal is a good starting point here and best capt=
ures the current consensus.



3. Mandating Always On TLS



There is definitely no consensus to mandate TLS for all Web communication, =
but some major implementers have stated they will not to adopt HTTP/2.0 unl=
ess the working group supports a "TLS is mandatory" position. A very prelim=
inary note from the chair (http://lists.w3.org/Archives/Public/ietf-http-wg=
/2012JulSep/0601.html) states that there is a lack of consensus for mandati=
ng TLS.



We think the Speed+Mobility proposal is a good starting point here as it pr=
ovides options to turn TLS on (or not).



4. Negotiation



Only two of the proposals actually discuss how different endpoints agree to=
 use HTTP/2.0.



(The SPDY proposal does not specify a negotiation method. Current prototype=
 implementations use the TLS-NPN (http://tools.ietf.org/html/draft-agl-tls-=
nextprotoneg) extension.  While the other proposals use HTTP Upgrade to neg=
otiate HTTP/2.0, some parties have expressed non-support for this method as=
 well.)



We think either of the Friendly or Speed+Mobility proposals is a good start=
ing point because they are the only ones that have any language in this res=
pect.



5. Client Pull and Server Push



There are tradeoffs between a server push model and a client pull model. Th=
e main question is how to improve performance while respecting bandwidth an=
d client caches.



Server Push has not had the same level of implementation and experimentatio=
n as the other features in SPDY. More information here would help us make s=
ure we're making the Web faster and better.



We think the Speed+Mobility proposal is a good starting point here, suggest=
ing that this issue may be better served in a separate document rather than=
 tied to the core HTTP/2.0 protocol.



6. Flow Control



There has only been limited discussion in the HTTPbis working group on flow=
 control. Flow Control offers a lot of opportunity make the Web faster as w=
ell as to break it; for example, implementations need to figure out how to =
optimize for opposing goals (like throughput and responsiveness) at the sam=
e time.



The current version of the SPDY proposal specifies a flow control message w=
ith many settings are that are not well-defined. The Speed+Mobilty proposal=
 has a simplified flow control model based on certain assumptions. More exp=
erimentation and information here would help us make sure we're making the =
Web faster and better.



We think that the SPDY proposal is a good starting point here.



7. WebSockets



We see support  for aligning HTTP/2.0 with a future version of WebSockets, =
as suggested in the introduction of the Speed+Mobility proposal.





--- Moving forward ---



We're excited for the Web to get faster, more stable, and more capable, and=
 HTTP/2.0 is an important part of that.



We believe that bringing together the best elements of the current SPDY, HT=
TP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the best =
approach to make that happen.



Based on the discussions on the HTTPbis mailing list, we've suggested which=
 proposals make the most sense to start from for each of the areas that HTT=
P/2.0 is addressing. Each of these areas needs more prototyping and experim=
entation and data. We're looking forward to the discussion this week.



Sincerely,



Henrik Frystyk Nielsen

Principal Architect, Microsoft Open Technologies, Inc.



Gabriel Montenegro

Principal Software Development Engineer, Microsoft Corporation



Rob Trace

Senior Program Manager Lead, Microsoft Corporation



Adalberto Foresti

Senior Program Manager, Microsoft Open Technologies, Inc.






--_000_4C032A8F343D304CBF7C6EE7AF002F44187F841BBY2PRD0310MB354_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:649409016;
	mso-list-type:hybrid;
	mso-list-template-ids:-1098767848 1640400248 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0D8;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1332179290;
	mso-list-type:hybrid;
	mso-list-template-ids:1540101244 -2018056796 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0D8;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2
	{mso-list-id:1664233034;
	mso-list-type:hybrid;
	mso-list-template-ids:-464344692 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l2:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l2:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l2:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l3
	{mso-list-id:1876235922;
	mso-list-type:hybrid;
	mso-list-template-ids:-2043657120 67698703 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l3:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l3:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l3:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l3:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l3:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l3:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l3:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l3:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l3:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Was the client/server speaking SPDY/2 or SPD=
Y/3?<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in">&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; Spdy/2<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>A percentage of the time, Chrome will not us=
e SPDY (it decides this at startup). Did you verify that it was always spea=
king SPDY? (I'd guess yes!)<o:p></o:p></p>
<p class=3D"MsoListParagraph">Yes. <o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Was the server using the CWND set sent in th=
e SETTINGS frame, and was it sending it to the client?<o:p></o:p></p>
<p class=3D"MsoListParagraph">I did not check this &#8211; I will go back a=
nd look. <o:p>
</o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>What was the server's initcwnd?<o:p></o:p></=
p>
<p class=3D"MsoListParagraph">Whatever the default is. I think it was 2 or =
4. I will take a look.
<o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Was slow-start-after-idle turned off on the =
kernel?<o:p></o:p></p>
<p class=3D"MsoListParagraph">No. Again, we only used default settings. <o:=
p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>How long were the various connections in slo=
w start, and did they ever exit slow-start?<o:p></o:p></p>
<p class=3D"MsoListParagraph">I will have to take a look. <o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Was the SSL cert chain the same size and usi=
ng the same algorithms?<o:p></o:p></p>
<p class=3D"MsoListParagraph">Yes. <o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Was the dummynet (or equivalent) configured =
to have appropriate buffer size (else it does packet drops silently)?<o:p><=
/o:p></p>
<p class=3D"MsoListParagraph">Yes, and I know this, because I had initially=
 screwed this up
<span style=3D"font-family:Wingdings">J</span><o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Were these all cold-connection, cold-cache f=
irst-page load timings? The use of keep-alive in figure 3 would seem to ind=
icate otherwise, but I'm not sure which are which...<o:p></o:p></p>
<p class=3D"MsoListParagraph">All cold cache. Keep alive is for only fetche=
s while loading the first page.
<o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Did you put Chromium into 'replay' mode (whe=
re date and random always return in the same manner, regardless of actual d=
ate)?<o:p></o:p></p>
<p class=3D"MsoListParagraph">No, but I agree that this setting would have =
made more sense.
<o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Any particular reason that you turned off en=
tity-body compression in Apache? Were the resources saved verbatim from Win=
HTTrack (in which case it'd make sense)?<o:p></o:p></p>
<p class=3D"MsoListParagraph">Not quite sure what you are asking here &#823=
0; can you please clarify?<o:p></o:p></p>
<p class=3D"MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>Was the server emulating the original server=
's think times? This can have a very, very large impact on pipelined HTTP p=
erformance.&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in">&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; Only &#8220;index.html&#8221; was loaded for each site. I should cla=
rify that in text. So think times are not an issue.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>We've found that the various automatic page-=
is-done signals are often less useful than something which measures the abo=
ve-the-fold page load time. This generally involves cameras pointed at scre=
ens and a human looking at the video
 to determine at which frame the page is useful, and designating that frame=
 as 'done-for-above-the-fold'<o:p></o:p></p>
<p class=3D"MsoListParagraph">I agree that age load time, as we measured it=
, is not a foolproof metric. The problem is that all other alternatives are=
 too cumbersome to measure (and worse) replicate correctly.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:Wingdings"><span st=
yle=3D"mso-list:Ignore">=D8<span style=3D"font:7.0pt &quot;Times New Roman&=
quot;">&nbsp;
</span></span></span><![endif]>I'd love to see if we could get a common sui=
te of test data over which we could all run experiments/benchmarks. Is anyo=
ne else interested in doing so?<o:p></o:p></p>
<p class=3D"MsoListParagraph">This is definitely interesting. Something lik=
e RFC5033?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Roberto =
Peon [mailto:grmocg@gmail.com]
<br>
<b>Sent:</b> Sunday, July 29, 2012 3:16 PM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> ietf-http-wg@w3.org; Gabriel Montenegro; Rob Trace; Adalberto Fo=
resti (MS OPEN TECH)<br>
<b>Subject:</b> Re: HTTP 2.0 and a Faster, more Mobile-friendly web<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Interesting data!&nbsp;Questions about test methodol=
ogy:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Was the client/server speaking SPDY/2 or SPDY/3?<o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A percentage of the time, Chrome will not use SPDY (=
it decides this at startup). Did you verify that it was always speaking SPD=
Y? (I'd guess yes!)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Was the server using the CWND set sent in the SETTIN=
GS frame, and was it sending it to the client?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">What was the server's initcwnd?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Was slow-start-after-idle turned off on the kernel?<=
o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">How long were the various connections in slow start,=
 and did they ever exit slow-start?<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">Was the SSL cert chain the same size and using the s=
ame algorithms?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Was the dummynet (or equivalent) configured to have =
appropriate buffer size (else it does packet drops silently)?<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal">Were these all cold-connection, cold-cache first-pag=
e load timings? The use of keep-alive in figure 3 would seem to indicate ot=
herwise, but I'm not sure which are which...<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Did you put Chromium into 'replay' mode (where date =
and random always return in the same manner, regardless of actual date)?<o:=
p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Any particular reason that you turned off entity-bod=
y compression in Apache? Were the resources saved verbatim from WinHTTrack =
(in which case it'd make sense)?<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">Was the server emulating the original server's think=
 times? This can have a very, very large impact on pipelined HTTP performan=
ce.&nbsp;<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">We've found that the various automatic page-is-done =
signals are often less useful than something which measures the above-the-f=
old page load time. This generally involves cameras pointed at screens and =
a human looking at the video to determine
 at which frame the page is useful, and designating that frame as 'done-for=
-above-the-fold'<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I'd love to see if we could get a common suite of te=
st data over which we could all run experiments/benchmarks.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Is anyone else interested in doing so?<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">-=3DR<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Niel=
sen &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn@=
microsoft.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p>Dear All,<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.&nbsp; In the spirit of open discussion, we wanted to share=
 some observations in advance of the
 meeting and share the latest progress from prototyping and testing. <o:p><=
/o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There are currently three different proposals that the group is working =
through:<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;&nbsp; * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe=
-httpbis-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-h=
ttpbis-spdy</a>),<o:p></o:p></p>
<p>&nbsp;&nbsp; * HTTP Speed&#43;Mobility (<a href=3D"http://tools.ietf.org=
/html/draft-montenegro-httpbis-speed-mobility" target=3D"_blank">http://too=
ls.ietf.org/html/draft-montenegro-httpbis-speed-mobility</a>),<o:p></o:p></=
p>
<p>&nbsp;&nbsp; * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ie=
tf.org/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank">http:=
//tools.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<o:p></o:p><=
/p>
<p>&nbsp;<o:p></o:p></p>
<p>--- A Genuinely Faster Web ---<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a &#8220;clean slate&#8221; approach to improving HTTP.<o:p></o=
:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations while applying all
 the currently available optimizations to HTTP/1.1. You can find a prelimin=
ary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY&#8217;s perf=
ormance improvements are not consistent and significant. We will continue o=
ur testing, and we welcome others to publish
 their results so that HTTP/2.0 can choose the best changes and deliver the=
 best possible performance and scalability improvements compared to HTTP/1.=
1.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>--- Taking the Best from Each ---<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Speed is one of several areas of improvement. Currently, there&#8217;s n=
o clear consensus that any one of the proposals is the clear choice or even=
 starting point for HTTP/2.0 (based on our reading the Expressions of Inter=
est and discussions on this mailing list.
 A good example of this is the vigorous discussion around mandating TLS enc=
ryption (<a href=3D"http://tools.ietf.org/html/rfc5246" target=3D"_blank">h=
ttp://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think a good approach for HTTP/2.0 is to take the best solution for e=
ach of these areas from each of the proposals. &nbsp;This approach helps us=
 focus the discussion for each area of the protocol. Of course, this approa=
ch would still allow the standard to
 benefit from the extensive knowledge gained from implementing existing pro=
posals.&nbsp;
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We believe that the group can converge on consensus in the following are=
as, based on our reading of the Expressions of Interest, by starting from t=
he different proposals.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">Area&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Opinion th=
at </span>
<o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;| seems to prevail</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">1. Compression&nbsp;=
&nbsp;&nbsp; | SPDY or Friendly</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">2. Multiplexing&nbsp=
;&nbsp; | SPDY</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">3. Mandatory TLS&nbs=
p; | Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">4. Negotiation&nbsp;=
&nbsp;&nbsp; | Friendly or</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; |&nbsp;&nbsp; Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">5. Client Pull/&nbsp=
;&nbsp; | Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; Server Push | </span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">6. Flow Control&nbsp=
;&nbsp; | SPDY</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">7. WebSockets&nbsp;&=
nbsp;&nbsp;&nbsp; | Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Below, we discuss each HTTP/2.0 element and the current consensus that a=
ppears to be forming within the Working Group.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>1. Compression<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Compression is simple to conceptualize and implement, and it is importan=
t. Proxies and other boxes in the middle on today&#8217;s Web often face pr=
oblems with it. The HTTP/2.0 discussion has been rich but with little conse=
nsus.<o:p></o:p></p>
<p>Though some studies suggest that SPDY&#8217;s header compression approac=
h shows promise, other studies show this compression to be prohibitively on=
erous for intermediary devices. More information here would help us make su=
re we&#8217;re making the Web faster and better.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Also, an entire segment of implementers are not interested in compressio=
n as defined in SPDY.&nbsp; That&#8217;s a challenge because the latest str=
awman for the working group charter (<a href=3D"http://lists.w3.org/Archive=
s/Public/ietf-http-wg/2012JulSep/0784.html" target=3D"_blank">http://lists.=
w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the &#8220;resulting specification(s) are expected to be meet =
these goals for common existing deployments of HTTP; in particular, &#8230;=
 intermediation (by proxies, corporate firewalls, &#8216;reverse&#8217; pro=
xies and Content Delivery Networks).&#8221;
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think the SPDY or Friendly proposals is a good starting point for pro=
gress.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>2. Multiplexing<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>All three proposals define similar multiplexing models. We haven&#8217;t=
 had substantial discussion on the differences. This lack of discussion sug=
gests that there is rough consensus around the SPDY framing for multiplexin=
g.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think that the SPDY proposal is a good starting point here and best c=
aptures the current consensus.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>3. Mandating Always On TLS <o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There is definitely no consensus to mandate TLS for all Web communicatio=
n, but some major implementers have stated they will not to adopt HTTP/2.0 =
unless the working group supports a &#8220;TLS is mandatory&#8221; position=
. A very preliminary note from the chair (<a href=3D"http://lists.w3.org/Ar=
chives/Public/ietf-http-wg/2012JulSep/0601.html" target=3D"_blank">http://l=
ists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html</a>)
 states that there is a lack of consensus for mandating TLS. <o:p></o:p></p=
>
<p>&nbsp;<o:p></o:p></p>
<p>We think the Speed&#43;Mobility proposal is a good starting point here a=
s it provides options to turn TLS on (or not).<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>4. Negotiation<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Only two of the proposals actually discuss how different endpoints agree=
 to use HTTP/2.0.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>(The SPDY proposal does not specify a negotiation method. Current protot=
ype implementations use the TLS-NPN (<a href=3D"http://tools.ietf.org/html/=
draft-agl-tls-nextprotoneg" target=3D"_blank">http://tools.ietf.org/html/dr=
aft-agl-tls-nextprotoneg</a>) extension.&nbsp;
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think either of the Friendly or Speed&#43;Mobility proposals is a goo=
d starting point because they are the only ones that have any language in t=
his respect.&nbsp;
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>5. Client Pull and Server Push<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There are tradeoffs between a server push model and a client pull model.=
 The main question is how to improve performance while respecting bandwidth=
 and client caches.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Server Push has not had the same level of implementation and experimenta=
tion as the other features in SPDY. More information here would help us mak=
e sure we&#8217;re making the Web faster and better.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think the Speed&#43;Mobility proposal is a good starting point here, =
suggesting that this issue may be better served in a separate document rath=
er than tied to the core HTTP/2.0 protocol.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>6. Flow Control<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There has only been limited discussion in the HTTPbis working group on f=
low control. Flow Control offers a lot of opportunity make the Web faster a=
s well as to break it; for example, implementations need to figure out how =
to optimize for opposing goals (like
 throughput and responsiveness) at the same time. <o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>The current version of the SPDY proposal specifies a flow control messag=
e with many settings are that are not well-defined. The Speed&#43;Mobilty p=
roposal has a simplified flow control model based on certain assumptions. M=
ore experimentation and information
 here would help us make sure we&#8217;re making the Web faster and better.=
 <o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think that the SPDY proposal is a good starting point here. <o:p></o:=
p></p>
<p>&nbsp;<o:p></o:p></p>
<p>7. WebSockets<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We see support&nbsp; for aligning HTTP/2.0 with a future version of WebS=
ockets, as suggested in the introduction of the Speed&#43;Mobility proposal=
.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>--- Moving forward ---<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We&#8217;re excited for the Web to get faster, more stable, and more cap=
able, and HTTP/2.0 is an important part of that.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We believe that bringing together the best elements of the current SPDY,=
 HTTP Speed&#43;Mobility, and Network-Friendly HTTP Upgrade proposals is th=
e best approach to make that happen.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Based on the discussions on the HTTPbis mailing list, we&#8217;ve sugges=
ted which proposals make the most sense to start from for each of the areas=
 that HTTP/2.0 is addressing. Each of these areas needs more prototyping an=
d experimentation and data. We&#8217;re looking
 forward to the discussion this week.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Sincerely,<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Henrik Frystyk Nielsen<o:p></o:p></p>
<p>Principal Architect, Microsoft Open Technologies, Inc.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Gabriel Montenegro<o:p></o:p></p>
<p>Principal Software Development Engineer, Microsoft Corporation<o:p></o:p=
></p>
<p>&nbsp;<o:p></o:p></p>
<p>Rob Trace<o:p></o:p></p>
<p>Senior Program Manager Lead, Microsoft Corporation<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Adalberto Foresti<o:p></o:p></p>
<p>Senior Program Manager, Microsoft Open Technologies, Inc.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_4C032A8F343D304CBF7C6EE7AF002F44187F841BBY2PRD0310MB354_--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 13:24:56 2012
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 0AA8411E8133 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 13:24:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.122
X-Spam-Level: 
X-Spam-Status: No, score=-10.122 tagged_above=-999 required=5 tests=[AWL=0.476, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 6LFsnAAN8Khc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 13:24:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E86911E8126 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 13:24:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvwUF-0004Cs-SB for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 20:22:43 +0000
Resent-Date: Mon, 30 Jul 2012 20:22:43 +0000
Resent-Message-Id: <E1SvwUF-0004Cs-SB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SvwU1-0004Bk-Vh for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 20:22:30 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SvwU0-0007K7-6z for ietf-http-wg@w3.org; Mon, 30 Jul 2012 20:22:29 +0000
Received: by vcdd16 with SMTP id d16so5252047vcd.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 13:22:02 -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=Ak5MNUROgjPH3/BuVl0MkdBKVvXzkdQ2s6NmXQjwloM=; b=LyqtKf1gHEkpNtd1pq+IlJ31Vtj2tPrrwyUzFEEnS18YBzU6ZvZjf2W4uYysftGzdW 5UKJckA8wQK8dZi6ZdtkGotVTmYa9/c7ck3dXtNeEeNlDHVZelmIpgR+vtg8WEZrBYBZ 775K+DE6zra5rxZSOULFm0eATftdk/MVw8LES1P20xAC5v8hiIcJo6cq/gj6zos53PZm FUeqxNWa/ABQRkMMrDgCo2VW9qZlsf9MOSmQRITL+o3AjKOpIyxyA+T5w4O7uQQ+RaqK Gma9sNij487nDF5WwknhdMRW+ddIsXWNMOCjdL3IJsVySZBZR1oMXWv5fh0XRxD5D7Cy Vy7w==
MIME-Version: 1.0
Received: by 10.52.23.14 with SMTP id i14mr10774497vdf.47.1343679722332; Mon, 30 Jul 2012 13:22:02 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Mon, 30 Jul 2012 13:22:02 -0700 (PDT)
In-Reply-To: <4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com> <4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com>
Date: Mon, 30 Jul 2012 13:22:02 -0700
Message-ID: <CAAPAK-7GgquyQNYtsNJRrWO-jbq_dj6fJ-=A9kk=wz+gCJHTuA@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Jitu Padhye <padhye@microsoft.com>
Cc: Roberto Peon <grmocg@gmail.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: multipart/alternative; boundary=20cf307c9e548aa23d04c611d08f
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvwU0-0007K7-6z 2defa2dc2310da463686ec0910d5ae3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CAAPAK-7GgquyQNYtsNJRrWO-jbq_dj6fJ-=A9kk=wz+gCJHTuA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14836
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>

--20cf307c9e548aa23d04c611d08f
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Where that is all cold there is the medium expiration in the mentioned
common suite: chrome://chrome/settings/content/expiration/medium?true.

SPDY+TLS offers no immediate exception except recompile resources to local
storage, and all of that is said off-topic at Vancouver on or about USB.

On Monday, July 30, 2012, Jitu Padhye wrote:

>  **=D8  **Was the client/server speaking SPDY/2 or SPDY/3?****
>
>       Spdy/2****
>
> ** **
>
> **=D8  **A percentage of the time, Chrome will not use SPDY (it decides
> this at startup). Did you verify that it was always speaking SPDY? (I'd
> guess yes!)****
>
> Yes. ****
>
> ** **
>
> **=D8  **Was the server using the CWND set sent in the SETTINGS frame, an=
d
> was it sending it to the client?****
>
> I did not check this =96 I will go back and look. ** **
>
> ** **
>
> **=D8  **What was the server's initcwnd?****
>
> Whatever the default is. I think it was 2 or 4. I will take a look. ****
>
> ** **
>
> **=D8  **Was slow-start-after-idle turned off on the kernel?****
>
> No. Again, we only used default settings. ****
>
> ** **
>
> **=D8  **How long were the various connections in slow start, and did the=
y
> ever exit slow-start?****
>
> I will have to take a look. ****
>
> ** **
>
> **=D8  **Was the SSL cert chain the same size and using the same algorith=
ms?
> ****
>
> Yes. ****
>
> ** **
>
> **=D8  **Was the dummynet (or equivalent) configured to have appropriate
> buffer size (else it does packet drops silently)?****
>
> Yes, and I know this, because I had initially screwed this up J****
>
> ** **
>
> **=D8  **Were these all cold-connection, cold-cache first-page load
> timings? The use of keep-alive in figure 3 would seem to indicate
> otherwise, but I'm not sure which are which...****
>
> All cold cache. Keep alive is for only fetches while loading the first
> page. ****
>
> ** **
>
> **=D8  **Did you put Chromium into 'replay' mode (where date and random
> always return in the same manner, regardless of actual date)?****
>
> No, but I agree that this setting would have made more sense. ****
>
> ** **
>
> **=D8  **Any particular reason that you turned off entity-body compressio=
n
> in Apache? Were the resources saved verbatim from WinHTTrack (in which ca=
se
> it'd make sense)?****
>
> Not quite sure what you are asking here =85 can you please clarify?****
>
> ** **
>
> **=D8  **Was the server emulating the original server's think times? This
> can have a very, very large impact on pipelined HTTP performance. ****
>
>       Only =93index.html=94 was loaded for each site. I should clarify th=
at in
> text. So think times are not an issue. ****
>
> ** **
>
> **=D8  **We've found that the various automatic page-is-done signals are
> often less useful than something which measures the above-the-fold page
> load time. This generally involves cameras pointed at screens and a human
> looking at the video to determine at which frame the page is useful, and
> designating that frame as 'done-for-above-the-fold'****
>
> I agree that age load time, as we measured it, is not a foolproof metric.
> The problem is that all other alternatives are too cumbersome to measure
> (and worse) replicate correctly. ****
>
> ** **
>
> **=D8  **I'd love to see if we could get a common suite of test data over
> which we could all run experiments/benchmarks. Is anyone else interested =
in
> doing so?****
>
> This is definitely interesting. Something like RFC5033?****
>
> ** **
>
> ** **
>
> *From:* Roberto Peon [mailto:grmocg@gmail.com <javascript:_e({}, 'cvml',
> 'grmocg@gmail.com');>]
> *Sent:* Sunday, July 29, 2012 3:16 PM
> *To:* Henrik Frystyk Nielsen
> *Cc:* ietf-http-wg@w3.org <javascript:_e({}, 'cvml',
> 'ietf-http-wg@w3.org');>; Gabriel Montenegro; Rob Trace; Adalberto
> Foresti (MS OPEN TECH)
> *Subject:* Re: HTTP 2.0 and a Faster, more Mobile-friendly web****
>
> ** **
>
> ** **
>
> Interesting data! Questions about test methodology:****
>
> ** **
>
> Was the client/server speaking SPDY/2 or SPDY/3?****
>
> A percentage of the time, Chrome will not use SPDY (it decides this at
> startup). Did you verify that it was always speaking SPDY? (I'd guess yes=
!)
> ****
>
> Was the server using the CWND set sent in the SETTINGS frame, and was it
> sending it to the client?****
>
> What was the server's initcwnd?****
>
> Was slow-start-after-idle turned off on the kernel?****
>
> How long were the various connections in slow start, and did they ever
> exit slow-start?****
>
> Was the SSL cert chain the same size and using the same algorithms?****
>
> Was the dummynet (or equivalent) configured to have appropriate buffer
> size (else it does packet drops silently)?****
>
> Were these all cold-connection, cold-cache first-page load timings? The
> use of keep-alive in figure 3 would seem to indicate otherwise, but I'm n=
ot
> sure which are which...****
>
> Did you put Chromium into 'replay' mode (where date and random always
> return in the same manner, regardless of actual date)?****
>
> Any particular reason that you turned off entity-body compression in
> Apache? Were the resources saved verbatim from WinHTTrack (in which case
> it'd make sense)?****
>
> Was the server emulating the original server's think times? This can have
> a very, very large impact on pipelined HTTP performance. ****
>
> ** **
>
> We've found that the various automatic page-is-done signals are often les=
s
> useful than something which measures the above-the-fold page load time.
> This generally involves cameras pointed at screens and a human looking at
> the video to determine at which frame the page is useful, and designating
> that frame as 'done-for-above-the-fold'****
>
> ** **
>
> I'd love to see if we could get a common suite of test data over which we
> could all run experiments/benchmarks.****
>
> Is anyone else interested in doing so?****
>
> ** **
>
> -=3DR****
>
> On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com> wrote:****
>
> Dear All,****
>
>  ****
>
> We remain committed to the HTTP/2.0 standards process and look forward to
> seeing many of you this week at the IETF meeting in Vancouver to continue
> the discussion.  In the spirit of open discussion, we wanted to share som=
e
> observations in advance of the meeting and share the latest progress from
> prototyping and testing. ****
>
>  ****
>
> There are currently three different proposals that the group is working
> through:****
>
>  ****
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),****
>
>    * HTTP Speed+Mobility (
> http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),****
>
>    * Network-Friendly HTTP Upgrade (
> http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly). ****
>
>  ****
>
> The good news is that everyone involved wants to make the Web faster, mor=
e
> scalable, more secure, and more mobile-friendly, and each proposal has
> benefits in different areas that the discussion can choose from.****
>
>  ****
>
> --- A Genuinely Faster Web ---****
>
>  ****
>
> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =93clean slate=94 approach to improving HTTP.****
>
>  ****
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a controlled
> tested study. The test uses publically available software run with mostly
> default configurations while applying all the currently available
> optimizations to HTTP/1.1. You can find a prelim
>

--20cf307c9e548aa23d04c611d08f
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Where that is all cold there is the medium=A0expiration=A0in the mentioned =
common suite:=A0<a href=3D"chrome://chrome/settings/content">chrome://chrom=
e/settings/content</a>/expiration/medium?true.<br><br>SPDY+TLS offers no im=
mediate exception except recompile resources to local storage, and all of t=
hat is said off-topic at=A0Vancouver on or about USB.<br>
<br>On Monday, July 30, 2012, Jitu Padhye  wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the client/server speaking SPDY/2 or SPDY/3=
?<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in">=A0=A0=A0=A0=A0 Spdy/2<u=
></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>A percentage of the time, Chrome will not use S=
PDY (it decides this at startup). Did you verify that it was always speakin=
g SPDY? (I&#39;d guess yes!)<u></u><u></u></p>
<p>Yes. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the server using the CWND set sent in the S=
ETTINGS frame, and was it sending it to the client?<u></u><u></u></p>
<p>I did not check this =96 I will go back and look. <u></u>
<u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>What was the server&#39;s initcwnd?<u></u><u></=
u></p>
<p>Whatever the default is. I think it was 2 or 4. I will take a look.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was slow-start-after-idle turned off on the ker=
nel?<u></u><u></u></p>
<p>No. Again, we only used default settings. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>How long were the various connections in slow s=
tart, and did they ever exit slow-start?<u></u><u></u></p>
<p>I will have to take a look. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the SSL cert chain the same size and using =
the same algorithms?<u></u><u></u></p>
<p>Yes. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the dummynet (or equivalent) configured to =
have appropriate buffer size (else it does packet drops silently)?<u></u><u=
></u></p>
<p>Yes, and I know this, because I had initially screwed this up
<span style=3D"font-family:Wingdings">J</span><u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Were these all cold-connection, cold-cache firs=
t-page load timings? The use of keep-alive in figure 3 would seem to indica=
te otherwise, but I&#39;m not sure which are which...<u></u><u></u></p>

<p>All cold cache. Keep alive is for only fetches while loading the first p=
age.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Did you put Chromium into &#39;replay&#39; mode=
 (where date and random always return in the same manner, regardless of act=
ual date)?<u></u><u></u></p>
<p>No, but I agree that this setting would have made more sense.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Any particular reason that you turned off entit=
y-body compression in Apache? Were the resources saved verbatim from WinHTT=
rack (in which case it&#39;d make sense)?<u></u><u></u></p>
<p>Not quite sure what you are asking here =85 can you please clarify?<u></=
u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the server emulating the original server&#3=
9;s think times? This can have a very, very large impact on pipelined HTTP =
performance.=A0<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in">=A0=A0=A0=A0=A0 Only =93=
index.html=94 was loaded for each site. I should clarify that in text. So t=
hink times are not an issue.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>We&#39;ve found that the various automatic page=
-is-done signals are often less useful than something which measures the ab=
ove-the-fold page load time. This generally involves cameras pointed at scr=
eens and a human looking at the video
 to determine at which frame the page is useful, and designating that frame=
 as &#39;done-for-above-the-fold&#39;<u></u><u></u></p>
<p>I agree that age load time, as we measured it, is not a foolproof metric=
. The problem is that all other alternatives are too cumbersome to measure =
(and worse) replicate correctly.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>I&#39;d love to see if we could get a common su=
ite of test data over which we could all run experiments/benchmarks. Is any=
one else interested in doing so?<u></u><u></u></p>
<p>This is definitely interesting. Something like RFC5033?<u></u><u></u></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Roberto =
Peon [mailto:<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;grmocg@gmail=
.com&#39;);" target=3D"_blank">grmocg@gmail.com</a>]
<br>
<b>Sent:</b> Sunday, July 29, 2012 3:16 PM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> <a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf-http-wg@w=
3.org&#39;);" target=3D"_blank">ietf-http-wg@w3.org</a>; Gabriel Montenegro=
; Rob Trace; Adalberto Foresti (MS OPEN TECH)<br>
<b>Subject:</b> Re: HTTP 2.0 and a Faster, more Mobile-friendly web<u></u><=
u></u></span></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Interesting data!=A0Questions about test methodology=
:<u></u><u></u></p>
</div>
<div>
<p><u></u>=A0<u></u></p>
</div>
<div>
<p>Was the client/server speaking SPDY/2 or SPDY/3?<u></u><u></u></p>
</div>
<div>
<p>A percentage of the time, Chrome will not use SPDY (it decides this at s=
tartup). Did you verify that it was always speaking SPDY? (I&#39;d guess ye=
s!)<u></u><u></u></p>
</div>
<div>
<p>Was the server using the CWND set sent in the SETTINGS frame, and was it=
 sending it to the client?<u></u><u></u></p>
</div>
<div>
<p>What was the server&#39;s initcwnd?<u></u><u></u></p>
</div>
<div>
<p>Was slow-start-after-idle turned off on the kernel?<u></u><u></u></p>
</div>
<div>
<p>How long were the various connections in slow start, and did they ever e=
xit slow-start?<u></u><u></u></p>
<div>
<p>Was the SSL cert chain the same size and using the same algorithms?<u></=
u><u></u></p>
</div>
<div>
<p>Was the dummynet (or equivalent) configured to have appropriate buffer s=
ize (else it does packet drops silently)?<u></u><u></u></p>
</div>
<div>
<p>Were these all cold-connection, cold-cache first-page load timings? The =
use of keep-alive in figure 3 would seem to indicate otherwise, but I&#39;m=
 not sure which are which...<u></u><u></u></p>
</div>
<div>
<p>Did you put Chromium into &#39;replay&#39; mode (where date and random a=
lways return in the same manner, regardless of actual date)?<u></u><u></u><=
/p>
</div>
<div>
<p>Any particular reason that you turned off entity-body compression in Apa=
che? Were the resources saved verbatim from WinHTTrack (in which case it&#3=
9;d make sense)?<u></u><u></u></p>
</div>
<div>
<div>
<p>Was the server emulating the original server&#39;s think times? This can=
 have a very, very large impact on pipelined HTTP performance.=A0<u></u><u>=
</u></p>
</div>
<p><u></u>=A0<u></u></p>
</div>
<div>
<p>We&#39;ve found that the various automatic page-is-done signals are ofte=
n less useful than something which measures the above-the-fold page load ti=
me. This generally involves cameras pointed at screens and a human looking =
at the video to determine
 at which frame the page is useful, and designating that frame as &#39;done=
-for-above-the-fold&#39;<u></u><u></u></p>
</div>
<div>
<p><u></u>=A0<u></u></p>
</div>
<div>
<p>I&#39;d love to see if we could get a common suite of test data over whi=
ch we could all run experiments/benchmarks.<u></u><u></u></p>
</div>
<div>
<p>Is anyone else interested in doing so?<u></u><u></u></p>
</div>
<div>
<p><u></u>=A0<u></u></p>
</div>
<div>
<p style=3D"margin-bottom:12.0pt">-=3DR<u></u><u></u></p>
<div>
<p>On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen &lt;<a>henrikn@m=
icrosoft.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p>Dear All,<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.=A0 In the spirit of open discussion, we wanted to share so=
me observations in advance of the
 meeting and share the latest progress from prototyping and testing. <u></u=
><u></u></p>
<p>=A0<u></u><u></u></p>
<p>There are currently three different proposals that the group is working =
through:<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>=A0=A0 * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpb=
is-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis=
-spdy</a>),<u></u><u></u></p>
<p>=A0=A0 * HTTP Speed+Mobility (<a href=3D"http://tools.ietf.org/html/draf=
t-montenegro-httpbis-speed-mobility" target=3D"_blank">http://tools.ietf.or=
g/html/draft-montenegro-httpbis-speed-mobility</a>),<u></u><u></u></p>
<p>=A0=A0 * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ietf.org=
/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank">http://tool=
s.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<u></u><u></=
u></p>

<p>=A0<u></u><u></u></p>
<p>--- A Genuinely Faster Web ---<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a =93clean slate=94 approach to improving HTTP.<u></u><u></u></=
p>
<p>=A0<u></u><u></u></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations while applying all
 the currently available optimizations to HTTP/1.1. You can find a prelim</=
p></div></div></div></div></div></div>
</div>

</blockquote>

--20cf307c9e548aa23d04c611d08f--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 13:42:46 2012
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 3DCEF11E818E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 13:42:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.029
X-Spam-Level: 
X-Spam-Status: No, score=-9.029 tagged_above=-999 required=5 tests=[AWL=-0.886, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 RwFP2CPxbCeM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 13:42:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2DAA621F8491 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 13:42:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svwme-0005dD-LN for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 20:41:44 +0000
Resent-Date: Mon, 30 Jul 2012 20:41:44 +0000
Resent-Message-Id: <E1Svwme-0005dD-LN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SvwmS-0005cS-7y for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 20:41:32 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SvwmQ-0005wE-Ew for ietf-http-wg@w3.org; Mon, 30 Jul 2012 20:41:32 +0000
Received: by wibhq4 with SMTP id hq4so1831147wib.8 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 13:41:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9WneszqCSYXQqgG+bRETlM6q8y5H0r2t5vdgsC5YohU=; b=cAn7GJTjpxRkjW/qwnTvIRMH1MFgg6pw17lFGbvdfvgZ6Gai7UcN+hJSMXOagw43Bx UBZahCb3o3/ogLIxAM9C8NI/XXB93d9cWj+KYeNdwljOc+x1+/EQXEigWyptGfTHQP7A aqJ48vTCgHwNX1oaS7UaTPY7UOMkyTk2jknsDIS/z86WiR0lkHHeuTmg/fICTYcmza9s a2dGeDxzi3g3fi4N1CvsgpWpUE/mJMD8EQXX7gExapds1EmIb+EM1DIO9ZNHMCcAk+Qa RYKvrkveMJSeEFOV0U61GGdilA/7/1AbRyztMUtDcdvnnUYMZg7syve2eiDJzsm7H9J8 EO/g==
Received: by 10.180.86.106 with SMTP id o10mr802887wiz.22.1343680863865; Mon, 30 Jul 2012 13:41:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Mon, 30 Jul 2012 13:40:42 -0700 (PDT)
In-Reply-To: <80f57360-6d21-43be-952c-87344a010013@blur>
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur> <80f57360-6d21-43be-952c-87344a010013@blur>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 30 Jul 2012 13:40:42 -0700
Message-ID: <CABP7RbfkUxskYjGOzqSHARhe7jSNBVhK97rvq3Dgv4+_QOhUfQ@mail.gmail.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04182752950a5504c61214ab
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SvwmQ-0005wE-Ew c5cdb950a263fdd387ece2a22c5bee48
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CABP7RbfkUxskYjGOzqSHARhe7jSNBVhK97rvq3Dgv4+_QOhUfQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14837
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>

--f46d04182752950a5504c61214ab
Content-Type: text/plain; charset=UTF-8

In all honesty, the existing MIME Media Type system could stand for a bit
of an update [1]... Such changes, however, are certainly well beyond the
scope of the missing to produce an updated HTTP with identical semantics to
1.1. Would definitely be interested in exploring the possibilities of what
could be done here tho.

- James

[1]
http://chmod777self.blogspot.com/2012/04/even-more-on-future-of-mime-media-types.html

On Fri, Jul 27, 2012 at 11:39 PM, Larry Masinter <masinter@adobe.com> wrote:

> re changes to semantics: consider the possibility of eliminating
> "sniffing" in HTTP/2.0. If sniffing is justified for compatibility with
> deployed servers, could we eliminate sniffing for 2.0 sites?
>
> It would improve reliability, security, and even performance. Yes, popular
> browsers would have to agree not to sniff sites running 2.0, so that sites
> wanting 2:0 benefits will fix their configuration.
>
> Likely there are many other warts that can be removed if there is a
> version upgrade.
>
>
> -----Original message-----
>
> *From: *Mark Nottingham <mnot@mnot.net>*
> To: *Amos Jeffries <squid3@treenet.co.nz>*
> Cc: *"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>*
> Sent: *Fri, Jul 27, 2012 06:16:31 GMT+00:00
> *
> Subject: *Re: Straw-man for our next charter
>
>
> On 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>
> > On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
> >> Hi Amos,
> >>
> >> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> >>>> Work will begin using XXX as a starting point; all proposals are to
> be expressed
> >>>> in terms of changes to the that document.
> >>> I just think I'll throw a spanner in the general direction of the
> works here....
> >>>
> >>> How realistic is it to expect the HTTPbis 1.1 draft documents fill
> that role? At least we can guarantee that modifications to adjust them for
> 2.0 specifics will not loose or add any features unintentionally that could
> affect HTTP/1.1 compatibility.
>  >> I'm not sure what your concern is here...
> >
> > concern 1) is the feature parity between the HTTP/1 drafts and any other
> document that gets picked. ie workload to get the new doc completed.
> >
> > concern 2) is the politcal battle to get document X to meet the WG goals.
> >
> > Much like what I said in my expression of interest summary. The HTTP/2
> drafts on the tables (own one included) do not come up to scratch for
> HTTP/2 starting points.
> >
> > I know a lot of people have interest in SPDY, but to make that the
> HTTP/2 base doc there are a fair chunk of things which will need pruning
> out - if only because they are new semantics. It is probably not a good
> idea for the WG to start off facing that political battle to ensure its
> semantically seamless to HTTP/1.1. The other documents are bare-bones with
> specific focus on framing improvement over WG drafts part1-2.
>
> Aha. I was assuming that would come up; please discuss (details would
> help).
>
>
> > However taking the HTTPbis draft documents and replacing sections of
> them with SPDY mechanisms, frame design, etc as we agree on particulars -
> that has a clear chance of faster success.
>
> That's an interesting approach.
>
> Cheers,
>
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

--f46d04182752950a5504c61214ab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">In all honesty, the existing MIME Medi=
a Type system could stand for a bit of an update [1]... Such changes, howev=
er, are certainly well beyond the scope of the missing to produce an update=
d HTTP with identical semantics to 1.1. Would definitely be interested in e=
xploring the possibilities of what could be done here tho.</font><div>

<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">- James<br></font><div><font face=3D"courier new,mon=
ospace"><br></font></div><div><font face=3D"courier new,monospace">[1]=C2=
=A0<a href=3D"http://chmod777self.blogspot.com/2012/04/even-more-on-future-=
of-mime-media-types.html">http://chmod777self.blogspot.com/2012/04/even-mor=
e-on-future-of-mime-media-types.html</a><br>

</font><br><div class=3D"gmail_quote">On Fri, Jul 27, 2012 at 11:39 PM, Lar=
ry Masinter <span dir=3D"ltr">&lt;<a href=3D"mailto:masinter@adobe.com" tar=
get=3D"_blank">masinter@adobe.com</a>&gt;</span> wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">

<div><div style=3D"font-family:sans-serif;font-size:16px">re changes to sem=
antics: consider the possibility of eliminating &quot;sniffing&quot; in HTT=
P/2.0. If sniffing is justified for compatibility with deployed servers, co=
uld we eliminate sniffing for 2.0 sites?<br>

<br>It would improve reliability, security, and even performance. Yes, popu=
lar browsers would have to agree not to sniff sites running 2.0, so that si=
tes wanting 2:0 benefits will fix their configuration.=C2=A0 <br><br>Likely=
 there are many other warts that can be removed if there is a version upgra=
de.</div>

<br><br>-----Original message-----<br><blockquote><div style=3D"font-family=
:sans-serif;font-size:14px"><b>From: </b>Mark Nottingham &lt;<a href=3D"mai=
lto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;<b><br>To: </b>Am=
os Jeffries &lt;<a href=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">s=
quid3@treenet.co.nz</a>&gt;<b><br>

Cc: </b>&quot;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf=
-http-wg@w3.org</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org" target=
=3D"_blank">ietf-http-wg@w3.org</a>&gt;<b><br>Sent: </b>Fri, Jul 27, 2012 0=
6:16:31 GMT+00:00<div class=3D"im">

<b><br>Subject: </b>Re: Straw-man for our next charter<br><br></div></div><=
div>


<div>
<font><div><br><div class=3D"im">
On 27/07/2012, at 4:10 PM, Amos Jeffries &lt;<a href=3D"mailto:squid3@treen=
et.co.nz" target=3D"_blank">squid3@treenet.co.nz</a>&gt; wrote:<br>
<br>
&gt; On 27/07/2012 5:27 p.m., Mark Nottingham wrote:<br>
&gt;&gt; Hi Amos,<br>
&gt;&gt; <br>
&gt;&gt; On 25/07/2012, at 10:02 PM, Amos Jeffries &lt;<a href=3D"mailto:sq=
uid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.nz</a>&gt; wrote:<b=
r></div><div class=3D"im">
&gt;&gt;&gt;&gt; Work will begin using XXX as a starting point; all proposa=
ls are to be expressed<br>
&gt;&gt;&gt;&gt; in terms of changes to the that document.<br>
&gt;&gt;&gt; I just think I&#39;ll throw a spanner in the general direction=
 of the works here....<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; How realistic is it to expect the HTTPbis 1.1 draft documents =
fill that role? At least we can guarantee that modifications to adjust them=
 for 2.0 specifics will not loose or add any features unintentionally that =
could affect HTTP/1.1 compatibility.<br>

</div><div class=3D"im">
&gt;&gt; I&#39;m not sure what your concern is here...<br>
&gt; <br>
&gt; concern 1) is the feature parity between the HTTP/1 drafts and any oth=
er document that gets picked. ie workload to get the new doc completed.<br>
&gt; <br>
&gt; concern 2) is the politcal battle to get document X to meet the WG goa=
ls.<br>
&gt; <br>
&gt; Much like what I said in my expression of interest summary. The HTTP/2=
 drafts on the tables (own one included) do not come up to scratch for HTTP=
/2 starting points.<br>
&gt; <br>
&gt; I know a lot of people have interest in SPDY, but to make that the HTT=
P/2 base doc there are a fair chunk of things which will need pruning out -=
 if only because they are new semantics. It is probably not a good idea for=
 the WG to start off facing that political battle to ensure its semanticall=
y seamless to HTTP/1.1. The other documents are bare-bones with specific fo=
cus on framing improvement over WG drafts part1-2.<br>


<br>
Aha. I was assuming that would come up; please discuss (details would help)=
.<br>
<br>
<br>
&gt; However taking the HTTPbis draft documents and replacing sections of t=
hem with SPDY mechanisms, frame design, etc as we agree on particulars - th=
at has a clear chance of faster success.<br>
<br>
That&#39;s an interesting approach. <br>
<br>
Cheers,<br>
<br>
<br>
<br>
--<br>
Mark Nottingham=C2=A0=C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_bla=
nk">http://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</div></div></font>
</div>

</div></blockquote></div>
</blockquote></div><br></div></div>

--f46d04182752950a5504c61214ab--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 15:09:08 2012
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 4A61411E81F4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 15:09:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.922
X-Spam-Level: 
X-Spam-Status: No, score=-8.922 tagged_above=-999 required=5 tests=[AWL=-0.779, BAYES_00=-2.599, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 nHYVcor-d9wg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 15:09:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1142A11E81EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 15:09:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Svy7e-0003aq-NG for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 22:07:30 +0000
Resent-Date: Mon, 30 Jul 2012 22:07:30 +0000
Resent-Message-Id: <E1Svy7e-0003aq-NG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1Svy7S-0003Zw-EA for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 22:07:18 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1Svy7O-0001xI-IZ for ietf-http-wg@w3.org; Mon, 30 Jul 2012 22:07:18 +0000
Received: by vbbfq11 with SMTP id fq11so5389095vbb.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 15:06:48 -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=Oh3fdfL7iZmNxOpD/1aCWDj5pKWYlkjKypnrqeFqXtM=; b=jnuivqzJwgAZKatFY2SMVSbndO1SNLdaK2edURBtWpJy2eGgfaLpuPxRy5L83CNu5E DP3nNOrKPinves/eBf/1X3dHua0kQeataO0YlNhwxiKWWOMIbyHWQjKdCKtudcP4rUta MIXJy3GIplaw1wA5CIiu7wtKPaSZQ+uHjwk1ksRSJEOeE7NmhKRsb35Dkv/2GkdbghbD rf3Owija2kOk6TmMzFb3MOv76NGvCr9j4dolJpePPHr9zZDdfGR12YQbKFei0fR6TBrP IYZ8S0pyNt7wcHIkTb16Cc2hK7c0CJW483KV2+nGNlpyciDZ8v97Ug3XJFhNwBxNiSiM Vt6w==
MIME-Version: 1.0
Received: by 10.58.24.165 with SMTP id v5mr643105vef.48.1343686008720; Mon, 30 Jul 2012 15:06:48 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Mon, 30 Jul 2012 15:06:48 -0700 (PDT)
In-Reply-To: <CABP7RbfkUxskYjGOzqSHARhe7jSNBVhK97rvq3Dgv4+_QOhUfQ@mail.gmail.com>
References: <231852a1-9252-4173-91c2-4c7b0d07e03e@blur> <80f57360-6d21-43be-952c-87344a010013@blur> <CABP7RbfkUxskYjGOzqSHARhe7jSNBVhK97rvq3Dgv4+_QOhUfQ@mail.gmail.com>
Date: Mon, 30 Jul 2012 15:06:48 -0700
Message-ID: <CAAPAK-7D3xyTAdk6iqNxrSXzrBprQQTS4ThZN_NGuXn0gFNrhg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Larry Masinter <masinter@adobe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=047d7b2e42323d4dfc04c6134755
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Svy7O-0001xI-IZ 00f661e77b12e61bf4e998913cc10337
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CAAPAK-7D3xyTAdk6iqNxrSXzrBprQQTS4ThZN_NGuXn0gFNrhg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14838
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>

--047d7b2e42323d4dfc04c6134755
Content-Type: text/plain; charset=ISO-8859-1

Any valid MIME or SMIME under application/<registered-type> also works as
text/<format>+<registered-type>. That possibility does not imply those are
all practical  at the transport layer. It does, however explicitly, suggest
an upgrade or downgrade logical in this context with HTTP/x.y streams.

On Monday, July 30, 2012, James M Snell wrote:

> In all honesty, the existing MIME Media Type system could stand for a bit
> of an update [1]... Such changes, however, are certainly well beyond the
> scope of the missing to produce an updated HTTP with identical semantics to
> 1.1. Would definitely be interested in exploring the possibilities of what
> could be done here tho.
>
> - James
>
> [1]
> http://chmod777self.blogspot.com/2012/04/even-more-on-future-of-mime-media-types.html
>
> On Fri, Jul 27, 2012 at 11:39 PM, Larry Masinter <masinter@adobe.com<javascript:_e({}, 'cvml', 'masinter@adobe.com');>
> > wrote:
>
>> re changes to semantics: consider the possibility of eliminating
>> "sniffing" in HTTP/2.0. If sniffing is justified for compatibility with
>> deployed servers, could we eliminate sniffing for 2.0 sites?
>>
>> It would improve reliability, security, and even performance. Yes,
>> popular browsers would have to agree not to sniff sites running 2.0, so
>> that sites wanting 2:0 benefits will fix their configuration.
>>
>> Likely there are many other warts that can be removed if there is a
>> version upgrade.
>>
>>
>> -----Original message-----
>>
>> *From: *Mark Nottingham <mnot@mnot.net <javascript:_e({}, 'cvml',
>> 'mnot@mnot.net');>>*
>> To: *Amos Jeffries <squid3@treenet.co.nz <javascript:_e({}, 'cvml',
>> 'squid3@treenet.co.nz');>>*
>> Cc: *"ietf-http-wg@w3.org <javascript:_e({}, 'cvml',
>> 'ietf-http-wg@w3.org');>" <ietf-http-wg@w3.org <javascript:_e({},
>> 'cvml', 'ietf-http-wg@w3.org');>>*
>> Sent: *Fri, Jul 27, 2012 06:16:31 GMT+00:00
>> *
>> Subject: *Re: Straw-man for our next charter
>>
>>
>> On 27/07/2012, at 4:10 PM, Amos Jeffries <squid3@treenet.co.nz<javascript:_e({}, 'cvml', 'squid3@treenet.co.nz');>>
>> wrote:
>>
>> > On 27/07/2012 5:27 p.m., Mark Nottingham wrote:
>> >> Hi Amos,
>> >>
>> >> On 25/07/2012, at 10:02 PM, Amos Jeffries <squid3@treenet.co.nz<javascript:_e({}, 'cvml', 'squid3@treenet.co.nz');>>
>> wrote:
>> >>>> Work will begin using XXX as a starting point; all proposals are to
>> be expressed
>> >>>> in terms of changes to the that document.
>> >>> I just think I'll throw a spanner in the general direction of the
>> works here....
>> >>>
>> >>> How realistic is it to expect the HTTPbis 1.1 draft documents fill
>> that role? At least we can guarantee that modifications to adjust them for
>> 2.0 specifics will not loose or add any features unintentionally that could
>> affect HTTP/1.1 compatibility.
>>  >> I'm not sure what your concern is here...
>> >
>> > concern 1) is the feature parity between the HTTP/1 drafts and any
>> other document that gets picked. ie workload to get the new doc completed.
>> >
>> > concern 2) is the politcal battle to get document X to meet the WG
>> goals.
>> >
>> > Much like what I said in my expression of interest summary. The HTTP/2
>> drafts on the tables (own one included) do not come up to scratch for
>> HTTP/2 starting points.
>> >
>> > I know a lot of people have interest in SPDY, but to make that the
>> HTTP/2 base doc there are a fair chunk of things which will need pruning
>> out - if only because they are new semantics. It is probably not a good
>> idea for the WG to start off facing that political battle to ensure its
>> semantically seamless to HTTP/1.1. The other documents are bare-bones with
>> specific focus on framing improvement over WG drafts part1-2.
>>
>> Aha. I was assuming that would come up; please discuss (details would
>> help).
>>
>>
>> > However taking the HTTPbis draft documents and replacing sections of
>> them with SPDY mechanisms, frame design, etc as we agree on particulars -
>> that has a clear chance of faster success.
>>
>> That's an interesting approach.
>>
>> Cheers,
>>
>>
>>
>> --
>> Mark Nottingham   http://www.mnot.net/
>>
>>
>>
>>
>>
>

--047d7b2e42323d4dfc04c6134755
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Any valid MIME or SMIME under application/&lt;registered-type&gt; also work=
s as text/&lt;format&gt;+&lt;registered-type&gt;. That possibility does not=
 imply those are all practical =A0at the transport layer. It does, however =
explicitly, suggest an upgrade or downgrade logical in this context with HT=
TP/x.y streams.<br>
<br>On Monday, July 30, 2012, James M Snell  wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><font face=3D"courier new,monospace">In all honesty, the existin=
g MIME Media Type system could stand for a bit of an update [1]... Such cha=
nges, however, are certainly well beyond the scope of the missing to produc=
e an updated HTTP with identical semantics to 1.1. Would definitely be inte=
rested in exploring the possibilities of what could be done here tho.</font=
><div>


<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">- James<br></font><div><font face=3D"courier new,mon=
ospace"><br></font></div><div><font face=3D"courier new,monospace">[1]=A0<a=
 href=3D"http://chmod777self.blogspot.com/2012/04/even-more-on-future-of-mi=
me-media-types.html" target=3D"_blank">http://chmod777self.blogspot.com/201=
2/04/even-more-on-future-of-mime-media-types.html</a><br>


</font><br><div class=3D"gmail_quote">On Fri, Jul 27, 2012 at 11:39 PM, Lar=
ry Masinter <span dir=3D"ltr">&lt;<a href=3D"javascript:_e({}, &#39;cvml&#3=
9;, &#39;masinter@adobe.com&#39;);" target=3D"_blank">masinter@adobe.com</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div><div style=3D"font-family:sans-serif;font-size:16px">re changes to sem=
antics: consider the possibility of eliminating &quot;sniffing&quot; in HTT=
P/2.0. If sniffing is justified for compatibility with deployed servers, co=
uld we eliminate sniffing for 2.0 sites?<br>


<br>It would improve reliability, security, and even performance. Yes, popu=
lar browsers would have to agree not to sniff sites running 2.0, so that si=
tes wanting 2:0 benefits will fix their configuration.=A0 <br><br>Likely th=
ere are many other warts that can be removed if there is a version upgrade.=
</div>


<br><br>-----Original message-----<br><blockquote><div style=3D"font-family=
:sans-serif;font-size:14px"><b>From: </b>Mark Nottingham &lt;<a href=3D"jav=
ascript:_e({}, &#39;cvml&#39;, &#39;mnot@mnot.net&#39;);" target=3D"_blank"=
>mnot@mnot.net</a>&gt;<b><br>
To: </b>Amos Jeffries &lt;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39=
;squid3@treenet.co.nz&#39;);" target=3D"_blank">squid3@treenet.co.nz</a>&gt=
;<b><br>

Cc: </b>&quot;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf-http-w=
g@w3.org&#39;);" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a hre=
f=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf-http-wg@w3.org&#39;);" tar=
get=3D"_blank">ietf-http-wg@w3.org</a>&gt;<b><br>
Sent: </b>Fri, Jul 27, 2012 06:16:31 GMT+00:00<div>

<b><br>Subject: </b>Re: Straw-man for our next charter<br><br></div></div><=
div>


<div>
<font><div><br><div>
On 27/07/2012, at 4:10 PM, Amos Jeffries &lt;<a href=3D"javascript:_e({}, &=
#39;cvml&#39;, &#39;squid3@treenet.co.nz&#39;);" target=3D"_blank">squid3@t=
reenet.co.nz</a>&gt; wrote:<br>
<br>
&gt; On 27/07/2012 5:27 p.m., Mark Nottingham wrote:<br>
&gt;&gt; Hi Amos,<br>
&gt;&gt; <br>
&gt;&gt; On 25/07/2012, at 10:02 PM, Amos Jeffries &lt;<a href=3D"javascrip=
t:_e({}, &#39;cvml&#39;, &#39;squid3@treenet.co.nz&#39;);" target=3D"_blank=
">squid3@treenet.co.nz</a>&gt; wrote:<br></div><div>
&gt;&gt;&gt;&gt; Work will begin using XXX as a starting point; all proposa=
ls are to be expressed<br>
&gt;&gt;&gt;&gt; in terms of changes to the that document.<br>
&gt;&gt;&gt; I just think I&#39;ll throw a spanner in the general direction=
 of the works here....<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; How realistic is it to expect the HTTPbis 1.1 draft documents =
fill that role? At least we can guarantee that modifications to adjust them=
 for 2.0 specifics will not loose or add any features unintentionally that =
could affect HTTP/1.1 compatibility.<br>


</div><div>
&gt;&gt; I&#39;m not sure what your concern is here...<br>
&gt; <br>
&gt; concern 1) is the feature parity between the HTTP/1 drafts and any oth=
er document that gets picked. ie workload to get the new doc completed.<br>
&gt; <br>
&gt; concern 2) is the politcal battle to get document X to meet the WG goa=
ls.<br>
&gt; <br>
&gt; Much like what I said in my expression of interest summary. The HTTP/2=
 drafts on the tables (own one included) do not come up to scratch for HTTP=
/2 starting points.<br>
&gt; <br>
&gt; I know a lot of people have interest in SPDY, but to make that the HTT=
P/2 base doc there are a fair chunk of things which will need pruning out -=
 if only because they are new semantics. It is probably not a good idea for=
 the WG to start off facing that political battle to ensure its semanticall=
y seamless to HTTP/1.1. The other documents are bare-bones with specific fo=
cus on framing improvement over WG drafts part1-2.<br>



<br>
Aha. I was assuming that would come up; please discuss (details would help)=
.<br>
<br>
<br>
&gt; However taking the HTTPbis draft documents and replacing sections of t=
hem with SPDY mechanisms, frame design, etc as we agree on particulars - th=
at has a clear chance of faster success.<br>
<br>
That&#39;s an interesting approach. <br>
<br>
Cheers,<br>
<br>
<br>
<br>
--<br>
Mark Nottingham=A0=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">ht=
tp://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</div></div></font>
</div>

</div></blockquote></div>
</blockquote></div><br></div></div>
</blockquote>

--047d7b2e42323d4dfc04c6134755--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 15:33:00 2012
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 4C20F11E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 15:33:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.183
X-Spam-Level: 
X-Spam-Status: No, score=-7.183 tagged_above=-999 required=5 tests=[AWL=2.416, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
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 JCYe4IauMUxm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 15:32:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A910411E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 15:32:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvyVC-00075u-Lj for ietf-http-wg-dist@listhub.w3.org; Mon, 30 Jul 2012 22:31:50 +0000
Resent-Date: Mon, 30 Jul 2012 22:31:50 +0000
Resent-Message-Id: <E1SvyVC-00075u-Lj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SvyUo-00073I-Hy for ietf-http-wg@listhub.w3.org; Mon, 30 Jul 2012 22:31:26 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SvyUm-0000ld-Kb for ietf-http-wg@w3.org; Mon, 30 Jul 2012 22:31:26 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.4 (Build 3445)) with SMTP id <0019167333@smtp.qbik.com>; Tue, 31 Jul 2012 10:31:00 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "patrick mcmanus" <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Mon, 30 Jul 2012 22:31:00 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <5016A3C5.2030708@mozilla.com>
Message-Id: <em023deac7-d35d-45a5-bb7b-4474b0f8759c@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SvyUm-0000ld-Kb 211fc81c089389011c149032fa527354
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/em023deac7-d35d-45a5-bb7b-4474b0f8759c@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14839
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>

------ Original Message ------
From: "patrick mcmanus" <pmcmanus@mozilla.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 31/07/2012 3:09:57 a.m.
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
>On 7/30/2012 12:02 AM, Poul-Henning Kamp wrote:=20
>>
>>It is not clear to me exactly what these major implementers mean when=20
>>they say "TLS is mandatory"=20
>>
>>Do they mean "TLS MUST be supported" or "TLS MUST be used" ?=20
>
>I mean that HTTP/2 must be secure against (at least) passive=20
>eavesdropping attacks at all times. TLS is the bird-in-hand for that=20
>right now, but it does not exclude other solutions. Other properties=20
>of TLS are desirable too, but they don't necessarily rise to the level=20
>of mandatory to implement for me.=20
>


by "must be secure", I take it you mean "TLS must be used".  Correct?

Otherwise you'd have said "must be securable" or similar?

Adrien


>
>



From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 20:52:36 2012
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 B26FD21F857D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 20:52:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.1
X-Spam-Level: 
X-Spam-Status: No, score=-8.1 tagged_above=-999 required=5 tests=[AWL=-0.633, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 L5m2jj26ucwa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 20:52:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C38B21F8575 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 20:52:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw3Ti-0004Zp-2G for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 03:50:38 +0000
Resent-Date: Tue, 31 Jul 2012 03:50:38 +0000
Resent-Message-Id: <E1Sw3Ti-0004Zp-2G@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Sw3TO-0004Z0-Iu for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 03:50:18 +0000
Received: from db3ehsobe004.messaging.microsoft.com ([213.199.154.142] helo=db3outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Sw3TN-0004a2-BE for ietf-http-wg@w3.org; Tue, 31 Jul 2012 03:50:18 +0000
Received: from mail102-db3-R.bigfish.com (10.3.81.249) by DB3EHSOBE002.bigfish.com (10.3.84.22) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 03:49:50 +0000
Received: from mail102-db3 (localhost [127.0.0.1])	by mail102-db3-R.bigfish.com (Postfix) with ESMTP id 853A51800A9	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 03:49:50 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -8
X-BigFish: VS-8(zzbb2dI98dI9371I542M1432I1418Izz1202hzz8275dhz2fh2a8h683h839h944hd24hf0ah107ah9a9j)
Received-SPF: pass (mail102-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC102.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail102-db3 (localhost.localdomain [127.0.0.1]) by mail102-db3 (MessageSwitch) id 1343706588870406_23156; Tue, 31 Jul 2012 03:49:48 +0000 (UTC)
Received: from DB3EHSMHS004.bigfish.com (unknown [10.3.81.238])	by mail102-db3.bigfish.com (Postfix) with ESMTP id D1E55340044	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 03:49:48 +0000 (UTC)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS004.bigfish.com (10.3.87.104) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 03:49:48 +0000
Received: from am1outboundpool.messaging.microsoft.com (157.54.51.114) by mail.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 31 Jul 2012 03:49:46 +0000
Received: from mail21-am1-R.bigfish.com (10.3.201.230) by AM1EHSOBE009.bigfish.com (10.3.204.29) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 03:49:44 +0000
Received: from mail21-am1 (localhost [127.0.0.1])	by mail21-am1-R.bigfish.com (Postfix) with ESMTP id B567A380319	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 31 Jul 2012 03:49:44 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(377454001)(51444002)(479174001)(51704002)(13464001)(24454001)(5343655001)(33646001)(16406001)(42186003)(266001)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail21-am1 (localhost.localdomain [127.0.0.1]) by mail21-am1 (MessageSwitch) id 134370658328598_28647; Tue, 31 Jul 2012 03:49:43 +0000 (UTC)
Received: from AM1EHSMHS002.bigfish.com (unknown [10.3.201.251])	by mail21-am1.bigfish.com (Postfix) with ESMTP id EF5B5100073;	Tue, 31 Jul 2012 03:49:42 +0000 (UTC)
Received: from BL2PRD0310HT002.namprd03.prod.outlook.com (157.56.240.21) by AM1EHSMHS002.bigfish.com (10.3.207.102) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 03:49:42 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BL2PRD0310HT002.namprd03.prod.outlook.com (10.255.97.37) with Microsoft SMTP Server (TLS) id 14.16.175.8; Tue, 31 Jul 2012 03:49:42 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) with Microsoft SMTP Server (TLS) id 15.0.466.11; Tue, 31 Jul 2012 03:49:40 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.218]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.195]) with mapi id 15.00.0466.010; Tue, 31 Jul 2012 03:49:40 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: patrick mcmanus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71QAF5dSAABCyaHAAE6PLgAAZXHZA
Date: Tue, 31 Jul 2012 03:49:39 +0000
Message-ID: <4732e4bf0ab746969c94f90d34764f8e@BLUPR03MB613.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <op.wh8at1mfiw9drz@manganese.bredbandsbolaget.se> <299d3e3339e34be8b233df2a4b5d698b@CH1PR03MB622.namprd03.prod.outlook.com> <5016AA21.2010603@mozilla.com>
In-Reply-To: <5016AA21.2010603@mozilla.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.124.20]
x-forefront-prvs: 0559FB9674
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB613.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MOZILLA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC102.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.142; envelope-from=henrikn@microsoft.com; helo=db3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Sw3TN-0004a2-BE 7703cf656062664dbb39161f695017fc
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/4732e4bf0ab746969c94f90d34764f8e@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14840
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>

Sorry for the delay -- been traveling from Denmark to Seattle and will go t=
o Vancouver tomorrow morning -- hope to see many of you there!

To be clear, I am not claiming that HTTP pipelining is the end-all-be-all -=
- it clearly has limitations -- but it does allow us to compare on a more a=
pples-to-apples basis what actually improves performance, what doesn't, and=
 what is in the noise. I think that is necessary to know in order to be abl=
e to evaluate whether we are headed in the right direction. I hope we can b=
uild on the data presented here and get a better understanding of where we =
are.

I hope we get some time to discuss some of the issues such as cancellation =
etc. -- lots of interesting (and tricky) issues!

Henrik

-----Original Message-----
From: patrick mcmanus [mailto:pmcmanus@mozilla.com]=20
Sent: Monday, July 30, 2012 08:37
To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web

On 7/29/2012 11:32 PM, Henrik Frystyk Nielsen wrote:
> Martin,
>
> What scenarios do you have in mind where pipelining does not work? Obviou=
sly it only works for GET so for web sites using lots of non-GET requests i=
t won't work but GET is the predominant method on most sites.

I'm a believer that we can get more benefit from pipelines than we currentl=
y do, and I remain committed to seeing that happen on today's
http/1 web. But the challenges go beyond non-get and mangling intermediarie=
s(*).. so in a pro-pipeline, but eyes-wide-open spirit:

1] you still need parallelism because of priority head of line blocking iss=
ues. But now some of the parallel flows are filling the pipe and buffers ve=
ry well, and its hard to manage the prioritization effectively. Using a pri=
ority mux instead of pipeline+parallelism makes that work a bit better (buf=
fering in the network remains a problem - though with fewer connections the=
y should at least not be filled as deeply)

2] even on get - blocking responses are common and they screw up the pipeli=
ne. database operations, web service callouts, etc all can create variabili=
ty in response times, and that creates time-to-utilization gaps

3] http/1 cancellation semantics don't exist other than closing the connect=
ion, and pipelines make this worse. This comes up all the time in the form =
of links clicked on partially rendered pages. (think "next" on a webmail in=
box). To process the click you need to decide between waiting for the old o=
ne to drain, adding more to its existing pipeline, or making a new connecti=
on.. this problem always existed without pipelines but the amount of data i=
n the queue has now gone up.

[*] in my experience the most significant intermediary challenges these day=
s come from AV and firewall software.. actual network devices and servers f=
air ok with a couple notable exceptions. I don't know that this makes it an=
y easier :)

pipelines are useful things - but I think we can do better than just workin=
g around their warts.

>
> We took some pretty normal sites so I do think they represent reasonable =
data. We'd be happy to expand the sites but the whole point was to show dif=
ferences in relatively common sites. It is correct that we didn't use cooki=
es. Cookie and UA-header sizes can indeed vary a lot but that is a much mor=
e isolated problem to solve that can be done in any number of ways.

cookies and pipeline performance are pretty tightly tied. Pipeline depth is=
 driven by client cwnd and the difference in pipeline depth on a cold TCP s=
ession goes from 10 to 2 as cookie sizes go from 0 to 2KB. An
HTTP/2 approach that removes header redundancy (whether that be by some man=
ual table approach like network-friendly, or a automagic gzip approach like=
 spdy) is critical to addressing the fundamental round trip problem.

cheers,
-Patrick









From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 21:06:28 2012
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 0A67811E8122 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:06:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.574
X-Spam-Level: 
X-Spam-Status: No, score=-8.574 tagged_above=-999 required=5 tests=[AWL=-1.053, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 5OL3-rl0VmqF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:06:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5637C11E80C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 21:06:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw3hv-0002ER-Jh for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 04:05:19 +0000
Resent-Date: Tue, 31 Jul 2012 04:05:19 +0000
Resent-Message-Id: <E1Sw3hv-0002ER-Jh@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw3hi-0002Db-5Q for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 04:05:06 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw3hf-000511-Rb for ietf-http-wg@w3.org; Tue, 31 Jul 2012 04:05:06 +0000
Received: by lbom4 with SMTP id m4so3836892lbo.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 21:04:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=bA+i2ME3mi9WlOqZGFE611YR9jFcuT4ouQLQUJcLJ1o=; b=kXza2EruqHK+8gNLsruMotCisXarCqJzDS8vVc2m6sZNJbyZYdEvQ/TmErPw7yBFxW ikZ3nkXw2050OVlMRaVrc53Nj+bvjQVezJ3hMEoc620Zmn1q/YjmuOwebR2iYJm5EdpO xxzf/XusX2POtYbDeCtPKPnglNHobVRRGjCT9LNk0PoiD6/DQpQdMs536+XkOZkVtdQM whP9Oo+jrdHYNDZ6CRyRDXXBO6b1hqEH7PiU3LMc6m9DEBQjL70IomFwzkPOwObDNXQQ 5oovFWSFwo1iyczN45B5a2P8E4KBUJd5M6ay1hfn1yqAohRvey2J6UIyCbvm79mzDFXy pRJQ==
MIME-Version: 1.0
Received: by 10.152.105.51 with SMTP id gj19mr13423762lab.38.1343707476904; Mon, 30 Jul 2012 21:04:36 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 30 Jul 2012 21:04:36 -0700 (PDT)
In-Reply-To: <d85655d0-c544-485f-8b84-c3888e83d13a@blur>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com> <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com> <d85655d0-c544-485f-8b84-c3888e83d13a@blur>
Date: Mon, 30 Jul 2012 21:04:36 -0700
Message-ID: <CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "ifette@google.com" <ifette@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04071785d7ccbb04c6184664
X-Gm-Message-State: ALoCoQlJh/gLz2rhYJbpg5f6hAbwgGAdIOyZMWLJvMDzq9bvXeRCG6wLxxMeAvxheC3UYMdkTv0N
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Sw3hf-000511-Rb b17bba7c0a511209f89b244741644598
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14841
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>

--f46d04071785d7ccbb04c6184664
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 29, 2012 at 10:45 AM, Larry Masinter <masinter@adobe.com> wrote:

> Your post is consistent with the assertion that there isn't agreement yet
> about what "faster than HTTP/1.1" means, or how to compare proposals for
> improvement. And neither measured worst case latency or real network
> traffic with buffer bloat, or situations that would detect the impact of
> HOL blocking.
>

While SPDY leaves a tiny HOL issue, it fixes the massive one from HTTP/1.1,
which can only load a couple of resources in parallel per domain (2 by
spec, 6 by implementation best practices).  The tradeoff turns out to be a
boon in terms of reduced latency while also using fewer network resources.

I haven't seen any data that suggests otherwise.  Did I miss something?

For bufferbloat, using 1 TCP connection is strictly better than many - TCP
implementations don't throttle with multiple connections in mind; so while
HTTP systematically circumvents slow start by way of more and more
connections, SPDY embraces TCP's throttling and enables future enhancements
at the transport layer.


> Features like sniffing where the receiver needs to look at initial
> segments of traffic before dispatching exacerbate the impact of uneven
> latency by imposing an otherwise unnecessary serialization constraint.
>


>
>

> deployment issues are in scope... they are what drive the push for SSL in
> the first place.
>
> And if sites wont see improvement  (or even a performance hit) in a world
> of partial deployment of HTTP 2.0, who (that isn't already using SPDY as
> is) would deploy it?
>

We should expect that on the road to full deployment of HTTP/2.0 we will
see partial deployment of HTTP/2.0.  It seems perfectly fine to me that as
you deploy it more completely the benefit increases.

Mike



>
> -----Original message-----
>
> *From: *"ifette@google.com" <ifette@google.com>*
> To: *Larry Masinter <masinter@adobe.com>*
> Cc: *"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>*
> Sent: *Sun, Jul 29, 2012 07:14:02 GMT+00:00
> *
> Subject: *Re: Straw-man for our next charter
>
> Without re-hashing what's already been said, I'll point out that the "Not
> as SPDY as You Thought" isn't a test of "what performance do we get in a
> world of SPDY" but rather "What performance do we get in a world of partial
> SPDY deployment." Mike has a nice in-depth writeup at
> http://www.belshe.com/2012/06/24/followup-to-not-as-spdy-as-you-thought/
>
> -Ian
>
> On Fri, Jul 27, 2012 at 9:34 PM, Larry Masinter <masinter@adobe.com>wrote:
>
>> I'd suggest the HTTP/2.0 work would be best served by first focusing on
>> documenting "substantial and measurable improvement".
>> I suggest the charter not be extended to accept proposals and start on
>> development of the protocol itself until this is done.
>>
>> There are conflicting characterizations of SPDY performance results (the
>> results aren't in conflict as much as whether you could summarize the
>> results as "better").
>>     http://www.ietf.org/proceedings/83/slides/slides-83-httpbis-3.pdf said  "Google recently reported that SPDY over SSL is now faster than HTTP
>> without SSL" plus "BoostEdge paper confirms Google numbers", which I'd take
>> to mean that it's always faster.
>>
>>    but  http://www.guypo.com/technical/not-as-spdy-as-you-thought/  it
>> isn't as SPDY as you (Someone) thought, and noted many circumstances where
>> it didn't help.
>>
>> Unless there's agreement on what "improvement" is, it's hard to even
>> discuss features for how well they "improve".
>>
>>
>> What can site administrators depend on, expect from a SPDY upgrade?
>>
>> I'm still concerned about head-of-line blocking that comes from
>> multiplexing and doing flow control at two levels of the protocol stack. It
>> seems intrinsically a likely problem, for which the only solution is proper
>> management and control of performance of all of the sources of data
>> ("scheduling").  I think getting an agreement on why that isn't a problem
>> here (or at least, how to minimize the problem) first would help, too.
>> With head-of-line blocking, the latency has spikes, and averages won't
>> suffice if what you care about is common-worst-case.
>>
>> Larry
>> --
>> http://larry.masinter.net
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Amos Jeffries [mailto:squid3@treenet.co.nz]
>> Sent: Wednesday, July 25, 2012 5:03 AM
>> To: ietf-http-wg@w3.org
>> Subject: Re: Straw-man for our next charter
>>
>> On 25/07/2012 7:53 p.m., Mark Nottingham wrote:
>> > Next week in Vancouver, we'll discuss both the candidate proposals for
>> HTTP/2.0 and whether we should re-charter to begin that work, confirming
>> consensus on the list afterwards.
>> >
>> > Assuming we do choose one, we'll also need to discuss the charter
>> itself. To facilitate that, I've pasted a straw-man of what such a charter
>> might look like below.
>> >
>> > Please familiarise yourself with it. We can discuss on-list beforehand,
>> of course, but please realise that we need to do this step-by-step, so
>> don't get too far ahead of the conversation.
>> >
>> > Note -- this currently JUST covers the protocol discussion, not the
>> authentication half; I've omitted it because there are a few different ways
>> that work might end up, and it's going to need discussion before we can
>> write even straw-man charter text.
>> >
>> > Cheers,
>> >
>> > ---8<---
>> > This Working Group is charged with maintaining and developing
>> > the "core" specifications for HTTP.
>> >
>> > The Working Group's specification deliverables are:
>> > * A document (or set of documents) that is suitable to supersede RFC
>> 2616 as
>> >    the definition of HTTP/1.1 and move RFC 2817 to Historic status
>> > * A document cataloguing the security properties of HTTP/1.1
>> > * A document (or set of documents) that specifies HTTP/2.0, an improved
>> >    binding of HTTP's semantics to an underlying transport.
>> >
>> > HTTP/1.1
>> > --------
>> >
>> > HTTP/1.1 is one of the most successful and widely-used protocols on the
>> > Internet today. However, its specification has several editorial issues.
>> > Additionally, after years of implementation and extension, several
>> > ambiguities have become evident, impairing interoperability and the
>> ability
>> > to easily implement and use HTTP.
>> >
>> > The working group will refine RFC2616 to:
>> > * Incorporate errata and updates (e.g., references, IANA registries,
>> >    ABNF)
>> > * Fix editorial problems which have led to misunderstandings of the
>> >    specification
>> > * Clarify conformance requirements
>> > * Remove known ambiguities where they affect interoperability
>> > * Clarify existing methods of extensibility
>> > * Remove or deprecate those features that are not widely implemented and
>> >    also unduly affect interoperability
>> > * Where necessary, add implementation advice
>> > * Document the security properties of HTTP and its associated mechanisms
>> >    (e.g., Basic and Digest authentication, cookies, TLS) for common
>> >    applications
>> >
>> > It will also incorporate the generic authentication framework from RFC
>> > 2617, without obsoleting or updating that specification's definition of
>> > the Basic and Digest schemes.
>> >
>> > Finally, it will incorporate relevant portions of RFC 2817 (in
>> > particular, the CONNECT method and advice on the use of Upgrade), so
>> > that that specification can be moved to Historic status.
>> >
>> > In doing so, it should consider:
>> > * Implementer experience
>> > * Demonstrated use of HTTP
>> > * Impact on existing implementations and deployments
>> >
>> > HTTP/2.0
>> > --------
>> >
>> > There is emerging implementation experience and interest in a protocol
>> that
>> > retains the semantics of HTTP without the legacy of HTTP/1.x message
>> > framing and syntax, which have been identified as hampering performance
>> and
>> > encouraging misuse of the underlying transport.
>> >
>> > The Working Group will produce a specification of a new expression of
>> HTTP's
>> > current semantics in ordered, bi-directional streams. As with HTTP/1.x,
>> > the primary target transport is TCP, but it should be possible to use
>> > other transports.
>> >
>> > Work will begin using XXX as a starting point; all proposals are to be
>> expressed
>> > in terms of changes to the that document.
>>
>> I just think I'll throw a spanner in the general direction of the works
>> here....
>>
>> How realistic is it to expect the HTTPbis 1.1 draft documents fill that
>> role? At least we can guarantee that modifications to adjust them for
>> 2.0 specifics will not loose or add any features unintentionally that
>> could affect HTTP/1.1 compatibility.
>>
>>
>> >
>> > It is expected that HTTP/2.0 will:
>> > * Substantially and measurably improve end-user perceived latency in
>> most
>> >    cases, over HTTP/1.1 using TCP.
>>
>> "measureably ... perceived" does not stack up.
>> Surely we can aim for actual measurable efficiency rather than just
>> perceived.
>>
>> Possibly also improvement over *optimized* 1.1 would be a good aim.
>>
>> > * Not require multiple connections to a server to enable parallelism.
>> +1.
>>
>> > * Require no more configuration or tuning than current HTTP deployments;
>> >     preferably, less.
>>
>> What do you means by this?
>>
>> > * Retain the semantics of HTTP/1.1, leveraging existing documentation
>> (see
>> >    above), including (but not limited to) HTTP methods, status codes,
>> URIs, and
>> >    where appropriate, header fields.
>>
>> see above regarding "XXX as a starting point".
>>
>> > * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>> >    intermediaries (both 2->1 and 1->2).
>> > * Clearly identify any new extensibility points and policy for their
>> >    appropriate use.
>>
>> +1.
>>
>> >
>> > The resulting specification(s) are expected to be meet these goals for
>> common
>> > existing deployments of HTTP; in particular, Web browsing (desktop and
>> > mobile), Web serving (at a variety of scales), and intermediation (by
>> proxies,
>> > corporate firewalls, "reverse" proxies and Content Delivery Networks).
>> >
>> > Note that this does not include uses of HTTP where non-specified
>> behaviours
>> > are relied upon (e.g., connection state such as timeouts or client
>> affinity,
>> > and "interception" proxies); these uses may or may not be enabled by
>> the final
>> > product.
>> >
>> > Explicitly out-of-scope items include:
>> > * Specifying the use of alternate transport protocols. Note that it
>> >    is expected that the Working Group will define how the protocol is
>> used
>> >    with the TLS protocol.
>> > * Specifying new semantics for HTTP (whether specific to HTTP/2 or not).
>> >    However, the Working Group may request a re-charter to start work on
>> such
>> >    items (during or after work on HTTP/2.0), provided there is
>> consensus to
>> >    do so, and it does not interfere with work on the "core" (both
>> HTTP/1.x and
>> >    HTTP/2.0).
>>
>> +1. Although I predict that having multiplexing on the table will bring
>> up the need for new hop-by-hop features on 2.0 connections. Specifically
>> flow control features.
>>
>> Amos
>>
>>
>>
>

--f46d04071785d7ccbb04c6184664
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Jul 29, 2012 at 10:45 AM, Larry =
Masinter <span dir=3D"ltr">&lt;<a href=3D"mailto:masinter@adobe.com" target=
=3D"_blank">masinter@adobe.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div><div style=3D"font-family:sans-serif;font-size:16px">Your post is cons=
istent with the assertion that there isn&#39;t agreement yet about what &qu=
ot;faster than HTTP/1.1&quot; means, or how to compare proposals for improv=
ement. And neither measured worst case latency or real network traffic with=
 buffer bloat, or situations that would detect the impact of HOL blocking.<=
br>
</div></div></blockquote><div><br></div><div>While SPDY leaves a tiny HOL i=
ssue, it fixes the massive one from HTTP/1.1, which can only load a couple =
of resources in parallel per domain (2 by spec, 6 by implementation best pr=
actices). =A0The tradeoff turns out to be a boon in terms of reduced latenc=
y while also using fewer network resources. =A0</div>
<div><br></div><div>I haven&#39;t seen any data that suggests otherwise. =
=A0Did I miss something?</div><div><br></div><div>For bufferbloat, using 1 =
TCP connection is strictly better than many - TCP implementations don&#39;t=
 throttle with multiple connections in mind; so while HTTP systematically c=
ircumvents slow start by way of more and more connections, SPDY embraces TC=
P&#39;s throttling and enables future enhancements at the transport layer.<=
/div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div><div style=3D"font-famil=
y:sans-serif;font-size:16px"><br>Features like sniffing where the receiver =
needs to look at initial segments of traffic before dispatching exacerbate =
the impact of uneven latency by imposing an otherwise unnecessary serializa=
tion constraint.=A0</div>
</div></blockquote><div>=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div s=
tyle=3D"font-family:sans-serif;font-size:16px">=A0</div></div></blockquote>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div><div style=3D"font-family:sans-serif;font-size:16px"><br>deployment is=
sues are in scope... they are what drive the push for SSL in the first plac=
e. <br><br>And if sites wont see improvement=A0 (or even a performance hit)=
 in a world of partial deployment of HTTP 2.0, who (that isn&#39;t already =
using SPDY as is) would deploy it? <br>
</div></div></blockquote><div><br></div><div>We should expect that on the r=
oad to full deployment of HTTP/2.0 we will see partial deployment of HTTP/2=
.0. =A0It seems perfectly fine to me that as you deploy it more completely =
the benefit increases.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex"><div><div style=3D"font-family:sans-serif;font-size:16px"><b=
r></div>
-----Original message-----<br><blockquote><div style=3D"font-family:sans-se=
rif;font-size:14px"><b>From: </b>&quot;<a href=3D"mailto:ifette@google.com"=
 target=3D"_blank">ifette@google.com</a>&quot; &lt;<a href=3D"mailto:ifette=
@google.com" target=3D"_blank">ifette@google.com</a>&gt;<b><br>
To: </b>Larry Masinter &lt;<a href=3D"mailto:masinter@adobe.com" target=3D"=
_blank">masinter@adobe.com</a>&gt;<b><br>Cc: </b>&quot;<a href=3D"mailto:ie=
tf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a h=
ref=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a=
>&gt;<b><br>
Sent: </b>Sun, Jul 29, 2012 07:14:02 GMT+00:00<div><div class=3D"h5"><b><br=
>Subject: </b>Re: Straw-man for our next charter<br><br></div></div></div><=
div><div class=3D"h5"><div>Without re-hashing what&#39;s already been said,=
 I&#39;ll point out that the &quot;Not as SPDY as You Thought&quot; isn&#39=
;t a test of &quot;what performance do we get in a world of SPDY&quot; but =
rather &quot;What performance do we get in a world of partial SPDY deployme=
nt.&quot; Mike has a nice in-depth writeup at=A0<a href=3D"http://www.belsh=
e.com/2012/06/24/followup-to-not-as-spdy-as-you-thought/" target=3D"_blank"=
>http://www.belshe.com/2012/06/24/followup-to-not-as-spdy-as-you-thought/</=
a><div>


<br></div><div>-Ian<br><br><div class=3D"gmail_quote">On Fri, Jul 27, 2012 =
at 9:34 PM, Larry Masinter <span dir=3D"ltr">&lt;<a href=3D"mailto:masinter=
@adobe.com" target=3D"_blank">masinter@adobe.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">


I&#39;d suggest the HTTP/2.0 work would be best served by first focusing on=
 documenting &quot;substantial and measurable improvement&quot;.<br>
I suggest the charter not be extended to accept proposals and start on deve=
lopment of the protocol itself until this is done.<br>
<br>
There are conflicting characterizations of SPDY performance results (the re=
sults aren&#39;t in conflict as much as whether you could summarize the res=
ults as &quot;better&quot;).<br>
=A0 =A0 <a href=3D"http://www.ietf.org/proceedings/83/slides/slides-83-http=
bis-3.pdf" target=3D"_blank">http://www.ietf.org/proceedings/83/slides/slid=
es-83-httpbis-3.pdf</a> =A0said =A0&quot;Google recently reported that SPDY=
 over SSL is now faster than HTTP without SSL&quot; plus &quot;BoostEdge pa=
per confirms Google numbers&quot;, which I&#39;d take to mean that it&#39;s=
 always faster.<br>



<br>
=A0 =A0but =A0<a href=3D"http://www.guypo.com/technical/not-as-spdy-as-you-=
thought/" target=3D"_blank">http://www.guypo.com/technical/not-as-spdy-as-y=
ou-thought/</a> =A0it isn&#39;t as SPDY as you (Someone) thought, and noted=
 many circumstances where it didn&#39;t help.<br>



<br>
Unless there&#39;s agreement on what &quot;improvement&quot; is, it&#39;s h=
ard to even discuss features for how well they &quot;improve&quot;.<br>
<br>
<br>
What can site administrators depend on, expect from a SPDY upgrade?<br>
<br>
I&#39;m still concerned about head-of-line blocking that comes from multipl=
exing and doing flow control at two levels of the protocol stack. It seems =
intrinsically a likely problem, for which the only solution is proper manag=
ement and control of performance of all of the sources of data (&quot;sched=
uling&quot;). =A0I think getting an agreement on why that isn&#39;t a probl=
em here (or at least, how to minimize the problem) first would help, too.<b=
r>



With head-of-line blocking, the latency has spikes, and averages won&#39;t =
suffice if what you care about is common-worst-case.<br>
<br>
Larry<br>
--<br>
<a href=3D"http://larry.masinter.net" target=3D"_blank">http://larry.masint=
er.net</a><br>
<div><br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Amos Jeffries [mailto:<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>]<br>
Sent: Wednesday, July 25, 2012 5:03 AM<br>
To: <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w=
3.org</a><br>
Subject: Re: Straw-man for our next charter<br>
<br>
</div><div><div>On 25/07/2012 7:53 p.m., Mark Nottingham wrote:<br>
&gt; Next week in Vancouver, we&#39;ll discuss both the candidate proposals=
 for HTTP/2.0 and whether we should re-charter to begin that work, confirmi=
ng consensus on the list afterwards.<br>
&gt;<br>
&gt; Assuming we do choose one, we&#39;ll also need to discuss the charter =
itself. To facilitate that, I&#39;ve pasted a straw-man of what such a char=
ter might look like below.<br>
&gt;<br>
&gt; Please familiarise yourself with it. We can discuss on-list beforehand=
, of course, but please realise that we need to do this step-by-step, so do=
n&#39;t get too far ahead of the conversation.<br>
&gt;<br>
&gt; Note -- this currently JUST covers the protocol discussion, not the au=
thentication half; I&#39;ve omitted it because there are a few different wa=
ys that work might end up, and it&#39;s going to need discussion before we =
can write even straw-man charter text.<br>



&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; ---8&lt;---<br>
&gt; This Working Group is charged with maintaining and developing<br>
&gt; the &quot;core&quot; specifications for HTTP.<br>
&gt;<br>
&gt; The Working Group&#39;s specification deliverables are:<br>
&gt; * A document (or set of documents) that is suitable to supersede RFC 2=
616 as<br>
&gt; =A0 =A0the definition of HTTP/1.1 and move RFC 2817 to Historic status=
<br>
&gt; * A document cataloguing the security properties of HTTP/1.1<br>
&gt; * A document (or set of documents) that specifies HTTP/2.0, an improve=
d<br>
&gt; =A0 =A0binding of HTTP&#39;s semantics to an underlying transport.<br>
&gt;<br>
&gt; HTTP/1.1<br>
&gt; --------<br>
&gt;<br>
&gt; HTTP/1.1 is one of the most successful and widely-used protocols on th=
e<br>
&gt; Internet today. However, its specification has several editorial issue=
s.<br>
&gt; Additionally, after years of implementation and extension, several<br>
&gt; ambiguities have become evident, impairing interoperability and the ab=
ility<br>
&gt; to easily implement and use HTTP.<br>
&gt;<br>
&gt; The working group will refine RFC2616 to:<br>
&gt; * Incorporate errata and updates (e.g., references, IANA registries,<b=
r>
&gt; =A0 =A0ABNF)<br>
&gt; * Fix editorial problems which have led to misunderstandings of the<br=
>
&gt; =A0 =A0specification<br>
&gt; * Clarify conformance requirements<br>
&gt; * Remove known ambiguities where they affect interoperability<br>
&gt; * Clarify existing methods of extensibility<br>
&gt; * Remove or deprecate those features that are not widely implemented a=
nd<br>
&gt; =A0 =A0also unduly affect interoperability<br>
&gt; * Where necessary, add implementation advice<br>
&gt; * Document the security properties of HTTP and its associated mechanis=
ms<br>
&gt; =A0 =A0(e.g., Basic and Digest authentication, cookies, TLS) for commo=
n<br>
&gt; =A0 =A0applications<br>
&gt;<br>
&gt; It will also incorporate the generic authentication framework from RFC=
<br>
&gt; 2617, without obsoleting or updating that specification&#39;s definiti=
on of<br>
&gt; the Basic and Digest schemes.<br>
&gt;<br>
&gt; Finally, it will incorporate relevant portions of RFC 2817 (in<br>
&gt; particular, the CONNECT method and advice on the use of Upgrade), so<b=
r>
&gt; that that specification can be moved to Historic status.<br>
&gt;<br>
&gt; In doing so, it should consider:<br>
&gt; * Implementer experience<br>
&gt; * Demonstrated use of HTTP<br>
&gt; * Impact on existing implementations and deployments<br>
&gt;<br>
&gt; HTTP/2.0<br>
&gt; --------<br>
&gt;<br>
&gt; There is emerging implementation experience and interest in a protocol=
 that<br>
&gt; retains the semantics of HTTP without the legacy of HTTP/1.x message<b=
r>
&gt; framing and syntax, which have been identified as hampering performanc=
e and<br>
&gt; encouraging misuse of the underlying transport.<br>
&gt;<br>
&gt; The Working Group will produce a specification of a new expression of =
HTTP&#39;s<br>
&gt; current semantics in ordered, bi-directional streams. As with HTTP/1.x=
,<br>
&gt; the primary target transport is TCP, but it should be possible to use<=
br>
&gt; other transports.<br>
&gt;<br>
&gt; Work will begin using XXX as a starting point; all proposals are to be=
 expressed<br>
&gt; in terms of changes to the that document.<br>
<br>
I just think I&#39;ll throw a spanner in the general direction of the works=
<br>
here....<br>
<br>
How realistic is it to expect the HTTPbis 1.1 draft documents fill that<br>
role? At least we can guarantee that modifications to adjust them for<br>
2.0 specifics will not loose or add any features unintentionally that<br>
could affect HTTP/1.1 compatibility.<br>
<br>
<br>
&gt;<br>
&gt; It is expected that HTTP/2.0 will:<br>
&gt; * Substantially and measurably improve end-user perceived latency in m=
ost<br>
&gt; =A0 =A0cases, over HTTP/1.1 using TCP.<br>
<br>
&quot;measureably ... perceived&quot; does not stack up.<br>
Surely we can aim for actual measurable efficiency rather than just<br>
perceived.<br>
<br>
Possibly also improvement over *optimized* 1.1 would be a good aim.<br>
<br>
&gt; * Not require multiple connections to a server to enable parallelism.<=
br>
+1.<br>
<br>
&gt; * Require no more configuration or tuning than current HTTP deployment=
s;<br>
&gt; =A0 =A0 preferably, less.<br>
<br>
What do you means by this?<br>
<br>
&gt; * Retain the semantics of HTTP/1.1, leveraging existing documentation =
(see<br>
&gt; =A0 =A0above), including (but not limited to) HTTP methods, status cod=
es, URIs, and<br>
&gt; =A0 =A0where appropriate, header fields.<br>
<br>
see above regarding &quot;XXX as a starting point&quot;.<br>
<br>
&gt; * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in<b=
r>
&gt; =A0 =A0intermediaries (both 2-&gt;1 and 1-&gt;2).<br>
&gt; * Clearly identify any new extensibility points and policy for their<b=
r>
&gt; =A0 =A0appropriate use.<br>
<br>
+1.<br>
<br>
&gt;<br>
&gt; The resulting specification(s) are expected to be meet these goals for=
 common<br>
&gt; existing deployments of HTTP; in particular, Web browsing (desktop and=
<br>
&gt; mobile), Web serving (at a variety of scales), and intermediation (by =
proxies,<br>
&gt; corporate firewalls, &quot;reverse&quot; proxies and Content Delivery =
Networks).<br>
&gt;<br>
&gt; Note that this does not include uses of HTTP where non-specified behav=
iours<br>
&gt; are relied upon (e.g., connection state such as timeouts or client aff=
inity,<br>
&gt; and &quot;interception&quot; proxies); these uses may or may not be en=
abled by the final<br>
&gt; product.<br>
&gt;<br>
&gt; Explicitly out-of-scope items include:<br>
&gt; * Specifying the use of alternate transport protocols. Note that it<br=
>
&gt; =A0 =A0is expected that the Working Group will define how the protocol=
 is used<br>
&gt; =A0 =A0with the TLS protocol.<br>
&gt; * Specifying new semantics for HTTP (whether specific to HTTP/2 or not=
).<br>
&gt; =A0 =A0However, the Working Group may request a re-charter to start wo=
rk on such<br>
&gt; =A0 =A0items (during or after work on HTTP/2.0), provided there is con=
sensus to<br>
&gt; =A0 =A0do so, and it does not interfere with work on the &quot;core&qu=
ot; (both HTTP/1.x and<br>
&gt; =A0 =A0HTTP/2.0).<br>
<br>
+1. Although I predict that having multiplexing on the table will bring<br>
up the need for new hop-by-hop features on 2.0 connections. Specifically<br=
>
flow control features.<br>
<br>
Amos<br>
<br>
<br>
</div></div></blockquote></div><br></div>
</div></div></div></blockquote></div>
</blockquote></div><br>

--f46d04071785d7ccbb04c6184664--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 21:36:39 2012
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 72CFB11E80C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:36:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.475
X-Spam-Level: 
X-Spam-Status: No, score=-9.475 tagged_above=-999 required=5 tests=[AWL=-0.099, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, 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 A2YVkVTQbFhK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:36:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1846611E80D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 21:36: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 1Sw4Ab-0005A4-Cg for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 04:34:57 +0000
Resent-Date: Tue, 31 Jul 2012 04:34:57 +0000
Resent-Message-Id: <E1Sw4Ab-0005A4-Cg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw4AM-00059E-RF for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 04:34:42 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw4AK-0005vL-BR for ietf-http-wg@w3.org; Tue, 31 Jul 2012 04:34:42 +0000
Received: by lahg1 with SMTP id g1so3731523lah.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 21:34:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=/i3wzlLGtneKHGswxM+QIiC+wzwoW5l1vimbZ6DuKxI=; b=oIuHJ5Pb8PlkxDI+OZw3aBBzddBpK6zNkBcJEc0PyvMkHdUBfdBSGV1y3BEbuBaAfA PIaIJByj8cY/n1ttyxak7gaxia3R+PnkdC/jgQNJ6CIlFkfFhnkDZPulBoyrCTYfmlQH Fb/v7ugkdtGyFxww1NA+0gnODrJmuTbuyURK6IdZJ8RrloxB5/iCvnvrzCRD1iItGqPd 7woPRvmrBvANuB+H03l3upPqMXqbbGNjUm5v8B+OqItF9HXwZh8MWFUYjYwlzCIAoIeD mj7lnGtcYmN+aaIq+4KQ1qCt5De90EJ18bgKCLAq8MV8kghymQed9BIgY69OcG3plD96 ZkAA==
MIME-Version: 1.0
Received: by 10.152.48.37 with SMTP id i5mr13472824lan.36.1343709253294; Mon, 30 Jul 2012 21:34:13 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 30 Jul 2012 21:34:13 -0700 (PDT)
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Mon, 30 Jul 2012 21:34:13 -0700
Message-ID: <CABaLYCvsAPy9FTRp+3cWEH_ssZ5KNp+=a3yaH4SFN4YFts=MUw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: multipart/alternative; boundary=bcaec5523980b95b0c04c618b08e
X-Gm-Message-State: ALoCoQnV0DDwC+50NnR0lRpEAT7Zfwt8RfNcd/6rx2dvDzpE2XgwADjQCyC3/byk4ICuAmjAXN0h
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Sw4AK-0005vL-BR f8bd6dc58b3ccf49f95afc709181defc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CABaLYCvsAPy9FTRp+3cWEH_ssZ5KNp+=a3yaH4SFN4YFts=MUw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14842
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>

--bcaec5523980b95b0c04c618b08e
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Henrik and team -

Awesome paper!

One thing I notice is that your test pages did not use many resources.  (3
for the dummy web page and 11 for the cnn page).  As you know (
http://httparchive.org/trends.php) pages today tend to have ~80 resources
per page.  Its the large-resource pages where HTTP slows down, as it can
only fetch 6 at a time (2 if you stick to the spec).   It would be
interesting to load up a more modern page, like a facebook.com wall page,
with dozens of images and resources to really exercise the multiplexing.

The biggest conclusion I read from this is that SSL is hard to make fast
(and also very true!) :-)  I'm glad you benchmarked with Chromium because
it uses SSL FalseStart to reduce a round trip.  I'm curious if you did
anything for certificate validation in this test?  It looks like you're
generally seeing a 2RTT overhead of SSL in your tests, which is indicative
of the SSL cold-start case.  Can you confirm you wiped the session-ID cache
between runs?  It's also indicative of not really exercising the
multiplexing, where the SSL overhead gets mitigated as HTTP slows down with
6-at-a-time round trips.

Mike


On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

>  Dear All,****
>
> ** **
>
> We remain committed to the HTTP/2.0 standards process and look forward to
> seeing many of you this week at the IETF meeting in Vancouver to continue
> the discussion.  In the spirit of open discussion, we wanted to share som=
e
> observations in advance of the meeting and share the latest progress from
> prototyping and testing. ****
>
> ** **
>
> There are currently three different proposals that the group is working
> through:****
>
> ** **
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),****
>
>    * HTTP Speed+Mobility (
> http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),****
>
>    * Network-Friendly HTTP Upgrade (
> http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly). ****
>
> ** **
>
> The good news is that everyone involved wants to make the Web faster, mor=
e
> scalable, more secure, and more mobile-friendly, and each proposal has
> benefits in different areas that the discussion can choose from.****
>
> ** **
>
> --- A Genuinely Faster Web ---****
>
> ** **
>
> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =93clean slate=94 approach to improving HTTP.****
>
> ** **
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a controlled
> tested study. The test uses publically available software run with mostly
> default configurations while applying all the currently available
> optimizations to HTTP/1.1. You can find a preliminary report on the test
> results here: http://research.microsoft.com/apps/pubs/?id=3D170059. The
> results mirror other data (
> http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate
> mixed results with SPDY performance.****
>
> ** **
>
> Our results indicate almost equal performance between SPDY and HTTP/1.1
> when one applies all the known optimizations to HTTP/1.1. SPDY=92s
> performance improvements are not consistent and significant. We will
> continue our testing, and we welcome others to publish their results so
> that HTTP/2.0 can choose the best changes and deliver the best possible
> performance and scalability improvements compared to HTTP/1.1.****
>
> ** **
>
> ** **
>
> --- Taking the Best from Each ---****
>
> ** **
>
> Speed is one of several areas of improvement. Currently, there=92s no cle=
ar
> consensus that any one of the proposals is the clear choice or even
> starting point for HTTP/2.0 (based on our reading the Expressions of
> Interest and discussions on this mailing list. A good example of this is
> the vigorous discussion around mandating TLS encryption (
> http://tools.ietf.org/html/rfc5246) for HTTP/2.0. ****
>
> ** **
>
> We think a good approach for HTTP/2.0 is to take the best solution for
> each of these areas from each of the proposals.  This approach helps us
> focus the discussion for each area of the protocol. Of course, this
> approach would still allow the standard to benefit from the extensive
> knowledge gained from implementing existing proposals.  ****
>
> ** **
>
> We believe that the group can converge on consensus in the following
> areas, based on our reading of the Expressions of Interest, by starting
> from the different proposals.****
>
> ** **
>
> ------------------|------------------****
>
> Area              | Opinion that ****
>
>                   | seems to prevail****
>
> ------------------|------------------****
>
> 1. Compression    | SPDY or Friendly****
>
> ------------------|------------------****
>
> 2. Multiplexing   | SPDY****
>
> ------------------|------------------****
>
> 3. Mandatory TLS  | Speed+Mobility****
>
> ------------------|------------------****
>
> 4. Negotiation    | Friendly or****
>
>                   |   Speed+Mobility****
>
> ------------------|------------------****
>
> 5. Client Pull/   | Speed+Mobility****
>
>       Server Push | ****
>
> ------------------|------------------****
>
> 6. Flow Control   | SPDY****
>
> ------------------|------------------****
>
> 7. WebSockets     | Speed+Mobility****
>
> ------------------|------------------****
>
> ** **
>
> Below, we discuss each HTTP/2.0 element and the current consensus that
> appears to be forming within the Working Group.****
>
> ** **
>
> 1. Compression****
>
> ** **
>
> Compression is simple to conceptualize and implement, and it is important=
.
> Proxies and other boxes in the middle on today=92s Web often face problem=
s
> with it. The HTTP/2.0 discussion has been rich but with little consensus.=
*
> ***
>
> ****
>
> Though some studies suggest that SPDY=92s header compression approach sho=
ws
> promise, other studies show this compression to be prohibitively onerous
> for intermediary devices. More information here would help us make sure
> we=92re making the Web faster and better. ****
>
> ** **
>
> Also, an entire segment of implementers are not interested in compression
> as defined in SPDY.  That=92s a challenge because the latest strawman for=
 the
> working group charter (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html)
> states that the =93resulting specification(s) are expected to be meet the=
se
> goals for common existing deployments of HTTP; in particular, =85
> intermediation (by proxies, corporate firewalls, =91reverse=92 proxies an=
d
> Content Delivery Networks).=94 ****
>
> ** **
>
> We think the SPDY or Friendly proposals is a good starting point for
> progress.****
>
> ** **
>
> 2. Multiplexing****
>
> ** **
>
> All three proposals define similar multiplexing models. We haven=92t had
> substantial discussion on the differences. This lack of discussion sugges=
ts
> that there is rough consensus around the SPDY framing for multiplexing. *=
*
> **
>
> ** **
>
> We think that the SPDY proposal is a good starting point here and best
> captures the current consensus.****
>
> ** **
>
> 3. Mandating Always On TLS ****
>
> ** **
>
> There is definitely no consensus to mandate TLS for all Web communication=
,
> but some major implementers have stated they will not to adopt HTTP/2.0
> unless the working group supports a =93TLS is mandatory=94 position. A ve=
ry
> preliminary note from the chair (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html)
> states that there is a lack of consensus for mandating TLS. ****
>
> ** **
>
> We think the Speed+Mobility proposal is a good starting point here as it
> provides options to turn TLS on (or not).****
>
> ** **
>
> 4. Negotiation****
>
> ** **
>
> Only two of the proposals actually discuss how different endpoints agree
> to use HTTP/2.0. ****
>
> ** **
>
> (The SPDY proposal does not specify a negotiation method. Current
> prototype implementations use the TLS-NPN (
> http://tools.ietf.org/html/draft-agl-tls-nextprotoneg) extension.  While
> the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some parties
> have expressed non-support for this method as well.) ****
>
> ** **
>
> We think either of the Friendly or Speed+Mobility proposals is a good
> starting point because they are the only ones that have any language in
> this respect.  ****
>
> ** **
>
> 5. Client Pull and Server Push****
>
> ** **
>
> There are tradeoffs between a server push model and a client pull model.
> The main question is how to improve performance while respecting bandwidt=
h
> and client caches. ****
>
> ** **
>
> Server Push has not had the same level of implementation and
> experimentation as the other features in SPDY. More information here woul=
d
> help us make sure we=92re making the Web faster and better. ****
>
> ** **
>
> We think the Speed+Mobility proposal is a good starting point here,
> suggesting that this issue may be better served in a separate document
> rather than tied to the core HTTP/2.0 protocol. ****
>
> ** **
>
> 6. Flow Control****
>
> ** **
>
> There has only been limited discussion in the HTTPbis working group on
> flow control. Flow Control offers a lot of opportunity make the Web faste=
r
> as well as to break it; for example, implementations need to figure out h=
ow
> to optimize for opposing goals (like throughput and responsiveness) at th=
e
> same time. ****
>
> ** **
>
> The current version of the SPDY proposal specifies a flow control message
> with many settings are that are not well-defined. The Speed+Mobilty
> proposal has a simplified flow control model based on certain assumptions=
.
> More experimentation and information here would help us make sure we=92re
> making the Web faster and better. ****
>
> ** **
>
> We think that the SPDY proposal is a good starting point here. ****
>
> ** **
>
> 7. WebSockets****
>
> ** **
>
> We see support  for aligning HTTP/2.0 with a future version of WebSockets=
,
> as suggested in the introduction of the Speed+Mobility proposal.****
>
> ** **
>
> ** **
>
> --- Moving forward ---****
>
> ** **
>
> We=92re excited for the Web to get faster, more stable, and more capable,
> and HTTP/2.0 is an important part of that. ****
>
> ** **
>
> We believe that bringing together the best elements of the current SPDY,
> HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the
> best approach to make that happen. ****
>
> ** **
>
> Based on the discussions on the HTTPbis mailing list, we=92ve suggested
> which proposals make the most sense to start from for each of the areas
> that HTTP/2.0 is addressing. Each of these areas needs more prototyping a=
nd
> experimentation and data. We=92re looking forward to the discussion this =
week.
> ****
>
> ** **
>
> Sincerely,****
>
> ** **
>
> Henrik Frystyk Nielsen****
>
> Principal Architect, Microsoft Open Technologies, Inc.****
>
> ** **
>
> Gabriel Montenegro****
>
> Principal Software Development Engineer, Microsoft Corporation****
>
> ** **
>
> Rob Trace****
>
> Senior Program Manager Lead, Microsoft Corporation****
>
> ** **
>
> Adalberto Foresti****
>
> Senior Program Manager, Microsoft Open Technologies, Inc.****
>
> ** **
>
> ** **
>

--bcaec5523980b95b0c04c618b08e
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Henrik and team -<div><br>Awesome paper!</div><div><br></div><div>One thing=
 I notice is that your test pages did not use many resources. =A0(3 for the=
 dummy web page and 11 for the cnn page). =A0As you know (<a href=3D"http:/=
/httparchive.org/trends.php">http://httparchive.org/trends.php</a>) pages t=
oday tend to have ~80 resources per page. =A0Its the large-resource pages w=
here HTTP slows down, as it can only fetch 6 at a time (2 if you stick to t=
he spec). =A0 It would be interesting to load up a more modern page, like a=
 <a href=3D"http://facebook.com">facebook.com</a> wall page, with dozens of=
 images and resources to really exercise the multiplexing.</div>
<div><br></div><div>The biggest conclusion I read from this is that SSL is =
hard to make fast (and also very true!) :-) =A0I&#39;m glad you benchmarked=
 with Chromium because it uses SSL FalseStart to reduce a round trip. =A0I&=
#39;m curious if you did anything for certificate validation in this test? =
=A0It looks like you&#39;re generally seeing a 2RTT overhead of SSL in your=
 tests, which is indicative of the SSL cold-start case. =A0Can you confirm =
you wiped the session-ID cache between runs? =A0It&#39;s also indicative of=
 not really exercising the multiplexing, where the SSL overhead gets mitiga=
ted as HTTP slows down with 6-at-a-time round trips.</div>
<div><br>Mike</div><div><br><br><div class=3D"gmail_quote">On Sun, Jul 29, =
2012 at 1:14 PM, Henrik Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:henrikn@microsoft.com" target=3D"_blank">henrikn@microsoft.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p>Dear All,<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.=A0 In the spirit of open discussion, we wanted to share so=
me observations
 in advance of the meeting and share the latest progress from prototyping a=
nd testing.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There are currently three different proposals that the group is working =
through:<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>=A0=A0 * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpb=
is-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis=
-spdy</a>),<u></u><u></u></p>
<p>=A0=A0 * HTTP Speed+Mobility (<a href=3D"http://tools.ietf.org/html/draf=
t-montenegro-httpbis-speed-mobility" target=3D"_blank">http://tools.ietf.or=
g/html/draft-montenegro-httpbis-speed-mobility</a>),<u></u><u></u></p>
<p>=A0=A0 * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ietf.org=
/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank">http://tool=
s.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<u></u><u></=
u></p>

<p><u></u>=A0<u></u></p>
<p>--- A Genuinely Faster Web ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a =93clean slate=94 approach to improving HTTP.<u></u><u></u></=
p>
<p><u></u>=A0<u></u></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations
 while applying all the currently available optimizations to HTTP/1.1. You =
can find a preliminary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY=92s performa=
nce improvements are not consistent and significant. We will continue our t=
esting, and we
 welcome others to publish their results so that HTTP/2.0 can choose the be=
st changes and deliver the best possible performance and scalability improv=
ements compared to HTTP/1.1.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p>--- Taking the Best from Each ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Speed is one of several areas of improvement. Currently, there=92s no cl=
ear consensus that any one of the proposals is the clear choice or even sta=
rting point for HTTP/2.0 (based on our reading the Expressions of Interest =
and discussions
 on this mailing list. A good example of this is the vigorous discussion ar=
ound mandating TLS encryption (<a href=3D"http://tools.ietf.org/html/rfc524=
6" target=3D"_blank">http://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think a good approach for HTTP/2.0 is to take the best solution for e=
ach of these areas from each of the proposals. =A0This approach helps us fo=
cus the discussion for each area of the protocol. Of course, this approach =
would still allow
 the standard to benefit from the extensive knowledge gained from implement=
ing existing proposals.=A0
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We believe that the group can converge on consensus in the following are=
as, based on our reading of the Expressions of Interest, by starting from t=
he different proposals.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">Area=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 | Opinion that
<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0| seems to prevail<u></u><u></u></span>=
</p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">1. Compression=A0=A0=
=A0 | SPDY or Friendly<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">2. Multiplexing=A0=
=A0 | SPDY<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">3. Mandatory TLS=A0 =
| Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">4. Negotiation=A0=A0=
=A0 | Friendly or<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0 Speed+Mobility<u></u><u></u></spa=
n></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">5. Client Pull/=A0=
=A0 | Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0 Serv=
er Push |
<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">6. Flow Control=A0=
=A0 | SPDY<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">7. WebSockets=A0=A0=
=A0=A0 | Speed+Mobility<u></u><u></u></span></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------<u></u><u></u></span></p>
<p><u></u>=A0<u></u></p>
<p>Below, we discuss each HTTP/2.0 element and the current consensus that a=
ppears to be forming within the Working Group.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>1. Compression<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Compression is simple to conceptualize and implement, and it is importan=
t. Proxies and other boxes in the middle on today=92s Web often face proble=
ms with it. The HTTP/2.0 discussion has been rich but with little consensus=
.<u></u><u></u></p>

<p><u></u><u></u></p>
<p>Though some studies suggest that SPDY=92s header compression approach sh=
ows promise, other studies show this compression to be prohibitively onerou=
s for intermediary devices. More information here would help us make sure w=
e=92re making the
 Web faster and better. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Also, an entire segment of implementers are not interested in compressio=
n as defined in SPDY.=A0 That=92s a challenge because the latest strawman f=
or the working group charter (<a href=3D"http://lists.w3.org/Archives/Publi=
c/ietf-http-wg/2012JulSep/0784.html" target=3D"_blank">http://lists.w3.org/=
Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the =93resulting specification(s) are expected to be meet thes=
e goals for common existing deployments of HTTP; in particular, =85 interme=
diation (by proxies, corporate firewalls, =91reverse=92 proxies and Content=
 Delivery Networks).=94
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the SPDY or Friendly proposals is a good starting point for pro=
gress.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>2. Multiplexing<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>All three proposals define similar multiplexing models. We haven=92t had=
 substantial discussion on the differences. This lack of discussion suggest=
s that there is rough consensus around the SPDY framing for multiplexing.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think that the SPDY proposal is a good starting point here and best c=
aptures the current consensus.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>3. Mandating Always On TLS <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There is definitely no consensus to mandate TLS for all Web communicatio=
n, but some major implementers have stated they will not to adopt HTTP/2.0 =
unless the working group supports a =93TLS is mandatory=94 position. A very=
 preliminary note
 from the chair (<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-w=
g/2012JulSep/0601.html" target=3D"_blank">http://lists.w3.org/Archives/Publ=
ic/ietf-http-wg/2012JulSep/0601.html</a>) states that there is a lack of co=
nsensus for mandating TLS.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here as it=
 provides options to turn TLS on (or not).<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>4. Negotiation<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Only two of the proposals actually discuss how different endpoints agree=
 to use HTTP/2.0.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>(The SPDY proposal does not specify a negotiation method. Current protot=
ype implementations use the TLS-NPN (<a href=3D"http://tools.ietf.org/html/=
draft-agl-tls-nextprotoneg" target=3D"_blank">http://tools.ietf.org/html/dr=
aft-agl-tls-nextprotoneg</a>) extension.=A0
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think either of the Friendly or Speed+Mobility proposals is a good st=
arting point because they are the only ones that have any language in this =
respect.=A0
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>5. Client Pull and Server Push<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There are tradeoffs between a server push model and a client pull model.=
 The main question is how to improve performance while respecting bandwidth=
 and client caches.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Server Push has not had the same level of implementation and experimenta=
tion as the other features in SPDY. More information here would help us mak=
e sure we=92re making the Web faster and better.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here, sugg=
esting that this issue may be better served in a separate document rather t=
han tied to the core HTTP/2.0 protocol.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>6. Flow Control<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>There has only been limited discussion in the HTTPbis working group on f=
low control. Flow Control offers a lot of opportunity make the Web faster a=
s well as to break it; for example, implementations need to figure out how =
to optimize
 for opposing goals (like throughput and responsiveness) at the same time. =
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>The current version of the SPDY proposal specifies a flow control messag=
e with many settings are that are not well-defined. The Speed+Mobilty propo=
sal has a simplified flow control model based on certain assumptions. More =
experimentation
 and information here would help us make sure we=92re making the Web faster=
 and better.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We think that the SPDY proposal is a good starting point here.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>7. WebSockets<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We see support=A0 for aligning HTTP/2.0 with a future version of WebSock=
ets, as suggested in the introduction of the Speed+Mobility proposal.<u></u=
><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p>--- Moving forward ---<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We=92re excited for the Web to get faster, more stable, and more capable=
, and HTTP/2.0 is an important part of that.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>We believe that bringing together the best elements of the current SPDY,=
 HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the be=
st approach to make that happen.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Based on the discussions on the HTTPbis mailing list, we=92ve suggested =
which proposals make the most sense to start from for each of the areas tha=
t HTTP/2.0 is addressing. Each of these areas needs more prototyping and ex=
perimentation
 and data. We=92re looking forward to the discussion this week.<u></u><u></=
u></p>
<p><u></u>=A0<u></u></p>
<p>Sincerely,<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Henrik Frystyk Nielsen<u></u><u></u></p>
<p>Principal Architect, Microsoft Open Technologies, Inc.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Gabriel Montenegro<u></u><u></u></p>
<p>Principal Software Development Engineer, Microsoft Corporation<u></u><u>=
</u></p>
<p><u></u>=A0<u></u></p>
<p>Rob Trace<u></u><u></u></p>
<p>Senior Program Manager Lead, Microsoft Corporation<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>Adalberto Foresti<u></u><u></u></p>
<p>Senior Program Manager, Microsoft Open Technologies, Inc.<u></u><u></u><=
/p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
</div>
</div>

</blockquote></div><br></div>

--bcaec5523980b95b0c04c618b08e--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 21:40:37 2012
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 5EFC011E80FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:40:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.773
X-Spam-Level: 
X-Spam-Status: No, score=-9.773 tagged_above=-999 required=5 tests=[AWL=0.203, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 ixUYUVO3mNEw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:40:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7307911E80E2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 21:40:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw4FJ-0000OE-A3 for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 04:39:49 +0000
Resent-Date: Tue, 31 Jul 2012 04:39:49 +0000
Resent-Message-Id: <E1Sw4FJ-0000OE-A3@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw4F7-0000NK-1u for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 04:39:37 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw4F5-0003KJ-CC for ietf-http-wg@w3.org; Tue, 31 Jul 2012 04:39:37 +0000
Received: by lbom4 with SMTP id m4so3845903lbo.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 21:39:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=7NmDLtz7nANUcNGLMV47MJ0XJP9dXbnOBQq6VepJ+ik=; b=kLen22xyeV761PBnJuTJQwvQ758gWVwv0nCij6XfEs8+17aKalANRknwCTsPmvCgzH QGgl+jchqEh4QLaty+BNVOdkSE2qs1BajkHUdPbqnEq1BQst0/wT9C9m+rUo2zesHdAM yabNuJxzZ9vo0P08QvuyQ+XsTbzFENveCD3Dl1jVtnQQfU6grnSeAsrHToY2/fCn3iDH LlehGX8ddOYdmBaAMhGv43Up0qw8zmMYkMFnNPnQIxw6kLyGqUZUmy07xUYC0C8Toqd+ xK6bF+YOv8u2ozfBh17pthjxZZV3Tn2aOTYZqqpv4Hg1rPkMY3bMGPsmTByxFyOvKYua vNlw==
MIME-Version: 1.0
Received: by 10.152.104.77 with SMTP id gc13mr13512464lab.31.1343709548258; Mon, 30 Jul 2012 21:39:08 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 30 Jul 2012 21:39:08 -0700 (PDT)
In-Reply-To: <op.wh8fkc0liw9drz@manganese.bredbandsbolaget.se>
References: <CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com> <em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist> <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com> <op.wh8fkc0liw9drz@manganese.bredbandsbolaget.se>
Date: Mon, 30 Jul 2012 21:39:08 -0700
Message-ID: <CABaLYCshbR6OZPSaDe_GQ=fSRxM3soBrP+1MZsHv4XjH7zQ=Hg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04083adb4e255804c618c245
X-Gm-Message-State: ALoCoQkFWxkJNvNHbg2eqpCxxZQsHGp7OLdwW3mU7mPWNQwBY2PsA8cBfO1V/UMfTWLqDqKmBS6n
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sw4F5-0003KJ-CC e944544ae813889e2426c3204a53f2be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/CABaLYCshbR6OZPSaDe_GQ=fSRxM3soBrP+1MZsHv4XjH7zQ=Hg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14843
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>

--f46d04083adb4e255804c618c245
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jul 29, 2012 at 4:58 PM, Martin Nilsson <nilsson@opera.com> wrote:

> On Mon, 16 Jul 2012 16:19:36 +0200, Mike Belshe <mike@belshe.com> wrote:
>
>  Making it a client decision kills the feature entirely.  We
>> need to either support push or not support it.  But seriously, who are
>> these clients which will reject the pushes?  You can't push random data.
>>  You can only push in-domain data.  If the browser doesn't need it, you
>> only hurt yourself.  Seriously, why would any browser block the push?
>>
>>
> I'll disagree with you from two different directions...
>
> First of all I think it would be useful if a client could set up a
> subscription on a resource or a set of resources. I guess you could
> associate the resources with the subscription request, but the duration
> would be different than from a normal request (e.g. for the duration of the
> connection). This is obviously outside of the scope of HTTP semantics, but
> it would be nice if the infrastructure was in place on a binary level (e.g.
> current SPDY/3 can be twisted to support it).
>

I agree this could be useful :-)  But this isn't what SPDY's push does
right now, and that is what I was commenting on.


> Secondly, if I disable javascript and images, override CSS and turn on
> on-demand-plugins there are very few relevant resources the server can push
> (frame documents and favicons). The issue is for the server to determine
> what types of resources are relevant for the client. If the purpose is to
> limit bandwidth (which is likely if e.g. images are turned off), rejecting
> the incoming pushed content is pointless, as most resources are less than
> 64K and thus fully on the wire already, with default SPDY initial window.
> Some sort of actually working Accept-header system could be one way to go.


Fair enough, you've presented an argument for who doesn't want push.  But
this is a tiny tiny fraction of people.  I would not sacrifice billions of
internet users that do want images and JS for the needs of a very small
few.  The very small few won't be broken by using push - they'll still get
their pages just fine and can RST the streams they don't want.

I think we should build "fast by default".

mike


>
>
> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>

--f46d04083adb4e255804c618c245
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Jul 29, 2012 at 4:58 PM, Martin =
Nilsson <span dir=3D"ltr">&lt;<a href=3D"mailto:nilsson@opera.com" target=
=3D"_blank">nilsson@opera.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
<div class=3D"im">On Mon, 16 Jul 2012 16:19:36 +0200, Mike Belshe &lt;<a hr=
ef=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt; wro=
te:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Making it a client decision kills the feature entirely. =A0We<br>
need to either support push or not support it. =A0But seriously, who are<br=
>
these clients which will reject the pushes? =A0You can&#39;t push random da=
ta.<br>
=A0You can only push in-domain data. =A0If the browser doesn&#39;t need it,=
 you<br>
only hurt yourself. =A0Seriously, why would any browser block the push?<br>
<br>
</blockquote>
<br></div>
I&#39;ll disagree with you from two different directions...<br>
<br>
First of all I think it would be useful if a client could set up a subscrip=
tion on a resource or a set of resources. I guess you could associate the r=
esources with the subscription request, but the duration would be different=
 than from a normal request (e.g. for the duration of the connection). This=
 is obviously outside of the scope of HTTP semantics, but it would be nice =
if the infrastructure was in place on a binary level (e.g. current SPDY/3 c=
an be twisted to support it).<br>
</blockquote><div><br></div><div>I agree this could be useful :-) =A0But th=
is isn&#39;t what SPDY&#39;s push does right now, and that is what I was co=
mmenting on.</div><div><br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Secondly, if I disable javascript and images, override CSS and turn on on-d=
emand-plugins there are very few relevant resources the server can push (fr=
ame documents and favicons). The issue is for the server to determine what =
types of resources are relevant for the client. If the purpose is to limit =
bandwidth (which is likely if e.g. images are turned off), rejecting the in=
coming pushed content is pointless, as most resources are less than 64K and=
 thus fully on the wire already, with default SPDY initial window. Some sor=
t of actually working Accept-header system could be one way to go.</blockqu=
ote>
<div><br>Fair enough, you&#39;ve presented an argument for who doesn&#39;t =
want push. =A0But this is a tiny tiny fraction of people. =A0I would not sa=
crifice billions of internet users that do want images and JS for the needs=
 of a very small few. =A0The very small few won&#39;t be broken by using pu=
sh - they&#39;ll still get their pages just fine and can RST the streams th=
ey don&#39;t want.</div>
<div><br></div><div>I think we should build &quot;fast by default&quot;.</d=
iv><div><br></div><div>mike</div><div>=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
/Martin Nilsson<br>
<br>
-- <br>
Using Opera&#39;s revolutionary email client: <a href=3D"http://www.opera.c=
om/mail/" target=3D"_blank">http://www.opera.com/mail/</a><br>
<br>
</font></span></blockquote></div><br>

--f46d04083adb4e255804c618c245--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 21:44:43 2012
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 B0EBE11E8129 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:44:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.32
X-Spam-Level: 
X-Spam-Status: No, score=-9.32 tagged_above=-999 required=5 tests=[AWL=-0.259, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_22=0.6, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 FVV7SB6imShn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 21:44:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1FDF211E8128 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 21:44:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw4JM-0001tl-0Z for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 04:44:00 +0000
Resent-Date: Tue, 31 Jul 2012 04:44:00 +0000
Resent-Message-Id: <E1Sw4JM-0001tl-0Z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw4J9-0001sU-Pb for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 04:43:47 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sw4J8-0003Rg-3c for ietf-http-wg@w3.org; Tue, 31 Jul 2012 04:43:47 +0000
Received: by lbom4 with SMTP id m4so3847021lbo.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 21:43:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=qJTRfUG1adO2SxMdZ7XvH1bPOM+paku+xI0QhXzNkXg=; b=ddnUkBaIjyzWLkKh3+QjN/UXmNYOonjuIijU1dVrudbKQrXdmTtuww8b6+A62HyM85 6zbeUjxYnx/ap+3SAeURr/H+QiLgm5aiisguh6HK3VdoouxlSY4cTScCbQM7t8TaR1ZS 70COdJrZGqAIu5ZgGSTQ/oHkaYzoVIorV7SuRUqSy/VF46hY339eYTbHLMXE8e/f6dz8 EfTKHSYOGjynbsBLkymnWcjmGCwDzZoGtp/Vd/YWr9DoJ1T1nhVu3S6SwOPCQ+OkHoKq nr8QI60WUT8nEhK1Qej50RNWdKCfA5xkjxNLlxdn1Pmihnpq5+OdzZbjZnYvNcZL63Zq w5Mw==
MIME-Version: 1.0
Received: by 10.112.46.9 with SMTP id r9mr6153961lbm.81.1343709799276; Mon, 30 Jul 2012 21:43:19 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 30 Jul 2012 21:43:19 -0700 (PDT)
In-Reply-To: <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com>
Date: Mon, 30 Jul 2012 21:43:19 -0700
Message-ID: <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Tim Bray <tbray@textuality.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401236f4461c204c618d1e3
X-Gm-Message-State: ALoCoQlr+Cqiuk5iaY2z8r9NnKQvkeLlj4BhzpHHDUg5hABuU8Z5npAYrKmnoWCj/5rdLODJ0VyC
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sw4J8-0003Rg-3c 3be76274247c0c6f82ee503b02ce4fb7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14844
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>

--f46d0401236f4461c204c618d1e3
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray <tbray@textuality.com> wrote:

> Fair point; I should. -T
>

Yeah, belshe.com should too :-)

Part of the reason it is hard is because we haven't built the tools we
need.  Why haven't we built better tools?  Because its too easy to opt out.
 Every day, millions of site operators like bray and belshe sacrifice the
needs of the Internet for their own general laziness.

If the net were secure by default and offered no option to amateur blokes
like us, we'd soon have a one-liner command line mechanism to
request/sign/issue/install our server certs and we'dl all be laughing about
how we used to say it was "hard".

Mike





>
> On Wed, Jul 18, 2012 at 5:13 PM, "Martin J. D=FCrst"
> <duerst@it.aoyama.ac.jp> wrote:
> > Hello Tim,
> >
> > On 2012/07/19 0:09, Tim Bray wrote:
> >>
> >> On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear<lear@cisco.com>  wrote:
> >
> >
> >>> This is a red herring.  The real argument is around the ability of al=
l
> >>> web
> >>> servers to get certificates
> >>
> >>
> >> This pattern keeps coming up.
> >> A: =93Privacy is good=94
> >> B: =93No, because the technology is currently too expensive/unreliable=
=94
> >>
> >> Uh... privacy is good.  -T
> >
> >
> > Okay, Tim, here's a challenge for you then:
> >
> > If privacy is important (I'm with you here, of course), and if privacy
> > requires TLS (like many others on this list, I have my strong doubts, b=
ut
> > you seem to think so), how come that your own site
> > http://www.tbray.org/ongoing/ still uses http rather than https?
> >
> > Is the privacy of the readers of Ongoing just less important than the
> > privacy of user of the average Web site? Or is it that you just haven't
> > realized that was still on http?
> >
> > Why don't you actually go to the trouble of moving Ongoing to TLS, with=
 a
> > chained (i.e. not self-signed) certificate, and tell us how many workin=
g
> > hours/days and how much money it took you to set it up. This may make
> for an
> > interesting learning experience, and an interesting blog entry.
> >
> > [This challenge is of course also for all the other people who advocate
> to
> > tie in mandatory TLS with HTTP 2.0; I just picked Tim because I know hi=
s
> > site and I know he likes such challenges :-).]
> >
> > Regards,   Martin.
> >
> > P.S.: I have my own server for my lab (way less slick than Ongoing, I
> have
> > to admit), and I have considered using https: at least about once every
> > year, probably more. It would be the right thing to do. But the amount =
of
> > time it would require from me, to set it up and to make sure it's set u=
p
> > correctly, is just too much.
>
>

--f46d0401236f4461c204c618d1e3
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Jul 18, 2012 at 8:23 PM, Tim Bra=
y <span dir=3D"ltr">&lt;<a href=3D"mailto:tbray@textuality.com" target=3D"_=
blank">tbray@textuality.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
Fair point; I should. -T<br></blockquote><div><br></div><div>Yeah, <a href=
=3D"http://belshe.com">belshe.com</a> should too :-)<br><br>Part of the rea=
son it is hard is because we haven&#39;t built the tools we need. =A0Why ha=
ven&#39;t we built better tools? =A0Because its too easy to opt out. =A0Eve=
ry day, millions of site operators like bray and belshe sacrifice the needs=
 of the Internet for their own general laziness.=A0</div>
<div><br></div><div>If the net were secure by default and offered no option=
 to amateur blokes like us, we&#39;d soon have a one-liner command line mec=
hanism to request/sign/issue/install our server certs and we&#39;dl all be =
laughing about how we used to say it was &quot;hard&quot;.</div>
<div><br></div><div>Mike</div><div><br><br><br>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"im HOEnZb"><br>
On Wed, Jul 18, 2012 at 5:13 PM, &quot;Martin J. D=FCrst&quot;<br>
&lt;<a href=3D"mailto:duerst@it.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt=
; wrote:<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">&gt; Hello Tim,<br>
&gt;<br>
&gt; On 2012/07/19 0:09, Tim Bray wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jul 18, 2012 at 6:56 AM, Eliot Lear&lt;<a href=3D"mailto:l=
ear@cisco.com">lear@cisco.com</a>&gt; =A0wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt;&gt; This is a red herring. =A0The real argument is around the abil=
ity of all<br>
&gt;&gt;&gt; web<br>
&gt;&gt;&gt; servers to get certificates<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; This pattern keeps coming up.<br>
&gt;&gt; A: =93Privacy is good=94<br>
&gt;&gt; B: =93No, because the technology is currently too expensive/unreli=
able=94<br>
&gt;&gt;<br>
&gt;&gt; Uh... privacy is good. =A0-T<br>
&gt;<br>
&gt;<br>
&gt; Okay, Tim, here&#39;s a challenge for you then:<br>
&gt;<br>
&gt; If privacy is important (I&#39;m with you here, of course), and if pri=
vacy<br>
&gt; requires TLS (like many others on this list, I have my strong doubts, =
but<br>
&gt; you seem to think so), how come that your own site<br>
&gt; <a href=3D"http://www.tbray.org/ongoing/" target=3D"_blank">http://www=
.tbray.org/ongoing/</a> still uses http rather than https?<br>
&gt;<br>
&gt; Is the privacy of the readers of Ongoing just less important than the<=
br>
&gt; privacy of user of the average Web site? Or is it that you just haven&=
#39;t<br>
&gt; realized that was still on http?<br>
&gt;<br>
&gt; Why don&#39;t you actually go to the trouble of moving Ongoing to TLS,=
 with a<br>
&gt; chained (i.e. not self-signed) certificate, and tell us how many worki=
ng<br>
&gt; hours/days and how much money it took you to set it up. This may make =
for an<br>
&gt; interesting learning experience, and an interesting blog entry.<br>
&gt;<br>
&gt; [This challenge is of course also for all the other people who advocat=
e to<br>
&gt; tie in mandatory TLS with HTTP 2.0; I just picked Tim because I know h=
is<br>
&gt; site and I know he likes such challenges :-).]<br>
&gt;<br>
&gt; Regards, =A0 Martin.<br>
&gt;<br>
&gt; P.S.: I have my own server for my lab (way less slick than Ongoing, I =
have<br>
&gt; to admit), and I have considered using https: at least about once ever=
y<br>
&gt; year, probably more. It would be the right thing to do. But the amount=
 of<br>
&gt; time it would require from me, to set it up and to make sure it&#39;s =
set up<br>
&gt; correctly, is just too much.<br>
<br>
</div></div></blockquote></div><br>

--f46d0401236f4461c204c618d1e3--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 23:31:48 2012
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 6703F21F85BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 23:31:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.839
X-Spam-Level: 
X-Spam-Status: No, score=-9.839 tagged_above=-999 required=5 tests=[AWL=-0.156, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_22=0.6, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 mWRCCBaiowpY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 23:31:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4F12D21F859B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 23:31:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw5y0-0001Uv-Eh for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 06:30:04 +0000
Resent-Date: Tue, 31 Jul 2012 06:30:04 +0000
Resent-Message-Id: <E1Sw5y0-0001Uv-Eh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sw5xd-0007wA-8q for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 06:29:41 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sw5xZ-00078z-04 for ietf-http-wg@w3.org; Tue, 31 Jul 2012 06:29:39 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6V6SWqw024135; Tue, 31 Jul 2012 09:28:32 +0300
X-CheckPoint: {50177897-1-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Tue, 31 Jul 2012 09:28:31 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Mike Belshe <mike@belshe.com>
CC: Tim Bray <tbray@textuality.com>, =?Windows-1252?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 31 Jul 2012 09:28:27 +0300
Thread-Topic: Privacy and its costs (was: Re: Mandatory encryption)
Thread-Index: Ac1u5bQmWlQF/0Y7SDaJuhSpKx50Aw==
Message-ID: <DDE44BEF-501E-4353-BB41-9187DA73877C@checkpoint.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
In-Reply-To: <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: multipart/alternative; boundary="_000_DDE44BEF501E4353BB419187DA73877Ccheckpointcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sw5xZ-00078z-04 55ea17c195796269171c78b8f294d480
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/DDE44BEF-501E-4353-BB41-9187DA73877C@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14845
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>

--_000_DDE44BEF501E4353BB419187DA73877Ccheckpointcom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


On Jul 30, 2012, at 9:43 PM, Mike Belshe wrote:



On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray <tbray@textuality.com<mailto:tbra=
y@textuality.com>> wrote:
Fair point; I should. -T

Yeah, belshe.com<http://belshe.com/> should too :-)

Part of the reason it is hard is because we haven't built the tools we need=
.  Why haven't we built better tools?  Because its too easy to opt out.  Ev=
ery day, millions of site operators like bray and belshe sacrifice the need=
s of the Internet for their own general laziness.

If the net were secure by default and offered no option to amateur blokes l=
ike us, we'd soon have a one-liner command line mechanism to request/sign/i=
ssue/install our server certs and we'dl all be laughing about how we used t=
o say it was "hard".

Disagree. belshe.com<http://belshe.com> is just somebody's blog. It's not f=
inancial information, there are no privacy issues, no medical data, no pote=
ntially embarrassing association with sexual minorities. Why would you want=
 to spend any resources securing that?

And securing that has costs. There's extra CPU (although I guess the smalle=
st server you can buy can handle your site both with and without SSL), ther=
e's the cost of certificates, there's the administrative effort in getting =
and deploying the certificates, and there's the loss of caching ability all=
 over the Internet.

Sure, my bank, my HMO and mail.google.com<http://mail.google.com> need to h=
ave encryption. Yes, as long as HTTP without S exists, browsers can be tric=
ked into doing this unencrypted. But why should you and Tim bear the cost o=
f securing those banking sites? Let them use HSTS or some future DNS-based =
strict transport security.

Yoav



--_000_DDE44BEF501E4353BB419187DA73877Ccheckpointcom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 30, 2=
012, at 9:43 PM, Mike Belshe wrote:</div><br class=3D"Apple-interchange-new=
line"><blockquote type=3D"cite"><br><br><div class=3D"gmail_quote">On Wed, =
Jul 18, 2012 at 8:23 PM, Tim Bray <span dir=3D"ltr">&lt;<a href=3D"mailto:t=
bray@textuality.com" target=3D"_blank">tbray@textuality.com</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
Fair point; I should. -T<br></blockquote><div><br></div><div>Yeah, <a href=
=3D"http://belshe.com/">belshe.com</a> should too :-)<br><br>Part of the re=
ason it is hard is because we haven't built the tools we need. &nbsp;Why ha=
ven't we built better tools? &nbsp;Because its too easy to opt out. &nbsp;E=
very day, millions of site operators like bray and belshe sacrifice the nee=
ds of the Internet for their own general laziness.&nbsp;</div>
<div><br></div><div>If the net were secure by default and offered no option=
 to amateur blokes like us, we'd soon have a one-liner command line mechani=
sm to request/sign/issue/install our server certs and we'dl all be laughing=
 about how we used to say it was "hard".</div></div></blockquote><br></div>=
<div>Disagree. <a href=3D"http://belshe.com">belshe.com</a> is just somebod=
y's blog. It's not financial information, there are no privacy issues, no m=
edical data, no potentially embarrassing association with sexual minorities=
. Why would you want to spend any resources securing that?</div><div><br></=
div><div>And securing that has costs. There's extra CPU (although I guess t=
he smallest server you can buy can handle your site both with and without S=
SL), there's the cost of certificates, there's the administrative effort in=
 getting and deploying the certificates, and there's the loss of caching ab=
ility all over the Internet.</div><div><br></div><div>Sure, my bank, my HMO=
 and <a href=3D"http://mail.google.com">mail.google.com</a> need to have en=
cryption. Yes, as long as HTTP without S exists, browsers can be tricked in=
to doing this unencrypted. But why should you and Tim bear the cost of secu=
ring those banking sites? Let them use HSTS or some future DNS-based strict=
 transport security.</div><div><br></div><div>Yoav</div><div><br></div><br>=
</body></html>=

--_000_DDE44BEF501E4353BB419187DA73877Ccheckpointcom_--


From ietf-http-wg-request@listhub.w3.org  Mon Jul 30 23:58:00 2012
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 1B20011E80E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 23:58:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.448
X-Spam-Level: 
X-Spam-Status: No, score=-8.448 tagged_above=-999 required=5 tests=[AWL=1.528, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 7Hrae9gHW4tp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Jul 2012 23:57:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2173C21F85D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Jul 2012 23:57:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw6Nl-0003zD-6Y for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 06:56:41 +0000
Resent-Date: Tue, 31 Jul 2012 06:56:41 +0000
Resent-Message-Id: <E1Sw6Nl-0003zD-6Y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1Sw6NY-0003y6-J8 for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 06:56:28 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1Sw6NU-0002ip-7i for ietf-http-wg@w3.org; Tue, 31 Jul 2012 06:56:28 +0000
Received: by vcdd16 with SMTP id d16so5687346vcd.2 for <ietf-http-wg@w3.org>; Mon, 30 Jul 2012 23:55:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=4c2irjgSuMnhQ3dKSwzwe5F/RyAxNQKH0bUkEtDbV3k=; b=pR9WS0JcJQn+3zS3YSMj+vrx1kigKpVRLLnnXrFLDAEl2gz0x+MWk3wbb8vyXk+fIV C8yQDeqv5TOHTcC/xrdHrW5w4xiKu1LsA6rdY9711yiu9zDzRGfe8D+cTJFXQ+yTl8+6 CD2GguorR7tue8yBRyGLSLGuLHXOT0PPAOgymaGPTtx8rbO1KEC7Qg04Q1kF0kuJ21vE DyXmo4E2dI7XwqSI9aDpNmcwbKJX5e7jk92GlbdGy2UMQANZ7DX+gmGD9u+xMa1bx4hi lAZA6AsruHzE29zoFVKn2nHMGnyVhlzXsjM5Zuckly8gxyeNUsexBp5uYD9y4rOpFQBE Jg/Q==
MIME-Version: 1.0
Received: by 10.220.219.129 with SMTP id hu1mr1644221vcb.72.1343717758366; Mon, 30 Jul 2012 23:55:58 -0700 (PDT)
Received: by 10.52.113.162 with HTTP; Mon, 30 Jul 2012 23:55:58 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <DDE44BEF-501E-4353-BB41-9187DA73877C@checkpoint.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <DDE44BEF-501E-4353-BB41-9187DA73877C@checkpoint.com>
Date: Mon, 30 Jul 2012 23:55:58 -0700
Message-ID: <CAHBU6ispTAnP7KKCZQyEzKmye+L8xYOEbUn33i4xLbTv0C4ayQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Mike Belshe <mike@belshe.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae9cfc872aa743604c61aabd6
X-Gm-Message-State: ALoCoQlSLgZxfbgtzJl5PAKHNsGPzE+vknWSNYte8V1/7ieLfC9f+TT9biyOKRkZke2YESq54HOm
Received-SPF: none client-ip=209.85.220.171; envelope-from=tbray@textuality.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Sw6NU-0002ip-7i cc7661d9bb9caeac50fd0e48ec2201c8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAHBU6ispTAnP7KKCZQyEzKmye+L8xYOEbUn33i4xLbTv0C4ayQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14846
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>

--14dae9cfc872aa743604c61aabd6
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 30, 2012 at 11:28 PM, Yoav Nir <ynir@checkpoint.com> wrote:
> Disagree. belshe.com is just somebody's blog. It's not financial
> information, there are no privacy issues, no medical data, no potentially
> embarrassing association with sexual minorities. Why would you want to
spend
> any resources securing that?

Excuse me, what exactly do you know about my sexual preferences or Mike
Belshe=92s and why are you so sure that we might not want to discuss them
without accidentally putting our readers in a place where the Basiji come
knocking at the door?

This is why it=92s reasonable to think it important that privacy be the
default.  Because it if it isn=92t, then turning privacy on is a powerful
signal to the Men In The Middle to start watching.

It=92s unfortunate that you find association with minorities embarrassing. =
 -T

>
> And securing that has costs. There's extra CPU (although I guess the
> smallest server you can buy can handle your site both with and without
SSL),
> there's the cost of certificates, there's the administrative effort in
> getting and deploying the certificates, and there's the loss of caching
> ability all over the Internet.
>
> Sure, my bank, my HMO and mail.google.com need to have encryption. Yes, a=
s
> long as HTTP without S exists, browsers can be tricked into doing this
> unencrypted. But why should you and Tim bear the cost of securing those
> banking sites? Let them use HSTS or some future DNS-based strict transpor=
t
> security.
>
> Yoav
>
>

--14dae9cfc872aa743604c61aabd6
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div>On Mon, Jul 30, 2012 at 11:28 PM, Yoav Nir &lt;<a href=3D"mailto:ynir@=
checkpoint.com">ynir@checkpoint.com</a>&gt; wrote:<br>&gt; Disagree. <a hre=
f=3D"http://belshe.com">belshe.com</a> is just somebody&#39;s blog. It&#39;=
s not financial<br>
&gt; information, there are no privacy issues, no medical data, no potentia=
lly<br>&gt; embarrassing association with sexual minorities. Why would you =
want to spend<br>&gt; any resources securing that?</div><div><br></div>
<div>Excuse me, what exactly do you know about my sexual preferences or Mik=
e Belshe=92s and why are you so sure that we might not want to discuss them=
 without accidentally putting our readers in a place where the Basiji come =
knocking at the door? =A0</div>
<div><br></div><div>This is why it=92s reasonable to think it important tha=
t privacy be the default. =A0Because it if it isn=92t, then turning privacy=
 on is a powerful signal to the Men In The Middle to start watching.=A0</di=
v><div>
<br></div><div>It=92s unfortunate that you find association with minorities=
 embarrassing. =A0-T</div><div><br>&gt;<br>&gt; And securing that has costs=
. There&#39;s extra CPU (although I guess the<br>&gt; smallest server you c=
an buy can handle your site both with and without SSL),<br>
&gt; there&#39;s the cost of certificates, there&#39;s the administrative e=
ffort in<br>&gt; getting and deploying the certificates, and there&#39;s th=
e loss of caching<br>&gt; ability all over the Internet.<br>&gt;<br>&gt; Su=
re, my bank, my HMO and <a href=3D"http://mail.google.com">mail.google.com<=
/a> need to have encryption. Yes, as<br>
&gt; long as HTTP without S exists, browsers can be tricked into doing this=
<br>&gt; unencrypted. But why should you and Tim bear the cost of securing =
those<br>&gt; banking sites? Let them use HSTS or some future DNS-based str=
ict transport<br>
&gt; security.<br>&gt;<br>&gt; Yoav<br>&gt;<br>&gt;<br><br></div>

--14dae9cfc872aa743604c61aabd6--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 00:10:27 2012
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 230F821F859A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 00:10:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.144
X-Spam-Level: 
X-Spam-Status: No, score=-8.144 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 jKpUAya9czef for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 00:10:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 81FAD21F8587 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 00:10:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw6Zy-0001bq-6u for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 07:09:18 +0000
Resent-Date: Tue, 31 Jul 2012 07:09:18 +0000
Resent-Message-Id: <E1Sw6Zy-0001bq-6u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sw6Zm-0001ai-EV for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 07:09:06 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Sw6Zl-0003KE-4e for ietf-http-wg@w3.org; Tue, 31 Jul 2012 07:09:06 +0000
Received: (qmail invoked by alias); 31 Jul 2012 07:08:37 -0000
Received: from AMontpellier-259-1-73-21.w92-133.abo.wanadoo.fr (EHLO [192.168.3.131]) [92.133.160.21] by mail.gmx.net (mp019) with SMTP; 31 Jul 2012 09:08:37 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18L5tw9mLoLuhk0INcwIw9G2djecqRQqImd07Vtmk hPyO4Y0qdxNKPt
Message-ID: <5017845E.4070503@gmx.de>
Date: Tue, 31 Jul 2012 09:08:14 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com> <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com> <d85655d0-c544-485f-8b84-c3888e83d13a@blur> <CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com>
In-Reply-To: <CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FRT_ADOBE2=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sw6Zl-0003KE-4e 696b334ac0b1b2d0a7d32c062a3c79df
X-Original-To: ietf-http-wg@w3.org
Subject: Connection limits, was: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/5017845E.4070503@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14847
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 31.07.2012 06:04, Mike Belshe wrote:
>
>
> On Sun, Jul 29, 2012 at 10:45 AM, Larry Masinter <masinter@adobe.com
> <mailto:masinter@adobe.com>> wrote:
>
>     Your post is consistent with the assertion that there isn't
>     agreement yet about what "faster than HTTP/1.1" means, or how to
>     compare proposals for improvement. And neither measured worst case
>     latency or real network traffic with buffer bloat, or situations
>     that would detect the impact of HOL blocking.
>
>
> While SPDY leaves a tiny HOL issue, it fixes the massive one from
> HTTP/1.1, which can only load a couple of resources in parallel per
> domain (2 by spec, 6 by implementation best practices).  The tradeoff
> turns out to be a boon in terms of reduced latency while also using
> fewer network resources.
> ...

"By spec" in RFC 2616, but not in HTTPbis (this has been fixed a LONG 
time ago!).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 00:15:45 2012
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 3E99B11E80E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 00:15:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.293
X-Spam-Level: 
X-Spam-Status: No, score=-10.293 tagged_above=-999 required=5 tests=[AWL=0.305, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 tMvn3bON70rK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 00:15:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CCB0111E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 00:15:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw6fY-0005ug-Nf for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 07:15:04 +0000
Resent-Date: Tue, 31 Jul 2012 07:15:04 +0000
Resent-Message-Id: <E1Sw6fY-0005ug-Nf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sw6fL-0003M9-PX for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 07:14:51 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sw6f3-0000Hv-Ao for ietf-http-wg@w3.org; Tue, 31 Jul 2012 07:14:42 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q6V7Dwx1032056; Tue, 31 Jul 2012 10:13:58 +0300
X-CheckPoint: {5017833D-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Tue, 31 Jul 2012 10:13:57 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Tim Bray <tbray@textuality.com>
CC: Mike Belshe <mike@belshe.com>, =?Windows-1252?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 31 Jul 2012 10:13:56 +0300
Thread-Topic: Privacy and its costs (was: Re: Mandatory encryption)
Thread-Index: Ac1u7Az4t/vXBkePQpCxVunUsyVzTw==
Message-ID: <7BB63F3C-2371-47DB-928F-A64E3321D189@checkpoint.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <DDE44BEF-501E-4353-BB41-9187DA73877C@checkpoint.com> <CAHBU6ispTAnP7KKCZQyEzKmye+L8xYOEbUn33i4xLbTv0C4ayQ@mail.gmail.com>
In-Reply-To: <CAHBU6ispTAnP7KKCZQyEzKmye+L8xYOEbUn33i4xLbTv0C4ayQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: multipart/alternative; boundary="_000_7BB63F3C237147DB928FA64E3321D189checkpointcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sw6f3-0000Hv-Ao 4412fa8e2c3a652463dc30c872dc9d94
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/7BB63F3C-2371-47DB-928F-A64E3321D189@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14848
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>

--_000_7BB63F3C237147DB928FA64E3321D189checkpointcom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


On Jul 30, 2012, at 11:55 PM, Tim Bray wrote:

On Mon, Jul 30, 2012 at 11:28 PM, Yoav Nir <ynir@checkpoint.com<mailto:ynir=
@checkpoint.com>> wrote:
> Disagree. belshe.com<http://belshe.com/> is just somebody's blog. It's no=
t financial
> information, there are no privacy issues, no medical data, no potentially
> embarrassing association with sexual minorities. Why would you want to sp=
end
> any resources securing that?

Excuse me, what exactly do you know about my sexual preferences or Mike Bel=
she=92s and why are you so sure that we might not want to discuss them with=
out accidentally putting our readers in a place where the Basiji come knock=
ing at the door?

I know nothing. Partially because neither you nor Mike say anything about t=
his in your blogs.

This is why it=92s reasonable to think it important that privacy be the def=
ault.  Because it if it isn=92t, then turning privacy on is a powerful sign=
al to the Men In The Middle to start watching.

This is again having the people who don't need it pay for those who do. The=
re should be enough people who need privacy for various reasons to give too=
 many signals for the Basij to watch them all.

It=92s unfortunate that you find association with minorities embarrassing. =
 -T

I did say "potentially embarrassing", and there's a reason why many jurisdi=
ction prohibit questions about sexual orientation in job interviews. Indivi=
duals MAY consider such matters private, whereas you broadcast your opinion=
s of SPDY for the entire world to hear.

Yoav


--_000_7BB63F3C237147DB928FA64E3321D189checkpointcom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 30, 2=
012, at 11:55 PM, Tim Bray wrote:</div><br class=3D"Apple-interchange-newli=
ne"><blockquote type=3D"cite"><div>On Mon, Jul 30, 2012 at 11:28 PM, Yoav N=
ir &lt;<a href=3D"mailto:ynir@checkpoint.com">ynir@checkpoint.com</a>&gt; w=
rote:<br>&gt; Disagree. <a href=3D"http://belshe.com/">belshe.com</a> is ju=
st somebody's blog. It's not financial<br>
&gt; information, there are no privacy issues, no medical data, no potentia=
lly<br>&gt; embarrassing association with sexual minorities. Why would you =
want to spend<br>&gt; any resources securing that?</div><div><br></div>
<div>Excuse me, what exactly do you know about my sexual preferences or Mik=
e Belshe=92s and why are you so sure that we might not want to discuss them=
 without accidentally putting our readers in a place where the Basiji come =
knocking at the door? &nbsp;</div></blockquote><div><br></div>I know nothin=
g. Partially because neither you nor Mike say anything about this in your b=
logs.</div><div><br><blockquote type=3D"cite">
<div>This is why it=92s reasonable to think it important that privacy be th=
e default. &nbsp;Because it if it isn=92t, then turning privacy on is a pow=
erful signal to the Men In The Middle to start watching.&nbsp;</div></block=
quote><div><br></div>This is again having the people who don't need it pay =
for those who do. There should be enough people who need privacy for variou=
s reasons to give too many signals for the Basij to watch them all.</div><d=
iv><br><blockquote type=3D"cite"><div>It=92s unfortunate that you find asso=
ciation with minorities embarrassing. &nbsp;-T</div></blockquote><br></div>=
<div>I did say "potentially embarrassing", and there's a reason why many ju=
risdiction prohibit questions about sexual orientation in job interviews. I=
ndividuals MAY consider such matters private, whereas you broadcast your op=
inions of SPDY for the entire world to hear.</div><div><br></div><div>Yoav<=
/div><br></body></html>=

--_000_7BB63F3C237147DB928FA64E3321D189checkpointcom_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 00:16:24 2012
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 38DF611E80E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 00:16:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.101
X-Spam-Level: 
X-Spam-Status: No, score=-10.101 tagged_above=-999 required=5 tests=[AWL=-0.103, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, 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 AdcOaPiI8d2L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 00:16:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71CF211E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 00:16:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sw6gC-0006r7-2w for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 07:15:44 +0000
Resent-Date: Tue, 31 Jul 2012 07:15:44 +0000
Resent-Message-Id: <E1Sw6gC-0006r7-2w@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sw6fx-0006mg-Oi for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 07:15:29 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sw6fv-0003el-1q for ietf-http-wg@w3.org; Tue, 31 Jul 2012 07:15:29 +0000
Received: by wibhm2 with SMTP id hm2so3263513wib.2 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 00:15:00 -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=zidj5IqH0h3szkJ5Y2m1crwAMzyzK72vze7QOlKT9wE=; b=Tpn1VLJ7ZxEwFsnLRazzSJnjP4UWK/5wxs968vDVk3QqLsDNT1qFXqLzFRJMRm1tOV 5hxmp/gFErLi97qy9uEzJFd2gC8kpuCRLppY9nqdQWBV6YY8N40fwIjSxcrnFzqFpEnK iL1/s13hVQa23VUQBedaBU0lPKZBrG5/nR0rfV5n2P8dVVphe4qfRj9OsJCdNvovlPnn 0n5+GeIOiLl9pHi7xMPQDSmdA03PW1LgBCOK4xRaVCj49qOadR9gONt116JIwwKZYOio DzNYWPbresw3IQLGKpesJtVP8zfd2fivynSZP/WKQDgEIa0jektk3b3qs096CsdyItG9 CIkA==
MIME-Version: 1.0
Received: by 10.180.81.38 with SMTP id w6mr4357112wix.10.1343718900530; Tue, 31 Jul 2012 00:15:00 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Tue, 31 Jul 2012 00:15:00 -0700 (PDT)
In-Reply-To: <4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com> <4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com>
Date: Tue, 31 Jul 2012 00:15:00 -0700
Message-ID: <CAP+FsNcNkSi1TRS2U5YRhXXJmh92AfceN_xH1FZ7J7CwO95eoA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Jitu Padhye <padhye@microsoft.com>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d044288c0be7f7c04c61aef82
Received-SPF: pass client-ip=209.85.212.169; envelope-from=grmocg@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sw6fv-0003el-1q 1462c3ee188bc7fce68428b0a50401b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CAP+FsNcNkSi1TRS2U5YRhXXJmh92AfceN_xH1FZ7J7CwO95eoA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14849
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>

--f46d044288c0be7f7c04c61aef82
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Thanks for answering by questions!

On Mon, Jul 30, 2012 at 10:36 AM, Jitu Padhye <padhye@microsoft.com> wrote:

>  **=D8  **Was the client/server speaking SPDY/2 or SPDY/3?****
>
>       Spdy/2****
>
> ** **
>
> **=D8  **A percentage of the time, Chrome will not use SPDY (it decides
> this at startup). Did you verify that it was always speaking SPDY? (I'd
> guess yes!)****
>
> Yes. ****
>
> ** **
>
> **=D8  **Was the server using the CWND set sent in the SETTINGS frame, an=
d
> was it sending it to the client?****
>
> I did not check this =96 I will go back and look. ** **
>
> ** **
>
> **=D8  **What was the server's initcwnd?****
>
> Whatever the default is. I think it was 2 or 4. I will take a look.
>

A default of 10 is suggested. (This is the case for newer linux kernels by
default).

> ****
>
> ** **
>
> **=D8  **Was slow-start-after-idle turned off on the kernel?****
>
> No. Again, we only used default settings. ****
>
> ** **
>
> **=D8  **How long were the various connections in slow start, and did the=
y
> ever exit slow-start?****
>
> I will have to take a look. ****
>
> ** **
>
> **=D8  **Was the SSL cert chain the same size and using the same algorith=
ms?
> ****
>
> Yes. ****
>
> ** **
>
> **=D8  **Was the dummynet (or equivalent) configured to have appropriate
> buffer size (else it does packet drops silently)?****
>
> Yes, and I know this, because I had initially screwed this up J
>

Yea, it is easy to mess this one up-- good catch!


> ****
>
> ** **
>
> **=D8  **Were these all cold-connection, cold-cache first-page load
> timings? The use of keep-alive in figure 3 would seem to indicate
> otherwise, but I'm not sure which are which...****
>
> All cold cache. Keep alive is for only fetches while loading the first
> page.
>
It would be instructive to look at more than just the first page load. I
suspect most site designers and sites intend to have the user continue
interacting with the site for more than just the one page view :)

This is the curse of the benchmark-- someone always demanding more. In this
case, I do think it is important, though, since the pattern is further site
involvement much of the time.

> ****
>
> ** **
>
> **=D8  **Did you put Chromium into 'replay' mode (where date and random
> always return in the same manner, regardless of actual date)?****
>
> No, but I agree that this setting would have made more sense. ****
>
> ** **
>
> **=D8  **Any particular reason that you turned off entity-body compressio=
n
> in Apache? Were the resources saved verbatim from WinHTTrack (in which ca=
se
> it'd make sense)?****
>
> Not quite sure what you are asking here =85 can you please clarify?
>

I think this question may not make sense if resources other than index.html
were not served from the server as I think you're saying elsewhere?
What I mean was: If the entity-body for the site was originally compressed,
are you sending it compressed in your tests, or would it end up
uncompressed?


> ****
>
> ** **
>
> **=D8  **Was the server emulating the original server's think times? This
> can have a very, very large impact on pipelined HTTP performance. ****
>
>       Only =93index.html=94 was loaded for each site. I should clarify th=
at in
> text. So think times are not an issue.
>

The resources referenced from index.html are, or are not part of the test?
I'd guess that they are, and I've confused you somehow.


> ****
>
> ** **
>
> **=D8  **We've found that the various automatic page-is-done signals are
> often less useful than something which measures the above-the-fold page
> load time. This generally involves cameras pointed at screens and a human
> looking at the video to determine at which frame the page is useful, and
> designating that frame as 'done-for-above-the-fold'****
>
> I agree that age load time, as we measured it, is not a foolproof metric.
> The problem is that all other alternatives are too cumbersome to measure
> (and worse) replicate correctly. ****
>
> ** **
>
> **=D8  **I'd love to see if we could get a common suite of test data over
> which we could all run experiments/benchmarks. Is anyone else interested =
in
> doing so?****
>
> This is definitely interesting. Something like RFC5033?
>

I'm not finding what I'm suggesting in that RFC, but it is possible it is
there :)

All I mean is that we grab a number of pages that represent important
use-cases, then, as necessary, clean up the resources so that there are no
legal issues w.r.t. distribution, and then have this used as a basis for
benchmarking and testing of corner-cases.
-=3DR


> **
>
> ** **
>
> ** **
>
> *From:* Roberto Peon [mailto:grmocg@gmail.com]
> *Sent:* Sunday, July 29, 2012 3:16 PM
> *To:* Henrik Frystyk Nielsen
> *Cc:* ietf-http-wg@w3.org; Gabriel Montenegro; Rob Trace; Adalberto
> Foresti (MS OPEN TECH)
>
> *Subject:* Re: HTTP 2.0 and a Faster, more Mobile-friendly web****
>
> ** **
>
> ** **
>
> Interesting data! Questions about test methodology:****
>
> ** **
>
> Was the client/server speaking SPDY/2 or SPDY/3?****
>
> A percentage of the time, Chrome will not use SPDY (it decides this at
> startup). Did you verify that it was always speaking SPDY? (I'd guess yes=
!)
> ****
>
> Was the server using the CWND set sent in the SETTINGS frame, and was it
> sending it to the client?****
>
> What was the server's initcwnd?****
>
> Was slow-start-after-idle turned off on the kernel?****
>
> How long were the various connections in slow start, and did they ever
> exit slow-start?****
>
> Was the SSL cert chain the same size and using the same algorithms?****
>
> Was the dummynet (or equivalent) configured to have appropriate buffer
> size (else it does packet drops silently)?****
>
> Were these all cold-connection, cold-cache first-page load timings? The
> use of keep-alive in figure 3 would seem to indicate otherwise, but I'm n=
ot
> sure which are which...****
>
> Did you put Chromium into 'replay' mode (where date and random always
> return in the same manner, regardless of actual date)?****
>
> Any particular reason that you turned off entity-body compression in
> Apache? Were the resources saved verbatim from WinHTTrack (in which case
> it'd make sense)?****
>
> Was the server emulating the original server's think times? This can have
> a very, very large impact on pipelined HTTP performance. ****
>
> ** **
>
> We've found that the various automatic page-is-done signals are often les=
s
> useful than something which measures the above-the-fold page load time.
> This generally involves cameras pointed at screens and a human looking at
> the video to determine at which frame the page is useful, and designating
> that frame as 'done-for-above-the-fold'****
>
> ** **
>
> I'd love to see if we could get a common suite of test data over which we
> could all run experiments/benchmarks.****
>
> Is anyone else interested in doing so?****
>
> ** **
>
> -=3DR****
>
> On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com> wrote:****
>
> Dear All,****
>
>  ****
>
> We remain committed to the HTTP/2.0 standards process and look forward to
> seeing many of you this week at the IETF meeting in Vancouver to continue
> the discussion.  In the spirit of open discussion, we wanted to share som=
e
> observations in advance of the meeting and share the latest progress from
> prototyping and testing. ****
>
>  ****
>
> There are currently three different proposals that the group is working
> through:****
>
>  ****
>
>    * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),****
>
>    * HTTP Speed+Mobility (
> http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility),****
>
>    * Network-Friendly HTTP Upgrade (
> http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly). ****
>
>  ****
>
> The good news is that everyone involved wants to make the Web faster, mor=
e
> scalable, more secure, and more mobile-friendly, and each proposal has
> benefits in different areas that the discussion can choose from.****
>
>  ****
>
> --- A Genuinely Faster Web ---****
>
>  ****
>
> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =93clean slate=94 approach to improving HTTP.****
>
>  ****
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a controlled
> tested study. The test uses publically available software run with mostly
> default configurations while applying all the currently available
> optimizations to HTTP/1.1. You can find a preliminary report on the test
> results here: http://research.microsoft.com/apps/pubs/?id=3D170059. The
> results mirror other data (
> http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate
> mixed results with SPDY performance.****
>
>  ****
>
> Our results indicate almost equal performance between SPDY and HTTP/1.1
> when one applies all the known optimizations to HTTP/1.1. SPDY=92s
> performance improvements are not consistent and significant. We will
> continue our testing, and we welcome others to publish their results so
> that HTTP/2.0 can choose the best changes and deliver the best possible
> performance and scalability improvements compared to HTTP/1.1.****
>
>  ****
>
>  ****
>
> --- Taking the Best from Each ---****
>
>  ****
>
> Speed is one of several areas of improvement. Currently, there=92s no cle=
ar
> consensus that any one of the proposals is the clear choice or even
> starting point for HTTP/2.0 (based on our reading the Expressions of
> Interest and discussions on this mailing list. A good example of this is
> the vigorous discussion around mandating TLS encryption (
> http://tools.ietf.org/html/rfc5246) for HTTP/2.0. ****
>
>  ****
>
> We think a good approach for HTTP/2.0 is to take the best solution for
> each of these areas from each of the proposals.  This approach helps us
> focus the discussion for each area of the protocol. Of course, this
> approach would still allow the standard to benefit from the extensive
> knowledge gained from implementing existing proposals.  ****
>
>  ****
>
> We believe that the group can converge on consensus in the following
> areas, based on our reading of the Expressions of Interest, by starting
> from the different proposals.****
>
>  ****
>
> ------------------|------------------****
>
> Area              | Opinion that ****
>
>                   | seems to prevail****
>
> ------------------|------------------****
>
> 1. Compression    | SPDY or Friendly****
>
> ------------------|------------------****
>
> 2. Multiplexing   | SPDY****
>
> ------------------|------------------****
>
> 3. Mandatory TLS  | Speed+Mobility****
>
> ------------------|------------------****
>
> 4. Negotiation    | Friendly or****
>
>                   |   Speed+Mobility****
>
> ------------------|------------------****
>
> 5. Client Pull/   | Speed+Mobility****
>
>       Server Push | ****
>
> ------------------|------------------****
>
> 6. Flow Control   | SPDY****
>
> ------------------|------------------****
>
> 7. WebSockets     | Speed+Mobility****
>
> ------------------|------------------****
>
>  ****
>
> Below, we discuss each HTTP/2.0 element and the current consensus that
> appears to be forming within the Working Group.****
>
>  ****
>
> 1. Compression****
>
>  ****
>
> Compression is simple to conceptualize and implement, and it is important=
.
> Proxies and other boxes in the middle on today=92s Web often face problem=
s
> with it. The HTTP/2.0 discussion has been rich but with little consensus.=
*
> ***
>
> Though some studies suggest that SPDY=92s header compression approach sho=
ws
> promise, other studies show this compression to be prohibitively onerous
> for intermediary devices. More information here would help us make sure
> we=92re making the Web faster and better. ****
>
>  ****
>
> Also, an entire segment of implementers are not interested in compression
> as defined in SPDY.  That=92s a challenge because the latest strawman for=
 the
> working group charter (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html)
> states that the =93resulting specification(s) are expected to be meet the=
se
> goals for common existing deployments of HTTP; in particular, =85
> intermediation (by proxies, corporate firewalls, =91reverse=92 proxies an=
d
> Content Delivery Networks).=94 ****
>
>  ****
>
> We think the SPDY or Friendly proposals is a good starting point for
> progress.****
>
>  ****
>
> 2. Multiplexing****
>
>  ****
>
> All three proposals define similar multiplexing models. We haven=92t had
> substantial discussion on the differences. This lack of discussion sugges=
ts
> that there is rough consensus around the SPDY framing for multiplexing. *=
*
> **
>
>  ****
>
> We think that the SPDY proposal is a good starting point here and best
> captures the current consensus.****
>
>  ****
>
> 3. Mandating Always On TLS ****
>
>  ****
>
> There is definitely no consensus to mandate TLS for all Web communication=
,
> but some major implementers have stated they will not to adopt HTTP/2.0
> unless the working group supports a =93TLS is mandatory=94 position. A ve=
ry
> preliminary note from the chair (
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html)
> states that there is a lack of consensus for mandating TLS. ****
>
>  ****
>
> We think the Speed+Mobility proposal is a good starting point here as it
> provides options to turn TLS on (or not).****
>
>  ****
>
> 4. Negotiation****
>
>  ****
>
> Only two of the proposals actually discuss how different endpoints agree
> to use HTTP/2.0. ****
>
>  ****
>
> (The SPDY proposal does not specify a negotiation method. Current
> prototype implementations use the TLS-NPN (
> http://tools.ietf.org/html/draft-agl-tls-nextprotoneg) extension.  While
> the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some parties
> have expressed non-support for this method as well.) ****
>
>  ****
>
> We think either of the Friendly or Speed+Mobility proposals is a good
> starting point because they are the only ones that have any language in
> this respect.  ****
>
>  ****
>
> 5. Client Pull and Server Push****
>
>  ****
>
> There are tradeoffs between a server push model and a client pull model.
> The main question is how to improve performance while respecting bandwidt=
h
> and client caches. ****
>
>  ****
>
> Server Push has not had the same level of implementation and
> experimentation as the other features in SPDY. More information here woul=
d
> help us make sure we=92re making the Web faster and better. ****
>
>  ****
>
> We think the Speed+Mobility proposal is a good starting point here,
> suggesting that this issue may be better served in a separate document
> rather than tied to the core HTTP/2.0 protocol. ****
>
>  ****
>
> 6. Flow Control****
>
>  ****
>
> There has only been limited discussion in the HTTPbis working group on
> flow control. Flow Control offers a lot of opportunity make the Web faste=
r
> as well as to break it; for example, implementations need to figure out h=
ow
> to optimize for opposing goals (like throughput and responsiveness) at th=
e
> same time. ****
>
>  ****
>
> The current version of the SPDY proposal specifies a flow control message
> with many settings are that are not well-defined. The Speed+Mobilty
> proposal has a simplified flow control model based on certain assumptions=
.
> More experimentation and information here would help us make sure we=92re
> making the Web faster and better. ****
>
>  ****
>
> We think that the SPDY proposal is a good starting point here. ****
>
>  ****
>
> 7. WebSockets****
>
>  ****
>
> We see support  for aligning HTTP/2.0 with a future version of WebSockets=
,
> as suggested in the introduction of the Speed+Mobility proposal.****
>
>  ****
>
>  ****
>
> --- Moving forward ---****
>
>  ****
>
> We=92re excited for the Web to get faster, more stable, and more capable,
> and HTTP/2.0 is an important part of that. ****
>
>  ****
>
> We believe that bringing together the best elements of the current SPDY,
> HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the
> best approach to make that happen. ****
>
>  ****
>
> Based on the discussions on the HTTPbis mailing list, we=92ve suggested
> which proposals make the most sense to start from for each of the areas
> that HTTP/2.0 is addressing. Each of these areas needs more prototyping a=
nd
> experimentation and data. We=92re looking forward to the discussion this =
week.
> ****
>
>  ****
>
> Sincerely,****
>
>  ****
>
> Henrik Frystyk Nielsen****
>
> Principal Architect, Microsoft Open Technologies, Inc.****
>
>  ****
>
> Gabriel Montenegro****
>
> Principal Software Development Engineer, Microsoft Corporation****
>
>  ****
>
> Rob Trace****
>
> Senior Program Manager Lead, Microsoft Corporation****
>
>  ****
>
> Adalberto Foresti****
>
> Senior Program Manager, Microsoft Open Technologies, Inc.****
>
>  ****
>
>  ****
>
> ** **
>

--f46d044288c0be7f7c04c61aef82
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Thanks for answering by questions!<br><br><div class=3D"gmail_quote">On Mon=
, Jul 30, 2012 at 10:36 AM, Jitu Padhye <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:padhye@microsoft.com" target=3D"_blank">padhye@microsoft.com</a>&gt;</=
span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the client/server speaking SPDY/2 or SPDY/3=
?<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in">=A0=A0=A0=A0=A0 Spdy/2<u=
></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>A percentage of the time, Chrome will not use S=
PDY (it decides this at startup). Did you verify that it was always speakin=
g SPDY? (I&#39;d guess yes!)<u></u><u></u></p>
<p>Yes. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the server using the CWND set sent in the S=
ETTINGS frame, and was it sending it to the client?<u></u><u></u></p>
<p>I did not check this =96 I will go back and look. <u></u>
<u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>What was the server&#39;s initcwnd?<u></u><u></=
u></p>
<p>Whatever the default is. I think it was 2 or 4. I will take a look.</p><=
/div></div></blockquote><div><br></div><div>A default of 10 is suggested. (=
This is the case for newer linux kernels by default).=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p>
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was slow-start-after-idle turned off on the ker=
nel?<u></u><u></u></p>
<p>No. Again, we only used default settings. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>How long were the various connections in slow s=
tart, and did they ever exit slow-start?<u></u><u></u></p>
<p>I will have to take a look. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the SSL cert chain the same size and using =
the same algorithms?<u></u><u></u></p>
<p>Yes. <u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the dummynet (or equivalent) configured to =
have appropriate buffer size (else it does packet drops silently)?<u></u><u=
></u></p>
<p>Yes, and I know this, because I had initially screwed this up
<span style=3D"font-family:Wingdings">J</span></p></div></div></blockquote>=
<div><br></div><div>Yea, it is easy to mess this one up-- good catch!</div>=
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p><u></u><u></u></=
p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Were these all cold-connection, cold-cache firs=
t-page load timings? The use of keep-alive in figure 3 would seem to indica=
te otherwise, but I&#39;m not sure which are which...<u></u><u></u></p>

<p>All cold cache. Keep alive is for only fetches while loading the first p=
age.</p></div></div></blockquote><div>It would be instructive to look at mo=
re than just the first page load. I suspect most site designers and sites i=
ntend to have the user continue interacting with the site for more than jus=
t the one page view :)</div>
<div><br></div><div>This is the curse of the benchmark-- someone always dem=
anding more. In this case, I do think it is important, though, since the pa=
ttern is further site involvement much of the time.</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p>
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Did you put Chromium into &#39;replay&#39; mode=
 (where date and random always return in the same manner, regardless of act=
ual date)?<u></u><u></u></p>
<p>No, but I agree that this setting would have made more sense.
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Any particular reason that you turned off entit=
y-body compression in Apache? Were the resources saved verbatim from WinHTT=
rack (in which case it&#39;d make sense)?<u></u><u></u></p>
<p>Not quite sure what you are asking here =85 can you please clarify?</p><=
/div></div></blockquote><div><br></div><div>I think this question may not m=
ake sense if resources other than index.html were not served from the serve=
r as I think you&#39;re saying elsewhere?</div>
<div>What I mean was: If the entity-body for the site was originally compre=
ssed, are you sending it compressed in your tests, or would it end up uncom=
pressed?</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p><u></u><u></u></=
p>
<p><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>Was the server emulating the original server&#3=
9;s think times? This can have a very, very large impact on pipelined HTTP =
performance.=A0<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in">=A0=A0=A0=A0=A0 Only =93=
index.html=94 was loaded for each site. I should clarify that in text. So t=
hink times are not an issue.</p></div></div></blockquote><div><br></div><di=
v>The resources referenced from index.html are, or are not part of the test=
? I&#39;d guess that they are, and I&#39;ve confused you somehow.=A0</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"bl=
ue" vlink=3D"purple"><div><p class=3D"MsoNormal" style=3D"margin-left:.25in=
">
<u></u><u></u></p><div class=3D"im">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>We&#39;ve found that the various automatic page=
-is-done signals are often less useful than something which measures the ab=
ove-the-fold page load time. This generally involves cameras pointed at scr=
eens and a human looking at the video
 to determine at which frame the page is useful, and designating that frame=
 as &#39;done-for-above-the-fold&#39;<u></u><u></u></p>
</div><p>I agree that age load time, as we measured it, is not a foolproof =
metric. The problem is that all other alternatives are too cumbersome to me=
asure (and worse) replicate correctly.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p><u></u><span style=3D"font-family:Wingdings"><span>=D8<span style=3D"fon=
t:7.0pt &quot;Times New Roman&quot;">=A0
</span></span></span><u></u>I&#39;d love to see if we could get a common su=
ite of test data over which we could all run experiments/benchmarks. Is any=
one else interested in doing so?<u></u><u></u></p>
<p>This is definitely interesting. Something like RFC5033?</p></div></div><=
/blockquote><div><br></div><div>I&#39;m not finding what I&#39;m suggesting=
 in that RFC, but it is possible it is there :)</div><div><br></div><div>
All I mean is that we grab a number of pages that represent important use-c=
ases, then, as necessary, clean up the resources so that there are no legal=
 issues w.r.t. distribution, and then have this used as a basis for benchma=
rking and testing of corner-cases.</div>
<div>-=3DR</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"E=
N-US" link=3D"blue" vlink=3D"purple"><div><p><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Roberto =
Peon [mailto:<a href=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@g=
mail.com</a>]
<br>
<b>Sent:</b> Sunday, July 29, 2012 3:16 PM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-ht=
tp-wg@w3.org</a>; Gabriel Montenegro; Rob Trace; Adalberto Foresti (MS OPEN=
 TECH)</span></p><div class=3D"im"><br>
<b>Subject:</b> Re: HTTP 2.0 and a Faster, more Mobile-friendly web<u></u><=
u></u></div><p></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Interesting data!=A0Questions about test methodology=
:<u></u><u></u></p>
</div><div><div class=3D"h5">
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Was the client/server speaking SPDY/2 or SPDY/3?<u><=
/u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">A percentage of the time, Chrome will not use SPDY (=
it decides this at startup). Did you verify that it was always speaking SPD=
Y? (I&#39;d guess yes!)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Was the server using the CWND set sent in the SETTIN=
GS frame, and was it sending it to the client?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">What was the server&#39;s initcwnd?<u></u><u></u></p=
>
</div>
<div>
<p class=3D"MsoNormal">Was slow-start-after-idle turned off on the kernel?<=
u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">How long were the various connections in slow start,=
 and did they ever exit slow-start?<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">Was the SSL cert chain the same size and using the s=
ame algorithms?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Was the dummynet (or equivalent) configured to have =
appropriate buffer size (else it does packet drops silently)?<u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal">Were these all cold-connection, cold-cache first-pag=
e load timings? The use of keep-alive in figure 3 would seem to indicate ot=
herwise, but I&#39;m not sure which are which...<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Did you put Chromium into &#39;replay&#39; mode (whe=
re date and random always return in the same manner, regardless of actual d=
ate)?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Any particular reason that you turned off entity-bod=
y compression in Apache? Were the resources saved verbatim from WinHTTrack =
(in which case it&#39;d make sense)?<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">Was the server emulating the original server&#39;s t=
hink times? This can have a very, very large impact on pipelined HTTP perfo=
rmance.=A0<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">We&#39;ve found that the various automatic page-is-d=
one signals are often less useful than something which measures the above-t=
he-fold page load time. This generally involves cameras pointed at screens =
and a human looking at the video to determine
 at which frame the page is useful, and designating that frame as &#39;done=
-for-above-the-fold&#39;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I&#39;d love to see if we could get a common suite o=
f test data over which we could all run experiments/benchmarks.<u></u><u></=
u></p>
</div>
<div>
<p class=3D"MsoNormal">Is anyone else interested in doing so?<u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">-=3DR<u></u><u></u></=
p>
<div>
<p class=3D"MsoNormal">On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Niel=
sen &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn@=
microsoft.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p>Dear All,<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.=A0 In the spirit of open discussion, we wanted to share so=
me observations in advance of the
 meeting and share the latest progress from prototyping and testing. <u></u=
><u></u></p>
<p>=A0<u></u><u></u></p>
<p>There are currently three different proposals that the group is working =
through:<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>=A0=A0 * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpb=
is-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis=
-spdy</a>),<u></u><u></u></p>
<p>=A0=A0 * HTTP Speed+Mobility (<a href=3D"http://tools.ietf.org/html/draf=
t-montenegro-httpbis-speed-mobility" target=3D"_blank">http://tools.ietf.or=
g/html/draft-montenegro-httpbis-speed-mobility</a>),<u></u><u></u></p>
<p>=A0=A0 * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ietf.org=
/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank">http://tool=
s.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<u></u><u></=
u></p>

<p>=A0<u></u><u></u></p>
<p>--- A Genuinely Faster Web ---<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a =93clean slate=94 approach to improving HTTP.<u></u><u></u></=
p>
<p>=A0<u></u><u></u></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations while applying all
 the currently available optimizations to HTTP/1.1. You can find a prelimin=
ary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY=92s performa=
nce improvements are not consistent and significant. We will continue our t=
esting, and we welcome others to publish
 their results so that HTTP/2.0 can choose the best changes and deliver the=
 best possible performance and scalability improvements compared to HTTP/1.=
1.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>--- Taking the Best from Each ---<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Speed is one of several areas of improvement. Currently, there=92s no cl=
ear consensus that any one of the proposals is the clear choice or even sta=
rting point for HTTP/2.0 (based on our reading the Expressions of Interest =
and discussions on this mailing list.
 A good example of this is the vigorous discussion around mandating TLS enc=
ryption (<a href=3D"http://tools.ietf.org/html/rfc5246" target=3D"_blank">h=
ttp://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We think a good approach for HTTP/2.0 is to take the best solution for e=
ach of these areas from each of the proposals. =A0This approach helps us fo=
cus the discussion for each area of the protocol. Of course, this approach =
would still allow the standard to
 benefit from the extensive knowledge gained from implementing existing pro=
posals.=A0
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We believe that the group can converge on consensus in the following are=
as, based on our reading of the Expressions of Interest, by starting from t=
he different proposals.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">Area=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 | Opinion that </span>
<u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0| seems to prevail</span><u></u><u></u>=
</p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">1. Compression=A0=A0=
=A0 | SPDY or Friendly</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">2. Multiplexing=A0=
=A0 | SPDY</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">3. Mandatory TLS=A0 =
| Speed+Mobility</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">4. Negotiation=A0=A0=
=A0 | Friendly or</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0 Speed+Mobility</span><u></u><u></=
u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">5. Client Pull/=A0=
=A0 | Speed+Mobility</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">=A0=A0=A0=A0=A0 Serv=
er Push | </span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">6. Flow Control=A0=
=A0 | SPDY</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">7. WebSockets=A0=A0=
=A0=A0 | Speed+Mobility</span><u></u><u></u></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Below, we discuss each HTTP/2.0 element and the current consensus that a=
ppears to be forming within the Working Group.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>1. Compression<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Compression is simple to conceptualize and implement, and it is importan=
t. Proxies and other boxes in the middle on today=92s Web often face proble=
ms with it. The HTTP/2.0 discussion has been rich but with little consensus=
.<u></u><u></u></p>

<p>Though some studies suggest that SPDY=92s header compression approach sh=
ows promise, other studies show this compression to be prohibitively onerou=
s for intermediary devices. More information here would help us make sure w=
e=92re making the Web faster and better.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Also, an entire segment of implementers are not interested in compressio=
n as defined in SPDY.=A0 That=92s a challenge because the latest strawman f=
or the working group charter (<a href=3D"http://lists.w3.org/Archives/Publi=
c/ietf-http-wg/2012JulSep/0784.html" target=3D"_blank">http://lists.w3.org/=
Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the =93resulting specification(s) are expected to be meet thes=
e goals for common existing deployments of HTTP; in particular, =85 interme=
diation (by proxies, corporate firewalls, =91reverse=92 proxies and Content=
 Delivery Networks).=94
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We think the SPDY or Friendly proposals is a good starting point for pro=
gress.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>2. Multiplexing<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>All three proposals define similar multiplexing models. We haven=92t had=
 substantial discussion on the differences. This lack of discussion suggest=
s that there is rough consensus around the SPDY framing for multiplexing.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We think that the SPDY proposal is a good starting point here and best c=
aptures the current consensus.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>3. Mandating Always On TLS <u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>There is definitely no consensus to mandate TLS for all Web communicatio=
n, but some major implementers have stated they will not to adopt HTTP/2.0 =
unless the working group supports a =93TLS is mandatory=94 position. A very=
 preliminary note from the chair (<a href=3D"http://lists.w3.org/Archives/P=
ublic/ietf-http-wg/2012JulSep/0601.html" target=3D"_blank">http://lists.w3.=
org/Archives/Public/ietf-http-wg/2012JulSep/0601.html</a>)
 states that there is a lack of consensus for mandating TLS. <u></u><u></u>=
</p>
<p>=A0<u></u><u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here as it=
 provides options to turn TLS on (or not).<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>4. Negotiation<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Only two of the proposals actually discuss how different endpoints agree=
 to use HTTP/2.0.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>(The SPDY proposal does not specify a negotiation method. Current protot=
ype implementations use the TLS-NPN (<a href=3D"http://tools.ietf.org/html/=
draft-agl-tls-nextprotoneg" target=3D"_blank">http://tools.ietf.org/html/dr=
aft-agl-tls-nextprotoneg</a>) extension.=A0
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We think either of the Friendly or Speed+Mobility proposals is a good st=
arting point because they are the only ones that have any language in this =
respect.=A0
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>5. Client Pull and Server Push<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>There are tradeoffs between a server push model and a client pull model.=
 The main question is how to improve performance while respecting bandwidth=
 and client caches.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Server Push has not had the same level of implementation and experimenta=
tion as the other features in SPDY. More information here would help us mak=
e sure we=92re making the Web faster and better.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We think the Speed+Mobility proposal is a good starting point here, sugg=
esting that this issue may be better served in a separate document rather t=
han tied to the core HTTP/2.0 protocol.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>6. Flow Control<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>There has only been limited discussion in the HTTPbis working group on f=
low control. Flow Control offers a lot of opportunity make the Web faster a=
s well as to break it; for example, implementations need to figure out how =
to optimize for opposing goals (like
 throughput and responsiveness) at the same time. <u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>The current version of the SPDY proposal specifies a flow control messag=
e with many settings are that are not well-defined. The Speed+Mobilty propo=
sal has a simplified flow control model based on certain assumptions. More =
experimentation and information
 here would help us make sure we=92re making the Web faster and better. <u>=
</u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We think that the SPDY proposal is a good starting point here. <u></u><u=
></u></p>
<p>=A0<u></u><u></u></p>
<p>7. WebSockets<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We see support=A0 for aligning HTTP/2.0 with a future version of WebSock=
ets, as suggested in the introduction of the Speed+Mobility proposal.<u></u=
><u></u></p>
<p>=A0<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>--- Moving forward ---<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We=92re excited for the Web to get faster, more stable, and more capable=
, and HTTP/2.0 is an important part of that.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>We believe that bringing together the best elements of the current SPDY,=
 HTTP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the be=
st approach to make that happen.
<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Based on the discussions on the HTTPbis mailing list, we=92ve suggested =
which proposals make the most sense to start from for each of the areas tha=
t HTTP/2.0 is addressing. Each of these areas needs more prototyping and ex=
perimentation and data. We=92re looking
 forward to the discussion this week.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Sincerely,<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Henrik Frystyk Nielsen<u></u><u></u></p>
<p>Principal Architect, Microsoft Open Technologies, Inc.<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Gabriel Montenegro<u></u><u></u></p>
<p>Principal Software Development Engineer, Microsoft Corporation<u></u><u>=
</u></p>
<p>=A0<u></u><u></u></p>
<p>Rob Trace<u></u><u></u></p>
<p>Senior Program Manager Lead, Microsoft Corporation<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
<p>Adalberto Foresti<u></u><u></u></p>
<p>Senior Program Manager, Microsoft Open Technologies, Inc.<u></u><u></u><=
/p>
<p>=A0<u></u><u></u></p>
<p>=A0<u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br>

--f46d044288c0be7f7c04c61aef82--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 05:43:00 2012
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 8C56021F86D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 05:43:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.424
X-Spam-Level: 
X-Spam-Status: No, score=-8.424 tagged_above=-999 required=5 tests=[AWL=2.175, BAYES_00=-2.599, 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 n2irm+zPKjhN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 05:43:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D4F621F86D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 05:42:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwBlD-0003yg-Cl for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 12:41:15 +0000
Resent-Date: Tue, 31 Jul 2012 12:41:15 +0000
Resent-Message-Id: <E1SwBlD-0003yg-Cl@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1SwBky-0003xu-3u for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 12:41:00 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1SwBkw-0002nl-FM for ietf-http-wg@w3.org; Tue, 31 Jul 2012 12:41:00 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q6VCeWbq026807; Tue, 31 Jul 2012 14:40:32 +0200 (CEST)
Received: from dhcp-45ed.meeting.ietf.org (dhcp-45ed.meeting.ietf.org [130.129.69.237]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 54746563; Tue, 31 Jul 2012 14:40:31 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <5017845E.4070503@gmx.de>
Date: Tue, 31 Jul 2012 05:40:26 -0700
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C733FBD-39FF-476D-BB6F-8B764157E8E2@tzi.org>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com> <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com> <d85655d0-c544-485f-8b84-c3888e83d13a@blur> <CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com> <5017845E.4070503@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1485)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SwBkw-0002nl-FM f7e712dc7498565c88a6022a2336189c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Connection limits, was: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/3C733FBD-39FF-476D-BB6F-8B764157E8E2@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14850
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 Jul 31, 2012, at 00:08, Julian Reschke <julian.reschke@gmx.de> wrote:

> "By spec" in RFC 2616, but not in HTTPbis (this has been fixed a LONG =
time ago!).

... and that after another year of discussion, apparently:

  HTTPBISt131:
    title: increase connection limit
    target: http://trac.tools.ietf.org/wg/httpbis/trac/ticket/131
    seriesinfo:
      'HTTPBIS ticket': '#131, closed 2009-12-02'
    date: 2008-09-01
  HTTPBISc715:
    target: http://trac.tools.ietf.org/wg/httpbis/trac/changeset/715
    title: Changeset 715
    date: 2009-10-21

(Why I wrote this up: This appears to be news to quite a few people.
In the CoAP review process, we are running into the desire to have the =
equivalent of a connection limit of 1.)

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 06:47:53 2012
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 3B47D21F86E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 06:47:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.444
X-Spam-Level: 
X-Spam-Status: No, score=-10.444 tagged_above=-999 required=5 tests=[AWL=0.154, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 zw5ieoCfMQYY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 06:47:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5141D21F86DE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 06:47:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwClt-0001Va-HZ for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 13:46:01 +0000
Resent-Date: Tue, 31 Jul 2012 13:46:01 +0000
Resent-Message-Id: <E1SwClt-0001Va-HZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SwClh-0001TL-9h for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 13:45:49 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SwClZ-0004y3-80 for ietf-http-wg@w3.org; Tue, 31 Jul 2012 13:45:49 +0000
Received: from uranium.quadriga.com ([88.131.58.218]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6VDj8q8013884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 Jul 2012 13:45:10 GMT
Content-Type: multipart/alternative; boundary=----------IaRo6yW8hAuwyQ7dQtcQbm
To: "Mike Belshe" <mike@belshe.com>
Cc: ietf-http-wg@w3.org
References: <CABaLYCsEbdp0324CqAeX38z8-FjYmjoTrPRm9rnUPS=u9NQSLQ@mail.gmail.com> <em58a5ec7e-3e4b-4a17-974d-ebdedc82a5f8@reboist> <CABaLYCusRpEs7bicEq+_jViW5k-X9ehip=RJe8wD51Z-B-UH2A@mail.gmail.com> <op.wh8fkc0liw9drz@manganese.bredbandsbolaget.se> <CABaLYCshbR6OZPSaDe_GQ=fSRxM3soBrP+1MZsHv4XjH7zQ=Hg@mail.gmail.com>
Date: Tue, 31 Jul 2012 15:45:09 +0200
MIME-Version: 1.0
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wibchjpwiw9drz@uranium.quadriga.com>
In-Reply-To: <CABaLYCshbR6OZPSaDe_GQ=fSRxM3soBrP+1MZsHv4XjH7zQ=Hg@mail.gmail.com>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwClZ-0004y3-80 51025c6451cbe93fe87a5f679b323283
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/op.wibchjpwiw9drz@uranium.quadriga.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14851
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>

------------IaRo6yW8hAuwyQ7dQtcQbm
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit

On Tue, 31 Jul 2012 06:39:08 +0200, Mike Belshe <mike@belshe.com> wrote:


>
> Fair enough, you've presented an argument for who doesn't want push.   
> But this is a tiny tiny fraction of people.  I would not sacrifice  
> billions of >internet users that do want images and JS for the needs of  
> a very small few.  The very small few won't be broken by using push -  
> they'll still get their >pages just fine and can RST the streams they  
> don't want.

I've presented an argument from one that would like to see push, but think  
the current SPDY implementation is too simplistic. Just having the client  
white list content types for push would go a long way.

>
> I think we should build "fast by default".

I think we should build "fast for everyone".

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
------------IaRo6yW8hAuwyQ7dQtcQbm
Content-Type: multipart/related; boundary=----------IaRo6yW8hAuwyQ6qzMVoMk

------------IaRo6yW8hAuwyQ6qzMVoMk
Content-Type: text/html; charset=iso-8859-15
Content-ID: <op.1343742309927.e20714665d6c8799@192.168.9.104>
Content-Transfer-Encoding: Quoted-Printable

<!DOCTYPE html><html><head>
<style type=3D"text/css">body { font-family:'Times New Roman'; font-size=
:13px}</style>
</head>
<body><div>On Tue, 31 Jul 2012 06:39:08 +0200, Mike Belshe &lt;mike@bels=
he.com&gt; wrote:</div><div><br></div><div><br></div><blockquote style=3D=
"margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex">=
<div class=3D"gmail_quote">
<div><br>Fair enough, you've presented an argument for who doesn't want =
push. &nbsp;But this is a tiny tiny fraction of people. &nbsp;I would no=
t sacrifice billions of internet users that do want images and JS for th=
e needs of a very small few. &nbsp;The very small few won't be broken by=
 using push - they'll still get their pages just fine and can RST the st=
reams they don't want.</div></div></blockquote><div><br></div><div>I've =
presented an argument from one that would like to see push, but think th=
e current SPDY implementation is too simplistic. Just having the client =
white list content types for push would go a long way.</div><div><br></d=
iv><blockquote style=3D"margin: 0 0 0.80ex; border-left: #0000FF 2px sol=
id; padding-left: 1ex"><div class=3D"gmail_quote"><div><br></div><div>I =
think we should build "fast by default".</div></div></blockquote><div><b=
r></div><div>I think we should build "fast for everyone".</div><div><br>=
</div>/Martin Nilsson<br><br><div id=3D"M2Signature"><div>-- </div><div>=
Using Opera's revolutionary email client: <a href=3D"http://www.opera.co=
m/mail/">http://www.opera.com/mail/</a></div></div></body></html>
------------IaRo6yW8hAuwyQ6qzMVoMk--

------------IaRo6yW8hAuwyQ7dQtcQbm--



From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 10:39:28 2012
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 A162A21F883A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 10:39:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.697
X-Spam-Level: 
X-Spam-Status: No, score=-9.697 tagged_above=-999 required=5 tests=[AWL=0.902, BAYES_00=-2.599, 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 tjAA-PGBdE5n for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 10:39:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 18B4D21F8839 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 10:39: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 1SwGNy-000882-Uq for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 17:37:34 +0000
Resent-Date: Tue, 31 Jul 2012 17:37:34 +0000
Resent-Message-Id: <E1SwGNy-000882-Uq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SwGNk-00084S-UD for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 17:37:20 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SwGNj-0004UA-DO for ietf-http-wg@w3.org; Tue, 31 Jul 2012 17:37:20 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q6VHatLZ012356 for ietf-http-wg@w3.org; Tue, 31 Jul 2012 19:36:55 +0200
Date: Tue, 31 Jul 2012 19:36:55 +0200
From: Willy Tarreau <w@1wt.eu>
To: ietf-http-wg@w3.org
Message-ID: <20120731173655.GA12322@1wt.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwGNj-0004UA-DO 306d8c1d004b32f0ec1fd7b19ae16218
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP/2: Another reason to find a safer encoding
Archived-At: <http://www.w3.org/mid/20120731173655.GA12322@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14852
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,

Ivan Ristic recently presented a wide collection of methods to bypass
web application firewalls using implementation differences in HTTP
stacks :

   https://community.qualys.com/blogs/securitylabs/2012/07/25/protocol-level-evasion-of-web-application-firewalls

While some of them have already been discussed to great extents, including
here, I think it's worth a read and reminds us that we really need to
address the ambiguities of request encoding if we want to make the web
safer.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 10:57:18 2012
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 2436621F8552 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 10:57:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.846
X-Spam-Level: 
X-Spam-Status: No, score=-6.846 tagged_above=-999 required=5 tests=[AWL=-0.020, BAYES_00=-2.599, J_CHICKENPOX_57=0.6, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 fKrAJ5luVDhr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 10:57:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A794721F888B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 10:57:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwGfk-0008E5-8x for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 17:55:56 +0000
Resent-Date: Tue, 31 Jul 2012 17:55:56 +0000
Resent-Message-Id: <E1SwGfk-0008E5-8x@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SwGfV-0008CH-Jp for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 17:55:41 +0000
Received: from ch1ehsobe001.messaging.microsoft.com ([216.32.181.181] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SwGfT-00055Q-Cc for ietf-http-wg@w3.org; Tue, 31 Jul 2012 17:55:41 +0000
Received: from mail93-ch1-R.bigfish.com (10.43.68.245) by CH1EHSOBE014.bigfish.com (10.43.70.64) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 17:55:12 +0000
Received: from mail93-ch1 (localhost [127.0.0.1])	by mail93-ch1-R.bigfish.com (Postfix) with ESMTP id 0A99D4201F7	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 17:55:12 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC106.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -32
X-BigFish: VS-32(zz98dI9371Ic89bhbafcMzz1202hzz1033IL8275bh8275dh186Mz2fh2a8h683h839h93fhd25hf0ah107ah)
Received-SPF: pass (mail93-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=padhye@microsoft.com; helo=TK5EX14HUBC106.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.236.5;KIP:(null);UIP:(null);(null);H:BY2PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail93-ch1 (localhost.localdomain [127.0.0.1]) by mail93-ch1 (MessageSwitch) id 1343757310321741_9310; Tue, 31 Jul 2012 17:55:10 +0000 (UTC)
Received: from CH1EHSMHS027.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.234])	by mail93-ch1.bigfish.com (Postfix) with ESMTP id 4A2E118004E for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 17:55:10 +0000 (UTC)
Received: from TK5EX14HUBC106.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS027.bigfish.com (10.43.70.27) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 17:55:09 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.80.61) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 31 Jul 2012 17:55:04 +0000
Received: from mail55-co1-R.bigfish.com (10.243.78.249) by CO1EHSOBE003.bigfish.com (10.243.66.66) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 17:55:04 +0000
Received: from mail55-co1 (localhost [127.0.0.1])	by mail55-co1-R.bigfish.com (Postfix) with ESMTP id 940547C01BC	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 31 Jul 2012 17:55:04 +0000 (UTC)
Received: from mail55-co1 (localhost.localdomain [127.0.0.1]) by mail55-co1 (MessageSwitch) id 1343757303336149_30056; Tue, 31 Jul 2012 17:55:03 +0000 (UTC)
Received: from CO1EHSMHS016.bigfish.com (unknown [10.243.78.230])	by mail55-co1.bigfish.com (Postfix) with ESMTP id 501EB1C004A;	Tue, 31 Jul 2012 17:55:03 +0000 (UTC)
Received: from BY2PRD0310HT005.namprd03.prod.outlook.com (157.56.236.5) by CO1EHSMHS016.bigfish.com (10.243.66.26) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 17:55:02 +0000
Received: from BY2PRD0310MB354.namprd03.prod.outlook.com ([169.254.6.38]) by BY2PRD0310HT005.namprd03.prod.outlook.com ([10.255.80.40]) with mapi id 14.16.0175.005; Tue, 31 Jul 2012 17:54:57 +0000
From: Jitu Padhye <padhye@microsoft.com>
To: Roberto Peon <grmocg@gmail.com>
CC: Henrik Frystyk Nielsen <henrikn@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71QAF3mGAACgqBmAAHPVBAAAWFvQg
Date: Tue, 31 Jul 2012 17:54:57 +0000
Message-ID: <4C032A8F343D304CBF7C6EE7AF002F44187FB934@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CAP+FsNeyziP0odLMOTQ1h9Ucnw+R9Hga1tJ0Wbjz=YVbosjFCg@mail.gmail.com> <4C032A8F343D304CBF7C6EE7AF002F44187F841B@BY2PRD0310MB354.namprd03.prod.outlook.com> <CAP+FsNcNkSi1TRS2U5YRhXXJmh92AfceN_xH1FZ7J7CwO95eoA@mail.gmail.com>
In-Reply-To: <CAP+FsNcNkSi1TRS2U5YRhXXJmh92AfceN_xH1FZ7J7CwO95eoA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.27]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BY2PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC106.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC106.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.181; envelope-from=padhye@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SwGfT-00055Q-Cc 917e6443fbe61f06c3ff677fa826a6d2
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/4C032A8F343D304CBF7C6EE7AF002F44187FB934@BY2PRD0310MB354.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14853
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>

PiBJdCB3b3VsZCBiZSBpbnN0cnVjdGl2ZSB0byBsb29rIGF0IG1vcmUgdGhhbiBqdXN0IHRoZSBm
aXJzdCBwYWdlIGxvYWQuIEkgc3VzcGVjdCBtb3N0IHNpdGUgZGVzaWduZXJzIGFuZCBzaXRlcyBp
bnRlbmQgdG8gaGF2ZSB0aGUgdXNlciBjb250aW51ZSBpbnRlcmFjdGluZyB3aXRoIHRoZSBzaXRl
IGZvciBtb3JlIHRoYW4ganVzdCB0aGUgb25lIHBhZ2UgdmlldyA6KSBUaGlzIGlzIHRoZSBjdXJz
ZSBvZiB0aGUgYmVuY2htYXJrLS0gc29tZW9uZSBhbHdheXMgZGVtYW5kaW5nIG1vcmUuIEluIHRo
aXMgY2FzZSwgSSBkbyB0aGluayBpdCBpcyBpbXBvcnRhbnQsIHRob3VnaCwgc2luY2UgdGhlIHBh
dHRlcm4gaXMgZnVydGhlciBzaXRlIGludm9sdmVtZW50IG11Y2ggb2YgdGhlIHRpbWUuDQoNClll
cywgSSBhZ3JlZS4gVGhpcyB3aWxsIGJlIG1vcmUgdXNlZnVsLiDCoEkgd2lsbCBhZGQgaXQgZm9y
IHRoaW5ncyB0byBjaGVjayBpbiB0aGUgbmV4dCBzZXQuIA0KwqANCj4gV2hhdCBJIG1lYW4gd2Fz
OiBJZiB0aGUgZW50aXR5LWJvZHkgZm9yIHRoZSBzaXRlIHdhcyBvcmlnaW5hbGx5IGNvbXByZXNz
ZWQsIGFyZSB5b3Ugc2VuZGluZyBpdCBjb21wcmVzc2VkIGluIHlvdXIgdGVzdHMsIG9yIHdvdWxk
IGl0IGVuZCB1cCB1bmNvbXByZXNzZWQ/DQrCoA0KQWguIEkgc2VlLiBJIGRpZCBub3QgY2hlY2sg
d2hhdCB0aGUgb3JpZ2luYWwgY29tcHJlc3Npb24gc3RhdHVzIHdhcy4NCsKgDQoNCj4gVGhlIHJl
c291cmNlcyByZWZlcmVuY2VkIGZyb20gaW5kZXguaHRtbCBhcmUsIG9yIGFyZSBub3QgcGFydCBv
ZiB0aGUgdGVzdD8gSSdkIGd1ZXNzIHRoYXQgdGhleSBhcmUsIGFuZCBJJ3ZlIGNvbmZ1c2VkIHlv
dSBzb21laG93LsKgDQrCoA0KVGhleSBhcmUgLi4uLiAoZS5nLiBpbWFnZXMsIGphdmFzY3JpcHRz
LCBjc3MgZmlsZXMgZXRjLiApDQrCoA0KPiBJJ20gbm90IGZpbmRpbmcgd2hhdCBJJ20gc3VnZ2Vz
dGluZyBpbiB0aGF0IFJGQywgYnV0IGl0IGlzIHBvc3NpYmxlIGl0IGlzIHRoZXJlIDopDQoNCkkg
b25seSBtZWFudCBpdCBhcyBhbiBhdHRlbXB0IHRvIGRvIHNvbWV0aGluZyBzaW1pbGFyIC4uLiBJ
IHdvcmtlZCBvbiBpbml0aWFsIHZlcnNpb24gb2YgdGhhdCBhbG9uZyB0aW1lIGFnbyAoYSBjb21t
b24gc3VpdGUgb2YgdGVzdHMvc2NlbmFyaW9zIHRvIHRlc3QgcHJvcG9zZWQgY29uZ2VzdGlvbiBj
b250cm9sIGFsZ29yaXRobXMpLCBzbyBJIHRob3VnaHQgb2YgaXQgYnkgYW5hbG9neS4gDQoNCsKg
DQpGcm9tOiBSb2JlcnRvIFBlb24gW21haWx0bzpncm1vY2dAZ21haWwuY29tXSANClNlbnQ6IFN1
bmRheSwgSnVseSAyOSwgMjAxMiAzOjE2IFBNDQpUbzogSGVucmlrIEZyeXN0eWsgTmllbHNlbg0K
Q2M6IGlldGYtaHR0cC13Z0B3My5vcmc7IEdhYnJpZWwgTW9udGVuZWdybzsgUm9iIFRyYWNlOyBB
ZGFsYmVydG8gRm9yZXN0aSAoTVMgT1BFTiBURUNIKQ0KDQpTdWJqZWN0OiBSZTogSFRUUCAyLjAg
YW5kIGEgRmFzdGVyLCBtb3JlIE1vYmlsZS1mcmllbmRseSB3ZWINCsKgDQrCoA0KSW50ZXJlc3Rp
bmcgZGF0YSHCoFF1ZXN0aW9ucyBhYm91dCB0ZXN0IG1ldGhvZG9sb2d5Og0KwqANCldhcyB0aGUg
Y2xpZW50L3NlcnZlciBzcGVha2luZyBTUERZLzIgb3IgU1BEWS8zPw0KQSBwZXJjZW50YWdlIG9m
IHRoZSB0aW1lLCBDaHJvbWUgd2lsbCBub3QgdXNlIFNQRFkgKGl0IGRlY2lkZXMgdGhpcyBhdCBz
dGFydHVwKS4gRGlkIHlvdSB2ZXJpZnkgdGhhdCBpdCB3YXMgYWx3YXlzIHNwZWFraW5nIFNQRFk/
IChJJ2QgZ3Vlc3MgeWVzISkNCldhcyB0aGUgc2VydmVyIHVzaW5nIHRoZSBDV05EIHNldCBzZW50
IGluIHRoZSBTRVRUSU5HUyBmcmFtZSwgYW5kIHdhcyBpdCBzZW5kaW5nIGl0IHRvIHRoZSBjbGll
bnQ/DQpXaGF0IHdhcyB0aGUgc2VydmVyJ3MgaW5pdGN3bmQ/DQpXYXMgc2xvdy1zdGFydC1hZnRl
ci1pZGxlIHR1cm5lZCBvZmYgb24gdGhlIGtlcm5lbD8NCkhvdyBsb25nIHdlcmUgdGhlIHZhcmlv
dXMgY29ubmVjdGlvbnMgaW4gc2xvdyBzdGFydCwgYW5kIGRpZCB0aGV5IGV2ZXIgZXhpdCBzbG93
LXN0YXJ0Pw0KV2FzIHRoZSBTU0wgY2VydCBjaGFpbiB0aGUgc2FtZSBzaXplIGFuZCB1c2luZyB0
aGUgc2FtZSBhbGdvcml0aG1zPw0KV2FzIHRoZSBkdW1teW5ldCAob3IgZXF1aXZhbGVudCkgY29u
ZmlndXJlZCB0byBoYXZlIGFwcHJvcHJpYXRlIGJ1ZmZlciBzaXplIChlbHNlIGl0IGRvZXMgcGFj
a2V0IGRyb3BzIHNpbGVudGx5KT8NCldlcmUgdGhlc2UgYWxsIGNvbGQtY29ubmVjdGlvbiwgY29s
ZC1jYWNoZSBmaXJzdC1wYWdlIGxvYWQgdGltaW5ncz8gVGhlIHVzZSBvZiBrZWVwLWFsaXZlIGlu
IGZpZ3VyZSAzIHdvdWxkIHNlZW0gdG8gaW5kaWNhdGUgb3RoZXJ3aXNlLCBidXQgSSdtIG5vdCBz
dXJlIHdoaWNoIGFyZSB3aGljaC4uLg0KRGlkIHlvdSBwdXQgQ2hyb21pdW0gaW50byAncmVwbGF5
JyBtb2RlICh3aGVyZSBkYXRlIGFuZCByYW5kb20gYWx3YXlzIHJldHVybiBpbiB0aGUgc2FtZSBt
YW5uZXIsIHJlZ2FyZGxlc3Mgb2YgYWN0dWFsIGRhdGUpPw0KQW55IHBhcnRpY3VsYXIgcmVhc29u
IHRoYXQgeW91IHR1cm5lZCBvZmYgZW50aXR5LWJvZHkgY29tcHJlc3Npb24gaW4gQXBhY2hlPyBX
ZXJlIHRoZSByZXNvdXJjZXMgc2F2ZWQgdmVyYmF0aW0gZnJvbSBXaW5IVFRyYWNrIChpbiB3aGlj
aCBjYXNlIGl0J2QgbWFrZSBzZW5zZSk/DQpXYXMgdGhlIHNlcnZlciBlbXVsYXRpbmcgdGhlIG9y
aWdpbmFsIHNlcnZlcidzIHRoaW5rIHRpbWVzPyBUaGlzIGNhbiBoYXZlIGEgdmVyeSwgdmVyeSBs
YXJnZSBpbXBhY3Qgb24gcGlwZWxpbmVkIEhUVFAgcGVyZm9ybWFuY2UuwqANCsKgDQpXZSd2ZSBm
b3VuZCB0aGF0IHRoZSB2YXJpb3VzIGF1dG9tYXRpYyBwYWdlLWlzLWRvbmUgc2lnbmFscyBhcmUg
b2Z0ZW4gbGVzcyB1c2VmdWwgdGhhbiBzb21ldGhpbmcgd2hpY2ggbWVhc3VyZXMgdGhlIGFib3Zl
LXRoZS1mb2xkIHBhZ2UgbG9hZCB0aW1lLiBUaGlzIGdlbmVyYWxseSBpbnZvbHZlcyBjYW1lcmFz
IHBvaW50ZWQgYXQgc2NyZWVucyBhbmQgYSBodW1hbiBsb29raW5nIGF0IHRoZSB2aWRlbyB0byBk
ZXRlcm1pbmUgYXQgd2hpY2ggZnJhbWUgdGhlIHBhZ2UgaXMgdXNlZnVsLCBhbmQgZGVzaWduYXRp
bmcgdGhhdCBmcmFtZSBhcyAnZG9uZS1mb3ItYWJvdmUtdGhlLWZvbGQnDQrCoA0KSSdkIGxvdmUg
dG8gc2VlIGlmIHdlIGNvdWxkIGdldCBhIGNvbW1vbiBzdWl0ZSBvZiB0ZXN0IGRhdGEgb3ZlciB3
aGljaCB3ZSBjb3VsZCBhbGwgcnVuIGV4cGVyaW1lbnRzL2JlbmNobWFya3MuDQpJcyBhbnlvbmUg
ZWxzZSBpbnRlcmVzdGVkIGluIGRvaW5nIHNvPw0KwqANCi09Ug0KT24gU3VuLCBKdWwgMjksIDIw
MTIgYXQgMToxNCBQTSwgSGVucmlrIEZyeXN0eWsgTmllbHNlbiA8aGVucmlrbkBtaWNyb3NvZnQu
Y29tPiB3cm90ZToNCkRlYXIgQWxsLA0KwqANCldlIHJlbWFpbiBjb21taXR0ZWQgdG8gdGhlIEhU
VFAvMi4wIHN0YW5kYXJkcyBwcm9jZXNzIGFuZCBsb29rIGZvcndhcmQgdG8gc2VlaW5nIG1hbnkg
b2YgeW91IHRoaXMgd2VlayBhdCB0aGUgSUVURiBtZWV0aW5nIGluIFZhbmNvdXZlciB0byBjb250
aW51ZSB0aGUgZGlzY3Vzc2lvbi7CoCBJbiB0aGUgc3Bpcml0IG9mIG9wZW4gZGlzY3Vzc2lvbiwg
d2Ugd2FudGVkIHRvIHNoYXJlIHNvbWUgb2JzZXJ2YXRpb25zIGluIGFkdmFuY2Ugb2YgdGhlIG1l
ZXRpbmcgYW5kIHNoYXJlIHRoZSBsYXRlc3QgcHJvZ3Jlc3MgZnJvbSBwcm90b3R5cGluZyBhbmQg
dGVzdGluZy4gDQrCoA0KVGhlcmUgYXJlIGN1cnJlbnRseSB0aHJlZSBkaWZmZXJlbnQgcHJvcG9z
YWxzIHRoYXQgdGhlIGdyb3VwIGlzIHdvcmtpbmcgdGhyb3VnaDoNCsKgDQrCoMKgICogU1BEWSAo
aHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtbWJlbHNoZS1odHRwYmlzLXNwZHkpLA0K
wqDCoCAqIEhUVFAgU3BlZWQrTW9iaWxpdHkgKGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2Ry
YWZ0LW1vbnRlbmVncm8taHR0cGJpcy1zcGVlZC1tb2JpbGl0eSksDQrCoMKgICogTmV0d29yay1G
cmllbmRseSBIVFRQIFVwZ3JhZGUgKGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LXRh
cnJlYXUtaHR0cGJpcy1uZXR3b3JrLWZyaWVuZGx5KS4gDQrCoA0KVGhlIGdvb2QgbmV3cyBpcyB0
aGF0IGV2ZXJ5b25lIGludm9sdmVkIHdhbnRzIHRvIG1ha2UgdGhlIFdlYiBmYXN0ZXIsIG1vcmUg
c2NhbGFibGUsIG1vcmUgc2VjdXJlLCBhbmQgbW9yZSBtb2JpbGUtZnJpZW5kbHksIGFuZCBlYWNo
IHByb3Bvc2FsIGhhcyBiZW5lZml0cyBpbiBkaWZmZXJlbnQgYXJlYXMgdGhhdCB0aGUgZGlzY3Vz
c2lvbiBjYW4gY2hvb3NlIGZyb20uDQrCoA0KLS0tIEEgR2VudWluZWx5IEZhc3RlciBXZWIgLS0t
DQrCoA0KVGhlIFNQRFkgcHJvcG9zYWwgaGFzIGJlZW4gZ3JlYXQgZm9yIHJhaXNpbmcgYXdhcmVu
ZXNzIG9mIFdlYiBwZXJmb3JtYW5jZS4gSXQgdGFrZXMgYSDigJxjbGVhbiBzbGF0ZeKAnSBhcHBy
b2FjaCB0byBpbXByb3ZpbmcgSFRUUC4NCsKgDQpUbyBjb21wYXJlIHRoZSBwZXJmb3JtYW5jZSBv
ZiBTUERZIHdpdGggSFRUUC8xLjEgd2UgaGF2ZSBydW4gdGVzdHMgY29tcGFyaW5nIGRvd25sb2Fk
IHRpbWVzIG9mIHNldmVyYWwgcHVibGljIHdlYiBzaXRlcyB1c2luZyBhIGNvbnRyb2xsZWQgdGVz
dGVkIHN0dWR5LiBUaGUgdGVzdCB1c2VzIHB1YmxpY2FsbHkgYXZhaWxhYmxlIHNvZnR3YXJlIHJ1
biB3aXRoIG1vc3RseSBkZWZhdWx0IGNvbmZpZ3VyYXRpb25zIHdoaWxlIGFwcGx5aW5nIGFsbCB0
aGUgY3VycmVudGx5IGF2YWlsYWJsZSBvcHRpbWl6YXRpb25zIHRvIEhUVFAvMS4xLiBZb3UgY2Fu
IGZpbmQgYSBwcmVsaW1pbmFyeSByZXBvcnQgb24gdGhlIHRlc3QgcmVzdWx0cyBoZXJlOiBodHRw
Oi8vcmVzZWFyY2gubWljcm9zb2Z0LmNvbS9hcHBzL3B1YnMvP2lkPTE3MDA1OS4gVGhlIHJlc3Vs
dHMgbWlycm9yIG90aGVyIGRhdGEgKGh0dHA6Ly93d3cuZ3V5cG8uY29tL3RlY2huaWNhbC9ub3Qt
YXMtc3BkeS1hcy15b3UtdGhvdWdodCkgdGhhdCBpbmRpY2F0ZSBtaXhlZCByZXN1bHRzIHdpdGgg
U1BEWSBwZXJmb3JtYW5jZS4NCsKgDQpPdXIgcmVzdWx0cyBpbmRpY2F0ZSBhbG1vc3QgZXF1YWwg
cGVyZm9ybWFuY2UgYmV0d2VlbiBTUERZIGFuZCBIVFRQLzEuMSB3aGVuIG9uZSBhcHBsaWVzIGFs
bCB0aGUga25vd24gb3B0aW1pemF0aW9ucyB0byBIVFRQLzEuMS4gU1BEWeKAmXMgcGVyZm9ybWFu
Y2UgaW1wcm92ZW1lbnRzIGFyZSBub3QgY29uc2lzdGVudCBhbmQgc2lnbmlmaWNhbnQuIFdlIHdp
bGwgY29udGludWUgb3VyIHRlc3RpbmcsIGFuZCB3ZSB3ZWxjb21lIG90aGVycyB0byBwdWJsaXNo
IHRoZWlyIHJlc3VsdHMgc28gdGhhdCBIVFRQLzIuMCBjYW4gY2hvb3NlIHRoZSBiZXN0IGNoYW5n
ZXMgYW5kIGRlbGl2ZXIgdGhlIGJlc3QgcG9zc2libGUgcGVyZm9ybWFuY2UgYW5kIHNjYWxhYmls
aXR5IGltcHJvdmVtZW50cyBjb21wYXJlZCB0byBIVFRQLzEuMS4NCsKgDQrCoA0KLS0tIFRha2lu
ZyB0aGUgQmVzdCBmcm9tIEVhY2ggLS0tDQrCoA0KU3BlZWQgaXMgb25lIG9mIHNldmVyYWwgYXJl
YXMgb2YgaW1wcm92ZW1lbnQuIEN1cnJlbnRseSwgdGhlcmXigJlzIG5vIGNsZWFyIGNvbnNlbnN1
cyB0aGF0IGFueSBvbmUgb2YgdGhlIHByb3Bvc2FscyBpcyB0aGUgY2xlYXIgY2hvaWNlIG9yIGV2
ZW4gc3RhcnRpbmcgcG9pbnQgZm9yIEhUVFAvMi4wIChiYXNlZCBvbiBvdXIgcmVhZGluZyB0aGUg
RXhwcmVzc2lvbnMgb2YgSW50ZXJlc3QgYW5kIGRpc2N1c3Npb25zIG9uIHRoaXMgbWFpbGluZyBs
aXN0LiBBIGdvb2QgZXhhbXBsZSBvZiB0aGlzIGlzIHRoZSB2aWdvcm91cyBkaXNjdXNzaW9uIGFy
b3VuZCBtYW5kYXRpbmcgVExTIGVuY3J5cHRpb24gKGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1s
L3JmYzUyNDYpIGZvciBIVFRQLzIuMC4gDQrCoA0KV2UgdGhpbmsgYSBnb29kIGFwcHJvYWNoIGZv
ciBIVFRQLzIuMCBpcyB0byB0YWtlIHRoZSBiZXN0IHNvbHV0aW9uIGZvciBlYWNoIG9mIHRoZXNl
IGFyZWFzIGZyb20gZWFjaCBvZiB0aGUgcHJvcG9zYWxzLiDCoFRoaXMgYXBwcm9hY2ggaGVscHMg
dXMgZm9jdXMgdGhlIGRpc2N1c3Npb24gZm9yIGVhY2ggYXJlYSBvZiB0aGUgcHJvdG9jb2wuIE9m
IGNvdXJzZSwgdGhpcyBhcHByb2FjaCB3b3VsZCBzdGlsbCBhbGxvdyB0aGUgc3RhbmRhcmQgdG8g
YmVuZWZpdCBmcm9tIHRoZSBleHRlbnNpdmUga25vd2xlZGdlIGdhaW5lZCBmcm9tIGltcGxlbWVu
dGluZyBleGlzdGluZyBwcm9wb3NhbHMuwqAgDQrCoA0KV2UgYmVsaWV2ZSB0aGF0IHRoZSBncm91
cCBjYW4gY29udmVyZ2Ugb24gY29uc2Vuc3VzIGluIHRoZSBmb2xsb3dpbmcgYXJlYXMsIGJhc2Vk
IG9uIG91ciByZWFkaW5nIG9mIHRoZSBFeHByZXNzaW9ucyBvZiBJbnRlcmVzdCwgYnkgc3RhcnRp
bmcgZnJvbSB0aGUgZGlmZmVyZW50IHByb3Bvc2Fscy4NCsKgDQotLS0tLS0tLS0tLS0tLS0tLS18
LS0tLS0tLS0tLS0tLS0tLS0tDQpBcmVhwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgfCBPcGlu
aW9uIHRoYXQgDQrCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqB8IHNlZW1zIHRv
IHByZXZhaWwNCi0tLS0tLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0NCjEuIENvbXBy
ZXNzaW9uwqDCoMKgIHwgU1BEWSBvciBGcmllbmRseQ0KLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0t
LS0tLS0tLS0tLS0tLQ0KMi4gTXVsdGlwbGV4aW5nwqDCoCB8IFNQRFkNCi0tLS0tLS0tLS0tLS0t
LS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0NCjMuIE1hbmRhdG9yeSBUTFPCoCB8IFNwZWVkK01vYmls
aXR5DQotLS0tLS0tLS0tLS0tLS0tLS18LS0tLS0tLS0tLS0tLS0tLS0tDQo0LiBOZWdvdGlhdGlv
bsKgwqDCoCB8IEZyaWVuZGx5IG9yDQrCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
IHzCoMKgIFNwZWVkK01vYmlsaXR5DQotLS0tLS0tLS0tLS0tLS0tLS18LS0tLS0tLS0tLS0tLS0t
LS0tDQo1LiBDbGllbnQgUHVsbC/CoMKgIHwgU3BlZWQrTW9iaWxpdHkNCsKgwqDCoMKgwqAgU2Vy
dmVyIFB1c2ggfCANCi0tLS0tLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0NCjYuIEZs
b3cgQ29udHJvbMKgwqAgfCBTUERZDQotLS0tLS0tLS0tLS0tLS0tLS18LS0tLS0tLS0tLS0tLS0t
LS0tDQo3LiBXZWJTb2NrZXRzwqDCoMKgwqAgfCBTcGVlZCtNb2JpbGl0eQ0KLS0tLS0tLS0tLS0t
LS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLQ0KwqANCkJlbG93LCB3ZSBkaXNjdXNzIGVhY2ggSFRU
UC8yLjAgZWxlbWVudCBhbmQgdGhlIGN1cnJlbnQgY29uc2Vuc3VzIHRoYXQgYXBwZWFycyB0byBi
ZSBmb3JtaW5nIHdpdGhpbiB0aGUgV29ya2luZyBHcm91cC4NCsKgDQoxLiBDb21wcmVzc2lvbg0K
wqANCkNvbXByZXNzaW9uIGlzIHNpbXBsZSB0byBjb25jZXB0dWFsaXplIGFuZCBpbXBsZW1lbnQs
IGFuZCBpdCBpcyBpbXBvcnRhbnQuIFByb3hpZXMgYW5kIG90aGVyIGJveGVzIGluIHRoZSBtaWRk
bGUgb24gdG9kYXnigJlzIFdlYiBvZnRlbiBmYWNlIHByb2JsZW1zIHdpdGggaXQuIFRoZSBIVFRQ
LzIuMCBkaXNjdXNzaW9uIGhhcyBiZWVuIHJpY2ggYnV0IHdpdGggbGl0dGxlIGNvbnNlbnN1cy4N
ClRob3VnaCBzb21lIHN0dWRpZXMgc3VnZ2VzdCB0aGF0IFNQRFnigJlzIGhlYWRlciBjb21wcmVz
c2lvbiBhcHByb2FjaCBzaG93cyBwcm9taXNlLCBvdGhlciBzdHVkaWVzIHNob3cgdGhpcyBjb21w
cmVzc2lvbiB0byBiZSBwcm9oaWJpdGl2ZWx5IG9uZXJvdXMgZm9yIGludGVybWVkaWFyeSBkZXZp
Y2VzLiBNb3JlIGluZm9ybWF0aW9uIGhlcmUgd291bGQgaGVscCB1cyBtYWtlIHN1cmUgd2XigJly
ZSBtYWtpbmcgdGhlIFdlYiBmYXN0ZXIgYW5kIGJldHRlci4gDQrCoA0KQWxzbywgYW4gZW50aXJl
IHNlZ21lbnQgb2YgaW1wbGVtZW50ZXJzIGFyZSBub3QgaW50ZXJlc3RlZCBpbiBjb21wcmVzc2lv
biBhcyBkZWZpbmVkIGluIFNQRFkuwqAgVGhhdOKAmXMgYSBjaGFsbGVuZ2UgYmVjYXVzZSB0aGUg
bGF0ZXN0IHN0cmF3bWFuIGZvciB0aGUgd29ya2luZyBncm91cCBjaGFydGVyIChodHRwOi8vbGlz
dHMudzMub3JnL0FyY2hpdmVzL1B1YmxpYy9pZXRmLWh0dHAtd2cvMjAxMkp1bFNlcC8wNzg0Lmh0
bWwpIHN0YXRlcyB0aGF0IHRoZSDigJxyZXN1bHRpbmcgc3BlY2lmaWNhdGlvbihzKSBhcmUgZXhw
ZWN0ZWQgdG8gYmUgbWVldCB0aGVzZSBnb2FscyBmb3IgY29tbW9uIGV4aXN0aW5nIGRlcGxveW1l
bnRzIG9mIEhUVFA7IGluIHBhcnRpY3VsYXIsIOKApiBpbnRlcm1lZGlhdGlvbiAoYnkgcHJveGll
cywgY29ycG9yYXRlIGZpcmV3YWxscywg4oCYcmV2ZXJzZeKAmSBwcm94aWVzIGFuZCBDb250ZW50
IERlbGl2ZXJ5IE5ldHdvcmtzKS7igJ0gDQrCoA0KV2UgdGhpbmsgdGhlIFNQRFkgb3IgRnJpZW5k
bHkgcHJvcG9zYWxzIGlzIGEgZ29vZCBzdGFydGluZyBwb2ludCBmb3IgcHJvZ3Jlc3MuDQrCoA0K
Mi4gTXVsdGlwbGV4aW5nDQrCoA0KQWxsIHRocmVlIHByb3Bvc2FscyBkZWZpbmUgc2ltaWxhciBt
dWx0aXBsZXhpbmcgbW9kZWxzLiBXZSBoYXZlbuKAmXQgaGFkIHN1YnN0YW50aWFsIGRpc2N1c3Np
b24gb24gdGhlIGRpZmZlcmVuY2VzLiBUaGlzIGxhY2sgb2YgZGlzY3Vzc2lvbiBzdWdnZXN0cyB0
aGF0IHRoZXJlIGlzIHJvdWdoIGNvbnNlbnN1cyBhcm91bmQgdGhlIFNQRFkgZnJhbWluZyBmb3Ig
bXVsdGlwbGV4aW5nLiANCsKgDQpXZSB0aGluayB0aGF0IHRoZSBTUERZIHByb3Bvc2FsIGlzIGEg
Z29vZCBzdGFydGluZyBwb2ludCBoZXJlIGFuZCBiZXN0IGNhcHR1cmVzIHRoZSBjdXJyZW50IGNv
bnNlbnN1cy4NCsKgDQozLiBNYW5kYXRpbmcgQWx3YXlzIE9uIFRMUyANCsKgDQpUaGVyZSBpcyBk
ZWZpbml0ZWx5IG5vIGNvbnNlbnN1cyB0byBtYW5kYXRlIFRMUyBmb3IgYWxsIFdlYiBjb21tdW5p
Y2F0aW9uLCBidXQgc29tZSBtYWpvciBpbXBsZW1lbnRlcnMgaGF2ZSBzdGF0ZWQgdGhleSB3aWxs
IG5vdCB0byBhZG9wdCBIVFRQLzIuMCB1bmxlc3MgdGhlIHdvcmtpbmcgZ3JvdXAgc3VwcG9ydHMg
YSDigJxUTFMgaXMgbWFuZGF0b3J54oCdIHBvc2l0aW9uLiBBIHZlcnkgcHJlbGltaW5hcnkgbm90
ZSBmcm9tIHRoZSBjaGFpciAoaHR0cDovL2xpc3RzLnczLm9yZy9BcmNoaXZlcy9QdWJsaWMvaWV0
Zi1odHRwLXdnLzIwMTJKdWxTZXAvMDYwMS5odG1sKSBzdGF0ZXMgdGhhdCB0aGVyZSBpcyBhIGxh
Y2sgb2YgY29uc2Vuc3VzIGZvciBtYW5kYXRpbmcgVExTLiANCsKgDQpXZSB0aGluayB0aGUgU3Bl
ZWQrTW9iaWxpdHkgcHJvcG9zYWwgaXMgYSBnb29kIHN0YXJ0aW5nIHBvaW50IGhlcmUgYXMgaXQg
cHJvdmlkZXMgb3B0aW9ucyB0byB0dXJuIFRMUyBvbiAob3Igbm90KS4NCsKgDQo0LiBOZWdvdGlh
dGlvbg0KwqANCk9ubHkgdHdvIG9mIHRoZSBwcm9wb3NhbHMgYWN0dWFsbHkgZGlzY3VzcyBob3cg
ZGlmZmVyZW50IGVuZHBvaW50cyBhZ3JlZSB0byB1c2UgSFRUUC8yLjAuIA0KwqANCihUaGUgU1BE
WSBwcm9wb3NhbCBkb2VzIG5vdCBzcGVjaWZ5IGEgbmVnb3RpYXRpb24gbWV0aG9kLiBDdXJyZW50
IHByb3RvdHlwZSBpbXBsZW1lbnRhdGlvbnMgdXNlIHRoZSBUTFMtTlBOIChodHRwOi8vdG9vbHMu
aWV0Zi5vcmcvaHRtbC9kcmFmdC1hZ2wtdGxzLW5leHRwcm90b25lZykgZXh0ZW5zaW9uLsKgIFdo
aWxlIHRoZSBvdGhlciBwcm9wb3NhbHMgdXNlIEhUVFAgVXBncmFkZSB0byBuZWdvdGlhdGUgSFRU
UC8yLjAsIHNvbWUgcGFydGllcyBoYXZlIGV4cHJlc3NlZCBub24tc3VwcG9ydCBmb3IgdGhpcyBt
ZXRob2QgYXMgd2VsbC4pIA0KwqANCldlIHRoaW5rIGVpdGhlciBvZiB0aGUgRnJpZW5kbHkgb3Ig
U3BlZWQrTW9iaWxpdHkgcHJvcG9zYWxzIGlzIGEgZ29vZCBzdGFydGluZyBwb2ludCBiZWNhdXNl
IHRoZXkgYXJlIHRoZSBvbmx5IG9uZXMgdGhhdCBoYXZlIGFueSBsYW5ndWFnZSBpbiB0aGlzIHJl
c3BlY3QuwqAgDQrCoA0KNS4gQ2xpZW50IFB1bGwgYW5kIFNlcnZlciBQdXNoDQrCoA0KVGhlcmUg
YXJlIHRyYWRlb2ZmcyBiZXR3ZWVuIGEgc2VydmVyIHB1c2ggbW9kZWwgYW5kIGEgY2xpZW50IHB1
bGwgbW9kZWwuIFRoZSBtYWluIHF1ZXN0aW9uIGlzIGhvdyB0byBpbXByb3ZlIHBlcmZvcm1hbmNl
IHdoaWxlIHJlc3BlY3RpbmcgYmFuZHdpZHRoIGFuZCBjbGllbnQgY2FjaGVzLiANCsKgDQpTZXJ2
ZXIgUHVzaCBoYXMgbm90IGhhZCB0aGUgc2FtZSBsZXZlbCBvZiBpbXBsZW1lbnRhdGlvbiBhbmQg
ZXhwZXJpbWVudGF0aW9uIGFzIHRoZSBvdGhlciBmZWF0dXJlcyBpbiBTUERZLiBNb3JlIGluZm9y
bWF0aW9uIGhlcmUgd291bGQgaGVscCB1cyBtYWtlIHN1cmUgd2XigJlyZSBtYWtpbmcgdGhlIFdl
YiBmYXN0ZXIgYW5kIGJldHRlci4gDQrCoA0KV2UgdGhpbmsgdGhlIFNwZWVkK01vYmlsaXR5IHBy
b3Bvc2FsIGlzIGEgZ29vZCBzdGFydGluZyBwb2ludCBoZXJlLCBzdWdnZXN0aW5nIHRoYXQgdGhp
cyBpc3N1ZSBtYXkgYmUgYmV0dGVyIHNlcnZlZCBpbiBhIHNlcGFyYXRlIGRvY3VtZW50IHJhdGhl
ciB0aGFuIHRpZWQgdG8gdGhlIGNvcmUgSFRUUC8yLjAgcHJvdG9jb2wuIA0KwqANCjYuIEZsb3cg
Q29udHJvbA0KwqANClRoZXJlIGhhcyBvbmx5IGJlZW4gbGltaXRlZCBkaXNjdXNzaW9uIGluIHRo
ZSBIVFRQYmlzIHdvcmtpbmcgZ3JvdXAgb24gZmxvdyBjb250cm9sLiBGbG93IENvbnRyb2wgb2Zm
ZXJzIGEgbG90IG9mIG9wcG9ydHVuaXR5IG1ha2UgdGhlIFdlYiBmYXN0ZXIgYXMgd2VsbCBhcyB0
byBicmVhayBpdDsgZm9yIGV4YW1wbGUsIGltcGxlbWVudGF0aW9ucyBuZWVkIHRvIGZpZ3VyZSBv
dXQgaG93IHRvIG9wdGltaXplIGZvciBvcHBvc2luZyBnb2FscyAobGlrZSB0aHJvdWdocHV0IGFu
ZCByZXNwb25zaXZlbmVzcykgYXQgdGhlIHNhbWUgdGltZS4gDQrCoA0KVGhlIGN1cnJlbnQgdmVy
c2lvbiBvZiB0aGUgU1BEWSBwcm9wb3NhbCBzcGVjaWZpZXMgYSBmbG93IGNvbnRyb2wgbWVzc2Fn
ZSB3aXRoIG1hbnkgc2V0dGluZ3MgYXJlIHRoYXQgYXJlIG5vdCB3ZWxsLWRlZmluZWQuIFRoZSBT
cGVlZCtNb2JpbHR5IHByb3Bvc2FsIGhhcyBhIHNpbXBsaWZpZWQgZmxvdyBjb250cm9sIG1vZGVs
IGJhc2VkIG9uIGNlcnRhaW4gYXNzdW1wdGlvbnMuIE1vcmUgZXhwZXJpbWVudGF0aW9uIGFuZCBp
bmZvcm1hdGlvbiBoZXJlIHdvdWxkIGhlbHAgdXMgbWFrZSBzdXJlIHdl4oCZcmUgbWFraW5nIHRo
ZSBXZWIgZmFzdGVyIGFuZCBiZXR0ZXIuIA0KwqANCldlIHRoaW5rIHRoYXQgdGhlIFNQRFkgcHJv
cG9zYWwgaXMgYSBnb29kIHN0YXJ0aW5nIHBvaW50IGhlcmUuIA0KwqANCjcuIFdlYlNvY2tldHMN
CsKgDQpXZSBzZWUgc3VwcG9ydMKgIGZvciBhbGlnbmluZyBIVFRQLzIuMCB3aXRoIGEgZnV0dXJl
IHZlcnNpb24gb2YgV2ViU29ja2V0cywgYXMgc3VnZ2VzdGVkIGluIHRoZSBpbnRyb2R1Y3Rpb24g
b2YgdGhlIFNwZWVkK01vYmlsaXR5IHByb3Bvc2FsLg0KwqANCsKgDQotLS0gTW92aW5nIGZvcndh
cmQgLS0tDQrCoA0KV2XigJlyZSBleGNpdGVkIGZvciB0aGUgV2ViIHRvIGdldCBmYXN0ZXIsIG1v
cmUgc3RhYmxlLCBhbmQgbW9yZSBjYXBhYmxlLCBhbmQgSFRUUC8yLjAgaXMgYW4gaW1wb3J0YW50
IHBhcnQgb2YgdGhhdC4gDQrCoA0KV2UgYmVsaWV2ZSB0aGF0IGJyaW5naW5nIHRvZ2V0aGVyIHRo
ZSBiZXN0IGVsZW1lbnRzIG9mIHRoZSBjdXJyZW50IFNQRFksIEhUVFAgU3BlZWQrTW9iaWxpdHks
IGFuZCBOZXR3b3JrLUZyaWVuZGx5IEhUVFAgVXBncmFkZSBwcm9wb3NhbHMgaXMgdGhlIGJlc3Qg
YXBwcm9hY2ggdG8gbWFrZSB0aGF0IGhhcHBlbi4gDQrCoA0KQmFzZWQgb24gdGhlIGRpc2N1c3Np
b25zIG9uIHRoZSBIVFRQYmlzIG1haWxpbmcgbGlzdCwgd2XigJl2ZSBzdWdnZXN0ZWQgd2hpY2gg
cHJvcG9zYWxzIG1ha2UgdGhlIG1vc3Qgc2Vuc2UgdG8gc3RhcnQgZnJvbSBmb3IgZWFjaCBvZiB0
aGUgYXJlYXMgdGhhdCBIVFRQLzIuMCBpcyBhZGRyZXNzaW5nLiBFYWNoIG9mIHRoZXNlIGFyZWFz
IG5lZWRzIG1vcmUgcHJvdG90eXBpbmcgYW5kIGV4cGVyaW1lbnRhdGlvbiBhbmQgZGF0YS4gV2Xi
gJlyZSBsb29raW5nIGZvcndhcmQgdG8gdGhlIGRpc2N1c3Npb24gdGhpcyB3ZWVrLg0KwqANClNp
bmNlcmVseSwNCsKgDQpIZW5yaWsgRnJ5c3R5ayBOaWVsc2VuDQpQcmluY2lwYWwgQXJjaGl0ZWN0
LCBNaWNyb3NvZnQgT3BlbiBUZWNobm9sb2dpZXMsIEluYy4NCsKgDQpHYWJyaWVsIE1vbnRlbmVn
cm8NClByaW5jaXBhbCBTb2Z0d2FyZSBEZXZlbG9wbWVudCBFbmdpbmVlciwgTWljcm9zb2Z0IENv
cnBvcmF0aW9uDQrCoA0KUm9iIFRyYWNlDQpTZW5pb3IgUHJvZ3JhbSBNYW5hZ2VyIExlYWQsIE1p
Y3Jvc29mdCBDb3Jwb3JhdGlvbg0KwqANCkFkYWxiZXJ0byBGb3Jlc3RpDQpTZW5pb3IgUHJvZ3Jh
bSBNYW5hZ2VyLCBNaWNyb3NvZnQgT3BlbiBUZWNobm9sb2dpZXMsIEluYy4NCsKgDQrCoA0KwqAN
Cg0K




From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 10:58:53 2012
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 335DB21F888D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 10:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.856
X-Spam-Level: 
X-Spam-Status: No, score=-6.856 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 CLe3FV4gx6zt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 10:58:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B217F21F888C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 10:58:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwGhr-0008RR-55 for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 17:58:07 +0000
Resent-Date: Tue, 31 Jul 2012 17:58:07 +0000
Resent-Message-Id: <E1SwGhr-0008RR-55@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SwGhb-0008Of-Dj for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 17:57:51 +0000
Received: from db3ehsobe001.messaging.microsoft.com ([213.199.154.139] helo=db3outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SwGhW-0005At-Mf for ietf-http-wg@w3.org; Tue, 31 Jul 2012 17:57:51 +0000
Received: from mail15-db3-R.bigfish.com (10.3.81.232) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 17:57:20 +0000
Received: from mail15-db3 (localhost [127.0.0.1])	by mail15-db3-R.bigfish.com (Postfix) with ESMTP id DFEEF1001A6	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 17:57:19 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC105.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -23
X-BigFish: VS-23(zz98dI9371Ic85fhzz1202hzz1033IL8275bh8275dh186M68156lz2fh2a8h683h839hd25hf0ah107ah)
Received-SPF: pass (mail15-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=padhye@microsoft.com; helo=TK5EX14HUBC105.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.236.5;KIP:(null);UIP:(null);(null);H:BY2PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail15-db3 (localhost.localdomain [127.0.0.1]) by mail15-db3 (MessageSwitch) id 1343757437305208_22586; Tue, 31 Jul 2012 17:57:17 +0000 (UTC)
Received: from DB3EHSMHS016.bigfish.com (unknown [10.3.81.230])	by mail15-db3.bigfish.com (Postfix) with ESMTP id 3EA76160046	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 17:57:17 +0000 (UTC)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS016.bigfish.com (10.3.87.116) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 17:57:16 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.80.48) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 31 Jul 2012 17:57:02 +0000
Received: from mail202-co1-R.bigfish.com (10.243.78.247) by CO1EHSOBE002.bigfish.com (10.243.66.65) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 17:57:00 +0000
Received: from mail202-co1 (localhost [127.0.0.1])	by mail202-co1-R.bigfish.com (Postfix) with ESMTP id 7B9A9B4022F	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 31 Jul 2012 17:57:00 +0000 (UTC)
Received: from mail202-co1 (localhost.localdomain [127.0.0.1]) by mail202-co1 (MessageSwitch) id 1343757417240496_6312; Tue, 31 Jul 2012 17:56:57 +0000 (UTC)
Received: from CO1EHSMHS015.bigfish.com (unknown [10.243.78.253])	by mail202-co1.bigfish.com (Postfix) with ESMTP id 38B37B00044;	Tue, 31 Jul 2012 17:56:57 +0000 (UTC)
Received: from BY2PRD0310HT002.namprd03.prod.outlook.com (157.56.236.5) by CO1EHSMHS015.bigfish.com (10.243.66.25) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 17:56:55 +0000
Received: from BY2PRD0310MB354.namprd03.prod.outlook.com ([169.254.6.38]) by BY2PRD0310HT002.namprd03.prod.outlook.com ([10.255.80.37]) with mapi id 14.16.0175.005; Tue, 31 Jul 2012 17:56:54 +0000
From: Jitu Padhye <padhye@microsoft.com>
To: Mike Belshe <mike@belshe.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71QBFYCSAABj2HmA=
Date: Tue, 31 Jul 2012 17:56:53 +0000
Message-ID: <4C032A8F343D304CBF7C6EE7AF002F44187FB969@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CABaLYCvsAPy9FTRp+3cWEH_ssZ5KNp+=a3yaH4SFN4YFts=MUw@mail.gmail.com>
In-Reply-To: <CABaLYCvsAPy9FTRp+3cWEH_ssZ5KNp+=a3yaH4SFN4YFts=MUw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.27]
Content-Type: multipart/alternative; boundary="_000_4C032A8F343D304CBF7C6EE7AF002F44187FB969BY2PRD0310MB354_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BY2PRD0310HT002.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%BELSHE.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC105.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC105.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.139; envelope-from=padhye@microsoft.com; helo=db3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SwGhW-0005At-Mf a35e7ad7d658b218498d737ec5848bd9
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/4C032A8F343D304CBF7C6EE7AF002F44187FB969@BY2PRD0310MB354.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14854
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>

--_000_4C032A8F343D304CBF7C6EE7AF002F44187FB969BY2PRD0310MB354_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Mike,

Yes, we do need to explore a larger variety of web pages, including web pag=
es with more resources.

I did not explicitly wipe session state cache between runs. Is there a Chro=
me switch to do this easily?

Jitu

From: Mike Belshe [mailto:mike@belshe.com]
Sent: Monday, July 30, 2012 9:34 PM
To: Henrik Frystyk Nielsen
Cc: ietf-http-wg@w3.org; Gabriel Montenegro; Rob Trace; Adalberto Foresti (=
MS OPEN TECH)
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web

Henrik and team -

Awesome paper!

One thing I notice is that your test pages did not use many resources.  (3 =
for the dummy web page and 11 for the cnn page).  As you know (http://httpa=
rchive.org/trends.php) pages today tend to have ~80 resources per page.  It=
s the large-resource pages where HTTP slows down, as it can only fetch 6 at=
 a time (2 if you stick to the spec).   It would be interesting to load up =
a more modern page, like a facebook.com<http://facebook.com> wall page, wit=
h dozens of images and resources to really exercise the multiplexing.

The biggest conclusion I read from this is that SSL is hard to make fast (a=
nd also very true!) :-)  I'm glad you benchmarked with Chromium because it =
uses SSL FalseStart to reduce a round trip.  I'm curious if you did anythin=
g for certificate validation in this test?  It looks like you're generally =
seeing a 2RTT overhead of SSL in your tests, which is indicative of the SSL=
 cold-start case.  Can you confirm you wiped the session-ID cache between r=
uns?  It's also indicative of not really exercising the multiplexing, where=
 the SSL overhead gets mitigated as HTTP slows down with 6-at-a-time round =
trips.

Mike

On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <henrikn@microsoft.=
com<mailto:henrikn@microsoft.com>> wrote:

Dear All,



We remain committed to the HTTP/2.0 standards process and look forward to s=
eeing many of you this week at the IETF meeting in Vancouver to continue th=
e discussion.  In the spirit of open discussion, we wanted to share some ob=
servations in advance of the meeting and share the latest progress from pro=
totyping and testing.



There are currently three different proposals that the group is working thr=
ough:



   * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),

   * HTTP Speed+Mobility (http://tools.ietf.org/html/draft-montenegro-httpb=
is-speed-mobility),

   * Network-Friendly HTTP Upgrade (http://tools.ietf.org/html/draft-tarrea=
u-httpbis-network-friendly).



The good news is that everyone involved wants to make the Web faster, more =
scalable, more secure, and more mobile-friendly, and each proposal has bene=
fits in different areas that the discussion can choose from.



--- A Genuinely Faster Web ---



The SPDY proposal has been great for raising awareness of Web performance. =
It takes a "clean slate" approach to improving HTTP.



To compare the performance of SPDY with HTTP/1.1 we have run tests comparin=
g download times of several public web sites using a controlled tested stud=
y. The test uses publically available software run with mostly default conf=
igurations while applying all the currently available optimizations to HTTP=
/1.1. You can find a preliminary report on the test results here: http://re=
search.microsoft.com/apps/pubs/?id=3D170059. The results mirror other data =
(http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate m=
ixed results with SPDY performance.



Our results indicate almost equal performance between SPDY and HTTP/1.1 whe=
n one applies all the known optimizations to HTTP/1.1. SPDY's performance i=
mprovements are not consistent and significant. We will continue our testin=
g, and we welcome others to publish their results so that HTTP/2.0 can choo=
se the best changes and deliver the best possible performance and scalabili=
ty improvements compared to HTTP/1.1.





--- Taking the Best from Each ---



Speed is one of several areas of improvement. Currently, there's no clear c=
onsensus that any one of the proposals is the clear choice or even starting=
 point for HTTP/2.0 (based on our reading the Expressions of Interest and d=
iscussions on this mailing list. A good example of this is the vigorous dis=
cussion around mandating TLS encryption (http://tools.ietf.org/html/rfc5246=
) for HTTP/2.0.



We think a good approach for HTTP/2.0 is to take the best solution for each=
 of these areas from each of the proposals.  This approach helps us focus t=
he discussion for each area of the protocol. Of course, this approach would=
 still allow the standard to benefit from the extensive knowledge gained fr=
om implementing existing proposals.



We believe that the group can converge on consensus in the following areas,=
 based on our reading of the Expressions of Interest, by starting from the =
different proposals.



------------------|------------------

Area              | Opinion that

                  | seems to prevail

------------------|------------------

1. Compression    | SPDY or Friendly

------------------|------------------

2. Multiplexing   | SPDY

------------------|------------------

3. Mandatory TLS  | Speed+Mobility

------------------|------------------

4. Negotiation    | Friendly or

                  |   Speed+Mobility

------------------|------------------

5. Client Pull/   | Speed+Mobility

      Server Push |

------------------|------------------

6. Flow Control   | SPDY

------------------|------------------

7. WebSockets     | Speed+Mobility

------------------|------------------



Below, we discuss each HTTP/2.0 element and the current consensus that appe=
ars to be forming within the Working Group.



1. Compression



Compression is simple to conceptualize and implement, and it is important. =
Proxies and other boxes in the middle on today's Web often face problems wi=
th it. The HTTP/2.0 discussion has been rich but with little consensus.

Though some studies suggest that SPDY's header compression approach shows p=
romise, other studies show this compression to be prohibitively onerous for=
 intermediary devices. More information here would help us make sure we're =
making the Web faster and better.



Also, an entire segment of implementers are not interested in compression a=
s defined in SPDY.  That's a challenge because the latest strawman for the =
working group charter (http://lists.w3.org/Archives/Public/ietf-http-wg/201=
2JulSep/0784.html) states that the "resulting specification(s) are expected=
 to be meet these goals for common existing deployments of HTTP; in particu=
lar, ... intermediation (by proxies, corporate firewalls, 'reverse' proxies=
 and Content Delivery Networks)."



We think the SPDY or Friendly proposals is a good starting point for progre=
ss.



2. Multiplexing



All three proposals define similar multiplexing models. We haven't had subs=
tantial discussion on the differences. This lack of discussion suggests tha=
t there is rough consensus around the SPDY framing for multiplexing.



We think that the SPDY proposal is a good starting point here and best capt=
ures the current consensus.



3. Mandating Always On TLS



There is definitely no consensus to mandate TLS for all Web communication, =
but some major implementers have stated they will not to adopt HTTP/2.0 unl=
ess the working group supports a "TLS is mandatory" position. A very prelim=
inary note from the chair (http://lists.w3.org/Archives/Public/ietf-http-wg=
/2012JulSep/0601.html) states that there is a lack of consensus for mandati=
ng TLS.



We think the Speed+Mobility proposal is a good starting point here as it pr=
ovides options to turn TLS on (or not).



4. Negotiation



Only two of the proposals actually discuss how different endpoints agree to=
 use HTTP/2.0.



(The SPDY proposal does not specify a negotiation method. Current prototype=
 implementations use the TLS-NPN (http://tools.ietf.org/html/draft-agl-tls-=
nextprotoneg) extension.  While the other proposals use HTTP Upgrade to neg=
otiate HTTP/2.0, some parties have expressed non-support for this method as=
 well.)



We think either of the Friendly or Speed+Mobility proposals is a good start=
ing point because they are the only ones that have any language in this res=
pect.



5. Client Pull and Server Push



There are tradeoffs between a server push model and a client pull model. Th=
e main question is how to improve performance while respecting bandwidth an=
d client caches.



Server Push has not had the same level of implementation and experimentatio=
n as the other features in SPDY. More information here would help us make s=
ure we're making the Web faster and better.



We think the Speed+Mobility proposal is a good starting point here, suggest=
ing that this issue may be better served in a separate document rather than=
 tied to the core HTTP/2.0 protocol.



6. Flow Control



There has only been limited discussion in the HTTPbis working group on flow=
 control. Flow Control offers a lot of opportunity make the Web faster as w=
ell as to break it; for example, implementations need to figure out how to =
optimize for opposing goals (like throughput and responsiveness) at the sam=
e time.



The current version of the SPDY proposal specifies a flow control message w=
ith many settings are that are not well-defined. The Speed+Mobilty proposal=
 has a simplified flow control model based on certain assumptions. More exp=
erimentation and information here would help us make sure we're making the =
Web faster and better.



We think that the SPDY proposal is a good starting point here.



7. WebSockets



We see support  for aligning HTTP/2.0 with a future version of WebSockets, =
as suggested in the introduction of the Speed+Mobility proposal.





--- Moving forward ---



We're excited for the Web to get faster, more stable, and more capable, and=
 HTTP/2.0 is an important part of that.



We believe that bringing together the best elements of the current SPDY, HT=
TP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the best =
approach to make that happen.



Based on the discussions on the HTTPbis mailing list, we've suggested which=
 proposals make the most sense to start from for each of the areas that HTT=
P/2.0 is addressing. Each of these areas needs more prototyping and experim=
entation and data. We're looking forward to the discussion this week.



Sincerely,



Henrik Frystyk Nielsen

Principal Architect, Microsoft Open Technologies, Inc.



Gabriel Montenegro

Principal Software Development Engineer, Microsoft Corporation



Rob Trace

Senior Program Manager Lead, Microsoft Corporation



Adalberto Foresti

Senior Program Manager, Microsoft Open Technologies, Inc.






--_000_4C032A8F343D304CBF7C6EE7AF002F44187FB969BY2PRD0310MB354_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mike,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Yes, we do need to explor=
e a larger variety of web pages, including web pages with more resources.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I did not explicitly wipe=
 session state cache between runs. Is there a Chrome switch to do this easi=
ly?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Jitu<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mike Bel=
she [mailto:mike@belshe.com]
<br>
<b>Sent:</b> Monday, July 30, 2012 9:34 PM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> ietf-http-wg@w3.org; Gabriel Montenegro; Rob Trace; Adalberto Fo=
resti (MS OPEN TECH)<br>
<b>Subject:</b> Re: HTTP 2.0 and a Faster, more Mobile-friendly web<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Henrik and team -<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><br>
Awesome paper!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">One thing I notice is that your test pages did not u=
se many resources. &nbsp;(3 for the dummy web page and 11 for the cnn page)=
. &nbsp;As you know (<a href=3D"http://httparchive.org/trends.php">http://h=
ttparchive.org/trends.php</a>) pages today tend
 to have ~80 resources per page. &nbsp;Its the large-resource pages where H=
TTP slows down, as it can only fetch 6 at a time (2 if you stick to the spe=
c). &nbsp; It would be interesting to load up a more modern page, like a
<a href=3D"http://facebook.com">facebook.com</a> wall page, with dozens of =
images and resources to really exercise the multiplexing.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The biggest conclusion I read from this is that SSL =
is hard to make fast (and also very true!) :-) &nbsp;I'm glad you benchmark=
ed with Chromium because it uses SSL FalseStart to reduce a round trip. &nb=
sp;I'm curious if you did anything for certificate
 validation in this test? &nbsp;It looks like you're generally seeing a 2RT=
T overhead of SSL in your tests, which is indicative of the SSL cold-start =
case. &nbsp;Can you confirm you wiped the session-ID cache between runs? &n=
bsp;It's also indicative of not really exercising
 the multiplexing, where the SSL overhead gets mitigated as HTTP slows down=
 with 6-at-a-time round trips.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Mike<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Niel=
sen &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn@=
microsoft.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p>Dear All,<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We remain committed to the HTTP/2.0 standards process and look forward t=
o seeing many of you this week at the IETF meeting in Vancouver to continue=
 the discussion.&nbsp; In the spirit of open discussion, we wanted to share=
 some observations in advance of the
 meeting and share the latest progress from prototyping and testing. <o:p><=
/o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There are currently three different proposals that the group is working =
through:<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;&nbsp; * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mbelshe=
-httpbis-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-h=
ttpbis-spdy</a>),<o:p></o:p></p>
<p>&nbsp;&nbsp; * HTTP Speed&#43;Mobility (<a href=3D"http://tools.ietf.org=
/html/draft-montenegro-httpbis-speed-mobility" target=3D"_blank">http://too=
ls.ietf.org/html/draft-montenegro-httpbis-speed-mobility</a>),<o:p></o:p></=
p>
<p>&nbsp;&nbsp; * Network-Friendly HTTP Upgrade (<a href=3D"http://tools.ie=
tf.org/html/draft-tarreau-httpbis-network-friendly" target=3D"_blank">http:=
//tools.ietf.org/html/draft-tarreau-httpbis-network-friendly</a>).
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>The good news is that everyone involved wants to make the Web faster, mo=
re scalable, more secure, and more mobile-friendly, and each proposal has b=
enefits in different areas that the discussion can choose from.<o:p></o:p><=
/p>
<p>&nbsp;<o:p></o:p></p>
<p>--- A Genuinely Faster Web ---<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>The SPDY proposal has been great for raising awareness of Web performanc=
e. It takes a &#8220;clean slate&#8221; approach to improving HTTP.<o:p></o=
:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations while applying all
 the currently available optimizations to HTTP/1.1. You can find a prelimin=
ary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY&#8217;s perf=
ormance improvements are not consistent and significant. We will continue o=
ur testing, and we welcome others to publish
 their results so that HTTP/2.0 can choose the best changes and deliver the=
 best possible performance and scalability improvements compared to HTTP/1.=
1.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>--- Taking the Best from Each ---<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Speed is one of several areas of improvement. Currently, there&#8217;s n=
o clear consensus that any one of the proposals is the clear choice or even=
 starting point for HTTP/2.0 (based on our reading the Expressions of Inter=
est and discussions on this mailing list.
 A good example of this is the vigorous discussion around mandating TLS enc=
ryption (<a href=3D"http://tools.ietf.org/html/rfc5246" target=3D"_blank">h=
ttp://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think a good approach for HTTP/2.0 is to take the best solution for e=
ach of these areas from each of the proposals. &nbsp;This approach helps us=
 focus the discussion for each area of the protocol. Of course, this approa=
ch would still allow the standard to
 benefit from the extensive knowledge gained from implementing existing pro=
posals.&nbsp;
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We believe that the group can converge on consensus in the following are=
as, based on our reading of the Expressions of Interest, by starting from t=
he different proposals.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">Area&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Opinion th=
at </span>
<o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;| seems to prevail</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">1. Compression&nbsp;=
&nbsp;&nbsp; | SPDY or Friendly</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">2. Multiplexing&nbsp=
;&nbsp; | SPDY</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">3. Mandatory TLS&nbs=
p; | Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">4. Negotiation&nbsp;=
&nbsp;&nbsp; | Friendly or</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; |&nbsp;&nbsp; Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">5. Client Pull/&nbsp=
;&nbsp; | Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; Server Push | </span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">6. Flow Control&nbsp=
;&nbsp; | SPDY</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">7. WebSockets&nbsp;&=
nbsp;&nbsp;&nbsp; | Speed&#43;Mobility</span><o:p></o:p></p>
<p><span style=3D"font-family:&quot;Courier New&quot;">------------------|-=
-----------------</span><o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Below, we discuss each HTTP/2.0 element and the current consensus that a=
ppears to be forming within the Working Group.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>1. Compression<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Compression is simple to conceptualize and implement, and it is importan=
t. Proxies and other boxes in the middle on today&#8217;s Web often face pr=
oblems with it. The HTTP/2.0 discussion has been rich but with little conse=
nsus.<o:p></o:p></p>
<p>Though some studies suggest that SPDY&#8217;s header compression approac=
h shows promise, other studies show this compression to be prohibitively on=
erous for intermediary devices. More information here would help us make su=
re we&#8217;re making the Web faster and better.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Also, an entire segment of implementers are not interested in compressio=
n as defined in SPDY.&nbsp; That&#8217;s a challenge because the latest str=
awman for the working group charter (<a href=3D"http://lists.w3.org/Archive=
s/Public/ietf-http-wg/2012JulSep/0784.html" target=3D"_blank">http://lists.=
w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.html</a>)
 states that the &#8220;resulting specification(s) are expected to be meet =
these goals for common existing deployments of HTTP; in particular, &#8230;=
 intermediation (by proxies, corporate firewalls, &#8216;reverse&#8217; pro=
xies and Content Delivery Networks).&#8221;
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think the SPDY or Friendly proposals is a good starting point for pro=
gress.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>2. Multiplexing<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>All three proposals define similar multiplexing models. We haven&#8217;t=
 had substantial discussion on the differences. This lack of discussion sug=
gests that there is rough consensus around the SPDY framing for multiplexin=
g.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think that the SPDY proposal is a good starting point here and best c=
aptures the current consensus.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>3. Mandating Always On TLS <o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There is definitely no consensus to mandate TLS for all Web communicatio=
n, but some major implementers have stated they will not to adopt HTTP/2.0 =
unless the working group supports a &#8220;TLS is mandatory&#8221; position=
. A very preliminary note from the chair (<a href=3D"http://lists.w3.org/Ar=
chives/Public/ietf-http-wg/2012JulSep/0601.html" target=3D"_blank">http://l=
ists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html</a>)
 states that there is a lack of consensus for mandating TLS. <o:p></o:p></p=
>
<p>&nbsp;<o:p></o:p></p>
<p>We think the Speed&#43;Mobility proposal is a good starting point here a=
s it provides options to turn TLS on (or not).<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>4. Negotiation<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Only two of the proposals actually discuss how different endpoints agree=
 to use HTTP/2.0.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>(The SPDY proposal does not specify a negotiation method. Current protot=
ype implementations use the TLS-NPN (<a href=3D"http://tools.ietf.org/html/=
draft-agl-tls-nextprotoneg" target=3D"_blank">http://tools.ietf.org/html/dr=
aft-agl-tls-nextprotoneg</a>) extension.&nbsp;
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think either of the Friendly or Speed&#43;Mobility proposals is a goo=
d starting point because they are the only ones that have any language in t=
his respect.&nbsp;
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>5. Client Pull and Server Push<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There are tradeoffs between a server push model and a client pull model.=
 The main question is how to improve performance while respecting bandwidth=
 and client caches.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Server Push has not had the same level of implementation and experimenta=
tion as the other features in SPDY. More information here would help us mak=
e sure we&#8217;re making the Web faster and better.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think the Speed&#43;Mobility proposal is a good starting point here, =
suggesting that this issue may be better served in a separate document rath=
er than tied to the core HTTP/2.0 protocol.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>6. Flow Control<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>There has only been limited discussion in the HTTPbis working group on f=
low control. Flow Control offers a lot of opportunity make the Web faster a=
s well as to break it; for example, implementations need to figure out how =
to optimize for opposing goals (like
 throughput and responsiveness) at the same time. <o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>The current version of the SPDY proposal specifies a flow control messag=
e with many settings are that are not well-defined. The Speed&#43;Mobilty p=
roposal has a simplified flow control model based on certain assumptions. M=
ore experimentation and information
 here would help us make sure we&#8217;re making the Web faster and better.=
 <o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We think that the SPDY proposal is a good starting point here. <o:p></o:=
p></p>
<p>&nbsp;<o:p></o:p></p>
<p>7. WebSockets<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We see support&nbsp; for aligning HTTP/2.0 with a future version of WebS=
ockets, as suggested in the introduction of the Speed&#43;Mobility proposal=
.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>--- Moving forward ---<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We&#8217;re excited for the Web to get faster, more stable, and more cap=
able, and HTTP/2.0 is an important part of that.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>We believe that bringing together the best elements of the current SPDY,=
 HTTP Speed&#43;Mobility, and Network-Friendly HTTP Upgrade proposals is th=
e best approach to make that happen.
<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Based on the discussions on the HTTPbis mailing list, we&#8217;ve sugges=
ted which proposals make the most sense to start from for each of the areas=
 that HTTP/2.0 is addressing. Each of these areas needs more prototyping an=
d experimentation and data. We&#8217;re looking
 forward to the discussion this week.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Sincerely,<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Henrik Frystyk Nielsen<o:p></o:p></p>
<p>Principal Architect, Microsoft Open Technologies, Inc.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Gabriel Montenegro<o:p></o:p></p>
<p>Principal Software Development Engineer, Microsoft Corporation<o:p></o:p=
></p>
<p>&nbsp;<o:p></o:p></p>
<p>Rob Trace<o:p></o:p></p>
<p>Senior Program Manager Lead, Microsoft Corporation<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>Adalberto Foresti<o:p></o:p></p>
<p>Senior Program Manager, Microsoft Open Technologies, Inc.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4C032A8F343D304CBF7C6EE7AF002F44187FB969BY2PRD0310MB354_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 13:02:23 2012
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 32ACA21F8868 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 13:02:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.287
X-Spam-Level: 
X-Spam-Status: No, score=-9.287 tagged_above=-999 required=5 tests=[AWL=0.711, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, 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 3RhT8IIQW6jc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 13:02:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5E56421F876A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 13:02:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwIci-0004AH-OL for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 20:00:56 +0000
Resent-Date: Tue, 31 Jul 2012 20:00:56 +0000
Resent-Message-Id: <E1SwIci-0004AH-OL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwIcS-00048k-Mc for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 20:00:40 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwIcR-000103-3g for ietf-http-wg@w3.org; Tue, 31 Jul 2012 20:00:40 +0000
Received: by wgbdq12 with SMTP id dq12so5257376wgb.26 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 13:00:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=D6dI/00RtjGl2D0CqIprd2GkSTJuTgx8qEzyi+2LrF0=; b=WXGlPN9fU5FUsh4TGZI9ctTv+7YgkJIQS5LKO3+gSWnar7lp+ATFuY74dyP4umoWwB kJFRsW1BIU/XKlWi2/TI9PCsi7ax/robo3LjtQVWWOmUY0KBPYbHI4zzVEN7z3xmThtj lFgW21mqWYeIxOFfuxVYBtt40Z6dol8rjiUuV/AGYFmXxOXgNusQFLz3PygkqF2DNSBs f1mr5DR0A7+WkYtHnaTbyoNieq7jZu0NQ1s1Yyx7noIxHeBgjdpugWDd1Ca6UpIO+kJc x/3RC40AW9t8VUJDUwPZFk4MyU1vKEX2nQpRiJHU7Wa/6hM3TbEKDfCsWBNqRpreQOLs OXPA==
Received: by 10.180.81.66 with SMTP id y2mr9970322wix.22.1343764812634; Tue, 31 Jul 2012 13:00:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 31 Jul 2012 12:59:52 -0700 (PDT)
In-Reply-To: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 31 Jul 2012 12:59:52 -0700
Message-ID: <CABP7RbeugXO1P+gcyYPBA4KEszu2fzEZ=mEprqLWO1=zVsCrdw@mail.gmail.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d04428d2c519ab304c625a0c1
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SwIcR-000103-3g 581ced1be66459c5b97d2ed645ebc581
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CABP7RbeugXO1P+gcyYPBA4KEszu2fzEZ=mEprqLWO1=zVsCrdw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14855
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>

--f46d04428d2c519ab304c625a0c1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Excellent to see this kind of analysis being performed. A few comments
inline..

On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:
[snip]

> The SPDY proposal has been great for raising awareness of Web performance=
.
> It takes a =E2=80=9Cclean slate=E2=80=9D approach to improving HTTP.
>
> To compare the performance of SPDY with HTTP/1.1 we have run tests
> comparing download times of several public web sites using a controlled
> tested study. The test uses publically available software run with mostly
> default configurations while applying all the currently available
> optimizations to HTTP/1.1. You can find a preliminary report on the test
> results here: http://research.microsoft.com/apps/pubs/?id=3D170059. The
> results mirror other data (
> http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate
> mixed results with SPDY performance.
>
> Our results indicate almost equal performance between SPDY and HTTP/1.1
> when one applies all the known optimizations to HTTP/1.1. SPDY=E2=80=99s
> performance improvements are not consistent and significant. We will
> continue our testing, and we welcome others to publish their results so
> that HTTP/2.0 can choose the best changes and deliver the best possible
> performance and scalability improvements compared to HTTP/1.1.****
>
> **
>
One of the frustrating issues for me, so far, is that nearly all of the
discussion around HTTP/2.0 to date has centered around the requirements for
browser clients; given the ever growing use HTTP as an enabler for
integration APIs and the ever increasing number of non-browser HTTP client
applications, it would be very interesting to formally compare and analyze
the performance of SPDY vs. current HTTP/1.1 for *API* clients and servers.
In my informal testing, I have seen very little difference, if any, between
using SPDY* and a client using persistent HTTP/1.1 connections with
pipelined API requests.
  * with the current http mapping defined in the spdy spec

With a few tweaks here and there to the SPDY+HTTP mapping (e.g. the binary
header encoding I had kicked around previously) I was able to squeeze a bit
more out the SPDY option but the results were certainly not conclusive.

This, of course, was not a formal study and my methodology was far from
rigorous. A more thorough analysis would be required.

- James

--f46d04428d2c519ab304c625a0c1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Excellent to see this kind of analysis=
 being performed. A few comments inline..<br></font><br><div class=3D"gmail=
_quote">On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <span dir=
=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">hen=
rikn@microsoft.com</a>&gt;</span> wrote:<br>

<div>[snip]=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" l=
ink=3D"blue" vlink=3D"purple"><div><p>The SPDY proposal has been great for =
raising awareness of Web performance. It takes a =E2=80=9Cclean slate=E2=80=
=9D approach to improving HTTP.</p>


<p>To compare the performance of SPDY with HTTP/1.1 we have run tests compa=
ring download times of several public web sites using a controlled tested s=
tudy. The test uses publically available software run with mostly default c=
onfigurations
 while applying all the currently available optimizations to HTTP/1.1. You =
can find a preliminary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.</p>
<p>Our results indicate almost equal performance between SPDY and HTTP/1.1 =
when one applies all the known optimizations to HTTP/1.1. SPDY=E2=80=99s pe=
rformance improvements are not consistent and significant. We will continue=
 our testing, and we
 welcome others to publish their results so that HTTP/2.0 can choose the be=
st changes and deliver the best possible performance and scalability improv=
ements compared to HTTP/1.1.<u></u><u></u></p>
<p><u></u>=C2=A0</p></div></div></blockquote><div>One of the frustrating is=
sues for me, so far, is that nearly all of the discussion around HTTP/2.0 t=
o date has centered around the requirements for browser clients; given the =
ever growing use HTTP as an enabler for integration APIs and the ever incre=
asing number of non-browser HTTP client applications, it would be very inte=
resting to formally compare and analyze the performance of SPDY vs. current=
 HTTP/1.1 for *API* clients and servers. In my informal testing, I have see=
n very little difference, if any, between using SPDY* and a client using pe=
rsistent HTTP/1.1 connections with pipelined API requests. =C2=A0=C2=A0</di=
v>

<div>=C2=A0 * with the current http mapping defined in the spdy spec</div><=
div><br></div><div>With a few tweaks here and there to the SPDY+HTTP mappin=
g (e.g. the binary header encoding I had kicked around previously) I was ab=
le to squeeze a bit more out the SPDY option but the results were certainly=
 not conclusive.</div>

<div><br></div><div>This, of course, was not a formal study and my methodol=
ogy was far from rigorous. A more thorough analysis would be required.</div=
><div><br></div><div>- James</div></div>

--f46d04428d2c519ab304c625a0c1--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 13:21:10 2012
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 7B35621F8723 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 13:21:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.544
X-Spam-Level: 
X-Spam-Status: No, score=-8.544 tagged_above=-999 required=5 tests=[AWL=-1.023, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, 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 eJO-2mD19NUQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 13:21:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5FBF821F86E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 13:21:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwIvQ-00062h-I9 for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 20:20:16 +0000
Resent-Date: Tue, 31 Jul 2012 20:20:16 +0000
Resent-Message-Id: <E1SwIvQ-00062h-I9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SwIvE-0005qJ-DG for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 20:20:04 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SwIvD-0001cC-5X for ietf-http-wg@w3.org; Tue, 31 Jul 2012 20:20:04 +0000
Received: by lbom4 with SMTP id m4so4304090lbo.2 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 13:19:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=lgK4v4iL8vyX6PuQGfSLWks5A9AlwOUrrPHR5Ad6Y3U=; b=SSLPdgz+xORzCwSG+AjhS90VC4D383iHQWIWNWeZ4QzEFDHLyB3NHICsGdh8M0vKxw pGc4Rugnp3m6zEUpPIbHYIGSMLfrB/UpD7ZudtxJdpR85Toaca9GQy6LC8p1Zb2aFVPg 6F3s0wDA/7kefEmoJk8LQYsYp5i6/z+Gp5Jx6EEIyCBbq4maQAiwq+4j6aJ9Wix2BkX3 Vyx2VU8xlzUktFAy0Ud/sOAhHQ90POrjJbgFshIUk1ZkseNr2CFK6db6t7qzDlx5GwfM f++KjKP/Sc7YAMJCmba/truIQImKAbKROi2Q9VGzwedt4nxWVm+ICHcf8UnNUeG8LEVy PF/Q==
MIME-Version: 1.0
Received: by 10.112.29.131 with SMTP id k3mr7347692lbh.53.1343765976149; Tue, 31 Jul 2012 13:19:36 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Tue, 31 Jul 2012 13:19:36 -0700 (PDT)
In-Reply-To: <5017845E.4070503@gmx.de>
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com> <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com> <d85655d0-c544-485f-8b84-c3888e83d13a@blur> <CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com> <5017845E.4070503@gmx.de>
Date: Tue, 31 Jul 2012 13:19:36 -0700
Message-ID: <CABaLYCuUFmt_y9HpSGcenS0zGCp8mof6CYMOD6mq7jh=0KV73g@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec554d606ab6d6504c625e59c
X-Gm-Message-State: ALoCoQm3g90G8BAA/0cg1AN3f6Whtt6W9wMQSV62I1b+mdJsVI74zITFhUtqfk7HS5YxbtAM+trP
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SwIvD-0001cC-5X c10d0e10f61b562f7956dcd20d015da0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Connection limits, was: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/CABaLYCuUFmt_y9HpSGcenS0zGCp8mof6CYMOD6mq7jh=0KV73g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14856
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>

--bcaec554d606ab6d6504c625e59c
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 31, 2012 at 12:08 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 31.07.2012 06:04, Mike Belshe wrote:
>
>>
>>
>> On Sun, Jul 29, 2012 at 10:45 AM, Larry Masinter <masinter@adobe.com
>> <mailto:masinter@adobe.com>> wrote:
>>
>>     Your post is consistent with the assertion that there isn't
>>     agreement yet about what "faster than HTTP/1.1" means, or how to
>>     compare proposals for improvement. And neither measured worst case
>>     latency or real network traffic with buffer bloat, or situations
>>     that would detect the impact of HOL blocking.
>>
>>
>> While SPDY leaves a tiny HOL issue, it fixes the massive one from
>> HTTP/1.1, which can only load a couple of resources in parallel per
>> domain (2 by spec, 6 by implementation best practices).  The tradeoff
>> turns out to be a boon in terms of reduced latency while also using
>> fewer network resources.
>> ...
>>
>
> "By spec" in RFC 2616, but not in HTTPbis (this has been fixed a LONG time
> ago!).
>

Alright :-)  spec fine, but still a practical issue in all major browser
implementations today.

mike


>
> Best regards, Julian
>
>

--bcaec554d606ab6d6504c625e59c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 31, 2012 at 12:08 AM, Julian=
 Reschke <span dir=3D"ltr">&lt;<a href=3D"mailto:julian.reschke@gmx.de" tar=
get=3D"_blank">julian.reschke@gmx.de</a>&gt;</span> wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
On <a href=3D"tel:31.07.2012%2006" value=3D"+13107201206" target=3D"_blank"=
>31.07.2012 06</a>:04, Mike Belshe wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<br>
On Sun, Jul 29, 2012 at 10:45 AM, Larry Masinter &lt;<a href=3D"mailto:masi=
nter@adobe.com" target=3D"_blank">masinter@adobe.com</a><br>
&lt;mailto:<a href=3D"mailto:masinter@adobe.com" target=3D"_blank">masinter=
@adobe.com</a>&gt;&gt; wrote:<br>
<br>
=A0 =A0 Your post is consistent with the assertion that there isn&#39;t<br>
=A0 =A0 agreement yet about what &quot;faster than HTTP/1.1&quot; means, or=
 how to<br>
=A0 =A0 compare proposals for improvement. And neither measured worst case<=
br>
=A0 =A0 latency or real network traffic with buffer bloat, or situations<br=
>
=A0 =A0 that would detect the impact of HOL blocking.<br>
<br>
<br>
While SPDY leaves a tiny HOL issue, it fixes the massive one from<br>
HTTP/1.1, which can only load a couple of resources in parallel per<br>
domain (2 by spec, 6 by implementation best practices). =A0The tradeoff<br>
turns out to be a boon in terms of reduced latency while also using<br>
fewer network resources.<br>
...<br>
</blockquote>
<br>
&quot;By spec&quot; in RFC 2616, but not in HTTPbis (this has been fixed a =
LONG time ago!).<br></blockquote><div><br></div><div>Alright :-) =A0spec fi=
ne, but still a practical issue in all major browser implementations today.=
</div>
<div><br></div><div>mike</div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards, Julian<br>
<br>
</blockquote></div><br>

--bcaec554d606ab6d6504c625e59c--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 13:47:10 2012
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 5D4ED21F86C3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 13:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.859
X-Spam-Level: 
X-Spam-Status: No, score=-6.859 tagged_above=-999 required=5 tests=[AWL=0.007, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 CtJ-OsSITF8L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 13:47:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 49DC121F85AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 13:47:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwJKM-0004z2-06 for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 20:46:02 +0000
Resent-Date: Tue, 31 Jul 2012 20:46:02 +0000
Resent-Message-Id: <E1SwJKM-0004z2-06@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SwJK9-0004xu-1p for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 20:45:49 +0000
Received: from ch1ehsobe004.messaging.microsoft.com ([216.32.181.184] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <padhye@microsoft.com>) id 1SwJK7-0002S0-Ah for ietf-http-wg@w3.org; Tue, 31 Jul 2012 20:45:49 +0000
Received: from mail122-ch1-R.bigfish.com (10.43.68.238) by CH1EHSOBE009.bigfish.com (10.43.70.59) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 20:45:20 +0000
Received: from mail122-ch1 (localhost [127.0.0.1])	by mail122-ch1-R.bigfish.com (Postfix) with ESMTP id 1688A480178	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 20:45:20 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -7
X-BigFish: VS-7(zz98dI9371Ic89bhc857hzz1202hzz8275bh8275dh186Mz2fh2a8h683h839hd25hf0ah107ah)
Received-SPF: pass (mail122-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=padhye@microsoft.com; helo=TK5EX14HUBC102.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.236.5;KIP:(null);UIP:(null);(null);H:BY2PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail122-ch1 (localhost.localdomain [127.0.0.1]) by mail122-ch1 (MessageSwitch) id 1343767518823716_22209; Tue, 31 Jul 2012 20:45:18 +0000 (UTC)
Received: from CH1EHSMHS013.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242])	by mail122-ch1.bigfish.com (Postfix) with ESMTP id C6CDE180046	for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 20:45:18 +0000 (UTC)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS013.bigfish.com (10.43.70.13) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 20:45:18 +0000
Received: from ch1outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 31 Jul 2012 20:45:12 +0000
Received: from mail95-ch1-R.bigfish.com (10.43.68.229) by CH1EHSOBE010.bigfish.com (10.43.70.60) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 20:45:12 +0000
Received: from mail95-ch1 (localhost [127.0.0.1])	by mail95-ch1-R.bigfish.com (Postfix) with ESMTP id F16DF2201E6	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 31 Jul 2012 20:45:11 +0000 (UTC)
Received: from mail95-ch1 (localhost.localdomain [127.0.0.1]) by mail95-ch1 (MessageSwitch) id 1343767510236224_9668; Tue, 31 Jul 2012 20:45:10 +0000 (UTC)
Received: from CH1EHSMHS012.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.235])	by mail95-ch1.bigfish.com (Postfix) with ESMTP id 378374004F; Tue, 31 Jul 2012 20:45:10 +0000 (UTC)
Received: from BY2PRD0310HT002.namprd03.prod.outlook.com (157.56.236.5) by CH1EHSMHS012.bigfish.com (10.43.70.12) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 20:45:09 +0000
Received: from BY2PRD0310MB354.namprd03.prod.outlook.com ([169.254.6.38]) by BY2PRD0310HT002.namprd03.prod.outlook.com ([10.255.80.37]) with mapi id 14.16.0175.005; Tue, 31 Jul 2012 20:45:08 +0000
From: Jitu Padhye <padhye@microsoft.com>
To: James M Snell <jasnell@gmail.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1twDu90zT1bxFVThKcLTb5G5f71QBltBkAAAGGx8A=
Date: Tue, 31 Jul 2012 20:45:07 +0000
Message-ID: <4C032A8F343D304CBF7C6EE7AF002F44187FCF08@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CABP7RbeugXO1P+gcyYPBA4KEszu2fzEZ=mEprqLWO1=zVsCrdw@mail.gmail.com>
In-Reply-To: <CABP7RbeugXO1P+gcyYPBA4KEszu2fzEZ=mEprqLWO1=zVsCrdw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.27]
Content-Type: multipart/alternative; boundary="_000_4C032A8F343D304CBF7C6EE7AF002F44187FCF08BY2PRD0310MB354_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BY2PRD0310HT002.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC102.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.184; envelope-from=padhye@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SwJK7-0002S0-Ah c2587bbf0342566b9181d75a712420bb
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/4C032A8F343D304CBF7C6EE7AF002F44187FCF08@BY2PRD0310MB354.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14857
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>

--_000_4C032A8F343D304CBF7C6EE7AF002F44187FCF08BY2PRD0310MB354_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

V2UgaGF2ZSBkb25lIGEgYml0IG9mIHdvcmsgb24gbG9va2luZyBhdCBob3cgU1BEWSB3b3JrcyBm
b3IgYXBwcyAobW9zdGx5IHNpbXBsZSB0cmFjZSBhbmFseXNpcyksIGJ1dCB3ZSBkb27igJl0IGhh
dmUgYW55dGhpbmcgc2lnbmlmaWNhbnQgdG8gcmVwb3J0IHlldC4gQnV0IHRoaXMgaXMgaW5kZWVk
IHNvbWV0aGluZyB0aGF0IG5lZWRzIGxvb2tpbmcgaW50by4NCg0KRnJvbTogSmFtZXMgTSBTbmVs
bCBbbWFpbHRvOmphc25lbGxAZ21haWwuY29tXQ0KU2VudDogVHVlc2RheSwgSnVseSAzMSwgMjAx
MiAxOjAwIFBNDQpUbzogSGVucmlrIEZyeXN0eWsgTmllbHNlbg0KQ2M6IGlldGYtaHR0cC13Z0B3
My5vcmc7IEdhYnJpZWwgTW9udGVuZWdybzsgUm9iIFRyYWNlOyBBZGFsYmVydG8gRm9yZXN0aSAo
TVMgT1BFTiBURUNIKQ0KU3ViamVjdDogUmU6IEhUVFAgMi4wIGFuZCBhIEZhc3RlciwgbW9yZSBN
b2JpbGUtZnJpZW5kbHkgd2ViDQoNCkV4Y2VsbGVudCB0byBzZWUgdGhpcyBraW5kIG9mIGFuYWx5
c2lzIGJlaW5nIHBlcmZvcm1lZC4gQSBmZXcgY29tbWVudHMgaW5saW5lLi4NCk9uIFN1biwgSnVs
IDI5LCAyMDEyIGF0IDE6MTQgUE0sIEhlbnJpayBGcnlzdHlrIE5pZWxzZW4gPGhlbnJpa25AbWlj
cm9zb2Z0LmNvbTxtYWlsdG86aGVucmlrbkBtaWNyb3NvZnQuY29tPj4gd3JvdGU6DQpbc25pcF0N
Cg0KVGhlIFNQRFkgcHJvcG9zYWwgaGFzIGJlZW4gZ3JlYXQgZm9yIHJhaXNpbmcgYXdhcmVuZXNz
IG9mIFdlYiBwZXJmb3JtYW5jZS4gSXQgdGFrZXMgYSDigJxjbGVhbiBzbGF0ZeKAnSBhcHByb2Fj
aCB0byBpbXByb3ZpbmcgSFRUUC4NCg0KVG8gY29tcGFyZSB0aGUgcGVyZm9ybWFuY2Ugb2YgU1BE
WSB3aXRoIEhUVFAvMS4xIHdlIGhhdmUgcnVuIHRlc3RzIGNvbXBhcmluZyBkb3dubG9hZCB0aW1l
cyBvZiBzZXZlcmFsIHB1YmxpYyB3ZWIgc2l0ZXMgdXNpbmcgYSBjb250cm9sbGVkIHRlc3RlZCBz
dHVkeS4gVGhlIHRlc3QgdXNlcyBwdWJsaWNhbGx5IGF2YWlsYWJsZSBzb2Z0d2FyZSBydW4gd2l0
aCBtb3N0bHkgZGVmYXVsdCBjb25maWd1cmF0aW9ucyB3aGlsZSBhcHBseWluZyBhbGwgdGhlIGN1
cnJlbnRseSBhdmFpbGFibGUgb3B0aW1pemF0aW9ucyB0byBIVFRQLzEuMS4gWW91IGNhbiBmaW5k
IGEgcHJlbGltaW5hcnkgcmVwb3J0IG9uIHRoZSB0ZXN0IHJlc3VsdHMgaGVyZTogaHR0cDovL3Jl
c2VhcmNoLm1pY3Jvc29mdC5jb20vYXBwcy9wdWJzLz9pZD0xNzAwNTkuIFRoZSByZXN1bHRzIG1p
cnJvciBvdGhlciBkYXRhIChodHRwOi8vd3d3Lmd1eXBvLmNvbS90ZWNobmljYWwvbm90LWFzLXNw
ZHktYXMteW91LXRob3VnaHQpIHRoYXQgaW5kaWNhdGUgbWl4ZWQgcmVzdWx0cyB3aXRoIFNQRFkg
cGVyZm9ybWFuY2UuDQoNCk91ciByZXN1bHRzIGluZGljYXRlIGFsbW9zdCBlcXVhbCBwZXJmb3Jt
YW5jZSBiZXR3ZWVuIFNQRFkgYW5kIEhUVFAvMS4xIHdoZW4gb25lIGFwcGxpZXMgYWxsIHRoZSBr
bm93biBvcHRpbWl6YXRpb25zIHRvIEhUVFAvMS4xLiBTUERZ4oCZcyBwZXJmb3JtYW5jZSBpbXBy
b3ZlbWVudHMgYXJlIG5vdCBjb25zaXN0ZW50IGFuZCBzaWduaWZpY2FudC4gV2Ugd2lsbCBjb250
aW51ZSBvdXIgdGVzdGluZywgYW5kIHdlIHdlbGNvbWUgb3RoZXJzIHRvIHB1Ymxpc2ggdGhlaXIg
cmVzdWx0cyBzbyB0aGF0IEhUVFAvMi4wIGNhbiBjaG9vc2UgdGhlIGJlc3QgY2hhbmdlcyBhbmQg
ZGVsaXZlciB0aGUgYmVzdCBwb3NzaWJsZSBwZXJmb3JtYW5jZSBhbmQgc2NhbGFiaWxpdHkgaW1w
cm92ZW1lbnRzIGNvbXBhcmVkIHRvIEhUVFAvMS4xLg0KDQoNCk9uZSBvZiB0aGUgZnJ1c3RyYXRp
bmcgaXNzdWVzIGZvciBtZSwgc28gZmFyLCBpcyB0aGF0IG5lYXJseSBhbGwgb2YgdGhlIGRpc2N1
c3Npb24gYXJvdW5kIEhUVFAvMi4wIHRvIGRhdGUgaGFzIGNlbnRlcmVkIGFyb3VuZCB0aGUgcmVx
dWlyZW1lbnRzIGZvciBicm93c2VyIGNsaWVudHM7IGdpdmVuIHRoZSBldmVyIGdyb3dpbmcgdXNl
IEhUVFAgYXMgYW4gZW5hYmxlciBmb3IgaW50ZWdyYXRpb24gQVBJcyBhbmQgdGhlIGV2ZXIgaW5j
cmVhc2luZyBudW1iZXIgb2Ygbm9uLWJyb3dzZXIgSFRUUCBjbGllbnQgYXBwbGljYXRpb25zLCBp
dCB3b3VsZCBiZSB2ZXJ5IGludGVyZXN0aW5nIHRvIGZvcm1hbGx5IGNvbXBhcmUgYW5kIGFuYWx5
emUgdGhlIHBlcmZvcm1hbmNlIG9mIFNQRFkgdnMuIGN1cnJlbnQgSFRUUC8xLjEgZm9yICpBUEkq
IGNsaWVudHMgYW5kIHNlcnZlcnMuIEluIG15IGluZm9ybWFsIHRlc3RpbmcsIEkgaGF2ZSBzZWVu
IHZlcnkgbGl0dGxlIGRpZmZlcmVuY2UsIGlmIGFueSwgYmV0d2VlbiB1c2luZyBTUERZKiBhbmQg
YSBjbGllbnQgdXNpbmcgcGVyc2lzdGVudCBIVFRQLzEuMSBjb25uZWN0aW9ucyB3aXRoIHBpcGVs
aW5lZCBBUEkgcmVxdWVzdHMuDQogICogd2l0aCB0aGUgY3VycmVudCBodHRwIG1hcHBpbmcgZGVm
aW5lZCBpbiB0aGUgc3BkeSBzcGVjDQoNCldpdGggYSBmZXcgdHdlYWtzIGhlcmUgYW5kIHRoZXJl
IHRvIHRoZSBTUERZK0hUVFAgbWFwcGluZyAoZS5nLiB0aGUgYmluYXJ5IGhlYWRlciBlbmNvZGlu
ZyBJIGhhZCBraWNrZWQgYXJvdW5kIHByZXZpb3VzbHkpIEkgd2FzIGFibGUgdG8gc3F1ZWV6ZSBh
IGJpdCBtb3JlIG91dCB0aGUgU1BEWSBvcHRpb24gYnV0IHRoZSByZXN1bHRzIHdlcmUgY2VydGFp
bmx5IG5vdCBjb25jbHVzaXZlLg0KDQpUaGlzLCBvZiBjb3Vyc2UsIHdhcyBub3QgYSBmb3JtYWwg
c3R1ZHkgYW5kIG15IG1ldGhvZG9sb2d5IHdhcyBmYXIgZnJvbSByaWdvcm91cy4gQSBtb3JlIHRo
b3JvdWdoIGFuYWx5c2lzIHdvdWxkIGJlIHJlcXVpcmVkLg0KDQotIEphbWVzDQo=

--_000_4C032A8F343D304CBF7C6EE7AF002F44187FCF08BY2PRD0310MB354_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
Q2FsaWJyaTsNCglwYW5vc2UtMToyIDE1IDUgMiAyIDIgNCAzIDIgNDt9DQpAZm9udC1mYWNlDQoJ
e2ZvbnQtZmFtaWx5OlRhaG9tYTsNCglwYW5vc2UtMToyIDExIDYgNCAzIDUgNCA0IDIgNDt9DQov
KiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29Ob3JtYWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1z
b05vcm1hbA0KCXttYXJnaW46MGluOw0KCW1hcmdpbi1ib3R0b206LjAwMDFwdDsNCglmb250LXNp
emU6MTIuMHB0Ow0KCWZvbnQtZmFtaWx5OiJUaW1lcyBOZXcgUm9tYW4iLCJzZXJpZiI7fQ0KYTps
aW5rLCBzcGFuLk1zb0h5cGVybGluaw0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6
Ymx1ZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCmE6dmlzaXRlZCwgc3Bhbi5Nc29I
eXBlcmxpbmtGb2xsb3dlZA0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6cHVycGxl
Ow0KCXRleHQtZGVjb3JhdGlvbjp1bmRlcmxpbmU7fQ0KcA0KCXttc28tc3R5bGUtcHJpb3JpdHk6
OTk7DQoJbXNvLW1hcmdpbi10b3AtYWx0OmF1dG87DQoJbWFyZ2luLXJpZ2h0OjBpbjsNCgltc28t
bWFyZ2luLWJvdHRvbS1hbHQ6YXV0bzsNCgltYXJnaW4tbGVmdDowaW47DQoJZm9udC1zaXplOjEy
LjBwdDsNCglmb250LWZhbWlseToiVGltZXMgTmV3IFJvbWFuIiwic2VyaWYiO30NCnNwYW4uRW1h
aWxTdHlsZTE4DQoJe21zby1zdHlsZS10eXBlOnBlcnNvbmFsLXJlcGx5Ow0KCWZvbnQtZmFtaWx5
OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7DQoJY29sb3I6IzFGNDk3RDt9DQouTXNvQ2hwRGVmYXVs
dA0KCXttc28tc3R5bGUtdHlwZTpleHBvcnQtb25seTsNCglmb250LWZhbWlseToiQ2FsaWJyaSIs
InNhbnMtc2VyaWYiO30NCkBwYWdlIFdvcmRTZWN0aW9uMQ0KCXtzaXplOjguNWluIDExLjBpbjsN
CgltYXJnaW46MS4waW4gMS4waW4gMS4waW4gMS4waW47fQ0KZGl2LldvcmRTZWN0aW9uMQ0KCXtw
YWdlOldvcmRTZWN0aW9uMTt9DQotLT48L3N0eWxlPjwhLS1baWYgZ3RlIG1zbyA5XT48eG1sPg0K
PG86c2hhcGVkZWZhdWx0cyB2OmV4dD0iZWRpdCIgc3BpZG1heD0iMTAyNiIgLz4NCjwveG1sPjwh
W2VuZGlmXS0tPjwhLS1baWYgZ3RlIG1zbyA5XT48eG1sPg0KPG86c2hhcGVsYXlvdXQgdjpleHQ9
ImVkaXQiPg0KPG86aWRtYXAgdjpleHQ9ImVkaXQiIGRhdGE9IjEiIC8+DQo8L286c2hhcGVsYXlv
dXQ+PC94bWw+PCFbZW5kaWZdLS0+DQo8L2hlYWQ+DQo8Ym9keSBsYW5nPSJFTi1VUyIgbGluaz0i
Ymx1ZSIgdmxpbms9InB1cnBsZSI+DQo8ZGl2IGNsYXNzPSJXb3JkU2VjdGlvbjEiPg0KPHAgY2xh
c3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6
JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0Qi
PldlIGhhdmUgZG9uZSBhIGJpdCBvZiB3b3JrIG9uIGxvb2tpbmcgYXQgaG93IFNQRFkgd29ya3Mg
Zm9yIGFwcHMgKG1vc3RseSBzaW1wbGUgdHJhY2UgYW5hbHlzaXMpLCBidXQgd2UgZG9u4oCZdCBo
YXZlIGFueXRoaW5nIHNpZ25pZmljYW50IHRvIHJlcG9ydCB5ZXQuIEJ1dCB0aGlzDQogaXMgaW5k
ZWVkIHNvbWV0aGluZyB0aGF0IG5lZWRzIGxvb2tpbmcgaW50by4gPG86cD48L286cD48L3NwYW4+
PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7
Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2Nv
bG9yOiMxRjQ5N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29O
b3JtYWwiPjxiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTAuMHB0O2ZvbnQtZmFtaWx5OiZxdW90
O1RhaG9tYSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7Ij5Gcm9tOjwvc3Bhbj48L2I+PHNw
YW4gc3R5bGU9ImZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7VGFob21hJnF1b3Q7
LCZxdW90O3NhbnMtc2VyaWYmcXVvdDsiPiBKYW1lcyBNIFNuZWxsIFttYWlsdG86amFzbmVsbEBn
bWFpbC5jb21dDQo8YnI+DQo8Yj5TZW50OjwvYj4gVHVlc2RheSwgSnVseSAzMSwgMjAxMiAxOjAw
IFBNPGJyPg0KPGI+VG86PC9iPiBIZW5yaWsgRnJ5c3R5ayBOaWVsc2VuPGJyPg0KPGI+Q2M6PC9i
PiBpZXRmLWh0dHAtd2dAdzMub3JnOyBHYWJyaWVsIE1vbnRlbmVncm87IFJvYiBUcmFjZTsgQWRh
bGJlcnRvIEZvcmVzdGkgKE1TIE9QRU4gVEVDSCk8YnI+DQo8Yj5TdWJqZWN0OjwvYj4gUmU6IEhU
VFAgMi4wIGFuZCBhIEZhc3RlciwgbW9yZSBNb2JpbGUtZnJpZW5kbHkgd2ViPG86cD48L286cD48
L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8
cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2luLWJvdHRvbToxMi4wcHQiPjxzcGFuIHN0
eWxlPSJmb250LWZhbWlseTomcXVvdDtDb3VyaWVyIE5ldyZxdW90OyI+RXhjZWxsZW50IHRvIHNl
ZSB0aGlzIGtpbmQgb2YgYW5hbHlzaXMgYmVpbmcgcGVyZm9ybWVkLiBBIGZldyBjb21tZW50cyBp
bmxpbmUuLjwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFs
Ij5PbiBTdW4sIEp1bCAyOSwgMjAxMiBhdCAxOjE0IFBNLCBIZW5yaWsgRnJ5c3R5ayBOaWVsc2Vu
ICZsdDs8YSBocmVmPSJtYWlsdG86aGVucmlrbkBtaWNyb3NvZnQuY29tIiB0YXJnZXQ9Il9ibGFu
ayI+aGVucmlrbkBtaWNyb3NvZnQuY29tPC9hPiZndDsgd3JvdGU6PG86cD48L286cD48L3A+DQo8
ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+W3NuaXBdJm5ic3A7PG86cD48L286cD48L3A+DQo8
L2Rpdj4NCjxibG9ja3F1b3RlIHN0eWxlPSJib3JkZXI6bm9uZTtib3JkZXItbGVmdDpzb2xpZCAj
Q0NDQ0NDIDEuMHB0O3BhZGRpbmc6MGluIDBpbiAwaW4gNi4wcHQ7bWFyZ2luLWxlZnQ6NC44cHQ7
bWFyZ2luLXJpZ2h0OjBpbiI+DQo8ZGl2Pg0KPGRpdj4NCjxwPlRoZSBTUERZIHByb3Bvc2FsIGhh
cyBiZWVuIGdyZWF0IGZvciByYWlzaW5nIGF3YXJlbmVzcyBvZiBXZWIgcGVyZm9ybWFuY2UuIEl0
IHRha2VzIGEg4oCcY2xlYW4gc2xhdGXigJ0gYXBwcm9hY2ggdG8gaW1wcm92aW5nIEhUVFAuPG86
cD48L286cD48L3A+DQo8cD5UbyBjb21wYXJlIHRoZSBwZXJmb3JtYW5jZSBvZiBTUERZIHdpdGgg
SFRUUC8xLjEgd2UgaGF2ZSBydW4gdGVzdHMgY29tcGFyaW5nIGRvd25sb2FkIHRpbWVzIG9mIHNl
dmVyYWwgcHVibGljIHdlYiBzaXRlcyB1c2luZyBhIGNvbnRyb2xsZWQgdGVzdGVkIHN0dWR5LiBU
aGUgdGVzdCB1c2VzIHB1YmxpY2FsbHkgYXZhaWxhYmxlIHNvZnR3YXJlIHJ1biB3aXRoIG1vc3Rs
eSBkZWZhdWx0IGNvbmZpZ3VyYXRpb25zIHdoaWxlIGFwcGx5aW5nIGFsbA0KIHRoZSBjdXJyZW50
bHkgYXZhaWxhYmxlIG9wdGltaXphdGlvbnMgdG8gSFRUUC8xLjEuIFlvdSBjYW4gZmluZCBhIHBy
ZWxpbWluYXJ5IHJlcG9ydCBvbiB0aGUgdGVzdCByZXN1bHRzIGhlcmU6DQo8YSBocmVmPSJodHRw
Oi8vcmVzZWFyY2gubWljcm9zb2Z0LmNvbS9hcHBzL3B1YnMvP2lkPTE3MDA1OSIgdGFyZ2V0PSJf
YmxhbmsiPmh0dHA6Ly9yZXNlYXJjaC5taWNyb3NvZnQuY29tL2FwcHMvcHVicy8/aWQ9MTcwMDU5
PC9hPi4gVGhlIHJlc3VsdHMgbWlycm9yIG90aGVyIGRhdGEgKDxhIGhyZWY9Imh0dHA6Ly93d3cu
Z3V5cG8uY29tL3RlY2huaWNhbC9ub3QtYXMtc3BkeS1hcy15b3UtdGhvdWdodCIgdGFyZ2V0PSJf
YmxhbmsiPmh0dHA6Ly93d3cuZ3V5cG8uY29tL3RlY2huaWNhbC9ub3QtYXMtc3BkeS1hcy15b3Ut
dGhvdWdodDwvYT4pDQogdGhhdCBpbmRpY2F0ZSBtaXhlZCByZXN1bHRzIHdpdGggU1BEWSBwZXJm
b3JtYW5jZS48bzpwPjwvbzpwPjwvcD4NCjxwPk91ciByZXN1bHRzIGluZGljYXRlIGFsbW9zdCBl
cXVhbCBwZXJmb3JtYW5jZSBiZXR3ZWVuIFNQRFkgYW5kIEhUVFAvMS4xIHdoZW4gb25lIGFwcGxp
ZXMgYWxsIHRoZSBrbm93biBvcHRpbWl6YXRpb25zIHRvIEhUVFAvMS4xLiBTUERZ4oCZcyBwZXJm
b3JtYW5jZSBpbXByb3ZlbWVudHMgYXJlIG5vdCBjb25zaXN0ZW50IGFuZCBzaWduaWZpY2FudC4g
V2Ugd2lsbCBjb250aW51ZSBvdXIgdGVzdGluZywgYW5kIHdlIHdlbGNvbWUgb3RoZXJzIHRvIHB1
Ymxpc2gNCiB0aGVpciByZXN1bHRzIHNvIHRoYXQgSFRUUC8yLjAgY2FuIGNob29zZSB0aGUgYmVz
dCBjaGFuZ2VzIGFuZCBkZWxpdmVyIHRoZSBiZXN0IHBvc3NpYmxlIHBlcmZvcm1hbmNlIGFuZCBz
Y2FsYWJpbGl0eSBpbXByb3ZlbWVudHMgY29tcGFyZWQgdG8gSFRUUC8xLjEuPG86cD48L286cD48
L3A+DQo8cD4mbmJzcDs8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Jsb2NrcXVv
dGU+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+T25lIG9mIHRoZSBmcnVzdHJhdGluZyBp
c3N1ZXMgZm9yIG1lLCBzbyBmYXIsIGlzIHRoYXQgbmVhcmx5IGFsbCBvZiB0aGUgZGlzY3Vzc2lv
biBhcm91bmQgSFRUUC8yLjAgdG8gZGF0ZSBoYXMgY2VudGVyZWQgYXJvdW5kIHRoZSByZXF1aXJl
bWVudHMgZm9yIGJyb3dzZXIgY2xpZW50czsgZ2l2ZW4gdGhlIGV2ZXIgZ3Jvd2luZyB1c2UgSFRU
UCBhcyBhbiBlbmFibGVyIGZvciBpbnRlZ3JhdGlvbiBBUElzIGFuZA0KIHRoZSBldmVyIGluY3Jl
YXNpbmcgbnVtYmVyIG9mIG5vbi1icm93c2VyIEhUVFAgY2xpZW50IGFwcGxpY2F0aW9ucywgaXQg
d291bGQgYmUgdmVyeSBpbnRlcmVzdGluZyB0byBmb3JtYWxseSBjb21wYXJlIGFuZCBhbmFseXpl
IHRoZSBwZXJmb3JtYW5jZSBvZiBTUERZIHZzLiBjdXJyZW50IEhUVFAvMS4xIGZvciAqQVBJKiBj
bGllbnRzIGFuZCBzZXJ2ZXJzLiBJbiBteSBpbmZvcm1hbCB0ZXN0aW5nLCBJIGhhdmUgc2VlbiB2
ZXJ5IGxpdHRsZSBkaWZmZXJlbmNlLA0KIGlmIGFueSwgYmV0d2VlbiB1c2luZyBTUERZKiBhbmQg
YSBjbGllbnQgdXNpbmcgcGVyc2lzdGVudCBIVFRQLzEuMSBjb25uZWN0aW9ucyB3aXRoIHBpcGVs
aW5lZCBBUEkgcmVxdWVzdHMuICZuYnNwOyZuYnNwOzxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8
ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7ICogd2l0aCB0aGUgY3VycmVudCBodHRw
IG1hcHBpbmcgZGVmaW5lZCBpbiB0aGUgc3BkeSBzcGVjPG86cD48L286cD48L3A+DQo8L2Rpdj4N
CjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2
Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPldpdGggYSBmZXcgdHdlYWtzIGhlcmUgYW5k
IHRoZXJlIHRvIHRoZSBTUERZJiM0MztIVFRQIG1hcHBpbmcgKGUuZy4gdGhlIGJpbmFyeSBoZWFk
ZXIgZW5jb2RpbmcgSSBoYWQga2lja2VkIGFyb3VuZCBwcmV2aW91c2x5KSBJIHdhcyBhYmxlIHRv
IHNxdWVlemUgYSBiaXQgbW9yZSBvdXQgdGhlIFNQRFkgb3B0aW9uIGJ1dCB0aGUgcmVzdWx0cyB3
ZXJlIGNlcnRhaW5seSBub3QgY29uY2x1c2l2ZS48bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRp
dj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8
ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+VGhpcywgb2YgY291cnNlLCB3YXMgbm90IGEgZm9y
bWFsIHN0dWR5IGFuZCBteSBtZXRob2RvbG9neSB3YXMgZmFyIGZyb20gcmlnb3JvdXMuIEEgbW9y
ZSB0aG9yb3VnaCBhbmFseXNpcyB3b3VsZCBiZSByZXF1aXJlZC48bzpwPjwvbzpwPjwvcD4NCjwv
ZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0K
PC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+LSBKYW1lczxvOnA+PC9vOnA+PC9w
Pg0KPC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_4C032A8F343D304CBF7C6EE7AF002F44187FCF08BY2PRD0310MB354_--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 14:58:35 2012
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 91BD221F86F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 14:58:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.23
X-Spam-Level: 
X-Spam-Status: No, score=-10.23 tagged_above=-999 required=5 tests=[AWL=0.368, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 qWdfKxYkXRU4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 14:58:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B895221F86F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 14:58:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwKR3-00045k-Vq for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 21:57:02 +0000
Resent-Date: Tue, 31 Jul 2012 21:57:01 +0000
Resent-Message-Id: <E1SwKR3-00045k-Vq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwKQs-00044q-3t for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 21:56:50 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwKQq-0008LE-Ex for ietf-http-wg@w3.org; Tue, 31 Jul 2012 21:56:50 +0000
Received: by wibhm6 with SMTP id hm6so2810670wib.8 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 14:56:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cY2VHopWxVc32TKRR4b6aGAnda6oZFgVbyK5IrlWcn8=; b=K7AmmIDt10qbbgJ62xUbFi9Btn7/EBrjbYwYY6pIz50cRIwW6BxdAo8hEbD/3Rkr02 V7Emy49dk2kD+rp4IcwqmqHYCkX1GSyOCNP9xjF0b9PxabtkkXu+pkeZbBD6LrIncckL 2RawVJpM4jbLzkRlTKCixHB3bIX8OCR2xURU9VDcJNPE56iLVfUA4+pf7MnVPkgSyGgH WixQ4dymluByIhRZ0pgC8ix0DhqyLlLy3QDPkL0x5NY0pOabYi6L+huyk+YLv3UVXDbm rb8Yu9V52xNpDzZh6q7IwZI8hrxR4pd+Nj9mE5t5HywudNKTjFys2BOogzlJDfTpA3PD 759Q==
Received: by 10.180.106.137 with SMTP id gu9mr10865365wib.20.1343771782019; Tue, 31 Jul 2012 14:56:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 31 Jul 2012 14:56:01 -0700 (PDT)
In-Reply-To: <20120731173655.GA12322@1wt.eu>
References: <20120731173655.GA12322@1wt.eu>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 31 Jul 2012 14:56:01 -0700
Message-ID: <CABP7RbeUeFo00+J7dknuqV0sgS=6Nh-BnUjuyRenAvg1wb+EEw@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f3babc1b9f9dd04c6273ff9
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SwKQq-0008LE-Ex 5b7e242ee5bbce37b3fe93bdae2936b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2: Another reason to find a safer encoding
Archived-At: <http://www.w3.org/mid/CABP7RbeUeFo00+J7dknuqV0sgS=6Nh-BnUjuyRenAvg1wb+EEw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14858
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>

--e89a8f3babc1b9f9dd04c6273ff9
Content-Type: text/plain; charset=UTF-8

Definitely a fascinating read and I can certainly relate to many of the
issues discussed. Reliable parsing within existing HTTP headers and the
request URI can be a significant source of pain. Encoding issues and
inconsistency between header definitions just makes matters that much
worse. Unfortunately, despite the significant security concern that such
issues represent (issues that I would argue are as significant, or in some
cases more significant than the question of mandatory TLS support) it would
be next to impossible to fix (or at least improve-upon) these various
issues without making significant modifications to existing HTTP/1.1
semantics. I'd very much like to see such changes made within 2.0, but I'm
afraid that I may be in the minority.

- James

On Tue, Jul 31, 2012 at 10:36 AM, Willy Tarreau <w@1wt.eu> wrote:

> Hi,
>
> Ivan Ristic recently presented a wide collection of methods to bypass
> web application firewalls using implementation differences in HTTP
> stacks :
>
>
> https://community.qualys.com/blogs/securitylabs/2012/07/25/protocol-level-evasion-of-web-application-firewalls
>
> While some of them have already been discussed to great extents, including
> here, I think it's worth a read and reminds us that we really need to
> address the ambiguities of request encoding if we want to make the web
> safer.
>
> Regards,
> Willy
>
>
>

--e89a8f3babc1b9f9dd04c6273ff9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Definitely a fascinating read and I ca=
n certainly relate to many of the issues discussed. Reliable parsing within=
 existing HTTP headers and the request URI can be a significant source of p=
ain. Encoding issues and inconsistency between header definitions just make=
s matters that much worse. Unfortunately, despite the significant security =
concern that such issues represent (issues that I would argue are as signif=
icant, or in some cases more significant than the question of mandatory TLS=
 support) it would be next to impossible to fix (or at least improve-upon) =
these various issues without making significant modifications to existing H=
TTP/1.1 semantics. I&#39;d very much like to see such changes made within 2=
.0, but I&#39;m afraid that I may be in the minority.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Tu=
e, Jul 31, 2012 at 10:36 AM, Willy Tarreau <span dir=3D"ltr">&lt;<a href=3D=
"mailto:w@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi,<br>
<br>
Ivan Ristic recently presented a wide collection of methods to bypass<br>
web application firewalls using implementation differences in HTTP<br>
stacks :<br>
<br>
=C2=A0 =C2=A0<a href=3D"https://community.qualys.com/blogs/securitylabs/201=
2/07/25/protocol-level-evasion-of-web-application-firewalls" target=3D"_bla=
nk">https://community.qualys.com/blogs/securitylabs/2012/07/25/protocol-lev=
el-evasion-of-web-application-firewalls</a><br>


<br>
While some of them have already been discussed to great extents, including<=
br>
here, I think it&#39;s worth a read and reminds us that we really need to<b=
r>
address the ambiguities of request encoding if we want to make the web<br>
safer.<br>
<br>
Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br></div>

--e89a8f3babc1b9f9dd04c6273ff9--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 15:10:34 2012
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 E9ACA21F885B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 15:10:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.09
X-Spam-Level: 
X-Spam-Status: No, score=-9.09 tagged_above=-999 required=5 tests=[AWL=1.509, BAYES_00=-2.599, 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 oAGXYDfbt7sF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 15:10:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DD5AB21F86F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 15:10:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwKcu-0001iy-Iq for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 22:09:16 +0000
Resent-Date: Tue, 31 Jul 2012 22:09:16 +0000
Resent-Message-Id: <E1SwKcu-0001iy-Iq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SwKch-0001iD-2c for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 22:09:03 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SwKcf-0000BV-Kn for ietf-http-wg@w3.org; Tue, 31 Jul 2012 22:09:03 +0000
Received: by obqv19 with SMTP id v19so11514080obq.2 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 15:08:35 -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=XhcA0wwhcrLp2EzmHkRxJQnnzEGhFmpQJ8OM8A7xIvk=; b=aFnNkBKM+UDGcirIE9uhKHIuIsHCcNE3OK/tBVyKdNZfNwv+YUrVoJ9LMOSOh2nQVx Vx67uUKqMQPKNidrkmCrX609P9V2Ed1GE/5HouSZNTQNIPNz8k4vObcy4ku8PrIJ5Hzl p6imK2rzL6Ssadyxysy5fNq911fg6WbzPpcsjClsSgarXoPeRixpGp5ofCDpJK/5Qxjp rV6idvLvjC1O0VZs7wdLaiYP2xT9lTMIF/fqsdVkYzim5upInyG6e9Nq5AMadvHtgkIM rkNAcbZmqNS1jJsLyMM7NN1IPyxE0sMkwSdvfTG4o3micMZ40OmVy2ZWB1/Iy1UsBp8X NvKA==
MIME-Version: 1.0
Received: by 10.60.12.8 with SMTP id u8mr25425531oeb.46.1343772515711; Tue, 31 Jul 2012 15:08:35 -0700 (PDT)
Received: by 10.76.71.169 with HTTP; Tue, 31 Jul 2012 15:08:35 -0700 (PDT)
In-Reply-To: <CABP7RbeUeFo00+J7dknuqV0sgS=6Nh-BnUjuyRenAvg1wb+EEw@mail.gmail.com>
References: <20120731173655.GA12322@1wt.eu> <CABP7RbeUeFo00+J7dknuqV0sgS=6Nh-BnUjuyRenAvg1wb+EEw@mail.gmail.com>
Date: Tue, 31 Jul 2012 15:08:35 -0700
Message-ID: <CAMm+LwjJ6DqvC7MwMDP-kj73PkaLScvG0J=S7y9ZnoHdJG9zXQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: maggie.w3.org 1SwKcf-0000BV-Kn 87af159d0790db3a6aa96e9382a931c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2: Another reason to find a safer encoding
Archived-At: <http://www.w3.org/mid/CAMm+LwjJ6DqvC7MwMDP-kj73PkaLScvG0J=S7y9ZnoHdJG9zXQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14859
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>

See http://xkcd.com/327/


In the Omnibroker spec I created a new type 'Label' as a subclass of
string that is designed to help avoid this type of issue.

A Label can contain any UNICODE character except for ASCII characters
other than 0-9, a-z, A-Z, -, _.

The reason for this particular choice is that it excludes all the
control characters used in pretty much every widely used scripting
language.

This does not provide a complete protection against injection attacks,
but the data types most commonly subject to injection attacks are
things like usernames, indexes, labels and such.




On Tue, Jul 31, 2012 at 2:56 PM, James M Snell <jasnell@gmail.com> wrote:
> Definitely a fascinating read and I can certainly relate to many of the
> issues discussed. Reliable parsing within existing HTTP headers and the
> request URI can be a significant source of pain. Encoding issues and
> inconsistency between header definitions just makes matters that much worse.
> Unfortunately, despite the significant security concern that such issues
> represent (issues that I would argue are as significant, or in some cases
> more significant than the question of mandatory TLS support) it would be
> next to impossible to fix (or at least improve-upon) these various issues
> without making significant modifications to existing HTTP/1.1 semantics. I'd
> very much like to see such changes made within 2.0, but I'm afraid that I
> may be in the minority.
>
> - James
>
> On Tue, Jul 31, 2012 at 10:36 AM, Willy Tarreau <w@1wt.eu> wrote:
>>
>> Hi,
>>
>> Ivan Ristic recently presented a wide collection of methods to bypass
>> web application firewalls using implementation differences in HTTP
>> stacks :
>>
>>
>> https://community.qualys.com/blogs/securitylabs/2012/07/25/protocol-level-evasion-of-web-application-firewalls
>>
>> While some of them have already been discussed to great extents, including
>> here, I think it's worth a read and reminds us that we really need to
>> address the ambiguities of request encoding if we want to make the web
>> safer.
>>
>> Regards,
>> Willy
>>
>>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 15:19:36 2012
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 4623911E8148 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 15:19:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.144
X-Spam-Level: 
X-Spam-Status: No, score=-8.144 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 3dt1Yv8AFP+4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 15:19:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 53DCA11E8147 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 15:19:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwKmL-0006mc-0F for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 22:19:01 +0000
Resent-Date: Tue, 31 Jul 2012 22:19:01 +0000
Resent-Message-Id: <E1SwKmL-0006mc-0F@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SwKm9-0006kg-1g for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 22:18:49 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SwKm7-0000UY-RG for ietf-http-wg@w3.org; Tue, 31 Jul 2012 22:18:49 +0000
Received: (qmail invoked by alias); 31 Jul 2012 22:18:20 -0000
Received: from AMontpellier-554-1-106-16.w92-145.abo.wanadoo.fr (EHLO [192.168.3.131]) [92.145.217.16] by mail.gmx.net (mp029) with SMTP; 01 Aug 2012 00:18:20 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18Ri4pLe94R80MT3XYQVcT0qyvmfm3POlNPSpTcyo xjkaZ08ltvOjgZ
Message-ID: <50185992.70101@gmx.de>
Date: Wed, 01 Aug 2012 00:17:54 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <63750B68-2BB9-48E4-B2E8-EDAC5AB1F0A9@mnot.net> <500FE058.1000005@treenet.co.nz> <C68CB012D9182D408CED7B884F441D4D1E2D86A0F6@nambxv01a.corp.adobe.com> <CAF4kx8ci=Z8wemoedR1=gn2dppyBG=KJyocMRtrLV_VMRNu3Pw@mail.gmail.com> <d85655d0-c544-485f-8b84-c3888e83d13a@blur> <CABaLYCsfVidXke9TWX_wT8fu3HQjmNw9g7R6e88M6hS2F5MovQ@mail.gmail.com> <5017845E.4070503@gmx.de> <CABaLYCuUFmt_y9HpSGcenS0zGCp8mof6CYMOD6mq7jh=0KV73g@mail.gmail.com>
In-Reply-To: <CABaLYCuUFmt_y9HpSGcenS0zGCp8mof6CYMOD6mq7jh=0KV73g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FRT_ADOBE2=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SwKm7-0000UY-RG 596e9b5f5fdd869b0591a7f4a711f8fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Connection limits, was: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/50185992.70101@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14860
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 31.07.2012 22:19, Mike Belshe wrote:
>
>
> On Tue, Jul 31, 2012 at 12:08 AM, Julian Reschke <julian.reschke@gmx.de
> <mailto:julian.reschke@gmx.de>> wrote:
>
>     On 31.07.2012 06 <tel:31.07.2012%2006>:04, Mike Belshe wrote:
>
>
>
>         On Sun, Jul 29, 2012 at 10:45 AM, Larry Masinter
>         <masinter@adobe.com <mailto:masinter@adobe.com>
>         <mailto:masinter@adobe.com <mailto:masinter@adobe.com>>> wrote:
>
>              Your post is consistent with the assertion that there isn't
>              agreement yet about what "faster than HTTP/1.1" means, or
>         how to
>              compare proposals for improvement. And neither measured
>         worst case
>              latency or real network traffic with buffer bloat, or
>         situations
>              that would detect the impact of HOL blocking.
>
>
>         While SPDY leaves a tiny HOL issue, it fixes the massive one from
>         HTTP/1.1, which can only load a couple of resources in parallel per
>         domain (2 by spec, 6 by implementation best practices).  The
>         tradeoff
>         turns out to be a boon in terms of reduced latency while also using
>         fewer network resources.
>         ...
>
>
>     "By spec" in RFC 2616, but not in HTTPbis (this has been fixed a
>     LONG time ago!).
>
>
> Alright :-)  spec fine, but still a practical issue in all major browser
> implementations today.

It's not a spec problem anymore, it's an implementation problem. Adding 
a new spec doesn't solve *that* problem.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 16:07:14 2012
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 7D17911E8152 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 16:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.298
X-Spam-Level: 
X-Spam-Status: No, score=-10.298 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_22=0.6, 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 CB8kz7r+Ykxm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 16:07:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA32111E80FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 16:07:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwLW1-0006mZ-5U for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Jul 2012 23:06:13 +0000
Resent-Date: Tue, 31 Jul 2012 23:06:13 +0000
Resent-Message-Id: <E1SwLW1-0006mZ-5U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SwLVh-0006jq-Li for ietf-http-wg@listhub.w3.org; Tue, 31 Jul 2012 23:05:53 +0000
Received: from rcdn-iport-2.cisco.com ([173.37.86.73]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SwLVd-0001uU-GS for ietf-http-wg@w3.org; Tue, 31 Jul 2012 23:05:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=2662; q=dns/txt; s=iport; t=1343775949; x=1344985549; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=hTb4e1mkQ8F2gzraR3YAa6kEOax0GZ9zz8Zs3dzh/r4=; b=CaAtMLo1LCtU4A+/pYdjlmfDPMS9xS6olR4pPMSVAGDdjwutNG4Kho/D Yd5wR02k6wLY+Kul7z1ChUnANQsjIyXUFOm3LLRV42THOecJOkQFr1bE8 yZSof46EkWCM8b8zM61XX1Iy3fuWbHgCrbczM5OiwfnoQqNTPHV12qwv0 w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ag0FAP5jGFCtJXHB/2dsb2JhbABFhXiFX64kgQeCIAEBAQMBEgEQVQEQCwQBEwkWCwICCQMCAQIBRQYNAQcBAR6HZQabYI0Zk0mRQIESA5VHjieBZoJh
X-IronPort-AV: E=Sophos;i="4.77,689,1336348800";  d="scan'208,217";a="107171647"
Received: from rcdn-core2-6.cisco.com ([173.37.113.193]) by rcdn-iport-2.cisco.com with ESMTP; 31 Jul 2012 23:05:23 +0000
Received: from dhcp-525d.meeting.ietf.org (rtp-vpn2-825.cisco.com [10.82.243.57]) by rcdn-core2-6.cisco.com (8.14.5/8.14.5) with ESMTP id q6VN5KWj023496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jul 2012 23:05:21 GMT
Message-ID: <501864B0.8060203@cisco.com>
Date: Wed, 01 Aug 2012 01:05:20 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Tim Bray <tbray@textuality.com>, =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
In-Reply-To: <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------030501090107000300040905"
Received-SPF: pass client-ip=173.37.86.73; envelope-from=lear@cisco.com; helo=rcdn-iport-2.cisco.com
X-W3C-Hub-Spam-Status: No, score=-13.1
X-W3C-Hub-Spam-Report: BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1SwLVd-0001uU-GS b110c8c144c4a6493588b1d6ce67ff4d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs
Archived-At: <http://www.w3.org/mid/501864B0.8060203@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14861
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>

This is a multi-part message in MIME format.
--------------030501090107000300040905
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit


On 7/31/12 6:43 AM, Mike Belshe wrote:
>
> Part of the reason it is hard is because we haven't built the tools we
> need.  Why haven't we built better tools?  Because its too easy to opt
> out.

Or too hard to opt in.


>
> If the net were secure by default and offered no option to amateur
> blokes like us, we'd soon have a one-liner command line mechanism to
> request/sign/issue/install our server certs and we'dl all be laughing
> about how we used to say it was "hard".

I look forward to that day.  But it is not today, and your use of the
term "secure" is loose.  It is possible to make things worse by
attempting to make things more "secure".  Forcing the users to ignore an
indication that works *somewhat* would make things worse.

Eliot

--------------030501090107000300040905
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 7/31/12 6:43 AM, Mike Belshe wrote:<br>
    </div>
    <blockquote
cite="mid:CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com"
      type="cite"><br>
      <div class="gmail_quote">
        <div>Part of the reason it is hard is because we haven't built
          the tools we need.  Why haven't we built better tools?
           Because its too easy to opt out.</div>
      </div>
    </blockquote>
    <br>
    Or too hard to opt in.<br>
    <br>
    <br>
    <blockquote
cite="mid:CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div><br>
        </div>
        <div>If the net were secure by default and offered no option to
          amateur blokes like us, we'd soon have a one-liner command
          line mechanism to request/sign/issue/install our server certs
          and we'dl all be laughing about how we used to say it was
          "hard".</div>
      </div>
    </blockquote>
    <br>
    I look forward to that day.  But it is not today, and your use of
    the term "secure" is loose.  It is possible to make things worse by
    attempting to make things more "secure".  Forcing the users to
    ignore an indication that works <b>somewhat</b> would make things
    worse.<br>
    <br>
    Eliot<br>
  </body>
</html>

--------------030501090107000300040905--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 17:26:45 2012
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 DAAFC11E8146 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 17:26:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.542
X-Spam-Level: 
X-Spam-Status: No, score=-10.542 tagged_above=-999 required=5 tests=[AWL=0.057, BAYES_00=-2.599, 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 KNF-NDgVdaUn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 17:26:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D060011E8163 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 17:26:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwMk9-0008Qo-RK for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Aug 2012 00:24:53 +0000
Resent-Date: Wed, 01 Aug 2012 00:24:53 +0000
Resent-Message-Id: <E1SwMk9-0008Qo-RK@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 1SwMjx-0008Pu-5R for ietf-http-wg@listhub.w3.org; Wed, 01 Aug 2012 00:24:41 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SwMjv-0000X4-G5 for ietf-http-wg@w3.org; Wed, 01 Aug 2012 00:24:41 +0000
Received: by vcdd16 with SMTP id d16so6735864vcd.2 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 17:24:13 -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=tQDHE8xtmSRvzFW8lJID3CG0aUsCFZaTI4QXX/Okadw=; b=npQf6bYdaS71a44PNZSlwYTW/RVRNS0wpG9P9wZj27jyjO46ApZIB4vfrDM3/NkZbv nKJbidYmK0UMJKVuA8v32MjZdKdyqYn8M1h3gaDkgMzXH7ZDBkUNekKyeUL+9P681uIN ZiuZfGt33Iv9AnVZprW8WWt2Oz4LN+6ItKNquAibbQTkKbhn7jRmi1XhmzjSHOFDaZWd MvrSRTgCQjhEkJo47DedQgdA5EGHr564yDdKajLoXgcmt2l6pVCU4UbA+zey/9lXb5Q7 xRp5gaBDOwu8yKmWs8FcSkItXalVpSljMsQB8OWD86C1bFmwwLwqo1h807gpuqaGslJr Yj3g==
MIME-Version: 1.0
Received: by 10.52.89.35 with SMTP id bl3mr13719552vdb.106.1343780653060; Tue, 31 Jul 2012 17:24:13 -0700 (PDT)
Received: by 10.220.59.145 with HTTP; Tue, 31 Jul 2012 17:24:12 -0700 (PDT)
In-Reply-To: <20120731173655.GA12322@1wt.eu>
References: <20120731173655.GA12322@1wt.eu>
Date: Tue, 31 Jul 2012 19:24:12 -0500
Message-ID: <CACuKZqH4k0BboL+397gHQYoUG7+E2Lvz371CB58df-RED2Kniw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: 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
X-W3C-Scan-Sig: lisa.w3.org 1SwMjv-0000X4-G5 22ebfad33666a002ebaba3c9eacc5e9b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2: Another reason to find a safer encoding
Archived-At: <http://www.w3.org/mid/CACuKZqH4k0BboL+397gHQYoUG7+E2Lvz371CB58df-RED2Kniw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14862
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 Tue, Jul 31, 2012 at 12:36 PM, Willy Tarreau <w@1wt.eu> wrote:
> Hi,
>
> Ivan Ristic recently presented a wide collection of methods to bypass
> web application firewalls using implementation differences in HTTP
> stacks :
>
>    https://community.qualys.com/blogs/securitylabs/2012/07/25/protocol-level-evasion-of-web-application-firewalls
>
> While some of them have already been discussed to great extents, including
> here, I think it's worth a read and reminds us that we really need to
> address the ambiguities of request encoding if we want to make the web
> safer.

What do you have in mind?

The problem is that implementations tend to be liberal in accepting
inputs. That is mostly due to laziness - being strict is harder. As
long as an input can be mapped to an acceptable value, no harm is done
to the internal state, therefore there's no incentive for
implementations to reject illegal inputs. This is the reality, no
matter how sternly the spec emphasizes the MUST NOTs.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 18:44:54 2012
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 8608011E818E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 18:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 QS1wTSxbbJSO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 18:44:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 899F511E8184 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 18:44:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwNy5-0001hq-9X for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Aug 2012 01:43:21 +0000
Resent-Date: Wed, 01 Aug 2012 01:43:21 +0000
Resent-Message-Id: <E1SwNy5-0001hq-9X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1SwNxp-0001h4-N7 for ietf-http-wg@listhub.w3.org; Wed, 01 Aug 2012 01:43:05 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fuzzybsc@gmail.com>) id 1SwNxo-00074M-H7 for ietf-http-wg@w3.org; Wed, 01 Aug 2012 01:43:05 +0000
Received: by ggmi1 with SMTP id i1so6765676ggm.2 for <ietf-http-wg@w3.org>; Tue, 31 Jul 2012 18:42:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8062fRVXxCu5WIFPVLhIAmDRV2pp9xbcpIIKhJecFns=; b=gG0TYuhNU+ySnbnxd5zrVTK0KwSUJXUihcjE3DgrX05yN5DcI/L7+TJoG3ANar1ASQ 6d/QXinL6NsBKq6SgSQbl63wxEfQMka8+356MQq1ynVlYr7pfmxfyFnG+E0EV6297NFT L8piCprhYqJloc8caVglfczWIA8uGS4IDyV4H0Ogl0tahT4Mn43pTREpzD2qHjG7izOq XzEgkTq40+po+TUbDzVGIwSKslBOXsmQwSxXQrl1KOA+aOxjwl1eTKSWDe+BUWJOXXRS t0ZTfcDMRTj6l+R0zvAB/r5o1d2d39/hYU2mdlEmm2fZA9uLp8fWAarYIUiERDMnStJw WcUQ==
MIME-Version: 1.0
Received: by 10.50.94.133 with SMTP id dc5mr2493838igb.16.1343785358265; Tue, 31 Jul 2012 18:42:38 -0700 (PDT)
Sender: fuzzybsc@gmail.com
Received: by 10.64.52.231 with HTTP; Tue, 31 Jul 2012 18:42:38 -0700 (PDT)
In-Reply-To: <4C032A8F343D304CBF7C6EE7AF002F44187FCF08@BY2PRD0310MB354.namprd03.prod.outlook.com>
References: <723b83d47f93417290cca860e2925703@CH1PR03MB622.namprd03.prod.outlook.com> <CABP7RbeugXO1P+gcyYPBA4KEszu2fzEZ=mEprqLWO1=zVsCrdw@mail.gmail.com> <4C032A8F343D304CBF7C6EE7AF002F44187FCF08@BY2PRD0310MB354.namprd03.prod.outlook.com>
Date: Wed, 1 Aug 2012 11:42:38 +1000
X-Google-Sender-Auth: lT-oc2Gou2NHKrFPOMm9sXXhbYI
Message-ID: <CAN2g+6b=P4=Yfn-2=GCaUFBewBuNg=Uo9pznJ9OU2ygD=gPTKg@mail.gmail.com>
From: Benjamin Carlyle <benjamincarlyle@soundadvice.id.au>
To: Jitu Padhye <padhye@microsoft.com>
Cc: Rob Trace <Rob.Trace@microsoft.com>,  "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, James M Snell <jasnell@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f234ec1ef0eb004c62a68de
Received-SPF: pass client-ip=209.85.161.171; envelope-from=fuzzybsc@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SwNxo-00074M-H7 712d273b62da35b0a32651a9cf713a68
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CAN2g+6b=P4=Yfn-2=GCaUFBewBuNg=Uo9pznJ9OU2ygD=gPTKg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14863
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>

--e89a8f234ec1ef0eb004c62a68de
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Aug 1, 2012 6:47 AM, "Jitu Padhye" <padhye@microsoft.com> wrote:
> We have done a bit of work on looking at how SPDY works for apps (mostly
simple trace analysis), but we don=E2=80=99t have anything significant to r=
eport
yet. But this is indeed something that needs looking into.

The use case where SPDY should offer an advantage is when many requests are
in transit concurrently and there is significant variability in response
times.
Responsiveness of both http and SPDY will depend on the protocol stack's
ability to keep the TCP buffer full of messages, and the real test cases
might be between proxies at the edges of data centres or on other high
volume links.

I have had success with pipelined http as part of SCADA user interfaces. In
this use case we want to bring up a display containing ten thousand
individual data points that each have individual urls. With ordinary
pipelined http/1.1 and a good http implementation I can complete the
initial GET requests plus establish subscriptions and perform all rendering
within a couple of seconds on commodity hardware. In this case response
times are very consistent so server push aside SPDY should not offer
significant raw performance improvement. For workloads with variable
response times I use draft- mogul- http- ooo- 00, which works very well
when supported consistently across the architecture.

I wonder a little as to whether browser protocol stacks will be
appropriately tuned for high message loads to provide good baseline http
figures. A fairer comparison might be obtained by essentially dumping bytes
across the network and comparing on that basis. Alternatively SPDY should
be compared not to http but instead to existing enterprise message queuing
protocols.

In fact when it comes down to it if we're defining a new http primarily for
the purposes of improving performance then existing http isn't really a
good baseline. Instead we should probably be looking at the best performing
available protocols and comparing against those as baselines. It's
potentially very easy to be faster. The question is have we achieved "fast"
such that it would be pointless for anyone to build and use custom
protocols in place of http for transporting http message content except in
extreme cases? I think enterprise experience as to what constitutes "fast"
or "fast enough" and what constitutes an ordinary workload should be
considered.

Benjamin

--e89a8f234ec1ef0eb004c62a68de
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p><br>
On Aug 1, 2012 6:47 AM, &quot;Jitu Padhye&quot; &lt;<a href=3D"mailto:padhy=
e@microsoft.com" target=3D"_blank">padhye@microsoft.com</a>&gt; wrote:<br>
&gt; We have done a bit of work on looking at how SPDY works for apps (most=
ly simple trace analysis), but we don=E2=80=99t have anything significant t=
o report yet. But this is indeed something that needs looking into.</p>
<p>The use case where SPDY should offer an advantage is when many requests =
are in transit concurrently and there is significant variability in respons=
e times.<br>
Responsiveness of both http and SPDY will depend on the protocol stack&#39;=
s ability to keep the TCP buffer full of messages, and the real test cases =
might be between proxies at the edges of data centres or on other high volu=
me links.</p>


<p>I have had success with pipelined http as part of SCADA user interfaces.=
 In this use case we want to bring up a display containing ten thousand ind=
ividual data points that each have individual urls. With ordinary pipelined=
 http/1.1 and a good http implementation I can complete the initial GET req=
uests plus establish subscriptions and perform all rendering within a coupl=
e of seconds on commodity hardware. In this case response times are very co=
nsistent so server push aside SPDY should not offer significant raw perform=
ance improvement. For workloads with variable response times I use draft- m=
ogul- http- ooo- 00, which works very well when supported consistently acro=
ss the architecture.</p>


<p>I wonder a little as to whether browser protocol stacks will be appropri=
ately tuned for high message loads to provide good baseline http figures. A=
 fairer comparison might be obtained by essentially dumping bytes across th=
e network and comparing on that basis. Alternatively SPDY should be compare=
d not to http but instead to existing enterprise message queuing protocols.=
</p>


<p>In fact when it comes down to it if we&#39;re defining a new http primar=
ily for the purposes of improving performance then existing http isn&#39;t =
really a good baseline. Instead we should probably be looking at the best p=
erforming available protocols and comparing against those as baselines. It&=
#39;s potentially very easy to be faster. The question is have we achieved =
&quot;fast&quot; such that it would be pointless for anyone to build and us=
e custom protocols in place of http for transporting http message content e=
xcept in extreme cases? I think enterprise experience as to what constitute=
s &quot;fast&quot; or &quot;fast enough&quot; and what constitutes an ordin=
ary workload should be considered.</p>


<p>Benjamin</p>

--e89a8f234ec1ef0eb004c62a68de--


From ietf-http-wg-request@listhub.w3.org  Tue Jul 31 22:46:03 2012
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 6BDF921F8495 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 22:46:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.709
X-Spam-Level: 
X-Spam-Status: No, score=-9.709 tagged_above=-999 required=5 tests=[AWL=0.890, BAYES_00=-2.599, 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 6FIKuackqwTi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Jul 2012 22:46:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D885821F8493 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Jul 2012 22:46:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwRj5-0003O4-5D for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Aug 2012 05:44:07 +0000
Resent-Date: Wed, 01 Aug 2012 05:44:07 +0000
Resent-Message-Id: <E1SwRj5-0003O4-5D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SwRin-0003N9-58 for ietf-http-wg@listhub.w3.org; Wed, 01 Aug 2012 05:43:49 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SwRil-0002Qi-PV for ietf-http-wg@w3.org; Wed, 01 Aug 2012 05:43:49 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q715hM0v015058; Wed, 1 Aug 2012 07:43:22 +0200
Date: Wed, 1 Aug 2012 07:43:22 +0200
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120801054322.GA14213@1wt.eu>
References: <20120731173655.GA12322@1wt.eu> <CACuKZqH4k0BboL+397gHQYoUG7+E2Lvz371CB58df-RED2Kniw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACuKZqH4k0BboL+397gHQYoUG7+E2Lvz371CB58df-RED2Kniw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwRil-0002Qi-PV 96f309cdb10e68066f350e74761c1d0c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2: Another reason to find a safer encoding
Archived-At: <http://www.w3.org/mid/20120801054322.GA14213@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14864
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 Tue, Jul 31, 2012 at 07:24:12PM -0500, Zhong Yu wrote:
> The problem is that implementations tend to be liberal in accepting
> inputs. That is mostly due to laziness - being strict is harder. As
> long as an input can be mapped to an acceptable value, no harm is done
> to the internal state, therefore there's no incentive for
> implementations to reject illegal inputs. This is the reality, no
> matter how sternly the spec emphasizes the MUST NOTs.

This is not the only issue, it's very hard to be strict on things that
are not well defined. For instance, we had a hard time trying to find
what to do with multiple content-lengths. Some implementers had to
perform some tests to see how much breakage they would cause by becoming
stricter. Header field folding is a big issue too. I suspect that many
implementation do not consider that a request might contain two Host
header fields, simply because this is not supposed to be possible nor to
make sense at all. Similarly, "Connection: content-length" or equivalent
border-line things are not the problem of the implementation, but of the
spec. The spec has grown to a huge size because we tried to address that
many issues. But still you cannot document all corner cases because they
are invented every day and implementations cannot guess them all because
it's not their job.

So my point precisely is to try to enforce a stronger typing of exchanged
data to avoid a number of these issues as much as possible. For instance,
by using an integer to represent a date, you cannot send "29 Feb 2013",
and you don't need implementations to verify that this date makes any sense.

Regards,
Willy


